From 643f0fa01668352c99115362bd91a132c9d852dd Mon Sep 17 00:00:00 2001 From: autosubmit Date: Mon, 9 Feb 2026 18:32:06 +0800 Subject: [PATCH] Auto Submit --- ...omeworks__Comment__index.9d23f7f5.async.js | 196 +++++++++--------- ...Homeworks__Detail__index.bc03778f.async.js | 50 ++--- ...__ShixunHomeworks__index.100cd323.async.js | 1 - ...__ShixunHomeworks__index.53822027.async.js | 1 + umi.6fc75bb4.js => umi.26201bcd.js | 2 +- 5 files changed, 125 insertions(+), 125 deletions(-) rename p__Classrooms__Lists__ShixunHomeworks__Comment__index.1eca7c00.async.js => p__Classrooms__Lists__ShixunHomeworks__Comment__index.9d23f7f5.async.js (85%) rename p__Classrooms__Lists__ShixunHomeworks__Detail__index.cc7872de.async.js => p__Classrooms__Lists__ShixunHomeworks__Detail__index.bc03778f.async.js (96%) delete mode 100644 p__Classrooms__Lists__ShixunHomeworks__index.100cd323.async.js create mode 100644 p__Classrooms__Lists__ShixunHomeworks__index.53822027.async.js rename umi.6fc75bb4.js => umi.26201bcd.js (99%) diff --git a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.1eca7c00.async.js b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.9d23f7f5.async.js similarity index 85% rename from p__Classrooms__Lists__ShixunHomeworks__Comment__index.1eca7c00.async.js rename to p__Classrooms__Lists__ShixunHomeworks__Comment__index.9d23f7f5.async.js index 144f72e2b5..e4beabd6be 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.1eca7c00.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.9d23f7f5.async.js @@ -1,6 +1,6 @@ -!(function(){var k1=Object.defineProperty,M1=Object.defineProperties;var U1=Object.getOwnPropertyDescriptors;var _m=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Yn,Ut,ae)=>Ut in Yn?k1(Yn,Ut,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Yn[Ut]=ae,wf=(Yn,Ut)=>{for(var ae in Ut||(Ut={}))Lv.call(Ut,ae)&&S0(Yn,ae,Ut[ae]);if(_m)for(var ae of _m(Ut))Dv.call(Ut,ae)&&S0(Yn,ae,Ut[ae]);return Yn},F0=(Yn,Ut)=>M1(Yn,U1(Ut));var Nv=(Yn,Ut)=>{var ae={};for(var x in Yn)Lv.call(Yn,x)&&Ut.indexOf(x)<0&&(ae[x]=Yn[x]);if(Yn!=null&&_m)for(var x of _m(Yn))Ut.indexOf(x)<0&&Dv.call(Yn,x)&&(ae[x]=Yn[x]);return ae};var Ol=(Yn,Ut,ae)=>S0(Yn,typeof Ut!="symbol"?Ut+"":Ut,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},89489:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},59477:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},40001:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},26227:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},49198:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},87169:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},73331:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},15277:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},52671:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},8657:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},56082:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},33853:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},15075:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},43531:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},61485:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},47472:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},95869:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-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-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},87395:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},6169:function(){"use strict"},27424:function(){"use strict"},68377:function(Yn,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},94227:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Yn={},Ut="5.0",ae={},x=null,dt=!1,Ie=!1,qe=null,ze=!1,Fe=null,Ue=null,he=0;he4?parseFloat(tt):5};Yn.setHTML5Codebase=function(tt,Tt){Ue=tt,ct(tt,Tt)},Yn.setJavaCodebase=Yn.setJavaCodebaseVersion=Yn.isCompiledInstalled=Yn.setPreCompiledScriptPath=Yn.setPreCompiledResourcePath=function(){},Yn.setHTML5CodebaseVersion=function(tt,Tt){var _t=parseFloat(tt);if(_t!==NaN&&_t<5){console.log("The GeoGebra HTML5 codebase version "+_t+" is deprecated. Using version latest instead.");return}Fe=tt,Te(tt,Tt)},Yn.getHTML5CodebaseVersion=function(){return Se},Yn.getParameters=function(){return ae},Yn.setFontsCSSURL=function(tt){Ke=tt},Yn.setGiacJSURL=function(tt){},Yn.setJNLPFile=function(tt){oe=tt},Yn.setJNLPBaseDir=function(tt){},Yn.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Tt="auto",_t=ae.id,hn,Pt=!1,vn=0;vn=5)return!0;var tt=Yn.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},Yn.startAnimation=function(){var tt=Yn.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},Yn.stopAnimation=function(){var tt=Yn.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},Yn.getAppletObject=function(){var tt=ae.id!==void 0?ae.id:"ggbApplet";return window[tt]},Yn.resize=function(){};var Ct=function(tt,Tt,_t){var hn=document.createElement("param");hn.setAttribute("name",Tt),hn.setAttribute("value",_t),tt.appendChild(hn)},He=function(tt){return tt&&tt!=="false"},ft=function(tt,Tt,_t){_e(Se)<=4.2&&(_t=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Se||ggbHTML5LoadedCodebaseIsWebSimple&&!ye)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Pt=document.createElement("div");Pt.classList.add("appletParameters","notranslate");var vn=Tt.width,kt=Tt.height;if(Tt.disableAutoScale=Tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Tt.disableAutoScale,Tt.width!==void 0)if(_e(Se)<=4.4)He(Tt.showToolBar)&&(Tt.height-=7),He(Tt.showAlgebraInput)&&(Tt.height-=37),Tt.width<605&&He(Tt.showToolBar)&&(Tt.width=605,vn=605);else{var Sn=100;(He(Tt.showToolBar)||He(Tt.showMenuBar))&&(Tt.hasOwnProperty("customToolBar")&&(Tt.customToolbar=Tt.customToolBar),Sn=He(Tt.showMenuBar)?245:155),vn=5?(Tt.appletOnLoad=function(Dt){var Ht=tt.querySelector(".ggb_preview");Ht&&Ht.parentNode.removeChild(Ht),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Dt)},ie||ge.appendChild(ee)):Pt.appendChild(ee),ge.appendChild(Pt),ie||tt.appendChild(ge),setTimeout(function(){Yn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Pt),tt.appendChild(se),Tt.appletOnLoad=function(Dt){Yn.resize(),de(Dt)}}function le(Dt,Ht){Ht&&typeof Ht.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dt,Ht.appletOnLoad):renderGGBElement(Dt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ht)}function Be(Dt,Ht){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dt,params:Ht}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xt){le(xt.article,xt.params)}),html5AppletsToProcess=null)},_e(Se)<5&&(Dt.className+=" geogebraweb")):le(Dt,Ht)}if(hn){scriptLoadStarted=!0;for(var Ve=0;Ve0?(on.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):ft(on,Tt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Re=hn,ft(tt,Tt,!1);if(!window.GGBT_wsf_view)for(kt=0;kttt/4*3&&(on=tt/4*3),de=on/5.8,Sn.setAttribute("src",Ee),Sn.setAttribute("width",on),Sn.setAttribute("height",de);var ge=(tt-on)/2,ie=(Tt-de)/2;Sn.style.left=ge+"px",Sn.style.top=ie+"px",Pt.appendChild(Sn)}}return Pt.appendChild(kt),Pt},Bt=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(tt,Tt){if(Se=tt,Tt){ct(Se,!0);return}var _t=!dt;if(_t){var hn=_e(Se);!isNaN(hn)&&hn<4.4&&(_t=!1)}var Pt,vn;window.location.protocol.substr(0,4)==="http"?Pt=window.location.protocol:Pt="http:";var kt=Se.indexOf("//");kt>0?vn=Se:kt===0?vn=Pt+Se:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Sn in We)if(Se.slice(We[Sn].length*-1)===We[Sn]||Se.slice((We[Sn].length+1)*-1)===We[Sn]+"/"){ct(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_t&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!He(ae.showToolBar)&&!He(ae.showMenuBar)&&!He(ae.showAlgebraInput)&&!He(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?vn+="webSimple/":vn+="web3d/",ct(vn,!1)},ct=function(tt,Tt){if(tt.requirejs){Ne=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),Ne=tt,Tt===null&&(Tt=tt.indexOf("http")===-1),ve=Tt,Pe="web.nocache.js",ye=!1;var _t=Ne.split("/");_t.length>1&&(!Tt&&_t[_t.length-2]==="webSimple"?(Pe="webSimple.nocache.js",ye=!0):We.indexOf(_t[_t.length-2])>=0&&(Pe=_t[_t.length-2]+".nocache.js")),_t=tt.split("/"),Se=_t[_t.length-3],Se.substr(0,4)==="test"?Se=Se.substr(4,1)+"."+Se.substr(5,1):(Se.substr(0,3)==="war"||Se.substr(0,4)==="beta")&&(Se="5.0");var hn=parseFloat(Se);hn!==NaN&&hn<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Te("5.0",Tt))},Zt=function(tt,Tt){window.console&&window.console.log&&(!Tt||typeof Tt.showLogging=="undefined"||Tt.showLogging&&Tt.showLogging!=="false")&&console.log(tt)};ae.material_id!==void 0?ut(jt):jt();function jt(){var tt=Ut;Fe!==null?tt=Fe:parseFloat(tt)<5&&(tt="5.0"),Te(tt,!1),Ue!==null&&ct(Ue,ve),ze=!0}return Yn},GGBAppletUtils=function(){"use strict";function Yn(){return window.GGBT_wsf_edit!==void 0}function Ut(ze,Fe){Fe!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+Fe+","+Fe+")",ze.style.webkitTransform="scale("+Fe+","+Fe+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function ae(ze,Fe,Ue,he,xe,oe){var Ne=null;if(oe!=null&&oe!="")for(var ve=ze.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+oe+" ")>-1){Ne=ve;break}else ve=ve.parentNode;var Re=0,Se=0,Pe=0,ye=0,Ce=0,Ee=0,Me=0;if(Ne)Re=Ne.offsetWidth,Se=Math.max(he?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Re=Math.min(window.innerWidth,document.documentElement.clientWidth),Se=Math.min(window.innerHeight,document.documentElement.clientHeight),Pe=Re):(Re=window.innerWidth,Se=window.innerHeight,Pe=window.innerWidth),ze){var Ke=ze.getBoundingClientRect();Ke.left>0&&Ke.left<=Re&&(xe===void 0||!xe)&&(document.dir==="rtl"?(Ce=Re-Ke.width-Ke.left,Ee=Pe<=480?10:30):(Ee=Ke.left,Ce=Pe<=480?10:30),ye=Ee+Ce)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var je=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye=40,Me=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ye=0,Me=40)}}return ze&&((Ue===void 0||!Ue)&&Fe>0&&Fe+ye1&&(oe=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))xe=x(ze,Fe,oe,Ue,ze.scaleContainerClass);else return he;return oe&&(!ze.hasOwnProperty("scale")||he===1)?xe:Math.min(he,xe)}function Ie(ze){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ue=Math.min(window.innerHeight,document.documentElement.clientHeight),he=ze.getBoundingClientRect(),xe=(Fe-he.width)/2,oe=(Ue-he.height)/2;oe<0&&(oe=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?ze.style.left="40px":ze.style.left=xe+"px",ze.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?ze.style.top="40px":ze.style.top=oe+"px",ze.style.left=xe+"px")}function qe(ze,Fe){var Ue=ze.querySelector(".appletParameters");if(Ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==Ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(Ue.parentElement&&/fullscreen/.test(Ue.parentElement.className))return;var he=dt(Fe,ze);Yn()&&Ue.setAttribute("data-param-scale",he);for(var xe=null,oe=0;oe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Yn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yn){var Ut=c[Yn];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function Yn(ze){var Fe=ze.lastIndexOf(rb);Fe==-1&&(Fe=ze.length);var Ue=ze.indexOf(sb);Ue==-1&&(Ue=ze.length);var he=ze.lastIndexOf(tb,Math.min(Ue,Fe));return he>=O?ze.substring(O,he+P):W}function Ut(ze){if(!ze.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=ze+vb,ze=Yn(Fe.src)}return ze}function ae(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function x(){for(var ze=o.getElementsByTagName(_),Fe=O;FeO?ze[ze.length-P].href:W}function Ie(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var qe=ae();return qe==W&&(qe=x()),qe==W&&(qe=dt()),qe==W&&Ie()&&(qe=Yn(o.location.href)),qe=Ut(qe),qe}function C(Yn){return Yn.match(/^\//)||Yn.match(/^[a-zA-Z]+:\/\//)?Yn:webModule.__moduleBase+Yn}function D(){var Yn=[],Ut=O,ae=[],x=[];function dt(ze){var Fe=x[ze](),Ue=ae[ze];if(Fe in Ue)return Fe;var he=[];for(var xe in Ue)he[Ue[xe]]=xe;throw r&&r(ze,he,Fe),null}if(__gwt_isKnownPropertyValue=function(ze,Fe){return Fe in ae[ze]},webModule.__getPropMap=function(){var ze={};for(var Fe in ae)ae.hasOwnProperty(Fe)&&(ze[Fe]=dt(Fe));return ze},webModule.__computePropValue=dt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ie;try{Ie=Cb;var qe=Ie.indexOf(Db);qe!=-1&&(Ut=parseInt(Ie.substring(qe+P),$),Ie=Ie.substring(O,qe))}catch(ze){}return webModule.__softPermutationId=Ut,C(Ie+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},19279:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Ax:function(){return qe},Ds:function(){return ze},KI:function(){return Ue},SI:function(){return Ie},f1:function(){return dt}});var x=ae(9294);function dt(he){let xe=!0;if(he.length>0){for(let oe=0;oeJe in _e?Ne(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):_e[Je]=Xe,ye=(_e,Je)=>{for(var Xe in Je||(Je={}))Re.call(Je,Xe)&&Pe(_e,Xe,Je[Xe]);if(ve)for(var Xe of ve(Je))Se.call(Je,Xe)&&Pe(_e,Xe,Je[Xe]);return _e};const Ce=(_e={})=>{var Je,Xe,ut,ot;let ht=(Je=_e==null?void 0:_e.emotion)==null?void 0:Je.map(De=>ye({value:De==null?void 0:De.rate},De)),Ct=(Xe=_e==null?void 0:_e.focus)==null?void 0:Xe.map(De=>ye({value:De==null?void 0:De.rate},De)),He=(ut=_e==null?void 0:_e.action)==null?void 0:ut.map(De=>ye({value:De==null?void 0:De.rate},De)),ft=(ot=_e==null?void 0:_e.intention)==null?void 0:ot.map(De=>ye({value:De==null?void 0:De.rate},De));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ht||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:He||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:ft||[]}]},Ee=({className:_e,dataSource:Je=[],col:Xe=4,right:ut,bottom:ot=23,precision:ht=0,wrapWidth:Ct=1200})=>{const He=(De="",Qe,Ot="--")=>De?(De==null?void 0:De.length)>Qe?(De==null?void 0:De.slice(0,Qe-1))+"...":De:Ot,ft=Math.floor((Ct-(Xe-1)*ut)/Xe);return x.createElement("div",{className:qe()(dt.list,_e)},!!(Je!=null&&Je.length)&&(Je==null?void 0:Je.map((De,Qe)=>{const{cover_pic:Ot,created_at:it,emotion:at,action:Bt,intention:We,focus:Te}=De;return x.createElement("div",{key:Qe,className:dt.wrap,style:{width:ft,marginRight:(1+Qe)%Xe===0?0:ut+ht,marginBottom:ot}},x.createElement("div",{className:dt.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ot}`}),x.createElement("div",{className:dt.tips},x.createElement("div",null,x.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),x.createElement("span",null,it))),x.createElement("div",{className:dt.footer},x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-biaoqing"}),x.createElement("span",null,"\u8868\u60C5\uFF1A",x.createElement(Fe.Z,{title:at},x.createElement("span",{className:"c-grey-333"},He(at,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Fe.Z,{title:Bt},x.createElement("span",{className:"c-grey-333"},He(Bt,4)))))),x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-yitu"}),x.createElement("span",null,"\u610F\u56FE\uFF1A",x.createElement(Fe.Z,{title:We},x.createElement("span",{className:"c-grey-333"},He(We,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Fe.Z,{title:Te},x.createElement("span",{className:"c-grey-333"},He(Te,3))))))))})))},Me=({className:_e,style:Je,title:Xe,hideBar:ut=!1,children:ot,customText:ht="",noDataText:Ct="",emptyData:He=[],loading:ft,actionAnalysis:De})=>{var Qe,Ot;const it=((Qe=He==null?void 0:He[0])==null?void 0:Qe.every(Bt=>{var We;return!((We=Bt==null?void 0:Bt.data)!=null&&We.length)}))&&!((Ot=He==null?void 0:He[1])!=null&&Ot.length)||!De,at=De?Ct:ht;return x.createElement(Ue.Z,{loading:ft,active:!0},it&&x.createElement("div",{className:qe()(dt.noData,_e),style:Je},!!Xe&&x.createElement("div",{className:dt.title},!ut&&x.createElement("b",null),x.createElement("span",null,Xe)),x.createElement("div",{className:dt.itemWrap},x.createElement(xe.Z,{customText:at}))),!it&&ot)};var je=({className:_e,style:Je,data:Xe=[],title:ut,hideBar:ot=!1,loading:ht=!1})=>x.createElement("div",{className:qe()(dt.analysis,_e),style:Je},!!ut&&x.createElement("div",{className:dt.title},!ot&&x.createElement("b",null),x.createElement("span",null,ut)),x.createElement(he.Z,{spinning:ht},x.createElement("div",{className:dt.itemWrap},Xe==null?void 0:Xe.map((Ct,He)=>x.createElement("div",{className:dt.item,key:He},x.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(ft){for(let De in Ct==null?void 0:Ct.data)if(ft==(Ct==null?void 0:Ct.data[De].name))return ft+" "+(Ct==null?void 0:Ct.data[De].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},36284:function(Yn,Ut,ae){"use strict";var x=ae(86204),dt=ae.n(x),Ie=Object.defineProperty,qe=(he,xe,oe)=>xe in he?Ie(he,xe,{enumerable:!0,configurable:!0,writable:!0,value:oe}):he[xe]=oe,ze=(he,xe,oe)=>qe(he,typeof xe!="symbol"?xe+"":xe,oe),Fe=(he,xe,oe)=>new Promise((Ne,ve)=>{var Re=ye=>{try{Pe(oe.next(ye))}catch(Ce){ve(Ce)}},Se=ye=>{try{Pe(oe.throw(ye))}catch(Ce){ve(Ce)}},Pe=ye=>ye.done?Ne(ye.value):Promise.resolve(ye.value).then(Re,Se);Pe((oe=oe.apply(he,xe)).next())});class Ue extends x.EventEmitter{constructor(xe,oe){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=xe,this.body=oe}startStream(){return Fe(this,null,function*(){this.controller=new AbortController;const{signal:xe}=this.controller;try{const oe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:xe});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Ne=oe.headers.get("content-type");if(!Ne)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ne.includes("application/json")){const Se=yield oe.json();this.emit("error",Se);return}if(!Ne.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ve=oe.body.getReader(),Re=new TextDecoder("utf-8");for(;;){const{done:Se,value:Pe}=yield ve.read();if(Se)break;const ye=Re.decode(Pe,{stream:!0});this.buffer+=ye;const Ce=this.buffer.split(` +!(function(){var k1=Object.defineProperty,M1=Object.defineProperties;var U1=Object.getOwnPropertyDescriptors;var Qm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Yn,Ut,ae)=>Ut in Yn?k1(Yn,Ut,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Yn[Ut]=ae,wf=(Yn,Ut)=>{for(var ae in Ut||(Ut={}))Lv.call(Ut,ae)&&S0(Yn,ae,Ut[ae]);if(Qm)for(var ae of Qm(Ut))Dv.call(Ut,ae)&&S0(Yn,ae,Ut[ae]);return Yn},F0=(Yn,Ut)=>M1(Yn,U1(Ut));var Nv=(Yn,Ut)=>{var ae={};for(var x in Yn)Lv.call(Yn,x)&&Ut.indexOf(x)<0&&(ae[x]=Yn[x]);if(Yn!=null&&Qm)for(var x of Qm(Yn))Ut.indexOf(x)<0&&Dv.call(Yn,x)&&(ae[x]=Yn[x]);return ae};var Ol=(Yn,Ut,ae)=>S0(Yn,typeof Ut!="symbol"?Ut+"":Ut,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},89489:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},59477:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},40001:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},26227:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},49198:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},87169:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},73331:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},15277:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},52671:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},8657:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},56082:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},33853:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},15075:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},43531:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},61485:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},47472:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},95869:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-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-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},87395:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(60499),dt=ae(59301),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(oe,Ne){return dt.createElement(ze.Z,(0,x.Z)({},oe,{ref:Ne,icon:qe}))},Ue=dt.forwardRef(Fe),he=Ue},6169:function(){"use strict"},27424:function(){"use strict"},68377:function(Yn,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},94227:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Yn={},Ut="5.0",ae={},x=null,dt=!1,Ie=!1,qe=null,ze=!1,Fe=null,Ue=null,he=0;he4?parseFloat(tt):5};Yn.setHTML5Codebase=function(tt,Pt){Ue=tt,ct(tt,Pt)},Yn.setJavaCodebase=Yn.setJavaCodebaseVersion=Yn.isCompiledInstalled=Yn.setPreCompiledScriptPath=Yn.setPreCompiledResourcePath=function(){},Yn.setHTML5CodebaseVersion=function(tt,Pt){var _t=parseFloat(tt);if(_t!==NaN&&_t<5){console.log("The GeoGebra HTML5 codebase version "+_t+" is deprecated. Using version latest instead.");return}Fe=tt,Te(tt,Pt)},Yn.getHTML5CodebaseVersion=function(){return Se},Yn.getParameters=function(){return ae},Yn.setFontsCSSURL=function(tt){Ke=tt},Yn.setGiacJSURL=function(tt){},Yn.setJNLPFile=function(tt){oe=tt},Yn.setJNLPBaseDir=function(tt){},Yn.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",_t=ae.id,fn,Tt=!1,vn=0;vn=5)return!0;var tt=Yn.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},Yn.startAnimation=function(){var tt=Yn.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},Yn.stopAnimation=function(){var tt=Yn.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},Yn.getAppletObject=function(){var tt=ae.id!==void 0?ae.id:"ggbApplet";return window[tt]},Yn.resize=function(){};var Ct=function(tt,Pt,_t){var fn=document.createElement("param");fn.setAttribute("name",Pt),fn.setAttribute("value",_t),tt.appendChild(fn)},He=function(tt){return tt&&tt!=="false"},ft=function(tt,Pt,_t){Qe(Se)<=4.2&&(_t=!0);var fn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Se||ggbHTML5LoadedCodebaseIsWebSimple&&!ye)&&(fn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Tt=document.createElement("div");Tt.classList.add("appletParameters","notranslate");var vn=Pt.width,kt=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(Qe(Se)<=4.4)He(Pt.showToolBar)&&(Pt.height-=7),He(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&He(Pt.showToolBar)&&(Pt.width=605,vn=605);else{var Sn=100;(He(Pt.showToolBar)||He(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),Sn=He(Pt.showMenuBar)?245:155),vn=5?(Pt.appletOnLoad=function(Dt){var jt=tt.querySelector(".ggb_preview");jt&&jt.parentNode.removeChild(jt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Dt)},ie||ge.appendChild(ee)):Tt.appendChild(ee),ge.appendChild(Tt),ie||tt.appendChild(ge),setTimeout(function(){Yn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Tt),tt.appendChild(se),Pt.appletOnLoad=function(Dt){Yn.resize(),de(Dt)}}function le(Dt,jt){jt&&typeof jt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dt,jt.appletOnLoad):renderGGBElement(Dt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",jt)}function Be(Dt,jt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dt,params:jt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xt){le(xt.article,xt.params)}),html5AppletsToProcess=null)},Qe(Se)<5&&(Dt.className+=" geogebraweb")):le(Dt,jt)}if(fn){scriptLoadStarted=!0;for(var Ve=0;Ve0?(on.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):ft(on,Pt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Re=fn,ft(tt,Pt,!1);if(!window.GGBT_wsf_view)for(kt=0;kttt/4*3&&(on=tt/4*3),de=on/5.8,Sn.setAttribute("src",Ee),Sn.setAttribute("width",on),Sn.setAttribute("height",de);var ge=(tt-on)/2,ie=(Pt-de)/2;Sn.style.left=ge+"px",Sn.style.top=ie+"px",Tt.appendChild(Sn)}}return Tt.appendChild(kt),Tt},Bt=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(tt,Pt){if(Se=tt,Pt){ct(Se,!0);return}var _t=!dt;if(_t){var fn=Qe(Se);!isNaN(fn)&&fn<4.4&&(_t=!1)}var Tt,vn;window.location.protocol.substr(0,4)==="http"?Tt=window.location.protocol:Tt="http:";var kt=Se.indexOf("//");kt>0?vn=Se:kt===0?vn=Tt+Se:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Sn in We)if(Se.slice(We[Sn].length*-1)===We[Sn]||Se.slice((We[Sn].length+1)*-1)===We[Sn]+"/"){ct(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_t&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!He(ae.showToolBar)&&!He(ae.showMenuBar)&&!He(ae.showAlgebraInput)&&!He(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?vn+="webSimple/":vn+="web3d/",ct(vn,!1)},ct=function(tt,Pt){if(tt.requirejs){Ne=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),Ne=tt,Pt===null&&(Pt=tt.indexOf("http")===-1),ve=Pt,Oe="web.nocache.js",ye=!1;var _t=Ne.split("/");_t.length>1&&(!Pt&&_t[_t.length-2]==="webSimple"?(Oe="webSimple.nocache.js",ye=!0):We.indexOf(_t[_t.length-2])>=0&&(Oe=_t[_t.length-2]+".nocache.js")),_t=tt.split("/"),Se=_t[_t.length-3],Se.substr(0,4)==="test"?Se=Se.substr(4,1)+"."+Se.substr(5,1):(Se.substr(0,3)==="war"||Se.substr(0,4)==="beta")&&(Se="5.0");var fn=parseFloat(Se);fn!==NaN&&fn<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+fn+" is deprecated. Using version latest instead."),Te("5.0",Pt))},Zt=function(tt,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log(tt)};ae.material_id!==void 0?ut(zt):zt();function zt(){var tt=Ut;Fe!==null?tt=Fe:parseFloat(tt)<5&&(tt="5.0"),Te(tt,!1),Ue!==null&&ct(Ue,ve),ze=!0}return Yn},GGBAppletUtils=function(){"use strict";function Yn(){return window.GGBT_wsf_edit!==void 0}function Ut(ze,Fe){Fe!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+Fe+","+Fe+")",ze.style.webkitTransform="scale("+Fe+","+Fe+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function ae(ze,Fe,Ue,he,xe,oe){var Ne=null;if(oe!=null&&oe!="")for(var ve=ze.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+oe+" ")>-1){Ne=ve;break}else ve=ve.parentNode;var Re=0,Se=0,Oe=0,ye=0,Ce=0,Ee=0,Me=0;if(Ne)Re=Ne.offsetWidth,Se=Math.max(he?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Re=Math.min(window.innerWidth,document.documentElement.clientWidth),Se=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=Re):(Re=window.innerWidth,Se=window.innerHeight,Oe=window.innerWidth),ze){var Ke=ze.getBoundingClientRect();Ke.left>0&&Ke.left<=Re&&(xe===void 0||!xe)&&(document.dir==="rtl"?(Ce=Re-Ke.width-Ke.left,Ee=Oe<=480?10:30):(Ee=Ke.left,Ce=Oe<=480?10:30),ye=Ee+Ce)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var je=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ye=40,Me=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ye=0,Me=40)}}return ze&&((Ue===void 0||!Ue)&&Fe>0&&Fe+ye1&&(oe=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))xe=x(ze,Fe,oe,Ue,ze.scaleContainerClass);else return he;return oe&&(!ze.hasOwnProperty("scale")||he===1)?xe:Math.min(he,xe)}function Ie(ze){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ue=Math.min(window.innerHeight,document.documentElement.clientHeight),he=ze.getBoundingClientRect(),xe=(Fe-he.width)/2,oe=(Ue-he.height)/2;oe<0&&(oe=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?ze.style.left="40px":ze.style.left=xe+"px",ze.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?ze.style.top="40px":ze.style.top=oe+"px",ze.style.left=xe+"px")}function qe(ze,Fe){var Ue=ze.querySelector(".appletParameters");if(Ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==Ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(Ue.parentElement&&/fullscreen/.test(Ue.parentElement.className))return;var he=dt(Fe,ze);Yn()&&Ue.setAttribute("data-param-scale",he);for(var xe=null,oe=0;oe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Yn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yn){var Ut=c[Yn];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function Yn(ze){var Fe=ze.lastIndexOf(rb);Fe==-1&&(Fe=ze.length);var Ue=ze.indexOf(sb);Ue==-1&&(Ue=ze.length);var he=ze.lastIndexOf(tb,Math.min(Ue,Fe));return he>=O?ze.substring(O,he+P):W}function Ut(ze){if(!ze.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=ze+vb,ze=Yn(Fe.src)}return ze}function ae(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function x(){for(var ze=o.getElementsByTagName(_),Fe=O;FeO?ze[ze.length-P].href:W}function Ie(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var qe=ae();return qe==W&&(qe=x()),qe==W&&(qe=dt()),qe==W&&Ie()&&(qe=Yn(o.location.href)),qe=Ut(qe),qe}function C(Yn){return Yn.match(/^\//)||Yn.match(/^[a-zA-Z]+:\/\//)?Yn:webModule.__moduleBase+Yn}function D(){var Yn=[],Ut=O,ae=[],x=[];function dt(ze){var Fe=x[ze](),Ue=ae[ze];if(Fe in Ue)return Fe;var he=[];for(var xe in Ue)he[Ue[xe]]=xe;throw r&&r(ze,he,Fe),null}if(__gwt_isKnownPropertyValue=function(ze,Fe){return Fe in ae[ze]},webModule.__getPropMap=function(){var ze={};for(var Fe in ae)ae.hasOwnProperty(Fe)&&(ze[Fe]=dt(Fe));return ze},webModule.__computePropValue=dt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ie;try{Ie=Cb;var qe=Ie.indexOf(Db);qe!=-1&&(Ut=parseInt(Ie.substring(qe+P),$),Ie=Ie.substring(O,qe))}catch(ze){}return webModule.__softPermutationId=Ut,C(Ie+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},19279:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Ax:function(){return qe},Ds:function(){return ze},KI:function(){return Ue},SI:function(){return Ie},f1:function(){return dt}});var x=ae(9294);function dt(he){let xe=!0;if(he.length>0){for(let oe=0;oeJe in Qe?Ne(Qe,Je,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Qe[Je]=Xe,ye=(Qe,Je)=>{for(var Xe in Je||(Je={}))Re.call(Je,Xe)&&Oe(Qe,Xe,Je[Xe]);if(ve)for(var Xe of ve(Je))Se.call(Je,Xe)&&Oe(Qe,Xe,Je[Xe]);return Qe};const Ce=(Qe={})=>{var Je,Xe,ut,ot;let ht=(Je=Qe==null?void 0:Qe.emotion)==null?void 0:Je.map(De=>ye({value:De==null?void 0:De.rate},De)),Ct=(Xe=Qe==null?void 0:Qe.focus)==null?void 0:Xe.map(De=>ye({value:De==null?void 0:De.rate},De)),He=(ut=Qe==null?void 0:Qe.action)==null?void 0:ut.map(De=>ye({value:De==null?void 0:De.rate},De)),ft=(ot=Qe==null?void 0:Qe.intention)==null?void 0:ot.map(De=>ye({value:De==null?void 0:De.rate},De));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ht||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:He||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:ft||[]}]},Ee=({className:Qe,dataSource:Je=[],col:Xe=4,right:ut,bottom:ot=23,precision:ht=0,wrapWidth:Ct=1200})=>{const He=(De="",_e,Ot="--")=>De?(De==null?void 0:De.length)>_e?(De==null?void 0:De.slice(0,_e-1))+"...":De:Ot,ft=Math.floor((Ct-(Xe-1)*ut)/Xe);return x.createElement("div",{className:qe()(dt.list,Qe)},!!(Je!=null&&Je.length)&&(Je==null?void 0:Je.map((De,_e)=>{const{cover_pic:Ot,created_at:it,emotion:at,action:Bt,intention:We,focus:Te}=De;return x.createElement("div",{key:_e,className:dt.wrap,style:{width:ft,marginRight:(1+_e)%Xe===0?0:ut+ht,marginBottom:ot}},x.createElement("div",{className:dt.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ot}`}),x.createElement("div",{className:dt.tips},x.createElement("div",null,x.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),x.createElement("span",null,it))),x.createElement("div",{className:dt.footer},x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-biaoqing"}),x.createElement("span",null,"\u8868\u60C5\uFF1A",x.createElement(Fe.Z,{title:at},x.createElement("span",{className:"c-grey-333"},He(at,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Fe.Z,{title:Bt},x.createElement("span",{className:"c-grey-333"},He(Bt,4)))))),x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-yitu"}),x.createElement("span",null,"\u610F\u56FE\uFF1A",x.createElement(Fe.Z,{title:We},x.createElement("span",{className:"c-grey-333"},He(We,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Fe.Z,{title:Te},x.createElement("span",{className:"c-grey-333"},He(Te,3))))))))})))},Me=({className:Qe,style:Je,title:Xe,hideBar:ut=!1,children:ot,customText:ht="",noDataText:Ct="",emptyData:He=[],loading:ft,actionAnalysis:De})=>{var _e,Ot;const it=((_e=He==null?void 0:He[0])==null?void 0:_e.every(Bt=>{var We;return!((We=Bt==null?void 0:Bt.data)!=null&&We.length)}))&&!((Ot=He==null?void 0:He[1])!=null&&Ot.length)||!De,at=De?Ct:ht;return x.createElement(Ue.Z,{loading:ft,active:!0},it&&x.createElement("div",{className:qe()(dt.noData,Qe),style:Je},!!Xe&&x.createElement("div",{className:dt.title},!ut&&x.createElement("b",null),x.createElement("span",null,Xe)),x.createElement("div",{className:dt.itemWrap},x.createElement(xe.Z,{customText:at}))),!it&&ot)};var je=({className:Qe,style:Je,data:Xe=[],title:ut,hideBar:ot=!1,loading:ht=!1})=>x.createElement("div",{className:qe()(dt.analysis,Qe),style:Je},!!ut&&x.createElement("div",{className:dt.title},!ot&&x.createElement("b",null),x.createElement("span",null,ut)),x.createElement(he.Z,{spinning:ht},x.createElement("div",{className:dt.itemWrap},Xe==null?void 0:Xe.map((Ct,He)=>x.createElement("div",{className:dt.item,key:He},x.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(ft){for(let De in Ct==null?void 0:Ct.data)if(ft==(Ct==null?void 0:Ct.data[De].name))return ft+" "+(Ct==null?void 0:Ct.data[De].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},36284:function(Yn,Ut,ae){"use strict";var x=ae(86204),dt=ae.n(x),Ie=Object.defineProperty,qe=(he,xe,oe)=>xe in he?Ie(he,xe,{enumerable:!0,configurable:!0,writable:!0,value:oe}):he[xe]=oe,ze=(he,xe,oe)=>qe(he,typeof xe!="symbol"?xe+"":xe,oe),Fe=(he,xe,oe)=>new Promise((Ne,ve)=>{var Re=ye=>{try{Oe(oe.next(ye))}catch(Ce){ve(Ce)}},Se=ye=>{try{Oe(oe.throw(ye))}catch(Ce){ve(Ce)}},Oe=ye=>ye.done?Ne(ye.value):Promise.resolve(ye.value).then(Re,Se);Oe((oe=oe.apply(he,xe)).next())});class Ue extends x.EventEmitter{constructor(xe,oe){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=xe,this.body=oe}startStream(){return Fe(this,null,function*(){this.controller=new AbortController;const{signal:xe}=this.controller;try{const oe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:xe});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Ne=oe.headers.get("content-type");if(!Ne)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ne.includes("application/json")){const Se=yield oe.json();this.emit("error",Se);return}if(!Ne.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ve=oe.body.getReader(),Re=new TextDecoder("utf-8");for(;;){const{done:Se,value:Oe}=yield ve.read();if(Se)break;const ye=Re.decode(Oe,{stream:!0});this.buffer+=ye;const Ce=this.buffer.split(` `);this.buffer=Ce.pop()||"";for(const Ee of Ce)if(Ee.startsWith("data:")){const Me=Ee.slice(5).trim();if(Me==="[DONE]")break;try{const Ke=JSON.parse(Me);Ke.data&&this.handleData(Ke.data)}catch(Ke){this.buffer=Ee+` -`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Ut.Z=Ue},29486:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Pe}});var x=ae(59301),dt={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},Ie=ae(92310),qe=ae.n(Ie),ze=ae(19192),Fe=ae(25263),Ue=ae(72916),he=ae(9294),xe=ae(66165),oe=ae(95970),Ne=ae(85500),ve=ae(6767),Re=(ye,Ce,Ee)=>new Promise((Me,Ke)=>{var je=Xe=>{try{Je(Ee.next(Xe))}catch(ut){Ke(ut)}},_e=Xe=>{try{Je(Ee.throw(Xe))}catch(ut){Ke(ut)}},Je=Xe=>Xe.done?Me(Xe.value):Promise.resolve(Xe.value).then(je,_e);Je((Ee=Ee.apply(ye,Ce)).next())});const Se=({className:ye,style:Ce,dataSource:Ee=[],authority:Me=!1,callback:Ke,showDimensions:je=!0,classroomList:_e})=>{var Je;const[Xe,ut]=(0,x.useState)({content:"",type:""}),[ot,ht]=(0,x.useState)({}),[Ct,He]=(0,x.useState)(!1),[ft,De]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),Qe=(0,x.useRef)(),Ot=We=>Re(void 0,null,function*(){if(ht(We),We.file_type==="txt"){const Te=yield(0,xe.ZP)(We.url,{method:"get",headers:{"Content-Type":"application/xml"}});Qe.current=Te}ut({type:We.file_type,content:he.Z.API_SERVER+We.url})}),it=We=>{var Te;De({visible:!0,src:he.Z.API_SERVER+We.url,id:We.id,title:We.title,snapshotData:(Te=We==null?void 0:We.subitem)==null?void 0:Te.settings})},at=We=>Re(void 0,null,function*(){var Te;ut({type:We.file_type,content:he.Z.API_SERVER+((Te=We==null?void 0:We.subitem)==null?void 0:Te.url)})}),Bt=()=>{Ke(),De({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:qe()(dt.list,ye),style:Ce},Ee.map((We,Te)=>{var ct,Zt,jt;return x.createElement("div",{key:Te,className:dt.row},x.createElement("div",{className:dt.title,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:We.title},We.title)),x.createElement("div",{className:dt.size},We.filesize),x.createElement("div",{className:dt.download,onClick:()=>{var tt,Tt;if((0,oe.Rm)()&&!((tt=_e.AssistantObject.normal)!=null&&tt.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ue.Nd)("",`${he.Z.API_SERVER}${(Tt=We.url)==null?void 0:Tt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(We==null?void 0:We.file_type)&&x.createElement("div",{className:dt.preview,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(We==null?void 0:We.file_type)&&je&&(Me?x.createElement("div",{className:dt.annotation,onClick:()=>it(We)},x.createElement("i",{className:"iconfont icon-pizhu"}),(ct=We.subitem)!=null&&ct.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Zt=We.subitem)==null?void 0:Zt.id)&&x.createElement("div",{className:dt.annotation,onClick:()=>at(We)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(We==null?void 0:We.file_type)&&((jt=We.subitem)==null?void 0:jt.id)&&x.createElement("div",{className:dt.download,style:{marginLeft:20},onClick:()=>{var tt,Tt;(0,Ue.Nd)("",`${he.Z.API_SERVER}${(Tt=(tt=We==null?void 0:We.subitem)==null?void 0:tt.url)==null?void 0:Tt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(We==null?void 0:We.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(We==null?void 0:We.file_sub)&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{He(!0),Ot(We)}},x.createElement("i",{className:"iconfont icon-pizhu"}),We.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),We.is_edit&&(0,oe.dE)()&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{Ot(We)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(ze.Z,{close:!0,data:Xe==null?void 0:Xe.content,type:Xe==null?void 0:Xe.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((Je=_e.AssistantObject.normal)!=null&&Je.can_download),editOffice:Ct?"edit":"view",monacoEditor:{value:Qe.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:Me&&je&&Xe.type==="image"?()=>it(ot):null,onClose:()=>{Ke(),He(!1),ut({content:"",type:""})}}),x.createElement(Fe.Z,{onOk:Bt,onClose:()=>De({visible:!1}),data:ft,showFullTools:!0})):null};var Pe=(0,Ne.connect)(({classroomList:ye})=>({classroomList:ye}))(Se)},25263:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ne}});var x=ae(59301),dt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ie=ae(92310),qe=ae.n(Ie),ze=ae(29787),Fe=ae(2859),Ue=ae(66165),he=ae(72916),xe=(ve,Re,Se)=>new Promise((Pe,ye)=>{var Ce=Ke=>{try{Me(Se.next(Ke))}catch(je){ye(je)}},Ee=Ke=>{try{Me(Se.throw(Ke))}catch(je){ye(je)}},Me=Ke=>Ke.done?Pe(Ke.value):Promise.resolve(Ke.value).then(Ce,Ee);Me((Se=Se.apply(ve,Re)).next())}),Ne=({data:ve,className:Re,fullWidth:Se,style:Pe={},onClose:ye,onOk:Ce,showFullTools:Ee,noAssociationId:Me})=>{const Ke=(0,x.useRef)(null),je=(0,x.useRef)(null),_e=(0,x.useRef)(null),Je=(0,x.useRef)(null),[Xe,ut]=(0,x.useState)(!1),[ot,ht]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&Ct()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[ve==null?void 0:ve.visible]);const Ct=()=>xe(void 0,null,function*(){ut(!0),ht("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Qe=yield(0,he.ZJ)(ve==null?void 0:ve.src);Ke.current.src="",Ke.current.src=Qe,Ke.current.onload=function(){De()},ut(!1),ht("")}),He=Qe=>xe(void 0,null,function*(){ut(!0),ht("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:Qe.dataUrl}});Ot!=null&&Ot.id&&!Me?(yield(0,Ue.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(Qe.state)}})).status===0&&Ce():Ot!=null&&Ot.id&&Ce(Ot),ut(!1),ht("")}),ft=()=>{const Qe=document.querySelector('a[href="https://markerjs.com/"]');Qe&&Qe.parentNode&&(Qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(it=>{const at=document.querySelector(it.name);at&&at.setAttribute("title",it.title)})},De=()=>{je.current=new Fe.hP(Ke.current),je.current.targetRoot=Je.current,je.current.addEventListener("render",He),je.current.addEventListener("beforeclose",ye),Ee&&(je.current.availableMarkerTypes=je.current.ALL_MARKER_TYPES,je.current.uiStyleSettings.redoButtonVisible=!0,je.current.uiStyleSettings.notesButtonVisible=!0,je.current.uiStyleSettings.zoomButtonVisible=!0,je.current.uiStyleSettings.zoomOutButtonVisible=!0,je.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=je.current.uiStyleSettings,je.current.show(),ve!=null&&ve.snapshotData&&je.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ft()},300)};return x.createElement(x.Fragment,null,(ve==null?void 0:ve.visible)&&x.createElement(ze.Z,{spinning:Xe,tip:ot,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:Je,className:qe()(dt.imageDimensions,Re,Se?dt.fullWidth:""),style:Pe},x.createElement("img",{className:dt.img,ref:Ke}))))}},61252:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(77019),Ie=ae(5269),qe=ae(31691),ze=ae(7939),Fe=ae(31525),Ue=ae(68377),he=ae(48136),xe=ae(59301);const oe=(0,x.forwardRef)(({callback:Ne,showSaveButton:ve,value:Re=""},Se)=>{const Pe=(0,x.useRef)(),ye=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Ce=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Ut.Z=Ue},29486:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Oe}});var x=ae(59301),dt={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},Ie=ae(92310),qe=ae.n(Ie),ze=ae(19192),Fe=ae(25263),Ue=ae(72916),he=ae(9294),xe=ae(66165),oe=ae(95970),Ne=ae(85500),ve=ae(6767),Re=(ye,Ce,Ee)=>new Promise((Me,Ke)=>{var je=Xe=>{try{Je(Ee.next(Xe))}catch(ut){Ke(ut)}},Qe=Xe=>{try{Je(Ee.throw(Xe))}catch(ut){Ke(ut)}},Je=Xe=>Xe.done?Me(Xe.value):Promise.resolve(Xe.value).then(je,Qe);Je((Ee=Ee.apply(ye,Ce)).next())});const Se=({className:ye,style:Ce,dataSource:Ee=[],authority:Me=!1,callback:Ke,showDimensions:je=!0,classroomList:Qe})=>{var Je;const[Xe,ut]=(0,x.useState)({content:"",type:""}),[ot,ht]=(0,x.useState)({}),[Ct,He]=(0,x.useState)(!1),[ft,De]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),_e=(0,x.useRef)(),Ot=We=>Re(void 0,null,function*(){if(ht(We),We.file_type==="txt"){const Te=yield(0,xe.ZP)(We.url,{method:"get",headers:{"Content-Type":"application/xml"}});_e.current=Te}ut({type:We.file_type,content:he.Z.API_SERVER+We.url})}),it=We=>{var Te;De({visible:!0,src:he.Z.API_SERVER+We.url,id:We.id,title:We.title,snapshotData:(Te=We==null?void 0:We.subitem)==null?void 0:Te.settings})},at=We=>Re(void 0,null,function*(){var Te;ut({type:We.file_type,content:he.Z.API_SERVER+((Te=We==null?void 0:We.subitem)==null?void 0:Te.url)})}),Bt=()=>{Ke(),De({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:qe()(dt.list,ye),style:Ce},Ee.map((We,Te)=>{var ct,Zt,zt;return x.createElement("div",{key:Te,className:dt.row},x.createElement("div",{className:dt.title,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:We.title},We.title)),x.createElement("div",{className:dt.size},We.filesize),x.createElement("div",{className:dt.download,onClick:()=>{var tt,Pt;if((0,oe.Rm)()&&!((tt=Qe.AssistantObject.normal)!=null&&tt.can_download)){ve.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ue.Nd)("",`${he.Z.API_SERVER}${(Pt=We.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(We==null?void 0:We.file_type)&&x.createElement("div",{className:dt.preview,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(We==null?void 0:We.file_type)&&je&&(Me?x.createElement("div",{className:dt.annotation,onClick:()=>it(We)},x.createElement("i",{className:"iconfont icon-pizhu"}),(ct=We.subitem)!=null&&ct.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Zt=We.subitem)==null?void 0:Zt.id)&&x.createElement("div",{className:dt.annotation,onClick:()=>at(We)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(We==null?void 0:We.file_type)&&((zt=We.subitem)==null?void 0:zt.id)&&x.createElement("div",{className:dt.download,style:{marginLeft:20},onClick:()=>{var tt,Pt;(0,Ue.Nd)("",`${he.Z.API_SERVER}${(Pt=(tt=We==null?void 0:We.subitem)==null?void 0:tt.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(We==null?void 0:We.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(We==null?void 0:We.file_sub)&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{He(!0),Ot(We)}},x.createElement("i",{className:"iconfont icon-pizhu"}),We.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),We.is_edit&&(0,oe.dE)()&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{Ot(We)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(ze.Z,{close:!0,data:Xe==null?void 0:Xe.content,type:Xe==null?void 0:Xe.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((Je=Qe.AssistantObject.normal)!=null&&Je.can_download),editOffice:Ct?"edit":"view",monacoEditor:{value:_e.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:Me&&je&&Xe.type==="image"?()=>it(ot):null,onClose:()=>{Ke(),He(!1),ut({content:"",type:""})}}),x.createElement(Fe.Z,{onOk:Bt,onClose:()=>De({visible:!1}),data:ft,showFullTools:!0})):null};var Oe=(0,Ne.connect)(({classroomList:ye})=>({classroomList:ye}))(Se)},25263:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ne}});var x=ae(59301),dt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ie=ae(92310),qe=ae.n(Ie),ze=ae(29787),Fe=ae(2859),Ue=ae(66165),he=ae(72916),xe=(ve,Re,Se)=>new Promise((Oe,ye)=>{var Ce=Ke=>{try{Me(Se.next(Ke))}catch(je){ye(je)}},Ee=Ke=>{try{Me(Se.throw(Ke))}catch(je){ye(je)}},Me=Ke=>Ke.done?Oe(Ke.value):Promise.resolve(Ke.value).then(Ce,Ee);Me((Se=Se.apply(ve,Re)).next())}),Ne=({data:ve,className:Re,fullWidth:Se,style:Oe={},onClose:ye,onOk:Ce,showFullTools:Ee,noAssociationId:Me})=>{const Ke=(0,x.useRef)(null),je=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Je=(0,x.useRef)(null),[Xe,ut]=(0,x.useState)(!1),[ot,ht]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(Qe.current||(Qe.current=document.createElement("style"),document.head.appendChild(Qe.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),Qe.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&Ct()):(document.body.removeAttribute("data-custom"),Qe.current&&(document.head.removeChild(Qe.current),Qe.current=null)),()=>{document.body.removeAttribute("data-custom"),Qe.current&&(document.head.removeChild(Qe.current),Qe.current=null)}),[ve==null?void 0:ve.visible]);const Ct=()=>xe(void 0,null,function*(){ut(!0),ht("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,he.ZJ)(ve==null?void 0:ve.src);Ke.current.src="",Ke.current.src=_e,Ke.current.onload=function(){De()},ut(!1),ht("")}),He=_e=>xe(void 0,null,function*(){ut(!0),ht("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:_e.dataUrl}});Ot!=null&&Ot.id&&!Me?(yield(0,Ue.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(_e.state)}})).status===0&&Ce():Ot!=null&&Ot.id&&Ce(Ot),ut(!1),ht("")}),ft=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(it=>{const at=document.querySelector(it.name);at&&at.setAttribute("title",it.title)})},De=()=>{je.current=new Fe.hP(Ke.current),je.current.targetRoot=Je.current,je.current.addEventListener("render",He),je.current.addEventListener("beforeclose",ye),Ee&&(je.current.availableMarkerTypes=je.current.ALL_MARKER_TYPES,je.current.uiStyleSettings.redoButtonVisible=!0,je.current.uiStyleSettings.notesButtonVisible=!0,je.current.uiStyleSettings.zoomButtonVisible=!0,je.current.uiStyleSettings.zoomOutButtonVisible=!0,je.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=je.current.uiStyleSettings,je.current.show(),ve!=null&&ve.snapshotData&&je.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ft()},300)};return x.createElement(x.Fragment,null,(ve==null?void 0:ve.visible)&&x.createElement(ze.Z,{spinning:Xe,tip:ot,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:Je,className:qe()(dt.imageDimensions,Re,Se?dt.fullWidth:""),style:Oe},x.createElement("img",{className:dt.img,ref:Ke}))))}},61252:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(77019),Ie=ae(5269),qe=ae(31691),ze=ae(7939),Fe=ae(31525),Ue=ae(68377),he=ae(48136),xe=ae(59301);const oe=(0,x.forwardRef)(({callback:Ne,showSaveButton:ve,value:Re=""},Se)=>{const Oe=(0,x.useRef)(),ye=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Ce=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -68,7 +68,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],Ee=je=>{Pe.current.setValue(Pe.current.getValue()+" "+je.value+" ")},Me=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(dt.Z,{className:Ue.Z.lists,gutter:[10,10]},ye.map((je,_e)=>xe.createElement(Ie.Z,{flex:"110px",className:Ue.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:`$$${je.value}$$`}),je.name),xe.createElement("div",{className:Ue.Z.children},je.children.map((Je,Xe)=>xe.createElement("div",{key:Xe},xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((ut,ot)=>xe.createElement(Ie.Z,{key:ot,onClick:()=>Ee(ut),className:Ue.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+ut.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(dt.Z,{className:Ue.Z.lists,gutter:[10,10]},Ce.map((je,_e)=>xe.createElement(Ie.Z,{flex:"110px",className:Ue.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:"`$$"+je.value+"$$`"}),je.name),xe.createElement("div",{className:Ue.Z.children},je.children.map((Je,Xe)=>xe.createElement("div",{key:Xe},Je.name&&xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((ut,ot)=>xe.createElement(Ie.Z,{key:ot,onClick:()=>Ee(ut),className:Ue.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+ut.value+"$$`"}))))))))))}],Ke=()=>{var je=document.createElement("div");je.innerHTML=Pe.current.getValue();var _e=je.innerText;return Ne&&Ne(_e),_e};return(0,x.useImperativeHandle)(Se,()=>({getData:Ke})),xe.createElement("div",{className:Ue.Z.mathWrap},xe.createElement(qe.default,{defaultActiveKey:"1",items:Me}),xe.createElement("math-field",{locale:"zh_cn",className:Ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Pe,style:{width:800,marginTop:30,fontSize:18}},Re||""),ve&&xe.createElement("div",{className:Ue.Z.button},xe.createElement(ze.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=oe},44454:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(4977),Ie=ae(7939),qe=Object.defineProperty,ze=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(Se,Pe,ye)=>Pe in Se?qe(Se,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Se[Pe]=ye,Ne=(Se,Pe)=>{for(var ye in Pe||(Pe={}))he.call(Pe,ye)&&oe(Se,ye,Pe[ye]);if(Ue)for(var ye of Ue(Pe))xe.call(Pe,ye)&&oe(Se,ye,Pe[ye]);return Se},ve=(Se,Pe)=>ze(Se,Fe(Pe));const Re=({img:Se,buttonProps:Pe={},styles:ye={},customText:Ce,ButtonText:Ee,ButtonClick:Me,Buttonclass:Ke,ButtonTwo:je,imgStyles:_e,loading:Je=!1,className:Xe=""})=>x.createElement("section",{className:`tc animated fadeIn ${Xe}`,style:Ne({color:"#999",margin:"100px auto",visibility:Je?"hidden":"visible"},ye)},x.createElement("img",{src:Se||dt,style:ve(Ne({},_e),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},Ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Ie.ZP,Ne({className:Ke,onClick:Me},Pe),Ee),je&&je);Ut.Z=Re},19192:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ke}});var x=ae(59301),dt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},Ie=ae(7939),qe=ae(70557),ze=ae(74898),Fe=ae(25399),Ue=ae(72916),he=ae(88686),xe=ae(44454),oe=ae(9294),Ne=ae(21814),ve=ae(59301),Re=Object.defineProperty,Se=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ce=(je,_e,Je)=>_e in je?Re(je,_e,{enumerable:!0,configurable:!0,writable:!0,value:Je}):je[_e]=Je,Ee=(je,_e)=>{for(var Je in _e||(_e={}))Pe.call(_e,Je)&&Ce(je,Je,_e[Je]);if(Se)for(var Je of Se(_e))ye.call(_e,Je)&&Ce(je,Je,_e[Je]);return je},Me=(je,_e,Je)=>new Promise((Xe,ut)=>{var ot=He=>{try{Ct(Je.next(He))}catch(ft){ut(ft)}},ht=He=>{try{Ct(Je.throw(He))}catch(ft){ut(ft)}},Ct=He=>He.done?Xe(He.value):Promise.resolve(He.value).then(ot,ht);Ct((Je=Je.apply(je,_e)).next())}),Ke=({editOffice:je="view",data:_e,issaver:Je,onSaver:Xe,theme:ut,type:ot,filename:ht,monacoEditor:Ct,className:He,style:ft,close:De,onClose:Qe,hasMask:Ot,disabledDownload:it,onImgDimensions:at,showNodata:Bt,recordInfo:We})=>{const[Te,ct]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,jt]=(0,x.useState)(""),[tt,Tt]=(0,x.useState)(),_t=window.ENV==="build"?"/react/build":"",hn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,vn=10*(1024*1024),kt=(0,x.useRef)();_e!=null&&_e.startsWith("/api")&&ot!=="txt"&&(_e=oe.Z.API_SERVER+_e);const Sn=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();ht&&Ct&&(Ct.filename=ht),(0,x.useEffect)(()=>{var se,le;const Be=(le=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:le.split(";");Be==null||Be.map(Ve=>{let st=Ve.split("=");st[0]==="_educoder_session"&&jt(st[1])})},[]),(0,x.useEffect)(()=>{ot==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Tt({url:_e,fileType:Sn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Tt({url:_e,fileType:"doc",model:"view"}):de())},[ot,_e]);function on(se){return Me(this,null,function*(){se.data.type==="pdfdata"&&(Xe(se.data.data),window.removeEventListener("message",on,!1)),console.log("mess---:",se.data)})}const de=()=>Me(void 0,null,function*(){console.log("data:",_e);let se=_e;_e.startsWith("http")||(se=location.origin+se);let le=new URL(se).pathname.split("/").pop();const Be=yield(0,he.gJ)({attachment_id:le});Be.url=hn+Be.url,Tt(Be)}),ge=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ie();return}(0,Ue.Sv)(ht||"educoder",_e,ht)},ie=()=>{We&&(0,Ne.fc)({id:We==null?void 0:We.id,watch_type:1,course_id:We==null?void 0:We.course_id}),(0,Ue.Nd)(ht||"educoder",decodeURIComponent(_e))};(0,x.useEffect)(()=>(window.addEventListener("message",ee),()=>{window.removeEventListener("message",ee)}),[]);const ee=se=>{var le;((le=se==null?void 0:se.data)==null?void 0:le.type)==="closePop"&&Qe()};return ve.createElement("div",{style:Ee({},ft||{}),className:`${Ot&&dt.bgBlack} ${ot?dt.wrp:"hide"}`},!!ot&&De&&ve.createElement("div",{id:"closePop",className:dt.close,ref:kt},!!at&&ve.createElement(Fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>kt.current},ve.createElement("span",{onClick:()=>{Qe(),at()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!it&&window.parent===window&&ve.createElement(Fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>kt.current},ve.createElement("span",{onClick:ie},ve.createElement("i",{className:"icon-quxiaozhiding"}))),Je&&ve.createElement(Fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>kt.current},ve.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",on,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(Fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>kt.current},ve.createElement("span",{className:"",onClick:()=>{Qe()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${dt[He]} ${He} ${dt.monaco} ${ot==="txt"?"show":"hide"}`},ot==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(ze.ZP,Ee({},Ct)))),ot==="audio"&&ve.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),ot==="video"&&ve.createElement(ve.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),ot==="office"&&tt&&ve.createElement("iframe",{src:`${_t}/office.html?key=${tt.key}&url=${btoa(tt.url)}&callbackUrl=${hn+(tt.callbackUrl||"")}&fileType=${tt.fileType}&title=${tt.title||""}&model=${je}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!it}`}),ot==="html"&&ve.createElement("iframe",{src:_e+"&disposition=inline"}),ot==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${_t}/js/pdf/index.html?filename=${ht||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!it}&model=${je}`}),ot==="image"&&ve.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(ot==="other"||ot==="download")&&ve.createElement(ve.Fragment,null,Bt?ve.createElement(xe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(Ie.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:it},"\u4E0B\u8F7D")}):ve.createElement(Ie.ZP,{type:"primary",size:"middle",onClick:ge,disabled:it},ve.createElement(qe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ot==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},31525:function(Yn,Ut,ae){"use strict";ae.d(Ut,{z:function(){return Ct},Z:function(){return He}});var x=ae(59301),dt=ae(38560),Ie=ae(41751),qe=ae(64018),ze=ae(16471),Fe=ae(9294),Ue=ae(72916),he=ae(15342),xe=ae(44104),oe=ae(7939),Ne=ae(1012),ve=ae(19192),Re=ae(59301),Pe=({html:ft})=>{const De=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Ot=`.markdown-body p { +\\end{array}`}]}]}],Ee=je=>{Oe.current.setValue(Oe.current.getValue()+" "+je.value+" ")},Me=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(dt.Z,{className:Ue.Z.lists,gutter:[10,10]},ye.map((je,Qe)=>xe.createElement(Ie.Z,{flex:"110px",className:Ue.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:`$$${je.value}$$`}),je.name),xe.createElement("div",{className:Ue.Z.children},je.children.map((Je,Xe)=>xe.createElement("div",{key:Xe},xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((ut,ot)=>xe.createElement(Ie.Z,{key:ot,onClick:()=>Ee(ut),className:Ue.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+ut.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(dt.Z,{className:Ue.Z.lists,gutter:[10,10]},Ce.map((je,Qe)=>xe.createElement(Ie.Z,{flex:"110px",className:Ue.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:"`$$"+je.value+"$$`"}),je.name),xe.createElement("div",{className:Ue.Z.children},je.children.map((Je,Xe)=>xe.createElement("div",{key:Xe},Je.name&&xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((ut,ot)=>xe.createElement(Ie.Z,{key:ot,onClick:()=>Ee(ut),className:Ue.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+ut.value+"$$`"}))))))))))}],Ke=()=>{var je=document.createElement("div");je.innerHTML=Oe.current.getValue();var Qe=je.innerText;return Ne&&Ne(Qe),Qe};return(0,x.useImperativeHandle)(Se,()=>({getData:Ke})),xe.createElement("div",{className:Ue.Z.mathWrap},xe.createElement(qe.default,{defaultActiveKey:"1",items:Me}),xe.createElement("math-field",{locale:"zh_cn",className:Ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Oe,style:{width:800,marginTop:30,fontSize:18}},Re||""),ve&&xe.createElement("div",{className:Ue.Z.button},xe.createElement(ze.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=oe},44454:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(4977),Ie=ae(7939),qe=Object.defineProperty,ze=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(Se,Oe,ye)=>Oe in Se?qe(Se,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Se[Oe]=ye,Ne=(Se,Oe)=>{for(var ye in Oe||(Oe={}))he.call(Oe,ye)&&oe(Se,ye,Oe[ye]);if(Ue)for(var ye of Ue(Oe))xe.call(Oe,ye)&&oe(Se,ye,Oe[ye]);return Se},ve=(Se,Oe)=>ze(Se,Fe(Oe));const Re=({img:Se,buttonProps:Oe={},styles:ye={},customText:Ce,ButtonText:Ee,ButtonClick:Me,Buttonclass:Ke,ButtonTwo:je,imgStyles:Qe,loading:Je=!1,className:Xe=""})=>x.createElement("section",{className:`tc animated fadeIn ${Xe}`,style:Ne({color:"#999",margin:"100px auto",visibility:Je?"hidden":"visible"},ye)},x.createElement("img",{src:Se||dt,style:ve(Ne({},Qe),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},Ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Ie.ZP,Ne({className:Ke,onClick:Me},Oe),Ee),je&&je);Ut.Z=Re},19192:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ke}});var x=ae(59301),dt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},Ie=ae(7939),qe=ae(70557),ze=ae(74898),Fe=ae(25399),Ue=ae(72916),he=ae(88686),xe=ae(44454),oe=ae(9294),Ne=ae(21814),ve=ae(59301),Re=Object.defineProperty,Se=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ce=(je,Qe,Je)=>Qe in je?Re(je,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Je}):je[Qe]=Je,Ee=(je,Qe)=>{for(var Je in Qe||(Qe={}))Oe.call(Qe,Je)&&Ce(je,Je,Qe[Je]);if(Se)for(var Je of Se(Qe))ye.call(Qe,Je)&&Ce(je,Je,Qe[Je]);return je},Me=(je,Qe,Je)=>new Promise((Xe,ut)=>{var ot=He=>{try{Ct(Je.next(He))}catch(ft){ut(ft)}},ht=He=>{try{Ct(Je.throw(He))}catch(ft){ut(ft)}},Ct=He=>He.done?Xe(He.value):Promise.resolve(He.value).then(ot,ht);Ct((Je=Je.apply(je,Qe)).next())}),Ke=({editOffice:je="view",data:Qe,issaver:Je,onSaver:Xe,theme:ut,type:ot,filename:ht,monacoEditor:Ct,className:He,style:ft,close:De,onClose:_e,hasMask:Ot,disabledDownload:it,onImgDimensions:at,showNodata:Bt,recordInfo:We})=>{const[Te,ct]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,zt]=(0,x.useState)(""),[tt,Pt]=(0,x.useState)(),_t=window.ENV==="build"?"/react/build":"",fn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,vn=10*(1024*1024),kt=(0,x.useRef)();Qe!=null&&Qe.startsWith("/api")&&ot!=="txt"&&(Qe=oe.Z.API_SERVER+Qe);const Sn=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();ht&&Ct&&(Ct.filename=ht),(0,x.useEffect)(()=>{var se,le;const Be=(le=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:le.split(";");Be==null||Be.map(Ve=>{let st=Ve.split("=");st[0]==="_educoder_session"&&zt(st[1])})},[]),(0,x.useEffect)(()=>{ot==="office"&&(Qe.indexOf("bigfilescdn.")>-1||Qe.indexOf("bigfiles1")>-1?Pt({url:Qe,fileType:Sn(Qe),model:Qe.indexOf("model=edit")?"edit":"view"}):Qe.indexOf("coze")>-1?Pt({url:Qe,fileType:"doc",model:"view"}):de())},[ot,Qe]);function on(se){return Me(this,null,function*(){se.data.type==="pdfdata"&&(Xe(se.data.data),window.removeEventListener("message",on,!1)),console.log("mess---:",se.data)})}const de=()=>Me(void 0,null,function*(){console.log("data:",Qe);let se=Qe;Qe.startsWith("http")||(se=location.origin+se);let le=new URL(se).pathname.split("/").pop();const Be=yield(0,he.gJ)({attachment_id:le});Be.url=fn+Be.url,Pt(Be)}),ge=()=>{if(Qe.startsWith("http")||Qe.startsWith("blob:")){ie();return}(0,Ue.Sv)(ht||"educoder",Qe,ht)},ie=()=>{We&&(0,Ne.fc)({id:We==null?void 0:We.id,watch_type:1,course_id:We==null?void 0:We.course_id}),(0,Ue.Nd)(ht||"educoder",decodeURIComponent(Qe))};(0,x.useEffect)(()=>(window.addEventListener("message",ee),()=>{window.removeEventListener("message",ee)}),[]);const ee=se=>{var le;((le=se==null?void 0:se.data)==null?void 0:le.type)==="closePop"&&_e()};return ve.createElement("div",{style:Ee({},ft||{}),className:`${Ot&&dt.bgBlack} ${ot?dt.wrp:"hide"}`},!!ot&&De&&ve.createElement("div",{id:"closePop",className:dt.close,ref:kt},!!at&&ve.createElement(Fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>kt.current},ve.createElement("span",{onClick:()=>{_e(),at()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!it&&window.parent===window&&ve.createElement(Fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>kt.current},ve.createElement("span",{onClick:ie},ve.createElement("i",{className:"icon-quxiaozhiding"}))),Je&&ve.createElement(Fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>kt.current},ve.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",on,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(Fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>kt.current},ve.createElement("span",{className:"",onClick:()=>{_e()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${dt[He]} ${He} ${dt.monaco} ${ot==="txt"?"show":"hide"}`},ot==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(ze.ZP,Ee({},Ct)))),ot==="audio"&&ve.createElement("audio",{controls:!0,src:`${(Qe==null?void 0:Qe.indexOf("http://"))>-1||(Qe==null?void 0:Qe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Qe}`,autoPlay:!0}),ot==="video"&&ve.createElement(ve.Fragment,null,(Qe==null?void 0:Qe.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${Qe}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Qe}`,autoPlay:!0})),ot==="office"&&tt&&ve.createElement("iframe",{src:`${_t}/office.html?key=${tt.key}&url=${btoa(tt.url)}&callbackUrl=${fn+(tt.callbackUrl||"")}&fileType=${tt.fileType}&title=${tt.title||""}&model=${je}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!it}`}),ot==="html"&&ve.createElement("iframe",{src:Qe+"&disposition=inline"}),ot==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${_t}/js/pdf/index.html?filename=${ht||"educoder.pdf"}&url=${encodeURIComponent(Qe)}&disabledDownload=${!!it}&model=${je}`}),ot==="image"&&ve.createElement("img",{src:`${(Qe==null?void 0:Qe.indexOf("http://"))>-1||(Qe==null?void 0:Qe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Qe}`}),(ot==="other"||ot==="download")&&ve.createElement(ve.Fragment,null,Bt?ve.createElement(xe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(Ie.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:it},"\u4E0B\u8F7D")}):ve.createElement(Ie.ZP,{type:"primary",size:"middle",onClick:ge,disabled:it},ve.createElement(qe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ot==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Qe||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},31525:function(Yn,Ut,ae){"use strict";ae.d(Ut,{z:function(){return Ct},Z:function(){return He}});var x=ae(59301),dt=ae(38560),Ie=ae(41751),qe=ae(64018),ze=ae(16471),Fe=ae(9294),Ue=ae(72916),he=ae(15342),xe=ae(44104),oe=ae(7939),Ne=ae(1012),ve=ae(19192),Re=ae(59301),Oe=({html:ft})=>{const De=(0,x.useRef)(null),_e=(0,x.useRef)(null),Ot=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; @@ -915,20 +915,20 @@ .markdown-body pre { margin-top: 0; margin-bottom: 16px; - }`;return(0,x.useEffect)(()=>{const it=De.current.attachShadow({mode:"open"});Qe.current=document.createElement("div"),Qe.current.className="markdown-body",Qe.current.innerHTML=ft,it.appendChild(Qe.current);const at=document.createElement("style");return at.textContent=Ot,it.appendChild(at),()=>{it.innerHTML=""}},[]),(0,x.useEffect)(()=>{Qe.current&&(Qe.current.innerHTML=ft)},[ft]),Re.createElement("div",{ref:De})};function ye(ft){const De=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],Qe=new RegExp(`\\b(${De.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ot=/]*>/gi;return ft.replace(Qe,"").replace(Ot,"").trim()}var Ce={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,_e=(ft,De,Qe)=>De in ft?Ee(ft,De,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ft[De]=Qe,Je=(ft,De)=>{for(var Qe in De||(De={}))Ke.call(De,Qe)&&_e(ft,Qe,De[Qe]);if(Me)for(var Qe of Me(De))je.call(De,Qe)&&_e(ft,Qe,De[Qe]);return ft};const Xe="@\u2581\u2581@",ut="@\u2581@",ot=/]*>/g;function ht(ft){let De=document.createElement("div");return De.innerHTML=ft,De.childNodes.length===0?"":De.childNodes[0].nodeValue}const Ct=(ft,De)=>{ft=ft||"";const Qe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ot=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,it=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,at=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return De?ft.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Qe,(Bt,We,Te,ct,Zt,jt,tt)=>{const Tt=We||ct||jt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Tt+_t+"&t="+(0,Ue.Jn)(Tt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ft=ft.replace(at,(Bt,We,Te,ct,Zt,jt,tt)=>{const Tt=We||ct||jt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/attachments/download/"+Tt+_t+"&t="+(0,Ue.Jn)(Tt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Qe,(Bt,We,Te,ct,Zt,jt,tt)=>{const Tt=We||ct||jt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Tt+_t+"&t="+(0,Ue.Jn)(Tt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Ot,(Bt,We,Te,ct,Zt)=>{const jt=We||ct,tt=Te||Zt||"";return'"'+Fe.Z.API_SERVER+"/api/attachments/"+jt+tt+jt+tt+"&t="+(0,Ue.Jn)(jt,Date.now())}).replace(it,(Bt,We,Te,ct,Zt)=>{const jt=We||ct,tt=Te||Zt||"";return"("+Fe.Z.API_SERVER+"/files/uploads/"+jt+tt+jt+tt+"&t="+(0,Ue.Jn)(jt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),ft)};var He=({value:ft="",edit:De=!1,className:Qe,showTextOnly:Ot,showLines:it,style:at={},stylesPrev:Bt={},highlightKeywords:We,showProgramFill:Te,isProgramFill:ct,disabledFill:Zt=!1,programFillValue:jt,openEditor:tt=()=>{},onFillChange:Tt=Pt=>{},onFillBlur:_t=()=>{},onFillFocus:hn=()=>{}})=>{let Pt=ye(String(ft||""));const vn=(0,x.useRef)(),kt=(0,x.useRef)(),[Sn,on]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),se=(0,x.useRef)("a"+(0,Ne.Z)()),le={},Be=en=>//i.test(en||""),Ve=(en,zn,In)=>{const Qt=document.createElement(en===ut?"input":"textarea");Qt.style.width="100%",Qt.style.height=en===ut?"40px":"151px",Qt.rows=5,Qt.spellcheck=!1,Qt.name="edu-program-fill",Qt.placeholder="\u8BF7\u8F93\u5165",Qt.dataset.id=zn;const sn=Object.keys(le).length;return le[sn]=Qt,`${Qt.outerHTML}`};function st(en){return en=en.replace(/!\[.*?\]\(.*?\)/g,""),en=en.replace(/\[.*?\]\(.*?\)/g,""),en=en.replace(new RegExp("","gs"),""),en=en.replace(//g,""),en=en.replace(//g,""),en=en.replace(new RegExp(".*?<\\/video>","gs"),""),en=en.replace(new RegExp(".*?<\\/audio>","gs"),""),en=en.replace(new RegExp(".*?<\\/style>","gs"),""),en=en.replace(new RegExp(".*?<\\/script>","gs"),""),en}const gt=en=>!Ot&&Be(Pt)?en:en.replace(/([\s\S]+?)<\/style>/gim,function(zn,In){let Qt=In.replace(/(\n|\r)/g,"").split("}"),sn=[];return Qt.map(Nn=>{Nn!=""&&sn.push(`.${se.current} ${Nn}`)}),``}),mt=(0,x.useMemo)(()=>{(0,Ie.Iy)();try{const Qt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,sn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Nn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Vn=/\(\/attachments\/download\//g;Pt=Pt.replace(Vn,"("+Fe.Z.API_SERVER+"/attachments/download/").replace(Qt,"("+Fe.Z.API_SERVER+"/api/attachments/").replace(sn,'"'+Fe.Z.API_SERVER+"/api/attachments/").replace(Nn,'"'+Fe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),vn.current.style.display="none"}catch(Qt){}if(Te){let Qt=-1;return Pt=Pt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(sn,Nn,Vn){var Lt;return++Qt,Ve(sn,Qt,(Lt=jt==null?void 0:jt[Qt])==null?void 0:Lt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${gt(Pt||"")}
`}let en=gt(Pt);en=(0,Ie.ZP)(en);const zn=(0,Ie.ez)();Pt.match(/\[TOC\]/)&&(en=en.replace("

[TOC]

",(0,Ie.Qv)()),(0,Ie.Iy)()),en=en.replace(/(__special_katext_id_\d+__)/g,(Qt,sn)=>{const{type:Nn,expression:Vn}=zn[sn];return(0,he.renderToString)(ht(Vn)||"",{displayMode:Nn==="block",throwOnError:!1,output:"html"})}),en=en.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Ie.AL)();const In=document.createElement("div");if(In.innerHTML=en,Ot)return In.innerText;if(We){const Qt=We.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return xt(In,Qt),In.innerHTML}return setTimeout(()=>Vt(),500),In.innerHTML},[Pt,We]);(0,x.useEffect)(()=>{lt.current&<.current.querySelectorAll(["input","textarea"]).forEach(zn=>{zn.oninput=St,zn.onblur=Dt,zn.onfocus=Ht})},[ie]),(0,x.useEffect)(()=>{var en,zn,In,Qt,sn;if(jt!=null&&jt.length)try{const Nn=lt.current.querySelectorAll(".edu-program-fill-score"),Vn=lt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Lt,Gt]of Vn.entries())Gt.value=((en=jt==null?void 0:jt[Lt])==null?void 0:en.value)||"",((zn=jt==null?void 0:jt[Lt])==null?void 0:zn.type)==="warning"?Gt.className="program-fill-warning":((In=jt==null?void 0:jt[Lt])==null?void 0:In.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[Lt,Gt]of Nn.entries())Gt.innerHTML=(Qt=jt==null?void 0:jt[Lt])!=null&&Qt.score?`${(sn=jt==null?void 0:jt[Lt])==null?void 0:sn.score}\u5206`:"";ee(jt)}catch(Nn){console.log(Nn,"error")}},[jt]);const St=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Tt(ie,en.target.dataset.id)},Dt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),_t(ie,en.target.dataset.id)},Ht=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),hn(ie,en.target.dataset.id)};function xt(en,zn){return en.childNodes.forEach(In=>{var Qt;if(In.childNodes.length>0)xt(In,zn);else if(In.nodeName!=="IMG")if(In.innerHTML)In.innerHTML=(Qt=In.innerHTML)==null?void 0:Qt.replace(new RegExp(zn,"gi"),'$&');else{const sn=document.createElement("span");sn.innerHTML=In.textContent.replace(new RegExp(zn,"gi"),'$&'),In.replaceWith(sn)}})}const lt=(0,x.useRef)();Ie.jb.WebkitLineClamp=it,it&&(at=Je(Je({},at),Ie.jb));function Xt(en){let zn=en.target;if(zn.tagName.toUpperCase()==="A"){let In=zn.getAttribute("href");if(In.indexOf("office")>-1)en.preventDefault(),on(In),ge("office");else if(In.indexOf("application/pdf")>-1)en.preventDefault(),on(In),ge("pdf");else if(In.indexOf("text/html")>-1)en.preventDefault(),on(In),ge("html");else if(In.startsWith("#")){en.preventDefault();let Qt=document.getElementById(In.replace("#",""));Qt&&Qt.scrollIntoView(!0)}}}const Vt=()=>{var en;const zn=(en=lt.current)==null?void 0:en.querySelectorAll("video");zn==null||zn.forEach(In=>{if(In.oncontextmenu=()=>!1,In.src.indexOf(".m3u8")>-1&&!In.canPlayType("application/vnd.apple.mpegurl")){if(ze.ZP.isSupported()){var Qt=new ze.ZP;Qt.loadSource(In.src),Qt.attachMedia(In)}}})};(0,x.useEffect)(()=>{if(lt.current&&mt&&mt.match(ot)&&window.PR.prettyPrint(),lt.current)return lt.current.addEventListener("click",Xt),()=>{var en;(en=lt.current)==null||en.removeEventListener("click",Xt),(0,Ie.AL)(),(0,Ie.Iy)()}},[mt,lt.current,Xt]);const wn=en=>{en.target.nodeName==="IMG"&&en.target.className.indexOf("draw-flowchart")>-1?(vn.current.style.zIndex=1,vn.current.style.display="flex",vn.current.style.width=en.target.clientWidth+"px",vn.current.style.height=en.target.clientHeight+"px",vn.current.style.top=en.target.offsetTop+"px",vn.current.style.left=en.target.offsetLeft+"px",en.target.id&&(kt.current=en.target.id)):vn.current.style.display="none"},an=()=>{vn.current.style.display="none"};return(0,x.useEffect)(()=>{var en;const zn=In=>{In.preventDefault(),In.clipboardData.setData("text",window.getSelection().toString())};return(en=lt.current)==null||en.addEventListener("copy",zn),()=>{var In;(In=lt.current)==null||In.removeEventListener("copy",zn)}},[lt.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:an},Ot&&x.createElement("div",{ref:lt,className:`${Ce.mdBody} `},mt),!Ot&&!Be(mt)&&x.createElement("div",{ref:lt,style:Je({},at),onMouseOver:wn,className:`${Qe||""} ${Zt?"disabled-fill":""} markdown-body ${Ce.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:mt}}),!Ot&&Be(mt)&&x.createElement(Pe,{html:mt}),x.createElement("div",{ref:vn,className:`${Ce.button} ${De?"":Ce.previewFlowChart}`},x.createElement(xe.Z,null,x.createElement(oe.ZP,{onClick:()=>{De?tt(kt.current):(on(kt.current),ge("flowChart"))}},De?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ve.Z,{close:!0,data:Sn,type:Sn!=null&&Sn.length?de:"",style:Je({},Bt),onClose:()=>on("")}))}},27582:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return ft}});var x=ae(59301),dt=ae(85500),Ie=ae(62957),qe=ae(28284),ze=ae(6767),Fe=ae(29787),Ue=ae(18287),he=ae(77019),xe=ae(5269),oe=ae(25399),Ne=ae(37568),ve={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Re=ae(65290),Se=ae(62790),Pe=ae(44454),ye=ae(79333),Ce=Object.defineProperty,Ee=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Je=(De,Qe,Ot)=>Qe in De?Ce(De,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):De[Qe]=Ot,Xe=(De,Qe)=>{for(var Ot in Qe||(Qe={}))je.call(Qe,Ot)&&Je(De,Ot,Qe[Ot]);if(Ke)for(var Ot of Ke(Qe))_e.call(Qe,Ot)&&Je(De,Ot,Qe[Ot]);return De},ut=(De,Qe)=>Ee(De,Me(Qe)),ot=(De,Qe)=>{var Ot={};for(var it in De)je.call(De,it)&&Qe.indexOf(it)<0&&(Ot[it]=De[it]);if(De!=null&&Ke)for(var it of Ke(De))Qe.indexOf(it)<0&&_e.call(De,it)&&(Ot[it]=De[it]);return Ot},ht=(De,Qe,Ot)=>new Promise((it,at)=>{var Bt=ct=>{try{Te(Ot.next(ct))}catch(Zt){at(Zt)}},We=ct=>{try{Te(Ot.throw(ct))}catch(Zt){at(Zt)}},Te=ct=>ct.done?it(ct.value):Promise.resolve(ct.value).then(Bt,We);Te((Ot=Ot.apply(De,Qe)).next())});const Ct=(De=[])=>De==null?void 0:De.map(Qe=>ut(Xe({},Qe),{title:(Qe==null?void 0:Qe.value)||"",key:Qe==null?void 0:Qe.id,isLeaf:!0})),He=De=>{var Qe=De,{user:Ot,children:it,isShowComponent:at=!0,ModalProps:Bt={},onDataSelect:We}=Qe,Te=ot(Qe,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[ct,Zt]=Ie.default.useModal(),[jt]=qe.default.useForm(),[tt,Tt]=(0,x.useState)([]),[_t,hn]=(0,x.useState)(!1),[Pt,vn]=(0,x.useState)(!1),[,kt,Sn,on]=(0,Re.U)(Se.qE,{page:1,limit:9999}),[,,de]=(0,Re.U)(Se.V8,{}),[,,ge]=(0,Re.U)(Se.B$,{}),[,,ie]=(0,Re.U)(Se.DH,{}),[,,ee]=(0,Re.U)(Se.bJ,{}),se=()=>{hn(!1),jt.resetFields(),vn(!1)},le=Ve=>ht(void 0,null,function*(){const{node:st,dragNode:gt,event:mt}=Ve,St=Ve.node.pos.split("-"),Dt=Ve.dropPosition-Number(St[St.length-1]);if(Dt==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Dt==1&&(gt==null?void 0:gt.item_index)==(st==null?void 0:st.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Ht=yield ee({id:gt==null?void 0:gt.key,position:Dt==-1?1:(gt==null?void 0:gt.item_index)>(st==null?void 0:st.item_index)?(st==null?void 0:st.item_index)+1:st==null?void 0:st.item_index});(Ht==null?void 0:Ht.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Sn({},!0))}),Be=Ve=>ht(void 0,null,function*(){let st={};Pt?st=yield ge(Xe({},Ve)):st=yield ie(Xe({},Ve)),(st==null?void 0:st.status)==0&&(ze.ZP.success((st==null?void 0:st.message)||(Pt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Sn({},!0),se())});return(0,x.useEffect)(()=>{Bt!=null&&Bt.open&&Sn({},!0)},[Bt==null?void 0:Bt.open]),(0,x.useEffect)(()=>{var Ve;Tt(Ct((Ve=on==null?void 0:on.data)==null?void 0:Ve.list))},[on]),at?x.createElement(x.Fragment,null,Zt,it,x.createElement(Ie.default,Xe({},Xe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Bt)),x.createElement(Fe.Z,{spinning:kt},(tt==null?void 0:tt.length)>0?x.createElement(x.Fragment,null,x.createElement(Ue.default.DirectoryTree,{height:500,className:ve.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:We,treeData:tt,onDrop:le,titleRender:Ve=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ve==null?void 0:Ve.title),x.createElement("div",{className:`${ve.EditDom}`},x.createElement(he.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ve.currentPrimary}`}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ve.currentPrimary}`,onClick:st=>{st.stopPropagation(),jt.setFieldsValue(Xe({},Ve)),hn(!0)}}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ve.currentDelete}`,onClick:st=>{st.stopPropagation(),ct.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ht(void 0,null,function*(){const gt=yield de({id:Ve==null?void 0:Ve.key});(gt==null?void 0:gt.status)==0&&(ze.ZP.success((gt==null?void 0:gt.message)||"\u5220\u9664\u6210\u529F"),Sn({},!0))})})}}))))))}),x.createElement(ye.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{vn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(Pe.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{vn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Ie.default,{title:Pt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:_t,okText:Pt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{jt.submit()}},x.createElement(qe.default,{form:jt,onFinish:Be},Pt&&x.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),x.createElement(qe.default.Item,{hidden:!0,name:"id"}),x.createElement(qe.default.Item,{className:"mt10",name:"value"},x.createElement(Ne.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ft=(0,dt.connect)(({loading:De,user:Qe})=>({user:Qe,loading:De.effects}))(He)},43008:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return qe}});var x=ae(59301),dt=ae(2063),Ie=ae(75786),qe=()=>{const[ze,Fe]=(0,x.useState)(""),[Ue,he]=(0,x.useState)(0);let[xe,oe]=(0,x.useState)(),[Ne,ve]=(0,x.useState)();const[Re,Se]=(0,x.useState)(!1),Pe=(0,x.useRef)("");(0,x.useEffect)(()=>dt.Z.subscribe("preview-image",ot=>{Fe(ot),console.log(Je.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",ye),()=>{document.removeEventListener("keydown",ye)}),[]),(0,x.useEffect)(()=>{Pe.current=ze},[ze]);function ye(ut){console.log("e====",ut),ut.keyCode==27&&Pe.current&&Ce()}function Ce(){document.body.style.overflow="auto",oe(void 0),ve(void 0),he(0),Fe("")}function Ee(){he(Ue+90)}function Me(){xe=Je.current.width*1.1,Ne=Je.current.height*1.1,ve(Ne),oe(xe)}function Ke(){xe=Je.current.width/1.1,Ne=Je.current.height/1.1,ve(Ne),oe(xe)}const je=(0,x.useRef)(),_e=(0,x.useRef)(),Je=(0,x.useRef)(),Xe=ut=>{(ut.nativeEvent.target===je.current||ut.nativeEvent.target===_e.current)&&Ce()};return x.createElement(x.Fragment,null,ze?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:_e},x.createElement(Ie.Z,{className:"image-preview",src:ze,style:{display:"none"},preview:{visible:!0,src:ze,onVisibleChange:ut=>{Fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},31163:function(Yn,Ut,ae){"use strict";ae.d(Ut,{h:function(){return je}});var x=ae(59301),dt=ae(82326),Ie=ae(28284),qe=ae(7939),ze=ae(89780),Fe=ae.n(ze),Ue=ae(6169),he=ae(27424),xe=Object.defineProperty,oe=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Pe=(_e,Je,Xe)=>Je in _e?xe(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):_e[Je]=Xe,ye=(_e,Je)=>{for(var Xe in Je||(Je={}))Re.call(Je,Xe)&&Pe(_e,Xe,Je[Xe]);if(ve)for(var Xe of ve(Je))Se.call(Je,Xe)&&Pe(_e,Xe,Je[Xe]);return _e},Ce=(_e,Je)=>oe(_e,Ne(Je));const Ee=dt.default.Option,Me={labelCol:{span:4},wrapperCol:{span:20}},Ke={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ut.Z=({callback:_e,onCancel:Je})=>{const[Xe,ut]=(0,x.useState)("python");function ot(Ct){ut(Ke[Ct][1])}function ht(Ct){_e(Ct)}return x.createElement(Ie.default,Ce(ye({},Me),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),x.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(dt.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:ot},Object.keys(Ke).map(Ct=>x.createElement(Ee,{key:Ct,value:Ct},Ke[Ct][0])))),x.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(je,{mode:Xe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(qe.ZP,{type:"ghost",onClick:Je},"\u53D6\u6D88")))};function je({value:_e,onChange:Je,mode:Xe,options:ut={}}){const ot=(0,x.useRef)(),[ht,Ct]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ht){let He=function(ft){const De=ft.getValue();Je&&Je(De)};return ht.on("change",He),()=>{ht.off("change",He)}}},[ht,Je]),(0,x.useEffect)(()=>{ht&&ht.setOption("mode",Xe)},[ht,Xe]),(0,x.useEffect)(()=>{ht&&(_e!==ht.getValue()||_e==="")&&setTimeout(()=>{ht.setValue(_e||"")},300)},[ht,_e]),(0,x.useEffect)(()=>{if(ot.current&&!ht){const He=Fe().fromTextArea(ot.current,ye({mode:Xe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ut));Ct(He)}},[ot.current,ht]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:ot}))}},3034:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return ir}});var x=ae(59301),dt=ae(85500),Ie=ae(89780),qe=ae.n(Ie),ze=ae(76374),Fe=ae(6169),Ue=ae(6313),he=ae(25717),xe=ae(99498),oe=ae(25419),Ne=ae(67549),ve=ae(31525),Re=({value:Zn="",className:Cr,showTextOnly:Er,showLines:Nr,style:pi={}})=>{const di=(0,x.useMemo)(()=>"",[Zn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:di}}))},Se=Object.defineProperty,Pe=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ke=(Zn,Cr,Er)=>Cr in Zn?Se(Zn,Cr,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Zn[Cr]=Er,je=(Zn,Cr)=>{for(var Er in Cr||(Cr={}))Ee.call(Cr,Er)&&Ke(Zn,Er,Cr[Er]);if(Ce)for(var Er of Ce(Cr))Me.call(Cr,Er)&&Ke(Zn,Er,Cr[Er]);return Zn},_e=(Zn,Cr)=>Pe(Zn,ye(Cr));let Je=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Xe({onActionCallback:Zn,title:Cr,icon:Er,actionName:Nr,className:pi="",children:di}){function fi(){Zn(Nr)}return x.createElement("a",{title:Cr,className:pi,onClick:fi},x.createElement("i",{className:`${Er}`}),di)}var ut=({watch:Zn,showNullButton:Cr,showNullProgramButton:Er,onActionCallback:Nr,fullScreen:pi,insertTemp:di,hidetoolBar:fi,extraUse:Oi})=>{const Ci=[...Je,{title:`${Zn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Zn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!fi&&Ci.map((ro,Yi)=>x.createElement("li",{key:Yi},ro.actionName?x.createElement(Xe,_e(je({},ro),{onActionCallback:Nr})):x.createElement("span",{className:"v-line"}))),Cr?x.createElement("li",null,x.createElement(Xe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Er?x.createElement(x.Fragment,null,x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,di&&x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${di}`,onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Oi&&x.createElement("li",null,Oi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Xe,{icon:`${pi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:pi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nr})))},ot=ae(55683),ht=ae(28284),Ct=ae(37568),He=ae(7939),ft=Object.defineProperty,De=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Bt=(Zn,Cr,Er)=>Cr in Zn?ft(Zn,Cr,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Zn[Cr]=Er,We=(Zn,Cr)=>{for(var Er in Cr||(Cr={}))it.call(Cr,Er)&&Bt(Zn,Er,Cr[Er]);if(Ot)for(var Er of Ot(Cr))at.call(Cr,Er)&&Bt(Zn,Er,Cr[Er]);return Zn},Te=(Zn,Cr)=>De(Zn,Qe(Cr));const ct={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:Zn,onCancel:Cr})=>{function Er(Nr){Zn(Nr)}return x.createElement(ht.default,Te(We({},ct),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Er,style:{width:500}}),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Ct.default,null)),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Ct.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(He.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(He.ZP,{type:"ghost",onClick:Cr},"\u53D6\u6D88")))},jt=ae(31163),tt=ae(35715),Tt=ae(62957),_t=ae(77019),hn=ae(25263),Pt=ae(59301),vn=({callback:Zn,onCancel:Cr})=>{const Er=document.createElement("canvas"),Nr=Er.getContext("2d");Er.width=1e3,Er.height=800,Nr.fillStyle="#ffffff",Nr.fillRect(0,0,Er.width,Er.height);const pi=Er.toDataURL("image/png");return Pt.createElement(Tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Pt.createElement(_t.Z,{style:{height:"100vh"}},Pt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:pi,visible:!0,title:String(Date.now())},onOk:di=>{Zn({src:di.url})},onClose:Cr})))},kt=ae(36207),Sn=ae(5269),on=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:Zn,editImgId:Cr,callback:Er},Nr)=>{let pi=(0,x.useRef)(),di=(0,x.useRef)(),fi=(0,x.useRef)(),Oi=(0,x.useRef)(!1);const Ci=(0,x.useRef)(!1);console.log("ref:",Nr);const[ro,Yi]=(0,x.useState)(0),[or,Mr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Yi(1)},[]),(0,x.useImperativeHandle)(Nr,()=>({setHeight:Mr})),ge.createElement("div",{ref:Ci,className:"body-overflow-initial"},ge.createElement(kt.Z,{width:"100vw",height:or,footer:null,closable:!0,placement:"bottom",open:!!ro,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(gi=>{Er({src:`/api/attachments/${gi}`,id:gi})})},title:ge.createElement(_t.Z,{align:"middle"},ge.createElement(Sn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Sn.Z,{onClick:()=>{Mr(or==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Sn.Z,{onClick:()=>{window.saveDrawData(gi=>{if(gi===null){on.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}on.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Er({src:`/api/attachments/${gi}`,id:gi,disabledClose:!0})})}},ge.createElement(He.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Cr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:di})))}),se=ae(9294),le=ae(47889),Be=ae(4875);const Ve=le.ZP.Group,st={margin:"0 8px"};var gt=({callback:Zn,onCancel:Cr})=>{function Er(Nr){Zn(Nr)}return x.createElement(ht.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Er},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:st},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:st},"\u884C\u6570"),x.createElement(ht.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:st},"\u5217\u6570"),x.createElement(ht.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Be.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:st},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ht.default.Item,{name:"align"},x.createElement(Ve,null,x.createElement(le.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(le.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(le.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(le.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(He.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(He.ZP,{type:"ghost",onClick:Cr},"\u53D6\u6D88")))},mt=ae(58755),St=ae(94227),Dt=ae.n(St),xt=(0,x.forwardRef)(({use3d:Zn,width:Cr,height:Er,callback:Nr,showSaveButton:pi},di)=>{const fi=(0,x.useRef)(),Oi=(0,x.useRef)(),[Ci,ro]=(0,x.useState)(!1),Yi=(0,x.useRef)({id:fi,appName:"graphing",width:Cr||1e3,height:Er||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Oi.current=new(Dt())(Yi.current,!0),window.onload=function(){Oi.current.inject("applet_container")}},[]);const or=()=>{var Mr=window.ggbApplet.getPNGBase64(1,!0,72);return Nr&&Nr(Mr),Mr};return(0,x.useEffect)(()=>{Yi.current.appName=Ci?"3D":"graphing",Oi.current.inject("applet_container")},[Ci]),(0,x.useEffect)(()=>{ro(Zn)},[Zn]),(0,x.useImperativeHandle)(di,()=>({getImgData:or})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:fi}),x.createElement(_t.Z,{align:"middle"},x.createElement(Sn.Z,{flex:1},x.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ci,onChange:Mr=>ro(Mr)})),x.createElement(Sn.Z,null,x.createElement(He.ZP,{size:"large",onClick:or,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),lt=ae(61252);const Xt="link",Vt="upload-image",wn="add-flowchart",an="draw-image",en="add-flowchart",zn="code-block",In="add-table",Qt="------------",sn={default:Qt,left:`:${Qt}`,center:`:${Qt}:`,right:`${Qt}:`};var Nn=ae(81363),Vn=ae(72916);function Lt(){}let Gt=0;const nn=1e4,Cn="\u2581",Gn="@\u2581\u2581@",Sr="@\u2581@",ii=` + }`;return(0,x.useEffect)(()=>{const it=De.current.attachShadow({mode:"open"});_e.current=document.createElement("div"),_e.current.className="markdown-body",_e.current.innerHTML=ft,it.appendChild(_e.current);const at=document.createElement("style");return at.textContent=Ot,it.appendChild(at),()=>{it.innerHTML=""}},[]),(0,x.useEffect)(()=>{_e.current&&(_e.current.innerHTML=ft)},[ft]),Re.createElement("div",{ref:De})};function ye(ft){const De=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],_e=new RegExp(`\\b(${De.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ot=/]*>/gi;return ft.replace(_e,"").replace(Ot,"").trim()}var Ce={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Qe=(ft,De,_e)=>De in ft?Ee(ft,De,{enumerable:!0,configurable:!0,writable:!0,value:_e}):ft[De]=_e,Je=(ft,De)=>{for(var _e in De||(De={}))Ke.call(De,_e)&&Qe(ft,_e,De[_e]);if(Me)for(var _e of Me(De))je.call(De,_e)&&Qe(ft,_e,De[_e]);return ft};const Xe="@\u2581\u2581@",ut="@\u2581@",ot=/]*>/g;function ht(ft){let De=document.createElement("div");return De.innerHTML=ft,De.childNodes.length===0?"":De.childNodes[0].nodeValue}const Ct=(ft,De)=>{ft=ft||"";const _e=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ot=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,it=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,at=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return De?ft.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(_e,(Bt,We,Te,ct,Zt,zt,tt)=>{const Pt=We||ct||zt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+_t+"&t="+(0,Ue.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ft=ft.replace(at,(Bt,We,Te,ct,Zt,zt,tt)=>{const Pt=We||ct||zt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/attachments/download/"+Pt+_t+"&t="+(0,Ue.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(_e,(Bt,We,Te,ct,Zt,zt,tt)=>{const Pt=We||ct||zt,_t=Te||Zt||tt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+_t+"&t="+(0,Ue.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Ot,(Bt,We,Te,ct,Zt)=>{const zt=We||ct,tt=Te||Zt||"";return'"'+Fe.Z.API_SERVER+"/api/attachments/"+zt+tt+zt+tt+"&t="+(0,Ue.Jn)(zt,Date.now())}).replace(it,(Bt,We,Te,ct,Zt)=>{const zt=We||ct,tt=Te||Zt||"";return"("+Fe.Z.API_SERVER+"/files/uploads/"+zt+tt+zt+tt+"&t="+(0,Ue.Jn)(zt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),ft)};var He=({value:ft="",edit:De=!1,className:_e,showTextOnly:Ot,showLines:it,style:at={},stylesPrev:Bt={},highlightKeywords:We,showProgramFill:Te,isProgramFill:ct,disabledFill:Zt=!1,programFillValue:zt,openEditor:tt=()=>{},onFillChange:Pt=Tt=>{},onFillBlur:_t=()=>{},onFillFocus:fn=()=>{}})=>{let Tt=ye(String(ft||""));const vn=(0,x.useRef)(),kt=(0,x.useRef)(),[Sn,on]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),se=(0,x.useRef)("a"+(0,Ne.Z)()),le={},Be=en=>//i.test(en||""),Ve=(en,zn,In)=>{const Qt=document.createElement(en===ut?"input":"textarea");Qt.style.width="100%",Qt.style.height=en===ut?"40px":"151px",Qt.rows=5,Qt.spellcheck=!1,Qt.name="edu-program-fill",Qt.placeholder="\u8BF7\u8F93\u5165",Qt.dataset.id=zn;const sn=Object.keys(le).length;return le[sn]=Qt,`${Qt.outerHTML}`};function st(en){return en=en.replace(/!\[.*?\]\(.*?\)/g,""),en=en.replace(/\[.*?\]\(.*?\)/g,""),en=en.replace(new RegExp("","gs"),""),en=en.replace(//g,""),en=en.replace(//g,""),en=en.replace(new RegExp(".*?<\\/video>","gs"),""),en=en.replace(new RegExp(".*?<\\/audio>","gs"),""),en=en.replace(new RegExp(".*?<\\/style>","gs"),""),en=en.replace(new RegExp(".*?<\\/script>","gs"),""),en}const gt=en=>!Ot&&Be(Tt)?en:en.replace(/([\s\S]+?)<\/style>/gim,function(zn,In){let Qt=In.replace(/(\n|\r)/g,"").split("}"),sn=[];return Qt.map(Nn=>{Nn!=""&&sn.push(`.${se.current} ${Nn}`)}),``}),mt=(0,x.useMemo)(()=>{(0,Ie.Iy)();try{const Qt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,sn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Nn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Vn=/\(\/attachments\/download\//g;Tt=Tt.replace(Vn,"("+Fe.Z.API_SERVER+"/attachments/download/").replace(Qt,"("+Fe.Z.API_SERVER+"/api/attachments/").replace(sn,'"'+Fe.Z.API_SERVER+"/api/attachments/").replace(Nn,'"'+Fe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),vn.current.style.display="none"}catch(Qt){}if(Te){let Qt=-1;return Tt=Tt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(sn,Nn,Vn){var Lt;return++Qt,Ve(sn,Qt,(Lt=zt==null?void 0:zt[Qt])==null?void 0:Lt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${gt(Tt||"")}
`}let en=gt(Tt);en=(0,Ie.ZP)(en);const zn=(0,Ie.ez)();Tt.match(/\[TOC\]/)&&(en=en.replace("

[TOC]

",(0,Ie.Qv)()),(0,Ie.Iy)()),en=en.replace(/(__special_katext_id_\d+__)/g,(Qt,sn)=>{const{type:Nn,expression:Vn}=zn[sn];return(0,he.renderToString)(ht(Vn)||"",{displayMode:Nn==="block",throwOnError:!1,output:"html"})}),en=en.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Ie.AL)();const In=document.createElement("div");if(In.innerHTML=en,Ot)return In.innerText;if(We){const Qt=We.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return xt(In,Qt),In.innerHTML}return setTimeout(()=>Vt(),500),In.innerHTML},[Tt,We]);(0,x.useEffect)(()=>{lt.current&<.current.querySelectorAll(["input","textarea"]).forEach(zn=>{zn.oninput=St,zn.onblur=Dt,zn.onfocus=jt})},[ie]),(0,x.useEffect)(()=>{var en,zn,In,Qt,sn;if(zt!=null&&zt.length)try{const Nn=lt.current.querySelectorAll(".edu-program-fill-score"),Vn=lt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Lt,Gt]of Vn.entries())Gt.value=((en=zt==null?void 0:zt[Lt])==null?void 0:en.value)||"",((zn=zt==null?void 0:zt[Lt])==null?void 0:zn.type)==="warning"?Gt.className="program-fill-warning":((In=zt==null?void 0:zt[Lt])==null?void 0:In.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[Lt,Gt]of Nn.entries())Gt.innerHTML=(Qt=zt==null?void 0:zt[Lt])!=null&&Qt.score?`${(sn=zt==null?void 0:zt[Lt])==null?void 0:sn.score}\u5206`:"";ee(zt)}catch(Nn){console.log(Nn,"error")}},[zt]);const St=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Pt(ie,en.target.dataset.id)},Dt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),_t(ie,en.target.dataset.id)},jt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),fn(ie,en.target.dataset.id)};function xt(en,zn){return en.childNodes.forEach(In=>{var Qt;if(In.childNodes.length>0)xt(In,zn);else if(In.nodeName!=="IMG")if(In.innerHTML)In.innerHTML=(Qt=In.innerHTML)==null?void 0:Qt.replace(new RegExp(zn,"gi"),'$&');else{const sn=document.createElement("span");sn.innerHTML=In.textContent.replace(new RegExp(zn,"gi"),'$&'),In.replaceWith(sn)}})}const lt=(0,x.useRef)();Ie.jb.WebkitLineClamp=it,it&&(at=Je(Je({},at),Ie.jb));function Xt(en){let zn=en.target;if(zn.tagName.toUpperCase()==="A"){let In=zn.getAttribute("href");if(In.indexOf("office")>-1)en.preventDefault(),on(In),ge("office");else if(In.indexOf("application/pdf")>-1)en.preventDefault(),on(In),ge("pdf");else if(In.indexOf("text/html")>-1)en.preventDefault(),on(In),ge("html");else if(In.startsWith("#")){en.preventDefault();let Qt=document.getElementById(In.replace("#",""));Qt&&Qt.scrollIntoView(!0)}}}const Vt=()=>{var en;const zn=(en=lt.current)==null?void 0:en.querySelectorAll("video");zn==null||zn.forEach(In=>{if(In.oncontextmenu=()=>!1,In.src.indexOf(".m3u8")>-1&&!In.canPlayType("application/vnd.apple.mpegurl")){if(ze.ZP.isSupported()){var Qt=new ze.ZP;Qt.loadSource(In.src),Qt.attachMedia(In)}}})};(0,x.useEffect)(()=>{if(lt.current&&mt&&mt.match(ot)&&window.PR.prettyPrint(),lt.current)return lt.current.addEventListener("click",Xt),()=>{var en;(en=lt.current)==null||en.removeEventListener("click",Xt),(0,Ie.AL)(),(0,Ie.Iy)()}},[mt,lt.current,Xt]);const wn=en=>{en.target.nodeName==="IMG"&&en.target.className.indexOf("draw-flowchart")>-1?(vn.current.style.zIndex=1,vn.current.style.display="flex",vn.current.style.width=en.target.clientWidth+"px",vn.current.style.height=en.target.clientHeight+"px",vn.current.style.top=en.target.offsetTop+"px",vn.current.style.left=en.target.offsetLeft+"px",en.target.id&&(kt.current=en.target.id)):vn.current.style.display="none"},an=()=>{vn.current.style.display="none"};return(0,x.useEffect)(()=>{var en;const zn=In=>{In.preventDefault(),In.clipboardData.setData("text",window.getSelection().toString())};return(en=lt.current)==null||en.addEventListener("copy",zn),()=>{var In;(In=lt.current)==null||In.removeEventListener("copy",zn)}},[lt.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:an},Ot&&x.createElement("div",{ref:lt,className:`${Ce.mdBody} `},mt),!Ot&&!Be(mt)&&x.createElement("div",{ref:lt,style:Je({},at),onMouseOver:wn,className:`${_e||""} ${Zt?"disabled-fill":""} markdown-body ${Ce.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:mt}}),!Ot&&Be(mt)&&x.createElement(Oe,{html:mt}),x.createElement("div",{ref:vn,className:`${Ce.button} ${De?"":Ce.previewFlowChart}`},x.createElement(xe.Z,null,x.createElement(oe.ZP,{onClick:()=>{De?tt(kt.current):(on(kt.current),ge("flowChart"))}},De?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ve.Z,{close:!0,data:Sn,type:Sn!=null&&Sn.length?de:"",style:Je({},Bt),onClose:()=>on("")}))}},27582:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return ft}});var x=ae(59301),dt=ae(85500),Ie=ae(62957),qe=ae(28284),ze=ae(6767),Fe=ae(29787),Ue=ae(18287),he=ae(77019),xe=ae(5269),oe=ae(25399),Ne=ae(37568),ve={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Re=ae(65290),Se=ae(62790),Oe=ae(44454),ye=ae(79333),Ce=Object.defineProperty,Ee=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Je=(De,_e,Ot)=>_e in De?Ce(De,_e,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):De[_e]=Ot,Xe=(De,_e)=>{for(var Ot in _e||(_e={}))je.call(_e,Ot)&&Je(De,Ot,_e[Ot]);if(Ke)for(var Ot of Ke(_e))Qe.call(_e,Ot)&&Je(De,Ot,_e[Ot]);return De},ut=(De,_e)=>Ee(De,Me(_e)),ot=(De,_e)=>{var Ot={};for(var it in De)je.call(De,it)&&_e.indexOf(it)<0&&(Ot[it]=De[it]);if(De!=null&&Ke)for(var it of Ke(De))_e.indexOf(it)<0&&Qe.call(De,it)&&(Ot[it]=De[it]);return Ot},ht=(De,_e,Ot)=>new Promise((it,at)=>{var Bt=ct=>{try{Te(Ot.next(ct))}catch(Zt){at(Zt)}},We=ct=>{try{Te(Ot.throw(ct))}catch(Zt){at(Zt)}},Te=ct=>ct.done?it(ct.value):Promise.resolve(ct.value).then(Bt,We);Te((Ot=Ot.apply(De,_e)).next())});const Ct=(De=[])=>De==null?void 0:De.map(_e=>ut(Xe({},_e),{title:(_e==null?void 0:_e.value)||"",key:_e==null?void 0:_e.id,isLeaf:!0})),He=De=>{var _e=De,{user:Ot,children:it,isShowComponent:at=!0,ModalProps:Bt={},onDataSelect:We}=_e,Te=ot(_e,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[ct,Zt]=Ie.default.useModal(),[zt]=qe.default.useForm(),[tt,Pt]=(0,x.useState)([]),[_t,fn]=(0,x.useState)(!1),[Tt,vn]=(0,x.useState)(!1),[,kt,Sn,on]=(0,Re.U)(Se.qE,{page:1,limit:9999}),[,,de]=(0,Re.U)(Se.V8,{}),[,,ge]=(0,Re.U)(Se.B$,{}),[,,ie]=(0,Re.U)(Se.DH,{}),[,,ee]=(0,Re.U)(Se.bJ,{}),se=()=>{fn(!1),zt.resetFields(),vn(!1)},le=Ve=>ht(void 0,null,function*(){const{node:st,dragNode:gt,event:mt}=Ve,St=Ve.node.pos.split("-"),Dt=Ve.dropPosition-Number(St[St.length-1]);if(Dt==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Dt==1&&(gt==null?void 0:gt.item_index)==(st==null?void 0:st.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const jt=yield ee({id:gt==null?void 0:gt.key,position:Dt==-1?1:(gt==null?void 0:gt.item_index)>(st==null?void 0:st.item_index)?(st==null?void 0:st.item_index)+1:st==null?void 0:st.item_index});(jt==null?void 0:jt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Sn({},!0))}),Be=Ve=>ht(void 0,null,function*(){let st={};Tt?st=yield ge(Xe({},Ve)):st=yield ie(Xe({},Ve)),(st==null?void 0:st.status)==0&&(ze.ZP.success((st==null?void 0:st.message)||(Tt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Sn({},!0),se())});return(0,x.useEffect)(()=>{Bt!=null&&Bt.open&&Sn({},!0)},[Bt==null?void 0:Bt.open]),(0,x.useEffect)(()=>{var Ve;Pt(Ct((Ve=on==null?void 0:on.data)==null?void 0:Ve.list))},[on]),at?x.createElement(x.Fragment,null,Zt,it,x.createElement(Ie.default,Xe({},Xe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Bt)),x.createElement(Fe.Z,{spinning:kt},(tt==null?void 0:tt.length)>0?x.createElement(x.Fragment,null,x.createElement(Ue.default.DirectoryTree,{height:500,className:ve.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:We,treeData:tt,onDrop:le,titleRender:Ve=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ve==null?void 0:Ve.title),x.createElement("div",{className:`${ve.EditDom}`},x.createElement(he.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ve.currentPrimary}`}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ve.currentPrimary}`,onClick:st=>{st.stopPropagation(),zt.setFieldsValue(Xe({},Ve)),fn(!0)}}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ve.currentDelete}`,onClick:st=>{st.stopPropagation(),ct.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ht(void 0,null,function*(){const gt=yield de({id:Ve==null?void 0:Ve.key});(gt==null?void 0:gt.status)==0&&(ze.ZP.success((gt==null?void 0:gt.message)||"\u5220\u9664\u6210\u529F"),Sn({},!0))})})}}))))))}),x.createElement(ye.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{vn(!0),fn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(Oe.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{vn(!0),fn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Ie.default,{title:Tt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:_t,okText:Tt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{zt.submit()}},x.createElement(qe.default,{form:zt,onFinish:Be},Tt&&x.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),x.createElement(qe.default.Item,{hidden:!0,name:"id"}),x.createElement(qe.default.Item,{className:"mt10",name:"value"},x.createElement(Ne.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ft=(0,dt.connect)(({loading:De,user:_e})=>({user:_e,loading:De.effects}))(He)},43008:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return qe}});var x=ae(59301),dt=ae(2063),Ie=ae(75786),qe=()=>{const[ze,Fe]=(0,x.useState)(""),[Ue,he]=(0,x.useState)(0);let[xe,oe]=(0,x.useState)(),[Ne,ve]=(0,x.useState)();const[Re,Se]=(0,x.useState)(!1),Oe=(0,x.useRef)("");(0,x.useEffect)(()=>dt.Z.subscribe("preview-image",ot=>{Fe(ot),console.log(Je.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",ye),()=>{document.removeEventListener("keydown",ye)}),[]),(0,x.useEffect)(()=>{Oe.current=ze},[ze]);function ye(ut){console.log("e====",ut),ut.keyCode==27&&Oe.current&&Ce()}function Ce(){document.body.style.overflow="auto",oe(void 0),ve(void 0),he(0),Fe("")}function Ee(){he(Ue+90)}function Me(){xe=Je.current.width*1.1,Ne=Je.current.height*1.1,ve(Ne),oe(xe)}function Ke(){xe=Je.current.width/1.1,Ne=Je.current.height/1.1,ve(Ne),oe(xe)}const je=(0,x.useRef)(),Qe=(0,x.useRef)(),Je=(0,x.useRef)(),Xe=ut=>{(ut.nativeEvent.target===je.current||ut.nativeEvent.target===Qe.current)&&Ce()};return x.createElement(x.Fragment,null,ze?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:Qe},x.createElement(Ie.Z,{className:"image-preview",src:ze,style:{display:"none"},preview:{visible:!0,src:ze,onVisibleChange:ut=>{Fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},31163:function(Yn,Ut,ae){"use strict";ae.d(Ut,{h:function(){return je}});var x=ae(59301),dt=ae(82326),Ie=ae(28284),qe=ae(7939),ze=ae(89780),Fe=ae.n(ze),Ue=ae(6169),he=ae(27424),xe=Object.defineProperty,oe=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Oe=(Qe,Je,Xe)=>Je in Qe?xe(Qe,Je,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Qe[Je]=Xe,ye=(Qe,Je)=>{for(var Xe in Je||(Je={}))Re.call(Je,Xe)&&Oe(Qe,Xe,Je[Xe]);if(ve)for(var Xe of ve(Je))Se.call(Je,Xe)&&Oe(Qe,Xe,Je[Xe]);return Qe},Ce=(Qe,Je)=>oe(Qe,Ne(Je));const Ee=dt.default.Option,Me={labelCol:{span:4},wrapperCol:{span:20}},Ke={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ut.Z=({callback:Qe,onCancel:Je})=>{const[Xe,ut]=(0,x.useState)("python");function ot(Ct){ut(Ke[Ct][1])}function ht(Ct){Qe(Ct)}return x.createElement(Ie.default,Ce(ye({},Me),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),x.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(dt.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:ot},Object.keys(Ke).map(Ct=>x.createElement(Ee,{key:Ct,value:Ct},Ke[Ct][0])))),x.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(je,{mode:Xe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(qe.ZP,{type:"ghost",onClick:Je},"\u53D6\u6D88")))};function je({value:Qe,onChange:Je,mode:Xe,options:ut={}}){const ot=(0,x.useRef)(),[ht,Ct]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ht){let He=function(ft){const De=ft.getValue();Je&&Je(De)};return ht.on("change",He),()=>{ht.off("change",He)}}},[ht,Je]),(0,x.useEffect)(()=>{ht&&ht.setOption("mode",Xe)},[ht,Xe]),(0,x.useEffect)(()=>{ht&&(Qe!==ht.getValue()||Qe==="")&&setTimeout(()=>{ht.setValue(Qe||"")},300)},[ht,Qe]),(0,x.useEffect)(()=>{if(ot.current&&!ht){const He=Fe().fromTextArea(ot.current,ye({mode:Xe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ut));Ct(He)}},[ot.current,ht]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:ot}))}},3034:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return ir}});var x=ae(59301),dt=ae(85500),Ie=ae(89780),qe=ae.n(Ie),ze=ae(76374),Fe=ae(6169),Ue=ae(6313),he=ae(25717),xe=ae(99498),oe=ae(25419),Ne=ae(67549),ve=ae(31525),Re=({value:Zn="",className:Cr,showTextOnly:Er,showLines:Nr,style:pi={}})=>{const di=(0,x.useMemo)(()=>"",[Zn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:di}}))},Se=Object.defineProperty,Oe=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ke=(Zn,Cr,Er)=>Cr in Zn?Se(Zn,Cr,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Zn[Cr]=Er,je=(Zn,Cr)=>{for(var Er in Cr||(Cr={}))Ee.call(Cr,Er)&&Ke(Zn,Er,Cr[Er]);if(Ce)for(var Er of Ce(Cr))Me.call(Cr,Er)&&Ke(Zn,Er,Cr[Er]);return Zn},Qe=(Zn,Cr)=>Oe(Zn,ye(Cr));let Je=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Xe({onActionCallback:Zn,title:Cr,icon:Er,actionName:Nr,className:pi="",children:di}){function fi(){Zn(Nr)}return x.createElement("a",{title:Cr,className:pi,onClick:fi},x.createElement("i",{className:`${Er}`}),di)}var ut=({watch:Zn,showNullButton:Cr,showNullProgramButton:Er,onActionCallback:Nr,fullScreen:pi,insertTemp:di,hidetoolBar:fi,extraUse:Oi})=>{const Ci=[...Je,{title:`${Zn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Zn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!fi&&Ci.map((ro,Yi)=>x.createElement("li",{key:Yi},ro.actionName?x.createElement(Xe,Qe(je({},ro),{onActionCallback:Nr})):x.createElement("span",{className:"v-line"}))),Cr?x.createElement("li",null,x.createElement(Xe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Er?x.createElement(x.Fragment,null,x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,di&&x.createElement("li",null,x.createElement(Xe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${di}`,onActionCallback:Nr},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Oi&&x.createElement("li",null,Oi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Xe,{icon:`${pi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:pi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nr})))},ot=ae(55683),ht=ae(28284),Ct=ae(37568),He=ae(7939),ft=Object.defineProperty,De=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Bt=(Zn,Cr,Er)=>Cr in Zn?ft(Zn,Cr,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Zn[Cr]=Er,We=(Zn,Cr)=>{for(var Er in Cr||(Cr={}))it.call(Cr,Er)&&Bt(Zn,Er,Cr[Er]);if(Ot)for(var Er of Ot(Cr))at.call(Cr,Er)&&Bt(Zn,Er,Cr[Er]);return Zn},Te=(Zn,Cr)=>De(Zn,_e(Cr));const ct={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:Zn,onCancel:Cr})=>{function Er(Nr){Zn(Nr)}return x.createElement(ht.default,Te(We({},ct),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Er,style:{width:500}}),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Ct.default,null)),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Ct.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(He.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(He.ZP,{type:"ghost",onClick:Cr},"\u53D6\u6D88")))},zt=ae(31163),tt=ae(35715),Pt=ae(62957),_t=ae(77019),fn=ae(25263),Tt=ae(59301),vn=({callback:Zn,onCancel:Cr})=>{const Er=document.createElement("canvas"),Nr=Er.getContext("2d");Er.width=1e3,Er.height=800,Nr.fillStyle="#ffffff",Nr.fillRect(0,0,Er.width,Er.height);const pi=Er.toDataURL("image/png");return Tt.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Tt.createElement(_t.Z,{style:{height:"100vh"}},Tt.createElement(fn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:pi,visible:!0,title:String(Date.now())},onOk:di=>{Zn({src:di.url})},onClose:Cr})))},kt=ae(36207),Sn=ae(5269),on=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:Zn,editImgId:Cr,callback:Er},Nr)=>{let pi=(0,x.useRef)(),di=(0,x.useRef)(),fi=(0,x.useRef)(),Oi=(0,x.useRef)(!1);const Ci=(0,x.useRef)(!1);console.log("ref:",Nr);const[ro,Yi]=(0,x.useState)(0),[or,Mr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Yi(1)},[]),(0,x.useImperativeHandle)(Nr,()=>({setHeight:Mr})),ge.createElement("div",{ref:Ci,className:"body-overflow-initial"},ge.createElement(kt.Z,{width:"100vw",height:or,footer:null,closable:!0,placement:"bottom",open:!!ro,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(gi=>{Er({src:`/api/attachments/${gi}`,id:gi})})},title:ge.createElement(_t.Z,{align:"middle"},ge.createElement(Sn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Sn.Z,{onClick:()=>{Mr(or==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Sn.Z,{onClick:()=>{window.saveDrawData(gi=>{if(gi===null){on.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}on.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Er({src:`/api/attachments/${gi}`,id:gi,disabledClose:!0})})}},ge.createElement(He.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Cr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:di})))}),se=ae(9294),le=ae(47889),Be=ae(4875);const Ve=le.ZP.Group,st={margin:"0 8px"};var gt=({callback:Zn,onCancel:Cr})=>{function Er(Nr){Zn(Nr)}return x.createElement(ht.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Er},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:st},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:st},"\u884C\u6570"),x.createElement(ht.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:st},"\u5217\u6570"),x.createElement(ht.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Be.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:st},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ht.default.Item,{name:"align"},x.createElement(Ve,null,x.createElement(le.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(le.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(le.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(le.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(He.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(He.ZP,{type:"ghost",onClick:Cr},"\u53D6\u6D88")))},mt=ae(58755),St=ae(94227),Dt=ae.n(St),xt=(0,x.forwardRef)(({use3d:Zn,width:Cr,height:Er,callback:Nr,showSaveButton:pi},di)=>{const fi=(0,x.useRef)(),Oi=(0,x.useRef)(),[Ci,ro]=(0,x.useState)(!1),Yi=(0,x.useRef)({id:fi,appName:"graphing",width:Cr||1e3,height:Er||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Oi.current=new(Dt())(Yi.current,!0),window.onload=function(){Oi.current.inject("applet_container")}},[]);const or=()=>{var Mr=window.ggbApplet.getPNGBase64(1,!0,72);return Nr&&Nr(Mr),Mr};return(0,x.useEffect)(()=>{Yi.current.appName=Ci?"3D":"graphing",Oi.current.inject("applet_container")},[Ci]),(0,x.useEffect)(()=>{ro(Zn)},[Zn]),(0,x.useImperativeHandle)(di,()=>({getImgData:or})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:fi}),x.createElement(_t.Z,{align:"middle"},x.createElement(Sn.Z,{flex:1},x.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ci,onChange:Mr=>ro(Mr)})),x.createElement(Sn.Z,null,x.createElement(He.ZP,{size:"large",onClick:or,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),lt=ae(61252);const Xt="link",Vt="upload-image",wn="add-flowchart",an="draw-image",en="add-flowchart",zn="code-block",In="add-table",Qt="------------",sn={default:Qt,left:`:${Qt}`,center:`:${Qt}:`,right:`${Qt}:`};var Nn=ae(81363),Vn=ae(72916);function Lt(){}let Gt=0;const nn=1e4,Cn="\u2581",Gn="@\u2581\u2581@",Sr="@\u2581@",ii=` **\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,si=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function sr(Zn){return/^\d+$/.test(Zn)?`${Zn}px`:Zn}const _n=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Hn={[_n+"-B"]:"bold",[_n+"-I"]:"italic"},Jn={[Xt]:"\u6DFB\u52A0\u94FE\u63A5",[zn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Vt]:"\u6DFB\u52A0\u56FE\u7247",[an]:"\u6DFB\u52A0\u753B\u56FE",[wn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[In]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ir=({defaultValue:Zn="",onChange:Cr,width:Er="100%",height:Nr=400,miniToolbar:pi=!1,isFocus:di=!1,watch:fi,insertTemp:Oi,mode:Ci="markdown",id:ro="markdown-editor-id",showResizeBar:Yi=!1,noStorage:or=!1,showNullButton:Mr=!1,showNullProgramButton:gi=!1,hidetoolBar:oi=!1,fullScreen:un=!1,onBlur:bt,onCMBeforeChange:Rt,onFullScreen:fn,className:Wt="",disablePaste:yn=!1,disabled:On=!1,disabledFill:jr=!1,placeholder:$r="",values:Xr="",extraUse:dr,onAddBlank:lr})=>{const[$n,ei]=(0,x.useState)(null),[Ti,xi]=(0,x.useState)(Zn),[nr,fr]=(0,x.useState)(fi),[gn,cn]=(0,x.useState)(un),[qn,hr]=(0,x.useState)(""),[ur,br]=(0,x.useState)(0),[ci,Yr]=(0,x.useState)(Nr),[yi,Pi]=(0,x.useState)(!1),[wi,Gr]=(0,x.useState)(0),[Ji,Qi]=(0,x.useState)(0),Zi=(0,x.useRef)(),ki=(0,x.useRef)(),Mi=(0,x.useRef)(),Fi=(0,x.useRef)(),lo=(0,x.useRef)(),Ki=(0,x.useRef)(),Do=(0,dt.useDispatch)();(0,x.useEffect)(()=>{const Ur=window.scrollY||window.pageYOffset;xi(Xr),$n==null||$n.setValue(Xr),window.scrollTo(0,Ur)},[Xr]),(0,x.useEffect)(()=>{fn==null||fn(gn)},[gn]),(0,x.useEffect)(()=>{if(Zi.current){let Ur=function(Di,Ui){var Uo;if(yn){Ui.preventDefault();return}const xa=Ui.clipboardData;if(xa){const Wr=xa.types.toString(),fo=xa.items;if(Wr==="Files"||xa.types.indexOf("Files")>-1){if(Ui.preventDefault(),Ci=="stex")return;try{let Oo=fo[1];((Uo=fo[0])==null?void 0:Uo.kind)==="file"&&(Oo=fo[0]);const ta=Oo.getAsFile(),_o=ta.name.split(".").pop();(0,tt.I)(ta,Jo=>{var $o,Sa,Ja;Jo.id?(($o=ta==null?void 0:ta.type)==null?void 0:$o.indexOf("image"))>-1?ti.replaceSelection(``):((Sa=ta==null?void 0:ta.type)==null?void 0:Sa.indexOf("video"))>-1?ti.replaceSelection(``):((Ja=ta==null?void 0:ta.type)==null?void 0:Ja.indexOf("pdf"))>-1?ti.replaceSelection(`${ta.name}`):si.includes(_o)?ti.replaceSelection(`${ta.name}`):ti.replaceSelection(`[${ta.name}](/api/attachments/${Jo.id}?type=${Jo.content_type})`):(Jo==null?void 0:Jo.status)===401&&(document.location.href="/user/login")})}catch(Oo){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ti=qe().fromTextArea(Zi.current,{mode:Ci,lineNumbers:!pi,lineWrapping:!0,value:Zn,autoCloseTags:!0,autoCloseBrackets:!0});return ti.on("keyup",function(Di,Ui){Ui.keyCode===8&&(Di.getValue()==""?ti.setOption("placeholder",$r):ti.setOption("placeholder",null))}),ti.on("keydown",function(Di,Ui){if(Ui.keyCode===8){var Uo=qo(Di);Uo&&Ui.preventDefault()}}),di&&ti.focus(),ti.on("paste",Ur),On&&ti.on("beforeChange",function(Di,Ui){(Ui.origin==="paste"||Ui.origin==="+input")&&Ui.cancel()}),ei(ti),()=>{ti.off("paste",Ur)}}},[]);const eo=(0,x.useCallback)(()=>{if(ki.current)try{}catch(Ur){console.log(Ur,"---- to set md editor body height")}},[ci,ki,gn]);(0,x.useEffect)(()=>{function Ur(){let ti=new ze.Z(Di=>{for(let Ui of Di)(Ui.target.offsetHeight>0||Ui.target.offsetWidth>0)&&(eo(),$n.setSize("100%","100%"),$n.refresh())});return ti.observe(Zi.current.parentElement),ti}if($n){const ti=Ur();return()=>{var Di,Ui;(Di=Zi.current)!=null&&Di.parentElement&&ti.unobserve((Ui=Zi.current)==null?void 0:Ui.parentElement)}}},[$n,eo]),(0,x.useEffect)(()=>{if($n){let Ur=[];for(const[ti,Di]of Object.entries(Hn)){let Ui={[ti]:()=>{wo(Di)}};Ur.push(Ui),$n.addKeyMap(Ui)}return()=>{for(let ti of Ur)$n.removeKeyMap(ti)}}},[$n]),(0,x.useEffect)(()=>{un!==gn&&cn(un)},[un]),(0,Nn.Z)(()=>{if(!or&&ur>0){let Ur=new Date().getTime(),ti=window.sessionStorage.getItem(ro);Ur>=ur+nn&&(!ti||ti!==Ti)&&(window.sessionStorage.setItem(ro,Ti),Pi(!0))}},nn),(0,x.useEffect)(()=>{fr(fi)},[$n,fi]),(0,x.useEffect)(()=>{$n&&di&&$n.focus()},[$n,di]),(0,x.useEffect)(()=>{if(nr&&$n){let Ur=function(Di){let Ui=Di.target;if(Fi.current){let Uo=Ui.scrollTop/Ui.scrollHeight;Fi.current.scrollTop=Fi.current.scrollHeight*Uo}};const ti=$n.getScrollerElement();return ti.addEventListener("scroll",Ur),()=>{ti.removeEventListener("scroll",Ur)}}},[$n,nr]),(0,x.useEffect)(()=>{if($n&&Rt){let Ur=function(ti,Di){Rt(ti,Di)};return $n.on("beforeChange",Ur),()=>{$n.off("beforeChange",Ur)}}},[$n,Rt]),(0,x.useEffect)(()=>{if($n&&bt){let Ur=function(){bt($n.getValue())};return $n.on("blur",Ur),()=>{$n.off("blur",Ur)}}},[$n,bt]);function qo(Ur,ti){var Di=Ur.getDoc(),Ui=Di.getCursor(),Uo=Di.getLine(Ui.line),xa=Uo.charAt(Ui.ch-1),Wr=Uo.lastIndexOf("@\u2581@",Ui.ch),fo=Uo.lastIndexOf("@\u2581\u2581@",Ui.ch),Oo=Wr>fo?Wr:fo,ta=Wr>fo?3:4;if(Gn.indexOf(xa)===-1)return null;if(console.log("change1:",ti,Ur,Uo,Ui,Oo,Wr,fo,xa),Oo>=0&&Ui.ch-Oo<5){var _o=Oo+ta;return Di.replaceRange("",{line:Ui.line,ch:Oo},{line:Ui.line,ch:_o}),{line:Ui.line,ch:_o}}return null}(0,x.useEffect)(()=>{if($n){let Ur=function(ti,Di){const Ui=ti.getValue();xi(Ui),br(new Date().getTime()),ti.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Cr&&(gi?Cr(Ui,Jr(Ui)):Cr(Ui))};return $n.on("change",Ur),()=>{$n.off("change",Ur)}}},[$n,Cr]),(0,x.useEffect)(()=>{if($n)if(Zn==null)$n.setValue(""),xi("");else{const Ur=window.scrollY||window.pageYOffset;Zn!==$n.getValue()&&($n.setValue(Zn),xi(Zn),$n.setCursor(On?1:$n.lineCount(),0),window.scrollTo(0,Ur))}},[$n,Zn]);const wo=(0,x.useCallback)(Ur=>{const ti=$n.getCursor(),Di=$n.getSelection();let Ui=Di.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,si=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function sr(Zn){return/^\d+$/.test(Zn)?`${Zn}px`:Zn}const Qn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Hn={[Qn+"-B"]:"bold",[Qn+"-I"]:"italic"},Jn={[Xt]:"\u6DFB\u52A0\u94FE\u63A5",[zn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Vt]:"\u6DFB\u52A0\u56FE\u7247",[an]:"\u6DFB\u52A0\u753B\u56FE",[wn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[In]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ir=({defaultValue:Zn="",onChange:Cr,width:Er="100%",height:Nr=400,miniToolbar:pi=!1,isFocus:di=!1,watch:fi,insertTemp:Oi,mode:Ci="markdown",id:ro="markdown-editor-id",showResizeBar:Yi=!1,noStorage:or=!1,showNullButton:Mr=!1,showNullProgramButton:gi=!1,hidetoolBar:oi=!1,fullScreen:un=!1,onBlur:bt,onCMBeforeChange:Rt,onFullScreen:hn,className:Wt="",disablePaste:yn=!1,disabled:On=!1,disabledFill:jr=!1,placeholder:$r="",values:Xr="",extraUse:dr,onAddBlank:lr})=>{const[$n,ei]=(0,x.useState)(null),[Ti,xi]=(0,x.useState)(Zn),[nr,fr]=(0,x.useState)(fi),[gn,cn]=(0,x.useState)(un),[qn,hr]=(0,x.useState)(""),[ur,br]=(0,x.useState)(0),[ci,Yr]=(0,x.useState)(Nr),[yi,Pi]=(0,x.useState)(!1),[wi,Gr]=(0,x.useState)(0),[Ji,_i]=(0,x.useState)(0),Zi=(0,x.useRef)(),ki=(0,x.useRef)(),Mi=(0,x.useRef)(),Fi=(0,x.useRef)(),lo=(0,x.useRef)(),Ki=(0,x.useRef)(),Do=(0,dt.useDispatch)();(0,x.useEffect)(()=>{const Ur=window.scrollY||window.pageYOffset;xi(Xr),$n==null||$n.setValue(Xr),window.scrollTo(0,Ur)},[Xr]),(0,x.useEffect)(()=>{hn==null||hn(gn)},[gn]),(0,x.useEffect)(()=>{if(Zi.current){let Ur=function(Di,Ui){var Uo;if(yn){Ui.preventDefault();return}const xa=Ui.clipboardData;if(xa){const Wr=xa.types.toString(),fo=xa.items;if(Wr==="Files"||xa.types.indexOf("Files")>-1){if(Ui.preventDefault(),Ci=="stex")return;try{let Oo=fo[1];((Uo=fo[0])==null?void 0:Uo.kind)==="file"&&(Oo=fo[0]);const ta=Oo.getAsFile(),Qo=ta.name.split(".").pop();(0,tt.I)(ta,Jo=>{var $o,Sa,Ja;Jo.id?(($o=ta==null?void 0:ta.type)==null?void 0:$o.indexOf("image"))>-1?ti.replaceSelection(``):((Sa=ta==null?void 0:ta.type)==null?void 0:Sa.indexOf("video"))>-1?ti.replaceSelection(``):((Ja=ta==null?void 0:ta.type)==null?void 0:Ja.indexOf("pdf"))>-1?ti.replaceSelection(`${ta.name}`):si.includes(Qo)?ti.replaceSelection(`${ta.name}`):ti.replaceSelection(`[${ta.name}](/api/attachments/${Jo.id}?type=${Jo.content_type})`):(Jo==null?void 0:Jo.status)===401&&(document.location.href="/user/login")})}catch(Oo){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ti=qe().fromTextArea(Zi.current,{mode:Ci,lineNumbers:!pi,lineWrapping:!0,value:Zn,autoCloseTags:!0,autoCloseBrackets:!0});return ti.on("keyup",function(Di,Ui){Ui.keyCode===8&&(Di.getValue()==""?ti.setOption("placeholder",$r):ti.setOption("placeholder",null))}),ti.on("keydown",function(Di,Ui){if(Ui.keyCode===8){var Uo=qo(Di);Uo&&Ui.preventDefault()}}),di&&ti.focus(),ti.on("paste",Ur),On&&ti.on("beforeChange",function(Di,Ui){(Ui.origin==="paste"||Ui.origin==="+input")&&Ui.cancel()}),ei(ti),()=>{ti.off("paste",Ur)}}},[]);const eo=(0,x.useCallback)(()=>{if(ki.current)try{}catch(Ur){console.log(Ur,"---- to set md editor body height")}},[ci,ki,gn]);(0,x.useEffect)(()=>{function Ur(){let ti=new ze.Z(Di=>{for(let Ui of Di)(Ui.target.offsetHeight>0||Ui.target.offsetWidth>0)&&(eo(),$n.setSize("100%","100%"),$n.refresh())});return ti.observe(Zi.current.parentElement),ti}if($n){const ti=Ur();return()=>{var Di,Ui;(Di=Zi.current)!=null&&Di.parentElement&&ti.unobserve((Ui=Zi.current)==null?void 0:Ui.parentElement)}}},[$n,eo]),(0,x.useEffect)(()=>{if($n){let Ur=[];for(const[ti,Di]of Object.entries(Hn)){let Ui={[ti]:()=>{wo(Di)}};Ur.push(Ui),$n.addKeyMap(Ui)}return()=>{for(let ti of Ur)$n.removeKeyMap(ti)}}},[$n]),(0,x.useEffect)(()=>{un!==gn&&cn(un)},[un]),(0,Nn.Z)(()=>{if(!or&&ur>0){let Ur=new Date().getTime(),ti=window.sessionStorage.getItem(ro);Ur>=ur+nn&&(!ti||ti!==Ti)&&(window.sessionStorage.setItem(ro,Ti),Pi(!0))}},nn),(0,x.useEffect)(()=>{fr(fi)},[$n,fi]),(0,x.useEffect)(()=>{$n&&di&&$n.focus()},[$n,di]),(0,x.useEffect)(()=>{if(nr&&$n){let Ur=function(Di){let Ui=Di.target;if(Fi.current){let Uo=Ui.scrollTop/Ui.scrollHeight;Fi.current.scrollTop=Fi.current.scrollHeight*Uo}};const ti=$n.getScrollerElement();return ti.addEventListener("scroll",Ur),()=>{ti.removeEventListener("scroll",Ur)}}},[$n,nr]),(0,x.useEffect)(()=>{if($n&&Rt){let Ur=function(ti,Di){Rt(ti,Di)};return $n.on("beforeChange",Ur),()=>{$n.off("beforeChange",Ur)}}},[$n,Rt]),(0,x.useEffect)(()=>{if($n&&bt){let Ur=function(){bt($n.getValue())};return $n.on("blur",Ur),()=>{$n.off("blur",Ur)}}},[$n,bt]);function qo(Ur,ti){var Di=Ur.getDoc(),Ui=Di.getCursor(),Uo=Di.getLine(Ui.line),xa=Uo.charAt(Ui.ch-1),Wr=Uo.lastIndexOf("@\u2581@",Ui.ch),fo=Uo.lastIndexOf("@\u2581\u2581@",Ui.ch),Oo=Wr>fo?Wr:fo,ta=Wr>fo?3:4;if(Gn.indexOf(xa)===-1)return null;if(console.log("change1:",ti,Ur,Uo,Ui,Oo,Wr,fo,xa),Oo>=0&&Ui.ch-Oo<5){var Qo=Oo+ta;return Di.replaceRange("",{line:Ui.line,ch:Oo},{line:Ui.line,ch:Qo}),{line:Ui.line,ch:Qo}}return null}(0,x.useEffect)(()=>{if($n){let Ur=function(ti,Di){const Ui=ti.getValue();xi(Ui),br(new Date().getTime()),ti.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Cr&&(gi?Cr(Ui,Jr(Ui)):Cr(Ui))};return $n.on("change",Ur),()=>{$n.off("change",Ur)}}},[$n,Cr]),(0,x.useEffect)(()=>{if($n)if(Zn==null)$n.setValue(""),xi("");else{const Ur=window.scrollY||window.pageYOffset;Zn!==$n.getValue()&&($n.setValue(Zn),xi(Zn),$n.setCursor(On?1:$n.lineCount(),0),window.scrollTo(0,Ur))}},[$n,Zn]);const wo=(0,x.useCallback)(Ur=>{const ti=$n.getCursor(),Di=$n.getSelection();let Ui=Di.split(` `);switch(Ur){case"bold":return $n.replaceSelection("**"+Di+"**"),Di===""&&$n.setCursor(ti.line,ti.ch+2),$n.focus();case"italic":return $n.replaceSelection("*"+Di+"*"),Di===""&&$n.setCursor(ti.line,ti.ch+1),$n.focus();case"code":return $n.replaceSelection("`"+Di+"`"),Di===""&&$n.setCursor(ti.line,ti.ch+1),$n.focus();case"inline-latex":return(0,Vn.Ye)(Do)?void 0:(hr("inline-latex"),$n.focus());case"latex":return $n.replaceSelection("```latex\n"+Di+"\n```"),$n.setCursor(ti.line+1,Di.length+1),$n.focus();case"line-break":return $n.replaceSelection(`
`),$n.focus();case"list-ul":return Di===""?$n.replaceSelection("- "+Di):$n.replaceSelection(Ui.map(Uo=>Uo===""?"":`- ${Uo}`).join(` `)),$n.focus();case"list-ol":return Di===""?$n.replaceSelection("1. "+Di):$n.replaceSelection(Ui.map((Uo,xa)=>Uo===""?"":`${xa+1}. ${Uo}`).join(` -`)),$n.focus();case"add-null-ch":lr==null||lr();return;case"add-signal":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(Sr),$n.focus();case"add-multiple":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(Gn),$n.focus();case"inster-template-1":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(ii),$n.focus();case"eraser":return $n.setValue(""),$n.focus();case"trigger-watch":return fr(!nr),$n.focus();case"trigger-full-screen":return cn(!gn),$n.focus();case Xt:hr(Xt);return;case zn:hr(zn);return;case Vt:hr(Vt);return;case an:hr(an);return;case"maths-latex":if((0,Vn.Ye)(Do))return;hr("maths-latex");return;case wn:lo.current="",sessionStorage.removeItem("file_id"),hr(wn);return;case In:hr(In);return;default:throw new Error}},[$n,nr,gn]),no=(0,x.useCallback)((Ur,ti)=>{var Di,Ui,Uo,xa,Wr,fo;Ur!=null&&Ur.disabledClose||hr("");const{src:Oo,alt:ta,id:_o}=Ur||{};switch(qn){case Xt:const{title:hs,link:ba}=Ur;return $n.replaceSelection(`[${hs}](${ba})`),$n.focus();case zn:const{language:Ua,content:Bo}=Ur;return $n.replaceSelection(["```"+Ua,Bo,"```"].join(` -`)),$n.focus();case"maths-latex":for(var Jo=atob(Ur),$o=new Uint8Array(Jo.length),Sa=0;Sa{au.id?$n.replaceSelection(`![,](/api/attachments/${au.id}?type=${au.content_type})`):(au==null?void 0:au.status)===401&&(document.location.href="/user/login")}),$n.focus();case"inline-latex":return(0,Vn.Ye)(Do)?void 0:($n.replaceSelection("`$$"+Ur+"$$`"),$n.focus());case en:return _o?($n.getValue().indexOf(Oo)===-1?$n.replaceSelection(`
${ta||
`):document.getElementById(_o).src=se.Z.API_SERVER+Oo+"?t="+Date.now(),$n.focus()):void 0;case Vt:case an:const bo=ti,Ra=(Uo=(Ui=(Di=bo==null?void 0:bo.name)==null?void 0:Di.split("."))==null?void 0:Ui.pop)==null?void 0:Uo.call(Ui);return((xa=bo==null?void 0:bo.type)==null?void 0:xa.indexOf("image"))>-1||!(bo!=null&&bo.type)?bo!=null&&bo.align||bo!=null&&bo.width?$n.replaceSelection(`

${ta||

`):$n.replaceSelection(`${ta||`):((Wr=bo==null?void 0:bo.type)==null?void 0:Wr.indexOf("video"))>-1?$n.replaceSelection(``):((fo=bo==null?void 0:bo.type)==null?void 0:fo.indexOf("pdf"))>-1?$n.replaceSelection(`${bo.name}`):si.includes(Ra)?$n.replaceSelection(`${bo.name}`):$n.replaceSelection(`[${bo.name}](${Oo})`),$n.focus();case In:const{row:ns,col:js,align:tl}=Ur;let nl=` +`)),$n.focus();case"add-null-ch":lr==null||lr();return;case"add-signal":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(Sr),$n.focus();case"add-multiple":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(Gn),$n.focus();case"inster-template-1":return Di===""&&$n.setCursor(ti.line,ti.ch),$n.replaceSelection(ii),$n.focus();case"eraser":return $n.setValue(""),$n.focus();case"trigger-watch":return fr(!nr),$n.focus();case"trigger-full-screen":return cn(!gn),$n.focus();case Xt:hr(Xt);return;case zn:hr(zn);return;case Vt:hr(Vt);return;case an:hr(an);return;case"maths-latex":if((0,Vn.Ye)(Do))return;hr("maths-latex");return;case wn:lo.current="",sessionStorage.removeItem("file_id"),hr(wn);return;case In:hr(In);return;default:throw new Error}},[$n,nr,gn]),no=(0,x.useCallback)((Ur,ti)=>{var Di,Ui,Uo,xa,Wr,fo;Ur!=null&&Ur.disabledClose||hr("");const{src:Oo,alt:ta,id:Qo}=Ur||{};switch(qn){case Xt:const{title:hs,link:ba}=Ur;return $n.replaceSelection(`[${hs}](${ba})`),$n.focus();case zn:const{language:Ua,content:Bo}=Ur;return $n.replaceSelection(["```"+Ua,Bo,"```"].join(` +`)),$n.focus();case"maths-latex":for(var Jo=atob(Ur),$o=new Uint8Array(Jo.length),Sa=0;Sa{au.id?$n.replaceSelection(`![,](/api/attachments/${au.id}?type=${au.content_type})`):(au==null?void 0:au.status)===401&&(document.location.href="/user/login")}),$n.focus();case"inline-latex":return(0,Vn.Ye)(Do)?void 0:($n.replaceSelection("`$$"+Ur+"$$`"),$n.focus());case en:return Qo?($n.getValue().indexOf(Oo)===-1?$n.replaceSelection(`
${ta||
`):document.getElementById(Qo).src=se.Z.API_SERVER+Oo+"?t="+Date.now(),$n.focus()):void 0;case Vt:case an:const bo=ti,Ra=(Uo=(Ui=(Di=bo==null?void 0:bo.name)==null?void 0:Di.split("."))==null?void 0:Ui.pop)==null?void 0:Uo.call(Ui);return((xa=bo==null?void 0:bo.type)==null?void 0:xa.indexOf("image"))>-1||!(bo!=null&&bo.type)?bo!=null&&bo.align||bo!=null&&bo.width?$n.replaceSelection(`

${ta||

`):$n.replaceSelection(`${ta||`):((Wr=bo==null?void 0:bo.type)==null?void 0:Wr.indexOf("video"))>-1?$n.replaceSelection(``):((fo=bo==null?void 0:bo.type)==null?void 0:fo.indexOf("pdf"))>-1?$n.replaceSelection(`${bo.name}`):si.includes(Ra)?$n.replaceSelection(`${bo.name}`):$n.replaceSelection(`[${bo.name}](${Oo})`),$n.focus();case In:const{row:ns,col:js,align:tl}=Ur;let nl=` `;for(let au=0;au{switch(qn){case Xt:return x.createElement(Zt,{callback:no,onCancel:Yo});case zn:return x.createElement(jt.Z,{callback:no,onCancel:Yo});case Vt:return x.createElement(tt.Z,{callback:no,onCancel:Yo});case wn:return x.createElement(ee,{editImgId:lo.current,callback:no,onCancel:Yo});case In:return x.createElement(gt,{callback:no,onCancel:Yo});case"maths-latex":return x.createElement(xt,{showSaveButton:!0,callback:no});case"inline-latex":return x.createElement(lt.Z,{showSaveButton:!0,callback:no});default:return null}},[qn]);function Yo(){hr("")}(0,x.useEffect)(()=>{if(Mi.current){let Ur=function(Wr){Uo=!0,xa=Wr.pageY},ti=function(){Uo=!1},Di=function(Wr){if(Uo){let fo=Wr.pageY-xa;fo<0&&(fo=0),fo>300&&(fo=300);let Oo=Nr+fo+"px";Yr(Oo)}},Ui=Mi.current,Uo=!1,xa=0;return Ui.addEventListener("mousedown",Ur),document.addEventListener("mousemove",Di),document.addEventListener("mouseup",ti),()=>{Ui.removeEventListener("mousedown",Ur),document.removeEventListener("mousemove",Di),document.removeEventListener("mouseup",ti)}}},[$n,Mi]),(0,x.useEffect)(()=>{Yr(Nr)},[Nr]);const Qo=sr(Er),Fo=sr(ci),pn={width:Qo,height:Fo},Rr=(0,x.useMemo)(()=>{if(ur){let Ur=new Date(ur),ti=Ur.getHours(),Di=Ur.getMinutes(),Ui=Ur.getSeconds();return ti=ti<10?"0"+ti:ti,Di=Di<10?"0"+Di:Di,Ui=Ui<10?"0"+Ui:Ui,`${ti}:${Di}:${Ui}`}return 0},[ur]),Jr=Ur=>{const ti=[];if(gi){let Di=-1;Ur=Ur.replace(/(@▁▁@|@▁@)/g,function(Ui,Uo,xa){ti.push({multiLine:Ui!==Sr})})}return ti};function Ai(){window.sessionStorage.removeItem(ro),Pi(!1),br(0)}function Kr(){Pi(!1),br(0),$n.setValue(window.sessionStorage.getItem(ro))}(0,x.useEffect)(()=>{Jn[qn]&&qn!==an&&qn!==wn&&setTimeout(()=>{const Ur=document.getElementsByClassName("markdown-popup-form")[0],ti=window.innerWidth/2-Ur.offsetWidth/2,Di=window.innerHeight/2-Ur.offsetHeight/2;Gr(ti),Qi(Di)},0)},[qn]);const _i=Ur=>{Ur.preventDefault();const ti=Ur.clientX-wi,Di=Ur.clientY-Ji;document.body.onmousemove=Ui=>{let Uo=Ui.clientX-ti,xa=Ui.clientY-Di;const Wr=document.getElementsByClassName("markdown-popup-form")[0],fo=window.innerWidth-Wr.offsetWidth,Oo=window.innerHeight-Wr.offsetHeight;Uo=Math.max(0,Math.min(Uo,fo)),xa=Math.max(0,Math.min(xa,Oo)),oo(Ui.clientX,Ui.clientY,ti,Di)&&(Gr(Uo),Qi(xa))},document.body.onmouseup=function(){document.body.onmousemove=null}},oo=(Ur,ti,Di,Ui)=>{const Uo=document.body.clientHeight,xa=document.body.clientWidth;return Ur<20&&Di>Ur||Ur>xa-20&&Diti||ti>Uo-20&&Ui{var ti;lo.current=Ur,(ti=Ki.current)==null||ti.setHeight("100vh"),setTimeout(()=>{hr("add-flowchart")},150)}})):null))),Yi?x.createElement("a",{ref:Mi,className:"editor-resize"}):null,qn===an&&x.createElement(vn,{callback:no,onCancel:Yo}),qn===wn&&x.createElement(ee,{ref:Ki,editImgId:lo.current,callback:no,onCancel:Yo}),x.createElement(ot.Z,null,Jn[qn]&&qn!==an&&qn!==wn?x.createElement(Tt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:wi,top:Ji},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:_i},Jn[qn]),open:!0,onCancel:Yo,footer:null,destroyOnClose:!0,width:qn===wn?"1200px":null,height:qn===wn?"80vh":null,className:"markdown-popup-form"},No):null))}},35715:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Je},I:function(){return ut}});var x=ae(28284),dt=ae(6767),Ie=ae(37568),qe=ae(44104),ze=ae(4875),Fe=ae(47889),Ue=ae(7939),he=ae(19279),xe=ae(59301),oe=ae(59301),Ne=Object.defineProperty,ve=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ce=(ot,ht,Ct)=>ht in ot?Ne(ot,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):ot[ht]=Ct,Ee=(ot,ht)=>{for(var Ct in ht||(ht={}))Pe.call(ht,Ct)&&Ce(ot,Ct,ht[Ct]);if(Se)for(var Ct of Se(ht))ye.call(ht,Ct)&&Ce(ot,Ct,ht[Ct]);return ot},Me=(ot,ht)=>ve(ot,Re(ht));const{useForm:Ke}=x.default,je={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Je=({callback:ot,onCancel:ht})=>{const[Ct]=Ke();let He=(0,xe.useRef)();function ft(Ot){He.current.width=Ct.getFieldValue("width"),He.current.align=Ct.getFieldValue("align"),ot(Ot,He.current)}function De(Ot,it){if(Ot.status===-1){dt.ZP.error(Ot.message);return}Ct.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:it.type})}function Qe(Ot){let it=Ot.target.files[0];He.current=it,ut(it,De)}return oe.createElement(x.default,Me(Ee({form:Ct},_e),{className:"upload-image-panel",onFinish:ft,style:{width:470,overflow:"hidden"}}),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Ie.default,{style:je})),oe.createElement(Xe,{onFileChange:Qe}))),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Ie.default,{style:{width:264}})),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(qe.Z,null,oe.createElement(x.default.Item,{name:"width",style:{margin:0}},oe.createElement(ze.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(Fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),oe.createElement("aside",null,oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Ue.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function Xe({onFileChange:ot}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ot}))}function ut(ot,ht){if(!ot)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ct=new FormData;Ct.append("editormd-image-file",ot),Ct.append("file_param_name","editormd-image-file"),Ct.append("byxhr","true");var He=new window.XMLHttpRequest;He.withCredentials=!0,He.addEventListener("load",function(ft){ht(JSON.parse(ft.target.responseText),ot)},!1),He.addEventListener("error",function(ft){console.error(ft)},!1),He.open("POST",`${he.KI}/api/attachments.json`),He.send(Ct)}},55683:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ie}});var x=ae(59301),dt=ae(4676);class Ie extends x.Component{constructor(ze){super(ze);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,dt.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},74898:function(Yn,Ut,ae){"use strict";ae.d(Ut,{SV:function(){return vn},ZP:function(){return Pt}});var x=ae(59301),dt=ae(76374);const Ie={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},qe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +`),$n.focus();default:throw new Error}},[$n,qn]),No=(0,x.useMemo)(()=>{switch(qn){case Xt:return x.createElement(Zt,{callback:no,onCancel:Yo});case zn:return x.createElement(zt.Z,{callback:no,onCancel:Yo});case Vt:return x.createElement(tt.Z,{callback:no,onCancel:Yo});case wn:return x.createElement(ee,{editImgId:lo.current,callback:no,onCancel:Yo});case In:return x.createElement(gt,{callback:no,onCancel:Yo});case"maths-latex":return x.createElement(xt,{showSaveButton:!0,callback:no});case"inline-latex":return x.createElement(lt.Z,{showSaveButton:!0,callback:no});default:return null}},[qn]);function Yo(){hr("")}(0,x.useEffect)(()=>{if(Mi.current){let Ur=function(Wr){Uo=!0,xa=Wr.pageY},ti=function(){Uo=!1},Di=function(Wr){if(Uo){let fo=Wr.pageY-xa;fo<0&&(fo=0),fo>300&&(fo=300);let Oo=Nr+fo+"px";Yr(Oo)}},Ui=Mi.current,Uo=!1,xa=0;return Ui.addEventListener("mousedown",Ur),document.addEventListener("mousemove",Di),document.addEventListener("mouseup",ti),()=>{Ui.removeEventListener("mousedown",Ur),document.removeEventListener("mousemove",Di),document.removeEventListener("mouseup",ti)}}},[$n,Mi]),(0,x.useEffect)(()=>{Yr(Nr)},[Nr]);const _o=sr(Er),Fo=sr(ci),pn={width:_o,height:Fo},Rr=(0,x.useMemo)(()=>{if(ur){let Ur=new Date(ur),ti=Ur.getHours(),Di=Ur.getMinutes(),Ui=Ur.getSeconds();return ti=ti<10?"0"+ti:ti,Di=Di<10?"0"+Di:Di,Ui=Ui<10?"0"+Ui:Ui,`${ti}:${Di}:${Ui}`}return 0},[ur]),Jr=Ur=>{const ti=[];if(gi){let Di=-1;Ur=Ur.replace(/(@▁▁@|@▁@)/g,function(Ui,Uo,xa){ti.push({multiLine:Ui!==Sr})})}return ti};function Ai(){window.sessionStorage.removeItem(ro),Pi(!1),br(0)}function Kr(){Pi(!1),br(0),$n.setValue(window.sessionStorage.getItem(ro))}(0,x.useEffect)(()=>{Jn[qn]&&qn!==an&&qn!==wn&&setTimeout(()=>{const Ur=document.getElementsByClassName("markdown-popup-form")[0],ti=window.innerWidth/2-Ur.offsetWidth/2,Di=window.innerHeight/2-Ur.offsetHeight/2;Gr(ti),_i(Di)},0)},[qn]);const Qi=Ur=>{Ur.preventDefault();const ti=Ur.clientX-wi,Di=Ur.clientY-Ji;document.body.onmousemove=Ui=>{let Uo=Ui.clientX-ti,xa=Ui.clientY-Di;const Wr=document.getElementsByClassName("markdown-popup-form")[0],fo=window.innerWidth-Wr.offsetWidth,Oo=window.innerHeight-Wr.offsetHeight;Uo=Math.max(0,Math.min(Uo,fo)),xa=Math.max(0,Math.min(xa,Oo)),oo(Ui.clientX,Ui.clientY,ti,Di)&&(Gr(Uo),_i(xa))},document.body.onmouseup=function(){document.body.onmousemove=null}},oo=(Ur,ti,Di,Ui)=>{const Uo=document.body.clientHeight,xa=document.body.clientWidth;return Ur<20&&Di>Ur||Ur>xa-20&&Diti||ti>Uo-20&&Ui{var ti;lo.current=Ur,(ti=Ki.current)==null||ti.setHeight("100vh"),setTimeout(()=>{hr("add-flowchart")},150)}})):null))),Yi?x.createElement("a",{ref:Mi,className:"editor-resize"}):null,qn===an&&x.createElement(vn,{callback:no,onCancel:Yo}),qn===wn&&x.createElement(ee,{ref:Ki,editImgId:lo.current,callback:no,onCancel:Yo}),x.createElement(ot.Z,null,Jn[qn]&&qn!==an&&qn!==wn?x.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:wi,top:Ji},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Qi},Jn[qn]),open:!0,onCancel:Yo,footer:null,destroyOnClose:!0,width:qn===wn?"1200px":null,height:qn===wn?"80vh":null,className:"markdown-popup-form"},No):null))}},35715:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Je},I:function(){return ut}});var x=ae(28284),dt=ae(6767),Ie=ae(37568),qe=ae(44104),ze=ae(4875),Fe=ae(47889),Ue=ae(7939),he=ae(19279),xe=ae(59301),oe=ae(59301),Ne=Object.defineProperty,ve=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ce=(ot,ht,Ct)=>ht in ot?Ne(ot,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):ot[ht]=Ct,Ee=(ot,ht)=>{for(var Ct in ht||(ht={}))Oe.call(ht,Ct)&&Ce(ot,Ct,ht[Ct]);if(Se)for(var Ct of Se(ht))ye.call(ht,Ct)&&Ce(ot,Ct,ht[Ct]);return ot},Me=(ot,ht)=>ve(ot,Re(ht));const{useForm:Ke}=x.default,je={width:280,marginRight:10},Qe={labelCol:{span:5},wrapperCol:{span:19}};var Je=({callback:ot,onCancel:ht})=>{const[Ct]=Ke();let He=(0,xe.useRef)();function ft(Ot){He.current.width=Ct.getFieldValue("width"),He.current.align=Ct.getFieldValue("align"),ot(Ot,He.current)}function De(Ot,it){if(Ot.status===-1){dt.ZP.error(Ot.message);return}Ct.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:it.type})}function _e(Ot){let it=Ot.target.files[0];He.current=it,ut(it,De)}return oe.createElement(x.default,Me(Ee({form:Ct},Qe),{className:"upload-image-panel",onFinish:ft,style:{width:470,overflow:"hidden"}}),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Ie.default,{style:je})),oe.createElement(Xe,{onFileChange:_e}))),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Ie.default,{style:{width:264}})),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(qe.Z,null,oe.createElement(x.default.Item,{name:"width",style:{margin:0}},oe.createElement(ze.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(Fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),oe.createElement("aside",null,oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Ue.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function Xe({onFileChange:ot}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ot}))}function ut(ot,ht){if(!ot)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ct=new FormData;Ct.append("editormd-image-file",ot),Ct.append("file_param_name","editormd-image-file"),Ct.append("byxhr","true");var He=new window.XMLHttpRequest;He.withCredentials=!0,He.addEventListener("load",function(ft){ht(JSON.parse(ft.target.responseText),ot)},!1),He.addEventListener("error",function(ft){console.error(ft)},!1),He.open("POST",`${he.KI}/api/attachments.json`),He.send(Ct)}},55683:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ie}});var x=ae(59301),dt=ae(4676);class Ie extends x.Component{constructor(ze){super(ze);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,dt.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},74898:function(Yn,Ut,ae){"use strict";ae.d(Ut,{SV:function(){return vn},ZP:function(){return Tt}});var x=ae(59301),dt=ae(76374);const Ie={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},qe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},ze={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -948,41 +948,41 @@ `)},{label:"include ",content:["#include "].join(` `)}]},Fe={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},Ue={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var he=ae(53184),xe=ae.n(he),oe=(kt,Sn,on)=>new Promise((de,ge)=>{var ie=le=>{try{se(on.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(on.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((on=on.apply(kt,Sn)).next())});const Ne={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ve=(kt,Sn,on,de)=>{const ge=Sn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:on.lineNumber,endColumn:on.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:kt.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Re=(kt,Sn,on,de)=>{kt.languages.registerCompletionItemProvider(Sn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),se={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},le=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ve(kt,ge,ie,se),...on.map(Ve=>({label:Ve,kind:kt.languages.CompletionItemKind.Keyword,documentation:Ve,insertText:Ve,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...de.map(Ve=>({label:Ve.label,kind:kt.languages.CompletionItemKind.Snippet,documentation:Ve.content,insertText:le.startsWith("#")?Ve.content.replace(/#/,""):Ve.content,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Se=kt=>{Ne.languages.forEach(Sn=>{kt.languages.registerDocumentFormattingEditProvider(Sn,{provideDocumentFormattingEdits(on){return oe(this,null,function*(){const de=xe()(on.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:on.getFullModelRange(),text:de}]})}})}),Re(kt,"java",qe.keywords,qe.quickKey),Re(kt,"cpp",ze.keywords,ze.quickKey),Re(kt,"c",Ie.keywords,[]),Re(kt,"python",Fe.keywords,Fe.quickKey),Re(kt,"scala",Ue.keywords,Ue.quickKey)};const Pe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ye=Object.defineProperty,Ce=(kt,Sn,on)=>Sn in kt?ye(kt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:on}):kt[Sn]=on,Ee=(kt,Sn,on)=>Ce(kt,typeof Sn!="symbol"?Sn+"":Sn,on);const Me=class Ov{constructor(Sn,on,de){this.placeholder=Sn,this.editor=on,this.monaco=de,on.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ov.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(Me,"ID","editor.widget.placeholderHint");var je=Me,_e=ae(96236),Je=ae(6767),Xe=ae(25399),ut=ae(78267),ot=ae(2063),ht=ae(56102),Ct=Object.defineProperty,He=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,it=(kt,Sn,on)=>Sn in kt?Ct(kt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:on}):kt[Sn]=on,at=(kt,Sn)=>{for(var on in Sn||(Sn={}))Qe.call(Sn,on)&&it(kt,on,Sn[on]);if(De)for(var on of De(Sn))Ot.call(Sn,on)&&it(kt,on,Sn[on]);return kt},Bt=(kt,Sn)=>He(kt,ft(Sn)),We=(kt,Sn)=>{var on={};for(var de in kt)Qe.call(kt,de)&&Sn.indexOf(de)<0&&(on[de]=kt[de]);if(kt!=null&&De)for(var de of De(kt))Sn.indexOf(de)<0&&Ot.call(kt,de)&&(on[de]=kt[de]);return on},Te=(kt,Sn,on)=>new Promise((de,ge)=>{var ie=le=>{try{se(on.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(on.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((on=on.apply(kt,Sn)).next())});function ct(kt){return/^\d+$/.test(kt)?`${kt}px`:kt}function Zt(){}let jt=!1;const tt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Tt(kt=[]){let Sn=kt;if(Array.isArray(kt)){for(let on=0;onTe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(kt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",kt)}});var Pt=kt=>{var Sn=kt,{width:on="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:se={},overrideServices:le={},theme:Be="vs-dark",onEditBlur:Ve,isCopy:st=!1,onSave:gt,autoHeight:mt=!1,forbidCopy:St=!1,forbidCopyTips:Dt,onChange:Ht=Zt,editorDidMount:xt=Zt,onFocus:lt=Zt,onBreakPoint:Xt=Zt,breakPointValue:Vt=[],filename:wn="educoder.txt",errorLine:an,errorContent:en="",highlightLine:zn,openBreakPoint:In=!1,placeholder:Qt="",showMiniMap:sn=!0}=Sn,Nn=We(Sn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Vn=(0,x.useRef)(),Lt=(0,x.useRef)({}),Gt=(0,x.useRef)(),nn=(0,x.useRef)(),Cn=(0,x.useRef)([]),Gn=(0,x.useRef)(!1),Sr=(0,x.useRef)(),ii=(0,x.useRef)(),si=(0,x.useRef)(!1),[sr,Lr]=(0,x.useState)(!1);function _n(){let or;return Vn.current&&(or=new dt.Z(Mr=>{for(let gi of Mr)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&Lt.current.instance.layout()}),or.observe(Vn.current)),or}function Hn(){Je.ZP.warning({content:decodeURIComponent(Dt||Pe),key:"monaco-editor-tip"})}const Jn=()=>{let or=Lt.current.instance;if(ge!=null&&or&&sr){const Mr=or.getModel();Mr&&ge!==Mr.getValue()&&(jt=!0,Mr.setValue(ge),or.layout(),jt=!1)}};(0,x.useEffect)(()=>{const or=ot.Z.subscribe("formatDocument",Mr=>{var gi;let oi=Lt.current.instance;(gi=oi==null?void 0:oi.getAction)==null||gi.call(oi,"editor.action.formatDocument").run()});return window.updateMonacoValue=Mr=>{Ht(Mr)},or},[]),(0,x.useEffect)(()=>{var or;let Mr=Lt.current.instance;nn.current&&clearTimeout(nn.current),nn.current=setTimeout(()=>{Jn()},500),ge&&(ge!=null&&ge.length)&&((or=Mr==null?void 0:Mr.updateOptions)==null||or.call(Mr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,sr,Lt.current]),(0,x.useEffect)(()=>{if(an&&Lt.current&&Lt.current.instance){let Mr=Lt.current.instance;Mr.changeViewZones(function(gi){var oi=document.createElement("div");oi.style.padding="10px 20px",oi.style.width="calc(100% - 20px)",oi.className="my-error-line-wrp",oi.innerHTML=en,gi.addZone({afterLineNumber:an||11,heightInLines:3,domNode:oi})});var or={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Mr.addOverlayWidget(or),Mr.revealPositionInCenter({lineNumber:20,column:1})}},[an,Lt.current,sr]);const ir=(or="",Mr)=>{if(!or||or.trim()==="")return!0;const oi=Lt.current.instance.getModel().getLineTokens(Mr);let un=!1;for(let bt=0;bt<2;bt++)oi.getStandardTokenType(bt)===1&&(un=!0);return un};(0,x.useEffect)(()=>{var or;const Mr=(or=Lt.current)==null?void 0:or.instance;if(Mr&&sr&&St){const gi=Mr.onDidBlurEditorWidget(()=>{si.current=!1}),oi=Mr.onDidFocusEditorText(()=>{si.current=!0});return()=>{gi.dispose(),oi.dispose()}}},[Lt.current,sr,St]),(0,x.useEffect)(()=>{var or;if((or=Lt.current)!=null&&or.instance&&sr&&In){let Mr=Lt.current.instance,gi=Mr.getModel();if(!gi)return;(()=>{var dr;let lr=[],$n=[];const ei=gi.getAllDecorations();for(let xi of ei)xi.options.className==="highlighted-line"&&(lr.push((dr=xi==null?void 0:xi.range)==null?void 0:dr.startLineNumber),$n.push(xi==null?void 0:xi.id));if(zn===lr[0])return;gi.deltaDecorations($n,[]);const Ti=gi.getLineCount();zn&&zn<=Ti&&(Mr.deltaDecorations([],[{range:new _t.Range(zn,1,zn,gi.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Mr.revealLineInCenter(zn))})();const un=(dr=!1)=>{var lr;let $n=[],ei=[];const Ti=gi.getAllDecorations();for(let xi of Ti)xi.options.linesDecorationsClassName==="breakpoints-select"&&($n.push((lr=xi==null?void 0:xi.range)==null?void 0:lr.startLineNumber),ei.push(xi==null?void 0:xi.id));if(dr)return{lines:$n,ids:ei};Xt($n)},bt=dr=>Te(void 0,null,function*(){let lr={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[lr]),un()}),Rt=dr=>Te(void 0,null,function*(){let lr=[];const $n=Mr.getLineDecorations(dr);for(let ei of $n)ei.options.linesDecorationsClassName==="breakpoints-select"&&lr.push(ei.id);yield gi.deltaDecorations(lr,[]),un()}),fn=dr=>{let lr=Mr.getLineDecorations(dr);for(let $n of lr)if($n.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ut.isEqual)(Vt,un(!0).lines)){gi.deltaDecorations(un(!0).ids,[]);const dr=Vt.map(lr=>({range:new _t.Range(lr,1,lr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],dr)}const Wt=Mr.onDidChangeModelContent(dr=>{let lr=Mr.getPosition();if(lr){let $n=lr.lineNumber;clearTimeout(ii.current),ii.current=setTimeout(()=>{ir(gi.getLineContent($n),$n)?Rt($n):fn($n)?(Rt($n),bt($n)):un()},100)}}),yn=Mr.onMouseDown(dr=>{var lr,$n,ei;if(dr.target.detail&&((ei=($n=(lr=dr.target)==null?void 0:lr.element)==null?void 0:$n.className)!=null&&ei.includes("line-numbers"))){let Ti=dr.target.position.lineNumber;if(ir(gi.getLineContent(Ti),Ti))return;fn(Ti)?Rt(Ti):bt(Ti)}}),On=dr=>{let lr={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Cn.current=Mr.deltaDecorations(Cn.current,[lr])},jr=()=>{Cn.current=Mr.deltaDecorations(Cn.current,[])},$r=Mr.onMouseMove(dr=>{var lr,$n,ei;if(jr(),dr.target.detail&&((ei=($n=(lr=dr.target)==null?void 0:lr.element)==null?void 0:$n.className)!=null&&ei.includes("line-numbers"))){let Ti=dr.target.position.lineNumber;if(ir(gi.getLineContent(Ti),Ti))return;On(Ti)}}),Xr=Mr.onMouseLeave(()=>{jr()});return()=>{Wt.dispose(),yn.dispose(),$r.dispose(),Xr.dispose()}}},[Lt.current,sr,Vt,zn,In,ie]),(0,x.useEffect)(()=>{var or;(or=Lt.current)!=null&&or.instance&&In&&Lt.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function Zn(){let or=Lt.current.instance;if(or){const Mr=or.getSelection(),gi=Lt.current.pastePos||{},oi=new _t.Range(gi.startLineNumber||Mr.endLineNumber,gi.startColumn||Mr.endColumn,gi.endLineNumber||Mr.endLineNumber,gi.endColumn||Mr.endColumn);setTimeout(()=>{or.executeEdits("",[{range:oi,text:""}])},300)}}function Cr(or){(window.navigator.platform.match("Mac")?or.metaKey:or.ctrlKey)&&or.keyCode==83&&(or.preventDefault(),gt())}const Er=()=>{if(mt&&Lt.current.instance){const or=Lt.current.instance.getContentHeight();ro(or{if(!si.current)return;const{keyCode:Mr,ctrlKey:gi,metaKey:oi,target:un,type:bt}=or;return(bt==="paste"||(Mr===67||Mr===86)&&(oi||gi))&&un.nodeName==="TEXTAREA"&&(Hn(),or.preventDefault()),!1};function di(or,Mr){var gi=window.URL||window.webkitURL||window,oi=new Blob([Mr]),un=document.createElementNS("http://www.w3.org/1999/xhtml","a");un.href=gi.createObjectURL(oi),un.download=or,Nr(un)}(0,x.useEffect)(()=>{Er()},[Er]),(0,x.useEffect)(()=>{Vn.current&&!sr&&Promise.all([ae.e(8909),ae.e(3751)]).then(ae.bind(ae,71448)).then(or=>{try{_t=or,Lt.current.instance=_t.editor.create(Vn.current,{value:ge,language:Tt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:sn||!1}},le);const Mr=Lt.current.instance;let un=[..._e.BH._menuItems].find(Wt=>Wt[0]._debugName=="EditorContext")[1],bt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Rt=(Wt,yn)=>{var On,jr;let $r=Wt._first;do yn.includes((jr=(On=$r.element)==null?void 0:On.command)==null?void 0:jr.id)&&Wt._remove($r);while($r=$r.next)};if(xt(Mr,_t),setTimeout(()=>{Er(),Lt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{di(wn||"educoder.txt",Mr.getValue())}})},500),Lt.current.subscription=Mr.onDidChangeModelContent(Wt=>{Gn.current?clearTimeout(Sr.current):(Er(),Ht(Mr.getValue(),Wt)),Sr.current=setTimeout(()=>{Gn.current=!1},500)}),window.Monaco||Se(_t,Tt(ie)),St&&(Rt(un,bt),Vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",pi),window.removeEventListener("paste",pi),window.addEventListener("keydown",pi),window.addEventListener("paste",pi)),window.Monaco=_t,Ve&&Mr.onDidBlurEditorWidget(()=>{Ve(Mr.getValue())}),lt&&Mr.onDidFocusEditorText(()=>{St&&hn(),lt(Mr.getValue())}),St){hn();try{Mr.onDidPaste(Wt=>{const yn=Mr.getSelection(),On=Lt.current.pastePos||{},jr=new _t.Range(On.startLineNumber||yn.endLineNumber,On.startColumn||yn.endColumn,On.endLineNumber||yn.endLineNumber,On.endColumn||yn.endColumn);Mr.executeEdits("",[{range:Wt.range,text:""}])})}catch(Wt){}}let fn=_n();return Qt&&typeof Qt=="string"&&new je(Qt,Mr,_t),Lr(!0),()=>{const Wt=Lt.current.instance;Wt.dispose();const yn=Wt.getModel();yn&&yn.dispose(),Lt.current.subscription&&Lt.current.subscription.dispose(),fn.unobserve(Vn.current)}}catch(Mr){}})},[]),(0,x.useEffect)(()=>{if(Lt.current.instance&&sr)return document.addEventListener("keydown",Cr,!1),()=>{document.removeEventListener("keydown",Cr)}},[gt,sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;if(or&&sr){let Mr=Tt(ie);_t.editor.setModelLanguage(or.getModel(),Mr)}},[ie,sr]),(0,x.useEffect)(()=>{Lt.current.instance&&sr&&_t.editor.setTheme(Be)},[Be,sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;Gt.current=se,or&&sr&&(or.updateOptions(at({},se)),setTimeout(()=>{or.getModel().updateOptions(at({},se))},200))},[JSON.stringify(se),sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;or&&sr&&or.layout()},[on,de,sr]);const[fi,Oi]=(0,x.useState)(ct(on)),[Ci,ro]=(0,x.useState)(ct(de)),Yi=Bt(at({},ee),{width:fi,height:Ci,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Vn,style:Yi,onFocus:()=>{St&&hn()}},st&&x.createElement(ht.CopyToClipboard,{text:ge,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Xe.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function vn({width:kt="100%",height:Sn="100%",original:on,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[se,le]=(0,x.useState)(null);function Be(mt){let St;return ee.current&&(St=new dt.Z(Dt=>{for(let Ht of Dt)(Ht.target.offsetHeight>0||Ht.target.offsetWidth>0)&&mt.layout()}),St.observe(ee.current)),St}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(mt=>{_t=mt;const St=_t.editor.createDiffEditor(ee.current,Bt(at({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ie),{wordWrap:!0}));le(St);let Dt=Be(St);return()=>{St.dispose();const Ht=St.getModel();Ht&&Ht.dispose(),Dt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{se&&se.setModel({original:_t.editor.createModel(on,ge),modified:_t.editor.createModel(de,ge)})},[on,de,ge,se]);const Ve=ct(kt),st=ct(Sn),gt={width:Ve,height:st};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:gt})}},73913:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ne}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},dt=ae(29787),Ie=ae(25399),qe=ae(89787),ze=ae(92310),Fe=ae.n(ze),Ue=ae(72916),he=ae(44454),xe=ae(59301),Ne=({className:ve,dataSource:Re=[],col:Se=4,right:Pe,bottom:ye=23,precision:Ce=0,wrapWidth:Ee=1200,trackEventItems:Me,loading:Ke,onRemove:je=()=>{},isCurrent:_e=!0,showProgress:Je=!1,showAlias:Xe=!1,category:ut="notDisplay",hiddenClick:ot=()=>{}})=>{const ht=Math.floor((Ee-(Se-1)*Pe)/Se),Ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return xe.createElement(dt.Z,{spinning:Ke},xe.createElement("div",{className:Fe()(x.list,ve)},!!(Re!=null&&Re.length)&&(Re==null?void 0:Re.map((He,ft)=>{var De,Qe,Ot,it,at,Bt,We;const{name:Te,id:ct,identifier:Zt,featured:jt,school_name:tt,image_url:Tt,excellent:_t,is_plan:hn}=He;return xe.createElement("div",{key:ct,className:_e&&Je?x.wrapisCurrent:x.wrap,style:{width:ht,marginRight:(1+ft)%Se===0?0:Pe+Ce,marginBottom:ye}},xe.createElement("a",{className:x.li,onClick:Pt=>{Pt.preventDefault(),Pt.stopPropagation(),Me&&(0,Ue.L9)([Me]),(0,Ue.xg)(`/paths/${Zt}`)}},xe.createElement("div",{className:x.img},xe.createElement("img",{className:x.cover,src:`${Tt}`}),(De=He==null?void 0:He.subject_tags)==null?void 0:De.map((Pt,vn)=>{var kt,Sn;if(vn===0){const de=(kt=Ct.find(ge=>ge.name==Pt))==null?void 0:kt.swclass;return xe.createElement("span",{className:`sprite ${de} ${x.sign}`,style:{left:"-4px"}})}const on=(Sn=Ct.find(de=>de.name==Pt))==null?void 0:Sn.ptclass;return xe.createElement("span",{className:`sprite ${on} ${x.sign}`,style:{left:`${48+52*(vn-1)+2*vn}px`}})}),xe.createElement("div",{className:x.tagsDom},xe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(He==null?void 0:He.excellent)&&xe.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((Qe=He==null?void 0:He.custom_tags)==null?void 0:Qe.length)>0&&(He==null?void 0:He.custom_tags.map((Pt,vn)=>{var kt;return xe.createElement(Ie.Z,{title:Pt==null?void 0:Pt.tag_name,key:vn},xe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((kt=He==null?void 0:He.custom_tags)==null?void 0:kt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},xe.createElement("span",{className:"multi-llipsis1e"},Pt==null?void 0:Pt.tag_name)))})))),ut=="hide"&&(He==null?void 0:He.studying)&&_e&&xe.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Pt=>{Pt.stopPropagation(),je(He)}},xe.createElement("i",{className:"iconfont icon-yichu1 font12"}),xe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(ut)&&_e&&xe.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:Pt=>{Pt.stopPropagation(),ot(He)}},xe.createElement("i",{className:`iconfont ${ut=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),xe.createElement("span",null,ut=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),xe.createElement("div",{className:x.name},xe.createElement(Ie.Z,{title:Xe&&(He!=null&&He.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${He==null?void 0:He.excellent_alias_name}`)):Te},xe.createElement("span",{className:x.e},Xe&&(He==null?void 0:He.excellent_alias_name)||Te))),_e&&Je&&((Ot=He==null?void 0:He.progress)==null?void 0:Ot.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(qe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((it=He==null?void 0:He.progress)==null?void 0:it.my_score)/((at=He==null?void 0:He.progress)==null?void 0:at.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Bt=He==null?void 0:He.progress)==null?void 0:Bt.my_score,"/",(We=He==null?void 0:He.progress)==null?void 0:We.all_score),(!_e||!Je)&&xe.createElement(Ie.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${tt}`},xe.createElement("div",{className:x.unit},xe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),tt)),(!_e||!Je)&&xe.createElement("div",{className:x.tags},xe.createElement("div",null,xe.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,He.stages_count))),xe.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,He.members_count)))))))})),!Re.length&&xe.createElement(he.Z,null)))}},79333:function(Yn,Ut,ae){"use strict";ae.d(Ut,{jL:function(){return qe},w9:function(){return Te},QD:function(){return Vt},cQ:function(){return ft.Z},op:function(){return St},O5:function(){return _n},_b:function(){return Qt},t7:function(){return Ce},Gi:function(){return _t},YG:function(){return tt},qp:function(){return oe},vr:function(){return en},qE:function(){return xt},Je:function(){return Ke},wb:function(){return He},cq:function(){return on},tp:function(){return Re}});var x=ae(59301),dt={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},qe=({dataSource:Hn=[],img:Jn,imgWidth:ir=346,title:Zn,sunTitle:Cr,bannerExtraContent:Er})=>x.createElement("div",{className:dt.banner},x.createElement("div",{className:dt.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Zn),x.createElement("span",null,Cr)),Hn.length>0&&x.createElement("div",{className:dt.btns},Hn.map((Nr,pi)=>x.createElement("div",{key:pi,onClick:Nr.click},Nr.name,Nr.sign?x.createElement("span",{className:"sprite sprite-33"}):null))),Er),Jn&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:ir}))),ze={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Fe=ae(92310),Ue=ae.n(Fe),he=ae(78267),oe=({dataSource:Hn=[],value:Jn,onChange:ir,onTitleChange:Zn,className:Cr,title:Er,titleWidth:Nr=41,style:pi={},fontColor:di="#6A7283",showCount:fi})=>{const[Oi,Ci]=(0,x.useState)(1),[ro,Yi]=(0,x.useState)(!1),or=(0,x.useRef)(null),Mr=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var gi;Hn.length!==0&&(((gi=or==null?void 0:or.current)==null?void 0:gi.clientHeight)>97?Ci(1):Ci(0)),Hn.length===0&&Ci(0),Yi(!1)},[Hn]),x.createElement("div",{className:Ue()(ze.row,Cr,"fadeIn","animated"),style:pi},x.createElement("div",{onClick:(0,he.throttle)(()=>Zn==null?void 0:Zn(),2e3),style:{width:Nr,marginTop:ro?12:4},className:`${ze.title} ${Zn?"current":""}`},Er),x.createElement("div",{className:ro?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},x.createElement("div",{className:ze.bar,ref:Mr,style:Oi>0?{height:Oi===1?97:"auto",overflow:Oi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:ze.tag,ref:or},Hn==null?void 0:Hn.map(gi=>x.createElement("span",{onClick:()=>ir(gi.id),key:gi.id,style:{color:di},className:Jn===gi.id?ze.active:""},x.createElement("span",{title:gi.name,className:ze.name},gi.name),!!fi&&x.createElement("span",{className:ze.num},gi.count))))),!!Oi&&x.createElement(x.Fragment,null,Oi===1?x.createElement("div",{onClick:()=>{var gi;Ci(2),((gi=or==null?void 0:or.current)==null?void 0:gi.clientHeight)>245?Yi(!0):Yi(!1)},className:ze.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Mr.current.scrollTop=0,Ci(1),Yi(!1)},className:ze.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Re=({dataSource:Hn=[],value:Jn,onChange:ir,className:Zn,style:Cr={}})=>x.createElement("div",{style:Cr,className:Ue()(Ne.tabs,Zn)},Hn.map(Er=>x.createElement("span",{onClick:()=>ir(Er.id),className:Jn===Er.id?Ne.active:"",key:Er.id},Er.name))),Se={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Pe=ae(37568),Ce=({dataSource:Hn=[],value:Jn="",onChange:ir,onInputChange:Zn=()=>{},className:Cr,style:Er={},placeholder:Nr,allowClear:pi=!1})=>{var di;const[fi,Oi]=(0,x.useState)(""),[Ci,ro]=(0,x.useState)("");(0,x.useEffect)(()=>{var Mr;let gi=Jn;(Mr=JSON.stringify(Jn))!=null&&Mr.includes("{")&&(Oi(Jn.id),gi=Jn.value||"");try{ro(decodeURIComponent(gi||""))}catch(oi){ro(decodeURIComponent(gi||""))}},[Jn]);const Yi=()=>{ir(encodeURIComponent(Ci),fi||null)},or=Mr=>{Mr!==fi&&(Oi(Mr),ir(encodeURIComponent(Ci),Mr))};return x.createElement("div",{className:Ue()(Se.input,Cr),style:Er},!!Hn.length&&x.createElement("div",{className:Se.dropdown},x.createElement("div",{className:Se.text},(di=Hn.find(Mr=>Mr.id===fi))==null?void 0:di.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:Se.b1}),x.createElement("b",{className:Se.b2})),x.createElement("div",{className:Se.menu},Hn.map((Mr,gi)=>x.createElement("div",{key:gi,onClick:()=>or(Mr.id)},Mr.name)))),x.createElement(Pe.default,{onPressEnter:Yi,value:Ci,onChange:Mr=>{ro(Mr.target.value),Zn(encodeURIComponent(Mr.target.value),fi||null)},placeholder:Nr,variant:"borderless",allowClear:pi,onClear:()=>ir("",fi||null)}),x.createElement("i",{onClick:Yi,className:"iconfont icon-sousuo9 font14 current"}))},Ee={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ke=({value:Hn,onChange:Jn,className:ir,total:Zn,pageSize:Cr,style:Er={}})=>{const Nr=Hn<2,pi=Hn>=Math.ceil(Zn/Cr);return Zn<=Cr?x.createElement(x.Fragment,null):x.createElement("div",{className:Ue()(Ee.quickPager,ir),style:Er},x.createElement("div",{onClick:()=>{Nr||Jn(Hn-1,"prev")},className:Nr?Ee.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{pi||Jn(Hn+1,"next")},className:pi?Ee.disabled:""},"\u4E0B\u4E00\u9875"))},je={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},_e=ae(29787),Je=ae(25399),Xe=ae(63139),ut=ae(9294),ot=ae(72916),ht=ae(44454),He=({className:Hn,dataSource:Jn=[],col:ir=4,right:Zn,bottom:Cr=23,precision:Er=0,wrapWidth:Nr=1200,trackEventItems:pi,loading:di})=>{const fi=Math.floor((Nr-(ir-1)*Zn)/ir);return x.createElement(_e.Z,{spinning:di},x.createElement("div",{className:Ue()(je.list,Hn)},!!Jn.length&&Jn.map((Oi,Ci)=>{const{name:ro,id:Yi,identifier:or,power:Mr,cover_image_id:gi,pic:oi}=Oi;return x.createElement("div",{className:je.wrap,key:Yi,style:{width:fi,marginRight:(1+Ci)%ir===0?0:Zn+Er,marginBottom:Cr}},x.createElement("a",{target:"_blank",href:`/shixuns/${or}/challenges`,className:je.li,onClick:un=>{un.preventDefault(),pi&&(0,ot.L9)([pi]),Mr&&(0,ot.xg)(`/shixuns/${or}/challenges`)}},x.createElement("div",{className:je.img},x.createElement("img",{className:je.cover,src:`${oi}`}),Oi.is_jupyter&&x.createElement("span",{className:`sprite sprite-43 ${je.sign}`}),Oi.is_jupyter_lab&&x.createElement("span",{className:`sprite sprite-42 ${je.sign}`}),Oi.is_unity_3d&&x.createElement("span",{className:`sprite sprite-44 ${je.sign}`})),x.createElement("div",{className:je.name},x.createElement(Je.Z,{title:ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:je.e},ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:je.tags},x.createElement(Je.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,Oi.challenges_count))),!!Oi.myshixuns_count&&x.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,Oi.myshixuns_count))),x.createElement(Je.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,Oi.level))),x.createElement("div",{className:je.rate},x.createElement(Xe.Z,{allowHalf:!0,disabled:!0,defaultValue:Oi.score_info}),x.createElement("span",null,"\xA0",Oi.score_info?`${Oi.score_info}\u5206`:"5\u5206")))),!Mr&&x.createElement("div",{className:je.lockWrap},x.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&x.createElement(ht.Z,null)))},ft=ae(73913),De={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Qe=ae(62957),Ot=ae(96599),it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",at=ae(59301),Bt=(Hn,Jn,ir)=>new Promise((Zn,Cr)=>{var Er=di=>{try{pi(ir.next(di))}catch(fi){Cr(fi)}},Nr=di=>{try{pi(ir.throw(di))}catch(fi){Cr(fi)}},pi=di=>di.done?Zn(di.value):Promise.resolve(di.value).then(Er,Nr);pi((ir=ir.apply(Hn,Jn)).next())}),Te=({className:Hn,dataSource:Jn=[],col:ir=4,right:Zn,bottom:Cr=23,precision:Er=0,wrapWidth:Nr=1200,trackEventItems:pi,loading:di,category:fi,hiddenClick:Oi,handleVery:Ci=()=>!0,isCurrent:ro})=>{const[Yi,or]=Qe.default.useModal(),Mr=Math.floor((Nr-(ir-1)*Zn)/ir),gi=oi=>Bt(void 0,null,function*(){Yi.confirm({title:"\u7F6E\u9876",width:500,content:at.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",at.createElement("span",{className:"c-blue"},"\u201C",oi.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return at.createElement(_e.Z,{spinning:di},or,at.createElement("div",{className:Ue()(De.list,Hn)},!!Jn.length&&Jn.map((oi,un)=>{const{subject_identifier:bt,id:Rt,identifier:fn,power:Wt}=oi,yn=oi.is_public!=0&&oi.is_public;return at.createElement("div",{className:De.wrap,key:Rt,style:{width:Mr,marginRight:(1+un)%ir===0?0:Zn+Er,marginBottom:Cr}},oi.homepage_show&&at.createElement("div",{className:De.btnsTop},at.createElement(Ot.default,{color:"red"},"\u7F6E\u9876")),at.createElement("a",{className:De.li,onClick:On=>{On.preventDefault(),Ci(oi==null?void 0:oi.first_category_url)&&(pi&&(0,ot.L9)([pi]),(0,ot.xg)(oi.first_category_url))}},at.createElement("div",{className:De.top},at.createElement(Je.Z,{title:oi.name},at.createElement("div",{className:De.name},oi.name)),at.createElement("img",{className:De.img,src:ut.Z.IMG_SERVER+"/images/"+oi.avatar_url}),at.createElement("div",{className:De.text,title:oi.creator},oi.creator),bt&&at.createElement("div",{className:De.btns},at.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),at.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),yn&&at.createElement("div",{className:De.sign},"\u516C\u5F00"),ro&&at.createElement("div",{className:De.hidden,onClick:On=>{On.stopPropagation(),Oi(oi)}},at.createElement("i",{className:`iconfont ${fi=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),fi=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),at.createElement("div",{className:De.bottom},oi.visits>0&&at.createElement(Je.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-liulanyan"}),at.createElement("span",null,oi.visits))),oi.course_members_count>0&&at.createElement(Je.Z,{title:"\u6210\u5458",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-chengyuan"}),oi.course_members_count)),oi.tasks_count>0&&at.createElement(Je.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-zuoye"}),oi.tasks_count)),oi.is_end?at.createElement("div",{style:{color:"#6B758B"}}):at.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!oi.is_accessible&&at.createElement("div",{className:De.lockWrap},at.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),at.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&at.createElement(ht.Z,null)))},ct={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Zt=ae(85500),tt=({dataSource:Hn=[],value:Jn,onChange:ir,className:Zn,style:Cr={},tabBarExtraContent:Er})=>x.createElement("div",{className:Ue()(ct.tabs,Zn),style:Cr},x.createElement("div",{className:ct.tabsWrap},Hn.map((Nr,pi)=>!(Nr!=null&&Nr.hide)&&x.createElement("aside",{className:ct.tab,onClick:()=>{ir(Nr.id),Nr.link&&Zt.history.push(Nr.link)},key:pi},x.createElement("div",{className:Jn===Nr.id?ct.active:""},Nr.name),(Nr==null?void 0:Nr.resetCount)==null&&(Nr==null?void 0:Nr.total)!==void 0&&x.createElement("span",null,"\uFF08",Nr==null?void 0:Nr.total,"\uFF09"),(Nr==null?void 0:Nr.resetCount)!==void 0&&(Nr==null?void 0:Nr.total)!==void 0&&x.createElement(Je.Z,{title:(Nr==null?void 0:Nr.tip)!=null?Nr==null?void 0:Nr.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Nr==null?void 0:Nr.resetCount),"/",x.createElement("span",null,Nr==null?void 0:Nr.total),"\uFF09"))))),x.createElement("div",{className:ct.tabBar},Er)),_t=({className:Hn,style:Jn={},children:ir})=>x.createElement("div",{className:Ue()(Hn),style:Jn},ir),hn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Pt=ae(75727),vn=ae(93041);const kt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var on=({sortValue:Hn,dropValue:Jn,className:ir,onSort:Zn,onDrop:Cr,dataSource:Er=kt})=>{var Nr;return x.createElement("div",{className:Ue()(hn.orderWrap,ir)},x.createElement(Pt.Z,{dropdownRender:()=>x.createElement(vn.default,null,Er.map((pi,di)=>x.createElement(vn.default.Item,{key:di,onClick:()=>Cr(pi.id)},pi.name)))},x.createElement("span",{className:hn.orderTextWrap},(Nr=Er.find(pi=>Jn===pi.id))==null?void 0:Nr.name)),x.createElement("span",{className:hn.orderIconWrap},x.createElement("span",{className:hn.orderAsc},x.createElement("i",{className:Hn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer}`,onClick:()=>Zn(Hn==="asc"?"desc":"asc")})),x.createElement("span",{className:hn.orderDesc},x.createElement("i",{className:Hn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer}`,onClick:()=>Zn(Hn==="asc"?"desc":"asc")}))))},de={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ge=ae(7939),ie=Object.defineProperty,ee=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Be=(Hn,Jn,ir)=>Jn in Hn?ie(Hn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Hn[Jn]=ir,Ve=(Hn,Jn)=>{for(var ir in Jn||(Jn={}))se.call(Jn,ir)&&Be(Hn,ir,Jn[ir]);if(ee)for(var ir of ee(Jn))le.call(Jn,ir)&&Be(Hn,ir,Jn[ir]);return Hn},st=(Hn,Jn)=>{var ir={};for(var Zn in Hn)se.call(Hn,Zn)&&Jn.indexOf(Zn)<0&&(ir[Zn]=Hn[Zn]);if(Hn!=null&&ee)for(var Zn of ee(Hn))Jn.indexOf(Zn)<0&&le.call(Hn,Zn)&&(ir[Zn]=Hn[Zn]);return ir},gt=(Hn,Jn,ir)=>new Promise((Zn,Cr)=>{var Er=di=>{try{pi(ir.next(di))}catch(fi){Cr(fi)}},Nr=di=>{try{pi(ir.throw(di))}catch(fi){Cr(fi)}},pi=di=>di.done?Zn(di.value):Promise.resolve(di.value).then(Er,Nr);pi((ir=ir.apply(Hn,Jn)).next())}),St=Hn=>{var Jn=Hn,{className:ir,style:Zn,children:Cr,loading:Er=!1,openLoading:Nr,onClick:pi=()=>{},size:di="middle",shape:fi="round"}=Jn,Oi=st(Jn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ci,ro]=(0,x.useState)(!1);return x.createElement(ge.ZP,Ve({onClick:(0,he.throttle)(Yi=>gt(void 0,null,function*(){Nr&&ro(!0);try{yield pi(Yi)}catch(or){console.log("error",or)}Nr&&ro(!1)}),2e3,{leading:!0,trailing:!1}),className:Ue()(de.btn,de[`${di}-${fi}`],ir),style:Zn,size:di,shape:fi,loading:Ci||Er},Oi),Cr)},Dt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},xt=({className:Hn,style:Jn,children:ir=null,onClick:Zn,title:Cr})=>x.createElement("div",{className:Ue()(Dt.head,Hn),style:Jn},x.createElement("span",{className:"primary-hover",onClick:Zn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:Cr},Cr),x.createElement("div",{className:Dt.node},ir)),lt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Vt=({confirmShow:Hn=!0,confirmTitle:Jn,confirmClick:ir,cancelShow:Zn=!0,cancelTitle:Cr,cancelClick:Er,className:Nr,style:pi,confirmLoading:di=!1})=>x.createElement("div",{className:Ue()(lt.btns,Nr),style:pi},Hn&&x.createElement(ge.ZP,{loading:di,onClick:ir,type:"primary",className:lt.confirm},Jn),Zn&&x.createElement(ge.ZP,{onClick:Er,className:lt.cancel},Cr)),wn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},en=({className:Hn,style:Jn={},LeftContent:ir,children:Zn,RightContent:Cr})=>x.createElement("div",{className:Ue()(wn.fixedBottom,Hn),style:Jn},x.createElement("div",{className:wn.wrap},x.createElement("div",{className:wn.left},ir),x.createElement("div",{className:wn.center},Zn),x.createElement("div",{className:wn.right},Cr))),zn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Qt=({className:Hn,style:Jn={},dataSource:ir=[]})=>x.createElement("div",{className:Ue()(zn.crumbs,Hn),style:Jn},ir.map((Zn,Cr)=>CrZt.history.push(Zn.path)},Zn.name):x.createElement("span",null,Zn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:Cr,style:{color:"#5F6368"}},Zn.name))),sn=ae(11938),Nn=Object.defineProperty,Vn=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Gn=(Hn,Jn,ir)=>Jn in Hn?Nn(Hn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Hn[Jn]=ir,Sr=(Hn,Jn)=>{for(var ir in Jn||(Jn={}))nn.call(Jn,ir)&&Gn(Hn,ir,Jn[ir]);if(Gt)for(var ir of Gt(Jn))Cn.call(Jn,ir)&&Gn(Hn,ir,Jn[ir]);return Hn},ii=(Hn,Jn)=>Vn(Hn,Lt(Jn)),si=(Hn,Jn)=>{var ir={};for(var Zn in Hn)nn.call(Hn,Zn)&&Jn.indexOf(Zn)<0&&(ir[Zn]=Hn[Zn]);if(Hn!=null&&Gt)for(var Zn of Gt(Hn))Jn.indexOf(Zn)<0&&Cn.call(Hn,Zn)&&(ir[Zn]=Hn[Zn]);return ir};const{Countdown:sr}=sn.default;var _n=Hn=>{var Jn=Hn,{onChange:ir}=Jn,Zn=si(Jn,["onChange"]);const[Cr,Er]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof Cr=="number"&&Cr>=0&&ir(Cr)},[Cr]);const Nr=pi=>{const di=Math.floor(pi/1e3);Er(di)};return x.createElement(sr,ii(Sr({},Zn),{onChange:Nr}))}},81363:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return dt}});var x=ae(59301);function dt(Ie,qe){const ze=(0,x.useRef)();(0,x.useEffect)(()=>{ze.current=Ie}),(0,x.useEffect)(()=>{function Fe(){ze.current()}if(qe!==null){let Ue=setInterval(Fe,qe);return()=>clearInterval(Ue)}},[qe])}},72192:function(Yn,Ut,ae){"use strict";ae.r(Ut),ae.d(Ut,{default:function(){return xi}});var x=ae(59301),dt=ae(66649),Ie=ae.n(dt),qe=ae(86129),ze=ae.n(qe),Fe=ae(66165),Ue=ae(85500),he=ae(62957),xe=ae(6767),oe=ae(458),Ne=ae(91882),ve=ae(77019),Re=ae(5269),Se=ae(7939),Pe=ae(25399),ye=ae(37285),Ce=ae(37568),Ee=ae(70858),Me=ae(82326),Ke=ae(31709),je=ae(27812),_e=ae(95869),Je=ae(87169),Xe=ae(26227),ut=ae(9294),ot=ae(95970),ht=ae(72916),Ct=ae(42441),He={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy",fa:"fa____jywp"},ft={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const De=({shixunHomeworks:nr,data:fr,globalSetting:gn,loading:cn,dispatch:qn})=>{var hr;const{shixunWorkReport:ur}=nr;let br=((hr=fr==null?void 0:fr.efficiency_list)==null?void 0:hr.length)-parseInt(fr==null?void 0:fr.myself_eff[0]);const ci=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(yi){return yi.name===ur.username?"\u59D3\u540D\uFF1A"+ur.username+"
\u5B66\u53F7\uFF1A "+ur.user_id+"
\u6548\u7387\uFF1A"+(fr==null?void 0:fr.myself_eff[1]):yi.name+":"+yi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:fr==null?void 0:fr.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:ur.username,xAxis:br,yAxis:fr==null?void 0:fr.myself_eff[1],value:fr==null?void 0:fr.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Yr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(yi){var Pi=yi.value;if(yi.name===ur.username)return"\u59D3\u540D\uFF1A"+ur.username+"
\u5B66\u53F7\uFF1A "+ur.user_id+"
\u5F97\u5206\uFF1A"+(fr==null?void 0:fr.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:ft,data:fr==null?void 0:fr.consume_list,symbolSize:function(yi){return Math.round(yi[2])},markPoint:{data:[{name:ur.username,xAxis:fr==null?void 0:fr.myself_object[0],yAxis:fr==null?void 0:fr.myself_object[1],value:fr==null?void 0:fr.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:ci()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:He.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},ur.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},ur.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_eff[0]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",x.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",x.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:Yr()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:He.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},ur.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},ur.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_object[1]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",x.createElement("br",null)))))))};var Qe=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects}))(De),Ot=ae(74898),it=ae(4875),at=({defaultValue:nr,onBlur:fr,max:gn,className:cn="game-score",style:qn,disabled:hr=!1})=>{const[ur,br]=(0,x.useState)(nr);(0,x.useEffect)(()=>{br(nr)},[nr]);function ci(yi){br(yi)}function Yr(){ur!==nr&&fr(ur>gn?gn:ur)}return x.createElement(it.Z,{max:gn,min:0,className:cn,style:qn,value:ur,disabled:hr,onChange:ci,onBlur:Yr})},Bt=ae(3034),We={md:"md___TEmcT"},Te=ae(59301),ct=Object.defineProperty,Zt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,hn=(nr,fr,gn)=>fr in nr?ct(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Pt=(nr,fr)=>{for(var gn in fr||(fr={}))Tt.call(fr,gn)&&hn(nr,gn,fr[gn]);if(tt)for(var gn of tt(fr))_t.call(fr,gn)&&hn(nr,gn,fr[gn]);return nr},vn=(nr,fr)=>Zt(nr,jt(fr));const kt=Me.default.Option,Sn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var on=(nr=>(nr[nr.SET_PATH=0]="SET_PATH",nr[nr.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",nr))(on||{});function de(nr,fr){switch(fr.type){case 0:return vn(Pt({},nr),{selectedPath:fr.payload});case 1:return vn(Pt({},nr),{passedContent:fr.payload});default:throw new Error}}var ge=({path:nr,game_id:fr,onPathChange:gn,autoHeight:cn,diff_code_count:qn,data:hr,game_codes_cn:ur})=>{var br,ci,Yr,yi;const Pi=nr.split("\uFF1B").filter(Mi=>!!Mi),[wi,Gr]=(0,x.useReducer)(de,{selectedPath:Pi[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:Qi}=wi;function Zi(Mi){Gr({type:0,payload:Mi})}const ki={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Te.createElement(Te.Fragment,null,Te.createElement("h2",null," ",Te.createElement("span",null,ur,Te.createElement(Pe.Z,{title:Te.createElement("div",null,Te.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Te.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Te.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Te.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Te.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),qn&&Te.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",qn),Te.createElement("span",null,Te.createElement(Me.default,{style:{width:200},value:Ji,onChange:Zi}," ",Pi.map(Mi=>Te.createElement(kt,{key:Mi,value:Mi},Mi))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&Te.createElement(Bt.Z,{height:300,autoHeight:cn,defaultValue:((ci=(br=hr==null?void 0:hr.filter(Mi=>Mi.path===Ji))==null?void 0:br[0])==null?void 0:ci.content)||"",className:We.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&Te.createElement(Ot.ZP,{height:300,language:Qi.language,value:((yi=(Yr=hr==null?void 0:hr.filter(Mi=>Mi.path===Ji))==null?void 0:Yr[0])==null?void 0:yi.content)||"",autoHeight:cn,theme:"default",isCopy:!0,options:Sn}))},ie=ae(7250),ee=ae(96249),se=ae.n(ee),le=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,gt=(nr,fr,gn)=>fr in nr?le(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,mt=(nr,fr)=>{for(var gn in fr||(fr={}))Ve.call(fr,gn)&>(nr,gn,fr[gn]);if(Be)for(var gn of Be(fr))st.call(fr,gn)&>(nr,gn,fr[gn]);return nr};const St=nr=>React.createElement("svg",mt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},nr),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Dt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2eiIgZmlsbD0iI0RCRENGRiIvPjxwYXRoIGQ9Ik02NDUuMTIgOTQ3LjJjMTE3Ljc2LTEwLjI0IDE1OC43Mi0xNDMuMzYgMTYzLjg0LTI2Ni4yNCAwLTEyOC0xMjgtMTc0LjA4LTI5MS44NC0xNzQuMDgtMTYzLjg0IDAtMjkxLjg0IDQ2LjA4LTI5MS44NCAxNzQuMDggMCAxMTIuNjQgMzUuODQgMjQwLjY0IDE0My4zNiAyNjEuMTIgMzAuNzIgNS4xMiAyNjEuMTIgMTAuMjQgMjc2LjQ4IDUuMTJ6IiBmaWxsPSIjMTExQUNDIi8+PHBhdGggZD0iTTQwNC40OCA2ODYuMDhjMTUuMzYgMCAyNS42IDEwLjI0IDI1LjYgMjUuNnY2MS40NGMwIDE1LjM2LTEwLjI0IDI1LjYtMjUuNiAyNS42LTE1LjM2IDAtMjUuNi0xMC4yNC0yNS42LTI1LjZ2LTYxLjQ0Yy01LjEyLTEwLjI0IDEwLjI0LTI1LjYgMjUuNi0yNS42em0yMjAuMTYgMGMxNS4zNiAwIDI1LjYgMTAuMjQgMjUuNiAyNS42djYxLjQ0YzAgMTUuMzYtMTAuMjQgMjUuNi0yNS42IDI1LjYtMTUuMzYgMC0yNS42LTEwLjI0LTI1LjYtMjUuNnYtNjEuNDRjMC0xMC4yNCAxMC4yNC0yNS42IDI1LjYtMjUuNnoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOTE2LjQ4IDUyNy4zNmM1Ni4zMiAwIDEwNy41MiA3MS42OCAxMDcuNTIgMTUzLjYgMCA4Ny4wNC02MS40NCAxNTMuNi0xMTcuNzYgMTUzLjYgMCAwIDUxLjItNzYuOCA1MS4yLTE1OC43MnMtNDAuOTYtMTQ4LjQ4LTQwLjk2LTE0OC40OHptLTgwOC45NiA1LjEyLTUuMTIgNS4xMmMtMTAuMjQgMjAuNDgtMzUuODQgNzYuOC0zNS44NCAxMzguMjQgMCA3Ni44IDM1Ljg0IDEzOC4yNCA1MS4yIDE1OC43MkM2MS40NCA4MzQuNTYgMCA3NjggMCA2ODAuOTZjMC04MS45MiA1MS4yLTE0OC40OCAxMDcuNTItMTQ4LjQ4eiIgZmlsbD0iIzgxODdGRiIvPjxwYXRoIGQ9Ik01MTIgMGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjIyMC4xNmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xMC4yNC0zMC43Mi0zMC43MlYzMC43MkM0ODEuMjggMTUuMzYgNDk2LjY0IDAgNTEyIDB6IiBmaWxsPSIjNzAxQ0RDIi8+PHBhdGggZD0iTTM4NCA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zNS44NC0xNS4zNi0zNS44NC0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzUuODQtMzAuNzJ6IiBmaWxsPSIjMzcxQ0RDIi8+PHBhdGggZD0iTTY0NS4xMiA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",Ht=ae(36284),xt=ae(31525),lt=ae(43008),Xt=ae(2063),Vt=ae(29486),wn=ae(44454);const an=({shixunHomeworks:nr,classroomList:fr,items:gn,dispatch:cn})=>{var qn;const{shixunWorkReport:hr}=nr,ur=(0,x.useRef)(null),[br,ci]=(0,x.useState)(!1),[Yr,yi]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if(ur.current)return ur.current.addEventListener("mousedown",Pi),()=>{var wi;(wi=ur.current)==null||wi.removeEventListener("mousedown",Pi)}},[ur.current]),(0,x.useEffect)(()=>{setTimeout(()=>{ur.current&&ur.current.clientHeight>=500&&ci(!0)},500)},[(qn=hr==null?void 0:hr.student_work_test_result_info)==null?void 0:qn.content,ur.current]);function Pi(wi){const Gr=(Zi,ki)=>{if(Zi.localName===ki)return Zi;for(let Mi=0,Fi=Zi;Fi=Fi.parentNode;Mi++){if(Fi.localName===ki)return Fi;if(Fi==document.documentElement)return!1}},Ji=wi.target,Qi=Gr(Ji,"a");if(console.log([Qi],Qi==null?void 0:Qi.href,44),!(Qi!=null&&Qi.href)&&Ji.tagName.toUpperCase()==="IMG"){let Zi=Ji.src||Ji.getAttribute("src");Zi&&Zi.indexOf("/images/avatars/User")===-1&&(wi.stopPropagation(),wi.preventDefault(),Xt.Z.publish("preview-image",Zi))}}return x.createElement("div",null,(hr==null?void 0:hr.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(lt.Z,null),x.createElement("strong",{className:"c-black font14"},"\u5B9E\u9A8C\u7ED3\u679C"),gn?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:ur,style:{maxHeight:!Yr&&"500px",overflow:"hidden"}},x.createElement(xt.Z,{value:gn==null?void 0:gn.content})),br&&x.createElement("div",{className:"w-full current",onClick:()=>{yi(!Yr)}},x.createElement(ye.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},Yr?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Vt.Z,{className:"px-36px",showDimensions:!1,dataSource:gn==null?void 0:gn.test_result_files,callback:()=>{}})):x.createElement(wn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var en=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn,classroomList:cn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects,classroomList:cn}))(an),zn=ae(19192),In=Object.defineProperty,Qt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Gt=(nr,fr,gn)=>fr in nr?In(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,nn=(nr,fr)=>{for(var gn in fr||(fr={}))Vn.call(fr,gn)&&Gt(nr,gn,fr[gn]);if(Nn)for(var gn of Nn(fr))Lt.call(fr,gn)&&Gt(nr,gn,fr[gn]);return nr},Cn=(nr,fr)=>Qt(nr,sn(fr)),Gn=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});const Sr=({shixunHomeworks:nr,autoHeight:fr,classroomList:gn,dispatch:cn})=>{var qn,hr,ur,br,ci,Yr,yi,Pi;const{shixunWorkReport:wi}=nr,{stage_list:Gr,work_id:Ji,ai_code_evaluation_promote:Qi}=wi,[Zi,ki]=(0,x.useState)(!1),[Mi,Fi]=(0,x.useState)(!0),[lo,Ki]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),Do=(0,x.useRef)(null),[eo,qo]=(0,x.useState)(!1),[wo,no]=(0,x.useState)(""),[No,Yo]=(0,x.useState)({}),Qo=(0,x.useRef)(null),Fo=(Wr,fo)=>{var Oo;const{clientWidth:ta,clientHeight:_o}=window.document.documentElement,Jo=(Oo=Do.current)==null?void 0:Oo.getBoundingClientRect();Jo&&Ki({left:-Jo.left+fo.x,right:ta-(Jo.right-fo.x),top:-Jo.top+fo.y,bottom:_o-(Jo.bottom-fo.y)})},pn=(0,Ue.useParams)(),Rr=(0,ot.GJ)(),Jr={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(pn)},[]);const Ai=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,fo,Oo)=>x.createElement("div",null,Wr,fo.is_work_end_evaluate&&x.createElement(ht.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ie()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,fo)=>x.createElement("span",{className:"c-blue current",onClick:()=>Gn(void 0,null,function*(){var Oo,ta;const _o=yield(0,ie.Lk)(fo.game_identifier,{path:(ta=(Oo=fo.path)==null?void 0:Oo.replace(/\;/g,";"))==null?void 0:ta.split(";")[0],query_index:fo.query_index,homework_common_id:pn.categoryId});(_o==null?void 0:_o.status)===0&&(qo(_o),ki(!0))})},fo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Kr=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,fo)=>{var Oo;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:ut.Z.IMG_SERVER+"/images/"+((Oo=fo==null?void 0:fo.user)==null?void 0:Oo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ie()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function _i(Wr,fo){return Gn(this,null,function*(){const{challenge_id:Oo}=Gr[Wr],ta=yield cn({type:"shixunHomeworks/changeScore",payload:{categoryId:pn.homeworkId,type:"report",score:fo,challenge_id:Oo}});yield cn({type:"shixunHomeworks/getShixunWorkReport",payload:nn({},pn)}),ta.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function oo(Wr,fo){return(0,Fe.U2)(`student_works/${Ji}/rep_passed_content.json`,{path:fo,game_id:Wr})}const[Ur,ti]=(0,x.useState)((qn=wi==null?void 0:wi.shixun_detail)==null?void 0:qn.map(Wr=>Cn(nn({},Wr),{commentEdit:!1}))),Di=Wr=>Wr.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Ui,Uo]=(0,x.useState)(!1),xa=(Wr,fo)=>Gn(void 0,null,function*(){var Oo,ta;Uo(!0),Qo.current=new Ht.Z(ut.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-plus-latest",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:Qi,shixun_id:wi==null?void 0:wi.myshixun_identifier,game_id:Wr==null?void 0:Wr.id,source:"shixun",is_chat:!1,type:9,description:Wr==null?void 0:Wr.challenge_description,query:(ta=(Oo=Wr==null?void 0:Wr.game_codes)==null?void 0:Oo[0])==null?void 0:ta.content,homework_common_id:pn.categoryId}),yield new Promise((_o,Jo)=>{Qo.current.on("data",$o=>{const Sa=[...Ur];Sa[fo].comment=Di($o==null?void 0:$o.full),ti(Sa)}),Qo.current.on("done",()=>Gn(void 0,null,function*(){var $o;Uo(!1);const Sa=[...Ur],Ja=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:Sa[fo].comment}});if((Ja==null?void 0:Ja.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const hs=[...Ur];hs[fo].comment_updated_at=($o=Ja==null?void 0:Ja.data)==null?void 0:$o.comment_updated_at,ti(hs)}})),Qo.current.startStream()})});return x.createElement(x.Fragment,null,Ur==null?void 0:Ur.map(function(Wr,fo){var Oo,ta,_o,Jo,$o,Sa,Ja;const hs=!!((Oo=Wr==null?void 0:Wr.game_extension_attachments)!=null&&Oo.length);return x.createElement("div",{key:fo},x.createElement("aside",{className:"pl30 pr30",key:fo},x.createElement("div",{className:`${He.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",fo+1,"\u5173 ",x.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${pn.coursesId}/${pn.categoryId}/${Wr.game_identifier}`},Wr.subject))),Rr?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(at,{className:"game-score",max:Gr[fo].game_score_full,defaultValue:Gr[fo].game_score,disabled:!((ta=Gr==null?void 0:Gr[fo])!=null&&ta.checked)&&((_o=Gr==null?void 0:Gr[fo])==null?void 0:_o.is_show),onBlur:ba=>{var Ua;if((0,ot.Rm)()&&!((Ua=gn.AssistantObject.practice)!=null&&Ua.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_i(fo,ba)}})):null),hs&&x.createElement("div",{className:"font16 mt10 mb10"},x.createElement("div",null,"\u5B66\u5458\u97F3\u9891\u6587\u4EF6"),x.createElement("a",{className:"current",onClick:()=>{var ba,Ua,Bo,bo;Yo({url:ut.Z.API_SERVER+((Ua=(ba=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ba[0])==null?void 0:Ua.url),file_type:(bo=(Bo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:Bo[0])==null?void 0:bo.file_type})}},($o=(Jo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:Jo[0])==null?void 0:$o.title)),!hs&&x.createElement(x.Fragment,null,x.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?x.createElement("aside",{className:He.shixunWrp},x.createElement(ge,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:fr,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:oo})):x.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),x.createElement("aside",{className:"mt10 font16"},(Sa=Wr.outputs)!=null&&Sa.length?x.createElement(Ee.default,{columns:Ai,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(ba=>nn(nn({},Wr),ba))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55")),x.createElement(en,{items:Wr==null?void 0:Wr.student_work_test_result_info}),x.createElement("aside",{className:"mt10"},x.createElement("div",null,x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(Wr!=null&&Wr.commentEdit)&&!(0,ot.dE)()&&(Wr!=null&&Wr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",Wr!=null&&Wr.comment_updated_at?Ie()(Wr==null?void 0:Wr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>Gn(this,null,function*(){Ui?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):he.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>Gn(this,null,function*(){xa(Wr,fo)})})})},x.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>Gn(this,null,function*(){Ui?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):xa(Wr,fo)})},x.createElement("img",{src:Dt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(Wr!=null&&Wr.commentEdit)&&!(0,ot.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const ba=[...Ur];ba[fo].commentEdit=!0,ti(ba),no(Wr==null?void 0:Wr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:He.pj_close,onClick:()=>{const ba=[...Ur];ba[fo].commentEdit=!1,ti(ba)}},"\u53D6\u6D88"),x.createElement("div",{className:He.pj_save,onClick:()=>Gn(this,null,function*(){var ba;const Ua=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:wo}});if((Ua==null?void 0:Ua.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Bo=[...Ur];Bo[fo].commentEdit=!1,Bo[fo].comment=wo,Bo[fo].comment_updated_at=(ba=Ua==null?void 0:Ua.data)==null?void 0:ba.comment_updated_at,ti(Bo)}})},"\u4FDD\u5B58"))),!(Wr!=null&&Wr.commentEdit)&&x.createElement("div",{className:He.pingjia},Wr!=null&&Wr.comment?x.createElement(xt.Z,{value:Wr==null?void 0:Wr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(Ce.default.TextArea,{defaultValue:wo,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:ba=>no(ba.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((Ja=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Ja.length)>0&&(0,ot.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Kr,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(he.default,{open:Zi,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{qo({}),ki(!1)},onCancel:()=>{qo({}),ki(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Mi&&Fi(!1)},onMouseOut:()=>{Fi(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>x.createElement(se(),{disabled:Mi,bounds:lo,nodeRef:Do,onStart:(fo,Oo)=>Fo(fo,Oo)},x.createElement("div",{ref:Do},Wr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((hr=eo==null?void 0:eo.data)==null?void 0:hr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?x.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):x.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),x.createElement("div",{style:{color:((ur=eo==null?void 0:eo.data)==null?void 0:ur.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(br=eo==null?void 0:eo.data)==null?void 0:br.output_detail)),x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ie()((ci=eo==null?void 0:eo.data)==null?void 0:ci.created_at).format("YYYY-MM-DD HH:mm:ss"))),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Yr=eo==null?void 0:eo.data)==null?void 0:Yr.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(yi=eo==null?void 0:eo.data)==null?void 0:yi.ts_mem,"mb")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Pi=eo==null?void 0:eo.data)==null?void 0:Pi.test_set_passed_rate)*100,"%")))),x.createElement(Ot.ZP,{height:500,autoHeight:fr,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((eo==null?void 0:eo.content)||""))),options:Jr})),x.createElement(zn.Z,{close:!0,hasMask:!0,style:{zIndex:9999},data:No==null?void 0:No.url,type:No==null?void 0:No.file_type,onClose:()=>Yo({})}))};var ii=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn,classroomList:cn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects,classroomList:cn}))(Sr),si=ae(28284),sr={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Lr=ae(27582),_n=ae(59301),Hn=Object.defineProperty,Jn=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,Cr=(nr,fr,gn)=>fr in nr?Hn(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Er=(nr,fr)=>{for(var gn in fr||(fr={}))ir.call(fr,gn)&&Cr(nr,gn,fr[gn]);if(Jn)for(var gn of Jn(fr))Zn.call(fr,gn)&&Cr(nr,gn,fr[gn]);return nr},Nr=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});const pi=({shixunHomeworks:nr,dispatch:fr,classroomList:gn})=>{const{shixunWorkReport:cn}=nr,qn=(0,Ue.useParams)(),[hr,ur]=(0,x.useState)(!1),[br]=si.default.useForm(),[ci,Yr]=he.default.useModal(),[yi,Pi]=(0,x.useState)(!1),[wi,Gr]=(0,x.useState)(!1),Ji=[{label:"\u5FC5\u505A",value:"required",color:"#1B8565"},{label:"\u9009\u505A",value:"optional",color:"#1E96F4"},{label:"\u4E0D\u505A",value:"hidden",color:"#5F6368"}];(0,x.useEffect)(()=>{var ki,Mi,Fi,lo;nr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&br.setFieldsValue({comment:(Mi=(ki=nr.actionTabs.selectArrs)==null?void 0:ki.data)==null?void 0:Mi.work_comment,hidden_comment:(lo=(Fi=nr.actionTabs.selectArrs)==null?void 0:Fi.data)==null?void 0:lo.work_comment_hidden})},[nr.actionTabs.key]);const Qi=()=>Nr(void 0,null,function*(){const ki=br.getFieldsValue();(yield(0,Fe.ZP)(`/api/student_works/${qn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ki.hidden_comment,comment:ki.comment}})).status===0&&(xe.ZP.success("\u8BC4\u9605\u6210\u529F"),br.resetFields(),fr({type:"shixunHomeworks/setActionTabs",payload:{}}),fr({type:"shixunHomeworks/getShixunWorkReport",payload:Er({},qn)}))}),Zi=[{title:"\u5173\u5361",dataIndex:"name",render:(ki,Mi,Fi)=>Fi+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ki,Mi,Fi)=>_n.createElement("div",null,ki,Mi.complete_status===4&&_n.createElement(ht.vA,{status:Mi.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"checked",render:ki=>{var Mi,Fi;return _n.createElement("span",{style:{color:(Mi=Ji==null?void 0:Ji.find(lo=>(lo==null?void 0:lo.value)==ki))==null?void 0:Mi.color}},(Fi=Ji==null?void 0:Ji.find(lo=>(lo==null?void 0:lo.value)==ki))==null?void 0:Fi.label)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ki=>ki?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ki,Mi)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat(Mi.game_score_full)!==parseFloat(ki)?"#E30000":"#53C41B"}},ki),"/",Mi.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ki,Mi)=>(0,ot.GJ)()?_n.createElement(at,{max:Mi.game_score_full,defaultValue:parseFloat(ki),onBlur:Fi=>Nr(void 0,null,function*(){var lo,Ki;if((0,ot.Rm)()&&!((lo=gn.AssistantObject.practice)!=null&&lo.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Do=yield fr({type:"shixunHomeworks/changeScore",payload:{categoryId:qn.homeworkId,type:"report",score:Fi,challenge_id:Mi.challenge_id}});(Ki=nr==null?void 0:nr.actionTabs)==null||Ki.fn(),yield fr({type:"shixunHomeworks/getShixunWorkReport",payload:Er({},qn)}),Do.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ki}];return _n.createElement(_n.Fragment,null,Yr,_n.createElement(he.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:nr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Nr(void 0,null,function*(){var ki;if((0,ot.Rm)()&&!((ki=gn.AssistantObject.practice)!=null&&ki.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Mi=br.getFieldsValue();JSON.stringify(Mi)==="{}"||Mi.hidden_comment===""&&Mi.comment===""?ur(!0):Qi()}),onCancel:()=>{fr({type:"shixunHomeworks/setActionTabs",payload:{}})}},_n.createElement(ve.Z,{justify:"space-between",className:sr.info},_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u59D3\u540D"),_n.createElement("span",{className:sr.blackContent},cn==null?void 0:cn.username)),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u5B66\u53F7"),_n.createElement("span",{className:sr.blackContent},(cn==null?void 0:cn.student_id)||"--")),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u73ED\u7EA7"),_n.createElement("span",{className:sr.blackContent},(cn==null?void 0:cn.group_name)||"--")),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u5173\u5361\u5F97\u5206"),_n.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.challenge_score)||"--")),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u6548\u7387\u5206"),_n.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.eff_score)||"--")),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u8865\u4EA4\u6263\u5206"),_n.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.late_penalty)||"--")),_n.createElement(Re.Z,null,_n.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),_n.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.work_score)||"--"))),_n.createElement(si.default,{form:br,onChange:()=>{hr&&ur(!1)}},_n.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},_n.createElement(Re.Z,null,_n.createElement("div",{className:`${sr.inputLabel} ${sr.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),_n.createElement(Re.Z,null,_n.createElement(Lr.Z,{isShowComponent:(0,ot.G5)(),ModalProps:{open:yi,onCancel:()=>{Pi(!1)}},onDataSelect:(ki,Mi)=>Nr(void 0,[ki,Mi],function*(Fi,{node:lo}){const Ki=()=>{br.setFieldsValue({comment:lo==null?void 0:lo.value}),Pi(!1)};if(br.getFieldValue("comment")){ci.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Ki});return}Ki()})},_n.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:_n.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ki=>{Pi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),_n.createElement(si.default.Item,{name:"comment"},_n.createElement(Ce.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),_n.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},_n.createElement(Re.Z,null,_n.createElement("div",{className:`${sr.inputLabel} ${sr.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),_n.createElement(Re.Z,null,_n.createElement(Lr.Z,{isShowComponent:(0,ot.G5)(),ModalProps:{open:wi,onCancel:()=>{Gr(!1)}},onDataSelect:(ki,Mi)=>Nr(void 0,[ki,Mi],function*(Fi,{node:lo}){const Ki=()=>{br.setFieldsValue({hidden_comment:lo==null?void 0:lo.value}),Gr(!1)};if(br.getFieldValue("hidden_comment")){ci.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Ki});return}Ki()})},_n.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:_n.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ki=>{Gr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),_n.createElement(si.default.Item,{name:"hidden_comment"},_n.createElement(Ce.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),hr&&_n.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),_n.createElement("div",{className:sr.tableTitle},"\u5173\u5361\u6210\u7EE9"),_n.createElement(Ee.default,{className:sr.scoreTable,dataSource:cn.stage_list,rowKey:"challenge_id",pagination:!1,columns:Zi,scroll:{x:"max-content"}})))};var di=(0,Ue.connect)(({shixunHomeworks:nr,classroomList:fr})=>({shixunHomeworks:nr,classroomList:fr}))(pi),fi=ae(57797),Oi=ae(38853),Ci=ae(44164),ro=ae.n(Ci),Yi={wrap:"wrap___LZOi9",line:"line___oju0L"},or=ae(56551),gi=({detailData:nr})=>{var fr;return x.createElement("div",{className:Yi.wrap},x.createElement(or.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,or.Uf)(nr),(nr==null?void 0:nr.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(or.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,or.Uf)(nr)}),!!((fr=nr==null?void 0:nr.photos)!=null&&fr.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:Yi.line}),x.createElement(or._s,{dataSource:nr==null?void 0:nr.photos,right:21,col:4,wrapWidth:1140}))))},oi=ae(95707),un=ae(34153),bt=ae(59301),Rt=Object.defineProperty,fn=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,$r=(nr,fr,gn)=>fr in nr?Rt(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Xr=(nr,fr)=>{for(var gn in fr||(fr={}))On.call(fr,gn)&&$r(nr,gn,fr[gn]);if(yn)for(var gn of yn(fr))jr.call(fr,gn)&&$r(nr,gn,fr[gn]);return nr},dr=(nr,fr)=>fn(nr,Wt(fr)),lr=(nr,fr)=>{var gn={};for(var cn in nr)On.call(nr,cn)&&fr.indexOf(cn)<0&&(gn[cn]=nr[cn]);if(nr!=null&&yn)for(var cn of yn(nr))fr.indexOf(cn)<0&&jr.call(nr,cn)&&(gn[cn]=nr[cn]);return gn},$n=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});function ei(nr){const fr=(qn,hr)=>{if(qn.localName===hr)return qn;for(let ur=0,br=qn;br=br.parentNode;ur++){if(br.localName===hr)return br;if(br==document.documentElement)return!1}},gn=nr.target,cn=fr(gn,"a");if(console.log([cn],cn==null?void 0:cn.href,44),!(cn!=null&&cn.href)&&gn.tagName.toUpperCase()==="IMG"){let qn=gn.src||gn.getAttribute("src");qn&&qn.indexOf("/images/avatars/User")===-1&&(nr.stopPropagation(),nr.preventDefault(),Xt.Z.publish("preview-image",qn))}}const Ti=nr=>{var fr=nr,{shixunHomeworks:gn,classroomList:cn,globalSetting:qn,loading:hr,user:ur,dispatch:br}=fr,ci=lr(fr,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Yr,yi,Pi,wi;const[Gr,Ji]=(0,x.useState)(Xr({},(0,Ue.useParams)())),Qi=(0,Ue.useParams)(),[Zi,ki]=(0,x.useState)({page:1,page_size:10}),Mi=(0,Ue.useLocation)(),[]=(0,x.useState)([]),[Fi,lo]=(0,x.useState)(),Ki=(0,x.useRef)(),Do=(0,x.useRef)(),[eo,qo]=(0,x.useState)(!1),[wo,no]=(0,x.useState)(!0),[No,Yo]=(0,x.useState)(!1),[Qo,Fo]=(0,x.useState)(!1),{shixunWorkReport:pn}=gn,[Rr,Jr]=(0,x.useState)(),[Ai,Kr]=(0,x.useState)([]),[_i,oo]=(0,x.useState)(),[Ur,ti]=(0,x.useState)("all"),Di=(0,ot.GJ)(),[Ui,Uo]=(0,x.useState)(new(ze())),[xa,Wr]=(0,x.useState)(0),[fo,Oo]=(0,x.useState)(!1),[ta,_o]=(0,x.useState)(!1),[Jo,$o]=(0,x.useState)(!1),[Sa,Ja]=(0,x.useState)(""),[hs,ba]=(0,x.useState)(!1),[Ua,Bo]=(0,x.useState)(!0),[bo,Ra]=(0,x.useState)(0),ns=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),js=(0,x.useRef)(),[tl,nl]=(0,x.useState)(!1),[au,su]=(0,x.useState)(!1),Fs=(0,x.useRef)(null),Rl={required:{tag:"\u5FC5\u505A",color:"#1B8565"},optional:{tag:"\u9009\u505A",color:"#1E96F4"},hidden:{tag:"\u4E0D\u505A",color:"#5F6368"}},Nu=()=>$n(void 0,null,function*(){(ur.userInfo.is_teacher||ur.userInfo.admin)&&(ba(!0),Bo(!1))});(0,x.useEffect)(()=>{var zi;(0,ot.Rm)()&&cn.AssistantObject.practice&&!((zi=cn.AssistantObject.practice)!=null&&zi.can_view)&&Ue.history.replace("/403")},[(Yr=cn.AssistantObject.practice)==null?void 0:Yr.can_view]),(0,x.useEffect)(()=>{Nu(),console.log("\u6253\u5370\u7684------",pn),js.current=pn==null?void 0:pn.next_student_work_id,Ja(pn.repeat_minus_score)},[pn,ur]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",pn.work_score),Ra(pn.work_score)},[pn.work_score,Sa]),(0,x.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(Fs.current)return Fs.current.addEventListener("mousedown",ei),()=>{var zi;(zi=Fs.current)==null||zi.removeEventListener("mousedown",ei)}},[Fs.current]),(0,x.useEffect)(()=>{setTimeout(()=>{Fs.current&&Fs.current.clientHeight>=500&&su(!0)},500)},[(yi=pn==null?void 0:pn.student_work_test_result_info)==null?void 0:yi.content,Fs.current]),(0,x.useEffect)(()=>{var zi;if(pn){let zo=[];(zi=pn==null?void 0:pn.target_test_sets)==null||zi.map((ga,hu)=>{var ol;(ol=ga==null?void 0:ga.targets)==null||ol.map((qu,Hu)=>{var Pu;qu.name=ga==null?void 0:ga.name,qu.total_target_score=ga==null?void 0:ga.total_target_score,qu.actual_target_score=ga==null?void 0:ga.actual_target_score,qu.rowSpan=Hu===0?(Pu=ga==null?void 0:ga.targets)==null?void 0:Pu.length:0,qu.order=hu+1,zo.push(qu)})}),Jr(zo),(0,ot.Rm)()&&br({type:"classroomList/getAssistantPermissions",payload:{course_id:Gr.coursesId}})}},[pn]),(0,x.useEffect)(()=>{gn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(pn==null?void 0:pn.students_count)>0&&!wo&&setTimeout(()=>{ma("all")},800)},[pn==null?void 0:pn.homework_common_id,wo]),(0,x.useEffect)(()=>{Ji(Xr({},Qi))},[Mi.pathname]);const xu=()=>{document.body.scrollIntoView()},pl=zi=>{Zi.page=zi,ki(Xr({},Zi)),Bu(Zi,Ur)},Bu=(zi,zo)=>$n(void 0,null,function*(){Yo(!0);const ga=yield(0,Fe.ZP)(`/api/student_works/${Gr==null?void 0:Gr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:dr(Xr({},zi),{challenge_id:zo=="all"?null:zo})});(ga==null?void 0:ga.status)===0&&(Kr(ga==null?void 0:ga.list),oo(ga==null?void 0:ga.count)),Yo(!1)});function Dc(){return $n(this,null,function*(){ns.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const pa=()=>{document.querySelectorAll("canvas").forEach(zi=>{(!zi.clientWidth||!zi.clientHeight)&&zi.remove()})},ka=()=>{Ki.current.offsetHeight>62e3?Fo(!1):Fo(!0)},ha=zi=>$n(void 0,null,function*(){const zo=yield(0,Oi.t1)({homeworkId:zi||Gr.homeworkId});lo(zo==null?void 0:zo.data)}),ma=zi=>$n(void 0,null,function*(){var zo,ga,hu,ol;nl(!0);let qu=0,Hu;Hu=he.default.info({width:460,title:bt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",bt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},qu+1),"/",zi!=="all"?1:pn==null?void 0:pn.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:He.modal,onOk:()=>{}});const Pu={margin:[0,0],filename:`${pn!=null&&pn.student_id&&(pn==null?void 0:pn.student_id)!="--"?pn==null?void 0:pn.student_id:""}${pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},vs=Ui.folder(pn==null?void 0:pn.shixun_name);function sc(rA){return $n(this,null,function*(){yield ha(rA||js.current);const Os=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr({homeworkId:rA||js.current},ns.current||{})});js.current=Os==null?void 0:Os.next_student_work_id,xu(),qu++,setTimeout(()=>$n(this,null,function*(){var Pl,Tu,uu,pu;pa();const Eu=vs.folder(`${Os==null?void 0:Os.group_name}`).folder(`${Os!=null&&Os.student_id&&(Os==null?void 0:Os.student_id)!="--"?Os.student_id+"+":""}${Os==null?void 0:Os.username}`),Fl=document.querySelector("#export-all").children;let Il=ro()();for(let Hs=0;Hs$n(this,null,function*(){Hs0&&((uu=(Tu=Os==null?void 0:Os.shixun_detail)==null?void 0:Tu.filter(Hs=>{var zu;return((zu=Hs==null?void 0:Hs.game_codes)==null?void 0:zu.length)>0}))==null?void 0:uu.length)>0){const Hs=Eu.folder("\u4EE3\u7801\u6587\u4EF6");(pu=Os==null?void 0:Os.shixun_detail)==null||pu.map((zu,td)=>{var Wl,gu;if(((Wl=zu==null?void 0:zu.game_codes)==null?void 0:Wl.length)>0){const La=Hs.folder(`\u7B2C${td+1}\u5173-${zu.subject}-${zu.id}`);(gu=zu==null?void 0:zu.game_codes)==null||gu.map(Da=>{La.file(`${Da.filename}.txt`,Da==null?void 0:Da.content)})}})}Hu.update({content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},qu),"/",Os==null?void 0:Os.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),qu==(Os==null?void 0:Os.students_count)?(Hu.destroy(),qa()):sc()}),2200)})}if(zi!=="all"||(pn==null?void 0:pn.students_count)<2){pa(),xu();const rA=Do.current.children;let Os=ro()();const Tu=vs.folder(`${pn==null?void 0:pn.group_name}`).folder(`${pn!=null&&pn.student_id&&(pn==null?void 0:pn.student_id)!="--"?(pn==null?void 0:pn.student_id)+"+":""}${pn==null?void 0:pn.username}`);for(let uu=0;uu$n(void 0,null,function*(){uu0&&((hu=(ga=pn==null?void 0:pn.shixun_detail)==null?void 0:ga.filter(uu=>{var pu;return((pu=uu==null?void 0:uu.game_codes)==null?void 0:pu.length)>0}))==null?void 0:hu.length)>0){const uu=Tu.folder("\u4EE3\u7801\u6587\u4EF6");(ol=pn==null?void 0:pn.shixun_detail)==null||ol.map((pu,Tl)=>{var Eu,Fl;if(((Eu=pu==null?void 0:pu.game_codes)==null?void 0:Eu.length)>0){const Il=uu.folder(`\u7B2C${Tl+1}\u5173-${pu.subject}-${pu.id}`);(Fl=pu==null?void 0:pu.game_codes)==null||Fl.map(Hs=>{Il.file(`${Hs.filename}.txt`,Hs==null?void 0:Hs.content)})}})}Hu.destroy(),qa();return}else sc(pn==null?void 0:pn.first_student_work_id)}),qa=()=>{Ui.generateAsync({type:"blob"}).then(function(zi){console.log(pn,"shixunWorkReport");const zo=document.createElement("a");zo.href=window.URL.createObjectURL(zi),zo.download=(pn==null?void 0:pn.shixun_name)+".zip",document.body.appendChild(zo);const ga=document.createEvent("MouseEvents");ga.initEvent("click",!1,!1),zo.dispatchEvent(ga),document.body.removeChild(zo),Uo(new(ze()))}),Fo(!1)};(0,x.useEffect)(()=>{Ya()},[Gr.homeworkId]);const Ya=()=>$n(void 0,null,function*(){no(!0);const zi=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})});if((zi==null?void 0:zi.status)==-100&&!(0,ot.Ny)()){const zo=yield(0,Fe.ZP)("/api/users/check_archive_view.json",{method:"get",params:{container_id:Gr.categoryId,container_type:"HomeworkCommon"}});(zo==null?void 0:zo.status)==0&&(zo==null?void 0:zo.code)==1&&br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5F52\u6863\u63D0\u793A",params:{roleInfo:zo,homework_id:Gr.categoryId},goToBack:()=>{Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework`)},goToDetail:()=>{window.location.reload()}}})}ha(),(0,ot.GJ)()&&Dc(),no(!1)}),Va=[{title:"\u5173\u5361",width:50,dataIndex:"name",render:(zi,zo,ga)=>ga+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(zi,zo,ga)=>bt.createElement("div",null,zi,zo.complete_status===4&&bt.createElement(ht.vA,{status:zo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(zi,zo,ga)=>zi||"- -"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"status",render:zi=>{var zo,ga;return bt.createElement("span",{style:{color:(zo=Rl[zi])==null?void 0:zo.color}},(ga=Rl[zi])==null?void 0:ga.tag)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:zi=>zi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(zi,zo)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.myself_experience)!==parseFloat(zi)?"red":"green"}},zo.myself_experience),"/",zi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(zi,zo)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.game_score_full)!==parseFloat(zi)?"red":"green"}},zi),"/",zo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(zi,zo)=>Di?bt.createElement(at,{style:{width:80},max:zo.game_score_full,defaultValue:parseFloat(zi),onBlur:ga=>$n(void 0,null,function*(){var hu;if((0,ot.Rm)()&&!((hu=cn.AssistantObject.practice)!=null&&hu.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ol=yield br({type:"shixunHomeworks/changeScore",payload:{categoryId:Gr.homeworkId,type:"report",score:ga,challenge_id:zo.challenge_id}});Bu({page:1,page_size:10},"all"),yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}),ol.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):zi}];let Zl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(zi,zo,ga)=>({children:zi,props:{rowSpan:zo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(zi,zo,ga)=>({children:zi,props:{rowSpan:zo.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(zi,zo,ga)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.actual_test_score)!==parseFloat(zi)?"red":"green"}},zo.actual_test_score),"/",zi)},{title:"\u6307\u6807\u603B\u5206",render:(zi,zo,ga)=>({children:bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.actual_target_score)!==parseFloat(zi)?"red":"green"}},zo.actual_target_score),"/",zi),props:{rowSpan:zo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const lu=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:zi=>bt.createElement("span",null,zi?Ie()(zi).format("YYYY-MM-DD HH:mm"):"--")}],Sl=zi=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{zi==="next"?Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/${pn==null?void 0:pn.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/${pn==null?void 0:pn.pre_student_work_id}/comment`)},200)},Ou=zi=>{Ja(""),zi.target.value&&(console.log("\u8FDB\u6765",pn),zi.target.value=zi.target.value>pn.repeat_setting_score?pn.repeat_setting_score:zi.target.value,Ja(zi.target.value))},fu=()=>$n(void 0,null,function*(){const zi=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.work_id}/update_repeat_score`,{method:"put",body:{score:Sa}});yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}),zi.status===0&&xe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return bt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},bt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},bt.createElement(oe.Z,{loading:hr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},bt.createElement("div",{className:"edu-container"},pn.course_id&&bt.createElement("section",{className:"animated fadeIn"},bt.createElement("aside",{className:""},pn.category&&bt.createElement(Ne.Z,{separator:">"},bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework`},pn.course_name)),bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.category.main?"":pn.category.category_id}`},pn.category.category_name)),bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.homework_common_id}/detail${(0,ot.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),bt.createElement(Ne.Z.Item,null,pn.username))),bt.createElement("aside",{className:[He.title1,"mt20"].join(" ")},bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:1},bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.homework_common_id}/detail`},bt.createElement(je.Z,{className:"font16 c-black"})),bt.createElement("strong",{className:"font20 ml5"},pn==null?void 0:pn.homework_name),bt.createElement(ht.VV,{temporary:!0,status:pn.homework_status})),bt.createElement(Re.Z,{className:He.title1_right},pn.view_tpi&&bt.createElement(Se.ZP,{onClick:()=>{var zi,zo;(0,ht.xg)(`/tasks/${pn==null?void 0:pn.course_id}/${pn==null?void 0:pn.homework_common_id}/${(zo=(zi=pn==null?void 0:pn.shixun_detail)==null?void 0:zi[0])==null?void 0:zo.game_identifier}`)}},bt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ot.GJ)()&&pn.homework_end===!1&&!!pn.myshixun_id&&bt.createElement(Se.ZP,{className:"ml10",onClick:()=>$n(void 0,null,function*(){yield br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:pn.myshixun_identifier},homework_common_id:Qi.categoryId}})})},bt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),bt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var zi,zo;if(!(!(pn!=null&&pn.is_old_data_for_time)&&(pn==null?void 0:pn.user_id)!==((zi=ur==null?void 0:ur.userInfo)==null?void 0:zi.user_id)&&(0,ht.Ye)(br))){if((0,ot.Rm)()&&!((zo=cn.AssistantObject.practice)!=null&&zo.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ma("")}},loading:eo},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ot.GJ)()&&(pn==null?void 0:pn.students_count)>1&&bt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var zi;if(!(!(pn!=null&&pn.is_old_data_for_time)&&(0,ht.Ye)(br))){if((0,ot.Rm)()&&!((zi=cn.AssistantObject.practice)!=null&&zi.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}he.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:bt.createElement(Pe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:bt.createElement(Pe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{ma("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,oi.jj)({categoryId:Gr.categoryId,coursesId:Gr.coursesId},"shixun_report")}}})}}},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),bt.createElement("aside",{className:"mt30 relative"})),bt.createElement("aside",{className:"edu-container bg-white",ref:Ki},bt.createElement("div",{id:"export-all",ref:Do},bt.createElement("div",{id:"export-all-1"},bt.createElement("div",{className:He.title},bt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),bt.createElement("div",null,(0,ot.GJ)()&&bt.createElement(Se.ZP,{className:"mr20",type:"primary",onClick:()=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:pn.user_id,data:Xr({},pn)},fn:()=>Bu({page:1,page_size:10},"all")}})}},bt.createElement(_e.Z,null),pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),bt.createElement(ye.Z,{style:{marginTop:0}}),bt.createElement(ve.Z,{className:"pl30 pr30"},bt.createElement(Re.Z,null,bt.createElement("img",{className:He.userPic,src:`${ut.Z.IMG_SERVER}/images/${pn.image_url}`,alt:pn.username})),bt.createElement(Re.Z,null,bt.createElement("span",{className:"font16 ml40"},pn.username),bt.createElement(ht.vA,{status:pn.compelete_status}),bt.createElement("ul",{className:He.userInfo},bt.createElement("li",null,"\u5B66\u53F7\uFF1A",pn.student_id||"--"),bt.createElement("li",null,"\u5206\u73ED\uFF1A",pn.group_name||"--"),bt.createElement("br",null),bt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},pn.complete_count),"/",bt.createElement("span",{className:"c-red"},pn.checked_challenge_count)),bt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},pn.current_complete_count||"-"),"/",bt.createElement("span",{className:"c-red"},pn.checked_challenge_count)),bt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",pn&&pn.efficiency===null?"--":pn&&pn.efficiency),bt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",pn&&pn.max_efficiency===null?"--":pn&&pn.max_efficiency))),bt.createElement("ul",{className:[He.listItem,"mt10"].join(" ")},bt.createElement("li",null,bt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),bt.createElement("div",{className:"c-light-black mt20"},pn&&pn.passed_time===null||pn&&pn.passed_time==="--"?"--":Ie()(pn&&pn.passed_time).format("YYYY-MM-DD HH:mm"))),bt.createElement("li",null,bt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",bt.createElement("i",{onClick:zi=>{zi.stopPropagation(),zi.preventDefault(),Oo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},pn==null?void 0:pn.human_training_time_rules)),bt.createElement("li",null,bt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",bt.createElement("i",{onClick:zi=>{zi.stopPropagation(),zi.preventDefault(),_o(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},pn.time_consuming)),bt.createElement("li",null,bt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),bt.createElement("div",{className:"mt20"},pn.evaluate_count)),(pn==null?void 0:pn.eff_score_full)&&bt.createElement(bt.Fragment,null,bt.createElement("li",null,bt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.challenge_score),"/",bt.createElement("span",{className:"c-light-black"},pn.challenge_score_full))),bt.createElement("li",null,bt.createElement("strong",null,"\u6548\u7387\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.eff_score),"/",bt.createElement("span",{className:"c-light-black"},pn.eff_score_full)))),(pn==null?void 0:pn.have_repeat)&&(pn==null?void 0:pn.repeat_minus_score)!==0&&bt.createElement("li",{style:{position:"relative"}},bt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},pn!=null&&pn.review_rate?bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(pn!=null&&pn.review_id&&hs)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Gr.categoryId}/review_detail/${pn==null?void 0:pn.review_id}`});else return}},pn.review_rate.toFixed(1),"%"):bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),hs?bt.createElement("div",{className:"mt20"},bt.createElement(Ce.default,{style:{width:"45px",height:"22px"},value:Sa,onChange:zi=>{Ou(zi)},onBlur:fu,disabled:Ua})," / ",pn==null?void 0:pn.repeat_setting_score):bt.createElement("div",{className:"mt20"},pn==null?void 0:pn.repeat_minus_score," / ",pn==null?void 0:pn.repeat_setting_score)),console.log("sssssssssssssssssssssss",pn==null?void 0:pn.have_repeat,pn==null?void 0:pn.repeat_minus_score),(pn==null?void 0:pn.have_repeat)&&(pn==null?void 0:pn.repeat_minus_score)===0&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),!(pn!=null&&pn.have_repeat)&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),bt.createElement("li",null,bt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",null,pn.late_penalty||"- -"))),pn.extra_score>0&&bt.createElement("li",null,bt.createElement("strong",null,"\u9644\u52A0\u5F97\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",null,pn.extra_score||"- -"))),bt.createElement("li",null,bt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},bo),"/",bt.createElement("span",{className:"c-light-black"},pn.all_work_score))),bt.createElement("li",null,bt.createElement("strong",null,"\u603B\u8BC4"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.overall_appraisal))))),bt.createElement(ye.Z,{style:{margin:0}}),(pn.work_comment_hidden||pn.work_comment)&&bt.createElement("div",null,bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:1},bt.createElement("h1",{className:He.title},"\u70B9\u8BC4\u5185\u5BB9")),bt.createElement(Re.Z,{className:"pr30"},(0,ot.GJ)()&&bt.createElement(Se.ZP,{onClick:()=>$n(void 0,null,function*(){he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:bt.createElement(Je.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return $n(this,null,function*(){(yield(0,Oi.gZ)({comment_id:pn.comment_id,homeworkId:Gr.homeworkId})).status===0&&(xe.ZP.success("\u5220\u9664\u6210\u529F"),br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}))})}})})},bt.createElement(Xe.Z,null),"\u5220\u9664"))),bt.createElement(ye.Z,{style:{margin:0}}),pn.work_comment&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(xt.Z,{value:pn.work_comment})),pn.work_comment_hidden&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(xt.Z,{value:pn.work_comment_hidden}))),(pn==null?void 0:pn.action_analysis)&&bt.createElement(gi,{detailData:pn}),bt.createElement("div",{className:He.score},bt.createElement("h1",{className:He.title},"\u9636\u6BB5\u6210\u7EE9"),(pn==null?void 0:pn.adjust_review_score_count)>0&&(0,ot.GJ)()&&bt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{$o(!0),Bu({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",pn==null?void 0:pn.adjust_review_score_count,"\u6B21\uFF09")),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(Ee.default,{dataSource:pn.stage_list,rowKey:zi=>zi==null?void 0:zi.challenge_id,pagination:!1,columns:Va})),((Pi=pn==null?void 0:pn.target_test_sets)==null?void 0:Pi.length)>0&&bt.createElement("div",null,bt.createElement("h1",{className:He.title},"\u6307\u6807\u6210\u7EE9"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(Ee.default,{dataSource:Rr,rowKey:zi=>zi==null?void 0:zi.challenge_id,pagination:!1,bordered:!0,columns:Zl}))),(pn==null?void 0:pn.work_description)&&bt.createElement(bt.Fragment,null,bt.createElement("h1",{className:He.title},"\u4E2A\u4EBA\u603B\u7ED3"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(xt.Z,{value:pn==null?void 0:pn.work_description}))),bt.createElement("h1",{className:He.title},"\u56FE\u5F62\u7EDF\u8BA1"),bt.createElement(Qe,{data:Fi}),(pn==null?void 0:pn.is_open_submit_test_result)&&bt.createElement(bt.Fragment,null),bt.createElement("h1",{className:He.title},"\u5B9E\u8BAD\u8BE6\u60C5")),bt.createElement(ii,{autoHeight:Qo}))),(0,ot.GJ)()&&bt.createElement("aside",{className:`${He.footerBar} ${eo?He.footerBarStatic:""}`},bt.createElement("aside",{className:"edu-container"},bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:"1"},bt.createElement(Ue.Link,{className:He.exitComment,to:`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),bt.createElement(Re.Z,{flex:"1",className:"tr"},bt.createElement(Se.ZP,{type:"default",disabled:!(pn!=null&&pn.pre_student_work_id),onClick:()=>Sl()},"\u4E0A\u4E00\u4E2A"),bt.createElement(Se.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(pn!=null&&pn.next_student_work_id),onClick:()=>Sl("next")},"\u4E0B\u4E00\u4E2A"),(0,ot.GJ)()&&bt.createElement(Se.ZP,{type:"primary",onClick:()=>$n(void 0,null,function*(){br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:pn.user_id,data:Xr({},pn)},fn:()=>Bu({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),bt.createElement(di,null),bt.createElement(fi.Z,null),bt.createElement(he.default,{open:fo,width:860,centered:!0,onCancel:()=>{Oo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},bt.createElement("div",{style:{color:"#333333",fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),bt.createElement("br",null),bt.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),bt.createElement("br",null),bt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),bt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),bt.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),bt.createElement("br",null),bt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),bt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),bt.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),bt.createElement("br",null),bt.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),bt.createElement(he.default,{open:ta,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{_o(!1)},width:600},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),bt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),bt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),bt.createElement(he.default,{open:Jo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ti("all"),$o(!1)},destroyOnClose:!0,width:900},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,bt.createElement("span",null,"\u5173\u5361\uFF1A"),bt.createElement(Me.default,{style:{width:300},value:Ur,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:zi=>$n(void 0,null,function*(){ti(zi),Bu({page:1,page_size:10},zi)})},bt.createElement(Me.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=pn==null?void 0:pn.stage_list)==null?void 0:wi.map((zi,zo)=>bt.createElement(Me.default.Option,{key:zo,value:zi==null?void 0:zi.challenge_id},"\u7B2C",(0,ht.EM)(zo+1),"\u5173")))),bt.createElement("div",{className:"mt20"},bt.createElement(Ee.default,{dataSource:Ai,rowKey:zi=>zi==null?void 0:zi.id,pagination:!1,columns:lu,loading:No})),bt.createElement("div",{className:He.footer},bt.createElement("div",null,bt.createElement("span",{style:{color:"#656F87"}},"\u5171",bt.createElement("span",{className:"c-light-primary"},_i),"\u6761\u6570\u636E")),bt.createElement(Ke.Z,{defaultCurrent:1,defaultPageSize:10,current:(Zi==null?void 0:Zi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:_i,onChange:pl})))),bt.createElement(un.Z,{onClose:()=>{},onSuccess:()=>{}}))};var xi=(0,Ue.connect)(({shixunHomeworks:nr,classroomList:fr,loading:gn,globalSetting:cn,user:qn})=>({shixunHomeworks:nr,classroomList:fr,globalSetting:cn,loading:gn.effects,user:qn}))(Ti)},57797:function(Yn,Ut,ae){"use strict";var x=ae(62957),dt=ae(6767),Ie=ae(66165),qe=ae(85500),ze=ae(95970),Fe=ae(59301),Ue=(xe,oe,Ne)=>new Promise((ve,Re)=>{var Se=Ce=>{try{ye(Ne.next(Ce))}catch(Ee){Re(Ee)}},Pe=Ce=>{try{ye(Ne.throw(Ce))}catch(Ee){Re(Ee)}},ye=Ce=>Ce.done?ve(Ce.value):Promise.resolve(Ce.value).then(Se,Pe);ye((Ne=Ne.apply(xe,oe)).next())});const he=({shixunHomeworks:xe,classroomList:oe,dispatch:Ne})=>{const ve=(0,qe.useParams)();return Fe.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){var Re,Se,Pe,ye;if((0,ze.Rm)()&&!((Re=oe.AssistantObject.practice)!=null&&Re.can_redo)){dt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ce=yield(0,Ie.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ve.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Ce.shixun_identifier){dt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ne({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(Pe=(Se=Ce==null?void 0:Ce.new_works)==null?void 0:Se.find(Me=>`${Me.homework_common_id}`===ve.categoryId))==null?void 0:Pe.id;if((0,ze.Rm)()&&!((ye=oe.AssistantObject.practice)!=null&&ye.can_view))return;qe.history.replace(`/classrooms/${ve.coursesId}/shixun_homework/${ve.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Ne({type:"shixunHomeworks/setActionTabs",payload:{}})}},Fe.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Fe.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,qe.connect)(({shixunHomeworks:xe,classroomList:oe})=>({shixunHomeworks:xe,classroomList:oe}))(he)},34153:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return oe}});var x=ae(85500),dt=ae(62957),Ie=ae(7939),qe=ae(25399),ze=ae(66165),Fe={archiveTip:"archiveTip___ZP0rt"},Ue=ae(59301),he=(Ne,ve,Re)=>new Promise((Se,Pe)=>{var ye=Me=>{try{Ee(Re.next(Me))}catch(Ke){Pe(Ke)}},Ce=Me=>{try{Ee(Re.throw(Me))}catch(Ke){Pe(Ke)}},Ee=Me=>Me.done?Se(Me.value):Promise.resolve(Me.value).then(ye,Ce);Ee((Re=Re.apply(Ne,ve)).next())});const xe=({globalSetting:Ne,loading:ve,dispatch:Re,user:Se,shixunHomeworks:Pe,onClose:ye=()=>{},onSuccess:Ce=()=>{}})=>{var Ee,Me,Ke,je,_e,Je,Xe,ut,ot,ht,Ct,He,ft,De,Qe,Ot,it,at,Bt,We,Te,ct,Zt;return Ue.createElement(dt.default,{centered:!0,open:Pe.actionTabs.key=="\u5F52\u6863\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{Pe.actionTabs.goToBack(),Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Ue.createElement("div",null,((Ke=[0,1])==null?void 0:Ke.includes((Me=(Ee=Pe.actionTabs.params)==null?void 0:Ee.roleInfo)==null?void 0:Me.version_type))&&Ue.createElement(Ie.ZP,{onClick:()=>{var jt;Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),x.history.push(`/users/${(jt=Se.userInfo)==null?void 0:jt.login}/memberCenter`)}},"\u5347\u7EA7\u7248\u672C"),!((Je=[0,1,2])!=null&&Je.includes((_e=(je=Pe.actionTabs.params)==null?void 0:je.roleInfo)==null?void 0:_e.version_type))&&Ue.createElement(qe.Z,{title:Ue.createElement("div",null,Ue.createElement("img",{src:ae(89242),width:150,height:150,alt:""}))},Ue.createElement(Ie.ZP,null,"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")),Ue.createElement(Ie.ZP,{type:"primary",disabled:((ut=(Xe=Pe.actionTabs.params)==null?void 0:Xe.roleInfo)==null?void 0:ut.surplus_archive_view_count)==0,style:((ht=(ot=Pe.actionTabs.params)==null?void 0:ot.roleInfo)==null?void 0:ht.surplus_archive_view_count)==0?{marginLeft:"20px"}:{},onClick:()=>he(void 0,null,function*(){var jt;const tt=yield(0,ze.ZP)("/api/users/archive_view.json",{method:"post",body:{container_id:(jt=Pe.actionTabs.params)==null?void 0:jt.homework_id,container_type:"HomeworkCommon"}});(tt==null?void 0:tt.status)==0&&(Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Pe.actionTabs.goToDetail())})},"\u786E\u8BA4",((Ct=Pe.actionTabs.params)==null?void 0:Ct.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B"))},Ue.createElement("div",null,Ue.createElement("div",{className:Fe.archiveTip},"\u8BE5\u8BFE\u5802\u5B9E\u9A8C\u5DF2\u8D85\u8FC7 1 \u5E74\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u5F52\u6863\u3002"),Ue.createElement("div",{className:Fe.archiveTip},((He=Pe.actionTabs.params)==null?void 0:He.type)=="\u64CD\u4F5C"?"\u8BE5\u64CD\u4F5C":"\u67E5\u770B\u5386\u53F2\u5F52\u6863\u6570\u636E","\u5C06\u6D88\u8017",Ue.createElement("span",{style:{color:"#FA6400"}}," 1 "),"\u6B21\u67E5\u770B\u989D\u5EA6\uFF08\u5F53\u5929 24 \u70B9\u4E4B\u524D\u91CD\u590D",((ft=Pe.actionTabs.params)==null?void 0:ft.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B","\u4E0D\u91CD\u590D\u6263\u51CF\uFF09\u3002"),Ue.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px"}},"\u60A8\u5F53\u524D\u4E3A",Ue.createElement("span",{style:{color:"#3061D0"}}," ",((Qe=(De=Pe.actionTabs.params)==null?void 0:De.roleInfo)==null?void 0:Qe.version_type)==0?"\u57FA\u7840\u7248":((it=(Ot=Pe.actionTabs.params)==null?void 0:Ot.roleInfo)==null?void 0:it.version_type)==1?"\u6807\u51C6\u7248":((Bt=(at=Pe.actionTabs.params)==null?void 0:at.roleInfo)==null?void 0:Bt.version_type)==2?"\u4E13\u4E1A\u7248":"\u514D\u8D39\u7248","\u7528\u6237"),"\uFF0C\u6BCF\u5E74\u9ED8\u8BA4\u53EF\u67E5\u770B",Ue.createElement("span",{style:{color:"#3061D0"}}," ",(Te=(We=Pe.actionTabs.params)==null?void 0:We.roleInfo)==null?void 0:Te.archive_view_year_count," "),"\u6B21\u5386\u53F2\u5F52\u6863\u6570\u636E\u3002"),Ue.createElement("div",{className:Fe.archiveTip},"\u5269\u4F59\u53EF\u7528\uFF1A",Ue.createElement("span",{style:{color:"#FA6400"}},(Zt=(ct=Pe.actionTabs.params)==null?void 0:ct.roleInfo)==null?void 0:Zt.surplus_archive_view_count," "),"\u6B21\u3002"),Ue.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px",color:"#3061D0"}},"\u5347\u7EA7\u7248\u672C\u53EF\u83B7\u5F97\u66F4\u591A\u67E5\u770B\u989D\u5EA6\u3002")))};var oe=(0,x.connect)(({loading:Ne,globalSetting:ve,shixunHomeworks:Re,user:Se})=>({globalSetting:ve,loading:Ne.effects,shixunHomeworks:Re,user:Se}))(xe)},95707:function(Yn,Ut,ae){"use strict";ae.d(Ut,{AD:function(){return Qe},BA:function(){return ie},D9:function(){return ct},Hp:function(){return Je},IM:function(){return jt},Iy:function(){return ut},KM:function(){return ge},KU:function(){return hn},MJ:function(){return Xe},Ne:function(){return Zt},ON:function(){return vn},Uj:function(){return on},VY:function(){return _t},YO:function(){return Sn},YX:function(){return kt},Zn:function(){return Pe},_g:function(){return Ke},_k:function(){return We},c6:function(){return ft},cr:function(){return ye},eV:function(){return De},fi:function(){return Ce},gh:function(){return Ct},hS:function(){return tt},iA:function(){return Ee},j6:function(){return je},je:function(){return at},jj:function(){return _e},kS:function(){return Pt},lS:function(){return Bt},o6:function(){return He},pO:function(){return de},rQ:function(){return Ot},sA:function(){return ht},xm:function(){return Te},xo:function(){return Tt},y8:function(){return it},yd:function(){return Me}});var x=ae(7250),dt=ae(85500),Ie=ae(72916),qe=ae(6767),ze=ae(9294),Fe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(ee,se,le)=>se in ee?Fe(ee,se,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[se]=le,Ne=(ee,se)=>{for(var le in se||(se={}))he.call(se,le)&&oe(ee,le,se[le]);if(Ue)for(var le of Ue(se))xe.call(se,le)&&oe(ee,le,se[le]);return ee},ve=(ee,se,le)=>new Promise((Be,Ve)=>{var st=St=>{try{mt(le.next(St))}catch(Dt){Ve(Dt)}},gt=St=>{try{mt(le.throw(St))}catch(Dt){Ve(Dt)}},mt=St=>St.done?Be(St.value):Promise.resolve(St.value).then(st,gt);mt((le=le.apply(ee,se)).next())});const Re=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Se=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Pe=ee=>ve(void 0,null,function*(){Re(),(yield(0,x.YR)(Ne({},ee))).status===0&&(yield(0,Ie.QH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_couser_info.json`,query:ee}))),Se()}),ye=ee=>ve(void 0,null,function*(){const se=yield(0,x.yS)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(se.status===-2)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),Ce=ee=>ve(void 0,null,function*(){const se=yield(0,x.W0)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ve(void 0,null,function*(){const se=yield(0,x.Nl)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),Me=ee=>ve(void 0,null,function*(){const se=yield(0,x.IU)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),Ke=ee=>ve(void 0,null,function*(){const se=yield(0,x.td)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-2)return se;if(se.status===-3)(0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(se.status===-4)return se}}),je=ee=>ve(void 0,null,function*(){const se=yield(0,x.QX)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),_e=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.o_)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Je=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.ZL)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Xe=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.vV)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),ut=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.aP)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),ot=ee=>ve(void 0,null,function*(){Re(),(yield exportCourseWorkListAppendix(Ne({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Se()}),ht=ee=>ve(void 0,null,function*(){Re(),yield(0,Ie.FH)("",ze.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Se()}),Ct=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/attendances/export_xlsx_data.xlsx`,query:ee}))}),He=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/video_study_statics.xlsx`,query:ee}))}),ft=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_video_study.xlsx`,query:ee}))}),De=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_course_students_info.xlsx`,query:ee}))}),Qe=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ot=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ee}))}),it=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),at=ee=>ve(void 0,null,function*(){const se=yield(0,x.Uy)(Ne({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Bt=ee=>ve(void 0,null,function*(){const se=yield(0,x.tg)(Ne({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),We=ee=>ve(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/export_records/${ee.id}.xlsx`,query:ee}))}),Te=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ee}))}),ct=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/${ee.menuKey}_statistic.xlsx?${ee.checkedList.map(se=>`course_group_id[]=${se}`).join("&")}`,query:ee}))}),Zt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_training_objectives.xlsx`,query:ee}))}),jt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)(ee==null?void 0:ee.name,(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ee}))}),tt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_courses.xlsx`,query:ee}))}),Tt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_graduation_requirements.xlsx`,query:ee}))}),_t=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),hn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee.categoryId}/rank_list.xlsx`,query:ee}))}),Pt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),vn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),kt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee.categoryId}.json`,query:ee}))}),Sn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/polls/${ee==null?void 0:ee.id}/commit_result.json`,query:ee}))}),on=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ee}))}),de=(ee,se)=>ve(void 0,null,function*(){yield(0,Ie.FH)(se||"",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/competitions/${ee==null?void 0:ee.identifier}/competition_commit_records/member_works.xlsx`,query:ee}))}),ie=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/group_homeworks/import_group_template.xlsx`,query:ee}))})},65290:function(Yn,Ut,ae){"use strict";ae.d(Ut,{U:function(){return xe}});var x=ae(59301),dt=Object.defineProperty,Ie=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Fe=(oe,Ne,ve)=>Ne in oe?dt(oe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ve}):oe[Ne]=ve,Ue=(oe,Ne)=>{for(var ve in Ne||(Ne={}))qe.call(Ne,ve)&&Fe(oe,ve,Ne[ve]);if(Ie)for(var ve of Ie(Ne))ze.call(Ne,ve)&&Fe(oe,ve,Ne[ve]);return oe},he=(oe,Ne,ve)=>new Promise((Re,Se)=>{var Pe=Ee=>{try{Ce(ve.next(Ee))}catch(Me){Se(Me)}},ye=Ee=>{try{Ce(ve.throw(Ee))}catch(Me){Se(Me)}},Ce=Ee=>Ee.done?Re(Ee.value):Promise.resolve(Ee.value).then(Pe,ye);Ce((ve=ve.apply(oe,Ne)).next())});function xe(oe,Ne){const[ve,Re]=(0,x.useState)(Ne),[Se,Pe]=(0,x.useState)(!1),[ye,Ce]=(0,x.useState)();return[ve,Se,(Me,Ke=!1)=>he(this,null,function*(){const je=Ke?Ne:Ue(Ue({},ve),Me);Pe(!0),Re(je);const _e=yield oe(je);return Pe(!1),Ce(_e),_e}),ye,Ce]}},41751:function(Yn,Ut,ae){"use strict";ae.d(Ut,{AL:function(){return je},Iy:function(){return Ne},Qv:function(){return Se},ez:function(){return Ke},jb:function(){return ve}});var x=ae(32834),dt=ae.n(x),Ie=ae(11690),qe=ae.n(Ie);let ze=1;function Fe(ot,ht){const Ct=ot.match(/^(\s+)(?:```)/);if(Ct===null)return ht;const He=Ct[1];return ht.split(` -`).map(ft=>{const De=ft.match(/^\s+/);if(De===null)return ft;const[Qe]=De;return Qe.length>=He.length?ft.slice(He.length):ft}).join(` -`)}let Ue=[],he=["
    "];const xe=new(dt()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ne(){Ue.length=0,he=["
      "]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Re(ot,ht,Ct,He){if(ht>=ot.length||ot[ht].level<=Ct)return ht;var ft=ot[ht];He.push("
    • "+ft.text+""),ht++;var De=[];return ht=Re(ot,ht,ft.level,De),De.length>0&&(He.push("
        "),De.forEach(function(Qe){He.push(Qe)}),He.push("
      ")),He.push("
    • "),ht=Re(ot,ht,Ct,He),ht}function Se(){return Re(Ue,0,0,he),he.push("
    "),he.join("")}const Pe={heading(ot){const ht=oe.exec(ot);if(ze+=1,ht)return{type:"heading",raw:ht[0],depth:ht[1].length,text:ht[2]}},fences(ot){const ht=this.rules.block.fences.exec(ot);if(ht){const Ct=ht[0];let He=Fe(Ct,ht[3]||"");const ft=ht[2]?ht[2].trim():ht[2];if(["latex","katex","math"].indexOf(ft)>=0){const De=Ee(),Qe=He;He=De,Me[De]={type:"block",expression:Qe}}return{type:"code",raw:Ct,lang:ft,text:He}}}},ye=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ce=0;const Ee=()=>`__special_katext_id_${Ce++}__`;let Me={};function Ke(){return Me}function je(){Ce=0,Me={}}function _e(ot){return ot=ot.replace(ye,(ht,Ct)=>{const He=Ee();return Me[He]={type:"inline",expression:Ct},He}),ot}const Je=xe.listitem;xe.listitem=function(ot){return Je(_e(ot))};const Xe=xe.paragraph;xe.paragraph=function(ot){return Xe(_e(ot))};const ut=xe.tablecell;xe.tablecell=function(ot,ht){return ut(_e(ot),ht)},xe.code=function(ot,ht,Ct){const He=(ht||"").match(/\S*/)[0];return He?["latex","katex","math"].indexOf(He)>=0?`

    ${ot}

    `:`
    ${Ct?ot:(0,Ie.escape)(ot,!0)}
    -`:'
    '+(Ct?ot:(0,Ie.escape)(ot,!0))+"
    "},xe.heading=function(ot,ht,Ct){let He=this.options.headerPrefix+Ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ue.push({anchor:He,level:ht,text:ot}),"'+ot+""},dt().setOptions({silent:!0,gfm:!0,pedantic:!1}),dt().use({tokenizer:Pe,renderer:xe}),Ut.ZP=dt()},9981:function(Yn,Ut){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let dt=1;dt{const ze=Ie[qe];ze!==void 0&&(x[qe]=ze)})}return x};Ut.Z=ae},86013:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(19248);const Ie=qe=>{let ze;return typeof qe=="object"&&(qe!=null&&qe.clearIcon)?ze=qe:qe&&(ze={clearIcon:x.createElement(dt.Z,null)}),ze};Ut.Z=Ie},97224:function(Yn,Ut,ae){"use strict";ae.d(Ut,{F:function(){return x}});function x(Ie){return Ie!=null&&Ie===Ie.window}const dt=Ie=>{var qe,ze;if(typeof window=="undefined")return 0;let Fe=0;return x(Ie)?Fe=Ie.pageYOffset:Ie instanceof Document?Fe=Ie.documentElement.scrollTop:(Ie instanceof HTMLElement||Ie)&&(Fe=Ie.scrollTop),Ie&&!x(Ie)&&typeof Fe!="number"&&(Fe=(ze=((qe=Ie.ownerDocument)!==null&&qe!==void 0?qe:Ie).documentElement)===null||ze===void 0?void 0:ze.scrollTop),Fe};Ut.Z=dt},83010:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return qe}});var x=ae(16089);function dt(ze,Fe,Ue,he){const xe=Ue-Fe;return ze/=he/2,ze<1?xe/2*ze*ze*ze+Fe:xe/2*((ze-=2)*ze*ze+2)+Fe}var Ie=ae(97224);function qe(ze){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ue=()=>window,callback:he,duration:xe=450}=Fe,oe=Ue(),Ne=(0,Ie.Z)(oe),ve=Date.now(),Re=()=>{const Pe=Date.now()-ve,ye=dt(Pe>xe?xe:Pe,Ne,ze,xe);(0,Ie.F)(oe)?oe.scrollTo(window.pageXOffset,ye):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=ye:oe.scrollTop=ye,Pe{let{children:Bt}=at;const{getPrefixCls:We}=x.useContext(Ue.E_),Te=We("breadcrumb");return x.createElement("li",{className:`${Te}-separator`,"aria-hidden":"true"},Bt===""?Bt:Bt||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Ne=oe,ve=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ctBt[ct]||Te)}function Se(at,Bt,We,Te){if(We==null)return null;const{className:ct,onClick:Zt}=Bt,jt=ve(Bt,["className","onClick"]),tt=Object.assign(Object.assign({},(0,ze.Z)(jt,{data:!0,aria:!0})),{onClick:Zt});return Te!==void 0?x.createElement("a",Object.assign({},tt,{className:Ie()(`${at}-link`,ct),href:Te}),We):x.createElement("span",Object.assign({},tt,{className:Ie()(`${at}-link`,ct)}),We)}function Pe(at,Bt){return(Te,ct,Zt,jt,tt)=>{if(Bt)return Bt(Te,ct,Zt,jt);const Tt=Re(Te,ct);return Se(at,Te,Tt,tt)}}var ye=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{const{prefixCls:Bt,separator:We="/",children:Te,menu:ct,overlay:Zt,dropdownProps:jt,href:tt}=at,_t=(hn=>{if(ct||Zt){const Pt=Object.assign({},jt);if(ct){const vn=ct||{},{items:kt}=vn,Sn=ye(vn,["items"]);Pt.menu=Object.assign(Object.assign({},Sn),{items:kt==null?void 0:kt.map((on,de)=>{var{key:ge,title:ie,label:ee,path:se}=on,le=ye(on,["key","title","label","path"]);let Be=ee!=null?ee:ie;return se&&(Be=x.createElement("a",{href:`${tt}${se}`},Be)),Object.assign(Object.assign({},le),{key:ge!=null?ge:de,label:Be})})})}else Zt&&(Pt.overlay=Zt);return x.createElement(xe.Z,Object.assign({placement:"bottom"},Pt),x.createElement("span",{className:`${Bt}-overlay-link`},hn,x.createElement(he.Z,null)))}return hn})(Te);return _t!=null?x.createElement(x.Fragment,null,x.createElement("li",null,_t),We&&x.createElement(Ne,null,We)):null},Ee=at=>{const{prefixCls:Bt,children:We,href:Te}=at,ct=ye(at,["prefixCls","children","href"]),{getPrefixCls:Zt}=x.useContext(Ue.E_),jt=Zt("breadcrumb",Bt);return x.createElement(Ce,Object.assign({},ct,{prefixCls:jt}),Se(jt,ct,We,Te))};Ee.__ANT_BREADCRUMB_ITEM=!0;var Me=Ee,Ke=ae(36237),je=ae(63356),_e=ae(16931),Je=ae(51636);const Xe=at=>{const{componentCls:Bt,iconCls:We,calc:Te}=at;return{[Bt]:Object.assign(Object.assign({},(0,je.Wf)(at)),{color:at.itemColor,fontSize:at.fontSize,[We]:{fontSize:at.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:at.linkColor,transition:`color ${at.motionDurationMid}`,padding:`0 ${(0,Ke.unit)(at.paddingXXS)}`,borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",marginInline:Te(at.marginXXS).mul(-1).equal(),"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover}},(0,je.Qy)(at)),"li:last-child":{color:at.lastItemColor},[`${Bt}-separator`]:{marginInline:at.separatorMargin,color:at.separatorColor},[`${Bt}-link`]:{[` +`)}]};var he=ae(53184),xe=ae.n(he),oe=(kt,Sn,on)=>new Promise((de,ge)=>{var ie=le=>{try{se(on.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(on.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((on=on.apply(kt,Sn)).next())});const Ne={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ve=(kt,Sn,on,de)=>{const ge=Sn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:on.lineNumber,endColumn:on.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:kt.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Re=(kt,Sn,on,de)=>{kt.languages.registerCompletionItemProvider(Sn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),se={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},le=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ve(kt,ge,ie,se),...on.map(Ve=>({label:Ve,kind:kt.languages.CompletionItemKind.Keyword,documentation:Ve,insertText:Ve,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...de.map(Ve=>({label:Ve.label,kind:kt.languages.CompletionItemKind.Snippet,documentation:Ve.content,insertText:le.startsWith("#")?Ve.content.replace(/#/,""):Ve.content,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Se=kt=>{Ne.languages.forEach(Sn=>{kt.languages.registerDocumentFormattingEditProvider(Sn,{provideDocumentFormattingEdits(on){return oe(this,null,function*(){const de=xe()(on.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:on.getFullModelRange(),text:de}]})}})}),Re(kt,"java",qe.keywords,qe.quickKey),Re(kt,"cpp",ze.keywords,ze.quickKey),Re(kt,"c",Ie.keywords,[]),Re(kt,"python",Fe.keywords,Fe.quickKey),Re(kt,"scala",Ue.keywords,Ue.quickKey)};const Oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ye=Object.defineProperty,Ce=(kt,Sn,on)=>Sn in kt?ye(kt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:on}):kt[Sn]=on,Ee=(kt,Sn,on)=>Ce(kt,typeof Sn!="symbol"?Sn+"":Sn,on);const Me=class Ov{constructor(Sn,on,de){this.placeholder=Sn,this.editor=on,this.monaco=de,on.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ov.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(Me,"ID","editor.widget.placeholderHint");var je=Me,Qe=ae(96236),Je=ae(6767),Xe=ae(25399),ut=ae(78267),ot=ae(2063),ht=ae(56102),Ct=Object.defineProperty,He=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,it=(kt,Sn,on)=>Sn in kt?Ct(kt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:on}):kt[Sn]=on,at=(kt,Sn)=>{for(var on in Sn||(Sn={}))_e.call(Sn,on)&&it(kt,on,Sn[on]);if(De)for(var on of De(Sn))Ot.call(Sn,on)&&it(kt,on,Sn[on]);return kt},Bt=(kt,Sn)=>He(kt,ft(Sn)),We=(kt,Sn)=>{var on={};for(var de in kt)_e.call(kt,de)&&Sn.indexOf(de)<0&&(on[de]=kt[de]);if(kt!=null&&De)for(var de of De(kt))Sn.indexOf(de)<0&&Ot.call(kt,de)&&(on[de]=kt[de]);return on},Te=(kt,Sn,on)=>new Promise((de,ge)=>{var ie=le=>{try{se(on.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(on.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((on=on.apply(kt,Sn)).next())});function ct(kt){return/^\d+$/.test(kt)?`${kt}px`:kt}function Zt(){}let zt=!1;const tt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Pt(kt=[]){let Sn=kt;if(Array.isArray(kt)){for(let on=0;onTe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(kt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",kt)}});var Tt=kt=>{var Sn=kt,{width:on="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:se={},overrideServices:le={},theme:Be="vs-dark",onEditBlur:Ve,isCopy:st=!1,onSave:gt,autoHeight:mt=!1,forbidCopy:St=!1,forbidCopyTips:Dt,onChange:jt=Zt,editorDidMount:xt=Zt,onFocus:lt=Zt,onBreakPoint:Xt=Zt,breakPointValue:Vt=[],filename:wn="educoder.txt",errorLine:an,errorContent:en="",highlightLine:zn,openBreakPoint:In=!1,placeholder:Qt="",showMiniMap:sn=!0}=Sn,Nn=We(Sn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Vn=(0,x.useRef)(),Lt=(0,x.useRef)({}),Gt=(0,x.useRef)(),nn=(0,x.useRef)(),Cn=(0,x.useRef)([]),Gn=(0,x.useRef)(!1),Sr=(0,x.useRef)(),ii=(0,x.useRef)(),si=(0,x.useRef)(!1),[sr,Lr]=(0,x.useState)(!1);function Qn(){let or;return Vn.current&&(or=new dt.Z(Mr=>{for(let gi of Mr)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&Lt.current.instance.layout()}),or.observe(Vn.current)),or}function Hn(){Je.ZP.warning({content:decodeURIComponent(Dt||Oe),key:"monaco-editor-tip"})}const Jn=()=>{let or=Lt.current.instance;if(ge!=null&&or&&sr){const Mr=or.getModel();Mr&&ge!==Mr.getValue()&&(zt=!0,Mr.setValue(ge),or.layout(),zt=!1)}};(0,x.useEffect)(()=>{const or=ot.Z.subscribe("formatDocument",Mr=>{var gi;let oi=Lt.current.instance;(gi=oi==null?void 0:oi.getAction)==null||gi.call(oi,"editor.action.formatDocument").run()});return window.updateMonacoValue=Mr=>{jt(Mr)},or},[]),(0,x.useEffect)(()=>{var or;let Mr=Lt.current.instance;nn.current&&clearTimeout(nn.current),nn.current=setTimeout(()=>{Jn()},500),ge&&(ge!=null&&ge.length)&&((or=Mr==null?void 0:Mr.updateOptions)==null||or.call(Mr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,sr,Lt.current]),(0,x.useEffect)(()=>{if(an&&Lt.current&&Lt.current.instance){let Mr=Lt.current.instance;Mr.changeViewZones(function(gi){var oi=document.createElement("div");oi.style.padding="10px 20px",oi.style.width="calc(100% - 20px)",oi.className="my-error-line-wrp",oi.innerHTML=en,gi.addZone({afterLineNumber:an||11,heightInLines:3,domNode:oi})});var or={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Mr.addOverlayWidget(or),Mr.revealPositionInCenter({lineNumber:20,column:1})}},[an,Lt.current,sr]);const ir=(or="",Mr)=>{if(!or||or.trim()==="")return!0;const oi=Lt.current.instance.getModel().getLineTokens(Mr);let un=!1;for(let bt=0;bt<2;bt++)oi.getStandardTokenType(bt)===1&&(un=!0);return un};(0,x.useEffect)(()=>{var or;const Mr=(or=Lt.current)==null?void 0:or.instance;if(Mr&&sr&&St){const gi=Mr.onDidBlurEditorWidget(()=>{si.current=!1}),oi=Mr.onDidFocusEditorText(()=>{si.current=!0});return()=>{gi.dispose(),oi.dispose()}}},[Lt.current,sr,St]),(0,x.useEffect)(()=>{var or;if((or=Lt.current)!=null&&or.instance&&sr&&In){let Mr=Lt.current.instance,gi=Mr.getModel();if(!gi)return;(()=>{var dr;let lr=[],$n=[];const ei=gi.getAllDecorations();for(let xi of ei)xi.options.className==="highlighted-line"&&(lr.push((dr=xi==null?void 0:xi.range)==null?void 0:dr.startLineNumber),$n.push(xi==null?void 0:xi.id));if(zn===lr[0])return;gi.deltaDecorations($n,[]);const Ti=gi.getLineCount();zn&&zn<=Ti&&(Mr.deltaDecorations([],[{range:new _t.Range(zn,1,zn,gi.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Mr.revealLineInCenter(zn))})();const un=(dr=!1)=>{var lr;let $n=[],ei=[];const Ti=gi.getAllDecorations();for(let xi of Ti)xi.options.linesDecorationsClassName==="breakpoints-select"&&($n.push((lr=xi==null?void 0:xi.range)==null?void 0:lr.startLineNumber),ei.push(xi==null?void 0:xi.id));if(dr)return{lines:$n,ids:ei};Xt($n)},bt=dr=>Te(void 0,null,function*(){let lr={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[lr]),un()}),Rt=dr=>Te(void 0,null,function*(){let lr=[];const $n=Mr.getLineDecorations(dr);for(let ei of $n)ei.options.linesDecorationsClassName==="breakpoints-select"&&lr.push(ei.id);yield gi.deltaDecorations(lr,[]),un()}),hn=dr=>{let lr=Mr.getLineDecorations(dr);for(let $n of lr)if($n.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ut.isEqual)(Vt,un(!0).lines)){gi.deltaDecorations(un(!0).ids,[]);const dr=Vt.map(lr=>({range:new _t.Range(lr,1,lr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],dr)}const Wt=Mr.onDidChangeModelContent(dr=>{let lr=Mr.getPosition();if(lr){let $n=lr.lineNumber;clearTimeout(ii.current),ii.current=setTimeout(()=>{ir(gi.getLineContent($n),$n)?Rt($n):hn($n)?(Rt($n),bt($n)):un()},100)}}),yn=Mr.onMouseDown(dr=>{var lr,$n,ei;if(dr.target.detail&&((ei=($n=(lr=dr.target)==null?void 0:lr.element)==null?void 0:$n.className)!=null&&ei.includes("line-numbers"))){let Ti=dr.target.position.lineNumber;if(ir(gi.getLineContent(Ti),Ti))return;hn(Ti)?Rt(Ti):bt(Ti)}}),On=dr=>{let lr={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Cn.current=Mr.deltaDecorations(Cn.current,[lr])},jr=()=>{Cn.current=Mr.deltaDecorations(Cn.current,[])},$r=Mr.onMouseMove(dr=>{var lr,$n,ei;if(jr(),dr.target.detail&&((ei=($n=(lr=dr.target)==null?void 0:lr.element)==null?void 0:$n.className)!=null&&ei.includes("line-numbers"))){let Ti=dr.target.position.lineNumber;if(ir(gi.getLineContent(Ti),Ti))return;On(Ti)}}),Xr=Mr.onMouseLeave(()=>{jr()});return()=>{Wt.dispose(),yn.dispose(),$r.dispose(),Xr.dispose()}}},[Lt.current,sr,Vt,zn,In,ie]),(0,x.useEffect)(()=>{var or;(or=Lt.current)!=null&&or.instance&&In&&Lt.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function Zn(){let or=Lt.current.instance;if(or){const Mr=or.getSelection(),gi=Lt.current.pastePos||{},oi=new _t.Range(gi.startLineNumber||Mr.endLineNumber,gi.startColumn||Mr.endColumn,gi.endLineNumber||Mr.endLineNumber,gi.endColumn||Mr.endColumn);setTimeout(()=>{or.executeEdits("",[{range:oi,text:""}])},300)}}function Cr(or){(window.navigator.platform.match("Mac")?or.metaKey:or.ctrlKey)&&or.keyCode==83&&(or.preventDefault(),gt())}const Er=()=>{if(mt&&Lt.current.instance){const or=Lt.current.instance.getContentHeight();ro(or{if(!si.current)return;const{keyCode:Mr,ctrlKey:gi,metaKey:oi,target:un,type:bt}=or;return(bt==="paste"||(Mr===67||Mr===86)&&(oi||gi))&&un.nodeName==="TEXTAREA"&&(Hn(),or.preventDefault()),!1};function di(or,Mr){var gi=window.URL||window.webkitURL||window,oi=new Blob([Mr]),un=document.createElementNS("http://www.w3.org/1999/xhtml","a");un.href=gi.createObjectURL(oi),un.download=or,Nr(un)}(0,x.useEffect)(()=>{Er()},[Er]),(0,x.useEffect)(()=>{Vn.current&&!sr&&Promise.all([ae.e(8909),ae.e(3751)]).then(ae.bind(ae,71448)).then(or=>{try{_t=or,Lt.current.instance=_t.editor.create(Vn.current,{value:ge,language:Pt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:sn||!1}},le);const Mr=Lt.current.instance;let un=[...Qe.BH._menuItems].find(Wt=>Wt[0]._debugName=="EditorContext")[1],bt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Rt=(Wt,yn)=>{var On,jr;let $r=Wt._first;do yn.includes((jr=(On=$r.element)==null?void 0:On.command)==null?void 0:jr.id)&&Wt._remove($r);while($r=$r.next)};if(xt(Mr,_t),setTimeout(()=>{Er(),Lt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{di(wn||"educoder.txt",Mr.getValue())}})},500),Lt.current.subscription=Mr.onDidChangeModelContent(Wt=>{Gn.current?clearTimeout(Sr.current):(Er(),jt(Mr.getValue(),Wt)),Sr.current=setTimeout(()=>{Gn.current=!1},500)}),window.Monaco||Se(_t,Pt(ie)),St&&(Rt(un,bt),Vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",pi),window.removeEventListener("paste",pi),window.addEventListener("keydown",pi),window.addEventListener("paste",pi)),window.Monaco=_t,Ve&&Mr.onDidBlurEditorWidget(()=>{Ve(Mr.getValue())}),lt&&Mr.onDidFocusEditorText(()=>{St&&fn(),lt(Mr.getValue())}),St){fn();try{Mr.onDidPaste(Wt=>{const yn=Mr.getSelection(),On=Lt.current.pastePos||{},jr=new _t.Range(On.startLineNumber||yn.endLineNumber,On.startColumn||yn.endColumn,On.endLineNumber||yn.endLineNumber,On.endColumn||yn.endColumn);Mr.executeEdits("",[{range:Wt.range,text:""}])})}catch(Wt){}}let hn=Qn();return Qt&&typeof Qt=="string"&&new je(Qt,Mr,_t),Lr(!0),()=>{const Wt=Lt.current.instance;Wt.dispose();const yn=Wt.getModel();yn&&yn.dispose(),Lt.current.subscription&&Lt.current.subscription.dispose(),hn.unobserve(Vn.current)}}catch(Mr){}})},[]),(0,x.useEffect)(()=>{if(Lt.current.instance&&sr)return document.addEventListener("keydown",Cr,!1),()=>{document.removeEventListener("keydown",Cr)}},[gt,sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;if(or&&sr){let Mr=Pt(ie);_t.editor.setModelLanguage(or.getModel(),Mr)}},[ie,sr]),(0,x.useEffect)(()=>{Lt.current.instance&&sr&&_t.editor.setTheme(Be)},[Be,sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;Gt.current=se,or&&sr&&(or.updateOptions(at({},se)),setTimeout(()=>{or.getModel().updateOptions(at({},se))},200))},[JSON.stringify(se),sr]),(0,x.useEffect)(()=>{let or=Lt.current.instance;or&&sr&&or.layout()},[on,de,sr]);const[fi,Oi]=(0,x.useState)(ct(on)),[Ci,ro]=(0,x.useState)(ct(de)),Yi=Bt(at({},ee),{width:fi,height:Ci,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Vn,style:Yi,onFocus:()=>{St&&fn()}},st&&x.createElement(ht.CopyToClipboard,{text:ge,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Xe.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function vn({width:kt="100%",height:Sn="100%",original:on,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[se,le]=(0,x.useState)(null);function Be(mt){let St;return ee.current&&(St=new dt.Z(Dt=>{for(let jt of Dt)(jt.target.offsetHeight>0||jt.target.offsetWidth>0)&&mt.layout()}),St.observe(ee.current)),St}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(mt=>{_t=mt;const St=_t.editor.createDiffEditor(ee.current,Bt(at({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ie),{wordWrap:!0}));le(St);let Dt=Be(St);return()=>{St.dispose();const jt=St.getModel();jt&&jt.dispose(),Dt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{se&&se.setModel({original:_t.editor.createModel(on,ge),modified:_t.editor.createModel(de,ge)})},[on,de,ge,se]);const Ve=ct(kt),st=ct(Sn),gt={width:Ve,height:st};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:gt})}},73913:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ne}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},dt=ae(29787),Ie=ae(25399),qe=ae(89787),ze=ae(92310),Fe=ae.n(ze),Ue=ae(72916),he=ae(44454),xe=ae(59301),Ne=({className:ve,dataSource:Re=[],col:Se=4,right:Oe,bottom:ye=23,precision:Ce=0,wrapWidth:Ee=1200,trackEventItems:Me,loading:Ke,onRemove:je=()=>{},isCurrent:Qe=!0,showProgress:Je=!1,showAlias:Xe=!1,category:ut="notDisplay",hiddenClick:ot=()=>{}})=>{const ht=Math.floor((Ee-(Se-1)*Oe)/Se),Ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return xe.createElement(dt.Z,{spinning:Ke},xe.createElement("div",{className:Fe()(x.list,ve)},!!(Re!=null&&Re.length)&&(Re==null?void 0:Re.map((He,ft)=>{var De,_e,Ot,it,at,Bt,We;const{name:Te,id:ct,identifier:Zt,featured:zt,school_name:tt,image_url:Pt,excellent:_t,is_plan:fn}=He;return xe.createElement("div",{key:ct,className:Qe&&Je?x.wrapisCurrent:x.wrap,style:{width:ht,marginRight:(1+ft)%Se===0?0:Oe+Ce,marginBottom:ye}},xe.createElement("a",{className:x.li,onClick:Tt=>{Tt.preventDefault(),Tt.stopPropagation(),Me&&(0,Ue.L9)([Me]),(0,Ue.xg)(`/paths/${Zt}`)}},xe.createElement("div",{className:x.img},xe.createElement("img",{className:x.cover,src:`${Pt}`}),(De=He==null?void 0:He.subject_tags)==null?void 0:De.map((Tt,vn)=>{var kt,Sn;if(vn===0){const de=(kt=Ct.find(ge=>ge.name==Tt))==null?void 0:kt.swclass;return xe.createElement("span",{className:`sprite ${de} ${x.sign}`,style:{left:"-4px"}})}const on=(Sn=Ct.find(de=>de.name==Tt))==null?void 0:Sn.ptclass;return xe.createElement("span",{className:`sprite ${on} ${x.sign}`,style:{left:`${48+52*(vn-1)+2*vn}px`}})}),xe.createElement("div",{className:x.tagsDom},xe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(He==null?void 0:He.excellent)&&xe.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((_e=He==null?void 0:He.custom_tags)==null?void 0:_e.length)>0&&(He==null?void 0:He.custom_tags.map((Tt,vn)=>{var kt;return xe.createElement(Ie.Z,{title:Tt==null?void 0:Tt.tag_name,key:vn},xe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((kt=He==null?void 0:He.custom_tags)==null?void 0:kt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},xe.createElement("span",{className:"multi-llipsis1e"},Tt==null?void 0:Tt.tag_name)))})))),ut=="hide"&&(He==null?void 0:He.studying)&&Qe&&xe.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),je(He)}},xe.createElement("i",{className:"iconfont icon-yichu1 font12"}),xe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(ut)&&Qe&&xe.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),ot(He)}},xe.createElement("i",{className:`iconfont ${ut=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),xe.createElement("span",null,ut=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),xe.createElement("div",{className:x.name},xe.createElement(Ie.Z,{title:Xe&&(He!=null&&He.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${He==null?void 0:He.excellent_alias_name}`)):Te},xe.createElement("span",{className:x.e},Xe&&(He==null?void 0:He.excellent_alias_name)||Te))),Qe&&Je&&((Ot=He==null?void 0:He.progress)==null?void 0:Ot.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(qe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((it=He==null?void 0:He.progress)==null?void 0:it.my_score)/((at=He==null?void 0:He.progress)==null?void 0:at.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Bt=He==null?void 0:He.progress)==null?void 0:Bt.my_score,"/",(We=He==null?void 0:He.progress)==null?void 0:We.all_score),(!Qe||!Je)&&xe.createElement(Ie.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${tt}`},xe.createElement("div",{className:x.unit},xe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),tt)),(!Qe||!Je)&&xe.createElement("div",{className:x.tags},xe.createElement("div",null,xe.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,He.stages_count))),xe.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,He.members_count)))))))})),!Re.length&&xe.createElement(he.Z,null)))}},79333:function(Yn,Ut,ae){"use strict";ae.d(Ut,{jL:function(){return qe},w9:function(){return Te},QD:function(){return Vt},cQ:function(){return ft.Z},op:function(){return St},O5:function(){return Qn},_b:function(){return Qt},t7:function(){return Ce},Gi:function(){return _t},YG:function(){return tt},qp:function(){return oe},vr:function(){return en},qE:function(){return xt},Je:function(){return Ke},wb:function(){return He},cq:function(){return on},tp:function(){return Re}});var x=ae(59301),dt={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},qe=({dataSource:Hn=[],img:Jn,imgWidth:ir=346,title:Zn,sunTitle:Cr,bannerExtraContent:Er})=>x.createElement("div",{className:dt.banner},x.createElement("div",{className:dt.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Zn),x.createElement("span",null,Cr)),Hn.length>0&&x.createElement("div",{className:dt.btns},Hn.map((Nr,pi)=>x.createElement("div",{key:pi,onClick:Nr.click},Nr.name,Nr.sign?x.createElement("span",{className:"sprite sprite-33"}):null))),Er),Jn&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:ir}))),ze={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Fe=ae(92310),Ue=ae.n(Fe),he=ae(78267),oe=({dataSource:Hn=[],value:Jn,onChange:ir,onTitleChange:Zn,className:Cr,title:Er,titleWidth:Nr=41,style:pi={},fontColor:di="#6A7283",showCount:fi})=>{const[Oi,Ci]=(0,x.useState)(1),[ro,Yi]=(0,x.useState)(!1),or=(0,x.useRef)(null),Mr=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var gi;Hn.length!==0&&(((gi=or==null?void 0:or.current)==null?void 0:gi.clientHeight)>97?Ci(1):Ci(0)),Hn.length===0&&Ci(0),Yi(!1)},[Hn]),x.createElement("div",{className:Ue()(ze.row,Cr,"fadeIn","animated"),style:pi},x.createElement("div",{onClick:(0,he.throttle)(()=>Zn==null?void 0:Zn(),2e3),style:{width:Nr,marginTop:ro?12:4},className:`${ze.title} ${Zn?"current":""}`},Er),x.createElement("div",{className:ro?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},x.createElement("div",{className:ze.bar,ref:Mr,style:Oi>0?{height:Oi===1?97:"auto",overflow:Oi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:ze.tag,ref:or},Hn==null?void 0:Hn.map(gi=>x.createElement("span",{onClick:()=>ir(gi.id),key:gi.id,style:{color:di},className:Jn===gi.id?ze.active:""},x.createElement("span",{title:gi.name,className:ze.name},gi.name),!!fi&&x.createElement("span",{className:ze.num},gi.count))))),!!Oi&&x.createElement(x.Fragment,null,Oi===1?x.createElement("div",{onClick:()=>{var gi;Ci(2),((gi=or==null?void 0:or.current)==null?void 0:gi.clientHeight)>245?Yi(!0):Yi(!1)},className:ze.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Mr.current.scrollTop=0,Ci(1),Yi(!1)},className:ze.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Re=({dataSource:Hn=[],value:Jn,onChange:ir,className:Zn,style:Cr={}})=>x.createElement("div",{style:Cr,className:Ue()(Ne.tabs,Zn)},Hn.map(Er=>x.createElement("span",{onClick:()=>ir(Er.id),className:Jn===Er.id?Ne.active:"",key:Er.id},Er.name))),Se={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Oe=ae(37568),Ce=({dataSource:Hn=[],value:Jn="",onChange:ir,onInputChange:Zn=()=>{},className:Cr,style:Er={},placeholder:Nr,allowClear:pi=!1})=>{var di;const[fi,Oi]=(0,x.useState)(""),[Ci,ro]=(0,x.useState)("");(0,x.useEffect)(()=>{var Mr;let gi=Jn;(Mr=JSON.stringify(Jn))!=null&&Mr.includes("{")&&(Oi(Jn.id),gi=Jn.value||"");try{ro(decodeURIComponent(gi||""))}catch(oi){ro(decodeURIComponent(gi||""))}},[Jn]);const Yi=()=>{ir(encodeURIComponent(Ci),fi||null)},or=Mr=>{Mr!==fi&&(Oi(Mr),ir(encodeURIComponent(Ci),Mr))};return x.createElement("div",{className:Ue()(Se.input,Cr),style:Er},!!Hn.length&&x.createElement("div",{className:Se.dropdown},x.createElement("div",{className:Se.text},(di=Hn.find(Mr=>Mr.id===fi))==null?void 0:di.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:Se.b1}),x.createElement("b",{className:Se.b2})),x.createElement("div",{className:Se.menu},Hn.map((Mr,gi)=>x.createElement("div",{key:gi,onClick:()=>or(Mr.id)},Mr.name)))),x.createElement(Oe.default,{onPressEnter:Yi,value:Ci,onChange:Mr=>{ro(Mr.target.value),Zn(encodeURIComponent(Mr.target.value),fi||null)},placeholder:Nr,variant:"borderless",allowClear:pi,onClear:()=>ir("",fi||null)}),x.createElement("i",{onClick:Yi,className:"iconfont icon-sousuo9 font14 current"}))},Ee={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ke=({value:Hn,onChange:Jn,className:ir,total:Zn,pageSize:Cr,style:Er={}})=>{const Nr=Hn<2,pi=Hn>=Math.ceil(Zn/Cr);return Zn<=Cr?x.createElement(x.Fragment,null):x.createElement("div",{className:Ue()(Ee.quickPager,ir),style:Er},x.createElement("div",{onClick:()=>{Nr||Jn(Hn-1,"prev")},className:Nr?Ee.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{pi||Jn(Hn+1,"next")},className:pi?Ee.disabled:""},"\u4E0B\u4E00\u9875"))},je={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Qe=ae(29787),Je=ae(25399),Xe=ae(63139),ut=ae(9294),ot=ae(72916),ht=ae(44454),He=({className:Hn,dataSource:Jn=[],col:ir=4,right:Zn,bottom:Cr=23,precision:Er=0,wrapWidth:Nr=1200,trackEventItems:pi,loading:di})=>{const fi=Math.floor((Nr-(ir-1)*Zn)/ir);return x.createElement(Qe.Z,{spinning:di},x.createElement("div",{className:Ue()(je.list,Hn)},!!Jn.length&&Jn.map((Oi,Ci)=>{const{name:ro,id:Yi,identifier:or,power:Mr,cover_image_id:gi,pic:oi}=Oi;return x.createElement("div",{className:je.wrap,key:Yi,style:{width:fi,marginRight:(1+Ci)%ir===0?0:Zn+Er,marginBottom:Cr}},x.createElement("a",{target:"_blank",href:`/shixuns/${or}/challenges`,className:je.li,onClick:un=>{un.preventDefault(),pi&&(0,ot.L9)([pi]),Mr&&(0,ot.xg)(`/shixuns/${or}/challenges`)}},x.createElement("div",{className:je.img},x.createElement("img",{className:je.cover,src:`${oi}`}),Oi.is_jupyter&&x.createElement("span",{className:`sprite sprite-43 ${je.sign}`}),Oi.is_jupyter_lab&&x.createElement("span",{className:`sprite sprite-42 ${je.sign}`}),Oi.is_unity_3d&&x.createElement("span",{className:`sprite sprite-44 ${je.sign}`})),x.createElement("div",{className:je.name},x.createElement(Je.Z,{title:ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:je.e},ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:je.tags},x.createElement(Je.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,Oi.challenges_count))),!!Oi.myshixuns_count&&x.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,Oi.myshixuns_count))),x.createElement(Je.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,Oi.level))),x.createElement("div",{className:je.rate},x.createElement(Xe.Z,{allowHalf:!0,disabled:!0,defaultValue:Oi.score_info}),x.createElement("span",null,"\xA0",Oi.score_info?`${Oi.score_info}\u5206`:"5\u5206")))),!Mr&&x.createElement("div",{className:je.lockWrap},x.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&x.createElement(ht.Z,null)))},ft=ae(73913),De={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},_e=ae(62957),Ot=ae(96599),it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",at=ae(59301),Bt=(Hn,Jn,ir)=>new Promise((Zn,Cr)=>{var Er=di=>{try{pi(ir.next(di))}catch(fi){Cr(fi)}},Nr=di=>{try{pi(ir.throw(di))}catch(fi){Cr(fi)}},pi=di=>di.done?Zn(di.value):Promise.resolve(di.value).then(Er,Nr);pi((ir=ir.apply(Hn,Jn)).next())}),Te=({className:Hn,dataSource:Jn=[],col:ir=4,right:Zn,bottom:Cr=23,precision:Er=0,wrapWidth:Nr=1200,trackEventItems:pi,loading:di,category:fi,hiddenClick:Oi,handleVery:Ci=()=>!0,isCurrent:ro})=>{const[Yi,or]=_e.default.useModal(),Mr=Math.floor((Nr-(ir-1)*Zn)/ir),gi=oi=>Bt(void 0,null,function*(){Yi.confirm({title:"\u7F6E\u9876",width:500,content:at.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",at.createElement("span",{className:"c-blue"},"\u201C",oi.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return at.createElement(Qe.Z,{spinning:di},or,at.createElement("div",{className:Ue()(De.list,Hn)},!!Jn.length&&Jn.map((oi,un)=>{const{subject_identifier:bt,id:Rt,identifier:hn,power:Wt}=oi,yn=oi.is_public!=0&&oi.is_public;return at.createElement("div",{className:De.wrap,key:Rt,style:{width:Mr,marginRight:(1+un)%ir===0?0:Zn+Er,marginBottom:Cr}},oi.homepage_show&&at.createElement("div",{className:De.btnsTop},at.createElement(Ot.default,{color:"red"},"\u7F6E\u9876")),at.createElement("a",{className:De.li,onClick:On=>{On.preventDefault(),Ci(oi==null?void 0:oi.first_category_url)&&(pi&&(0,ot.L9)([pi]),(0,ot.xg)(oi.first_category_url))}},at.createElement("div",{className:De.top},at.createElement(Je.Z,{title:oi.name},at.createElement("div",{className:De.name},oi.name)),at.createElement("img",{className:De.img,src:ut.Z.IMG_SERVER+"/images/"+oi.avatar_url}),at.createElement("div",{className:De.text,title:oi.creator},oi.creator),bt&&at.createElement("div",{className:De.btns},at.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),at.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),yn&&at.createElement("div",{className:De.sign},"\u516C\u5F00"),ro&&at.createElement("div",{className:De.hidden,onClick:On=>{On.stopPropagation(),Oi(oi)}},at.createElement("i",{className:`iconfont ${fi=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),fi=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),at.createElement("div",{className:De.bottom},oi.visits>0&&at.createElement(Je.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-liulanyan"}),at.createElement("span",null,oi.visits))),oi.course_members_count>0&&at.createElement(Je.Z,{title:"\u6210\u5458",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-chengyuan"}),oi.course_members_count)),oi.tasks_count>0&&at.createElement(Je.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-zuoye"}),oi.tasks_count)),oi.is_end?at.createElement("div",{style:{color:"#6B758B"}}):at.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!oi.is_accessible&&at.createElement("div",{className:De.lockWrap},at.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),at.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&at.createElement(ht.Z,null)))},ct={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Zt=ae(85500),tt=({dataSource:Hn=[],value:Jn,onChange:ir,className:Zn,style:Cr={},tabBarExtraContent:Er})=>x.createElement("div",{className:Ue()(ct.tabs,Zn),style:Cr},x.createElement("div",{className:ct.tabsWrap},Hn.map((Nr,pi)=>!(Nr!=null&&Nr.hide)&&x.createElement("aside",{className:ct.tab,onClick:()=>{ir(Nr.id),Nr.link&&Zt.history.push(Nr.link)},key:pi},x.createElement("div",{className:Jn===Nr.id?ct.active:""},Nr.name),(Nr==null?void 0:Nr.resetCount)==null&&(Nr==null?void 0:Nr.total)!==void 0&&x.createElement("span",null,"\uFF08",Nr==null?void 0:Nr.total,"\uFF09"),(Nr==null?void 0:Nr.resetCount)!==void 0&&(Nr==null?void 0:Nr.total)!==void 0&&x.createElement(Je.Z,{title:(Nr==null?void 0:Nr.tip)!=null?Nr==null?void 0:Nr.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Nr==null?void 0:Nr.resetCount),"/",x.createElement("span",null,Nr==null?void 0:Nr.total),"\uFF09"))))),x.createElement("div",{className:ct.tabBar},Er)),_t=({className:Hn,style:Jn={},children:ir})=>x.createElement("div",{className:Ue()(Hn),style:Jn},ir),fn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Tt=ae(75727),vn=ae(93041);const kt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var on=({sortValue:Hn,dropValue:Jn,className:ir,onSort:Zn,onDrop:Cr,dataSource:Er=kt})=>{var Nr;return x.createElement("div",{className:Ue()(fn.orderWrap,ir)},x.createElement(Tt.Z,{dropdownRender:()=>x.createElement(vn.default,null,Er.map((pi,di)=>x.createElement(vn.default.Item,{key:di,onClick:()=>Cr(pi.id)},pi.name)))},x.createElement("span",{className:fn.orderTextWrap},(Nr=Er.find(pi=>Jn===pi.id))==null?void 0:Nr.name)),x.createElement("span",{className:fn.orderIconWrap},x.createElement("span",{className:fn.orderAsc},x.createElement("i",{className:Hn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${fn.cursorPointer} ${fn.active}`:`iconfont icon-sanjiaoxing-up font12 ${fn.cursorPointer}`,onClick:()=>Zn(Hn==="asc"?"desc":"asc")})),x.createElement("span",{className:fn.orderDesc},x.createElement("i",{className:Hn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${fn.cursorPointer} ${fn.active}`:`iconfont icon-sanjiaoxing-down font12 ${fn.cursorPointer}`,onClick:()=>Zn(Hn==="asc"?"desc":"asc")}))))},de={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ge=ae(7939),ie=Object.defineProperty,ee=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Be=(Hn,Jn,ir)=>Jn in Hn?ie(Hn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Hn[Jn]=ir,Ve=(Hn,Jn)=>{for(var ir in Jn||(Jn={}))se.call(Jn,ir)&&Be(Hn,ir,Jn[ir]);if(ee)for(var ir of ee(Jn))le.call(Jn,ir)&&Be(Hn,ir,Jn[ir]);return Hn},st=(Hn,Jn)=>{var ir={};for(var Zn in Hn)se.call(Hn,Zn)&&Jn.indexOf(Zn)<0&&(ir[Zn]=Hn[Zn]);if(Hn!=null&&ee)for(var Zn of ee(Hn))Jn.indexOf(Zn)<0&&le.call(Hn,Zn)&&(ir[Zn]=Hn[Zn]);return ir},gt=(Hn,Jn,ir)=>new Promise((Zn,Cr)=>{var Er=di=>{try{pi(ir.next(di))}catch(fi){Cr(fi)}},Nr=di=>{try{pi(ir.throw(di))}catch(fi){Cr(fi)}},pi=di=>di.done?Zn(di.value):Promise.resolve(di.value).then(Er,Nr);pi((ir=ir.apply(Hn,Jn)).next())}),St=Hn=>{var Jn=Hn,{className:ir,style:Zn,children:Cr,loading:Er=!1,openLoading:Nr,onClick:pi=()=>{},size:di="middle",shape:fi="round"}=Jn,Oi=st(Jn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ci,ro]=(0,x.useState)(!1);return x.createElement(ge.ZP,Ve({onClick:(0,he.throttle)(Yi=>gt(void 0,null,function*(){Nr&&ro(!0);try{yield pi(Yi)}catch(or){console.log("error",or)}Nr&&ro(!1)}),2e3,{leading:!0,trailing:!1}),className:Ue()(de.btn,de[`${di}-${fi}`],ir),style:Zn,size:di,shape:fi,loading:Ci||Er},Oi),Cr)},Dt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},xt=({className:Hn,style:Jn,children:ir=null,onClick:Zn,title:Cr})=>x.createElement("div",{className:Ue()(Dt.head,Hn),style:Jn},x.createElement("span",{className:"primary-hover",onClick:Zn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:Cr},Cr),x.createElement("div",{className:Dt.node},ir)),lt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Vt=({confirmShow:Hn=!0,confirmTitle:Jn,confirmClick:ir,cancelShow:Zn=!0,cancelTitle:Cr,cancelClick:Er,className:Nr,style:pi,confirmLoading:di=!1})=>x.createElement("div",{className:Ue()(lt.btns,Nr),style:pi},Hn&&x.createElement(ge.ZP,{loading:di,onClick:ir,type:"primary",className:lt.confirm},Jn),Zn&&x.createElement(ge.ZP,{onClick:Er,className:lt.cancel},Cr)),wn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},en=({className:Hn,style:Jn={},LeftContent:ir,children:Zn,RightContent:Cr})=>x.createElement("div",{className:Ue()(wn.fixedBottom,Hn),style:Jn},x.createElement("div",{className:wn.wrap},x.createElement("div",{className:wn.left},ir),x.createElement("div",{className:wn.center},Zn),x.createElement("div",{className:wn.right},Cr))),zn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Qt=({className:Hn,style:Jn={},dataSource:ir=[]})=>x.createElement("div",{className:Ue()(zn.crumbs,Hn),style:Jn},ir.map((Zn,Cr)=>CrZt.history.push(Zn.path)},Zn.name):x.createElement("span",null,Zn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:Cr,style:{color:"#5F6368"}},Zn.name))),sn=ae(11938),Nn=Object.defineProperty,Vn=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Gn=(Hn,Jn,ir)=>Jn in Hn?Nn(Hn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Hn[Jn]=ir,Sr=(Hn,Jn)=>{for(var ir in Jn||(Jn={}))nn.call(Jn,ir)&&Gn(Hn,ir,Jn[ir]);if(Gt)for(var ir of Gt(Jn))Cn.call(Jn,ir)&&Gn(Hn,ir,Jn[ir]);return Hn},ii=(Hn,Jn)=>Vn(Hn,Lt(Jn)),si=(Hn,Jn)=>{var ir={};for(var Zn in Hn)nn.call(Hn,Zn)&&Jn.indexOf(Zn)<0&&(ir[Zn]=Hn[Zn]);if(Hn!=null&&Gt)for(var Zn of Gt(Hn))Jn.indexOf(Zn)<0&&Cn.call(Hn,Zn)&&(ir[Zn]=Hn[Zn]);return ir};const{Countdown:sr}=sn.default;var Qn=Hn=>{var Jn=Hn,{onChange:ir}=Jn,Zn=si(Jn,["onChange"]);const[Cr,Er]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof Cr=="number"&&Cr>=0&&ir(Cr)},[Cr]);const Nr=pi=>{const di=Math.floor(pi/1e3);Er(di)};return x.createElement(sr,ii(Sr({},Zn),{onChange:Nr}))}},81363:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return dt}});var x=ae(59301);function dt(Ie,qe){const ze=(0,x.useRef)();(0,x.useEffect)(()=>{ze.current=Ie}),(0,x.useEffect)(()=>{function Fe(){ze.current()}if(qe!==null){let Ue=setInterval(Fe,qe);return()=>clearInterval(Ue)}},[qe])}},72192:function(Yn,Ut,ae){"use strict";ae.r(Ut),ae.d(Ut,{default:function(){return xi}});var x=ae(59301),dt=ae(66649),Ie=ae.n(dt),qe=ae(86129),ze=ae.n(qe),Fe=ae(66165),Ue=ae(85500),he=ae(62957),xe=ae(6767),oe=ae(458),Ne=ae(91882),ve=ae(77019),Re=ae(5269),Se=ae(7939),Oe=ae(25399),ye=ae(37285),Ce=ae(37568),Ee=ae(70858),Me=ae(82326),Ke=ae(31709),je=ae(27812),Qe=ae(95869),Je=ae(87169),Xe=ae(26227),ut=ae(9294),ot=ae(95970),ht=ae(72916),Ct=ae(42441),He={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy",fa:"fa____jywp"},ft={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const De=({shixunHomeworks:nr,data:fr,globalSetting:gn,loading:cn,dispatch:qn})=>{var hr;const{shixunWorkReport:ur}=nr;let br=((hr=fr==null?void 0:fr.efficiency_list)==null?void 0:hr.length)-parseInt(fr==null?void 0:fr.myself_eff[0]);const ci=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(yi){return yi.name===ur.username?"\u59D3\u540D\uFF1A"+ur.username+"
    \u5B66\u53F7\uFF1A "+ur.user_id+"
    \u6548\u7387\uFF1A"+(fr==null?void 0:fr.myself_eff[1]):yi.name+":"+yi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:fr==null?void 0:fr.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:ur.username,xAxis:br,yAxis:fr==null?void 0:fr.myself_eff[1],value:fr==null?void 0:fr.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Yr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(yi){var Pi=yi.value;if(yi.name===ur.username)return"\u59D3\u540D\uFF1A"+ur.username+"
    \u5B66\u53F7\uFF1A "+ur.user_id+"
    \u5F97\u5206\uFF1A"+(fr==null?void 0:fr.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:ft,data:fr==null?void 0:fr.consume_list,symbolSize:function(yi){return Math.round(yi[2])},markPoint:{data:[{name:ur.username,xAxis:fr==null?void 0:fr.myself_object[0],yAxis:fr==null?void 0:fr.myself_object[1],value:fr==null?void 0:fr.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:ci()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:He.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},ur.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},ur.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_eff[0]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",x.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",x.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:Yr()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:He.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},ur.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},ur.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},fr==null?void 0:fr.myself_object[1]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",x.createElement("br",null)))))))};var _e=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects}))(De),Ot=ae(74898),it=ae(4875),at=({defaultValue:nr,onBlur:fr,max:gn,className:cn="game-score",style:qn,disabled:hr=!1})=>{const[ur,br]=(0,x.useState)(nr);(0,x.useEffect)(()=>{br(nr)},[nr]);function ci(yi){br(yi)}function Yr(){ur!==nr&&fr(ur>gn?gn:ur)}return x.createElement(it.Z,{max:gn,min:0,className:cn,style:qn,value:ur,disabled:hr,onChange:ci,onBlur:Yr})},Bt=ae(3034),We={md:"md___TEmcT"},Te=ae(59301),ct=Object.defineProperty,Zt=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,fn=(nr,fr,gn)=>fr in nr?ct(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Tt=(nr,fr)=>{for(var gn in fr||(fr={}))Pt.call(fr,gn)&&fn(nr,gn,fr[gn]);if(tt)for(var gn of tt(fr))_t.call(fr,gn)&&fn(nr,gn,fr[gn]);return nr},vn=(nr,fr)=>Zt(nr,zt(fr));const kt=Me.default.Option,Sn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var on=(nr=>(nr[nr.SET_PATH=0]="SET_PATH",nr[nr.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",nr))(on||{});function de(nr,fr){switch(fr.type){case 0:return vn(Tt({},nr),{selectedPath:fr.payload});case 1:return vn(Tt({},nr),{passedContent:fr.payload});default:throw new Error}}var ge=({path:nr,game_id:fr,onPathChange:gn,autoHeight:cn,diff_code_count:qn,data:hr,game_codes_cn:ur})=>{var br,ci,Yr,yi;const Pi=nr.split("\uFF1B").filter(Mi=>!!Mi),[wi,Gr]=(0,x.useReducer)(de,{selectedPath:Pi[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:_i}=wi;function Zi(Mi){Gr({type:0,payload:Mi})}const ki={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Te.createElement(Te.Fragment,null,Te.createElement("h2",null," ",Te.createElement("span",null,ur,Te.createElement(Oe.Z,{title:Te.createElement("div",null,Te.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Te.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Te.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Te.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Te.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),qn&&Te.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",qn),Te.createElement("span",null,Te.createElement(Me.default,{style:{width:200},value:Ji,onChange:Zi}," ",Pi.map(Mi=>Te.createElement(kt,{key:Mi,value:Mi},Mi))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&Te.createElement(Bt.Z,{height:300,autoHeight:cn,defaultValue:((ci=(br=hr==null?void 0:hr.filter(Mi=>Mi.path===Ji))==null?void 0:br[0])==null?void 0:ci.content)||"",className:We.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&Te.createElement(Ot.ZP,{height:300,language:_i.language,value:((yi=(Yr=hr==null?void 0:hr.filter(Mi=>Mi.path===Ji))==null?void 0:Yr[0])==null?void 0:yi.content)||"",autoHeight:cn,theme:"default",isCopy:!0,options:Sn}))},ie=ae(7250),ee=ae(96249),se=ae.n(ee),le=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,gt=(nr,fr,gn)=>fr in nr?le(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,mt=(nr,fr)=>{for(var gn in fr||(fr={}))Ve.call(fr,gn)&>(nr,gn,fr[gn]);if(Be)for(var gn of Be(fr))st.call(fr,gn)&>(nr,gn,fr[gn]);return nr};const St=nr=>React.createElement("svg",mt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},nr),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Dt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2eiIgZmlsbD0iI0RCRENGRiIvPjxwYXRoIGQ9Ik02NDUuMTIgOTQ3LjJjMTE3Ljc2LTEwLjI0IDE1OC43Mi0xNDMuMzYgMTYzLjg0LTI2Ni4yNCAwLTEyOC0xMjgtMTc0LjA4LTI5MS44NC0xNzQuMDgtMTYzLjg0IDAtMjkxLjg0IDQ2LjA4LTI5MS44NCAxNzQuMDggMCAxMTIuNjQgMzUuODQgMjQwLjY0IDE0My4zNiAyNjEuMTIgMzAuNzIgNS4xMiAyNjEuMTIgMTAuMjQgMjc2LjQ4IDUuMTJ6IiBmaWxsPSIjMTExQUNDIi8+PHBhdGggZD0iTTQwNC40OCA2ODYuMDhjMTUuMzYgMCAyNS42IDEwLjI0IDI1LjYgMjUuNnY2MS40NGMwIDE1LjM2LTEwLjI0IDI1LjYtMjUuNiAyNS42LTE1LjM2IDAtMjUuNi0xMC4yNC0yNS42LTI1LjZ2LTYxLjQ0Yy01LjEyLTEwLjI0IDEwLjI0LTI1LjYgMjUuNi0yNS42em0yMjAuMTYgMGMxNS4zNiAwIDI1LjYgMTAuMjQgMjUuNiAyNS42djYxLjQ0YzAgMTUuMzYtMTAuMjQgMjUuNi0yNS42IDI1LjYtMTUuMzYgMC0yNS42LTEwLjI0LTI1LjYtMjUuNnYtNjEuNDRjMC0xMC4yNCAxMC4yNC0yNS42IDI1LjYtMjUuNnoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOTE2LjQ4IDUyNy4zNmM1Ni4zMiAwIDEwNy41MiA3MS42OCAxMDcuNTIgMTUzLjYgMCA4Ny4wNC02MS40NCAxNTMuNi0xMTcuNzYgMTUzLjYgMCAwIDUxLjItNzYuOCA1MS4yLTE1OC43MnMtNDAuOTYtMTQ4LjQ4LTQwLjk2LTE0OC40OHptLTgwOC45NiA1LjEyLTUuMTIgNS4xMmMtMTAuMjQgMjAuNDgtMzUuODQgNzYuOC0zNS44NCAxMzguMjQgMCA3Ni44IDM1Ljg0IDEzOC4yNCA1MS4yIDE1OC43MkM2MS40NCA4MzQuNTYgMCA3NjggMCA2ODAuOTZjMC04MS45MiA1MS4yLTE0OC40OCAxMDcuNTItMTQ4LjQ4eiIgZmlsbD0iIzgxODdGRiIvPjxwYXRoIGQ9Ik01MTIgMGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjIyMC4xNmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xMC4yNC0zMC43Mi0zMC43MlYzMC43MkM0ODEuMjggMTUuMzYgNDk2LjY0IDAgNTEyIDB6IiBmaWxsPSIjNzAxQ0RDIi8+PHBhdGggZD0iTTM4NCA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zNS44NC0xNS4zNi0zNS44NC0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzUuODQtMzAuNzJ6IiBmaWxsPSIjMzcxQ0RDIi8+PHBhdGggZD0iTTY0NS4xMiA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",jt=ae(36284),xt=ae(31525),lt=ae(43008),Xt=ae(2063),Vt=ae(29486),wn=ae(44454);const an=({shixunHomeworks:nr,classroomList:fr,items:gn,dispatch:cn})=>{var qn;const{shixunWorkReport:hr}=nr,ur=(0,x.useRef)(null),[br,ci]=(0,x.useState)(!1),[Yr,yi]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if(ur.current)return ur.current.addEventListener("mousedown",Pi),()=>{var wi;(wi=ur.current)==null||wi.removeEventListener("mousedown",Pi)}},[ur.current]),(0,x.useEffect)(()=>{setTimeout(()=>{ur.current&&ur.current.clientHeight>=500&&ci(!0)},500)},[(qn=hr==null?void 0:hr.student_work_test_result_info)==null?void 0:qn.content,ur.current]);function Pi(wi){const Gr=(Zi,ki)=>{if(Zi.localName===ki)return Zi;for(let Mi=0,Fi=Zi;Fi=Fi.parentNode;Mi++){if(Fi.localName===ki)return Fi;if(Fi==document.documentElement)return!1}},Ji=wi.target,_i=Gr(Ji,"a");if(console.log([_i],_i==null?void 0:_i.href,44),!(_i!=null&&_i.href)&&Ji.tagName.toUpperCase()==="IMG"){let Zi=Ji.src||Ji.getAttribute("src");Zi&&Zi.indexOf("/images/avatars/User")===-1&&(wi.stopPropagation(),wi.preventDefault(),Xt.Z.publish("preview-image",Zi))}}return x.createElement("div",null,(hr==null?void 0:hr.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(lt.Z,null),x.createElement("strong",{className:"c-black font14"},"\u5B9E\u9A8C\u7ED3\u679C"),gn?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:ur,style:{maxHeight:!Yr&&"500px",overflow:"hidden"}},x.createElement(xt.Z,{value:gn==null?void 0:gn.content})),br&&x.createElement("div",{className:"w-full current",onClick:()=>{yi(!Yr)}},x.createElement(ye.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},Yr?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Vt.Z,{className:"px-36px",showDimensions:!1,dataSource:gn==null?void 0:gn.test_result_files,callback:()=>{}})):x.createElement(wn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var en=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn,classroomList:cn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects,classroomList:cn}))(an),zn=ae(19192),In=Object.defineProperty,Qt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Gt=(nr,fr,gn)=>fr in nr?In(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,nn=(nr,fr)=>{for(var gn in fr||(fr={}))Vn.call(fr,gn)&&Gt(nr,gn,fr[gn]);if(Nn)for(var gn of Nn(fr))Lt.call(fr,gn)&&Gt(nr,gn,fr[gn]);return nr},Cn=(nr,fr)=>Qt(nr,sn(fr)),Gn=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});const Sr=({shixunHomeworks:nr,autoHeight:fr,classroomList:gn,dispatch:cn})=>{var qn,hr,ur,br,ci,Yr,yi,Pi;const{shixunWorkReport:wi}=nr,{stage_list:Gr,work_id:Ji,ai_code_evaluation_promote:_i}=wi,[Zi,ki]=(0,x.useState)(!1),[Mi,Fi]=(0,x.useState)(!0),[lo,Ki]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),Do=(0,x.useRef)(null),[eo,qo]=(0,x.useState)(!1),[wo,no]=(0,x.useState)(""),[No,Yo]=(0,x.useState)({}),_o=(0,x.useRef)(null),Fo=(Wr,fo)=>{var Oo;const{clientWidth:ta,clientHeight:Qo}=window.document.documentElement,Jo=(Oo=Do.current)==null?void 0:Oo.getBoundingClientRect();Jo&&Ki({left:-Jo.left+fo.x,right:ta-(Jo.right-fo.x),top:-Jo.top+fo.y,bottom:Qo-(Jo.bottom-fo.y)})},pn=(0,Ue.useParams)(),Rr=(0,ot.GJ)(),Jr={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(pn)},[]);const Ai=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,fo,Oo)=>x.createElement("div",null,Wr,fo.is_work_end_evaluate&&x.createElement(ht.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ie()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,fo)=>x.createElement("span",{className:"c-blue current",onClick:()=>Gn(void 0,null,function*(){var Oo,ta;const Qo=yield(0,ie.Lk)(fo.game_identifier,{path:(ta=(Oo=fo.path)==null?void 0:Oo.replace(/\;/g,";"))==null?void 0:ta.split(";")[0],query_index:fo.query_index,homework_common_id:pn.categoryId});(Qo==null?void 0:Qo.status)===0&&(qo(Qo),ki(!0))})},fo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Kr=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,fo)=>{var Oo;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:ut.Z.IMG_SERVER+"/images/"+((Oo=fo==null?void 0:fo.user)==null?void 0:Oo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ie()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function Qi(Wr,fo){return Gn(this,null,function*(){const{challenge_id:Oo}=Gr[Wr],ta=yield cn({type:"shixunHomeworks/changeScore",payload:{categoryId:pn.homeworkId,type:"report",score:fo,challenge_id:Oo}});yield cn({type:"shixunHomeworks/getShixunWorkReport",payload:nn({},pn)}),ta.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function oo(Wr,fo){return(0,Fe.U2)(`student_works/${Ji}/rep_passed_content.json`,{path:fo,game_id:Wr})}const[Ur,ti]=(0,x.useState)((qn=wi==null?void 0:wi.shixun_detail)==null?void 0:qn.map(Wr=>Cn(nn({},Wr),{commentEdit:!1}))),Di=Wr=>Wr.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Ui,Uo]=(0,x.useState)(!1),xa=(Wr,fo)=>Gn(void 0,null,function*(){var Oo,ta;Uo(!0),_o.current=new jt.Z(ut.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-plus-latest",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:_i,shixun_id:wi==null?void 0:wi.myshixun_identifier,game_id:Wr==null?void 0:Wr.id,source:"shixun",is_chat:!1,type:9,description:Wr==null?void 0:Wr.challenge_description,query:(ta=(Oo=Wr==null?void 0:Wr.game_codes)==null?void 0:Oo[0])==null?void 0:ta.content,homework_common_id:pn.categoryId}),yield new Promise((Qo,Jo)=>{_o.current.on("data",$o=>{const Sa=[...Ur];Sa[fo].comment=Di($o==null?void 0:$o.full),ti(Sa)}),_o.current.on("done",()=>Gn(void 0,null,function*(){var $o;Uo(!1);const Sa=[...Ur],Ja=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:Sa[fo].comment}});if((Ja==null?void 0:Ja.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const hs=[...Ur];hs[fo].comment_updated_at=($o=Ja==null?void 0:Ja.data)==null?void 0:$o.comment_updated_at,ti(hs)}})),_o.current.startStream()})});return x.createElement(x.Fragment,null,Ur==null?void 0:Ur.map(function(Wr,fo){var Oo,ta,Qo,Jo,$o,Sa,Ja;const hs=!!((Oo=Wr==null?void 0:Wr.game_extension_attachments)!=null&&Oo.length);return x.createElement("div",{key:fo},x.createElement("aside",{className:"pl30 pr30",key:fo},x.createElement("div",{className:`${He.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",fo+1,"\u5173 ",x.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${pn.coursesId}/${pn.categoryId}/${Wr.game_identifier}`},Wr.subject))),Rr?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(at,{className:"game-score",max:Gr[fo].game_score_full,defaultValue:Gr[fo].game_score,disabled:!((ta=Gr==null?void 0:Gr[fo])!=null&&ta.checked)&&((Qo=Gr==null?void 0:Gr[fo])==null?void 0:Qo.is_show),onBlur:ba=>{var Ua;if((0,ot.Rm)()&&!((Ua=gn.AssistantObject.practice)!=null&&Ua.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qi(fo,ba)}})):null),hs&&x.createElement("div",{className:"font16 mt10 mb10"},x.createElement("div",null,"\u5B66\u5458\u97F3\u9891\u6587\u4EF6"),x.createElement("a",{className:"current",onClick:()=>{var ba,Ua,Bo,bo;Yo({url:ut.Z.API_SERVER+((Ua=(ba=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ba[0])==null?void 0:Ua.url),file_type:(bo=(Bo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:Bo[0])==null?void 0:bo.file_type})}},($o=(Jo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:Jo[0])==null?void 0:$o.title)),!hs&&x.createElement(x.Fragment,null,x.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?x.createElement("aside",{className:He.shixunWrp},x.createElement(ge,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:fr,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:oo})):x.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),x.createElement("aside",{className:"mt10 font16"},(Sa=Wr.outputs)!=null&&Sa.length?x.createElement(Ee.default,{columns:Ai,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(ba=>nn(nn({},Wr),ba))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55")),x.createElement(en,{items:Wr==null?void 0:Wr.student_work_test_result_info}),x.createElement("aside",{className:"mt10"},x.createElement("div",null,x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(Wr!=null&&Wr.commentEdit)&&!(0,ot.dE)()&&(Wr!=null&&Wr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",Wr!=null&&Wr.comment_updated_at?Ie()(Wr==null?void 0:Wr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>Gn(this,null,function*(){Ui?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):he.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>Gn(this,null,function*(){xa(Wr,fo)})})})},x.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>Gn(this,null,function*(){Ui?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):xa(Wr,fo)})},x.createElement("img",{src:Dt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(Wr!=null&&Wr.commentEdit)&&!(0,ot.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const ba=[...Ur];ba[fo].commentEdit=!0,ti(ba),no(Wr==null?void 0:Wr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:He.pj_close,onClick:()=>{const ba=[...Ur];ba[fo].commentEdit=!1,ti(ba)}},"\u53D6\u6D88"),x.createElement("div",{className:He.pj_save,onClick:()=>Gn(this,null,function*(){var ba;const Ua=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:wo}});if((Ua==null?void 0:Ua.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Bo=[...Ur];Bo[fo].commentEdit=!1,Bo[fo].comment=wo,Bo[fo].comment_updated_at=(ba=Ua==null?void 0:Ua.data)==null?void 0:ba.comment_updated_at,ti(Bo)}})},"\u4FDD\u5B58"))),!(Wr!=null&&Wr.commentEdit)&&x.createElement("div",{className:He.pingjia},Wr!=null&&Wr.comment?x.createElement(xt.Z,{value:Wr==null?void 0:Wr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(Ce.default.TextArea,{defaultValue:wo,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:ba=>no(ba.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((Ja=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Ja.length)>0&&(0,ot.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Kr,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(he.default,{open:Zi,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{qo({}),ki(!1)},onCancel:()=>{qo({}),ki(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Mi&&Fi(!1)},onMouseOut:()=>{Fi(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>x.createElement(se(),{disabled:Mi,bounds:lo,nodeRef:Do,onStart:(fo,Oo)=>Fo(fo,Oo)},x.createElement("div",{ref:Do},Wr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((hr=eo==null?void 0:eo.data)==null?void 0:hr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?x.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):x.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),x.createElement("div",{style:{color:((ur=eo==null?void 0:eo.data)==null?void 0:ur.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(br=eo==null?void 0:eo.data)==null?void 0:br.output_detail)),x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ie()((ci=eo==null?void 0:eo.data)==null?void 0:ci.created_at).format("YYYY-MM-DD HH:mm:ss"))),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Yr=eo==null?void 0:eo.data)==null?void 0:Yr.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(yi=eo==null?void 0:eo.data)==null?void 0:yi.ts_mem,"mb")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Pi=eo==null?void 0:eo.data)==null?void 0:Pi.test_set_passed_rate)*100,"%")))),x.createElement(Ot.ZP,{height:500,autoHeight:fr,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((eo==null?void 0:eo.content)||""))),options:Jr})),x.createElement(zn.Z,{close:!0,hasMask:!0,style:{zIndex:9999},data:No==null?void 0:No.url,type:No==null?void 0:No.file_type,onClose:()=>Yo({})}))};var ii=(0,Ue.connect)(({shixunHomeworks:nr,loading:fr,globalSetting:gn,classroomList:cn})=>({shixunHomeworks:nr,globalSetting:gn,loading:fr.effects,classroomList:cn}))(Sr),si=ae(28284),sr={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Lr=ae(27582),Qn=ae(59301),Hn=Object.defineProperty,Jn=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,Cr=(nr,fr,gn)=>fr in nr?Hn(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Er=(nr,fr)=>{for(var gn in fr||(fr={}))ir.call(fr,gn)&&Cr(nr,gn,fr[gn]);if(Jn)for(var gn of Jn(fr))Zn.call(fr,gn)&&Cr(nr,gn,fr[gn]);return nr},Nr=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});const pi=({shixunHomeworks:nr,dispatch:fr,classroomList:gn})=>{const{shixunWorkReport:cn}=nr,qn=(0,Ue.useParams)(),[hr,ur]=(0,x.useState)(!1),[br]=si.default.useForm(),[ci,Yr]=he.default.useModal(),[yi,Pi]=(0,x.useState)(!1),[wi,Gr]=(0,x.useState)(!1),Ji=[{label:"\u5FC5\u505A",value:"required",color:"#1B8565"},{label:"\u9009\u505A",value:"optional",color:"#1E96F4"},{label:"\u4E0D\u505A",value:"hidden",color:"#5F6368"}];(0,x.useEffect)(()=>{var ki,Mi,Fi,lo;nr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&br.setFieldsValue({comment:(Mi=(ki=nr.actionTabs.selectArrs)==null?void 0:ki.data)==null?void 0:Mi.work_comment,hidden_comment:(lo=(Fi=nr.actionTabs.selectArrs)==null?void 0:Fi.data)==null?void 0:lo.work_comment_hidden})},[nr.actionTabs.key]);const _i=()=>Nr(void 0,null,function*(){const ki=br.getFieldsValue();(yield(0,Fe.ZP)(`/api/student_works/${qn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ki.hidden_comment,comment:ki.comment}})).status===0&&(xe.ZP.success("\u8BC4\u9605\u6210\u529F"),br.resetFields(),fr({type:"shixunHomeworks/setActionTabs",payload:{}}),fr({type:"shixunHomeworks/getShixunWorkReport",payload:Er({},qn)}))}),Zi=[{title:"\u5173\u5361",dataIndex:"name",render:(ki,Mi,Fi)=>Fi+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ki,Mi,Fi)=>Qn.createElement("div",null,ki,Mi.complete_status===4&&Qn.createElement(ht.vA,{status:Mi.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"checked",render:ki=>{var Mi,Fi;return Qn.createElement("span",{style:{color:(Mi=Ji==null?void 0:Ji.find(lo=>(lo==null?void 0:lo.value)==ki))==null?void 0:Mi.color}},(Fi=Ji==null?void 0:Ji.find(lo=>(lo==null?void 0:lo.value)==ki))==null?void 0:Fi.label)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ki=>ki?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ki,Mi)=>Qn.createElement("div",null,Qn.createElement("span",{style:{color:parseFloat(Mi.game_score_full)!==parseFloat(ki)?"#E30000":"#53C41B"}},ki),"/",Mi.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ki,Mi)=>(0,ot.GJ)()?Qn.createElement(at,{max:Mi.game_score_full,defaultValue:parseFloat(ki),onBlur:Fi=>Nr(void 0,null,function*(){var lo,Ki;if((0,ot.Rm)()&&!((lo=gn.AssistantObject.practice)!=null&&lo.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Do=yield fr({type:"shixunHomeworks/changeScore",payload:{categoryId:qn.homeworkId,type:"report",score:Fi,challenge_id:Mi.challenge_id}});(Ki=nr==null?void 0:nr.actionTabs)==null||Ki.fn(),yield fr({type:"shixunHomeworks/getShixunWorkReport",payload:Er({},qn)}),Do.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ki}];return Qn.createElement(Qn.Fragment,null,Yr,Qn.createElement(he.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:nr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Nr(void 0,null,function*(){var ki;if((0,ot.Rm)()&&!((ki=gn.AssistantObject.practice)!=null&&ki.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Mi=br.getFieldsValue();JSON.stringify(Mi)==="{}"||Mi.hidden_comment===""&&Mi.comment===""?ur(!0):_i()}),onCancel:()=>{fr({type:"shixunHomeworks/setActionTabs",payload:{}})}},Qn.createElement(ve.Z,{justify:"space-between",className:sr.info},Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u59D3\u540D"),Qn.createElement("span",{className:sr.blackContent},cn==null?void 0:cn.username)),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u5B66\u53F7"),Qn.createElement("span",{className:sr.blackContent},(cn==null?void 0:cn.student_id)||"--")),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u73ED\u7EA7"),Qn.createElement("span",{className:sr.blackContent},(cn==null?void 0:cn.group_name)||"--")),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u5173\u5361\u5F97\u5206"),Qn.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.challenge_score)||"--")),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u6548\u7387\u5206"),Qn.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.eff_score)||"--")),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u8865\u4EA4\u6263\u5206"),Qn.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.late_penalty)||"--")),Qn.createElement(Re.Z,null,Qn.createElement("span",{className:`${sr.label} ${sr.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Qn.createElement("span",{className:sr.orangeContent},(cn==null?void 0:cn.work_score)||"--"))),Qn.createElement(si.default,{form:br,onChange:()=>{hr&&ur(!1)}},Qn.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},Qn.createElement(Re.Z,null,Qn.createElement("div",{className:`${sr.inputLabel} ${sr.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qn.createElement(Re.Z,null,Qn.createElement(Lr.Z,{isShowComponent:(0,ot.G5)(),ModalProps:{open:yi,onCancel:()=>{Pi(!1)}},onDataSelect:(ki,Mi)=>Nr(void 0,[ki,Mi],function*(Fi,{node:lo}){const Ki=()=>{br.setFieldsValue({comment:lo==null?void 0:lo.value}),Pi(!1)};if(br.getFieldValue("comment")){ci.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Ki});return}Ki()})},Qn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:Qn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ki=>{Pi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qn.createElement(si.default.Item,{name:"comment"},Qn.createElement(Ce.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Qn.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},Qn.createElement(Re.Z,null,Qn.createElement("div",{className:`${sr.inputLabel} ${sr.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qn.createElement(Re.Z,null,Qn.createElement(Lr.Z,{isShowComponent:(0,ot.G5)(),ModalProps:{open:wi,onCancel:()=>{Gr(!1)}},onDataSelect:(ki,Mi)=>Nr(void 0,[ki,Mi],function*(Fi,{node:lo}){const Ki=()=>{br.setFieldsValue({hidden_comment:lo==null?void 0:lo.value}),Gr(!1)};if(br.getFieldValue("hidden_comment")){ci.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Ki});return}Ki()})},Qn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:Qn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ki=>{Gr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qn.createElement(si.default.Item,{name:"hidden_comment"},Qn.createElement(Ce.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),hr&&Qn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Qn.createElement("div",{className:sr.tableTitle},"\u5173\u5361\u6210\u7EE9"),Qn.createElement(Ee.default,{className:sr.scoreTable,dataSource:cn.stage_list,rowKey:"challenge_id",pagination:!1,columns:Zi,scroll:{x:"max-content"}})))};var di=(0,Ue.connect)(({shixunHomeworks:nr,classroomList:fr})=>({shixunHomeworks:nr,classroomList:fr}))(pi),fi=ae(57797),Oi=ae(38853),Ci=ae(44164),ro=ae.n(Ci),Yi={wrap:"wrap___LZOi9",line:"line___oju0L"},or=ae(56551),gi=({detailData:nr})=>{var fr;return x.createElement("div",{className:Yi.wrap},x.createElement(or.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,or.Uf)(nr),(nr==null?void 0:nr.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(or.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,or.Uf)(nr)}),!!((fr=nr==null?void 0:nr.photos)!=null&&fr.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:Yi.line}),x.createElement(or._s,{dataSource:nr==null?void 0:nr.photos,right:21,col:4,wrapWidth:1140}))))},oi=ae(95707),un=ae(34153),bt=ae(59301),Rt=Object.defineProperty,hn=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,$r=(nr,fr,gn)=>fr in nr?Rt(nr,fr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):nr[fr]=gn,Xr=(nr,fr)=>{for(var gn in fr||(fr={}))On.call(fr,gn)&&$r(nr,gn,fr[gn]);if(yn)for(var gn of yn(fr))jr.call(fr,gn)&&$r(nr,gn,fr[gn]);return nr},dr=(nr,fr)=>hn(nr,Wt(fr)),lr=(nr,fr)=>{var gn={};for(var cn in nr)On.call(nr,cn)&&fr.indexOf(cn)<0&&(gn[cn]=nr[cn]);if(nr!=null&&yn)for(var cn of yn(nr))fr.indexOf(cn)<0&&jr.call(nr,cn)&&(gn[cn]=nr[cn]);return gn},$n=(nr,fr,gn)=>new Promise((cn,qn)=>{var hr=ci=>{try{br(gn.next(ci))}catch(Yr){qn(Yr)}},ur=ci=>{try{br(gn.throw(ci))}catch(Yr){qn(Yr)}},br=ci=>ci.done?cn(ci.value):Promise.resolve(ci.value).then(hr,ur);br((gn=gn.apply(nr,fr)).next())});function ei(nr){const fr=(qn,hr)=>{if(qn.localName===hr)return qn;for(let ur=0,br=qn;br=br.parentNode;ur++){if(br.localName===hr)return br;if(br==document.documentElement)return!1}},gn=nr.target,cn=fr(gn,"a");if(console.log([cn],cn==null?void 0:cn.href,44),!(cn!=null&&cn.href)&&gn.tagName.toUpperCase()==="IMG"){let qn=gn.src||gn.getAttribute("src");qn&&qn.indexOf("/images/avatars/User")===-1&&(nr.stopPropagation(),nr.preventDefault(),Xt.Z.publish("preview-image",qn))}}const Ti=nr=>{var fr=nr,{shixunHomeworks:gn,classroomList:cn,globalSetting:qn,loading:hr,user:ur,dispatch:br}=fr,ci=lr(fr,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Yr,yi,Pi,wi;const[Gr,Ji]=(0,x.useState)(Xr({},(0,Ue.useParams)())),_i=(0,Ue.useParams)(),[Zi,ki]=(0,x.useState)({page:1,page_size:10}),Mi=(0,Ue.useLocation)(),[]=(0,x.useState)([]),[Fi,lo]=(0,x.useState)(),Ki=(0,x.useRef)(),Do=(0,x.useRef)(),[eo,qo]=(0,x.useState)(!1),[wo,no]=(0,x.useState)(!0),[No,Yo]=(0,x.useState)(!1),[_o,Fo]=(0,x.useState)(!1),{shixunWorkReport:pn}=gn,[Rr,Jr]=(0,x.useState)(),[Ai,Kr]=(0,x.useState)([]),[Qi,oo]=(0,x.useState)(),[Ur,ti]=(0,x.useState)("all"),Di=(0,ot.GJ)(),[Ui,Uo]=(0,x.useState)(new(ze())),[xa,Wr]=(0,x.useState)(0),[fo,Oo]=(0,x.useState)(!1),[ta,Qo]=(0,x.useState)(!1),[Jo,$o]=(0,x.useState)(!1),[Sa,Ja]=(0,x.useState)(""),[hs,ba]=(0,x.useState)(!1),[Ua,Bo]=(0,x.useState)(!0),[bo,Ra]=(0,x.useState)(0),ns=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),js=(0,x.useRef)(),[tl,nl]=(0,x.useState)(!1),[au,su]=(0,x.useState)(!1),Fs=(0,x.useRef)(null),Rl={required:{tag:"\u5FC5\u505A",color:"#1B8565"},optional:{tag:"\u9009\u505A",color:"#1E96F4"},hidden:{tag:"\u4E0D\u505A",color:"#5F6368"}},Nu=()=>$n(void 0,null,function*(){(ur.userInfo.is_teacher||ur.userInfo.admin)&&(ba(!0),Bo(!1))});(0,x.useEffect)(()=>{var zi;(0,ot.Rm)()&&cn.AssistantObject.practice&&!((zi=cn.AssistantObject.practice)!=null&&zi.can_view)&&Ue.history.replace("/403")},[(Yr=cn.AssistantObject.practice)==null?void 0:Yr.can_view]),(0,x.useEffect)(()=>{Nu(),console.log("\u6253\u5370\u7684------",pn),js.current=pn==null?void 0:pn.next_student_work_id,Ja(pn.repeat_minus_score)},[pn,ur]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",pn.work_score),Ra(pn.work_score)},[pn.work_score,Sa]),(0,x.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(Fs.current)return Fs.current.addEventListener("mousedown",ei),()=>{var zi;(zi=Fs.current)==null||zi.removeEventListener("mousedown",ei)}},[Fs.current]),(0,x.useEffect)(()=>{setTimeout(()=>{Fs.current&&Fs.current.clientHeight>=500&&su(!0)},500)},[(yi=pn==null?void 0:pn.student_work_test_result_info)==null?void 0:yi.content,Fs.current]),(0,x.useEffect)(()=>{var zi;if(pn){let zo=[];(zi=pn==null?void 0:pn.target_test_sets)==null||zi.map((ga,hu)=>{var ol;(ol=ga==null?void 0:ga.targets)==null||ol.map((qu,Hu)=>{var Pu;qu.name=ga==null?void 0:ga.name,qu.total_target_score=ga==null?void 0:ga.total_target_score,qu.actual_target_score=ga==null?void 0:ga.actual_target_score,qu.rowSpan=Hu===0?(Pu=ga==null?void 0:ga.targets)==null?void 0:Pu.length:0,qu.order=hu+1,zo.push(qu)})}),Jr(zo),(0,ot.Rm)()&&br({type:"classroomList/getAssistantPermissions",payload:{course_id:Gr.coursesId}})}},[pn]),(0,x.useEffect)(()=>{gn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(pn==null?void 0:pn.students_count)>0&&!wo&&setTimeout(()=>{ma("all")},800)},[pn==null?void 0:pn.homework_common_id,wo]),(0,x.useEffect)(()=>{Ji(Xr({},_i))},[Mi.pathname]);const xu=()=>{document.body.scrollIntoView()},pl=zi=>{Zi.page=zi,ki(Xr({},Zi)),Bu(Zi,Ur)},Bu=(zi,zo)=>$n(void 0,null,function*(){Yo(!0);const ga=yield(0,Fe.ZP)(`/api/student_works/${Gr==null?void 0:Gr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:dr(Xr({},zi),{challenge_id:zo=="all"?null:zo})});(ga==null?void 0:ga.status)===0&&(Kr(ga==null?void 0:ga.list),oo(ga==null?void 0:ga.count)),Yo(!1)});function Dc(){return $n(this,null,function*(){ns.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const pa=()=>{document.querySelectorAll("canvas").forEach(zi=>{(!zi.clientWidth||!zi.clientHeight)&&zi.remove()})},ka=()=>{Ki.current.offsetHeight>62e3?Fo(!1):Fo(!0)},ha=zi=>$n(void 0,null,function*(){const zo=yield(0,Oi.t1)({homeworkId:zi||Gr.homeworkId});lo(zo==null?void 0:zo.data)}),ma=zi=>$n(void 0,null,function*(){var zo,ga,hu,ol;nl(!0);let qu=0,Hu;Hu=he.default.info({width:460,title:bt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",bt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},qu+1),"/",zi!=="all"?1:pn==null?void 0:pn.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:He.modal,onOk:()=>{}});const Pu={margin:[0,0],filename:`${pn!=null&&pn.student_id&&(pn==null?void 0:pn.student_id)!="--"?pn==null?void 0:pn.student_id:""}${pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},vs=Ui.folder(pn==null?void 0:pn.shixun_name);function sc(rA){return $n(this,null,function*(){yield ha(rA||js.current);const Os=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr({homeworkId:rA||js.current},ns.current||{})});js.current=Os==null?void 0:Os.next_student_work_id,xu(),qu++,setTimeout(()=>$n(this,null,function*(){var Pl,Tu,uu,pu;pa();const Eu=vs.folder(`${Os==null?void 0:Os.group_name}`).folder(`${Os!=null&&Os.student_id&&(Os==null?void 0:Os.student_id)!="--"?Os.student_id+"+":""}${Os==null?void 0:Os.username}`),Fl=document.querySelector("#export-all").children;let Il=ro()();for(let Hs=0;Hs$n(this,null,function*(){Hs0&&((uu=(Tu=Os==null?void 0:Os.shixun_detail)==null?void 0:Tu.filter(Hs=>{var zu;return((zu=Hs==null?void 0:Hs.game_codes)==null?void 0:zu.length)>0}))==null?void 0:uu.length)>0){const Hs=Eu.folder("\u4EE3\u7801\u6587\u4EF6");(pu=Os==null?void 0:Os.shixun_detail)==null||pu.map((zu,td)=>{var Wl,gu;if(((Wl=zu==null?void 0:zu.game_codes)==null?void 0:Wl.length)>0){const La=Hs.folder(`\u7B2C${td+1}\u5173-${zu.subject}-${zu.id}`);(gu=zu==null?void 0:zu.game_codes)==null||gu.map(Da=>{La.file(`${Da.filename}.txt`,Da==null?void 0:Da.content)})}})}Hu.update({content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},qu),"/",Os==null?void 0:Os.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),qu==(Os==null?void 0:Os.students_count)?(Hu.destroy(),qa()):sc()}),2200)})}if(zi!=="all"||(pn==null?void 0:pn.students_count)<2){pa(),xu();const rA=Do.current.children;let Os=ro()();const Tu=vs.folder(`${pn==null?void 0:pn.group_name}`).folder(`${pn!=null&&pn.student_id&&(pn==null?void 0:pn.student_id)!="--"?(pn==null?void 0:pn.student_id)+"+":""}${pn==null?void 0:pn.username}`);for(let uu=0;uu$n(void 0,null,function*(){uu0&&((hu=(ga=pn==null?void 0:pn.shixun_detail)==null?void 0:ga.filter(uu=>{var pu;return((pu=uu==null?void 0:uu.game_codes)==null?void 0:pu.length)>0}))==null?void 0:hu.length)>0){const uu=Tu.folder("\u4EE3\u7801\u6587\u4EF6");(ol=pn==null?void 0:pn.shixun_detail)==null||ol.map((pu,Tl)=>{var Eu,Fl;if(((Eu=pu==null?void 0:pu.game_codes)==null?void 0:Eu.length)>0){const Il=uu.folder(`\u7B2C${Tl+1}\u5173-${pu.subject}-${pu.id}`);(Fl=pu==null?void 0:pu.game_codes)==null||Fl.map(Hs=>{Il.file(`${Hs.filename}.txt`,Hs==null?void 0:Hs.content)})}})}Hu.destroy(),qa();return}else sc(pn==null?void 0:pn.first_student_work_id)}),qa=()=>{Ui.generateAsync({type:"blob"}).then(function(zi){console.log(pn,"shixunWorkReport");const zo=document.createElement("a");zo.href=window.URL.createObjectURL(zi),zo.download=(pn==null?void 0:pn.shixun_name)+".zip",document.body.appendChild(zo);const ga=document.createEvent("MouseEvents");ga.initEvent("click",!1,!1),zo.dispatchEvent(ga),document.body.removeChild(zo),Uo(new(ze()))}),Fo(!1)};(0,x.useEffect)(()=>{Ya()},[Gr.homeworkId]);const Ya=()=>$n(void 0,null,function*(){no(!0);const zi=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})});if((zi==null?void 0:zi.status)==-100&&!(0,ot.Ny)()){const zo=yield(0,Fe.ZP)("/api/users/check_archive_view.json",{method:"get",params:{container_id:Gr.categoryId,container_type:"HomeworkCommon"}});(zo==null?void 0:zo.status)==0&&(zo==null?void 0:zo.code)==1&&br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5F52\u6863\u63D0\u793A",params:{roleInfo:zo,homework_id:Gr.categoryId},goToBack:()=>{Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework`)},goToDetail:()=>{window.location.reload()}}})}ha(),(0,ot.GJ)()&&Dc(),no(!1)}),Va=[{title:"\u5173\u5361",width:50,dataIndex:"name",render:(zi,zo,ga)=>ga+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(zi,zo,ga)=>bt.createElement("div",null,zi,zo.complete_status===4&&bt.createElement(ht.vA,{status:zo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(zi,zo,ga)=>zi||"- -"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"status",render:zi=>{var zo,ga;return bt.createElement("span",{style:{color:(zo=Rl[zi])==null?void 0:zo.color}},(ga=Rl[zi])==null?void 0:ga.tag)}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:zi=>zi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(zi,zo)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.myself_experience)!==parseFloat(zi)?"red":"green"}},zo.myself_experience),"/",zi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(zi,zo)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.game_score_full)!==parseFloat(zi)?"red":"green"}},zi),"/",zo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(zi,zo)=>Di?bt.createElement(at,{style:{width:80},max:zo.game_score_full,defaultValue:parseFloat(zi),onBlur:ga=>$n(void 0,null,function*(){var hu;if((0,ot.Rm)()&&!((hu=cn.AssistantObject.practice)!=null&&hu.can_appraise)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ol=yield br({type:"shixunHomeworks/changeScore",payload:{categoryId:Gr.homeworkId,type:"report",score:ga,challenge_id:zo.challenge_id}});Bu({page:1,page_size:10},"all"),yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}),ol.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):zi}];let Zl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(zi,zo,ga)=>({children:zi,props:{rowSpan:zo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(zi,zo,ga)=>({children:zi,props:{rowSpan:zo.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(zi,zo,ga)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.actual_test_score)!==parseFloat(zi)?"red":"green"}},zo.actual_test_score),"/",zi)},{title:"\u6307\u6807\u603B\u5206",render:(zi,zo,ga)=>({children:bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(zo.actual_target_score)!==parseFloat(zi)?"red":"green"}},zo.actual_target_score),"/",zi),props:{rowSpan:zo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const lu=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:zi=>bt.createElement("span",null,zi?Ie()(zi).format("YYYY-MM-DD HH:mm"):"--")}],Sl=zi=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{zi==="next"?Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/${pn==null?void 0:pn.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/${pn==null?void 0:pn.pre_student_work_id}/comment`)},200)},Ou=zi=>{Ja(""),zi.target.value&&(console.log("\u8FDB\u6765",pn),zi.target.value=zi.target.value>pn.repeat_setting_score?pn.repeat_setting_score:zi.target.value,Ja(zi.target.value))},fu=()=>$n(void 0,null,function*(){const zi=yield(0,Fe.ZP)(`/api/student_works/${pn==null?void 0:pn.work_id}/update_repeat_score`,{method:"put",body:{score:Sa}});yield br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}),zi.status===0&&xe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return bt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},bt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},bt.createElement(oe.Z,{loading:hr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},bt.createElement("div",{className:"edu-container"},pn.course_id&&bt.createElement("section",{className:"animated fadeIn"},bt.createElement("aside",{className:""},pn.category&&bt.createElement(Ne.Z,{separator:">"},bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework`},pn.course_name)),bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.category.main?"":pn.category.category_id}`},pn.category.category_name)),bt.createElement(Ne.Z.Item,null,bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.homework_common_id}/detail${(0,ot.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),bt.createElement(Ne.Z.Item,null,pn.username))),bt.createElement("aside",{className:[He.title1,"mt20"].join(" ")},bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:1},bt.createElement(Ue.Link,{to:`/classrooms/${pn.course_id}/shixun_homework/${pn.homework_common_id}/detail`},bt.createElement(je.Z,{className:"font16 c-black"})),bt.createElement("strong",{className:"font20 ml5"},pn==null?void 0:pn.homework_name),bt.createElement(ht.VV,{temporary:!0,status:pn.homework_status})),bt.createElement(Re.Z,{className:He.title1_right},pn.view_tpi&&bt.createElement(Se.ZP,{onClick:()=>{var zi,zo;(0,ht.xg)(`/tasks/${pn==null?void 0:pn.course_id}/${pn==null?void 0:pn.homework_common_id}/${(zo=(zi=pn==null?void 0:pn.shixun_detail)==null?void 0:zi[0])==null?void 0:zo.game_identifier}`)}},bt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ot.GJ)()&&pn.homework_end===!1&&!!pn.myshixun_id&&bt.createElement(Se.ZP,{className:"ml10",onClick:()=>$n(void 0,null,function*(){yield br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:pn.myshixun_identifier},homework_common_id:_i.categoryId}})})},bt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),bt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var zi,zo;if(!(!(pn!=null&&pn.is_old_data_for_time)&&(pn==null?void 0:pn.user_id)!==((zi=ur==null?void 0:ur.userInfo)==null?void 0:zi.user_id)&&(0,ht.Ye)(br))){if((0,ot.Rm)()&&!((zo=cn.AssistantObject.practice)!=null&&zo.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ma("")}},loading:eo},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ot.GJ)()&&(pn==null?void 0:pn.students_count)>1&&bt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var zi;if(!(!(pn!=null&&pn.is_old_data_for_time)&&(0,ht.Ye)(br))){if((0,ot.Rm)()&&!((zi=cn.AssistantObject.practice)!=null&&zi.can_download)){xe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}he.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:bt.createElement(Oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:bt.createElement(Oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{ma("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,oi.jj)({categoryId:Gr.categoryId,coursesId:Gr.coursesId},"shixun_report")}}})}}},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),bt.createElement("aside",{className:"mt30 relative"})),bt.createElement("aside",{className:"edu-container bg-white",ref:Ki},bt.createElement("div",{id:"export-all",ref:Do},bt.createElement("div",{id:"export-all-1"},bt.createElement("div",{className:He.title},bt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),bt.createElement("div",null,(0,ot.GJ)()&&bt.createElement(Se.ZP,{className:"mr20",type:"primary",onClick:()=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:pn.user_id,data:Xr({},pn)},fn:()=>Bu({page:1,page_size:10},"all")}})}},bt.createElement(Qe.Z,null),pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),bt.createElement(ye.Z,{style:{marginTop:0}}),bt.createElement(ve.Z,{className:"pl30 pr30"},bt.createElement(Re.Z,null,bt.createElement("img",{className:He.userPic,src:`${ut.Z.IMG_SERVER}/images/${pn.image_url}`,alt:pn.username})),bt.createElement(Re.Z,null,bt.createElement("span",{className:"font16 ml40"},pn.username),bt.createElement(ht.vA,{status:pn.compelete_status}),bt.createElement("ul",{className:He.userInfo},bt.createElement("li",null,"\u5B66\u53F7\uFF1A",pn.student_id||"--"),bt.createElement("li",null,"\u5206\u73ED\uFF1A",pn.group_name||"--"),bt.createElement("br",null),bt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},pn.complete_count),"/",bt.createElement("span",{className:"c-red"},pn.checked_challenge_count)),bt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},pn.current_complete_count||"-"),"/",bt.createElement("span",{className:"c-red"},pn.checked_challenge_count)),bt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",pn&&pn.efficiency===null?"--":pn&&pn.efficiency),bt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",pn&&pn.max_efficiency===null?"--":pn&&pn.max_efficiency))),bt.createElement("ul",{className:[He.listItem,"mt10"].join(" ")},bt.createElement("li",null,bt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),bt.createElement("div",{className:"c-light-black mt20"},pn&&pn.passed_time===null||pn&&pn.passed_time==="--"?"--":Ie()(pn&&pn.passed_time).format("YYYY-MM-DD HH:mm"))),bt.createElement("li",null,bt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",bt.createElement("i",{onClick:zi=>{zi.stopPropagation(),zi.preventDefault(),Oo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},pn==null?void 0:pn.human_training_time_rules)),bt.createElement("li",null,bt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",bt.createElement("i",{onClick:zi=>{zi.stopPropagation(),zi.preventDefault(),Qo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},pn.time_consuming)),bt.createElement("li",null,bt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),bt.createElement("div",{className:"mt20"},pn.evaluate_count)),(pn==null?void 0:pn.eff_score_full)&&bt.createElement(bt.Fragment,null,bt.createElement("li",null,bt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.challenge_score),"/",bt.createElement("span",{className:"c-light-black"},pn.challenge_score_full))),bt.createElement("li",null,bt.createElement("strong",null,"\u6548\u7387\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.eff_score),"/",bt.createElement("span",{className:"c-light-black"},pn.eff_score_full)))),(pn==null?void 0:pn.have_repeat)&&(pn==null?void 0:pn.repeat_minus_score)!==0&&bt.createElement("li",{style:{position:"relative"}},bt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},pn!=null&&pn.review_rate?bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(pn!=null&&pn.review_id&&hs)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Gr.categoryId}/review_detail/${pn==null?void 0:pn.review_id}`});else return}},pn.review_rate.toFixed(1),"%"):bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),hs?bt.createElement("div",{className:"mt20"},bt.createElement(Ce.default,{style:{width:"45px",height:"22px"},value:Sa,onChange:zi=>{Ou(zi)},onBlur:fu,disabled:Ua})," / ",pn==null?void 0:pn.repeat_setting_score):bt.createElement("div",{className:"mt20"},pn==null?void 0:pn.repeat_minus_score," / ",pn==null?void 0:pn.repeat_setting_score)),console.log("sssssssssssssssssssssss",pn==null?void 0:pn.have_repeat,pn==null?void 0:pn.repeat_minus_score),(pn==null?void 0:pn.have_repeat)&&(pn==null?void 0:pn.repeat_minus_score)===0&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),!(pn!=null&&pn.have_repeat)&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),bt.createElement("li",null,bt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",null,pn.late_penalty||"- -"))),pn.extra_score>0&&bt.createElement("li",null,bt.createElement("strong",null,"\u9644\u52A0\u5F97\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",null,pn.extra_score||"- -"))),bt.createElement("li",null,bt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},bo),"/",bt.createElement("span",{className:"c-light-black"},pn.all_work_score))),bt.createElement("li",null,bt.createElement("strong",null,"\u603B\u8BC4"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},pn.overall_appraisal))))),bt.createElement(ye.Z,{style:{margin:0}}),(pn.work_comment_hidden||pn.work_comment)&&bt.createElement("div",null,bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:1},bt.createElement("h1",{className:He.title},"\u70B9\u8BC4\u5185\u5BB9")),bt.createElement(Re.Z,{className:"pr30"},(0,ot.GJ)()&&bt.createElement(Se.ZP,{onClick:()=>$n(void 0,null,function*(){he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:bt.createElement(Je.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return $n(this,null,function*(){(yield(0,Oi.gZ)({comment_id:pn.comment_id,homeworkId:Gr.homeworkId})).status===0&&(xe.ZP.success("\u5220\u9664\u6210\u529F"),br({type:"shixunHomeworks/getShixunWorkReport",payload:Xr(Xr({},Gr),ns.current||{})}))})}})})},bt.createElement(Xe.Z,null),"\u5220\u9664"))),bt.createElement(ye.Z,{style:{margin:0}}),pn.work_comment&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(xt.Z,{value:pn.work_comment})),pn.work_comment_hidden&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(xt.Z,{value:pn.work_comment_hidden}))),(pn==null?void 0:pn.action_analysis)&&bt.createElement(gi,{detailData:pn}),bt.createElement("div",{className:He.score},bt.createElement("h1",{className:He.title},"\u9636\u6BB5\u6210\u7EE9"),(pn==null?void 0:pn.adjust_review_score_count)>0&&(0,ot.GJ)()&&bt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{$o(!0),Bu({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",pn==null?void 0:pn.adjust_review_score_count,"\u6B21\uFF09")),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(Ee.default,{dataSource:pn.stage_list,rowKey:zi=>zi==null?void 0:zi.challenge_id,pagination:!1,columns:Va})),((Pi=pn==null?void 0:pn.target_test_sets)==null?void 0:Pi.length)>0&&bt.createElement("div",null,bt.createElement("h1",{className:He.title},"\u6307\u6807\u6210\u7EE9"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(Ee.default,{dataSource:Rr,rowKey:zi=>zi==null?void 0:zi.challenge_id,pagination:!1,bordered:!0,columns:Zl}))),(pn==null?void 0:pn.work_description)&&bt.createElement(bt.Fragment,null,bt.createElement("h1",{className:He.title},"\u4E2A\u4EBA\u603B\u7ED3"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(xt.Z,{value:pn==null?void 0:pn.work_description}))),bt.createElement("h1",{className:He.title},"\u56FE\u5F62\u7EDF\u8BA1"),bt.createElement(_e,{data:Fi}),(pn==null?void 0:pn.is_open_submit_test_result)&&bt.createElement(bt.Fragment,null),bt.createElement("h1",{className:He.title},"\u5B9E\u8BAD\u8BE6\u60C5")),bt.createElement(ii,{autoHeight:_o}))),(0,ot.GJ)()&&bt.createElement("aside",{className:`${He.footerBar} ${eo?He.footerBarStatic:""}`},bt.createElement("aside",{className:"edu-container"},bt.createElement(ve.Z,{align:"middle"},bt.createElement(Re.Z,{flex:"1"},bt.createElement(Ue.Link,{className:He.exitComment,to:`/classrooms/${Gr.coursesId}/shixun_homework/${Gr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),bt.createElement(Re.Z,{flex:"1",className:"tr"},bt.createElement(Se.ZP,{type:"default",disabled:!(pn!=null&&pn.pre_student_work_id),onClick:()=>Sl()},"\u4E0A\u4E00\u4E2A"),bt.createElement(Se.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(pn!=null&&pn.next_student_work_id),onClick:()=>Sl("next")},"\u4E0B\u4E00\u4E2A"),(0,ot.GJ)()&&bt.createElement(Se.ZP,{type:"primary",onClick:()=>$n(void 0,null,function*(){br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:pn.user_id,data:Xr({},pn)},fn:()=>Bu({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),bt.createElement(di,null),bt.createElement(fi.Z,null),bt.createElement(he.default,{open:fo,width:860,centered:!0,onCancel:()=>{Oo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},bt.createElement("div",{style:{color:"#333333",fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),bt.createElement("br",null),bt.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),bt.createElement("br",null),bt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),bt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),bt.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),bt.createElement("br",null),bt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),bt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),bt.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),bt.createElement("br",null),bt.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),bt.createElement("br",null),bt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),bt.createElement(he.default,{open:ta,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Qo(!1)},width:600},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),bt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),bt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),bt.createElement(he.default,{open:Jo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ti("all"),$o(!1)},destroyOnClose:!0,width:900},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,bt.createElement("span",null,"\u5173\u5361\uFF1A"),bt.createElement(Me.default,{style:{width:300},value:Ur,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:zi=>$n(void 0,null,function*(){ti(zi),Bu({page:1,page_size:10},zi)})},bt.createElement(Me.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=pn==null?void 0:pn.stage_list)==null?void 0:wi.map((zi,zo)=>bt.createElement(Me.default.Option,{key:zo,value:zi==null?void 0:zi.challenge_id},"\u7B2C",(0,ht.EM)(zo+1),"\u5173")))),bt.createElement("div",{className:"mt20"},bt.createElement(Ee.default,{dataSource:Ai,rowKey:zi=>zi==null?void 0:zi.id,pagination:!1,columns:lu,loading:No})),bt.createElement("div",{className:He.footer},bt.createElement("div",null,bt.createElement("span",{style:{color:"#656F87"}},"\u5171",bt.createElement("span",{className:"c-light-primary"},Qi),"\u6761\u6570\u636E")),bt.createElement(Ke.Z,{defaultCurrent:1,defaultPageSize:10,current:(Zi==null?void 0:Zi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Qi,onChange:pl})))),bt.createElement(un.Z,{onClose:()=>{},onSuccess:()=>{}}))};var xi=(0,Ue.connect)(({shixunHomeworks:nr,classroomList:fr,loading:gn,globalSetting:cn,user:qn})=>({shixunHomeworks:nr,classroomList:fr,globalSetting:cn,loading:gn.effects,user:qn}))(Ti)},57797:function(Yn,Ut,ae){"use strict";var x=ae(62957),dt=ae(6767),Ie=ae(66165),qe=ae(85500),ze=ae(95970),Fe=ae(59301),Ue=(xe,oe,Ne)=>new Promise((ve,Re)=>{var Se=Ce=>{try{ye(Ne.next(Ce))}catch(Ee){Re(Ee)}},Oe=Ce=>{try{ye(Ne.throw(Ce))}catch(Ee){Re(Ee)}},ye=Ce=>Ce.done?ve(Ce.value):Promise.resolve(Ce.value).then(Se,Oe);ye((Ne=Ne.apply(xe,oe)).next())});const he=({shixunHomeworks:xe,classroomList:oe,dispatch:Ne})=>{const ve=(0,qe.useParams)();return Fe.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){var Re,Se,Oe,ye;if((0,ze.Rm)()&&!((Re=oe.AssistantObject.practice)!=null&&Re.can_redo)){dt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ce=yield(0,Ie.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ve.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Ce.shixun_identifier){dt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ne({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(Oe=(Se=Ce==null?void 0:Ce.new_works)==null?void 0:Se.find(Me=>`${Me.homework_common_id}`===ve.categoryId))==null?void 0:Oe.id;if((0,ze.Rm)()&&!((ye=oe.AssistantObject.practice)!=null&&ye.can_view))return;qe.history.replace(`/classrooms/${ve.coursesId}/shixun_homework/${ve.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Ne({type:"shixunHomeworks/setActionTabs",payload:{}})}},Fe.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Fe.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,qe.connect)(({shixunHomeworks:xe,classroomList:oe})=>({shixunHomeworks:xe,classroomList:oe}))(he)},34153:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return oe}});var x=ae(85500),dt=ae(62957),Ie=ae(7939),qe=ae(25399),ze=ae(66165),Fe={archiveTip:"archiveTip___ZP0rt"},Ue=ae(59301),he=(Ne,ve,Re)=>new Promise((Se,Oe)=>{var ye=Me=>{try{Ee(Re.next(Me))}catch(Ke){Oe(Ke)}},Ce=Me=>{try{Ee(Re.throw(Me))}catch(Ke){Oe(Ke)}},Ee=Me=>Me.done?Se(Me.value):Promise.resolve(Me.value).then(ye,Ce);Ee((Re=Re.apply(Ne,ve)).next())});const xe=({globalSetting:Ne,loading:ve,dispatch:Re,user:Se,shixunHomeworks:Oe,onClose:ye=()=>{},onSuccess:Ce=()=>{}})=>{var Ee,Me,Ke,je,Qe,Je,Xe,ut,ot,ht,Ct,He,ft,De,_e,Ot,it,at,Bt,We,Te,ct,Zt,zt,tt,Pt;return Ue.createElement(dt.default,{centered:!0,open:Oe.actionTabs.key=="\u5F52\u6863\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{Oe.actionTabs.goToBack(),Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Ue.createElement("div",null,((Ke=[0,1])==null?void 0:Ke.includes((Me=(Ee=Oe.actionTabs.params)==null?void 0:Ee.roleInfo)==null?void 0:Me.version_type))&&Ue.createElement(Ie.ZP,{onClick:()=>{var _t;Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),x.history.push(`/users/${(_t=Se.userInfo)==null?void 0:_t.login}/memberCenter`)}},"\u5347\u7EA7\u7248\u672C"),!((Je=[0,1,2])!=null&&Je.includes((Qe=(je=Oe.actionTabs.params)==null?void 0:je.roleInfo)==null?void 0:Qe.version_type))&&Ue.createElement(qe.Z,{title:Ue.createElement("div",null,Ue.createElement("img",{src:ae(89242),width:150,height:150,alt:""}))},Ue.createElement(Ie.ZP,null,"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")),Ue.createElement(Ie.ZP,{type:"primary",disabled:((ut=(Xe=Oe.actionTabs.params)==null?void 0:Xe.roleInfo)==null?void 0:ut.surplus_archive_view_count)==0,style:((ht=(ot=Oe.actionTabs.params)==null?void 0:ot.roleInfo)==null?void 0:ht.surplus_archive_view_count)==0?{marginLeft:"20px"}:{},onClick:()=>he(void 0,null,function*(){var _t;const fn=yield(0,ze.ZP)("/api/users/archive_view.json",{method:"post",body:{container_id:(_t=Oe.actionTabs.params)==null?void 0:_t.homework_id,container_type:"HomeworkCommon"}});(fn==null?void 0:fn.status)==0&&(Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Oe.actionTabs.goToDetail())})},"\u786E\u8BA4",((Ct=Oe.actionTabs.params)==null?void 0:Ct.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B"))},Ue.createElement("div",null,Ue.createElement("div",{className:Fe.archiveTip},"\u8BE5\u8BFE\u5802\u5B9E\u9A8C\u5DF2\u8D85\u8FC7 1 \u5E74\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u5F52\u6863\u3002"),Ue.createElement("div",{className:Fe.archiveTip},((He=Oe.actionTabs.params)==null?void 0:He.type)=="\u64CD\u4F5C"?"\u8BE5\u64CD\u4F5C":"\u67E5\u770B\u5386\u53F2\u5F52\u6863\u6570\u636E","\u5C06\u6D88\u8017",Ue.createElement("span",{style:{color:"#FA6400"}}," 1 "),"\u6B21\u67E5\u770B\u989D\u5EA6\uFF08\u5F53\u5929 24 \u70B9\u4E4B\u524D\u91CD\u590D",((ft=Oe.actionTabs.params)==null?void 0:ft.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B","\u4E0D\u91CD\u590D\u6263\u51CF\uFF09\u3002"),Ue.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px"}},"\u60A8\u5F53\u524D\u4E3A",Ue.createElement("span",{style:{color:"#3061D0"}}," ",((_e=(De=Oe.actionTabs.params)==null?void 0:De.roleInfo)==null?void 0:_e.version_type)==0?"\u57FA\u7840\u7248":((it=(Ot=Oe.actionTabs.params)==null?void 0:Ot.roleInfo)==null?void 0:it.version_type)==1?"\u6807\u51C6\u7248":((Bt=(at=Oe.actionTabs.params)==null?void 0:at.roleInfo)==null?void 0:Bt.version_type)==2?"\u4E13\u4E1A\u7248":"\u514D\u8D39\u7248","\u7528\u6237"),"\uFF0C\u6BCF\u5E74\u9ED8\u8BA4\u53EF\u67E5\u770B",Ue.createElement("span",{style:{color:"#3061D0"}}," ",(Te=(We=Oe.actionTabs.params)==null?void 0:We.roleInfo)==null?void 0:Te.archive_view_year_count," "),"\u6B21\u5386\u53F2\u5F52\u6863\u6570\u636E\u3002"),Ue.createElement("div",{className:Fe.archiveTip},"\u5269\u4F59\u53EF\u7528\uFF1A",Ue.createElement("span",{style:{color:"#FA6400"}},(Zt=(ct=Oe.actionTabs.params)==null?void 0:ct.roleInfo)==null?void 0:Zt.surplus_archive_view_count," "),"\u6B21\u3002"),((Pt=[0,1])==null?void 0:Pt.includes((tt=(zt=Oe.actionTabs.params)==null?void 0:zt.roleInfo)==null?void 0:tt.version_type))&&Ue.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px",color:"#3061D0"}},"\u5347\u7EA7\u7248\u672C\u53EF\u83B7\u5F97\u66F4\u591A\u67E5\u770B\u989D\u5EA6\u3002")))};var oe=(0,x.connect)(({loading:Ne,globalSetting:ve,shixunHomeworks:Re,user:Se})=>({globalSetting:ve,loading:Ne.effects,shixunHomeworks:Re,user:Se}))(xe)},95707:function(Yn,Ut,ae){"use strict";ae.d(Ut,{AD:function(){return _e},BA:function(){return ie},D9:function(){return ct},Hp:function(){return Je},IM:function(){return zt},Iy:function(){return ut},KM:function(){return ge},KU:function(){return fn},MJ:function(){return Xe},Ne:function(){return Zt},ON:function(){return vn},Uj:function(){return on},VY:function(){return _t},YO:function(){return Sn},YX:function(){return kt},Zn:function(){return Oe},_g:function(){return Ke},_k:function(){return We},c6:function(){return ft},cr:function(){return ye},eV:function(){return De},fi:function(){return Ce},gh:function(){return Ct},hS:function(){return tt},iA:function(){return Ee},j6:function(){return je},je:function(){return at},jj:function(){return Qe},kS:function(){return Tt},lS:function(){return Bt},o6:function(){return He},pO:function(){return de},rQ:function(){return Ot},sA:function(){return ht},xm:function(){return Te},xo:function(){return Pt},y8:function(){return it},yd:function(){return Me}});var x=ae(7250),dt=ae(85500),Ie=ae(72916),qe=ae(6767),ze=ae(9294),Fe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(ee,se,le)=>se in ee?Fe(ee,se,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[se]=le,Ne=(ee,se)=>{for(var le in se||(se={}))he.call(se,le)&&oe(ee,le,se[le]);if(Ue)for(var le of Ue(se))xe.call(se,le)&&oe(ee,le,se[le]);return ee},ve=(ee,se,le)=>new Promise((Be,Ve)=>{var st=St=>{try{mt(le.next(St))}catch(Dt){Ve(Dt)}},gt=St=>{try{mt(le.throw(St))}catch(Dt){Ve(Dt)}},mt=St=>St.done?Be(St.value):Promise.resolve(St.value).then(st,gt);mt((le=le.apply(ee,se)).next())});const Re=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Se=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Oe=ee=>ve(void 0,null,function*(){Re(),(yield(0,x.YR)(Ne({},ee))).status===0&&(yield(0,Ie.QH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_couser_info.json`,query:ee}))),Se()}),ye=ee=>ve(void 0,null,function*(){const se=yield(0,x.yS)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(se.status===-2)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),Ce=ee=>ve(void 0,null,function*(){const se=yield(0,x.W0)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ve(void 0,null,function*(){const se=yield(0,x.Nl)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),Me=ee=>ve(void 0,null,function*(){const se=yield(0,x.IU)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),Ke=ee=>ve(void 0,null,function*(){const se=yield(0,x.td)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-2)return se;if(se.status===-3)(0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(se.status===-4)return se}}),je=ee=>ve(void 0,null,function*(){const se=yield(0,x.QX)(Ne({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),Qe=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.o_)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Je=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.ZL)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Xe=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.vV)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),ut=(ee,se)=>ve(void 0,null,function*(){const le=yield(0,x.aP)(Ne({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),ot=ee=>ve(void 0,null,function*(){Re(),(yield exportCourseWorkListAppendix(Ne({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Se()}),ht=ee=>ve(void 0,null,function*(){Re(),yield(0,Ie.FH)("",ze.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Se()}),Ct=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/attendances/export_xlsx_data.xlsx`,query:ee}))}),He=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/video_study_statics.xlsx`,query:ee}))}),ft=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_video_study.xlsx`,query:ee}))}),De=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_course_students_info.xlsx`,query:ee}))}),_e=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ot=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ee}))}),it=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),at=ee=>ve(void 0,null,function*(){const se=yield(0,x.Uy)(Ne({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Bt=ee=>ve(void 0,null,function*(){const se=yield(0,x.tg)(Ne({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),We=ee=>ve(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/export_records/${ee.id}.xlsx`,query:ee}))}),Te=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ee}))}),ct=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/${ee.menuKey}_statistic.xlsx?${ee.checkedList.map(se=>`course_group_id[]=${se}`).join("&")}`,query:ee}))}),Zt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_training_objectives.xlsx`,query:ee}))}),zt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)(ee==null?void 0:ee.name,(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ee}))}),tt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_courses.xlsx`,query:ee}))}),Pt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_graduation_requirements.xlsx`,query:ee}))}),_t=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),fn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee.categoryId}/rank_list.xlsx`,query:ee}))}),Tt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),vn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),kt=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee.categoryId}.json`,query:ee}))}),Sn=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/polls/${ee==null?void 0:ee.id}/commit_result.json`,query:ee}))}),on=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ee}))}),de=(ee,se)=>ve(void 0,null,function*(){yield(0,Ie.FH)(se||"",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/competitions/${ee==null?void 0:ee.identifier}/competition_commit_records/member_works.xlsx`,query:ee}))}),ie=ee=>ve(void 0,null,function*(){yield(0,Ie.FH)("",(0,Ie.NY)({url:ze.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/group_homeworks/import_group_template.xlsx`,query:ee}))})},65290:function(Yn,Ut,ae){"use strict";ae.d(Ut,{U:function(){return xe}});var x=ae(59301),dt=Object.defineProperty,Ie=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Fe=(oe,Ne,ve)=>Ne in oe?dt(oe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ve}):oe[Ne]=ve,Ue=(oe,Ne)=>{for(var ve in Ne||(Ne={}))qe.call(Ne,ve)&&Fe(oe,ve,Ne[ve]);if(Ie)for(var ve of Ie(Ne))ze.call(Ne,ve)&&Fe(oe,ve,Ne[ve]);return oe},he=(oe,Ne,ve)=>new Promise((Re,Se)=>{var Oe=Ee=>{try{Ce(ve.next(Ee))}catch(Me){Se(Me)}},ye=Ee=>{try{Ce(ve.throw(Ee))}catch(Me){Se(Me)}},Ce=Ee=>Ee.done?Re(Ee.value):Promise.resolve(Ee.value).then(Oe,ye);Ce((ve=ve.apply(oe,Ne)).next())});function xe(oe,Ne){const[ve,Re]=(0,x.useState)(Ne),[Se,Oe]=(0,x.useState)(!1),[ye,Ce]=(0,x.useState)();return[ve,Se,(Me,Ke=!1)=>he(this,null,function*(){const je=Ke?Ne:Ue(Ue({},ve),Me);Oe(!0),Re(je);const Qe=yield oe(je);return Oe(!1),Ce(Qe),Qe}),ye,Ce]}},41751:function(Yn,Ut,ae){"use strict";ae.d(Ut,{AL:function(){return je},Iy:function(){return Ne},Qv:function(){return Se},ez:function(){return Ke},jb:function(){return ve}});var x=ae(32834),dt=ae.n(x),Ie=ae(11690),qe=ae.n(Ie);let ze=1;function Fe(ot,ht){const Ct=ot.match(/^(\s+)(?:```)/);if(Ct===null)return ht;const He=Ct[1];return ht.split(` +`).map(ft=>{const De=ft.match(/^\s+/);if(De===null)return ft;const[_e]=De;return _e.length>=He.length?ft.slice(He.length):ft}).join(` +`)}let Ue=[],he=["
      "];const xe=new(dt()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ne(){Ue.length=0,he=["
        "]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Re(ot,ht,Ct,He){if(ht>=ot.length||ot[ht].level<=Ct)return ht;var ft=ot[ht];He.push("
      • "+ft.text+""),ht++;var De=[];return ht=Re(ot,ht,ft.level,De),De.length>0&&(He.push("
          "),De.forEach(function(_e){He.push(_e)}),He.push("
        ")),He.push("
      • "),ht=Re(ot,ht,Ct,He),ht}function Se(){return Re(Ue,0,0,he),he.push("
      "),he.join("")}const Oe={heading(ot){const ht=oe.exec(ot);if(ze+=1,ht)return{type:"heading",raw:ht[0],depth:ht[1].length,text:ht[2]}},fences(ot){const ht=this.rules.block.fences.exec(ot);if(ht){const Ct=ht[0];let He=Fe(Ct,ht[3]||"");const ft=ht[2]?ht[2].trim():ht[2];if(["latex","katex","math"].indexOf(ft)>=0){const De=Ee(),_e=He;He=De,Me[De]={type:"block",expression:_e}}return{type:"code",raw:Ct,lang:ft,text:He}}}},ye=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ce=0;const Ee=()=>`__special_katext_id_${Ce++}__`;let Me={};function Ke(){return Me}function je(){Ce=0,Me={}}function Qe(ot){return ot=ot.replace(ye,(ht,Ct)=>{const He=Ee();return Me[He]={type:"inline",expression:Ct},He}),ot}const Je=xe.listitem;xe.listitem=function(ot){return Je(Qe(ot))};const Xe=xe.paragraph;xe.paragraph=function(ot){return Xe(Qe(ot))};const ut=xe.tablecell;xe.tablecell=function(ot,ht){return ut(Qe(ot),ht)},xe.code=function(ot,ht,Ct){const He=(ht||"").match(/\S*/)[0];return He?["latex","katex","math"].indexOf(He)>=0?`

      ${ot}

      `:`
      ${Ct?ot:(0,Ie.escape)(ot,!0)}
      +`:'
      '+(Ct?ot:(0,Ie.escape)(ot,!0))+"
      "},xe.heading=function(ot,ht,Ct){let He=this.options.headerPrefix+Ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ue.push({anchor:He,level:ht,text:ot}),"'+ot+""},dt().setOptions({silent:!0,gfm:!0,pedantic:!1}),dt().use({tokenizer:Oe,renderer:xe}),Ut.ZP=dt()},9981:function(Yn,Ut){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let dt=1;dt{const ze=Ie[qe];ze!==void 0&&(x[qe]=ze)})}return x};Ut.Z=ae},86013:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(19248);const Ie=qe=>{let ze;return typeof qe=="object"&&(qe!=null&&qe.clearIcon)?ze=qe:qe&&(ze={clearIcon:x.createElement(dt.Z,null)}),ze};Ut.Z=Ie},97224:function(Yn,Ut,ae){"use strict";ae.d(Ut,{F:function(){return x}});function x(Ie){return Ie!=null&&Ie===Ie.window}const dt=Ie=>{var qe,ze;if(typeof window=="undefined")return 0;let Fe=0;return x(Ie)?Fe=Ie.pageYOffset:Ie instanceof Document?Fe=Ie.documentElement.scrollTop:(Ie instanceof HTMLElement||Ie)&&(Fe=Ie.scrollTop),Ie&&!x(Ie)&&typeof Fe!="number"&&(Fe=(ze=((qe=Ie.ownerDocument)!==null&&qe!==void 0?qe:Ie).documentElement)===null||ze===void 0?void 0:ze.scrollTop),Fe};Ut.Z=dt},83010:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return qe}});var x=ae(16089);function dt(ze,Fe,Ue,he){const xe=Ue-Fe;return ze/=he/2,ze<1?xe/2*ze*ze*ze+Fe:xe/2*((ze-=2)*ze*ze+2)+Fe}var Ie=ae(97224);function qe(ze){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ue=()=>window,callback:he,duration:xe=450}=Fe,oe=Ue(),Ne=(0,Ie.Z)(oe),ve=Date.now(),Re=()=>{const Oe=Date.now()-ve,ye=dt(Oe>xe?xe:Oe,Ne,ze,xe);(0,Ie.F)(oe)?oe.scrollTo(window.pageXOffset,ye):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=ye:oe.scrollTop=ye,Oe{let{children:Bt}=at;const{getPrefixCls:We}=x.useContext(Ue.E_),Te=We("breadcrumb");return x.createElement("li",{className:`${Te}-separator`,"aria-hidden":"true"},Bt===""?Bt:Bt||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Ne=oe,ve=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ctBt[ct]||Te)}function Se(at,Bt,We,Te){if(We==null)return null;const{className:ct,onClick:Zt}=Bt,zt=ve(Bt,["className","onClick"]),tt=Object.assign(Object.assign({},(0,ze.Z)(zt,{data:!0,aria:!0})),{onClick:Zt});return Te!==void 0?x.createElement("a",Object.assign({},tt,{className:Ie()(`${at}-link`,ct),href:Te}),We):x.createElement("span",Object.assign({},tt,{className:Ie()(`${at}-link`,ct)}),We)}function Oe(at,Bt){return(Te,ct,Zt,zt,tt)=>{if(Bt)return Bt(Te,ct,Zt,zt);const Pt=Re(Te,ct);return Se(at,Te,Pt,tt)}}var ye=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{const{prefixCls:Bt,separator:We="/",children:Te,menu:ct,overlay:Zt,dropdownProps:zt,href:tt}=at,_t=(fn=>{if(ct||Zt){const Tt=Object.assign({},zt);if(ct){const vn=ct||{},{items:kt}=vn,Sn=ye(vn,["items"]);Tt.menu=Object.assign(Object.assign({},Sn),{items:kt==null?void 0:kt.map((on,de)=>{var{key:ge,title:ie,label:ee,path:se}=on,le=ye(on,["key","title","label","path"]);let Be=ee!=null?ee:ie;return se&&(Be=x.createElement("a",{href:`${tt}${se}`},Be)),Object.assign(Object.assign({},le),{key:ge!=null?ge:de,label:Be})})})}else Zt&&(Tt.overlay=Zt);return x.createElement(xe.Z,Object.assign({placement:"bottom"},Tt),x.createElement("span",{className:`${Bt}-overlay-link`},fn,x.createElement(he.Z,null)))}return fn})(Te);return _t!=null?x.createElement(x.Fragment,null,x.createElement("li",null,_t),We&&x.createElement(Ne,null,We)):null},Ee=at=>{const{prefixCls:Bt,children:We,href:Te}=at,ct=ye(at,["prefixCls","children","href"]),{getPrefixCls:Zt}=x.useContext(Ue.E_),zt=Zt("breadcrumb",Bt);return x.createElement(Ce,Object.assign({},ct,{prefixCls:zt}),Se(zt,ct,We,Te))};Ee.__ANT_BREADCRUMB_ITEM=!0;var Me=Ee,Ke=ae(36237),je=ae(63356),Qe=ae(16931),Je=ae(51636);const Xe=at=>{const{componentCls:Bt,iconCls:We,calc:Te}=at;return{[Bt]:Object.assign(Object.assign({},(0,je.Wf)(at)),{color:at.itemColor,fontSize:at.fontSize,[We]:{fontSize:at.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:at.linkColor,transition:`color ${at.motionDurationMid}`,padding:`0 ${(0,Ke.unit)(at.paddingXXS)}`,borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",marginInline:Te(at.marginXXS).mul(-1).equal(),"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover}},(0,je.Qy)(at)),"li:last-child":{color:at.lastItemColor},[`${Bt}-separator`]:{marginInline:at.separatorMargin,color:at.separatorColor},[`${Bt}-link`]:{[` > ${We} + span, > ${We} + a - `]:{marginInlineStart:at.marginXXS}},[`${Bt}-overlay-link`]:{borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",padding:`0 ${(0,Ke.unit)(at.paddingXXS)}`,marginInline:Te(at.marginXXS).mul(-1).equal(),[`> ${We}`]:{marginInlineStart:at.marginXXS,fontSize:at.fontSizeIcon},"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover,a:{color:at.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${at.componentCls}-rtl`]:{direction:"rtl"}})}},ut=at=>({itemColor:at.colorTextDescription,lastItemColor:at.colorText,iconFontSize:at.fontSize,linkColor:at.colorTextDescription,linkHoverColor:at.colorText,separatorColor:at.colorTextDescription,separatorMargin:at.marginXS});var ot=(0,_e.I$)("Breadcrumb",at=>{const Bt=(0,Je.mergeToken)(at,{});return Xe(Bt)},ut),ht=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{var{breadcrumbName:jt}=Zt,tt=ht(Zt,["breadcrumbName"]);return Object.assign(Object.assign({},tt),{title:jt})})}),ct}function He(at,Bt){return(0,x.useMemo)(()=>at||(Bt?Bt.map(Ct):null),[at,Bt])}var ft=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{if(Bt===void 0)return Bt;let We=(Bt||"").replace(/^\//,"");return Object.keys(at).forEach(Te=>{We=We.replace(`:${Te}`,at[Te])}),We},Qe=at=>{const{prefixCls:Bt,separator:We="/",style:Te,className:ct,rootClassName:Zt,routes:jt,items:tt,children:Tt,itemRender:_t,params:hn={}}=at,Pt=ft(at,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:vn,direction:kt,breadcrumb:Sn}=x.useContext(Ue.E_);let on;const de=vn("breadcrumb",Bt),[ge,ie,ee]=ot(de),se=He(tt,jt),le=Pe(de,_t);if(se&&se.length>0){const st=[],gt=tt||jt;on=se.map((mt,St)=>{const{path:Dt,key:Ht,type:xt,menu:lt,overlay:Xt,onClick:Vt,className:wn,separator:an,dropdownProps:en}=mt,zn=De(hn,Dt);zn!==void 0&&st.push(zn);const In=Ht!=null?Ht:St;if(xt==="separator")return x.createElement(Ne,{key:In},an);const Qt={},sn=St===se.length-1;lt?Qt.menu=lt:Xt&&(Qt.overlay=Xt);let{href:Nn}=mt;return st.length&&zn!==void 0&&(Nn=`#/${st.join("/")}`),x.createElement(Ce,Object.assign({key:In},Qt,(0,ze.Z)(mt,{data:!0,aria:!0}),{className:wn,dropdownProps:en,href:Nn,separator:sn?"":We,onClick:Vt,prefixCls:de}),le(mt,hn,gt,st,Nn))})}else if(Tt){const st=(0,qe.Z)(Tt).length;on=(0,qe.Z)(Tt).map((gt,mt)=>{if(!gt)return gt;const St=mt===st-1;return(0,Fe.Tm)(gt,{separator:St?"":We,key:mt})})}const Be=Ie()(de,Sn==null?void 0:Sn.className,{[`${de}-rtl`]:kt==="rtl"},ct,Zt,ie,ee),Ve=Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Te);return ge(x.createElement("nav",Object.assign({className:Be,style:Ve},Pt),x.createElement("ol",null,on)))};Qe.Item=Me,Qe.Separator=Ne;var Ot=Qe,it=Ot},62673:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return ot}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(16632),ze=ae(8654),Fe=ae(12919),Ue=ae(63872),he=ae(48755),xe=ae(2171),oe=ae(83397),Ne=ae(56553),Re=x.createContext(null),Se=ae(36170),Pe=ae(74632),ye=function(ht,Ct){var He={};for(var ft in ht)Object.prototype.hasOwnProperty.call(ht,ft)&&Ct.indexOf(ft)<0&&(He[ft]=ht[ft]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ft=Object.getOwnPropertySymbols(ht);De{var He;const{prefixCls:ft,className:De,rootClassName:Qe,children:Ot,indeterminate:it=!1,style:at,onMouseEnter:Bt,onMouseLeave:We,skipGroup:Te=!1,disabled:ct}=ht,Zt=ye(ht,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:jt,direction:tt,checkbox:Tt}=x.useContext(he.E_),_t=x.useContext(Re),{isFormItemInput:hn}=x.useContext(Ne.aM),Pt=x.useContext(xe.Z),vn=(He=(_t==null?void 0:_t.disabled)||ct)!==null&&He!==void 0?He:Pt,kt=x.useRef(Zt.value),Sn=x.useRef(null),on=(0,ze.sQ)(Ct,Sn);x.useEffect(()=>{_t==null||_t.registerValue(Zt.value)},[]),x.useEffect(()=>{if(!Te)return Zt.value!==kt.current&&(_t==null||_t.cancelValue(kt.current),_t==null||_t.registerValue(Zt.value),kt.current=Zt.value),()=>_t==null?void 0:_t.cancelValue(Zt.value)},[Zt.value]),x.useEffect(()=>{var mt;!((mt=Sn.current)===null||mt===void 0)&&mt.input&&(Sn.current.input.indeterminate=it)},[it]);const de=jt("checkbox",ft),ge=(0,oe.Z)(de),[ie,ee,se]=(0,Se.ZP)(de,ge),le=Object.assign({},Zt);_t&&!Te&&(le.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),_t.toggleOption&&_t.toggleOption({label:Ot,value:Zt.value})},le.name=_t.name,le.checked=_t.value.includes(Zt.value));const Be=Ie()(`${de}-wrapper`,{[`${de}-rtl`]:tt==="rtl",[`${de}-wrapper-checked`]:le.checked,[`${de}-wrapper-disabled`]:vn,[`${de}-wrapper-in-form-item`]:hn},Tt==null?void 0:Tt.className,De,Qe,se,ge,ee),Ve=Ie()({[`${de}-indeterminate`]:it},Ue.A,ee),[st,gt]=(0,Pe.Z)(le.onClick);return ie(x.createElement(Fe.Z,{component:"Checkbox",disabled:vn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),at),onMouseEnter:Bt,onMouseLeave:We,onClick:st},x.createElement(qe.Z,Object.assign({},le,{onClick:gt,prefixCls:de,className:Ve,disabled:vn,ref:on})),Ot!==void 0&&x.createElement("span",{className:`${de}-label`},Ot))))};var Me=x.forwardRef(Ce),Ke=ae(77654),je=ae(2738),_e=function(ht,Ct){var He={};for(var ft in ht)Object.prototype.hasOwnProperty.call(ht,ft)&&Ct.indexOf(ft)<0&&(He[ft]=ht[ft]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ft=Object.getOwnPropertySymbols(ht);De{const{defaultValue:He,children:ft,options:De=[],prefixCls:Qe,className:Ot,rootClassName:it,style:at,onChange:Bt}=ht,We=_e(ht,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Te,direction:ct}=x.useContext(he.E_),[Zt,jt]=x.useState(We.value||He||[]),[tt,Tt]=x.useState([]);x.useEffect(()=>{"value"in We&&jt(We.value||[])},[We.value]);const _t=x.useMemo(()=>De.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[De]),hn=Ve=>{Tt(st=>st.filter(gt=>gt!==Ve))},Pt=Ve=>{Tt(st=>[].concat((0,Ke.Z)(st),[Ve]))},vn=Ve=>{const st=Zt.indexOf(Ve.value),gt=(0,Ke.Z)(Zt);st===-1?gt.push(Ve.value):gt.splice(st,1),"value"in We||jt(gt),Bt==null||Bt(gt.filter(mt=>tt.includes(mt)).sort((mt,St)=>{const Dt=_t.findIndex(xt=>xt.value===mt),Ht=_t.findIndex(xt=>xt.value===St);return Dt-Ht}))},kt=Te("checkbox",Qe),Sn=`${kt}-group`,on=(0,oe.Z)(kt),[de,ge,ie]=(0,Se.ZP)(kt,on),ee=(0,je.Z)(We,["value","disabled"]),se=De.length?_t.map(Ve=>x.createElement(Me,{prefixCls:kt,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:We.disabled,value:Ve.value,checked:Zt.includes(Ve.value),onChange:Ve.onChange,className:`${Sn}-item`,style:Ve.style,title:Ve.title,id:Ve.id,required:Ve.required},Ve.label)):ft,le={toggleOption:vn,value:Zt,disabled:We.disabled,name:We.name,registerValue:Pt,cancelValue:hn},Be=Ie()(Sn,{[`${Sn}-rtl`]:ct==="rtl"},Ot,it,ie,on,ge);return de(x.createElement("div",Object.assign({className:Be,style:at},ee,{ref:Ct}),x.createElement(Re.Provider,{value:le},se)))});const ut=Me;ut.Group=Xe,ut.__ANT_CHECKBOX=!0;var ot=ut},36170:function(Yn,Ut,ae){"use strict";ae.d(Ut,{C2:function(){return Fe}});var x=ae(36237),dt=ae(63356),Ie=ae(51636),qe=ae(16931);const ze=Ue=>{const{checkboxCls:he}=Ue,xe=`${he}-wrapper`;return[{[`${he}-group`]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ue.marginXS,[`> ${Ue.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[he]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ue.borderRadiusSM,alignSelf:"center",[`${he}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${he}-inner`]:Object.assign({},(0,dt.oN)(Ue))},[`${he}-inner`]:{boxSizing:"border-box",display:"block",width:Ue.checkboxSize,height:Ue.checkboxSize,direction:"ltr",backgroundColor:Ue.colorBgContainer,border:`${(0,x.unit)(Ue.lineWidth)} ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ue.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ue.calc(Ue.checkboxSize).div(14).mul(5).equal(),height:Ue.calc(Ue.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Ue.lineWidthBold)} solid ${Ue.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ue.motionDurationFast} ${Ue.motionEaseInBack}, opacity ${Ue.motionDurationFast}`}},"& + span":{paddingInlineStart:Ue.paddingXS,paddingInlineEnd:Ue.paddingXS}})},{[` + `]:{marginInlineStart:at.marginXXS}},[`${Bt}-overlay-link`]:{borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",padding:`0 ${(0,Ke.unit)(at.paddingXXS)}`,marginInline:Te(at.marginXXS).mul(-1).equal(),[`> ${We}`]:{marginInlineStart:at.marginXXS,fontSize:at.fontSizeIcon},"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover,a:{color:at.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${at.componentCls}-rtl`]:{direction:"rtl"}})}},ut=at=>({itemColor:at.colorTextDescription,lastItemColor:at.colorText,iconFontSize:at.fontSize,linkColor:at.colorTextDescription,linkHoverColor:at.colorText,separatorColor:at.colorTextDescription,separatorMargin:at.marginXS});var ot=(0,Qe.I$)("Breadcrumb",at=>{const Bt=(0,Je.mergeToken)(at,{});return Xe(Bt)},ut),ht=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{var{breadcrumbName:zt}=Zt,tt=ht(Zt,["breadcrumbName"]);return Object.assign(Object.assign({},tt),{title:zt})})}),ct}function He(at,Bt){return(0,x.useMemo)(()=>at||(Bt?Bt.map(Ct):null),[at,Bt])}var ft=function(at,Bt){var We={};for(var Te in at)Object.prototype.hasOwnProperty.call(at,Te)&&Bt.indexOf(Te)<0&&(We[Te]=at[Te]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Te=Object.getOwnPropertySymbols(at);ct{if(Bt===void 0)return Bt;let We=(Bt||"").replace(/^\//,"");return Object.keys(at).forEach(Te=>{We=We.replace(`:${Te}`,at[Te])}),We},_e=at=>{const{prefixCls:Bt,separator:We="/",style:Te,className:ct,rootClassName:Zt,routes:zt,items:tt,children:Pt,itemRender:_t,params:fn={}}=at,Tt=ft(at,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:vn,direction:kt,breadcrumb:Sn}=x.useContext(Ue.E_);let on;const de=vn("breadcrumb",Bt),[ge,ie,ee]=ot(de),se=He(tt,zt),le=Oe(de,_t);if(se&&se.length>0){const st=[],gt=tt||zt;on=se.map((mt,St)=>{const{path:Dt,key:jt,type:xt,menu:lt,overlay:Xt,onClick:Vt,className:wn,separator:an,dropdownProps:en}=mt,zn=De(fn,Dt);zn!==void 0&&st.push(zn);const In=jt!=null?jt:St;if(xt==="separator")return x.createElement(Ne,{key:In},an);const Qt={},sn=St===se.length-1;lt?Qt.menu=lt:Xt&&(Qt.overlay=Xt);let{href:Nn}=mt;return st.length&&zn!==void 0&&(Nn=`#/${st.join("/")}`),x.createElement(Ce,Object.assign({key:In},Qt,(0,ze.Z)(mt,{data:!0,aria:!0}),{className:wn,dropdownProps:en,href:Nn,separator:sn?"":We,onClick:Vt,prefixCls:de}),le(mt,fn,gt,st,Nn))})}else if(Pt){const st=(0,qe.Z)(Pt).length;on=(0,qe.Z)(Pt).map((gt,mt)=>{if(!gt)return gt;const St=mt===st-1;return(0,Fe.Tm)(gt,{separator:St?"":We,key:mt})})}const Be=Ie()(de,Sn==null?void 0:Sn.className,{[`${de}-rtl`]:kt==="rtl"},ct,Zt,ie,ee),Ve=Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Te);return ge(x.createElement("nav",Object.assign({className:Be,style:Ve},Tt),x.createElement("ol",null,on)))};_e.Item=Me,_e.Separator=Ne;var Ot=_e,it=Ot},62673:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return ot}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(16632),ze=ae(8654),Fe=ae(12919),Ue=ae(63872),he=ae(48755),xe=ae(2171),oe=ae(83397),Ne=ae(56553),Re=x.createContext(null),Se=ae(36170),Oe=ae(74632),ye=function(ht,Ct){var He={};for(var ft in ht)Object.prototype.hasOwnProperty.call(ht,ft)&&Ct.indexOf(ft)<0&&(He[ft]=ht[ft]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ft=Object.getOwnPropertySymbols(ht);De{var He;const{prefixCls:ft,className:De,rootClassName:_e,children:Ot,indeterminate:it=!1,style:at,onMouseEnter:Bt,onMouseLeave:We,skipGroup:Te=!1,disabled:ct}=ht,Zt=ye(ht,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:zt,direction:tt,checkbox:Pt}=x.useContext(he.E_),_t=x.useContext(Re),{isFormItemInput:fn}=x.useContext(Ne.aM),Tt=x.useContext(xe.Z),vn=(He=(_t==null?void 0:_t.disabled)||ct)!==null&&He!==void 0?He:Tt,kt=x.useRef(Zt.value),Sn=x.useRef(null),on=(0,ze.sQ)(Ct,Sn);x.useEffect(()=>{_t==null||_t.registerValue(Zt.value)},[]),x.useEffect(()=>{if(!Te)return Zt.value!==kt.current&&(_t==null||_t.cancelValue(kt.current),_t==null||_t.registerValue(Zt.value),kt.current=Zt.value),()=>_t==null?void 0:_t.cancelValue(Zt.value)},[Zt.value]),x.useEffect(()=>{var mt;!((mt=Sn.current)===null||mt===void 0)&&mt.input&&(Sn.current.input.indeterminate=it)},[it]);const de=zt("checkbox",ft),ge=(0,oe.Z)(de),[ie,ee,se]=(0,Se.ZP)(de,ge),le=Object.assign({},Zt);_t&&!Te&&(le.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),_t.toggleOption&&_t.toggleOption({label:Ot,value:Zt.value})},le.name=_t.name,le.checked=_t.value.includes(Zt.value));const Be=Ie()(`${de}-wrapper`,{[`${de}-rtl`]:tt==="rtl",[`${de}-wrapper-checked`]:le.checked,[`${de}-wrapper-disabled`]:vn,[`${de}-wrapper-in-form-item`]:fn},Pt==null?void 0:Pt.className,De,_e,se,ge,ee),Ve=Ie()({[`${de}-indeterminate`]:it},Ue.A,ee),[st,gt]=(0,Oe.Z)(le.onClick);return ie(x.createElement(Fe.Z,{component:"Checkbox",disabled:vn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),at),onMouseEnter:Bt,onMouseLeave:We,onClick:st},x.createElement(qe.Z,Object.assign({},le,{onClick:gt,prefixCls:de,className:Ve,disabled:vn,ref:on})),Ot!==void 0&&x.createElement("span",{className:`${de}-label`},Ot))))};var Me=x.forwardRef(Ce),Ke=ae(77654),je=ae(2738),Qe=function(ht,Ct){var He={};for(var ft in ht)Object.prototype.hasOwnProperty.call(ht,ft)&&Ct.indexOf(ft)<0&&(He[ft]=ht[ft]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ft=Object.getOwnPropertySymbols(ht);De{const{defaultValue:He,children:ft,options:De=[],prefixCls:_e,className:Ot,rootClassName:it,style:at,onChange:Bt}=ht,We=Qe(ht,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Te,direction:ct}=x.useContext(he.E_),[Zt,zt]=x.useState(We.value||He||[]),[tt,Pt]=x.useState([]);x.useEffect(()=>{"value"in We&&zt(We.value||[])},[We.value]);const _t=x.useMemo(()=>De.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[De]),fn=Ve=>{Pt(st=>st.filter(gt=>gt!==Ve))},Tt=Ve=>{Pt(st=>[].concat((0,Ke.Z)(st),[Ve]))},vn=Ve=>{const st=Zt.indexOf(Ve.value),gt=(0,Ke.Z)(Zt);st===-1?gt.push(Ve.value):gt.splice(st,1),"value"in We||zt(gt),Bt==null||Bt(gt.filter(mt=>tt.includes(mt)).sort((mt,St)=>{const Dt=_t.findIndex(xt=>xt.value===mt),jt=_t.findIndex(xt=>xt.value===St);return Dt-jt}))},kt=Te("checkbox",_e),Sn=`${kt}-group`,on=(0,oe.Z)(kt),[de,ge,ie]=(0,Se.ZP)(kt,on),ee=(0,je.Z)(We,["value","disabled"]),se=De.length?_t.map(Ve=>x.createElement(Me,{prefixCls:kt,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:We.disabled,value:Ve.value,checked:Zt.includes(Ve.value),onChange:Ve.onChange,className:`${Sn}-item`,style:Ve.style,title:Ve.title,id:Ve.id,required:Ve.required},Ve.label)):ft,le={toggleOption:vn,value:Zt,disabled:We.disabled,name:We.name,registerValue:Tt,cancelValue:fn},Be=Ie()(Sn,{[`${Sn}-rtl`]:ct==="rtl"},Ot,it,ie,on,ge);return de(x.createElement("div",Object.assign({className:Be,style:at},ee,{ref:Ct}),x.createElement(Re.Provider,{value:le},se)))});const ut=Me;ut.Group=Xe,ut.__ANT_CHECKBOX=!0;var ot=ut},36170:function(Yn,Ut,ae){"use strict";ae.d(Ut,{C2:function(){return Fe}});var x=ae(36237),dt=ae(63356),Ie=ae(51636),qe=ae(16931);const ze=Ue=>{const{checkboxCls:he}=Ue,xe=`${he}-wrapper`;return[{[`${he}-group`]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ue.marginXS,[`> ${Ue.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[he]:Object.assign(Object.assign({},(0,dt.Wf)(Ue)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ue.borderRadiusSM,alignSelf:"center",[`${he}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${he}-inner`]:Object.assign({},(0,dt.oN)(Ue))},[`${he}-inner`]:{boxSizing:"border-box",display:"block",width:Ue.checkboxSize,height:Ue.checkboxSize,direction:"ltr",backgroundColor:Ue.colorBgContainer,border:`${(0,x.unit)(Ue.lineWidth)} ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ue.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ue.calc(Ue.checkboxSize).div(14).mul(5).equal(),height:Ue.calc(Ue.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Ue.lineWidthBold)} solid ${Ue.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ue.motionDurationFast} ${Ue.motionEaseInBack}, opacity ${Ue.motionDurationFast}`}},"& + span":{paddingInlineStart:Ue.paddingXS,paddingInlineEnd:Ue.paddingXS}})},{[` ${xe}:not(${xe}-disabled), ${he}:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{borderColor:Ue.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${he}-checked:not(${he}-disabled) ${he}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${he}-checked:not(${he}-disabled):after`]:{borderColor:Ue.colorPrimaryHover}}},{[`${he}-checked`]:{[`${he}-inner`]:{backgroundColor:Ue.colorPrimary,borderColor:Ue.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ue.motionDurationMid} ${Ue.motionEaseOutBack} ${Ue.motionDurationFast}`}}},[` ${xe}-checked:not(${xe}-disabled), ${he}-checked:not(${he}-disabled) - `]:{[`&:hover ${he}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"}}},{[he]:{"&-indeterminate":{[`${he}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ue.calc(Ue.fontSizeLG).div(2).equal(),height:Ue.calc(Ue.fontSizeLG).div(2).equal(),backgroundColor:Ue.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${he}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorPrimary} !important`}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${he}-disabled`]:{[`&, ${he}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${he}-inner`]:{background:Ue.colorBgContainerDisabled,borderColor:Ue.colorBorder,"&:after":{borderColor:Ue.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ue.colorTextDisabled},[`&${he}-indeterminate ${he}-inner::after`]:{background:Ue.colorTextDisabled}}}]};function Fe(Ue,he){const xe=(0,Ie.mergeToken)(he,{checkboxCls:`.${Ue}`,checkboxSize:he.controlInteractiveSize});return[ze(xe)]}Ut.ZP=(0,qe.I$)("Checkbox",(Ue,he)=>{let{prefixCls:xe}=he;return[Fe(xe,Ue)]})},38406:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(48755),Ie=ae(584);const qe=ze=>{const{componentName:Fe}=ze,{getPrefixCls:Ue}=(0,x.useContext)(dt.E_),he=Ue("empty");switch(Fe){case"Table":case"List":return x.createElement(Ie.Z,{image:Ie.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(Ie.Z,{image:Ie.Z.PRESENTED_IMAGE_SIMPLE,className:`${he}-small`});case"Table.filter":return null;default:return x.createElement(Ie.Z,null)}};Ut.Z=qe},37285:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Se}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(48755),ze=ae(36237),Fe=ae(63356),Ue=ae(16931),he=ae(51636);const xe=Pe=>{const{componentCls:ye,sizePaddingEdgeHorizontal:Ce,colorSplit:Ee,lineWidth:Me,textPaddingInline:Ke,orientationMargin:je,verticalMarginInline:_e}=Pe;return{[ye]:Object.assign(Object.assign({},(0,Fe.Wf)(Pe)),{borderBlockStart:`${(0,ze.unit)(Me)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:_e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,ze.unit)(Me)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,ze.unit)(Pe.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ye}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,ze.unit)(Pe.dividerHorizontalWithTextGutterMargin)} 0`,color:Pe.colorTextHeading,fontWeight:500,fontSize:Pe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,ze.unit)(Me)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ye}-with-text-start`]:{"&::before":{width:`calc(${je} * 100%)`},"&::after":{width:`calc(100% - ${je} * 100%)`}},[`&-horizontal${ye}-with-text-end`]:{"&::before":{width:`calc(100% - ${je} * 100%)`},"&::after":{width:`calc(${je} * 100%)`}},[`${ye}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ke},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,ze.unit)(Me)} 0 0`},[`&-horizontal${ye}-with-text${ye}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ye}-dashed`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,ze.unit)(Me)} 0 0`},[`&-horizontal${ye}-with-text${ye}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ye}-dotted`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ye}-with-text`]:{color:Pe.colorText,fontWeight:"normal",fontSize:Pe.fontSize},[`&-horizontal${ye}-with-text-start${ye}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ye}-inner-text`]:{paddingInlineStart:Ce}},[`&-horizontal${ye}-with-text-end${ye}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ye}-inner-text`]:{paddingInlineEnd:Ce}}})}},oe=Pe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Pe.marginXS});var Ne=(0,Ue.I$)("Divider",Pe=>{const ye=(0,he.mergeToken)(Pe,{dividerHorizontalWithTextGutterMargin:Pe.margin,dividerHorizontalGutterMargin:Pe.marginLG,sizePaddingEdgeHorizontal:0});return[xe(ye)]},oe,{unitless:{orientationMargin:!0}}),ve=function(Pe,ye){var Ce={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(Pe);Me{const{getPrefixCls:ye,direction:Ce,className:Ee,style:Me}=(0,qe.dj)("divider"),{prefixCls:Ke,type:je="horizontal",orientation:_e="center",orientationMargin:Je,className:Xe,rootClassName:ut,children:ot,dashed:ht,variant:Ct="solid",plain:He,style:ft}=Pe,De=ve(Pe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),Qe=ye("divider",Ke),[Ot,it,at]=Ne(Qe),Bt=!!ot,We=x.useMemo(()=>_e==="left"?Ce==="rtl"?"end":"start":_e==="right"?Ce==="rtl"?"start":"end":_e,[Ce,_e]),Te=We==="start"&&Je!=null,ct=We==="end"&&Je!=null,Zt=Ie()(Qe,Ee,it,at,`${Qe}-${je}`,{[`${Qe}-with-text`]:Bt,[`${Qe}-with-text-${We}`]:Bt,[`${Qe}-dashed`]:!!ht,[`${Qe}-${Ct}`]:Ct!=="solid",[`${Qe}-plain`]:!!He,[`${Qe}-rtl`]:Ce==="rtl",[`${Qe}-no-default-orientation-margin-start`]:Te,[`${Qe}-no-default-orientation-margin-end`]:ct},Xe,ut),jt=x.useMemo(()=>typeof Je=="number"?Je:/^\d+$/.test(Je)?Number(Je):Je,[Je]),tt={marginInlineStart:Te?jt:void 0,marginInlineEnd:ct?jt:void 0};return Ot(x.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},Me),ft)},De,{role:"separator"}),ot&&je!=="vertical"&&x.createElement("span",{className:`${Qe}-inner-text`,style:tt},ot)))}},36207:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return st}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(85899),ze=ae(72190),Fe=ae(43403),Ue=ae(34280),he=x.createContext(null),xe=x.createContext({}),oe=he,Ne=ae(18642),ve=ae(60499),Re=ae(77900),Se=ae(10228),Pe=ae(26112),ye=ae(42244),Ce=ae(8654),Ee=["prefixCls","className","containerRef"],Me=function(mt){var St=mt.prefixCls,Dt=mt.className,Ht=mt.containerRef,xt=(0,ye.Z)(mt,Ee),lt=x.useContext(xe),Xt=lt.panel,Vt=(0,Ce.x1)(Xt,Ht);return x.createElement("div",(0,ve.Z)({className:Ie()("".concat(St,"-content"),Dt),role:"dialog",ref:Vt},(0,Pe.Z)(mt,{aria:!0}),{"aria-modal":"true"},xt))},Ke=Me,je=ae(48736);function _e(gt){return typeof gt=="string"&&String(Number(gt))===gt?((0,je.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(gt)):gt}function Je(gt){warning(!("wrapperClassName"in gt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!gt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Xe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ut(gt,mt){var St,Dt,Ht,xt=gt.prefixCls,lt=gt.open,Xt=gt.placement,Vt=gt.inline,wn=gt.push,an=gt.forceRender,en=gt.autoFocus,zn=gt.keyboard,In=gt.classNames,Qt=gt.rootClassName,sn=gt.rootStyle,Nn=gt.zIndex,Vn=gt.className,Lt=gt.id,Gt=gt.style,nn=gt.motion,Cn=gt.width,Gn=gt.height,Sr=gt.children,ii=gt.mask,si=gt.maskClosable,sr=gt.maskMotion,Lr=gt.maskClassName,_n=gt.maskStyle,Hn=gt.afterOpenChange,Jn=gt.onClose,ir=gt.onMouseEnter,Zn=gt.onMouseOver,Cr=gt.onMouseLeave,Er=gt.onClick,Nr=gt.onKeyDown,pi=gt.onKeyUp,di=gt.styles,fi=gt.drawerRender,Oi=x.useRef(),Ci=x.useRef(),ro=x.useRef();x.useImperativeHandle(mt,function(){return Oi.current});var Yi=function(lr){var $n=lr.keyCode,ei=lr.shiftKey;switch($n){case Se.Z.TAB:{if($n===Se.Z.TAB){if(!ei&&document.activeElement===ro.current){var Ti;(Ti=Ci.current)===null||Ti===void 0||Ti.focus({preventScroll:!0})}else if(ei&&document.activeElement===Ci.current){var xi;(xi=ro.current)===null||xi===void 0||xi.focus({preventScroll:!0})}}break}case Se.Z.ESC:{Jn&&zn&&(lr.stopPropagation(),Jn(lr));break}}};x.useEffect(function(){if(lt&&en){var dr;(dr=Oi.current)===null||dr===void 0||dr.focus({preventScroll:!0})}},[lt]);var or=x.useState(!1),Mr=(0,ze.Z)(or,2),gi=Mr[0],oi=Mr[1],un=x.useContext(oe),bt;typeof wn=="boolean"?bt=wn?{}:{distance:0}:bt=wn||{};var Rt=(St=(Dt=(Ht=bt)===null||Ht===void 0?void 0:Ht.distance)!==null&&Dt!==void 0?Dt:un==null?void 0:un.pushDistance)!==null&&St!==void 0?St:180,fn=x.useMemo(function(){return{pushDistance:Rt,push:function(){oi(!0)},pull:function(){oi(!1)}}},[Rt]);x.useEffect(function(){if(lt){var dr;un==null||(dr=un.push)===null||dr===void 0||dr.call(un)}else{var lr;un==null||(lr=un.pull)===null||lr===void 0||lr.call(un)}},[lt]),x.useEffect(function(){return function(){var dr;un==null||(dr=un.pull)===null||dr===void 0||dr.call(un)}},[]);var Wt=ii&&x.createElement(Re.default,(0,ve.Z)({key:"mask"},sr,{visible:lt}),function(dr,lr){var $n=dr.className,ei=dr.style;return x.createElement("div",{className:Ie()("".concat(xt,"-mask"),$n,In==null?void 0:In.mask,Lr),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},ei),_n),di==null?void 0:di.mask),onClick:si&<?Jn:void 0,ref:lr})}),yn=typeof nn=="function"?nn(Xt):nn,On={};if(gi&&Rt)switch(Xt){case"top":On.transform="translateY(".concat(Rt,"px)");break;case"bottom":On.transform="translateY(".concat(-Rt,"px)");break;case"left":On.transform="translateX(".concat(Rt,"px)");break;default:On.transform="translateX(".concat(-Rt,"px)");break}Xt==="left"||Xt==="right"?On.width=_e(Cn):On.height=_e(Gn);var jr={onMouseEnter:ir,onMouseOver:Zn,onMouseLeave:Cr,onClick:Er,onKeyDown:Nr,onKeyUp:pi},$r=x.createElement(Re.default,(0,ve.Z)({key:"panel"},yn,{visible:lt,forceRender:an,onVisibleChanged:function(lr){Hn==null||Hn(lr)},removeOnLeave:!1,leavedClassName:"".concat(xt,"-content-wrapper-hidden")}),function(dr,lr){var $n=dr.className,ei=dr.style,Ti=x.createElement(Ke,(0,ve.Z)({id:Lt,containerRef:lr,prefixCls:xt,className:Ie()(Vn,In==null?void 0:In.content),style:(0,qe.Z)((0,qe.Z)({},Gt),di==null?void 0:di.content)},(0,Pe.Z)(gt,{aria:!0}),jr),Sr);return x.createElement("div",(0,ve.Z)({className:Ie()("".concat(xt,"-content-wrapper"),In==null?void 0:In.wrapper,$n),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},On),ei),di==null?void 0:di.wrapper)},(0,Pe.Z)(gt,{data:!0})),fi?fi(Ti):Ti)}),Xr=(0,qe.Z)({},sn);return Nn&&(Xr.zIndex=Nn),x.createElement(oe.Provider,{value:fn},x.createElement("div",{className:Ie()(xt,"".concat(xt,"-").concat(Xt),Qt,(0,Ne.Z)((0,Ne.Z)({},"".concat(xt,"-open"),lt),"".concat(xt,"-inline"),Vt)),style:Xr,tabIndex:-1,ref:Oi,onKeyDown:Yi},Wt,x.createElement("div",{tabIndex:0,ref:Ci,style:Xe,"aria-hidden":"true","data-sentinel":"start"}),$r,x.createElement("div",{tabIndex:0,ref:ro,style:Xe,"aria-hidden":"true","data-sentinel":"end"})))}var ot=x.forwardRef(ut),ht=ot,Ct=function(mt){var St=mt.open,Dt=St===void 0?!1:St,Ht=mt.prefixCls,xt=Ht===void 0?"rc-drawer":Ht,lt=mt.placement,Xt=lt===void 0?"right":lt,Vt=mt.autoFocus,wn=Vt===void 0?!0:Vt,an=mt.keyboard,en=an===void 0?!0:an,zn=mt.width,In=zn===void 0?378:zn,Qt=mt.mask,sn=Qt===void 0?!0:Qt,Nn=mt.maskClosable,Vn=Nn===void 0?!0:Nn,Lt=mt.getContainer,Gt=mt.forceRender,nn=mt.afterOpenChange,Cn=mt.destroyOnClose,Gn=mt.onMouseEnter,Sr=mt.onMouseOver,ii=mt.onMouseLeave,si=mt.onClick,sr=mt.onKeyDown,Lr=mt.onKeyUp,_n=mt.panelRef,Hn=x.useState(!1),Jn=(0,ze.Z)(Hn,2),ir=Jn[0],Zn=Jn[1],Cr=x.useState(!1),Er=(0,ze.Z)(Cr,2),Nr=Er[0],pi=Er[1];(0,Ue.Z)(function(){pi(!0)},[]);var di=Nr?Dt:!1,fi=x.useRef(),Oi=x.useRef();(0,Ue.Z)(function(){di&&(Oi.current=document.activeElement)},[di]);var Ci=function(gi){var oi;if(Zn(gi),nn==null||nn(gi),!gi&&Oi.current&&!((oi=fi.current)!==null&&oi!==void 0&&oi.contains(Oi.current))){var un;(un=Oi.current)===null||un===void 0||un.focus({preventScroll:!0})}},ro=x.useMemo(function(){return{panel:_n}},[_n]);if(!Gt&&!ir&&!di&&Cn)return null;var Yi={onMouseEnter:Gn,onMouseOver:Sr,onMouseLeave:ii,onClick:si,onKeyDown:sr,onKeyUp:Lr},or=(0,qe.Z)((0,qe.Z)({},mt),{},{open:di,prefixCls:xt,placement:Xt,autoFocus:wn,keyboard:en,width:In,mask:sn,maskClosable:Vn,inline:Lt===!1,afterOpenChange:Ci,ref:fi},Yi);return x.createElement(xe.Provider,{value:ro},x.createElement(Fe.Z,{open:di||Gt||ir,autoDestroy:!1,getContainer:Lt,autoLock:sn&&(di||ir)},x.createElement(ht,or)))},He=Ct,ft=He,De=ae(62487),Qe=ae(75030),Ot=ae(86641),it=ae(55743),at=ae(48755),Bt=ae(91190),We=ae(78776),Te=ae(458),Zt=gt=>{var mt,St;const{prefixCls:Dt,title:Ht,footer:xt,extra:lt,loading:Xt,onClose:Vt,headerStyle:wn,bodyStyle:an,footerStyle:en,children:zn,classNames:In,styles:Qt}=gt,sn=(0,at.dj)("drawer"),Nn=x.useCallback(Cn=>x.createElement("button",{type:"button",onClick:Vt,"aria-label":"Close",className:`${Dt}-close`},Cn),[Vt]),[Vn,Lt]=(0,We.Z)((0,We.w)(gt),(0,We.w)(sn),{closable:!0,closeIconRender:Nn}),Gt=x.useMemo(()=>{var Cn,Gn;return!Ht&&!Vn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(Cn=sn.styles)===null||Cn===void 0?void 0:Cn.header),wn),Qt==null?void 0:Qt.header),className:Ie()(`${Dt}-header`,{[`${Dt}-header-close-only`]:Vn&&!Ht&&!lt},(Gn=sn.classNames)===null||Gn===void 0?void 0:Gn.header,In==null?void 0:In.header)},x.createElement("div",{className:`${Dt}-header-title`},Lt,Ht&&x.createElement("div",{className:`${Dt}-title`},Ht)),lt&&x.createElement("div",{className:`${Dt}-extra`},lt))},[Vn,Lt,lt,wn,Dt,Ht]),nn=x.useMemo(()=>{var Cn,Gn;if(!xt)return null;const Sr=`${Dt}-footer`;return x.createElement("div",{className:Ie()(Sr,(Cn=sn.classNames)===null||Cn===void 0?void 0:Cn.footer,In==null?void 0:In.footer),style:Object.assign(Object.assign(Object.assign({},(Gn=sn.styles)===null||Gn===void 0?void 0:Gn.footer),en),Qt==null?void 0:Qt.footer)},xt)},[xt,en,Dt]);return x.createElement(x.Fragment,null,Gt,x.createElement("div",{className:Ie()(`${Dt}-body`,In==null?void 0:In.body,(mt=sn.classNames)===null||mt===void 0?void 0:mt.body),style:Object.assign(Object.assign(Object.assign({},(St=sn.styles)===null||St===void 0?void 0:St.body),an),Qt==null?void 0:Qt.body)},Xt?x.createElement(Te.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Dt}-body-skeleton`}):zn),nn)},jt=ae(36237),tt=ae(63356),Tt=ae(16931),_t=ae(51636);const hn=gt=>{const mt="100%";return{left:`translateX(-${mt})`,right:`translateX(${mt})`,top:`translateY(-${mt})`,bottom:`translateY(${mt})`}[gt]},Pt=(gt,mt)=>({"&-enter, &-appear":Object.assign(Object.assign({},gt),{"&-active":mt}),"&-leave":Object.assign(Object.assign({},mt),{"&-active":gt})}),vn=(gt,mt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}},Pt({opacity:gt},{opacity:1})),kt=(gt,mt)=>[vn(.7,mt),Pt({transform:hn(gt)},{transform:"none"})];var on=gt=>{const{componentCls:mt,motionDurationSlow:St}=gt;return{[mt]:{[`${mt}-mask-motion`]:vn(0,St),[`${mt}-panel-motion`]:["left","right","top","bottom"].reduce((Dt,Ht)=>Object.assign(Object.assign({},Dt),{[`&-${Ht}`]:kt(Ht,St)}),{})}}};const de=gt=>{const{borderRadiusSM:mt,componentCls:St,zIndexPopup:Dt,colorBgMask:Ht,colorBgElevated:xt,motionDurationSlow:lt,motionDurationMid:Xt,paddingXS:Vt,padding:wn,paddingLG:an,fontSizeLG:en,lineHeightLG:zn,lineWidth:In,lineType:Qt,colorSplit:sn,marginXS:Nn,colorIcon:Vn,colorIconHover:Lt,colorBgTextHover:Gt,colorBgTextActive:nn,colorText:Cn,fontWeightStrong:Gn,footerPaddingBlock:Sr,footerPaddingInline:ii,calc:si}=gt,sr=`${St}-content-wrapper`;return{[St]:{position:"fixed",inset:0,zIndex:Dt,pointerEvents:"none",color:Cn,"&-pure":{position:"relative",background:xt,display:"flex",flexDirection:"column",[`&${St}-left`]:{boxShadow:gt.boxShadowDrawerLeft},[`&${St}-right`]:{boxShadow:gt.boxShadowDrawerRight},[`&${St}-top`]:{boxShadow:gt.boxShadowDrawerUp},[`&${St}-bottom`]:{boxShadow:gt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${St}-mask`]:{position:"absolute",inset:0,zIndex:Dt,background:Ht,pointerEvents:"auto"},[sr]:{position:"absolute",zIndex:Dt,maxWidth:"100vw",transition:`all ${lt}`,"&-hidden":{display:"none"}},[`&-left > ${sr}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:gt.boxShadowDrawerLeft},[`&-right > ${sr}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:gt.boxShadowDrawerRight},[`&-top > ${sr}`]:{top:0,insetInline:0,boxShadow:gt.boxShadowDrawerUp},[`&-bottom > ${sr}`]:{bottom:0,insetInline:0,boxShadow:gt.boxShadowDrawerDown},[`${St}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:xt,pointerEvents:"auto"},[`${St}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,jt.unit)(wn)} ${(0,jt.unit)(an)}`,fontSize:en,lineHeight:zn,borderBottom:`${(0,jt.unit)(In)} ${Qt} ${sn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${St}-extra`]:{flex:"none"},[`${St}-close`]:Object.assign({display:"inline-flex",width:si(en).add(Vt).equal(),height:si(en).add(Vt).equal(),borderRadius:mt,justifyContent:"center",alignItems:"center",marginInlineEnd:Nn,color:Vn,fontWeight:Gn,fontSize:en,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Xt}`,textRendering:"auto","&:hover":{color:Lt,backgroundColor:Gt,textDecoration:"none"},"&:active":{backgroundColor:nn}},(0,tt.Qy)(gt)),[`${St}-title`]:{flex:1,margin:0,fontWeight:gt.fontWeightStrong,fontSize:en,lineHeight:zn},[`${St}-body`]:{flex:1,minWidth:0,minHeight:0,padding:an,overflow:"auto",[`${St}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${St}-footer`]:{flexShrink:0,padding:`${(0,jt.unit)(Sr)} ${(0,jt.unit)(ii)}`,borderTop:`${(0,jt.unit)(In)} ${Qt} ${sn}`},"&-rtl":{direction:"rtl"}}}},ge=gt=>({zIndexPopup:gt.zIndexPopupBase,footerPaddingBlock:gt.paddingXS,footerPaddingInline:gt.padding});var ie=(0,Tt.I$)("Drawer",gt=>{const mt=(0,_t.mergeToken)(gt,{});return[de(mt),on(mt)]},ge),ee=function(gt,mt){var St={};for(var Dt in gt)Object.prototype.hasOwnProperty.call(gt,Dt)&&mt.indexOf(Dt)<0&&(St[Dt]=gt[Dt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Dt=Object.getOwnPropertySymbols(gt);Ht{var mt;const{rootClassName:St,width:Dt,height:Ht,size:xt="default",mask:lt=!0,push:Xt=le,open:Vt,afterOpenChange:wn,onClose:an,prefixCls:en,getContainer:zn,style:In,className:Qt,visible:sn,afterVisibleChange:Nn,maskStyle:Vn,drawerStyle:Lt,contentWrapperStyle:Gt}=gt,nn=ee(gt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:Cn,getPrefixCls:Gn,direction:Sr,className:ii,style:si,classNames:sr,styles:Lr}=(0,at.dj)("drawer"),_n=Gn("drawer",en),[Hn,Jn,ir]=ie(_n),Zn=zn===void 0&&Cn?()=>Cn(document.body):zn,Cr=Ie()({"no-mask":!lt,[`${_n}-rtl`]:Sr==="rtl"},St,Jn,ir),Er=x.useMemo(()=>Dt!=null?Dt:xt==="large"?736:378,[Dt,xt]),Nr=x.useMemo(()=>Ht!=null?Ht:xt==="large"?736:378,[Ht,xt]),pi={motionName:(0,Ot.m)(_n,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},di=or=>({motionName:(0,Ot.m)(_n,`panel-motion-${or}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fi=(0,Bt.H)(),[Oi,Ci]=(0,Qe.Cn)("Drawer",nn.zIndex),{classNames:ro={},styles:Yi={}}=nn;return Hn(x.createElement(De.Z,{form:!0,space:!0},x.createElement(it.Z.Provider,{value:Ci},x.createElement(ft,Object.assign({prefixCls:_n,onClose:an,maskMotion:pi,motion:di},nn,{classNames:{mask:Ie()(ro.mask,sr.mask),content:Ie()(ro.content,sr.content),wrapper:Ie()(ro.wrapper,sr.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Yi.mask),Vn),Lr.mask),content:Object.assign(Object.assign(Object.assign({},Yi.content),Lt),Lr.content),wrapper:Object.assign(Object.assign(Object.assign({},Yi.wrapper),Gt),Lr.wrapper)},open:Vt!=null?Vt:sn,mask:lt,push:Xt,width:Er,height:Nr,style:Object.assign(Object.assign({},si),In),className:Ie()(ii,Qt),rootClassName:Cr,getContainer:Zn,afterOpenChange:wn!=null?wn:Nn,panelRef:fi,zIndex:Oi}),x.createElement(Zt,Object.assign({prefixCls:_n},nn,{onClose:an}))))))},Ve=gt=>{const{prefixCls:mt,style:St,className:Dt,placement:Ht="right"}=gt,xt=ee(gt,["prefixCls","style","className","placement"]),{getPrefixCls:lt}=x.useContext(at.E_),Xt=lt("drawer",mt),[Vt,wn,an]=ie(Xt),en=Ie()(Xt,`${Xt}-pure`,`${Xt}-${Ht}`,wn,an,Dt);return Vt(x.createElement("div",{className:en,style:St},x.createElement(Zt,Object.assign({prefixCls:Xt},xt))))};Be._InternalPanelDoNotUseOrYouWillBeFired=Ve;var st=Be},19563:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return jt}});var x=ae(59301),dt=ae(33853),Ie=ae(38819),qe=ae(92310),ze=ae.n(qe),Fe=ae(96478),Ue=ae(6089),he=ae(18929),xe=ae(2738),oe=ae(75030),ve=tt=>typeof tt!="object"&&typeof tt!="function"||tt===null,Re=ae(52838),Se=ae(45915),Pe=ae(22703),ye=ae(32383),Ce=ae(55743),Ee=ae(48755),Me=ae(83397),Ke=ae(93041),je=ae(78857),_e=ae(57700),Je=ae(36237),Xe=ae(63356),ut=ae(46e3),ot=ae(93873),ht=ae(34925),Ct=ae(37645),He=ae(36305),ft=ae(16931),De=ae(51636),Ot=tt=>{const{componentCls:Tt,menuCls:_t,colorError:hn,colorTextLightSolid:Pt}=tt,vn=`${_t}-item`;return{[`${Tt}, ${Tt}-menu-submenu`]:{[`${_t} ${vn}`]:{[`&${vn}-danger:not(${vn}-disabled)`]:{color:hn,"&:hover":{color:Pt,backgroundColor:hn}}}}}};const it=tt=>{const{componentCls:Tt,menuCls:_t,zIndexPopup:hn,dropdownArrowDistance:Pt,sizePopupArrow:vn,antCls:kt,iconCls:Sn,motionDurationMid:on,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:se,controlPaddingHorizontal:le,colorBgElevated:Be}=tt;return[{[Tt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:hn,display:"block","&::before":{position:"absolute",insetBlock:tt.calc(vn).div(2).sub(Pt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${kt}-btn`]:{[`& > ${Sn}-down, & > ${kt}-btn-icon > ${Sn}-down`]:{fontSize:se}},[`${Tt}-wrap`]:{position:"relative",[`${kt}-btn > ${Sn}-down`]:{fontSize:se},[`${Sn}-down::before`]:{transition:`transform ${on}`}},[`${Tt}-wrap-open`]:{[`${Sn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${kt}-slide-down-enter${kt}-slide-down-enter-active${Tt}-placement-bottomLeft, - &${kt}-slide-down-appear${kt}-slide-down-appear-active${Tt}-placement-bottomLeft, - &${kt}-slide-down-enter${kt}-slide-down-enter-active${Tt}-placement-bottom, - &${kt}-slide-down-appear${kt}-slide-down-appear-active${Tt}-placement-bottom, - &${kt}-slide-down-enter${kt}-slide-down-enter-active${Tt}-placement-bottomRight, - &${kt}-slide-down-appear${kt}-slide-down-appear-active${Tt}-placement-bottomRight`]:{animationName:ut.fJ},[`&${kt}-slide-up-enter${kt}-slide-up-enter-active${Tt}-placement-topLeft, - &${kt}-slide-up-appear${kt}-slide-up-appear-active${Tt}-placement-topLeft, - &${kt}-slide-up-enter${kt}-slide-up-enter-active${Tt}-placement-top, - &${kt}-slide-up-appear${kt}-slide-up-appear-active${Tt}-placement-top, - &${kt}-slide-up-enter${kt}-slide-up-enter-active${Tt}-placement-topRight, - &${kt}-slide-up-appear${kt}-slide-up-appear-active${Tt}-placement-topRight`]:{animationName:ut.Qt},[`&${kt}-slide-down-leave${kt}-slide-down-leave-active${Tt}-placement-bottomLeft, - &${kt}-slide-down-leave${kt}-slide-down-leave-active${Tt}-placement-bottom, - &${kt}-slide-down-leave${kt}-slide-down-leave-active${Tt}-placement-bottomRight`]:{animationName:ut.Uw},[`&${kt}-slide-up-leave${kt}-slide-up-leave-active${Tt}-placement-topLeft, - &${kt}-slide-up-leave${kt}-slide-up-leave-active${Tt}-placement-top, - &${kt}-slide-up-leave${kt}-slide-up-leave-active${Tt}-placement-topRight`]:{animationName:ut.ly}}},(0,Ct.ZP)(tt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Tt} ${_t}`]:{position:"relative",margin:0},[`${_t}-submenu-popup`]:{position:"absolute",zIndex:hn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Tt}, ${Tt}-menu-submenu`]:Object.assign(Object.assign({},(0,Xe.Wf)(tt)),{[_t]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:tt.borderRadiusLG,outline:"none",boxShadow:tt.boxShadowSecondary},(0,Xe.Qy)(tt)),{"&:empty":{padding:0,boxShadow:"none"},[`${_t}-item-group-title`]:{padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:tt.colorTextDescription,transition:`all ${on}`},[`${_t}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${_t}-item-icon`]:{minWidth:ge,marginInlineEnd:tt.marginXS,fontSize:tt.fontSizeSM},[`${_t}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${on}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${_t}-item-extra`]:{paddingInlineStart:tt.padding,marginInlineStart:"auto",fontSize:tt.fontSizeSM,color:tt.colorTextDescription}},[`${_t}-item, ${_t}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:tt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:tt.lineHeight,cursor:"pointer",transition:`all ${on}`,borderRadius:tt.borderRadiusSM,"&:hover, &-active":{backgroundColor:tt.controlItemBgHover}},(0,Xe.Qy)(tt)),{"&-selected":{color:tt.colorPrimary,backgroundColor:tt.controlItemBgActive,"&:hover, &-active":{backgroundColor:tt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Je.unit)(tt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:tt.colorSplit},[`${Tt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:tt.paddingXS,[`${Tt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:tt.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${_t}-item-group-list`]:{margin:`0 ${(0,Je.unit)(tt.marginXS)}`,padding:0,listStyle:"none"},[`${_t}-submenu-title`]:{paddingInlineEnd:tt.calc(le).add(tt.fontSizeSM).equal()},[`${_t}-submenu-vertical`]:{position:"relative"},[`${_t}-submenu${_t}-submenu-disabled ${Tt}-menu-submenu-title`]:{[`&, ${Tt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${_t}-submenu-selected ${Tt}-menu-submenu-title`]:{color:tt.colorPrimary}})})},[(0,ut.oN)(tt,"slide-up"),(0,ut.oN)(tt,"slide-down"),(0,ot.Fm)(tt,"move-up"),(0,ot.Fm)(tt,"move-down"),(0,ht._y)(tt,"zoom-big")]]},at=tt=>Object.assign(Object.assign({zIndexPopup:tt.zIndexPopupBase+50,paddingBlock:(tt.controlHeight-tt.fontSize*tt.lineHeight)/2},(0,Ct.wZ)({contentRadius:tt.borderRadiusLG,limitVerticalRadius:!0})),(0,He.w)(tt));var Bt=(0,ft.I$)("Dropdown",tt=>{const{marginXXS:Tt,sizePopupArrow:_t,paddingXXS:hn,componentCls:Pt}=tt,vn=(0,De.mergeToken)(tt,{menuCls:`${Pt}-menu`,dropdownArrowDistance:tt.calc(_t).div(2).add(Tt).equal(),dropdownEdgeChildPadding:hn});return[it(vn),Ot(vn)]},at,{resetStyle:!1});const We=null,Te=tt=>{var Tt;const{menu:_t,arrow:hn,prefixCls:Pt,children:vn,trigger:kt,disabled:Sn,dropdownRender:on,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:se,onOpenChange:le,visible:Be,onVisibleChange:Ve,mouseEnterDelay:st=.15,mouseLeaveDelay:gt=.1,autoAdjustOverflow:mt=!0,placement:St="",overlay:Dt,transitionName:Ht}=tt,{getPopupContainer:xt,getPrefixCls:lt,direction:Xt,dropdown:Vt}=x.useContext(Ee.E_),wn=(0,ye.ln)("Dropdown"),an=x.useMemo(()=>{const Zn=lt();return Ht!==void 0?Ht:St.includes("top")?`${Zn}-slide-down`:`${Zn}-slide-up`},[lt,St,Ht]),en=x.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Xt==="rtl"?"bottomRight":"bottomLeft",[St,Xt]),zn=lt("dropdown",Pt),In=(0,Me.Z)(zn),[Qt,sn,Nn]=Bt(zn,In),[,Vn]=(0,_e.ZP)(),Lt=x.Children.only(ve(vn)?x.createElement("span",null,vn):vn),Gt=(0,Pe.Tm)(Lt,{className:ze()(`${zn}-trigger`,{[`${zn}-rtl`]:Xt==="rtl"},Lt.props.className),disabled:(Tt=Lt.props.disabled)!==null&&Tt!==void 0?Tt:Sn}),nn=Sn?[]:kt,Cn=!!(nn!=null&&nn.includes("contextMenu")),[Gn,Sr]=(0,he.Z)(!1,{value:se!=null?se:Be}),ii=(0,Ue.Z)(Zn=>{le==null||le(Zn,{source:"trigger"}),Ve==null||Ve(Zn),Sr(Zn)}),si=ze()(ge,ie,sn,Nn,In,Vt==null?void 0:Vt.className,{[`${zn}-rtl`]:Xt==="rtl"}),sr=(0,Re.Z)({arrowPointAtCenter:typeof hn=="object"&&hn.pointAtCenter,autoAdjustOverflow:mt,offset:Vn.marginXXS,arrowWidth:hn?Vn.sizePopupArrow:0,borderRadius:Vn.borderRadius}),Lr=x.useCallback(()=>{_t!=null&&_t.selectable&&(_t!=null&&_t.multiple)||(le==null||le(!1,{source:"menu"}),Sr(!1))},[_t==null?void 0:_t.selectable,_t==null?void 0:_t.multiple]),_n=()=>{let Zn;return _t!=null&&_t.items?Zn=x.createElement(Ke.default,Object.assign({},_t)):typeof Dt=="function"?Zn=Dt():Zn=Dt,on&&(Zn=on(Zn)),Zn=x.Children.only(typeof Zn=="string"?x.createElement("span",null,Zn):Zn),x.createElement(je.J,{prefixCls:`${zn}-menu`,rootClassName:ze()(Nn,In),expandIcon:x.createElement("span",{className:`${zn}-menu-submenu-arrow`},Xt==="rtl"?x.createElement(dt.Z,{className:`${zn}-menu-submenu-arrow-icon`}):x.createElement(Ie.Z,{className:`${zn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Lr,validator:Cr=>{let{mode:Er}=Cr}},Zn)},[Hn,Jn]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let ir=x.createElement(Fe.Z,Object.assign({alignPoint:Cn},(0,xe.Z)(tt,["rootClassName"]),{mouseEnterDelay:st,mouseLeaveDelay:gt,visible:Gn,builtinPlacements:sr,arrow:!!hn,overlayClassName:si,prefixCls:zn,getPopupContainer:de||xt,transitionName:an,trigger:nn,overlay:_n,placement:en,onVisibleChange:ii,overlayStyle:Object.assign(Object.assign(Object.assign({},Vt==null?void 0:Vt.style),ee),{zIndex:Hn})}),Gt);return Hn&&(ir=x.createElement(Ce.Z.Provider,{value:Jn},ir)),Qt(ir)},ct=(0,Se.Z)(Te,"align",void 0,"dropdown",tt=>tt),Zt=tt=>x.createElement(ct,Object.assign({},tt),x.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=Zt;var jt=Te},75727:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Se}});var x=ae(19563),dt=ae(59301),Ie=ae(18785),qe=ae(92310),ze=ae.n(qe),Fe=ae(7939),Ue=ae(48755),he=ae(44104),xe=ae(70045),oe=function(Pe,ye){var Ce={};for(var Ee in Pe)Object.prototype.hasOwnProperty.call(Pe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=Pe[Ee]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(Pe);Me{const{getPopupContainer:ye,getPrefixCls:Ce,direction:Ee}=dt.useContext(Ue.E_),{prefixCls:Me,type:Ke="default",danger:je,disabled:_e,loading:Je,onClick:Xe,htmlType:ut,children:ot,className:ht,menu:Ct,arrow:He,autoFocus:ft,overlay:De,trigger:Qe,align:Ot,open:it,onOpenChange:at,placement:Bt,getPopupContainer:We,href:Te,icon:ct=dt.createElement(Ie.Z,null),title:Zt,buttonsRender:jt=st=>st,mouseEnterDelay:tt,mouseLeaveDelay:Tt,overlayClassName:_t,overlayStyle:hn,destroyPopupOnHide:Pt,dropdownRender:vn}=Pe,kt=oe(Pe,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Sn=Ce("dropdown",Me),on=`${Sn}-button`,de={menu:Ct,arrow:He,autoFocus:ft,align:Ot,disabled:_e,trigger:_e?[]:Qe,onOpenChange:at,getPopupContainer:We||ye,mouseEnterDelay:tt,mouseLeaveDelay:Tt,overlayClassName:_t,overlayStyle:hn,destroyPopupOnHide:Pt,dropdownRender:vn},{compactSize:ge,compactItemClassnames:ie}=(0,xe.ri)(Sn,Ee),ee=ze()(on,ie,ht);"overlay"in Pe&&(de.overlay=De),"open"in Pe&&(de.open=it),"placement"in Pe?de.placement=Bt:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const se=dt.createElement(Fe.ZP,{type:Ke,danger:je,disabled:_e,loading:Je,onClick:Xe,htmlType:ut,href:Te,title:Zt},ot),le=dt.createElement(Fe.ZP,{type:Ke,danger:je,icon:ct}),[Be,Ve]=jt([se,le]);return dt.createElement(he.Z.Compact,Object.assign({className:ee,size:ge,block:!0},kt),Be,dt.createElement(x.Z,Object.assign({},de),Ve))};Ne.__ANT_BUTTON=!0;var ve=Ne;const Re=x.Z;Re.Button=ve;var Se=Re},584:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ke}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(9017),ze=ae(17835),Fe=ae(57700),he=()=>{const[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),Xe=new ze.FastColor(je.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Xe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.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"}),x.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)"}),x.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"}),x.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"})),x.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"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},oe=()=>{const[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),{colorFill:Je,colorFillTertiary:Xe,colorFillQuaternary:ut,colorBgContainer:ot}=je,{borderColor:ht,shadowColor:Ct,contentColor:He}=(0,x.useMemo)(()=>({borderColor:new ze.FastColor(Je).onBackground(ot).toHexString(),shadowColor:new ze.FastColor(Xe).onBackground(ot).toHexString(),contentColor:new ze.FastColor(ut).onBackground(ot).toHexString()}),[Je,Xe,ut,ot]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:Ct,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ht},x.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"}),x.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:He}))))},Ne=ae(16931),ve=ae(51636);const Re=je=>{const{componentCls:_e,margin:Je,marginXS:Xe,marginXL:ut,fontSize:ot,lineHeight:ht}=je;return{[_e]:{marginInline:Xe,fontSize:ot,lineHeight:ht,textAlign:"center",[`${_e}-image`]:{height:je.emptyImgHeight,marginBottom:Xe,opacity:je.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-footer`]:{marginTop:Je},"&-normal":{marginBlock:ut,color:je.colorTextDescription,[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-image`]:{height:je.emptyImgHeightMD}},"&-small":{marginBlock:Xe,color:je.colorTextDescription,[`${_e}-image`]:{height:je.emptyImgHeightSM}}}}};var Se=(0,Ne.I$)("Empty",je=>{const{componentCls:_e,controlHeightLG:Je,calc:Xe}=je,ut=(0,ve.mergeToken)(je,{emptyImgCls:`${_e}-img`,emptyImgHeight:Xe(Je).mul(2.5).equal(),emptyImgHeightMD:Je,emptyImgHeightSM:Xe(Je).mul(.875).equal()});return[Re(ut)]}),Pe=ae(48755),ye=function(je,_e){var Je={};for(var Xe in je)Object.prototype.hasOwnProperty.call(je,Xe)&&_e.indexOf(Xe)<0&&(Je[Xe]=je[Xe]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Xe=Object.getOwnPropertySymbols(je);ut{const{className:_e,rootClassName:Je,prefixCls:Xe,image:ut=Ce,description:ot,children:ht,imageStyle:Ct,style:He,classNames:ft,styles:De}=je,Qe=ye(je,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ot,direction:it,className:at,style:Bt,classNames:We,styles:Te}=(0,Pe.dj)("empty"),ct=Ot("empty",Xe),[Zt,jt,tt]=Se(ct),[Tt]=(0,qe.Z)("Empty"),_t=typeof ot!="undefined"?ot:Tt==null?void 0:Tt.description,hn=typeof _t=="string"?_t:"empty";let Pt=null;return typeof ut=="string"?Pt=x.createElement("img",{alt:hn,src:ut}):Pt=ut,Zt(x.createElement("div",Object.assign({className:Ie()(jt,tt,ct,at,{[`${ct}-normal`]:ut===Ee,[`${ct}-rtl`]:it==="rtl"},_e,Je,We.root,ft==null?void 0:ft.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Te.root),Bt),De==null?void 0:De.root),He)},Qe),x.createElement("div",{className:Ie()(`${ct}-image`,We.image,ft==null?void 0:ft.image),style:Object.assign(Object.assign(Object.assign({},Ct),Te.image),De==null?void 0:De.image)},Pt),_t&&x.createElement("div",{className:Ie()(`${ct}-description`,We.description,ft==null?void 0:ft.description),style:Object.assign(Object.assign({},Te.description),De==null?void 0:De.description)},_t),ht&&x.createElement("div",{className:Ie()(`${ct}-footer`,We.footer,ft==null?void 0:ft.footer),style:Object.assign(Object.assign({},Te.footer),De==null?void 0:De.footer)},ht)))};Me.PRESENTED_IMAGE_DEFAULT=Ce,Me.PRESENTED_IMAGE_SIMPLE=Ee;var Ke=Me},28284:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return bt}});var x=ae(56553),dt=ae(77654),Ie=ae(59301),qe=ae(92310),ze=ae.n(qe),Fe=ae(77900),Ue=ae(86641),he=ae(83397);function xe(Rt){const[fn,Wt]=Ie.useState(Rt);return Ie.useEffect(()=>{const yn=setTimeout(()=>{Wt(Rt)},Rt.length?0:10);return()=>{clearTimeout(yn)}},[Rt]),fn}var oe=ae(36237),Ne=ae(63356),ve=ae(34925),Re=ae(34961),Se=ae(51636),Pe=ae(16931),Ce=Rt=>{const{componentCls:fn}=Rt,Wt=`${fn}-show-help`,yn=`${fn}-show-help-item`;return{[Wt]:{transition:`opacity ${Rt.motionDurationFast} ${Rt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[yn]:{overflow:"hidden",transition:`height ${Rt.motionDurationFast} ${Rt.motionEaseInOut}, + `]:{[`&:hover ${he}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"}}},{[he]:{"&-indeterminate":{[`${he}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ue.calc(Ue.fontSizeLG).div(2).equal(),height:Ue.calc(Ue.fontSizeLG).div(2).equal(),backgroundColor:Ue.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${he}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorPrimary} !important`}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${he}-disabled`]:{[`&, ${he}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${he}-inner`]:{background:Ue.colorBgContainerDisabled,borderColor:Ue.colorBorder,"&:after":{borderColor:Ue.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ue.colorTextDisabled},[`&${he}-indeterminate ${he}-inner::after`]:{background:Ue.colorTextDisabled}}}]};function Fe(Ue,he){const xe=(0,Ie.mergeToken)(he,{checkboxCls:`.${Ue}`,checkboxSize:he.controlInteractiveSize});return[ze(xe)]}Ut.ZP=(0,qe.I$)("Checkbox",(Ue,he)=>{let{prefixCls:xe}=he;return[Fe(xe,Ue)]})},38406:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(48755),Ie=ae(584);const qe=ze=>{const{componentName:Fe}=ze,{getPrefixCls:Ue}=(0,x.useContext)(dt.E_),he=Ue("empty");switch(Fe){case"Table":case"List":return x.createElement(Ie.Z,{image:Ie.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(Ie.Z,{image:Ie.Z.PRESENTED_IMAGE_SIMPLE,className:`${he}-small`});case"Table.filter":return null;default:return x.createElement(Ie.Z,null)}};Ut.Z=qe},37285:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Se}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(48755),ze=ae(36237),Fe=ae(63356),Ue=ae(16931),he=ae(51636);const xe=Oe=>{const{componentCls:ye,sizePaddingEdgeHorizontal:Ce,colorSplit:Ee,lineWidth:Me,textPaddingInline:Ke,orientationMargin:je,verticalMarginInline:Qe}=Oe;return{[ye]:Object.assign(Object.assign({},(0,Fe.Wf)(Oe)),{borderBlockStart:`${(0,ze.unit)(Me)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Qe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,ze.unit)(Me)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,ze.unit)(Oe.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ye}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,ze.unit)(Oe.dividerHorizontalWithTextGutterMargin)} 0`,color:Oe.colorTextHeading,fontWeight:500,fontSize:Oe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,ze.unit)(Me)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ye}-with-text-start`]:{"&::before":{width:`calc(${je} * 100%)`},"&::after":{width:`calc(100% - ${je} * 100%)`}},[`&-horizontal${ye}-with-text-end`]:{"&::before":{width:`calc(100% - ${je} * 100%)`},"&::after":{width:`calc(${je} * 100%)`}},[`${ye}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ke},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,ze.unit)(Me)} 0 0`},[`&-horizontal${ye}-with-text${ye}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ye}-dashed`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,ze.unit)(Me)} 0 0`},[`&-horizontal${ye}-with-text${ye}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ye}-dotted`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ye}-with-text`]:{color:Oe.colorText,fontWeight:"normal",fontSize:Oe.fontSize},[`&-horizontal${ye}-with-text-start${ye}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ye}-inner-text`]:{paddingInlineStart:Ce}},[`&-horizontal${ye}-with-text-end${ye}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ye}-inner-text`]:{paddingInlineEnd:Ce}}})}},oe=Oe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Oe.marginXS});var Ne=(0,Ue.I$)("Divider",Oe=>{const ye=(0,he.mergeToken)(Oe,{dividerHorizontalWithTextGutterMargin:Oe.margin,dividerHorizontalGutterMargin:Oe.marginLG,sizePaddingEdgeHorizontal:0});return[xe(ye)]},oe,{unitless:{orientationMargin:!0}}),ve=function(Oe,ye){var Ce={};for(var Ee in Oe)Object.prototype.hasOwnProperty.call(Oe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=Oe[Ee]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(Oe);Me{const{getPrefixCls:ye,direction:Ce,className:Ee,style:Me}=(0,qe.dj)("divider"),{prefixCls:Ke,type:je="horizontal",orientation:Qe="center",orientationMargin:Je,className:Xe,rootClassName:ut,children:ot,dashed:ht,variant:Ct="solid",plain:He,style:ft}=Oe,De=ve(Oe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),_e=ye("divider",Ke),[Ot,it,at]=Ne(_e),Bt=!!ot,We=x.useMemo(()=>Qe==="left"?Ce==="rtl"?"end":"start":Qe==="right"?Ce==="rtl"?"start":"end":Qe,[Ce,Qe]),Te=We==="start"&&Je!=null,ct=We==="end"&&Je!=null,Zt=Ie()(_e,Ee,it,at,`${_e}-${je}`,{[`${_e}-with-text`]:Bt,[`${_e}-with-text-${We}`]:Bt,[`${_e}-dashed`]:!!ht,[`${_e}-${Ct}`]:Ct!=="solid",[`${_e}-plain`]:!!He,[`${_e}-rtl`]:Ce==="rtl",[`${_e}-no-default-orientation-margin-start`]:Te,[`${_e}-no-default-orientation-margin-end`]:ct},Xe,ut),zt=x.useMemo(()=>typeof Je=="number"?Je:/^\d+$/.test(Je)?Number(Je):Je,[Je]),tt={marginInlineStart:Te?zt:void 0,marginInlineEnd:ct?zt:void 0};return Ot(x.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},Me),ft)},De,{role:"separator"}),ot&&je!=="vertical"&&x.createElement("span",{className:`${_e}-inner-text`,style:tt},ot)))}},36207:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return st}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(85899),ze=ae(72190),Fe=ae(43403),Ue=ae(34280),he=x.createContext(null),xe=x.createContext({}),oe=he,Ne=ae(18642),ve=ae(60499),Re=ae(77900),Se=ae(10228),Oe=ae(26112),ye=ae(42244),Ce=ae(8654),Ee=["prefixCls","className","containerRef"],Me=function(mt){var St=mt.prefixCls,Dt=mt.className,jt=mt.containerRef,xt=(0,ye.Z)(mt,Ee),lt=x.useContext(xe),Xt=lt.panel,Vt=(0,Ce.x1)(Xt,jt);return x.createElement("div",(0,ve.Z)({className:Ie()("".concat(St,"-content"),Dt),role:"dialog",ref:Vt},(0,Oe.Z)(mt,{aria:!0}),{"aria-modal":"true"},xt))},Ke=Me,je=ae(48736);function Qe(gt){return typeof gt=="string"&&String(Number(gt))===gt?((0,je.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(gt)):gt}function Je(gt){warning(!("wrapperClassName"in gt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!gt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Xe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ut(gt,mt){var St,Dt,jt,xt=gt.prefixCls,lt=gt.open,Xt=gt.placement,Vt=gt.inline,wn=gt.push,an=gt.forceRender,en=gt.autoFocus,zn=gt.keyboard,In=gt.classNames,Qt=gt.rootClassName,sn=gt.rootStyle,Nn=gt.zIndex,Vn=gt.className,Lt=gt.id,Gt=gt.style,nn=gt.motion,Cn=gt.width,Gn=gt.height,Sr=gt.children,ii=gt.mask,si=gt.maskClosable,sr=gt.maskMotion,Lr=gt.maskClassName,Qn=gt.maskStyle,Hn=gt.afterOpenChange,Jn=gt.onClose,ir=gt.onMouseEnter,Zn=gt.onMouseOver,Cr=gt.onMouseLeave,Er=gt.onClick,Nr=gt.onKeyDown,pi=gt.onKeyUp,di=gt.styles,fi=gt.drawerRender,Oi=x.useRef(),Ci=x.useRef(),ro=x.useRef();x.useImperativeHandle(mt,function(){return Oi.current});var Yi=function(lr){var $n=lr.keyCode,ei=lr.shiftKey;switch($n){case Se.Z.TAB:{if($n===Se.Z.TAB){if(!ei&&document.activeElement===ro.current){var Ti;(Ti=Ci.current)===null||Ti===void 0||Ti.focus({preventScroll:!0})}else if(ei&&document.activeElement===Ci.current){var xi;(xi=ro.current)===null||xi===void 0||xi.focus({preventScroll:!0})}}break}case Se.Z.ESC:{Jn&&zn&&(lr.stopPropagation(),Jn(lr));break}}};x.useEffect(function(){if(lt&&en){var dr;(dr=Oi.current)===null||dr===void 0||dr.focus({preventScroll:!0})}},[lt]);var or=x.useState(!1),Mr=(0,ze.Z)(or,2),gi=Mr[0],oi=Mr[1],un=x.useContext(oe),bt;typeof wn=="boolean"?bt=wn?{}:{distance:0}:bt=wn||{};var Rt=(St=(Dt=(jt=bt)===null||jt===void 0?void 0:jt.distance)!==null&&Dt!==void 0?Dt:un==null?void 0:un.pushDistance)!==null&&St!==void 0?St:180,hn=x.useMemo(function(){return{pushDistance:Rt,push:function(){oi(!0)},pull:function(){oi(!1)}}},[Rt]);x.useEffect(function(){if(lt){var dr;un==null||(dr=un.push)===null||dr===void 0||dr.call(un)}else{var lr;un==null||(lr=un.pull)===null||lr===void 0||lr.call(un)}},[lt]),x.useEffect(function(){return function(){var dr;un==null||(dr=un.pull)===null||dr===void 0||dr.call(un)}},[]);var Wt=ii&&x.createElement(Re.default,(0,ve.Z)({key:"mask"},sr,{visible:lt}),function(dr,lr){var $n=dr.className,ei=dr.style;return x.createElement("div",{className:Ie()("".concat(xt,"-mask"),$n,In==null?void 0:In.mask,Lr),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},ei),Qn),di==null?void 0:di.mask),onClick:si&<?Jn:void 0,ref:lr})}),yn=typeof nn=="function"?nn(Xt):nn,On={};if(gi&&Rt)switch(Xt){case"top":On.transform="translateY(".concat(Rt,"px)");break;case"bottom":On.transform="translateY(".concat(-Rt,"px)");break;case"left":On.transform="translateX(".concat(Rt,"px)");break;default:On.transform="translateX(".concat(-Rt,"px)");break}Xt==="left"||Xt==="right"?On.width=Qe(Cn):On.height=Qe(Gn);var jr={onMouseEnter:ir,onMouseOver:Zn,onMouseLeave:Cr,onClick:Er,onKeyDown:Nr,onKeyUp:pi},$r=x.createElement(Re.default,(0,ve.Z)({key:"panel"},yn,{visible:lt,forceRender:an,onVisibleChanged:function(lr){Hn==null||Hn(lr)},removeOnLeave:!1,leavedClassName:"".concat(xt,"-content-wrapper-hidden")}),function(dr,lr){var $n=dr.className,ei=dr.style,Ti=x.createElement(Ke,(0,ve.Z)({id:Lt,containerRef:lr,prefixCls:xt,className:Ie()(Vn,In==null?void 0:In.content),style:(0,qe.Z)((0,qe.Z)({},Gt),di==null?void 0:di.content)},(0,Oe.Z)(gt,{aria:!0}),jr),Sr);return x.createElement("div",(0,ve.Z)({className:Ie()("".concat(xt,"-content-wrapper"),In==null?void 0:In.wrapper,$n),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},On),ei),di==null?void 0:di.wrapper)},(0,Oe.Z)(gt,{data:!0})),fi?fi(Ti):Ti)}),Xr=(0,qe.Z)({},sn);return Nn&&(Xr.zIndex=Nn),x.createElement(oe.Provider,{value:hn},x.createElement("div",{className:Ie()(xt,"".concat(xt,"-").concat(Xt),Qt,(0,Ne.Z)((0,Ne.Z)({},"".concat(xt,"-open"),lt),"".concat(xt,"-inline"),Vt)),style:Xr,tabIndex:-1,ref:Oi,onKeyDown:Yi},Wt,x.createElement("div",{tabIndex:0,ref:Ci,style:Xe,"aria-hidden":"true","data-sentinel":"start"}),$r,x.createElement("div",{tabIndex:0,ref:ro,style:Xe,"aria-hidden":"true","data-sentinel":"end"})))}var ot=x.forwardRef(ut),ht=ot,Ct=function(mt){var St=mt.open,Dt=St===void 0?!1:St,jt=mt.prefixCls,xt=jt===void 0?"rc-drawer":jt,lt=mt.placement,Xt=lt===void 0?"right":lt,Vt=mt.autoFocus,wn=Vt===void 0?!0:Vt,an=mt.keyboard,en=an===void 0?!0:an,zn=mt.width,In=zn===void 0?378:zn,Qt=mt.mask,sn=Qt===void 0?!0:Qt,Nn=mt.maskClosable,Vn=Nn===void 0?!0:Nn,Lt=mt.getContainer,Gt=mt.forceRender,nn=mt.afterOpenChange,Cn=mt.destroyOnClose,Gn=mt.onMouseEnter,Sr=mt.onMouseOver,ii=mt.onMouseLeave,si=mt.onClick,sr=mt.onKeyDown,Lr=mt.onKeyUp,Qn=mt.panelRef,Hn=x.useState(!1),Jn=(0,ze.Z)(Hn,2),ir=Jn[0],Zn=Jn[1],Cr=x.useState(!1),Er=(0,ze.Z)(Cr,2),Nr=Er[0],pi=Er[1];(0,Ue.Z)(function(){pi(!0)},[]);var di=Nr?Dt:!1,fi=x.useRef(),Oi=x.useRef();(0,Ue.Z)(function(){di&&(Oi.current=document.activeElement)},[di]);var Ci=function(gi){var oi;if(Zn(gi),nn==null||nn(gi),!gi&&Oi.current&&!((oi=fi.current)!==null&&oi!==void 0&&oi.contains(Oi.current))){var un;(un=Oi.current)===null||un===void 0||un.focus({preventScroll:!0})}},ro=x.useMemo(function(){return{panel:Qn}},[Qn]);if(!Gt&&!ir&&!di&&Cn)return null;var Yi={onMouseEnter:Gn,onMouseOver:Sr,onMouseLeave:ii,onClick:si,onKeyDown:sr,onKeyUp:Lr},or=(0,qe.Z)((0,qe.Z)({},mt),{},{open:di,prefixCls:xt,placement:Xt,autoFocus:wn,keyboard:en,width:In,mask:sn,maskClosable:Vn,inline:Lt===!1,afterOpenChange:Ci,ref:fi},Yi);return x.createElement(xe.Provider,{value:ro},x.createElement(Fe.Z,{open:di||Gt||ir,autoDestroy:!1,getContainer:Lt,autoLock:sn&&(di||ir)},x.createElement(ht,or)))},He=Ct,ft=He,De=ae(62487),_e=ae(75030),Ot=ae(86641),it=ae(55743),at=ae(48755),Bt=ae(91190),We=ae(78776),Te=ae(458),Zt=gt=>{var mt,St;const{prefixCls:Dt,title:jt,footer:xt,extra:lt,loading:Xt,onClose:Vt,headerStyle:wn,bodyStyle:an,footerStyle:en,children:zn,classNames:In,styles:Qt}=gt,sn=(0,at.dj)("drawer"),Nn=x.useCallback(Cn=>x.createElement("button",{type:"button",onClick:Vt,"aria-label":"Close",className:`${Dt}-close`},Cn),[Vt]),[Vn,Lt]=(0,We.Z)((0,We.w)(gt),(0,We.w)(sn),{closable:!0,closeIconRender:Nn}),Gt=x.useMemo(()=>{var Cn,Gn;return!jt&&!Vn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(Cn=sn.styles)===null||Cn===void 0?void 0:Cn.header),wn),Qt==null?void 0:Qt.header),className:Ie()(`${Dt}-header`,{[`${Dt}-header-close-only`]:Vn&&!jt&&!lt},(Gn=sn.classNames)===null||Gn===void 0?void 0:Gn.header,In==null?void 0:In.header)},x.createElement("div",{className:`${Dt}-header-title`},Lt,jt&&x.createElement("div",{className:`${Dt}-title`},jt)),lt&&x.createElement("div",{className:`${Dt}-extra`},lt))},[Vn,Lt,lt,wn,Dt,jt]),nn=x.useMemo(()=>{var Cn,Gn;if(!xt)return null;const Sr=`${Dt}-footer`;return x.createElement("div",{className:Ie()(Sr,(Cn=sn.classNames)===null||Cn===void 0?void 0:Cn.footer,In==null?void 0:In.footer),style:Object.assign(Object.assign(Object.assign({},(Gn=sn.styles)===null||Gn===void 0?void 0:Gn.footer),en),Qt==null?void 0:Qt.footer)},xt)},[xt,en,Dt]);return x.createElement(x.Fragment,null,Gt,x.createElement("div",{className:Ie()(`${Dt}-body`,In==null?void 0:In.body,(mt=sn.classNames)===null||mt===void 0?void 0:mt.body),style:Object.assign(Object.assign(Object.assign({},(St=sn.styles)===null||St===void 0?void 0:St.body),an),Qt==null?void 0:Qt.body)},Xt?x.createElement(Te.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Dt}-body-skeleton`}):zn),nn)},zt=ae(36237),tt=ae(63356),Pt=ae(16931),_t=ae(51636);const fn=gt=>{const mt="100%";return{left:`translateX(-${mt})`,right:`translateX(${mt})`,top:`translateY(-${mt})`,bottom:`translateY(${mt})`}[gt]},Tt=(gt,mt)=>({"&-enter, &-appear":Object.assign(Object.assign({},gt),{"&-active":mt}),"&-leave":Object.assign(Object.assign({},mt),{"&-active":gt})}),vn=(gt,mt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}},Tt({opacity:gt},{opacity:1})),kt=(gt,mt)=>[vn(.7,mt),Tt({transform:fn(gt)},{transform:"none"})];var on=gt=>{const{componentCls:mt,motionDurationSlow:St}=gt;return{[mt]:{[`${mt}-mask-motion`]:vn(0,St),[`${mt}-panel-motion`]:["left","right","top","bottom"].reduce((Dt,jt)=>Object.assign(Object.assign({},Dt),{[`&-${jt}`]:kt(jt,St)}),{})}}};const de=gt=>{const{borderRadiusSM:mt,componentCls:St,zIndexPopup:Dt,colorBgMask:jt,colorBgElevated:xt,motionDurationSlow:lt,motionDurationMid:Xt,paddingXS:Vt,padding:wn,paddingLG:an,fontSizeLG:en,lineHeightLG:zn,lineWidth:In,lineType:Qt,colorSplit:sn,marginXS:Nn,colorIcon:Vn,colorIconHover:Lt,colorBgTextHover:Gt,colorBgTextActive:nn,colorText:Cn,fontWeightStrong:Gn,footerPaddingBlock:Sr,footerPaddingInline:ii,calc:si}=gt,sr=`${St}-content-wrapper`;return{[St]:{position:"fixed",inset:0,zIndex:Dt,pointerEvents:"none",color:Cn,"&-pure":{position:"relative",background:xt,display:"flex",flexDirection:"column",[`&${St}-left`]:{boxShadow:gt.boxShadowDrawerLeft},[`&${St}-right`]:{boxShadow:gt.boxShadowDrawerRight},[`&${St}-top`]:{boxShadow:gt.boxShadowDrawerUp},[`&${St}-bottom`]:{boxShadow:gt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${St}-mask`]:{position:"absolute",inset:0,zIndex:Dt,background:jt,pointerEvents:"auto"},[sr]:{position:"absolute",zIndex:Dt,maxWidth:"100vw",transition:`all ${lt}`,"&-hidden":{display:"none"}},[`&-left > ${sr}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:gt.boxShadowDrawerLeft},[`&-right > ${sr}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:gt.boxShadowDrawerRight},[`&-top > ${sr}`]:{top:0,insetInline:0,boxShadow:gt.boxShadowDrawerUp},[`&-bottom > ${sr}`]:{bottom:0,insetInline:0,boxShadow:gt.boxShadowDrawerDown},[`${St}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:xt,pointerEvents:"auto"},[`${St}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,zt.unit)(wn)} ${(0,zt.unit)(an)}`,fontSize:en,lineHeight:zn,borderBottom:`${(0,zt.unit)(In)} ${Qt} ${sn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${St}-extra`]:{flex:"none"},[`${St}-close`]:Object.assign({display:"inline-flex",width:si(en).add(Vt).equal(),height:si(en).add(Vt).equal(),borderRadius:mt,justifyContent:"center",alignItems:"center",marginInlineEnd:Nn,color:Vn,fontWeight:Gn,fontSize:en,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Xt}`,textRendering:"auto","&:hover":{color:Lt,backgroundColor:Gt,textDecoration:"none"},"&:active":{backgroundColor:nn}},(0,tt.Qy)(gt)),[`${St}-title`]:{flex:1,margin:0,fontWeight:gt.fontWeightStrong,fontSize:en,lineHeight:zn},[`${St}-body`]:{flex:1,minWidth:0,minHeight:0,padding:an,overflow:"auto",[`${St}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${St}-footer`]:{flexShrink:0,padding:`${(0,zt.unit)(Sr)} ${(0,zt.unit)(ii)}`,borderTop:`${(0,zt.unit)(In)} ${Qt} ${sn}`},"&-rtl":{direction:"rtl"}}}},ge=gt=>({zIndexPopup:gt.zIndexPopupBase,footerPaddingBlock:gt.paddingXS,footerPaddingInline:gt.padding});var ie=(0,Pt.I$)("Drawer",gt=>{const mt=(0,_t.mergeToken)(gt,{});return[de(mt),on(mt)]},ge),ee=function(gt,mt){var St={};for(var Dt in gt)Object.prototype.hasOwnProperty.call(gt,Dt)&&mt.indexOf(Dt)<0&&(St[Dt]=gt[Dt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Dt=Object.getOwnPropertySymbols(gt);jt{var mt;const{rootClassName:St,width:Dt,height:jt,size:xt="default",mask:lt=!0,push:Xt=le,open:Vt,afterOpenChange:wn,onClose:an,prefixCls:en,getContainer:zn,style:In,className:Qt,visible:sn,afterVisibleChange:Nn,maskStyle:Vn,drawerStyle:Lt,contentWrapperStyle:Gt}=gt,nn=ee(gt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:Cn,getPrefixCls:Gn,direction:Sr,className:ii,style:si,classNames:sr,styles:Lr}=(0,at.dj)("drawer"),Qn=Gn("drawer",en),[Hn,Jn,ir]=ie(Qn),Zn=zn===void 0&&Cn?()=>Cn(document.body):zn,Cr=Ie()({"no-mask":!lt,[`${Qn}-rtl`]:Sr==="rtl"},St,Jn,ir),Er=x.useMemo(()=>Dt!=null?Dt:xt==="large"?736:378,[Dt,xt]),Nr=x.useMemo(()=>jt!=null?jt:xt==="large"?736:378,[jt,xt]),pi={motionName:(0,Ot.m)(Qn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},di=or=>({motionName:(0,Ot.m)(Qn,`panel-motion-${or}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fi=(0,Bt.H)(),[Oi,Ci]=(0,_e.Cn)("Drawer",nn.zIndex),{classNames:ro={},styles:Yi={}}=nn;return Hn(x.createElement(De.Z,{form:!0,space:!0},x.createElement(it.Z.Provider,{value:Ci},x.createElement(ft,Object.assign({prefixCls:Qn,onClose:an,maskMotion:pi,motion:di},nn,{classNames:{mask:Ie()(ro.mask,sr.mask),content:Ie()(ro.content,sr.content),wrapper:Ie()(ro.wrapper,sr.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Yi.mask),Vn),Lr.mask),content:Object.assign(Object.assign(Object.assign({},Yi.content),Lt),Lr.content),wrapper:Object.assign(Object.assign(Object.assign({},Yi.wrapper),Gt),Lr.wrapper)},open:Vt!=null?Vt:sn,mask:lt,push:Xt,width:Er,height:Nr,style:Object.assign(Object.assign({},si),In),className:Ie()(ii,Qt),rootClassName:Cr,getContainer:Zn,afterOpenChange:wn!=null?wn:Nn,panelRef:fi,zIndex:Oi}),x.createElement(Zt,Object.assign({prefixCls:Qn},nn,{onClose:an}))))))},Ve=gt=>{const{prefixCls:mt,style:St,className:Dt,placement:jt="right"}=gt,xt=ee(gt,["prefixCls","style","className","placement"]),{getPrefixCls:lt}=x.useContext(at.E_),Xt=lt("drawer",mt),[Vt,wn,an]=ie(Xt),en=Ie()(Xt,`${Xt}-pure`,`${Xt}-${jt}`,wn,an,Dt);return Vt(x.createElement("div",{className:en,style:St},x.createElement(Zt,Object.assign({prefixCls:Xt},xt))))};Be._InternalPanelDoNotUseOrYouWillBeFired=Ve;var st=Be},19563:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return zt}});var x=ae(59301),dt=ae(33853),Ie=ae(38819),qe=ae(92310),ze=ae.n(qe),Fe=ae(96478),Ue=ae(6089),he=ae(18929),xe=ae(2738),oe=ae(75030),ve=tt=>typeof tt!="object"&&typeof tt!="function"||tt===null,Re=ae(52838),Se=ae(45915),Oe=ae(22703),ye=ae(32383),Ce=ae(55743),Ee=ae(48755),Me=ae(83397),Ke=ae(93041),je=ae(78857),Qe=ae(57700),Je=ae(36237),Xe=ae(63356),ut=ae(46e3),ot=ae(93873),ht=ae(34925),Ct=ae(37645),He=ae(36305),ft=ae(16931),De=ae(51636),Ot=tt=>{const{componentCls:Pt,menuCls:_t,colorError:fn,colorTextLightSolid:Tt}=tt,vn=`${_t}-item`;return{[`${Pt}, ${Pt}-menu-submenu`]:{[`${_t} ${vn}`]:{[`&${vn}-danger:not(${vn}-disabled)`]:{color:fn,"&:hover":{color:Tt,backgroundColor:fn}}}}}};const it=tt=>{const{componentCls:Pt,menuCls:_t,zIndexPopup:fn,dropdownArrowDistance:Tt,sizePopupArrow:vn,antCls:kt,iconCls:Sn,motionDurationMid:on,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:se,controlPaddingHorizontal:le,colorBgElevated:Be}=tt;return[{[Pt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fn,display:"block","&::before":{position:"absolute",insetBlock:tt.calc(vn).div(2).sub(Tt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${kt}-btn`]:{[`& > ${Sn}-down, & > ${kt}-btn-icon > ${Sn}-down`]:{fontSize:se}},[`${Pt}-wrap`]:{position:"relative",[`${kt}-btn > ${Sn}-down`]:{fontSize:se},[`${Sn}-down::before`]:{transition:`transform ${on}`}},[`${Pt}-wrap-open`]:{[`${Sn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottom, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottom, + &${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomRight, + &${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomRight`]:{animationName:ut.fJ},[`&${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topLeft, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topLeft, + &${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-top, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-top, + &${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topRight, + &${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topRight`]:{animationName:ut.Qt},[`&${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomLeft, + &${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottom, + &${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomRight`]:{animationName:ut.Uw},[`&${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topLeft, + &${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-top, + &${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topRight`]:{animationName:ut.ly}}},(0,Ct.ZP)(tt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Pt} ${_t}`]:{position:"relative",margin:0},[`${_t}-submenu-popup`]:{position:"absolute",zIndex:fn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Pt}, ${Pt}-menu-submenu`]:Object.assign(Object.assign({},(0,Xe.Wf)(tt)),{[_t]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:tt.borderRadiusLG,outline:"none",boxShadow:tt.boxShadowSecondary},(0,Xe.Qy)(tt)),{"&:empty":{padding:0,boxShadow:"none"},[`${_t}-item-group-title`]:{padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:tt.colorTextDescription,transition:`all ${on}`},[`${_t}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${_t}-item-icon`]:{minWidth:ge,marginInlineEnd:tt.marginXS,fontSize:tt.fontSizeSM},[`${_t}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${on}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${_t}-item-extra`]:{paddingInlineStart:tt.padding,marginInlineStart:"auto",fontSize:tt.fontSizeSM,color:tt.colorTextDescription}},[`${_t}-item, ${_t}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:tt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:tt.lineHeight,cursor:"pointer",transition:`all ${on}`,borderRadius:tt.borderRadiusSM,"&:hover, &-active":{backgroundColor:tt.controlItemBgHover}},(0,Xe.Qy)(tt)),{"&-selected":{color:tt.colorPrimary,backgroundColor:tt.controlItemBgActive,"&:hover, &-active":{backgroundColor:tt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Je.unit)(tt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:tt.colorSplit},[`${Pt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:tt.paddingXS,[`${Pt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:tt.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${_t}-item-group-list`]:{margin:`0 ${(0,Je.unit)(tt.marginXS)}`,padding:0,listStyle:"none"},[`${_t}-submenu-title`]:{paddingInlineEnd:tt.calc(le).add(tt.fontSizeSM).equal()},[`${_t}-submenu-vertical`]:{position:"relative"},[`${_t}-submenu${_t}-submenu-disabled ${Pt}-menu-submenu-title`]:{[`&, ${Pt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${_t}-submenu-selected ${Pt}-menu-submenu-title`]:{color:tt.colorPrimary}})})},[(0,ut.oN)(tt,"slide-up"),(0,ut.oN)(tt,"slide-down"),(0,ot.Fm)(tt,"move-up"),(0,ot.Fm)(tt,"move-down"),(0,ht._y)(tt,"zoom-big")]]},at=tt=>Object.assign(Object.assign({zIndexPopup:tt.zIndexPopupBase+50,paddingBlock:(tt.controlHeight-tt.fontSize*tt.lineHeight)/2},(0,Ct.wZ)({contentRadius:tt.borderRadiusLG,limitVerticalRadius:!0})),(0,He.w)(tt));var Bt=(0,ft.I$)("Dropdown",tt=>{const{marginXXS:Pt,sizePopupArrow:_t,paddingXXS:fn,componentCls:Tt}=tt,vn=(0,De.mergeToken)(tt,{menuCls:`${Tt}-menu`,dropdownArrowDistance:tt.calc(_t).div(2).add(Pt).equal(),dropdownEdgeChildPadding:fn});return[it(vn),Ot(vn)]},at,{resetStyle:!1});const We=null,Te=tt=>{var Pt;const{menu:_t,arrow:fn,prefixCls:Tt,children:vn,trigger:kt,disabled:Sn,dropdownRender:on,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:se,onOpenChange:le,visible:Be,onVisibleChange:Ve,mouseEnterDelay:st=.15,mouseLeaveDelay:gt=.1,autoAdjustOverflow:mt=!0,placement:St="",overlay:Dt,transitionName:jt}=tt,{getPopupContainer:xt,getPrefixCls:lt,direction:Xt,dropdown:Vt}=x.useContext(Ee.E_),wn=(0,ye.ln)("Dropdown"),an=x.useMemo(()=>{const Zn=lt();return jt!==void 0?jt:St.includes("top")?`${Zn}-slide-down`:`${Zn}-slide-up`},[lt,St,jt]),en=x.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Xt==="rtl"?"bottomRight":"bottomLeft",[St,Xt]),zn=lt("dropdown",Tt),In=(0,Me.Z)(zn),[Qt,sn,Nn]=Bt(zn,In),[,Vn]=(0,Qe.ZP)(),Lt=x.Children.only(ve(vn)?x.createElement("span",null,vn):vn),Gt=(0,Oe.Tm)(Lt,{className:ze()(`${zn}-trigger`,{[`${zn}-rtl`]:Xt==="rtl"},Lt.props.className),disabled:(Pt=Lt.props.disabled)!==null&&Pt!==void 0?Pt:Sn}),nn=Sn?[]:kt,Cn=!!(nn!=null&&nn.includes("contextMenu")),[Gn,Sr]=(0,he.Z)(!1,{value:se!=null?se:Be}),ii=(0,Ue.Z)(Zn=>{le==null||le(Zn,{source:"trigger"}),Ve==null||Ve(Zn),Sr(Zn)}),si=ze()(ge,ie,sn,Nn,In,Vt==null?void 0:Vt.className,{[`${zn}-rtl`]:Xt==="rtl"}),sr=(0,Re.Z)({arrowPointAtCenter:typeof fn=="object"&&fn.pointAtCenter,autoAdjustOverflow:mt,offset:Vn.marginXXS,arrowWidth:fn?Vn.sizePopupArrow:0,borderRadius:Vn.borderRadius}),Lr=x.useCallback(()=>{_t!=null&&_t.selectable&&(_t!=null&&_t.multiple)||(le==null||le(!1,{source:"menu"}),Sr(!1))},[_t==null?void 0:_t.selectable,_t==null?void 0:_t.multiple]),Qn=()=>{let Zn;return _t!=null&&_t.items?Zn=x.createElement(Ke.default,Object.assign({},_t)):typeof Dt=="function"?Zn=Dt():Zn=Dt,on&&(Zn=on(Zn)),Zn=x.Children.only(typeof Zn=="string"?x.createElement("span",null,Zn):Zn),x.createElement(je.J,{prefixCls:`${zn}-menu`,rootClassName:ze()(Nn,In),expandIcon:x.createElement("span",{className:`${zn}-menu-submenu-arrow`},Xt==="rtl"?x.createElement(dt.Z,{className:`${zn}-menu-submenu-arrow-icon`}):x.createElement(Ie.Z,{className:`${zn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Lr,validator:Cr=>{let{mode:Er}=Cr}},Zn)},[Hn,Jn]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let ir=x.createElement(Fe.Z,Object.assign({alignPoint:Cn},(0,xe.Z)(tt,["rootClassName"]),{mouseEnterDelay:st,mouseLeaveDelay:gt,visible:Gn,builtinPlacements:sr,arrow:!!fn,overlayClassName:si,prefixCls:zn,getPopupContainer:de||xt,transitionName:an,trigger:nn,overlay:Qn,placement:en,onVisibleChange:ii,overlayStyle:Object.assign(Object.assign(Object.assign({},Vt==null?void 0:Vt.style),ee),{zIndex:Hn})}),Gt);return Hn&&(ir=x.createElement(Ce.Z.Provider,{value:Jn},ir)),Qt(ir)},ct=(0,Se.Z)(Te,"align",void 0,"dropdown",tt=>tt),Zt=tt=>x.createElement(ct,Object.assign({},tt),x.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=Zt;var zt=Te},75727:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Se}});var x=ae(19563),dt=ae(59301),Ie=ae(18785),qe=ae(92310),ze=ae.n(qe),Fe=ae(7939),Ue=ae(48755),he=ae(44104),xe=ae(70045),oe=function(Oe,ye){var Ce={};for(var Ee in Oe)Object.prototype.hasOwnProperty.call(Oe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=Oe[Ee]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(Oe);Me{const{getPopupContainer:ye,getPrefixCls:Ce,direction:Ee}=dt.useContext(Ue.E_),{prefixCls:Me,type:Ke="default",danger:je,disabled:Qe,loading:Je,onClick:Xe,htmlType:ut,children:ot,className:ht,menu:Ct,arrow:He,autoFocus:ft,overlay:De,trigger:_e,align:Ot,open:it,onOpenChange:at,placement:Bt,getPopupContainer:We,href:Te,icon:ct=dt.createElement(Ie.Z,null),title:Zt,buttonsRender:zt=st=>st,mouseEnterDelay:tt,mouseLeaveDelay:Pt,overlayClassName:_t,overlayStyle:fn,destroyPopupOnHide:Tt,dropdownRender:vn}=Oe,kt=oe(Oe,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Sn=Ce("dropdown",Me),on=`${Sn}-button`,de={menu:Ct,arrow:He,autoFocus:ft,align:Ot,disabled:Qe,trigger:Qe?[]:_e,onOpenChange:at,getPopupContainer:We||ye,mouseEnterDelay:tt,mouseLeaveDelay:Pt,overlayClassName:_t,overlayStyle:fn,destroyPopupOnHide:Tt,dropdownRender:vn},{compactSize:ge,compactItemClassnames:ie}=(0,xe.ri)(Sn,Ee),ee=ze()(on,ie,ht);"overlay"in Oe&&(de.overlay=De),"open"in Oe&&(de.open=it),"placement"in Oe?de.placement=Bt:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const se=dt.createElement(Fe.ZP,{type:Ke,danger:je,disabled:Qe,loading:Je,onClick:Xe,htmlType:ut,href:Te,title:Zt},ot),le=dt.createElement(Fe.ZP,{type:Ke,danger:je,icon:ct}),[Be,Ve]=zt([se,le]);return dt.createElement(he.Z.Compact,Object.assign({className:ee,size:ge,block:!0},kt),Be,dt.createElement(x.Z,Object.assign({},de),Ve))};Ne.__ANT_BUTTON=!0;var ve=Ne;const Re=x.Z;Re.Button=ve;var Se=Re},584:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ke}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(9017),ze=ae(17835),Fe=ae(57700),he=()=>{const[,je]=(0,Fe.ZP)(),[Qe]=(0,qe.Z)("Empty"),Xe=new ze.FastColor(je.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Xe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Qe==null?void 0:Qe.description)||"Empty"),x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.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"}),x.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)"}),x.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"}),x.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"})),x.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"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},oe=()=>{const[,je]=(0,Fe.ZP)(),[Qe]=(0,qe.Z)("Empty"),{colorFill:Je,colorFillTertiary:Xe,colorFillQuaternary:ut,colorBgContainer:ot}=je,{borderColor:ht,shadowColor:Ct,contentColor:He}=(0,x.useMemo)(()=>({borderColor:new ze.FastColor(Je).onBackground(ot).toHexString(),shadowColor:new ze.FastColor(Xe).onBackground(ot).toHexString(),contentColor:new ze.FastColor(ut).onBackground(ot).toHexString()}),[Je,Xe,ut,ot]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Qe==null?void 0:Qe.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:Ct,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ht},x.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"}),x.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:He}))))},Ne=ae(16931),ve=ae(51636);const Re=je=>{const{componentCls:Qe,margin:Je,marginXS:Xe,marginXL:ut,fontSize:ot,lineHeight:ht}=je;return{[Qe]:{marginInline:Xe,fontSize:ot,lineHeight:ht,textAlign:"center",[`${Qe}-image`]:{height:je.emptyImgHeight,marginBottom:Xe,opacity:je.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Qe}-description`]:{color:je.colorTextDescription},[`${Qe}-footer`]:{marginTop:Je},"&-normal":{marginBlock:ut,color:je.colorTextDescription,[`${Qe}-description`]:{color:je.colorTextDescription},[`${Qe}-image`]:{height:je.emptyImgHeightMD}},"&-small":{marginBlock:Xe,color:je.colorTextDescription,[`${Qe}-image`]:{height:je.emptyImgHeightSM}}}}};var Se=(0,Ne.I$)("Empty",je=>{const{componentCls:Qe,controlHeightLG:Je,calc:Xe}=je,ut=(0,ve.mergeToken)(je,{emptyImgCls:`${Qe}-img`,emptyImgHeight:Xe(Je).mul(2.5).equal(),emptyImgHeightMD:Je,emptyImgHeightSM:Xe(Je).mul(.875).equal()});return[Re(ut)]}),Oe=ae(48755),ye=function(je,Qe){var Je={};for(var Xe in je)Object.prototype.hasOwnProperty.call(je,Xe)&&Qe.indexOf(Xe)<0&&(Je[Xe]=je[Xe]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Xe=Object.getOwnPropertySymbols(je);ut{const{className:Qe,rootClassName:Je,prefixCls:Xe,image:ut=Ce,description:ot,children:ht,imageStyle:Ct,style:He,classNames:ft,styles:De}=je,_e=ye(je,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ot,direction:it,className:at,style:Bt,classNames:We,styles:Te}=(0,Oe.dj)("empty"),ct=Ot("empty",Xe),[Zt,zt,tt]=Se(ct),[Pt]=(0,qe.Z)("Empty"),_t=typeof ot!="undefined"?ot:Pt==null?void 0:Pt.description,fn=typeof _t=="string"?_t:"empty";let Tt=null;return typeof ut=="string"?Tt=x.createElement("img",{alt:fn,src:ut}):Tt=ut,Zt(x.createElement("div",Object.assign({className:Ie()(zt,tt,ct,at,{[`${ct}-normal`]:ut===Ee,[`${ct}-rtl`]:it==="rtl"},Qe,Je,We.root,ft==null?void 0:ft.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Te.root),Bt),De==null?void 0:De.root),He)},_e),x.createElement("div",{className:Ie()(`${ct}-image`,We.image,ft==null?void 0:ft.image),style:Object.assign(Object.assign(Object.assign({},Ct),Te.image),De==null?void 0:De.image)},Tt),_t&&x.createElement("div",{className:Ie()(`${ct}-description`,We.description,ft==null?void 0:ft.description),style:Object.assign(Object.assign({},Te.description),De==null?void 0:De.description)},_t),ht&&x.createElement("div",{className:Ie()(`${ct}-footer`,We.footer,ft==null?void 0:ft.footer),style:Object.assign(Object.assign({},Te.footer),De==null?void 0:De.footer)},ht)))};Me.PRESENTED_IMAGE_DEFAULT=Ce,Me.PRESENTED_IMAGE_SIMPLE=Ee;var Ke=Me},28284:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return bt}});var x=ae(56553),dt=ae(77654),Ie=ae(59301),qe=ae(92310),ze=ae.n(qe),Fe=ae(77900),Ue=ae(86641),he=ae(83397);function xe(Rt){const[hn,Wt]=Ie.useState(Rt);return Ie.useEffect(()=>{const yn=setTimeout(()=>{Wt(Rt)},Rt.length?0:10);return()=>{clearTimeout(yn)}},[Rt]),hn}var oe=ae(36237),Ne=ae(63356),ve=ae(34925),Re=ae(34961),Se=ae(51636),Oe=ae(16931),Ce=Rt=>{const{componentCls:hn}=Rt,Wt=`${hn}-show-help`,yn=`${hn}-show-help-item`;return{[Wt]:{transition:`opacity ${Rt.motionDurationFast} ${Rt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[yn]:{overflow:"hidden",transition:`height ${Rt.motionDurationFast} ${Rt.motionEaseInOut}, opacity ${Rt.motionDurationFast} ${Rt.motionEaseInOut}, - transform ${Rt.motionDurationFast} ${Rt.motionEaseInOut} !important`,[`&${yn}-appear, &${yn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${yn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=Rt=>({legend:{display:"block",width:"100%",marginBottom:Rt.marginLG,padding:0,color:Rt.colorTextDescription,fontSize:Rt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(Rt.lineWidth)} ${Rt.lineType} ${Rt.colorBorder}`},'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,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,oe.unit)(Rt.controlOutlineWidth)} ${Rt.controlOutline}`},output:{display:"block",paddingTop:15,color:Rt.colorText,fontSize:Rt.fontSize,lineHeight:Rt.lineHeight}}),Me=(Rt,fn)=>{const{formItemCls:Wt}=Rt;return{[Wt]:{[`${Wt}-label > label`]:{height:fn},[`${Wt}-control-input`]:{minHeight:fn}}}},Ke=Rt=>{const{componentCls:fn}=Rt;return{[Rt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(Rt)),Ee(Rt)),{[`${fn}-text`]:{display:"inline-block",paddingInlineEnd:Rt.paddingSM},"&-small":Object.assign({},Me(Rt,Rt.controlHeightSM)),"&-large":Object.assign({},Me(Rt,Rt.controlHeightLG))})}},je=Rt=>{const{formItemCls:fn,iconCls:Wt,rootPrefixCls:yn,antCls:On,labelRequiredMarkColor:jr,labelColor:$r,labelFontSize:Xr,labelHeight:dr,labelColonMarginInlineStart:lr,labelColonMarginInlineEnd:$n,itemMarginBottom:ei}=Rt;return{[fn]:Object.assign(Object.assign({},(0,Ne.Wf)(Rt)),{marginBottom:ei,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${On}-row`]:{display:"none"},"&-has-warning":{[`${fn}-split`]:{color:Rt.colorError}},"&-has-error":{[`${fn}-split`]:{color:Rt.colorWarning}},[`${fn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Rt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:dr,color:$r,fontSize:Xr,[`> ${Wt}`]:{fontSize:Rt.fontSize,verticalAlign:"top"},[`&${fn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Rt.marginXXS,color:jr,fontSize:Rt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${fn}-required-mark-hidden, &${fn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${fn}-optional`]:{display:"inline-block",marginInlineStart:Rt.marginXXS,color:Rt.colorTextDescription,[`&${fn}-required-mark-hidden`]:{display:"none"}},[`${fn}-tooltip`]:{color:Rt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Rt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:lr,marginInlineEnd:$n},[`&${fn}-no-colon::after`]:{content:'"\\a0"'}}},[`${fn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${yn}-col-'"]):not([class*="' ${yn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Rt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[fn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Rt.colorTextDescription,fontSize:Rt.fontSize,lineHeight:Rt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Rt.controlHeightSM,transition:`color ${Rt.motionDurationMid} ${Rt.motionEaseOut}`},"&-explain":{"&-error":{color:Rt.colorError},"&-warning":{color:Rt.colorWarning}}},[`&-with-help ${fn}-explain`]:{height:"auto",opacity:1},[`${fn}-feedback-icon`]:{fontSize:Rt.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:Rt.motionDurationMid,animationTimingFunction:Rt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Rt.colorSuccess},"&-error":{color:Rt.colorError},"&-warning":{color:Rt.colorWarning},"&-validating":{color:Rt.colorPrimary}}})}},_e=(Rt,fn)=>{const{formItemCls:Wt}=Rt;return{[`${fn}-horizontal`]:{[`${Wt}-label`]:{flexGrow:0},[`${Wt}-control`]:{flex:"1 1 0",minWidth:0},[`${Wt}-label[class$='-24'], ${Wt}-label[class*='-24 ']`]:{[`& + ${Wt}-control`]:{minWidth:"unset"}}}}},Je=Rt=>{const{componentCls:fn,formItemCls:Wt,inlineItemMarginBottom:yn}=Rt;return{[`${fn}-inline`]:{display:"flex",flexWrap:"wrap",[Wt]:{flex:"none",marginInlineEnd:Rt.margin,marginBottom:yn,"&-row":{flexWrap:"nowrap"},[`> ${Wt}-label, - > ${Wt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Wt}-label`]:{flex:"none"},[`${fn}-text`]:{display:"inline-block"},[`${Wt}-has-feedback`]:{display:"inline-block"}}}}},Xe=Rt=>({padding:Rt.verticalLabelPadding,margin:Rt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ut=Rt=>{const{componentCls:fn,formItemCls:Wt,rootPrefixCls:yn}=Rt;return{[`${Wt} ${Wt}-label`]:Xe(Rt),[`${fn}:not(${fn}-inline)`]:{[Wt]:{flexWrap:"wrap",[`${Wt}-label, ${Wt}-control`]:{[`&:not([class*=" ${yn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ot=Rt=>{const{componentCls:fn,formItemCls:Wt,antCls:yn}=Rt;return{[`${fn}-vertical`]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${Wt}-row`]:{flexDirection:"column"},[`${Wt}-label > label`]:{height:"auto"},[`${Wt}-control`]:{width:"100%"},[`${Wt}-label, + transform ${Rt.motionDurationFast} ${Rt.motionEaseInOut} !important`,[`&${yn}-appear, &${yn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${yn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=Rt=>({legend:{display:"block",width:"100%",marginBottom:Rt.marginLG,padding:0,color:Rt.colorTextDescription,fontSize:Rt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(Rt.lineWidth)} ${Rt.lineType} ${Rt.colorBorder}`},'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,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,oe.unit)(Rt.controlOutlineWidth)} ${Rt.controlOutline}`},output:{display:"block",paddingTop:15,color:Rt.colorText,fontSize:Rt.fontSize,lineHeight:Rt.lineHeight}}),Me=(Rt,hn)=>{const{formItemCls:Wt}=Rt;return{[Wt]:{[`${Wt}-label > label`]:{height:hn},[`${Wt}-control-input`]:{minHeight:hn}}}},Ke=Rt=>{const{componentCls:hn}=Rt;return{[Rt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(Rt)),Ee(Rt)),{[`${hn}-text`]:{display:"inline-block",paddingInlineEnd:Rt.paddingSM},"&-small":Object.assign({},Me(Rt,Rt.controlHeightSM)),"&-large":Object.assign({},Me(Rt,Rt.controlHeightLG))})}},je=Rt=>{const{formItemCls:hn,iconCls:Wt,rootPrefixCls:yn,antCls:On,labelRequiredMarkColor:jr,labelColor:$r,labelFontSize:Xr,labelHeight:dr,labelColonMarginInlineStart:lr,labelColonMarginInlineEnd:$n,itemMarginBottom:ei}=Rt;return{[hn]:Object.assign(Object.assign({},(0,Ne.Wf)(Rt)),{marginBottom:ei,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${On}-row`]:{display:"none"},"&-has-warning":{[`${hn}-split`]:{color:Rt.colorError}},"&-has-error":{[`${hn}-split`]:{color:Rt.colorWarning}},[`${hn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Rt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:dr,color:$r,fontSize:Xr,[`> ${Wt}`]:{fontSize:Rt.fontSize,verticalAlign:"top"},[`&${hn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Rt.marginXXS,color:jr,fontSize:Rt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${hn}-required-mark-hidden, &${hn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${hn}-optional`]:{display:"inline-block",marginInlineStart:Rt.marginXXS,color:Rt.colorTextDescription,[`&${hn}-required-mark-hidden`]:{display:"none"}},[`${hn}-tooltip`]:{color:Rt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Rt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:lr,marginInlineEnd:$n},[`&${hn}-no-colon::after`]:{content:'"\\a0"'}}},[`${hn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${yn}-col-'"]):not([class*="' ${yn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Rt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[hn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Rt.colorTextDescription,fontSize:Rt.fontSize,lineHeight:Rt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Rt.controlHeightSM,transition:`color ${Rt.motionDurationMid} ${Rt.motionEaseOut}`},"&-explain":{"&-error":{color:Rt.colorError},"&-warning":{color:Rt.colorWarning}}},[`&-with-help ${hn}-explain`]:{height:"auto",opacity:1},[`${hn}-feedback-icon`]:{fontSize:Rt.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:Rt.motionDurationMid,animationTimingFunction:Rt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Rt.colorSuccess},"&-error":{color:Rt.colorError},"&-warning":{color:Rt.colorWarning},"&-validating":{color:Rt.colorPrimary}}})}},Qe=(Rt,hn)=>{const{formItemCls:Wt}=Rt;return{[`${hn}-horizontal`]:{[`${Wt}-label`]:{flexGrow:0},[`${Wt}-control`]:{flex:"1 1 0",minWidth:0},[`${Wt}-label[class$='-24'], ${Wt}-label[class*='-24 ']`]:{[`& + ${Wt}-control`]:{minWidth:"unset"}}}}},Je=Rt=>{const{componentCls:hn,formItemCls:Wt,inlineItemMarginBottom:yn}=Rt;return{[`${hn}-inline`]:{display:"flex",flexWrap:"wrap",[Wt]:{flex:"none",marginInlineEnd:Rt.margin,marginBottom:yn,"&-row":{flexWrap:"nowrap"},[`> ${Wt}-label, + > ${Wt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Wt}-label`]:{flex:"none"},[`${hn}-text`]:{display:"inline-block"},[`${Wt}-has-feedback`]:{display:"inline-block"}}}}},Xe=Rt=>({padding:Rt.verticalLabelPadding,margin:Rt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ut=Rt=>{const{componentCls:hn,formItemCls:Wt,rootPrefixCls:yn}=Rt;return{[`${Wt} ${Wt}-label`]:Xe(Rt),[`${hn}:not(${hn}-inline)`]:{[Wt]:{flexWrap:"wrap",[`${Wt}-label, ${Wt}-control`]:{[`&:not([class*=" ${yn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ot=Rt=>{const{componentCls:hn,formItemCls:Wt,antCls:yn}=Rt;return{[`${hn}-vertical`]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${Wt}-row`]:{flexDirection:"column"},[`${Wt}-label > label`]:{height:"auto"},[`${Wt}-control`]:{width:"100%"},[`${Wt}-label, ${yn}-col-24${Wt}-label, - ${yn}-col-xl-24${Wt}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenXSMax)})`]:[ut(Rt),{[fn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-xs-24${Wt}-label`]:Xe(Rt)}}}],[`@media (max-width: ${(0,oe.unit)(Rt.screenSMMax)})`]:{[fn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-sm-24${Wt}-label`]:Xe(Rt)}}},[`@media (max-width: ${(0,oe.unit)(Rt.screenMDMax)})`]:{[fn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-md-24${Wt}-label`]:Xe(Rt)}}},[`@media (max-width: ${(0,oe.unit)(Rt.screenLGMax)})`]:{[fn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-lg-24${Wt}-label`]:Xe(Rt)}}}}},ht=Rt=>{const{formItemCls:fn,antCls:Wt}=Rt;return{[`${fn}-vertical`]:{[`${fn}-row`]:{flexDirection:"column"},[`${fn}-label > label`]:{height:"auto"},[`${fn}-control`]:{width:"100%"}},[`${fn}-vertical ${fn}-label, - ${Wt}-col-24${fn}-label, - ${Wt}-col-xl-24${fn}-label`]:Xe(Rt),[`@media (max-width: ${(0,oe.unit)(Rt.screenXSMax)})`]:[ut(Rt),{[fn]:{[`${Wt}-col-xs-24${fn}-label`]:Xe(Rt)}}],[`@media (max-width: ${(0,oe.unit)(Rt.screenSMMax)})`]:{[fn]:{[`${Wt}-col-sm-24${fn}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenMDMax)})`]:{[fn]:{[`${Wt}-col-md-24${fn}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenLGMax)})`]:{[fn]:{[`${Wt}-col-lg-24${fn}-label`]:Xe(Rt)}}}},Ct=Rt=>({labelRequiredMarkColor:Rt.colorError,labelColor:Rt.colorTextHeading,labelFontSize:Rt.fontSize,labelHeight:Rt.controlHeight,labelColonMarginInlineStart:Rt.marginXXS/2,labelColonMarginInlineEnd:Rt.marginXS,itemMarginBottom:Rt.marginLG,verticalLabelPadding:`0 0 ${Rt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),He=(Rt,fn)=>(0,Se.mergeToken)(Rt,{formItemCls:`${Rt.componentCls}-item`,rootPrefixCls:fn});var ft=(0,Pe.I$)("Form",(Rt,fn)=>{let{rootPrefixCls:Wt}=fn;const yn=He(Rt,Wt);return[Ke(yn),je(yn),Ce(yn),_e(yn,yn.componentCls),_e(yn,yn.formItemCls),Je(yn),ot(yn),ht(yn),(0,Re.Z)(yn),ve.kr]},Ct,{order:-1e3});const De=[];function Qe(Rt,fn,Wt){let yn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Rt=="string"?Rt:`${fn}-${yn}`,error:Rt,errorStatus:Wt}}var it=Rt=>{let{help:fn,helpStatus:Wt,errors:yn=De,warnings:On=De,className:jr,fieldId:$r,onVisibleChanged:Xr}=Rt;const{prefixCls:dr}=Ie.useContext(x.Rk),lr=`${dr}-item-explain`,$n=(0,he.Z)(dr),[ei,Ti,xi]=ft(dr,$n),nr=Ie.useMemo(()=>(0,Ue.Z)(dr),[dr]),fr=xe(yn),gn=xe(On),cn=Ie.useMemo(()=>fn!=null?[Qe(fn,"help",Wt)]:[].concat((0,dt.Z)(fr.map((ur,br)=>Qe(ur,"error","error",br))),(0,dt.Z)(gn.map((ur,br)=>Qe(ur,"warning","warning",br)))),[fn,Wt,fr,gn]),qn=Ie.useMemo(()=>{const ur={};return cn.forEach(br=>{let{key:ci}=br;ur[ci]=(ur[ci]||0)+1}),cn.map((br,ci)=>Object.assign(Object.assign({},br),{key:ur[br.key]>1?`${br.key}-fallback-${ci}`:br.key}))},[cn]),hr={};return $r&&(hr.id=`${$r}_help`),ei(Ie.createElement(Fe.default,{motionDeadline:nr.motionDeadline,motionName:`${dr}-show-help`,visible:!!qn.length,onVisibleChanged:Xr},ur=>{const{className:br,style:ci}=ur;return Ie.createElement("div",Object.assign({},hr,{className:ze()(lr,br,xi,$n,jr,Ti),style:ci}),Ie.createElement(Fe.CSSMotionList,Object.assign({keys:qn},(0,Ue.Z)(dr),{motionName:`${dr}-show-help-item`,component:!1}),Yr=>{const{key:yi,error:Pi,errorStatus:wi,className:Gr,style:Ji}=Yr;return Ie.createElement("div",{key:yi,className:ze()(Gr,{[`${lr}-${wi}`]:wi}),style:Ji},Pi)}))}))},at=ae(69180),Bt=ae(48755),We=ae(2171),Te=ae(31756),ct=ae(23069),Zt=ae(76846),jt=ae(16722);const tt=["parentNode"],Tt="form_item";function _t(Rt){return Rt===void 0||Rt===!1?[]:Array.isArray(Rt)?Rt:[Rt]}function hn(Rt,fn){if(!Rt.length)return;const Wt=Rt.join("_");return fn?`${fn}_${Wt}`:tt.includes(Wt)?`${Tt}_${Wt}`:Wt}function Pt(Rt,fn,Wt,yn,On,jr){let $r=yn;return jr!==void 0?$r=jr:Wt.validating?$r="validating":Rt.length?$r="error":fn.length?$r="warning":(Wt.touched||On&&Wt.validated)&&($r="success"),$r}var vn=function(Rt,fn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&fn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);OnRt!=null?Rt:Object.assign(Object.assign({},fn),{__INTERNAL__:{itemRef:On=>jr=>{const $r=kt(On);jr?Wt.current[$r]=jr:delete Wt.current[$r]}},scrollToField:function(On){let jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:$r}=jr,Xr=vn(jr,["focus"]),dr=Sn(On,yn);dr&&((0,jt.Z)(dr,Object.assign({scrollMode:"if-needed",block:"nearest"},Xr)),$r&&yn.focusField(On))},focusField:On=>{var jr,$r;const Xr=yn.getFieldInstance(On);typeof(Xr==null?void 0:Xr.focus)=="function"?Xr.focus():($r=(jr=Sn(On,yn))===null||jr===void 0?void 0:jr.focus)===null||$r===void 0||$r.call(jr)},getFieldInstance:On=>{const jr=kt(On);return Wt.current[jr]}}),[Rt,fn]);return[yn]}var de=ae(98350),ge=function(Rt,fn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&fn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{const Wt=Ie.useContext(We.Z),{getPrefixCls:yn,direction:On,requiredMark:jr,colon:$r,scrollToFirstError:Xr,className:dr,style:lr}=(0,Bt.dj)("form"),{prefixCls:$n,className:ei,rootClassName:Ti,size:xi,disabled:nr=Wt,form:fr,colon:gn,labelAlign:cn,labelWrap:qn,labelCol:hr,wrapperCol:ur,hideRequiredMark:br,layout:ci="horizontal",scrollToFirstError:Yr,requiredMark:yi,onFinishFailed:Pi,name:wi,style:Gr,feedbackIcons:Ji,variant:Qi}=Rt,Zi=ge(Rt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),ki=(0,Te.Z)(xi),Mi=Ie.useContext(de.Z),Fi=Ie.useMemo(()=>yi!==void 0?yi:br?!1:jr!==void 0?jr:!0,[br,yi,jr]),lo=gn!=null?gn:$r,Ki=yn("form",$n),Do=(0,he.Z)(Ki),[eo,qo,wo]=ft(Ki,Do),no=ze()(Ki,`${Ki}-${ci}`,{[`${Ki}-hide-required-mark`]:Fi===!1,[`${Ki}-rtl`]:On==="rtl",[`${Ki}-${ki}`]:ki},wo,Do,qo,dr,ei,Ti),[No]=on(fr),{__INTERNAL__:Yo}=No;Yo.name=wi;const Qo=Ie.useMemo(()=>({name:wi,labelAlign:cn,labelCol:hr,labelWrap:qn,wrapperCol:ur,vertical:ci==="vertical",colon:lo,requiredMark:Fi,itemRef:Yo.itemRef,form:No,feedbackIcons:Ji}),[wi,cn,hr,ur,ci,lo,Fi,No,Ji]),Fo=Ie.useRef(null);Ie.useImperativeHandle(fn,()=>{var Jr;return Object.assign(Object.assign({},No),{nativeElement:(Jr=Fo.current)===null||Jr===void 0?void 0:Jr.nativeElement})});const pn=(Jr,Ai)=>{if(Jr){let Kr={block:"nearest"};typeof Jr=="object"&&(Kr=Object.assign(Object.assign({},Kr),Jr)),No.scrollToField(Ai,Kr)}},Rr=Jr=>{if(Pi==null||Pi(Jr),Jr.errorFields.length){const Ai=Jr.errorFields[0].name;if(Yr!==void 0){pn(Yr,Ai);return}Xr!==void 0&&pn(Xr,Ai)}};return eo(Ie.createElement(x.pg.Provider,{value:Qi},Ie.createElement(We.n,{disabled:nr},Ie.createElement(ct.Z.Provider,{value:ki},Ie.createElement(x.RV,{validateMessages:Mi},Ie.createElement(x.q3.Provider,{value:Qo},Ie.createElement(at.default,Object.assign({id:wi},Zi,{name:wi,onFinishFailed:Rr,form:No,ref:Fo,style:Object.assign(Object.assign({},lr),Gr),className:no}))))))))};var se=Ie.forwardRef(ie),le=ae(41799),Be=ae(8654),Ve=ae(22703),st=ae(32383),gt=ae(11592);function mt(Rt){if(typeof Rt=="function")return Rt;const fn=(0,gt.Z)(Rt);return fn.length<=1?fn[0]:fn}const St=()=>{const{status:Rt,errors:fn=[],warnings:Wt=[]}=Ie.useContext(x.aM);return{status:Rt,errors:fn,warnings:Wt}};St.Context=x.aM;var Dt=St,Ht=ae(16089);function xt(Rt){const[fn,Wt]=Ie.useState(Rt),yn=Ie.useRef(null),On=Ie.useRef([]),jr=Ie.useRef(!1);Ie.useEffect(()=>(jr.current=!1,()=>{jr.current=!0,Ht.Z.cancel(yn.current),yn.current=null}),[]);function $r(Xr){jr.current||(yn.current===null&&(On.current=[],yn.current=(0,Ht.Z)(()=>{yn.current=null,Wt(dr=>{let lr=dr;return On.current.forEach($n=>{lr=$n(lr)}),lr})})),On.current.push(Xr))}return[fn,$r]}function lt(){const{itemRef:Rt}=Ie.useContext(x.q3),fn=Ie.useRef({});function Wt(yn,On){const jr=On&&typeof On=="object"&&(0,Be.C4)(On),$r=yn.join("_");return(fn.current.name!==$r||fn.current.originRef!==jr)&&(fn.current.name=$r,fn.current.originRef=jr,fn.current.ref=(0,Be.sQ)(Rt(yn),jr)),fn.current.ref}return Wt}var Xt=ae(29194),Vt=ae(34280),wn=ae(2738),an=ae(65970),en=ae(70425),zn=ae(5472);const In=Rt=>{const{formItemCls:fn}=Rt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${fn}-control`]:{display:"flex"}}}};var Qt=(0,Pe.bk)(["Form","item-item"],(Rt,fn)=>{let{rootPrefixCls:Wt}=fn;const yn=He(Rt,Wt);return[In(yn)]}),sn=function(Rt,fn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&fn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{const{prefixCls:fn,status:Wt,labelCol:yn,wrapperCol:On,children:jr,errors:$r,warnings:Xr,_internalItemRender:dr,extra:lr,help:$n,fieldId:ei,marginBottom:Ti,onErrorVisibleChanged:xi,label:nr}=Rt,fr=`${fn}-item`,gn=Ie.useContext(x.q3),cn=Ie.useMemo(()=>{let Zi=Object.assign({},On||gn.wrapperCol||{});return nr===null&&!yn&&!On&&gn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Mi=>{const Fi=Mi?[Mi]:[],lo=(0,en.U2)(gn.labelCol,Fi),Ki=typeof lo=="object"?lo:{},Do=(0,en.U2)(Zi,Fi),eo=typeof Do=="object"?Do:{};"span"in Ki&&!("offset"in eo)&&Ki.span{const{labelCol:Zi,wrapperCol:ki}=gn;return sn(gn,["labelCol","wrapperCol"])},[gn]),ur=Ie.useRef(null),[br,ci]=Ie.useState(0);(0,Vt.Z)(()=>{lr&&ur.current?ci(ur.current.clientHeight):ci(0)},[lr]);const Yr=Ie.createElement("div",{className:`${fr}-control-input`},Ie.createElement("div",{className:`${fr}-control-input-content`},jr)),yi=Ie.useMemo(()=>({prefixCls:fn,status:Wt}),[fn,Wt]),Pi=Ti!==null||$r.length||Xr.length?Ie.createElement(x.Rk.Provider,{value:yi},Ie.createElement(it,{fieldId:ei,errors:$r,warnings:Xr,help:$n,helpStatus:Wt,className:`${fr}-explain-connected`,onVisibleChanged:xi})):null,wi={};ei&&(wi.id=`${ei}_extra`);const Gr=lr?Ie.createElement("div",Object.assign({},wi,{className:`${fr}-extra`,ref:ur}),lr):null,Ji=Pi||Gr?Ie.createElement("div",{className:`${fr}-additional`,style:Ti?{minHeight:Ti+br}:{}},Pi,Gr):null,Qi=dr&&dr.mark==="pro_table_render"&&dr.render?dr.render(Rt,{input:Yr,errorList:Pi,extra:Gr}):Ie.createElement(Ie.Fragment,null,Yr,Ji);return Ie.createElement(x.q3.Provider,{value:hr},Ie.createElement(zn.Z,Object.assign({},cn,{className:qn}),Qi),Ie.createElement(Qt,{prefixCls:fn}))},Gt=ae(61485),nn=ae(9017),Cn=ae(85981),Gn=ae(25399),Sr=function(Rt,fn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&fn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{let{prefixCls:fn,label:Wt,htmlFor:yn,labelCol:On,labelAlign:jr,colon:$r,required:Xr,requiredMark:dr,tooltip:lr,vertical:$n}=Rt;var ei;const[Ti]=(0,nn.Z)("Form"),{labelAlign:xi,labelCol:nr,labelWrap:fr,colon:gn}=Ie.useContext(x.q3);if(!Wt)return null;const cn=On||nr||{},qn=jr||xi,hr=`${fn}-item-label`,ur=ze()(hr,qn==="left"&&`${hr}-left`,cn.className,{[`${hr}-wrap`]:!!fr});let br=Wt;const ci=$r===!0||gn!==!1&&$r!==!1;ci&&!$n&&typeof Wt=="string"&&Wt.trim()&&(br=Wt.replace(/[:|:]\s*$/,""));const yi=ii(lr);if(yi){const{icon:Zi=Ie.createElement(Gt.Z,null)}=yi,ki=Sr(yi,["icon"]),Mi=Ie.createElement(Gn.Z,Object.assign({},ki),Ie.cloneElement(Zi,{className:`${fn}-item-tooltip`,title:"",onClick:Fi=>{Fi.preventDefault()},tabIndex:null}));br=Ie.createElement(Ie.Fragment,null,br,Mi)}const Pi=dr==="optional",wi=typeof dr=="function",Gr=dr===!1;wi?br=dr(br,{required:!!Xr}):Pi&&!Xr&&(br=Ie.createElement(Ie.Fragment,null,br,Ie.createElement("span",{className:`${fn}-item-optional`,title:""},(Ti==null?void 0:Ti.optional)||((ei=Cn.Z.Form)===null||ei===void 0?void 0:ei.optional))));let Ji;Gr?Ji="hidden":(Pi||wi)&&(Ji="optional");const Qi=ze()({[`${fn}-item-required`]:Xr,[`${fn}-item-required-mark-${Ji}`]:Ji,[`${fn}-item-no-colon`]:!ci});return Ie.createElement(zn.Z,Object.assign({},cn,{className:ur}),Ie.createElement("label",{htmlFor:yn,className:Qi,title:typeof Wt=="string"?Wt:""},br))},Lr=ae(29679),_n=ae(19248),Hn=ae(96512),Jn=ae(58617);const ir={success:Lr.Z,warning:Hn.Z,error:_n.Z,validating:Jn.Z};function Zn(Rt){let{children:fn,errors:Wt,warnings:yn,hasFeedback:On,validateStatus:jr,prefixCls:$r,meta:Xr,noStyle:dr}=Rt;const lr=`${$r}-item`,{feedbackIcons:$n}=Ie.useContext(x.q3),ei=Pt(Wt,yn,Xr,null,!!On,jr),{isFormItemInput:Ti,status:xi,hasFeedback:nr,feedbackIcon:fr}=Ie.useContext(x.aM),gn=Ie.useMemo(()=>{var cn;let qn;if(On){const ur=On!==!0&&On.icons||$n,br=ei&&((cn=ur==null?void 0:ur({status:ei,errors:Wt,warnings:yn}))===null||cn===void 0?void 0:cn[ei]),ci=ei&&ir[ei];qn=br!==!1&&ci?Ie.createElement("span",{className:ze()(`${lr}-feedback-icon`,`${lr}-feedback-icon-${ei}`)},br||Ie.createElement(ci,null)):null}const hr={status:ei||"",errors:Wt,warnings:yn,hasFeedback:!!On,feedbackIcon:qn,isFormItemInput:!0};return dr&&(hr.status=(ei!=null?ei:xi)||"",hr.isFormItemInput=Ti,hr.hasFeedback=!!(On!=null?On:nr),hr.feedbackIcon=On!==void 0?hr.feedbackIcon:fr),hr},[ei,On,dr,Ti,xi]);return Ie.createElement(x.aM.Provider,{value:gn},fn)}var Cr=function(Rt,fn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&fn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{if(Gr&&Yr.current){const Ki=getComputedStyle(Yr.current);Zi(parseInt(Ki.marginBottom,10))}},[Gr,Ji]);const ki=Ki=>{Ki||Zi(null)},Fi=function(){let Ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Do=Ki?yi:lr.errors,eo=Ki?Pi:lr.warnings;return Pt(Do,eo,lr,"",!!$n,dr)}(),lo=ze()(hr,Wt,yn,{[`${hr}-with-help`]:wi||yi.length||Pi.length,[`${hr}-has-feedback`]:Fi&&$n,[`${hr}-has-success`]:Fi==="success",[`${hr}-has-warning`]:Fi==="warning",[`${hr}-has-error`]:Fi==="error",[`${hr}-is-validating`]:Fi==="validating",[`${hr}-hidden`]:ei,[`${hr}-${cn}`]:cn});return Ie.createElement("div",{className:lo,style:On,ref:Yr},Ie.createElement(an.Z,Object.assign({className:`${hr}-row`},(0,wn.Z)(qn,["_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"])),Ie.createElement(sr,Object.assign({htmlFor:xi},Rt,{requiredMark:ur,required:nr!=null?nr:fr,prefixCls:fn,vertical:ci})),Ie.createElement(Lt,Object.assign({},Rt,lr,{errors:yi,warnings:Pi,prefixCls:fn,status:Fi,help:jr,marginBottom:Qi,onErrorVisibleChanged:ki}),Ie.createElement(x.qI.Provider,{value:gn},Ie.createElement(Zn,{prefixCls:fn,meta:lr,errors:lr.errors,warnings:lr.warnings,hasFeedback:$n,validateStatus:Fi},Ti)))),!!Qi&&Ie.createElement("div",{className:`${hr}-margin-offset`,style:{marginBottom:-Qi}}))}const Nr="__SPLIT__",pi=null;function di(Rt,fn){const Wt=Object.keys(Rt),yn=Object.keys(fn);return Wt.length===yn.length&&Wt.every(On=>{const jr=Rt[On],$r=fn[On];return jr===$r||typeof jr=="function"||typeof $r=="function"})}const fi=Ie.memo(Rt=>{let{children:fn}=Rt;return fn},(Rt,fn)=>di(Rt.control,fn.control)&&Rt.update===fn.update&&Rt.childProps.length===fn.childProps.length&&Rt.childProps.every((Wt,yn)=>Wt===fn.childProps[yn]));function Oi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Ci(Rt){const{name:fn,noStyle:Wt,className:yn,dependencies:On,prefixCls:jr,shouldUpdate:$r,rules:Xr,children:dr,required:lr,label:$n,messageVariables:ei,trigger:Ti="onChange",validateTrigger:xi,hidden:nr,help:fr,layout:gn}=Rt,{getPrefixCls:cn}=Ie.useContext(Bt.E_),{name:qn}=Ie.useContext(x.q3),hr=mt(dr),ur=typeof hr=="function",br=Ie.useContext(x.qI),{validateTrigger:ci}=Ie.useContext(at.FieldContext),Yr=xi!==void 0?xi:ci,yi=fn!=null,Pi=cn("form",jr),wi=(0,he.Z)(Pi),[Gr,Ji,Qi]=ft(Pi,wi),Zi=(0,st.ln)("Form.Item"),ki=Ie.useContext(at.ListContext),Mi=Ie.useRef(null),[Fi,lo]=xt({}),[Ki,Do]=(0,le.Z)(()=>Oi()),eo=Fo=>{const pn=ki==null?void 0:ki.getKey(Fo.name);if(Do(Fo.destroy?Oi():Fo,!0),Wt&&fr!==!1&&br){let Rr=Fo.name;if(Fo.destroy)Rr=Mi.current||Rr;else if(pn!==void 0){const[Jr,Ai]=pn;Rr=[Jr].concat((0,dt.Z)(Ai)),Mi.current=Rr}br(Fo,Rr)}},qo=(Fo,pn)=>{lo(Rr=>{const Jr=Object.assign({},Rr),Kr=[].concat((0,dt.Z)(Fo.name.slice(0,-1)),(0,dt.Z)(pn)).join(Nr);return Fo.destroy?delete Jr[Kr]:Jr[Kr]=Fo,Jr})},[wo,no]=Ie.useMemo(()=>{const Fo=(0,dt.Z)(Ki.errors),pn=(0,dt.Z)(Ki.warnings);return Object.values(Fi).forEach(Rr=>{Fo.push.apply(Fo,(0,dt.Z)(Rr.errors||[])),pn.push.apply(pn,(0,dt.Z)(Rr.warnings||[]))}),[Fo,pn]},[Fi,Ki.errors,Ki.warnings]),No=lt();function Yo(Fo,pn,Rr){return Wt&&!nr?Ie.createElement(Zn,{prefixCls:Pi,hasFeedback:Rt.hasFeedback,validateStatus:Rt.validateStatus,meta:Ki,errors:wo,warnings:no,noStyle:!0},Fo):Ie.createElement(Er,Object.assign({key:"row"},Rt,{className:ze()(yn,Qi,wi,Ji),prefixCls:Pi,fieldId:pn,isRequired:Rr,errors:wo,warnings:no,meta:Ki,onSubItemMetaChange:qo,layout:gn}),Fo)}if(!yi&&!ur&&!On)return Gr(Yo(hr));let Qo={};return typeof $n=="string"?Qo.label=$n:fn&&(Qo.label=String(fn)),ei&&(Qo=Object.assign(Object.assign({},Qo),ei)),Gr(Ie.createElement(at.Field,Object.assign({},Rt,{messageVariables:Qo,trigger:Ti,validateTrigger:Yr,onMetaChange:eo}),(Fo,pn,Rr)=>{const Jr=_t(fn).length&&pn?pn.name:[],Ai=hn(Jr,qn),Kr=lr!==void 0?lr:!!(Xr!=null&&Xr.some(Ur=>{if(Ur&&typeof Ur=="object"&&Ur.required&&!Ur.warningOnly)return!0;if(typeof Ur=="function"){const ti=Ur(Rr);return(ti==null?void 0:ti.required)&&!(ti!=null&&ti.warningOnly)}return!1})),_i=Object.assign({},Fo);let oo=null;if(Array.isArray(hr)&&yi)oo=hr;else if(!(ur&&(!($r||On)||yi))){if(!(On&&!ur&&!yi))if(Ie.isValidElement(hr)){const Ur=Object.assign(Object.assign({},hr.props),_i);if(Ur.id||(Ur.id=Ai),fr||wo.length>0||no.length>0||Rt.extra){const Ui=[];(fr||wo.length>0)&&Ui.push(`${Ai}_help`),Rt.extra&&Ui.push(`${Ai}_extra`),Ur["aria-describedby"]=Ui.join(" ")}wo.length>0&&(Ur["aria-invalid"]="true"),Kr&&(Ur["aria-required"]="true"),(0,Be.Yr)(hr)&&(Ur.ref=No(Jr,hr)),new Set([].concat((0,dt.Z)(_t(Ti)),(0,dt.Z)(_t(Yr)))).forEach(Ui=>{Ur[Ui]=function(){for(var Uo,xa,Wr,fo,Oo,ta=arguments.length,_o=new Array(ta),Jo=0;Jo{var{prefixCls:fn,children:Wt}=Rt,yn=or(Rt,["prefixCls","children"]);const{getPrefixCls:On}=Ie.useContext(Bt.E_),jr=On("form",fn),$r=Ie.useMemo(()=>({prefixCls:jr,status:"error"}),[jr]);return Ie.createElement(at.List,Object.assign({},yn),(Xr,dr,lr)=>Ie.createElement(x.Rk.Provider,{value:$r},Wt(Xr.map($n=>Object.assign(Object.assign({},$n),{fieldKey:$n.key})),dr,{errors:lr.errors,warnings:lr.warnings})))};function oi(){const{form:Rt}=Ie.useContext(x.q3);return Rt}const un=se;un.Item=Yi,un.List=gi,un.ErrorList=it,un.useForm=on,un.useFormInstance=oi,un.useWatch=at.useWatch,un.Provider=x.RV,un.create=()=>{};var bt=un},75786:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return fr}});var x=ae(59301),dt=ae(15277),Ie=ae(92310),qe=ae.n(Ie),ze=ae(60499),Fe=ae(85899),Ue=ae(18642),he=ae(72190),xe=ae(43749),oe=ae(42244),Ne=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Re={cssFloat:1,styleFloat:1,float:1};function Se(gn){return gn.nodeType===1?gn.ownerDocument.defaultView.getComputedStyle(gn,null):{}}function Pe(gn,cn,qn){if(cn=cn.toLowerCase(),qn==="auto"){if(cn==="height")return gn.offsetHeight;if(cn==="width")return gn.offsetWidth}return cn in ve||(ve[cn]=Ne.test(cn)),ve[cn]?parseFloat(qn)||0:qn}function ye(gn,cn){var qn=arguments.length,hr=Se(gn);return cn=Re[cn]?"cssFloat"in gn.style?"cssFloat":"styleFloat":cn,qn===1?hr:Pe(gn,cn,hr[cn]||gn.style[cn])}function Ce(gn,cn,qn){var hr=arguments.length;if(cn=Re[cn]?"cssFloat"in gn.style?"cssFloat":"styleFloat":cn,hr===3)return typeof qn=="number"&&Ne.test(cn)&&(qn="".concat(qn,"px")),gn.style[cn]=qn,qn;for(var ur in cn)cn.hasOwnProperty(ur)&&Ce(gn,ur,cn[ur]);return Se(gn)}function Ee(gn){return gn===document.body?document.documentElement.clientWidth:gn.offsetWidth}function Me(gn){return gn===document.body?window.innerHeight||document.documentElement.clientHeight:gn.offsetHeight}function Ke(){var gn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),cn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:gn,height:cn}}function je(){var gn=document.documentElement.clientWidth,cn=window.innerHeight||document.documentElement.clientHeight;return{width:gn,height:cn}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Je(gn){var cn=gn.getBoundingClientRect(),qn=document.documentElement;return{left:cn.left+(window.pageXOffset||qn.scrollLeft)-(qn.clientLeft||document.body.clientLeft||0),top:cn.top+(window.pageYOffset||qn.scrollTop)-(qn.clientTop||document.body.clientTop||0)}}var Xe=ae(18929),ut=ae(55311),ot=ae(8224),ht=ae(10228),Ct=ae(43403),He=ae(77900),ft=x.createContext(null),De=function(cn){var qn=cn.visible,hr=cn.maskTransitionName,ur=cn.getContainer,br=cn.prefixCls,ci=cn.rootClassName,Yr=cn.icons,yi=cn.countRender,Pi=cn.showSwitch,wi=cn.showProgress,Gr=cn.current,Ji=cn.transform,Qi=cn.count,Zi=cn.scale,ki=cn.minScale,Mi=cn.maxScale,Fi=cn.closeIcon,lo=cn.onActive,Ki=cn.onClose,Do=cn.onZoomIn,eo=cn.onZoomOut,qo=cn.onRotateRight,wo=cn.onRotateLeft,no=cn.onFlipX,No=cn.onFlipY,Yo=cn.onReset,Qo=cn.toolbarRender,Fo=cn.zIndex,pn=cn.image,Rr=(0,x.useContext)(ft),Jr=Yr.rotateLeft,Ai=Yr.rotateRight,Kr=Yr.zoomIn,_i=Yr.zoomOut,oo=Yr.close,Ur=Yr.left,ti=Yr.right,Di=Yr.flipX,Ui=Yr.flipY,Uo="".concat(br,"-operations-operation");x.useEffect(function(){var ba=function(Bo){Bo.keyCode===ht.Z.ESC&&Ki()};return qn&&window.addEventListener("keydown",ba),function(){window.removeEventListener("keydown",ba)}},[qn]);var xa=function(Ua,Bo){Ua.preventDefault(),Ua.stopPropagation(),lo(Bo)},Wr=x.useCallback(function(ba){var Ua=ba.type,Bo=ba.disabled,bo=ba.onClick,Ra=ba.icon;return x.createElement("div",{key:Ua,className:qe()(Uo,"".concat(br,"-operations-operation-").concat(Ua),(0,Ue.Z)({},"".concat(br,"-operations-operation-disabled"),!!Bo)),onClick:bo},Ra)},[Uo,br]),fo=Pi?Wr({icon:Ur,onClick:function(Ua){return xa(Ua,-1)},type:"prev",disabled:Gr===0}):void 0,Oo=Pi?Wr({icon:ti,onClick:function(Ua){return xa(Ua,1)},type:"next",disabled:Gr===Qi-1}):void 0,ta=Wr({icon:Ui,onClick:No,type:"flipY"}),_o=Wr({icon:Di,onClick:no,type:"flipX"}),Jo=Wr({icon:Jr,onClick:wo,type:"rotateLeft"}),$o=Wr({icon:Ai,onClick:qo,type:"rotateRight"}),Sa=Wr({icon:_i,onClick:eo,type:"zoomOut",disabled:Zi<=ki}),Ja=Wr({icon:Kr,onClick:Do,type:"zoomIn",disabled:Zi===Mi}),hs=x.createElement("div",{className:"".concat(br,"-operations")},ta,_o,Jo,$o,Sa,Ja);return x.createElement(He.default,{visible:qn,motionName:hr},function(ba){var Ua=ba.className,Bo=ba.style;return x.createElement(Ct.Z,{open:!0,getContainer:ur!=null?ur:document.body},x.createElement("div",{className:qe()("".concat(br,"-operations-wrapper"),Ua,ci),style:(0,Fe.Z)((0,Fe.Z)({},Bo),{},{zIndex:Fo})},Fi===null?null:x.createElement("button",{className:"".concat(br,"-close"),onClick:Ki},Fi||oo),Pi&&x.createElement(x.Fragment,null,x.createElement("div",{className:qe()("".concat(br,"-switch-left"),(0,Ue.Z)({},"".concat(br,"-switch-left-disabled"),Gr===0)),onClick:function(Ra){return xa(Ra,-1)}},Ur),x.createElement("div",{className:qe()("".concat(br,"-switch-right"),(0,Ue.Z)({},"".concat(br,"-switch-right-disabled"),Gr===Qi-1)),onClick:function(Ra){return xa(Ra,1)}},ti)),x.createElement("div",{className:"".concat(br,"-footer")},wi&&x.createElement("div",{className:"".concat(br,"-progress")},yi?yi(Gr+1,Qi):"".concat(Gr+1," / ").concat(Qi)),Qo?Qo(hs,(0,Fe.Z)((0,Fe.Z)({icons:{prevIcon:fo,nextIcon:Oo,flipYIcon:ta,flipXIcon:_o,rotateLeftIcon:Jo,rotateRightIcon:$o,zoomOutIcon:Sa,zoomInIcon:Ja},actions:{onActive:lo,onFlipY:No,onFlipX:no,onRotateLeft:wo,onRotateRight:qo,onZoomOut:eo,onZoomIn:Do,onReset:Yo,onClose:Ki},transform:Ji},Rr?{current:Gr,total:Qi}:{}),{},{image:pn})):hs)))})},Qe=De,Ot=ae(13697),it=ae(16089),at={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Bt(gn,cn,qn,hr){var ur=(0,x.useRef)(null),br=(0,x.useRef)([]),ci=(0,x.useState)(at),Yr=(0,he.Z)(ci,2),yi=Yr[0],Pi=Yr[1],wi=function(Zi){Pi(at),(0,Ot.Z)(at,yi)||hr==null||hr({transform:at,action:Zi})},Gr=function(Zi,ki){ur.current===null&&(br.current=[],ur.current=(0,it.Z)(function(){Pi(function(Mi){var Fi=Mi;return br.current.forEach(function(lo){Fi=(0,Fe.Z)((0,Fe.Z)({},Fi),lo)}),ur.current=null,hr==null||hr({transform:Fi,action:ki}),Fi})})),br.current.push((0,Fe.Z)((0,Fe.Z)({},yi),Zi))},Ji=function(Zi,ki,Mi,Fi,lo){var Ki=gn.current,Do=Ki.width,eo=Ki.height,qo=Ki.offsetWidth,wo=Ki.offsetHeight,no=Ki.offsetLeft,No=Ki.offsetTop,Yo=Zi,Qo=yi.scale*Zi;Qo>qn?(Qo=qn,Yo=qn/yi.scale):Qohr){if(cn>0)return(0,Ue.Z)({},gn,br);if(cn<0&&urhr)return(0,Ue.Z)({},gn,cn<0?br:-br);return{}}function ct(gn,cn,qn,hr){var ur=je(),br=ur.width,ci=ur.height,Yr=null;return gn<=br&&cn<=ci?Yr={x:0,y:0}:(gn>br||cn>ci)&&(Yr=(0,Fe.Z)((0,Fe.Z)({},Te("x",qn,gn,br)),Te("y",hr,cn,ci))),Yr}var Zt=1,jt=1;function tt(gn,cn,qn,hr,ur,br,ci){var Yr=ur.rotate,yi=ur.scale,Pi=ur.x,wi=ur.y,Gr=(0,x.useState)(!1),Ji=(0,he.Z)(Gr,2),Qi=Ji[0],Zi=Ji[1],ki=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Mi=function(eo){!cn||eo.button!==0||(eo.preventDefault(),eo.stopPropagation(),ki.current={diffX:eo.pageX-Pi,diffY:eo.pageY-wi,transformX:Pi,transformY:wi},Zi(!0))},Fi=function(eo){qn&&Qi&&br({x:eo.pageX-ki.current.diffX,y:eo.pageY-ki.current.diffY},"move")},lo=function(){if(qn&&Qi){Zi(!1);var eo=ki.current,qo=eo.transformX,wo=eo.transformY,no=Pi!==qo&&wi!==wo;if(!no)return;var No=gn.current.offsetWidth*yi,Yo=gn.current.offsetHeight*yi,Qo=gn.current.getBoundingClientRect(),Fo=Qo.left,pn=Qo.top,Rr=Yr%180!==0,Jr=ct(Rr?Yo:No,Rr?No:Yo,Fo,pn);Jr&&br((0,Fe.Z)({},Jr),"dragRebound")}},Ki=function(eo){if(!(!qn||eo.deltaY==0)){var qo=Math.abs(eo.deltaY/100),wo=Math.min(qo,jt),no=Zt+wo*hr;eo.deltaY>0&&(no=Zt/no),ci(no,"wheel",eo.clientX,eo.clientY)}};return(0,x.useEffect)(function(){var Do,eo,qo,wo;if(cn){qo=(0,ot.Z)(window,"mouseup",lo,!1),wo=(0,ot.Z)(window,"mousemove",Fi,!1);try{window.top!==window.self&&(Do=(0,ot.Z)(window.top,"mouseup",lo,!1),eo=(0,ot.Z)(window.top,"mousemove",Fi,!1))}catch(no){(0,We.Kp)(!1,"[rc-image] ".concat(no))}}return function(){var no,No,Yo,Qo;(no=qo)===null||no===void 0||no.remove(),(No=wo)===null||No===void 0||No.remove(),(Yo=Do)===null||Yo===void 0||Yo.remove(),(Qo=eo)===null||Qo===void 0||Qo.remove()}},[qn,Qi,Pi,wi,Yr,cn]),{isMoving:Qi,onMouseDown:Mi,onMouseMove:Fi,onMouseUp:lo,onWheel:Ki}}function Tt(gn){return new Promise(function(cn){if(!gn){cn(!1);return}var qn=document.createElement("img");qn.onerror=function(){return cn(!1)},qn.onload=function(){return cn(!0)},qn.src=gn})}function _t(gn){var cn=gn.src,qn=gn.isCustomPlaceholder,hr=gn.fallback,ur=(0,x.useState)(qn?"loading":"normal"),br=(0,he.Z)(ur,2),ci=br[0],Yr=br[1],yi=(0,x.useRef)(!1),Pi=ci==="error";(0,x.useEffect)(function(){var Qi=!0;return Tt(cn).then(function(Zi){!Zi&&Qi&&Yr("error")}),function(){Qi=!1}},[cn]),(0,x.useEffect)(function(){qn&&!yi.current?Yr("loading"):Pi&&Yr("normal")},[cn]);var wi=function(){Yr("normal")},Gr=function(Zi){yi.current=!1,ci==="loading"&&Zi!==null&&Zi!==void 0&&Zi.complete&&(Zi.naturalWidth||Zi.naturalHeight)&&(yi.current=!0,wi())},Ji=Pi&&hr?{src:hr}:{onLoad:wi,src:cn};return[Gr,Ji,ci]}function hn(gn,cn){var qn=gn.x-cn.x,hr=gn.y-cn.y;return Math.hypot(qn,hr)}function Pt(gn,cn,qn,hr){var ur=hn(gn,qn),br=hn(cn,hr);if(ur===0&&br===0)return[gn.x,gn.y];var ci=ur/(ur+br),Yr=gn.x+ci*(cn.x-gn.x),yi=gn.y+ci*(cn.y-gn.y);return[Yr,yi]}function vn(gn,cn,qn,hr,ur,br,ci){var Yr=ur.rotate,yi=ur.scale,Pi=ur.x,wi=ur.y,Gr=(0,x.useState)(!1),Ji=(0,he.Z)(Gr,2),Qi=Ji[0],Zi=Ji[1],ki=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Mi=function(eo){ki.current=(0,Fe.Z)((0,Fe.Z)({},ki.current),eo)},Fi=function(eo){if(cn){eo.stopPropagation(),Zi(!0);var qo=eo.touches,wo=qo===void 0?[]:qo;wo.length>1?Mi({point1:{x:wo[0].clientX,y:wo[0].clientY},point2:{x:wo[1].clientX,y:wo[1].clientY},eventType:"touchZoom"}):Mi({point1:{x:wo[0].clientX-Pi,y:wo[0].clientY-wi},eventType:"move"})}},lo=function(eo){var qo=eo.touches,wo=qo===void 0?[]:qo,no=ki.current,No=no.point1,Yo=no.point2,Qo=no.eventType;if(wo.length>1&&Qo==="touchZoom"){var Fo={x:wo[0].clientX,y:wo[0].clientY},pn={x:wo[1].clientX,y:wo[1].clientY},Rr=Pt(No,Yo,Fo,pn),Jr=(0,he.Z)(Rr,2),Ai=Jr[0],Kr=Jr[1],_i=hn(Fo,pn)/hn(No,Yo);ci(_i,"touchZoom",Ai,Kr,!0),Mi({point1:Fo,point2:pn,eventType:"touchZoom"})}else Qo==="move"&&(br({x:wo[0].clientX-No.x,y:wo[0].clientY-No.y},"move"),Mi({eventType:"move"}))},Ki=function(){if(qn){if(Qi&&Zi(!1),Mi({eventType:"none"}),hr>yi)return br({x:0,y:0,scale:hr},"touchZoom");var eo=gn.current.offsetWidth*yi,qo=gn.current.offsetHeight*yi,wo=gn.current.getBoundingClientRect(),no=wo.left,No=wo.top,Yo=Yr%180!==0,Qo=ct(Yo?qo:eo,Yo?eo:qo,no,No);Qo&&br((0,Fe.Z)({},Qo),"dragRebound")}};return(0,x.useEffect)(function(){var Do;return qn&&cn&&(Do=(0,ot.Z)(window,"touchmove",function(eo){return eo.preventDefault()},{passive:!1})),function(){var eo;(eo=Do)===null||eo===void 0||eo.remove()}},[qn,cn]),{isTouching:Qi,onTouchStart:Fi,onTouchMove:lo,onTouchEnd:Ki}}var kt=["fallback","src","imgRef"],Sn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],on=function(cn){var qn=cn.fallback,hr=cn.src,ur=cn.imgRef,br=(0,oe.Z)(cn,kt),ci=_t({src:hr,fallback:qn}),Yr=(0,he.Z)(ci,2),yi=Yr[0],Pi=Yr[1];return x.createElement("img",(0,ze.Z)({ref:function(Gr){ur.current=Gr,yi(Gr)}},br,Pi))},de=function(cn){var qn=cn.prefixCls,hr=cn.src,ur=cn.alt,br=cn.imageInfo,ci=cn.fallback,Yr=cn.movable,yi=Yr===void 0?!0:Yr,Pi=cn.onClose,wi=cn.visible,Gr=cn.icons,Ji=Gr===void 0?{}:Gr,Qi=cn.rootClassName,Zi=cn.closeIcon,ki=cn.getContainer,Mi=cn.current,Fi=Mi===void 0?0:Mi,lo=cn.count,Ki=lo===void 0?1:lo,Do=cn.countRender,eo=cn.scaleStep,qo=eo===void 0?.5:eo,wo=cn.minScale,no=wo===void 0?1:wo,No=cn.maxScale,Yo=No===void 0?50:No,Qo=cn.transitionName,Fo=Qo===void 0?"zoom":Qo,pn=cn.maskTransitionName,Rr=pn===void 0?"fade":pn,Jr=cn.imageRender,Ai=cn.imgCommonProps,Kr=cn.toolbarRender,_i=cn.onTransform,oo=cn.onChange,Ur=(0,oe.Z)(cn,Sn),ti=(0,x.useRef)(),Di=(0,x.useContext)(ft),Ui=Di&&Ki>1,Uo=Di&&Ki>=1,xa=(0,x.useState)(!0),Wr=(0,he.Z)(xa,2),fo=Wr[0],Oo=Wr[1],ta=Bt(ti,no,Yo,_i),_o=ta.transform,Jo=ta.resetTransform,$o=ta.updateTransform,Sa=ta.dispatchZoomChange,Ja=tt(ti,yi,wi,qo,_o,$o,Sa),hs=Ja.isMoving,ba=Ja.onMouseDown,Ua=Ja.onWheel,Bo=vn(ti,yi,wi,no,_o,$o,Sa),bo=Bo.isTouching,Ra=Bo.onTouchStart,ns=Bo.onTouchMove,js=Bo.onTouchEnd,tl=_o.rotate,nl=_o.scale,au=qe()((0,Ue.Z)({},"".concat(qn,"-moving"),hs));(0,x.useEffect)(function(){fo||Oo(!0)},[fo]);var su=function(){Jo("close")},Fs=function(){Sa(Zt+qo,"zoomIn")},Rl=function(){Sa(Zt/(Zt+qo),"zoomOut")},Nu=function(){$o({rotate:tl+90},"rotateRight")},xu=function(){$o({rotate:tl-90},"rotateLeft")},pl=function(){$o({flipX:!_o.flipX},"flipX")},Bu=function(){$o({flipY:!_o.flipY},"flipY")},Dc=function(){Jo("reset")},pa=function(Va){var Zl=Fi+Va;!Number.isInteger(Zl)||Zl<0||Zl>Ki-1||(Oo(!1),Jo(Va<0?"prev":"next"),oo==null||oo(Zl,Fi))},ka=function(Va){!wi||!Ui||(Va.keyCode===ht.Z.LEFT?pa(-1):Va.keyCode===ht.Z.RIGHT&&pa(1))},ha=function(Va){wi&&(nl!==1?$o({x:0,y:0,scale:1},"doubleClick"):Sa(Zt+qo,"doubleClick",Va.clientX,Va.clientY))};(0,x.useEffect)(function(){var Ya=(0,ot.Z)(window,"keydown",ka,!1);return function(){Ya.remove()}},[wi,Ui,Fi]);var ma=x.createElement(on,(0,ze.Z)({},Ai,{width:cn.width,height:cn.height,imgRef:ti,className:"".concat(qn,"-img"),alt:ur,style:{transform:"translate3d(".concat(_o.x,"px, ").concat(_o.y,"px, 0) scale3d(").concat(_o.flipX?"-":"").concat(nl,", ").concat(_o.flipY?"-":"").concat(nl,", 1) rotate(").concat(tl,"deg)"),transitionDuration:(!fo||bo)&&"0s"},fallback:ci,src:hr,onWheel:Ua,onMouseDown:ba,onDoubleClick:ha,onTouchStart:Ra,onTouchMove:ns,onTouchEnd:js,onTouchCancel:js})),qa=(0,Fe.Z)({url:hr,alt:ur},br);return x.createElement(x.Fragment,null,x.createElement(ut.Z,(0,ze.Z)({transitionName:Fo,maskTransitionName:Rr,closable:!1,keyboard:!0,prefixCls:qn,onClose:Pi,visible:wi,classNames:{wrapper:au},rootClassName:Qi,getContainer:ki},Ur,{afterClose:su}),x.createElement("div",{className:"".concat(qn,"-img-wrapper")},Jr?Jr(ma,(0,Fe.Z)({transform:_o,image:qa},Di?{current:Fi}:{})):ma)),x.createElement(Qe,{visible:wi,transform:_o,maskTransitionName:Rr,closeIcon:Zi,getContainer:ki,prefixCls:qn,rootClassName:Qi,icons:Ji,countRender:Do,showSwitch:Ui,showProgress:Uo,current:Fi,count:Ki,scale:nl,minScale:no,maxScale:Yo,toolbarRender:Kr,onActive:pa,onZoomIn:Fs,onZoomOut:Rl,onRotateRight:Nu,onRotateLeft:xu,onFlipX:pl,onFlipY:Bu,onClose:Pi,onReset:Dc,zIndex:Ur.zIndex!==void 0?Ur.zIndex+1:void 0,image:qa}))},ge=de,ie=ae(77654),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function se(gn){var cn=x.useState({}),qn=(0,he.Z)(cn,2),hr=qn[0],ur=qn[1],br=x.useCallback(function(Yr,yi){return ur(function(Pi){return(0,Fe.Z)((0,Fe.Z)({},Pi),{},(0,Ue.Z)({},Yr,yi))}),function(){ur(function(Pi){var wi=(0,Fe.Z)({},Pi);return delete wi[Yr],wi})}},[]),ci=x.useMemo(function(){return gn?gn.map(function(Yr){if(typeof Yr=="string")return{data:{src:Yr}};var yi={};return Object.keys(Yr).forEach(function(Pi){["src"].concat((0,ie.Z)(ee)).includes(Pi)&&(yi[Pi]=Yr[Pi])}),{data:yi}}):Object.keys(hr).reduce(function(Yr,yi){var Pi=hr[yi],wi=Pi.canPreview,Gr=Pi.data;return wi&&Yr.push({data:Gr,id:yi}),Yr},[])},[gn,hr]);return[ci,br,!!gn]}var le=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],Ve=function(cn){var qn,hr=cn.previewPrefixCls,ur=hr===void 0?"rc-image-preview":hr,br=cn.children,ci=cn.icons,Yr=ci===void 0?{}:ci,yi=cn.items,Pi=cn.preview,wi=cn.fallback,Gr=(0,xe.Z)(Pi)==="object"?Pi:{},Ji=Gr.visible,Qi=Gr.onVisibleChange,Zi=Gr.getContainer,ki=Gr.current,Mi=Gr.movable,Fi=Gr.minScale,lo=Gr.maxScale,Ki=Gr.countRender,Do=Gr.closeIcon,eo=Gr.onChange,qo=Gr.onTransform,wo=Gr.toolbarRender,no=Gr.imageRender,No=(0,oe.Z)(Gr,le),Yo=se(yi),Qo=(0,he.Z)(Yo,3),Fo=Qo[0],pn=Qo[1],Rr=Qo[2],Jr=(0,Xe.Z)(0,{value:ki}),Ai=(0,he.Z)(Jr,2),Kr=Ai[0],_i=Ai[1],oo=(0,x.useState)(!1),Ur=(0,he.Z)(oo,2),ti=Ur[0],Di=Ur[1],Ui=((qn=Fo[Kr])===null||qn===void 0?void 0:qn.data)||{},Uo=Ui.src,xa=(0,oe.Z)(Ui,Be),Wr=(0,Xe.Z)(!!Ji,{value:Ji,onChange:function(bo,Ra){Qi==null||Qi(bo,Ra,Kr)}}),fo=(0,he.Z)(Wr,2),Oo=fo[0],ta=fo[1],_o=(0,x.useState)(null),Jo=(0,he.Z)(_o,2),$o=Jo[0],Sa=Jo[1],Ja=x.useCallback(function(Bo,bo,Ra,ns){var js=Rr?Fo.findIndex(function(tl){return tl.data.src===bo}):Fo.findIndex(function(tl){return tl.id===Bo});_i(js<0?0:js),ta(!0),Sa({x:Ra,y:ns}),Di(!0)},[Fo,Rr]);x.useEffect(function(){Oo?ti||_i(0):Di(!1)},[Oo]);var hs=function(bo,Ra){_i(bo),eo==null||eo(bo,Ra)},ba=function(){ta(!1),Sa(null)},Ua=x.useMemo(function(){return{register:pn,onPreview:Ja}},[pn,Ja]);return x.createElement(ft.Provider,{value:Ua},br,x.createElement(ge,(0,ze.Z)({"aria-hidden":!Oo,movable:Mi,visible:Oo,prefixCls:ur,closeIcon:Do,onClose:ba,mousePosition:$o,imgCommonProps:xa,src:Uo,fallback:wi,icons:Yr,minScale:Fi,maxScale:lo,getContainer:Zi,current:Kr,count:Fo.length,countRender:Ki,onTransform:qo,toolbarRender:wo,imageRender:no,onChange:hs},No)))},st=Ve,gt=0;function mt(gn,cn){var qn=x.useState(function(){return gt+=1,String(gt)}),hr=(0,he.Z)(qn,1),ur=hr[0],br=x.useContext(ft),ci={data:cn,canPreview:gn};return x.useEffect(function(){if(br)return br.register(ur,ci)},[]),x.useEffect(function(){br&&br.register(ur,ci)},[gn,cn]),ur}var St=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Dt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ht=function(cn){var qn=cn.src,hr=cn.alt,ur=cn.onPreviewClose,br=cn.prefixCls,ci=br===void 0?"rc-image":br,Yr=cn.previewPrefixCls,yi=Yr===void 0?"".concat(ci,"-preview"):Yr,Pi=cn.placeholder,wi=cn.fallback,Gr=cn.width,Ji=cn.height,Qi=cn.style,Zi=cn.preview,ki=Zi===void 0?!0:Zi,Mi=cn.className,Fi=cn.onClick,lo=cn.onError,Ki=cn.wrapperClassName,Do=cn.wrapperStyle,eo=cn.rootClassName,qo=(0,oe.Z)(cn,St),wo=Pi&&Pi!==!0,no=(0,xe.Z)(ki)==="object"?ki:{},No=no.src,Yo=no.visible,Qo=Yo===void 0?void 0:Yo,Fo=no.onVisibleChange,pn=Fo===void 0?ur:Fo,Rr=no.getContainer,Jr=Rr===void 0?void 0:Rr,Ai=no.mask,Kr=no.maskClassName,_i=no.movable,oo=no.icons,Ur=no.scaleStep,ti=no.minScale,Di=no.maxScale,Ui=no.imageRender,Uo=no.toolbarRender,xa=(0,oe.Z)(no,Dt),Wr=No!=null?No:qn,fo=(0,Xe.Z)(!!Qo,{value:Qo,onChange:pn}),Oo=(0,he.Z)(fo,2),ta=Oo[0],_o=Oo[1],Jo=_t({src:qn,isCustomPlaceholder:wo,fallback:wi}),$o=(0,he.Z)(Jo,3),Sa=$o[0],Ja=$o[1],hs=$o[2],ba=(0,x.useState)(null),Ua=(0,he.Z)(ba,2),Bo=Ua[0],bo=Ua[1],Ra=(0,x.useContext)(ft),ns=!!ki,js=function(){_o(!1),bo(null)},tl=qe()(ci,Ki,eo,(0,Ue.Z)({},"".concat(ci,"-error"),hs==="error")),nl=(0,x.useMemo)(function(){var Rl={};return ee.forEach(function(Nu){cn[Nu]!==void 0&&(Rl[Nu]=cn[Nu])}),Rl},ee.map(function(Rl){return cn[Rl]})),au=(0,x.useMemo)(function(){return(0,Fe.Z)((0,Fe.Z)({},nl),{},{src:Wr})},[Wr,nl]),su=mt(ns,au),Fs=function(Nu){var xu=Je(Nu.target),pl=xu.left,Bu=xu.top;Ra?Ra.onPreview(su,Wr,pl,Bu):(bo({x:pl,y:Bu}),_o(!0)),Fi==null||Fi(Nu)};return x.createElement(x.Fragment,null,x.createElement("div",(0,ze.Z)({},qo,{className:tl,onClick:ns?Fs:Fi,style:(0,Fe.Z)({width:Gr,height:Ji},Do)}),x.createElement("img",(0,ze.Z)({},nl,{className:qe()("".concat(ci,"-img"),(0,Ue.Z)({},"".concat(ci,"-img-placeholder"),Pi===!0),Mi),style:(0,Fe.Z)({height:Ji},Qi),ref:Sa},Ja,{width:Gr,height:Ji,onError:lo})),hs==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(ci,"-placeholder")},Pi),Ai&&ns&&x.createElement("div",{className:qe()("".concat(ci,"-mask"),Kr),style:{display:(Qi==null?void 0:Qi.display)==="none"?"none":void 0}},Ai)),!Ra&&ns&&x.createElement(ge,(0,ze.Z)({"aria-hidden":!ta,visible:ta,prefixCls:yi,onClose:js,mousePosition:Bo,src:Wr,alt:hr,imageInfo:{width:Gr,height:Ji},fallback:wi,getContainer:Jr,icons:oo,movable:_i,scaleStep:Ur,minScale:ti,maxScale:Di,rootClassName:eo,imageRender:Ui,imgCommonProps:nl,toolbarRender:Uo},xa)))};Ht.PreviewGroup=st;var xt=Ht,lt=xt,Xt=ae(75030),Vt=ae(86641),wn=ae(48755),an=ae(83397),en=ae(9017),zn=ae(99267),In=ae(33853),Qt=ae(38819),sn={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"},Nn=sn,Vn=ae(7657),Lt=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Nn}))},Gt=x.forwardRef(Lt),nn=Gt,Cn={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"},Gn=Cn,Sr=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Gn}))},ii=x.forwardRef(Sr),si=ii,sr={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"},Lr=sr,_n=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Lr}))},Hn=x.forwardRef(_n),Jn=Hn,ir={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"},Zn=ir,Cr=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Zn}))},Er=x.forwardRef(Cr),Nr=Er,pi={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"},di=pi,fi=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:di}))},Oi=x.forwardRef(fi),Ci=Oi,ro=ae(36237),Yi=ae(17835),or=ae(64427),Mr=ae(63356),gi=ae(34925),oi=ae(99495),un=ae(16931),bt=ae(51636);const Rt=gn=>({position:gn||"absolute",inset:0}),fn=gn=>{const{iconCls:cn,motionDurationSlow:qn,paddingXXS:hr,marginXXS:ur,prefixCls:br,colorTextLightSolid:ci}=gn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ci,background:new Yi.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${qn}`,[`.${br}-mask-info`]:Object.assign(Object.assign({},Mr.vS),{padding:`0 ${(0,ro.unit)(hr)}`,[cn]:{marginInlineEnd:ur,svg:{verticalAlign:"baseline"}}})}},Wt=gn=>{const{previewCls:cn,modalMaskBg:qn,paddingSM:hr,marginXL:ur,margin:br,paddingLG:ci,previewOperationColorDisabled:Yr,previewOperationHoverColor:yi,motionDurationSlow:Pi,iconCls:wi,colorTextLightSolid:Gr}=gn,Ji=new Yi.FastColor(qn).setA(.1),Qi=Ji.clone().setA(.2);return{[`${cn}-footer`]:{position:"fixed",bottom:ur,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:gn.previewOperationColor,transform:"translateX(-50%)"},[`${cn}-progress`]:{marginBottom:br},[`${cn}-close`]:{position:"fixed",top:ur,right:{_skip_check_:!0,value:ur},display:"flex",color:Gr,backgroundColor:Ji.toRgbString(),borderRadius:"50%",padding:hr,outline:0,border:0,cursor:"pointer",transition:`all ${Pi}`,"&:hover":{backgroundColor:Qi.toRgbString()},[`& > ${wi}`]:{fontSize:gn.previewOperationSize}},[`${cn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,ro.unit)(ci)}`,backgroundColor:Ji.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:hr,padding:hr,cursor:"pointer",transition:`all ${Pi}`,userSelect:"none",[`&:not(${cn}-operations-operation-disabled):hover > ${wi}`]:{color:yi},"&-disabled":{color:Yr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${wi}`]:{fontSize:gn.previewOperationSize}}}}},yn=gn=>{const{modalMaskBg:cn,iconCls:qn,previewOperationColorDisabled:hr,previewCls:ur,zIndexPopup:br,motionDurationSlow:ci}=gn,Yr=new Yi.FastColor(cn).setA(.1),yi=Yr.clone().setA(.2);return{[`${ur}-switch-left, ${ur}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:gn.calc(br).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:gn.imagePreviewSwitchSize,height:gn.imagePreviewSwitchSize,marginTop:gn.calc(gn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:gn.previewOperationColor,background:Yr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ci}`,userSelect:"none","&:hover":{background:yi.toRgbString()},"&-disabled":{"&, &:hover":{color:hr,background:"transparent",cursor:"not-allowed",[`> ${qn}`]:{cursor:"not-allowed"}}},[`> ${qn}`]:{fontSize:gn.previewOperationSize}},[`${ur}-switch-left`]:{insetInlineStart:gn.marginSM},[`${ur}-switch-right`]:{insetInlineEnd:gn.marginSM}}},On=gn=>{const{motionEaseOut:cn,previewCls:qn,motionDurationSlow:hr,componentCls:ur}=gn;return[{[`${ur}-preview-root`]:{[qn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${qn}-body`]:Object.assign(Object.assign({},Rt()),{overflow:"hidden"}),[`${qn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${hr} ${cn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Rt()),{transition:`transform ${hr} ${cn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${qn}-moving`]:{[`${qn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${ur}-preview-root`]:{[`${qn}-wrap`]:{zIndex:gn.zIndexPopup}}},{[`${ur}-preview-operations-wrapper`]:{position:"fixed",zIndex:gn.calc(gn.zIndexPopup).add(1).equal()},"&":[Wt(gn),yn(gn)]}]},jr=gn=>{const{componentCls:cn}=gn;return{[cn]:{position:"relative",display:"inline-block",[`${cn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${cn}-img-placeholder`]:{backgroundColor:gn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${cn}-mask`]:Object.assign({},fn(gn)),[`${cn}-mask:hover`]:{opacity:1},[`${cn}-placeholder`]:Object.assign({},Rt())}}},$r=gn=>{const{previewCls:cn}=gn;return{[`${cn}-root`]:(0,gi._y)(gn,"zoom"),"&":(0,oi.J$)(gn,!0)}},Xr=gn=>({zIndexPopup:gn.zIndexPopupBase+80,previewOperationColor:new Yi.FastColor(gn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Yi.FastColor(gn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Yi.FastColor(gn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:gn.fontSizeIcon*1.5});var dr=(0,un.I$)("Image",gn=>{const cn=`${gn.componentCls}-preview`,qn=(0,bt.mergeToken)(gn,{previewCls:cn,modalMaskBg:new Yi.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:gn.controlHeightLG});return[jr(qn),On(qn),(0,or.QA)((0,bt.mergeToken)(qn,{componentCls:cn})),$r(qn)]},Xr),lr=function(gn,cn){var qn={};for(var hr in gn)Object.prototype.hasOwnProperty.call(gn,hr)&&cn.indexOf(hr)<0&&(qn[hr]=gn[hr]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ur=0,hr=Object.getOwnPropertySymbols(gn);ur{var{previewPrefixCls:cn,preview:qn}=gn,hr=lr(gn,["previewPrefixCls","preview"]);const{getPrefixCls:ur}=x.useContext(wn.E_),br=ur("image",cn),ci=`${br}-preview`,Yr=ur(),yi=(0,an.Z)(br),[Pi,wi,Gr]=dr(br,yi),[Ji]=(0,Xt.Cn)("ImagePreview",typeof qn=="object"?qn.zIndex:void 0),Qi=x.useMemo(()=>{var Zi;if(qn===!1)return qn;const ki=typeof qn=="object"?qn:{},Mi=qe()(wi,Gr,yi,(Zi=ki.rootClassName)!==null&&Zi!==void 0?Zi:"");return Object.assign(Object.assign({},ki),{transitionName:(0,Vt.m)(Yr,"zoom",ki.transitionName),maskTransitionName:(0,Vt.m)(Yr,"fade",ki.maskTransitionName),rootClassName:Mi,zIndex:Ji})},[qn]);return Pi(x.createElement(lt.PreviewGroup,Object.assign({preview:Qi,previewPrefixCls:ci,icons:$n},hr)))},xi=function(gn,cn){var qn={};for(var hr in gn)Object.prototype.hasOwnProperty.call(gn,hr)&&cn.indexOf(hr)<0&&(qn[hr]=gn[hr]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ur=0,hr=Object.getOwnPropertySymbols(gn);ur{const{prefixCls:cn,preview:qn,className:hr,rootClassName:ur,style:br}=gn,ci=xi(gn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Yr,getPopupContainer:yi,className:Pi,style:wi,preview:Gr}=(0,wn.dj)("image"),[Ji]=(0,en.Z)("Image"),Qi=Yr("image",cn),Zi=Yr(),ki=(0,an.Z)(Qi),[Mi,Fi,lo]=dr(Qi,ki),Ki=qe()(ur,Fi,lo,ki),Do=qe()(hr,Fi,Pi),[eo]=(0,Xt.Cn)("ImagePreview",typeof qn=="object"?qn.zIndex:void 0),qo=x.useMemo(()=>{if(qn===!1)return qn;const no=typeof qn=="object"?qn:{},{getContainer:No,closeIcon:Yo,rootClassName:Qo}=no,Fo=xi(no,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${Qi}-mask-info`},x.createElement(dt.Z,null),Ji==null?void 0:Ji.preview),icons:$n},Fo),{rootClassName:qe()(Ki,Qo),getContainer:No!=null?No:yi,transitionName:(0,Vt.m)(Zi,"zoom",no.transitionName),maskTransitionName:(0,Vt.m)(Zi,"fade",no.maskTransitionName),zIndex:eo,closeIcon:Yo!=null?Yo:Gr==null?void 0:Gr.closeIcon})},[qn,Ji,Gr==null?void 0:Gr.closeIcon]),wo=Object.assign(Object.assign({},wi),br);return Mi(x.createElement(lt,Object.assign({prefixCls:Qi,preview:qo,rootClassName:Ki,className:Do,style:wo},ci)))};nr.PreviewGroup=Ti;var fr=nr},4875:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Vn}});var x=ae(59301),dt=ae(84105),Ie=ae(87395),qe=ae(92310),ze=ae.n(qe),Fe=ae(60499),Ue=ae(18642),he=ae(43749),xe=ae(72190),oe=ae(42244),Ne=ae(38705),ve=ae(17212);function Re(){return typeof BigInt=="function"}function Se(Lt){return!Lt&&Lt!==0&&!Number.isNaN(Lt)||!String(Lt).trim()}function Pe(Lt){var Gt=Lt.trim(),nn=Gt.startsWith("-");nn&&(Gt=Gt.slice(1)),Gt=Gt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Gt.startsWith(".")&&(Gt="0".concat(Gt));var Cn=Gt||"0",Gn=Cn.split("."),Sr=Gn[0]||"0",ii=Gn[1]||"0";Sr==="0"&&ii==="0"&&(nn=!1);var si=nn?"-":"";return{negative:nn,negativeStr:si,trimStr:Cn,integerStr:Sr,decimalStr:ii,fullStr:"".concat(si).concat(Cn)}}function ye(Lt){var Gt=String(Lt);return!Number.isNaN(Number(Gt))&&Gt.includes("e")}function Ce(Lt){var Gt=String(Lt);if(ye(Lt)){var nn=Number(Gt.slice(Gt.indexOf("e-")+2)),Cn=Gt.match(/\.(\d+)/);return Cn!=null&&Cn[1]&&(nn+=Cn[1].length),nn}return Gt.includes(".")&&Me(Gt)?Gt.length-Gt.indexOf(".")-1:0}function Ee(Lt){var Gt=String(Lt);if(ye(Lt)){if(Lt>Number.MAX_SAFE_INTEGER)return String(Re()?BigInt(Lt).toString():Number.MAX_SAFE_INTEGER);if(Lt0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":Pe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Lt}(),je=function(){function Lt(Gt){if((0,Ne.Z)(this,Lt),(0,Ue.Z)(this,"origin",""),(0,Ue.Z)(this,"number",void 0),(0,Ue.Z)(this,"empty",void 0),Se(Gt)){this.empty=!0;return}this.origin=String(Gt),this.number=Number(Gt)}return(0,ve.Z)(Lt,[{key:"negate",value:function(){return new Lt(-this.toNumber())}},{key:"add",value:function(nn){if(this.isInvalidate())return new Lt(nn);var Cn=Number(nn);if(Number.isNaN(Cn))return this;var Gn=this.number+Cn;if(Gn>Number.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(GnNumber.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(Gn0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),Lt}();function _e(Lt){return Re()?new Ke(Lt):new je(Lt)}function Je(Lt,Gt,nn){var Cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Lt==="")return"";var Gn=Pe(Lt),Sr=Gn.negativeStr,ii=Gn.integerStr,si=Gn.decimalStr,sr="".concat(Gt).concat(si),Lr="".concat(Sr).concat(ii);if(nn>=0){var _n=Number(si[nn]);if(_n>=5&&!Cn){var Hn=_e(Lt).add("".concat(Sr,"0.").concat("0".repeat(nn)).concat(10-_n));return Je(Hn.toString(),Gt,nn,Cn)}return nn===0?Lr:"".concat(Lr).concat(Gt).concat(si.padEnd(nn,"0").slice(0,nn))}return sr===".0"?Lr:"".concat(Lr).concat(sr)}var Xe=_e,ut=ae(36901),ot=ae(34280);function ht(Lt,Gt){return typeof Proxy!="undefined"&&Lt?new Proxy(Lt,{get:function(Cn,Gn){if(Gt[Gn])return Gt[Gn];var Sr=Cn[Gn];return typeof Sr=="function"?Sr.bind(Cn):Sr}}):Lt}var Ct=ae(8654),He=ae(48736);function ft(Lt,Gt){var nn=(0,x.useRef)(null);function Cn(){try{var Sr=Lt.selectionStart,ii=Lt.selectionEnd,si=Lt.value,sr=si.substring(0,Sr),Lr=si.substring(ii);nn.current={start:Sr,end:ii,value:si,beforeTxt:sr,afterTxt:Lr}}catch(_n){}}function Gn(){if(Lt&&nn.current&&Gt)try{var Sr=Lt.value,ii=nn.current,si=ii.beforeTxt,sr=ii.afterTxt,Lr=ii.start,_n=Sr.length;if(Sr.startsWith(si))_n=si.length;else if(Sr.endsWith(sr))_n=Sr.length-nn.current.afterTxt.length;else{var Hn=si[Lr-1],Jn=Sr.indexOf(Hn,Lr-1);Jn!==-1&&(_n=Jn+1)}Lt.setSelectionRange(_n,_n)}catch(ir){(0,He.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ir.message))}}return[Cn,Gn]}var De=ae(49658),Qe=function(){var Gt=(0,x.useState)(!1),nn=(0,xe.Z)(Gt,2),Cn=nn[0],Gn=nn[1];return(0,ot.Z)(function(){Gn((0,De.Z)())},[]),Cn},Ot=Qe,it=ae(16089),at=200,Bt=600;function We(Lt){var Gt=Lt.prefixCls,nn=Lt.upNode,Cn=Lt.downNode,Gn=Lt.upDisabled,Sr=Lt.downDisabled,ii=Lt.onStep,si=x.useRef(),sr=x.useRef([]),Lr=x.useRef();Lr.current=ii;var _n=function(){clearTimeout(si.current)},Hn=function(di,fi){di.preventDefault(),_n(),Lr.current(fi);function Oi(){Lr.current(fi),si.current=setTimeout(Oi,at)}si.current=setTimeout(Oi,Bt)};x.useEffect(function(){return function(){_n(),sr.current.forEach(function(pi){return it.Z.cancel(pi)})}},[]);var Jn=Ot();if(Jn)return null;var ir="".concat(Gt,"-handler"),Zn=ze()(ir,"".concat(ir,"-up"),(0,Ue.Z)({},"".concat(ir,"-up-disabled"),Gn)),Cr=ze()(ir,"".concat(ir,"-down"),(0,Ue.Z)({},"".concat(ir,"-down-disabled"),Sr)),Er=function(){return sr.current.push((0,it.Z)(_n))},Nr={unselectable:"on",role:"button",onMouseUp:Er,onMouseLeave:Er};return x.createElement("div",{className:"".concat(ir,"-wrap")},x.createElement("span",(0,Fe.Z)({},Nr,{onMouseDown:function(di){Hn(di,!0)},"aria-label":"Increase Value","aria-disabled":Gn,className:Zn}),nn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-up-inner")})),x.createElement("span",(0,Fe.Z)({},Nr,{onMouseDown:function(di){Hn(di,!1)},"aria-label":"Decrease Value","aria-disabled":Sr,className:Cr}),Cn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-down-inner")})))}function Te(Lt){var Gt=typeof Lt=="number"?Ee(Lt):Pe(Lt).fullStr,nn=Gt.includes(".");return nn?Pe(Gt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Lt+"0"}var ct=ae(30292),Zt=function(){var Lt=(0,x.useRef)(0),Gt=function(){it.Z.cancel(Lt.current)};return(0,x.useEffect)(function(){return Gt},[]),function(nn){Gt(),Lt.current=(0,it.Z)(function(){nn()})}},jt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],tt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Tt=function(Gt,nn){return Gt||nn.isEmpty()?nn.toString():nn.toNumber()},_t=function(Gt){var nn=Xe(Gt);return nn.isInvalidate()?null:nn},hn=x.forwardRef(function(Lt,Gt){var nn=Lt.prefixCls,Cn=Lt.className,Gn=Lt.style,Sr=Lt.min,ii=Lt.max,si=Lt.step,sr=si===void 0?1:si,Lr=Lt.defaultValue,_n=Lt.value,Hn=Lt.disabled,Jn=Lt.readOnly,ir=Lt.upHandler,Zn=Lt.downHandler,Cr=Lt.keyboard,Er=Lt.changeOnWheel,Nr=Er===void 0?!1:Er,pi=Lt.controls,di=pi===void 0?!0:pi,fi=Lt.classNames,Oi=Lt.stringMode,Ci=Lt.parser,ro=Lt.formatter,Yi=Lt.precision,or=Lt.decimalSeparator,Mr=Lt.onChange,gi=Lt.onInput,oi=Lt.onPressEnter,un=Lt.onStep,bt=Lt.changeOnBlur,Rt=bt===void 0?!0:bt,fn=Lt.domRef,Wt=(0,oe.Z)(Lt,jt),yn="".concat(nn,"-input"),On=x.useRef(null),jr=x.useState(!1),$r=(0,xe.Z)(jr,2),Xr=$r[0],dr=$r[1],lr=x.useRef(!1),$n=x.useRef(!1),ei=x.useRef(!1),Ti=x.useState(function(){return Xe(_n!=null?_n:Lr)}),xi=(0,xe.Z)(Ti,2),nr=xi[0],fr=xi[1];function gn(Ai){_n===void 0&&fr(Ai)}var cn=x.useCallback(function(Ai,Kr){if(!Kr)return Yi>=0?Yi:Math.max(Ce(Ai),Ce(sr))},[Yi,sr]),qn=x.useCallback(function(Ai){var Kr=String(Ai);if(Ci)return Ci(Kr);var _i=Kr;return or&&(_i=_i.replace(or,".")),_i.replace(/[^\w.-]+/g,"")},[Ci,or]),hr=x.useRef(""),ur=x.useCallback(function(Ai,Kr){if(ro)return ro(Ai,{userTyping:Kr,input:String(hr.current)});var _i=typeof Ai=="number"?Ee(Ai):Ai;if(!Kr){var oo=cn(_i,Kr);if(Me(_i)&&(or||oo>=0)){var Ur=or||".";_i=Je(_i,Ur,oo)}}return _i},[ro,cn,or]),br=x.useState(function(){var Ai=Lr!=null?Lr:_n;return nr.isInvalidate()&&["string","number"].includes((0,he.Z)(Ai))?Number.isNaN(Ai)?"":Ai:ur(nr.toString(),!1)}),ci=(0,xe.Z)(br,2),Yr=ci[0],yi=ci[1];hr.current=Yr;function Pi(Ai,Kr){yi(ur(Ai.isInvalidate()?Ai.toString(!1):Ai.toString(!Kr),Kr))}var wi=x.useMemo(function(){return _t(ii)},[ii,Yi]),Gr=x.useMemo(function(){return _t(Sr)},[Sr,Yi]),Ji=x.useMemo(function(){return!wi||!nr||nr.isInvalidate()?!1:wi.lessEquals(nr)},[wi,nr]),Qi=x.useMemo(function(){return!Gr||!nr||nr.isInvalidate()?!1:nr.lessEquals(Gr)},[Gr,nr]),Zi=ft(On.current,Xr),ki=(0,xe.Z)(Zi,2),Mi=ki[0],Fi=ki[1],lo=function(Kr){return wi&&!Kr.lessEquals(wi)?wi:Gr&&!Gr.lessEquals(Kr)?Gr:null},Ki=function(Kr){return!lo(Kr)},Do=function(Kr,_i){var oo=Kr,Ur=Ki(oo)||oo.isEmpty();if(!oo.isEmpty()&&!_i&&(oo=lo(oo)||oo,Ur=!0),!Jn&&!Hn&&Ur){var ti=oo.toString(),Di=cn(ti,_i);return Di>=0&&(oo=Xe(Je(ti,".",Di)),Ki(oo)||(oo=Xe(Je(ti,".",Di,!0)))),oo.equals(nr)||(gn(oo),Mr==null||Mr(oo.isEmpty()?null:Tt(Oi,oo)),_n===void 0&&Pi(oo,_i)),oo}return nr},eo=Zt(),qo=function Ai(Kr){if(Mi(),hr.current=Kr,yi(Kr),!$n.current){var _i=qn(Kr),oo=Xe(_i);oo.isNaN()||Do(oo,!0)}gi==null||gi(Kr),eo(function(){var Ur=Kr;Ci||(Ur=Kr.replace(/。/g,".")),Ur!==Kr&&Ai(Ur)})},wo=function(){$n.current=!0},no=function(){$n.current=!1,qo(On.current.value)},No=function(Kr){qo(Kr.target.value)},Yo=function(Kr){var _i;if(!(Kr&&Ji||!Kr&&Qi)){lr.current=!1;var oo=Xe(ei.current?Te(sr):sr);Kr||(oo=oo.negate());var Ur=(nr||Xe(0)).add(oo.toString()),ti=Do(Ur,!1);un==null||un(Tt(Oi,ti),{offset:ei.current?Te(sr):sr,type:Kr?"up":"down"}),(_i=On.current)===null||_i===void 0||_i.focus()}},Qo=function(Kr){var _i=Xe(qn(Yr)),oo;_i.isNaN()?oo=Do(nr,Kr):oo=Do(_i,Kr),_n!==void 0?Pi(nr,!1):oo.isNaN()||Pi(oo,!1)},Fo=function(){lr.current=!0},pn=function(Kr){var _i=Kr.key,oo=Kr.shiftKey;lr.current=!0,ei.current=oo,_i==="Enter"&&($n.current||(lr.current=!1),Qo(!1),oi==null||oi(Kr)),Cr!==!1&&!$n.current&&["Up","ArrowUp","Down","ArrowDown"].includes(_i)&&(Yo(_i==="Up"||_i==="ArrowUp"),Kr.preventDefault())},Rr=function(){lr.current=!1,ei.current=!1};x.useEffect(function(){if(Nr&&Xr){var Ai=function(oo){Yo(oo.deltaY<0),oo.preventDefault()},Kr=On.current;if(Kr)return Kr.addEventListener("wheel",Ai,{passive:!1}),function(){return Kr.removeEventListener("wheel",Ai)}}});var Jr=function(){Rt&&Qo(!1),dr(!1),lr.current=!1};return(0,ot.o)(function(){nr.isInvalidate()||Pi(nr,!1)},[Yi,ro]),(0,ot.o)(function(){var Ai=Xe(_n);fr(Ai);var Kr=Xe(qn(Yr));(!Ai.equals(Kr)||!lr.current||ro)&&Pi(Ai,lr.current)},[_n]),(0,ot.o)(function(){ro&&Fi()},[Yr]),x.createElement("div",{ref:fn,className:ze()(nn,Cn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},"".concat(nn,"-focused"),Xr),"".concat(nn,"-disabled"),Hn),"".concat(nn,"-readonly"),Jn),"".concat(nn,"-not-a-number"),nr.isNaN()),"".concat(nn,"-out-of-range"),!nr.isInvalidate()&&!Ki(nr))),style:Gn,onFocus:function(){dr(!0)},onBlur:Jr,onKeyDown:pn,onKeyUp:Rr,onCompositionStart:wo,onCompositionEnd:no,onBeforeInput:Fo},di&&x.createElement(We,{prefixCls:nn,upNode:ir,downNode:Zn,upDisabled:Ji,downDisabled:Qi,onStep:Yo}),x.createElement("div",{className:"".concat(yn,"-wrap")},x.createElement("input",(0,Fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Sr,"aria-valuemax":ii,"aria-valuenow":nr.isInvalidate()?null:nr.toString(),step:sr},Wt,{ref:(0,Ct.sQ)(On,Gt),className:yn,value:Yr,onChange:No,disabled:Hn,readOnly:Jn}))))}),Pt=x.forwardRef(function(Lt,Gt){var nn=Lt.disabled,Cn=Lt.style,Gn=Lt.prefixCls,Sr=Gn===void 0?"rc-input-number":Gn,ii=Lt.value,si=Lt.prefix,sr=Lt.suffix,Lr=Lt.addonBefore,_n=Lt.addonAfter,Hn=Lt.className,Jn=Lt.classNames,ir=(0,oe.Z)(Lt,tt),Zn=x.useRef(null),Cr=x.useRef(null),Er=x.useRef(null),Nr=function(di){Er.current&&(0,ct.nH)(Er.current,di)};return x.useImperativeHandle(Gt,function(){return ht(Er.current,{focus:Nr,nativeElement:Zn.current.nativeElement||Cr.current})}),x.createElement(ut.BaseInput,{className:Hn,triggerFocus:Nr,prefixCls:Sr,value:ii,disabled:nn,style:Cn,prefix:si,suffix:sr,addonAfter:_n,addonBefore:Lr,classNames:Jn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Zn},x.createElement(hn,(0,Fe.Z)({prefixCls:Sr,disabled:nn,ref:Er,domRef:Cr,className:Jn==null?void 0:Jn.input},ir)))}),vn=Pt,kt=vn,Sn=ae(62487),on=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),se=ae(31756),le=ae(56553),Be=ae(24971),Ve=ae(70045),st=ae(36237),gt=ae(53075),mt=ae(64910),St=ae(39082),Dt=ae(63356),Ht=ae(56119),xt=ae(16931),lt=ae(51636),Xt=ae(17835);const Vt=Lt=>{var Gt;const nn=(Gt=Lt.handleVisible)!==null&&Gt!==void 0?Gt:"auto",Cn=Lt.controlHeightSM-Lt.lineWidth*2;return Object.assign(Object.assign({},(0,mt.T)(Lt)),{controlWidth:90,handleWidth:Cn,handleFontSize:Lt.fontSize/2,handleVisible:nn,handleActiveBg:Lt.colorFillAlter,handleBg:Lt.colorBgContainer,filledHandleBg:new Xt.FastColor(Lt.colorFillSecondary).onBackground(Lt.colorBgContainer).toHexString(),handleHoverColor:Lt.colorPrimary,handleBorderColor:Lt.colorBorder,handleOpacity:nn===!0?1:0,handleVisibleWidth:nn===!0?Cn:0})},wn=(Lt,Gt)=>{let{componentCls:nn,borderRadiusSM:Cn,borderRadiusLG:Gn}=Lt;const Sr=Gt==="lg"?Gn:Cn;return{[`&-${Gt}`]:{[`${nn}-handler-wrap`]:{borderStartEndRadius:Sr,borderEndEndRadius:Sr},[`${nn}-handler-up`]:{borderStartEndRadius:Sr},[`${nn}-handler-down`]:{borderEndEndRadius:Sr}}}},an=Lt=>{const{componentCls:Gt,lineWidth:nn,lineType:Cn,borderRadius:Gn,inputFontSizeSM:Sr,inputFontSizeLG:ii,controlHeightLG:si,controlHeightSM:sr,colorError:Lr,paddingInlineSM:_n,paddingBlockSM:Hn,paddingBlockLG:Jn,paddingInlineLG:ir,colorTextDescription:Zn,motionDurationMid:Cr,handleHoverColor:Er,handleOpacity:Nr,paddingInline:pi,paddingBlock:di,handleBg:fi,handleActiveBg:Oi,colorTextDisabled:Ci,borderRadiusSM:ro,borderRadiusLG:Yi,controlWidth:or,handleBorderColor:Mr,filledHandleBg:gi,lineHeightLG:oi,calc:un}=Lt;return[{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,gt.ik)(Lt)),{display:"inline-block",width:or,margin:0,padding:0,borderRadius:Gn}),(0,St.qG)(Lt,{[`${Gt}-handler-wrap`]:{background:fi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}}})),(0,St.H8)(Lt,{[`${Gt}-handler-wrap`]:{background:gi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}},"&:focus-within":{[`${Gt}-handler-wrap`]:{background:fi}}})),(0,St.vc)(Lt,{[`${Gt}-handler-wrap`]:{background:fi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}}})),(0,St.Mu)(Lt)),{"&-rtl":{direction:"rtl",[`${Gt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ii,lineHeight:oi,borderRadius:Yi,[`input${Gt}-input`]:{height:un(si).sub(un(nn).mul(2)).equal(),padding:`${(0,st.unit)(Jn)} ${(0,st.unit)(ir)}`}},"&-sm":{padding:0,fontSize:Sr,borderRadius:ro,[`input${Gt}-input`]:{height:un(sr).sub(un(nn).mul(2)).equal(),padding:`${(0,st.unit)(Hn)} ${(0,st.unit)(_n)}`}},"&-out-of-range":{[`${Gt}-input-wrap`]:{input:{color:Lr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,gt.s7)(Lt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Gt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Gt}-group-addon`]:{borderRadius:Yi,fontSize:Lt.fontSizeLG}},"&-sm":{[`${Gt}-group-addon`]:{borderRadius:ro}}},(0,St.ir)(Lt)),(0,St.S5)(Lt)),{[`&:not(${Gt}-compact-first-item):not(${Gt}-compact-last-item)${Gt}-compact-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderRadius:0}},[`&:not(${Gt}-compact-last-item)${Gt}-compact-first-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Gt}-compact-first-item)${Gt}-compact-last-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Gt}-input`]:{cursor:"not-allowed"},[Gt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),{width:"100%",padding:`${(0,st.unit)(di)} ${(0,st.unit)(pi)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Gn,outline:0,transition:`all ${Cr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,gt.nz)(Lt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1}})},{[Gt]:Object.assign(Object.assign(Object.assign({[`${Gt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Lt.handleVisibleWidth,opacity:Nr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Gn,borderEndEndRadius:Gn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Cr}`,overflow:"hidden",[`${Gt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${yn}-col-xl-24${Wt}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenXSMax)})`]:[ut(Rt),{[hn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-xs-24${Wt}-label`]:Xe(Rt)}}}],[`@media (max-width: ${(0,oe.unit)(Rt.screenSMMax)})`]:{[hn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-sm-24${Wt}-label`]:Xe(Rt)}}},[`@media (max-width: ${(0,oe.unit)(Rt.screenMDMax)})`]:{[hn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-md-24${Wt}-label`]:Xe(Rt)}}},[`@media (max-width: ${(0,oe.unit)(Rt.screenLGMax)})`]:{[hn]:{[`${Wt}:not(${Wt}-horizontal)`]:{[`${yn}-col-lg-24${Wt}-label`]:Xe(Rt)}}}}},ht=Rt=>{const{formItemCls:hn,antCls:Wt}=Rt;return{[`${hn}-vertical`]:{[`${hn}-row`]:{flexDirection:"column"},[`${hn}-label > label`]:{height:"auto"},[`${hn}-control`]:{width:"100%"}},[`${hn}-vertical ${hn}-label, + ${Wt}-col-24${hn}-label, + ${Wt}-col-xl-24${hn}-label`]:Xe(Rt),[`@media (max-width: ${(0,oe.unit)(Rt.screenXSMax)})`]:[ut(Rt),{[hn]:{[`${Wt}-col-xs-24${hn}-label`]:Xe(Rt)}}],[`@media (max-width: ${(0,oe.unit)(Rt.screenSMMax)})`]:{[hn]:{[`${Wt}-col-sm-24${hn}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenMDMax)})`]:{[hn]:{[`${Wt}-col-md-24${hn}-label`]:Xe(Rt)}},[`@media (max-width: ${(0,oe.unit)(Rt.screenLGMax)})`]:{[hn]:{[`${Wt}-col-lg-24${hn}-label`]:Xe(Rt)}}}},Ct=Rt=>({labelRequiredMarkColor:Rt.colorError,labelColor:Rt.colorTextHeading,labelFontSize:Rt.fontSize,labelHeight:Rt.controlHeight,labelColonMarginInlineStart:Rt.marginXXS/2,labelColonMarginInlineEnd:Rt.marginXS,itemMarginBottom:Rt.marginLG,verticalLabelPadding:`0 0 ${Rt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),He=(Rt,hn)=>(0,Se.mergeToken)(Rt,{formItemCls:`${Rt.componentCls}-item`,rootPrefixCls:hn});var ft=(0,Oe.I$)("Form",(Rt,hn)=>{let{rootPrefixCls:Wt}=hn;const yn=He(Rt,Wt);return[Ke(yn),je(yn),Ce(yn),Qe(yn,yn.componentCls),Qe(yn,yn.formItemCls),Je(yn),ot(yn),ht(yn),(0,Re.Z)(yn),ve.kr]},Ct,{order:-1e3});const De=[];function _e(Rt,hn,Wt){let yn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Rt=="string"?Rt:`${hn}-${yn}`,error:Rt,errorStatus:Wt}}var it=Rt=>{let{help:hn,helpStatus:Wt,errors:yn=De,warnings:On=De,className:jr,fieldId:$r,onVisibleChanged:Xr}=Rt;const{prefixCls:dr}=Ie.useContext(x.Rk),lr=`${dr}-item-explain`,$n=(0,he.Z)(dr),[ei,Ti,xi]=ft(dr,$n),nr=Ie.useMemo(()=>(0,Ue.Z)(dr),[dr]),fr=xe(yn),gn=xe(On),cn=Ie.useMemo(()=>hn!=null?[_e(hn,"help",Wt)]:[].concat((0,dt.Z)(fr.map((ur,br)=>_e(ur,"error","error",br))),(0,dt.Z)(gn.map((ur,br)=>_e(ur,"warning","warning",br)))),[hn,Wt,fr,gn]),qn=Ie.useMemo(()=>{const ur={};return cn.forEach(br=>{let{key:ci}=br;ur[ci]=(ur[ci]||0)+1}),cn.map((br,ci)=>Object.assign(Object.assign({},br),{key:ur[br.key]>1?`${br.key}-fallback-${ci}`:br.key}))},[cn]),hr={};return $r&&(hr.id=`${$r}_help`),ei(Ie.createElement(Fe.default,{motionDeadline:nr.motionDeadline,motionName:`${dr}-show-help`,visible:!!qn.length,onVisibleChanged:Xr},ur=>{const{className:br,style:ci}=ur;return Ie.createElement("div",Object.assign({},hr,{className:ze()(lr,br,xi,$n,jr,Ti),style:ci}),Ie.createElement(Fe.CSSMotionList,Object.assign({keys:qn},(0,Ue.Z)(dr),{motionName:`${dr}-show-help-item`,component:!1}),Yr=>{const{key:yi,error:Pi,errorStatus:wi,className:Gr,style:Ji}=Yr;return Ie.createElement("div",{key:yi,className:ze()(Gr,{[`${lr}-${wi}`]:wi}),style:Ji},Pi)}))}))},at=ae(69180),Bt=ae(48755),We=ae(2171),Te=ae(31756),ct=ae(23069),Zt=ae(76846),zt=ae(16722);const tt=["parentNode"],Pt="form_item";function _t(Rt){return Rt===void 0||Rt===!1?[]:Array.isArray(Rt)?Rt:[Rt]}function fn(Rt,hn){if(!Rt.length)return;const Wt=Rt.join("_");return hn?`${hn}_${Wt}`:tt.includes(Wt)?`${Pt}_${Wt}`:Wt}function Tt(Rt,hn,Wt,yn,On,jr){let $r=yn;return jr!==void 0?$r=jr:Wt.validating?$r="validating":Rt.length?$r="error":hn.length?$r="warning":(Wt.touched||On&&Wt.validated)&&($r="success"),$r}var vn=function(Rt,hn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&hn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);OnRt!=null?Rt:Object.assign(Object.assign({},hn),{__INTERNAL__:{itemRef:On=>jr=>{const $r=kt(On);jr?Wt.current[$r]=jr:delete Wt.current[$r]}},scrollToField:function(On){let jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:$r}=jr,Xr=vn(jr,["focus"]),dr=Sn(On,yn);dr&&((0,zt.Z)(dr,Object.assign({scrollMode:"if-needed",block:"nearest"},Xr)),$r&&yn.focusField(On))},focusField:On=>{var jr,$r;const Xr=yn.getFieldInstance(On);typeof(Xr==null?void 0:Xr.focus)=="function"?Xr.focus():($r=(jr=Sn(On,yn))===null||jr===void 0?void 0:jr.focus)===null||$r===void 0||$r.call(jr)},getFieldInstance:On=>{const jr=kt(On);return Wt.current[jr]}}),[Rt,hn]);return[yn]}var de=ae(98350),ge=function(Rt,hn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&hn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{const Wt=Ie.useContext(We.Z),{getPrefixCls:yn,direction:On,requiredMark:jr,colon:$r,scrollToFirstError:Xr,className:dr,style:lr}=(0,Bt.dj)("form"),{prefixCls:$n,className:ei,rootClassName:Ti,size:xi,disabled:nr=Wt,form:fr,colon:gn,labelAlign:cn,labelWrap:qn,labelCol:hr,wrapperCol:ur,hideRequiredMark:br,layout:ci="horizontal",scrollToFirstError:Yr,requiredMark:yi,onFinishFailed:Pi,name:wi,style:Gr,feedbackIcons:Ji,variant:_i}=Rt,Zi=ge(Rt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),ki=(0,Te.Z)(xi),Mi=Ie.useContext(de.Z),Fi=Ie.useMemo(()=>yi!==void 0?yi:br?!1:jr!==void 0?jr:!0,[br,yi,jr]),lo=gn!=null?gn:$r,Ki=yn("form",$n),Do=(0,he.Z)(Ki),[eo,qo,wo]=ft(Ki,Do),no=ze()(Ki,`${Ki}-${ci}`,{[`${Ki}-hide-required-mark`]:Fi===!1,[`${Ki}-rtl`]:On==="rtl",[`${Ki}-${ki}`]:ki},wo,Do,qo,dr,ei,Ti),[No]=on(fr),{__INTERNAL__:Yo}=No;Yo.name=wi;const _o=Ie.useMemo(()=>({name:wi,labelAlign:cn,labelCol:hr,labelWrap:qn,wrapperCol:ur,vertical:ci==="vertical",colon:lo,requiredMark:Fi,itemRef:Yo.itemRef,form:No,feedbackIcons:Ji}),[wi,cn,hr,ur,ci,lo,Fi,No,Ji]),Fo=Ie.useRef(null);Ie.useImperativeHandle(hn,()=>{var Jr;return Object.assign(Object.assign({},No),{nativeElement:(Jr=Fo.current)===null||Jr===void 0?void 0:Jr.nativeElement})});const pn=(Jr,Ai)=>{if(Jr){let Kr={block:"nearest"};typeof Jr=="object"&&(Kr=Object.assign(Object.assign({},Kr),Jr)),No.scrollToField(Ai,Kr)}},Rr=Jr=>{if(Pi==null||Pi(Jr),Jr.errorFields.length){const Ai=Jr.errorFields[0].name;if(Yr!==void 0){pn(Yr,Ai);return}Xr!==void 0&&pn(Xr,Ai)}};return eo(Ie.createElement(x.pg.Provider,{value:_i},Ie.createElement(We.n,{disabled:nr},Ie.createElement(ct.Z.Provider,{value:ki},Ie.createElement(x.RV,{validateMessages:Mi},Ie.createElement(x.q3.Provider,{value:_o},Ie.createElement(at.default,Object.assign({id:wi},Zi,{name:wi,onFinishFailed:Rr,form:No,ref:Fo,style:Object.assign(Object.assign({},lr),Gr),className:no}))))))))};var se=Ie.forwardRef(ie),le=ae(41799),Be=ae(8654),Ve=ae(22703),st=ae(32383),gt=ae(11592);function mt(Rt){if(typeof Rt=="function")return Rt;const hn=(0,gt.Z)(Rt);return hn.length<=1?hn[0]:hn}const St=()=>{const{status:Rt,errors:hn=[],warnings:Wt=[]}=Ie.useContext(x.aM);return{status:Rt,errors:hn,warnings:Wt}};St.Context=x.aM;var Dt=St,jt=ae(16089);function xt(Rt){const[hn,Wt]=Ie.useState(Rt),yn=Ie.useRef(null),On=Ie.useRef([]),jr=Ie.useRef(!1);Ie.useEffect(()=>(jr.current=!1,()=>{jr.current=!0,jt.Z.cancel(yn.current),yn.current=null}),[]);function $r(Xr){jr.current||(yn.current===null&&(On.current=[],yn.current=(0,jt.Z)(()=>{yn.current=null,Wt(dr=>{let lr=dr;return On.current.forEach($n=>{lr=$n(lr)}),lr})})),On.current.push(Xr))}return[hn,$r]}function lt(){const{itemRef:Rt}=Ie.useContext(x.q3),hn=Ie.useRef({});function Wt(yn,On){const jr=On&&typeof On=="object"&&(0,Be.C4)(On),$r=yn.join("_");return(hn.current.name!==$r||hn.current.originRef!==jr)&&(hn.current.name=$r,hn.current.originRef=jr,hn.current.ref=(0,Be.sQ)(Rt(yn),jr)),hn.current.ref}return Wt}var Xt=ae(29194),Vt=ae(34280),wn=ae(2738),an=ae(65970),en=ae(70425),zn=ae(5472);const In=Rt=>{const{formItemCls:hn}=Rt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${hn}-control`]:{display:"flex"}}}};var Qt=(0,Oe.bk)(["Form","item-item"],(Rt,hn)=>{let{rootPrefixCls:Wt}=hn;const yn=He(Rt,Wt);return[In(yn)]}),sn=function(Rt,hn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&hn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{const{prefixCls:hn,status:Wt,labelCol:yn,wrapperCol:On,children:jr,errors:$r,warnings:Xr,_internalItemRender:dr,extra:lr,help:$n,fieldId:ei,marginBottom:Ti,onErrorVisibleChanged:xi,label:nr}=Rt,fr=`${hn}-item`,gn=Ie.useContext(x.q3),cn=Ie.useMemo(()=>{let Zi=Object.assign({},On||gn.wrapperCol||{});return nr===null&&!yn&&!On&&gn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Mi=>{const Fi=Mi?[Mi]:[],lo=(0,en.U2)(gn.labelCol,Fi),Ki=typeof lo=="object"?lo:{},Do=(0,en.U2)(Zi,Fi),eo=typeof Do=="object"?Do:{};"span"in Ki&&!("offset"in eo)&&Ki.span{const{labelCol:Zi,wrapperCol:ki}=gn;return sn(gn,["labelCol","wrapperCol"])},[gn]),ur=Ie.useRef(null),[br,ci]=Ie.useState(0);(0,Vt.Z)(()=>{lr&&ur.current?ci(ur.current.clientHeight):ci(0)},[lr]);const Yr=Ie.createElement("div",{className:`${fr}-control-input`},Ie.createElement("div",{className:`${fr}-control-input-content`},jr)),yi=Ie.useMemo(()=>({prefixCls:hn,status:Wt}),[hn,Wt]),Pi=Ti!==null||$r.length||Xr.length?Ie.createElement(x.Rk.Provider,{value:yi},Ie.createElement(it,{fieldId:ei,errors:$r,warnings:Xr,help:$n,helpStatus:Wt,className:`${fr}-explain-connected`,onVisibleChanged:xi})):null,wi={};ei&&(wi.id=`${ei}_extra`);const Gr=lr?Ie.createElement("div",Object.assign({},wi,{className:`${fr}-extra`,ref:ur}),lr):null,Ji=Pi||Gr?Ie.createElement("div",{className:`${fr}-additional`,style:Ti?{minHeight:Ti+br}:{}},Pi,Gr):null,_i=dr&&dr.mark==="pro_table_render"&&dr.render?dr.render(Rt,{input:Yr,errorList:Pi,extra:Gr}):Ie.createElement(Ie.Fragment,null,Yr,Ji);return Ie.createElement(x.q3.Provider,{value:hr},Ie.createElement(zn.Z,Object.assign({},cn,{className:qn}),_i),Ie.createElement(Qt,{prefixCls:hn}))},Gt=ae(61485),nn=ae(9017),Cn=ae(85981),Gn=ae(25399),Sr=function(Rt,hn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&hn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{let{prefixCls:hn,label:Wt,htmlFor:yn,labelCol:On,labelAlign:jr,colon:$r,required:Xr,requiredMark:dr,tooltip:lr,vertical:$n}=Rt;var ei;const[Ti]=(0,nn.Z)("Form"),{labelAlign:xi,labelCol:nr,labelWrap:fr,colon:gn}=Ie.useContext(x.q3);if(!Wt)return null;const cn=On||nr||{},qn=jr||xi,hr=`${hn}-item-label`,ur=ze()(hr,qn==="left"&&`${hr}-left`,cn.className,{[`${hr}-wrap`]:!!fr});let br=Wt;const ci=$r===!0||gn!==!1&&$r!==!1;ci&&!$n&&typeof Wt=="string"&&Wt.trim()&&(br=Wt.replace(/[:|:]\s*$/,""));const yi=ii(lr);if(yi){const{icon:Zi=Ie.createElement(Gt.Z,null)}=yi,ki=Sr(yi,["icon"]),Mi=Ie.createElement(Gn.Z,Object.assign({},ki),Ie.cloneElement(Zi,{className:`${hn}-item-tooltip`,title:"",onClick:Fi=>{Fi.preventDefault()},tabIndex:null}));br=Ie.createElement(Ie.Fragment,null,br,Mi)}const Pi=dr==="optional",wi=typeof dr=="function",Gr=dr===!1;wi?br=dr(br,{required:!!Xr}):Pi&&!Xr&&(br=Ie.createElement(Ie.Fragment,null,br,Ie.createElement("span",{className:`${hn}-item-optional`,title:""},(Ti==null?void 0:Ti.optional)||((ei=Cn.Z.Form)===null||ei===void 0?void 0:ei.optional))));let Ji;Gr?Ji="hidden":(Pi||wi)&&(Ji="optional");const _i=ze()({[`${hn}-item-required`]:Xr,[`${hn}-item-required-mark-${Ji}`]:Ji,[`${hn}-item-no-colon`]:!ci});return Ie.createElement(zn.Z,Object.assign({},cn,{className:ur}),Ie.createElement("label",{htmlFor:yn,className:_i,title:typeof Wt=="string"?Wt:""},br))},Lr=ae(29679),Qn=ae(19248),Hn=ae(96512),Jn=ae(58617);const ir={success:Lr.Z,warning:Hn.Z,error:Qn.Z,validating:Jn.Z};function Zn(Rt){let{children:hn,errors:Wt,warnings:yn,hasFeedback:On,validateStatus:jr,prefixCls:$r,meta:Xr,noStyle:dr}=Rt;const lr=`${$r}-item`,{feedbackIcons:$n}=Ie.useContext(x.q3),ei=Tt(Wt,yn,Xr,null,!!On,jr),{isFormItemInput:Ti,status:xi,hasFeedback:nr,feedbackIcon:fr}=Ie.useContext(x.aM),gn=Ie.useMemo(()=>{var cn;let qn;if(On){const ur=On!==!0&&On.icons||$n,br=ei&&((cn=ur==null?void 0:ur({status:ei,errors:Wt,warnings:yn}))===null||cn===void 0?void 0:cn[ei]),ci=ei&&ir[ei];qn=br!==!1&&ci?Ie.createElement("span",{className:ze()(`${lr}-feedback-icon`,`${lr}-feedback-icon-${ei}`)},br||Ie.createElement(ci,null)):null}const hr={status:ei||"",errors:Wt,warnings:yn,hasFeedback:!!On,feedbackIcon:qn,isFormItemInput:!0};return dr&&(hr.status=(ei!=null?ei:xi)||"",hr.isFormItemInput=Ti,hr.hasFeedback=!!(On!=null?On:nr),hr.feedbackIcon=On!==void 0?hr.feedbackIcon:fr),hr},[ei,On,dr,Ti,xi]);return Ie.createElement(x.aM.Provider,{value:gn},hn)}var Cr=function(Rt,hn){var Wt={};for(var yn in Rt)Object.prototype.hasOwnProperty.call(Rt,yn)&&hn.indexOf(yn)<0&&(Wt[yn]=Rt[yn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Rt);On{if(Gr&&Yr.current){const Ki=getComputedStyle(Yr.current);Zi(parseInt(Ki.marginBottom,10))}},[Gr,Ji]);const ki=Ki=>{Ki||Zi(null)},Fi=function(){let Ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Do=Ki?yi:lr.errors,eo=Ki?Pi:lr.warnings;return Tt(Do,eo,lr,"",!!$n,dr)}(),lo=ze()(hr,Wt,yn,{[`${hr}-with-help`]:wi||yi.length||Pi.length,[`${hr}-has-feedback`]:Fi&&$n,[`${hr}-has-success`]:Fi==="success",[`${hr}-has-warning`]:Fi==="warning",[`${hr}-has-error`]:Fi==="error",[`${hr}-is-validating`]:Fi==="validating",[`${hr}-hidden`]:ei,[`${hr}-${cn}`]:cn});return Ie.createElement("div",{className:lo,style:On,ref:Yr},Ie.createElement(an.Z,Object.assign({className:`${hr}-row`},(0,wn.Z)(qn,["_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"])),Ie.createElement(sr,Object.assign({htmlFor:xi},Rt,{requiredMark:ur,required:nr!=null?nr:fr,prefixCls:hn,vertical:ci})),Ie.createElement(Lt,Object.assign({},Rt,lr,{errors:yi,warnings:Pi,prefixCls:hn,status:Fi,help:jr,marginBottom:_i,onErrorVisibleChanged:ki}),Ie.createElement(x.qI.Provider,{value:gn},Ie.createElement(Zn,{prefixCls:hn,meta:lr,errors:lr.errors,warnings:lr.warnings,hasFeedback:$n,validateStatus:Fi},Ti)))),!!_i&&Ie.createElement("div",{className:`${hr}-margin-offset`,style:{marginBottom:-_i}}))}const Nr="__SPLIT__",pi=null;function di(Rt,hn){const Wt=Object.keys(Rt),yn=Object.keys(hn);return Wt.length===yn.length&&Wt.every(On=>{const jr=Rt[On],$r=hn[On];return jr===$r||typeof jr=="function"||typeof $r=="function"})}const fi=Ie.memo(Rt=>{let{children:hn}=Rt;return hn},(Rt,hn)=>di(Rt.control,hn.control)&&Rt.update===hn.update&&Rt.childProps.length===hn.childProps.length&&Rt.childProps.every((Wt,yn)=>Wt===hn.childProps[yn]));function Oi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Ci(Rt){const{name:hn,noStyle:Wt,className:yn,dependencies:On,prefixCls:jr,shouldUpdate:$r,rules:Xr,children:dr,required:lr,label:$n,messageVariables:ei,trigger:Ti="onChange",validateTrigger:xi,hidden:nr,help:fr,layout:gn}=Rt,{getPrefixCls:cn}=Ie.useContext(Bt.E_),{name:qn}=Ie.useContext(x.q3),hr=mt(dr),ur=typeof hr=="function",br=Ie.useContext(x.qI),{validateTrigger:ci}=Ie.useContext(at.FieldContext),Yr=xi!==void 0?xi:ci,yi=hn!=null,Pi=cn("form",jr),wi=(0,he.Z)(Pi),[Gr,Ji,_i]=ft(Pi,wi),Zi=(0,st.ln)("Form.Item"),ki=Ie.useContext(at.ListContext),Mi=Ie.useRef(null),[Fi,lo]=xt({}),[Ki,Do]=(0,le.Z)(()=>Oi()),eo=Fo=>{const pn=ki==null?void 0:ki.getKey(Fo.name);if(Do(Fo.destroy?Oi():Fo,!0),Wt&&fr!==!1&&br){let Rr=Fo.name;if(Fo.destroy)Rr=Mi.current||Rr;else if(pn!==void 0){const[Jr,Ai]=pn;Rr=[Jr].concat((0,dt.Z)(Ai)),Mi.current=Rr}br(Fo,Rr)}},qo=(Fo,pn)=>{lo(Rr=>{const Jr=Object.assign({},Rr),Kr=[].concat((0,dt.Z)(Fo.name.slice(0,-1)),(0,dt.Z)(pn)).join(Nr);return Fo.destroy?delete Jr[Kr]:Jr[Kr]=Fo,Jr})},[wo,no]=Ie.useMemo(()=>{const Fo=(0,dt.Z)(Ki.errors),pn=(0,dt.Z)(Ki.warnings);return Object.values(Fi).forEach(Rr=>{Fo.push.apply(Fo,(0,dt.Z)(Rr.errors||[])),pn.push.apply(pn,(0,dt.Z)(Rr.warnings||[]))}),[Fo,pn]},[Fi,Ki.errors,Ki.warnings]),No=lt();function Yo(Fo,pn,Rr){return Wt&&!nr?Ie.createElement(Zn,{prefixCls:Pi,hasFeedback:Rt.hasFeedback,validateStatus:Rt.validateStatus,meta:Ki,errors:wo,warnings:no,noStyle:!0},Fo):Ie.createElement(Er,Object.assign({key:"row"},Rt,{className:ze()(yn,_i,wi,Ji),prefixCls:Pi,fieldId:pn,isRequired:Rr,errors:wo,warnings:no,meta:Ki,onSubItemMetaChange:qo,layout:gn}),Fo)}if(!yi&&!ur&&!On)return Gr(Yo(hr));let _o={};return typeof $n=="string"?_o.label=$n:hn&&(_o.label=String(hn)),ei&&(_o=Object.assign(Object.assign({},_o),ei)),Gr(Ie.createElement(at.Field,Object.assign({},Rt,{messageVariables:_o,trigger:Ti,validateTrigger:Yr,onMetaChange:eo}),(Fo,pn,Rr)=>{const Jr=_t(hn).length&&pn?pn.name:[],Ai=fn(Jr,qn),Kr=lr!==void 0?lr:!!(Xr!=null&&Xr.some(Ur=>{if(Ur&&typeof Ur=="object"&&Ur.required&&!Ur.warningOnly)return!0;if(typeof Ur=="function"){const ti=Ur(Rr);return(ti==null?void 0:ti.required)&&!(ti!=null&&ti.warningOnly)}return!1})),Qi=Object.assign({},Fo);let oo=null;if(Array.isArray(hr)&&yi)oo=hr;else if(!(ur&&(!($r||On)||yi))){if(!(On&&!ur&&!yi))if(Ie.isValidElement(hr)){const Ur=Object.assign(Object.assign({},hr.props),Qi);if(Ur.id||(Ur.id=Ai),fr||wo.length>0||no.length>0||Rt.extra){const Ui=[];(fr||wo.length>0)&&Ui.push(`${Ai}_help`),Rt.extra&&Ui.push(`${Ai}_extra`),Ur["aria-describedby"]=Ui.join(" ")}wo.length>0&&(Ur["aria-invalid"]="true"),Kr&&(Ur["aria-required"]="true"),(0,Be.Yr)(hr)&&(Ur.ref=No(Jr,hr)),new Set([].concat((0,dt.Z)(_t(Ti)),(0,dt.Z)(_t(Yr)))).forEach(Ui=>{Ur[Ui]=function(){for(var Uo,xa,Wr,fo,Oo,ta=arguments.length,Qo=new Array(ta),Jo=0;Jo{var{prefixCls:hn,children:Wt}=Rt,yn=or(Rt,["prefixCls","children"]);const{getPrefixCls:On}=Ie.useContext(Bt.E_),jr=On("form",hn),$r=Ie.useMemo(()=>({prefixCls:jr,status:"error"}),[jr]);return Ie.createElement(at.List,Object.assign({},yn),(Xr,dr,lr)=>Ie.createElement(x.Rk.Provider,{value:$r},Wt(Xr.map($n=>Object.assign(Object.assign({},$n),{fieldKey:$n.key})),dr,{errors:lr.errors,warnings:lr.warnings})))};function oi(){const{form:Rt}=Ie.useContext(x.q3);return Rt}const un=se;un.Item=Yi,un.List=gi,un.ErrorList=it,un.useForm=on,un.useFormInstance=oi,un.useWatch=at.useWatch,un.Provider=x.RV,un.create=()=>{};var bt=un},75786:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return fr}});var x=ae(59301),dt=ae(15277),Ie=ae(92310),qe=ae.n(Ie),ze=ae(60499),Fe=ae(85899),Ue=ae(18642),he=ae(72190),xe=ae(43749),oe=ae(42244),Ne=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Re={cssFloat:1,styleFloat:1,float:1};function Se(gn){return gn.nodeType===1?gn.ownerDocument.defaultView.getComputedStyle(gn,null):{}}function Oe(gn,cn,qn){if(cn=cn.toLowerCase(),qn==="auto"){if(cn==="height")return gn.offsetHeight;if(cn==="width")return gn.offsetWidth}return cn in ve||(ve[cn]=Ne.test(cn)),ve[cn]?parseFloat(qn)||0:qn}function ye(gn,cn){var qn=arguments.length,hr=Se(gn);return cn=Re[cn]?"cssFloat"in gn.style?"cssFloat":"styleFloat":cn,qn===1?hr:Oe(gn,cn,hr[cn]||gn.style[cn])}function Ce(gn,cn,qn){var hr=arguments.length;if(cn=Re[cn]?"cssFloat"in gn.style?"cssFloat":"styleFloat":cn,hr===3)return typeof qn=="number"&&Ne.test(cn)&&(qn="".concat(qn,"px")),gn.style[cn]=qn,qn;for(var ur in cn)cn.hasOwnProperty(ur)&&Ce(gn,ur,cn[ur]);return Se(gn)}function Ee(gn){return gn===document.body?document.documentElement.clientWidth:gn.offsetWidth}function Me(gn){return gn===document.body?window.innerHeight||document.documentElement.clientHeight:gn.offsetHeight}function Ke(){var gn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),cn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:gn,height:cn}}function je(){var gn=document.documentElement.clientWidth,cn=window.innerHeight||document.documentElement.clientHeight;return{width:gn,height:cn}}function Qe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Je(gn){var cn=gn.getBoundingClientRect(),qn=document.documentElement;return{left:cn.left+(window.pageXOffset||qn.scrollLeft)-(qn.clientLeft||document.body.clientLeft||0),top:cn.top+(window.pageYOffset||qn.scrollTop)-(qn.clientTop||document.body.clientTop||0)}}var Xe=ae(18929),ut=ae(55311),ot=ae(8224),ht=ae(10228),Ct=ae(43403),He=ae(77900),ft=x.createContext(null),De=function(cn){var qn=cn.visible,hr=cn.maskTransitionName,ur=cn.getContainer,br=cn.prefixCls,ci=cn.rootClassName,Yr=cn.icons,yi=cn.countRender,Pi=cn.showSwitch,wi=cn.showProgress,Gr=cn.current,Ji=cn.transform,_i=cn.count,Zi=cn.scale,ki=cn.minScale,Mi=cn.maxScale,Fi=cn.closeIcon,lo=cn.onActive,Ki=cn.onClose,Do=cn.onZoomIn,eo=cn.onZoomOut,qo=cn.onRotateRight,wo=cn.onRotateLeft,no=cn.onFlipX,No=cn.onFlipY,Yo=cn.onReset,_o=cn.toolbarRender,Fo=cn.zIndex,pn=cn.image,Rr=(0,x.useContext)(ft),Jr=Yr.rotateLeft,Ai=Yr.rotateRight,Kr=Yr.zoomIn,Qi=Yr.zoomOut,oo=Yr.close,Ur=Yr.left,ti=Yr.right,Di=Yr.flipX,Ui=Yr.flipY,Uo="".concat(br,"-operations-operation");x.useEffect(function(){var ba=function(Bo){Bo.keyCode===ht.Z.ESC&&Ki()};return qn&&window.addEventListener("keydown",ba),function(){window.removeEventListener("keydown",ba)}},[qn]);var xa=function(Ua,Bo){Ua.preventDefault(),Ua.stopPropagation(),lo(Bo)},Wr=x.useCallback(function(ba){var Ua=ba.type,Bo=ba.disabled,bo=ba.onClick,Ra=ba.icon;return x.createElement("div",{key:Ua,className:qe()(Uo,"".concat(br,"-operations-operation-").concat(Ua),(0,Ue.Z)({},"".concat(br,"-operations-operation-disabled"),!!Bo)),onClick:bo},Ra)},[Uo,br]),fo=Pi?Wr({icon:Ur,onClick:function(Ua){return xa(Ua,-1)},type:"prev",disabled:Gr===0}):void 0,Oo=Pi?Wr({icon:ti,onClick:function(Ua){return xa(Ua,1)},type:"next",disabled:Gr===_i-1}):void 0,ta=Wr({icon:Ui,onClick:No,type:"flipY"}),Qo=Wr({icon:Di,onClick:no,type:"flipX"}),Jo=Wr({icon:Jr,onClick:wo,type:"rotateLeft"}),$o=Wr({icon:Ai,onClick:qo,type:"rotateRight"}),Sa=Wr({icon:Qi,onClick:eo,type:"zoomOut",disabled:Zi<=ki}),Ja=Wr({icon:Kr,onClick:Do,type:"zoomIn",disabled:Zi===Mi}),hs=x.createElement("div",{className:"".concat(br,"-operations")},ta,Qo,Jo,$o,Sa,Ja);return x.createElement(He.default,{visible:qn,motionName:hr},function(ba){var Ua=ba.className,Bo=ba.style;return x.createElement(Ct.Z,{open:!0,getContainer:ur!=null?ur:document.body},x.createElement("div",{className:qe()("".concat(br,"-operations-wrapper"),Ua,ci),style:(0,Fe.Z)((0,Fe.Z)({},Bo),{},{zIndex:Fo})},Fi===null?null:x.createElement("button",{className:"".concat(br,"-close"),onClick:Ki},Fi||oo),Pi&&x.createElement(x.Fragment,null,x.createElement("div",{className:qe()("".concat(br,"-switch-left"),(0,Ue.Z)({},"".concat(br,"-switch-left-disabled"),Gr===0)),onClick:function(Ra){return xa(Ra,-1)}},Ur),x.createElement("div",{className:qe()("".concat(br,"-switch-right"),(0,Ue.Z)({},"".concat(br,"-switch-right-disabled"),Gr===_i-1)),onClick:function(Ra){return xa(Ra,1)}},ti)),x.createElement("div",{className:"".concat(br,"-footer")},wi&&x.createElement("div",{className:"".concat(br,"-progress")},yi?yi(Gr+1,_i):"".concat(Gr+1," / ").concat(_i)),_o?_o(hs,(0,Fe.Z)((0,Fe.Z)({icons:{prevIcon:fo,nextIcon:Oo,flipYIcon:ta,flipXIcon:Qo,rotateLeftIcon:Jo,rotateRightIcon:$o,zoomOutIcon:Sa,zoomInIcon:Ja},actions:{onActive:lo,onFlipY:No,onFlipX:no,onRotateLeft:wo,onRotateRight:qo,onZoomOut:eo,onZoomIn:Do,onReset:Yo,onClose:Ki},transform:Ji},Rr?{current:Gr,total:_i}:{}),{},{image:pn})):hs)))})},_e=De,Ot=ae(13697),it=ae(16089),at={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Bt(gn,cn,qn,hr){var ur=(0,x.useRef)(null),br=(0,x.useRef)([]),ci=(0,x.useState)(at),Yr=(0,he.Z)(ci,2),yi=Yr[0],Pi=Yr[1],wi=function(Zi){Pi(at),(0,Ot.Z)(at,yi)||hr==null||hr({transform:at,action:Zi})},Gr=function(Zi,ki){ur.current===null&&(br.current=[],ur.current=(0,it.Z)(function(){Pi(function(Mi){var Fi=Mi;return br.current.forEach(function(lo){Fi=(0,Fe.Z)((0,Fe.Z)({},Fi),lo)}),ur.current=null,hr==null||hr({transform:Fi,action:ki}),Fi})})),br.current.push((0,Fe.Z)((0,Fe.Z)({},yi),Zi))},Ji=function(Zi,ki,Mi,Fi,lo){var Ki=gn.current,Do=Ki.width,eo=Ki.height,qo=Ki.offsetWidth,wo=Ki.offsetHeight,no=Ki.offsetLeft,No=Ki.offsetTop,Yo=Zi,_o=yi.scale*Zi;_o>qn?(_o=qn,Yo=qn/yi.scale):_ohr){if(cn>0)return(0,Ue.Z)({},gn,br);if(cn<0&&urhr)return(0,Ue.Z)({},gn,cn<0?br:-br);return{}}function ct(gn,cn,qn,hr){var ur=je(),br=ur.width,ci=ur.height,Yr=null;return gn<=br&&cn<=ci?Yr={x:0,y:0}:(gn>br||cn>ci)&&(Yr=(0,Fe.Z)((0,Fe.Z)({},Te("x",qn,gn,br)),Te("y",hr,cn,ci))),Yr}var Zt=1,zt=1;function tt(gn,cn,qn,hr,ur,br,ci){var Yr=ur.rotate,yi=ur.scale,Pi=ur.x,wi=ur.y,Gr=(0,x.useState)(!1),Ji=(0,he.Z)(Gr,2),_i=Ji[0],Zi=Ji[1],ki=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Mi=function(eo){!cn||eo.button!==0||(eo.preventDefault(),eo.stopPropagation(),ki.current={diffX:eo.pageX-Pi,diffY:eo.pageY-wi,transformX:Pi,transformY:wi},Zi(!0))},Fi=function(eo){qn&&_i&&br({x:eo.pageX-ki.current.diffX,y:eo.pageY-ki.current.diffY},"move")},lo=function(){if(qn&&_i){Zi(!1);var eo=ki.current,qo=eo.transformX,wo=eo.transformY,no=Pi!==qo&&wi!==wo;if(!no)return;var No=gn.current.offsetWidth*yi,Yo=gn.current.offsetHeight*yi,_o=gn.current.getBoundingClientRect(),Fo=_o.left,pn=_o.top,Rr=Yr%180!==0,Jr=ct(Rr?Yo:No,Rr?No:Yo,Fo,pn);Jr&&br((0,Fe.Z)({},Jr),"dragRebound")}},Ki=function(eo){if(!(!qn||eo.deltaY==0)){var qo=Math.abs(eo.deltaY/100),wo=Math.min(qo,zt),no=Zt+wo*hr;eo.deltaY>0&&(no=Zt/no),ci(no,"wheel",eo.clientX,eo.clientY)}};return(0,x.useEffect)(function(){var Do,eo,qo,wo;if(cn){qo=(0,ot.Z)(window,"mouseup",lo,!1),wo=(0,ot.Z)(window,"mousemove",Fi,!1);try{window.top!==window.self&&(Do=(0,ot.Z)(window.top,"mouseup",lo,!1),eo=(0,ot.Z)(window.top,"mousemove",Fi,!1))}catch(no){(0,We.Kp)(!1,"[rc-image] ".concat(no))}}return function(){var no,No,Yo,_o;(no=qo)===null||no===void 0||no.remove(),(No=wo)===null||No===void 0||No.remove(),(Yo=Do)===null||Yo===void 0||Yo.remove(),(_o=eo)===null||_o===void 0||_o.remove()}},[qn,_i,Pi,wi,Yr,cn]),{isMoving:_i,onMouseDown:Mi,onMouseMove:Fi,onMouseUp:lo,onWheel:Ki}}function Pt(gn){return new Promise(function(cn){if(!gn){cn(!1);return}var qn=document.createElement("img");qn.onerror=function(){return cn(!1)},qn.onload=function(){return cn(!0)},qn.src=gn})}function _t(gn){var cn=gn.src,qn=gn.isCustomPlaceholder,hr=gn.fallback,ur=(0,x.useState)(qn?"loading":"normal"),br=(0,he.Z)(ur,2),ci=br[0],Yr=br[1],yi=(0,x.useRef)(!1),Pi=ci==="error";(0,x.useEffect)(function(){var _i=!0;return Pt(cn).then(function(Zi){!Zi&&_i&&Yr("error")}),function(){_i=!1}},[cn]),(0,x.useEffect)(function(){qn&&!yi.current?Yr("loading"):Pi&&Yr("normal")},[cn]);var wi=function(){Yr("normal")},Gr=function(Zi){yi.current=!1,ci==="loading"&&Zi!==null&&Zi!==void 0&&Zi.complete&&(Zi.naturalWidth||Zi.naturalHeight)&&(yi.current=!0,wi())},Ji=Pi&&hr?{src:hr}:{onLoad:wi,src:cn};return[Gr,Ji,ci]}function fn(gn,cn){var qn=gn.x-cn.x,hr=gn.y-cn.y;return Math.hypot(qn,hr)}function Tt(gn,cn,qn,hr){var ur=fn(gn,qn),br=fn(cn,hr);if(ur===0&&br===0)return[gn.x,gn.y];var ci=ur/(ur+br),Yr=gn.x+ci*(cn.x-gn.x),yi=gn.y+ci*(cn.y-gn.y);return[Yr,yi]}function vn(gn,cn,qn,hr,ur,br,ci){var Yr=ur.rotate,yi=ur.scale,Pi=ur.x,wi=ur.y,Gr=(0,x.useState)(!1),Ji=(0,he.Z)(Gr,2),_i=Ji[0],Zi=Ji[1],ki=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Mi=function(eo){ki.current=(0,Fe.Z)((0,Fe.Z)({},ki.current),eo)},Fi=function(eo){if(cn){eo.stopPropagation(),Zi(!0);var qo=eo.touches,wo=qo===void 0?[]:qo;wo.length>1?Mi({point1:{x:wo[0].clientX,y:wo[0].clientY},point2:{x:wo[1].clientX,y:wo[1].clientY},eventType:"touchZoom"}):Mi({point1:{x:wo[0].clientX-Pi,y:wo[0].clientY-wi},eventType:"move"})}},lo=function(eo){var qo=eo.touches,wo=qo===void 0?[]:qo,no=ki.current,No=no.point1,Yo=no.point2,_o=no.eventType;if(wo.length>1&&_o==="touchZoom"){var Fo={x:wo[0].clientX,y:wo[0].clientY},pn={x:wo[1].clientX,y:wo[1].clientY},Rr=Tt(No,Yo,Fo,pn),Jr=(0,he.Z)(Rr,2),Ai=Jr[0],Kr=Jr[1],Qi=fn(Fo,pn)/fn(No,Yo);ci(Qi,"touchZoom",Ai,Kr,!0),Mi({point1:Fo,point2:pn,eventType:"touchZoom"})}else _o==="move"&&(br({x:wo[0].clientX-No.x,y:wo[0].clientY-No.y},"move"),Mi({eventType:"move"}))},Ki=function(){if(qn){if(_i&&Zi(!1),Mi({eventType:"none"}),hr>yi)return br({x:0,y:0,scale:hr},"touchZoom");var eo=gn.current.offsetWidth*yi,qo=gn.current.offsetHeight*yi,wo=gn.current.getBoundingClientRect(),no=wo.left,No=wo.top,Yo=Yr%180!==0,_o=ct(Yo?qo:eo,Yo?eo:qo,no,No);_o&&br((0,Fe.Z)({},_o),"dragRebound")}};return(0,x.useEffect)(function(){var Do;return qn&&cn&&(Do=(0,ot.Z)(window,"touchmove",function(eo){return eo.preventDefault()},{passive:!1})),function(){var eo;(eo=Do)===null||eo===void 0||eo.remove()}},[qn,cn]),{isTouching:_i,onTouchStart:Fi,onTouchMove:lo,onTouchEnd:Ki}}var kt=["fallback","src","imgRef"],Sn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],on=function(cn){var qn=cn.fallback,hr=cn.src,ur=cn.imgRef,br=(0,oe.Z)(cn,kt),ci=_t({src:hr,fallback:qn}),Yr=(0,he.Z)(ci,2),yi=Yr[0],Pi=Yr[1];return x.createElement("img",(0,ze.Z)({ref:function(Gr){ur.current=Gr,yi(Gr)}},br,Pi))},de=function(cn){var qn=cn.prefixCls,hr=cn.src,ur=cn.alt,br=cn.imageInfo,ci=cn.fallback,Yr=cn.movable,yi=Yr===void 0?!0:Yr,Pi=cn.onClose,wi=cn.visible,Gr=cn.icons,Ji=Gr===void 0?{}:Gr,_i=cn.rootClassName,Zi=cn.closeIcon,ki=cn.getContainer,Mi=cn.current,Fi=Mi===void 0?0:Mi,lo=cn.count,Ki=lo===void 0?1:lo,Do=cn.countRender,eo=cn.scaleStep,qo=eo===void 0?.5:eo,wo=cn.minScale,no=wo===void 0?1:wo,No=cn.maxScale,Yo=No===void 0?50:No,_o=cn.transitionName,Fo=_o===void 0?"zoom":_o,pn=cn.maskTransitionName,Rr=pn===void 0?"fade":pn,Jr=cn.imageRender,Ai=cn.imgCommonProps,Kr=cn.toolbarRender,Qi=cn.onTransform,oo=cn.onChange,Ur=(0,oe.Z)(cn,Sn),ti=(0,x.useRef)(),Di=(0,x.useContext)(ft),Ui=Di&&Ki>1,Uo=Di&&Ki>=1,xa=(0,x.useState)(!0),Wr=(0,he.Z)(xa,2),fo=Wr[0],Oo=Wr[1],ta=Bt(ti,no,Yo,Qi),Qo=ta.transform,Jo=ta.resetTransform,$o=ta.updateTransform,Sa=ta.dispatchZoomChange,Ja=tt(ti,yi,wi,qo,Qo,$o,Sa),hs=Ja.isMoving,ba=Ja.onMouseDown,Ua=Ja.onWheel,Bo=vn(ti,yi,wi,no,Qo,$o,Sa),bo=Bo.isTouching,Ra=Bo.onTouchStart,ns=Bo.onTouchMove,js=Bo.onTouchEnd,tl=Qo.rotate,nl=Qo.scale,au=qe()((0,Ue.Z)({},"".concat(qn,"-moving"),hs));(0,x.useEffect)(function(){fo||Oo(!0)},[fo]);var su=function(){Jo("close")},Fs=function(){Sa(Zt+qo,"zoomIn")},Rl=function(){Sa(Zt/(Zt+qo),"zoomOut")},Nu=function(){$o({rotate:tl+90},"rotateRight")},xu=function(){$o({rotate:tl-90},"rotateLeft")},pl=function(){$o({flipX:!Qo.flipX},"flipX")},Bu=function(){$o({flipY:!Qo.flipY},"flipY")},Dc=function(){Jo("reset")},pa=function(Va){var Zl=Fi+Va;!Number.isInteger(Zl)||Zl<0||Zl>Ki-1||(Oo(!1),Jo(Va<0?"prev":"next"),oo==null||oo(Zl,Fi))},ka=function(Va){!wi||!Ui||(Va.keyCode===ht.Z.LEFT?pa(-1):Va.keyCode===ht.Z.RIGHT&&pa(1))},ha=function(Va){wi&&(nl!==1?$o({x:0,y:0,scale:1},"doubleClick"):Sa(Zt+qo,"doubleClick",Va.clientX,Va.clientY))};(0,x.useEffect)(function(){var Ya=(0,ot.Z)(window,"keydown",ka,!1);return function(){Ya.remove()}},[wi,Ui,Fi]);var ma=x.createElement(on,(0,ze.Z)({},Ai,{width:cn.width,height:cn.height,imgRef:ti,className:"".concat(qn,"-img"),alt:ur,style:{transform:"translate3d(".concat(Qo.x,"px, ").concat(Qo.y,"px, 0) scale3d(").concat(Qo.flipX?"-":"").concat(nl,", ").concat(Qo.flipY?"-":"").concat(nl,", 1) rotate(").concat(tl,"deg)"),transitionDuration:(!fo||bo)&&"0s"},fallback:ci,src:hr,onWheel:Ua,onMouseDown:ba,onDoubleClick:ha,onTouchStart:Ra,onTouchMove:ns,onTouchEnd:js,onTouchCancel:js})),qa=(0,Fe.Z)({url:hr,alt:ur},br);return x.createElement(x.Fragment,null,x.createElement(ut.Z,(0,ze.Z)({transitionName:Fo,maskTransitionName:Rr,closable:!1,keyboard:!0,prefixCls:qn,onClose:Pi,visible:wi,classNames:{wrapper:au},rootClassName:_i,getContainer:ki},Ur,{afterClose:su}),x.createElement("div",{className:"".concat(qn,"-img-wrapper")},Jr?Jr(ma,(0,Fe.Z)({transform:Qo,image:qa},Di?{current:Fi}:{})):ma)),x.createElement(_e,{visible:wi,transform:Qo,maskTransitionName:Rr,closeIcon:Zi,getContainer:ki,prefixCls:qn,rootClassName:_i,icons:Ji,countRender:Do,showSwitch:Ui,showProgress:Uo,current:Fi,count:Ki,scale:nl,minScale:no,maxScale:Yo,toolbarRender:Kr,onActive:pa,onZoomIn:Fs,onZoomOut:Rl,onRotateRight:Nu,onRotateLeft:xu,onFlipX:pl,onFlipY:Bu,onClose:Pi,onReset:Dc,zIndex:Ur.zIndex!==void 0?Ur.zIndex+1:void 0,image:qa}))},ge=de,ie=ae(77654),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function se(gn){var cn=x.useState({}),qn=(0,he.Z)(cn,2),hr=qn[0],ur=qn[1],br=x.useCallback(function(Yr,yi){return ur(function(Pi){return(0,Fe.Z)((0,Fe.Z)({},Pi),{},(0,Ue.Z)({},Yr,yi))}),function(){ur(function(Pi){var wi=(0,Fe.Z)({},Pi);return delete wi[Yr],wi})}},[]),ci=x.useMemo(function(){return gn?gn.map(function(Yr){if(typeof Yr=="string")return{data:{src:Yr}};var yi={};return Object.keys(Yr).forEach(function(Pi){["src"].concat((0,ie.Z)(ee)).includes(Pi)&&(yi[Pi]=Yr[Pi])}),{data:yi}}):Object.keys(hr).reduce(function(Yr,yi){var Pi=hr[yi],wi=Pi.canPreview,Gr=Pi.data;return wi&&Yr.push({data:Gr,id:yi}),Yr},[])},[gn,hr]);return[ci,br,!!gn]}var le=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],Ve=function(cn){var qn,hr=cn.previewPrefixCls,ur=hr===void 0?"rc-image-preview":hr,br=cn.children,ci=cn.icons,Yr=ci===void 0?{}:ci,yi=cn.items,Pi=cn.preview,wi=cn.fallback,Gr=(0,xe.Z)(Pi)==="object"?Pi:{},Ji=Gr.visible,_i=Gr.onVisibleChange,Zi=Gr.getContainer,ki=Gr.current,Mi=Gr.movable,Fi=Gr.minScale,lo=Gr.maxScale,Ki=Gr.countRender,Do=Gr.closeIcon,eo=Gr.onChange,qo=Gr.onTransform,wo=Gr.toolbarRender,no=Gr.imageRender,No=(0,oe.Z)(Gr,le),Yo=se(yi),_o=(0,he.Z)(Yo,3),Fo=_o[0],pn=_o[1],Rr=_o[2],Jr=(0,Xe.Z)(0,{value:ki}),Ai=(0,he.Z)(Jr,2),Kr=Ai[0],Qi=Ai[1],oo=(0,x.useState)(!1),Ur=(0,he.Z)(oo,2),ti=Ur[0],Di=Ur[1],Ui=((qn=Fo[Kr])===null||qn===void 0?void 0:qn.data)||{},Uo=Ui.src,xa=(0,oe.Z)(Ui,Be),Wr=(0,Xe.Z)(!!Ji,{value:Ji,onChange:function(bo,Ra){_i==null||_i(bo,Ra,Kr)}}),fo=(0,he.Z)(Wr,2),Oo=fo[0],ta=fo[1],Qo=(0,x.useState)(null),Jo=(0,he.Z)(Qo,2),$o=Jo[0],Sa=Jo[1],Ja=x.useCallback(function(Bo,bo,Ra,ns){var js=Rr?Fo.findIndex(function(tl){return tl.data.src===bo}):Fo.findIndex(function(tl){return tl.id===Bo});Qi(js<0?0:js),ta(!0),Sa({x:Ra,y:ns}),Di(!0)},[Fo,Rr]);x.useEffect(function(){Oo?ti||Qi(0):Di(!1)},[Oo]);var hs=function(bo,Ra){Qi(bo),eo==null||eo(bo,Ra)},ba=function(){ta(!1),Sa(null)},Ua=x.useMemo(function(){return{register:pn,onPreview:Ja}},[pn,Ja]);return x.createElement(ft.Provider,{value:Ua},br,x.createElement(ge,(0,ze.Z)({"aria-hidden":!Oo,movable:Mi,visible:Oo,prefixCls:ur,closeIcon:Do,onClose:ba,mousePosition:$o,imgCommonProps:xa,src:Uo,fallback:wi,icons:Yr,minScale:Fi,maxScale:lo,getContainer:Zi,current:Kr,count:Fo.length,countRender:Ki,onTransform:qo,toolbarRender:wo,imageRender:no,onChange:hs},No)))},st=Ve,gt=0;function mt(gn,cn){var qn=x.useState(function(){return gt+=1,String(gt)}),hr=(0,he.Z)(qn,1),ur=hr[0],br=x.useContext(ft),ci={data:cn,canPreview:gn};return x.useEffect(function(){if(br)return br.register(ur,ci)},[]),x.useEffect(function(){br&&br.register(ur,ci)},[gn,cn]),ur}var St=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Dt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],jt=function(cn){var qn=cn.src,hr=cn.alt,ur=cn.onPreviewClose,br=cn.prefixCls,ci=br===void 0?"rc-image":br,Yr=cn.previewPrefixCls,yi=Yr===void 0?"".concat(ci,"-preview"):Yr,Pi=cn.placeholder,wi=cn.fallback,Gr=cn.width,Ji=cn.height,_i=cn.style,Zi=cn.preview,ki=Zi===void 0?!0:Zi,Mi=cn.className,Fi=cn.onClick,lo=cn.onError,Ki=cn.wrapperClassName,Do=cn.wrapperStyle,eo=cn.rootClassName,qo=(0,oe.Z)(cn,St),wo=Pi&&Pi!==!0,no=(0,xe.Z)(ki)==="object"?ki:{},No=no.src,Yo=no.visible,_o=Yo===void 0?void 0:Yo,Fo=no.onVisibleChange,pn=Fo===void 0?ur:Fo,Rr=no.getContainer,Jr=Rr===void 0?void 0:Rr,Ai=no.mask,Kr=no.maskClassName,Qi=no.movable,oo=no.icons,Ur=no.scaleStep,ti=no.minScale,Di=no.maxScale,Ui=no.imageRender,Uo=no.toolbarRender,xa=(0,oe.Z)(no,Dt),Wr=No!=null?No:qn,fo=(0,Xe.Z)(!!_o,{value:_o,onChange:pn}),Oo=(0,he.Z)(fo,2),ta=Oo[0],Qo=Oo[1],Jo=_t({src:qn,isCustomPlaceholder:wo,fallback:wi}),$o=(0,he.Z)(Jo,3),Sa=$o[0],Ja=$o[1],hs=$o[2],ba=(0,x.useState)(null),Ua=(0,he.Z)(ba,2),Bo=Ua[0],bo=Ua[1],Ra=(0,x.useContext)(ft),ns=!!ki,js=function(){Qo(!1),bo(null)},tl=qe()(ci,Ki,eo,(0,Ue.Z)({},"".concat(ci,"-error"),hs==="error")),nl=(0,x.useMemo)(function(){var Rl={};return ee.forEach(function(Nu){cn[Nu]!==void 0&&(Rl[Nu]=cn[Nu])}),Rl},ee.map(function(Rl){return cn[Rl]})),au=(0,x.useMemo)(function(){return(0,Fe.Z)((0,Fe.Z)({},nl),{},{src:Wr})},[Wr,nl]),su=mt(ns,au),Fs=function(Nu){var xu=Je(Nu.target),pl=xu.left,Bu=xu.top;Ra?Ra.onPreview(su,Wr,pl,Bu):(bo({x:pl,y:Bu}),Qo(!0)),Fi==null||Fi(Nu)};return x.createElement(x.Fragment,null,x.createElement("div",(0,ze.Z)({},qo,{className:tl,onClick:ns?Fs:Fi,style:(0,Fe.Z)({width:Gr,height:Ji},Do)}),x.createElement("img",(0,ze.Z)({},nl,{className:qe()("".concat(ci,"-img"),(0,Ue.Z)({},"".concat(ci,"-img-placeholder"),Pi===!0),Mi),style:(0,Fe.Z)({height:Ji},_i),ref:Sa},Ja,{width:Gr,height:Ji,onError:lo})),hs==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(ci,"-placeholder")},Pi),Ai&&ns&&x.createElement("div",{className:qe()("".concat(ci,"-mask"),Kr),style:{display:(_i==null?void 0:_i.display)==="none"?"none":void 0}},Ai)),!Ra&&ns&&x.createElement(ge,(0,ze.Z)({"aria-hidden":!ta,visible:ta,prefixCls:yi,onClose:js,mousePosition:Bo,src:Wr,alt:hr,imageInfo:{width:Gr,height:Ji},fallback:wi,getContainer:Jr,icons:oo,movable:Qi,scaleStep:Ur,minScale:ti,maxScale:Di,rootClassName:eo,imageRender:Ui,imgCommonProps:nl,toolbarRender:Uo},xa)))};jt.PreviewGroup=st;var xt=jt,lt=xt,Xt=ae(75030),Vt=ae(86641),wn=ae(48755),an=ae(83397),en=ae(9017),zn=ae(99267),In=ae(33853),Qt=ae(38819),sn={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"},Nn=sn,Vn=ae(7657),Lt=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Nn}))},Gt=x.forwardRef(Lt),nn=Gt,Cn={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"},Gn=Cn,Sr=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Gn}))},ii=x.forwardRef(Sr),si=ii,sr={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"},Lr=sr,Qn=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Lr}))},Hn=x.forwardRef(Qn),Jn=Hn,ir={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"},Zn=ir,Cr=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:Zn}))},Er=x.forwardRef(Cr),Nr=Er,pi={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"},di=pi,fi=function(cn,qn){return x.createElement(Vn.Z,(0,ze.Z)({},cn,{ref:qn,icon:di}))},Oi=x.forwardRef(fi),Ci=Oi,ro=ae(36237),Yi=ae(17835),or=ae(64427),Mr=ae(63356),gi=ae(34925),oi=ae(99495),un=ae(16931),bt=ae(51636);const Rt=gn=>({position:gn||"absolute",inset:0}),hn=gn=>{const{iconCls:cn,motionDurationSlow:qn,paddingXXS:hr,marginXXS:ur,prefixCls:br,colorTextLightSolid:ci}=gn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ci,background:new Yi.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${qn}`,[`.${br}-mask-info`]:Object.assign(Object.assign({},Mr.vS),{padding:`0 ${(0,ro.unit)(hr)}`,[cn]:{marginInlineEnd:ur,svg:{verticalAlign:"baseline"}}})}},Wt=gn=>{const{previewCls:cn,modalMaskBg:qn,paddingSM:hr,marginXL:ur,margin:br,paddingLG:ci,previewOperationColorDisabled:Yr,previewOperationHoverColor:yi,motionDurationSlow:Pi,iconCls:wi,colorTextLightSolid:Gr}=gn,Ji=new Yi.FastColor(qn).setA(.1),_i=Ji.clone().setA(.2);return{[`${cn}-footer`]:{position:"fixed",bottom:ur,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:gn.previewOperationColor,transform:"translateX(-50%)"},[`${cn}-progress`]:{marginBottom:br},[`${cn}-close`]:{position:"fixed",top:ur,right:{_skip_check_:!0,value:ur},display:"flex",color:Gr,backgroundColor:Ji.toRgbString(),borderRadius:"50%",padding:hr,outline:0,border:0,cursor:"pointer",transition:`all ${Pi}`,"&:hover":{backgroundColor:_i.toRgbString()},[`& > ${wi}`]:{fontSize:gn.previewOperationSize}},[`${cn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,ro.unit)(ci)}`,backgroundColor:Ji.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:hr,padding:hr,cursor:"pointer",transition:`all ${Pi}`,userSelect:"none",[`&:not(${cn}-operations-operation-disabled):hover > ${wi}`]:{color:yi},"&-disabled":{color:Yr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${wi}`]:{fontSize:gn.previewOperationSize}}}}},yn=gn=>{const{modalMaskBg:cn,iconCls:qn,previewOperationColorDisabled:hr,previewCls:ur,zIndexPopup:br,motionDurationSlow:ci}=gn,Yr=new Yi.FastColor(cn).setA(.1),yi=Yr.clone().setA(.2);return{[`${ur}-switch-left, ${ur}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:gn.calc(br).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:gn.imagePreviewSwitchSize,height:gn.imagePreviewSwitchSize,marginTop:gn.calc(gn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:gn.previewOperationColor,background:Yr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ci}`,userSelect:"none","&:hover":{background:yi.toRgbString()},"&-disabled":{"&, &:hover":{color:hr,background:"transparent",cursor:"not-allowed",[`> ${qn}`]:{cursor:"not-allowed"}}},[`> ${qn}`]:{fontSize:gn.previewOperationSize}},[`${ur}-switch-left`]:{insetInlineStart:gn.marginSM},[`${ur}-switch-right`]:{insetInlineEnd:gn.marginSM}}},On=gn=>{const{motionEaseOut:cn,previewCls:qn,motionDurationSlow:hr,componentCls:ur}=gn;return[{[`${ur}-preview-root`]:{[qn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${qn}-body`]:Object.assign(Object.assign({},Rt()),{overflow:"hidden"}),[`${qn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${hr} ${cn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Rt()),{transition:`transform ${hr} ${cn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${qn}-moving`]:{[`${qn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${ur}-preview-root`]:{[`${qn}-wrap`]:{zIndex:gn.zIndexPopup}}},{[`${ur}-preview-operations-wrapper`]:{position:"fixed",zIndex:gn.calc(gn.zIndexPopup).add(1).equal()},"&":[Wt(gn),yn(gn)]}]},jr=gn=>{const{componentCls:cn}=gn;return{[cn]:{position:"relative",display:"inline-block",[`${cn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${cn}-img-placeholder`]:{backgroundColor:gn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${cn}-mask`]:Object.assign({},hn(gn)),[`${cn}-mask:hover`]:{opacity:1},[`${cn}-placeholder`]:Object.assign({},Rt())}}},$r=gn=>{const{previewCls:cn}=gn;return{[`${cn}-root`]:(0,gi._y)(gn,"zoom"),"&":(0,oi.J$)(gn,!0)}},Xr=gn=>({zIndexPopup:gn.zIndexPopupBase+80,previewOperationColor:new Yi.FastColor(gn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Yi.FastColor(gn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Yi.FastColor(gn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:gn.fontSizeIcon*1.5});var dr=(0,un.I$)("Image",gn=>{const cn=`${gn.componentCls}-preview`,qn=(0,bt.mergeToken)(gn,{previewCls:cn,modalMaskBg:new Yi.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:gn.controlHeightLG});return[jr(qn),On(qn),(0,or.QA)((0,bt.mergeToken)(qn,{componentCls:cn})),$r(qn)]},Xr),lr=function(gn,cn){var qn={};for(var hr in gn)Object.prototype.hasOwnProperty.call(gn,hr)&&cn.indexOf(hr)<0&&(qn[hr]=gn[hr]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ur=0,hr=Object.getOwnPropertySymbols(gn);ur{var{previewPrefixCls:cn,preview:qn}=gn,hr=lr(gn,["previewPrefixCls","preview"]);const{getPrefixCls:ur}=x.useContext(wn.E_),br=ur("image",cn),ci=`${br}-preview`,Yr=ur(),yi=(0,an.Z)(br),[Pi,wi,Gr]=dr(br,yi),[Ji]=(0,Xt.Cn)("ImagePreview",typeof qn=="object"?qn.zIndex:void 0),_i=x.useMemo(()=>{var Zi;if(qn===!1)return qn;const ki=typeof qn=="object"?qn:{},Mi=qe()(wi,Gr,yi,(Zi=ki.rootClassName)!==null&&Zi!==void 0?Zi:"");return Object.assign(Object.assign({},ki),{transitionName:(0,Vt.m)(Yr,"zoom",ki.transitionName),maskTransitionName:(0,Vt.m)(Yr,"fade",ki.maskTransitionName),rootClassName:Mi,zIndex:Ji})},[qn]);return Pi(x.createElement(lt.PreviewGroup,Object.assign({preview:_i,previewPrefixCls:ci,icons:$n},hr)))},xi=function(gn,cn){var qn={};for(var hr in gn)Object.prototype.hasOwnProperty.call(gn,hr)&&cn.indexOf(hr)<0&&(qn[hr]=gn[hr]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ur=0,hr=Object.getOwnPropertySymbols(gn);ur{const{prefixCls:cn,preview:qn,className:hr,rootClassName:ur,style:br}=gn,ci=xi(gn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Yr,getPopupContainer:yi,className:Pi,style:wi,preview:Gr}=(0,wn.dj)("image"),[Ji]=(0,en.Z)("Image"),_i=Yr("image",cn),Zi=Yr(),ki=(0,an.Z)(_i),[Mi,Fi,lo]=dr(_i,ki),Ki=qe()(ur,Fi,lo,ki),Do=qe()(hr,Fi,Pi),[eo]=(0,Xt.Cn)("ImagePreview",typeof qn=="object"?qn.zIndex:void 0),qo=x.useMemo(()=>{if(qn===!1)return qn;const no=typeof qn=="object"?qn:{},{getContainer:No,closeIcon:Yo,rootClassName:_o}=no,Fo=xi(no,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${_i}-mask-info`},x.createElement(dt.Z,null),Ji==null?void 0:Ji.preview),icons:$n},Fo),{rootClassName:qe()(Ki,_o),getContainer:No!=null?No:yi,transitionName:(0,Vt.m)(Zi,"zoom",no.transitionName),maskTransitionName:(0,Vt.m)(Zi,"fade",no.maskTransitionName),zIndex:eo,closeIcon:Yo!=null?Yo:Gr==null?void 0:Gr.closeIcon})},[qn,Ji,Gr==null?void 0:Gr.closeIcon]),wo=Object.assign(Object.assign({},wi),br);return Mi(x.createElement(lt,Object.assign({prefixCls:_i,preview:qo,rootClassName:Ki,className:Do,style:wo},ci)))};nr.PreviewGroup=Ti;var fr=nr},4875:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Vn}});var x=ae(59301),dt=ae(84105),Ie=ae(87395),qe=ae(92310),ze=ae.n(qe),Fe=ae(60499),Ue=ae(18642),he=ae(43749),xe=ae(72190),oe=ae(42244),Ne=ae(38705),ve=ae(17212);function Re(){return typeof BigInt=="function"}function Se(Lt){return!Lt&&Lt!==0&&!Number.isNaN(Lt)||!String(Lt).trim()}function Oe(Lt){var Gt=Lt.trim(),nn=Gt.startsWith("-");nn&&(Gt=Gt.slice(1)),Gt=Gt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Gt.startsWith(".")&&(Gt="0".concat(Gt));var Cn=Gt||"0",Gn=Cn.split("."),Sr=Gn[0]||"0",ii=Gn[1]||"0";Sr==="0"&&ii==="0"&&(nn=!1);var si=nn?"-":"";return{negative:nn,negativeStr:si,trimStr:Cn,integerStr:Sr,decimalStr:ii,fullStr:"".concat(si).concat(Cn)}}function ye(Lt){var Gt=String(Lt);return!Number.isNaN(Number(Gt))&&Gt.includes("e")}function Ce(Lt){var Gt=String(Lt);if(ye(Lt)){var nn=Number(Gt.slice(Gt.indexOf("e-")+2)),Cn=Gt.match(/\.(\d+)/);return Cn!=null&&Cn[1]&&(nn+=Cn[1].length),nn}return Gt.includes(".")&&Me(Gt)?Gt.length-Gt.indexOf(".")-1:0}function Ee(Lt){var Gt=String(Lt);if(ye(Lt)){if(Lt>Number.MAX_SAFE_INTEGER)return String(Re()?BigInt(Lt).toString():Number.MAX_SAFE_INTEGER);if(Lt0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":Oe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Lt}(),je=function(){function Lt(Gt){if((0,Ne.Z)(this,Lt),(0,Ue.Z)(this,"origin",""),(0,Ue.Z)(this,"number",void 0),(0,Ue.Z)(this,"empty",void 0),Se(Gt)){this.empty=!0;return}this.origin=String(Gt),this.number=Number(Gt)}return(0,ve.Z)(Lt,[{key:"negate",value:function(){return new Lt(-this.toNumber())}},{key:"add",value:function(nn){if(this.isInvalidate())return new Lt(nn);var Cn=Number(nn);if(Number.isNaN(Cn))return this;var Gn=this.number+Cn;if(Gn>Number.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(GnNumber.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(Gn0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),Lt}();function Qe(Lt){return Re()?new Ke(Lt):new je(Lt)}function Je(Lt,Gt,nn){var Cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Lt==="")return"";var Gn=Oe(Lt),Sr=Gn.negativeStr,ii=Gn.integerStr,si=Gn.decimalStr,sr="".concat(Gt).concat(si),Lr="".concat(Sr).concat(ii);if(nn>=0){var Qn=Number(si[nn]);if(Qn>=5&&!Cn){var Hn=Qe(Lt).add("".concat(Sr,"0.").concat("0".repeat(nn)).concat(10-Qn));return Je(Hn.toString(),Gt,nn,Cn)}return nn===0?Lr:"".concat(Lr).concat(Gt).concat(si.padEnd(nn,"0").slice(0,nn))}return sr===".0"?Lr:"".concat(Lr).concat(sr)}var Xe=Qe,ut=ae(36901),ot=ae(34280);function ht(Lt,Gt){return typeof Proxy!="undefined"&&Lt?new Proxy(Lt,{get:function(Cn,Gn){if(Gt[Gn])return Gt[Gn];var Sr=Cn[Gn];return typeof Sr=="function"?Sr.bind(Cn):Sr}}):Lt}var Ct=ae(8654),He=ae(48736);function ft(Lt,Gt){var nn=(0,x.useRef)(null);function Cn(){try{var Sr=Lt.selectionStart,ii=Lt.selectionEnd,si=Lt.value,sr=si.substring(0,Sr),Lr=si.substring(ii);nn.current={start:Sr,end:ii,value:si,beforeTxt:sr,afterTxt:Lr}}catch(Qn){}}function Gn(){if(Lt&&nn.current&&Gt)try{var Sr=Lt.value,ii=nn.current,si=ii.beforeTxt,sr=ii.afterTxt,Lr=ii.start,Qn=Sr.length;if(Sr.startsWith(si))Qn=si.length;else if(Sr.endsWith(sr))Qn=Sr.length-nn.current.afterTxt.length;else{var Hn=si[Lr-1],Jn=Sr.indexOf(Hn,Lr-1);Jn!==-1&&(Qn=Jn+1)}Lt.setSelectionRange(Qn,Qn)}catch(ir){(0,He.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ir.message))}}return[Cn,Gn]}var De=ae(49658),_e=function(){var Gt=(0,x.useState)(!1),nn=(0,xe.Z)(Gt,2),Cn=nn[0],Gn=nn[1];return(0,ot.Z)(function(){Gn((0,De.Z)())},[]),Cn},Ot=_e,it=ae(16089),at=200,Bt=600;function We(Lt){var Gt=Lt.prefixCls,nn=Lt.upNode,Cn=Lt.downNode,Gn=Lt.upDisabled,Sr=Lt.downDisabled,ii=Lt.onStep,si=x.useRef(),sr=x.useRef([]),Lr=x.useRef();Lr.current=ii;var Qn=function(){clearTimeout(si.current)},Hn=function(di,fi){di.preventDefault(),Qn(),Lr.current(fi);function Oi(){Lr.current(fi),si.current=setTimeout(Oi,at)}si.current=setTimeout(Oi,Bt)};x.useEffect(function(){return function(){Qn(),sr.current.forEach(function(pi){return it.Z.cancel(pi)})}},[]);var Jn=Ot();if(Jn)return null;var ir="".concat(Gt,"-handler"),Zn=ze()(ir,"".concat(ir,"-up"),(0,Ue.Z)({},"".concat(ir,"-up-disabled"),Gn)),Cr=ze()(ir,"".concat(ir,"-down"),(0,Ue.Z)({},"".concat(ir,"-down-disabled"),Sr)),Er=function(){return sr.current.push((0,it.Z)(Qn))},Nr={unselectable:"on",role:"button",onMouseUp:Er,onMouseLeave:Er};return x.createElement("div",{className:"".concat(ir,"-wrap")},x.createElement("span",(0,Fe.Z)({},Nr,{onMouseDown:function(di){Hn(di,!0)},"aria-label":"Increase Value","aria-disabled":Gn,className:Zn}),nn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-up-inner")})),x.createElement("span",(0,Fe.Z)({},Nr,{onMouseDown:function(di){Hn(di,!1)},"aria-label":"Decrease Value","aria-disabled":Sr,className:Cr}),Cn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-down-inner")})))}function Te(Lt){var Gt=typeof Lt=="number"?Ee(Lt):Oe(Lt).fullStr,nn=Gt.includes(".");return nn?Oe(Gt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Lt+"0"}var ct=ae(30292),Zt=function(){var Lt=(0,x.useRef)(0),Gt=function(){it.Z.cancel(Lt.current)};return(0,x.useEffect)(function(){return Gt},[]),function(nn){Gt(),Lt.current=(0,it.Z)(function(){nn()})}},zt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],tt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Pt=function(Gt,nn){return Gt||nn.isEmpty()?nn.toString():nn.toNumber()},_t=function(Gt){var nn=Xe(Gt);return nn.isInvalidate()?null:nn},fn=x.forwardRef(function(Lt,Gt){var nn=Lt.prefixCls,Cn=Lt.className,Gn=Lt.style,Sr=Lt.min,ii=Lt.max,si=Lt.step,sr=si===void 0?1:si,Lr=Lt.defaultValue,Qn=Lt.value,Hn=Lt.disabled,Jn=Lt.readOnly,ir=Lt.upHandler,Zn=Lt.downHandler,Cr=Lt.keyboard,Er=Lt.changeOnWheel,Nr=Er===void 0?!1:Er,pi=Lt.controls,di=pi===void 0?!0:pi,fi=Lt.classNames,Oi=Lt.stringMode,Ci=Lt.parser,ro=Lt.formatter,Yi=Lt.precision,or=Lt.decimalSeparator,Mr=Lt.onChange,gi=Lt.onInput,oi=Lt.onPressEnter,un=Lt.onStep,bt=Lt.changeOnBlur,Rt=bt===void 0?!0:bt,hn=Lt.domRef,Wt=(0,oe.Z)(Lt,zt),yn="".concat(nn,"-input"),On=x.useRef(null),jr=x.useState(!1),$r=(0,xe.Z)(jr,2),Xr=$r[0],dr=$r[1],lr=x.useRef(!1),$n=x.useRef(!1),ei=x.useRef(!1),Ti=x.useState(function(){return Xe(Qn!=null?Qn:Lr)}),xi=(0,xe.Z)(Ti,2),nr=xi[0],fr=xi[1];function gn(Ai){Qn===void 0&&fr(Ai)}var cn=x.useCallback(function(Ai,Kr){if(!Kr)return Yi>=0?Yi:Math.max(Ce(Ai),Ce(sr))},[Yi,sr]),qn=x.useCallback(function(Ai){var Kr=String(Ai);if(Ci)return Ci(Kr);var Qi=Kr;return or&&(Qi=Qi.replace(or,".")),Qi.replace(/[^\w.-]+/g,"")},[Ci,or]),hr=x.useRef(""),ur=x.useCallback(function(Ai,Kr){if(ro)return ro(Ai,{userTyping:Kr,input:String(hr.current)});var Qi=typeof Ai=="number"?Ee(Ai):Ai;if(!Kr){var oo=cn(Qi,Kr);if(Me(Qi)&&(or||oo>=0)){var Ur=or||".";Qi=Je(Qi,Ur,oo)}}return Qi},[ro,cn,or]),br=x.useState(function(){var Ai=Lr!=null?Lr:Qn;return nr.isInvalidate()&&["string","number"].includes((0,he.Z)(Ai))?Number.isNaN(Ai)?"":Ai:ur(nr.toString(),!1)}),ci=(0,xe.Z)(br,2),Yr=ci[0],yi=ci[1];hr.current=Yr;function Pi(Ai,Kr){yi(ur(Ai.isInvalidate()?Ai.toString(!1):Ai.toString(!Kr),Kr))}var wi=x.useMemo(function(){return _t(ii)},[ii,Yi]),Gr=x.useMemo(function(){return _t(Sr)},[Sr,Yi]),Ji=x.useMemo(function(){return!wi||!nr||nr.isInvalidate()?!1:wi.lessEquals(nr)},[wi,nr]),_i=x.useMemo(function(){return!Gr||!nr||nr.isInvalidate()?!1:nr.lessEquals(Gr)},[Gr,nr]),Zi=ft(On.current,Xr),ki=(0,xe.Z)(Zi,2),Mi=ki[0],Fi=ki[1],lo=function(Kr){return wi&&!Kr.lessEquals(wi)?wi:Gr&&!Gr.lessEquals(Kr)?Gr:null},Ki=function(Kr){return!lo(Kr)},Do=function(Kr,Qi){var oo=Kr,Ur=Ki(oo)||oo.isEmpty();if(!oo.isEmpty()&&!Qi&&(oo=lo(oo)||oo,Ur=!0),!Jn&&!Hn&&Ur){var ti=oo.toString(),Di=cn(ti,Qi);return Di>=0&&(oo=Xe(Je(ti,".",Di)),Ki(oo)||(oo=Xe(Je(ti,".",Di,!0)))),oo.equals(nr)||(gn(oo),Mr==null||Mr(oo.isEmpty()?null:Pt(Oi,oo)),Qn===void 0&&Pi(oo,Qi)),oo}return nr},eo=Zt(),qo=function Ai(Kr){if(Mi(),hr.current=Kr,yi(Kr),!$n.current){var Qi=qn(Kr),oo=Xe(Qi);oo.isNaN()||Do(oo,!0)}gi==null||gi(Kr),eo(function(){var Ur=Kr;Ci||(Ur=Kr.replace(/。/g,".")),Ur!==Kr&&Ai(Ur)})},wo=function(){$n.current=!0},no=function(){$n.current=!1,qo(On.current.value)},No=function(Kr){qo(Kr.target.value)},Yo=function(Kr){var Qi;if(!(Kr&&Ji||!Kr&&_i)){lr.current=!1;var oo=Xe(ei.current?Te(sr):sr);Kr||(oo=oo.negate());var Ur=(nr||Xe(0)).add(oo.toString()),ti=Do(Ur,!1);un==null||un(Pt(Oi,ti),{offset:ei.current?Te(sr):sr,type:Kr?"up":"down"}),(Qi=On.current)===null||Qi===void 0||Qi.focus()}},_o=function(Kr){var Qi=Xe(qn(Yr)),oo;Qi.isNaN()?oo=Do(nr,Kr):oo=Do(Qi,Kr),Qn!==void 0?Pi(nr,!1):oo.isNaN()||Pi(oo,!1)},Fo=function(){lr.current=!0},pn=function(Kr){var Qi=Kr.key,oo=Kr.shiftKey;lr.current=!0,ei.current=oo,Qi==="Enter"&&($n.current||(lr.current=!1),_o(!1),oi==null||oi(Kr)),Cr!==!1&&!$n.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Qi)&&(Yo(Qi==="Up"||Qi==="ArrowUp"),Kr.preventDefault())},Rr=function(){lr.current=!1,ei.current=!1};x.useEffect(function(){if(Nr&&Xr){var Ai=function(oo){Yo(oo.deltaY<0),oo.preventDefault()},Kr=On.current;if(Kr)return Kr.addEventListener("wheel",Ai,{passive:!1}),function(){return Kr.removeEventListener("wheel",Ai)}}});var Jr=function(){Rt&&_o(!1),dr(!1),lr.current=!1};return(0,ot.o)(function(){nr.isInvalidate()||Pi(nr,!1)},[Yi,ro]),(0,ot.o)(function(){var Ai=Xe(Qn);fr(Ai);var Kr=Xe(qn(Yr));(!Ai.equals(Kr)||!lr.current||ro)&&Pi(Ai,lr.current)},[Qn]),(0,ot.o)(function(){ro&&Fi()},[Yr]),x.createElement("div",{ref:hn,className:ze()(nn,Cn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},"".concat(nn,"-focused"),Xr),"".concat(nn,"-disabled"),Hn),"".concat(nn,"-readonly"),Jn),"".concat(nn,"-not-a-number"),nr.isNaN()),"".concat(nn,"-out-of-range"),!nr.isInvalidate()&&!Ki(nr))),style:Gn,onFocus:function(){dr(!0)},onBlur:Jr,onKeyDown:pn,onKeyUp:Rr,onCompositionStart:wo,onCompositionEnd:no,onBeforeInput:Fo},di&&x.createElement(We,{prefixCls:nn,upNode:ir,downNode:Zn,upDisabled:Ji,downDisabled:_i,onStep:Yo}),x.createElement("div",{className:"".concat(yn,"-wrap")},x.createElement("input",(0,Fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Sr,"aria-valuemax":ii,"aria-valuenow":nr.isInvalidate()?null:nr.toString(),step:sr},Wt,{ref:(0,Ct.sQ)(On,Gt),className:yn,value:Yr,onChange:No,disabled:Hn,readOnly:Jn}))))}),Tt=x.forwardRef(function(Lt,Gt){var nn=Lt.disabled,Cn=Lt.style,Gn=Lt.prefixCls,Sr=Gn===void 0?"rc-input-number":Gn,ii=Lt.value,si=Lt.prefix,sr=Lt.suffix,Lr=Lt.addonBefore,Qn=Lt.addonAfter,Hn=Lt.className,Jn=Lt.classNames,ir=(0,oe.Z)(Lt,tt),Zn=x.useRef(null),Cr=x.useRef(null),Er=x.useRef(null),Nr=function(di){Er.current&&(0,ct.nH)(Er.current,di)};return x.useImperativeHandle(Gt,function(){return ht(Er.current,{focus:Nr,nativeElement:Zn.current.nativeElement||Cr.current})}),x.createElement(ut.BaseInput,{className:Hn,triggerFocus:Nr,prefixCls:Sr,value:ii,disabled:nn,style:Cn,prefix:si,suffix:sr,addonAfter:Qn,addonBefore:Lr,classNames:Jn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Zn},x.createElement(fn,(0,Fe.Z)({prefixCls:Sr,disabled:nn,ref:Er,domRef:Cr,className:Jn==null?void 0:Jn.input},ir)))}),vn=Tt,kt=vn,Sn=ae(62487),on=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),se=ae(31756),le=ae(56553),Be=ae(24971),Ve=ae(70045),st=ae(36237),gt=ae(53075),mt=ae(64910),St=ae(39082),Dt=ae(63356),jt=ae(56119),xt=ae(16931),lt=ae(51636),Xt=ae(17835);const Vt=Lt=>{var Gt;const nn=(Gt=Lt.handleVisible)!==null&&Gt!==void 0?Gt:"auto",Cn=Lt.controlHeightSM-Lt.lineWidth*2;return Object.assign(Object.assign({},(0,mt.T)(Lt)),{controlWidth:90,handleWidth:Cn,handleFontSize:Lt.fontSize/2,handleVisible:nn,handleActiveBg:Lt.colorFillAlter,handleBg:Lt.colorBgContainer,filledHandleBg:new Xt.FastColor(Lt.colorFillSecondary).onBackground(Lt.colorBgContainer).toHexString(),handleHoverColor:Lt.colorPrimary,handleBorderColor:Lt.colorBorder,handleOpacity:nn===!0?1:0,handleVisibleWidth:nn===!0?Cn:0})},wn=(Lt,Gt)=>{let{componentCls:nn,borderRadiusSM:Cn,borderRadiusLG:Gn}=Lt;const Sr=Gt==="lg"?Gn:Cn;return{[`&-${Gt}`]:{[`${nn}-handler-wrap`]:{borderStartEndRadius:Sr,borderEndEndRadius:Sr},[`${nn}-handler-up`]:{borderStartEndRadius:Sr},[`${nn}-handler-down`]:{borderEndEndRadius:Sr}}}},an=Lt=>{const{componentCls:Gt,lineWidth:nn,lineType:Cn,borderRadius:Gn,inputFontSizeSM:Sr,inputFontSizeLG:ii,controlHeightLG:si,controlHeightSM:sr,colorError:Lr,paddingInlineSM:Qn,paddingBlockSM:Hn,paddingBlockLG:Jn,paddingInlineLG:ir,colorTextDescription:Zn,motionDurationMid:Cr,handleHoverColor:Er,handleOpacity:Nr,paddingInline:pi,paddingBlock:di,handleBg:fi,handleActiveBg:Oi,colorTextDisabled:Ci,borderRadiusSM:ro,borderRadiusLG:Yi,controlWidth:or,handleBorderColor:Mr,filledHandleBg:gi,lineHeightLG:oi,calc:un}=Lt;return[{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,gt.ik)(Lt)),{display:"inline-block",width:or,margin:0,padding:0,borderRadius:Gn}),(0,St.qG)(Lt,{[`${Gt}-handler-wrap`]:{background:fi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}}})),(0,St.H8)(Lt,{[`${Gt}-handler-wrap`]:{background:gi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}},"&:focus-within":{[`${Gt}-handler-wrap`]:{background:fi}}})),(0,St.vc)(Lt,{[`${Gt}-handler-wrap`]:{background:fi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`}}})),(0,St.Mu)(Lt)),{"&-rtl":{direction:"rtl",[`${Gt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ii,lineHeight:oi,borderRadius:Yi,[`input${Gt}-input`]:{height:un(si).sub(un(nn).mul(2)).equal(),padding:`${(0,st.unit)(Jn)} ${(0,st.unit)(ir)}`}},"&-sm":{padding:0,fontSize:Sr,borderRadius:ro,[`input${Gt}-input`]:{height:un(sr).sub(un(nn).mul(2)).equal(),padding:`${(0,st.unit)(Hn)} ${(0,st.unit)(Qn)}`}},"&-out-of-range":{[`${Gt}-input-wrap`]:{input:{color:Lr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,gt.s7)(Lt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Gt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Gt}-group-addon`]:{borderRadius:Yi,fontSize:Lt.fontSizeLG}},"&-sm":{[`${Gt}-group-addon`]:{borderRadius:ro}}},(0,St.ir)(Lt)),(0,St.S5)(Lt)),{[`&:not(${Gt}-compact-first-item):not(${Gt}-compact-last-item)${Gt}-compact-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderRadius:0}},[`&:not(${Gt}-compact-last-item)${Gt}-compact-first-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Gt}-compact-first-item)${Gt}-compact-last-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Gt}-input`]:{cursor:"not-allowed"},[Gt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),{width:"100%",padding:`${(0,st.unit)(di)} ${(0,st.unit)(pi)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Gn,outline:0,transition:`all ${Cr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,gt.nz)(Lt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1}})},{[Gt]:Object.assign(Object.assign(Object.assign({[`${Gt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Lt.handleVisibleWidth,opacity:Nr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Gn,borderEndEndRadius:Gn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Cr}`,overflow:"hidden",[`${Gt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${Gt}-handler-up-inner, ${Gt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:Lt.handleFontSize}}},[`${Gt}-handler`]:{height:"50%",overflow:"hidden",color:Zn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,st.unit)(nn)} ${Cn} ${Mr}`,transition:`all ${Cr} linear`,"&:active":{background:Oi},"&:hover":{height:"60%",[` @@ -994,28 +994,28 @@ `]:{cursor:"not-allowed"},[` ${Gt}-handler-up-disabled:hover &-handler-up-inner, ${Gt}-handler-down-disabled:hover &-handler-down-inner - `]:{color:Ci}})}]},en=Lt=>{const{componentCls:Gt,paddingBlock:nn,paddingInline:Cn,inputAffixPadding:Gn,controlWidth:Sr,borderRadiusLG:ii,borderRadiusSM:si,paddingInlineLG:sr,paddingInlineSM:Lr,paddingBlockLG:_n,paddingBlockSM:Hn,motionDurationMid:Jn}=Lt;return{[`${Gt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Gt}-input`]:{padding:`${(0,st.unit)(nn)} 0`}},(0,gt.ik)(Lt)),{position:"relative",display:"inline-flex",alignItems:"center",width:Sr,padding:0,paddingInlineStart:Cn,"&-lg":{borderRadius:ii,paddingInlineStart:sr,[`input${Gt}-input`]:{padding:`${(0,st.unit)(_n)} 0`}},"&-sm":{borderRadius:si,paddingInlineStart:Lr,[`input${Gt}-input`]:{padding:`${(0,st.unit)(Hn)} 0`}},[`&:not(${Gt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Gt}-disabled`]:{background:"transparent"},[`> div${Gt}`]:{width:"100%",border:"none",outline:"none",[`&${Gt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Gt}-handler-wrap`]:{zIndex:2},[Gt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Gn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:Cn,marginInlineStart:Gn,transition:`margin ${Jn}`}},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1},[`&:not(${Gt}-affix-wrapper-without-controls):hover ${Gt}-suffix`]:{marginInlineEnd:Lt.calc(Lt.handleWidth).add(Cn).equal()}})}};var zn=(0,xt.I$)("InputNumber",Lt=>{const Gt=(0,lt.mergeToken)(Lt,(0,mt.e)(Lt));return[an(Gt),en(Gt),(0,Ht.c)(Gt)]},Vt,{unitless:{handleOpacity:!0}}),In=function(Lt,Gt){var nn={};for(var Cn in Lt)Object.prototype.hasOwnProperty.call(Lt,Cn)&&Gt.indexOf(Cn)<0&&(nn[Cn]=Lt[Cn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gn=0,Cn=Object.getOwnPropertySymbols(Lt);Gn{const{getPrefixCls:nn,direction:Cn}=x.useContext(de.E_),Gn=x.useRef(null);x.useImperativeHandle(Gt,()=>Gn.current);const{className:Sr,rootClassName:ii,size:si,disabled:sr,prefixCls:Lr,addonBefore:_n,addonAfter:Hn,prefix:Jn,suffix:ir,bordered:Zn,readOnly:Cr,status:Er,controls:Nr,variant:pi}=Lt,di=In(Lt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),fi=nn("input-number",Lr),Oi=(0,ee.Z)(fi),[Ci,ro,Yi]=zn(fi,Oi),{compactSize:or,compactItemClassnames:Mr}=(0,Ve.ri)(fi,Cn);let gi=x.createElement(Ie.Z,{className:`${fi}-handler-up-inner`}),oi=x.createElement(dt.Z,{className:`${fi}-handler-down-inner`});const un=typeof Nr=="boolean"?Nr:void 0;typeof Nr=="object"&&(gi=typeof Nr.upIcon=="undefined"?gi:x.createElement("span",{className:`${fi}-handler-up-inner`},Nr.upIcon),oi=typeof Nr.downIcon=="undefined"?oi:x.createElement("span",{className:`${fi}-handler-down-inner`},Nr.downIcon));const{hasFeedback:bt,status:Rt,isFormItemInput:fn,feedbackIcon:Wt}=x.useContext(le.aM),yn=(0,on.F)(Rt,Er),On=(0,se.Z)(xi=>{var nr;return(nr=si!=null?si:or)!==null&&nr!==void 0?nr:xi}),jr=x.useContext(ie.Z),$r=sr!=null?sr:jr,[Xr,dr]=(0,Be.Z)("inputNumber",pi,Zn),lr=bt&&x.createElement(x.Fragment,null,Wt),$n=ze()({[`${fi}-lg`]:On==="large",[`${fi}-sm`]:On==="small",[`${fi}-rtl`]:Cn==="rtl",[`${fi}-in-form-item`]:fn},ro),ei=`${fi}-group`,Ti=x.createElement(kt,Object.assign({ref:Gn,disabled:$r,className:ze()(Yi,Oi,Sr,ii,Mr),upHandler:gi,downHandler:oi,prefixCls:fi,readOnly:Cr,controls:un,prefix:Jn,suffix:lr||ir,addonBefore:_n&&x.createElement(Sn.Z,{form:!0,space:!0},_n),addonAfter:Hn&&x.createElement(Sn.Z,{form:!0,space:!0},Hn),classNames:{input:$n,variant:ze()({[`${fi}-${Xr}`]:dr},(0,on.Z)(fi,yn,bt)),affixWrapper:ze()({[`${fi}-affix-wrapper-sm`]:On==="small",[`${fi}-affix-wrapper-lg`]:On==="large",[`${fi}-affix-wrapper-rtl`]:Cn==="rtl",[`${fi}-affix-wrapper-without-controls`]:Nr===!1||$r},ro),wrapper:ze()({[`${ei}-rtl`]:Cn==="rtl"},ro),groupWrapper:ze()({[`${fi}-group-wrapper-sm`]:On==="small",[`${fi}-group-wrapper-lg`]:On==="large",[`${fi}-group-wrapper-rtl`]:Cn==="rtl",[`${fi}-group-wrapper-${Xr}`]:dr},(0,on.Z)(`${fi}-group-wrapper`,yn,bt),ro)}},di));return Ci(Ti)}),sn=Qt,Nn=Lt=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(Qt,Object.assign({},Lt)));sn._InternalPanelDoNotUseOrYouWillBeFired=Nn;var Vn=sn},49397:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return je}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(36901),ze=ae(8654),Fe=ae(62487),Ue=ae(86013),he=ae(82855),xe=ae(48755),oe=ae(2171),Ne=ae(83397),ve=ae(31756),Re=ae(56553),Se=ae(24971),Pe=ae(70045),ye=ae(23826),Ce=ae(53075);function Ee(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Me=function(_e,Je){var Xe={};for(var ut in _e)Object.prototype.hasOwnProperty.call(_e,ut)&&Je.indexOf(ut)<0&&(Xe[ut]=_e[ut]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ut=Object.getOwnPropertySymbols(_e);ot{const{prefixCls:Xe,bordered:ut=!0,status:ot,size:ht,disabled:Ct,onBlur:He,onFocus:ft,suffix:De,allowClear:Qe,addonAfter:Ot,addonBefore:it,className:at,style:Bt,styles:We,rootClassName:Te,onChange:ct,classNames:Zt,variant:jt}=_e,tt=Me(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Tt,direction:_t,allowClear:hn,autoComplete:Pt,className:vn,style:kt,classNames:Sn,styles:on}=(0,xe.dj)("input"),de=Tt("input",Xe),ge=(0,x.useRef)(null),ie=(0,Ne.Z)(de),[ee,se,le]=(0,Ce.TI)(de,Te),[Be]=(0,Ce.ZP)(de,ie),{compactSize:Ve,compactItemClassnames:st}=(0,Pe.ri)(de,_t),gt=(0,ve.Z)(Vn=>{var Lt;return(Lt=ht!=null?ht:Ve)!==null&&Lt!==void 0?Lt:Vn}),mt=x.useContext(oe.Z),St=Ct!=null?Ct:mt,{status:Dt,hasFeedback:Ht,feedbackIcon:xt}=(0,x.useContext)(Re.aM),lt=(0,he.F)(Dt,ot),Xt=Ee(_e)||!!Ht,Vt=(0,x.useRef)(Xt),wn=(0,ye.Z)(ge,!0),an=Vn=>{wn(),He==null||He(Vn)},en=Vn=>{wn(),ft==null||ft(Vn)},zn=Vn=>{wn(),ct==null||ct(Vn)},In=(Ht||De)&&x.createElement(x.Fragment,null,De,Ht&&xt),Qt=(0,Ue.Z)(Qe!=null?Qe:hn),[sn,Nn]=(0,Se.Z)("input",jt,ut);return ee(Be(x.createElement(qe.default,Object.assign({ref:(0,ze.sQ)(Je,ge),prefixCls:de,autoComplete:Pt},tt,{disabled:St,onBlur:an,onFocus:en,style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},on),We),suffix:In,allowClear:Qt,className:Ie()(at,Te,le,ie,st,vn),onChange:zn,addonBefore:it&&x.createElement(Fe.Z,{form:!0,space:!0},it),addonAfter:Ot&&x.createElement(Fe.Z,{form:!0,space:!0},Ot),classNames:Object.assign(Object.assign(Object.assign({},Zt),Sn),{input:Ie()({[`${de}-sm`]:gt==="small",[`${de}-lg`]:gt==="large",[`${de}-rtl`]:_t==="rtl"},Zt==null?void 0:Zt.input,Sn.input,se),variant:Ie()({[`${de}-${sn}`]:Nn},(0,he.Z)(de,lt)),affixWrapper:Ie()({[`${de}-affix-wrapper-sm`]:gt==="small",[`${de}-affix-wrapper-lg`]:gt==="large",[`${de}-affix-wrapper-rtl`]:_t==="rtl"},se),wrapper:Ie()({[`${de}-group-rtl`]:_t==="rtl"},se),groupWrapper:Ie()({[`${de}-group-wrapper-sm`]:gt==="small",[`${de}-group-wrapper-lg`]:gt==="large",[`${de}-group-wrapper-rtl`]:_t==="rtl",[`${de}-group-wrapper-${sn}`]:Nn},(0,he.Z)(`${de}-group-wrapper`,lt,Ht),se)})}))))})},79809:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Je}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(22711),ze=ae(86013),Fe=ae(82855),Ue=ae(48755),he=ae(2171),xe=ae(83397),oe=ae(31756),Ne=ae(56553),ve=ae(24971),Re=ae(70045),Se=ae(30292),Pe=ae(53075),ye=ae(16931),Ce=ae(51636),Ee=ae(64910);const Me=Xe=>{const{componentCls:ut,paddingLG:ot}=Xe,ht=`${ut}-textarea`;return{[`textarea${ut}`]:{maxWidth:"100%",height:"auto",minHeight:Xe.controlHeight,lineHeight:Xe.lineHeight,verticalAlign:"bottom",transition:`all ${Xe.motionDurationSlow}`,resize:"vertical",[`&${ut}-mouse-active`]:{transition:`all ${Xe.motionDurationSlow}, height 0s, width 0s`}},[`${ut}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ht]:{position:"relative","&-show-count":{[`> ${ut}`]:{height:"100%"},[`${ut}-data-count`]:{position:"absolute",bottom:Xe.calc(Xe.fontSize).mul(Xe.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Xe.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + `]:{color:Ci}})}]},en=Lt=>{const{componentCls:Gt,paddingBlock:nn,paddingInline:Cn,inputAffixPadding:Gn,controlWidth:Sr,borderRadiusLG:ii,borderRadiusSM:si,paddingInlineLG:sr,paddingInlineSM:Lr,paddingBlockLG:Qn,paddingBlockSM:Hn,motionDurationMid:Jn}=Lt;return{[`${Gt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Gt}-input`]:{padding:`${(0,st.unit)(nn)} 0`}},(0,gt.ik)(Lt)),{position:"relative",display:"inline-flex",alignItems:"center",width:Sr,padding:0,paddingInlineStart:Cn,"&-lg":{borderRadius:ii,paddingInlineStart:sr,[`input${Gt}-input`]:{padding:`${(0,st.unit)(Qn)} 0`}},"&-sm":{borderRadius:si,paddingInlineStart:Lr,[`input${Gt}-input`]:{padding:`${(0,st.unit)(Hn)} 0`}},[`&:not(${Gt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Gt}-disabled`]:{background:"transparent"},[`> div${Gt}`]:{width:"100%",border:"none",outline:"none",[`&${Gt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Gt}-handler-wrap`]:{zIndex:2},[Gt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Gn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:Cn,marginInlineStart:Gn,transition:`margin ${Jn}`}},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1},[`&:not(${Gt}-affix-wrapper-without-controls):hover ${Gt}-suffix`]:{marginInlineEnd:Lt.calc(Lt.handleWidth).add(Cn).equal()}})}};var zn=(0,xt.I$)("InputNumber",Lt=>{const Gt=(0,lt.mergeToken)(Lt,(0,mt.e)(Lt));return[an(Gt),en(Gt),(0,jt.c)(Gt)]},Vt,{unitless:{handleOpacity:!0}}),In=function(Lt,Gt){var nn={};for(var Cn in Lt)Object.prototype.hasOwnProperty.call(Lt,Cn)&&Gt.indexOf(Cn)<0&&(nn[Cn]=Lt[Cn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gn=0,Cn=Object.getOwnPropertySymbols(Lt);Gn{const{getPrefixCls:nn,direction:Cn}=x.useContext(de.E_),Gn=x.useRef(null);x.useImperativeHandle(Gt,()=>Gn.current);const{className:Sr,rootClassName:ii,size:si,disabled:sr,prefixCls:Lr,addonBefore:Qn,addonAfter:Hn,prefix:Jn,suffix:ir,bordered:Zn,readOnly:Cr,status:Er,controls:Nr,variant:pi}=Lt,di=In(Lt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),fi=nn("input-number",Lr),Oi=(0,ee.Z)(fi),[Ci,ro,Yi]=zn(fi,Oi),{compactSize:or,compactItemClassnames:Mr}=(0,Ve.ri)(fi,Cn);let gi=x.createElement(Ie.Z,{className:`${fi}-handler-up-inner`}),oi=x.createElement(dt.Z,{className:`${fi}-handler-down-inner`});const un=typeof Nr=="boolean"?Nr:void 0;typeof Nr=="object"&&(gi=typeof Nr.upIcon=="undefined"?gi:x.createElement("span",{className:`${fi}-handler-up-inner`},Nr.upIcon),oi=typeof Nr.downIcon=="undefined"?oi:x.createElement("span",{className:`${fi}-handler-down-inner`},Nr.downIcon));const{hasFeedback:bt,status:Rt,isFormItemInput:hn,feedbackIcon:Wt}=x.useContext(le.aM),yn=(0,on.F)(Rt,Er),On=(0,se.Z)(xi=>{var nr;return(nr=si!=null?si:or)!==null&&nr!==void 0?nr:xi}),jr=x.useContext(ie.Z),$r=sr!=null?sr:jr,[Xr,dr]=(0,Be.Z)("inputNumber",pi,Zn),lr=bt&&x.createElement(x.Fragment,null,Wt),$n=ze()({[`${fi}-lg`]:On==="large",[`${fi}-sm`]:On==="small",[`${fi}-rtl`]:Cn==="rtl",[`${fi}-in-form-item`]:hn},ro),ei=`${fi}-group`,Ti=x.createElement(kt,Object.assign({ref:Gn,disabled:$r,className:ze()(Yi,Oi,Sr,ii,Mr),upHandler:gi,downHandler:oi,prefixCls:fi,readOnly:Cr,controls:un,prefix:Jn,suffix:lr||ir,addonBefore:Qn&&x.createElement(Sn.Z,{form:!0,space:!0},Qn),addonAfter:Hn&&x.createElement(Sn.Z,{form:!0,space:!0},Hn),classNames:{input:$n,variant:ze()({[`${fi}-${Xr}`]:dr},(0,on.Z)(fi,yn,bt)),affixWrapper:ze()({[`${fi}-affix-wrapper-sm`]:On==="small",[`${fi}-affix-wrapper-lg`]:On==="large",[`${fi}-affix-wrapper-rtl`]:Cn==="rtl",[`${fi}-affix-wrapper-without-controls`]:Nr===!1||$r},ro),wrapper:ze()({[`${ei}-rtl`]:Cn==="rtl"},ro),groupWrapper:ze()({[`${fi}-group-wrapper-sm`]:On==="small",[`${fi}-group-wrapper-lg`]:On==="large",[`${fi}-group-wrapper-rtl`]:Cn==="rtl",[`${fi}-group-wrapper-${Xr}`]:dr},(0,on.Z)(`${fi}-group-wrapper`,yn,bt),ro)}},di));return Ci(Ti)}),sn=Qt,Nn=Lt=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(Qt,Object.assign({},Lt)));sn._InternalPanelDoNotUseOrYouWillBeFired=Nn;var Vn=sn},49397:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return je}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(36901),ze=ae(8654),Fe=ae(62487),Ue=ae(86013),he=ae(82855),xe=ae(48755),oe=ae(2171),Ne=ae(83397),ve=ae(31756),Re=ae(56553),Se=ae(24971),Oe=ae(70045),ye=ae(23826),Ce=ae(53075);function Ee(Qe){return!!(Qe.prefix||Qe.suffix||Qe.allowClear||Qe.showCount)}var Me=function(Qe,Je){var Xe={};for(var ut in Qe)Object.prototype.hasOwnProperty.call(Qe,ut)&&Je.indexOf(ut)<0&&(Xe[ut]=Qe[ut]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ut=Object.getOwnPropertySymbols(Qe);ot{const{prefixCls:Xe,bordered:ut=!0,status:ot,size:ht,disabled:Ct,onBlur:He,onFocus:ft,suffix:De,allowClear:_e,addonAfter:Ot,addonBefore:it,className:at,style:Bt,styles:We,rootClassName:Te,onChange:ct,classNames:Zt,variant:zt}=Qe,tt=Me(Qe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Pt,direction:_t,allowClear:fn,autoComplete:Tt,className:vn,style:kt,classNames:Sn,styles:on}=(0,xe.dj)("input"),de=Pt("input",Xe),ge=(0,x.useRef)(null),ie=(0,Ne.Z)(de),[ee,se,le]=(0,Ce.TI)(de,Te),[Be]=(0,Ce.ZP)(de,ie),{compactSize:Ve,compactItemClassnames:st}=(0,Oe.ri)(de,_t),gt=(0,ve.Z)(Vn=>{var Lt;return(Lt=ht!=null?ht:Ve)!==null&&Lt!==void 0?Lt:Vn}),mt=x.useContext(oe.Z),St=Ct!=null?Ct:mt,{status:Dt,hasFeedback:jt,feedbackIcon:xt}=(0,x.useContext)(Re.aM),lt=(0,he.F)(Dt,ot),Xt=Ee(Qe)||!!jt,Vt=(0,x.useRef)(Xt),wn=(0,ye.Z)(ge,!0),an=Vn=>{wn(),He==null||He(Vn)},en=Vn=>{wn(),ft==null||ft(Vn)},zn=Vn=>{wn(),ct==null||ct(Vn)},In=(jt||De)&&x.createElement(x.Fragment,null,De,jt&&xt),Qt=(0,Ue.Z)(_e!=null?_e:fn),[sn,Nn]=(0,Se.Z)("input",zt,ut);return ee(Be(x.createElement(qe.default,Object.assign({ref:(0,ze.sQ)(Je,ge),prefixCls:de,autoComplete:Tt},tt,{disabled:St,onBlur:an,onFocus:en,style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},on),We),suffix:In,allowClear:Qt,className:Ie()(at,Te,le,ie,st,vn),onChange:zn,addonBefore:it&&x.createElement(Fe.Z,{form:!0,space:!0},it),addonAfter:Ot&&x.createElement(Fe.Z,{form:!0,space:!0},Ot),classNames:Object.assign(Object.assign(Object.assign({},Zt),Sn),{input:Ie()({[`${de}-sm`]:gt==="small",[`${de}-lg`]:gt==="large",[`${de}-rtl`]:_t==="rtl"},Zt==null?void 0:Zt.input,Sn.input,se),variant:Ie()({[`${de}-${sn}`]:Nn},(0,he.Z)(de,lt)),affixWrapper:Ie()({[`${de}-affix-wrapper-sm`]:gt==="small",[`${de}-affix-wrapper-lg`]:gt==="large",[`${de}-affix-wrapper-rtl`]:_t==="rtl"},se),wrapper:Ie()({[`${de}-group-rtl`]:_t==="rtl"},se),groupWrapper:Ie()({[`${de}-group-wrapper-sm`]:gt==="small",[`${de}-group-wrapper-lg`]:gt==="large",[`${de}-group-wrapper-rtl`]:_t==="rtl",[`${de}-group-wrapper-${sn}`]:Nn},(0,he.Z)(`${de}-group-wrapper`,lt,jt),se)})}))))})},79809:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Je}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(22711),ze=ae(86013),Fe=ae(82855),Ue=ae(48755),he=ae(2171),xe=ae(83397),oe=ae(31756),Ne=ae(56553),ve=ae(24971),Re=ae(70045),Se=ae(30292),Oe=ae(53075),ye=ae(16931),Ce=ae(51636),Ee=ae(64910);const Me=Xe=>{const{componentCls:ut,paddingLG:ot}=Xe,ht=`${ut}-textarea`;return{[`textarea${ut}`]:{maxWidth:"100%",height:"auto",minHeight:Xe.controlHeight,lineHeight:Xe.lineHeight,verticalAlign:"bottom",transition:`all ${Xe.motionDurationSlow}`,resize:"vertical",[`&${ut}-mouse-active`]:{transition:`all ${Xe.motionDurationSlow}, height 0s, width 0s`}},[`${ut}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ht]:{position:"relative","&-show-count":{[`> ${ut}`]:{height:"100%"},[`${ut}-data-count`]:{position:"absolute",bottom:Xe.calc(Xe.fontSize).mul(Xe.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Xe.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${ut}, &-affix-wrapper${ht}-has-feedback ${ut} - `]:{paddingInlineEnd:ot},[`&-affix-wrapper${ut}-affix-wrapper`]:{padding:0,[`> textarea${ut}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Xe.calc(Xe.controlHeight).sub(Xe.calc(Xe.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${ut}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${ut}-clear-icon`]:{position:"absolute",insetInlineEnd:Xe.paddingInline,insetBlockStart:Xe.paddingXS},[`${ht}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Xe.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${ut}-affix-wrapper-sm`]:{[`${ut}-suffix`]:{[`${ut}-clear-icon`]:{insetInlineEnd:Xe.paddingInlineSM}}}}}};var Ke=(0,ye.I$)(["Input","TextArea"],Xe=>{const ut=(0,Ce.mergeToken)(Xe,(0,Ee.e)(Xe));return[Me(ut)]},Ee.T,{resetFont:!1}),je=function(Xe,ut){var ot={};for(var ht in Xe)Object.prototype.hasOwnProperty.call(Xe,ht)&&ut.indexOf(ht)<0&&(ot[ht]=Xe[ht]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ht=Object.getOwnPropertySymbols(Xe);Ct{var ot;const{prefixCls:ht,bordered:Ct=!0,size:He,disabled:ft,status:De,allowClear:Qe,classNames:Ot,rootClassName:it,className:at,style:Bt,styles:We,variant:Te,showCount:ct,onMouseDown:Zt,onResize:jt}=Xe,tt=je(Xe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Tt,direction:_t,allowClear:hn,autoComplete:Pt,className:vn,style:kt,classNames:Sn,styles:on}=(0,Ue.dj)("textArea"),de=x.useContext(he.Z),ge=ft!=null?ft:de,{status:ie,hasFeedback:ee,feedbackIcon:se}=x.useContext(Ne.aM),le=(0,Fe.F)(ie,De),Be=x.useRef(null);x.useImperativeHandle(ut,()=>{var Nn;return{resizableTextArea:(Nn=Be.current)===null||Nn===void 0?void 0:Nn.resizableTextArea,focus:Vn=>{var Lt,Gt;(0,Se.nH)((Gt=(Lt=Be.current)===null||Lt===void 0?void 0:Lt.resizableTextArea)===null||Gt===void 0?void 0:Gt.textArea,Vn)},blur:()=>{var Vn;return(Vn=Be.current)===null||Vn===void 0?void 0:Vn.blur()}}});const Ve=Tt("input",ht),st=(0,xe.Z)(Ve),[gt,mt,St]=(0,Pe.TI)(Ve,it),[Dt]=Ke(Ve,st),{compactSize:Ht,compactItemClassnames:xt}=(0,Re.ri)(Ve,_t),lt=(0,oe.Z)(Nn=>{var Vn;return(Vn=He!=null?He:Ht)!==null&&Vn!==void 0?Vn:Nn}),[Xt,Vt]=(0,ve.Z)("textArea",Te,Ct),wn=(0,ze.Z)(Qe!=null?Qe:hn),[an,en]=x.useState(!1),[zn,In]=x.useState(!1),Qt=Nn=>{en(!0),Zt==null||Zt(Nn);const Vn=()=>{en(!1),document.removeEventListener("mouseup",Vn)};document.addEventListener("mouseup",Vn)},sn=Nn=>{var Vn,Lt;if(jt==null||jt(Nn),an&&typeof getComputedStyle=="function"){const Gt=(Lt=(Vn=Be.current)===null||Vn===void 0?void 0:Vn.nativeElement)===null||Lt===void 0?void 0:Lt.querySelector("textarea");Gt&&getComputedStyle(Gt).resize==="both"&&In(!0)}};return gt(Dt(x.createElement(qe.default,Object.assign({autoComplete:Pt},tt,{style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},on),We),disabled:ge,allowClear:wn,className:Ie()(St,st,at,it,xt,vn,zn&&`${Ve}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ot),Sn),{textarea:Ie()({[`${Ve}-sm`]:lt==="small",[`${Ve}-lg`]:lt==="large"},mt,Ot==null?void 0:Ot.textarea,Sn.textarea,an&&`${Ve}-mouse-active`),variant:Ie()({[`${Ve}-${Xt}`]:Vt},(0,Fe.Z)(Ve,le)),affixWrapper:Ie()(`${Ve}-textarea-affix-wrapper`,{[`${Ve}-affix-wrapper-rtl`]:_t==="rtl",[`${Ve}-affix-wrapper-sm`]:lt==="small",[`${Ve}-affix-wrapper-lg`]:lt==="large",[`${Ve}-textarea-show-count`]:ct||((ot=Xe.count)===null||ot===void 0?void 0:ot.show)},mt)}),prefixCls:Ve,suffix:ee&&x.createElement("span",{className:`${Ve}-textarea-suffix`},se),showCount:ct,ref:Be,onResize:sn,onMouseDown:Qt}))))})},23826:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return dt}});var x=ae(59301);function dt(Ie,qe){const ze=(0,x.useRef)([]),Fe=()=>{ze.current.push(setTimeout(()=>{var Ue,he,xe,oe;!((Ue=Ie.current)===null||Ue===void 0)&&Ue.input&&((he=Ie.current)===null||he===void 0?void 0:he.input.getAttribute("type"))==="password"&&(!((xe=Ie.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((oe=Ie.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(qe&&Fe(),()=>ze.current.forEach(Ue=>{Ue&&clearTimeout(Ue)})),[]),Fe}},37568:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return Sn}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(48755),ze=ae(56553),Fe=ae(53075),he=on=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(qe.E_),{prefixCls:ie,className:ee}=on,se=de("input-group",ie),le=de("input"),[Be,Ve,st]=(0,Fe.ZP)(le),gt=Ie()(se,st,{[`${se}-lg`]:on.size==="large",[`${se}-sm`]:on.size==="small",[`${se}-compact`]:on.compact,[`${se}-rtl`]:ge==="rtl"},Ve,ee),mt=(0,x.useContext)(ze.aM),St=(0,x.useMemo)(()=>Object.assign(Object.assign({},mt),{isFormItemInput:!1}),[mt]);return Be(x.createElement("span",{className:gt,style:on.style,onMouseEnter:on.onMouseEnter,onMouseLeave:on.onMouseLeave,onFocus:on.onFocus,onBlur:on.onBlur},x.createElement(ze.aM.Provider,{value:St},on.children)))},xe=ae(49397),oe=ae(77654),Ne=ae(6089),ve=ae(26112),Re=ae(82855),Se=ae(31756),Pe=ae(16931),ye=ae(51636),Ce=ae(64910);const Ee=on=>{const{componentCls:de,paddingXS:ge}=on;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:on.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:on.calc(on.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:on.paddingXS}}}};var Me=(0,Pe.I$)(["Input","OTP"],on=>{const de=(0,ye.mergeToken)(on,(0,Ce.e)(on));return[Ee(de)]},Ce.T),Ke=ae(16089),je=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{value:ge,onChange:ie,onActiveChange:ee,index:se,mask:le}=on,Be=je(on,["value","onChange","onActiveChange","index","mask"]),Ve=ge&&typeof le=="string"?le:ge,st=Ht=>{ie(se,Ht.target.value)},gt=x.useRef(null);x.useImperativeHandle(de,()=>gt.current);const mt=()=>{(0,Ke.Z)(()=>{var Ht;const xt=(Ht=gt.current)===null||Ht===void 0?void 0:Ht.input;document.activeElement===xt&&xt&&xt.select()})},St=Ht=>{const{key:xt,ctrlKey:lt,metaKey:Xt}=Ht;xt==="ArrowLeft"?ee(se-1):xt==="ArrowRight"?ee(se+1):xt==="z"&&(lt||Xt)&&Ht.preventDefault(),mt()},Dt=Ht=>{Ht.key==="Backspace"&&!ge&&ee(se-1),mt()};return x.createElement(xe.Z,Object.assign({type:le===!0?"password":"text"},Be,{ref:gt,value:Ve,onInput:st,onFocus:mt,onKeyDown:St,onKeyUp:Dt,onMouseDown:mt,onMouseUp:mt}))}),Xe=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{index:de,prefixCls:ge,separator:ie}=on,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var Ct=x.forwardRef((on,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:se,value:le,onChange:Be,formatter:Ve,separator:st,variant:gt,disabled:mt,status:St,autoFocus:Dt,mask:Ht,type:xt,onInput:lt,inputMode:Xt}=on,Vt=Xe(on,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:wn,direction:an}=x.useContext(qe.E_),en=wn("otp",ge),zn=(0,ve.Z)(Vt,{aria:!0,data:!0,attr:!0}),[In,Qt,sn]=Me(en),Nn=(0,Se.Z)(Jn=>ee!=null?ee:Jn),Vn=x.useContext(ze.aM),Lt=(0,Re.F)(Vn.status,St),Gt=x.useMemo(()=>Object.assign(Object.assign({},Vn),{status:Lt,hasFeedback:!1,feedbackIcon:null}),[Vn,Lt]),nn=x.useRef(null),Cn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var Jn;(Jn=Cn.current[0])===null||Jn===void 0||Jn.focus()},blur:()=>{var Jn;for(let ir=0;irVe?Ve(Jn):Jn,[Sr,ii]=x.useState(()=>ut(Gn(se||"")));x.useEffect(()=>{le!==void 0&&ii(ut(le))},[le]);const si=(0,Ne.Z)(Jn=>{ii(Jn),lt&<(Jn),Be&&Jn.length===ie&&Jn.every(ir=>ir)&&Jn.some((ir,Zn)=>Sr[Zn]!==ir)&&Be(Jn.join(""))}),sr=(0,Ne.Z)((Jn,ir)=>{let Zn=(0,oe.Z)(Sr);for(let Er=0;Er=0&&!Zn[Er];Er-=1)Zn.pop();const Cr=Gn(Zn.map(Er=>Er||" ").join(""));return Zn=ut(Cr).map((Er,Nr)=>Er===" "&&!Zn[Nr]?Zn[Nr]:Er),Zn}),Lr=(Jn,ir)=>{var Zn;const Cr=sr(Jn,ir),Er=Math.min(Jn+ir.length,ie-1);Er!==Jn&&Cr[Jn]!==void 0&&((Zn=Cn.current[Er])===null||Zn===void 0||Zn.focus()),si(Cr)},_n=Jn=>{var ir;(ir=Cn.current[Jn])===null||ir===void 0||ir.focus()},Hn={variant:gt,disabled:mt,status:Lt,mask:Ht,type:xt,inputMode:Xt};return In(x.createElement("div",Object.assign({},zn,{ref:nn,className:Ie()(en,{[`${en}-sm`]:Nn==="small",[`${en}-lg`]:Nn==="large",[`${en}-rtl`]:an==="rtl"},sn,Qt)}),x.createElement(ze.aM.Provider,{value:Gt},Array.from({length:ie}).map((Jn,ir)=>{const Zn=`otp-${ir}`,Cr=Sr[ir]||"";return x.createElement(x.Fragment,{key:Zn},x.createElement(Je,Object.assign({ref:Er=>{Cn.current[ir]=Er},index:ir,size:Nn,htmlSize:1,className:`${en}-input`,onChange:Lr,value:Cr,onActiveChange:_n,autoFocus:ir===0&&Dt},Hn)),iron?x.createElement(ft.Z,null):x.createElement(He.Z,null),We={click:"onClick",hover:"onMouseOver"};var ct=x.forwardRef((on,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:se=Bt}=on,le=x.useContext(Ot.Z),Be=ge!=null?ge:le,Ve=typeof ee=="object"&&ee.visible!==void 0,[st,gt]=(0,x.useState)(()=>Ve?ee.visible:!1),mt=(0,x.useRef)(null);x.useEffect(()=>{Ve&>(ee.visible)},[Ve,ee]);const St=(0,it.Z)(mt),Dt=()=>{var Nn;if(Be)return;st&&St();const Vn=!st;gt(Vn),typeof ee=="object"&&((Nn=ee.onVisibleChange)===null||Nn===void 0||Nn.call(ee,Vn))},Ht=Nn=>{const Vn=We[ie]||"",Lt=se(st),Gt={[Vn]:Dt,className:`${Nn}-icon`,key:"passwordIcon",onMouseDown:nn=>{nn.preventDefault()},onMouseUp:nn=>{nn.preventDefault()}};return x.cloneElement(x.isValidElement(Lt)?Lt:x.createElement("span",null,Lt),Gt)},{className:xt,prefixCls:lt,inputPrefixCls:Xt,size:Vt}=on,wn=at(on,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:an}=x.useContext(qe.E_),en=an("input",Xt),zn=an("input-password",lt),In=ee&&Ht(zn),Qt=Ie()(zn,xt,{[`${zn}-${Vt}`]:!!Vt}),sn=Object.assign(Object.assign({},(0,De.Z)(wn,["suffix","iconRender","visibilityToggle"])),{type:st?"text":"password",className:Qt,prefixCls:en,suffix:In});return Vt&&(sn.size=Vt),x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(de,mt)},sn))}),Zt=ae(47472),jt=ae(22703),tt=ae(7939),Tt=ae(70045),_t=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:se,suffix:le,enterButton:Be=!1,addonAfter:Ve,loading:st,disabled:gt,onSearch:mt,onChange:St,onCompositionStart:Dt,onCompositionEnd:Ht}=on,xt=_t(on,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:lt,direction:Xt}=x.useContext(qe.E_),Vt=x.useRef(!1),wn=lt("input-search",ge),an=lt("input",ie),{compactSize:en}=(0,Tt.ri)(wn,Xt),zn=(0,Se.Z)(Lr=>{var _n;return(_n=se!=null?se:en)!==null&&_n!==void 0?_n:Lr}),In=x.useRef(null),Qt=Lr=>{Lr!=null&&Lr.target&&Lr.type==="click"&&mt&&mt(Lr.target.value,Lr,{source:"clear"}),St==null||St(Lr)},sn=Lr=>{var _n;document.activeElement===((_n=In.current)===null||_n===void 0?void 0:_n.input)&&Lr.preventDefault()},Nn=Lr=>{var _n,Hn;mt&&mt((Hn=(_n=In.current)===null||_n===void 0?void 0:_n.input)===null||Hn===void 0?void 0:Hn.value,Lr,{source:"input"})},Vn=Lr=>{Vt.current||st||Nn(Lr)},Lt=typeof Be=="boolean"?x.createElement(Zt.Z,null):null,Gt=`${wn}-button`;let nn;const Cn=Be||{},Gn=Cn.type&&Cn.type.__ANT_BUTTON===!0;Gn||Cn.type==="button"?nn=(0,jt.Tm)(Cn,Object.assign({onMouseDown:sn,onClick:Lr=>{var _n,Hn;(Hn=(_n=Cn==null?void 0:Cn.props)===null||_n===void 0?void 0:_n.onClick)===null||Hn===void 0||Hn.call(_n,Lr),Nn(Lr)},key:"enterButton"},Gn?{className:Gt,size:zn}:{})):nn=x.createElement(tt.ZP,{className:Gt,type:Be?"primary":void 0,size:zn,disabled:gt,key:"enterButton",onMouseDown:sn,onClick:Nn,loading:st,icon:Lt},Be),Ve&&(nn=[nn,(0,jt.Tm)(Ve,{key:"addonAfter"})]);const Sr=Ie()(wn,{[`${wn}-rtl`]:Xt==="rtl",[`${wn}-${zn}`]:!!zn,[`${wn}-with-button`]:!!Be},ee),ii=Object.assign(Object.assign({},xt),{className:Sr,prefixCls:an,type:"search"}),si=Lr=>{Vt.current=!0,Dt==null||Dt(Lr)},sr=Lr=>{Vt.current=!1,Ht==null||Ht(Lr)};return x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(In,de),onPressEnter:Vn},ii,{size:zn,onCompositionStart:si,onCompositionEnd:sr,addonAfter:nn,suffix:le,onChange:Qt,disabled:gt}))}),vn=ae(79809);const kt=xe.Z;kt.Group=he,kt.Search=Pt,kt.TextArea=vn.Z,kt.Password=ct,kt.OTP=Ct;var Sn=kt},24303:function(Yn,Ut,ae){"use strict";ae.d(Ut,{D:function(){return Xe},Z:function(){return ht}});var x=ae(59301),dt=ae(60499),Ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(He,ft){return x.createElement(ze.Z,(0,dt.Z)({},He,{ref:ft,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(33853),oe=ae(38819),Ne=ae(92310),ve=ae.n(Ne),Re=ae(2738),Se=ae(48755),Pe=ae(6989),ye=ae(36237),Ce=ae(48923),Ee=ae(16931);const Me=Ct=>{const{componentCls:He,siderBg:ft,motionDurationMid:De,motionDurationSlow:Qe,antCls:Ot,triggerHeight:it,triggerColor:at,triggerBg:Bt,headerHeight:We,zeroTriggerWidth:Te,zeroTriggerHeight:ct,borderRadiusLG:Zt,lightSiderBg:jt,lightTriggerColor:tt,lightTriggerBg:Tt,bodyBg:_t}=Ct;return{[He]:{position:"relative",minWidth:0,background:ft,transition:`all ${De}, background 0s`,"&-has-trigger":{paddingBottom:it},"&-right":{order:1},[`${He}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ot}-menu${Ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${He}-children`]:{overflow:"hidden"},[`${He}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:it,color:at,lineHeight:(0,ye.unit)(it),textAlign:"center",background:Bt,cursor:"pointer",transition:`all ${De}`},[`${He}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:Ct.calc(Te).mul(-1).equal(),zIndex:1,width:Te,height:ct,color:at,fontSize:Ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ft,borderRadius:`0 ${(0,ye.unit)(Zt)} ${(0,ye.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ct.calc(Te).mul(-1).equal(),borderRadius:`${(0,ye.unit)(Zt)} 0 0 ${(0,ye.unit)(Zt)}`}},"&-light":{background:jt,[`${He}-trigger`]:{color:tt,background:Tt},[`${He}-zero-width-trigger`]:{color:tt,background:Tt,border:`1px solid ${_t}`,borderInlineStart:0}}}}};var Ke=(0,Ee.I$)(["Layout","Sider"],Ct=>[Me(Ct)],Ce.eh,{deprecatedTokens:Ce.jn}),je=function(Ct,He){var ft={};for(var De in Ct)Object.prototype.hasOwnProperty.call(Ct,De)&&He.indexOf(De)<0&&(ft[De]=Ct[De]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,De=Object.getOwnPropertySymbols(Ct);Qe!Number.isNaN(Number.parseFloat(Ct))&&isFinite(Ct),Xe=x.createContext({}),ut=(()=>{let Ct=0;return function(){let He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ct+=1,`${He}${Ct}`}})();var ht=x.forwardRef((Ct,He)=>{const{prefixCls:ft,className:De,trigger:Qe,children:Ot,defaultCollapsed:it=!1,theme:at="dark",style:Bt={},collapsible:We=!1,reverseArrow:Te=!1,width:ct=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:jt,breakpoint:tt,onCollapse:Tt,onBreakpoint:_t}=Ct,hn=je(Ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Pt}=(0,x.useContext)(Pe.V),[vn,kt]=(0,x.useState)("collapsed"in Ct?Ct.collapsed:it),[Sn,on]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in Ct&&kt(Ct.collapsed)},[Ct.collapsed]);const de=(zn,In)=>{"collapsed"in Ct||kt(zn),Tt==null||Tt(zn,In)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Se.E_),ee=ge("layout-sider",ft),[se,le,Be]=Ke(ee),Ve=(0,x.useRef)(null);Ve.current=zn=>{on(zn.matches),_t==null||_t(zn.matches),vn!==zn.matches&&de(zn.matches,"responsive")},(0,x.useEffect)(()=>{function zn(Qt){return Ve.current(Qt)}let In;if(typeof window!="undefined"){const{matchMedia:Qt}=window;if(Qt&&tt&&tt in _e){In=Qt(`screen and (max-width: ${_e[tt]})`);try{In.addEventListener("change",zn)}catch(sn){In.addListener(zn)}zn(In)}}return()=>{try{In==null||In.removeEventListener("change",zn)}catch(Qt){In==null||In.removeListener(zn)}}},[tt]),(0,x.useEffect)(()=>{const zn=ut("ant-sider-");return Pt.addSider(zn),()=>Pt.removeSider(zn)},[]);const st=()=>{de(!vn,"clickTrigger")},gt=(0,Re.Z)(hn,["collapsed"]),mt=vn?Zt:ct,St=Je(mt)?`${mt}px`:String(mt),Dt=parseFloat(String(Zt||0))===0?x.createElement("span",{onClick:st,className:ve()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${Te?"right":"left"}`),style:jt},Qe||x.createElement(he,null)):null,Ht=ie==="rtl"==!Te,Xt={expanded:Ht?x.createElement(oe.Z,null):x.createElement(xe.Z,null),collapsed:Ht?x.createElement(xe.Z,null):x.createElement(oe.Z,null)}[vn?"collapsed":"expanded"],Vt=Qe!==null?Dt||x.createElement("div",{className:`${ee}-trigger`,onClick:st,style:{width:St}},Qe||Xt):null,wn=Object.assign(Object.assign({},Bt),{flex:`0 0 ${St}`,maxWidth:St,minWidth:St,width:St}),an=ve()(ee,`${ee}-${at}`,{[`${ee}-collapsed`]:!!vn,[`${ee}-has-trigger`]:We&&Qe!==null&&!Dt,[`${ee}-below`]:!!Sn,[`${ee}-zero-width`]:parseFloat(St)===0},De,le,Be),en=x.useMemo(()=>({siderCollapsed:vn}),[vn]);return se(x.createElement(Xe.Provider,{value:en},x.createElement("aside",Object.assign({className:an},gt,{style:wn,ref:He}),x.createElement("div",{className:`${ee}-children`},Ot),We||Sn&&Dt?Vt:null)))})},6989:function(Yn,Ut,ae){"use strict";ae.d(Ut,{V:function(){return dt}});var x=ae(59301);const dt=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Yn,Ut,ae){"use strict";ae.d(Ut,{eh:function(){return qe},jn:function(){return ze}});var x=ae(36237),dt=ae(16931);const Ie=Fe=>{const{antCls:Ue,componentCls:he,colorText:xe,footerBg:oe,headerHeight:Ne,headerPadding:ve,headerColor:Re,footerPadding:Se,fontSize:Pe,bodyBg:ye,headerBg:Ce}=Fe;return{[he]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ye,"&, *":{boxSizing:"border-box"},[`&${he}-has-sider`]:{flexDirection:"row",[`> ${he}, > ${he}-content`]:{width:0}},[`${he}-header, &${he}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${he}-header`]:{height:Ne,padding:ve,color:Re,lineHeight:(0,x.unit)(Ne),background:Ce,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${he}-footer`]:{padding:Se,color:xe,fontSize:Pe,background:oe},[`${he}-content`]:{flex:"auto",color:xe,minHeight:0}}},qe=Fe=>{const{colorBgLayout:Ue,controlHeight:he,controlHeightLG:xe,colorText:oe,controlHeightSM:Ne,marginXXS:ve,colorTextLightSolid:Re,colorBgContainer:Se}=Fe,Pe=xe*1.25;return{colorBgHeader:"#001529",colorBgBody:Ue,colorBgTrigger:"#002140",bodyBg:Ue,headerBg:"#001529",headerHeight:he*2,headerPadding:`0 ${Pe}px`,headerColor:oe,footerPadding:`${Ne}px ${Pe}px`,footerBg:Ue,siderBg:"#001529",triggerHeight:xe+ve*2,triggerBg:"#002140",triggerColor:Re,zeroTriggerWidth:xe,zeroTriggerHeight:xe,lightSiderBg:Se,lightTriggerBg:Se,lightTriggerColor:oe}},ze=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Ut.ZP=(0,dt.I$)("Layout",Fe=>[Ie(Fe)],qe,{deprecatedTokens:ze})},78857:function(Yn,Ut,ae){"use strict";ae.d(Ut,{J:function(){return Fe}});var x=ae(59301),dt=ae(8654),Ie=ae(62487),qe=function(Ue,he){var xe={};for(var oe in Ue)Object.prototype.hasOwnProperty.call(Ue,oe)&&he.indexOf(oe)<0&&(xe[oe]=Ue[oe]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,oe=Object.getOwnPropertySymbols(Ue);Ne{const{children:xe}=Ue,oe=qe(Ue,["children"]),Ne=x.useContext(ze),ve=x.useMemo(()=>Object.assign(Object.assign({},Ne),oe),[Ne,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Re=(0,dt.t4)(xe),Se=(0,dt.x1)(he,Re?(0,dt.C4)(xe):null);return x.createElement(ze.Provider,{value:ve},x.createElement(Ie.Z,{space:!0},Re?x.cloneElement(xe,{ref:Se}):xe))});Ut.Z=ze},93041:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return se}});var x=ae(59301),dt=ae(28321),Ie=ae(24303),qe=ae(18785),ze=ae(92310),Fe=ae.n(ze),Ue=ae(6089),he=ae(2738),xe=ae(86641),oe=ae(22703),Ne=ae(48755),ve=ae(83397),Se=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Pe=function(le,Be){var Ve={};for(var st in le)Object.prototype.hasOwnProperty.call(le,st)&&Be.indexOf(st)<0&&(Ve[st]=le[st]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(le);gt{const{prefixCls:Be,className:Ve,dashed:st}=le,gt=Pe(le,["prefixCls","className","dashed"]),{getPrefixCls:mt}=x.useContext(Ne.E_),St=mt("menu",Be),Dt=Fe()({[`${St}-item-divider-dashed`]:!!st},Ve);return x.createElement(dt.iz,Object.assign({className:Dt},gt))},Ee=ae(11592),Me=ae(25399),je=le=>{var Be;const{className:Ve,children:st,icon:gt,title:mt,danger:St,extra:Dt}=le,{prefixCls:Ht,firstLevel:xt,direction:lt,disableMenuItemTitleTooltip:Xt,inlineCollapsed:Vt}=x.useContext(Se),wn=sn=>{const Nn=st==null?void 0:st[0],Vn=x.createElement("span",{className:Fe()(`${Ht}-title-content`,{[`${Ht}-title-content-with-extra`]:!!Dt||Dt===0})},st);return(!gt||x.isValidElement(st)&&st.type==="span")&&st&&sn&&xt&&typeof Nn=="string"?x.createElement("div",{className:`${Ht}-inline-collapsed-noicon`},Nn.charAt(0)):Vn},{siderCollapsed:an}=x.useContext(Ie.D);let en=mt;typeof mt=="undefined"?en=xt?st:"":mt===!1&&(en="");const zn={title:en};!an&&!Vt&&(zn.title=null,zn.open=!1);const In=(0,Ee.Z)(st).length;let Qt=x.createElement(dt.ck,Object.assign({},(0,he.Z)(le,["title","icon","danger"]),{className:Fe()({[`${Ht}-item-danger`]:St,[`${Ht}-item-only-child`]:(gt?In+1:In)===1},Ve),title:typeof mt=="string"?mt:void 0}),(0,oe.Tm)(gt,{className:Fe()(x.isValidElement(gt)?(Be=gt.props)===null||Be===void 0?void 0:Be.className:"",`${Ht}-item-icon`)}),wn(Vt));return Xt||(Qt=x.createElement(Me.Z,Object.assign({},zn,{placement:lt==="rtl"?"left":"right",classNames:{root:`${Ht}-inline-collapsed-tooltip`}}),Qt)),Qt},_e=ae(78857),Je=ae(36237),Xe=ae(17835),ut=ae(63356),ot=ae(34961),ht=ae(46e3),Ct=ae(34925),He=ae(16931),ft=ae(51636),Qe=le=>{const{componentCls:Be,motionDurationSlow:Ve,horizontalLineHeight:st,colorSplit:gt,lineWidth:mt,lineType:St,itemPaddingInline:Dt}=le;return{[`${Be}-horizontal`]:{lineHeight:st,border:0,borderBottom:`${(0,Je.unit)(mt)} ${St} ${gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Dt},[`> ${Be}-item:hover, + `]:{paddingInlineEnd:ot},[`&-affix-wrapper${ut}-affix-wrapper`]:{padding:0,[`> textarea${ut}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Xe.calc(Xe.controlHeight).sub(Xe.calc(Xe.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${ut}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${ut}-clear-icon`]:{position:"absolute",insetInlineEnd:Xe.paddingInline,insetBlockStart:Xe.paddingXS},[`${ht}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Xe.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${ut}-affix-wrapper-sm`]:{[`${ut}-suffix`]:{[`${ut}-clear-icon`]:{insetInlineEnd:Xe.paddingInlineSM}}}}}};var Ke=(0,ye.I$)(["Input","TextArea"],Xe=>{const ut=(0,Ce.mergeToken)(Xe,(0,Ee.e)(Xe));return[Me(ut)]},Ee.T,{resetFont:!1}),je=function(Xe,ut){var ot={};for(var ht in Xe)Object.prototype.hasOwnProperty.call(Xe,ht)&&ut.indexOf(ht)<0&&(ot[ht]=Xe[ht]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ht=Object.getOwnPropertySymbols(Xe);Ct{var ot;const{prefixCls:ht,bordered:Ct=!0,size:He,disabled:ft,status:De,allowClear:_e,classNames:Ot,rootClassName:it,className:at,style:Bt,styles:We,variant:Te,showCount:ct,onMouseDown:Zt,onResize:zt}=Xe,tt=je(Xe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Pt,direction:_t,allowClear:fn,autoComplete:Tt,className:vn,style:kt,classNames:Sn,styles:on}=(0,Ue.dj)("textArea"),de=x.useContext(he.Z),ge=ft!=null?ft:de,{status:ie,hasFeedback:ee,feedbackIcon:se}=x.useContext(Ne.aM),le=(0,Fe.F)(ie,De),Be=x.useRef(null);x.useImperativeHandle(ut,()=>{var Nn;return{resizableTextArea:(Nn=Be.current)===null||Nn===void 0?void 0:Nn.resizableTextArea,focus:Vn=>{var Lt,Gt;(0,Se.nH)((Gt=(Lt=Be.current)===null||Lt===void 0?void 0:Lt.resizableTextArea)===null||Gt===void 0?void 0:Gt.textArea,Vn)},blur:()=>{var Vn;return(Vn=Be.current)===null||Vn===void 0?void 0:Vn.blur()}}});const Ve=Pt("input",ht),st=(0,xe.Z)(Ve),[gt,mt,St]=(0,Oe.TI)(Ve,it),[Dt]=Ke(Ve,st),{compactSize:jt,compactItemClassnames:xt}=(0,Re.ri)(Ve,_t),lt=(0,oe.Z)(Nn=>{var Vn;return(Vn=He!=null?He:jt)!==null&&Vn!==void 0?Vn:Nn}),[Xt,Vt]=(0,ve.Z)("textArea",Te,Ct),wn=(0,ze.Z)(_e!=null?_e:fn),[an,en]=x.useState(!1),[zn,In]=x.useState(!1),Qt=Nn=>{en(!0),Zt==null||Zt(Nn);const Vn=()=>{en(!1),document.removeEventListener("mouseup",Vn)};document.addEventListener("mouseup",Vn)},sn=Nn=>{var Vn,Lt;if(zt==null||zt(Nn),an&&typeof getComputedStyle=="function"){const Gt=(Lt=(Vn=Be.current)===null||Vn===void 0?void 0:Vn.nativeElement)===null||Lt===void 0?void 0:Lt.querySelector("textarea");Gt&&getComputedStyle(Gt).resize==="both"&&In(!0)}};return gt(Dt(x.createElement(qe.default,Object.assign({autoComplete:Tt},tt,{style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},on),We),disabled:ge,allowClear:wn,className:Ie()(St,st,at,it,xt,vn,zn&&`${Ve}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ot),Sn),{textarea:Ie()({[`${Ve}-sm`]:lt==="small",[`${Ve}-lg`]:lt==="large"},mt,Ot==null?void 0:Ot.textarea,Sn.textarea,an&&`${Ve}-mouse-active`),variant:Ie()({[`${Ve}-${Xt}`]:Vt},(0,Fe.Z)(Ve,le)),affixWrapper:Ie()(`${Ve}-textarea-affix-wrapper`,{[`${Ve}-affix-wrapper-rtl`]:_t==="rtl",[`${Ve}-affix-wrapper-sm`]:lt==="small",[`${Ve}-affix-wrapper-lg`]:lt==="large",[`${Ve}-textarea-show-count`]:ct||((ot=Xe.count)===null||ot===void 0?void 0:ot.show)},mt)}),prefixCls:Ve,suffix:ee&&x.createElement("span",{className:`${Ve}-textarea-suffix`},se),showCount:ct,ref:Be,onResize:sn,onMouseDown:Qt}))))})},23826:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return dt}});var x=ae(59301);function dt(Ie,qe){const ze=(0,x.useRef)([]),Fe=()=>{ze.current.push(setTimeout(()=>{var Ue,he,xe,oe;!((Ue=Ie.current)===null||Ue===void 0)&&Ue.input&&((he=Ie.current)===null||he===void 0?void 0:he.input.getAttribute("type"))==="password"&&(!((xe=Ie.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((oe=Ie.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(qe&&Fe(),()=>ze.current.forEach(Ue=>{Ue&&clearTimeout(Ue)})),[]),Fe}},37568:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return Sn}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(48755),ze=ae(56553),Fe=ae(53075),he=on=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(qe.E_),{prefixCls:ie,className:ee}=on,se=de("input-group",ie),le=de("input"),[Be,Ve,st]=(0,Fe.ZP)(le),gt=Ie()(se,st,{[`${se}-lg`]:on.size==="large",[`${se}-sm`]:on.size==="small",[`${se}-compact`]:on.compact,[`${se}-rtl`]:ge==="rtl"},Ve,ee),mt=(0,x.useContext)(ze.aM),St=(0,x.useMemo)(()=>Object.assign(Object.assign({},mt),{isFormItemInput:!1}),[mt]);return Be(x.createElement("span",{className:gt,style:on.style,onMouseEnter:on.onMouseEnter,onMouseLeave:on.onMouseLeave,onFocus:on.onFocus,onBlur:on.onBlur},x.createElement(ze.aM.Provider,{value:St},on.children)))},xe=ae(49397),oe=ae(77654),Ne=ae(6089),ve=ae(26112),Re=ae(82855),Se=ae(31756),Oe=ae(16931),ye=ae(51636),Ce=ae(64910);const Ee=on=>{const{componentCls:de,paddingXS:ge}=on;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:on.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:on.calc(on.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:on.paddingXS}}}};var Me=(0,Oe.I$)(["Input","OTP"],on=>{const de=(0,ye.mergeToken)(on,(0,Ce.e)(on));return[Ee(de)]},Ce.T),Ke=ae(16089),je=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{value:ge,onChange:ie,onActiveChange:ee,index:se,mask:le}=on,Be=je(on,["value","onChange","onActiveChange","index","mask"]),Ve=ge&&typeof le=="string"?le:ge,st=jt=>{ie(se,jt.target.value)},gt=x.useRef(null);x.useImperativeHandle(de,()=>gt.current);const mt=()=>{(0,Ke.Z)(()=>{var jt;const xt=(jt=gt.current)===null||jt===void 0?void 0:jt.input;document.activeElement===xt&&xt&&xt.select()})},St=jt=>{const{key:xt,ctrlKey:lt,metaKey:Xt}=jt;xt==="ArrowLeft"?ee(se-1):xt==="ArrowRight"?ee(se+1):xt==="z"&&(lt||Xt)&&jt.preventDefault(),mt()},Dt=jt=>{jt.key==="Backspace"&&!ge&&ee(se-1),mt()};return x.createElement(xe.Z,Object.assign({type:le===!0?"password":"text"},Be,{ref:gt,value:Ve,onInput:st,onFocus:mt,onKeyDown:St,onKeyUp:Dt,onMouseDown:mt,onMouseUp:mt}))}),Xe=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{index:de,prefixCls:ge,separator:ie}=on,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var Ct=x.forwardRef((on,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:se,value:le,onChange:Be,formatter:Ve,separator:st,variant:gt,disabled:mt,status:St,autoFocus:Dt,mask:jt,type:xt,onInput:lt,inputMode:Xt}=on,Vt=Xe(on,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:wn,direction:an}=x.useContext(qe.E_),en=wn("otp",ge),zn=(0,ve.Z)(Vt,{aria:!0,data:!0,attr:!0}),[In,Qt,sn]=Me(en),Nn=(0,Se.Z)(Jn=>ee!=null?ee:Jn),Vn=x.useContext(ze.aM),Lt=(0,Re.F)(Vn.status,St),Gt=x.useMemo(()=>Object.assign(Object.assign({},Vn),{status:Lt,hasFeedback:!1,feedbackIcon:null}),[Vn,Lt]),nn=x.useRef(null),Cn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var Jn;(Jn=Cn.current[0])===null||Jn===void 0||Jn.focus()},blur:()=>{var Jn;for(let ir=0;irVe?Ve(Jn):Jn,[Sr,ii]=x.useState(()=>ut(Gn(se||"")));x.useEffect(()=>{le!==void 0&&ii(ut(le))},[le]);const si=(0,Ne.Z)(Jn=>{ii(Jn),lt&<(Jn),Be&&Jn.length===ie&&Jn.every(ir=>ir)&&Jn.some((ir,Zn)=>Sr[Zn]!==ir)&&Be(Jn.join(""))}),sr=(0,Ne.Z)((Jn,ir)=>{let Zn=(0,oe.Z)(Sr);for(let Er=0;Er=0&&!Zn[Er];Er-=1)Zn.pop();const Cr=Gn(Zn.map(Er=>Er||" ").join(""));return Zn=ut(Cr).map((Er,Nr)=>Er===" "&&!Zn[Nr]?Zn[Nr]:Er),Zn}),Lr=(Jn,ir)=>{var Zn;const Cr=sr(Jn,ir),Er=Math.min(Jn+ir.length,ie-1);Er!==Jn&&Cr[Jn]!==void 0&&((Zn=Cn.current[Er])===null||Zn===void 0||Zn.focus()),si(Cr)},Qn=Jn=>{var ir;(ir=Cn.current[Jn])===null||ir===void 0||ir.focus()},Hn={variant:gt,disabled:mt,status:Lt,mask:jt,type:xt,inputMode:Xt};return In(x.createElement("div",Object.assign({},zn,{ref:nn,className:Ie()(en,{[`${en}-sm`]:Nn==="small",[`${en}-lg`]:Nn==="large",[`${en}-rtl`]:an==="rtl"},sn,Qt)}),x.createElement(ze.aM.Provider,{value:Gt},Array.from({length:ie}).map((Jn,ir)=>{const Zn=`otp-${ir}`,Cr=Sr[ir]||"";return x.createElement(x.Fragment,{key:Zn},x.createElement(Je,Object.assign({ref:Er=>{Cn.current[ir]=Er},index:ir,size:Nn,htmlSize:1,className:`${en}-input`,onChange:Lr,value:Cr,onActiveChange:Qn,autoFocus:ir===0&&Dt},Hn)),iron?x.createElement(ft.Z,null):x.createElement(He.Z,null),We={click:"onClick",hover:"onMouseOver"};var ct=x.forwardRef((on,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:se=Bt}=on,le=x.useContext(Ot.Z),Be=ge!=null?ge:le,Ve=typeof ee=="object"&&ee.visible!==void 0,[st,gt]=(0,x.useState)(()=>Ve?ee.visible:!1),mt=(0,x.useRef)(null);x.useEffect(()=>{Ve&>(ee.visible)},[Ve,ee]);const St=(0,it.Z)(mt),Dt=()=>{var Nn;if(Be)return;st&&St();const Vn=!st;gt(Vn),typeof ee=="object"&&((Nn=ee.onVisibleChange)===null||Nn===void 0||Nn.call(ee,Vn))},jt=Nn=>{const Vn=We[ie]||"",Lt=se(st),Gt={[Vn]:Dt,className:`${Nn}-icon`,key:"passwordIcon",onMouseDown:nn=>{nn.preventDefault()},onMouseUp:nn=>{nn.preventDefault()}};return x.cloneElement(x.isValidElement(Lt)?Lt:x.createElement("span",null,Lt),Gt)},{className:xt,prefixCls:lt,inputPrefixCls:Xt,size:Vt}=on,wn=at(on,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:an}=x.useContext(qe.E_),en=an("input",Xt),zn=an("input-password",lt),In=ee&&jt(zn),Qt=Ie()(zn,xt,{[`${zn}-${Vt}`]:!!Vt}),sn=Object.assign(Object.assign({},(0,De.Z)(wn,["suffix","iconRender","visibilityToggle"])),{type:st?"text":"password",className:Qt,prefixCls:en,suffix:In});return Vt&&(sn.size=Vt),x.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(de,mt)},sn))}),Zt=ae(47472),zt=ae(22703),tt=ae(7939),Pt=ae(70045),_t=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:se,suffix:le,enterButton:Be=!1,addonAfter:Ve,loading:st,disabled:gt,onSearch:mt,onChange:St,onCompositionStart:Dt,onCompositionEnd:jt}=on,xt=_t(on,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:lt,direction:Xt}=x.useContext(qe.E_),Vt=x.useRef(!1),wn=lt("input-search",ge),an=lt("input",ie),{compactSize:en}=(0,Pt.ri)(wn,Xt),zn=(0,Se.Z)(Lr=>{var Qn;return(Qn=se!=null?se:en)!==null&&Qn!==void 0?Qn:Lr}),In=x.useRef(null),Qt=Lr=>{Lr!=null&&Lr.target&&Lr.type==="click"&&mt&&mt(Lr.target.value,Lr,{source:"clear"}),St==null||St(Lr)},sn=Lr=>{var Qn;document.activeElement===((Qn=In.current)===null||Qn===void 0?void 0:Qn.input)&&Lr.preventDefault()},Nn=Lr=>{var Qn,Hn;mt&&mt((Hn=(Qn=In.current)===null||Qn===void 0?void 0:Qn.input)===null||Hn===void 0?void 0:Hn.value,Lr,{source:"input"})},Vn=Lr=>{Vt.current||st||Nn(Lr)},Lt=typeof Be=="boolean"?x.createElement(Zt.Z,null):null,Gt=`${wn}-button`;let nn;const Cn=Be||{},Gn=Cn.type&&Cn.type.__ANT_BUTTON===!0;Gn||Cn.type==="button"?nn=(0,zt.Tm)(Cn,Object.assign({onMouseDown:sn,onClick:Lr=>{var Qn,Hn;(Hn=(Qn=Cn==null?void 0:Cn.props)===null||Qn===void 0?void 0:Qn.onClick)===null||Hn===void 0||Hn.call(Qn,Lr),Nn(Lr)},key:"enterButton"},Gn?{className:Gt,size:zn}:{})):nn=x.createElement(tt.ZP,{className:Gt,type:Be?"primary":void 0,size:zn,disabled:gt,key:"enterButton",onMouseDown:sn,onClick:Nn,loading:st,icon:Lt},Be),Ve&&(nn=[nn,(0,zt.Tm)(Ve,{key:"addonAfter"})]);const Sr=Ie()(wn,{[`${wn}-rtl`]:Xt==="rtl",[`${wn}-${zn}`]:!!zn,[`${wn}-with-button`]:!!Be},ee),ii=Object.assign(Object.assign({},xt),{className:Sr,prefixCls:an,type:"search"}),si=Lr=>{Vt.current=!0,Dt==null||Dt(Lr)},sr=Lr=>{Vt.current=!1,jt==null||jt(Lr)};return x.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(In,de),onPressEnter:Vn},ii,{size:zn,onCompositionStart:si,onCompositionEnd:sr,addonAfter:nn,suffix:le,onChange:Qt,disabled:gt}))}),vn=ae(79809);const kt=xe.Z;kt.Group=he,kt.Search=Tt,kt.TextArea=vn.Z,kt.Password=ct,kt.OTP=Ct;var Sn=kt},24303:function(Yn,Ut,ae){"use strict";ae.d(Ut,{D:function(){return Xe},Z:function(){return ht}});var x=ae(59301),dt=ae(60499),Ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},qe=Ie,ze=ae(7657),Fe=function(He,ft){return x.createElement(ze.Z,(0,dt.Z)({},He,{ref:ft,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(33853),oe=ae(38819),Ne=ae(92310),ve=ae.n(Ne),Re=ae(2738),Se=ae(48755),Oe=ae(6989),ye=ae(36237),Ce=ae(48923),Ee=ae(16931);const Me=Ct=>{const{componentCls:He,siderBg:ft,motionDurationMid:De,motionDurationSlow:_e,antCls:Ot,triggerHeight:it,triggerColor:at,triggerBg:Bt,headerHeight:We,zeroTriggerWidth:Te,zeroTriggerHeight:ct,borderRadiusLG:Zt,lightSiderBg:zt,lightTriggerColor:tt,lightTriggerBg:Pt,bodyBg:_t}=Ct;return{[He]:{position:"relative",minWidth:0,background:ft,transition:`all ${De}, background 0s`,"&-has-trigger":{paddingBottom:it},"&-right":{order:1},[`${He}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ot}-menu${Ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${He}-children`]:{overflow:"hidden"},[`${He}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:it,color:at,lineHeight:(0,ye.unit)(it),textAlign:"center",background:Bt,cursor:"pointer",transition:`all ${De}`},[`${He}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:Ct.calc(Te).mul(-1).equal(),zIndex:1,width:Te,height:ct,color:at,fontSize:Ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ft,borderRadius:`0 ${(0,ye.unit)(Zt)} ${(0,ye.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${_e} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_e}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ct.calc(Te).mul(-1).equal(),borderRadius:`${(0,ye.unit)(Zt)} 0 0 ${(0,ye.unit)(Zt)}`}},"&-light":{background:zt,[`${He}-trigger`]:{color:tt,background:Pt},[`${He}-zero-width-trigger`]:{color:tt,background:Pt,border:`1px solid ${_t}`,borderInlineStart:0}}}}};var Ke=(0,Ee.I$)(["Layout","Sider"],Ct=>[Me(Ct)],Ce.eh,{deprecatedTokens:Ce.jn}),je=function(Ct,He){var ft={};for(var De in Ct)Object.prototype.hasOwnProperty.call(Ct,De)&&He.indexOf(De)<0&&(ft[De]=Ct[De]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,De=Object.getOwnPropertySymbols(Ct);_e!Number.isNaN(Number.parseFloat(Ct))&&isFinite(Ct),Xe=x.createContext({}),ut=(()=>{let Ct=0;return function(){let He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ct+=1,`${He}${Ct}`}})();var ht=x.forwardRef((Ct,He)=>{const{prefixCls:ft,className:De,trigger:_e,children:Ot,defaultCollapsed:it=!1,theme:at="dark",style:Bt={},collapsible:We=!1,reverseArrow:Te=!1,width:ct=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:zt,breakpoint:tt,onCollapse:Pt,onBreakpoint:_t}=Ct,fn=je(Ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Tt}=(0,x.useContext)(Oe.V),[vn,kt]=(0,x.useState)("collapsed"in Ct?Ct.collapsed:it),[Sn,on]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in Ct&&kt(Ct.collapsed)},[Ct.collapsed]);const de=(zn,In)=>{"collapsed"in Ct||kt(zn),Pt==null||Pt(zn,In)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Se.E_),ee=ge("layout-sider",ft),[se,le,Be]=Ke(ee),Ve=(0,x.useRef)(null);Ve.current=zn=>{on(zn.matches),_t==null||_t(zn.matches),vn!==zn.matches&&de(zn.matches,"responsive")},(0,x.useEffect)(()=>{function zn(Qt){return Ve.current(Qt)}let In;if(typeof window!="undefined"){const{matchMedia:Qt}=window;if(Qt&&tt&&tt in Qe){In=Qt(`screen and (max-width: ${Qe[tt]})`);try{In.addEventListener("change",zn)}catch(sn){In.addListener(zn)}zn(In)}}return()=>{try{In==null||In.removeEventListener("change",zn)}catch(Qt){In==null||In.removeListener(zn)}}},[tt]),(0,x.useEffect)(()=>{const zn=ut("ant-sider-");return Tt.addSider(zn),()=>Tt.removeSider(zn)},[]);const st=()=>{de(!vn,"clickTrigger")},gt=(0,Re.Z)(fn,["collapsed"]),mt=vn?Zt:ct,St=Je(mt)?`${mt}px`:String(mt),Dt=parseFloat(String(Zt||0))===0?x.createElement("span",{onClick:st,className:ve()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${Te?"right":"left"}`),style:zt},_e||x.createElement(he,null)):null,jt=ie==="rtl"==!Te,Xt={expanded:jt?x.createElement(oe.Z,null):x.createElement(xe.Z,null),collapsed:jt?x.createElement(xe.Z,null):x.createElement(oe.Z,null)}[vn?"collapsed":"expanded"],Vt=_e!==null?Dt||x.createElement("div",{className:`${ee}-trigger`,onClick:st,style:{width:St}},_e||Xt):null,wn=Object.assign(Object.assign({},Bt),{flex:`0 0 ${St}`,maxWidth:St,minWidth:St,width:St}),an=ve()(ee,`${ee}-${at}`,{[`${ee}-collapsed`]:!!vn,[`${ee}-has-trigger`]:We&&_e!==null&&!Dt,[`${ee}-below`]:!!Sn,[`${ee}-zero-width`]:parseFloat(St)===0},De,le,Be),en=x.useMemo(()=>({siderCollapsed:vn}),[vn]);return se(x.createElement(Xe.Provider,{value:en},x.createElement("aside",Object.assign({className:an},gt,{style:wn,ref:He}),x.createElement("div",{className:`${ee}-children`},Ot),We||Sn&&Dt?Vt:null)))})},6989:function(Yn,Ut,ae){"use strict";ae.d(Ut,{V:function(){return dt}});var x=ae(59301);const dt=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Yn,Ut,ae){"use strict";ae.d(Ut,{eh:function(){return qe},jn:function(){return ze}});var x=ae(36237),dt=ae(16931);const Ie=Fe=>{const{antCls:Ue,componentCls:he,colorText:xe,footerBg:oe,headerHeight:Ne,headerPadding:ve,headerColor:Re,footerPadding:Se,fontSize:Oe,bodyBg:ye,headerBg:Ce}=Fe;return{[he]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ye,"&, *":{boxSizing:"border-box"},[`&${he}-has-sider`]:{flexDirection:"row",[`> ${he}, > ${he}-content`]:{width:0}},[`${he}-header, &${he}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${he}-header`]:{height:Ne,padding:ve,color:Re,lineHeight:(0,x.unit)(Ne),background:Ce,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${he}-footer`]:{padding:Se,color:xe,fontSize:Oe,background:oe},[`${he}-content`]:{flex:"auto",color:xe,minHeight:0}}},qe=Fe=>{const{colorBgLayout:Ue,controlHeight:he,controlHeightLG:xe,colorText:oe,controlHeightSM:Ne,marginXXS:ve,colorTextLightSolid:Re,colorBgContainer:Se}=Fe,Oe=xe*1.25;return{colorBgHeader:"#001529",colorBgBody:Ue,colorBgTrigger:"#002140",bodyBg:Ue,headerBg:"#001529",headerHeight:he*2,headerPadding:`0 ${Oe}px`,headerColor:oe,footerPadding:`${Ne}px ${Oe}px`,footerBg:Ue,siderBg:"#001529",triggerHeight:xe+ve*2,triggerBg:"#002140",triggerColor:Re,zeroTriggerWidth:xe,zeroTriggerHeight:xe,lightSiderBg:Se,lightTriggerBg:Se,lightTriggerColor:oe}},ze=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Ut.ZP=(0,dt.I$)("Layout",Fe=>[Ie(Fe)],qe,{deprecatedTokens:ze})},78857:function(Yn,Ut,ae){"use strict";ae.d(Ut,{J:function(){return Fe}});var x=ae(59301),dt=ae(8654),Ie=ae(62487),qe=function(Ue,he){var xe={};for(var oe in Ue)Object.prototype.hasOwnProperty.call(Ue,oe)&&he.indexOf(oe)<0&&(xe[oe]=Ue[oe]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,oe=Object.getOwnPropertySymbols(Ue);Ne{const{children:xe}=Ue,oe=qe(Ue,["children"]),Ne=x.useContext(ze),ve=x.useMemo(()=>Object.assign(Object.assign({},Ne),oe),[Ne,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Re=(0,dt.t4)(xe),Se=(0,dt.x1)(he,Re?(0,dt.C4)(xe):null);return x.createElement(ze.Provider,{value:ve},x.createElement(Ie.Z,{space:!0},Re?x.cloneElement(xe,{ref:Se}):xe))});Ut.Z=ze},93041:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return se}});var x=ae(59301),dt=ae(28321),Ie=ae(24303),qe=ae(18785),ze=ae(92310),Fe=ae.n(ze),Ue=ae(6089),he=ae(2738),xe=ae(86641),oe=ae(22703),Ne=ae(48755),ve=ae(83397),Se=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Oe=function(le,Be){var Ve={};for(var st in le)Object.prototype.hasOwnProperty.call(le,st)&&Be.indexOf(st)<0&&(Ve[st]=le[st]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(le);gt{const{prefixCls:Be,className:Ve,dashed:st}=le,gt=Oe(le,["prefixCls","className","dashed"]),{getPrefixCls:mt}=x.useContext(Ne.E_),St=mt("menu",Be),Dt=Fe()({[`${St}-item-divider-dashed`]:!!st},Ve);return x.createElement(dt.iz,Object.assign({className:Dt},gt))},Ee=ae(11592),Me=ae(25399),je=le=>{var Be;const{className:Ve,children:st,icon:gt,title:mt,danger:St,extra:Dt}=le,{prefixCls:jt,firstLevel:xt,direction:lt,disableMenuItemTitleTooltip:Xt,inlineCollapsed:Vt}=x.useContext(Se),wn=sn=>{const Nn=st==null?void 0:st[0],Vn=x.createElement("span",{className:Fe()(`${jt}-title-content`,{[`${jt}-title-content-with-extra`]:!!Dt||Dt===0})},st);return(!gt||x.isValidElement(st)&&st.type==="span")&&st&&sn&&xt&&typeof Nn=="string"?x.createElement("div",{className:`${jt}-inline-collapsed-noicon`},Nn.charAt(0)):Vn},{siderCollapsed:an}=x.useContext(Ie.D);let en=mt;typeof mt=="undefined"?en=xt?st:"":mt===!1&&(en="");const zn={title:en};!an&&!Vt&&(zn.title=null,zn.open=!1);const In=(0,Ee.Z)(st).length;let Qt=x.createElement(dt.ck,Object.assign({},(0,he.Z)(le,["title","icon","danger"]),{className:Fe()({[`${jt}-item-danger`]:St,[`${jt}-item-only-child`]:(gt?In+1:In)===1},Ve),title:typeof mt=="string"?mt:void 0}),(0,oe.Tm)(gt,{className:Fe()(x.isValidElement(gt)?(Be=gt.props)===null||Be===void 0?void 0:Be.className:"",`${jt}-item-icon`)}),wn(Vt));return Xt||(Qt=x.createElement(Me.Z,Object.assign({},zn,{placement:lt==="rtl"?"left":"right",classNames:{root:`${jt}-inline-collapsed-tooltip`}}),Qt)),Qt},Qe=ae(78857),Je=ae(36237),Xe=ae(17835),ut=ae(63356),ot=ae(34961),ht=ae(46e3),Ct=ae(34925),He=ae(16931),ft=ae(51636),_e=le=>{const{componentCls:Be,motionDurationSlow:Ve,horizontalLineHeight:st,colorSplit:gt,lineWidth:mt,lineType:St,itemPaddingInline:Dt}=le;return{[`${Be}-horizontal`]:{lineHeight:st,border:0,borderBottom:`${(0,Je.unit)(mt)} ${St} ${gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Dt},[`> ${Be}-item:hover, > ${Be}-item-active, > ${Be}-submenu ${Be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Be}-item, ${Be}-submenu-title`]:{transition:[`border-color ${Ve}`,`background ${Ve}`].join(",")},[`${Be}-submenu-arrow`]:{display:"none"}}}},it=le=>{let{componentCls:Be,menuArrowOffset:Ve,calc:st}=le;return{[`${Be}-rtl`]:{direction:"rtl"},[`${Be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Be}-rtl${Be}-vertical, - ${Be}-submenu-rtl ${Be}-vertical`]:{[`${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(st(Ve).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Je.unit)(Ve)})`}}}}};const at=le=>Object.assign({},(0,ut.oN)(le));var We=(le,Be)=>{const{componentCls:Ve,itemColor:st,itemSelectedColor:gt,subMenuItemSelectedColor:mt,groupTitleColor:St,itemBg:Dt,subMenuItemBg:Ht,itemSelectedBg:xt,activeBarHeight:lt,activeBarWidth:Xt,activeBarBorderWidth:Vt,motionDurationSlow:wn,motionEaseInOut:an,motionEaseOut:en,itemPaddingInline:zn,motionDurationMid:In,itemHoverColor:Qt,lineType:sn,colorSplit:Nn,itemDisabledColor:Vn,dangerItemColor:Lt,dangerItemHoverColor:Gt,dangerItemSelectedColor:nn,dangerItemActiveBg:Cn,dangerItemSelectedBg:Gn,popupBg:Sr,itemHoverBg:ii,itemActiveBg:si,menuSubMenuBg:sr,horizontalItemSelectedColor:Lr,horizontalItemSelectedBg:_n,horizontalItemBorderRadius:Hn,horizontalItemHoverBg:Jn}=le;return{[`${Ve}-${Be}, ${Ve}-${Be} > ${Ve}`]:{color:st,background:Dt,[`&${Ve}-root:focus-visible`]:Object.assign({},at(le)),[`${Ve}-item`]:{"&-group-title, &-extra":{color:St}},[`${Ve}-submenu-selected > ${Ve}-submenu-title`]:{color:mt},[`${Ve}-item, ${Ve}-submenu-title`]:{color:st,[`&:not(${Ve}-item-disabled):focus-visible`]:Object.assign({},at(le))},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{color:`${Vn} !important`},[`${Ve}-item:not(${Ve}-item-selected):not(${Ve}-submenu-selected)`]:{[`&:hover, > ${Ve}-submenu-title:hover`]:{color:Qt}},[`&:not(${Ve}-horizontal)`]:{[`${Ve}-item:not(${Ve}-item-selected)`]:{"&:hover":{backgroundColor:ii},"&:active":{backgroundColor:si}},[`${Ve}-submenu-title`]:{"&:hover":{backgroundColor:ii},"&:active":{backgroundColor:si}}},[`${Ve}-item-danger`]:{color:Lt,[`&${Ve}-item:hover`]:{[`&:not(${Ve}-item-selected):not(${Ve}-submenu-selected)`]:{color:Gt}},[`&${Ve}-item:active`]:{background:Cn}},[`${Ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ve}-item-selected`]:{color:gt,[`&${Ve}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${Ve}-item-selected`]:{backgroundColor:xt,[`&${Ve}-item-danger`]:{backgroundColor:Gn}},[`&${Ve}-submenu > ${Ve}`]:{backgroundColor:sr},[`&${Ve}-popup > ${Ve}`]:{backgroundColor:Sr},[`&${Ve}-submenu-popup > ${Ve}`]:{backgroundColor:Sr},[`&${Ve}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${Ve}-item, > ${Ve}-submenu`]:{top:Vt,marginTop:le.calc(Vt).mul(-1).equal(),marginBottom:0,borderRadius:Hn,"&::after":{position:"absolute",insetInline:zn,bottom:0,borderBottom:`${(0,Je.unit)(lt)} solid transparent`,transition:`border-color ${wn} ${an}`,content:'""'},"&:hover, &-active, &-open":{background:Jn,"&::after":{borderBottomWidth:lt,borderBottomColor:Lr}},"&-selected":{color:Lr,backgroundColor:_n,"&:hover":{backgroundColor:_n},"&::after":{borderBottomWidth:lt,borderBottomColor:Lr}}}}),[`&${Ve}-root`]:{[`&${Ve}-inline, &${Ve}-vertical`]:{borderInlineEnd:`${(0,Je.unit)(Vt)} ${sn} ${Nn}`}},[`&${Ve}-inline`]:{[`${Ve}-sub${Ve}-inline`]:{background:Ht},[`${Ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Je.unit)(Xt)} solid ${gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${In} ${en}`,`opacity ${In} ${en}`].join(","),content:'""'},[`&${Ve}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${Ve}-selected, ${Ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${In} ${an}`,`opacity ${In} ${an}`].join(",")}}}}}};const Te=le=>{const{componentCls:Be,itemHeight:Ve,itemMarginInline:st,padding:gt,menuArrowSize:mt,marginXS:St,itemMarginBlock:Dt,itemWidth:Ht,itemPaddingInline:xt}=le,lt=le.calc(mt).add(gt).add(St).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:Ve,lineHeight:(0,Je.unit)(Ve),paddingInline:xt,overflow:"hidden",textOverflow:"ellipsis",marginInline:st,marginBlock:Dt,width:Ht},[`> ${Be}-item, + ${Be}-submenu-rtl ${Be}-vertical`]:{[`${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(st(Ve).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Je.unit)(Ve)})`}}}}};const at=le=>Object.assign({},(0,ut.oN)(le));var We=(le,Be)=>{const{componentCls:Ve,itemColor:st,itemSelectedColor:gt,subMenuItemSelectedColor:mt,groupTitleColor:St,itemBg:Dt,subMenuItemBg:jt,itemSelectedBg:xt,activeBarHeight:lt,activeBarWidth:Xt,activeBarBorderWidth:Vt,motionDurationSlow:wn,motionEaseInOut:an,motionEaseOut:en,itemPaddingInline:zn,motionDurationMid:In,itemHoverColor:Qt,lineType:sn,colorSplit:Nn,itemDisabledColor:Vn,dangerItemColor:Lt,dangerItemHoverColor:Gt,dangerItemSelectedColor:nn,dangerItemActiveBg:Cn,dangerItemSelectedBg:Gn,popupBg:Sr,itemHoverBg:ii,itemActiveBg:si,menuSubMenuBg:sr,horizontalItemSelectedColor:Lr,horizontalItemSelectedBg:Qn,horizontalItemBorderRadius:Hn,horizontalItemHoverBg:Jn}=le;return{[`${Ve}-${Be}, ${Ve}-${Be} > ${Ve}`]:{color:st,background:Dt,[`&${Ve}-root:focus-visible`]:Object.assign({},at(le)),[`${Ve}-item`]:{"&-group-title, &-extra":{color:St}},[`${Ve}-submenu-selected > ${Ve}-submenu-title`]:{color:mt},[`${Ve}-item, ${Ve}-submenu-title`]:{color:st,[`&:not(${Ve}-item-disabled):focus-visible`]:Object.assign({},at(le))},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{color:`${Vn} !important`},[`${Ve}-item:not(${Ve}-item-selected):not(${Ve}-submenu-selected)`]:{[`&:hover, > ${Ve}-submenu-title:hover`]:{color:Qt}},[`&:not(${Ve}-horizontal)`]:{[`${Ve}-item:not(${Ve}-item-selected)`]:{"&:hover":{backgroundColor:ii},"&:active":{backgroundColor:si}},[`${Ve}-submenu-title`]:{"&:hover":{backgroundColor:ii},"&:active":{backgroundColor:si}}},[`${Ve}-item-danger`]:{color:Lt,[`&${Ve}-item:hover`]:{[`&:not(${Ve}-item-selected):not(${Ve}-submenu-selected)`]:{color:Gt}},[`&${Ve}-item:active`]:{background:Cn}},[`${Ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ve}-item-selected`]:{color:gt,[`&${Ve}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${Ve}-item-selected`]:{backgroundColor:xt,[`&${Ve}-item-danger`]:{backgroundColor:Gn}},[`&${Ve}-submenu > ${Ve}`]:{backgroundColor:sr},[`&${Ve}-popup > ${Ve}`]:{backgroundColor:Sr},[`&${Ve}-submenu-popup > ${Ve}`]:{backgroundColor:Sr},[`&${Ve}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${Ve}-item, > ${Ve}-submenu`]:{top:Vt,marginTop:le.calc(Vt).mul(-1).equal(),marginBottom:0,borderRadius:Hn,"&::after":{position:"absolute",insetInline:zn,bottom:0,borderBottom:`${(0,Je.unit)(lt)} solid transparent`,transition:`border-color ${wn} ${an}`,content:'""'},"&:hover, &-active, &-open":{background:Jn,"&::after":{borderBottomWidth:lt,borderBottomColor:Lr}},"&-selected":{color:Lr,backgroundColor:Qn,"&:hover":{backgroundColor:Qn},"&::after":{borderBottomWidth:lt,borderBottomColor:Lr}}}}),[`&${Ve}-root`]:{[`&${Ve}-inline, &${Ve}-vertical`]:{borderInlineEnd:`${(0,Je.unit)(Vt)} ${sn} ${Nn}`}},[`&${Ve}-inline`]:{[`${Ve}-sub${Ve}-inline`]:{background:jt},[`${Ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Je.unit)(Xt)} solid ${gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${In} ${en}`,`opacity ${In} ${en}`].join(","),content:'""'},[`&${Ve}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${Ve}-selected, ${Ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${In} ${an}`,`opacity ${In} ${an}`].join(",")}}}}}};const Te=le=>{const{componentCls:Be,itemHeight:Ve,itemMarginInline:st,padding:gt,menuArrowSize:mt,marginXS:St,itemMarginBlock:Dt,itemWidth:jt,itemPaddingInline:xt}=le,lt=le.calc(mt).add(gt).add(St).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:Ve,lineHeight:(0,Je.unit)(Ve),paddingInline:xt,overflow:"hidden",textOverflow:"ellipsis",marginInline:st,marginBlock:Dt,width:jt},[`> ${Be}-item, > ${Be}-submenu > ${Be}-submenu-title`]:{height:Ve,lineHeight:(0,Je.unit)(Ve)},[`${Be}-item-group-list ${Be}-submenu-title, - ${Be}-submenu-title`]:{paddingInlineEnd:lt}}};var Zt=le=>{const{componentCls:Be,iconCls:Ve,itemHeight:st,colorTextLightSolid:gt,dropdownWidth:mt,controlHeightLG:St,motionEaseOut:Dt,paddingXL:Ht,itemMarginInline:xt,fontSizeLG:lt,motionDurationFast:Xt,motionDurationSlow:Vt,paddingXS:wn,boxShadowSecondary:an,collapsedWidth:en,collapsedIconSize:zn}=le,In={height:st,lineHeight:(0,Je.unit)(st),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},Te(le))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},Te(le)),{boxShadow:an})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:mt,maxHeight:`calc(100vh - ${(0,Je.unit)(le.calc(St).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Be}-inline`]:{width:"100%",[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${Xt} ${Dt}`].join(","),[`> ${Be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Be}-sub${Be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Be}-submenu > ${Be}-submenu-title`]:In,[`& ${Be}-item-group-title`]:{paddingInlineStart:Ht}},[`${Be}-item`]:In}},{[`${Be}-inline-collapsed`]:{width:en,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:lt,textAlign:"center"}}},[`> ${Be}-item, + ${Be}-submenu-title`]:{paddingInlineEnd:lt}}};var Zt=le=>{const{componentCls:Be,iconCls:Ve,itemHeight:st,colorTextLightSolid:gt,dropdownWidth:mt,controlHeightLG:St,motionEaseOut:Dt,paddingXL:jt,itemMarginInline:xt,fontSizeLG:lt,motionDurationFast:Xt,motionDurationSlow:Vt,paddingXS:wn,boxShadowSecondary:an,collapsedWidth:en,collapsedIconSize:zn}=le,In={height:st,lineHeight:(0,Je.unit)(st),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},Te(le))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},Te(le)),{boxShadow:an})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:mt,maxHeight:`calc(100vh - ${(0,Je.unit)(le.calc(St).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Be}-inline`]:{width:"100%",[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${Xt} ${Dt}`].join(","),[`> ${Be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Be}-sub${Be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Be}-submenu > ${Be}-submenu-title`]:In,[`& ${Be}-item-group-title`]:{paddingInlineStart:jt}},[`${Be}-item`]:In}},{[`${Be}-inline-collapsed`]:{width:en,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:lt,textAlign:"center"}}},[`> ${Be}-item, > ${Be}-item-group > ${Be}-item-group-list > ${Be}-item, > ${Be}-item-group > ${Be}-item-group-list > ${Be}-submenu > ${Be}-submenu-title, > ${Be}-submenu > ${Be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Je.unit)(le.calc(zn).div(2).equal())} - ${(0,Je.unit)(xt)})`,textOverflow:"clip",[` ${Be}-submenu-arrow, ${Be}-submenu-expand-icon - `]:{opacity:0},[`${Be}-item-icon, ${Ve}`]:{margin:0,fontSize:zn,lineHeight:(0,Je.unit)(st),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${Ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${Ve}`]:{display:"none"},"a, a:hover":{color:gt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},ut.vS),{paddingInline:wn})}}]};const jt=le=>{const{componentCls:Be,motionDurationSlow:Ve,motionDurationMid:st,motionEaseInOut:gt,motionEaseOut:mt,iconCls:St,iconSize:Dt,iconMarginInlineEnd:Ht}=le;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ve}`,`background ${Ve}`,`padding calc(${Ve} + 0.1s) ${gt}`].join(","),[`${Be}-item-icon, ${St}`]:{minWidth:Dt,fontSize:Dt,transition:[`font-size ${st} ${mt}`,`margin ${Ve} ${gt}`,`color ${Ve}`].join(","),"+ span":{marginInlineStart:Ht,opacity:1,transition:[`opacity ${Ve} ${gt}`,`margin ${Ve}`,`color ${Ve}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,ut.Ro)()),[`&${Be}-item-only-child`]:{[`> ${St}, > ${Be}-item-icon`]:{marginInlineEnd:0}}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=le=>{const{componentCls:Be,motionDurationSlow:Ve,motionEaseInOut:st,borderRadius:gt,menuArrowSize:mt,menuArrowOffset:St}=le;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:le.margin,width:mt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ve} ${st}, opacity ${Ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:le.calc(mt).mul(.6).equal(),height:le.calc(mt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:gt,transition:[`background ${Ve} ${st}`,`transform ${Ve} ${st}`,`top ${Ve} ${st}`,`color ${Ve} ${st}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Je.unit)(le.calc(St).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(St)})`}}}}},Tt=le=>{const{antCls:Be,componentCls:Ve,fontSize:st,motionDurationSlow:gt,motionDurationMid:mt,motionEaseInOut:St,paddingXS:Dt,padding:Ht,colorSplit:xt,lineWidth:lt,zIndexPopup:Xt,borderRadiusLG:Vt,subMenuItemBorderRadius:wn,menuArrowSize:an,menuArrowOffset:en,lineType:zn,groupTitleLineHeight:In,groupTitleFontSize:Qt}=le;return[{"":{[Ve]:Object.assign(Object.assign({},(0,ut.dF)()),{"&-hidden":{display:"none"}})},[`${Ve}-submenu-hidden`]:{display:"none"}},{[Ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(le)),(0,ut.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:st,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ve}-item`]:{flex:"none"}},[`${Ve}-item, ${Ve}-submenu, ${Ve}-submenu-title`]:{borderRadius:le.itemBorderRadius},[`${Ve}-item-group-title`]:{padding:`${(0,Je.unit)(Dt)} ${(0,Je.unit)(Ht)}`,fontSize:Qt,lineHeight:In,transition:`all ${gt}`},[`&-horizontal ${Ve}-submenu`]:{transition:[`border-color ${gt} ${St}`,`background ${gt} ${St}`].join(",")},[`${Ve}-submenu, ${Ve}-submenu-inline`]:{transition:[`border-color ${gt} ${St}`,`background ${gt} ${St}`,`padding ${mt} ${St}`].join(",")},[`${Ve}-submenu ${Ve}-sub`]:{cursor:"initial",transition:[`background ${gt} ${St}`,`padding ${gt} ${St}`].join(",")},[`${Ve}-title-content`]:{transition:`color ${gt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ve}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:le.padding}},[`${Ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:xt,borderStyle:zn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),jt(le)),{[`${Ve}-item-group`]:{[`${Ve}-item-group-list`]:{margin:0,padding:0,[`${Ve}-item, ${Ve}-submenu-title`]:{paddingInline:`${(0,Je.unit)(le.calc(st).mul(2).equal())} ${(0,Je.unit)(Ht)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xt,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${Ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},jt(le)),tt(le)),{[`${Ve}-item, ${Ve}-submenu > ${Ve}-submenu-title`]:{borderRadius:wn},[`${Ve}-submenu-title::after`]:{transition:`transform ${gt} ${St}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:le.paddingXS}}}),tt(le)),{[`&-inline-collapsed ${Ve}-submenu-arrow, - &-inline ${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(en)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Je.unit)(le.calc(en).mul(-1).equal())})`}},[`${Ve}-submenu-open${Ve}-submenu-inline > ${Ve}-submenu-title > ${Ve}-submenu-arrow`]:{transform:`translateY(${(0,Je.unit)(le.calc(an).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(le.calc(en).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Je.unit)(en)})`}}})},{[`${Be}-layout-header`]:{[Ve]:{lineHeight:"inherit"}}}]},_t=le=>{var Be,Ve,st;const{colorPrimary:gt,colorError:mt,colorTextDisabled:St,colorErrorBg:Dt,colorText:Ht,colorTextDescription:xt,colorBgContainer:lt,colorFillAlter:Xt,colorFillContent:Vt,lineWidth:wn,lineWidthBold:an,controlItemBgActive:en,colorBgTextHover:zn,controlHeightLG:In,lineHeight:Qt,colorBgElevated:sn,marginXXS:Nn,padding:Vn,fontSize:Lt,controlHeightSM:Gt,fontSizeLG:nn,colorTextLightSolid:Cn,colorErrorHover:Gn}=le,Sr=(Be=le.activeBarWidth)!==null&&Be!==void 0?Be:0,ii=(Ve=le.activeBarBorderWidth)!==null&&Ve!==void 0?Ve:wn,si=(st=le.itemMarginInline)!==null&&st!==void 0?st:le.marginXXS,sr=new Xe.FastColor(Cn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Ht,itemColor:Ht,colorItemTextHover:Ht,itemHoverColor:Ht,colorItemTextHoverHorizontal:gt,horizontalItemHoverColor:gt,colorGroupTitle:xt,groupTitleColor:xt,colorItemTextSelected:gt,itemSelectedColor:gt,subMenuItemSelectedColor:gt,colorItemTextSelectedHorizontal:gt,horizontalItemSelectedColor:gt,colorItemBg:lt,itemBg:lt,colorItemBgHover:zn,itemHoverBg:zn,colorItemBgActive:Vt,itemActiveBg:en,colorSubItemBg:Xt,subMenuItemBg:Xt,colorItemBgSelected:en,itemSelectedBg:en,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Sr,colorActiveBarHeight:an,activeBarHeight:an,colorActiveBarBorderSize:wn,activeBarBorderWidth:ii,colorItemTextDisabled:St,itemDisabledColor:St,colorDangerItemText:mt,dangerItemColor:mt,colorDangerItemTextHover:mt,dangerItemHoverColor:mt,colorDangerItemTextSelected:mt,dangerItemSelectedColor:mt,colorDangerItemBgActive:Dt,dangerItemActiveBg:Dt,colorDangerItemBgSelected:Dt,dangerItemSelectedBg:Dt,itemMarginInline:si,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:In,groupTitleLineHeight:Qt,collapsedWidth:In*2,popupBg:sn,itemMarginBlock:Nn,itemPaddingInline:Vn,horizontalLineHeight:`${In*1.15}px`,iconSize:Lt,iconMarginInlineEnd:Gt-Lt,collapsedIconSize:nn,groupTitleFontSize:Lt,darkItemDisabledColor:new Xe.FastColor(Cn).setA(.25).toRgbString(),darkItemColor:sr,darkDangerItemColor:mt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Cn,darkItemSelectedBg:gt,darkDangerItemSelectedBg:mt,darkItemHoverBg:"transparent",darkGroupTitleColor:sr,darkItemHoverColor:Cn,darkDangerItemHoverColor:Gn,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:mt,itemWidth:Sr?`calc(100% + ${ii}px)`:`calc(100% - ${si*2}px)`}};var hn=function(le){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,He.I$)("Menu",gt=>{const{colorBgElevated:mt,controlHeightLG:St,fontSize:Dt,darkItemColor:Ht,darkDangerItemColor:xt,darkItemBg:lt,darkSubMenuItemBg:Xt,darkItemSelectedColor:Vt,darkItemSelectedBg:wn,darkDangerItemSelectedBg:an,darkItemHoverBg:en,darkGroupTitleColor:zn,darkItemHoverColor:In,darkItemDisabledColor:Qt,darkDangerItemHoverColor:sn,darkDangerItemSelectedColor:Nn,darkDangerItemActiveBg:Vn,popupBg:Lt,darkPopupBg:Gt}=gt,nn=gt.calc(Dt).div(7).mul(5).equal(),Cn=(0,ft.mergeToken)(gt,{menuArrowSize:nn,menuHorizontalHeight:gt.calc(St).mul(1.15).equal(),menuArrowOffset:gt.calc(nn).mul(.25).equal(),menuSubMenuBg:mt,calc:gt.calc,popupBg:Lt}),Gn=(0,ft.mergeToken)(Cn,{itemColor:Ht,itemHoverColor:In,groupTitleColor:zn,itemSelectedColor:Vt,subMenuItemSelectedColor:Vt,itemBg:lt,popupBg:Gt,subMenuItemBg:Xt,itemActiveBg:"transparent",itemSelectedBg:wn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Qt,dangerItemColor:xt,dangerItemHoverColor:sn,dangerItemSelectedColor:Nn,dangerItemActiveBg:Vn,dangerItemSelectedBg:an,menuSubMenuBg:Xt,horizontalItemSelectedColor:Vt,horizontalItemSelectedBg:wn});return[Tt(Cn),Qe(Cn),Zt(Cn),We(Cn,"light"),We(Gn,"dark"),it(Cn),(0,ot.Z)(Cn),(0,ht.oN)(Cn,"slide-up"),(0,ht.oN)(Cn,"slide-down"),(0,Ct._y)(Cn,"zoom-big")]},_t,{deprecatedTokens:[["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"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Ve,unitless:{groupTitleLineHeight:!0}})(le,Be)},Pt=ae(75030),kt=le=>{var Be;const{popupClassName:Ve,icon:st,title:gt,theme:mt}=le,St=x.useContext(Se),{prefixCls:Dt,inlineCollapsed:Ht,theme:xt}=St,lt=(0,dt.Xl)();let Xt;if(!st)Xt=Ht&&!lt.length&>&&typeof gt=="string"?x.createElement("div",{className:`${Dt}-inline-collapsed-noicon`},gt.charAt(0)):x.createElement("span",{className:`${Dt}-title-content`},gt);else{const an=x.isValidElement(gt)&>.type==="span";Xt=x.createElement(x.Fragment,null,(0,oe.Tm)(st,{className:Fe()(x.isValidElement(st)?(Be=st.props)===null||Be===void 0?void 0:Be.className:"",`${Dt}-item-icon`)}),an?gt:x.createElement("span",{className:`${Dt}-title-content`},gt))}const Vt=x.useMemo(()=>Object.assign(Object.assign({},St),{firstLevel:!1}),[St]),[wn]=(0,Pt.Cn)("Menu");return x.createElement(Se.Provider,{value:Vt},x.createElement(dt.Wd,Object.assign({},(0,he.Z)(le,["icon"]),{title:Xt,popupClassName:Fe()(Dt,Ve,`${Dt}-${mt||xt}`),popupStyle:Object.assign({zIndex:wn},le.popupStyle)})))},Sn=function(le,Be){var Ve={};for(var st in le)Object.prototype.hasOwnProperty.call(le,st)&&Be.indexOf(st)<0&&(Ve[st]=le[st]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(le);gt{var Ve;const st=x.useContext(_e.Z),gt=st||{},{getPrefixCls:mt,getPopupContainer:St,direction:Dt,menu:Ht}=x.useContext(Ne.E_),xt=mt(),{prefixCls:lt,className:Xt,style:Vt,theme:wn="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:zn,siderCollapsed:In,rootClassName:Qt,mode:sn,selectable:Nn,onClick:Vn,overflowedIndicatorPopupClassName:Lt}=le,Gt=Sn(le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),nn=(0,he.Z)(Gt,["collapsedWidth"]);(Ve=gt.validator)===null||Ve===void 0||Ve.call(gt,{mode:sn});const Cn=(0,Ue.Z)(function(){var Er;Vn==null||Vn.apply(void 0,arguments),(Er=gt.onClick)===null||Er===void 0||Er.call(gt)}),Gn=gt.mode||sn,Sr=Nn!=null?Nn:gt.selectable,ii=zn!=null?zn:In,si={horizontal:{motionName:`${xt}-slide-up`},inline:(0,xe.Z)(xt),other:{motionName:`${xt}-zoom-big`}},sr=mt("menu",lt||gt.prefixCls),Lr=(0,ve.Z)(sr),[_n,Hn,Jn]=hn(sr,Lr,!st),ir=Fe()(`${sr}-${wn}`,Ht==null?void 0:Ht.className,Xt),Zn=x.useMemo(()=>{var Er,Nr;if(typeof an=="function"||on(an))return an||null;if(typeof gt.expandIcon=="function"||on(gt.expandIcon))return gt.expandIcon||null;if(typeof(Ht==null?void 0:Ht.expandIcon)=="function"||on(Ht==null?void 0:Ht.expandIcon))return(Ht==null?void 0:Ht.expandIcon)||null;const pi=(Er=an!=null?an:gt==null?void 0:gt.expandIcon)!==null&&Er!==void 0?Er:Ht==null?void 0:Ht.expandIcon;return(0,oe.Tm)(pi,{className:Fe()(`${sr}-submenu-expand-icon`,x.isValidElement(pi)?(Nr=pi.props)===null||Nr===void 0?void 0:Nr.className:void 0)})},[an,gt==null?void 0:gt.expandIcon,Ht==null?void 0:Ht.expandIcon,sr]),Cr=x.useMemo(()=>({prefixCls:sr,inlineCollapsed:ii||!1,direction:Dt,firstLevel:!0,theme:wn,mode:Gn,disableMenuItemTitleTooltip:en}),[sr,ii,Dt,en,wn]);return _n(x.createElement(_e.Z.Provider,{value:null},x.createElement(Se.Provider,{value:Cr},x.createElement(dt.ZP,Object.assign({getPopupContainer:St,overflowedIndicator:x.createElement(qe.Z,null),overflowedIndicatorPopupClassName:Fe()(sr,`${sr}-${wn}`,Lt),mode:Gn,selectable:Sr,onClick:Cn},nn,{inlineCollapsed:ii,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Vt),className:ir,prefixCls:sr,direction:Dt,defaultMotions:si,expandIcon:Zn,ref:Be,rootClassName:Fe()(Qt,Hn,gt.rootClassName,Jn,Lr),_internalComponents:de})))))});const ee=(0,x.forwardRef)((le,Be)=>{const Ve=(0,x.useRef)(null),st=x.useContext(Ie.D);return(0,x.useImperativeHandle)(Be,()=>({menu:Ve.current,focus:gt=>{var mt;(mt=Ve.current)===null||mt===void 0||mt.focus(gt)}})),x.createElement(ie,Object.assign({ref:Ve},le,st))});ee.Item=je,ee.SubMenu=kt,ee.Divider=Ce,ee.ItemGroup=dt.BW;var se=ee},31709:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ht}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(lt,Xt){return x.createElement(ze.Z,(0,dt.Z)({},lt,{ref:Xt,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(49198),oe=ae(33853),Ne=ae(38819),ve=ae(92310),Re=ae.n(ve),Se=ae(18642),Pe=ae(43749),ye=ae(85899),Ce=ae(72190),Ee=ae(18929),Me=ae(10228),Ke=ae(26112),je=ae(48736),_e=ae(17119),Je=[10,20,50,100],Xe=function(lt){var Xt=lt.pageSizeOptions,Vt=Xt===void 0?Je:Xt,wn=lt.locale,an=lt.changeSize,en=lt.pageSize,zn=lt.goButton,In=lt.quickGo,Qt=lt.rootPrefixCls,sn=lt.disabled,Nn=lt.buildOptionText,Vn=lt.showSizeChanger,Lt=lt.sizeChangerRender,Gt=x.useState(""),nn=(0,Ce.Z)(Gt,2),Cn=nn[0],Gn=nn[1],Sr=function(){return!Cn||Number.isNaN(Cn)?void 0:Number(Cn)},ii=typeof Nn=="function"?Nn:function(Cr){return"".concat(Cr," ").concat(wn.items_per_page)},si=function(Er){Gn(Er.target.value)},sr=function(Er){zn||Cn===""||(Gn(""),!(Er.relatedTarget&&(Er.relatedTarget.className.indexOf("".concat(Qt,"-item-link"))>=0||Er.relatedTarget.className.indexOf("".concat(Qt,"-item"))>=0))&&(In==null||In(Sr())))},Lr=function(Er){Cn!==""&&(Er.keyCode===Me.Z.ENTER||Er.type==="click")&&(Gn(""),In==null||In(Sr()))},_n=function(){return Vt.some(function(Er){return Er.toString()===en.toString()})?Vt:Vt.concat([en]).sort(function(Er,Nr){var pi=Number.isNaN(Number(Er))?0:Number(Er),di=Number.isNaN(Number(Nr))?0:Number(Nr);return pi-di})},Hn="".concat(Qt,"-options");if(!Vn&&!In)return null;var Jn=null,ir=null,Zn=null;return Vn&&Lt&&(Jn=Lt({disabled:sn,size:en,onSizeChange:function(Er){an==null||an(Number(Er))},"aria-label":wn.page_size,className:"".concat(Hn,"-size-changer"),options:_n().map(function(Cr){return{label:ii(Cr),value:Cr}})})),In&&(zn&&(Zn=typeof zn=="boolean"?x.createElement("button",{type:"button",onClick:Lr,onKeyUp:Lr,disabled:sn,className:"".concat(Hn,"-quick-jumper-button")},wn.jump_to_confirm):x.createElement("span",{onClick:Lr,onKeyUp:Lr},zn)),ir=x.createElement("div",{className:"".concat(Hn,"-quick-jumper")},wn.jump_to,x.createElement("input",{disabled:sn,type:"text",value:Cn,onChange:si,onKeyUp:Lr,onBlur:sr,"aria-label":wn.page}),wn.page,Zn)),x.createElement("li",{className:Hn},Jn,ir)},ut=Xe,ot=function(lt){var Xt=lt.rootPrefixCls,Vt=lt.page,wn=lt.active,an=lt.className,en=lt.showTitle,zn=lt.onClick,In=lt.onKeyPress,Qt=lt.itemRender,sn="".concat(Xt,"-item"),Nn=Re()(sn,"".concat(sn,"-").concat(Vt),(0,Se.Z)((0,Se.Z)({},"".concat(sn,"-active"),wn),"".concat(sn,"-disabled"),!Vt),an),Vn=function(){zn(Vt)},Lt=function(Cn){In(Cn,zn,Vt)},Gt=Qt(Vt,"page",x.createElement("a",{rel:"nofollow"},Vt));return Gt?x.createElement("li",{title:en?String(Vt):null,className:Nn,onClick:Vn,onKeyDown:Lt,tabIndex:0},Gt):null},ht=ot,Ct=function(lt,Xt,Vt){return Vt};function He(){}function ft(xt){var lt=Number(xt);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}function De(xt,lt,Xt){var Vt=typeof xt=="undefined"?lt:xt;return Math.floor((Xt-1)/Vt)+1}var Qe=function(lt){var Xt=lt.prefixCls,Vt=Xt===void 0?"rc-pagination":Xt,wn=lt.selectPrefixCls,an=wn===void 0?"rc-select":wn,en=lt.className,zn=lt.current,In=lt.defaultCurrent,Qt=In===void 0?1:In,sn=lt.total,Nn=sn===void 0?0:sn,Vn=lt.pageSize,Lt=lt.defaultPageSize,Gt=Lt===void 0?10:Lt,nn=lt.onChange,Cn=nn===void 0?He:nn,Gn=lt.hideOnSinglePage,Sr=lt.align,ii=lt.showPrevNextJumpers,si=ii===void 0?!0:ii,sr=lt.showQuickJumper,Lr=lt.showLessItems,_n=lt.showTitle,Hn=_n===void 0?!0:_n,Jn=lt.onShowSizeChange,ir=Jn===void 0?He:Jn,Zn=lt.locale,Cr=Zn===void 0?_e.Z:Zn,Er=lt.style,Nr=lt.totalBoundaryShowSizeChanger,pi=Nr===void 0?50:Nr,di=lt.disabled,fi=lt.simple,Oi=lt.showTotal,Ci=lt.showSizeChanger,ro=Ci===void 0?Nn>pi:Ci,Yi=lt.sizeChangerRender,or=lt.pageSizeOptions,Mr=lt.itemRender,gi=Mr===void 0?Ct:Mr,oi=lt.jumpPrevIcon,un=lt.jumpNextIcon,bt=lt.prevIcon,Rt=lt.nextIcon,fn=x.useRef(null),Wt=(0,Ee.Z)(10,{value:Vn,defaultValue:Gt}),yn=(0,Ce.Z)(Wt,2),On=yn[0],jr=yn[1],$r=(0,Ee.Z)(1,{value:zn,defaultValue:Qt,postState:function(bo){return Math.max(1,Math.min(bo,De(void 0,On,Nn)))}}),Xr=(0,Ce.Z)($r,2),dr=Xr[0],lr=Xr[1],$n=x.useState(dr),ei=(0,Ce.Z)($n,2),Ti=ei[0],xi=ei[1];(0,x.useEffect)(function(){xi(dr)},[dr]);var nr=Cn!==He,fr="current"in lt,gn=Math.max(1,dr-(Lr?3:5)),cn=Math.min(De(void 0,On,Nn),dr+(Lr?3:5));function qn(Bo,bo){var Ra=Bo||x.createElement("button",{type:"button","aria-label":bo,className:"".concat(Vt,"-item-link")});return typeof Bo=="function"&&(Ra=x.createElement(Bo,(0,ye.Z)({},lt))),Ra}function hr(Bo){var bo=Bo.target.value,Ra=De(void 0,On,Nn),ns;return bo===""?ns=bo:Number.isNaN(Number(bo))?ns=Ti:bo>=Ra?ns=Ra:ns=Number(bo),ns}function ur(Bo){return ft(Bo)&&Bo!==dr&&ft(Nn)&&Nn>0}var br=Nn>On?sr:!1;function ci(Bo){(Bo.keyCode===Me.Z.UP||Bo.keyCode===Me.Z.DOWN)&&Bo.preventDefault()}function Yr(Bo){var bo=hr(Bo);switch(bo!==Ti&&xi(bo),Bo.keyCode){case Me.Z.ENTER:wi(bo);break;case Me.Z.UP:wi(bo-1);break;case Me.Z.DOWN:wi(bo+1);break;default:break}}function yi(Bo){wi(hr(Bo))}function Pi(Bo){var bo=De(Bo,On,Nn),Ra=dr>bo&&bo!==0?bo:dr;jr(Bo),xi(Ra),ir==null||ir(dr,Bo),lr(Ra),Cn==null||Cn(Ra,Bo)}function wi(Bo){if(ur(Bo)&&!di){var bo=De(void 0,On,Nn),Ra=Bo;return Bo>bo?Ra=bo:Bo<1&&(Ra=1),Ra!==Ti&&xi(Ra),lr(Ra),Cn==null||Cn(Ra,On),Ra}return dr}var Gr=dr>1,Ji=dr2?Ra-2:0),js=2;jsNn?Nn:dr*On])),Fo=null,pn=De(void 0,On,Nn);if(Gn&&Nn<=On)return null;var Rr=[],Jr={rootPrefixCls:Vt,onClick:wi,onKeyPress:Fi,showTitle:Hn,itemRender:gi,page:-1},Ai=dr-1>0?dr-1:0,Kr=dr+1=Di*2&&dr!==3&&(Rr[0]=x.cloneElement(Rr[0],{className:Re()("".concat(Vt,"-item-after-jump-prev"),Rr[0].props.className)}),Rr.unshift(No)),pn-dr>=Di*2&&dr!==pn-2){var Jo=Rr[Rr.length-1];Rr[Rr.length-1]=x.cloneElement(Jo,{className:Re()("".concat(Vt,"-item-before-jump-next"),Jo.props.className)}),Rr.push(Fo)}Oo!==1&&Rr.unshift(x.createElement(ht,(0,dt.Z)({},Jr,{key:1,page:1}))),ta!==pn&&Rr.push(x.createElement(ht,(0,dt.Z)({},Jr,{key:pn,page:pn})))}var $o=qo(Ai);if($o){var Sa=!Gr||!pn;$o=x.createElement("li",{title:Hn?Cr.prev_page:null,onClick:Qi,tabIndex:Sa?null:0,onKeyDown:lo,className:Re()("".concat(Vt,"-prev"),(0,Se.Z)({},"".concat(Vt,"-disabled"),Sa)),"aria-disabled":Sa},$o)}var Ja=wo(Kr);if(Ja){var hs,ba;fi?(hs=!Ji,ba=Gr?0:null):(hs=!Ji||!pn,ba=hs?null:0),Ja=x.createElement("li",{title:Hn?Cr.next_page:null,onClick:Zi,tabIndex:ba,onKeyDown:Ki,className:Re()("".concat(Vt,"-next"),(0,Se.Z)({},"".concat(Vt,"-disabled"),hs)),"aria-disabled":hs},Ja)}var Ua=Re()(Vt,en,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(Vt,"-start"),Sr==="start"),"".concat(Vt,"-center"),Sr==="center"),"".concat(Vt,"-end"),Sr==="end"),"".concat(Vt,"-simple"),fi),"".concat(Vt,"-disabled"),di));return x.createElement("ul",(0,dt.Z)({className:Ua,style:Er,ref:fn},Yo),Qo,$o,fi?ti:Rr,Ja,x.createElement(ut,{locale:Cr,rootPrefixCls:Vt,disabled:di,selectPrefixCls:an,changeSize:Pi,pageSize:On,pageSizeOptions:or,quickGo:br?wi:null,goButton:Ur,showSizeChanger:ro,sizeChangerRender:Yi}))},Ot=Qe,it=ae(61852),at=ae(48755),Bt=ae(31756),We=ae(13783),Te=ae(9017),ct=ae(82326),Zt=ae(57700),jt=ae(36237),tt=ae(53075),Tt=ae(64910),_t=ae(39082),hn=ae(63356),Pt=ae(51636),vn=ae(16931);const kt=xt=>{const{componentCls:lt}=xt;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xt.colorBorder,backgroundColor:xt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xt.itemActiveBgDisabled},a:{color:xt.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:xt.colorTextDisabled},[`${lt}-jump-prev, ${lt}-jump-next`]:{[`${lt}-item-link-icon`]:{opacity:0},[`${lt}-item-ellipsis`]:{opacity:1}}},[`&${lt}-simple`]:{[`${lt}-prev, ${lt}-next`]:{[`&${lt}-disabled ${lt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Sn=xt=>{const{componentCls:lt}=xt;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:xt.itemSizeSM,lineHeight:(0,jt.unit)(xt.itemSizeSM)},[`&${lt}-mini ${lt}-item`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,jt.unit)(xt.calc(xt.itemSizeSM).sub(2).equal())},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,jt.unit)(xt.itemSizeSM)},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${lt}-disabled:hover ${lt}-item-link`]:{backgroundColor:"transparent"}}},[` + `]:{opacity:0},[`${Be}-item-icon, ${Ve}`]:{margin:0,fontSize:zn,lineHeight:(0,Je.unit)(st),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${Ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${Ve}`]:{display:"none"},"a, a:hover":{color:gt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},ut.vS),{paddingInline:wn})}}]};const zt=le=>{const{componentCls:Be,motionDurationSlow:Ve,motionDurationMid:st,motionEaseInOut:gt,motionEaseOut:mt,iconCls:St,iconSize:Dt,iconMarginInlineEnd:jt}=le;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ve}`,`background ${Ve}`,`padding calc(${Ve} + 0.1s) ${gt}`].join(","),[`${Be}-item-icon, ${St}`]:{minWidth:Dt,fontSize:Dt,transition:[`font-size ${st} ${mt}`,`margin ${Ve} ${gt}`,`color ${Ve}`].join(","),"+ span":{marginInlineStart:jt,opacity:1,transition:[`opacity ${Ve} ${gt}`,`margin ${Ve}`,`color ${Ve}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,ut.Ro)()),[`&${Be}-item-only-child`]:{[`> ${St}, > ${Be}-item-icon`]:{marginInlineEnd:0}}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=le=>{const{componentCls:Be,motionDurationSlow:Ve,motionEaseInOut:st,borderRadius:gt,menuArrowSize:mt,menuArrowOffset:St}=le;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:le.margin,width:mt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ve} ${st}, opacity ${Ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:le.calc(mt).mul(.6).equal(),height:le.calc(mt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:gt,transition:[`background ${Ve} ${st}`,`transform ${Ve} ${st}`,`top ${Ve} ${st}`,`color ${Ve} ${st}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Je.unit)(le.calc(St).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(St)})`}}}}},Pt=le=>{const{antCls:Be,componentCls:Ve,fontSize:st,motionDurationSlow:gt,motionDurationMid:mt,motionEaseInOut:St,paddingXS:Dt,padding:jt,colorSplit:xt,lineWidth:lt,zIndexPopup:Xt,borderRadiusLG:Vt,subMenuItemBorderRadius:wn,menuArrowSize:an,menuArrowOffset:en,lineType:zn,groupTitleLineHeight:In,groupTitleFontSize:Qt}=le;return[{"":{[Ve]:Object.assign(Object.assign({},(0,ut.dF)()),{"&-hidden":{display:"none"}})},[`${Ve}-submenu-hidden`]:{display:"none"}},{[Ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(le)),(0,ut.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:st,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ve}-item`]:{flex:"none"}},[`${Ve}-item, ${Ve}-submenu, ${Ve}-submenu-title`]:{borderRadius:le.itemBorderRadius},[`${Ve}-item-group-title`]:{padding:`${(0,Je.unit)(Dt)} ${(0,Je.unit)(jt)}`,fontSize:Qt,lineHeight:In,transition:`all ${gt}`},[`&-horizontal ${Ve}-submenu`]:{transition:[`border-color ${gt} ${St}`,`background ${gt} ${St}`].join(",")},[`${Ve}-submenu, ${Ve}-submenu-inline`]:{transition:[`border-color ${gt} ${St}`,`background ${gt} ${St}`,`padding ${mt} ${St}`].join(",")},[`${Ve}-submenu ${Ve}-sub`]:{cursor:"initial",transition:[`background ${gt} ${St}`,`padding ${gt} ${St}`].join(",")},[`${Ve}-title-content`]:{transition:`color ${gt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ve}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:le.padding}},[`${Ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:xt,borderStyle:zn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),zt(le)),{[`${Ve}-item-group`]:{[`${Ve}-item-group-list`]:{margin:0,padding:0,[`${Ve}-item, ${Ve}-submenu-title`]:{paddingInline:`${(0,Je.unit)(le.calc(st).mul(2).equal())} ${(0,Je.unit)(jt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xt,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${Ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},zt(le)),tt(le)),{[`${Ve}-item, ${Ve}-submenu > ${Ve}-submenu-title`]:{borderRadius:wn},[`${Ve}-submenu-title::after`]:{transition:`transform ${gt} ${St}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:le.paddingXS}}}),tt(le)),{[`&-inline-collapsed ${Ve}-submenu-arrow, + &-inline ${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(en)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Je.unit)(le.calc(en).mul(-1).equal())})`}},[`${Ve}-submenu-open${Ve}-submenu-inline > ${Ve}-submenu-title > ${Ve}-submenu-arrow`]:{transform:`translateY(${(0,Je.unit)(le.calc(an).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(le.calc(en).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Je.unit)(en)})`}}})},{[`${Be}-layout-header`]:{[Ve]:{lineHeight:"inherit"}}}]},_t=le=>{var Be,Ve,st;const{colorPrimary:gt,colorError:mt,colorTextDisabled:St,colorErrorBg:Dt,colorText:jt,colorTextDescription:xt,colorBgContainer:lt,colorFillAlter:Xt,colorFillContent:Vt,lineWidth:wn,lineWidthBold:an,controlItemBgActive:en,colorBgTextHover:zn,controlHeightLG:In,lineHeight:Qt,colorBgElevated:sn,marginXXS:Nn,padding:Vn,fontSize:Lt,controlHeightSM:Gt,fontSizeLG:nn,colorTextLightSolid:Cn,colorErrorHover:Gn}=le,Sr=(Be=le.activeBarWidth)!==null&&Be!==void 0?Be:0,ii=(Ve=le.activeBarBorderWidth)!==null&&Ve!==void 0?Ve:wn,si=(st=le.itemMarginInline)!==null&&st!==void 0?st:le.marginXXS,sr=new Xe.FastColor(Cn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:jt,itemColor:jt,colorItemTextHover:jt,itemHoverColor:jt,colorItemTextHoverHorizontal:gt,horizontalItemHoverColor:gt,colorGroupTitle:xt,groupTitleColor:xt,colorItemTextSelected:gt,itemSelectedColor:gt,subMenuItemSelectedColor:gt,colorItemTextSelectedHorizontal:gt,horizontalItemSelectedColor:gt,colorItemBg:lt,itemBg:lt,colorItemBgHover:zn,itemHoverBg:zn,colorItemBgActive:Vt,itemActiveBg:en,colorSubItemBg:Xt,subMenuItemBg:Xt,colorItemBgSelected:en,itemSelectedBg:en,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Sr,colorActiveBarHeight:an,activeBarHeight:an,colorActiveBarBorderSize:wn,activeBarBorderWidth:ii,colorItemTextDisabled:St,itemDisabledColor:St,colorDangerItemText:mt,dangerItemColor:mt,colorDangerItemTextHover:mt,dangerItemHoverColor:mt,colorDangerItemTextSelected:mt,dangerItemSelectedColor:mt,colorDangerItemBgActive:Dt,dangerItemActiveBg:Dt,colorDangerItemBgSelected:Dt,dangerItemSelectedBg:Dt,itemMarginInline:si,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:In,groupTitleLineHeight:Qt,collapsedWidth:In*2,popupBg:sn,itemMarginBlock:Nn,itemPaddingInline:Vn,horizontalLineHeight:`${In*1.15}px`,iconSize:Lt,iconMarginInlineEnd:Gt-Lt,collapsedIconSize:nn,groupTitleFontSize:Lt,darkItemDisabledColor:new Xe.FastColor(Cn).setA(.25).toRgbString(),darkItemColor:sr,darkDangerItemColor:mt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Cn,darkItemSelectedBg:gt,darkDangerItemSelectedBg:mt,darkItemHoverBg:"transparent",darkGroupTitleColor:sr,darkItemHoverColor:Cn,darkDangerItemHoverColor:Gn,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:mt,itemWidth:Sr?`calc(100% + ${ii}px)`:`calc(100% - ${si*2}px)`}};var fn=function(le){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,He.I$)("Menu",gt=>{const{colorBgElevated:mt,controlHeightLG:St,fontSize:Dt,darkItemColor:jt,darkDangerItemColor:xt,darkItemBg:lt,darkSubMenuItemBg:Xt,darkItemSelectedColor:Vt,darkItemSelectedBg:wn,darkDangerItemSelectedBg:an,darkItemHoverBg:en,darkGroupTitleColor:zn,darkItemHoverColor:In,darkItemDisabledColor:Qt,darkDangerItemHoverColor:sn,darkDangerItemSelectedColor:Nn,darkDangerItemActiveBg:Vn,popupBg:Lt,darkPopupBg:Gt}=gt,nn=gt.calc(Dt).div(7).mul(5).equal(),Cn=(0,ft.mergeToken)(gt,{menuArrowSize:nn,menuHorizontalHeight:gt.calc(St).mul(1.15).equal(),menuArrowOffset:gt.calc(nn).mul(.25).equal(),menuSubMenuBg:mt,calc:gt.calc,popupBg:Lt}),Gn=(0,ft.mergeToken)(Cn,{itemColor:jt,itemHoverColor:In,groupTitleColor:zn,itemSelectedColor:Vt,subMenuItemSelectedColor:Vt,itemBg:lt,popupBg:Gt,subMenuItemBg:Xt,itemActiveBg:"transparent",itemSelectedBg:wn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Qt,dangerItemColor:xt,dangerItemHoverColor:sn,dangerItemSelectedColor:Nn,dangerItemActiveBg:Vn,dangerItemSelectedBg:an,menuSubMenuBg:Xt,horizontalItemSelectedColor:Vt,horizontalItemSelectedBg:wn});return[Pt(Cn),_e(Cn),Zt(Cn),We(Cn,"light"),We(Gn,"dark"),it(Cn),(0,ot.Z)(Cn),(0,ht.oN)(Cn,"slide-up"),(0,ht.oN)(Cn,"slide-down"),(0,Ct._y)(Cn,"zoom-big")]},_t,{deprecatedTokens:[["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"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Ve,unitless:{groupTitleLineHeight:!0}})(le,Be)},Tt=ae(75030),kt=le=>{var Be;const{popupClassName:Ve,icon:st,title:gt,theme:mt}=le,St=x.useContext(Se),{prefixCls:Dt,inlineCollapsed:jt,theme:xt}=St,lt=(0,dt.Xl)();let Xt;if(!st)Xt=jt&&!lt.length&>&&typeof gt=="string"?x.createElement("div",{className:`${Dt}-inline-collapsed-noicon`},gt.charAt(0)):x.createElement("span",{className:`${Dt}-title-content`},gt);else{const an=x.isValidElement(gt)&>.type==="span";Xt=x.createElement(x.Fragment,null,(0,oe.Tm)(st,{className:Fe()(x.isValidElement(st)?(Be=st.props)===null||Be===void 0?void 0:Be.className:"",`${Dt}-item-icon`)}),an?gt:x.createElement("span",{className:`${Dt}-title-content`},gt))}const Vt=x.useMemo(()=>Object.assign(Object.assign({},St),{firstLevel:!1}),[St]),[wn]=(0,Tt.Cn)("Menu");return x.createElement(Se.Provider,{value:Vt},x.createElement(dt.Wd,Object.assign({},(0,he.Z)(le,["icon"]),{title:Xt,popupClassName:Fe()(Dt,Ve,`${Dt}-${mt||xt}`),popupStyle:Object.assign({zIndex:wn},le.popupStyle)})))},Sn=function(le,Be){var Ve={};for(var st in le)Object.prototype.hasOwnProperty.call(le,st)&&Be.indexOf(st)<0&&(Ve[st]=le[st]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(le);gt{var Ve;const st=x.useContext(Qe.Z),gt=st||{},{getPrefixCls:mt,getPopupContainer:St,direction:Dt,menu:jt}=x.useContext(Ne.E_),xt=mt(),{prefixCls:lt,className:Xt,style:Vt,theme:wn="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:zn,siderCollapsed:In,rootClassName:Qt,mode:sn,selectable:Nn,onClick:Vn,overflowedIndicatorPopupClassName:Lt}=le,Gt=Sn(le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),nn=(0,he.Z)(Gt,["collapsedWidth"]);(Ve=gt.validator)===null||Ve===void 0||Ve.call(gt,{mode:sn});const Cn=(0,Ue.Z)(function(){var Er;Vn==null||Vn.apply(void 0,arguments),(Er=gt.onClick)===null||Er===void 0||Er.call(gt)}),Gn=gt.mode||sn,Sr=Nn!=null?Nn:gt.selectable,ii=zn!=null?zn:In,si={horizontal:{motionName:`${xt}-slide-up`},inline:(0,xe.Z)(xt),other:{motionName:`${xt}-zoom-big`}},sr=mt("menu",lt||gt.prefixCls),Lr=(0,ve.Z)(sr),[Qn,Hn,Jn]=fn(sr,Lr,!st),ir=Fe()(`${sr}-${wn}`,jt==null?void 0:jt.className,Xt),Zn=x.useMemo(()=>{var Er,Nr;if(typeof an=="function"||on(an))return an||null;if(typeof gt.expandIcon=="function"||on(gt.expandIcon))return gt.expandIcon||null;if(typeof(jt==null?void 0:jt.expandIcon)=="function"||on(jt==null?void 0:jt.expandIcon))return(jt==null?void 0:jt.expandIcon)||null;const pi=(Er=an!=null?an:gt==null?void 0:gt.expandIcon)!==null&&Er!==void 0?Er:jt==null?void 0:jt.expandIcon;return(0,oe.Tm)(pi,{className:Fe()(`${sr}-submenu-expand-icon`,x.isValidElement(pi)?(Nr=pi.props)===null||Nr===void 0?void 0:Nr.className:void 0)})},[an,gt==null?void 0:gt.expandIcon,jt==null?void 0:jt.expandIcon,sr]),Cr=x.useMemo(()=>({prefixCls:sr,inlineCollapsed:ii||!1,direction:Dt,firstLevel:!0,theme:wn,mode:Gn,disableMenuItemTitleTooltip:en}),[sr,ii,Dt,en,wn]);return Qn(x.createElement(Qe.Z.Provider,{value:null},x.createElement(Se.Provider,{value:Cr},x.createElement(dt.ZP,Object.assign({getPopupContainer:St,overflowedIndicator:x.createElement(qe.Z,null),overflowedIndicatorPopupClassName:Fe()(sr,`${sr}-${wn}`,Lt),mode:Gn,selectable:Sr,onClick:Cn},nn,{inlineCollapsed:ii,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),Vt),className:ir,prefixCls:sr,direction:Dt,defaultMotions:si,expandIcon:Zn,ref:Be,rootClassName:Fe()(Qt,Hn,gt.rootClassName,Jn,Lr),_internalComponents:de})))))});const ee=(0,x.forwardRef)((le,Be)=>{const Ve=(0,x.useRef)(null),st=x.useContext(Ie.D);return(0,x.useImperativeHandle)(Be,()=>({menu:Ve.current,focus:gt=>{var mt;(mt=Ve.current)===null||mt===void 0||mt.focus(gt)}})),x.createElement(ie,Object.assign({ref:Ve},le,st))});ee.Item=je,ee.SubMenu=kt,ee.Divider=Ce,ee.ItemGroup=dt.BW;var se=ee},31709:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return jt}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(lt,Xt){return x.createElement(ze.Z,(0,dt.Z)({},lt,{ref:Xt,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(49198),oe=ae(33853),Ne=ae(38819),ve=ae(92310),Re=ae.n(ve),Se=ae(18642),Oe=ae(43749),ye=ae(85899),Ce=ae(72190),Ee=ae(18929),Me=ae(10228),Ke=ae(26112),je=ae(48736),Qe=ae(17119),Je=[10,20,50,100],Xe=function(lt){var Xt=lt.pageSizeOptions,Vt=Xt===void 0?Je:Xt,wn=lt.locale,an=lt.changeSize,en=lt.pageSize,zn=lt.goButton,In=lt.quickGo,Qt=lt.rootPrefixCls,sn=lt.disabled,Nn=lt.buildOptionText,Vn=lt.showSizeChanger,Lt=lt.sizeChangerRender,Gt=x.useState(""),nn=(0,Ce.Z)(Gt,2),Cn=nn[0],Gn=nn[1],Sr=function(){return!Cn||Number.isNaN(Cn)?void 0:Number(Cn)},ii=typeof Nn=="function"?Nn:function(Cr){return"".concat(Cr," ").concat(wn.items_per_page)},si=function(Er){Gn(Er.target.value)},sr=function(Er){zn||Cn===""||(Gn(""),!(Er.relatedTarget&&(Er.relatedTarget.className.indexOf("".concat(Qt,"-item-link"))>=0||Er.relatedTarget.className.indexOf("".concat(Qt,"-item"))>=0))&&(In==null||In(Sr())))},Lr=function(Er){Cn!==""&&(Er.keyCode===Me.Z.ENTER||Er.type==="click")&&(Gn(""),In==null||In(Sr()))},Qn=function(){return Vt.some(function(Er){return Er.toString()===en.toString()})?Vt:Vt.concat([en]).sort(function(Er,Nr){var pi=Number.isNaN(Number(Er))?0:Number(Er),di=Number.isNaN(Number(Nr))?0:Number(Nr);return pi-di})},Hn="".concat(Qt,"-options");if(!Vn&&!In)return null;var Jn=null,ir=null,Zn=null;return Vn&&Lt&&(Jn=Lt({disabled:sn,size:en,onSizeChange:function(Er){an==null||an(Number(Er))},"aria-label":wn.page_size,className:"".concat(Hn,"-size-changer"),options:Qn().map(function(Cr){return{label:ii(Cr),value:Cr}})})),In&&(zn&&(Zn=typeof zn=="boolean"?x.createElement("button",{type:"button",onClick:Lr,onKeyUp:Lr,disabled:sn,className:"".concat(Hn,"-quick-jumper-button")},wn.jump_to_confirm):x.createElement("span",{onClick:Lr,onKeyUp:Lr},zn)),ir=x.createElement("div",{className:"".concat(Hn,"-quick-jumper")},wn.jump_to,x.createElement("input",{disabled:sn,type:"text",value:Cn,onChange:si,onKeyUp:Lr,onBlur:sr,"aria-label":wn.page}),wn.page,Zn)),x.createElement("li",{className:Hn},Jn,ir)},ut=Xe,ot=function(lt){var Xt=lt.rootPrefixCls,Vt=lt.page,wn=lt.active,an=lt.className,en=lt.showTitle,zn=lt.onClick,In=lt.onKeyPress,Qt=lt.itemRender,sn="".concat(Xt,"-item"),Nn=Re()(sn,"".concat(sn,"-").concat(Vt),(0,Se.Z)((0,Se.Z)({},"".concat(sn,"-active"),wn),"".concat(sn,"-disabled"),!Vt),an),Vn=function(){zn(Vt)},Lt=function(Cn){In(Cn,zn,Vt)},Gt=Qt(Vt,"page",x.createElement("a",{rel:"nofollow"},Vt));return Gt?x.createElement("li",{title:en?String(Vt):null,className:Nn,onClick:Vn,onKeyDown:Lt,tabIndex:0},Gt):null},ht=ot,Ct=function(lt,Xt,Vt){return Vt};function He(){}function ft(xt){var lt=Number(xt);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}function De(xt,lt,Xt){var Vt=typeof xt=="undefined"?lt:xt;return Math.floor((Xt-1)/Vt)+1}var _e=function(lt){var Xt=lt.prefixCls,Vt=Xt===void 0?"rc-pagination":Xt,wn=lt.selectPrefixCls,an=wn===void 0?"rc-select":wn,en=lt.className,zn=lt.current,In=lt.defaultCurrent,Qt=In===void 0?1:In,sn=lt.total,Nn=sn===void 0?0:sn,Vn=lt.pageSize,Lt=lt.defaultPageSize,Gt=Lt===void 0?10:Lt,nn=lt.onChange,Cn=nn===void 0?He:nn,Gn=lt.hideOnSinglePage,Sr=lt.align,ii=lt.showPrevNextJumpers,si=ii===void 0?!0:ii,sr=lt.showQuickJumper,Lr=lt.showLessItems,Qn=lt.showTitle,Hn=Qn===void 0?!0:Qn,Jn=lt.onShowSizeChange,ir=Jn===void 0?He:Jn,Zn=lt.locale,Cr=Zn===void 0?Qe.Z:Zn,Er=lt.style,Nr=lt.totalBoundaryShowSizeChanger,pi=Nr===void 0?50:Nr,di=lt.disabled,fi=lt.simple,Oi=lt.showTotal,Ci=lt.showSizeChanger,ro=Ci===void 0?Nn>pi:Ci,Yi=lt.sizeChangerRender,or=lt.pageSizeOptions,Mr=lt.itemRender,gi=Mr===void 0?Ct:Mr,oi=lt.jumpPrevIcon,un=lt.jumpNextIcon,bt=lt.prevIcon,Rt=lt.nextIcon,hn=x.useRef(null),Wt=(0,Ee.Z)(10,{value:Vn,defaultValue:Gt}),yn=(0,Ce.Z)(Wt,2),On=yn[0],jr=yn[1],$r=(0,Ee.Z)(1,{value:zn,defaultValue:Qt,postState:function(bo){return Math.max(1,Math.min(bo,De(void 0,On,Nn)))}}),Xr=(0,Ce.Z)($r,2),dr=Xr[0],lr=Xr[1],$n=x.useState(dr),ei=(0,Ce.Z)($n,2),Ti=ei[0],xi=ei[1];(0,x.useEffect)(function(){xi(dr)},[dr]);var nr=Cn!==He,fr="current"in lt,gn=Math.max(1,dr-(Lr?3:5)),cn=Math.min(De(void 0,On,Nn),dr+(Lr?3:5));function qn(Bo,bo){var Ra=Bo||x.createElement("button",{type:"button","aria-label":bo,className:"".concat(Vt,"-item-link")});return typeof Bo=="function"&&(Ra=x.createElement(Bo,(0,ye.Z)({},lt))),Ra}function hr(Bo){var bo=Bo.target.value,Ra=De(void 0,On,Nn),ns;return bo===""?ns=bo:Number.isNaN(Number(bo))?ns=Ti:bo>=Ra?ns=Ra:ns=Number(bo),ns}function ur(Bo){return ft(Bo)&&Bo!==dr&&ft(Nn)&&Nn>0}var br=Nn>On?sr:!1;function ci(Bo){(Bo.keyCode===Me.Z.UP||Bo.keyCode===Me.Z.DOWN)&&Bo.preventDefault()}function Yr(Bo){var bo=hr(Bo);switch(bo!==Ti&&xi(bo),Bo.keyCode){case Me.Z.ENTER:wi(bo);break;case Me.Z.UP:wi(bo-1);break;case Me.Z.DOWN:wi(bo+1);break;default:break}}function yi(Bo){wi(hr(Bo))}function Pi(Bo){var bo=De(Bo,On,Nn),Ra=dr>bo&&bo!==0?bo:dr;jr(Bo),xi(Ra),ir==null||ir(dr,Bo),lr(Ra),Cn==null||Cn(Ra,Bo)}function wi(Bo){if(ur(Bo)&&!di){var bo=De(void 0,On,Nn),Ra=Bo;return Bo>bo?Ra=bo:Bo<1&&(Ra=1),Ra!==Ti&&xi(Ra),lr(Ra),Cn==null||Cn(Ra,On),Ra}return dr}var Gr=dr>1,Ji=dr2?Ra-2:0),js=2;jsNn?Nn:dr*On])),Fo=null,pn=De(void 0,On,Nn);if(Gn&&Nn<=On)return null;var Rr=[],Jr={rootPrefixCls:Vt,onClick:wi,onKeyPress:Fi,showTitle:Hn,itemRender:gi,page:-1},Ai=dr-1>0?dr-1:0,Kr=dr+1=Di*2&&dr!==3&&(Rr[0]=x.cloneElement(Rr[0],{className:Re()("".concat(Vt,"-item-after-jump-prev"),Rr[0].props.className)}),Rr.unshift(No)),pn-dr>=Di*2&&dr!==pn-2){var Jo=Rr[Rr.length-1];Rr[Rr.length-1]=x.cloneElement(Jo,{className:Re()("".concat(Vt,"-item-before-jump-next"),Jo.props.className)}),Rr.push(Fo)}Oo!==1&&Rr.unshift(x.createElement(ht,(0,dt.Z)({},Jr,{key:1,page:1}))),ta!==pn&&Rr.push(x.createElement(ht,(0,dt.Z)({},Jr,{key:pn,page:pn})))}var $o=qo(Ai);if($o){var Sa=!Gr||!pn;$o=x.createElement("li",{title:Hn?Cr.prev_page:null,onClick:_i,tabIndex:Sa?null:0,onKeyDown:lo,className:Re()("".concat(Vt,"-prev"),(0,Se.Z)({},"".concat(Vt,"-disabled"),Sa)),"aria-disabled":Sa},$o)}var Ja=wo(Kr);if(Ja){var hs,ba;fi?(hs=!Ji,ba=Gr?0:null):(hs=!Ji||!pn,ba=hs?null:0),Ja=x.createElement("li",{title:Hn?Cr.next_page:null,onClick:Zi,tabIndex:ba,onKeyDown:Ki,className:Re()("".concat(Vt,"-next"),(0,Se.Z)({},"".concat(Vt,"-disabled"),hs)),"aria-disabled":hs},Ja)}var Ua=Re()(Vt,en,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(Vt,"-start"),Sr==="start"),"".concat(Vt,"-center"),Sr==="center"),"".concat(Vt,"-end"),Sr==="end"),"".concat(Vt,"-simple"),fi),"".concat(Vt,"-disabled"),di));return x.createElement("ul",(0,dt.Z)({className:Ua,style:Er,ref:hn},Yo),_o,$o,fi?ti:Rr,Ja,x.createElement(ut,{locale:Cr,rootPrefixCls:Vt,disabled:di,selectPrefixCls:an,changeSize:Pi,pageSize:On,pageSizeOptions:or,quickGo:br?wi:null,goButton:Ur,showSizeChanger:ro,sizeChangerRender:Yi}))},Ot=_e,it=ae(61852),at=ae(48755),Bt=ae(31756),We=ae(13783),Te=ae(9017),ct=ae(82326),Zt=ae(57700),zt=ae(36237),tt=ae(53075),Pt=ae(64910),_t=ae(39082),fn=ae(63356),Tt=ae(51636),vn=ae(16931);const kt=xt=>{const{componentCls:lt}=xt;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xt.colorBorder,backgroundColor:xt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xt.itemActiveBgDisabled},a:{color:xt.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:xt.colorTextDisabled},[`${lt}-jump-prev, ${lt}-jump-next`]:{[`${lt}-item-link-icon`]:{opacity:0},[`${lt}-item-ellipsis`]:{opacity:1}}},[`&${lt}-simple`]:{[`${lt}-prev, ${lt}-next`]:{[`&${lt}-disabled ${lt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Sn=xt=>{const{componentCls:lt}=xt;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:xt.itemSizeSM,lineHeight:(0,zt.unit)(xt.itemSizeSM)},[`&${lt}-mini ${lt}-item`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,zt.unit)(xt.calc(xt.itemSizeSM).sub(2).equal())},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,zt.unit)(xt.itemSizeSM)},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${lt}-disabled:hover ${lt}-item-link`]:{backgroundColor:"transparent"}}},[` &${lt}-mini ${lt}-prev ${lt}-item-link, &${lt}-mini ${lt}-next ${lt}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xt.itemSizeSM,lineHeight:(0,jt.unit)(xt.itemSizeSM)}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:xt.itemSizeSM,marginInlineEnd:0,lineHeight:(0,jt.unit)(xt.itemSizeSM)},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:xt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xt.itemSizeSM,lineHeight:(0,jt.unit)(xt.itemSizeSM),input:Object.assign(Object.assign({},(0,tt.x0)(xt)),{width:xt.paginationMiniQuickJumperInputWidth,height:xt.controlHeightSM})}}}},on=xt=>{const{componentCls:lt}=xt;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xt.itemSizeSM,lineHeight:(0,zt.unit)(xt.itemSizeSM)}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:xt.itemSizeSM,marginInlineEnd:0,lineHeight:(0,zt.unit)(xt.itemSizeSM)},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:xt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xt.itemSizeSM,lineHeight:(0,zt.unit)(xt.itemSizeSM),input:Object.assign(Object.assign({},(0,tt.x0)(xt)),{width:xt.paginationMiniQuickJumperInputWidth,height:xt.controlHeightSM})}}}},on=xt=>{const{componentCls:lt}=xt;return{[` &${lt}-simple ${lt}-prev, &${lt}-simple ${lt}-next - `]:{height:xt.itemSizeSM,lineHeight:(0,jt.unit)(xt.itemSizeSM),verticalAlign:"top",[`${lt}-item-link`]:{height:xt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive},"&::after":{height:xt.itemSizeSM,lineHeight:(0,jt.unit)(xt.itemSizeSM)}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:xt.itemSizeSM,marginInlineEnd:xt.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,jt.unit)(xt.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:xt.itemInputBg,border:`${(0,jt.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadius,outline:"none",transition:`border-color ${xt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xt.colorPrimary},"&:focus":{borderColor:xt.colorPrimaryHover,boxShadow:`${(0,jt.unit)(xt.inputOutlineOffset)} 0 ${(0,jt.unit)(xt.controlOutlineWidth)} ${xt.controlOutline}`},"&[disabled]":{color:xt.colorTextDisabled,backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,cursor:"not-allowed"}}}}},de=xt=>{const{componentCls:lt}=xt;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:xt.colorPrimary,fontSize:xt.fontSizeSM,opacity:0,transition:`all ${xt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xt.colorTextDisabled,letterSpacing:xt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xt.paginationEllipsisTextIndent,opacity:1,transition:`all ${xt.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[` + `]:{height:xt.itemSizeSM,lineHeight:(0,zt.unit)(xt.itemSizeSM),verticalAlign:"top",[`${lt}-item-link`]:{height:xt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive},"&::after":{height:xt.itemSizeSM,lineHeight:(0,zt.unit)(xt.itemSizeSM)}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:xt.itemSizeSM,marginInlineEnd:xt.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,zt.unit)(xt.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:xt.itemInputBg,border:`${(0,zt.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadius,outline:"none",transition:`border-color ${xt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xt.colorPrimary},"&:focus":{borderColor:xt.colorPrimaryHover,boxShadow:`${(0,zt.unit)(xt.inputOutlineOffset)} 0 ${(0,zt.unit)(xt.controlOutlineWidth)} ${xt.controlOutline}`},"&[disabled]":{color:xt.colorTextDisabled,backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,cursor:"not-allowed"}}}}},de=xt=>{const{componentCls:lt}=xt;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:xt.colorPrimary,fontSize:xt.fontSizeSM,opacity:0,transition:`all ${xt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xt.colorTextDisabled,letterSpacing:xt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xt.paginationEllipsisTextIndent,opacity:1,transition:`all ${xt.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[` ${lt}-prev, ${lt}-jump-prev, ${lt}-jump-next @@ -1024,8 +1024,8 @@ ${lt}-next, ${lt}-jump-prev, ${lt}-jump-next - `]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,color:xt.colorText,fontFamily:xt.fontFamily,lineHeight:(0,jt.unit)(xt.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xt.borderRadius,cursor:"pointer",transition:`all ${xt.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{outline:0,button:{color:xt.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,jt.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:"none",transition:`all ${xt.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:xt.paginationSlashMarginInlineEnd,marginInlineStart:xt.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:xt.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xt.controlHeight,marginInlineStart:xt.marginXS,lineHeight:(0,jt.unit)(xt.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,tt.ik)(xt)),(0,_t.$U)(xt,{borderColor:xt.colorBorder,hoverBorderColor:xt.colorPrimaryHover,activeBorderColor:xt.colorPrimary,activeShadow:xt.activeShadow})),{"&[disabled]":Object.assign({},(0,_t.Xy)(xt)),width:xt.calc(xt.controlHeightLG).mul(1.25).equal(),height:xt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xt.marginXS,marginInlineEnd:xt.marginXS})}}}},ge=xt=>{const{componentCls:lt}=xt;return{[`${lt}-item`]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,marginInlineEnd:xt.marginXS,fontFamily:xt.fontFamily,lineHeight:(0,jt.unit)(xt.calc(xt.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:xt.itemBg,border:`${(0,jt.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,jt.unit)(xt.paginationItemPaddingInline)}`,color:xt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${xt.motionDurationMid}`,backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive}},"&-active":{fontWeight:xt.fontWeightStrong,backgroundColor:xt.itemActiveBg,borderColor:xt.colorPrimary,a:{color:xt.colorPrimary},"&:hover":{borderColor:xt.colorPrimaryHover},"&:hover a":{color:xt.colorPrimaryHover}}}}},ie=xt=>{const{componentCls:lt}=xt;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,hn.Wf)(xt)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${lt}-total-text`]:{display:"inline-block",height:xt.itemSize,marginInlineEnd:xt.marginXS,lineHeight:(0,jt.unit)(xt.calc(xt.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(xt)),de(xt)),on(xt)),Sn(xt)),kt(xt)),{[`@media only screen and (max-width: ${xt.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xt.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${xt.componentCls}-rtl`]:{direction:"rtl"}}},ee=xt=>{const{componentCls:lt}=xt;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,hn.Qy)(xt)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,hn.oN)(xt))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,hn.oN)(xt))}}}},se=xt=>Object.assign({itemBg:xt.colorBgContainer,itemSize:xt.controlHeight,itemSizeSM:xt.controlHeightSM,itemActiveBg:xt.colorBgContainer,itemLinkBg:xt.colorBgContainer,itemActiveColorDisabled:xt.colorTextDisabled,itemActiveBgDisabled:xt.controlItemBgActiveDisabled,itemInputBg:xt.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Tt.T)(xt)),le=xt=>(0,Pt.mergeToken)(xt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xt.calc(xt.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:xt.calc(xt.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:xt.calc(xt.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:xt.calc(xt.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:xt.marginSM,paginationSlashMarginInlineEnd:xt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Tt.e)(xt));var Be=(0,vn.I$)("Pagination",xt=>{const lt=le(xt);return[ie(lt),ee(lt)]},se);const Ve=xt=>{const{componentCls:lt}=xt;return{[`${lt}${lt}-bordered${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:xt.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:xt.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,a:{color:xt.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:xt.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,color:xt.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder}}},[`${lt}${lt}-bordered:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:xt.colorPrimaryHover,backgroundColor:xt.itemBg},[`${lt}-item-link`]:{backgroundColor:xt.itemLinkBg,borderColor:xt.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,color:xt.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:xt.colorBorder,color:xt.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:xt.itemBg,border:`${(0,jt.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,a:{color:xt.colorPrimary}},"&-active":{borderColor:xt.colorPrimary}}}}};var st=(0,vn.bk)(["Pagination","bordered"],xt=>{const lt=le(xt);return[Ve(lt)]},se);function gt(xt){return(0,x.useMemo)(()=>typeof xt=="boolean"?[xt,{}]:xt&&typeof xt=="object"?[!0,xt]:[void 0,void 0],[xt])}var mt=function(xt,lt){var Xt={};for(var Vt in xt)Object.prototype.hasOwnProperty.call(xt,Vt)&<.indexOf(Vt)<0&&(Xt[Vt]=xt[Vt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,Vt=Object.getOwnPropertySymbols(xt);wn{const{align:lt,prefixCls:Xt,selectPrefixCls:Vt,className:wn,rootClassName:an,style:en,size:zn,locale:In,responsive:Qt,showSizeChanger:sn,selectComponentClass:Nn,pageSizeOptions:Vn}=xt,Lt=mt(xt,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Gt}=(0,We.Z)(Qt),[,nn]=(0,Zt.ZP)(),{getPrefixCls:Cn,direction:Gn,showSizeChanger:Sr,className:ii,style:si}=(0,at.dj)("pagination"),sr=Cn("pagination",Xt),[Lr,_n,Hn]=Be(sr),Jn=(0,Bt.Z)(zn),ir=Jn==="small"||!!(Gt&&!Jn&&Qt),[Zn]=(0,Te.Z)("Pagination",it.Z),Cr=Object.assign(Object.assign({},Zn),In),[Er,Nr]=gt(sn),[pi,di]=gt(Sr),fi=Er!=null?Er:pi,Oi=Nr!=null?Nr:di,Ci=Nn||ct.default,ro=x.useMemo(()=>Vn?Vn.map(un=>Number(un)):void 0,[Vn]),Yi=un=>{var bt;const{disabled:Rt,size:fn,onSizeChange:Wt,"aria-label":yn,className:On,options:jr}=un,{className:$r,onChange:Xr}=Oi||{},dr=(bt=jr.find(lr=>String(lr.value)===String(fn)))===null||bt===void 0?void 0:bt.value;return x.createElement(Ci,Object.assign({disabled:Rt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:lr=>lr.parentNode,"aria-label":yn,options:jr},Oi,{value:dr,onChange:(lr,$n)=>{Wt==null||Wt(lr),Xr==null||Xr(lr,$n)},size:ir?"small":"middle",className:Re()(On,$r)}))},or=x.useMemo(()=>{const un=x.createElement("span",{className:`${sr}-item-ellipsis`},"\u2022\u2022\u2022"),bt=x.createElement("button",{className:`${sr}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?x.createElement(Ne.Z,null):x.createElement(oe.Z,null)),Rt=x.createElement("button",{className:`${sr}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?x.createElement(oe.Z,null):x.createElement(Ne.Z,null)),fn=x.createElement("a",{className:`${sr}-item-link`},x.createElement("div",{className:`${sr}-item-container`},Gn==="rtl"?x.createElement(xe.Z,{className:`${sr}-item-link-icon`}):x.createElement(he,{className:`${sr}-item-link-icon`}),un)),Wt=x.createElement("a",{className:`${sr}-item-link`},x.createElement("div",{className:`${sr}-item-container`},Gn==="rtl"?x.createElement(he,{className:`${sr}-item-link-icon`}):x.createElement(xe.Z,{className:`${sr}-item-link-icon`}),un));return{prevIcon:bt,nextIcon:Rt,jumpPrevIcon:fn,jumpNextIcon:Wt}},[Gn,sr]),Mr=Cn("select",Vt),gi=Re()({[`${sr}-${lt}`]:!!lt,[`${sr}-mini`]:ir,[`${sr}-rtl`]:Gn==="rtl",[`${sr}-bordered`]:nn.wireframe},ii,wn,an,_n,Hn),oi=Object.assign(Object.assign({},si),en);return Lr(x.createElement(x.Fragment,null,nn.wireframe&&x.createElement(st,{prefixCls:sr}),x.createElement(Ot,Object.assign({},or,Lt,{style:oi,prefixCls:sr,selectPrefixCls:Mr,className:gi,locale:Cr,pageSizeOptions:ro,showSizeChanger:fi,sizeChangerRender:Yi}))))},Ht=Dt},89787:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return In}});var x=ae(59301),dt=ae(17835),Ie=ae(29679),qe=ae(40001),ze=ae(19248),Fe=ae(99267),Ue=ae(92310),he=ae.n(Ue),xe=ae(2738),oe=ae(48755),Ne=ae(60499),ve=ae(85899),Re=ae(42244),Se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Pe=function(){var sn=(0,x.useRef)([]),Nn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Vn=Date.now(),Lt=!1;sn.current.forEach(function(Gt){if(Gt){Lt=!0;var nn=Gt.style;nn.transitionDuration=".3s, .3s, .3s, .06s",Nn.current&&Vn-Nn.current<100&&(nn.transitionDuration="0s, 0s")}}),Lt&&(Nn.current=Date.now())}),sn.current},ye=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ce=function(sn){var Nn=(0,ve.Z)((0,ve.Z)({},Se),sn),Vn=Nn.className,Lt=Nn.percent,Gt=Nn.prefixCls,nn=Nn.strokeColor,Cn=Nn.strokeLinecap,Gn=Nn.strokeWidth,Sr=Nn.style,ii=Nn.trailColor,si=Nn.trailWidth,sr=Nn.transition,Lr=(0,Re.Z)(Nn,ye);delete Lr.gapPosition;var _n=Array.isArray(Lt)?Lt:[Lt],Hn=Array.isArray(nn)?nn:[nn],Jn=Pe(),ir=Gn/2,Zn=100-Gn/2,Cr="M ".concat(Cn==="round"?ir:0,",").concat(ir,` - L `).concat(Cn==="round"?Zn:100,",").concat(ir),Er="0 0 100 ".concat(Gn),Nr=0;return x.createElement("svg",(0,Ne.Z)({className:he()("".concat(Gt,"-line"),Vn),viewBox:Er,preserveAspectRatio:"none",style:Sr},Lr),x.createElement("path",{className:"".concat(Gt,"-line-trail"),d:Cr,strokeLinecap:Cn,stroke:ii,strokeWidth:si||Gn,fillOpacity:"0"}),_n.map(function(pi,di){var fi=1;switch(Cn){case"round":fi=1-Gn/100;break;case"square":fi=1-Gn/2/100;break;default:fi=1;break}var Oi={strokeDasharray:"".concat(pi*fi,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:sr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ci=Hn[di]||Hn[Hn.length-1];return Nr+=pi,x.createElement("path",{key:di,className:"".concat(Gt,"-line-path"),d:Cr,strokeLinecap:Cn,stroke:Ci,strokeWidth:Gn,fillOpacity:"0",ref:function(Yi){Jn[di]=Yi},style:Oi})}))},Ee=Ce,Me=ae(43749),Ke=ae(72190),je=ae(47273),_e=0,Je=(0,je.Z)();function Xe(){var Qt;return Je?(Qt=_e,_e+=1):Qt="TEST_OR_SSR",Qt}var ut=function(Qt){var sn=x.useState(),Nn=(0,Ke.Z)(sn,2),Vn=Nn[0],Lt=Nn[1];return x.useEffect(function(){Lt("rc_progress_".concat(Xe()))},[]),Qt||Vn},ot=function(sn){var Nn=sn.bg,Vn=sn.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Nn}},Vn)};function ht(Qt,sn){return Object.keys(Qt).map(function(Nn){var Vn=parseFloat(Nn),Lt="".concat(Math.floor(Vn*sn),"%");return"".concat(Qt[Nn]," ").concat(Lt)})}var Ct=x.forwardRef(function(Qt,sn){var Nn=Qt.prefixCls,Vn=Qt.color,Lt=Qt.gradientId,Gt=Qt.radius,nn=Qt.style,Cn=Qt.ptg,Gn=Qt.strokeLinecap,Sr=Qt.strokeWidth,ii=Qt.size,si=Qt.gapDegree,sr=Vn&&(0,Me.Z)(Vn)==="object",Lr=sr?"#FFF":void 0,_n=ii/2,Hn=x.createElement("circle",{className:"".concat(Nn,"-circle-path"),r:Gt,cx:_n,cy:_n,stroke:Lr,strokeLinecap:Gn,strokeWidth:Sr,opacity:Cn===0?0:1,style:nn,ref:sn});if(!sr)return Hn;var Jn="".concat(Lt,"-conic"),ir=si?"".concat(180+si/2,"deg"):"0deg",Zn=ht(Vn,(360-si)/360),Cr=ht(Vn,1),Er="conic-gradient(from ".concat(ir,", ").concat(Zn.join(", "),")"),Nr="linear-gradient(to ".concat(si?"bottom":"top",", ").concat(Cr.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Jn},Hn),x.createElement("foreignObject",{x:0,y:0,width:ii,height:ii,mask:"url(#".concat(Jn,")")},x.createElement(ot,{bg:Nr},x.createElement(ot,{bg:Er}))))}),He=Ct,ft=100,De=function(sn,Nn,Vn,Lt,Gt,nn,Cn,Gn,Sr,ii){var si=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,sr=Vn/100*360*((360-nn)/360),Lr=nn===0?0:{bottom:0,top:180,left:90,right:-90}[Cn],_n=(100-Lt)/100*Nn;Sr==="round"&&Lt!==100&&(_n+=ii/2,_n>=Nn&&(_n=Nn-.01));var Hn=ft/2;return{stroke:typeof Gn=="string"?Gn:void 0,strokeDasharray:"".concat(Nn,"px ").concat(sn),strokeDashoffset:_n+si,transform:"rotate(".concat(Gt+sr+Lr,"deg)"),transformOrigin:"".concat(Hn,"px ").concat(Hn,"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}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(Qt){var sn=Qt!=null?Qt:[];return Array.isArray(sn)?sn:[sn]}var it=function(sn){var Nn=(0,ve.Z)((0,ve.Z)({},Se),sn),Vn=Nn.id,Lt=Nn.prefixCls,Gt=Nn.steps,nn=Nn.strokeWidth,Cn=Nn.trailWidth,Gn=Nn.gapDegree,Sr=Gn===void 0?0:Gn,ii=Nn.gapPosition,si=Nn.trailColor,sr=Nn.strokeLinecap,Lr=Nn.style,_n=Nn.className,Hn=Nn.strokeColor,Jn=Nn.percent,ir=(0,Re.Z)(Nn,Qe),Zn=ft/2,Cr=ut(Vn),Er="".concat(Cr,"-gradient"),Nr=Zn-nn/2,pi=Math.PI*2*Nr,di=Sr>0?90+Sr/2:-90,fi=pi*((360-Sr)/360),Oi=(0,Me.Z)(Gt)==="object"?Gt:{count:Gt,gap:2},Ci=Oi.count,ro=Oi.gap,Yi=Ot(Jn),or=Ot(Hn),Mr=or.find(function(Wt){return Wt&&(0,Me.Z)(Wt)==="object"}),gi=Mr&&(0,Me.Z)(Mr)==="object",oi=gi?"butt":sr,un=De(pi,fi,0,100,di,Sr,ii,si,oi,nn),bt=Pe(),Rt=function(){var yn=0;return Yi.map(function(On,jr){var $r=or[jr]||or[or.length-1],Xr=De(pi,fi,yn,On,di,Sr,ii,$r,oi,nn);return yn+=On,x.createElement(He,{key:jr,color:$r,ptg:On,radius:Nr,prefixCls:Lt,gradientId:Er,style:Xr,strokeLinecap:oi,strokeWidth:nn,gapDegree:Sr,ref:function(lr){bt[jr]=lr},size:ft})}).reverse()},fn=function(){var yn=Math.round(Ci*(Yi[0]/100)),On=100/Ci,jr=0;return new Array(Ci).fill(null).map(function($r,Xr){var dr=Xr<=yn-1?or[0]:si,lr=dr&&(0,Me.Z)(dr)==="object"?"url(#".concat(Er,")"):void 0,$n=De(pi,fi,jr,On,di,Sr,ii,dr,"butt",nn,ro);return jr+=(fi-$n.strokeDashoffset+ro)*100/fi,x.createElement("circle",{key:Xr,className:"".concat(Lt,"-circle-path"),r:Nr,cx:Zn,cy:Zn,stroke:lr,strokeWidth:nn,opacity:1,style:$n,ref:function(Ti){bt[Xr]=Ti}})})};return x.createElement("svg",(0,Ne.Z)({className:he()("".concat(Lt,"-circle"),_n),viewBox:"0 0 ".concat(ft," ").concat(ft),style:Lr,id:Vn,role:"presentation"},ir),!Ci&&x.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:Nr,cx:Zn,cy:Zn,stroke:si,strokeLinecap:oi,strokeWidth:Cn||nn,style:un}),Ci?fn():Rt())},at=it,Bt={Line:Ee,Circle:at},We=ae(25399),Te=ae(68361);function ct(Qt){return!Qt||Qt<0?0:Qt>100?100:Qt}function Zt(Qt){let{success:sn,successPercent:Nn}=Qt,Vn=Nn;return sn&&"progress"in sn&&(Vn=sn.progress),sn&&"percent"in sn&&(Vn=sn.percent),Vn}const jt=Qt=>{let{percent:sn,success:Nn,successPercent:Vn}=Qt;const Lt=ct(Zt({success:Nn,successPercent:Vn}));return[Lt,ct(ct(sn)-Lt)]},tt=Qt=>{let{success:sn={},strokeColor:Nn}=Qt;const{strokeColor:Vn}=sn;return[Vn||Te.presetPrimaryColors.green,Nn||null]},Tt=(Qt,sn,Nn)=>{var Vn,Lt,Gt,nn;let Cn=-1,Gn=-1;if(sn==="step"){const Sr=Nn.steps,ii=Nn.strokeWidth;typeof Qt=="string"||typeof Qt=="undefined"?(Cn=Qt==="small"?2:14,Gn=ii!=null?ii:8):typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:[Cn=14,Gn=8]=Array.isArray(Qt)?Qt:[Qt.width,Qt.height],Cn*=Sr}else if(sn==="line"){const Sr=Nn==null?void 0:Nn.strokeWidth;typeof Qt=="string"||typeof Qt=="undefined"?Gn=Sr||(Qt==="small"?6:8):typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:[Cn=-1,Gn=8]=Array.isArray(Qt)?Qt:[Qt.width,Qt.height]}else(sn==="circle"||sn==="dashboard")&&(typeof Qt=="string"||typeof Qt=="undefined"?[Cn,Gn]=Qt==="small"?[60,60]:[120,120]:typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:Array.isArray(Qt)&&(Cn=(Lt=(Vn=Qt[0])!==null&&Vn!==void 0?Vn:Qt[1])!==null&&Lt!==void 0?Lt:120,Gn=(nn=(Gt=Qt[0])!==null&&Gt!==void 0?Gt:Qt[1])!==null&&nn!==void 0?nn:120));return[Cn,Gn]},_t=3,hn=Qt=>_t/Qt*100;var vn=Qt=>{const{prefixCls:sn,trailColor:Nn=null,strokeLinecap:Vn="round",gapPosition:Lt,gapDegree:Gt,width:nn=120,type:Cn,children:Gn,success:Sr,size:ii=nn,steps:si}=Qt,[sr,Lr]=Tt(ii,"circle");let{strokeWidth:_n}=Qt;_n===void 0&&(_n=Math.max(hn(sr),6));const Hn={width:sr,height:Lr,fontSize:sr*.15+6},Jn=x.useMemo(()=>{if(Gt||Gt===0)return Gt;if(Cn==="dashboard")return 75},[Gt,Cn]),ir=jt(Qt),Zn=Lt||Cn==="dashboard"&&"bottom"||void 0,Cr=Object.prototype.toString.call(Qt.strokeColor)==="[object Object]",Er=tt({success:Sr,strokeColor:Qt.strokeColor}),Nr=he()(`${sn}-inner`,{[`${sn}-circle-gradient`]:Cr}),pi=x.createElement(at,{steps:si,percent:si?ir[1]:ir,strokeWidth:_n,trailWidth:_n,strokeColor:si?Er[1]:Er,strokeLinecap:Vn,trailColor:Nn,prefixCls:sn,gapDegree:Jn,gapPosition:Zn}),di=sr<=20,fi=x.createElement("div",{className:Nr,style:Hn},pi,!di&&Gn);return di?x.createElement(We.Z,{title:Gn},fi):fi},kt=ae(36237),Sn=ae(63356),on=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=Qt=>{const sn=Qt?"100%":"-100%";return new kt.Keyframes(`antProgress${Qt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:Object.assign(Object.assign({},(0,Sn.Wf)(Qt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Qt.fontSize},[`${sn}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${sn}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Qt.remainingColor,borderRadius:Qt.lineBorderRadius},[`${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.defaultColor}},[`${sn}-success-bg, ${sn}-bg`]:{position:"relative",background:Qt.defaultColor,borderRadius:Qt.lineBorderRadius,transition:`all ${Qt.motionDurationSlow} ${Qt.motionEaseInOutCirc}`},[`${sn}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${sn}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Qt.marginXXS}},[`${sn}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${sn}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${sn}-text-inner`]:{color:Qt.colorWhite,[`&${sn}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${sn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Qt.colorSuccess},[`${sn}-text`]:{display:"inline-block",marginInlineStart:Qt.marginXS,color:Qt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nn]:{fontSize:Qt.fontSize},[`&${sn}-text-outer`]:{width:"max-content"},[`&${sn}-text-outer${sn}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Qt.marginXS}},[`${sn}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,kt.unit)(Qt.paddingXXS)}`,[`&${sn}-text-start`]:{justifyContent:"start"},[`&${sn}-text-end`]:{justifyContent:"end"}},[`&${sn}-status-active`]:{[`${sn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Qt.colorBgContainer,borderRadius:Qt.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:Qt.progressActiveMotionDuration,animationTimingFunction:Qt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${sn}-rtl${sn}-status-active`]:{[`${sn}-bg::before`]:{animationName:ee(!0)}},[`&${sn}-status-exception`]:{[`${sn}-bg`]:{backgroundColor:Qt.colorError},[`${sn}-text`]:{color:Qt.colorError}},[`&${sn}-status-exception ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.colorError}},[`&${sn}-status-success`]:{[`${sn}-bg`]:{backgroundColor:Qt.colorSuccess},[`${sn}-text`]:{color:Qt.colorSuccess}},[`&${sn}-status-success ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.colorSuccess}}})}},le=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:{[`${sn}-circle-trail`]:{stroke:Qt.remainingColor},[`&${sn}-circle ${sn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${sn}-circle ${sn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Qt.circleTextColor,fontSize:Qt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nn]:{fontSize:Qt.circleIconFontSize}},[`${sn}-circle&-status-exception`]:{[`${sn}-text`]:{color:Qt.colorError}},[`${sn}-circle&-status-success`]:{[`${sn}-text`]:{color:Qt.colorSuccess}}},[`${sn}-inline-circle`]:{lineHeight:1,[`${sn}-inner`]:{verticalAlign:"bottom"}}}},Be=Qt=>{const{componentCls:sn}=Qt;return{[sn]:{[`${sn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Qt.progressStepMinWidth,marginInlineEnd:Qt.progressStepMarginInlineEnd,backgroundColor:Qt.remainingColor,transition:`all ${Qt.motionDurationSlow}`,"&-active":{backgroundColor:Qt.defaultColor}}}}}},Ve=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:{[`${sn}-small&-line, ${sn}-small&-line ${sn}-text ${Nn}`]:{fontSize:Qt.fontSizeSM}}}},st=Qt=>({circleTextColor:Qt.colorText,defaultColor:Qt.colorInfo,remainingColor:Qt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Qt.fontSize/Qt.fontSizeSM}em`});var gt=(0,on.I$)("Progress",Qt=>{const sn=Qt.calc(Qt.marginXXS).div(2).equal(),Nn=(0,de.mergeToken)(Qt,{progressStepMarginInlineEnd:sn,progressStepMinWidth:sn,progressActiveMotionDuration:"2.4s"});return[se(Nn),le(Nn),Be(Nn),Ve(Nn)]},st),mt=function(Qt,sn){var Nn={};for(var Vn in Qt)Object.prototype.hasOwnProperty.call(Qt,Vn)&&sn.indexOf(Vn)<0&&(Nn[Vn]=Qt[Vn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Vn=Object.getOwnPropertySymbols(Qt);Lt{let sn=[];return Object.keys(Qt).forEach(Nn=>{const Vn=parseFloat(Nn.replace(/%/g,""));Number.isNaN(Vn)||sn.push({key:Vn,value:Qt[Nn]})}),sn=sn.sort((Nn,Vn)=>Nn.key-Vn.key),sn.map(Nn=>{let{key:Vn,value:Lt}=Nn;return`${Lt} ${Vn}%`}).join(", ")},Dt=(Qt,sn)=>{const{from:Nn=Te.presetPrimaryColors.blue,to:Vn=Te.presetPrimaryColors.blue,direction:Lt=sn==="rtl"?"to left":"to right"}=Qt,Gt=mt(Qt,["from","to","direction"]);if(Object.keys(Gt).length!==0){const Cn=St(Gt),Gn=`linear-gradient(${Lt}, ${Cn})`;return{background:Gn,[ge]:Gn}}const nn=`linear-gradient(${Lt}, ${Nn}, ${Vn})`;return{background:nn,[ge]:nn}};var xt=Qt=>{const{prefixCls:sn,direction:Nn,percent:Vn,size:Lt,strokeWidth:Gt,strokeColor:nn,strokeLinecap:Cn="round",children:Gn,trailColor:Sr=null,percentPosition:ii,success:si}=Qt,{align:sr,type:Lr}=ii,_n=nn&&typeof nn!="string"?Dt(nn,Nn):{[ge]:nn,background:nn},Hn=Cn==="square"||Cn==="butt"?0:void 0,Jn=Lt!=null?Lt:[-1,Gt||(Lt==="small"?6:8)],[ir,Zn]=Tt(Jn,"line",{strokeWidth:Gt}),Cr={backgroundColor:Sr||void 0,borderRadius:Hn},Er=Object.assign(Object.assign({width:`${ct(Vn)}%`,height:Zn,borderRadius:Hn},_n),{[ie]:ct(Vn)/100}),Nr=Zt(Qt),pi={width:`${ct(Nr)}%`,height:Zn,borderRadius:Hn,backgroundColor:si==null?void 0:si.strokeColor},di={width:ir<0?"100%":ir},fi=x.createElement("div",{className:`${sn}-inner`,style:Cr},x.createElement("div",{className:he()(`${sn}-bg`,`${sn}-bg-${Lr}`),style:Er},Lr==="inner"&&Gn),Nr!==void 0&&x.createElement("div",{className:`${sn}-success-bg`,style:pi})),Oi=Lr==="outer"&&sr==="start",Ci=Lr==="outer"&&sr==="end";return Lr==="outer"&&sr==="center"?x.createElement("div",{className:`${sn}-layout-bottom`},fi,Gn):x.createElement("div",{className:`${sn}-outer`,style:di},Oi&&Gn,fi,Ci&&Gn)},Xt=Qt=>{const{size:sn,steps:Nn,rounding:Vn=Math.round,percent:Lt=0,strokeWidth:Gt=8,strokeColor:nn,trailColor:Cn=null,prefixCls:Gn,children:Sr}=Qt,ii=Vn(Nn*(Lt/100)),si=sn==="small"?2:14,sr=sn!=null?sn:[si,Gt],[Lr,_n]=Tt(sr,"step",{steps:Nn,strokeWidth:Gt}),Hn=Lr/Nn,Jn=Array.from({length:Nn});for(let ir=0;ir{const{prefixCls:Nn,className:Vn,rootClassName:Lt,steps:Gt,strokeColor:nn,percent:Cn=0,size:Gn="default",showInfo:Sr=!0,type:ii="line",status:si,format:sr,style:Lr,percentPosition:_n={}}=Qt,Hn=Vt(Qt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Jn="end",type:ir="outer"}=_n,Zn=Array.isArray(nn)?nn[0]:nn,Cr=typeof nn=="string"||Array.isArray(nn)?nn:void 0,Er=x.useMemo(()=>{if(Zn){const Rt=typeof Zn=="string"?Zn:Object.values(Zn)[0];return new dt.FastColor(Rt).isLight()}return!1},[nn]),Nr=x.useMemo(()=>{var Rt,fn;const Wt=Zt(Qt);return parseInt(Wt!==void 0?(Rt=Wt!=null?Wt:0)===null||Rt===void 0?void 0:Rt.toString():(fn=Cn!=null?Cn:0)===null||fn===void 0?void 0:fn.toString(),10)},[Cn,Qt.success,Qt.successPercent]),pi=x.useMemo(()=>!an.includes(si)&&Nr>=100?"success":si||"normal",[si,Nr]),{getPrefixCls:di,direction:fi,progress:Oi}=x.useContext(oe.E_),Ci=di("progress",Nn),[ro,Yi,or]=gt(Ci),Mr=ii==="line",gi=Mr&&!Gt,oi=x.useMemo(()=>{if(!Sr)return null;const Rt=Zt(Qt);let fn;const Wt=sr||(On=>`${On}%`),yn=Mr&&Er&&ir==="inner";return ir==="inner"||sr||pi!=="exception"&&pi!=="success"?fn=Wt(ct(Cn),ct(Rt)):pi==="exception"?fn=Mr?x.createElement(ze.Z,null):x.createElement(Fe.Z,null):pi==="success"&&(fn=Mr?x.createElement(Ie.Z,null):x.createElement(qe.Z,null)),x.createElement("span",{className:he()(`${Ci}-text`,{[`${Ci}-text-bright`]:yn,[`${Ci}-text-${Jn}`]:gi,[`${Ci}-text-${ir}`]:gi}),title:typeof fn=="string"?fn:void 0},fn)},[Sr,Cn,Nr,pi,ii,Ci,sr]);let un;ii==="line"?un=Gt?x.createElement(Xt,Object.assign({},Qt,{strokeColor:Cr,prefixCls:Ci,steps:typeof Gt=="object"?Gt.count:Gt}),oi):x.createElement(xt,Object.assign({},Qt,{strokeColor:Zn,prefixCls:Ci,direction:fi,percentPosition:{align:Jn,type:ir}}),oi):(ii==="circle"||ii==="dashboard")&&(un=x.createElement(vn,Object.assign({},Qt,{strokeColor:Zn,prefixCls:Ci,progressStatus:pi}),oi));const bt=he()(Ci,`${Ci}-status-${pi}`,{[`${Ci}-${ii==="dashboard"&&"circle"||ii}`]:ii!=="line",[`${Ci}-inline-circle`]:ii==="circle"&&Tt(Gn,"circle")[0]<=20,[`${Ci}-line`]:gi,[`${Ci}-line-align-${Jn}`]:gi,[`${Ci}-line-position-${ir}`]:gi,[`${Ci}-steps`]:Gt,[`${Ci}-show-info`]:Sr,[`${Ci}-${Gn}`]:typeof Gn=="string",[`${Ci}-rtl`]:fi==="rtl"},Oi==null?void 0:Oi.className,Vn,Lt,Yi,or);return ro(x.createElement("div",Object.assign({ref:sn,style:Object.assign(Object.assign({},Oi==null?void 0:Oi.style),Lr),className:bt,role:"progressbar","aria-valuenow":Nr,"aria-valuemin":0,"aria-valuemax":100},(0,xe.Z)(Hn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),un))}),In=zn},63139:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return jt}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(Tt,_t){return x.createElement(ze.Z,(0,dt.Z)({},Tt,{ref:_t,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(92310),oe=ae.n(xe),Ne=ae(18642),ve=ae(72190),Re=ae(42244),Se=ae(18929),Pe=ae(10228),ye=ae(26112);function Ce(tt,Tt){var _t=tt.disabled,hn=tt.prefixCls,Pt=tt.character,vn=tt.characterRender,kt=tt.index,Sn=tt.count,on=tt.value,de=tt.allowHalf,ge=tt.focused,ie=tt.onHover,ee=tt.onClick,se=function(Dt){ie(Dt,kt)},le=function(Dt){ee(Dt,kt)},Be=function(Dt){Dt.keyCode===Pe.Z.ENTER&&ee(Dt,kt)},Ve=kt+1,st=new Set([hn]);on===0&&kt===0&&ge?st.add("".concat(hn,"-focused")):de&&on+.5>=Ve&&onkt?"true":"false","aria-posinset":kt+1,"aria-setsize":Sn,tabIndex:_t?-1:0},x.createElement("div",{className:"".concat(hn,"-first")},gt),x.createElement("div",{className:"".concat(hn,"-second")},gt)));return vn&&(mt=vn(mt,tt)),mt}var Ee=x.forwardRef(Ce);function Me(){var tt=x.useRef({});function Tt(hn){return tt.current[hn]}function _t(hn){return function(Pt){tt.current[hn]=Pt}}return[Tt,_t]}function Ke(tt){var Tt=tt.pageXOffset,_t="scrollLeft";if(typeof Tt!="number"){var hn=tt.document;Tt=hn.documentElement[_t],typeof Tt!="number"&&(Tt=hn.body[_t])}return Tt}function je(tt){var Tt,_t,hn=tt.ownerDocument,Pt=hn.body,vn=hn&&hn.documentElement,kt=tt.getBoundingClientRect();return Tt=kt.left,_t=kt.top,Tt-=vn.clientLeft||Pt.clientLeft||0,_t-=vn.clientTop||Pt.clientTop||0,{left:Tt,top:_t}}function _e(tt){var Tt=je(tt),_t=tt.ownerDocument,hn=_t.defaultView||_t.parentWindow;return Tt.left+=Ke(hn),Tt.left}var Je=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Xe(tt,Tt){var _t=tt.prefixCls,hn=_t===void 0?"rc-rate":_t,Pt=tt.className,vn=tt.defaultValue,kt=tt.value,Sn=tt.count,on=Sn===void 0?5:Sn,de=tt.allowHalf,ge=de===void 0?!1:de,ie=tt.allowClear,ee=ie===void 0?!0:ie,se=tt.keyboard,le=se===void 0?!0:se,Be=tt.character,Ve=Be===void 0?"\u2605":Be,st=tt.characterRender,gt=tt.disabled,mt=tt.direction,St=mt===void 0?"ltr":mt,Dt=tt.tabIndex,Ht=Dt===void 0?0:Dt,xt=tt.autoFocus,lt=tt.onHoverChange,Xt=tt.onChange,Vt=tt.onFocus,wn=tt.onBlur,an=tt.onKeyDown,en=tt.onMouseLeave,zn=(0,Re.Z)(tt,Je),In=Me(),Qt=(0,ve.Z)(In,2),sn=Qt[0],Nn=Qt[1],Vn=x.useRef(null),Lt=function(){if(!gt){var oi;(oi=Vn.current)===null||oi===void 0||oi.focus()}};x.useImperativeHandle(Tt,function(){return{focus:Lt,blur:function(){if(!gt){var oi;(oi=Vn.current)===null||oi===void 0||oi.blur()}}}});var Gt=(0,Se.Z)(vn||0,{value:kt}),nn=(0,ve.Z)(Gt,2),Cn=nn[0],Gn=nn[1],Sr=(0,Se.Z)(null),ii=(0,ve.Z)(Sr,2),si=ii[0],sr=ii[1],Lr=function(oi,un){var bt=St==="rtl",Rt=oi+1;if(ge){var fn=sn(oi),Wt=_e(fn),yn=fn.clientWidth;(bt&&un-Wt>yn/2||!bt&&un-Wt0&&!bt||un===Pe.Z.RIGHT&&Cn>0&&bt?(_n(Cn-Rt),oi.preventDefault()):un===Pe.Z.LEFT&&Cn{const{componentCls:Tt}=tt;return{[`${Tt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,He.unit)(tt.lineWidth)} dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Tt}-star-first, &-half ${Tt}-star-second`]:{opacity:1},[`&-half ${Tt}-star-first, &-full ${Tt}-star-second`]:{color:"inherit"}}}},it=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),at=tt=>{const{componentCls:Tt}=tt;return{[Tt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Tt} ${Tt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(tt)),it(tt))}},Bt=tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent});var We=(0,De.I$)("Rate",tt=>{const Tt=(0,Qe.mergeToken)(tt,{});return[at(Tt)]},Bt),Te=ae(2171),ct=function(tt,Tt){var _t={};for(var hn in tt)Object.prototype.hasOwnProperty.call(tt,hn)&&Tt.indexOf(hn)<0&&(_t[hn]=tt[hn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,hn=Object.getOwnPropertySymbols(tt);Pt{const{prefixCls:_t,className:hn,rootClassName:Pt,style:vn,tooltips:kt,character:Sn=x.createElement(he,null),disabled:on}=tt,de=ct(tt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Dt,Ht)=>{let{index:xt}=Ht;return kt?x.createElement(Ct.Z,{title:kt[xt]},Dt):Dt},{getPrefixCls:ie,direction:ee,rate:se}=x.useContext(ht.E_),le=ie("rate",_t),[Be,Ve,st]=We(le),gt=Object.assign(Object.assign({},se==null?void 0:se.style),vn),mt=x.useContext(Te.Z),St=on!=null?on:mt;return Be(x.createElement(ot,Object.assign({ref:Tt,character:Sn,characterRender:ge,disabled:St},de,{className:oe()(hn,Pt,Ve,st,se==null?void 0:se.className),style:gt,prefixCls:le,direction:ee})))})},82326:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(37463),ze=ae(2738),Fe=ae(75030),Ue=ae(86641),he=ae(45915),xe=ae(82855),oe=ae(48755),Ne=ae(38406),ve=ae(2171),Re=ae(83397),Se=ae(31756),Pe=ae(56553),ye=ae(24971),Ce=ae(70045),Ee=ae(57700),Me=ae(1722),Ke=ae(90376),je=ae(68525),_e=ae(90005),Je=function(Ct,He){var ft={};for(var De in Ct)Object.prototype.hasOwnProperty.call(Ct,De)&&He.indexOf(De)<0&&(ft[De]=Ct[De]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,De=Object.getOwnPropertySymbols(Ct);Qe{var ft;const{prefixCls:De,bordered:Qe,className:Ot,rootClassName:it,getPopupContainer:at,popupClassName:Bt,dropdownClassName:We,listHeight:Te=256,placement:ct,listItemHeight:Zt,size:jt,disabled:tt,notFoundContent:Tt,status:_t,builtinPlacements:hn,dropdownMatchSelectWidth:Pt,popupMatchSelectWidth:vn,direction:kt,style:Sn,allowClear:on,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:se,prefix:le}=Ct,Be=Je(Ct,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Ve,getPrefixCls:st,renderEmpty:gt,direction:mt,virtual:St,popupMatchSelectWidth:Dt,popupOverflow:Ht}=x.useContext(oe.E_),xt=(0,oe.dj)("select"),[,lt]=(0,Ee.ZP)(),Xt=Zt!=null?Zt:lt==null?void 0:lt.controlHeight,Vt=st("select",De),wn=st(),an=kt!=null?kt:mt,{compactSize:en,compactItemClassnames:zn}=(0,Ce.ri)(Vt,an),[In,Qt]=(0,ye.Z)("select",de,Qe),sn=(0,Re.Z)(Vt),[Nn,Vn,Lt]=(0,Ke.Z)(Vt,sn),Gt=x.useMemo(()=>{const{mode:Yi}=Ct;if(Yi!=="combobox")return Yi===Xe?"combobox":Yi},[Ct.mode]),nn=Gt==="multiple"||Gt==="tags",Cn=(0,_e.Z)(Ct.suffixIcon,Ct.showArrow),Gn=(ft=vn!=null?vn:Pt)!==null&&ft!==void 0?ft:Dt,{status:Sr,hasFeedback:ii,isFormItemInput:si,feedbackIcon:sr}=x.useContext(Pe.aM),Lr=(0,xe.F)(Sr,_t);let _n;Tt!==void 0?_n=Tt:Gt==="combobox"?_n=null:_n=(gt==null?void 0:gt("Select"))||x.createElement(Ne.Z,{componentName:"Select"});const{suffixIcon:Hn,itemIcon:Jn,removeIcon:ir,clearIcon:Zn}=(0,je.Z)(Object.assign(Object.assign({},Be),{multiple:nn,hasFeedback:ii,feedbackIcon:sr,showSuffixIcon:Cn,prefixCls:Vt,componentName:"Select"})),Cr=on===!0?{clearIcon:Zn}:on,Er=(0,ze.Z)(Be,["suffixIcon","itemIcon"]),Nr=Ie()(Bt||We,{[`${Vt}-dropdown-${an}`]:an==="rtl"},it,Lt,sn,Vn),pi=(0,Se.Z)(Yi=>{var or;return(or=jt!=null?jt:en)!==null&&or!==void 0?or:Yi}),di=x.useContext(ve.Z),fi=tt!=null?tt:di,Oi=Ie()({[`${Vt}-lg`]:pi==="large",[`${Vt}-sm`]:pi==="small",[`${Vt}-rtl`]:an==="rtl",[`${Vt}-${In}`]:Qt,[`${Vt}-in-form-item`]:si},(0,xe.Z)(Vt,Lr,ii),zn,xt.className,Ot,it,Lt,sn,Vn),Ci=x.useMemo(()=>ct!==void 0?ct:an==="rtl"?"bottomRight":"bottomLeft",[ct,an]),[ro]=(0,Fe.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Nn(x.createElement(qe.ZP,Object.assign({ref:He,virtual:St,showSearch:xt.showSearch},Er,{style:Object.assign(Object.assign({},xt.style),Sn),dropdownMatchSelectWidth:Gn,transitionName:(0,Ue.m)(wn,"slide-up",ie),builtinPlacements:(0,Me.Z)(hn,Ht),listHeight:Te,listItemHeight:Xt,mode:Gt,prefixCls:Vt,placement:Ci,direction:an,prefix:le,suffixIcon:Hn,menuItemSelectedIcon:Jn,removeIcon:ir,allowClear:Cr,notFoundContent:_n,className:Oi,getPopupContainer:at||Ve,dropdownClassName:Nr,disabled:fi,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:ro}),maxCount:nn?se:void 0,tagRender:nn?ee:void 0})))},ot=x.forwardRef(ut),ht=(0,he.Z)(ot,"dropdownAlign");ot.SECRET_COMBOBOX_MODE_DO_NOT_USE=Xe,ot.Option=qe.Wx,ot.OptGroup=qe.Xo,ot._InternalPanelDoNotUseOrYouWillBeFired=ht,Ut.default=ot},1722:function(Yn,Ut){"use strict";const ae=dt=>{const qe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:dt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},qe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},qe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},qe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},qe),{points:["br","tr"],offset:[0,-4]})}};function x(dt,Ie){return dt||ae(Ie)}Ut.Z=x},90376:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return De}});var x=ae(63356),dt=ae(56119),Ie=ae(16931),qe=ae(51636),ze=ae(46e3),Fe=ae(93873);const Ue=Qe=>{const{optionHeight:Ot,optionFontSize:it,optionLineHeight:at,optionPadding:Bt}=Qe;return{position:"relative",display:"block",minHeight:Ot,padding:Bt,color:Qe.colorText,fontWeight:"normal",fontSize:it,lineHeight:at,boxSizing:"border-box"}};var xe=Qe=>{const{antCls:Ot,componentCls:it}=Qe,at=`${it}-item`,Bt=`&${Ot}-slide-up-enter${Ot}-slide-up-enter-active`,We=`&${Ot}-slide-up-appear${Ot}-slide-up-appear-active`,Te=`&${Ot}-slide-up-leave${Ot}-slide-up-leave-active`,ct=`${it}-dropdown-placement-`,Zt=`${at}-option-selected`;return[{[`${it}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"absolute",top:-9999,zIndex:Qe.zIndexPopup,boxSizing:"border-box",padding:Qe.paddingXXS,overflow:"hidden",fontSize:Qe.fontSize,fontVariant:"initial",backgroundColor:Qe.colorBgElevated,borderRadius:Qe.borderRadiusLG,outline:"none",boxShadow:Qe.boxShadowSecondary,[` + `]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,color:xt.colorText,fontFamily:xt.fontFamily,lineHeight:(0,zt.unit)(xt.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xt.borderRadius,cursor:"pointer",transition:`all ${xt.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{outline:0,button:{color:xt.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,zt.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:"none",transition:`all ${xt.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:xt.paginationSlashMarginInlineEnd,marginInlineStart:xt.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:xt.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xt.controlHeight,marginInlineStart:xt.marginXS,lineHeight:(0,zt.unit)(xt.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,tt.ik)(xt)),(0,_t.$U)(xt,{borderColor:xt.colorBorder,hoverBorderColor:xt.colorPrimaryHover,activeBorderColor:xt.colorPrimary,activeShadow:xt.activeShadow})),{"&[disabled]":Object.assign({},(0,_t.Xy)(xt)),width:xt.calc(xt.controlHeightLG).mul(1.25).equal(),height:xt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xt.marginXS,marginInlineEnd:xt.marginXS})}}}},ge=xt=>{const{componentCls:lt}=xt;return{[`${lt}-item`]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,marginInlineEnd:xt.marginXS,fontFamily:xt.fontFamily,lineHeight:(0,zt.unit)(xt.calc(xt.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:xt.itemBg,border:`${(0,zt.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,zt.unit)(xt.paginationItemPaddingInline)}`,color:xt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${xt.motionDurationMid}`,backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive}},"&-active":{fontWeight:xt.fontWeightStrong,backgroundColor:xt.itemActiveBg,borderColor:xt.colorPrimary,a:{color:xt.colorPrimary},"&:hover":{borderColor:xt.colorPrimaryHover},"&:hover a":{color:xt.colorPrimaryHover}}}}},ie=xt=>{const{componentCls:lt}=xt;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,fn.Wf)(xt)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${lt}-total-text`]:{display:"inline-block",height:xt.itemSize,marginInlineEnd:xt.marginXS,lineHeight:(0,zt.unit)(xt.calc(xt.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(xt)),de(xt)),on(xt)),Sn(xt)),kt(xt)),{[`@media only screen and (max-width: ${xt.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xt.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${xt.componentCls}-rtl`]:{direction:"rtl"}}},ee=xt=>{const{componentCls:lt}=xt;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,fn.Qy)(xt)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,fn.oN)(xt))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,fn.oN)(xt))}}}},se=xt=>Object.assign({itemBg:xt.colorBgContainer,itemSize:xt.controlHeight,itemSizeSM:xt.controlHeightSM,itemActiveBg:xt.colorBgContainer,itemLinkBg:xt.colorBgContainer,itemActiveColorDisabled:xt.colorTextDisabled,itemActiveBgDisabled:xt.controlItemBgActiveDisabled,itemInputBg:xt.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Pt.T)(xt)),le=xt=>(0,Tt.mergeToken)(xt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xt.calc(xt.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:xt.calc(xt.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:xt.calc(xt.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:xt.calc(xt.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:xt.marginSM,paginationSlashMarginInlineEnd:xt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pt.e)(xt));var Be=(0,vn.I$)("Pagination",xt=>{const lt=le(xt);return[ie(lt),ee(lt)]},se);const Ve=xt=>{const{componentCls:lt}=xt;return{[`${lt}${lt}-bordered${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:xt.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:xt.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,a:{color:xt.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:xt.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,color:xt.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder}}},[`${lt}${lt}-bordered:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:xt.colorPrimaryHover,backgroundColor:xt.itemBg},[`${lt}-item-link`]:{backgroundColor:xt.itemLinkBg,borderColor:xt.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,color:xt.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:xt.colorBorder,color:xt.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:xt.itemBg,border:`${(0,zt.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,a:{color:xt.colorPrimary}},"&-active":{borderColor:xt.colorPrimary}}}}};var st=(0,vn.bk)(["Pagination","bordered"],xt=>{const lt=le(xt);return[Ve(lt)]},se);function gt(xt){return(0,x.useMemo)(()=>typeof xt=="boolean"?[xt,{}]:xt&&typeof xt=="object"?[!0,xt]:[void 0,void 0],[xt])}var mt=function(xt,lt){var Xt={};for(var Vt in xt)Object.prototype.hasOwnProperty.call(xt,Vt)&<.indexOf(Vt)<0&&(Xt[Vt]=xt[Vt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,Vt=Object.getOwnPropertySymbols(xt);wn{const{align:lt,prefixCls:Xt,selectPrefixCls:Vt,className:wn,rootClassName:an,style:en,size:zn,locale:In,responsive:Qt,showSizeChanger:sn,selectComponentClass:Nn,pageSizeOptions:Vn}=xt,Lt=mt(xt,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Gt}=(0,We.Z)(Qt),[,nn]=(0,Zt.ZP)(),{getPrefixCls:Cn,direction:Gn,showSizeChanger:Sr,className:ii,style:si}=(0,at.dj)("pagination"),sr=Cn("pagination",Xt),[Lr,Qn,Hn]=Be(sr),Jn=(0,Bt.Z)(zn),ir=Jn==="small"||!!(Gt&&!Jn&&Qt),[Zn]=(0,Te.Z)("Pagination",it.Z),Cr=Object.assign(Object.assign({},Zn),In),[Er,Nr]=gt(sn),[pi,di]=gt(Sr),fi=Er!=null?Er:pi,Oi=Nr!=null?Nr:di,Ci=Nn||ct.default,ro=x.useMemo(()=>Vn?Vn.map(un=>Number(un)):void 0,[Vn]),Yi=un=>{var bt;const{disabled:Rt,size:hn,onSizeChange:Wt,"aria-label":yn,className:On,options:jr}=un,{className:$r,onChange:Xr}=Oi||{},dr=(bt=jr.find(lr=>String(lr.value)===String(hn)))===null||bt===void 0?void 0:bt.value;return x.createElement(Ci,Object.assign({disabled:Rt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:lr=>lr.parentNode,"aria-label":yn,options:jr},Oi,{value:dr,onChange:(lr,$n)=>{Wt==null||Wt(lr),Xr==null||Xr(lr,$n)},size:ir?"small":"middle",className:Re()(On,$r)}))},or=x.useMemo(()=>{const un=x.createElement("span",{className:`${sr}-item-ellipsis`},"\u2022\u2022\u2022"),bt=x.createElement("button",{className:`${sr}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?x.createElement(Ne.Z,null):x.createElement(oe.Z,null)),Rt=x.createElement("button",{className:`${sr}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?x.createElement(oe.Z,null):x.createElement(Ne.Z,null)),hn=x.createElement("a",{className:`${sr}-item-link`},x.createElement("div",{className:`${sr}-item-container`},Gn==="rtl"?x.createElement(xe.Z,{className:`${sr}-item-link-icon`}):x.createElement(he,{className:`${sr}-item-link-icon`}),un)),Wt=x.createElement("a",{className:`${sr}-item-link`},x.createElement("div",{className:`${sr}-item-container`},Gn==="rtl"?x.createElement(he,{className:`${sr}-item-link-icon`}):x.createElement(xe.Z,{className:`${sr}-item-link-icon`}),un));return{prevIcon:bt,nextIcon:Rt,jumpPrevIcon:hn,jumpNextIcon:Wt}},[Gn,sr]),Mr=Cn("select",Vt),gi=Re()({[`${sr}-${lt}`]:!!lt,[`${sr}-mini`]:ir,[`${sr}-rtl`]:Gn==="rtl",[`${sr}-bordered`]:nn.wireframe},ii,wn,an,Qn,Hn),oi=Object.assign(Object.assign({},si),en);return Lr(x.createElement(x.Fragment,null,nn.wireframe&&x.createElement(st,{prefixCls:sr}),x.createElement(Ot,Object.assign({},or,Lt,{style:oi,prefixCls:sr,selectPrefixCls:Mr,className:gi,locale:Cr,pageSizeOptions:ro,showSizeChanger:fi,sizeChangerRender:Yi}))))},jt=Dt},89787:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return In}});var x=ae(59301),dt=ae(17835),Ie=ae(29679),qe=ae(40001),ze=ae(19248),Fe=ae(99267),Ue=ae(92310),he=ae.n(Ue),xe=ae(2738),oe=ae(48755),Ne=ae(60499),ve=ae(85899),Re=ae(42244),Se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var sn=(0,x.useRef)([]),Nn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Vn=Date.now(),Lt=!1;sn.current.forEach(function(Gt){if(Gt){Lt=!0;var nn=Gt.style;nn.transitionDuration=".3s, .3s, .3s, .06s",Nn.current&&Vn-Nn.current<100&&(nn.transitionDuration="0s, 0s")}}),Lt&&(Nn.current=Date.now())}),sn.current},ye=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ce=function(sn){var Nn=(0,ve.Z)((0,ve.Z)({},Se),sn),Vn=Nn.className,Lt=Nn.percent,Gt=Nn.prefixCls,nn=Nn.strokeColor,Cn=Nn.strokeLinecap,Gn=Nn.strokeWidth,Sr=Nn.style,ii=Nn.trailColor,si=Nn.trailWidth,sr=Nn.transition,Lr=(0,Re.Z)(Nn,ye);delete Lr.gapPosition;var Qn=Array.isArray(Lt)?Lt:[Lt],Hn=Array.isArray(nn)?nn:[nn],Jn=Oe(),ir=Gn/2,Zn=100-Gn/2,Cr="M ".concat(Cn==="round"?ir:0,",").concat(ir,` + L `).concat(Cn==="round"?Zn:100,",").concat(ir),Er="0 0 100 ".concat(Gn),Nr=0;return x.createElement("svg",(0,Ne.Z)({className:he()("".concat(Gt,"-line"),Vn),viewBox:Er,preserveAspectRatio:"none",style:Sr},Lr),x.createElement("path",{className:"".concat(Gt,"-line-trail"),d:Cr,strokeLinecap:Cn,stroke:ii,strokeWidth:si||Gn,fillOpacity:"0"}),Qn.map(function(pi,di){var fi=1;switch(Cn){case"round":fi=1-Gn/100;break;case"square":fi=1-Gn/2/100;break;default:fi=1;break}var Oi={strokeDasharray:"".concat(pi*fi,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:sr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ci=Hn[di]||Hn[Hn.length-1];return Nr+=pi,x.createElement("path",{key:di,className:"".concat(Gt,"-line-path"),d:Cr,strokeLinecap:Cn,stroke:Ci,strokeWidth:Gn,fillOpacity:"0",ref:function(Yi){Jn[di]=Yi},style:Oi})}))},Ee=Ce,Me=ae(43749),Ke=ae(72190),je=ae(47273),Qe=0,Je=(0,je.Z)();function Xe(){var Qt;return Je?(Qt=Qe,Qe+=1):Qt="TEST_OR_SSR",Qt}var ut=function(Qt){var sn=x.useState(),Nn=(0,Ke.Z)(sn,2),Vn=Nn[0],Lt=Nn[1];return x.useEffect(function(){Lt("rc_progress_".concat(Xe()))},[]),Qt||Vn},ot=function(sn){var Nn=sn.bg,Vn=sn.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Nn}},Vn)};function ht(Qt,sn){return Object.keys(Qt).map(function(Nn){var Vn=parseFloat(Nn),Lt="".concat(Math.floor(Vn*sn),"%");return"".concat(Qt[Nn]," ").concat(Lt)})}var Ct=x.forwardRef(function(Qt,sn){var Nn=Qt.prefixCls,Vn=Qt.color,Lt=Qt.gradientId,Gt=Qt.radius,nn=Qt.style,Cn=Qt.ptg,Gn=Qt.strokeLinecap,Sr=Qt.strokeWidth,ii=Qt.size,si=Qt.gapDegree,sr=Vn&&(0,Me.Z)(Vn)==="object",Lr=sr?"#FFF":void 0,Qn=ii/2,Hn=x.createElement("circle",{className:"".concat(Nn,"-circle-path"),r:Gt,cx:Qn,cy:Qn,stroke:Lr,strokeLinecap:Gn,strokeWidth:Sr,opacity:Cn===0?0:1,style:nn,ref:sn});if(!sr)return Hn;var Jn="".concat(Lt,"-conic"),ir=si?"".concat(180+si/2,"deg"):"0deg",Zn=ht(Vn,(360-si)/360),Cr=ht(Vn,1),Er="conic-gradient(from ".concat(ir,", ").concat(Zn.join(", "),")"),Nr="linear-gradient(to ".concat(si?"bottom":"top",", ").concat(Cr.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Jn},Hn),x.createElement("foreignObject",{x:0,y:0,width:ii,height:ii,mask:"url(#".concat(Jn,")")},x.createElement(ot,{bg:Nr},x.createElement(ot,{bg:Er}))))}),He=Ct,ft=100,De=function(sn,Nn,Vn,Lt,Gt,nn,Cn,Gn,Sr,ii){var si=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,sr=Vn/100*360*((360-nn)/360),Lr=nn===0?0:{bottom:0,top:180,left:90,right:-90}[Cn],Qn=(100-Lt)/100*Nn;Sr==="round"&&Lt!==100&&(Qn+=ii/2,Qn>=Nn&&(Qn=Nn-.01));var Hn=ft/2;return{stroke:typeof Gn=="string"?Gn:void 0,strokeDasharray:"".concat(Nn,"px ").concat(sn),strokeDashoffset:Qn+si,transform:"rotate(".concat(Gt+sr+Lr,"deg)"),transformOrigin:"".concat(Hn,"px ").concat(Hn,"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}},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(Qt){var sn=Qt!=null?Qt:[];return Array.isArray(sn)?sn:[sn]}var it=function(sn){var Nn=(0,ve.Z)((0,ve.Z)({},Se),sn),Vn=Nn.id,Lt=Nn.prefixCls,Gt=Nn.steps,nn=Nn.strokeWidth,Cn=Nn.trailWidth,Gn=Nn.gapDegree,Sr=Gn===void 0?0:Gn,ii=Nn.gapPosition,si=Nn.trailColor,sr=Nn.strokeLinecap,Lr=Nn.style,Qn=Nn.className,Hn=Nn.strokeColor,Jn=Nn.percent,ir=(0,Re.Z)(Nn,_e),Zn=ft/2,Cr=ut(Vn),Er="".concat(Cr,"-gradient"),Nr=Zn-nn/2,pi=Math.PI*2*Nr,di=Sr>0?90+Sr/2:-90,fi=pi*((360-Sr)/360),Oi=(0,Me.Z)(Gt)==="object"?Gt:{count:Gt,gap:2},Ci=Oi.count,ro=Oi.gap,Yi=Ot(Jn),or=Ot(Hn),Mr=or.find(function(Wt){return Wt&&(0,Me.Z)(Wt)==="object"}),gi=Mr&&(0,Me.Z)(Mr)==="object",oi=gi?"butt":sr,un=De(pi,fi,0,100,di,Sr,ii,si,oi,nn),bt=Oe(),Rt=function(){var yn=0;return Yi.map(function(On,jr){var $r=or[jr]||or[or.length-1],Xr=De(pi,fi,yn,On,di,Sr,ii,$r,oi,nn);return yn+=On,x.createElement(He,{key:jr,color:$r,ptg:On,radius:Nr,prefixCls:Lt,gradientId:Er,style:Xr,strokeLinecap:oi,strokeWidth:nn,gapDegree:Sr,ref:function(lr){bt[jr]=lr},size:ft})}).reverse()},hn=function(){var yn=Math.round(Ci*(Yi[0]/100)),On=100/Ci,jr=0;return new Array(Ci).fill(null).map(function($r,Xr){var dr=Xr<=yn-1?or[0]:si,lr=dr&&(0,Me.Z)(dr)==="object"?"url(#".concat(Er,")"):void 0,$n=De(pi,fi,jr,On,di,Sr,ii,dr,"butt",nn,ro);return jr+=(fi-$n.strokeDashoffset+ro)*100/fi,x.createElement("circle",{key:Xr,className:"".concat(Lt,"-circle-path"),r:Nr,cx:Zn,cy:Zn,stroke:lr,strokeWidth:nn,opacity:1,style:$n,ref:function(Ti){bt[Xr]=Ti}})})};return x.createElement("svg",(0,Ne.Z)({className:he()("".concat(Lt,"-circle"),Qn),viewBox:"0 0 ".concat(ft," ").concat(ft),style:Lr,id:Vn,role:"presentation"},ir),!Ci&&x.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:Nr,cx:Zn,cy:Zn,stroke:si,strokeLinecap:oi,strokeWidth:Cn||nn,style:un}),Ci?hn():Rt())},at=it,Bt={Line:Ee,Circle:at},We=ae(25399),Te=ae(68361);function ct(Qt){return!Qt||Qt<0?0:Qt>100?100:Qt}function Zt(Qt){let{success:sn,successPercent:Nn}=Qt,Vn=Nn;return sn&&"progress"in sn&&(Vn=sn.progress),sn&&"percent"in sn&&(Vn=sn.percent),Vn}const zt=Qt=>{let{percent:sn,success:Nn,successPercent:Vn}=Qt;const Lt=ct(Zt({success:Nn,successPercent:Vn}));return[Lt,ct(ct(sn)-Lt)]},tt=Qt=>{let{success:sn={},strokeColor:Nn}=Qt;const{strokeColor:Vn}=sn;return[Vn||Te.presetPrimaryColors.green,Nn||null]},Pt=(Qt,sn,Nn)=>{var Vn,Lt,Gt,nn;let Cn=-1,Gn=-1;if(sn==="step"){const Sr=Nn.steps,ii=Nn.strokeWidth;typeof Qt=="string"||typeof Qt=="undefined"?(Cn=Qt==="small"?2:14,Gn=ii!=null?ii:8):typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:[Cn=14,Gn=8]=Array.isArray(Qt)?Qt:[Qt.width,Qt.height],Cn*=Sr}else if(sn==="line"){const Sr=Nn==null?void 0:Nn.strokeWidth;typeof Qt=="string"||typeof Qt=="undefined"?Gn=Sr||(Qt==="small"?6:8):typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:[Cn=-1,Gn=8]=Array.isArray(Qt)?Qt:[Qt.width,Qt.height]}else(sn==="circle"||sn==="dashboard")&&(typeof Qt=="string"||typeof Qt=="undefined"?[Cn,Gn]=Qt==="small"?[60,60]:[120,120]:typeof Qt=="number"?[Cn,Gn]=[Qt,Qt]:Array.isArray(Qt)&&(Cn=(Lt=(Vn=Qt[0])!==null&&Vn!==void 0?Vn:Qt[1])!==null&&Lt!==void 0?Lt:120,Gn=(nn=(Gt=Qt[0])!==null&&Gt!==void 0?Gt:Qt[1])!==null&&nn!==void 0?nn:120));return[Cn,Gn]},_t=3,fn=Qt=>_t/Qt*100;var vn=Qt=>{const{prefixCls:sn,trailColor:Nn=null,strokeLinecap:Vn="round",gapPosition:Lt,gapDegree:Gt,width:nn=120,type:Cn,children:Gn,success:Sr,size:ii=nn,steps:si}=Qt,[sr,Lr]=Pt(ii,"circle");let{strokeWidth:Qn}=Qt;Qn===void 0&&(Qn=Math.max(fn(sr),6));const Hn={width:sr,height:Lr,fontSize:sr*.15+6},Jn=x.useMemo(()=>{if(Gt||Gt===0)return Gt;if(Cn==="dashboard")return 75},[Gt,Cn]),ir=zt(Qt),Zn=Lt||Cn==="dashboard"&&"bottom"||void 0,Cr=Object.prototype.toString.call(Qt.strokeColor)==="[object Object]",Er=tt({success:Sr,strokeColor:Qt.strokeColor}),Nr=he()(`${sn}-inner`,{[`${sn}-circle-gradient`]:Cr}),pi=x.createElement(at,{steps:si,percent:si?ir[1]:ir,strokeWidth:Qn,trailWidth:Qn,strokeColor:si?Er[1]:Er,strokeLinecap:Vn,trailColor:Nn,prefixCls:sn,gapDegree:Jn,gapPosition:Zn}),di=sr<=20,fi=x.createElement("div",{className:Nr,style:Hn},pi,!di&&Gn);return di?x.createElement(We.Z,{title:Gn},fi):fi},kt=ae(36237),Sn=ae(63356),on=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=Qt=>{const sn=Qt?"100%":"-100%";return new kt.Keyframes(`antProgress${Qt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:Object.assign(Object.assign({},(0,Sn.Wf)(Qt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Qt.fontSize},[`${sn}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${sn}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Qt.remainingColor,borderRadius:Qt.lineBorderRadius},[`${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.defaultColor}},[`${sn}-success-bg, ${sn}-bg`]:{position:"relative",background:Qt.defaultColor,borderRadius:Qt.lineBorderRadius,transition:`all ${Qt.motionDurationSlow} ${Qt.motionEaseInOutCirc}`},[`${sn}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${sn}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Qt.marginXXS}},[`${sn}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${sn}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${sn}-text-inner`]:{color:Qt.colorWhite,[`&${sn}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${sn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Qt.colorSuccess},[`${sn}-text`]:{display:"inline-block",marginInlineStart:Qt.marginXS,color:Qt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nn]:{fontSize:Qt.fontSize},[`&${sn}-text-outer`]:{width:"max-content"},[`&${sn}-text-outer${sn}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Qt.marginXS}},[`${sn}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,kt.unit)(Qt.paddingXXS)}`,[`&${sn}-text-start`]:{justifyContent:"start"},[`&${sn}-text-end`]:{justifyContent:"end"}},[`&${sn}-status-active`]:{[`${sn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Qt.colorBgContainer,borderRadius:Qt.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:Qt.progressActiveMotionDuration,animationTimingFunction:Qt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${sn}-rtl${sn}-status-active`]:{[`${sn}-bg::before`]:{animationName:ee(!0)}},[`&${sn}-status-exception`]:{[`${sn}-bg`]:{backgroundColor:Qt.colorError},[`${sn}-text`]:{color:Qt.colorError}},[`&${sn}-status-exception ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.colorError}},[`&${sn}-status-success`]:{[`${sn}-bg`]:{backgroundColor:Qt.colorSuccess},[`${sn}-text`]:{color:Qt.colorSuccess}},[`&${sn}-status-success ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Qt.colorSuccess}}})}},le=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:{[`${sn}-circle-trail`]:{stroke:Qt.remainingColor},[`&${sn}-circle ${sn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${sn}-circle ${sn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Qt.circleTextColor,fontSize:Qt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nn]:{fontSize:Qt.circleIconFontSize}},[`${sn}-circle&-status-exception`]:{[`${sn}-text`]:{color:Qt.colorError}},[`${sn}-circle&-status-success`]:{[`${sn}-text`]:{color:Qt.colorSuccess}}},[`${sn}-inline-circle`]:{lineHeight:1,[`${sn}-inner`]:{verticalAlign:"bottom"}}}},Be=Qt=>{const{componentCls:sn}=Qt;return{[sn]:{[`${sn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Qt.progressStepMinWidth,marginInlineEnd:Qt.progressStepMarginInlineEnd,backgroundColor:Qt.remainingColor,transition:`all ${Qt.motionDurationSlow}`,"&-active":{backgroundColor:Qt.defaultColor}}}}}},Ve=Qt=>{const{componentCls:sn,iconCls:Nn}=Qt;return{[sn]:{[`${sn}-small&-line, ${sn}-small&-line ${sn}-text ${Nn}`]:{fontSize:Qt.fontSizeSM}}}},st=Qt=>({circleTextColor:Qt.colorText,defaultColor:Qt.colorInfo,remainingColor:Qt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Qt.fontSize/Qt.fontSizeSM}em`});var gt=(0,on.I$)("Progress",Qt=>{const sn=Qt.calc(Qt.marginXXS).div(2).equal(),Nn=(0,de.mergeToken)(Qt,{progressStepMarginInlineEnd:sn,progressStepMinWidth:sn,progressActiveMotionDuration:"2.4s"});return[se(Nn),le(Nn),Be(Nn),Ve(Nn)]},st),mt=function(Qt,sn){var Nn={};for(var Vn in Qt)Object.prototype.hasOwnProperty.call(Qt,Vn)&&sn.indexOf(Vn)<0&&(Nn[Vn]=Qt[Vn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Vn=Object.getOwnPropertySymbols(Qt);Lt{let sn=[];return Object.keys(Qt).forEach(Nn=>{const Vn=parseFloat(Nn.replace(/%/g,""));Number.isNaN(Vn)||sn.push({key:Vn,value:Qt[Nn]})}),sn=sn.sort((Nn,Vn)=>Nn.key-Vn.key),sn.map(Nn=>{let{key:Vn,value:Lt}=Nn;return`${Lt} ${Vn}%`}).join(", ")},Dt=(Qt,sn)=>{const{from:Nn=Te.presetPrimaryColors.blue,to:Vn=Te.presetPrimaryColors.blue,direction:Lt=sn==="rtl"?"to left":"to right"}=Qt,Gt=mt(Qt,["from","to","direction"]);if(Object.keys(Gt).length!==0){const Cn=St(Gt),Gn=`linear-gradient(${Lt}, ${Cn})`;return{background:Gn,[ge]:Gn}}const nn=`linear-gradient(${Lt}, ${Nn}, ${Vn})`;return{background:nn,[ge]:nn}};var xt=Qt=>{const{prefixCls:sn,direction:Nn,percent:Vn,size:Lt,strokeWidth:Gt,strokeColor:nn,strokeLinecap:Cn="round",children:Gn,trailColor:Sr=null,percentPosition:ii,success:si}=Qt,{align:sr,type:Lr}=ii,Qn=nn&&typeof nn!="string"?Dt(nn,Nn):{[ge]:nn,background:nn},Hn=Cn==="square"||Cn==="butt"?0:void 0,Jn=Lt!=null?Lt:[-1,Gt||(Lt==="small"?6:8)],[ir,Zn]=Pt(Jn,"line",{strokeWidth:Gt}),Cr={backgroundColor:Sr||void 0,borderRadius:Hn},Er=Object.assign(Object.assign({width:`${ct(Vn)}%`,height:Zn,borderRadius:Hn},Qn),{[ie]:ct(Vn)/100}),Nr=Zt(Qt),pi={width:`${ct(Nr)}%`,height:Zn,borderRadius:Hn,backgroundColor:si==null?void 0:si.strokeColor},di={width:ir<0?"100%":ir},fi=x.createElement("div",{className:`${sn}-inner`,style:Cr},x.createElement("div",{className:he()(`${sn}-bg`,`${sn}-bg-${Lr}`),style:Er},Lr==="inner"&&Gn),Nr!==void 0&&x.createElement("div",{className:`${sn}-success-bg`,style:pi})),Oi=Lr==="outer"&&sr==="start",Ci=Lr==="outer"&&sr==="end";return Lr==="outer"&&sr==="center"?x.createElement("div",{className:`${sn}-layout-bottom`},fi,Gn):x.createElement("div",{className:`${sn}-outer`,style:di},Oi&&Gn,fi,Ci&&Gn)},Xt=Qt=>{const{size:sn,steps:Nn,rounding:Vn=Math.round,percent:Lt=0,strokeWidth:Gt=8,strokeColor:nn,trailColor:Cn=null,prefixCls:Gn,children:Sr}=Qt,ii=Vn(Nn*(Lt/100)),si=sn==="small"?2:14,sr=sn!=null?sn:[si,Gt],[Lr,Qn]=Pt(sr,"step",{steps:Nn,strokeWidth:Gt}),Hn=Lr/Nn,Jn=Array.from({length:Nn});for(let ir=0;ir{const{prefixCls:Nn,className:Vn,rootClassName:Lt,steps:Gt,strokeColor:nn,percent:Cn=0,size:Gn="default",showInfo:Sr=!0,type:ii="line",status:si,format:sr,style:Lr,percentPosition:Qn={}}=Qt,Hn=Vt(Qt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Jn="end",type:ir="outer"}=Qn,Zn=Array.isArray(nn)?nn[0]:nn,Cr=typeof nn=="string"||Array.isArray(nn)?nn:void 0,Er=x.useMemo(()=>{if(Zn){const Rt=typeof Zn=="string"?Zn:Object.values(Zn)[0];return new dt.FastColor(Rt).isLight()}return!1},[nn]),Nr=x.useMemo(()=>{var Rt,hn;const Wt=Zt(Qt);return parseInt(Wt!==void 0?(Rt=Wt!=null?Wt:0)===null||Rt===void 0?void 0:Rt.toString():(hn=Cn!=null?Cn:0)===null||hn===void 0?void 0:hn.toString(),10)},[Cn,Qt.success,Qt.successPercent]),pi=x.useMemo(()=>!an.includes(si)&&Nr>=100?"success":si||"normal",[si,Nr]),{getPrefixCls:di,direction:fi,progress:Oi}=x.useContext(oe.E_),Ci=di("progress",Nn),[ro,Yi,or]=gt(Ci),Mr=ii==="line",gi=Mr&&!Gt,oi=x.useMemo(()=>{if(!Sr)return null;const Rt=Zt(Qt);let hn;const Wt=sr||(On=>`${On}%`),yn=Mr&&Er&&ir==="inner";return ir==="inner"||sr||pi!=="exception"&&pi!=="success"?hn=Wt(ct(Cn),ct(Rt)):pi==="exception"?hn=Mr?x.createElement(ze.Z,null):x.createElement(Fe.Z,null):pi==="success"&&(hn=Mr?x.createElement(Ie.Z,null):x.createElement(qe.Z,null)),x.createElement("span",{className:he()(`${Ci}-text`,{[`${Ci}-text-bright`]:yn,[`${Ci}-text-${Jn}`]:gi,[`${Ci}-text-${ir}`]:gi}),title:typeof hn=="string"?hn:void 0},hn)},[Sr,Cn,Nr,pi,ii,Ci,sr]);let un;ii==="line"?un=Gt?x.createElement(Xt,Object.assign({},Qt,{strokeColor:Cr,prefixCls:Ci,steps:typeof Gt=="object"?Gt.count:Gt}),oi):x.createElement(xt,Object.assign({},Qt,{strokeColor:Zn,prefixCls:Ci,direction:fi,percentPosition:{align:Jn,type:ir}}),oi):(ii==="circle"||ii==="dashboard")&&(un=x.createElement(vn,Object.assign({},Qt,{strokeColor:Zn,prefixCls:Ci,progressStatus:pi}),oi));const bt=he()(Ci,`${Ci}-status-${pi}`,{[`${Ci}-${ii==="dashboard"&&"circle"||ii}`]:ii!=="line",[`${Ci}-inline-circle`]:ii==="circle"&&Pt(Gn,"circle")[0]<=20,[`${Ci}-line`]:gi,[`${Ci}-line-align-${Jn}`]:gi,[`${Ci}-line-position-${ir}`]:gi,[`${Ci}-steps`]:Gt,[`${Ci}-show-info`]:Sr,[`${Ci}-${Gn}`]:typeof Gn=="string",[`${Ci}-rtl`]:fi==="rtl"},Oi==null?void 0:Oi.className,Vn,Lt,Yi,or);return ro(x.createElement("div",Object.assign({ref:sn,style:Object.assign(Object.assign({},Oi==null?void 0:Oi.style),Lr),className:bt,role:"progressbar","aria-valuenow":Nr,"aria-valuemin":0,"aria-valuemax":100},(0,xe.Z)(Hn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),un))}),In=zn},63139:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return zt}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(Pt,_t){return x.createElement(ze.Z,(0,dt.Z)({},Pt,{ref:_t,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(92310),oe=ae.n(xe),Ne=ae(18642),ve=ae(72190),Re=ae(42244),Se=ae(18929),Oe=ae(10228),ye=ae(26112);function Ce(tt,Pt){var _t=tt.disabled,fn=tt.prefixCls,Tt=tt.character,vn=tt.characterRender,kt=tt.index,Sn=tt.count,on=tt.value,de=tt.allowHalf,ge=tt.focused,ie=tt.onHover,ee=tt.onClick,se=function(Dt){ie(Dt,kt)},le=function(Dt){ee(Dt,kt)},Be=function(Dt){Dt.keyCode===Oe.Z.ENTER&&ee(Dt,kt)},Ve=kt+1,st=new Set([fn]);on===0&&kt===0&&ge?st.add("".concat(fn,"-focused")):de&&on+.5>=Ve&&onkt?"true":"false","aria-posinset":kt+1,"aria-setsize":Sn,tabIndex:_t?-1:0},x.createElement("div",{className:"".concat(fn,"-first")},gt),x.createElement("div",{className:"".concat(fn,"-second")},gt)));return vn&&(mt=vn(mt,tt)),mt}var Ee=x.forwardRef(Ce);function Me(){var tt=x.useRef({});function Pt(fn){return tt.current[fn]}function _t(fn){return function(Tt){tt.current[fn]=Tt}}return[Pt,_t]}function Ke(tt){var Pt=tt.pageXOffset,_t="scrollLeft";if(typeof Pt!="number"){var fn=tt.document;Pt=fn.documentElement[_t],typeof Pt!="number"&&(Pt=fn.body[_t])}return Pt}function je(tt){var Pt,_t,fn=tt.ownerDocument,Tt=fn.body,vn=fn&&fn.documentElement,kt=tt.getBoundingClientRect();return Pt=kt.left,_t=kt.top,Pt-=vn.clientLeft||Tt.clientLeft||0,_t-=vn.clientTop||Tt.clientTop||0,{left:Pt,top:_t}}function Qe(tt){var Pt=je(tt),_t=tt.ownerDocument,fn=_t.defaultView||_t.parentWindow;return Pt.left+=Ke(fn),Pt.left}var Je=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Xe(tt,Pt){var _t=tt.prefixCls,fn=_t===void 0?"rc-rate":_t,Tt=tt.className,vn=tt.defaultValue,kt=tt.value,Sn=tt.count,on=Sn===void 0?5:Sn,de=tt.allowHalf,ge=de===void 0?!1:de,ie=tt.allowClear,ee=ie===void 0?!0:ie,se=tt.keyboard,le=se===void 0?!0:se,Be=tt.character,Ve=Be===void 0?"\u2605":Be,st=tt.characterRender,gt=tt.disabled,mt=tt.direction,St=mt===void 0?"ltr":mt,Dt=tt.tabIndex,jt=Dt===void 0?0:Dt,xt=tt.autoFocus,lt=tt.onHoverChange,Xt=tt.onChange,Vt=tt.onFocus,wn=tt.onBlur,an=tt.onKeyDown,en=tt.onMouseLeave,zn=(0,Re.Z)(tt,Je),In=Me(),Qt=(0,ve.Z)(In,2),sn=Qt[0],Nn=Qt[1],Vn=x.useRef(null),Lt=function(){if(!gt){var oi;(oi=Vn.current)===null||oi===void 0||oi.focus()}};x.useImperativeHandle(Pt,function(){return{focus:Lt,blur:function(){if(!gt){var oi;(oi=Vn.current)===null||oi===void 0||oi.blur()}}}});var Gt=(0,Se.Z)(vn||0,{value:kt}),nn=(0,ve.Z)(Gt,2),Cn=nn[0],Gn=nn[1],Sr=(0,Se.Z)(null),ii=(0,ve.Z)(Sr,2),si=ii[0],sr=ii[1],Lr=function(oi,un){var bt=St==="rtl",Rt=oi+1;if(ge){var hn=sn(oi),Wt=Qe(hn),yn=hn.clientWidth;(bt&&un-Wt>yn/2||!bt&&un-Wt0&&!bt||un===Oe.Z.RIGHT&&Cn>0&&bt?(Qn(Cn-Rt),oi.preventDefault()):un===Oe.Z.LEFT&&Cn{const{componentCls:Pt}=tt;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,He.unit)(tt.lineWidth)} dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},it=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),at=tt=>{const{componentCls:Pt}=tt;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(tt)),it(tt))}},Bt=tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent});var We=(0,De.I$)("Rate",tt=>{const Pt=(0,_e.mergeToken)(tt,{});return[at(Pt)]},Bt),Te=ae(2171),ct=function(tt,Pt){var _t={};for(var fn in tt)Object.prototype.hasOwnProperty.call(tt,fn)&&Pt.indexOf(fn)<0&&(_t[fn]=tt[fn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,fn=Object.getOwnPropertySymbols(tt);Tt{const{prefixCls:_t,className:fn,rootClassName:Tt,style:vn,tooltips:kt,character:Sn=x.createElement(he,null),disabled:on}=tt,de=ct(tt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Dt,jt)=>{let{index:xt}=jt;return kt?x.createElement(Ct.Z,{title:kt[xt]},Dt):Dt},{getPrefixCls:ie,direction:ee,rate:se}=x.useContext(ht.E_),le=ie("rate",_t),[Be,Ve,st]=We(le),gt=Object.assign(Object.assign({},se==null?void 0:se.style),vn),mt=x.useContext(Te.Z),St=on!=null?on:mt;return Be(x.createElement(ot,Object.assign({ref:Pt,character:Sn,characterRender:ge,disabled:St},de,{className:oe()(fn,Tt,Ve,st,se==null?void 0:se.className),style:gt,prefixCls:le,direction:ee})))})},82326:function(Yn,Ut,ae){"use strict";var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(37463),ze=ae(2738),Fe=ae(75030),Ue=ae(86641),he=ae(45915),xe=ae(82855),oe=ae(48755),Ne=ae(38406),ve=ae(2171),Re=ae(83397),Se=ae(31756),Oe=ae(56553),ye=ae(24971),Ce=ae(70045),Ee=ae(57700),Me=ae(1722),Ke=ae(90376),je=ae(68525),Qe=ae(90005),Je=function(Ct,He){var ft={};for(var De in Ct)Object.prototype.hasOwnProperty.call(Ct,De)&&He.indexOf(De)<0&&(ft[De]=Ct[De]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,De=Object.getOwnPropertySymbols(Ct);_e{var ft;const{prefixCls:De,bordered:_e,className:Ot,rootClassName:it,getPopupContainer:at,popupClassName:Bt,dropdownClassName:We,listHeight:Te=256,placement:ct,listItemHeight:Zt,size:zt,disabled:tt,notFoundContent:Pt,status:_t,builtinPlacements:fn,dropdownMatchSelectWidth:Tt,popupMatchSelectWidth:vn,direction:kt,style:Sn,allowClear:on,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:se,prefix:le}=Ct,Be=Je(Ct,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Ve,getPrefixCls:st,renderEmpty:gt,direction:mt,virtual:St,popupMatchSelectWidth:Dt,popupOverflow:jt}=x.useContext(oe.E_),xt=(0,oe.dj)("select"),[,lt]=(0,Ee.ZP)(),Xt=Zt!=null?Zt:lt==null?void 0:lt.controlHeight,Vt=st("select",De),wn=st(),an=kt!=null?kt:mt,{compactSize:en,compactItemClassnames:zn}=(0,Ce.ri)(Vt,an),[In,Qt]=(0,ye.Z)("select",de,_e),sn=(0,Re.Z)(Vt),[Nn,Vn,Lt]=(0,Ke.Z)(Vt,sn),Gt=x.useMemo(()=>{const{mode:Yi}=Ct;if(Yi!=="combobox")return Yi===Xe?"combobox":Yi},[Ct.mode]),nn=Gt==="multiple"||Gt==="tags",Cn=(0,Qe.Z)(Ct.suffixIcon,Ct.showArrow),Gn=(ft=vn!=null?vn:Tt)!==null&&ft!==void 0?ft:Dt,{status:Sr,hasFeedback:ii,isFormItemInput:si,feedbackIcon:sr}=x.useContext(Oe.aM),Lr=(0,xe.F)(Sr,_t);let Qn;Pt!==void 0?Qn=Pt:Gt==="combobox"?Qn=null:Qn=(gt==null?void 0:gt("Select"))||x.createElement(Ne.Z,{componentName:"Select"});const{suffixIcon:Hn,itemIcon:Jn,removeIcon:ir,clearIcon:Zn}=(0,je.Z)(Object.assign(Object.assign({},Be),{multiple:nn,hasFeedback:ii,feedbackIcon:sr,showSuffixIcon:Cn,prefixCls:Vt,componentName:"Select"})),Cr=on===!0?{clearIcon:Zn}:on,Er=(0,ze.Z)(Be,["suffixIcon","itemIcon"]),Nr=Ie()(Bt||We,{[`${Vt}-dropdown-${an}`]:an==="rtl"},it,Lt,sn,Vn),pi=(0,Se.Z)(Yi=>{var or;return(or=zt!=null?zt:en)!==null&&or!==void 0?or:Yi}),di=x.useContext(ve.Z),fi=tt!=null?tt:di,Oi=Ie()({[`${Vt}-lg`]:pi==="large",[`${Vt}-sm`]:pi==="small",[`${Vt}-rtl`]:an==="rtl",[`${Vt}-${In}`]:Qt,[`${Vt}-in-form-item`]:si},(0,xe.Z)(Vt,Lr,ii),zn,xt.className,Ot,it,Lt,sn,Vn),Ci=x.useMemo(()=>ct!==void 0?ct:an==="rtl"?"bottomRight":"bottomLeft",[ct,an]),[ro]=(0,Fe.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Nn(x.createElement(qe.ZP,Object.assign({ref:He,virtual:St,showSearch:xt.showSearch},Er,{style:Object.assign(Object.assign({},xt.style),Sn),dropdownMatchSelectWidth:Gn,transitionName:(0,Ue.m)(wn,"slide-up",ie),builtinPlacements:(0,Me.Z)(fn,jt),listHeight:Te,listItemHeight:Xt,mode:Gt,prefixCls:Vt,placement:Ci,direction:an,prefix:le,suffixIcon:Hn,menuItemSelectedIcon:Jn,removeIcon:ir,allowClear:Cr,notFoundContent:Qn,className:Oi,getPopupContainer:at||Ve,dropdownClassName:Nr,disabled:fi,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:ro}),maxCount:nn?se:void 0,tagRender:nn?ee:void 0})))},ot=x.forwardRef(ut),ht=(0,he.Z)(ot,"dropdownAlign");ot.SECRET_COMBOBOX_MODE_DO_NOT_USE=Xe,ot.Option=qe.Wx,ot.OptGroup=qe.Xo,ot._InternalPanelDoNotUseOrYouWillBeFired=ht,Ut.default=ot},1722:function(Yn,Ut){"use strict";const ae=dt=>{const qe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:dt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},qe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},qe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},qe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},qe),{points:["br","tr"],offset:[0,-4]})}};function x(dt,Ie){return dt||ae(Ie)}Ut.Z=x},90376:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return De}});var x=ae(63356),dt=ae(56119),Ie=ae(16931),qe=ae(51636),ze=ae(46e3),Fe=ae(93873);const Ue=_e=>{const{optionHeight:Ot,optionFontSize:it,optionLineHeight:at,optionPadding:Bt}=_e;return{position:"relative",display:"block",minHeight:Ot,padding:Bt,color:_e.colorText,fontWeight:"normal",fontSize:it,lineHeight:at,boxSizing:"border-box"}};var xe=_e=>{const{antCls:Ot,componentCls:it}=_e,at=`${it}-item`,Bt=`&${Ot}-slide-up-enter${Ot}-slide-up-enter-active`,We=`&${Ot}-slide-up-appear${Ot}-slide-up-appear-active`,Te=`&${Ot}-slide-up-leave${Ot}-slide-up-leave-active`,ct=`${it}-dropdown-placement-`,Zt=`${at}-option-selected`;return[{[`${it}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(_e)),{position:"absolute",top:-9999,zIndex:_e.zIndexPopup,boxSizing:"border-box",padding:_e.paddingXXS,overflow:"hidden",fontSize:_e.fontSize,fontVariant:"initial",backgroundColor:_e.colorBgElevated,borderRadius:_e.borderRadiusLG,outline:"none",boxShadow:_e.boxShadowSecondary,[` ${Bt}${ct}bottomLeft, ${We}${ct}bottomLeft `]:{animationName:ze.fJ},[` @@ -1036,22 +1036,22 @@ `]:{animationName:ze.Qt},[`${Te}${ct}bottomLeft`]:{animationName:ze.Uw},[` ${Te}${ct}topLeft, ${Te}${ct}topRight - `]:{animationName:ze.ly},"&-hidden":{display:"none"},[at]:Object.assign(Object.assign({},Ue(Qe)),{cursor:"pointer",transition:`background ${Qe.motionDurationSlow} ease`,borderRadius:Qe.borderRadiusSM,"&-group":{color:Qe.colorTextDescription,fontSize:Qe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${at}-option-disabled)`]:{backgroundColor:Qe.optionActiveBg},[`&-selected:not(${at}-option-disabled)`]:{color:Qe.optionSelectedColor,fontWeight:Qe.optionSelectedFontWeight,backgroundColor:Qe.optionSelectedBg,[`${at}-option-state`]:{color:Qe.colorPrimary}},"&-disabled":{[`&${at}-option-selected`]:{backgroundColor:Qe.colorBgContainerDisabled},color:Qe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Qe.calc(Qe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ue(Qe)),{color:Qe.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,ze.oN)(Qe,"slide-up"),(0,ze.oN)(Qe,"slide-down"),(0,Fe.Fm)(Qe,"move-up"),(0,Fe.Fm)(Qe,"move-down")]},oe=ae(26743),Ne=ae(36237);function ve(Qe,Ot){const{componentCls:it,inputPaddingHorizontalBase:at,borderRadius:Bt}=Qe,We=Qe.calc(Qe.controlHeight).sub(Qe.calc(Qe.lineWidth).mul(2)).equal(),Te=Ot?`${it}-${Ot}`:"";return{[`${it}-single${Te}`]:{fontSize:Qe.fontSize,height:Qe.controlHeight,[`${it}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(Qe,!0)),{display:"flex",borderRadius:Bt,flex:"1 1 auto",[`${it}-selection-wrap:after`]:{lineHeight:(0,Ne.unit)(We)},[`${it}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + `]:{animationName:ze.ly},"&-hidden":{display:"none"},[at]:Object.assign(Object.assign({},Ue(_e)),{cursor:"pointer",transition:`background ${_e.motionDurationSlow} ease`,borderRadius:_e.borderRadiusSM,"&-group":{color:_e.colorTextDescription,fontSize:_e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${at}-option-disabled)`]:{backgroundColor:_e.optionActiveBg},[`&-selected:not(${at}-option-disabled)`]:{color:_e.optionSelectedColor,fontWeight:_e.optionSelectedFontWeight,backgroundColor:_e.optionSelectedBg,[`${at}-option-state`]:{color:_e.colorPrimary}},"&-disabled":{[`&${at}-option-selected`]:{backgroundColor:_e.colorBgContainerDisabled},color:_e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:_e.calc(_e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ue(_e)),{color:_e.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,ze.oN)(_e,"slide-up"),(0,ze.oN)(_e,"slide-down"),(0,Fe.Fm)(_e,"move-up"),(0,Fe.Fm)(_e,"move-down")]},oe=ae(26743),Ne=ae(36237);function ve(_e,Ot){const{componentCls:it,inputPaddingHorizontalBase:at,borderRadius:Bt}=_e,We=_e.calc(_e.controlHeight).sub(_e.calc(_e.lineWidth).mul(2)).equal(),Te=Ot?`${it}-${Ot}`:"";return{[`${it}-single${Te}`]:{fontSize:_e.fontSize,height:_e.controlHeight,[`${it}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(_e,!0)),{display:"flex",borderRadius:Bt,flex:"1 1 auto",[`${it}-selection-wrap:after`]:{lineHeight:(0,Ne.unit)(We)},[`${it}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${it}-selection-item, ${it}-selection-placeholder - `]:{display:"block",padding:0,lineHeight:(0,Ne.unit)(We),transition:`all ${Qe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${it}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${it}-selection-item:empty:after`,`${it}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + `]:{display:"block",padding:0,lineHeight:(0,Ne.unit)(We),transition:`all ${_e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${it}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${it}-selection-item:empty:after`,`${it}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${it}-show-arrow ${it}-selection-item, &${it}-show-arrow ${it}-selection-search, &${it}-show-arrow ${it}-selection-placeholder - `]:{paddingInlineEnd:Qe.showArrowPaddingInlineEnd},[`&${it}-open ${it}-selection-item`]:{color:Qe.colorTextPlaceholder},[`&:not(${it}-customize-input)`]:{[`${it}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ne.unit)(at)}`,[`${it}-selection-search-input`]:{height:We,fontSize:Qe.fontSize},"&:after":{lineHeight:(0,Ne.unit)(We)}}},[`&${it}-customize-input`]:{[`${it}-selector`]:{"&:after":{display:"none"},[`${it}-selection-search`]:{position:"static",width:"100%"},[`${it}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ne.unit)(at)}`,"&:after":{display:"none"}}}}}}}function Re(Qe){const{componentCls:Ot}=Qe,it=Qe.calc(Qe.controlPaddingHorizontalSM).sub(Qe.lineWidth).equal();return[ve(Qe),ve((0,qe.mergeToken)(Qe,{controlHeight:Qe.controlHeightSM,borderRadius:Qe.borderRadiusSM}),"sm"),{[`${Ot}-single${Ot}-sm`]:{[`&:not(${Ot}-customize-input)`]:{[`${Ot}-selector`]:{padding:`0 ${(0,Ne.unit)(it)}`},[`&${Ot}-show-arrow ${Ot}-selection-search`]:{insetInlineEnd:Qe.calc(it).add(Qe.calc(Qe.fontSize).mul(1.5)).equal()},[` + `]:{paddingInlineEnd:_e.showArrowPaddingInlineEnd},[`&${it}-open ${it}-selection-item`]:{color:_e.colorTextPlaceholder},[`&:not(${it}-customize-input)`]:{[`${it}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ne.unit)(at)}`,[`${it}-selection-search-input`]:{height:We,fontSize:_e.fontSize},"&:after":{lineHeight:(0,Ne.unit)(We)}}},[`&${it}-customize-input`]:{[`${it}-selector`]:{"&:after":{display:"none"},[`${it}-selection-search`]:{position:"static",width:"100%"},[`${it}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ne.unit)(at)}`,"&:after":{display:"none"}}}}}}}function Re(_e){const{componentCls:Ot}=_e,it=_e.calc(_e.controlPaddingHorizontalSM).sub(_e.lineWidth).equal();return[ve(_e),ve((0,qe.mergeToken)(_e,{controlHeight:_e.controlHeightSM,borderRadius:_e.borderRadiusSM}),"sm"),{[`${Ot}-single${Ot}-sm`]:{[`&:not(${Ot}-customize-input)`]:{[`${Ot}-selector`]:{padding:`0 ${(0,Ne.unit)(it)}`},[`&${Ot}-show-arrow ${Ot}-selection-search`]:{insetInlineEnd:_e.calc(it).add(_e.calc(_e.fontSize).mul(1.5)).equal()},[` &${Ot}-show-arrow ${Ot}-selection-item, &${Ot}-show-arrow ${Ot}-selection-placeholder - `]:{paddingInlineEnd:Qe.calc(Qe.fontSize).mul(1.5).equal()}}}},ve((0,qe.mergeToken)(Qe,{controlHeight:Qe.singleItemHeightLG,fontSize:Qe.fontSizeLG,borderRadius:Qe.borderRadiusLG}),"lg")]}const Se=Qe=>{const{fontSize:Ot,lineHeight:it,lineWidth:at,controlHeight:Bt,controlHeightSM:We,controlHeightLG:Te,paddingXXS:ct,controlPaddingHorizontal:Zt,zIndexPopupBase:jt,colorText:tt,fontWeightStrong:Tt,controlItemBgActive:_t,controlItemBgHover:hn,colorBgContainer:Pt,colorFillSecondary:vn,colorBgContainerDisabled:kt,colorTextDisabled:Sn,colorPrimaryHover:on,colorPrimary:de,controlOutline:ge}=Qe,ie=ct*2,ee=at*2,se=Math.min(Bt-ie,Bt-ee),le=Math.min(We-ie,We-ee),Be=Math.min(Te-ie,Te-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(ct/2),zIndexPopup:jt+50,optionSelectedColor:tt,optionSelectedFontWeight:Tt,optionSelectedBg:_t,optionActiveBg:hn,optionPadding:`${(Bt-Ot*it)/2}px ${Zt}px`,optionFontSize:Ot,optionLineHeight:it,optionHeight:Bt,selectorBg:Pt,clearBg:Pt,singleItemHeightLG:Te,multipleItemBg:vn,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:le,multipleItemHeightLG:Be,multipleSelectorBgDisabled:kt,multipleItemColorDisabled:Sn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(Qe.fontSize*1.25),hoverBorderColor:on,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:ct}},Pe=(Qe,Ot)=>{const{componentCls:it,antCls:at,controlOutlineWidth:Bt}=Qe;return{[`&:not(${it}-customize-input) ${it}-selector`]:{border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} ${Ot.borderColor}`,background:Qe.selectorBg},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{borderColor:Ot.hoverBorderHover},[`${it}-focused& ${it}-selector`]:{borderColor:Ot.activeBorderColor,boxShadow:`0 0 0 ${(0,Ne.unit)(Bt)} ${Ot.activeOutlineColor}`,outline:0},[`${it}-prefix`]:{color:Ot.color}}}},ye=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Pe(Qe,Ot))}),Ce=Qe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Pe(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),ye(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),ye(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})}),Ee=(Qe,Ot)=>{const{componentCls:it,antCls:at}=Qe;return{[`&:not(${it}-customize-input) ${it}-selector`]:{background:Ot.bg,border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`,color:Ot.color},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{background:Ot.hoverBg},[`${it}-focused& ${it}-selector`]:{background:Qe.selectorBg,borderColor:Ot.activeBorderColor,outline:0}}}},Me=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Ee(Qe,Ot))}),Ke=Qe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(Qe,{bg:Qe.colorFillTertiary,hoverBg:Qe.colorFillSecondary,activeBorderColor:Qe.activeBorderColor,color:Qe.colorText})),Me(Qe,{status:"error",bg:Qe.colorErrorBg,hoverBg:Qe.colorErrorBgHover,activeBorderColor:Qe.colorError,color:Qe.colorError})),Me(Qe,{status:"warning",bg:Qe.colorWarningBg,hoverBg:Qe.colorWarningBgHover,activeBorderColor:Qe.colorWarning,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{borderColor:Qe.colorBorder,background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.colorBgContainer,border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorSplit}`}})}),je=Qe=>({"&-borderless":{[`${Qe.componentCls}-selector`]:{background:"transparent",border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`},[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`},[`&${Qe.componentCls}-status-error`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorError}},[`&${Qe.componentCls}-status-warning`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorWarning}}}}),_e=(Qe,Ot)=>{const{componentCls:it,antCls:at}=Qe;return{[`&:not(${it}-customize-input) ${it}-selector`]:{borderWidth:`0 0 ${(0,Ne.unit)(Qe.lineWidth)} 0`,borderStyle:`none none ${Qe.lineType} none`,borderColor:Ot.borderColor,background:Qe.selectorBg,borderRadius:0},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{borderColor:Ot.hoverBorderHover},[`${it}-focused& ${it}-selector`]:{borderColor:Ot.activeBorderColor,outline:0},[`${it}-prefix`]:{color:Ot.color}}}},Je=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},_e(Qe,Ot))}),Xe=Qe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),Je(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),Je(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Ne.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})});var ot=Qe=>({[Qe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ce(Qe)),Ke(Qe)),je(Qe)),Xe(Qe))});const ht=Qe=>{const{componentCls:Ot}=Qe;return{position:"relative",transition:`all ${Qe.motionDurationMid} ${Qe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ct=Qe=>{const{componentCls:Ot}=Qe;return{[`${Ot}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},He=Qe=>{const{antCls:Ot,componentCls:it,inputPaddingHorizontalBase:at,iconCls:Bt}=Qe;return{[it]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${it}-customize-input) ${it}-selector`]:Object.assign(Object.assign({},ht(Qe)),Ct(Qe)),[`${it}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ot}-typography`]:{display:"inline"}}),[`${it}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:Qe.colorTextPlaceholder,pointerEvents:"none"}),[`${it}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${Qe.motionDurationSlow} ease`,[Bt]:{verticalAlign:"top",transition:`transform ${Qe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${it}-suffix)`]:{pointerEvents:"auto"}},[`${it}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${it}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${it}-prefix`]:{flex:"none",marginInlineEnd:Qe.selectAffixPadding},[`${it}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,zIndex:1,display:"inline-block",width:Qe.fontSizeIcon,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${Qe.motionDurationMid} ease, opacity ${Qe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Qe.colorTextTertiary}},[`&:hover ${it}-clear`]:{opacity:1,background:Qe.colorBgBase,borderRadius:"50%"}}),[`${it}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${it}-has-feedback`]:{[`${it}-clear`]:{insetInlineEnd:Qe.calc(at).add(Qe.fontSize).add(Qe.paddingXS).equal()}}}}}},ft=Qe=>{const{componentCls:Ot}=Qe;return[{[Ot]:{[`&${Ot}-in-form-item`]:{width:"100%"}}},He(Qe),Re(Qe),(0,oe.ZP)(Qe),xe(Qe),{[`${Ot}-rtl`]:{direction:"rtl"}},(0,dt.c)(Qe,{borderElCls:`${Ot}-selector`,focusElCls:`${Ot}-focused`})]};var De=(0,Ie.I$)("Select",(Qe,Ot)=>{let{rootPrefixCls:it}=Ot;const at=(0,qe.mergeToken)(Qe,{rootPrefixCls:it,inputPaddingHorizontalBase:Qe.calc(Qe.paddingSM).sub(1).equal(),multipleSelectItemHeight:Qe.multipleItemHeight,selectHeight:Qe.controlHeight});return[ft(at),ot(at)]},Se,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yn,Ut,ae){"use strict";ae.d(Ut,{_z:function(){return Fe},gp:function(){return qe}});var x=ae(36237),dt=ae(63356),Ie=ae(51636);const qe=oe=>{const{multipleSelectItemHeight:Ne,paddingXXS:ve,lineWidth:Re,INTERNAL_FIXED_ITEM_MARGIN:Se}=oe,Pe=oe.max(oe.calc(ve).sub(Re).equal(),0),ye=oe.max(oe.calc(Pe).sub(Se).equal(),0);return{basePadding:Pe,containerPadding:ye,itemHeight:(0,x.unit)(Ne),itemLineHeight:(0,x.unit)(oe.calc(Ne).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},ze=oe=>{const{multipleSelectItemHeight:Ne,selectHeight:ve,lineWidth:Re}=oe;return oe.calc(ve).sub(Ne).div(2).sub(Re).equal()},Fe=oe=>{const{componentCls:Ne,iconCls:ve,borderRadiusSM:Re,motionDurationSlow:Se,paddingXS:Pe,multipleItemColorDisabled:ye,multipleItemBorderColorDisabled:Ce,colorIcon:Ee,colorIconHover:Me,INTERNAL_FIXED_ITEM_MARGIN:Ke}=oe;return{[`${Ne}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ne}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ke,borderRadius:Re,cursor:"default",transition:`font-size ${Se}, line-height ${Se}, height ${Se}`,marginInlineEnd:oe.calc(Ke).mul(2).equal(),paddingInlineStart:Pe,paddingInlineEnd:oe.calc(Pe).div(2).equal(),[`${Ne}-disabled&`]:{color:ye,borderColor:Ce,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(Pe).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,dt.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Me}})}}}},Ue=(oe,Ne)=>{const{componentCls:ve,INTERNAL_FIXED_ITEM_MARGIN:Re}=oe,Se=`${ve}-selection-overflow`,Pe=oe.multipleSelectItemHeight,ye=ze(oe),Ce=Ne?`${ve}-${Ne}`:"",Ee=qe(oe);return{[`${ve}-multiple${Ce}`]:Object.assign(Object.assign({},Fe(oe)),{[`${ve}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ve}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Re)} 0`,lineHeight:(0,x.unit)(Pe),visibility:"hidden",content:'"\\a0"'}},[`${ve}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ve}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(Pe),marginBlock:Re}},[`${ve}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Se}-item + ${Se}-item, + `]:{paddingInlineEnd:_e.calc(_e.fontSize).mul(1.5).equal()}}}},ve((0,qe.mergeToken)(_e,{controlHeight:_e.singleItemHeightLG,fontSize:_e.fontSizeLG,borderRadius:_e.borderRadiusLG}),"lg")]}const Se=_e=>{const{fontSize:Ot,lineHeight:it,lineWidth:at,controlHeight:Bt,controlHeightSM:We,controlHeightLG:Te,paddingXXS:ct,controlPaddingHorizontal:Zt,zIndexPopupBase:zt,colorText:tt,fontWeightStrong:Pt,controlItemBgActive:_t,controlItemBgHover:fn,colorBgContainer:Tt,colorFillSecondary:vn,colorBgContainerDisabled:kt,colorTextDisabled:Sn,colorPrimaryHover:on,colorPrimary:de,controlOutline:ge}=_e,ie=ct*2,ee=at*2,se=Math.min(Bt-ie,Bt-ee),le=Math.min(We-ie,We-ee),Be=Math.min(Te-ie,Te-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(ct/2),zIndexPopup:zt+50,optionSelectedColor:tt,optionSelectedFontWeight:Pt,optionSelectedBg:_t,optionActiveBg:fn,optionPadding:`${(Bt-Ot*it)/2}px ${Zt}px`,optionFontSize:Ot,optionLineHeight:it,optionHeight:Bt,selectorBg:Tt,clearBg:Tt,singleItemHeightLG:Te,multipleItemBg:vn,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:le,multipleItemHeightLG:Be,multipleSelectorBgDisabled:kt,multipleItemColorDisabled:Sn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(_e.fontSize*1.25),hoverBorderColor:on,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:ct}},Oe=(_e,Ot)=>{const{componentCls:it,antCls:at,controlOutlineWidth:Bt}=_e;return{[`&:not(${it}-customize-input) ${it}-selector`]:{border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} ${Ot.borderColor}`,background:_e.selectorBg},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{borderColor:Ot.hoverBorderHover},[`${it}-focused& ${it}-selector`]:{borderColor:Ot.activeBorderColor,boxShadow:`0 0 0 ${(0,Ne.unit)(Bt)} ${Ot.activeOutlineColor}`,outline:0},[`${it}-prefix`]:{color:Ot.color}}}},ye=(_e,Ot)=>({[`&${_e.componentCls}-status-${Ot.status}`]:Object.assign({},Oe(_e,Ot))}),Ce=_e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Oe(_e,{borderColor:_e.colorBorder,hoverBorderHover:_e.hoverBorderColor,activeBorderColor:_e.activeBorderColor,activeOutlineColor:_e.activeOutlineColor,color:_e.colorText})),ye(_e,{status:"error",borderColor:_e.colorError,hoverBorderHover:_e.colorErrorHover,activeBorderColor:_e.colorError,activeOutlineColor:_e.colorErrorOutline,color:_e.colorError})),ye(_e,{status:"warning",borderColor:_e.colorWarning,hoverBorderHover:_e.colorWarningHover,activeBorderColor:_e.colorWarning,activeOutlineColor:_e.colorWarningOutline,color:_e.colorWarning})),{[`&${_e.componentCls}-disabled`]:{[`&:not(${_e.componentCls}-customize-input) ${_e.componentCls}-selector`]:{background:_e.colorBgContainerDisabled,color:_e.colorTextDisabled}},[`&${_e.componentCls}-multiple ${_e.componentCls}-selection-item`]:{background:_e.multipleItemBg,border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} ${_e.multipleItemBorderColor}`}})}),Ee=(_e,Ot)=>{const{componentCls:it,antCls:at}=_e;return{[`&:not(${it}-customize-input) ${it}-selector`]:{background:Ot.bg,border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} transparent`,color:Ot.color},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{background:Ot.hoverBg},[`${it}-focused& ${it}-selector`]:{background:_e.selectorBg,borderColor:Ot.activeBorderColor,outline:0}}}},Me=(_e,Ot)=>({[`&${_e.componentCls}-status-${Ot.status}`]:Object.assign({},Ee(_e,Ot))}),Ke=_e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(_e,{bg:_e.colorFillTertiary,hoverBg:_e.colorFillSecondary,activeBorderColor:_e.activeBorderColor,color:_e.colorText})),Me(_e,{status:"error",bg:_e.colorErrorBg,hoverBg:_e.colorErrorBgHover,activeBorderColor:_e.colorError,color:_e.colorError})),Me(_e,{status:"warning",bg:_e.colorWarningBg,hoverBg:_e.colorWarningBgHover,activeBorderColor:_e.colorWarning,color:_e.colorWarning})),{[`&${_e.componentCls}-disabled`]:{[`&:not(${_e.componentCls}-customize-input) ${_e.componentCls}-selector`]:{borderColor:_e.colorBorder,background:_e.colorBgContainerDisabled,color:_e.colorTextDisabled}},[`&${_e.componentCls}-multiple ${_e.componentCls}-selection-item`]:{background:_e.colorBgContainer,border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} ${_e.colorSplit}`}})}),je=_e=>({"&-borderless":{[`${_e.componentCls}-selector`]:{background:"transparent",border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} transparent`},[`&${_e.componentCls}-disabled`]:{[`&:not(${_e.componentCls}-customize-input) ${_e.componentCls}-selector`]:{color:_e.colorTextDisabled}},[`&${_e.componentCls}-multiple ${_e.componentCls}-selection-item`]:{background:_e.multipleItemBg,border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} ${_e.multipleItemBorderColor}`},[`&${_e.componentCls}-status-error`]:{[`${_e.componentCls}-prefix, ${_e.componentCls}-selection-item`]:{color:_e.colorError}},[`&${_e.componentCls}-status-warning`]:{[`${_e.componentCls}-prefix, ${_e.componentCls}-selection-item`]:{color:_e.colorWarning}}}}),Qe=(_e,Ot)=>{const{componentCls:it,antCls:at}=_e;return{[`&:not(${it}-customize-input) ${it}-selector`]:{borderWidth:`0 0 ${(0,Ne.unit)(_e.lineWidth)} 0`,borderStyle:`none none ${_e.lineType} none`,borderColor:Ot.borderColor,background:_e.selectorBg,borderRadius:0},[`&:not(${it}-disabled):not(${it}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${it}-selector`]:{borderColor:Ot.hoverBorderHover},[`${it}-focused& ${it}-selector`]:{borderColor:Ot.activeBorderColor,outline:0},[`${it}-prefix`]:{color:Ot.color}}}},Je=(_e,Ot)=>({[`&${_e.componentCls}-status-${Ot.status}`]:Object.assign({},Qe(_e,Ot))}),Xe=_e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Qe(_e,{borderColor:_e.colorBorder,hoverBorderHover:_e.hoverBorderColor,activeBorderColor:_e.activeBorderColor,activeOutlineColor:_e.activeOutlineColor,color:_e.colorText})),Je(_e,{status:"error",borderColor:_e.colorError,hoverBorderHover:_e.colorErrorHover,activeBorderColor:_e.colorError,activeOutlineColor:_e.colorErrorOutline,color:_e.colorError})),Je(_e,{status:"warning",borderColor:_e.colorWarning,hoverBorderHover:_e.colorWarningHover,activeBorderColor:_e.colorWarning,activeOutlineColor:_e.colorWarningOutline,color:_e.colorWarning})),{[`&${_e.componentCls}-disabled`]:{[`&:not(${_e.componentCls}-customize-input) ${_e.componentCls}-selector`]:{color:_e.colorTextDisabled}},[`&${_e.componentCls}-multiple ${_e.componentCls}-selection-item`]:{background:_e.multipleItemBg,border:`${(0,Ne.unit)(_e.lineWidth)} ${_e.lineType} ${_e.multipleItemBorderColor}`}})});var ot=_e=>({[_e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ce(_e)),Ke(_e)),je(_e)),Xe(_e))});const ht=_e=>{const{componentCls:Ot}=_e;return{position:"relative",transition:`all ${_e.motionDurationMid} ${_e.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ct=_e=>{const{componentCls:Ot}=_e;return{[`${Ot}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},He=_e=>{const{antCls:Ot,componentCls:it,inputPaddingHorizontalBase:at,iconCls:Bt}=_e;return{[it]:Object.assign(Object.assign({},(0,x.Wf)(_e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${it}-customize-input) ${it}-selector`]:Object.assign(Object.assign({},ht(_e)),Ct(_e)),[`${it}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ot}-typography`]:{display:"inline"}}),[`${it}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:_e.colorTextPlaceholder,pointerEvents:"none"}),[`${it}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,height:_e.fontSizeIcon,marginTop:_e.calc(_e.fontSizeIcon).mul(-1).div(2).equal(),color:_e.colorTextQuaternary,fontSize:_e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${_e.motionDurationSlow} ease`,[Bt]:{verticalAlign:"top",transition:`transform ${_e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${it}-suffix)`]:{pointerEvents:"auto"}},[`${it}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${it}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${it}-prefix`]:{flex:"none",marginInlineEnd:_e.selectAffixPadding},[`${it}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,zIndex:1,display:"inline-block",width:_e.fontSizeIcon,height:_e.fontSizeIcon,marginTop:_e.calc(_e.fontSizeIcon).mul(-1).div(2).equal(),color:_e.colorTextQuaternary,fontSize:_e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${_e.motionDurationMid} ease, opacity ${_e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:_e.colorTextTertiary}},[`&:hover ${it}-clear`]:{opacity:1,background:_e.colorBgBase,borderRadius:"50%"}}),[`${it}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${it}-has-feedback`]:{[`${it}-clear`]:{insetInlineEnd:_e.calc(at).add(_e.fontSize).add(_e.paddingXS).equal()}}}}}},ft=_e=>{const{componentCls:Ot}=_e;return[{[Ot]:{[`&${Ot}-in-form-item`]:{width:"100%"}}},He(_e),Re(_e),(0,oe.ZP)(_e),xe(_e),{[`${Ot}-rtl`]:{direction:"rtl"}},(0,dt.c)(_e,{borderElCls:`${Ot}-selector`,focusElCls:`${Ot}-focused`})]};var De=(0,Ie.I$)("Select",(_e,Ot)=>{let{rootPrefixCls:it}=Ot;const at=(0,qe.mergeToken)(_e,{rootPrefixCls:it,inputPaddingHorizontalBase:_e.calc(_e.paddingSM).sub(1).equal(),multipleSelectItemHeight:_e.multipleItemHeight,selectHeight:_e.controlHeight});return[ft(at),ot(at)]},Se,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yn,Ut,ae){"use strict";ae.d(Ut,{_z:function(){return Fe},gp:function(){return qe}});var x=ae(36237),dt=ae(63356),Ie=ae(51636);const qe=oe=>{const{multipleSelectItemHeight:Ne,paddingXXS:ve,lineWidth:Re,INTERNAL_FIXED_ITEM_MARGIN:Se}=oe,Oe=oe.max(oe.calc(ve).sub(Re).equal(),0),ye=oe.max(oe.calc(Oe).sub(Se).equal(),0);return{basePadding:Oe,containerPadding:ye,itemHeight:(0,x.unit)(Ne),itemLineHeight:(0,x.unit)(oe.calc(Ne).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},ze=oe=>{const{multipleSelectItemHeight:Ne,selectHeight:ve,lineWidth:Re}=oe;return oe.calc(ve).sub(Ne).div(2).sub(Re).equal()},Fe=oe=>{const{componentCls:Ne,iconCls:ve,borderRadiusSM:Re,motionDurationSlow:Se,paddingXS:Oe,multipleItemColorDisabled:ye,multipleItemBorderColorDisabled:Ce,colorIcon:Ee,colorIconHover:Me,INTERNAL_FIXED_ITEM_MARGIN:Ke}=oe;return{[`${Ne}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ne}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ke,borderRadius:Re,cursor:"default",transition:`font-size ${Se}, line-height ${Se}, height ${Se}`,marginInlineEnd:oe.calc(Ke).mul(2).equal(),paddingInlineStart:Oe,paddingInlineEnd:oe.calc(Oe).div(2).equal(),[`${Ne}-disabled&`]:{color:ye,borderColor:Ce,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(Oe).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,dt.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Me}})}}}},Ue=(oe,Ne)=>{const{componentCls:ve,INTERNAL_FIXED_ITEM_MARGIN:Re}=oe,Se=`${ve}-selection-overflow`,Oe=oe.multipleSelectItemHeight,ye=ze(oe),Ce=Ne?`${ve}-${Ne}`:"",Ee=qe(oe);return{[`${ve}-multiple${Ce}`]:Object.assign(Object.assign({},Fe(oe)),{[`${ve}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ve}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Re)} 0`,lineHeight:(0,x.unit)(Oe),visibility:"hidden",content:'"\\a0"'}},[`${ve}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ve}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(Oe),marginBlock:Re}},[`${ve}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Se}-item + ${Se}-item, ${ve}-prefix + ${ve}-selection-wrap - `]:{[`${ve}-selection-search`]:{marginInlineStart:0},[`${ve}-selection-placeholder`]:{insetInlineStart:0}},[`${Se}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Re},[`${ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(ye).equal(),"\n &-input,\n &-mirror\n ":{height:Pe,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(Pe),transition:`all ${oe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ve}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal(),insetInlineEnd:oe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`}})}};function he(oe,Ne){const{componentCls:ve}=oe,Re=Ne?`${ve}-${Ne}`:"",Se={[`${ve}-multiple${Re}`]:{fontSize:oe.fontSize,[`${ve}-selector`]:{[`${ve}-show-search&`]:{cursor:"text"}},[` + `]:{[`${ve}-selection-search`]:{marginInlineStart:0},[`${ve}-selection-placeholder`]:{insetInlineStart:0}},[`${Se}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Re},[`${ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(ye).equal(),"\n &-input,\n &-mirror\n ":{height:Oe,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(Oe),transition:`all ${oe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ve}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal(),insetInlineEnd:oe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`}})}};function he(oe,Ne){const{componentCls:ve}=oe,Re=Ne?`${ve}-${Ne}`:"",Se={[`${ve}-multiple${Re}`]:{fontSize:oe.fontSize,[`${ve}-selector`]:{[`${ve}-show-search&`]:{cursor:"text"}},[` &${ve}-show-arrow ${ve}-selector, &${ve}-allow-clear ${ve}-selector - `]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Ue(oe,Ne),Se]}const xe=oe=>{const{componentCls:Ne}=oe,ve=(0,Ie.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Re=(0,Ie.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[he(oe),he(ve,"sm"),{[`${Ne}-multiple${Ne}-sm`]:{[`${Ne}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Ne}-selection-search`]:{marginInlineStart:2}}},he(Re,"lg")]};Ut.ZP=xe},68525:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(59301),dt=ae(40001),Ie=ae(19248),qe=ae(99267),ze=ae(84105),Fe=ae(58617),Ue=ae(47472);function he(xe){let{suffixIcon:oe,clearIcon:Ne,menuItemSelectedIcon:ve,removeIcon:Re,loading:Se,multiple:Pe,hasFeedback:ye,prefixCls:Ce,showSuffixIcon:Ee,feedbackIcon:Me,showArrow:Ke,componentName:je}=xe;const _e=Ne!=null?Ne:x.createElement(Ie.Z,null),Je=ht=>oe===null&&!ye&&!Ke?null:x.createElement(x.Fragment,null,Ee!==!1&&ht,ye&&Me);let Xe=null;if(oe!==void 0)Xe=Je(oe);else if(Se)Xe=Je(x.createElement(Fe.Z,{spin:!0}));else{const ht=`${Ce}-suffix`;Xe=Ct=>{let{open:He,showSearch:ft}=Ct;return Je(He&&ft?x.createElement(Ue.Z,{className:ht}):x.createElement(ze.Z,{className:ht}))}}let ut=null;ve!==void 0?ut=ve:Pe?ut=x.createElement(dt.Z,null):ut=null;let ot=null;return Re!==void 0?ot=Re:ot=x.createElement(qe.Z,null),{clearIcon:_e,suffixIcon:Xe,itemIcon:ut,removeIcon:ot}}},90005:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return x}});function x(dt,Ie){return Ie!==void 0?Ie:dt!==null}},11938:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return Ct}});var x=ae(59301),dt=ae(40192),Ie=ae(22703),qe=ae(92310),ze=ae.n(qe),Fe=ae(26112),Ue=ae(48755),he=ae(458),oe=He=>{const{value:ft,formatter:De,precision:Qe,decimalSeparator:Ot,groupSeparator:it="",prefixCls:at}=He;let Bt;if(typeof De=="function")Bt=De(ft);else{const We=String(ft),Te=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Te||We==="-")Bt=We;else{const ct=Te[1];let Zt=Te[2]||"0",jt=Te[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,it),typeof Qe=="number"&&(jt=jt.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),jt&&(jt=`${Ot}${jt}`),Bt=[x.createElement("span",{key:"int",className:`${at}-content-value-int`},ct,Zt),jt&&x.createElement("span",{key:"decimal",className:`${at}-content-value-decimal`},jt)]}}return x.createElement("span",{className:`${at}-content-value`},Bt)},Ne=ae(63356),ve=ae(16931),Re=ae(51636);const Se=He=>{const{componentCls:ft,marginXXS:De,padding:Qe,colorTextDescription:Ot,titleFontSize:it,colorTextHeading:at,contentFontSize:Bt,fontFamily:We}=He;return{[ft]:Object.assign(Object.assign({},(0,Ne.Wf)(He)),{[`${ft}-title`]:{marginBottom:De,color:Ot,fontSize:it},[`${ft}-skeleton`]:{paddingTop:Qe},[`${ft}-content`]:{color:at,fontSize:Bt,fontFamily:We,[`${ft}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ft}-content-prefix, ${ft}-content-suffix`]:{display:"inline-block"},[`${ft}-content-prefix`]:{marginInlineEnd:De},[`${ft}-content-suffix`]:{marginInlineStart:De}}})}},Pe=He=>{const{fontSizeHeading3:ft,fontSize:De}=He;return{titleFontSize:De,contentFontSize:ft}};var ye=(0,ve.I$)("Statistic",He=>{const ft=(0,Re.mergeToken)(He,{});return[Se(ft)]},Pe),Ce=function(He,ft){var De={};for(var Qe in He)Object.prototype.hasOwnProperty.call(He,Qe)&&ft.indexOf(Qe)<0&&(De[Qe]=He[Qe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(He);Ot{const{prefixCls:ft,className:De,rootClassName:Qe,style:Ot,valueStyle:it,value:at=0,title:Bt,valueRender:We,prefix:Te,suffix:ct,loading:Zt=!1,formatter:jt,precision:tt,decimalSeparator:Tt=".",groupSeparator:_t=",",onMouseEnter:hn,onMouseLeave:Pt}=He,vn=Ce(He,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:kt,direction:Sn,className:on,style:de}=(0,Ue.dj)("statistic"),ge=kt("statistic",ft),[ie,ee,se]=ye(ge),le=x.createElement(oe,{decimalSeparator:Tt,groupSeparator:_t,prefixCls:ge,formatter:jt,precision:tt,value:at}),Be=ze()(ge,{[`${ge}-rtl`]:Sn==="rtl"},on,De,Qe,ee,se),Ve=(0,Fe.Z)(vn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},Ve,{className:Be,style:Object.assign(Object.assign({},de),Ot),onMouseEnter:hn,onMouseLeave:Pt}),Bt&&x.createElement("div",{className:`${ge}-title`},Bt),x.createElement(he.Z,{paragraph:!1,loading:Zt,className:`${ge}-skeleton`},x.createElement("div",{style:it,className:`${ge}-content`},Te&&x.createElement("span",{className:`${ge}-content-prefix`},Te),We?We(le):le,ct&&x.createElement("span",{className:`${ge}-content-suffix`},ct)))))};const Ke=[["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 je(He,ft){let De=He;const Qe=/\[[^\]]*]/g,Ot=(ft.match(Qe)||[]).map(We=>We.slice(1,-1)),it=ft.replace(Qe,"[]"),at=Ke.reduce((We,Te)=>{let[ct,Zt]=Te;if(We.includes(ct)){const jt=Math.floor(De/Zt);return De-=jt*Zt,We.replace(new RegExp(`${ct}+`,"g"),tt=>{const Tt=tt.length;return jt.toString().padStart(Tt,"0")})}return We},it);let Bt=0;return at.replace(Qe,()=>{const We=Ot[Bt];return Bt+=1,We})}function _e(He,ft){const{format:De=""}=ft,Qe=new Date(He).getTime(),Ot=Date.now(),it=Math.max(Qe-Ot,0);return je(it,De)}var Je=function(He,ft){var De={};for(var Qe in He)Object.prototype.hasOwnProperty.call(He,Qe)&&ft.indexOf(Qe)<0&&(De[Qe]=He[Qe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(He);Ot{const{value:ft,format:De="HH:mm:ss",onChange:Qe,onFinish:Ot}=He,it=Je(He,["value","format","onChange","onFinish"]),at=(0,dt.Z)(),Bt=x.useRef(null),We=()=>{Ot==null||Ot(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},Te=()=>{const jt=ut(ft);jt>=Date.now()&&(Bt.current=setInterval(()=>{at(),Qe==null||Qe(jt-Date.now()),jt(Te(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[ft]);const ct=(jt,tt)=>_e(jt,Object.assign(Object.assign({},tt),{format:De})),Zt=jt=>(0,Ie.Tm)(jt,{title:void 0});return x.createElement(Me,Object.assign({},it,{value:ft,valueRender:Zt,formatter:ct}))};var ht=x.memo(ot);Me.Countdown=ht;var Ct=Me},58755:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ot}});var x=ae(59301),dt=ae(58617),Ie=ae(92310),qe=ae.n(Ie),ze=ae(60499),Fe=ae(18642),Ue=ae(72190),he=ae(42244),xe=ae(18929),oe=ae(10228),Ne=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ve=x.forwardRef(function(it,at){var Bt,We=it.prefixCls,Te=We===void 0?"rc-switch":We,ct=it.className,Zt=it.checked,jt=it.defaultChecked,tt=it.disabled,Tt=it.loadingIcon,_t=it.checkedChildren,hn=it.unCheckedChildren,Pt=it.onClick,vn=it.onChange,kt=it.onKeyDown,Sn=(0,he.Z)(it,Ne),on=(0,xe.Z)(!1,{value:Zt,defaultValue:jt}),de=(0,Ue.Z)(on,2),ge=de[0],ie=de[1];function ee(Ve,st){var gt=ge;return tt||(gt=Ve,ie(gt),vn==null||vn(gt,st)),gt}function se(Ve){Ve.which===oe.Z.LEFT?ee(!1,Ve):Ve.which===oe.Z.RIGHT&&ee(!0,Ve),kt==null||kt(Ve)}function le(Ve){var st=ee(!ge,Ve);Pt==null||Pt(st,Ve)}var Be=qe()(Te,ct,(Bt={},(0,Fe.Z)(Bt,"".concat(Te,"-checked"),ge),(0,Fe.Z)(Bt,"".concat(Te,"-disabled"),tt),Bt));return x.createElement("button",(0,ze.Z)({},Sn,{type:"button",role:"switch","aria-checked":ge,disabled:tt,className:Be,ref:at,onKeyDown:se,onClick:le}),Tt,x.createElement("span",{className:"".concat(Te,"-inner")},x.createElement("span",{className:"".concat(Te,"-inner-checked")},_t),x.createElement("span",{className:"".concat(Te,"-inner-unchecked")},hn)))});ve.displayName="Switch";var Re=ve,Se=ae(12919),Pe=ae(48755),ye=ae(2171),Ce=ae(31756),Ee=ae(36237),Me=ae(17835),Ke=ae(63356),je=ae(16931),_e=ae(51636);const Je=it=>{const{componentCls:at,trackHeightSM:Bt,trackPadding:We,trackMinWidthSM:Te,innerMinMarginSM:ct,innerMaxMarginSM:Zt,handleSizeSM:jt,calc:tt}=it,Tt=`${at}-inner`,_t=(0,Ee.unit)(tt(jt).add(tt(We).mul(2)).equal()),hn=(0,Ee.unit)(tt(Zt).mul(2).equal());return{[at]:{[`&${at}-small`]:{minWidth:Te,height:Bt,lineHeight:(0,Ee.unit)(Bt),[`${at}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:ct,[`${Tt}-checked, ${Tt}-unchecked`]:{minHeight:Bt},[`${Tt}-checked`]:{marginInlineStart:`calc(-100% + ${_t} - ${hn})`,marginInlineEnd:`calc(100% - ${_t} + ${hn})`},[`${Tt}-unchecked`]:{marginTop:tt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${at}-handle`]:{width:jt,height:jt},[`${at}-loading-icon`]:{top:tt(tt(jt).sub(it.switchLoadingIconSize)).div(2).equal(),fontSize:it.switchLoadingIconSize},[`&${at}-checked`]:{[`${at}-inner`]:{paddingInlineStart:ct,paddingInlineEnd:Zt,[`${Tt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Tt}-unchecked`]:{marginInlineStart:`calc(100% - ${_t} + ${hn})`,marginInlineEnd:`calc(-100% + ${_t} - ${hn})`}},[`${at}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(tt(jt).add(We).equal())})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${Tt}`]:{[`${Tt}-unchecked`]:{marginInlineStart:tt(it.marginXXS).div(2).equal(),marginInlineEnd:tt(it.marginXXS).mul(-1).div(2).equal()}},[`&${at}-checked ${Tt}`]:{[`${Tt}-checked`]:{marginInlineStart:tt(it.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:tt(it.marginXXS).div(2).equal()}}}}}}},Xe=it=>{const{componentCls:at,handleSize:Bt,calc:We}=it;return{[at]:{[`${at}-loading-icon${it.iconCls}`]:{position:"relative",top:We(We(Bt).sub(it.fontSize)).div(2).equal(),color:it.switchLoadingIconColor,verticalAlign:"top"},[`&${at}-checked ${at}-loading-icon`]:{color:it.switchColor}}}},ut=it=>{const{componentCls:at,trackPadding:Bt,handleBg:We,handleShadow:Te,handleSize:ct,calc:Zt}=it,jt=`${at}-handle`;return{[at]:{[jt]:{position:"absolute",top:Bt,insetInlineStart:Bt,width:ct,height:ct,transition:`all ${it.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:We,borderRadius:Zt(ct).div(2).equal(),boxShadow:Te,transition:`all ${it.switchDuration} ease-in-out`,content:'""'}},[`&${at}-checked ${jt}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Zt(ct).add(Bt).equal())})`},[`&:not(${at}-disabled):active`]:{[`${jt}::before`]:{insetInlineEnd:it.switchHandleActiveInset,insetInlineStart:0},[`&${at}-checked ${jt}::before`]:{insetInlineEnd:0,insetInlineStart:it.switchHandleActiveInset}}}}},ot=it=>{const{componentCls:at,trackHeight:Bt,trackPadding:We,innerMinMargin:Te,innerMaxMargin:ct,handleSize:Zt,calc:jt}=it,tt=`${at}-inner`,Tt=(0,Ee.unit)(jt(Zt).add(jt(We).mul(2)).equal()),_t=(0,Ee.unit)(jt(ct).mul(2).equal());return{[at]:{[tt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ct,paddingInlineEnd:Te,transition:`padding-inline-start ${it.switchDuration} ease-in-out, padding-inline-end ${it.switchDuration} ease-in-out`,[`${tt}-checked, ${tt}-unchecked`]:{display:"block",color:it.colorTextLightSolid,fontSize:it.fontSizeSM,transition:`margin-inline-start ${it.switchDuration} ease-in-out, margin-inline-end ${it.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Bt},[`${tt}-checked`]:{marginInlineStart:`calc(-100% + ${Tt} - ${_t})`,marginInlineEnd:`calc(100% - ${Tt} + ${_t})`},[`${tt}-unchecked`]:{marginTop:jt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${at}-checked ${tt}`]:{paddingInlineStart:Te,paddingInlineEnd:ct,[`${tt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${tt}-unchecked`]:{marginInlineStart:`calc(100% - ${Tt} + ${_t})`,marginInlineEnd:`calc(-100% + ${Tt} - ${_t})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${tt}`]:{[`${tt}-unchecked`]:{marginInlineStart:jt(We).mul(2).equal(),marginInlineEnd:jt(We).mul(-1).mul(2).equal()}},[`&${at}-checked ${tt}`]:{[`${tt}-checked`]:{marginInlineStart:jt(We).mul(-1).mul(2).equal(),marginInlineEnd:jt(We).mul(2).equal()}}}}}},ht=it=>{const{componentCls:at,trackHeight:Bt,trackMinWidth:We}=it;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(it)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:We,height:Bt,lineHeight:(0,Ee.unit)(Bt),verticalAlign:"middle",background:it.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${it.motionDurationMid}`,userSelect:"none",[`&:hover:not(${at}-disabled)`]:{background:it.colorTextTertiary}}),(0,Ke.Qy)(it)),{[`&${at}-checked`]:{background:it.switchColor,[`&:hover:not(${at}-disabled)`]:{background:it.colorPrimaryHover}},[`&${at}-loading, &${at}-disabled`]:{cursor:"not-allowed",opacity:it.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${at}-rtl`]:{direction:"rtl"}})}},Ct=it=>{const{fontSize:at,lineHeight:Bt,controlHeight:We,colorWhite:Te}=it,ct=at*Bt,Zt=We/2,jt=2,tt=ct-jt*2,Tt=Zt-jt*2;return{trackHeight:ct,trackHeightSM:Zt,trackMinWidth:tt*2+jt*4,trackMinWidthSM:Tt*2+jt*2,trackPadding:jt,handleBg:Te,handleSize:tt,handleSizeSM:Tt,handleShadow:`0 2px 4px 0 ${new Me.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:tt/2,innerMaxMargin:tt+jt+jt*2,innerMinMarginSM:Tt/2,innerMaxMarginSM:Tt+jt+jt*2}};var He=(0,je.I$)("Switch",it=>{const at=(0,_e.mergeToken)(it,{switchDuration:it.motionDurationMid,switchColor:it.colorPrimary,switchDisabledOpacity:it.opacityLoading,switchLoadingIconSize:it.calc(it.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${it.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(at),ot(at),ut(at),Xe(at),Je(at)]},Ct),ft=function(it,at){var Bt={};for(var We in it)Object.prototype.hasOwnProperty.call(it,We)&&at.indexOf(We)<0&&(Bt[We]=it[We]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,We=Object.getOwnPropertySymbols(it);Te{const{prefixCls:Bt,size:We,disabled:Te,loading:ct,className:Zt,rootClassName:jt,style:tt,checked:Tt,value:_t,defaultChecked:hn,defaultValue:Pt,onChange:vn}=it,kt=ft(it,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Sn,on]=(0,xe.Z)(!1,{value:Tt!=null?Tt:_t,defaultValue:hn!=null?hn:Pt}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(Pe.E_),ee=x.useContext(ye.Z),se=(Te!=null?Te:ee)||ct,le=de("switch",Bt),Be=x.createElement("div",{className:`${le}-handle`},ct&&x.createElement(dt.Z,{className:`${le}-loading-icon`})),[Ve,st,gt]=He(le),mt=(0,Ce.Z)(We),St=qe()(ie==null?void 0:ie.className,{[`${le}-small`]:mt==="small",[`${le}-loading`]:ct,[`${le}-rtl`]:ge==="rtl"},Zt,jt,st,gt),Dt=Object.assign(Object.assign({},ie==null?void 0:ie.style),tt),Ht=function(){on(arguments.length<=0?void 0:arguments[0]),vn==null||vn.apply(void 0,arguments)};return Ve(x.createElement(Se.Z,{component:"Switch"},x.createElement(Re,Object.assign({},kt,{checked:Sn,onChange:Ht,prefixCls:le,className:St,style:Dt,disabled:se,ref:at,loadingIcon:Be}))))});Qe.__ANT_SWITCH=!0;var Ot=Qe},70858:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return hp}});var x=ae(59301),dt={},Ie="rc-table-internal-hook",qe=ae(72190),ze=ae(6089),Fe=ae(34280),Ue=ae(13697),he=ae(4676);function xe(wt){var yt=x.createContext(void 0),Yt=function(Fn){var Mn=Fn.value,rr=Fn.children,er=x.useRef(Mn);er.current=Mn;var vr=x.useState(function(){return{getValue:function(){return er.current},listeners:new Set}}),Ar=(0,qe.Z)(vr,1),li=Ar[0];return(0,Fe.Z)(function(){(0,he.unstable_batchedUpdates)(function(){li.listeners.forEach(function(Qr){Qr(Mn)})})},[Mn]),x.createElement(yt.Provider,{value:li},rr)};return{Context:yt,Provider:Yt,defaultValue:wt}}function oe(wt,yt){var Yt=(0,ze.Z)(typeof yt=="function"?yt:function(Qr){if(yt===void 0)return Qr;if(!Array.isArray(yt))return Qr[yt];var _r={};return yt.forEach(function(Dr){_r[Dr]=Qr[Dr]}),_r}),An=x.useContext(wt==null?void 0:wt.Context),Fn=An||{},Mn=Fn.listeners,rr=Fn.getValue,er=x.useRef();er.current=Yt(An?rr():wt==null?void 0:wt.defaultValue);var vr=x.useState({}),Ar=(0,qe.Z)(vr,2),li=Ar[1];return(0,Fe.Z)(function(){if(!An)return;function Qr(_r){var Dr=Yt(_r);(0,Ue.Z)(er.current,Dr,!0)||li({})}return Mn.add(Qr),function(){Mn.delete(Qr)}},[An]),er.current}var Ne=ae(60499),ve=ae(8654);function Re(){var wt=x.createContext(null);function yt(){return x.useContext(wt)}function Yt(Fn,Mn){var rr=(0,ve.Yr)(Fn),er=function(Ar,li){var Qr=rr?{ref:li}:{},_r=x.useRef(0),Dr=x.useRef(Ar),Fr=yt();return Fr!==null?x.createElement(Fn,(0,Ne.Z)({},Ar,Qr)):((!Mn||Mn(Dr.current,Ar))&&(_r.current+=1),Dr.current=Ar,x.createElement(wt.Provider,{value:_r.current},x.createElement(Fn,(0,Ne.Z)({},Ar,Qr))))};return rr?x.forwardRef(er):er}function An(Fn,Mn){var rr=(0,ve.Yr)(Fn),er=function(Ar,li){var Qr=rr?{ref:li}:{};return yt(),x.createElement(Fn,(0,Ne.Z)({},Ar,Qr))};return rr?x.memo(x.forwardRef(er),Mn):x.memo(er,Mn)}return{makeImmutable:Yt,responseImmutable:An,useImmutableMark:yt}}var Se=Re(),Pe=Se.makeImmutable,ye=Se.responseImmutable,Ce=Se.useImmutableMark,Ee=Re(),Me=Ee.makeImmutable,Ke=Ee.responseImmutable,je=Ee.useImmutableMark,_e=xe(),Je=_e;function Xe(wt,yt){var Yt=React.useRef(0);Yt.current+=1;var An=React.useRef(wt),Fn=[];Object.keys(wt||{}).map(function(rr){var er;(wt==null?void 0:wt[rr])!==((er=An.current)===null||er===void 0?void 0:er[rr])&&Fn.push(rr)}),An.current=wt;var Mn=React.useRef([]);return Fn.length&&(Mn.current=Fn),React.useDebugValue(Yt.current),React.useDebugValue(Mn.current.join(", ")),yt&&console.log("".concat(yt,":"),Yt.current,Mn.current),Yt.current}var ut=null,ot=null,ht=ae(43749),Ct=ae(85899),He=ae(18642),ft=ae(92310),De=ae.n(ft),Qe=ae(80547),Ot=ae(97938),it=ae(48736),at=x.createContext({renderWithProps:!1}),Bt=at,We="RC_TABLE_KEY";function Te(wt){return wt==null?[]:Array.isArray(wt)?wt:[wt]}function ct(wt){var yt=[],Yt={};return wt.forEach(function(An){for(var Fn=An||{},Mn=Fn.key,rr=Fn.dataIndex,er=Mn||Te(rr).join("-")||We;Yt[er];)er="".concat(er,"_next");Yt[er]=!0,yt.push(er)}),yt}function Zt(wt){return wt!=null}function jt(wt){return typeof wt=="number"&&!Number.isNaN(wt)}function tt(wt){return wt&&(0,ht.Z)(wt)==="object"&&!Array.isArray(wt)&&!x.isValidElement(wt)}function Tt(wt,yt,Yt,An,Fn,Mn){var rr=x.useContext(Bt),er=je(),vr=(0,Qe.Z)(function(){if(Zt(An))return[An];var Ar=yt==null||yt===""?[]:Array.isArray(yt)?yt:[yt],li=(0,Ot.Z)(wt,Ar),Qr=li,_r=void 0;if(Fn){var Dr=Fn(li,wt,Yt);tt(Dr)?(Qr=Dr.children,_r=Dr.props,rr.renderWithProps=!0):Qr=Dr}return[Qr,_r]},[er,wt,An,yt,Fn,Yt],function(Ar,li){if(Mn){var Qr=(0,qe.Z)(Ar,2),_r=Qr[1],Dr=(0,qe.Z)(li,2),Fr=Dr[1];return Mn(Fr,_r)}return rr.renderWithProps?!0:!(0,Ue.Z)(Ar,li,!0)});return vr}function _t(wt,yt,Yt,An){var Fn=wt+yt-1;return wt<=An&&Fn>=Yt}function hn(wt,yt){return oe(Je,function(Yt){var An=_t(wt,yt||1,Yt.hoverStartRow,Yt.hoverEndRow);return[An,Yt.onHover]})}var Pt=ae(70425),vn=function(yt){var Yt=yt.ellipsis,An=yt.rowType,Fn=yt.children,Mn,rr=Yt===!0?{showTitle:!0}:Yt;return rr&&(rr.showTitle||An==="header")&&(typeof Fn=="string"||typeof Fn=="number"?Mn=Fn.toString():x.isValidElement(Fn)&&typeof Fn.props.children=="string"&&(Mn=Fn.props.children)),Mn};function kt(wt){var yt,Yt,An,Fn,Mn,rr,er,vr,Ar=wt.component,li=wt.children,Qr=wt.ellipsis,_r=wt.scope,Dr=wt.prefixCls,Fr=wt.className,Gi=wt.align,mi=wt.record,to=wt.render,uo=wt.dataIndex,qi=wt.renderIndex,po=wt.shouldCellUpdate,Eo=wt.index,jo=wt.rowType,ko=wt.colSpan,Na=wt.rowSpan,sa=wt.fixLeft,ra=wt.fixRight,Zo=wt.firstFixLeft,Ho=wt.lastFixLeft,Ko=wt.firstFixRight,vo=wt.lastFixRight,ho=wt.appendNode,Mo=wt.additionalProps,Go=Mo===void 0?{}:Mo,ia=wt.isSticky,Co="".concat(Dr,"-cell"),es=oe(Je,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Za=es.supportSticky,kl=es.allColumnsFixedLeft,bl=es.rowHoverable,al=Tt(mi,uo,qi,li,to,po),co=(0,qe.Z)(al,2),Xl=co[0],us=co[1],as={},rl=typeof sa=="number"&&Za,Au=typeof ra=="number"&&Za;rl&&(as.position="sticky",as.left=sa),Au&&(as.position="sticky",as.right=ra);var oa=(yt=(Yt=(An=us==null?void 0:us.colSpan)!==null&&An!==void 0?An:Go.colSpan)!==null&&Yt!==void 0?Yt:ko)!==null&&yt!==void 0?yt:1,Ca=(Fn=(Mn=(rr=us==null?void 0:us.rowSpan)!==null&&rr!==void 0?rr:Go.rowSpan)!==null&&Mn!==void 0?Mn:Na)!==null&&Fn!==void 0?Fn:1,Xo=hn(Eo,Ca),Po=(0,qe.Z)(Xo,2),ps=Po[0],Is=Po[1],Gs=(0,Pt.zX)(function(Js){var Xs;mi&&Is(Eo,Eo+Ca-1),Go==null||(Xs=Go.onMouseEnter)===null||Xs===void 0||Xs.call(Go,Js)}),Ks=(0,Pt.zX)(function(Js){var Xs;mi&&Is(-1,-1),Go==null||(Xs=Go.onMouseLeave)===null||Xs===void 0||Xs.call(Go,Js)});if(oa===0||Ca===0)return null;var sl=(er=Go.title)!==null&&er!==void 0?er:vn({rowType:jo,ellipsis:Qr,children:Xl}),mu=De()(Co,Fr,(vr={},(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)(vr,"".concat(Co,"-fix-left"),rl&&Za),"".concat(Co,"-fix-left-first"),Zo&&Za),"".concat(Co,"-fix-left-last"),Ho&&Za),"".concat(Co,"-fix-left-all"),Ho&&kl&&Za),"".concat(Co,"-fix-right"),Au&&Za),"".concat(Co,"-fix-right-first"),Ko&&Za),"".concat(Co,"-fix-right-last"),vo&&Za),"".concat(Co,"-ellipsis"),Qr),"".concat(Co,"-with-append"),ho),"".concat(Co,"-fix-sticky"),(rl||Au)&&ia&&Za),(0,He.Z)(vr,"".concat(Co,"-row-hover"),!us&&ps)),Go.className,us==null?void 0:us.className),la={};Gi&&(la.textAlign=Gi);var na=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},us==null?void 0:us.style),as),la),Go.style),Bs=Xl;return(0,ht.Z)(Bs)==="object"&&!Array.isArray(Bs)&&!x.isValidElement(Bs)&&(Bs=null),Qr&&(Ho||Ko)&&(Bs=x.createElement("span",{className:"".concat(Co,"-content")},Bs)),x.createElement(Ar,(0,Ne.Z)({},us,Go,{className:mu,style:na,title:sl,scope:_r,onMouseEnter:bl?Gs:void 0,onMouseLeave:bl?Ks:void 0,colSpan:oa!==1?oa:null,rowSpan:Ca!==1?Ca:null}),ho,Bs)}var Sn=x.memo(kt);function on(wt,yt,Yt,An,Fn){var Mn=Yt[wt]||{},rr=Yt[yt]||{},er,vr;Mn.fixed==="left"?er=An.left[Fn==="rtl"?yt:wt]:rr.fixed==="right"&&(vr=An.right[Fn==="rtl"?wt:yt]);var Ar=!1,li=!1,Qr=!1,_r=!1,Dr=Yt[yt+1],Fr=Yt[wt-1],Gi=Dr&&!Dr.fixed||Fr&&!Fr.fixed||Yt.every(function(po){return po.fixed==="left"});if(Fn==="rtl"){if(er!==void 0){var mi=Fr&&Fr.fixed==="left";_r=!mi&&Gi}else if(vr!==void 0){var to=Dr&&Dr.fixed==="right";Qr=!to&&Gi}}else if(er!==void 0){var uo=Dr&&Dr.fixed==="left";Ar=!uo&&Gi}else if(vr!==void 0){var qi=Fr&&Fr.fixed==="right";li=!qi&&Gi}return{fixLeft:er,fixRight:vr,lastFixLeft:Ar,firstFixRight:li,lastFixRight:Qr,firstFixLeft:_r,isSticky:An.isSticky}}var de=x.createContext({}),ge=de;function ie(wt){var yt=wt.className,Yt=wt.index,An=wt.children,Fn=wt.colSpan,Mn=Fn===void 0?1:Fn,rr=wt.rowSpan,er=wt.align,vr=oe(Je,["prefixCls","direction"]),Ar=vr.prefixCls,li=vr.direction,Qr=x.useContext(ge),_r=Qr.scrollColumnIndex,Dr=Qr.stickyOffsets,Fr=Qr.flattenColumns,Gi=Yt+Mn-1,mi=Gi+1===_r?Mn+1:Mn,to=on(Yt,Yt+mi-1,Fr,Dr,li);return x.createElement(Sn,(0,Ne.Z)({className:yt,index:Yt,component:"td",prefixCls:Ar,record:null,dataIndex:null,align:er,colSpan:mi,rowSpan:rr,render:function(){return An}},to))}var ee=ae(42244),se=["children"];function le(wt){var yt=wt.children,Yt=(0,ee.Z)(wt,se);return x.createElement("tr",Yt,yt)}function Be(wt){var yt=wt.children;return yt}Be.Row=le,Be.Cell=ie;var Ve=Be;function st(wt){var yt=wt.children,Yt=wt.stickyOffsets,An=wt.flattenColumns,Fn=oe(Je,"prefixCls"),Mn=An.length-1,rr=An[Mn],er=x.useMemo(function(){return{stickyOffsets:Yt,flattenColumns:An,scrollColumnIndex:rr!=null&&rr.scrollbar?Mn:null}},[rr,An,Mn,Yt]);return x.createElement(ge.Provider,{value:er},x.createElement("tfoot",{className:"".concat(Fn,"-summary")},yt))}var gt=Ke(st),mt=Ve,St=ae(29301),Dt=ae(24514),Ht=ae(75152),xt=ae(26112);function lt(wt,yt,Yt,An,Fn,Mn,rr){wt.push({record:yt,indent:Yt,index:rr});var er=Mn(yt),vr=Fn==null?void 0:Fn.has(er);if(yt&&Array.isArray(yt[An])&&vr)for(var Ar=0;Ar1?Zo-1:0),Ko=1;Ko=1)),style:(0,Ct.Z)((0,Ct.Z)({},Yt),to==null?void 0:to.style)}),Fr.map(function(sa,ra){var Zo=sa.render,Ho=sa.dataIndex,Ko=sa.className,vo=Qt(_r,sa,ra,vr,Fn),ho=vo.key,Mo=vo.fixedInfo,Go=vo.appendCellNode,ia=vo.additionalCellProps;return x.createElement(Sn,(0,Ne.Z)({className:Ko,ellipsis:sa.ellipsis,align:sa.align,scope:sa.rowScope,component:sa.rowScope?Qr:li,prefixCls:Dr,key:ho,record:An,index:Fn,renderIndex:Mn,dataIndex:Ho,render:Zo,shouldCellUpdate:sa.shouldCellUpdate},Mo,{appendNode:Go,additionalProps:ia}))})),ko;if(qi&&(po.current||uo)){var Na=mi(An,Fn,vr+1,uo);ko=x.createElement(an,{expanded:uo,className:De()("".concat(Dr,"-expanded-row"),"".concat(Dr,"-expanded-row-level-").concat(vr+1),Eo),prefixCls:Dr,component:Ar,cellComponent:li,colSpan:Fr.length,isEmpty:!1},Na)}return x.createElement(x.Fragment,null,jo,ko)}var Nn=Ke(sn);function Vn(wt){var yt=wt.columnKey,Yt=wt.onColumnResize,An=x.useRef();return(0,Fe.Z)(function(){An.current&&Yt(yt,An.current.offsetWidth)},[]),x.createElement(St.Z,{data:yt},x.createElement("td",{ref:An,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Lt=ae(29194);function Gt(wt){var yt=wt.prefixCls,Yt=wt.columnsKey,An=wt.onColumnResize,Fn=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(yt,"-measure-row"),style:{height:0,fontSize:0},ref:Fn},x.createElement(St.Z.Collection,{onBatchResize:function(rr){(0,Lt.Z)(Fn.current)&&rr.forEach(function(er){var vr=er.data,Ar=er.size;An(vr,Ar.offsetWidth)})}},Yt.map(function(Mn){return x.createElement(Vn,{key:Mn,columnKey:Mn,onColumnResize:An})})))}function nn(wt){var yt=wt.data,Yt=wt.measureColumnWidth,An=oe(Je,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Fn=An.prefixCls,Mn=An.getComponent,rr=An.onColumnResize,er=An.flattenColumns,vr=An.getRowKey,Ar=An.expandedKeys,li=An.childrenColumnName,Qr=An.emptyNode,_r=Xt(yt,li,Ar,vr),Dr=x.useRef({renderWithProps:!1}),Fr=Mn(["body","wrapper"],"tbody"),Gi=Mn(["body","row"],"tr"),mi=Mn(["body","cell"],"td"),to=Mn(["body","cell"],"th"),uo;yt.length?uo=_r.map(function(po,Eo){var jo=po.record,ko=po.indent,Na=po.index,sa=vr(jo,Eo);return x.createElement(Nn,{key:sa,rowKey:sa,record:jo,index:Eo,renderIndex:Na,rowComponent:Gi,cellComponent:mi,scopeCellComponent:to,indent:ko})}):uo=x.createElement(an,{expanded:!0,className:"".concat(Fn,"-placeholder"),prefixCls:Fn,component:Gi,cellComponent:mi,colSpan:er.length,isEmpty:!0},Qr);var qi=ct(er);return x.createElement(Bt.Provider,{value:Dr.current},x.createElement(Fr,{className:"".concat(Fn,"-tbody")},Yt&&x.createElement(Gt,{prefixCls:Fn,columnsKey:qi,onColumnResize:rr}),uo))}var Cn=Ke(nn),Gn=["expandable"],Sr="RC_TABLE_INTERNAL_COL_DEFINE";function ii(wt){var yt=wt.expandable,Yt=(0,ee.Z)(wt,Gn),An;return"expandable"in wt?An=(0,Ct.Z)((0,Ct.Z)({},Yt),yt):An=Yt,An.showExpandColumn===!1&&(An.expandIconColumnIndex=-1),An}var si=["columnType"];function sr(wt){for(var yt=wt.colWidths,Yt=wt.columns,An=wt.columCount,Fn=oe(Je,["tableLayout"]),Mn=Fn.tableLayout,rr=[],er=An||Yt.length,vr=!1,Ar=er-1;Ar>=0;Ar-=1){var li=yt[Ar],Qr=Yt&&Yt[Ar],_r=void 0,Dr=void 0;if(Qr&&(_r=Qr[Sr],Mn==="auto"&&(Dr=Qr.minWidth)),li||Dr||_r||vr){var Fr=_r||{},Gi=Fr.columnType,mi=(0,ee.Z)(Fr,si);rr.unshift(x.createElement("col",(0,Ne.Z)({key:Ar,style:{width:li,minWidth:Dr}},mi))),vr=!0}}return x.createElement("colgroup",null,rr)}var Lr=sr,_n=ae(77654),Hn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Jn(wt,yt){return(0,x.useMemo)(function(){for(var Yt=[],An=0;An1?"colgroup":"col":null,ellipsis:mi.ellipsis,align:mi.align,component:rr,prefixCls:li,key:Dr[Gi]},to,{additionalProps:uo,rowType:"header"}))}))},Er=Cr;function Nr(wt){var yt=[];function Yt(rr,er){var vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;yt[vr]=yt[vr]||[];var Ar=er,li=rr.filter(Boolean).map(function(Qr){var _r={key:Qr.key,className:Qr.className||"",children:Qr.title,column:Qr,colStart:Ar},Dr=1,Fr=Qr.children;return Fr&&Fr.length>0&&(Dr=Yt(Fr,Ar,vr+1).reduce(function(Gi,mi){return Gi+mi},0),_r.hasSubColumns=!0),"colSpan"in Qr&&(Dr=Qr.colSpan),"rowSpan"in Qr&&(_r.rowSpan=Qr.rowSpan),_r.colSpan=Dr,_r.colEnd=_r.colStart+Dr-1,yt[vr].push(_r),Ar+=Dr,Dr});return li}Yt(wt,0);for(var An=yt.length,Fn=function(er){yt[er].forEach(function(vr){!("rowSpan"in vr)&&!vr.hasSubColumns&&(vr.rowSpan=An-er)})},Mn=0;Mn1&&arguments[1]!==void 0?arguments[1]:"";return typeof yt=="number"?yt:yt.endsWith("%")?wt*parseFloat(yt)/100:null}function Ci(wt,yt,Yt){return x.useMemo(function(){if(yt&&yt>0){var An=0,Fn=0;wt.forEach(function(_r){var Dr=Oi(yt,_r.width);Dr?An+=Dr:Fn+=1});var Mn=Math.max(yt,Yt),rr=Math.max(Mn-An,Fn),er=Fn,vr=rr/Fn,Ar=0,li=wt.map(function(_r){var Dr=(0,Ct.Z)({},_r),Fr=Oi(yt,Dr.width);if(Fr)Dr.width=Fr;else{var Gi=Math.floor(vr);Dr.width=er===1?rr:Gi,rr-=Gi,er-=1}return Ar+=Dr.width,Dr});if(Ar0?(0,Ct.Z)((0,Ct.Z)({},yt),{},{children:Mr(Yt)}):yt})}function gi(wt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return wt.filter(function(Yt){return Yt&&(0,ht.Z)(Yt)==="object"}).reduce(function(Yt,An,Fn){var Mn=An.fixed,rr=Mn===!0?"left":Mn,er="".concat(yt,"-").concat(Fn),vr=An.children;return vr&&vr.length>0?[].concat((0,_n.Z)(Yt),(0,_n.Z)(gi(vr,er).map(function(Ar){return(0,Ct.Z)({fixed:rr},Ar)}))):[].concat((0,_n.Z)(Yt),[(0,Ct.Z)((0,Ct.Z)({key:er},An),{},{fixed:rr})])},[])}function oi(wt){return wt.map(function(yt){var Yt=yt.fixed,An=(0,ee.Z)(yt,Yi),Fn=Yt;return Yt==="left"?Fn="right":Yt==="right"&&(Fn="left"),(0,Ct.Z)({fixed:Fn},An)})}function un(wt,yt){var Yt=wt.prefixCls,An=wt.columns,Fn=wt.children,Mn=wt.expandable,rr=wt.expandedKeys,er=wt.columnTitle,vr=wt.getRowKey,Ar=wt.onTriggerExpand,li=wt.expandIcon,Qr=wt.rowExpandable,_r=wt.expandIconColumnIndex,Dr=wt.direction,Fr=wt.expandRowByClick,Gi=wt.columnWidth,mi=wt.fixed,to=wt.scrollWidth,uo=wt.clientWidth,qi=x.useMemo(function(){var Ho=An||or(Fn)||[];return Mr(Ho.slice())},[An,Fn]),po=x.useMemo(function(){if(Mn){var Ho=qi.slice();if(!Ho.includes(dt)){var Ko=_r||0;Ko>=0&&(Ko||mi==="left"||!mi)&&Ho.splice(Ko,0,dt),mi==="right"&&Ho.splice(qi.length,0,dt)}var vo=Ho.indexOf(dt);Ho=Ho.filter(function(ia,Co){return ia!==dt||Co===vo});var ho=qi[vo],Mo;mi?Mo=mi:Mo=ho?ho.fixed:null;var Go=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},Sr,{className:"".concat(Yt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",er),"fixed",Mo),"className","".concat(Yt,"-row-expand-icon-cell")),"width",Gi),"render",function(Co,es,Za){var kl=vr(es,Za),bl=rr.has(kl),al=Qr?Qr(es):!0,co=li({prefixCls:Yt,expanded:bl,expandable:al,record:es,onExpand:Ar});return Fr?x.createElement("span",{onClick:function(us){return us.stopPropagation()}},co):co});return Ho.map(function(ia){return ia===dt?Go:ia})}return qi.filter(function(ia){return ia!==dt})},[Mn,qi,vr,rr,li,Dr]),Eo=x.useMemo(function(){var Ho=po;return yt&&(Ho=yt(Ho)),Ho.length||(Ho=[{render:function(){return null}}]),Ho},[yt,po,Dr]),jo=x.useMemo(function(){return Dr==="rtl"?oi(gi(Eo)):gi(Eo)},[Eo,Dr,to]),ko=x.useMemo(function(){for(var Ho=-1,Ko=jo.length-1;Ko>=0;Ko-=1){var vo=jo[Ko].fixed;if(vo==="left"||vo===!0){Ho=Ko;break}}if(Ho>=0)for(var ho=0;ho<=Ho;ho+=1){var Mo=jo[ho].fixed;if(Mo!=="left"&&Mo!==!0)return!0}var Go=jo.findIndex(function(es){var Za=es.fixed;return Za==="right"});if(Go>=0)for(var ia=Go;ia=Go-er?uo(function(ia){return(0,Ct.Z)((0,Ct.Z)({},ia),{},{isHiddenScrollBar:!0})}):uo(function(ia){return(0,Ct.Z)((0,Ct.Z)({},ia),{},{isHiddenScrollBar:!1})})}})},Ko=function(ho){uo(function(Mo){return(0,Ct.Z)((0,Ct.Z)({},Mo),{},{scrollLeft:ho/Qr*_r||0})})};return x.useImperativeHandle(Yt,function(){return{setScrollLeft:Ko,checkScrollBarVisible:Ho}}),x.useEffect(function(){var vo=(0,Ti.Z)(document.body,"mouseup",sa,!1),ho=(0,Ti.Z)(document.body,"mousemove",Zo,!1);return Ho(),function(){vo.remove(),ho.remove()}},[Dr,jo]),x.useEffect(function(){if(Mn.current){for(var vo=[],ho=(0,nr.bn)(Mn.current);ho;)vo.push(ho),ho=ho.parentElement;return vo.forEach(function(Mo){return Mo.addEventListener("scroll",Ho,!1)}),window.addEventListener("resize",Ho,!1),window.addEventListener("scroll",Ho,!1),vr.addEventListener("scroll",Ho,!1),function(){vo.forEach(function(Mo){return Mo.removeEventListener("scroll",Ho)}),window.removeEventListener("resize",Ho),window.removeEventListener("scroll",Ho),vr.removeEventListener("scroll",Ho)}}},[vr]),x.useEffect(function(){to.isHiddenScrollBar||uo(function(vo){var ho=Mn.current;return ho?(0,Ct.Z)((0,Ct.Z)({},vo),{},{scrollLeft:ho.scrollLeft/ho.scrollWidth*ho.clientWidth}):vo})},[to.isHiddenScrollBar]),Qr<=_r||!Dr||to.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,Ht.Z)(),width:_r,bottom:er},className:"".concat(li,"-sticky-scroll")},x.createElement("div",{onMouseDown:ra,ref:Fr,className:De()("".concat(li,"-sticky-scroll-bar"),(0,He.Z)({},"".concat(li,"-sticky-scroll-bar-active"),jo)),style:{width:"".concat(Dr,"px"),transform:"translate3d(".concat(to.scrollLeft,"px, 0, 0)")}}))},cn=x.forwardRef(gn);function qn(wt){return null}var hr=qn;function ur(wt){return null}var br=ur,ci="rc-table",Yr=[],yi={};function Pi(){return"No Data"}function wi(wt,yt){var Yt=(0,Ct.Z)({rowKey:"key",prefixCls:ci,emptyText:Pi},wt),An=Yt.prefixCls,Fn=Yt.className,Mn=Yt.rowClassName,rr=Yt.style,er=Yt.data,vr=Yt.rowKey,Ar=Yt.scroll,li=Yt.tableLayout,Qr=Yt.direction,_r=Yt.title,Dr=Yt.footer,Fr=Yt.summary,Gi=Yt.caption,mi=Yt.id,to=Yt.showHeader,uo=Yt.components,qi=Yt.emptyText,po=Yt.onRow,Eo=Yt.onHeaderRow,jo=Yt.onScroll,ko=Yt.internalHooks,Na=Yt.transformColumns,sa=Yt.internalRefs,ra=Yt.tailor,Zo=Yt.getContainerWidth,Ho=Yt.sticky,Ko=Yt.rowHoverable,vo=Ko===void 0?!0:Ko,ho=er||Yr,Mo=!!ho.length,Go=ko===Ie,ia=x.useCallback(function(ms,Ns){return(0,Ot.Z)(uo,ms)||Ns},[uo]),Co=x.useMemo(function(){return typeof vr=="function"?vr:function(ms){var Ns=ms&&ms[vr];return Ns}},[vr]),es=ia(["body"]),Za=On(),kl=(0,qe.Z)(Za,3),bl=kl[0],al=kl[1],co=kl[2],Xl=Rt(Yt,ho,Co),us=(0,qe.Z)(Xl,6),as=us[0],rl=us[1],Au=us[2],oa=us[3],Ca=us[4],Xo=us[5],Po=Ar==null?void 0:Ar.x,ps=x.useState(0),Is=(0,qe.Z)(ps,2),Gs=Is[0],Ks=Is[1],sl=bt((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Yt),as),{},{expandable:!!as.expandedRowRender,columnTitle:as.columnTitle,expandedKeys:Au,getRowKey:Co,onTriggerExpand:Xo,expandIcon:oa,expandIconColumnIndex:as.expandIconColumnIndex,direction:Qr,scrollWidth:Go&&ra&&typeof Po=="number"?Po:null,clientWidth:Gs}),Go?Na:null),mu=(0,qe.Z)(sl,4),la=mu[0],na=mu[1],Bs=mu[2],Js=mu[3],Xs=Bs!=null?Bs:Po,vu=x.useMemo(function(){return{columns:la,flattenColumns:na}},[la,na]),Ml=x.useRef(),fc=x.useRef(),Cl=x.useRef(),ys=x.useRef();x.useImperativeHandle(yt,function(){return{nativeElement:Ml.current,scrollTo:function(Ns){var wu;if(Cl.current instanceof HTMLElement){var Vu=Ns.index,Gu=Ns.top,Ad=Ns.key;if(jt(Gu)){var XA;(XA=Cl.current)===null||XA===void 0||XA.scrollTo({top:Gu})}else{var RA,dd=Ad!=null?Ad:Co(ho[Vu]);(RA=Cl.current.querySelector('[data-row-key="'.concat(dd,'"]')))===null||RA===void 0||RA.scrollIntoView()}}else(wu=Cl.current)!==null&&wu!==void 0&&wu.scrollTo&&Cl.current.scrollTo(Ns)}}});var ll=x.useRef(),ul=x.useState(!1),du=(0,qe.Z)(ul,2),Ul=du[0],ws=du[1],gl=x.useState(!1),Ls=(0,qe.Z)(gl,2),ml=Ls[0],Yl=Ls[1],Ru=x.useState(new Map),Qu=(0,qe.Z)(Ru,2),Yc=Qu[0],cl=Qu[1],Dd=ct(na),Ku=Dd.map(function(ms){return Yc.get(ms)}),tc=x.useMemo(function(){return Ku},[Ku.join("_")]),Zu=lr(tc,na,Qr),nc=Ar&&Zt(Ar.y),Al=Ar&&Zt(Xs)||!!as.fixed,Cc=Al&&na.some(function(ms){var Ns=ms.fixed;return Ns}),xA=x.useRef(),Rc=Xr(Ho,An),$c=Rc.isSticky,Jd=Rc.offsetHeader,qd=Rc.offsetSummary,Ds=Rc.offsetScroll,ld=Rc.stickyClassName,Ef=Rc.container,Wa=x.useMemo(function(){return Fr==null?void 0:Fr(ho)},[Fr,ho]),gs=(nc||$c)&&x.isValidElement(Wa)&&Wa.type===Ve&&Wa.props.fixed,_l,ru,Su;nc&&(ru={overflowY:Mo?"scroll":"auto",maxHeight:Ar.y}),Al&&(_l={overflowX:"auto"},nc||(ru={overflowY:"hidden"}),Su={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Fu=x.useCallback(function(ms,Ns){cl(function(wu){if(wu.get(ms)!==Ns){var Vu=new Map(wu);return Vu.set(ms,Ns),Vu}return wu})},[]),rc=yn(null),Wu=(0,qe.Z)(rc,2),ZA=Wu[0],Sf=Wu[1];function WA(ms,Ns){Ns&&(typeof Ns=="function"?Ns(ms):Ns.scrollLeft!==ms&&(Ns.scrollLeft=ms,Ns.scrollLeft!==ms&&setTimeout(function(){Ns.scrollLeft=ms},0)))}var VA=(0,ze.Z)(function(ms){var Ns=ms.currentTarget,wu=ms.scrollLeft,Vu=Qr==="rtl",Gu=typeof wu=="number"?wu:Ns.scrollLeft,Ad=Ns||yi;if(!Sf()||Sf()===Ad){var XA;ZA(Ad),WA(Gu,fc.current),WA(Gu,Cl.current),WA(Gu,ll.current),WA(Gu,(XA=xA.current)===null||XA===void 0?void 0:XA.setScrollLeft)}var RA=Ns||fc.current;if(RA){var dd=Go&&ra&&typeof Xs=="number"?Xs:RA.scrollWidth,YA=RA.clientWidth;if(dd===YA){ws(!1),Yl(!1);return}Vu?(ws(-Gu0)):(ws(Gu>0),Yl(Gu1?mi-vo:0,Mo=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Na),Ar),{},{flex:"0 0 ".concat(vo,"px"),width:"".concat(vo,"px"),marginRight:ho,pointerEvents:"auto"}),Go=x.useMemo(function(){return Qr?Ho<=1:ra===0||Ho===0||Ho>1},[Ho,ra,Qr]);Go?Mo.visibility="hidden":Qr&&(Mo.height=_r==null?void 0:_r(Ho));var ia=Go?function(){return null}:Dr,Co={};return(Ho===0||ra===0)&&(Co.rowSpan=1,Co.colSpan=1),x.createElement(Sn,(0,Ne.Z)({className:De()(Gi,li),ellipsis:Yt.ellipsis,align:Yt.align,scope:Yt.rowScope,component:rr,prefixCls:yt.prefixCls,key:po,record:vr,index:Mn,renderIndex:er,dataIndex:Fr,render:ia,shouldCellUpdate:Yt.shouldCellUpdate},Eo,{appendNode:jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},ko),{},{style:Mo},Co)}))}var Do=Ki,eo=["data","index","className","rowKey","style","extra","getHeight"],qo=x.forwardRef(function(wt,yt){var Yt=wt.data,An=wt.index,Fn=wt.className,Mn=wt.rowKey,rr=wt.style,er=wt.extra,vr=wt.getHeight,Ar=(0,ee.Z)(wt,eo),li=Yt.record,Qr=Yt.indent,_r=Yt.index,Dr=oe(Je,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Fr=Dr.scrollX,Gi=Dr.flattenColumns,mi=Dr.prefixCls,to=Dr.fixColumn,uo=Dr.componentWidth,qi=oe(Mi,["getComponent"]),po=qi.getComponent,Eo=Vt(li,Mn,An,Qr),jo=po(["body","row"],"div"),ko=po(["body","cell"],"div"),Na=Eo.rowSupportExpand,sa=Eo.expanded,ra=Eo.rowProps,Zo=Eo.expandedRowRender,Ho=Eo.expandedRowClassName,Ko;if(Na&&sa){var vo=Zo(li,An,Qr+1,sa),ho=In(Ho,li,An,Qr),Mo={};to&&(Mo={style:(0,He.Z)({},"--virtual-width","".concat(uo,"px"))});var Go="".concat(mi,"-expanded-row-cell");Ko=x.createElement(jo,{className:De()("".concat(mi,"-expanded-row"),"".concat(mi,"-expanded-row-level-").concat(Qr+1),ho)},x.createElement(Sn,{component:ko,prefixCls:mi,className:De()(Go,(0,He.Z)({},"".concat(Go,"-fixed"),to)),additionalProps:Mo},vo))}var ia=(0,Ct.Z)((0,Ct.Z)({},rr),{},{width:Fr});er&&(ia.position="absolute",ia.pointerEvents="none");var Co=x.createElement(jo,(0,Ne.Z)({},ra,Ar,{"data-row-key":Mn,ref:Na?null:yt,className:De()(Fn,"".concat(mi,"-row"),ra==null?void 0:ra.className,(0,He.Z)({},"".concat(mi,"-row-extra"),er)),style:(0,Ct.Z)((0,Ct.Z)({},ia),ra==null?void 0:ra.style)}),Gi.map(function(es,Za){return x.createElement(Do,{key:Za,component:ko,rowInfo:Eo,column:es,colIndex:Za,indent:Qr,index:An,renderIndex:_r,record:li,inverse:er,getHeight:vr})}));return Na?x.createElement("div",{ref:yt},Co,Ko):Co}),wo=Ke(qo),no=wo,No=x.forwardRef(function(wt,yt){var Yt=wt.data,An=wt.onScroll,Fn=oe(Je,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Mn=Fn.flattenColumns,rr=Fn.onColumnResize,er=Fn.getRowKey,vr=Fn.expandedKeys,Ar=Fn.prefixCls,li=Fn.childrenColumnName,Qr=Fn.scrollX,_r=Fn.direction,Dr=oe(Mi),Fr=Dr.sticky,Gi=Dr.scrollY,mi=Dr.listItemHeight,to=Dr.getComponent,uo=Dr.onScroll,qi=x.useRef(),po=Xt(Yt,li,vr,er),Eo=x.useMemo(function(){var Ko=0;return Mn.map(function(vo){var ho=vo.width,Mo=vo.key;return Ko+=ho,[Mo,ho,Ko]})},[Mn]),jo=x.useMemo(function(){return Eo.map(function(Ko){return Ko[2]})},[Eo]);x.useEffect(function(){Eo.forEach(function(Ko){var vo=(0,qe.Z)(Ko,2),ho=vo[0],Mo=vo[1];rr(ho,Mo)})},[Eo]),x.useImperativeHandle(yt,function(){var Ko,vo={scrollTo:function(Mo){var Go;(Go=qi.current)===null||Go===void 0||Go.scrollTo(Mo)},nativeElement:(Ko=qi.current)===null||Ko===void 0?void 0:Ko.nativeElement};return Object.defineProperty(vo,"scrollLeft",{get:function(){var Mo;return((Mo=qi.current)===null||Mo===void 0?void 0:Mo.getScrollInfo().x)||0},set:function(Mo){var Go;(Go=qi.current)===null||Go===void 0||Go.scrollTo({left:Mo})}}),vo});var ko=function(vo,ho){var Mo,Go=(Mo=po[ho])===null||Mo===void 0?void 0:Mo.record,ia=vo.onCell;if(ia){var Co,es=ia(Go,ho);return(Co=es==null?void 0:es.rowSpan)!==null&&Co!==void 0?Co:1}return 1},Na=function(vo){var ho=vo.start,Mo=vo.end,Go=vo.getSize,ia=vo.offsetY;if(Mo<0)return null;for(var Co=Mn.filter(function(oa){return ko(oa,ho)===0}),es=ho,Za=function(Ca){if(Co=Co.filter(function(Xo){return ko(Xo,Ca)===0}),!Co.length)return es=Ca,1},kl=ho;kl>=0&&!Za(kl);kl-=1);for(var bl=Mn.filter(function(oa){return ko(oa,Mo)!==1}),al=Mo,co=function(Ca){if(bl=bl.filter(function(Xo){return ko(Xo,Ca)!==1}),!bl.length)return al=Math.max(Ca-1,Mo),1},Xl=Mo;Xl1})&&us.push(Ca)},rl=es;rl<=al;rl+=1)as(rl);var Au=us.map(function(oa){var Ca=po[oa],Xo=er(Ca.record,oa),Po=function(Gs){var Ks=oa+Gs-1,sl=er(po[Ks].record,Ks),mu=Go(Xo,sl);return mu.bottom-mu.top},ps=Go(Xo);return x.createElement(no,{key:oa,data:Ca,rowKey:Xo,index:oa,style:{top:-ia+ps.top},extra:!0,getHeight:Po})});return Au},sa=x.useMemo(function(){return{columnsOffset:jo}},[jo]),ra="".concat(Ar,"-tbody"),Zo=to(["body","wrapper"]),Ho={};return Fr&&(Ho.position="sticky",Ho.bottom=0,(0,ht.Z)(Fr)==="object"&&Fr.offsetScroll&&(Ho.bottom=Fr.offsetScroll)),x.createElement(Fi.Provider,{value:sa},x.createElement(ki.Z,{fullHeight:!1,ref:qi,prefixCls:"".concat(ra,"-virtual"),styles:{horizontalScrollBar:Ho},className:ra,height:Gi,itemHeight:mi||24,data:po,itemKey:function(vo){return er(vo.record)},component:Zo,scrollWidth:Qr,direction:_r,onVirtualScroll:function(vo){var ho,Mo=vo.x;An({currentTarget:(ho=qi.current)===null||ho===void 0?void 0:ho.nativeElement,scrollLeft:Mo})},onScroll:uo,extraRender:Na},function(Ko,vo,ho){var Mo=er(Ko.record,vo);return x.createElement(no,{data:Ko,rowKey:Mo,index:vo,style:ho.style})}))}),Yo=Ke(No),Qo=Yo,Fo=function(yt,Yt){var An=Yt.ref,Fn=Yt.onScroll;return x.createElement(Qo,{ref:An,data:yt,onScroll:Fn})};function pn(wt,yt){var Yt=wt.data,An=wt.columns,Fn=wt.scroll,Mn=wt.sticky,rr=wt.prefixCls,er=rr===void 0?ci:rr,vr=wt.className,Ar=wt.listItemHeight,li=wt.components,Qr=wt.onScroll,_r=Fn||{},Dr=_r.x,Fr=_r.y;typeof Dr!="number"&&(Dr=1),typeof Fr!="number"&&(Fr=500);var Gi=(0,Pt.zX)(function(uo,qi){return(0,Ot.Z)(li,uo)||qi}),mi=(0,Pt.zX)(Qr),to=x.useMemo(function(){return{sticky:Mn,scrollY:Fr,listItemHeight:Ar,getComponent:Gi,onScroll:mi}},[Mn,Fr,Ar,Gi,mi]);return x.createElement(Mi.Provider,{value:to},x.createElement(Zi,(0,Ne.Z)({},wt,{className:De()(vr,"".concat(er,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},Fn),{},{x:Dr}),components:(0,Ct.Z)((0,Ct.Z)({},li),{},{body:Yt!=null&&Yt.length?Fo:void 0}),columns:An,internalHooks:Ie,tailor:!0,ref:yt})))}var Rr=x.forwardRef(pn);function Jr(wt){return Me(Rr,wt)}var Ai=Jr(),Kr=null,oo=wt=>null,ti=wt=>null,Di=ae(84105),Ui=ae(82661),Uo=ae(34643),xa=ae(34061),Wr=ae(18929);function fo(wt){const[yt,Yt]=(0,x.useState)(null);return[(0,x.useCallback)((Mn,rr,er)=>{const vr=yt!=null?yt:Mn,Ar=Math.min(vr||0,Mn),li=Math.max(vr||0,Mn),Qr=rr.slice(Ar,li+1).map(Fr=>wt(Fr)),_r=Qr.some(Fr=>!er.has(Fr)),Dr=[];return Qr.forEach(Fr=>{_r?(er.has(Fr)||Dr.push(Fr),er.add(Fr)):(er.delete(Fr),Dr.push(Fr))}),Yt(_r?li:null),Dr},[yt]),Mn=>{Yt(Mn)}]}var Oo=ae(32383),ta=ae(62673),_o=ae(75727),Jo=ae(47889);const $o={},Sa="SELECT_ALL",Ja="SELECT_INVERT",hs="SELECT_NONE",ba=[],Ua=(wt,yt)=>{let Yt=[];return(yt||[]).forEach(An=>{Yt.push(An),An&&typeof An=="object"&&wt in An&&(Yt=[].concat((0,_n.Z)(Yt),(0,_n.Z)(Ua(wt,An[wt]))))}),Yt};var bo=(wt,yt)=>{const{preserveSelectedRowKeys:Yt,selectedRowKeys:An,defaultSelectedRowKeys:Fn,getCheckboxProps:Mn,onChange:rr,onSelect:er,onSelectAll:vr,onSelectInvert:Ar,onSelectNone:li,onSelectMultiple:Qr,columnWidth:_r,type:Dr,selections:Fr,fixed:Gi,renderCell:mi,hideSelectAll:to,checkStrictly:uo=!0}=yt||{},{prefixCls:qi,data:po,pageData:Eo,getRecordByKey:jo,getRowKey:ko,expandType:Na,childrenColumnName:sa,locale:ra,getPopupContainer:Zo}=wt,Ho=(0,Oo.ln)("Table"),[Ko,vo]=fo(oa=>oa),[ho,Mo]=(0,Wr.Z)(An||Fn||ba,{value:An}),Go=x.useRef(new Map),ia=(0,x.useCallback)(oa=>{if(Yt){const Ca=new Map;oa.forEach(Xo=>{let Po=jo(Xo);!Po&&Go.current.has(Xo)&&(Po=Go.current.get(Xo)),Ca.set(Xo,Po)}),Go.current=Ca}},[jo,Yt]);x.useEffect(()=>{ia(ho)},[ho]);const Co=(0,x.useMemo)(()=>Ua(sa,Eo),[sa,Eo]),{keyEntities:es}=(0,x.useMemo)(()=>{if(uo)return{keyEntities:null};let oa=po;if(Yt){const Ca=new Set(Co.map((Po,ps)=>ko(Po,ps))),Xo=Array.from(Go.current).reduce((Po,ps)=>{let[Is,Gs]=ps;return Ca.has(Is)?Po:Po.concat(Gs)},[]);oa=[].concat((0,_n.Z)(oa),(0,_n.Z)(Xo))}return(0,xa.I8)(oa,{externalGetKey:ko,childrenPropName:sa})},[po,ko,uo,sa,Yt,Co]),Za=(0,x.useMemo)(()=>{const oa=new Map;return Co.forEach((Ca,Xo)=>{const Po=ko(Ca,Xo),ps=(Mn?Mn(Ca):null)||{};oa.set(Po,ps)}),oa},[Co,ko,Mn]),kl=(0,x.useCallback)(oa=>{const Ca=ko(oa);let Xo;return Za.has(Ca)?Xo=Za.get(ko(oa)):Xo=Mn?Mn(oa):void 0,!!(Xo!=null&&Xo.disabled)},[Za,ko]),[bl,al]=(0,x.useMemo)(()=>{if(uo)return[ho||[],[]];const{checkedKeys:oa,halfCheckedKeys:Ca}=(0,Uo.S)(ho,!0,es,kl);return[oa||[],Ca]},[ho,uo,es,kl]),co=(0,x.useMemo)(()=>{const oa=Dr==="radio"?bl.slice(0,1):bl;return new Set(oa)},[bl,Dr]),Xl=(0,x.useMemo)(()=>Dr==="radio"?new Set:new Set(al),[al,Dr]);x.useEffect(()=>{yt||Mo(ba)},[!!yt]);const us=(0,x.useCallback)((oa,Ca)=>{let Xo,Po;ia(oa),Yt?(Xo=oa,Po=oa.map(ps=>Go.current.get(ps))):(Xo=[],Po=[],oa.forEach(ps=>{const Is=jo(ps);Is!==void 0&&(Xo.push(ps),Po.push(Is))})),Mo(Xo),rr==null||rr(Xo,Po,{type:Ca})},[Mo,jo,rr,Yt]),as=(0,x.useCallback)((oa,Ca,Xo,Po)=>{if(er){const ps=Xo.map(Is=>jo(Is));er(jo(oa),Ca,ps,Po)}us(Xo,"single")},[er,jo,us]),rl=(0,x.useMemo)(()=>!Fr||to?null:(Fr===!0?[Sa,Ja,hs]:Fr).map(Ca=>Ca===Sa?{key:"all",text:ra.selectionAll,onSelect(){us(po.map((Xo,Po)=>ko(Xo,Po)).filter(Xo=>{const Po=Za.get(Xo);return!(Po!=null&&Po.disabled)||co.has(Xo)}),"all")}}:Ca===Ja?{key:"invert",text:ra.selectInvert,onSelect(){const Xo=new Set(co);Eo.forEach((ps,Is)=>{const Gs=ko(ps,Is),Ks=Za.get(Gs);Ks!=null&&Ks.disabled||(Xo.has(Gs)?Xo.delete(Gs):Xo.add(Gs))});const Po=Array.from(Xo);Ar&&(Ho.deprecated(!1,"onSelectInvert","onChange"),Ar(Po)),us(Po,"invert")}}:Ca===hs?{key:"none",text:ra.selectNone,onSelect(){li==null||li(),us(Array.from(co).filter(Xo=>{const Po=Za.get(Xo);return Po==null?void 0:Po.disabled}),"none")}}:Ca).map(Ca=>Object.assign(Object.assign({},Ca),{onSelect:function(){for(var Xo,Po,ps=arguments.length,Is=new Array(ps),Gs=0;Gs{var Ca;if(!yt)return oa.filter(ys=>ys!==$o);let Xo=(0,_n.Z)(oa);const Po=new Set(co),ps=Co.map(ko).filter(ys=>!Za.get(ys).disabled),Is=ps.every(ys=>Po.has(ys)),Gs=ps.some(ys=>Po.has(ys)),Ks=()=>{const ys=[];Is?ps.forEach(ul=>{Po.delete(ul),ys.push(ul)}):ps.forEach(ul=>{Po.has(ul)||(Po.add(ul),ys.push(ul))});const ll=Array.from(Po);vr==null||vr(!Is,ll.map(ul=>jo(ul)),ys.map(ul=>jo(ul))),us(ll,"all"),vo(null)};let sl,mu;if(Dr!=="radio"){let ys;if(rl){const ws={getPopupContainer:Zo,items:rl.map((gl,Ls)=>{const{key:ml,text:Yl,onSelect:Ru}=gl;return{key:ml!=null?ml:Ls,onClick:()=>{Ru==null||Ru(ps)},label:Yl}})};ys=x.createElement("div",{className:`${qi}-selection-extra`},x.createElement(_o.Z,{menu:ws,getPopupContainer:Zo},x.createElement("span",null,x.createElement(Di.Z,null))))}const ll=Co.map((ws,gl)=>{const Ls=ko(ws,gl),ml=Za.get(Ls)||{};return Object.assign({checked:Po.has(Ls)},ml)}).filter(ws=>{let{disabled:gl}=ws;return gl}),ul=!!ll.length&&ll.length===Co.length,du=ul&&ll.every(ws=>{let{checked:gl}=ws;return gl}),Ul=ul&&ll.some(ws=>{let{checked:gl}=ws;return gl});mu=x.createElement(ta.default,{checked:ul?du:!!Co.length&&Is,indeterminate:ul?!du&&Ul:!Is&&Gs,onChange:Ks,disabled:Co.length===0||ul,"aria-label":ys?"Custom selection":"Select all",skipGroup:!0}),sl=!to&&x.createElement("div",{className:`${qi}-selection`},mu,ys)}let la;Dr==="radio"?la=(ys,ll,ul)=>{const du=ko(ll,ul),Ul=Po.has(du),ws=Za.get(du);return{node:x.createElement(Jo.ZP,Object.assign({},ws,{checked:Ul,onClick:gl=>{var Ls;gl.stopPropagation(),(Ls=ws==null?void 0:ws.onClick)===null||Ls===void 0||Ls.call(ws,gl)},onChange:gl=>{var Ls;Po.has(du)||as(du,!0,[du],gl.nativeEvent),(Ls=ws==null?void 0:ws.onChange)===null||Ls===void 0||Ls.call(ws,gl)}})),checked:Ul}}:la=(ys,ll,ul)=>{var du;const Ul=ko(ll,ul),ws=Po.has(Ul),gl=Xl.has(Ul),Ls=Za.get(Ul);let ml;return Na==="nest"?ml=gl:ml=(du=Ls==null?void 0:Ls.indeterminate)!==null&&du!==void 0?du:gl,{node:x.createElement(ta.default,Object.assign({},Ls,{indeterminate:ml,checked:ws,skipGroup:!0,onClick:Yl=>{var Ru;Yl.stopPropagation(),(Ru=Ls==null?void 0:Ls.onClick)===null||Ru===void 0||Ru.call(Ls,Yl)},onChange:Yl=>{var Ru;const{nativeEvent:Qu}=Yl,{shiftKey:Yc}=Qu,cl=ps.findIndex(Ku=>Ku===Ul),Dd=bl.some(Ku=>ps.includes(Ku));if(Yc&&uo&&Dd){const Ku=Ko(cl,ps,Po),tc=Array.from(Po);Qr==null||Qr(!ws,tc.map(Zu=>jo(Zu)),Ku.map(Zu=>jo(Zu))),us(tc,"multiple")}else{const Ku=bl;if(uo){const tc=ws?(0,Ui._5)(Ku,Ul):(0,Ui.L0)(Ku,Ul);as(Ul,!ws,tc,Qu)}else{const tc=(0,Uo.S)([].concat((0,_n.Z)(Ku),[Ul]),!0,es,kl),{checkedKeys:Zu,halfCheckedKeys:nc}=tc;let Al=Zu;if(ws){const Cc=new Set(Zu);Cc.delete(Ul),Al=(0,Uo.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:nc},es,kl).checkedKeys}as(Ul,!ws,Al,Qu)}}vo(ws?null:cl),(Ru=Ls==null?void 0:Ls.onChange)===null||Ru===void 0||Ru.call(Ls,Yl)}})),checked:ws}};const na=(ys,ll,ul)=>{const{node:du,checked:Ul}=la(ys,ll,ul);return mi?mi(Ul,ll,ul,du):du};if(!Xo.includes($o))if(Xo.findIndex(ys=>{var ll;return((ll=ys[Sr])===null||ll===void 0?void 0:ll.columnType)==="EXPAND_COLUMN"})===0){const[ys,...ll]=Xo;Xo=[ys,$o].concat((0,_n.Z)(ll))}else Xo=[$o].concat((0,_n.Z)(Xo));const Bs=Xo.indexOf($o);Xo=Xo.filter((ys,ll)=>ys!==$o||ll===Bs);const Js=Xo[Bs-1],Xs=Xo[Bs+1];let vu=Gi;vu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?vu=Xs.fixed:(Js==null?void 0:Js.fixed)!==void 0&&(vu=Js.fixed)),vu&&Js&&((Ca=Js[Sr])===null||Ca===void 0?void 0:Ca.columnType)==="EXPAND_COLUMN"&&Js.fixed===void 0&&(Js.fixed=vu);const Ml=De()(`${qi}-selection-col`,{[`${qi}-selection-col-with-dropdown`]:Fr&&Dr==="checkbox"}),fc=()=>yt!=null&&yt.columnTitle?typeof yt.columnTitle=="function"?yt.columnTitle(mu):yt.columnTitle:sl,Cl={fixed:vu,width:_r,className:`${qi}-selection-column`,title:fc(),render:na,onCell:yt.onCell,[Sr]:{className:Ml}};return Xo.map(ys=>ys===$o?Cl:ys)},[ko,Co,yt,bl,co,Xl,_r,rl,Na,Za,Qr,as,kl]),co]},Ra=ae(2738);function ns(wt,yt){return wt._antProxy=wt._antProxy||{},Object.keys(yt).forEach(Yt=>{if(!(Yt in wt._antProxy)){const An=wt[Yt];wt._antProxy[Yt]=An,wt[Yt]=yt[Yt]}}),wt}function js(wt,yt){return(0,x.useImperativeHandle)(wt,()=>{const Yt=yt(),{nativeElement:An}=Yt;return typeof Proxy!="undefined"?new Proxy(An,{get(Fn,Mn){return Yt[Mn]?Yt[Mn]:Reflect.get(Fn,Mn)}}):ns(An,Yt)})}var tl=ae(83010),nl=ae(48755),au=ae(38406),su=ae(83397),Fs=ae(31756),Rl=ae(13783),Nu=ae(85981),xu=ae(31709),pl=ae(29787),Bu=ae(57700);function Dc(wt){return yt=>{const{prefixCls:Yt,onExpand:An,record:Fn,expanded:Mn,expandable:rr}=yt,er=`${Yt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:vr=>{An(Fn,vr),vr.stopPropagation()},className:De()(er,{[`${er}-spaced`]:!rr,[`${er}-expanded`]:rr&&Mn,[`${er}-collapsed`]:rr&&!Mn}),"aria-label":Mn?wt.collapse:wt.expand,"aria-expanded":Mn})}}var pa=Dc;function ka(wt){return(Yt,An)=>{const Fn=Yt.querySelector(`.${wt}-container`);let Mn=An;if(Fn){const rr=getComputedStyle(Fn),er=parseInt(rr.borderLeftWidth,10),vr=parseInt(rr.borderRightWidth,10);Mn=An-er-vr}return Mn}}const ha=(wt,yt)=>"key"in wt&&wt.key!==void 0&&wt.key!==null?wt.key:wt.dataIndex?Array.isArray(wt.dataIndex)?wt.dataIndex.join("."):wt.dataIndex:yt;function ma(wt,yt){return yt?`${yt}-${wt}`:`${wt}`}const qa=(wt,yt)=>typeof wt=="function"?wt(yt):wt,Ya=(wt,yt)=>{const Yt=qa(wt,yt);return Object.prototype.toString.call(Yt)==="[object Object]"?"":Yt};var Va={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"},Zl=Va,lu=ae(7657),Sl=function(yt,Yt){return x.createElement(lu.Z,(0,Ne.Z)({},yt,{ref:Yt,icon:Zl}))},Ou=x.forwardRef(Sl),fu=Ou,zi=ae(9981),zo=ae(40192);function ga(wt){const yt=x.useRef(wt),Yt=(0,zo.Z)();return[()=>yt.current,An=>{yt.current=An,Yt()}]}var hu=ae(7939),ol=ae(584),qu=ae(93041),Hu=ae(78857),Pu=ae(18287),vs=ae(47472),sc=ae(49397),Os=wt=>{const{value:yt,filterSearch:Yt,tablePrefixCls:An,locale:Fn,onChange:Mn}=wt;return Yt?x.createElement("div",{className:`${An}-filter-dropdown-search`},x.createElement(sc.Z,{prefix:x.createElement(vs.Z,null),placeholder:Fn.filterSearchPlaceholder,onChange:Mn,value:yt,htmlSize:1,className:`${An}-filter-dropdown-search-input`})):null},Pl=ae(10228);const Tu=wt=>{const{keyCode:yt}=wt;yt===Pl.Z.ENTER&&wt.stopPropagation()};var pu=x.forwardRef((wt,yt)=>x.createElement("div",{className:wt.className,onClick:Yt=>Yt.stopPropagation(),onKeyDown:Tu,ref:yt},wt.children));function Tl(wt){let yt=[];return(wt||[]).forEach(Yt=>{let{value:An,children:Fn}=Yt;yt.push(An),Fn&&(yt=[].concat((0,_n.Z)(yt),(0,_n.Z)(Tl(Fn))))}),yt}function Eu(wt){return wt.some(yt=>{let{children:Yt}=yt;return Yt})}function Fl(wt,yt){return typeof yt=="string"||typeof yt=="number"?yt==null?void 0:yt.toString().toLowerCase().includes(wt.trim().toLowerCase()):!1}function Il(wt){let{filters:yt,prefixCls:Yt,filteredKeys:An,filterMultiple:Fn,searchValue:Mn,filterSearch:rr}=wt;return yt.map((er,vr)=>{const Ar=String(er.value);if(er.children)return{key:Ar||vr,label:er.text,popupClassName:`${Yt}-dropdown-submenu`,children:Il({filters:er.children,prefixCls:Yt,filteredKeys:An,filterMultiple:Fn,searchValue:Mn,filterSearch:rr})};const li=Fn?ta.default:Jo.ZP,Qr={key:er.value!==void 0?Ar:vr,label:x.createElement(x.Fragment,null,x.createElement(li,{checked:An.includes(Ar)}),x.createElement("span",null,er.text))};return Mn.trim()?typeof rr=="function"?rr(Mn,er)?Qr:null:Fl(Mn,er.text)?Qr:null:Qr})}function Hs(wt){return wt||[]}var td=wt=>{var yt,Yt,An,Fn;const{tablePrefixCls:Mn,prefixCls:rr,column:er,dropdownPrefixCls:vr,columnKey:Ar,filterOnClose:li,filterMultiple:Qr,filterMode:_r="menu",filterSearch:Dr=!1,filterState:Fr,triggerFilter:Gi,locale:mi,children:to,getPopupContainer:uo,rootClassName:qi}=wt,{filterResetToDefaultFilteredValue:po,defaultFilteredValue:Eo,filterDropdownProps:jo={},filterDropdownOpen:ko,filterDropdownVisible:Na,onFilterDropdownVisibleChange:sa,onFilterDropdownOpenChange:ra}=er,[Zo,Ho]=x.useState(!1),Ko=!!(Fr&&(!((yt=Fr.filteredKeys)===null||yt===void 0)&&yt.length||Fr.forceFiltered)),vo=la=>{var na;Ho(la),(na=jo.onOpenChange)===null||na===void 0||na.call(jo,la),ra==null||ra(la),sa==null||sa(la)},ho=(Fn=(An=(Yt=jo.open)!==null&&Yt!==void 0?Yt:ko)!==null&&An!==void 0?An:Na)!==null&&Fn!==void 0?Fn:Zo,Mo=Fr==null?void 0:Fr.filteredKeys,[Go,ia]=ga(Hs(Mo)),Co=la=>{let{selectedKeys:na}=la;ia(na)},es=(la,na)=>{let{node:Bs,checked:Js}=na;Co(Qr?{selectedKeys:la}:{selectedKeys:Js&&Bs.key?[Bs.key]:[]})};x.useEffect(()=>{Zo&&Co({selectedKeys:Hs(Mo)})},[Mo]);const[Za,kl]=x.useState([]),bl=la=>{kl(la)},[al,co]=x.useState(""),Xl=la=>{const{value:na}=la.target;co(na)};x.useEffect(()=>{Zo||co("")},[Zo]);const us=la=>{const na=la!=null&&la.length?la:null;if(na===null&&(!Fr||!Fr.filteredKeys)||(0,Ue.Z)(na,Fr==null?void 0:Fr.filteredKeys,!0))return null;Gi({column:er,key:Ar,filteredKeys:na})},as=()=>{vo(!1),us(Go())},rl=function(){let{confirm:la,closeDropdown:na}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};la&&us([]),na&&vo(!1),co(""),ia(po?(Eo||[]).map(Bs=>String(Bs)):[])},Au=function(){let{closeDropdown:la}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};la&&vo(!1),us(Go())},oa=(la,na)=>{na.source==="trigger"&&(la&&Mo!==void 0&&ia(Hs(Mo)),vo(la),!la&&!er.filterDropdown&&li&&as())},Ca=De()({[`${vr}-menu-without-submenu`]:!Eu(er.filters||[])}),Xo=la=>{if(la.target.checked){const na=Tl(er==null?void 0:er.filters).map(Bs=>String(Bs));ia(na)}else ia([])},Po=la=>{let{filters:na}=la;return(na||[]).map((Bs,Js)=>{const Xs=String(Bs.value),vu={title:Bs.text,key:Bs.value!==void 0?Xs:String(Js)};return Bs.children&&(vu.children=Po({filters:Bs.children})),vu})},ps=la=>{var na;return Object.assign(Object.assign({},la),{text:la.title,value:la.key,children:((na=la.children)===null||na===void 0?void 0:na.map(Bs=>ps(Bs)))||[]})};let Is;const{direction:Gs,renderEmpty:Ks}=x.useContext(nl.E_);if(typeof er.filterDropdown=="function")Is=er.filterDropdown({prefixCls:`${vr}-custom`,setSelectedKeys:la=>Co({selectedKeys:la}),selectedKeys:Go(),confirm:Au,clearFilters:rl,filters:er.filters,visible:ho,close:()=>{vo(!1)}});else if(er.filterDropdown)Is=er.filterDropdown;else{const la=Go()||[],na=()=>{var Js,Xs;const vu=(Js=Ks==null?void 0:Ks("Table.filter"))!==null&&Js!==void 0?Js:x.createElement(ol.Z,{image:ol.Z.PRESENTED_IMAGE_SIMPLE,description:mi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((er.filters||[]).length===0)return vu;if(_r==="tree")return x.createElement(x.Fragment,null,x.createElement(Os,{filterSearch:Dr,value:al,onChange:Xl,tablePrefixCls:Mn,locale:mi}),x.createElement("div",{className:`${Mn}-filter-dropdown-tree`},Qr?x.createElement(ta.default,{checked:la.length===Tl(er.filters).length,indeterminate:la.length>0&&la.lengthtypeof Dr=="function"?Dr(al,ps(Cl)):Fl(al,Cl.title):void 0})));const Ml=Il({filters:er.filters||[],filterSearch:Dr,prefixCls:rr,filteredKeys:Go(),filterMultiple:Qr,searchValue:al}),fc=Ml.every(Cl=>Cl===null);return x.createElement(x.Fragment,null,x.createElement(Os,{filterSearch:Dr,value:al,onChange:Xl,tablePrefixCls:Mn,locale:mi}),fc?vu:x.createElement(qu.default,{selectable:!0,multiple:Qr,prefixCls:`${vr}-menu`,className:Ca,onSelect:Co,onDeselect:Co,selectedKeys:la,getPopupContainer:uo,openKeys:Za,onOpenChange:bl,items:Ml}))},Bs=()=>po?(0,Ue.Z)((Eo||[]).map(Js=>String(Js)),la,!0):la.length===0;Is=x.createElement(x.Fragment,null,na(),x.createElement("div",{className:`${rr}-dropdown-btns`},x.createElement(hu.ZP,{type:"link",size:"small",disabled:Bs(),onClick:()=>rl()},mi.filterReset),x.createElement(hu.ZP,{type:"primary",size:"small",onClick:as},mi.filterConfirm)))}er.filterDropdown&&(Is=x.createElement(Hu.J,{selectable:void 0},Is)),Is=x.createElement(pu,{className:`${rr}-dropdown`},Is);const sl=()=>{let la;return typeof er.filterIcon=="function"?la=er.filterIcon(Ko):er.filterIcon?la=er.filterIcon:la=x.createElement(fu,null),x.createElement("span",{role:"button",tabIndex:-1,className:De()(`${rr}-trigger`,{active:Ko}),onClick:na=>{na.stopPropagation()}},la)},mu=(0,zi.Z)({trigger:["click"],placement:Gs==="rtl"?"bottomLeft":"bottomRight",children:sl(),getPopupContainer:uo},Object.assign(Object.assign({},jo),{rootClassName:De()(qi,jo.rootClassName),open:ho,onOpenChange:oa,dropdownRender:()=>typeof(jo==null?void 0:jo.dropdownRender)=="function"?jo.dropdownRender(Is):Is}));return x.createElement("div",{className:`${rr}-column`},x.createElement("span",{className:`${Mn}-column-title`},to),x.createElement(_o.Z,Object.assign({},mu)))};const Wl=(wt,yt,Yt)=>{let An=[];return(wt||[]).forEach((Fn,Mn)=>{var rr;const er=ma(Mn,Yt);if(Fn.filters||"filterDropdown"in Fn||"onFilter"in Fn)if("filteredValue"in Fn){let vr=Fn.filteredValue;"filterDropdown"in Fn||(vr=(rr=vr==null?void 0:vr.map(String))!==null&&rr!==void 0?rr:vr),An.push({column:Fn,key:ha(Fn,er),filteredKeys:vr,forceFiltered:Fn.filtered})}else An.push({column:Fn,key:ha(Fn,er),filteredKeys:yt&&Fn.defaultFilteredValue?Fn.defaultFilteredValue:void 0,forceFiltered:Fn.filtered});"children"in Fn&&(An=[].concat((0,_n.Z)(An),(0,_n.Z)(Wl(Fn.children,yt,er))))}),An};function gu(wt,yt,Yt,An,Fn,Mn,rr,er,vr){return Yt.map((Ar,li)=>{const Qr=ma(li,er),{filterOnClose:_r=!0,filterMultiple:Dr=!0,filterMode:Fr,filterSearch:Gi}=Ar;let mi=Ar;if(mi.filters||mi.filterDropdown){const to=ha(mi,Qr),uo=An.find(qi=>{let{key:po}=qi;return to===po});mi=Object.assign(Object.assign({},mi),{title:qi=>x.createElement(td,{tablePrefixCls:wt,prefixCls:`${wt}-filter`,dropdownPrefixCls:yt,column:mi,columnKey:to,filterState:uo,filterOnClose:_r,filterMultiple:Dr,filterMode:Fr,filterSearch:Gi,triggerFilter:Mn,locale:Fn,getPopupContainer:rr,rootClassName:vr},qa(Ar.title,qi))})}return"children"in mi&&(mi=Object.assign(Object.assign({},mi),{children:gu(wt,yt,mi.children,An,Fn,Mn,rr,Qr,vr)})),mi})}const La=wt=>{const yt={};return wt.forEach(Yt=>{let{key:An,filteredKeys:Fn,column:Mn}=Yt;const rr=An,{filters:er,filterDropdown:vr}=Mn;if(vr)yt[rr]=Fn||null;else if(Array.isArray(Fn)){const Ar=Tl(er);yt[rr]=Ar.filter(li=>Fn.includes(String(li)))}else yt[rr]=null}),yt},Da=(wt,yt,Yt)=>yt.reduce((Fn,Mn)=>{const{column:{onFilter:rr,filters:er},filteredKeys:vr}=Mn;return rr&&vr&&vr.length?Fn.map(Ar=>Object.assign({},Ar)).filter(Ar=>vr.some(li=>{const Qr=Tl(er),_r=Qr.findIndex(Fr=>String(Fr)===String(li)),Dr=_r!==-1?Qr[_r]:li;return Ar[Yt]&&(Ar[Yt]=Da(Ar[Yt],yt,Yt)),rr(Dr,Ar)})):Fn},wt),Rs=wt=>wt.flatMap(yt=>"children"in yt?[yt].concat((0,_n.Z)(Rs(yt.children||[]))):[yt]);var Vl=wt=>{const{prefixCls:yt,dropdownPrefixCls:Yt,mergedColumns:An,onFilterChange:Fn,getPopupContainer:Mn,locale:rr,rootClassName:er}=wt,vr=(0,Oo.ln)("Table"),Ar=x.useMemo(()=>Rs(An||[]),[An]),[li,Qr]=x.useState(()=>Wl(Ar,!0)),_r=x.useMemo(()=>{const mi=Wl(Ar,!1);if(mi.length===0)return mi;let to=!0,uo=!0;if(mi.forEach(qi=>{let{filteredKeys:po}=qi;po!==void 0?to=!1:uo=!1}),to){const qi=(Ar||[]).map((po,Eo)=>ha(po,ma(Eo)));return li.filter(po=>{let{key:Eo}=po;return qi.includes(Eo)}).map(po=>{const Eo=Ar[qi.findIndex(jo=>jo===po.key)];return Object.assign(Object.assign({},po),{column:Object.assign(Object.assign({},po.column),Eo),forceFiltered:Eo.filtered})})}return mi},[Ar,li]),Dr=x.useMemo(()=>La(_r),[_r]),Fr=mi=>{const to=_r.filter(uo=>{let{key:qi}=uo;return qi!==mi.key});to.push(mi),Qr(to),Fn(La(to),to)};return[mi=>gu(yt,Yt,mi,_r,rr,Fr,Mn,void 0,er),_r,Dr]},Vc=(wt,yt,Yt)=>{const An=x.useRef({});function Fn(Mn){var rr;if(!An.current||An.current.data!==wt||An.current.childrenColumnName!==yt||An.current.getRowKey!==Yt){let vr=function(Ar){Ar.forEach((li,Qr)=>{const _r=Yt(li,Qr);er.set(_r,li),li&&typeof li=="object"&&yt in li&&vr(li[yt]||[])})};const er=new Map;vr(wt),An.current={data:wt,childrenColumnName:yt,kvMap:er,getRowKey:Yt}}return(rr=An.current.kvMap)===null||rr===void 0?void 0:rr.get(Mn)}return[Fn]},wc=function(wt,yt){var Yt={};for(var An in wt)Object.prototype.hasOwnProperty.call(wt,An)&&yt.indexOf(An)<0&&(Yt[An]=wt[An]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,An=Object.getOwnPropertySymbols(wt);Fn{const Mn=wt[Fn];typeof Mn!="function"&&(Yt[Fn]=Mn)}),Yt}function bc(wt,yt,Yt){const An=Yt&&typeof Yt=="object"?Yt:{},{total:Fn=0}=An,Mn=wc(An,["total"]),[rr,er]=(0,x.useState)(()=>({current:"defaultCurrent"in Mn?Mn.defaultCurrent:1,pageSize:"defaultPageSize"in Mn?Mn.defaultPageSize:pA})),vr=(0,zi.Z)(rr,Mn,{total:Fn>0?Fn:wt}),Ar=Math.ceil((Fn||wt)/vr.pageSize);vr.current>Ar&&(vr.current=Ar||1);const li=(_r,Dr)=>{er({current:_r!=null?_r:1,pageSize:Dr||vr.pageSize})},Qr=(_r,Dr)=>{var Fr;Yt&&((Fr=Yt.onChange)===null||Fr===void 0||Fr.call(Yt,_r,Dr)),li(_r,Dr),yt(_r,Dr||(vr==null?void 0:vr.pageSize))};return Yt===!1?[{},()=>{}]:[Object.assign(Object.assign({},vr),{onChange:Qr}),li]}var iA=bc,oA=ae(89489),Ed=ae(59477),Jf=ae(25399);const nd="ascend",PA="descend",gA=wt=>typeof wt.sorter=="object"&&typeof wt.sorter.multiple=="number"?wt.sorter.multiple:!1,ku=wt=>typeof wt=="function"?wt:wt&&typeof wt=="object"&&wt.compare?wt.compare:!1,TA=(wt,yt)=>yt?wt[wt.indexOf(yt)+1]:wt[0],aA=(wt,yt,Yt)=>{let An=[];const Fn=(Mn,rr)=>{An.push({column:Mn,key:ha(Mn,rr),multiplePriority:gA(Mn),sortOrder:Mn.sortOrder})};return(wt||[]).forEach((Mn,rr)=>{const er=ma(rr,Yt);Mn.children?("sortOrder"in Mn&&Fn(Mn,er),An=[].concat((0,_n.Z)(An),(0,_n.Z)(aA(Mn.children,yt,er)))):Mn.sorter&&("sortOrder"in Mn?Fn(Mn,er):yt&&Mn.defaultSortOrder&&An.push({column:Mn,key:ha(Mn,er),multiplePriority:gA(Mn),sortOrder:Mn.defaultSortOrder}))}),An},Sd=(wt,yt,Yt,An,Fn,Mn,rr,er)=>(yt||[]).map((Ar,li)=>{const Qr=ma(li,er);let _r=Ar;if(_r.sorter){const Dr=_r.sortDirections||Fn,Fr=_r.showSorterTooltip===void 0?rr:_r.showSorterTooltip,Gi=ha(_r,Qr),mi=Yt.find(sa=>{let{key:ra}=sa;return ra===Gi}),to=mi?mi.sortOrder:null,uo=TA(Dr,to);let qi;if(Ar.sortIcon)qi=Ar.sortIcon({sortOrder:to});else{const sa=Dr.includes(nd)&&x.createElement(Ed.Z,{className:De()(`${wt}-column-sorter-up`,{active:to===nd})}),ra=Dr.includes(PA)&&x.createElement(oA.Z,{className:De()(`${wt}-column-sorter-down`,{active:to===PA})});qi=x.createElement("span",{className:De()(`${wt}-column-sorter`,{[`${wt}-column-sorter-full`]:!!(sa&&ra)})},x.createElement("span",{className:`${wt}-column-sorter-inner`,"aria-hidden":"true"},sa,ra))}const{cancelSort:po,triggerAsc:Eo,triggerDesc:jo}=Mn||{};let ko=po;uo===PA?ko=jo:uo===nd&&(ko=Eo);const Na=typeof Fr=="object"?Object.assign({title:ko},Fr):{title:ko};_r=Object.assign(Object.assign({},_r),{className:De()(_r.className,{[`${wt}-column-sort`]:to}),title:sa=>{const ra=`${wt}-column-sorters`,Zo=x.createElement("span",{className:`${wt}-column-title`},qa(Ar.title,sa)),Ho=x.createElement("div",{className:ra},Zo,qi);return Fr?typeof Fr!="boolean"&&(Fr==null?void 0:Fr.target)==="sorter-icon"?x.createElement("div",{className:`${ra} ${wt}-column-sorters-tooltip-target-sorter`},Zo,x.createElement(Jf.Z,Object.assign({},Na),qi)):x.createElement(Jf.Z,Object.assign({},Na),Ho):Ho},onHeaderCell:sa=>{var ra;const Zo=((ra=Ar.onHeaderCell)===null||ra===void 0?void 0:ra.call(Ar,sa))||{},Ho=Zo.onClick,Ko=Zo.onKeyDown;Zo.onClick=Mo=>{An({column:Ar,key:Gi,sortOrder:uo,multiplePriority:gA(Ar)}),Ho==null||Ho(Mo)},Zo.onKeyDown=Mo=>{Mo.keyCode===Pl.Z.ENTER&&(An({column:Ar,key:Gi,sortOrder:uo,multiplePriority:gA(Ar)}),Ko==null||Ko(Mo))};const vo=Ya(Ar.title,{}),ho=vo==null?void 0:vo.toString();return to&&(Zo["aria-sort"]=to==="ascend"?"ascending":"descending"),Zo["aria-label"]=ho||"",Zo.className=De()(Zo.className,`${wt}-column-has-sorters`),Zo.tabIndex=0,Ar.ellipsis&&(Zo.title=(vo!=null?vo:"").toString()),Zo}})}return"children"in _r&&(_r=Object.assign(Object.assign({},_r),{children:Sd(wt,_r.children,Yt,An,Fn,Mn,rr,Qr)})),_r}),qf=wt=>{const{column:yt,sortOrder:Yt}=wt;return{column:yt,order:Yt,field:yt.dataIndex,columnKey:yt.key}},Ps=wt=>{const yt=wt.filter(Yt=>{let{sortOrder:An}=Yt;return An}).map(qf);if(yt.length===0&&wt.length){const Yt=wt.length-1;return Object.assign(Object.assign({},qf(wt[Yt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return yt.length<=1?yt[0]||{}:yt},ec=(wt,yt,Yt)=>{const An=yt.slice().sort((rr,er)=>er.multiplePriority-rr.multiplePriority),Fn=wt.slice(),Mn=An.filter(rr=>{let{column:{sorter:er},sortOrder:vr}=rr;return ku(er)&&vr});return Mn.length?Fn.sort((rr,er)=>{for(let vr=0;vr{const er=rr[Yt];return er?Object.assign(Object.assign({},rr),{[Yt]:ec(er,yt,Yt)}):rr}):Fn};var Th=wt=>{const{prefixCls:yt,mergedColumns:Yt,sortDirections:An,tableLocale:Fn,showSorterTooltip:Mn,onSorterChange:rr}=wt,[er,vr]=x.useState(aA(Yt,!0)),Ar=(Gi,mi)=>{const to=[];return Gi.forEach((uo,qi)=>{const po=ma(qi,mi);if(to.push(ha(uo,po)),Array.isArray(uo.children)){const Eo=Ar(uo.children,po);to.push.apply(to,(0,_n.Z)(Eo))}}),to},li=x.useMemo(()=>{let Gi=!0;const mi=aA(Yt,!1);if(!mi.length){const po=Ar(Yt);return er.filter(Eo=>{let{key:jo}=Eo;return po.includes(jo)})}const to=[];function uo(po){Gi?to.push(po):to.push(Object.assign(Object.assign({},po),{sortOrder:null}))}let qi=null;return mi.forEach(po=>{qi===null?(uo(po),po.sortOrder&&(po.multiplePriority===!1?Gi=!1:qi=!0)):(qi&&po.multiplePriority!==!1||(Gi=!1),uo(po))}),to},[Yt,er]),Qr=x.useMemo(()=>{var Gi,mi;const to=li.map(uo=>{let{column:qi,sortOrder:po}=uo;return{column:qi,order:po}});return{sortColumns:to,sortColumn:(Gi=to[0])===null||Gi===void 0?void 0:Gi.column,sortOrder:(mi=to[0])===null||mi===void 0?void 0:mi.order}},[li]),_r=Gi=>{let mi;Gi.multiplePriority===!1||!li.length||li[0].multiplePriority===!1?mi=[Gi]:mi=[].concat((0,_n.Z)(li.filter(to=>{let{key:uo}=to;return uo!==Gi.key})),[Gi]),vr(mi),rr(Ps(mi),mi)};return[Gi=>Sd(yt,Gi,li,_r,An,Fn,Mn),li,Qr,()=>Ps(li)]};const Gc=(wt,yt)=>wt.map(An=>{const Fn=Object.assign({},An);return Fn.title=qa(An.title,yt),"children"in Fn&&(Fn.children=Gc(Fn.children,yt)),Fn});var Fd=wt=>[x.useCallback(Yt=>Gc(Yt,wt),[wt])],bf=Ji((wt,yt)=>{const{_renderTimes:Yt}=wt,{_renderTimes:An}=yt;return Yt!==An}),Xc=Jr((wt,yt)=>{const{_renderTimes:Yt}=wt,{_renderTimes:An}=yt;return Yt!==An}),ya=ae(36237),Ql=ae(17835),Mc=ae(63356),rd=ae(16931),kA=ae(51636),MA=wt=>{const{componentCls:yt,lineWidth:Yt,lineType:An,tableBorderColor:Fn,tableHeaderBg:Mn,tablePaddingVertical:rr,tablePaddingHorizontal:er,calc:vr}=wt,Ar=`${(0,ya.unit)(Yt)} ${An} ${Fn}`,li=(Qr,_r,Dr)=>({[`&${yt}-${Qr}`]:{[`> ${yt}-container`]:{[`> ${yt}-content, > ${yt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${yt}-expanded-row-fixed`]:{margin:`${(0,ya.unit)(vr(_r).mul(-1).equal())} + `]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Ue(oe,Ne),Se]}const xe=oe=>{const{componentCls:Ne}=oe,ve=(0,Ie.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Re=(0,Ie.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[he(oe),he(ve,"sm"),{[`${Ne}-multiple${Ne}-sm`]:{[`${Ne}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Ne}-selection-search`]:{marginInlineStart:2}}},he(Re,"lg")]};Ut.ZP=xe},68525:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return he}});var x=ae(59301),dt=ae(40001),Ie=ae(19248),qe=ae(99267),ze=ae(84105),Fe=ae(58617),Ue=ae(47472);function he(xe){let{suffixIcon:oe,clearIcon:Ne,menuItemSelectedIcon:ve,removeIcon:Re,loading:Se,multiple:Oe,hasFeedback:ye,prefixCls:Ce,showSuffixIcon:Ee,feedbackIcon:Me,showArrow:Ke,componentName:je}=xe;const Qe=Ne!=null?Ne:x.createElement(Ie.Z,null),Je=ht=>oe===null&&!ye&&!Ke?null:x.createElement(x.Fragment,null,Ee!==!1&&ht,ye&&Me);let Xe=null;if(oe!==void 0)Xe=Je(oe);else if(Se)Xe=Je(x.createElement(Fe.Z,{spin:!0}));else{const ht=`${Ce}-suffix`;Xe=Ct=>{let{open:He,showSearch:ft}=Ct;return Je(He&&ft?x.createElement(Ue.Z,{className:ht}):x.createElement(ze.Z,{className:ht}))}}let ut=null;ve!==void 0?ut=ve:Oe?ut=x.createElement(dt.Z,null):ut=null;let ot=null;return Re!==void 0?ot=Re:ot=x.createElement(qe.Z,null),{clearIcon:Qe,suffixIcon:Xe,itemIcon:ut,removeIcon:ot}}},90005:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return x}});function x(dt,Ie){return Ie!==void 0?Ie:dt!==null}},11938:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return Ct}});var x=ae(59301),dt=ae(40192),Ie=ae(22703),qe=ae(92310),ze=ae.n(qe),Fe=ae(26112),Ue=ae(48755),he=ae(458),oe=He=>{const{value:ft,formatter:De,precision:_e,decimalSeparator:Ot,groupSeparator:it="",prefixCls:at}=He;let Bt;if(typeof De=="function")Bt=De(ft);else{const We=String(ft),Te=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Te||We==="-")Bt=We;else{const ct=Te[1];let Zt=Te[2]||"0",zt=Te[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,it),typeof _e=="number"&&(zt=zt.padEnd(_e,"0").slice(0,_e>0?_e:0)),zt&&(zt=`${Ot}${zt}`),Bt=[x.createElement("span",{key:"int",className:`${at}-content-value-int`},ct,Zt),zt&&x.createElement("span",{key:"decimal",className:`${at}-content-value-decimal`},zt)]}}return x.createElement("span",{className:`${at}-content-value`},Bt)},Ne=ae(63356),ve=ae(16931),Re=ae(51636);const Se=He=>{const{componentCls:ft,marginXXS:De,padding:_e,colorTextDescription:Ot,titleFontSize:it,colorTextHeading:at,contentFontSize:Bt,fontFamily:We}=He;return{[ft]:Object.assign(Object.assign({},(0,Ne.Wf)(He)),{[`${ft}-title`]:{marginBottom:De,color:Ot,fontSize:it},[`${ft}-skeleton`]:{paddingTop:_e},[`${ft}-content`]:{color:at,fontSize:Bt,fontFamily:We,[`${ft}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ft}-content-prefix, ${ft}-content-suffix`]:{display:"inline-block"},[`${ft}-content-prefix`]:{marginInlineEnd:De},[`${ft}-content-suffix`]:{marginInlineStart:De}}})}},Oe=He=>{const{fontSizeHeading3:ft,fontSize:De}=He;return{titleFontSize:De,contentFontSize:ft}};var ye=(0,ve.I$)("Statistic",He=>{const ft=(0,Re.mergeToken)(He,{});return[Se(ft)]},Oe),Ce=function(He,ft){var De={};for(var _e in He)Object.prototype.hasOwnProperty.call(He,_e)&&ft.indexOf(_e)<0&&(De[_e]=He[_e]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,_e=Object.getOwnPropertySymbols(He);Ot<_e.length;Ot++)ft.indexOf(_e[Ot])<0&&Object.prototype.propertyIsEnumerable.call(He,_e[Ot])&&(De[_e[Ot]]=He[_e[Ot]]);return De},Me=He=>{const{prefixCls:ft,className:De,rootClassName:_e,style:Ot,valueStyle:it,value:at=0,title:Bt,valueRender:We,prefix:Te,suffix:ct,loading:Zt=!1,formatter:zt,precision:tt,decimalSeparator:Pt=".",groupSeparator:_t=",",onMouseEnter:fn,onMouseLeave:Tt}=He,vn=Ce(He,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:kt,direction:Sn,className:on,style:de}=(0,Ue.dj)("statistic"),ge=kt("statistic",ft),[ie,ee,se]=ye(ge),le=x.createElement(oe,{decimalSeparator:Pt,groupSeparator:_t,prefixCls:ge,formatter:zt,precision:tt,value:at}),Be=ze()(ge,{[`${ge}-rtl`]:Sn==="rtl"},on,De,_e,ee,se),Ve=(0,Fe.Z)(vn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},Ve,{className:Be,style:Object.assign(Object.assign({},de),Ot),onMouseEnter:fn,onMouseLeave:Tt}),Bt&&x.createElement("div",{className:`${ge}-title`},Bt),x.createElement(he.Z,{paragraph:!1,loading:Zt,className:`${ge}-skeleton`},x.createElement("div",{style:it,className:`${ge}-content`},Te&&x.createElement("span",{className:`${ge}-content-prefix`},Te),We?We(le):le,ct&&x.createElement("span",{className:`${ge}-content-suffix`},ct)))))};const Ke=[["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 je(He,ft){let De=He;const _e=/\[[^\]]*]/g,Ot=(ft.match(_e)||[]).map(We=>We.slice(1,-1)),it=ft.replace(_e,"[]"),at=Ke.reduce((We,Te)=>{let[ct,Zt]=Te;if(We.includes(ct)){const zt=Math.floor(De/Zt);return De-=zt*Zt,We.replace(new RegExp(`${ct}+`,"g"),tt=>{const Pt=tt.length;return zt.toString().padStart(Pt,"0")})}return We},it);let Bt=0;return at.replace(_e,()=>{const We=Ot[Bt];return Bt+=1,We})}function Qe(He,ft){const{format:De=""}=ft,_e=new Date(He).getTime(),Ot=Date.now(),it=Math.max(_e-Ot,0);return je(it,De)}var Je=function(He,ft){var De={};for(var _e in He)Object.prototype.hasOwnProperty.call(He,_e)&&ft.indexOf(_e)<0&&(De[_e]=He[_e]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,_e=Object.getOwnPropertySymbols(He);Ot<_e.length;Ot++)ft.indexOf(_e[Ot])<0&&Object.prototype.propertyIsEnumerable.call(He,_e[Ot])&&(De[_e[Ot]]=He[_e[Ot]]);return De};const Xe=1e3/30;function ut(He){return new Date(He).getTime()}const ot=He=>{const{value:ft,format:De="HH:mm:ss",onChange:_e,onFinish:Ot}=He,it=Je(He,["value","format","onChange","onFinish"]),at=(0,dt.Z)(),Bt=x.useRef(null),We=()=>{Ot==null||Ot(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},Te=()=>{const zt=ut(ft);zt>=Date.now()&&(Bt.current=setInterval(()=>{at(),_e==null||_e(zt-Date.now()),zt(Te(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[ft]);const ct=(zt,tt)=>Qe(zt,Object.assign(Object.assign({},tt),{format:De})),Zt=zt=>(0,Ie.Tm)(zt,{title:void 0});return x.createElement(Me,Object.assign({},it,{value:ft,valueRender:Zt,formatter:ct}))};var ht=x.memo(ot);Me.Countdown=ht;var Ct=Me},58755:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ot}});var x=ae(59301),dt=ae(58617),Ie=ae(92310),qe=ae.n(Ie),ze=ae(60499),Fe=ae(18642),Ue=ae(72190),he=ae(42244),xe=ae(18929),oe=ae(10228),Ne=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ve=x.forwardRef(function(it,at){var Bt,We=it.prefixCls,Te=We===void 0?"rc-switch":We,ct=it.className,Zt=it.checked,zt=it.defaultChecked,tt=it.disabled,Pt=it.loadingIcon,_t=it.checkedChildren,fn=it.unCheckedChildren,Tt=it.onClick,vn=it.onChange,kt=it.onKeyDown,Sn=(0,he.Z)(it,Ne),on=(0,xe.Z)(!1,{value:Zt,defaultValue:zt}),de=(0,Ue.Z)(on,2),ge=de[0],ie=de[1];function ee(Ve,st){var gt=ge;return tt||(gt=Ve,ie(gt),vn==null||vn(gt,st)),gt}function se(Ve){Ve.which===oe.Z.LEFT?ee(!1,Ve):Ve.which===oe.Z.RIGHT&&ee(!0,Ve),kt==null||kt(Ve)}function le(Ve){var st=ee(!ge,Ve);Tt==null||Tt(st,Ve)}var Be=qe()(Te,ct,(Bt={},(0,Fe.Z)(Bt,"".concat(Te,"-checked"),ge),(0,Fe.Z)(Bt,"".concat(Te,"-disabled"),tt),Bt));return x.createElement("button",(0,ze.Z)({},Sn,{type:"button",role:"switch","aria-checked":ge,disabled:tt,className:Be,ref:at,onKeyDown:se,onClick:le}),Pt,x.createElement("span",{className:"".concat(Te,"-inner")},x.createElement("span",{className:"".concat(Te,"-inner-checked")},_t),x.createElement("span",{className:"".concat(Te,"-inner-unchecked")},fn)))});ve.displayName="Switch";var Re=ve,Se=ae(12919),Oe=ae(48755),ye=ae(2171),Ce=ae(31756),Ee=ae(36237),Me=ae(17835),Ke=ae(63356),je=ae(16931),Qe=ae(51636);const Je=it=>{const{componentCls:at,trackHeightSM:Bt,trackPadding:We,trackMinWidthSM:Te,innerMinMarginSM:ct,innerMaxMarginSM:Zt,handleSizeSM:zt,calc:tt}=it,Pt=`${at}-inner`,_t=(0,Ee.unit)(tt(zt).add(tt(We).mul(2)).equal()),fn=(0,Ee.unit)(tt(Zt).mul(2).equal());return{[at]:{[`&${at}-small`]:{minWidth:Te,height:Bt,lineHeight:(0,Ee.unit)(Bt),[`${at}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:ct,[`${Pt}-checked, ${Pt}-unchecked`]:{minHeight:Bt},[`${Pt}-checked`]:{marginInlineStart:`calc(-100% + ${_t} - ${fn})`,marginInlineEnd:`calc(100% - ${_t} + ${fn})`},[`${Pt}-unchecked`]:{marginTop:tt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${at}-handle`]:{width:zt,height:zt},[`${at}-loading-icon`]:{top:tt(tt(zt).sub(it.switchLoadingIconSize)).div(2).equal(),fontSize:it.switchLoadingIconSize},[`&${at}-checked`]:{[`${at}-inner`]:{paddingInlineStart:ct,paddingInlineEnd:Zt,[`${Pt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Pt}-unchecked`]:{marginInlineStart:`calc(100% - ${_t} + ${fn})`,marginInlineEnd:`calc(-100% + ${_t} - ${fn})`}},[`${at}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(tt(zt).add(We).equal())})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${Pt}`]:{[`${Pt}-unchecked`]:{marginInlineStart:tt(it.marginXXS).div(2).equal(),marginInlineEnd:tt(it.marginXXS).mul(-1).div(2).equal()}},[`&${at}-checked ${Pt}`]:{[`${Pt}-checked`]:{marginInlineStart:tt(it.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:tt(it.marginXXS).div(2).equal()}}}}}}},Xe=it=>{const{componentCls:at,handleSize:Bt,calc:We}=it;return{[at]:{[`${at}-loading-icon${it.iconCls}`]:{position:"relative",top:We(We(Bt).sub(it.fontSize)).div(2).equal(),color:it.switchLoadingIconColor,verticalAlign:"top"},[`&${at}-checked ${at}-loading-icon`]:{color:it.switchColor}}}},ut=it=>{const{componentCls:at,trackPadding:Bt,handleBg:We,handleShadow:Te,handleSize:ct,calc:Zt}=it,zt=`${at}-handle`;return{[at]:{[zt]:{position:"absolute",top:Bt,insetInlineStart:Bt,width:ct,height:ct,transition:`all ${it.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:We,borderRadius:Zt(ct).div(2).equal(),boxShadow:Te,transition:`all ${it.switchDuration} ease-in-out`,content:'""'}},[`&${at}-checked ${zt}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Zt(ct).add(Bt).equal())})`},[`&:not(${at}-disabled):active`]:{[`${zt}::before`]:{insetInlineEnd:it.switchHandleActiveInset,insetInlineStart:0},[`&${at}-checked ${zt}::before`]:{insetInlineEnd:0,insetInlineStart:it.switchHandleActiveInset}}}}},ot=it=>{const{componentCls:at,trackHeight:Bt,trackPadding:We,innerMinMargin:Te,innerMaxMargin:ct,handleSize:Zt,calc:zt}=it,tt=`${at}-inner`,Pt=(0,Ee.unit)(zt(Zt).add(zt(We).mul(2)).equal()),_t=(0,Ee.unit)(zt(ct).mul(2).equal());return{[at]:{[tt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ct,paddingInlineEnd:Te,transition:`padding-inline-start ${it.switchDuration} ease-in-out, padding-inline-end ${it.switchDuration} ease-in-out`,[`${tt}-checked, ${tt}-unchecked`]:{display:"block",color:it.colorTextLightSolid,fontSize:it.fontSizeSM,transition:`margin-inline-start ${it.switchDuration} ease-in-out, margin-inline-end ${it.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Bt},[`${tt}-checked`]:{marginInlineStart:`calc(-100% + ${Pt} - ${_t})`,marginInlineEnd:`calc(100% - ${Pt} + ${_t})`},[`${tt}-unchecked`]:{marginTop:zt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${at}-checked ${tt}`]:{paddingInlineStart:Te,paddingInlineEnd:ct,[`${tt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${tt}-unchecked`]:{marginInlineStart:`calc(100% - ${Pt} + ${_t})`,marginInlineEnd:`calc(-100% + ${Pt} - ${_t})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${tt}`]:{[`${tt}-unchecked`]:{marginInlineStart:zt(We).mul(2).equal(),marginInlineEnd:zt(We).mul(-1).mul(2).equal()}},[`&${at}-checked ${tt}`]:{[`${tt}-checked`]:{marginInlineStart:zt(We).mul(-1).mul(2).equal(),marginInlineEnd:zt(We).mul(2).equal()}}}}}},ht=it=>{const{componentCls:at,trackHeight:Bt,trackMinWidth:We}=it;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(it)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:We,height:Bt,lineHeight:(0,Ee.unit)(Bt),verticalAlign:"middle",background:it.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${it.motionDurationMid}`,userSelect:"none",[`&:hover:not(${at}-disabled)`]:{background:it.colorTextTertiary}}),(0,Ke.Qy)(it)),{[`&${at}-checked`]:{background:it.switchColor,[`&:hover:not(${at}-disabled)`]:{background:it.colorPrimaryHover}},[`&${at}-loading, &${at}-disabled`]:{cursor:"not-allowed",opacity:it.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${at}-rtl`]:{direction:"rtl"}})}},Ct=it=>{const{fontSize:at,lineHeight:Bt,controlHeight:We,colorWhite:Te}=it,ct=at*Bt,Zt=We/2,zt=2,tt=ct-zt*2,Pt=Zt-zt*2;return{trackHeight:ct,trackHeightSM:Zt,trackMinWidth:tt*2+zt*4,trackMinWidthSM:Pt*2+zt*2,trackPadding:zt,handleBg:Te,handleSize:tt,handleSizeSM:Pt,handleShadow:`0 2px 4px 0 ${new Me.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:tt/2,innerMaxMargin:tt+zt+zt*2,innerMinMarginSM:Pt/2,innerMaxMarginSM:Pt+zt+zt*2}};var He=(0,je.I$)("Switch",it=>{const at=(0,Qe.mergeToken)(it,{switchDuration:it.motionDurationMid,switchColor:it.colorPrimary,switchDisabledOpacity:it.opacityLoading,switchLoadingIconSize:it.calc(it.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${it.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(at),ot(at),ut(at),Xe(at),Je(at)]},Ct),ft=function(it,at){var Bt={};for(var We in it)Object.prototype.hasOwnProperty.call(it,We)&&at.indexOf(We)<0&&(Bt[We]=it[We]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,We=Object.getOwnPropertySymbols(it);Te{const{prefixCls:Bt,size:We,disabled:Te,loading:ct,className:Zt,rootClassName:zt,style:tt,checked:Pt,value:_t,defaultChecked:fn,defaultValue:Tt,onChange:vn}=it,kt=ft(it,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Sn,on]=(0,xe.Z)(!1,{value:Pt!=null?Pt:_t,defaultValue:fn!=null?fn:Tt}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(Oe.E_),ee=x.useContext(ye.Z),se=(Te!=null?Te:ee)||ct,le=de("switch",Bt),Be=x.createElement("div",{className:`${le}-handle`},ct&&x.createElement(dt.Z,{className:`${le}-loading-icon`})),[Ve,st,gt]=He(le),mt=(0,Ce.Z)(We),St=qe()(ie==null?void 0:ie.className,{[`${le}-small`]:mt==="small",[`${le}-loading`]:ct,[`${le}-rtl`]:ge==="rtl"},Zt,zt,st,gt),Dt=Object.assign(Object.assign({},ie==null?void 0:ie.style),tt),jt=function(){on(arguments.length<=0?void 0:arguments[0]),vn==null||vn.apply(void 0,arguments)};return Ve(x.createElement(Se.Z,{component:"Switch"},x.createElement(Re,Object.assign({},kt,{checked:Sn,onChange:jt,prefixCls:le,className:St,style:Dt,disabled:se,ref:at,loadingIcon:Be}))))});_e.__ANT_SWITCH=!0;var Ot=_e},70858:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return hp}});var x=ae(59301),dt={},Ie="rc-table-internal-hook",qe=ae(72190),ze=ae(6089),Fe=ae(34280),Ue=ae(13697),he=ae(4676);function xe(wt){var yt=x.createContext(void 0),Yt=function(Fn){var Mn=Fn.value,rr=Fn.children,er=x.useRef(Mn);er.current=Mn;var vr=x.useState(function(){return{getValue:function(){return er.current},listeners:new Set}}),Ar=(0,qe.Z)(vr,1),li=Ar[0];return(0,Fe.Z)(function(){(0,he.unstable_batchedUpdates)(function(){li.listeners.forEach(function(_r){_r(Mn)})})},[Mn]),x.createElement(yt.Provider,{value:li},rr)};return{Context:yt,Provider:Yt,defaultValue:wt}}function oe(wt,yt){var Yt=(0,ze.Z)(typeof yt=="function"?yt:function(_r){if(yt===void 0)return _r;if(!Array.isArray(yt))return _r[yt];var Qr={};return yt.forEach(function(Dr){Qr[Dr]=_r[Dr]}),Qr}),An=x.useContext(wt==null?void 0:wt.Context),Fn=An||{},Mn=Fn.listeners,rr=Fn.getValue,er=x.useRef();er.current=Yt(An?rr():wt==null?void 0:wt.defaultValue);var vr=x.useState({}),Ar=(0,qe.Z)(vr,2),li=Ar[1];return(0,Fe.Z)(function(){if(!An)return;function _r(Qr){var Dr=Yt(Qr);(0,Ue.Z)(er.current,Dr,!0)||li({})}return Mn.add(_r),function(){Mn.delete(_r)}},[An]),er.current}var Ne=ae(60499),ve=ae(8654);function Re(){var wt=x.createContext(null);function yt(){return x.useContext(wt)}function Yt(Fn,Mn){var rr=(0,ve.Yr)(Fn),er=function(Ar,li){var _r=rr?{ref:li}:{},Qr=x.useRef(0),Dr=x.useRef(Ar),Fr=yt();return Fr!==null?x.createElement(Fn,(0,Ne.Z)({},Ar,_r)):((!Mn||Mn(Dr.current,Ar))&&(Qr.current+=1),Dr.current=Ar,x.createElement(wt.Provider,{value:Qr.current},x.createElement(Fn,(0,Ne.Z)({},Ar,_r))))};return rr?x.forwardRef(er):er}function An(Fn,Mn){var rr=(0,ve.Yr)(Fn),er=function(Ar,li){var _r=rr?{ref:li}:{};return yt(),x.createElement(Fn,(0,Ne.Z)({},Ar,_r))};return rr?x.memo(x.forwardRef(er),Mn):x.memo(er,Mn)}return{makeImmutable:Yt,responseImmutable:An,useImmutableMark:yt}}var Se=Re(),Oe=Se.makeImmutable,ye=Se.responseImmutable,Ce=Se.useImmutableMark,Ee=Re(),Me=Ee.makeImmutable,Ke=Ee.responseImmutable,je=Ee.useImmutableMark,Qe=xe(),Je=Qe;function Xe(wt,yt){var Yt=React.useRef(0);Yt.current+=1;var An=React.useRef(wt),Fn=[];Object.keys(wt||{}).map(function(rr){var er;(wt==null?void 0:wt[rr])!==((er=An.current)===null||er===void 0?void 0:er[rr])&&Fn.push(rr)}),An.current=wt;var Mn=React.useRef([]);return Fn.length&&(Mn.current=Fn),React.useDebugValue(Yt.current),React.useDebugValue(Mn.current.join(", ")),yt&&console.log("".concat(yt,":"),Yt.current,Mn.current),Yt.current}var ut=null,ot=null,ht=ae(43749),Ct=ae(85899),He=ae(18642),ft=ae(92310),De=ae.n(ft),_e=ae(80547),Ot=ae(97938),it=ae(48736),at=x.createContext({renderWithProps:!1}),Bt=at,We="RC_TABLE_KEY";function Te(wt){return wt==null?[]:Array.isArray(wt)?wt:[wt]}function ct(wt){var yt=[],Yt={};return wt.forEach(function(An){for(var Fn=An||{},Mn=Fn.key,rr=Fn.dataIndex,er=Mn||Te(rr).join("-")||We;Yt[er];)er="".concat(er,"_next");Yt[er]=!0,yt.push(er)}),yt}function Zt(wt){return wt!=null}function zt(wt){return typeof wt=="number"&&!Number.isNaN(wt)}function tt(wt){return wt&&(0,ht.Z)(wt)==="object"&&!Array.isArray(wt)&&!x.isValidElement(wt)}function Pt(wt,yt,Yt,An,Fn,Mn){var rr=x.useContext(Bt),er=je(),vr=(0,_e.Z)(function(){if(Zt(An))return[An];var Ar=yt==null||yt===""?[]:Array.isArray(yt)?yt:[yt],li=(0,Ot.Z)(wt,Ar),_r=li,Qr=void 0;if(Fn){var Dr=Fn(li,wt,Yt);tt(Dr)?(_r=Dr.children,Qr=Dr.props,rr.renderWithProps=!0):_r=Dr}return[_r,Qr]},[er,wt,An,yt,Fn,Yt],function(Ar,li){if(Mn){var _r=(0,qe.Z)(Ar,2),Qr=_r[1],Dr=(0,qe.Z)(li,2),Fr=Dr[1];return Mn(Fr,Qr)}return rr.renderWithProps?!0:!(0,Ue.Z)(Ar,li,!0)});return vr}function _t(wt,yt,Yt,An){var Fn=wt+yt-1;return wt<=An&&Fn>=Yt}function fn(wt,yt){return oe(Je,function(Yt){var An=_t(wt,yt||1,Yt.hoverStartRow,Yt.hoverEndRow);return[An,Yt.onHover]})}var Tt=ae(70425),vn=function(yt){var Yt=yt.ellipsis,An=yt.rowType,Fn=yt.children,Mn,rr=Yt===!0?{showTitle:!0}:Yt;return rr&&(rr.showTitle||An==="header")&&(typeof Fn=="string"||typeof Fn=="number"?Mn=Fn.toString():x.isValidElement(Fn)&&typeof Fn.props.children=="string"&&(Mn=Fn.props.children)),Mn};function kt(wt){var yt,Yt,An,Fn,Mn,rr,er,vr,Ar=wt.component,li=wt.children,_r=wt.ellipsis,Qr=wt.scope,Dr=wt.prefixCls,Fr=wt.className,Gi=wt.align,mi=wt.record,to=wt.render,uo=wt.dataIndex,qi=wt.renderIndex,po=wt.shouldCellUpdate,Eo=wt.index,jo=wt.rowType,ko=wt.colSpan,Na=wt.rowSpan,sa=wt.fixLeft,ra=wt.fixRight,Zo=wt.firstFixLeft,Ho=wt.lastFixLeft,Ko=wt.firstFixRight,vo=wt.lastFixRight,ho=wt.appendNode,Mo=wt.additionalProps,Go=Mo===void 0?{}:Mo,ia=wt.isSticky,Co="".concat(Dr,"-cell"),es=oe(Je,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Za=es.supportSticky,kl=es.allColumnsFixedLeft,bl=es.rowHoverable,al=Pt(mi,uo,qi,li,to,po),co=(0,qe.Z)(al,2),Xl=co[0],us=co[1],as={},rl=typeof sa=="number"&&Za,Au=typeof ra=="number"&&Za;rl&&(as.position="sticky",as.left=sa),Au&&(as.position="sticky",as.right=ra);var oa=(yt=(Yt=(An=us==null?void 0:us.colSpan)!==null&&An!==void 0?An:Go.colSpan)!==null&&Yt!==void 0?Yt:ko)!==null&&yt!==void 0?yt:1,Ca=(Fn=(Mn=(rr=us==null?void 0:us.rowSpan)!==null&&rr!==void 0?rr:Go.rowSpan)!==null&&Mn!==void 0?Mn:Na)!==null&&Fn!==void 0?Fn:1,Xo=fn(Eo,Ca),Po=(0,qe.Z)(Xo,2),ps=Po[0],Is=Po[1],Gs=(0,Tt.zX)(function(Js){var Xs;mi&&Is(Eo,Eo+Ca-1),Go==null||(Xs=Go.onMouseEnter)===null||Xs===void 0||Xs.call(Go,Js)}),Ks=(0,Tt.zX)(function(Js){var Xs;mi&&Is(-1,-1),Go==null||(Xs=Go.onMouseLeave)===null||Xs===void 0||Xs.call(Go,Js)});if(oa===0||Ca===0)return null;var sl=(er=Go.title)!==null&&er!==void 0?er:vn({rowType:jo,ellipsis:_r,children:Xl}),mu=De()(Co,Fr,(vr={},(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)(vr,"".concat(Co,"-fix-left"),rl&&Za),"".concat(Co,"-fix-left-first"),Zo&&Za),"".concat(Co,"-fix-left-last"),Ho&&Za),"".concat(Co,"-fix-left-all"),Ho&&kl&&Za),"".concat(Co,"-fix-right"),Au&&Za),"".concat(Co,"-fix-right-first"),Ko&&Za),"".concat(Co,"-fix-right-last"),vo&&Za),"".concat(Co,"-ellipsis"),_r),"".concat(Co,"-with-append"),ho),"".concat(Co,"-fix-sticky"),(rl||Au)&&ia&&Za),(0,He.Z)(vr,"".concat(Co,"-row-hover"),!us&&ps)),Go.className,us==null?void 0:us.className),la={};Gi&&(la.textAlign=Gi);var na=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},us==null?void 0:us.style),as),la),Go.style),Bs=Xl;return(0,ht.Z)(Bs)==="object"&&!Array.isArray(Bs)&&!x.isValidElement(Bs)&&(Bs=null),_r&&(Ho||Ko)&&(Bs=x.createElement("span",{className:"".concat(Co,"-content")},Bs)),x.createElement(Ar,(0,Ne.Z)({},us,Go,{className:mu,style:na,title:sl,scope:Qr,onMouseEnter:bl?Gs:void 0,onMouseLeave:bl?Ks:void 0,colSpan:oa!==1?oa:null,rowSpan:Ca!==1?Ca:null}),ho,Bs)}var Sn=x.memo(kt);function on(wt,yt,Yt,An,Fn){var Mn=Yt[wt]||{},rr=Yt[yt]||{},er,vr;Mn.fixed==="left"?er=An.left[Fn==="rtl"?yt:wt]:rr.fixed==="right"&&(vr=An.right[Fn==="rtl"?wt:yt]);var Ar=!1,li=!1,_r=!1,Qr=!1,Dr=Yt[yt+1],Fr=Yt[wt-1],Gi=Dr&&!Dr.fixed||Fr&&!Fr.fixed||Yt.every(function(po){return po.fixed==="left"});if(Fn==="rtl"){if(er!==void 0){var mi=Fr&&Fr.fixed==="left";Qr=!mi&&Gi}else if(vr!==void 0){var to=Dr&&Dr.fixed==="right";_r=!to&&Gi}}else if(er!==void 0){var uo=Dr&&Dr.fixed==="left";Ar=!uo&&Gi}else if(vr!==void 0){var qi=Fr&&Fr.fixed==="right";li=!qi&&Gi}return{fixLeft:er,fixRight:vr,lastFixLeft:Ar,firstFixRight:li,lastFixRight:_r,firstFixLeft:Qr,isSticky:An.isSticky}}var de=x.createContext({}),ge=de;function ie(wt){var yt=wt.className,Yt=wt.index,An=wt.children,Fn=wt.colSpan,Mn=Fn===void 0?1:Fn,rr=wt.rowSpan,er=wt.align,vr=oe(Je,["prefixCls","direction"]),Ar=vr.prefixCls,li=vr.direction,_r=x.useContext(ge),Qr=_r.scrollColumnIndex,Dr=_r.stickyOffsets,Fr=_r.flattenColumns,Gi=Yt+Mn-1,mi=Gi+1===Qr?Mn+1:Mn,to=on(Yt,Yt+mi-1,Fr,Dr,li);return x.createElement(Sn,(0,Ne.Z)({className:yt,index:Yt,component:"td",prefixCls:Ar,record:null,dataIndex:null,align:er,colSpan:mi,rowSpan:rr,render:function(){return An}},to))}var ee=ae(42244),se=["children"];function le(wt){var yt=wt.children,Yt=(0,ee.Z)(wt,se);return x.createElement("tr",Yt,yt)}function Be(wt){var yt=wt.children;return yt}Be.Row=le,Be.Cell=ie;var Ve=Be;function st(wt){var yt=wt.children,Yt=wt.stickyOffsets,An=wt.flattenColumns,Fn=oe(Je,"prefixCls"),Mn=An.length-1,rr=An[Mn],er=x.useMemo(function(){return{stickyOffsets:Yt,flattenColumns:An,scrollColumnIndex:rr!=null&&rr.scrollbar?Mn:null}},[rr,An,Mn,Yt]);return x.createElement(ge.Provider,{value:er},x.createElement("tfoot",{className:"".concat(Fn,"-summary")},yt))}var gt=Ke(st),mt=Ve,St=ae(29301),Dt=ae(24514),jt=ae(75152),xt=ae(26112);function lt(wt,yt,Yt,An,Fn,Mn,rr){wt.push({record:yt,indent:Yt,index:rr});var er=Mn(yt),vr=Fn==null?void 0:Fn.has(er);if(yt&&Array.isArray(yt[An])&&vr)for(var Ar=0;Ar1?Zo-1:0),Ko=1;Ko=1)),style:(0,Ct.Z)((0,Ct.Z)({},Yt),to==null?void 0:to.style)}),Fr.map(function(sa,ra){var Zo=sa.render,Ho=sa.dataIndex,Ko=sa.className,vo=Qt(Qr,sa,ra,vr,Fn),ho=vo.key,Mo=vo.fixedInfo,Go=vo.appendCellNode,ia=vo.additionalCellProps;return x.createElement(Sn,(0,Ne.Z)({className:Ko,ellipsis:sa.ellipsis,align:sa.align,scope:sa.rowScope,component:sa.rowScope?_r:li,prefixCls:Dr,key:ho,record:An,index:Fn,renderIndex:Mn,dataIndex:Ho,render:Zo,shouldCellUpdate:sa.shouldCellUpdate},Mo,{appendNode:Go,additionalProps:ia}))})),ko;if(qi&&(po.current||uo)){var Na=mi(An,Fn,vr+1,uo);ko=x.createElement(an,{expanded:uo,className:De()("".concat(Dr,"-expanded-row"),"".concat(Dr,"-expanded-row-level-").concat(vr+1),Eo),prefixCls:Dr,component:Ar,cellComponent:li,colSpan:Fr.length,isEmpty:!1},Na)}return x.createElement(x.Fragment,null,jo,ko)}var Nn=Ke(sn);function Vn(wt){var yt=wt.columnKey,Yt=wt.onColumnResize,An=x.useRef();return(0,Fe.Z)(function(){An.current&&Yt(yt,An.current.offsetWidth)},[]),x.createElement(St.Z,{data:yt},x.createElement("td",{ref:An,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Lt=ae(29194);function Gt(wt){var yt=wt.prefixCls,Yt=wt.columnsKey,An=wt.onColumnResize,Fn=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(yt,"-measure-row"),style:{height:0,fontSize:0},ref:Fn},x.createElement(St.Z.Collection,{onBatchResize:function(rr){(0,Lt.Z)(Fn.current)&&rr.forEach(function(er){var vr=er.data,Ar=er.size;An(vr,Ar.offsetWidth)})}},Yt.map(function(Mn){return x.createElement(Vn,{key:Mn,columnKey:Mn,onColumnResize:An})})))}function nn(wt){var yt=wt.data,Yt=wt.measureColumnWidth,An=oe(Je,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Fn=An.prefixCls,Mn=An.getComponent,rr=An.onColumnResize,er=An.flattenColumns,vr=An.getRowKey,Ar=An.expandedKeys,li=An.childrenColumnName,_r=An.emptyNode,Qr=Xt(yt,li,Ar,vr),Dr=x.useRef({renderWithProps:!1}),Fr=Mn(["body","wrapper"],"tbody"),Gi=Mn(["body","row"],"tr"),mi=Mn(["body","cell"],"td"),to=Mn(["body","cell"],"th"),uo;yt.length?uo=Qr.map(function(po,Eo){var jo=po.record,ko=po.indent,Na=po.index,sa=vr(jo,Eo);return x.createElement(Nn,{key:sa,rowKey:sa,record:jo,index:Eo,renderIndex:Na,rowComponent:Gi,cellComponent:mi,scopeCellComponent:to,indent:ko})}):uo=x.createElement(an,{expanded:!0,className:"".concat(Fn,"-placeholder"),prefixCls:Fn,component:Gi,cellComponent:mi,colSpan:er.length,isEmpty:!0},_r);var qi=ct(er);return x.createElement(Bt.Provider,{value:Dr.current},x.createElement(Fr,{className:"".concat(Fn,"-tbody")},Yt&&x.createElement(Gt,{prefixCls:Fn,columnsKey:qi,onColumnResize:rr}),uo))}var Cn=Ke(nn),Gn=["expandable"],Sr="RC_TABLE_INTERNAL_COL_DEFINE";function ii(wt){var yt=wt.expandable,Yt=(0,ee.Z)(wt,Gn),An;return"expandable"in wt?An=(0,Ct.Z)((0,Ct.Z)({},Yt),yt):An=Yt,An.showExpandColumn===!1&&(An.expandIconColumnIndex=-1),An}var si=["columnType"];function sr(wt){for(var yt=wt.colWidths,Yt=wt.columns,An=wt.columCount,Fn=oe(Je,["tableLayout"]),Mn=Fn.tableLayout,rr=[],er=An||Yt.length,vr=!1,Ar=er-1;Ar>=0;Ar-=1){var li=yt[Ar],_r=Yt&&Yt[Ar],Qr=void 0,Dr=void 0;if(_r&&(Qr=_r[Sr],Mn==="auto"&&(Dr=_r.minWidth)),li||Dr||Qr||vr){var Fr=Qr||{},Gi=Fr.columnType,mi=(0,ee.Z)(Fr,si);rr.unshift(x.createElement("col",(0,Ne.Z)({key:Ar,style:{width:li,minWidth:Dr}},mi))),vr=!0}}return x.createElement("colgroup",null,rr)}var Lr=sr,Qn=ae(77654),Hn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Jn(wt,yt){return(0,x.useMemo)(function(){for(var Yt=[],An=0;An1?"colgroup":"col":null,ellipsis:mi.ellipsis,align:mi.align,component:rr,prefixCls:li,key:Dr[Gi]},to,{additionalProps:uo,rowType:"header"}))}))},Er=Cr;function Nr(wt){var yt=[];function Yt(rr,er){var vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;yt[vr]=yt[vr]||[];var Ar=er,li=rr.filter(Boolean).map(function(_r){var Qr={key:_r.key,className:_r.className||"",children:_r.title,column:_r,colStart:Ar},Dr=1,Fr=_r.children;return Fr&&Fr.length>0&&(Dr=Yt(Fr,Ar,vr+1).reduce(function(Gi,mi){return Gi+mi},0),Qr.hasSubColumns=!0),"colSpan"in _r&&(Dr=_r.colSpan),"rowSpan"in _r&&(Qr.rowSpan=_r.rowSpan),Qr.colSpan=Dr,Qr.colEnd=Qr.colStart+Dr-1,yt[vr].push(Qr),Ar+=Dr,Dr});return li}Yt(wt,0);for(var An=yt.length,Fn=function(er){yt[er].forEach(function(vr){!("rowSpan"in vr)&&!vr.hasSubColumns&&(vr.rowSpan=An-er)})},Mn=0;Mn1&&arguments[1]!==void 0?arguments[1]:"";return typeof yt=="number"?yt:yt.endsWith("%")?wt*parseFloat(yt)/100:null}function Ci(wt,yt,Yt){return x.useMemo(function(){if(yt&&yt>0){var An=0,Fn=0;wt.forEach(function(Qr){var Dr=Oi(yt,Qr.width);Dr?An+=Dr:Fn+=1});var Mn=Math.max(yt,Yt),rr=Math.max(Mn-An,Fn),er=Fn,vr=rr/Fn,Ar=0,li=wt.map(function(Qr){var Dr=(0,Ct.Z)({},Qr),Fr=Oi(yt,Dr.width);if(Fr)Dr.width=Fr;else{var Gi=Math.floor(vr);Dr.width=er===1?rr:Gi,rr-=Gi,er-=1}return Ar+=Dr.width,Dr});if(Ar0?(0,Ct.Z)((0,Ct.Z)({},yt),{},{children:Mr(Yt)}):yt})}function gi(wt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return wt.filter(function(Yt){return Yt&&(0,ht.Z)(Yt)==="object"}).reduce(function(Yt,An,Fn){var Mn=An.fixed,rr=Mn===!0?"left":Mn,er="".concat(yt,"-").concat(Fn),vr=An.children;return vr&&vr.length>0?[].concat((0,Qn.Z)(Yt),(0,Qn.Z)(gi(vr,er).map(function(Ar){return(0,Ct.Z)({fixed:rr},Ar)}))):[].concat((0,Qn.Z)(Yt),[(0,Ct.Z)((0,Ct.Z)({key:er},An),{},{fixed:rr})])},[])}function oi(wt){return wt.map(function(yt){var Yt=yt.fixed,An=(0,ee.Z)(yt,Yi),Fn=Yt;return Yt==="left"?Fn="right":Yt==="right"&&(Fn="left"),(0,Ct.Z)({fixed:Fn},An)})}function un(wt,yt){var Yt=wt.prefixCls,An=wt.columns,Fn=wt.children,Mn=wt.expandable,rr=wt.expandedKeys,er=wt.columnTitle,vr=wt.getRowKey,Ar=wt.onTriggerExpand,li=wt.expandIcon,_r=wt.rowExpandable,Qr=wt.expandIconColumnIndex,Dr=wt.direction,Fr=wt.expandRowByClick,Gi=wt.columnWidth,mi=wt.fixed,to=wt.scrollWidth,uo=wt.clientWidth,qi=x.useMemo(function(){var Ho=An||or(Fn)||[];return Mr(Ho.slice())},[An,Fn]),po=x.useMemo(function(){if(Mn){var Ho=qi.slice();if(!Ho.includes(dt)){var Ko=Qr||0;Ko>=0&&(Ko||mi==="left"||!mi)&&Ho.splice(Ko,0,dt),mi==="right"&&Ho.splice(qi.length,0,dt)}var vo=Ho.indexOf(dt);Ho=Ho.filter(function(ia,Co){return ia!==dt||Co===vo});var ho=qi[vo],Mo;mi?Mo=mi:Mo=ho?ho.fixed:null;var Go=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},Sr,{className:"".concat(Yt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",er),"fixed",Mo),"className","".concat(Yt,"-row-expand-icon-cell")),"width",Gi),"render",function(Co,es,Za){var kl=vr(es,Za),bl=rr.has(kl),al=_r?_r(es):!0,co=li({prefixCls:Yt,expanded:bl,expandable:al,record:es,onExpand:Ar});return Fr?x.createElement("span",{onClick:function(us){return us.stopPropagation()}},co):co});return Ho.map(function(ia){return ia===dt?Go:ia})}return qi.filter(function(ia){return ia!==dt})},[Mn,qi,vr,rr,li,Dr]),Eo=x.useMemo(function(){var Ho=po;return yt&&(Ho=yt(Ho)),Ho.length||(Ho=[{render:function(){return null}}]),Ho},[yt,po,Dr]),jo=x.useMemo(function(){return Dr==="rtl"?oi(gi(Eo)):gi(Eo)},[Eo,Dr,to]),ko=x.useMemo(function(){for(var Ho=-1,Ko=jo.length-1;Ko>=0;Ko-=1){var vo=jo[Ko].fixed;if(vo==="left"||vo===!0){Ho=Ko;break}}if(Ho>=0)for(var ho=0;ho<=Ho;ho+=1){var Mo=jo[ho].fixed;if(Mo!=="left"&&Mo!==!0)return!0}var Go=jo.findIndex(function(es){var Za=es.fixed;return Za==="right"});if(Go>=0)for(var ia=Go;ia=Go-er?uo(function(ia){return(0,Ct.Z)((0,Ct.Z)({},ia),{},{isHiddenScrollBar:!0})}):uo(function(ia){return(0,Ct.Z)((0,Ct.Z)({},ia),{},{isHiddenScrollBar:!1})})}})},Ko=function(ho){uo(function(Mo){return(0,Ct.Z)((0,Ct.Z)({},Mo),{},{scrollLeft:ho/_r*Qr||0})})};return x.useImperativeHandle(Yt,function(){return{setScrollLeft:Ko,checkScrollBarVisible:Ho}}),x.useEffect(function(){var vo=(0,Ti.Z)(document.body,"mouseup",sa,!1),ho=(0,Ti.Z)(document.body,"mousemove",Zo,!1);return Ho(),function(){vo.remove(),ho.remove()}},[Dr,jo]),x.useEffect(function(){if(Mn.current){for(var vo=[],ho=(0,nr.bn)(Mn.current);ho;)vo.push(ho),ho=ho.parentElement;return vo.forEach(function(Mo){return Mo.addEventListener("scroll",Ho,!1)}),window.addEventListener("resize",Ho,!1),window.addEventListener("scroll",Ho,!1),vr.addEventListener("scroll",Ho,!1),function(){vo.forEach(function(Mo){return Mo.removeEventListener("scroll",Ho)}),window.removeEventListener("resize",Ho),window.removeEventListener("scroll",Ho),vr.removeEventListener("scroll",Ho)}}},[vr]),x.useEffect(function(){to.isHiddenScrollBar||uo(function(vo){var ho=Mn.current;return ho?(0,Ct.Z)((0,Ct.Z)({},vo),{},{scrollLeft:ho.scrollLeft/ho.scrollWidth*ho.clientWidth}):vo})},[to.isHiddenScrollBar]),_r<=Qr||!Dr||to.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,jt.Z)(),width:Qr,bottom:er},className:"".concat(li,"-sticky-scroll")},x.createElement("div",{onMouseDown:ra,ref:Fr,className:De()("".concat(li,"-sticky-scroll-bar"),(0,He.Z)({},"".concat(li,"-sticky-scroll-bar-active"),jo)),style:{width:"".concat(Dr,"px"),transform:"translate3d(".concat(to.scrollLeft,"px, 0, 0)")}}))},cn=x.forwardRef(gn);function qn(wt){return null}var hr=qn;function ur(wt){return null}var br=ur,ci="rc-table",Yr=[],yi={};function Pi(){return"No Data"}function wi(wt,yt){var Yt=(0,Ct.Z)({rowKey:"key",prefixCls:ci,emptyText:Pi},wt),An=Yt.prefixCls,Fn=Yt.className,Mn=Yt.rowClassName,rr=Yt.style,er=Yt.data,vr=Yt.rowKey,Ar=Yt.scroll,li=Yt.tableLayout,_r=Yt.direction,Qr=Yt.title,Dr=Yt.footer,Fr=Yt.summary,Gi=Yt.caption,mi=Yt.id,to=Yt.showHeader,uo=Yt.components,qi=Yt.emptyText,po=Yt.onRow,Eo=Yt.onHeaderRow,jo=Yt.onScroll,ko=Yt.internalHooks,Na=Yt.transformColumns,sa=Yt.internalRefs,ra=Yt.tailor,Zo=Yt.getContainerWidth,Ho=Yt.sticky,Ko=Yt.rowHoverable,vo=Ko===void 0?!0:Ko,ho=er||Yr,Mo=!!ho.length,Go=ko===Ie,ia=x.useCallback(function(ms,Ns){return(0,Ot.Z)(uo,ms)||Ns},[uo]),Co=x.useMemo(function(){return typeof vr=="function"?vr:function(ms){var Ns=ms&&ms[vr];return Ns}},[vr]),es=ia(["body"]),Za=On(),kl=(0,qe.Z)(Za,3),bl=kl[0],al=kl[1],co=kl[2],Xl=Rt(Yt,ho,Co),us=(0,qe.Z)(Xl,6),as=us[0],rl=us[1],Au=us[2],oa=us[3],Ca=us[4],Xo=us[5],Po=Ar==null?void 0:Ar.x,ps=x.useState(0),Is=(0,qe.Z)(ps,2),Gs=Is[0],Ks=Is[1],sl=bt((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Yt),as),{},{expandable:!!as.expandedRowRender,columnTitle:as.columnTitle,expandedKeys:Au,getRowKey:Co,onTriggerExpand:Xo,expandIcon:oa,expandIconColumnIndex:as.expandIconColumnIndex,direction:_r,scrollWidth:Go&&ra&&typeof Po=="number"?Po:null,clientWidth:Gs}),Go?Na:null),mu=(0,qe.Z)(sl,4),la=mu[0],na=mu[1],Bs=mu[2],Js=mu[3],Xs=Bs!=null?Bs:Po,vu=x.useMemo(function(){return{columns:la,flattenColumns:na}},[la,na]),Ml=x.useRef(),fc=x.useRef(),Cl=x.useRef(),ys=x.useRef();x.useImperativeHandle(yt,function(){return{nativeElement:Ml.current,scrollTo:function(Ns){var wu;if(Cl.current instanceof HTMLElement){var Vu=Ns.index,Gu=Ns.top,Ad=Ns.key;if(zt(Gu)){var XA;(XA=Cl.current)===null||XA===void 0||XA.scrollTo({top:Gu})}else{var RA,dd=Ad!=null?Ad:Co(ho[Vu]);(RA=Cl.current.querySelector('[data-row-key="'.concat(dd,'"]')))===null||RA===void 0||RA.scrollIntoView()}}else(wu=Cl.current)!==null&&wu!==void 0&&wu.scrollTo&&Cl.current.scrollTo(Ns)}}});var ll=x.useRef(),ul=x.useState(!1),du=(0,qe.Z)(ul,2),Ul=du[0],ws=du[1],gl=x.useState(!1),Ls=(0,qe.Z)(gl,2),ml=Ls[0],Yl=Ls[1],Ru=x.useState(new Map),_u=(0,qe.Z)(Ru,2),Yc=_u[0],cl=_u[1],Dd=ct(na),Ku=Dd.map(function(ms){return Yc.get(ms)}),tc=x.useMemo(function(){return Ku},[Ku.join("_")]),Zu=lr(tc,na,_r),nc=Ar&&Zt(Ar.y),Al=Ar&&Zt(Xs)||!!as.fixed,Cc=Al&&na.some(function(ms){var Ns=ms.fixed;return Ns}),xA=x.useRef(),Rc=Xr(Ho,An),$c=Rc.isSticky,Jd=Rc.offsetHeader,qd=Rc.offsetSummary,Ds=Rc.offsetScroll,ld=Rc.stickyClassName,Ef=Rc.container,Wa=x.useMemo(function(){return Fr==null?void 0:Fr(ho)},[Fr,ho]),gs=(nc||$c)&&x.isValidElement(Wa)&&Wa.type===Ve&&Wa.props.fixed,Ql,ru,Su;nc&&(ru={overflowY:Mo?"scroll":"auto",maxHeight:Ar.y}),Al&&(Ql={overflowX:"auto"},nc||(ru={overflowY:"hidden"}),Su={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Fu=x.useCallback(function(ms,Ns){cl(function(wu){if(wu.get(ms)!==Ns){var Vu=new Map(wu);return Vu.set(ms,Ns),Vu}return wu})},[]),rc=yn(null),Wu=(0,qe.Z)(rc,2),ZA=Wu[0],Sf=Wu[1];function WA(ms,Ns){Ns&&(typeof Ns=="function"?Ns(ms):Ns.scrollLeft!==ms&&(Ns.scrollLeft=ms,Ns.scrollLeft!==ms&&setTimeout(function(){Ns.scrollLeft=ms},0)))}var VA=(0,ze.Z)(function(ms){var Ns=ms.currentTarget,wu=ms.scrollLeft,Vu=_r==="rtl",Gu=typeof wu=="number"?wu:Ns.scrollLeft,Ad=Ns||yi;if(!Sf()||Sf()===Ad){var XA;ZA(Ad),WA(Gu,fc.current),WA(Gu,Cl.current),WA(Gu,ll.current),WA(Gu,(XA=xA.current)===null||XA===void 0?void 0:XA.setScrollLeft)}var RA=Ns||fc.current;if(RA){var dd=Go&&ra&&typeof Xs=="number"?Xs:RA.scrollWidth,YA=RA.clientWidth;if(dd===YA){ws(!1),Yl(!1);return}Vu?(ws(-Gu0)):(ws(Gu>0),Yl(Gu1?mi-vo:0,Mo=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Na),Ar),{},{flex:"0 0 ".concat(vo,"px"),width:"".concat(vo,"px"),marginRight:ho,pointerEvents:"auto"}),Go=x.useMemo(function(){return _r?Ho<=1:ra===0||Ho===0||Ho>1},[Ho,ra,_r]);Go?Mo.visibility="hidden":_r&&(Mo.height=Qr==null?void 0:Qr(Ho));var ia=Go?function(){return null}:Dr,Co={};return(Ho===0||ra===0)&&(Co.rowSpan=1,Co.colSpan=1),x.createElement(Sn,(0,Ne.Z)({className:De()(Gi,li),ellipsis:Yt.ellipsis,align:Yt.align,scope:Yt.rowScope,component:rr,prefixCls:yt.prefixCls,key:po,record:vr,index:Mn,renderIndex:er,dataIndex:Fr,render:ia,shouldCellUpdate:Yt.shouldCellUpdate},Eo,{appendNode:jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},ko),{},{style:Mo},Co)}))}var Do=Ki,eo=["data","index","className","rowKey","style","extra","getHeight"],qo=x.forwardRef(function(wt,yt){var Yt=wt.data,An=wt.index,Fn=wt.className,Mn=wt.rowKey,rr=wt.style,er=wt.extra,vr=wt.getHeight,Ar=(0,ee.Z)(wt,eo),li=Yt.record,_r=Yt.indent,Qr=Yt.index,Dr=oe(Je,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Fr=Dr.scrollX,Gi=Dr.flattenColumns,mi=Dr.prefixCls,to=Dr.fixColumn,uo=Dr.componentWidth,qi=oe(Mi,["getComponent"]),po=qi.getComponent,Eo=Vt(li,Mn,An,_r),jo=po(["body","row"],"div"),ko=po(["body","cell"],"div"),Na=Eo.rowSupportExpand,sa=Eo.expanded,ra=Eo.rowProps,Zo=Eo.expandedRowRender,Ho=Eo.expandedRowClassName,Ko;if(Na&&sa){var vo=Zo(li,An,_r+1,sa),ho=In(Ho,li,An,_r),Mo={};to&&(Mo={style:(0,He.Z)({},"--virtual-width","".concat(uo,"px"))});var Go="".concat(mi,"-expanded-row-cell");Ko=x.createElement(jo,{className:De()("".concat(mi,"-expanded-row"),"".concat(mi,"-expanded-row-level-").concat(_r+1),ho)},x.createElement(Sn,{component:ko,prefixCls:mi,className:De()(Go,(0,He.Z)({},"".concat(Go,"-fixed"),to)),additionalProps:Mo},vo))}var ia=(0,Ct.Z)((0,Ct.Z)({},rr),{},{width:Fr});er&&(ia.position="absolute",ia.pointerEvents="none");var Co=x.createElement(jo,(0,Ne.Z)({},ra,Ar,{"data-row-key":Mn,ref:Na?null:yt,className:De()(Fn,"".concat(mi,"-row"),ra==null?void 0:ra.className,(0,He.Z)({},"".concat(mi,"-row-extra"),er)),style:(0,Ct.Z)((0,Ct.Z)({},ia),ra==null?void 0:ra.style)}),Gi.map(function(es,Za){return x.createElement(Do,{key:Za,component:ko,rowInfo:Eo,column:es,colIndex:Za,indent:_r,index:An,renderIndex:Qr,record:li,inverse:er,getHeight:vr})}));return Na?x.createElement("div",{ref:yt},Co,Ko):Co}),wo=Ke(qo),no=wo,No=x.forwardRef(function(wt,yt){var Yt=wt.data,An=wt.onScroll,Fn=oe(Je,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Mn=Fn.flattenColumns,rr=Fn.onColumnResize,er=Fn.getRowKey,vr=Fn.expandedKeys,Ar=Fn.prefixCls,li=Fn.childrenColumnName,_r=Fn.scrollX,Qr=Fn.direction,Dr=oe(Mi),Fr=Dr.sticky,Gi=Dr.scrollY,mi=Dr.listItemHeight,to=Dr.getComponent,uo=Dr.onScroll,qi=x.useRef(),po=Xt(Yt,li,vr,er),Eo=x.useMemo(function(){var Ko=0;return Mn.map(function(vo){var ho=vo.width,Mo=vo.key;return Ko+=ho,[Mo,ho,Ko]})},[Mn]),jo=x.useMemo(function(){return Eo.map(function(Ko){return Ko[2]})},[Eo]);x.useEffect(function(){Eo.forEach(function(Ko){var vo=(0,qe.Z)(Ko,2),ho=vo[0],Mo=vo[1];rr(ho,Mo)})},[Eo]),x.useImperativeHandle(yt,function(){var Ko,vo={scrollTo:function(Mo){var Go;(Go=qi.current)===null||Go===void 0||Go.scrollTo(Mo)},nativeElement:(Ko=qi.current)===null||Ko===void 0?void 0:Ko.nativeElement};return Object.defineProperty(vo,"scrollLeft",{get:function(){var Mo;return((Mo=qi.current)===null||Mo===void 0?void 0:Mo.getScrollInfo().x)||0},set:function(Mo){var Go;(Go=qi.current)===null||Go===void 0||Go.scrollTo({left:Mo})}}),vo});var ko=function(vo,ho){var Mo,Go=(Mo=po[ho])===null||Mo===void 0?void 0:Mo.record,ia=vo.onCell;if(ia){var Co,es=ia(Go,ho);return(Co=es==null?void 0:es.rowSpan)!==null&&Co!==void 0?Co:1}return 1},Na=function(vo){var ho=vo.start,Mo=vo.end,Go=vo.getSize,ia=vo.offsetY;if(Mo<0)return null;for(var Co=Mn.filter(function(oa){return ko(oa,ho)===0}),es=ho,Za=function(Ca){if(Co=Co.filter(function(Xo){return ko(Xo,Ca)===0}),!Co.length)return es=Ca,1},kl=ho;kl>=0&&!Za(kl);kl-=1);for(var bl=Mn.filter(function(oa){return ko(oa,Mo)!==1}),al=Mo,co=function(Ca){if(bl=bl.filter(function(Xo){return ko(Xo,Ca)!==1}),!bl.length)return al=Math.max(Ca-1,Mo),1},Xl=Mo;Xl1})&&us.push(Ca)},rl=es;rl<=al;rl+=1)as(rl);var Au=us.map(function(oa){var Ca=po[oa],Xo=er(Ca.record,oa),Po=function(Gs){var Ks=oa+Gs-1,sl=er(po[Ks].record,Ks),mu=Go(Xo,sl);return mu.bottom-mu.top},ps=Go(Xo);return x.createElement(no,{key:oa,data:Ca,rowKey:Xo,index:oa,style:{top:-ia+ps.top},extra:!0,getHeight:Po})});return Au},sa=x.useMemo(function(){return{columnsOffset:jo}},[jo]),ra="".concat(Ar,"-tbody"),Zo=to(["body","wrapper"]),Ho={};return Fr&&(Ho.position="sticky",Ho.bottom=0,(0,ht.Z)(Fr)==="object"&&Fr.offsetScroll&&(Ho.bottom=Fr.offsetScroll)),x.createElement(Fi.Provider,{value:sa},x.createElement(ki.Z,{fullHeight:!1,ref:qi,prefixCls:"".concat(ra,"-virtual"),styles:{horizontalScrollBar:Ho},className:ra,height:Gi,itemHeight:mi||24,data:po,itemKey:function(vo){return er(vo.record)},component:Zo,scrollWidth:_r,direction:Qr,onVirtualScroll:function(vo){var ho,Mo=vo.x;An({currentTarget:(ho=qi.current)===null||ho===void 0?void 0:ho.nativeElement,scrollLeft:Mo})},onScroll:uo,extraRender:Na},function(Ko,vo,ho){var Mo=er(Ko.record,vo);return x.createElement(no,{data:Ko,rowKey:Mo,index:vo,style:ho.style})}))}),Yo=Ke(No),_o=Yo,Fo=function(yt,Yt){var An=Yt.ref,Fn=Yt.onScroll;return x.createElement(_o,{ref:An,data:yt,onScroll:Fn})};function pn(wt,yt){var Yt=wt.data,An=wt.columns,Fn=wt.scroll,Mn=wt.sticky,rr=wt.prefixCls,er=rr===void 0?ci:rr,vr=wt.className,Ar=wt.listItemHeight,li=wt.components,_r=wt.onScroll,Qr=Fn||{},Dr=Qr.x,Fr=Qr.y;typeof Dr!="number"&&(Dr=1),typeof Fr!="number"&&(Fr=500);var Gi=(0,Tt.zX)(function(uo,qi){return(0,Ot.Z)(li,uo)||qi}),mi=(0,Tt.zX)(_r),to=x.useMemo(function(){return{sticky:Mn,scrollY:Fr,listItemHeight:Ar,getComponent:Gi,onScroll:mi}},[Mn,Fr,Ar,Gi,mi]);return x.createElement(Mi.Provider,{value:to},x.createElement(Zi,(0,Ne.Z)({},wt,{className:De()(vr,"".concat(er,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},Fn),{},{x:Dr}),components:(0,Ct.Z)((0,Ct.Z)({},li),{},{body:Yt!=null&&Yt.length?Fo:void 0}),columns:An,internalHooks:Ie,tailor:!0,ref:yt})))}var Rr=x.forwardRef(pn);function Jr(wt){return Me(Rr,wt)}var Ai=Jr(),Kr=null,oo=wt=>null,ti=wt=>null,Di=ae(84105),Ui=ae(82661),Uo=ae(34643),xa=ae(34061),Wr=ae(18929);function fo(wt){const[yt,Yt]=(0,x.useState)(null);return[(0,x.useCallback)((Mn,rr,er)=>{const vr=yt!=null?yt:Mn,Ar=Math.min(vr||0,Mn),li=Math.max(vr||0,Mn),_r=rr.slice(Ar,li+1).map(Fr=>wt(Fr)),Qr=_r.some(Fr=>!er.has(Fr)),Dr=[];return _r.forEach(Fr=>{Qr?(er.has(Fr)||Dr.push(Fr),er.add(Fr)):(er.delete(Fr),Dr.push(Fr))}),Yt(Qr?li:null),Dr},[yt]),Mn=>{Yt(Mn)}]}var Oo=ae(32383),ta=ae(62673),Qo=ae(75727),Jo=ae(47889);const $o={},Sa="SELECT_ALL",Ja="SELECT_INVERT",hs="SELECT_NONE",ba=[],Ua=(wt,yt)=>{let Yt=[];return(yt||[]).forEach(An=>{Yt.push(An),An&&typeof An=="object"&&wt in An&&(Yt=[].concat((0,Qn.Z)(Yt),(0,Qn.Z)(Ua(wt,An[wt]))))}),Yt};var bo=(wt,yt)=>{const{preserveSelectedRowKeys:Yt,selectedRowKeys:An,defaultSelectedRowKeys:Fn,getCheckboxProps:Mn,onChange:rr,onSelect:er,onSelectAll:vr,onSelectInvert:Ar,onSelectNone:li,onSelectMultiple:_r,columnWidth:Qr,type:Dr,selections:Fr,fixed:Gi,renderCell:mi,hideSelectAll:to,checkStrictly:uo=!0}=yt||{},{prefixCls:qi,data:po,pageData:Eo,getRecordByKey:jo,getRowKey:ko,expandType:Na,childrenColumnName:sa,locale:ra,getPopupContainer:Zo}=wt,Ho=(0,Oo.ln)("Table"),[Ko,vo]=fo(oa=>oa),[ho,Mo]=(0,Wr.Z)(An||Fn||ba,{value:An}),Go=x.useRef(new Map),ia=(0,x.useCallback)(oa=>{if(Yt){const Ca=new Map;oa.forEach(Xo=>{let Po=jo(Xo);!Po&&Go.current.has(Xo)&&(Po=Go.current.get(Xo)),Ca.set(Xo,Po)}),Go.current=Ca}},[jo,Yt]);x.useEffect(()=>{ia(ho)},[ho]);const Co=(0,x.useMemo)(()=>Ua(sa,Eo),[sa,Eo]),{keyEntities:es}=(0,x.useMemo)(()=>{if(uo)return{keyEntities:null};let oa=po;if(Yt){const Ca=new Set(Co.map((Po,ps)=>ko(Po,ps))),Xo=Array.from(Go.current).reduce((Po,ps)=>{let[Is,Gs]=ps;return Ca.has(Is)?Po:Po.concat(Gs)},[]);oa=[].concat((0,Qn.Z)(oa),(0,Qn.Z)(Xo))}return(0,xa.I8)(oa,{externalGetKey:ko,childrenPropName:sa})},[po,ko,uo,sa,Yt,Co]),Za=(0,x.useMemo)(()=>{const oa=new Map;return Co.forEach((Ca,Xo)=>{const Po=ko(Ca,Xo),ps=(Mn?Mn(Ca):null)||{};oa.set(Po,ps)}),oa},[Co,ko,Mn]),kl=(0,x.useCallback)(oa=>{const Ca=ko(oa);let Xo;return Za.has(Ca)?Xo=Za.get(ko(oa)):Xo=Mn?Mn(oa):void 0,!!(Xo!=null&&Xo.disabled)},[Za,ko]),[bl,al]=(0,x.useMemo)(()=>{if(uo)return[ho||[],[]];const{checkedKeys:oa,halfCheckedKeys:Ca}=(0,Uo.S)(ho,!0,es,kl);return[oa||[],Ca]},[ho,uo,es,kl]),co=(0,x.useMemo)(()=>{const oa=Dr==="radio"?bl.slice(0,1):bl;return new Set(oa)},[bl,Dr]),Xl=(0,x.useMemo)(()=>Dr==="radio"?new Set:new Set(al),[al,Dr]);x.useEffect(()=>{yt||Mo(ba)},[!!yt]);const us=(0,x.useCallback)((oa,Ca)=>{let Xo,Po;ia(oa),Yt?(Xo=oa,Po=oa.map(ps=>Go.current.get(ps))):(Xo=[],Po=[],oa.forEach(ps=>{const Is=jo(ps);Is!==void 0&&(Xo.push(ps),Po.push(Is))})),Mo(Xo),rr==null||rr(Xo,Po,{type:Ca})},[Mo,jo,rr,Yt]),as=(0,x.useCallback)((oa,Ca,Xo,Po)=>{if(er){const ps=Xo.map(Is=>jo(Is));er(jo(oa),Ca,ps,Po)}us(Xo,"single")},[er,jo,us]),rl=(0,x.useMemo)(()=>!Fr||to?null:(Fr===!0?[Sa,Ja,hs]:Fr).map(Ca=>Ca===Sa?{key:"all",text:ra.selectionAll,onSelect(){us(po.map((Xo,Po)=>ko(Xo,Po)).filter(Xo=>{const Po=Za.get(Xo);return!(Po!=null&&Po.disabled)||co.has(Xo)}),"all")}}:Ca===Ja?{key:"invert",text:ra.selectInvert,onSelect(){const Xo=new Set(co);Eo.forEach((ps,Is)=>{const Gs=ko(ps,Is),Ks=Za.get(Gs);Ks!=null&&Ks.disabled||(Xo.has(Gs)?Xo.delete(Gs):Xo.add(Gs))});const Po=Array.from(Xo);Ar&&(Ho.deprecated(!1,"onSelectInvert","onChange"),Ar(Po)),us(Po,"invert")}}:Ca===hs?{key:"none",text:ra.selectNone,onSelect(){li==null||li(),us(Array.from(co).filter(Xo=>{const Po=Za.get(Xo);return Po==null?void 0:Po.disabled}),"none")}}:Ca).map(Ca=>Object.assign(Object.assign({},Ca),{onSelect:function(){for(var Xo,Po,ps=arguments.length,Is=new Array(ps),Gs=0;Gs{var Ca;if(!yt)return oa.filter(ys=>ys!==$o);let Xo=(0,Qn.Z)(oa);const Po=new Set(co),ps=Co.map(ko).filter(ys=>!Za.get(ys).disabled),Is=ps.every(ys=>Po.has(ys)),Gs=ps.some(ys=>Po.has(ys)),Ks=()=>{const ys=[];Is?ps.forEach(ul=>{Po.delete(ul),ys.push(ul)}):ps.forEach(ul=>{Po.has(ul)||(Po.add(ul),ys.push(ul))});const ll=Array.from(Po);vr==null||vr(!Is,ll.map(ul=>jo(ul)),ys.map(ul=>jo(ul))),us(ll,"all"),vo(null)};let sl,mu;if(Dr!=="radio"){let ys;if(rl){const ws={getPopupContainer:Zo,items:rl.map((gl,Ls)=>{const{key:ml,text:Yl,onSelect:Ru}=gl;return{key:ml!=null?ml:Ls,onClick:()=>{Ru==null||Ru(ps)},label:Yl}})};ys=x.createElement("div",{className:`${qi}-selection-extra`},x.createElement(Qo.Z,{menu:ws,getPopupContainer:Zo},x.createElement("span",null,x.createElement(Di.Z,null))))}const ll=Co.map((ws,gl)=>{const Ls=ko(ws,gl),ml=Za.get(Ls)||{};return Object.assign({checked:Po.has(Ls)},ml)}).filter(ws=>{let{disabled:gl}=ws;return gl}),ul=!!ll.length&&ll.length===Co.length,du=ul&&ll.every(ws=>{let{checked:gl}=ws;return gl}),Ul=ul&&ll.some(ws=>{let{checked:gl}=ws;return gl});mu=x.createElement(ta.default,{checked:ul?du:!!Co.length&&Is,indeterminate:ul?!du&&Ul:!Is&&Gs,onChange:Ks,disabled:Co.length===0||ul,"aria-label":ys?"Custom selection":"Select all",skipGroup:!0}),sl=!to&&x.createElement("div",{className:`${qi}-selection`},mu,ys)}let la;Dr==="radio"?la=(ys,ll,ul)=>{const du=ko(ll,ul),Ul=Po.has(du),ws=Za.get(du);return{node:x.createElement(Jo.ZP,Object.assign({},ws,{checked:Ul,onClick:gl=>{var Ls;gl.stopPropagation(),(Ls=ws==null?void 0:ws.onClick)===null||Ls===void 0||Ls.call(ws,gl)},onChange:gl=>{var Ls;Po.has(du)||as(du,!0,[du],gl.nativeEvent),(Ls=ws==null?void 0:ws.onChange)===null||Ls===void 0||Ls.call(ws,gl)}})),checked:Ul}}:la=(ys,ll,ul)=>{var du;const Ul=ko(ll,ul),ws=Po.has(Ul),gl=Xl.has(Ul),Ls=Za.get(Ul);let ml;return Na==="nest"?ml=gl:ml=(du=Ls==null?void 0:Ls.indeterminate)!==null&&du!==void 0?du:gl,{node:x.createElement(ta.default,Object.assign({},Ls,{indeterminate:ml,checked:ws,skipGroup:!0,onClick:Yl=>{var Ru;Yl.stopPropagation(),(Ru=Ls==null?void 0:Ls.onClick)===null||Ru===void 0||Ru.call(Ls,Yl)},onChange:Yl=>{var Ru;const{nativeEvent:_u}=Yl,{shiftKey:Yc}=_u,cl=ps.findIndex(Ku=>Ku===Ul),Dd=bl.some(Ku=>ps.includes(Ku));if(Yc&&uo&&Dd){const Ku=Ko(cl,ps,Po),tc=Array.from(Po);_r==null||_r(!ws,tc.map(Zu=>jo(Zu)),Ku.map(Zu=>jo(Zu))),us(tc,"multiple")}else{const Ku=bl;if(uo){const tc=ws?(0,Ui._5)(Ku,Ul):(0,Ui.L0)(Ku,Ul);as(Ul,!ws,tc,_u)}else{const tc=(0,Uo.S)([].concat((0,Qn.Z)(Ku),[Ul]),!0,es,kl),{checkedKeys:Zu,halfCheckedKeys:nc}=tc;let Al=Zu;if(ws){const Cc=new Set(Zu);Cc.delete(Ul),Al=(0,Uo.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:nc},es,kl).checkedKeys}as(Ul,!ws,Al,_u)}}vo(ws?null:cl),(Ru=Ls==null?void 0:Ls.onChange)===null||Ru===void 0||Ru.call(Ls,Yl)}})),checked:ws}};const na=(ys,ll,ul)=>{const{node:du,checked:Ul}=la(ys,ll,ul);return mi?mi(Ul,ll,ul,du):du};if(!Xo.includes($o))if(Xo.findIndex(ys=>{var ll;return((ll=ys[Sr])===null||ll===void 0?void 0:ll.columnType)==="EXPAND_COLUMN"})===0){const[ys,...ll]=Xo;Xo=[ys,$o].concat((0,Qn.Z)(ll))}else Xo=[$o].concat((0,Qn.Z)(Xo));const Bs=Xo.indexOf($o);Xo=Xo.filter((ys,ll)=>ys!==$o||ll===Bs);const Js=Xo[Bs-1],Xs=Xo[Bs+1];let vu=Gi;vu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?vu=Xs.fixed:(Js==null?void 0:Js.fixed)!==void 0&&(vu=Js.fixed)),vu&&Js&&((Ca=Js[Sr])===null||Ca===void 0?void 0:Ca.columnType)==="EXPAND_COLUMN"&&Js.fixed===void 0&&(Js.fixed=vu);const Ml=De()(`${qi}-selection-col`,{[`${qi}-selection-col-with-dropdown`]:Fr&&Dr==="checkbox"}),fc=()=>yt!=null&&yt.columnTitle?typeof yt.columnTitle=="function"?yt.columnTitle(mu):yt.columnTitle:sl,Cl={fixed:vu,width:Qr,className:`${qi}-selection-column`,title:fc(),render:na,onCell:yt.onCell,[Sr]:{className:Ml}};return Xo.map(ys=>ys===$o?Cl:ys)},[ko,Co,yt,bl,co,Xl,Qr,rl,Na,Za,_r,as,kl]),co]},Ra=ae(2738);function ns(wt,yt){return wt._antProxy=wt._antProxy||{},Object.keys(yt).forEach(Yt=>{if(!(Yt in wt._antProxy)){const An=wt[Yt];wt._antProxy[Yt]=An,wt[Yt]=yt[Yt]}}),wt}function js(wt,yt){return(0,x.useImperativeHandle)(wt,()=>{const Yt=yt(),{nativeElement:An}=Yt;return typeof Proxy!="undefined"?new Proxy(An,{get(Fn,Mn){return Yt[Mn]?Yt[Mn]:Reflect.get(Fn,Mn)}}):ns(An,Yt)})}var tl=ae(83010),nl=ae(48755),au=ae(38406),su=ae(83397),Fs=ae(31756),Rl=ae(13783),Nu=ae(85981),xu=ae(31709),pl=ae(29787),Bu=ae(57700);function Dc(wt){return yt=>{const{prefixCls:Yt,onExpand:An,record:Fn,expanded:Mn,expandable:rr}=yt,er=`${Yt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:vr=>{An(Fn,vr),vr.stopPropagation()},className:De()(er,{[`${er}-spaced`]:!rr,[`${er}-expanded`]:rr&&Mn,[`${er}-collapsed`]:rr&&!Mn}),"aria-label":Mn?wt.collapse:wt.expand,"aria-expanded":Mn})}}var pa=Dc;function ka(wt){return(Yt,An)=>{const Fn=Yt.querySelector(`.${wt}-container`);let Mn=An;if(Fn){const rr=getComputedStyle(Fn),er=parseInt(rr.borderLeftWidth,10),vr=parseInt(rr.borderRightWidth,10);Mn=An-er-vr}return Mn}}const ha=(wt,yt)=>"key"in wt&&wt.key!==void 0&&wt.key!==null?wt.key:wt.dataIndex?Array.isArray(wt.dataIndex)?wt.dataIndex.join("."):wt.dataIndex:yt;function ma(wt,yt){return yt?`${yt}-${wt}`:`${wt}`}const qa=(wt,yt)=>typeof wt=="function"?wt(yt):wt,Ya=(wt,yt)=>{const Yt=qa(wt,yt);return Object.prototype.toString.call(Yt)==="[object Object]"?"":Yt};var Va={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"},Zl=Va,lu=ae(7657),Sl=function(yt,Yt){return x.createElement(lu.Z,(0,Ne.Z)({},yt,{ref:Yt,icon:Zl}))},Ou=x.forwardRef(Sl),fu=Ou,zi=ae(9981),zo=ae(40192);function ga(wt){const yt=x.useRef(wt),Yt=(0,zo.Z)();return[()=>yt.current,An=>{yt.current=An,Yt()}]}var hu=ae(7939),ol=ae(584),qu=ae(93041),Hu=ae(78857),Pu=ae(18287),vs=ae(47472),sc=ae(49397),Os=wt=>{const{value:yt,filterSearch:Yt,tablePrefixCls:An,locale:Fn,onChange:Mn}=wt;return Yt?x.createElement("div",{className:`${An}-filter-dropdown-search`},x.createElement(sc.Z,{prefix:x.createElement(vs.Z,null),placeholder:Fn.filterSearchPlaceholder,onChange:Mn,value:yt,htmlSize:1,className:`${An}-filter-dropdown-search-input`})):null},Pl=ae(10228);const Tu=wt=>{const{keyCode:yt}=wt;yt===Pl.Z.ENTER&&wt.stopPropagation()};var pu=x.forwardRef((wt,yt)=>x.createElement("div",{className:wt.className,onClick:Yt=>Yt.stopPropagation(),onKeyDown:Tu,ref:yt},wt.children));function Tl(wt){let yt=[];return(wt||[]).forEach(Yt=>{let{value:An,children:Fn}=Yt;yt.push(An),Fn&&(yt=[].concat((0,Qn.Z)(yt),(0,Qn.Z)(Tl(Fn))))}),yt}function Eu(wt){return wt.some(yt=>{let{children:Yt}=yt;return Yt})}function Fl(wt,yt){return typeof yt=="string"||typeof yt=="number"?yt==null?void 0:yt.toString().toLowerCase().includes(wt.trim().toLowerCase()):!1}function Il(wt){let{filters:yt,prefixCls:Yt,filteredKeys:An,filterMultiple:Fn,searchValue:Mn,filterSearch:rr}=wt;return yt.map((er,vr)=>{const Ar=String(er.value);if(er.children)return{key:Ar||vr,label:er.text,popupClassName:`${Yt}-dropdown-submenu`,children:Il({filters:er.children,prefixCls:Yt,filteredKeys:An,filterMultiple:Fn,searchValue:Mn,filterSearch:rr})};const li=Fn?ta.default:Jo.ZP,_r={key:er.value!==void 0?Ar:vr,label:x.createElement(x.Fragment,null,x.createElement(li,{checked:An.includes(Ar)}),x.createElement("span",null,er.text))};return Mn.trim()?typeof rr=="function"?rr(Mn,er)?_r:null:Fl(Mn,er.text)?_r:null:_r})}function Hs(wt){return wt||[]}var td=wt=>{var yt,Yt,An,Fn;const{tablePrefixCls:Mn,prefixCls:rr,column:er,dropdownPrefixCls:vr,columnKey:Ar,filterOnClose:li,filterMultiple:_r,filterMode:Qr="menu",filterSearch:Dr=!1,filterState:Fr,triggerFilter:Gi,locale:mi,children:to,getPopupContainer:uo,rootClassName:qi}=wt,{filterResetToDefaultFilteredValue:po,defaultFilteredValue:Eo,filterDropdownProps:jo={},filterDropdownOpen:ko,filterDropdownVisible:Na,onFilterDropdownVisibleChange:sa,onFilterDropdownOpenChange:ra}=er,[Zo,Ho]=x.useState(!1),Ko=!!(Fr&&(!((yt=Fr.filteredKeys)===null||yt===void 0)&&yt.length||Fr.forceFiltered)),vo=la=>{var na;Ho(la),(na=jo.onOpenChange)===null||na===void 0||na.call(jo,la),ra==null||ra(la),sa==null||sa(la)},ho=(Fn=(An=(Yt=jo.open)!==null&&Yt!==void 0?Yt:ko)!==null&&An!==void 0?An:Na)!==null&&Fn!==void 0?Fn:Zo,Mo=Fr==null?void 0:Fr.filteredKeys,[Go,ia]=ga(Hs(Mo)),Co=la=>{let{selectedKeys:na}=la;ia(na)},es=(la,na)=>{let{node:Bs,checked:Js}=na;Co(_r?{selectedKeys:la}:{selectedKeys:Js&&Bs.key?[Bs.key]:[]})};x.useEffect(()=>{Zo&&Co({selectedKeys:Hs(Mo)})},[Mo]);const[Za,kl]=x.useState([]),bl=la=>{kl(la)},[al,co]=x.useState(""),Xl=la=>{const{value:na}=la.target;co(na)};x.useEffect(()=>{Zo||co("")},[Zo]);const us=la=>{const na=la!=null&&la.length?la:null;if(na===null&&(!Fr||!Fr.filteredKeys)||(0,Ue.Z)(na,Fr==null?void 0:Fr.filteredKeys,!0))return null;Gi({column:er,key:Ar,filteredKeys:na})},as=()=>{vo(!1),us(Go())},rl=function(){let{confirm:la,closeDropdown:na}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};la&&us([]),na&&vo(!1),co(""),ia(po?(Eo||[]).map(Bs=>String(Bs)):[])},Au=function(){let{closeDropdown:la}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};la&&vo(!1),us(Go())},oa=(la,na)=>{na.source==="trigger"&&(la&&Mo!==void 0&&ia(Hs(Mo)),vo(la),!la&&!er.filterDropdown&&li&&as())},Ca=De()({[`${vr}-menu-without-submenu`]:!Eu(er.filters||[])}),Xo=la=>{if(la.target.checked){const na=Tl(er==null?void 0:er.filters).map(Bs=>String(Bs));ia(na)}else ia([])},Po=la=>{let{filters:na}=la;return(na||[]).map((Bs,Js)=>{const Xs=String(Bs.value),vu={title:Bs.text,key:Bs.value!==void 0?Xs:String(Js)};return Bs.children&&(vu.children=Po({filters:Bs.children})),vu})},ps=la=>{var na;return Object.assign(Object.assign({},la),{text:la.title,value:la.key,children:((na=la.children)===null||na===void 0?void 0:na.map(Bs=>ps(Bs)))||[]})};let Is;const{direction:Gs,renderEmpty:Ks}=x.useContext(nl.E_);if(typeof er.filterDropdown=="function")Is=er.filterDropdown({prefixCls:`${vr}-custom`,setSelectedKeys:la=>Co({selectedKeys:la}),selectedKeys:Go(),confirm:Au,clearFilters:rl,filters:er.filters,visible:ho,close:()=>{vo(!1)}});else if(er.filterDropdown)Is=er.filterDropdown;else{const la=Go()||[],na=()=>{var Js,Xs;const vu=(Js=Ks==null?void 0:Ks("Table.filter"))!==null&&Js!==void 0?Js:x.createElement(ol.Z,{image:ol.Z.PRESENTED_IMAGE_SIMPLE,description:mi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((er.filters||[]).length===0)return vu;if(Qr==="tree")return x.createElement(x.Fragment,null,x.createElement(Os,{filterSearch:Dr,value:al,onChange:Xl,tablePrefixCls:Mn,locale:mi}),x.createElement("div",{className:`${Mn}-filter-dropdown-tree`},_r?x.createElement(ta.default,{checked:la.length===Tl(er.filters).length,indeterminate:la.length>0&&la.lengthtypeof Dr=="function"?Dr(al,ps(Cl)):Fl(al,Cl.title):void 0})));const Ml=Il({filters:er.filters||[],filterSearch:Dr,prefixCls:rr,filteredKeys:Go(),filterMultiple:_r,searchValue:al}),fc=Ml.every(Cl=>Cl===null);return x.createElement(x.Fragment,null,x.createElement(Os,{filterSearch:Dr,value:al,onChange:Xl,tablePrefixCls:Mn,locale:mi}),fc?vu:x.createElement(qu.default,{selectable:!0,multiple:_r,prefixCls:`${vr}-menu`,className:Ca,onSelect:Co,onDeselect:Co,selectedKeys:la,getPopupContainer:uo,openKeys:Za,onOpenChange:bl,items:Ml}))},Bs=()=>po?(0,Ue.Z)((Eo||[]).map(Js=>String(Js)),la,!0):la.length===0;Is=x.createElement(x.Fragment,null,na(),x.createElement("div",{className:`${rr}-dropdown-btns`},x.createElement(hu.ZP,{type:"link",size:"small",disabled:Bs(),onClick:()=>rl()},mi.filterReset),x.createElement(hu.ZP,{type:"primary",size:"small",onClick:as},mi.filterConfirm)))}er.filterDropdown&&(Is=x.createElement(Hu.J,{selectable:void 0},Is)),Is=x.createElement(pu,{className:`${rr}-dropdown`},Is);const sl=()=>{let la;return typeof er.filterIcon=="function"?la=er.filterIcon(Ko):er.filterIcon?la=er.filterIcon:la=x.createElement(fu,null),x.createElement("span",{role:"button",tabIndex:-1,className:De()(`${rr}-trigger`,{active:Ko}),onClick:na=>{na.stopPropagation()}},la)},mu=(0,zi.Z)({trigger:["click"],placement:Gs==="rtl"?"bottomLeft":"bottomRight",children:sl(),getPopupContainer:uo},Object.assign(Object.assign({},jo),{rootClassName:De()(qi,jo.rootClassName),open:ho,onOpenChange:oa,dropdownRender:()=>typeof(jo==null?void 0:jo.dropdownRender)=="function"?jo.dropdownRender(Is):Is}));return x.createElement("div",{className:`${rr}-column`},x.createElement("span",{className:`${Mn}-column-title`},to),x.createElement(Qo.Z,Object.assign({},mu)))};const Wl=(wt,yt,Yt)=>{let An=[];return(wt||[]).forEach((Fn,Mn)=>{var rr;const er=ma(Mn,Yt);if(Fn.filters||"filterDropdown"in Fn||"onFilter"in Fn)if("filteredValue"in Fn){let vr=Fn.filteredValue;"filterDropdown"in Fn||(vr=(rr=vr==null?void 0:vr.map(String))!==null&&rr!==void 0?rr:vr),An.push({column:Fn,key:ha(Fn,er),filteredKeys:vr,forceFiltered:Fn.filtered})}else An.push({column:Fn,key:ha(Fn,er),filteredKeys:yt&&Fn.defaultFilteredValue?Fn.defaultFilteredValue:void 0,forceFiltered:Fn.filtered});"children"in Fn&&(An=[].concat((0,Qn.Z)(An),(0,Qn.Z)(Wl(Fn.children,yt,er))))}),An};function gu(wt,yt,Yt,An,Fn,Mn,rr,er,vr){return Yt.map((Ar,li)=>{const _r=ma(li,er),{filterOnClose:Qr=!0,filterMultiple:Dr=!0,filterMode:Fr,filterSearch:Gi}=Ar;let mi=Ar;if(mi.filters||mi.filterDropdown){const to=ha(mi,_r),uo=An.find(qi=>{let{key:po}=qi;return to===po});mi=Object.assign(Object.assign({},mi),{title:qi=>x.createElement(td,{tablePrefixCls:wt,prefixCls:`${wt}-filter`,dropdownPrefixCls:yt,column:mi,columnKey:to,filterState:uo,filterOnClose:Qr,filterMultiple:Dr,filterMode:Fr,filterSearch:Gi,triggerFilter:Mn,locale:Fn,getPopupContainer:rr,rootClassName:vr},qa(Ar.title,qi))})}return"children"in mi&&(mi=Object.assign(Object.assign({},mi),{children:gu(wt,yt,mi.children,An,Fn,Mn,rr,_r,vr)})),mi})}const La=wt=>{const yt={};return wt.forEach(Yt=>{let{key:An,filteredKeys:Fn,column:Mn}=Yt;const rr=An,{filters:er,filterDropdown:vr}=Mn;if(vr)yt[rr]=Fn||null;else if(Array.isArray(Fn)){const Ar=Tl(er);yt[rr]=Ar.filter(li=>Fn.includes(String(li)))}else yt[rr]=null}),yt},Da=(wt,yt,Yt)=>yt.reduce((Fn,Mn)=>{const{column:{onFilter:rr,filters:er},filteredKeys:vr}=Mn;return rr&&vr&&vr.length?Fn.map(Ar=>Object.assign({},Ar)).filter(Ar=>vr.some(li=>{const _r=Tl(er),Qr=_r.findIndex(Fr=>String(Fr)===String(li)),Dr=Qr!==-1?_r[Qr]:li;return Ar[Yt]&&(Ar[Yt]=Da(Ar[Yt],yt,Yt)),rr(Dr,Ar)})):Fn},wt),Rs=wt=>wt.flatMap(yt=>"children"in yt?[yt].concat((0,Qn.Z)(Rs(yt.children||[]))):[yt]);var Vl=wt=>{const{prefixCls:yt,dropdownPrefixCls:Yt,mergedColumns:An,onFilterChange:Fn,getPopupContainer:Mn,locale:rr,rootClassName:er}=wt,vr=(0,Oo.ln)("Table"),Ar=x.useMemo(()=>Rs(An||[]),[An]),[li,_r]=x.useState(()=>Wl(Ar,!0)),Qr=x.useMemo(()=>{const mi=Wl(Ar,!1);if(mi.length===0)return mi;let to=!0,uo=!0;if(mi.forEach(qi=>{let{filteredKeys:po}=qi;po!==void 0?to=!1:uo=!1}),to){const qi=(Ar||[]).map((po,Eo)=>ha(po,ma(Eo)));return li.filter(po=>{let{key:Eo}=po;return qi.includes(Eo)}).map(po=>{const Eo=Ar[qi.findIndex(jo=>jo===po.key)];return Object.assign(Object.assign({},po),{column:Object.assign(Object.assign({},po.column),Eo),forceFiltered:Eo.filtered})})}return mi},[Ar,li]),Dr=x.useMemo(()=>La(Qr),[Qr]),Fr=mi=>{const to=Qr.filter(uo=>{let{key:qi}=uo;return qi!==mi.key});to.push(mi),_r(to),Fn(La(to),to)};return[mi=>gu(yt,Yt,mi,Qr,rr,Fr,Mn,void 0,er),Qr,Dr]},Vc=(wt,yt,Yt)=>{const An=x.useRef({});function Fn(Mn){var rr;if(!An.current||An.current.data!==wt||An.current.childrenColumnName!==yt||An.current.getRowKey!==Yt){let vr=function(Ar){Ar.forEach((li,_r)=>{const Qr=Yt(li,_r);er.set(Qr,li),li&&typeof li=="object"&&yt in li&&vr(li[yt]||[])})};const er=new Map;vr(wt),An.current={data:wt,childrenColumnName:yt,kvMap:er,getRowKey:Yt}}return(rr=An.current.kvMap)===null||rr===void 0?void 0:rr.get(Mn)}return[Fn]},wc=function(wt,yt){var Yt={};for(var An in wt)Object.prototype.hasOwnProperty.call(wt,An)&&yt.indexOf(An)<0&&(Yt[An]=wt[An]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,An=Object.getOwnPropertySymbols(wt);Fn{const Mn=wt[Fn];typeof Mn!="function"&&(Yt[Fn]=Mn)}),Yt}function bc(wt,yt,Yt){const An=Yt&&typeof Yt=="object"?Yt:{},{total:Fn=0}=An,Mn=wc(An,["total"]),[rr,er]=(0,x.useState)(()=>({current:"defaultCurrent"in Mn?Mn.defaultCurrent:1,pageSize:"defaultPageSize"in Mn?Mn.defaultPageSize:pA})),vr=(0,zi.Z)(rr,Mn,{total:Fn>0?Fn:wt}),Ar=Math.ceil((Fn||wt)/vr.pageSize);vr.current>Ar&&(vr.current=Ar||1);const li=(Qr,Dr)=>{er({current:Qr!=null?Qr:1,pageSize:Dr||vr.pageSize})},_r=(Qr,Dr)=>{var Fr;Yt&&((Fr=Yt.onChange)===null||Fr===void 0||Fr.call(Yt,Qr,Dr)),li(Qr,Dr),yt(Qr,Dr||(vr==null?void 0:vr.pageSize))};return Yt===!1?[{},()=>{}]:[Object.assign(Object.assign({},vr),{onChange:_r}),li]}var iA=bc,oA=ae(89489),Ed=ae(59477),Jf=ae(25399);const nd="ascend",PA="descend",gA=wt=>typeof wt.sorter=="object"&&typeof wt.sorter.multiple=="number"?wt.sorter.multiple:!1,ku=wt=>typeof wt=="function"?wt:wt&&typeof wt=="object"&&wt.compare?wt.compare:!1,TA=(wt,yt)=>yt?wt[wt.indexOf(yt)+1]:wt[0],aA=(wt,yt,Yt)=>{let An=[];const Fn=(Mn,rr)=>{An.push({column:Mn,key:ha(Mn,rr),multiplePriority:gA(Mn),sortOrder:Mn.sortOrder})};return(wt||[]).forEach((Mn,rr)=>{const er=ma(rr,Yt);Mn.children?("sortOrder"in Mn&&Fn(Mn,er),An=[].concat((0,Qn.Z)(An),(0,Qn.Z)(aA(Mn.children,yt,er)))):Mn.sorter&&("sortOrder"in Mn?Fn(Mn,er):yt&&Mn.defaultSortOrder&&An.push({column:Mn,key:ha(Mn,er),multiplePriority:gA(Mn),sortOrder:Mn.defaultSortOrder}))}),An},Sd=(wt,yt,Yt,An,Fn,Mn,rr,er)=>(yt||[]).map((Ar,li)=>{const _r=ma(li,er);let Qr=Ar;if(Qr.sorter){const Dr=Qr.sortDirections||Fn,Fr=Qr.showSorterTooltip===void 0?rr:Qr.showSorterTooltip,Gi=ha(Qr,_r),mi=Yt.find(sa=>{let{key:ra}=sa;return ra===Gi}),to=mi?mi.sortOrder:null,uo=TA(Dr,to);let qi;if(Ar.sortIcon)qi=Ar.sortIcon({sortOrder:to});else{const sa=Dr.includes(nd)&&x.createElement(Ed.Z,{className:De()(`${wt}-column-sorter-up`,{active:to===nd})}),ra=Dr.includes(PA)&&x.createElement(oA.Z,{className:De()(`${wt}-column-sorter-down`,{active:to===PA})});qi=x.createElement("span",{className:De()(`${wt}-column-sorter`,{[`${wt}-column-sorter-full`]:!!(sa&&ra)})},x.createElement("span",{className:`${wt}-column-sorter-inner`,"aria-hidden":"true"},sa,ra))}const{cancelSort:po,triggerAsc:Eo,triggerDesc:jo}=Mn||{};let ko=po;uo===PA?ko=jo:uo===nd&&(ko=Eo);const Na=typeof Fr=="object"?Object.assign({title:ko},Fr):{title:ko};Qr=Object.assign(Object.assign({},Qr),{className:De()(Qr.className,{[`${wt}-column-sort`]:to}),title:sa=>{const ra=`${wt}-column-sorters`,Zo=x.createElement("span",{className:`${wt}-column-title`},qa(Ar.title,sa)),Ho=x.createElement("div",{className:ra},Zo,qi);return Fr?typeof Fr!="boolean"&&(Fr==null?void 0:Fr.target)==="sorter-icon"?x.createElement("div",{className:`${ra} ${wt}-column-sorters-tooltip-target-sorter`},Zo,x.createElement(Jf.Z,Object.assign({},Na),qi)):x.createElement(Jf.Z,Object.assign({},Na),Ho):Ho},onHeaderCell:sa=>{var ra;const Zo=((ra=Ar.onHeaderCell)===null||ra===void 0?void 0:ra.call(Ar,sa))||{},Ho=Zo.onClick,Ko=Zo.onKeyDown;Zo.onClick=Mo=>{An({column:Ar,key:Gi,sortOrder:uo,multiplePriority:gA(Ar)}),Ho==null||Ho(Mo)},Zo.onKeyDown=Mo=>{Mo.keyCode===Pl.Z.ENTER&&(An({column:Ar,key:Gi,sortOrder:uo,multiplePriority:gA(Ar)}),Ko==null||Ko(Mo))};const vo=Ya(Ar.title,{}),ho=vo==null?void 0:vo.toString();return to&&(Zo["aria-sort"]=to==="ascend"?"ascending":"descending"),Zo["aria-label"]=ho||"",Zo.className=De()(Zo.className,`${wt}-column-has-sorters`),Zo.tabIndex=0,Ar.ellipsis&&(Zo.title=(vo!=null?vo:"").toString()),Zo}})}return"children"in Qr&&(Qr=Object.assign(Object.assign({},Qr),{children:Sd(wt,Qr.children,Yt,An,Fn,Mn,rr,_r)})),Qr}),qf=wt=>{const{column:yt,sortOrder:Yt}=wt;return{column:yt,order:Yt,field:yt.dataIndex,columnKey:yt.key}},Ps=wt=>{const yt=wt.filter(Yt=>{let{sortOrder:An}=Yt;return An}).map(qf);if(yt.length===0&&wt.length){const Yt=wt.length-1;return Object.assign(Object.assign({},qf(wt[Yt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return yt.length<=1?yt[0]||{}:yt},ec=(wt,yt,Yt)=>{const An=yt.slice().sort((rr,er)=>er.multiplePriority-rr.multiplePriority),Fn=wt.slice(),Mn=An.filter(rr=>{let{column:{sorter:er},sortOrder:vr}=rr;return ku(er)&&vr});return Mn.length?Fn.sort((rr,er)=>{for(let vr=0;vr{const er=rr[Yt];return er?Object.assign(Object.assign({},rr),{[Yt]:ec(er,yt,Yt)}):rr}):Fn};var Th=wt=>{const{prefixCls:yt,mergedColumns:Yt,sortDirections:An,tableLocale:Fn,showSorterTooltip:Mn,onSorterChange:rr}=wt,[er,vr]=x.useState(aA(Yt,!0)),Ar=(Gi,mi)=>{const to=[];return Gi.forEach((uo,qi)=>{const po=ma(qi,mi);if(to.push(ha(uo,po)),Array.isArray(uo.children)){const Eo=Ar(uo.children,po);to.push.apply(to,(0,Qn.Z)(Eo))}}),to},li=x.useMemo(()=>{let Gi=!0;const mi=aA(Yt,!1);if(!mi.length){const po=Ar(Yt);return er.filter(Eo=>{let{key:jo}=Eo;return po.includes(jo)})}const to=[];function uo(po){Gi?to.push(po):to.push(Object.assign(Object.assign({},po),{sortOrder:null}))}let qi=null;return mi.forEach(po=>{qi===null?(uo(po),po.sortOrder&&(po.multiplePriority===!1?Gi=!1:qi=!0)):(qi&&po.multiplePriority!==!1||(Gi=!1),uo(po))}),to},[Yt,er]),_r=x.useMemo(()=>{var Gi,mi;const to=li.map(uo=>{let{column:qi,sortOrder:po}=uo;return{column:qi,order:po}});return{sortColumns:to,sortColumn:(Gi=to[0])===null||Gi===void 0?void 0:Gi.column,sortOrder:(mi=to[0])===null||mi===void 0?void 0:mi.order}},[li]),Qr=Gi=>{let mi;Gi.multiplePriority===!1||!li.length||li[0].multiplePriority===!1?mi=[Gi]:mi=[].concat((0,Qn.Z)(li.filter(to=>{let{key:uo}=to;return uo!==Gi.key})),[Gi]),vr(mi),rr(Ps(mi),mi)};return[Gi=>Sd(yt,Gi,li,Qr,An,Fn,Mn),li,_r,()=>Ps(li)]};const Gc=(wt,yt)=>wt.map(An=>{const Fn=Object.assign({},An);return Fn.title=qa(An.title,yt),"children"in Fn&&(Fn.children=Gc(Fn.children,yt)),Fn});var Fd=wt=>[x.useCallback(Yt=>Gc(Yt,wt),[wt])],bf=Ji((wt,yt)=>{const{_renderTimes:Yt}=wt,{_renderTimes:An}=yt;return Yt!==An}),Xc=Jr((wt,yt)=>{const{_renderTimes:Yt}=wt,{_renderTimes:An}=yt;return Yt!==An}),ya=ae(36237),_l=ae(17835),Mc=ae(63356),rd=ae(16931),kA=ae(51636),MA=wt=>{const{componentCls:yt,lineWidth:Yt,lineType:An,tableBorderColor:Fn,tableHeaderBg:Mn,tablePaddingVertical:rr,tablePaddingHorizontal:er,calc:vr}=wt,Ar=`${(0,ya.unit)(Yt)} ${An} ${Fn}`,li=(_r,Qr,Dr)=>({[`&${yt}-${_r}`]:{[`> ${yt}-container`]:{[`> ${yt}-content, > ${yt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${yt}-expanded-row-fixed`]:{margin:`${(0,ya.unit)(vr(Qr).mul(-1).equal())} ${(0,ya.unit)(vr(vr(Dr).add(Yt)).mul(-1).equal())}`}}}}}});return{[`${yt}-wrapper`]:{[`${yt}${yt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${yt}-title`]:{border:Ar,borderBottom:0},[`> ${yt}-container`]:{borderInlineStart:Ar,borderTop:Ar,[` > ${yt}-content, > ${yt}-header, @@ -1063,7 +1063,7 @@ `]:{"> th, > td":{borderInlineEnd:0}}}}}},li("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle)),li("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall)),{[`> ${yt}-footer`]:{border:Ar,borderTop:0}}),[`${yt}-cell`]:{[`${yt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ya.unit)(Yt)} 0 ${(0,ya.unit)(Yt)} ${Mn}`}},[`${yt}-bordered ${yt}-cell-scrollbar`]:{borderInlineEnd:Ar}}}},Uc=wt=>{const{componentCls:yt}=wt;return{[`${yt}-wrapper`]:{[`${yt}-cell-ellipsis`]:Object.assign(Object.assign({},Mc.vS),{wordBreak:"keep-all",[` &${yt}-cell-fix-left-last, &${yt}-cell-fix-right-first - `]:{overflow:"visible",[`${yt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${yt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zp=wt=>{const{componentCls:yt}=wt;return{[`${yt}-wrapper`]:{[`${yt}-tbody > tr${yt}-placeholder`]:{textAlign:"center",color:wt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:wt.colorBgContainer}}}}},Nc=wt=>{const{componentCls:yt,antCls:Yt,motionDurationSlow:An,lineWidth:Fn,paddingXS:Mn,lineType:rr,tableBorderColor:er,tableExpandIconBg:vr,tableExpandColumnWidth:Ar,borderRadius:li,tablePaddingVertical:Qr,tablePaddingHorizontal:_r,tableExpandedRowBg:Dr,paddingXXS:Fr,expandIconMarginTop:Gi,expandIconSize:mi,expandIconHalfInner:to,expandIconScale:uo,calc:qi}=wt,po=`${(0,ya.unit)(Fn)} ${rr} ${er}`,Eo=qi(Fr).sub(Fn).equal();return{[`${yt}-wrapper`]:{[`${yt}-expand-icon-col`]:{width:Ar},[`${yt}-row-expand-icon-cell`]:{textAlign:"center",[`${yt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${yt}-row-indent`]:{height:1,float:"left"},[`${yt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Mc.Nd)(wt)),{position:"relative",float:"left",width:mi,height:mi,color:"inherit",lineHeight:(0,ya.unit)(mi),background:vr,border:po,borderRadius:li,transform:`scale(${uo})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${An} ease-out`,content:'""'},"&::before":{top:to,insetInlineEnd:Eo,insetInlineStart:Eo,height:Fn},"&::after":{top:Eo,bottom:Eo,insetInlineStart:to,width:Fn,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"}}),[`${yt}-row-indent + ${yt}-row-expand-icon`]:{marginTop:Gi,marginInlineEnd:Mn},[`tr${yt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Dr}},[`${Yt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${yt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ya.unit)(qi(Qr).mul(-1).equal())} ${(0,ya.unit)(qi(_r).mul(-1).equal())}`,padding:`${(0,ya.unit)(Qr)} ${(0,ya.unit)(_r)}`}}}},zs=wt=>{const{componentCls:yt,antCls:Yt,iconCls:An,tableFilterDropdownWidth:Fn,tableFilterDropdownSearchWidth:Mn,paddingXXS:rr,paddingXS:er,colorText:vr,lineWidth:Ar,lineType:li,tableBorderColor:Qr,headerIconColor:_r,fontSizeSM:Dr,tablePaddingHorizontal:Fr,borderRadius:Gi,motionDurationSlow:mi,colorTextDescription:to,colorPrimary:uo,tableHeaderFilterActiveBg:qi,colorTextDisabled:po,tableFilterDropdownBg:Eo,tableFilterDropdownHeight:jo,controlItemBgHover:ko,controlItemBgActive:Na,boxShadowSecondary:sa,filterDropdownMenuBg:ra,calc:Zo}=wt,Ho=`${Yt}-dropdown`,Ko=`${yt}-filter-dropdown`,vo=`${Yt}-tree`,ho=`${(0,ya.unit)(Ar)} ${li} ${Qr}`;return[{[`${yt}-wrapper`]:{[`${yt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${yt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Zo(rr).mul(-1).equal(),marginInline:`${(0,ya.unit)(rr)} ${(0,ya.unit)(Zo(Fr).div(2).mul(-1).equal())}`,padding:`0 ${(0,ya.unit)(rr)}`,color:_r,fontSize:Dr,borderRadius:Gi,cursor:"pointer",transition:`all ${mi}`,"&:hover":{color:to,background:qi},"&.active":{color:uo}}}},{[`${Yt}-dropdown`]:{[Ko]:Object.assign(Object.assign({},(0,Mc.Wf)(wt)),{minWidth:Fn,backgroundColor:Eo,borderRadius:Gi,boxShadow:sa,overflow:"hidden",[`${Ho}-menu`]:{maxHeight:jo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ra,"&:empty::after":{display:"block",padding:`${(0,ya.unit)(er)} 0`,color:po,fontSize:Dr,textAlign:"center",content:'"Not Found"'}},[`${Ko}-tree`]:{paddingBlock:`${(0,ya.unit)(er)} 0`,paddingInline:er,[vo]:{padding:0},[`${vo}-treenode ${vo}-node-content-wrapper:hover`]:{backgroundColor:ko},[`${vo}-treenode-checkbox-checked ${vo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Na}}},[`${Ko}-search`]:{padding:er,borderBottom:ho,"&-input":{input:{minWidth:Mn},[An]:{color:po}}},[`${Ko}-checkall`]:{width:"100%",marginBottom:rr,marginInlineStart:rr},[`${Ko}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ya.unit)(Zo(er).sub(Ar).equal())} ${(0,ya.unit)(er)}`,overflow:"hidden",borderTop:ho}})}},{[`${Yt}-dropdown ${Ko}, ${Ko}-submenu`]:{[`${Yt}-checkbox-wrapper + span`]:{paddingInlineStart:er,color:vr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},od=wt=>{const{componentCls:yt,lineWidth:Yt,colorSplit:An,motionDurationSlow:Fn,zIndexTableFixed:Mn,tableBg:rr,zIndexTableSticky:er,calc:vr}=wt,Ar=An;return{[`${yt}-wrapper`]:{[` + `]:{overflow:"visible",[`${yt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${yt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zp=wt=>{const{componentCls:yt}=wt;return{[`${yt}-wrapper`]:{[`${yt}-tbody > tr${yt}-placeholder`]:{textAlign:"center",color:wt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:wt.colorBgContainer}}}}},Nc=wt=>{const{componentCls:yt,antCls:Yt,motionDurationSlow:An,lineWidth:Fn,paddingXS:Mn,lineType:rr,tableBorderColor:er,tableExpandIconBg:vr,tableExpandColumnWidth:Ar,borderRadius:li,tablePaddingVertical:_r,tablePaddingHorizontal:Qr,tableExpandedRowBg:Dr,paddingXXS:Fr,expandIconMarginTop:Gi,expandIconSize:mi,expandIconHalfInner:to,expandIconScale:uo,calc:qi}=wt,po=`${(0,ya.unit)(Fn)} ${rr} ${er}`,Eo=qi(Fr).sub(Fn).equal();return{[`${yt}-wrapper`]:{[`${yt}-expand-icon-col`]:{width:Ar},[`${yt}-row-expand-icon-cell`]:{textAlign:"center",[`${yt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${yt}-row-indent`]:{height:1,float:"left"},[`${yt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Mc.Nd)(wt)),{position:"relative",float:"left",width:mi,height:mi,color:"inherit",lineHeight:(0,ya.unit)(mi),background:vr,border:po,borderRadius:li,transform:`scale(${uo})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${An} ease-out`,content:'""'},"&::before":{top:to,insetInlineEnd:Eo,insetInlineStart:Eo,height:Fn},"&::after":{top:Eo,bottom:Eo,insetInlineStart:to,width:Fn,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"}}),[`${yt}-row-indent + ${yt}-row-expand-icon`]:{marginTop:Gi,marginInlineEnd:Mn},[`tr${yt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Dr}},[`${Yt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${yt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ya.unit)(qi(_r).mul(-1).equal())} ${(0,ya.unit)(qi(Qr).mul(-1).equal())}`,padding:`${(0,ya.unit)(_r)} ${(0,ya.unit)(Qr)}`}}}},zs=wt=>{const{componentCls:yt,antCls:Yt,iconCls:An,tableFilterDropdownWidth:Fn,tableFilterDropdownSearchWidth:Mn,paddingXXS:rr,paddingXS:er,colorText:vr,lineWidth:Ar,lineType:li,tableBorderColor:_r,headerIconColor:Qr,fontSizeSM:Dr,tablePaddingHorizontal:Fr,borderRadius:Gi,motionDurationSlow:mi,colorTextDescription:to,colorPrimary:uo,tableHeaderFilterActiveBg:qi,colorTextDisabled:po,tableFilterDropdownBg:Eo,tableFilterDropdownHeight:jo,controlItemBgHover:ko,controlItemBgActive:Na,boxShadowSecondary:sa,filterDropdownMenuBg:ra,calc:Zo}=wt,Ho=`${Yt}-dropdown`,Ko=`${yt}-filter-dropdown`,vo=`${Yt}-tree`,ho=`${(0,ya.unit)(Ar)} ${li} ${_r}`;return[{[`${yt}-wrapper`]:{[`${yt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${yt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Zo(rr).mul(-1).equal(),marginInline:`${(0,ya.unit)(rr)} ${(0,ya.unit)(Zo(Fr).div(2).mul(-1).equal())}`,padding:`0 ${(0,ya.unit)(rr)}`,color:Qr,fontSize:Dr,borderRadius:Gi,cursor:"pointer",transition:`all ${mi}`,"&:hover":{color:to,background:qi},"&.active":{color:uo}}}},{[`${Yt}-dropdown`]:{[Ko]:Object.assign(Object.assign({},(0,Mc.Wf)(wt)),{minWidth:Fn,backgroundColor:Eo,borderRadius:Gi,boxShadow:sa,overflow:"hidden",[`${Ho}-menu`]:{maxHeight:jo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ra,"&:empty::after":{display:"block",padding:`${(0,ya.unit)(er)} 0`,color:po,fontSize:Dr,textAlign:"center",content:'"Not Found"'}},[`${Ko}-tree`]:{paddingBlock:`${(0,ya.unit)(er)} 0`,paddingInline:er,[vo]:{padding:0},[`${vo}-treenode ${vo}-node-content-wrapper:hover`]:{backgroundColor:ko},[`${vo}-treenode-checkbox-checked ${vo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Na}}},[`${Ko}-search`]:{padding:er,borderBottom:ho,"&-input":{input:{minWidth:Mn},[An]:{color:po}}},[`${Ko}-checkall`]:{width:"100%",marginBottom:rr,marginInlineStart:rr},[`${Ko}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ya.unit)(Zo(er).sub(Ar).equal())} ${(0,ya.unit)(er)}`,overflow:"hidden",borderTop:ho}})}},{[`${Yt}-dropdown ${Ko}, ${Ko}-submenu`]:{[`${Yt}-checkbox-wrapper + span`]:{paddingInlineStart:er,color:vr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},od=wt=>{const{componentCls:yt,lineWidth:Yt,colorSplit:An,motionDurationSlow:Fn,zIndexTableFixed:Mn,tableBg:rr,zIndexTableSticky:er,calc:vr}=wt,Ar=An;return{[`${yt}-wrapper`]:{[` ${yt}-cell-fix-left, ${yt}-cell-fix-right `]:{position:"sticky !important",zIndex:Mn,background:rr},[` @@ -1083,11 +1083,11 @@ ${yt}-cell-fix-left-last::after, ${yt}-cell-fix-right-first::after, ${yt}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},wA=wt=>{const{componentCls:yt,antCls:Yt,margin:An}=wt;return{[`${yt}-wrapper`]:{[`${yt}-pagination${Yt}-pagination`]:{margin:`${(0,ya.unit)(An)} 0`},[`${yt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:wt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=wt=>{const{componentCls:yt,tableRadius:Yt}=wt;return{[`${yt}-wrapper`]:{[yt]:{[`${yt}-title, ${yt}-header`]:{borderRadius:`${(0,ya.unit)(Yt)} ${(0,ya.unit)(Yt)} 0 0`},[`${yt}-title + ${yt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${yt}-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:Yt,borderStartEndRadius:Yt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Yt},"> *:last-child":{borderStartEndRadius:Yt}}},"&-footer":{borderRadius:`0 0 ${(0,ya.unit)(Yt)} ${(0,ya.unit)(Yt)}`}}}}},Mh=wt=>{const{componentCls:yt}=wt;return{[`${yt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${yt}-pagination-left`]:{justifyContent:"flex-end"},[`${yt}-pagination-right`]:{justifyContent:"flex-start"},[`${yt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${yt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${yt}-row-indent`]:{float:"right"}}}}},cc=wt=>{const{componentCls:yt,antCls:Yt,iconCls:An,fontSizeIcon:Fn,padding:Mn,paddingXS:rr,headerIconColor:er,headerIconHoverColor:vr,tableSelectionColumnWidth:Ar,tableSelectedRowBg:li,tableSelectedRowHoverBg:Qr,tableRowHoverBg:_r,tablePaddingHorizontal:Dr,calc:Fr}=wt;return{[`${yt}-wrapper`]:{[`${yt}-selection-col`]:{width:Ar,[`&${yt}-selection-col-with-dropdown`]:{width:Fr(Ar).add(Fn).add(Fr(Mn).div(4)).equal()}},[`${yt}-bordered ${yt}-selection-col`]:{width:Fr(Ar).add(Fr(rr).mul(2)).equal(),[`&${yt}-selection-col-with-dropdown`]:{width:Fr(Ar).add(Fn).add(Fr(Mn).div(4)).add(Fr(rr).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},wA=wt=>{const{componentCls:yt,antCls:Yt,margin:An}=wt;return{[`${yt}-wrapper`]:{[`${yt}-pagination${Yt}-pagination`]:{margin:`${(0,ya.unit)(An)} 0`},[`${yt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:wt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=wt=>{const{componentCls:yt,tableRadius:Yt}=wt;return{[`${yt}-wrapper`]:{[yt]:{[`${yt}-title, ${yt}-header`]:{borderRadius:`${(0,ya.unit)(Yt)} ${(0,ya.unit)(Yt)} 0 0`},[`${yt}-title + ${yt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${yt}-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:Yt,borderStartEndRadius:Yt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Yt},"> *:last-child":{borderStartEndRadius:Yt}}},"&-footer":{borderRadius:`0 0 ${(0,ya.unit)(Yt)} ${(0,ya.unit)(Yt)}`}}}}},Mh=wt=>{const{componentCls:yt}=wt;return{[`${yt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${yt}-pagination-left`]:{justifyContent:"flex-end"},[`${yt}-pagination-right`]:{justifyContent:"flex-start"},[`${yt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${yt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${yt}-row-indent`]:{float:"right"}}}}},cc=wt=>{const{componentCls:yt,antCls:Yt,iconCls:An,fontSizeIcon:Fn,padding:Mn,paddingXS:rr,headerIconColor:er,headerIconHoverColor:vr,tableSelectionColumnWidth:Ar,tableSelectedRowBg:li,tableSelectedRowHoverBg:_r,tableRowHoverBg:Qr,tablePaddingHorizontal:Dr,calc:Fr}=wt;return{[`${yt}-wrapper`]:{[`${yt}-selection-col`]:{width:Ar,[`&${yt}-selection-col-with-dropdown`]:{width:Fr(Ar).add(Fn).add(Fr(Mn).div(4)).equal()}},[`${yt}-bordered ${yt}-selection-col`]:{width:Fr(Ar).add(Fr(rr).mul(2)).equal(),[`&${yt}-selection-col-with-dropdown`]:{width:Fr(Ar).add(Fn).add(Fr(Mn).div(4)).add(Fr(rr).mul(2)).equal()}},[` table tr th${yt}-selection-column, table tr td${yt}-selection-column, ${yt}-selection-column - `]:{paddingInlineEnd:wt.paddingXS,paddingInlineStart:wt.paddingXS,textAlign:"center",[`${Yt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${yt}-selection-column${yt}-cell-fix-left`]:{zIndex:Fr(wt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${yt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${yt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${yt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ya.unit)(Fr(Dr).div(4).equal()),[An]:{color:er,fontSize:Fn,verticalAlign:"baseline","&:hover":{color:vr}}},[`${yt}-tbody`]:{[`${yt}-row`]:{[`&${yt}-row-selected`]:{[`> ${yt}-cell`]:{background:li,"&-row-hover":{background:Qr}}},[`> ${yt}-cell-row-hover`]:{background:_r}}}}}},up=wt=>{const{componentCls:yt,tableExpandColumnWidth:Yt,calc:An}=wt,Fn=(Mn,rr,er,vr)=>({[`${yt}${yt}-${Mn}`]:{fontSize:vr,[` + `]:{paddingInlineEnd:wt.paddingXS,paddingInlineStart:wt.paddingXS,textAlign:"center",[`${Yt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${yt}-selection-column${yt}-cell-fix-left`]:{zIndex:Fr(wt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${yt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${yt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${yt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ya.unit)(Fr(Dr).div(4).equal()),[An]:{color:er,fontSize:Fn,verticalAlign:"baseline","&:hover":{color:vr}}},[`${yt}-tbody`]:{[`${yt}-row`]:{[`&${yt}-row-selected`]:{[`> ${yt}-cell`]:{background:li,"&-row-hover":{background:_r}}},[`> ${yt}-cell-row-hover`]:{background:Qr}}}}}},up=wt=>{const{componentCls:yt,tableExpandColumnWidth:Yt,calc:An}=wt,Fn=(Mn,rr,er,vr)=>({[`${yt}${yt}-${Mn}`]:{fontSize:vr,[` ${yt}-title, ${yt}-footer, ${yt}-cell, @@ -1099,72 +1099,72 @@ `]:{padding:`${(0,ya.unit)(rr)} ${(0,ya.unit)(er)}`},[`${yt}-filter-trigger`]:{marginInlineEnd:(0,ya.unit)(An(er).div(2).mul(-1).equal())},[`${yt}-expanded-row-fixed`]:{margin:`${(0,ya.unit)(An(rr).mul(-1).equal())} ${(0,ya.unit)(An(er).mul(-1).equal())}`},[`${yt}-tbody`]:{[`${yt}-wrapper:only-child ${yt}`]:{marginBlock:(0,ya.unit)(An(rr).mul(-1).equal()),marginInline:`${(0,ya.unit)(An(Yt).sub(er).equal())} ${(0,ya.unit)(An(er).mul(-1).equal())}`}},[`${yt}-selection-extra`]:{paddingInlineStart:(0,ya.unit)(An(er).div(4).equal())}}});return{[`${yt}-wrapper`]:Object.assign(Object.assign({},Fn("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle,wt.tableFontSizeMiddle)),Fn("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall,wt.tableFontSizeSmall))}},Xd=wt=>{const{componentCls:yt,marginXXS:Yt,fontSizeIcon:An,headerIconColor:Fn,headerIconHoverColor:Mn}=wt;return{[`${yt}-wrapper`]:{[`${yt}-thead th${yt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${wt.motionDurationSlow}, left 0s`,"&:hover":{background:wt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:wt.colorPrimary},[` &${yt}-cell-fix-left:hover, &${yt}-cell-fix-right:hover - `]:{background:wt.tableFixedHeaderSortActiveBg}},[`${yt}-thead th${yt}-column-sort`]:{background:wt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${yt}-column-sort`]:{background:wt.tableBodySortBg},[`${yt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${yt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${yt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${yt}-column-sorter`]:{marginInlineStart:Yt,color:Fn,fontSize:0,transition:`color ${wt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:An,"&.active":{color:wt.colorPrimary}},[`${yt}-column-sorter-up + ${yt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${yt}-column-sorters:hover ${yt}-column-sorter`]:{color:Mn}}}},Yd=wt=>{const{componentCls:yt,opacityLoading:Yt,tableScrollThumbBg:An,tableScrollThumbBgHover:Fn,tableScrollThumbSize:Mn,tableScrollBg:rr,zIndexTableSticky:er,stickyScrollBarBorderRadius:vr,lineWidth:Ar,lineType:li,tableBorderColor:Qr}=wt,_r=`${(0,ya.unit)(Ar)} ${li} ${Qr}`;return{[`${yt}-wrapper`]:{[`${yt}-sticky`]:{"&-holder":{position:"sticky",zIndex:er,background:wt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ya.unit)(Mn)} !important`,zIndex:er,display:"flex",alignItems:"center",background:rr,borderTop:_r,opacity:Yt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Mn,backgroundColor:An,borderRadius:vr,transition:`all ${wt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Fn}}}}}}},Ac=wt=>{const{componentCls:yt,lineWidth:Yt,tableBorderColor:An,calc:Fn}=wt,Mn=`${(0,ya.unit)(Yt)} ${wt.lineType} ${An}`;return{[`${yt}-wrapper`]:{[`${yt}-summary`]:{position:"relative",zIndex:wt.zIndexTableFixed,background:wt.tableBg,"> tr":{"> th, > td":{borderBottom:Mn}}},[`div${yt}-summary`]:{boxShadow:`0 ${(0,ya.unit)(Fn(Yt).mul(-1).equal())} 0 ${An}`}}}},dc=wt=>{const{componentCls:yt,motionDurationMid:Yt,lineWidth:An,lineType:Fn,tableBorderColor:Mn,calc:rr}=wt,er=`${(0,ya.unit)(An)} ${Fn} ${Mn}`,vr=`${yt}-expanded-row-cell`;return{[`${yt}-wrapper`]:{[`${yt}-tbody-virtual`]:{[`${yt}-tbody-virtual-holder-inner`]:{[` + `]:{background:wt.tableFixedHeaderSortActiveBg}},[`${yt}-thead th${yt}-column-sort`]:{background:wt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${yt}-column-sort`]:{background:wt.tableBodySortBg},[`${yt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${yt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${yt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${yt}-column-sorter`]:{marginInlineStart:Yt,color:Fn,fontSize:0,transition:`color ${wt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:An,"&.active":{color:wt.colorPrimary}},[`${yt}-column-sorter-up + ${yt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${yt}-column-sorters:hover ${yt}-column-sorter`]:{color:Mn}}}},Yd=wt=>{const{componentCls:yt,opacityLoading:Yt,tableScrollThumbBg:An,tableScrollThumbBgHover:Fn,tableScrollThumbSize:Mn,tableScrollBg:rr,zIndexTableSticky:er,stickyScrollBarBorderRadius:vr,lineWidth:Ar,lineType:li,tableBorderColor:_r}=wt,Qr=`${(0,ya.unit)(Ar)} ${li} ${_r}`;return{[`${yt}-wrapper`]:{[`${yt}-sticky`]:{"&-holder":{position:"sticky",zIndex:er,background:wt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ya.unit)(Mn)} !important`,zIndex:er,display:"flex",alignItems:"center",background:rr,borderTop:Qr,opacity:Yt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Mn,backgroundColor:An,borderRadius:vr,transition:`all ${wt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Fn}}}}}}},Ac=wt=>{const{componentCls:yt,lineWidth:Yt,tableBorderColor:An,calc:Fn}=wt,Mn=`${(0,ya.unit)(Yt)} ${wt.lineType} ${An}`;return{[`${yt}-wrapper`]:{[`${yt}-summary`]:{position:"relative",zIndex:wt.zIndexTableFixed,background:wt.tableBg,"> tr":{"> th, > td":{borderBottom:Mn}}},[`div${yt}-summary`]:{boxShadow:`0 ${(0,ya.unit)(Fn(Yt).mul(-1).equal())} 0 ${An}`}}}},dc=wt=>{const{componentCls:yt,motionDurationMid:Yt,lineWidth:An,lineType:Fn,tableBorderColor:Mn,calc:rr}=wt,er=`${(0,ya.unit)(An)} ${Fn} ${Mn}`,vr=`${yt}-expanded-row-cell`;return{[`${yt}-wrapper`]:{[`${yt}-tbody-virtual`]:{[`${yt}-tbody-virtual-holder-inner`]:{[` & > ${yt}-row, & > div:not(${yt}-row) > ${yt}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${yt}-cell`]:{borderBottom:er,transition:`background ${Yt}`},[`${yt}-expanded-row`]:{[`${vr}${vr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ya.unit)(An)})`,borderInlineEnd:"none"}}},[`${yt}-bordered`]:{[`${yt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:er,position:"absolute"},[`${yt}-cell`]:{borderInlineEnd:er,[`&${yt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:rr(An).mul(-1).equal(),borderInlineStart:er}}},[`&${yt}-virtual`]:{[`${yt}-placeholder ${yt}-cell`]:{borderInlineEnd:er,borderBottom:er}}}}}};const Uu=wt=>{const{componentCls:yt,fontWeightStrong:Yt,tablePaddingVertical:An,tablePaddingHorizontal:Fn,tableExpandColumnWidth:Mn,lineWidth:rr,lineType:er,tableBorderColor:vr,tableFontSize:Ar,tableBg:li,tableRadius:Qr,tableHeaderTextColor:_r,motionDurationMid:Dr,tableHeaderBg:Fr,tableHeaderCellSplitColor:Gi,tableFooterTextColor:mi,tableFooterBg:to,calc:uo}=wt,qi=`${(0,ya.unit)(rr)} ${er} ${vr}`;return{[`${yt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mc.dF)()),{[yt]:Object.assign(Object.assign({},(0,Mc.Wf)(wt)),{fontSize:Ar,background:li,borderRadius:`${(0,ya.unit)(Qr)} ${(0,ya.unit)(Qr)} 0 0`,scrollbarColor:`${wt.tableScrollThumbBg} ${wt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ya.unit)(Qr)} ${(0,ya.unit)(Qr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${yt}-cell`]:{borderBottom:er,transition:`background ${Yt}`},[`${yt}-expanded-row`]:{[`${vr}${vr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ya.unit)(An)})`,borderInlineEnd:"none"}}},[`${yt}-bordered`]:{[`${yt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:er,position:"absolute"},[`${yt}-cell`]:{borderInlineEnd:er,[`&${yt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:rr(An).mul(-1).equal(),borderInlineStart:er}}},[`&${yt}-virtual`]:{[`${yt}-placeholder ${yt}-cell`]:{borderInlineEnd:er,borderBottom:er}}}}}};const Uu=wt=>{const{componentCls:yt,fontWeightStrong:Yt,tablePaddingVertical:An,tablePaddingHorizontal:Fn,tableExpandColumnWidth:Mn,lineWidth:rr,lineType:er,tableBorderColor:vr,tableFontSize:Ar,tableBg:li,tableRadius:_r,tableHeaderTextColor:Qr,motionDurationMid:Dr,tableHeaderBg:Fr,tableHeaderCellSplitColor:Gi,tableFooterTextColor:mi,tableFooterBg:to,calc:uo}=wt,qi=`${(0,ya.unit)(rr)} ${er} ${vr}`;return{[`${yt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mc.dF)()),{[yt]:Object.assign(Object.assign({},(0,Mc.Wf)(wt)),{fontSize:Ar,background:li,borderRadius:`${(0,ya.unit)(_r)} ${(0,ya.unit)(_r)} 0 0`,scrollbarColor:`${wt.tableScrollThumbBg} ${wt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ya.unit)(_r)} ${(0,ya.unit)(_r)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${yt}-cell, ${yt}-thead > tr > th, ${yt}-tbody > tr > th, ${yt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`,overflowWrap:"break-word"},[`${yt}-title`]:{padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`},[`${yt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:_r,fontWeight:Yt,textAlign:"start",background:Fr,borderBottom:qi,transition:`background ${Dr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${yt}-selection-column):not(${yt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Gi,transform:"translateY(-50%)",transition:`background-color ${Dr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${yt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Dr}, border-color ${Dr}`,borderBottom:qi,[` + `]:{position:"relative",padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`,overflowWrap:"break-word"},[`${yt}-title`]:{padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`},[`${yt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qr,fontWeight:Yt,textAlign:"start",background:Fr,borderBottom:qi,transition:`background ${Dr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${yt}-selection-column):not(${yt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Gi,transform:"translateY(-50%)",transition:`background-color ${Dr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${yt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Dr}, border-color ${Dr}`,borderBottom:qi,[` > ${yt}-wrapper:only-child, > ${yt}-expanded-row-fixed > ${yt}-wrapper:only-child `]:{[yt]:{marginBlock:(0,ya.unit)(uo(An).mul(-1).equal()),marginInline:`${(0,ya.unit)(uo(Mn).sub(Fn).equal())} - ${(0,ya.unit)(uo(Fn).mul(-1).equal())}`,[`${yt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:_r,fontWeight:Yt,textAlign:"start",background:Fr,borderBottom:qi,transition:`background ${Dr} ease`}}},[`${yt}-footer`]:{padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`,color:mi,background:to}})}},sd=wt=>{const{colorFillAlter:yt,colorBgContainer:Yt,colorTextHeading:An,colorFillSecondary:Fn,colorFillContent:Mn,controlItemBgActive:rr,controlItemBgActiveHover:er,padding:vr,paddingSM:Ar,paddingXS:li,colorBorderSecondary:Qr,borderRadiusLG:_r,controlHeight:Dr,colorTextPlaceholder:Fr,fontSize:Gi,fontSizeSM:mi,lineHeight:to,lineWidth:uo,colorIcon:qi,colorIconHover:po,opacityLoading:Eo,controlInteractiveSize:jo}=wt,ko=new Ql.FastColor(Fn).onBackground(Yt).toHexString(),Na=new Ql.FastColor(Mn).onBackground(Yt).toHexString(),sa=new Ql.FastColor(yt).onBackground(Yt).toHexString(),ra=new Ql.FastColor(qi),Zo=new Ql.FastColor(po),Ho=jo/2-uo,Ko=Ho*2+uo*3;return{headerBg:sa,headerColor:An,headerSortActiveBg:ko,headerSortHoverBg:Na,bodySortBg:sa,rowHoverBg:sa,rowSelectedBg:rr,rowSelectedHoverBg:er,rowExpandedBg:yt,cellPaddingBlock:vr,cellPaddingInline:vr,cellPaddingBlockMD:Ar,cellPaddingInlineMD:li,cellPaddingBlockSM:li,cellPaddingInlineSM:li,borderColor:Qr,headerBorderRadius:_r,footerBg:sa,footerColor:An,cellFontSize:Gi,cellFontSizeMD:Gi,cellFontSizeSM:Gi,headerSplitColor:Qr,fixedHeaderSortActiveBg:ko,headerFilterHoverBg:Mn,filterDropdownMenuBg:Yt,filterDropdownBg:Yt,expandIconBg:Yt,selectionColumnWidth:Dr,stickyScrollBarBg:Fr,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Gi*to-uo*3)/2-Math.ceil((mi*1.4-uo*3)/2),headerIconColor:ra.clone().setA(ra.a*Eo).toRgbString(),headerIconHoverColor:Zo.clone().setA(Zo.a*Eo).toRgbString(),expandIconHalfInner:Ho,expandIconSize:Ko,expandIconScale:jo/Ko}},$d=2;var Bf=(0,rd.I$)("Table",wt=>{const{colorTextHeading:yt,colorSplit:Yt,colorBgContainer:An,controlInteractiveSize:Fn,headerBg:Mn,headerColor:rr,headerSortActiveBg:er,headerSortHoverBg:vr,bodySortBg:Ar,rowHoverBg:li,rowSelectedBg:Qr,rowSelectedHoverBg:_r,rowExpandedBg:Dr,cellPaddingBlock:Fr,cellPaddingInline:Gi,cellPaddingBlockMD:mi,cellPaddingInlineMD:to,cellPaddingBlockSM:uo,cellPaddingInlineSM:qi,borderColor:po,footerBg:Eo,footerColor:jo,headerBorderRadius:ko,cellFontSize:Na,cellFontSizeMD:sa,cellFontSizeSM:ra,headerSplitColor:Zo,fixedHeaderSortActiveBg:Ho,headerFilterHoverBg:Ko,filterDropdownBg:vo,expandIconBg:ho,selectionColumnWidth:Mo,stickyScrollBarBg:Go,calc:ia}=wt,Co=(0,kA.mergeToken)(wt,{tableFontSize:Na,tableBg:An,tableRadius:ko,tablePaddingVertical:Fr,tablePaddingHorizontal:Gi,tablePaddingVerticalMiddle:mi,tablePaddingHorizontalMiddle:to,tablePaddingVerticalSmall:uo,tablePaddingHorizontalSmall:qi,tableBorderColor:po,tableHeaderTextColor:rr,tableHeaderBg:Mn,tableFooterTextColor:jo,tableFooterBg:Eo,tableHeaderCellSplitColor:Zo,tableHeaderSortBg:er,tableHeaderSortHoverBg:vr,tableBodySortBg:Ar,tableFixedHeaderSortActiveBg:Ho,tableHeaderFilterActiveBg:Ko,tableFilterDropdownBg:vo,tableRowHoverBg:li,tableSelectedRowBg:Qr,tableSelectedRowHoverBg:_r,zIndexTableFixed:$d,zIndexTableSticky:ia($d).add(1).equal({unit:!1}),tableFontSizeMiddle:sa,tableFontSizeSmall:ra,tableSelectionColumnWidth:Mo,tableExpandIconBg:ho,tableExpandColumnWidth:ia(Fn).add(ia(wt.padding).mul(2)).equal(),tableExpandedRowBg:Dr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Go,tableScrollThumbBgHover:yt,tableScrollBg:Yt});return[Uu(Co),wA(Co),Ac(Co),Xd(Co),zs(Co),MA(Co),xf(Co),Nc(Co),Ac(Co),Zp(Co),cc(Co),od(Co),Yd(Co),Uc(Co),up(Co),Mh(Co),dc(Co)]},sd,{unitless:{expandIconScale:!0}});const Ap=[],dp=(wt,yt)=>{var Yt,An;const{prefixCls:Fn,className:Mn,rootClassName:rr,style:er,size:vr,bordered:Ar,dropdownPrefixCls:li,dataSource:Qr,pagination:_r,rowSelection:Dr,rowKey:Fr="key",rowClassName:Gi,columns:mi,children:to,childrenColumnName:uo,onChange:qi,getPopupContainer:po,loading:Eo,expandIcon:jo,expandable:ko,expandedRowRender:Na,expandIconColumnIndex:sa,indentSize:ra,scroll:Zo,sortDirections:Ho,locale:Ko,showSorterTooltip:vo={target:"full-header"},virtual:ho}=wt,Mo=(0,Oo.ln)("Table"),Go=x.useMemo(()=>mi||or(to),[mi,to]),ia=x.useMemo(()=>Go.some(Wa=>Wa.responsive),[Go]),Co=(0,Rl.Z)(ia),es=x.useMemo(()=>{const Wa=new Set(Object.keys(Co).filter(gs=>Co[gs]));return Go.filter(gs=>!gs.responsive||gs.responsive.some(_l=>Wa.has(_l)))},[Go,Co]),Za=(0,Ra.Z)(wt,["className","style","columns"]),{locale:kl=Nu.Z,direction:bl,table:al,renderEmpty:co,getPrefixCls:Xl,getPopupContainer:us}=x.useContext(nl.E_),as=(0,Fs.Z)(vr),rl=Object.assign(Object.assign({},kl.Table),Ko),Au=Qr||Ap,oa=Xl("table",Fn),Ca=Xl("dropdown",li),[,Xo]=(0,Bu.ZP)(),Po=(0,su.Z)(oa),[ps,Is,Gs]=Bf(oa,Po),Ks=Object.assign(Object.assign({childrenColumnName:uo,expandIconColumnIndex:sa},ko),{expandIcon:(Yt=ko==null?void 0:ko.expandIcon)!==null&&Yt!==void 0?Yt:(An=al==null?void 0:al.expandable)===null||An===void 0?void 0:An.expandIcon}),{childrenColumnName:sl="children"}=Ks,mu=x.useMemo(()=>Au.some(Wa=>Wa==null?void 0:Wa[sl])?"nest":Na||ko!=null&&ko.expandedRowRender?"row":null,[Au]),la={body:x.useRef(null)},na=ka(oa),Bs=x.useRef(null),Js=x.useRef(null);js(yt,()=>Object.assign(Object.assign({},Js.current),{nativeElement:Bs.current}));const Xs=x.useMemo(()=>typeof Fr=="function"?Fr:Wa=>Wa==null?void 0:Wa[Fr],[Fr]),[vu]=Vc(Au,sl,Xs),Ml={},fc=function(Wa,gs){let _l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ru,Su,Fu,rc;const Wu=Object.assign(Object.assign({},Ml),Wa);_l&&((ru=Ml.resetPagination)===null||ru===void 0||ru.call(Ml),!((Su=Wu.pagination)===null||Su===void 0)&&Su.current&&(Wu.pagination.current=1),_r&&((Fu=_r.onChange)===null||Fu===void 0||Fu.call(_r,1,(rc=Wu.pagination)===null||rc===void 0?void 0:rc.pageSize))),Zo&&Zo.scrollToFirstRowOnChange!==!1&&la.body.current&&(0,tl.Z)(0,{getContainer:()=>la.body.current}),qi==null||qi(Wu.pagination,Wu.filters,Wu.sorter,{currentDataSource:Da(ec(Au,Wu.sorterStates,sl),Wu.filterStates,sl),action:gs})},Cl=(Wa,gs)=>{fc({sorter:Wa,sorterStates:gs},"sort",!1)},[ys,ll,ul,du]=Th({prefixCls:oa,mergedColumns:es,onSorterChange:Cl,sortDirections:Ho||["ascend","descend"],tableLocale:rl,showSorterTooltip:vo}),Ul=x.useMemo(()=>ec(Au,ll,sl),[Au,ll]);Ml.sorter=du(),Ml.sorterStates=ll;const ws=(Wa,gs)=>{fc({filters:Wa,filterStates:gs},"filter",!0)},[gl,Ls,ml]=Vl({prefixCls:oa,locale:rl,dropdownPrefixCls:Ca,mergedColumns:es,onFilterChange:ws,getPopupContainer:po||us,rootClassName:De()(rr,Po)}),Yl=Da(Ul,Ls,sl);Ml.filters=ml,Ml.filterStates=Ls;const Ru=x.useMemo(()=>{const Wa={};return Object.keys(ml).forEach(gs=>{ml[gs]!==null&&(Wa[gs]=ml[gs])}),Object.assign(Object.assign({},ul),{filters:Wa})},[ul,ml]),[Qu]=Fd(Ru),Yc=(Wa,gs)=>{fc({pagination:Object.assign(Object.assign({},Ml.pagination),{current:Wa,pageSize:gs})},"paginate")},[cl,Dd]=iA(Yl.length,Yc,_r);Ml.pagination=_r===!1?{}:Gl(cl,_r),Ml.resetPagination=Dd;const Ku=x.useMemo(()=>{if(_r===!1||!cl.pageSize)return Yl;const{current:Wa=1,total:gs,pageSize:_l=pA}=cl;return Yl.length_l?Yl.slice((Wa-1)*_l,Wa*_l):Yl:Yl.slice((Wa-1)*_l,Wa*_l)},[!!_r,Yl,cl==null?void 0:cl.current,cl==null?void 0:cl.pageSize,cl==null?void 0:cl.total]),[tc,Zu]=bo({prefixCls:oa,data:Yl,pageData:Ku,getRowKey:Xs,getRecordByKey:vu,expandType:mu,childrenColumnName:sl,locale:rl,getPopupContainer:po||us},Dr),nc=(Wa,gs,_l)=>{let ru;return typeof Gi=="function"?ru=De()(Gi(Wa,gs,_l)):ru=De()(Gi),De()({[`${oa}-row-selected`]:Zu.has(Xs(Wa,gs))},ru)};Ks.__PARENT_RENDER_ICON__=Ks.expandIcon,Ks.expandIcon=Ks.expandIcon||jo||pa(rl),mu==="nest"&&Ks.expandIconColumnIndex===void 0?Ks.expandIconColumnIndex=Dr?1:0:Ks.expandIconColumnIndex>0&&Dr&&(Ks.expandIconColumnIndex-=1),typeof Ks.indentSize!="number"&&(Ks.indentSize=typeof ra=="number"?ra:15);const Al=x.useCallback(Wa=>Qu(tc(gl(ys(Wa)))),[ys,gl,tc]);let Cc,xA;if(_r!==!1&&(cl!=null&&cl.total)){let Wa;cl.size?Wa=cl.size:Wa=as==="small"||as==="middle"?"small":void 0;const gs=Su=>x.createElement(xu.Z,Object.assign({},cl,{className:De()(`${oa}-pagination ${oa}-pagination-${Su}`,cl.className),size:Wa})),_l=bl==="rtl"?"left":"right",{position:ru}=cl;if(ru!==null&&Array.isArray(ru)){const Su=ru.find(Wu=>Wu.includes("top")),Fu=ru.find(Wu=>Wu.includes("bottom")),rc=ru.every(Wu=>`${Wu}`=="none");!Su&&!Fu&&!rc&&(xA=gs(_l)),Su&&(Cc=gs(Su.toLowerCase().replace("top",""))),Fu&&(xA=gs(Fu.toLowerCase().replace("bottom","")))}else xA=gs(_l)}let Rc;typeof Eo=="boolean"?Rc={spinning:Eo}:typeof Eo=="object"&&(Rc=Object.assign({spinning:!0},Eo));const $c=De()(Gs,Po,`${oa}-wrapper`,al==null?void 0:al.className,{[`${oa}-wrapper-rtl`]:bl==="rtl"},Mn,rr,Is),Jd=Object.assign(Object.assign({},al==null?void 0:al.style),er),qd=typeof(Ko==null?void 0:Ko.emptyText)!="undefined"?Ko.emptyText:(co==null?void 0:co("Table"))||x.createElement(au.Z,{componentName:"Table"}),Ds=ho?Xc:bf,ld={},Ef=x.useMemo(()=>{const{fontSize:Wa,lineHeight:gs,lineWidth:_l,padding:ru,paddingXS:Su,paddingSM:Fu}=Xo,rc=Math.floor(Wa*gs);switch(as){case"middle":return Fu*2+rc+_l;case"small":return Su*2+rc+_l;default:return ru*2+rc+_l}},[Xo,as]);return ho&&(ld.listItemHeight=Ef),ps(x.createElement("div",{ref:Bs,className:$c,style:Jd},x.createElement(pl.Z,Object.assign({spinning:!1},Rc),Cc,x.createElement(Ds,Object.assign({},ld,Za,{ref:Js,columns:es,direction:bl,expandable:Ks,prefixCls:oa,className:De()({[`${oa}-middle`]:as==="middle",[`${oa}-small`]:as==="small",[`${oa}-bordered`]:Ar,[`${oa}-empty`]:Au.length===0},Gs,Po,Is),data:Ku,rowKey:Xs,rowClassName:nc,emptyText:qd,internalHooks:Ie,internalRefs:la,transformColumns:Al,getContainerWidth:na})),xA)))};var fp=x.forwardRef(dp);const nh=(wt,yt)=>{const Yt=x.useRef(0);return Yt.current+=1,x.createElement(fp,Object.assign({},wt,{ref:yt,_renderTimes:Yt.current}))},CA=x.forwardRef(nh);CA.SELECTION_COLUMN=$o,CA.EXPAND_COLUMN=dt,CA.SELECTION_ALL=Sa,CA.SELECTION_INVERT=Ja,CA.SELECTION_NONE=hs,CA.Column=oo,CA.ColumnGroup=ti,CA.Summary=mt;var Ld=CA,hp=Ld},96599:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return De}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(2738),ze=ae(29509),Fe=ae(78776),Ue=ae(22703),he=ae(12919),xe=ae(48755),oe=ae(36237),Ne=ae(17835),ve=ae(63356),Re=ae(51636),Se=ae(16931);const Pe=Qe=>{const{paddingXXS:Ot,lineWidth:it,tagPaddingHorizontal:at,componentCls:Bt,calc:We}=Qe,Te=We(at).sub(it).equal(),ct=We(Ot).sub(it).equal();return{[Bt]:Object.assign(Object.assign({},(0,ve.Wf)(Qe)),{display:"inline-block",height:"auto",marginInlineEnd:Qe.marginXS,paddingInline:Te,fontSize:Qe.tagFontSize,lineHeight:Qe.tagLineHeight,whiteSpace:"nowrap",background:Qe.defaultBg,border:`${(0,oe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorBorder}`,borderRadius:Qe.borderRadiusSM,opacity:1,transition:`all ${Qe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Qe.defaultColor},[`${Bt}-close-icon`]:{marginInlineStart:ct,fontSize:Qe.tagIconSize,color:Qe.colorTextDescription,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`,"&:hover":{color:Qe.colorTextHeading}},[`&${Bt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Qe.iconCls}-close, ${Qe.iconCls}-close:hover`]:{color:Qe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Bt}-checkable-checked):hover`]:{color:Qe.colorPrimary,backgroundColor:Qe.colorFillSecondary},"&:active, &-checked":{color:Qe.colorTextLightSolid},"&-checked":{backgroundColor:Qe.colorPrimary,"&:hover":{backgroundColor:Qe.colorPrimaryHover}},"&:active":{backgroundColor:Qe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Qe.iconCls} + span, > span + ${Qe.iconCls}`]:{marginInlineStart:Te}}),[`${Bt}-borderless`]:{borderColor:"transparent",background:Qe.tagBorderlessBg}}},ye=Qe=>{const{lineWidth:Ot,fontSizeIcon:it,calc:at}=Qe,Bt=Qe.fontSizeSM;return(0,Re.mergeToken)(Qe,{tagFontSize:Bt,tagLineHeight:(0,oe.unit)(at(Qe.lineHeightSM).mul(Bt).equal()),tagIconSize:at(it).sub(at(Ot).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:Qe.defaultBg})},Ce=Qe=>({defaultBg:new Ne.FastColor(Qe.colorFillQuaternary).onBackground(Qe.colorBgContainer).toHexString(),defaultColor:Qe.colorText});var Ee=(0,Se.I$)("Tag",Qe=>{const Ot=ye(Qe);return Pe(Ot)},Ce),Me=function(Qe,Ot){var it={};for(var at in Qe)Object.prototype.hasOwnProperty.call(Qe,at)&&Ot.indexOf(at)<0&&(it[at]=Qe[at]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,at=Object.getOwnPropertySymbols(Qe);Bt{const{prefixCls:it,style:at,className:Bt,checked:We,onChange:Te,onClick:ct}=Qe,Zt=Me(Qe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:jt,tag:tt}=x.useContext(xe.E_),Tt=Sn=>{Te==null||Te(!We),ct==null||ct(Sn)},_t=jt("tag",it),[hn,Pt,vn]=Ee(_t),kt=Ie()(_t,`${_t}-checkable`,{[`${_t}-checkable-checked`]:We},tt==null?void 0:tt.className,Bt,Pt,vn);return hn(x.createElement("span",Object.assign({},Zt,{ref:Ot,style:Object.assign(Object.assign({},at),tt==null?void 0:tt.style),className:kt,onClick:Tt})))}),_e=ae(93427);const Je=Qe=>(0,_e.Z)(Qe,(Ot,it)=>{let{textColor:at,lightBorderColor:Bt,lightColor:We,darkColor:Te}=it;return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:at,background:We,borderColor:Bt,"&-inverse":{color:Qe.colorTextLightSolid,background:Te,borderColor:Te},[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Xe=(0,Se.bk)(["Tag","preset"],Qe=>{const Ot=ye(Qe);return Je(Ot)},Ce);function ut(Qe){return typeof Qe!="string"?Qe:Qe.charAt(0).toUpperCase()+Qe.slice(1)}const ot=(Qe,Ot,it)=>{const at=ut(it);return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:Qe[`color${it}`],background:Qe[`color${at}Bg`],borderColor:Qe[`color${at}Border`],[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ht=(0,Se.bk)(["Tag","status"],Qe=>{const Ot=ye(Qe);return[ot(Ot,"success","Success"),ot(Ot,"processing","Info"),ot(Ot,"error","Error"),ot(Ot,"warning","Warning")]},Ce),Ct=function(Qe,Ot){var it={};for(var at in Qe)Object.prototype.hasOwnProperty.call(Qe,at)&&Ot.indexOf(at)<0&&(it[at]=Qe[at]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,at=Object.getOwnPropertySymbols(Qe);Bt{const{prefixCls:it,className:at,rootClassName:Bt,style:We,children:Te,icon:ct,color:Zt,onClose:jt,bordered:tt=!0,visible:Tt}=Qe,_t=Ct(Qe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:hn,direction:Pt,tag:vn}=x.useContext(xe.E_),[kt,Sn]=x.useState(!0),on=(0,qe.Z)(_t,["closeIcon","closable"]);x.useEffect(()=>{Tt!==void 0&&Sn(Tt)},[Tt]);const de=(0,ze.o2)(Zt),ge=(0,ze.yT)(Zt),ie=de||ge,ee=Object.assign(Object.assign({backgroundColor:Zt&&!ie?Zt:void 0},vn==null?void 0:vn.style),We),se=hn("tag",it),[le,Be,Ve]=Ee(se),st=Ie()(se,vn==null?void 0:vn.className,{[`${se}-${Zt}`]:ie,[`${se}-has-color`]:Zt&&!ie,[`${se}-hidden`]:!kt,[`${se}-rtl`]:Pt==="rtl",[`${se}-borderless`]:!tt},at,Bt,Be,Ve),gt=lt=>{lt.stopPropagation(),jt==null||jt(lt),!lt.defaultPrevented&&Sn(!1)},[,mt]=(0,Fe.Z)((0,Fe.w)(Qe),(0,Fe.w)(vn),{closable:!1,closeIconRender:lt=>{const Xt=x.createElement("span",{className:`${se}-close-icon`,onClick:gt},lt);return(0,Ue.wm)(lt,Xt,Vt=>({onClick:wn=>{var an;(an=Vt==null?void 0:Vt.onClick)===null||an===void 0||an.call(Vt,wn),gt(wn)},className:Ie()(Vt==null?void 0:Vt.className,`${se}-close-icon`)}))}}),St=typeof _t.onClick=="function"||Te&&Te.type==="a",Dt=ct||null,Ht=Dt?x.createElement(x.Fragment,null,Dt,Te&&x.createElement("span",null,Te)):Te,xt=x.createElement("span",Object.assign({},on,{ref:Ot,className:st,style:ee}),Ht,mt,de&&x.createElement(Xe,{key:"preset",prefixCls:se}),ge&&x.createElement(ht,{key:"status",prefixCls:se}));return le(St?x.createElement(he.Z,{component:"Tag"},xt):xt)});ft.CheckableTag=je;var De=ft},18287:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return jt}});var x=ae(87632),dt=ae(77654),Ie=ae(59301),qe=ae(52671),ze=ae(8657),Fe=ae(60499),Ue={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"},he=Ue,xe=ae(7657),oe=function(Tt,_t){return Ie.createElement(xe.Z,(0,Fe.Z)({},Tt,{ref:_t,icon:he}))},Ne=Ie.forwardRef(oe),ve=Ne,Re=ae(92310),Se=ae.n(Re),Pe=ae(82661),ye=ae(34061),Ce=ae(48755),Ee=ae(56082),Me=ae(86641),Ke=ae(57700),je=ae(12425);const _e=4;function Je(tt){const{dropPosition:Tt,dropLevelOffset:_t,prefixCls:hn,indent:Pt,direction:vn="ltr"}=tt,kt=vn==="ltr"?"left":"right",Sn=vn==="ltr"?"right":"left",on={[kt]:-_t*Pt+_e,[Sn]:0};switch(Tt){case-1:on.top=-3;break;case 1:on.bottom=-3;break;default:on.bottom=-3,on[kt]=Pt+_e;break}return Ie.createElement("div",{style:on,className:`${hn}-drop-indicator`})}var Xe=Je,ut=ae(85278),ht=Ie.forwardRef((tt,Tt)=>{var _t;const{getPrefixCls:hn,direction:Pt,virtual:vn,tree:kt}=Ie.useContext(Ce.E_),{prefixCls:Sn,className:on,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:se=!1,children:le,checkable:Be=!1,selectable:Ve=!0,draggable:st,motion:gt,style:mt}=tt,St=hn("tree",Sn),Dt=hn(),Ht=gt!=null?gt:Object.assign(Object.assign({},(0,Me.Z)(Dt)),{motionAppear:!1}),xt=Object.assign(Object.assign({},tt),{checkable:Be,selectable:Ve,showIcon:de,motion:Ht,blockNode:se,showLine:!!ge,dropIndicatorRender:Xe}),[lt,Xt,Vt]=(0,je.ZP)(St),[,wn]=(0,Ke.ZP)(),an=wn.paddingXS/2+(((_t=wn.Tree)===null||_t===void 0?void 0:_t.titleHeight)||wn.controlHeightSM),en=Ie.useMemo(()=>{if(!st)return!1;let In={};switch(typeof st){case"function":In.nodeDraggable=st;break;case"object":In=Object.assign({},st);break;default:break}return In.icon!==!1&&(In.icon=In.icon||Ie.createElement(Ee.Z,null)),In},[st]),zn=In=>Ie.createElement(ut.Z,{prefixCls:St,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:In,showLine:ge});return lt(Ie.createElement(x.ZP,Object.assign({itemHeight:an,ref:Tt,virtual:vn},xt,{style:Object.assign(Object.assign({},kt==null?void 0:kt.style),mt),prefixCls:St,className:Se()({[`${St}-icon-hide`]:!de,[`${St}-block-node`]:se,[`${St}-unselectable`]:!Ve,[`${St}-rtl`]:Pt==="rtl"},kt==null?void 0:kt.className,on,Xt,Vt),direction:Pt,checkable:Be&&Ie.createElement("span",{className:`${St}-checkbox-inner`}),selectable:Ve,switcherIcon:zn,draggable:en}),le))});const Ct=0,He=1,ft=2;function De(tt,Tt,_t){const{key:hn,children:Pt}=_t;function vn(kt){const Sn=kt[hn],on=kt[Pt];Tt(Sn,kt)!==!1&&De(on||[],Tt,_t)}tt.forEach(vn)}function Qe(tt){let{treeData:Tt,expandedKeys:_t,startKey:hn,endKey:Pt,fieldNames:vn}=tt;const kt=[];let Sn=Ct;if(hn&&hn===Pt)return[hn];if(!hn||!Pt)return[];function on(de){return de===hn||de===Pt}return De(Tt,de=>{if(Sn===ft)return!1;if(on(de)){if(kt.push(de),Sn===Ct)Sn=He;else if(Sn===He)return Sn=ft,!1}else Sn===He&&kt.push(de);return _t.includes(de)},(0,ye.w$)(vn)),kt}function Ot(tt,Tt,_t){const hn=(0,dt.Z)(Tt),Pt=[];return De(tt,(vn,kt)=>{const Sn=hn.indexOf(vn);return Sn!==-1&&(Pt.push(kt),hn.splice(Sn,1)),!!hn.length},(0,ye.w$)(_t)),Pt}var it=function(tt,Tt){var _t={};for(var hn in tt)Object.prototype.hasOwnProperty.call(tt,hn)&&Tt.indexOf(hn)<0&&(_t[hn]=tt[hn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,hn=Object.getOwnPropertySymbols(tt);Pt{var{defaultExpandAll:_t,defaultExpandParent:hn,defaultExpandedKeys:Pt}=tt,vn=it(tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const kt=Ie.useRef(null),Sn=Ie.useRef(null),on=()=>{const{keyEntities:lt}=(0,ye.I8)(Bt(vn));let Xt;return _t?Xt=Object.keys(lt):hn?Xt=(0,Pe.r7)(vn.expandedKeys||Pt||[],lt):Xt=vn.expandedKeys||Pt||[],Xt},[de,ge]=Ie.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[ie,ee]=Ie.useState(()=>on());Ie.useEffect(()=>{"selectedKeys"in vn&&ge(vn.selectedKeys)},[vn.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in vn&&ee(vn.expandedKeys)},[vn.expandedKeys]);const se=(lt,Xt)=>{var Vt;return"expandedKeys"in vn||ee(lt),(Vt=vn.onExpand)===null||Vt===void 0?void 0:Vt.call(vn,lt,Xt)},le=(lt,Xt)=>{var Vt;const{multiple:wn,fieldNames:an}=vn,{node:en,nativeEvent:zn}=Xt,{key:In=""}=en,Qt=Bt(vn),sn=Object.assign(Object.assign({},Xt),{selected:!0}),Nn=(zn==null?void 0:zn.ctrlKey)||(zn==null?void 0:zn.metaKey),Vn=zn==null?void 0:zn.shiftKey;let Lt;wn&&Nn?(Lt=lt,kt.current=In,Sn.current=Lt,sn.selectedNodes=Ot(Qt,Lt,an)):wn&&Vn?(Lt=Array.from(new Set([].concat((0,dt.Z)(Sn.current||[]),(0,dt.Z)(Qe({treeData:Qt,expandedKeys:ie,startKey:In,endKey:kt.current,fieldNames:an}))))),sn.selectedNodes=Ot(Qt,Lt,an)):(Lt=[In],kt.current=In,Sn.current=Lt,sn.selectedNodes=Ot(Qt,Lt,an)),(Vt=vn.onSelect)===null||Vt===void 0||Vt.call(vn,Lt,sn),"selectedKeys"in vn||ge(Lt)},{getPrefixCls:Be,direction:Ve}=Ie.useContext(Ce.E_),{prefixCls:st,className:gt,showIcon:mt=!0,expandAction:St="click"}=vn,Dt=it(vn,["prefixCls","className","showIcon","expandAction"]),Ht=Be("tree",st),xt=Se()(`${Ht}-directory`,{[`${Ht}-directory-rtl`]:Ve==="rtl"},gt);return Ie.createElement(ht,Object.assign({icon:at,ref:Tt,blockNode:!0},Dt,{showIcon:mt,expandAction:St,prefixCls:Ht,className:xt,expandedKeys:ie,selectedKeys:de,onSelect:le,onExpand:se}))};var ct=Ie.forwardRef(We);const Zt=ht;Zt.DirectoryTree=ct,Zt.TreeNode=x.OF;var jt=Zt},12425:function(Yn,Ut,ae){"use strict";ae.d(Ut,{ZP:function(){return Pe},Yk:function(){return ve},TM:function(){return Re}});var x=ae(36237),dt=ae(36170),Ie=ae(63356),qe=ae(34961),ze=ae(51636),Fe=ae(16931);const Ue=ye=>{let{treeCls:Ce,treeNodeCls:Ee,directoryNodeSelectedBg:Me,directoryNodeSelectedColor:Ke,motionDurationMid:je,borderRadius:_e,controlItemBgHover:Je}=ye;return{[`${Ce}${Ce}-directory ${Ee}`]:{[`${Ce}-node-content-wrapper`]:{position:"static",[`> *:not(${Ce}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${je}`,content:'""',borderRadius:_e},"&:hover:before":{background:Je}},[`${Ce}-switcher, ${Ce}-checkbox, ${Ce}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ce}-switcher, ${Ce}-draggable-icon`]:{color:Ke},[`${Ce}-node-content-wrapper`]:{color:Ke,background:"transparent","&:before, &:hover:before":{background:Me}}}}}},he=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),xe=(ye,Ce)=>({[`.${ye}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ce.motionDurationSlow}`}}}),oe=(ye,Ce)=>({[`.${ye}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ce.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(Ce.lineWidthBold)} solid ${Ce.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ne=(ye,Ce)=>{const{treeCls:Ee,treeNodeCls:Me,treeNodePadding:Ke,titleHeight:je,indentSize:_e,nodeSelectedBg:Je,nodeHoverBg:Xe,colorTextQuaternary:ut,controlItemBgActiveDisabled:ot}=Ce;return{[Ee]:Object.assign(Object.assign({},(0,Ie.Wf)(Ce)),{background:Ce.colorBgContainer,borderRadius:Ce.borderRadius,transition:`background-color ${Ce.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ee}-rtl ${Ee}-switcher_close ${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ee}-active-focused)`]:Object.assign({},(0,Ie.oN)(Ce)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${Me}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ce.colorPrimary}`,opacity:0,animationName:he,animationDuration:Ce.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ce.borderRadius}}},[Me]:{display:"flex",alignItems:"flex-start",marginBottom:Ke,lineHeight:(0,x.unit)(je),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ke},[`&-disabled ${Ee}-node-content-wrapper`]:{color:Ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${Me}-disabled${Me}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:ot},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Me}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:Ce.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:Ce.controlItemBgHover},[`&:not(${Me}-disabled).filter-node ${Ee}-title`]:{color:Ce.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:je,textAlign:"center",visibility:"visible",color:ut},[`&${Me}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:Ce.calc(Ce.calc(je).sub(Ce.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},xe(ye,Ce)),{position:"relative",flex:"none",alignSelf:"stretch",width:je,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ce.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:je,height:je,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ce.borderRadius,transition:`all ${Ce.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:Ce.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ce.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ce.calc(je).div(2).equal(),bottom:Ce.calc(Ke).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ce.calc(Ce.calc(je).div(2).equal()).mul(.8).equal(),height:Ce.calc(je).div(2).equal(),borderBottom:`1px solid ${Ce.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:je,paddingBlock:0,paddingInline:Ce.paddingXS,background:"transparent",borderRadius:Ce.borderRadius,cursor:"pointer",transition:`all ${Ce.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(ye,Ce)),{"&:hover":{backgroundColor:Xe},[`&${Ee}-node-selected`]:{color:Ce.nodeSelectedColor,backgroundColor:Je},[`${Ee}-iconEle`]:{display:"inline-block",width:je,height:je,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Me}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ce.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ce.calc(je).div(2).equal(),bottom:Ce.calc(Ke).mul(-1).equal(),borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Me}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(Ce.calc(je).div(2).equal())} !important`}})}},ve=function(ye,Ce){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Me=`.${ye}`,Ke=`${Me}-treenode`,je=Ce.calc(Ce.paddingXS).div(2).equal(),_e=(0,ze.mergeToken)(Ce,{treeCls:Me,treeNodeCls:Ke,treeNodePadding:je});return[Ne(ye,_e),Ee&&Ue(_e)].filter(Boolean)},Re=ye=>{const{controlHeightSM:Ce,controlItemBgHover:Ee,controlItemBgActive:Me}=ye,Ke=Ce;return{titleHeight:Ke,indentSize:Ke,nodeHoverBg:Ee,nodeHoverColor:ye.colorText,nodeSelectedBg:Me,nodeSelectedColor:ye.colorText}},Se=ye=>{const{colorTextLightSolid:Ce,colorPrimary:Ee}=ye;return Object.assign(Object.assign({},Re(ye)),{directoryNodeSelectedColor:Ce,directoryNodeSelectedBg:Ee})};var Pe=(0,Fe.I$)("Tree",(ye,Ce)=>{let{prefixCls:Ee}=Ce;return[{[ye.componentCls]:(0,dt.C2)(`${Ee}-checkbox`,ye)},ve(Ee,ye),(0,qe.Z)(ye)]},Se)},85278:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ce}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(Me,Ke){return x.createElement(ze.Z,(0,dt.Z)({},Me,{ref:Ke,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(52671),oe=ae(58617),Ne=ae(15075),ve=ae(43531),Re=ae(92310),Se=ae.n(Re),Pe=ae(22703),Ce=Ee=>{const{prefixCls:Me,switcherIcon:Ke,treeNodeProps:je,showLine:_e,switcherLoadingIcon:Je}=Ee,{isLeaf:Xe,expanded:ut,loading:ot}=je;if(ot)return x.isValidElement(Je)?Je:x.createElement(oe.Z,{className:`${Me}-switcher-loading-icon`});let ht;if(_e&&typeof _e=="object"&&(ht=_e.showLeafIcon),Xe){if(!_e)return null;if(typeof ht!="boolean"&&ht){const ft=typeof ht=="function"?ht(je):ht,De=`${Me}-switcher-line-custom-icon`;return x.isValidElement(ft)?(0,Pe.Tm)(ft,{className:Se()(ft.props.className||"",De)}):ft}return ht?x.createElement(xe.Z,{className:`${Me}-switcher-line-icon`}):x.createElement("span",{className:`${Me}-switcher-leaf-line`})}const Ct=`${Me}-switcher-icon`,He=typeof Ke=="function"?Ke(je):Ke;return x.isValidElement(He)?(0,Pe.Tm)(He,{className:Se()(He.props.className||"",Ct)}):He!==void 0?He:_e?ut?x.createElement(Ne.Z,{className:`${Me}-switcher-line-icon`}):x.createElement(ve.Z,{className:`${Me}-switcher-line-icon`}):x.createElement(he,{className:Ct})}},86251:function(Yn,Ut){"use strict";Ut.byteLength=Ue,Ut.toByteArray=xe,Ut.fromByteArray=ve;for(var ae=[],x=[],dt=typeof Uint8Array!="undefined"?Uint8Array:Array,Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=0,ze=Ie.length;qe0)throw new Error("Invalid string. Length must be a multiple of 4");var Pe=Re.indexOf("=");Pe===-1&&(Pe=Se);var ye=Pe===Se?0:4-Pe%4;return[Pe,ye]}function Ue(Re){var Se=Fe(Re),Pe=Se[0],ye=Se[1];return(Pe+ye)*3/4-ye}function he(Re,Se,Pe){return(Se+Pe)*3/4-Pe}function xe(Re){var Se,Pe=Fe(Re),ye=Pe[0],Ce=Pe[1],Ee=new dt(he(Re,ye,Ce)),Me=0,Ke=Ce>0?ye-4:ye,je;for(je=0;je>16&255,Ee[Me++]=Se>>8&255,Ee[Me++]=Se&255;return Ce===2&&(Se=x[Re.charCodeAt(je)]<<2|x[Re.charCodeAt(je+1)]>>4,Ee[Me++]=Se&255),Ce===1&&(Se=x[Re.charCodeAt(je)]<<10|x[Re.charCodeAt(je+1)]<<4|x[Re.charCodeAt(je+2)]>>2,Ee[Me++]=Se>>8&255,Ee[Me++]=Se&255),Ee}function oe(Re){return ae[Re>>18&63]+ae[Re>>12&63]+ae[Re>>6&63]+ae[Re&63]}function Ne(Re,Se,Pe){for(var ye,Ce=[],Ee=Se;EeKe?Ke:Me+Ee));return ye===1?(Se=Re[Pe-1],Ce.push(ae[Se>>2]+ae[Se<<4&63]+"==")):ye===2&&(Se=(Re[Pe-2]<<8)+Re[Pe-1],Ce.push(ae[Se>>10]+ae[Se>>4&63]+ae[Se<<2&63]+"=")),Ce.join("")}},19208:function(Yn,Ut,ae){"use strict";var x;var dt=ae(86251),Ie=ae(67467),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=he,x=Me,Ut.h2=50;var ze=2147483647;x=ze,he.TYPED_ARRAY_SUPPORT=Fe(),!he.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Fe(){try{var ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch(se){return!1}}Object.defineProperty(he.prototype,"parent",{enumerable:!0,get:function(){if(he.isBuffer(this))return this.buffer}}),Object.defineProperty(he.prototype,"offset",{enumerable:!0,get:function(){if(he.isBuffer(this))return this.byteOffset}});function Ue(ie){if(ie>ze)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,he.prototype),ee}function he(ie,ee,se){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(ie)}return xe(ie,ee,se)}he.poolSize=8192;function xe(ie,ee,se){if(typeof ie=="string")return Re(ie,ee);if(ArrayBuffer.isView(ie))return Pe(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(on(ie,ArrayBuffer)||ie&&on(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(on(ie,SharedArrayBuffer)||ie&&on(ie.buffer,SharedArrayBuffer)))return ye(ie,ee,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var le=ie.valueOf&&ie.valueOf();if(le!=null&&le!==ie)return he.from(le,ee,se);var Be=Ce(ie);if(Be)return Be;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return he.from(ie[Symbol.toPrimitive]("string"),ee,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}he.from=function(ie,ee,se){return xe(ie,ee,se)},Object.setPrototypeOf(he.prototype,Uint8Array.prototype),Object.setPrototypeOf(he,Uint8Array);function oe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Ne(ie,ee,se){return oe(ie),ie<=0?Ue(ie):ee!==void 0?typeof se=="string"?Ue(ie).fill(ee,se):Ue(ie).fill(ee):Ue(ie)}he.alloc=function(ie,ee,se){return Ne(ie,ee,se)};function ve(ie){return oe(ie),Ue(ie<0?0:Ee(ie)|0)}he.allocUnsafe=function(ie){return ve(ie)},he.allocUnsafeSlow=function(ie){return ve(ie)};function Re(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!he.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var se=Ke(ie,ee)|0,le=Ue(se),Be=le.write(ie,ee);return Be!==se&&(le=le.slice(0,Be)),le}function Se(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,se=Ue(ee),le=0;le=ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze.toString(16)+" bytes");return ie|0}function Me(ie){return+ie!=ie&&(ie=0),he.alloc(+ie)}he.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==he.prototype},he.compare=function(ee,se){if(on(ee,Uint8Array)&&(ee=he.from(ee,ee.offset,ee.byteLength)),on(se,Uint8Array)&&(se=he.from(se,se.offset,se.byteLength)),!he.isBuffer(ee)||!he.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===se)return 0;for(var le=ee.length,Be=se.length,Ve=0,st=Math.min(le,Be);VeBe.length?he.from(st).copy(Be,Ve):Uint8Array.prototype.set.call(Be,st,Ve);else if(he.isBuffer(st))st.copy(Be,Ve);else throw new TypeError('"list" argument must be an Array of Buffers');Ve+=st.length}return Be};function Ke(ie,ee){if(he.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||on(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,le=arguments.length>2&&arguments[2]===!0;if(!le&&se===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return hn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return kt(ie).length;default:if(Be)return le?-1:hn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}he.byteLength=Ke;function je(ie,ee,se){var le=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ee>>>=0,se<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Bt(this,ee,se);case"utf8":case"utf-8":return De(this,ee,se);case"ascii":return it(this,ee,se);case"latin1":case"binary":return at(this,ee,se);case"base64":return ft(this,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,ee,se);default:if(le)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),le=!0}}he.prototype._isBuffer=!0;function _e(ie,ee,se){var le=ie[ee];ie[ee]=ie[se],ie[se]=le}he.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(ee+=" ... "),""},qe&&(he.prototype[qe]=he.prototype.inspect),he.prototype.compare=function(ee,se,le,Be,Ve){if(on(ee,Uint8Array)&&(ee=he.from(ee,ee.offset,ee.byteLength)),!he.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(se===void 0&&(se=0),le===void 0&&(le=ee?ee.length:0),Be===void 0&&(Be=0),Ve===void 0&&(Ve=this.length),se<0||le>ee.length||Be<0||Ve>this.length)throw new RangeError("out of range index");if(Be>=Ve&&se>=le)return 0;if(Be>=Ve)return-1;if(se>=le)return 1;if(se>>>=0,le>>>=0,Be>>>=0,Ve>>>=0,this===ee)return 0;for(var st=Ve-Be,gt=le-se,mt=Math.min(st,gt),St=this.slice(Be,Ve),Dt=ee.slice(se,le),Ht=0;Ht2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,de(se)&&(se=Be?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Be)return-1;se=ie.length-1}else if(se<0)if(Be)se=0;else return-1;if(typeof ee=="string"&&(ee=he.from(ee,le)),he.isBuffer(ee))return ee.length===0?-1:Xe(ie,ee,se,le,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,se):Uint8Array.prototype.lastIndexOf.call(ie,ee,se):Xe(ie,[ee],se,le,Be);throw new TypeError("val must be string, number or Buffer")}function Xe(ie,ee,se,le,Be){var Ve=1,st=ie.length,gt=ee.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(ie.length<2||ee.length<2)return-1;Ve=2,st/=2,gt/=2,se/=2}function mt(lt,Xt){return Ve===1?lt[Xt]:lt.readUInt16BE(Xt*Ve)}var St;if(Be){var Dt=-1;for(St=se;Stst&&(se=st-gt),St=se;St>=0;St--){for(var Ht=!0,xt=0;xtBe&&(le=Be)):le=Be;var Ve=ee.length;le>Ve/2&&(le=Ve/2);for(var st=0;st>>0,isFinite(le)?(le=le>>>0,Be===void 0&&(Be="utf8")):(Be=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ve=this.length-se;if((le===void 0||le>Ve)&&(le=Ve),ee.length>0&&(le<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var st=!1;;)switch(Be){case"hex":return ut(this,ee,se,le);case"utf8":case"utf-8":return ot(this,ee,se,le);case"ascii":case"latin1":case"binary":return ht(this,ee,se,le);case"base64":return Ct(this,ee,se,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return He(this,ee,se,le);default:if(st)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),st=!0}},he.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(ie,ee,se){return ee===0&&se===ie.length?dt.fromByteArray(ie):dt.fromByteArray(ie.slice(ee,se))}function De(ie,ee,se){se=Math.min(ie.length,se);for(var le=[],Be=ee;Be239?4:Ve>223?3:Ve>191?2:1;if(Be+gt<=se){var mt,St,Dt,Ht;switch(gt){case 1:Ve<128&&(st=Ve);break;case 2:mt=ie[Be+1],(mt&192)===128&&(Ht=(Ve&31)<<6|mt&63,Ht>127&&(st=Ht));break;case 3:mt=ie[Be+1],St=ie[Be+2],(mt&192)===128&&(St&192)===128&&(Ht=(Ve&15)<<12|(mt&63)<<6|St&63,Ht>2047&&(Ht<55296||Ht>57343)&&(st=Ht));break;case 4:mt=ie[Be+1],St=ie[Be+2],Dt=ie[Be+3],(mt&192)===128&&(St&192)===128&&(Dt&192)===128&&(Ht=(Ve&15)<<18|(mt&63)<<12|(St&63)<<6|Dt&63,Ht>65535&&Ht<1114112&&(st=Ht))}}st===null?(st=65533,gt=1):st>65535&&(st-=65536,le.push(st>>>10&1023|55296),st=56320|st&1023),le.push(st),Be+=gt}return Ot(le)}var Qe=4096;function Ot(ie){var ee=ie.length;if(ee<=Qe)return String.fromCharCode.apply(String,ie);for(var se="",le=0;lele)&&(se=le);for(var Be="",Ve=ee;Vele&&(ee=le),se<0?(se+=le,se<0&&(se=0)):se>le&&(se=le),sese)throw new RangeError("Trying to access beyond buffer length")}he.prototype.readUintLE=he.prototype.readUIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee],Ve=1,st=0;++st>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee+--se],Ve=1;se>0&&(Ve*=256);)Be+=this[ee+--se]*Ve;return Be},he.prototype.readUint8=he.prototype.readUInt8=function(ee,se){return ee=ee>>>0,se||Te(ee,1,this.length),this[ee]},he.prototype.readUint16LE=he.prototype.readUInt16LE=function(ee,se){return ee=ee>>>0,se||Te(ee,2,this.length),this[ee]|this[ee+1]<<8},he.prototype.readUint16BE=he.prototype.readUInt16BE=function(ee,se){return ee=ee>>>0,se||Te(ee,2,this.length),this[ee]<<8|this[ee+1]},he.prototype.readUint32LE=he.prototype.readUInt32LE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},he.prototype.readUint32BE=he.prototype.readUInt32BE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},he.prototype.readIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee],Ve=1,st=0;++st=Ve&&(Be-=Math.pow(2,8*se)),Be},he.prototype.readIntBE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=se,Ve=1,st=this[ee+--Be];Be>0&&(Ve*=256);)st+=this[ee+--Be]*Ve;return Ve*=128,st>=Ve&&(st-=Math.pow(2,8*se)),st},he.prototype.readInt8=function(ee,se){return ee=ee>>>0,se||Te(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},he.prototype.readInt16LE=function(ee,se){ee=ee>>>0,se||Te(ee,2,this.length);var le=this[ee]|this[ee+1]<<8;return le&32768?le|4294901760:le},he.prototype.readInt16BE=function(ee,se){ee=ee>>>0,se||Te(ee,2,this.length);var le=this[ee+1]|this[ee]<<8;return le&32768?le|4294901760:le},he.prototype.readInt32LE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},he.prototype.readInt32BE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},he.prototype.readFloatLE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),Ie.read(this,ee,!0,23,4)},he.prototype.readFloatBE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),Ie.read(this,ee,!1,23,4)},he.prototype.readDoubleLE=function(ee,se){return ee=ee>>>0,se||Te(ee,8,this.length),Ie.read(this,ee,!0,52,8)},he.prototype.readDoubleBE=function(ee,se){return ee=ee>>>0,se||Te(ee,8,this.length),Ie.read(this,ee,!1,52,8)};function ct(ie,ee,se,le,Be,Ve){if(!he.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||eeie.length)throw new RangeError("Index out of range")}he.prototype.writeUintLE=he.prototype.writeUIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,le=le>>>0,!Be){var Ve=Math.pow(2,8*le)-1;ct(this,ee,se,le,Ve,0)}var st=1,gt=0;for(this[se]=ee&255;++gt>>0,le=le>>>0,!Be){var Ve=Math.pow(2,8*le)-1;ct(this,ee,se,le,Ve,0)}var st=le-1,gt=1;for(this[se+st]=ee&255;--st>=0&&(gt*=256);)this[se+st]=ee/gt&255;return se+le},he.prototype.writeUint8=he.prototype.writeUInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,1,255,0),this[se]=ee&255,se+1},he.prototype.writeUint16LE=he.prototype.writeUInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,65535,0),this[se]=ee&255,this[se+1]=ee>>>8,se+2},he.prototype.writeUint16BE=he.prototype.writeUInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,65535,0),this[se]=ee>>>8,this[se+1]=ee&255,se+2},he.prototype.writeUint32LE=he.prototype.writeUInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,4294967295,0),this[se+3]=ee>>>24,this[se+2]=ee>>>16,this[se+1]=ee>>>8,this[se]=ee&255,se+4},he.prototype.writeUint32BE=he.prototype.writeUInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,4294967295,0),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4},he.prototype.writeIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ve=Math.pow(2,8*le-1);ct(this,ee,se,le,Ve-1,-Ve)}var st=0,gt=1,mt=0;for(this[se]=ee&255;++st>0)-mt&255;return se+le},he.prototype.writeIntBE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ve=Math.pow(2,8*le-1);ct(this,ee,se,le,Ve-1,-Ve)}var st=le-1,gt=1,mt=0;for(this[se+st]=ee&255;--st>=0&&(gt*=256);)ee<0&&mt===0&&this[se+st+1]!==0&&(mt=1),this[se+st]=(ee/gt>>0)-mt&255;return se+le},he.prototype.writeInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,1,127,-128),ee<0&&(ee=255+ee+1),this[se]=ee&255,se+1},he.prototype.writeInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,32767,-32768),this[se]=ee&255,this[se+1]=ee>>>8,se+2},he.prototype.writeInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,32767,-32768),this[se]=ee>>>8,this[se+1]=ee&255,se+2},he.prototype.writeInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,2147483647,-2147483648),this[se]=ee&255,this[se+1]=ee>>>8,this[se+2]=ee>>>16,this[se+3]=ee>>>24,se+4},he.prototype.writeInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4};function Zt(ie,ee,se,le,Be,Ve){if(se+le>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function jt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Zt(ie,ee,se,4,34028234663852886e22,-34028234663852886e22),Ie.write(ie,ee,se,le,23,4),se+4}he.prototype.writeFloatLE=function(ee,se,le){return jt(this,ee,se,!0,le)},he.prototype.writeFloatBE=function(ee,se,le){return jt(this,ee,se,!1,le)};function tt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Zt(ie,ee,se,8,17976931348623157e292,-17976931348623157e292),Ie.write(ie,ee,se,le,52,8),se+8}he.prototype.writeDoubleLE=function(ee,se,le){return tt(this,ee,se,!0,le)},he.prototype.writeDoubleBE=function(ee,se,le){return tt(this,ee,se,!1,le)},he.prototype.copy=function(ee,se,le,Be){if(!he.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(le||(le=0),!Be&&Be!==0&&(Be=this.length),se>=ee.length&&(se=ee.length),se||(se=0),Be>0&&Be=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),ee.length-se>>0,le=le===void 0?this.length:le>>>0,ee||(ee=0);var st;if(typeof ee=="number")for(st=se;st55295&&se<57344){if(!Be){if(se>56319){(ee-=3)>-1&&Ve.push(239,191,189);continue}else if(st+1===le){(ee-=3)>-1&&Ve.push(239,191,189);continue}Be=se;continue}if(se<56320){(ee-=3)>-1&&Ve.push(239,191,189),Be=se;continue}se=(Be-55296<<10|se-56320)+65536}else Be&&(ee-=3)>-1&&Ve.push(239,191,189);if(Be=null,se<128){if((ee-=1)<0)break;Ve.push(se)}else if(se<2048){if((ee-=2)<0)break;Ve.push(se>>6|192,se&63|128)}else if(se<65536){if((ee-=3)<0)break;Ve.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ee-=4)<0)break;Ve.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return Ve}function Pt(ie){for(var ee=[],se=0;se>8,Be=se%256,Ve.push(Be),Ve.push(le);return Ve}function kt(ie){return dt.toByteArray(_t(ie))}function Sn(ie,ee,se,le){for(var Be=0;Be=ee.length||Be>=ie.length);++Be)ee[Be+se]=ie[Be];return Be}function on(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function de(ie){return ie!==ie}var ge=function(){for(var ie="0123456789abcdef",ee=new Array(256),se=0;se<16;++se)for(var le=se*16,Be=0;Be<16;++Be)ee[le+Be]=ie[se]+ie[Be];return ee}()},14625:function(Yn){function Ut(x){var dt,Ie,qe="";if(typeof x=="string"||typeof x=="number")qe+=x;else if(typeof x=="object")if(Array.isArray(x)){var ze=x.length;for(dt=0;dt`,triples:"",explode:"[]{}"},Ie=x.Pos;x.defineOption("autoCloseBrackets",!1,function(Pe,ye,Ce){Ce&&Ce!=x.Init&&(Pe.removeKeyMap(ze),Pe.state.closeBrackets=null),ye&&(Fe(qe(ye,"pairs")),Pe.state.closeBrackets=ye,Pe.addKeyMap(ze))});function qe(Pe,ye){return ye=="pairs"&&typeof Pe=="string"?Pe:typeof Pe=="object"&&Pe[ye]!=null?Pe[ye]:dt[ye]}var ze={Backspace:xe,Enter:oe};function Fe(Pe){for(var ye=0;ye=0;Me--){var je=Ee[Me].head;Pe.replaceRange("",Ie(je.line,je.ch-1),Ie(je.line,je.ch+1),"+delete")}}function oe(Pe){var ye=he(Pe),Ce=ye&&qe(ye,"explode");if(!Ce||Pe.getOption("disableInput"))return x.Pass;for(var Ee=Pe.listSelections(),Me=0;Me0;return{anchor:new Ie(Pe.anchor.line,Pe.anchor.ch+(ye?-1:1)),head:new Ie(Pe.head.line,Pe.head.ch+(ye?1:-1))}}function ve(Pe,ye){var Ce=he(Pe);if(!Ce||Pe.getOption("disableInput"))return x.Pass;var Ee=qe(Ce,"pairs"),Me=Ee.indexOf(ye);if(Me==-1)return x.Pass;for(var Ke=qe(Ce,"closeBefore"),je=qe(Ce,"triples"),_e=Ee.charAt(Me+1)==ye,Je=Pe.listSelections(),Xe=Me%2==0,ut,ot=0;ot=0&&Pe.getRange(Ct,Ie(Ct.line,Ct.ch+3))==ye+ye+ye?He="skipThree":He="skip";else if(_e&&Ct.ch>1&&je.indexOf(ye)>=0&&Pe.getRange(Ie(Ct.line,Ct.ch-2),Ct)==ye+ye){if(Ct.ch>2&&/\bstring/.test(Pe.getTokenTypeAt(Ie(Ct.line,Ct.ch-2))))return x.Pass;He="addFour"}else if(_e){var De=Ct.ch==0?" ":Pe.getRange(Ie(Ct.line,Ct.ch-1),Ct);if(!x.isWordChar(ft)&&De!=ye&&!x.isWordChar(De))He="both";else return x.Pass}else if(Xe&&(ft.length===0||/\s/.test(ft)||Ke.indexOf(ft)>-1))He="both";else return x.Pass;if(!ut)ut=He;else if(ut!=He)return x.Pass}var Qe=Me%2?Ee.charAt(Me-1):ye,Ot=Me%2?ye:Ee.charAt(Me+1);Pe.operation(function(){if(ut=="skip")Pe.execCommand("goCharRight");else if(ut=="skipThree")for(var it=0;it<3;it++)Pe.execCommand("goCharRight");else if(ut=="surround"){for(var at=Pe.getSelections(),it=0;it'"]=function(Re){return qe(Re)}),xe.addKeyMap(ve)}});var dt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ie=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function qe(xe){if(xe.getOption("disableInput"))return x.Pass;for(var oe=xe.listSelections(),Ne=[],ve=xe.getOption("autoCloseTags"),Re=0;ReSe.ch&&(Me=Me.slice(0,Me.length-Pe.end+Se.ch));var Je=Me.toLowerCase();if(!Me||Pe.type=="string"&&(Pe.end!=Se.ch||!/[\"\']/.test(Pe.string.charAt(Pe.string.length-1))||Pe.string.length==1)||Pe.type=="tag"&&Ee.close||Pe.string.indexOf("/")==Se.ch-Pe.start-1||je&&Ue(je,Je)>-1||he(xe,ye.mode.xmlCurrentContext&&ye.mode.xmlCurrentContext(Ce)||[],Me,Se,!0))return x.Pass;var Xe=typeof ve=="object"&&ve.emptyTags;if(Xe&&Ue(Xe,Me)>-1){Ne[Re]={text:"/>",newPos:x.Pos(Se.line,Se.ch+2)};continue}var ut=_e&&Ue(_e,Je)>-1;Ne[Re]={indent:ut,text:">"+(ut?` + ${(0,ya.unit)(uo(Fn).mul(-1).equal())}`,[`${yt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qr,fontWeight:Yt,textAlign:"start",background:Fr,borderBottom:qi,transition:`background ${Dr} ease`}}},[`${yt}-footer`]:{padding:`${(0,ya.unit)(An)} ${(0,ya.unit)(Fn)}`,color:mi,background:to}})}},sd=wt=>{const{colorFillAlter:yt,colorBgContainer:Yt,colorTextHeading:An,colorFillSecondary:Fn,colorFillContent:Mn,controlItemBgActive:rr,controlItemBgActiveHover:er,padding:vr,paddingSM:Ar,paddingXS:li,colorBorderSecondary:_r,borderRadiusLG:Qr,controlHeight:Dr,colorTextPlaceholder:Fr,fontSize:Gi,fontSizeSM:mi,lineHeight:to,lineWidth:uo,colorIcon:qi,colorIconHover:po,opacityLoading:Eo,controlInteractiveSize:jo}=wt,ko=new _l.FastColor(Fn).onBackground(Yt).toHexString(),Na=new _l.FastColor(Mn).onBackground(Yt).toHexString(),sa=new _l.FastColor(yt).onBackground(Yt).toHexString(),ra=new _l.FastColor(qi),Zo=new _l.FastColor(po),Ho=jo/2-uo,Ko=Ho*2+uo*3;return{headerBg:sa,headerColor:An,headerSortActiveBg:ko,headerSortHoverBg:Na,bodySortBg:sa,rowHoverBg:sa,rowSelectedBg:rr,rowSelectedHoverBg:er,rowExpandedBg:yt,cellPaddingBlock:vr,cellPaddingInline:vr,cellPaddingBlockMD:Ar,cellPaddingInlineMD:li,cellPaddingBlockSM:li,cellPaddingInlineSM:li,borderColor:_r,headerBorderRadius:Qr,footerBg:sa,footerColor:An,cellFontSize:Gi,cellFontSizeMD:Gi,cellFontSizeSM:Gi,headerSplitColor:_r,fixedHeaderSortActiveBg:ko,headerFilterHoverBg:Mn,filterDropdownMenuBg:Yt,filterDropdownBg:Yt,expandIconBg:Yt,selectionColumnWidth:Dr,stickyScrollBarBg:Fr,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Gi*to-uo*3)/2-Math.ceil((mi*1.4-uo*3)/2),headerIconColor:ra.clone().setA(ra.a*Eo).toRgbString(),headerIconHoverColor:Zo.clone().setA(Zo.a*Eo).toRgbString(),expandIconHalfInner:Ho,expandIconSize:Ko,expandIconScale:jo/Ko}},$d=2;var Bf=(0,rd.I$)("Table",wt=>{const{colorTextHeading:yt,colorSplit:Yt,colorBgContainer:An,controlInteractiveSize:Fn,headerBg:Mn,headerColor:rr,headerSortActiveBg:er,headerSortHoverBg:vr,bodySortBg:Ar,rowHoverBg:li,rowSelectedBg:_r,rowSelectedHoverBg:Qr,rowExpandedBg:Dr,cellPaddingBlock:Fr,cellPaddingInline:Gi,cellPaddingBlockMD:mi,cellPaddingInlineMD:to,cellPaddingBlockSM:uo,cellPaddingInlineSM:qi,borderColor:po,footerBg:Eo,footerColor:jo,headerBorderRadius:ko,cellFontSize:Na,cellFontSizeMD:sa,cellFontSizeSM:ra,headerSplitColor:Zo,fixedHeaderSortActiveBg:Ho,headerFilterHoverBg:Ko,filterDropdownBg:vo,expandIconBg:ho,selectionColumnWidth:Mo,stickyScrollBarBg:Go,calc:ia}=wt,Co=(0,kA.mergeToken)(wt,{tableFontSize:Na,tableBg:An,tableRadius:ko,tablePaddingVertical:Fr,tablePaddingHorizontal:Gi,tablePaddingVerticalMiddle:mi,tablePaddingHorizontalMiddle:to,tablePaddingVerticalSmall:uo,tablePaddingHorizontalSmall:qi,tableBorderColor:po,tableHeaderTextColor:rr,tableHeaderBg:Mn,tableFooterTextColor:jo,tableFooterBg:Eo,tableHeaderCellSplitColor:Zo,tableHeaderSortBg:er,tableHeaderSortHoverBg:vr,tableBodySortBg:Ar,tableFixedHeaderSortActiveBg:Ho,tableHeaderFilterActiveBg:Ko,tableFilterDropdownBg:vo,tableRowHoverBg:li,tableSelectedRowBg:_r,tableSelectedRowHoverBg:Qr,zIndexTableFixed:$d,zIndexTableSticky:ia($d).add(1).equal({unit:!1}),tableFontSizeMiddle:sa,tableFontSizeSmall:ra,tableSelectionColumnWidth:Mo,tableExpandIconBg:ho,tableExpandColumnWidth:ia(Fn).add(ia(wt.padding).mul(2)).equal(),tableExpandedRowBg:Dr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Go,tableScrollThumbBgHover:yt,tableScrollBg:Yt});return[Uu(Co),wA(Co),Ac(Co),Xd(Co),zs(Co),MA(Co),xf(Co),Nc(Co),Ac(Co),Zp(Co),cc(Co),od(Co),Yd(Co),Uc(Co),up(Co),Mh(Co),dc(Co)]},sd,{unitless:{expandIconScale:!0}});const Ap=[],dp=(wt,yt)=>{var Yt,An;const{prefixCls:Fn,className:Mn,rootClassName:rr,style:er,size:vr,bordered:Ar,dropdownPrefixCls:li,dataSource:_r,pagination:Qr,rowSelection:Dr,rowKey:Fr="key",rowClassName:Gi,columns:mi,children:to,childrenColumnName:uo,onChange:qi,getPopupContainer:po,loading:Eo,expandIcon:jo,expandable:ko,expandedRowRender:Na,expandIconColumnIndex:sa,indentSize:ra,scroll:Zo,sortDirections:Ho,locale:Ko,showSorterTooltip:vo={target:"full-header"},virtual:ho}=wt,Mo=(0,Oo.ln)("Table"),Go=x.useMemo(()=>mi||or(to),[mi,to]),ia=x.useMemo(()=>Go.some(Wa=>Wa.responsive),[Go]),Co=(0,Rl.Z)(ia),es=x.useMemo(()=>{const Wa=new Set(Object.keys(Co).filter(gs=>Co[gs]));return Go.filter(gs=>!gs.responsive||gs.responsive.some(Ql=>Wa.has(Ql)))},[Go,Co]),Za=(0,Ra.Z)(wt,["className","style","columns"]),{locale:kl=Nu.Z,direction:bl,table:al,renderEmpty:co,getPrefixCls:Xl,getPopupContainer:us}=x.useContext(nl.E_),as=(0,Fs.Z)(vr),rl=Object.assign(Object.assign({},kl.Table),Ko),Au=_r||Ap,oa=Xl("table",Fn),Ca=Xl("dropdown",li),[,Xo]=(0,Bu.ZP)(),Po=(0,su.Z)(oa),[ps,Is,Gs]=Bf(oa,Po),Ks=Object.assign(Object.assign({childrenColumnName:uo,expandIconColumnIndex:sa},ko),{expandIcon:(Yt=ko==null?void 0:ko.expandIcon)!==null&&Yt!==void 0?Yt:(An=al==null?void 0:al.expandable)===null||An===void 0?void 0:An.expandIcon}),{childrenColumnName:sl="children"}=Ks,mu=x.useMemo(()=>Au.some(Wa=>Wa==null?void 0:Wa[sl])?"nest":Na||ko!=null&&ko.expandedRowRender?"row":null,[Au]),la={body:x.useRef(null)},na=ka(oa),Bs=x.useRef(null),Js=x.useRef(null);js(yt,()=>Object.assign(Object.assign({},Js.current),{nativeElement:Bs.current}));const Xs=x.useMemo(()=>typeof Fr=="function"?Fr:Wa=>Wa==null?void 0:Wa[Fr],[Fr]),[vu]=Vc(Au,sl,Xs),Ml={},fc=function(Wa,gs){let Ql=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ru,Su,Fu,rc;const Wu=Object.assign(Object.assign({},Ml),Wa);Ql&&((ru=Ml.resetPagination)===null||ru===void 0||ru.call(Ml),!((Su=Wu.pagination)===null||Su===void 0)&&Su.current&&(Wu.pagination.current=1),Qr&&((Fu=Qr.onChange)===null||Fu===void 0||Fu.call(Qr,1,(rc=Wu.pagination)===null||rc===void 0?void 0:rc.pageSize))),Zo&&Zo.scrollToFirstRowOnChange!==!1&&la.body.current&&(0,tl.Z)(0,{getContainer:()=>la.body.current}),qi==null||qi(Wu.pagination,Wu.filters,Wu.sorter,{currentDataSource:Da(ec(Au,Wu.sorterStates,sl),Wu.filterStates,sl),action:gs})},Cl=(Wa,gs)=>{fc({sorter:Wa,sorterStates:gs},"sort",!1)},[ys,ll,ul,du]=Th({prefixCls:oa,mergedColumns:es,onSorterChange:Cl,sortDirections:Ho||["ascend","descend"],tableLocale:rl,showSorterTooltip:vo}),Ul=x.useMemo(()=>ec(Au,ll,sl),[Au,ll]);Ml.sorter=du(),Ml.sorterStates=ll;const ws=(Wa,gs)=>{fc({filters:Wa,filterStates:gs},"filter",!0)},[gl,Ls,ml]=Vl({prefixCls:oa,locale:rl,dropdownPrefixCls:Ca,mergedColumns:es,onFilterChange:ws,getPopupContainer:po||us,rootClassName:De()(rr,Po)}),Yl=Da(Ul,Ls,sl);Ml.filters=ml,Ml.filterStates=Ls;const Ru=x.useMemo(()=>{const Wa={};return Object.keys(ml).forEach(gs=>{ml[gs]!==null&&(Wa[gs]=ml[gs])}),Object.assign(Object.assign({},ul),{filters:Wa})},[ul,ml]),[_u]=Fd(Ru),Yc=(Wa,gs)=>{fc({pagination:Object.assign(Object.assign({},Ml.pagination),{current:Wa,pageSize:gs})},"paginate")},[cl,Dd]=iA(Yl.length,Yc,Qr);Ml.pagination=Qr===!1?{}:Gl(cl,Qr),Ml.resetPagination=Dd;const Ku=x.useMemo(()=>{if(Qr===!1||!cl.pageSize)return Yl;const{current:Wa=1,total:gs,pageSize:Ql=pA}=cl;return Yl.lengthQl?Yl.slice((Wa-1)*Ql,Wa*Ql):Yl:Yl.slice((Wa-1)*Ql,Wa*Ql)},[!!Qr,Yl,cl==null?void 0:cl.current,cl==null?void 0:cl.pageSize,cl==null?void 0:cl.total]),[tc,Zu]=bo({prefixCls:oa,data:Yl,pageData:Ku,getRowKey:Xs,getRecordByKey:vu,expandType:mu,childrenColumnName:sl,locale:rl,getPopupContainer:po||us},Dr),nc=(Wa,gs,Ql)=>{let ru;return typeof Gi=="function"?ru=De()(Gi(Wa,gs,Ql)):ru=De()(Gi),De()({[`${oa}-row-selected`]:Zu.has(Xs(Wa,gs))},ru)};Ks.__PARENT_RENDER_ICON__=Ks.expandIcon,Ks.expandIcon=Ks.expandIcon||jo||pa(rl),mu==="nest"&&Ks.expandIconColumnIndex===void 0?Ks.expandIconColumnIndex=Dr?1:0:Ks.expandIconColumnIndex>0&&Dr&&(Ks.expandIconColumnIndex-=1),typeof Ks.indentSize!="number"&&(Ks.indentSize=typeof ra=="number"?ra:15);const Al=x.useCallback(Wa=>_u(tc(gl(ys(Wa)))),[ys,gl,tc]);let Cc,xA;if(Qr!==!1&&(cl!=null&&cl.total)){let Wa;cl.size?Wa=cl.size:Wa=as==="small"||as==="middle"?"small":void 0;const gs=Su=>x.createElement(xu.Z,Object.assign({},cl,{className:De()(`${oa}-pagination ${oa}-pagination-${Su}`,cl.className),size:Wa})),Ql=bl==="rtl"?"left":"right",{position:ru}=cl;if(ru!==null&&Array.isArray(ru)){const Su=ru.find(Wu=>Wu.includes("top")),Fu=ru.find(Wu=>Wu.includes("bottom")),rc=ru.every(Wu=>`${Wu}`=="none");!Su&&!Fu&&!rc&&(xA=gs(Ql)),Su&&(Cc=gs(Su.toLowerCase().replace("top",""))),Fu&&(xA=gs(Fu.toLowerCase().replace("bottom","")))}else xA=gs(Ql)}let Rc;typeof Eo=="boolean"?Rc={spinning:Eo}:typeof Eo=="object"&&(Rc=Object.assign({spinning:!0},Eo));const $c=De()(Gs,Po,`${oa}-wrapper`,al==null?void 0:al.className,{[`${oa}-wrapper-rtl`]:bl==="rtl"},Mn,rr,Is),Jd=Object.assign(Object.assign({},al==null?void 0:al.style),er),qd=typeof(Ko==null?void 0:Ko.emptyText)!="undefined"?Ko.emptyText:(co==null?void 0:co("Table"))||x.createElement(au.Z,{componentName:"Table"}),Ds=ho?Xc:bf,ld={},Ef=x.useMemo(()=>{const{fontSize:Wa,lineHeight:gs,lineWidth:Ql,padding:ru,paddingXS:Su,paddingSM:Fu}=Xo,rc=Math.floor(Wa*gs);switch(as){case"middle":return Fu*2+rc+Ql;case"small":return Su*2+rc+Ql;default:return ru*2+rc+Ql}},[Xo,as]);return ho&&(ld.listItemHeight=Ef),ps(x.createElement("div",{ref:Bs,className:$c,style:Jd},x.createElement(pl.Z,Object.assign({spinning:!1},Rc),Cc,x.createElement(Ds,Object.assign({},ld,Za,{ref:Js,columns:es,direction:bl,expandable:Ks,prefixCls:oa,className:De()({[`${oa}-middle`]:as==="middle",[`${oa}-small`]:as==="small",[`${oa}-bordered`]:Ar,[`${oa}-empty`]:Au.length===0},Gs,Po,Is),data:Ku,rowKey:Xs,rowClassName:nc,emptyText:qd,internalHooks:Ie,internalRefs:la,transformColumns:Al,getContainerWidth:na})),xA)))};var fp=x.forwardRef(dp);const nh=(wt,yt)=>{const Yt=x.useRef(0);return Yt.current+=1,x.createElement(fp,Object.assign({},wt,{ref:yt,_renderTimes:Yt.current}))},CA=x.forwardRef(nh);CA.SELECTION_COLUMN=$o,CA.EXPAND_COLUMN=dt,CA.SELECTION_ALL=Sa,CA.SELECTION_INVERT=Ja,CA.SELECTION_NONE=hs,CA.Column=oo,CA.ColumnGroup=ti,CA.Summary=mt;var Ld=CA,hp=Ld},96599:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return De}});var x=ae(59301),dt=ae(92310),Ie=ae.n(dt),qe=ae(2738),ze=ae(29509),Fe=ae(78776),Ue=ae(22703),he=ae(12919),xe=ae(48755),oe=ae(36237),Ne=ae(17835),ve=ae(63356),Re=ae(51636),Se=ae(16931);const Oe=_e=>{const{paddingXXS:Ot,lineWidth:it,tagPaddingHorizontal:at,componentCls:Bt,calc:We}=_e,Te=We(at).sub(it).equal(),ct=We(Ot).sub(it).equal();return{[Bt]:Object.assign(Object.assign({},(0,ve.Wf)(_e)),{display:"inline-block",height:"auto",marginInlineEnd:_e.marginXS,paddingInline:Te,fontSize:_e.tagFontSize,lineHeight:_e.tagLineHeight,whiteSpace:"nowrap",background:_e.defaultBg,border:`${(0,oe.unit)(_e.lineWidth)} ${_e.lineType} ${_e.colorBorder}`,borderRadius:_e.borderRadiusSM,opacity:1,transition:`all ${_e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:_e.defaultColor},[`${Bt}-close-icon`]:{marginInlineStart:ct,fontSize:_e.tagIconSize,color:_e.colorTextDescription,cursor:"pointer",transition:`all ${_e.motionDurationMid}`,"&:hover":{color:_e.colorTextHeading}},[`&${Bt}-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(${Bt}-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:Te}}),[`${Bt}-borderless`]:{borderColor:"transparent",background:_e.tagBorderlessBg}}},ye=_e=>{const{lineWidth:Ot,fontSizeIcon:it,calc:at}=_e,Bt=_e.fontSizeSM;return(0,Re.mergeToken)(_e,{tagFontSize:Bt,tagLineHeight:(0,oe.unit)(at(_e.lineHeightSM).mul(Bt).equal()),tagIconSize:at(it).sub(at(Ot).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:_e.defaultBg})},Ce=_e=>({defaultBg:new Ne.FastColor(_e.colorFillQuaternary).onBackground(_e.colorBgContainer).toHexString(),defaultColor:_e.colorText});var Ee=(0,Se.I$)("Tag",_e=>{const Ot=ye(_e);return Oe(Ot)},Ce),Me=function(_e,Ot){var it={};for(var at in _e)Object.prototype.hasOwnProperty.call(_e,at)&&Ot.indexOf(at)<0&&(it[at]=_e[at]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,at=Object.getOwnPropertySymbols(_e);Bt{const{prefixCls:it,style:at,className:Bt,checked:We,onChange:Te,onClick:ct}=_e,Zt=Me(_e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:zt,tag:tt}=x.useContext(xe.E_),Pt=Sn=>{Te==null||Te(!We),ct==null||ct(Sn)},_t=zt("tag",it),[fn,Tt,vn]=Ee(_t),kt=Ie()(_t,`${_t}-checkable`,{[`${_t}-checkable-checked`]:We},tt==null?void 0:tt.className,Bt,Tt,vn);return fn(x.createElement("span",Object.assign({},Zt,{ref:Ot,style:Object.assign(Object.assign({},at),tt==null?void 0:tt.style),className:kt,onClick:Pt})))}),Qe=ae(93427);const Je=_e=>(0,Qe.Z)(_e,(Ot,it)=>{let{textColor:at,lightBorderColor:Bt,lightColor:We,darkColor:Te}=it;return{[`${_e.componentCls}${_e.componentCls}-${Ot}`]:{color:at,background:We,borderColor:Bt,"&-inverse":{color:_e.colorTextLightSolid,background:Te,borderColor:Te},[`&${_e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Xe=(0,Se.bk)(["Tag","preset"],_e=>{const Ot=ye(_e);return Je(Ot)},Ce);function ut(_e){return typeof _e!="string"?_e:_e.charAt(0).toUpperCase()+_e.slice(1)}const ot=(_e,Ot,it)=>{const at=ut(it);return{[`${_e.componentCls}${_e.componentCls}-${Ot}`]:{color:_e[`color${it}`],background:_e[`color${at}Bg`],borderColor:_e[`color${at}Border`],[`&${_e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ht=(0,Se.bk)(["Tag","status"],_e=>{const Ot=ye(_e);return[ot(Ot,"success","Success"),ot(Ot,"processing","Info"),ot(Ot,"error","Error"),ot(Ot,"warning","Warning")]},Ce),Ct=function(_e,Ot){var it={};for(var at in _e)Object.prototype.hasOwnProperty.call(_e,at)&&Ot.indexOf(at)<0&&(it[at]=_e[at]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,at=Object.getOwnPropertySymbols(_e);Bt{const{prefixCls:it,className:at,rootClassName:Bt,style:We,children:Te,icon:ct,color:Zt,onClose:zt,bordered:tt=!0,visible:Pt}=_e,_t=Ct(_e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:fn,direction:Tt,tag:vn}=x.useContext(xe.E_),[kt,Sn]=x.useState(!0),on=(0,qe.Z)(_t,["closeIcon","closable"]);x.useEffect(()=>{Pt!==void 0&&Sn(Pt)},[Pt]);const de=(0,ze.o2)(Zt),ge=(0,ze.yT)(Zt),ie=de||ge,ee=Object.assign(Object.assign({backgroundColor:Zt&&!ie?Zt:void 0},vn==null?void 0:vn.style),We),se=fn("tag",it),[le,Be,Ve]=Ee(se),st=Ie()(se,vn==null?void 0:vn.className,{[`${se}-${Zt}`]:ie,[`${se}-has-color`]:Zt&&!ie,[`${se}-hidden`]:!kt,[`${se}-rtl`]:Tt==="rtl",[`${se}-borderless`]:!tt},at,Bt,Be,Ve),gt=lt=>{lt.stopPropagation(),zt==null||zt(lt),!lt.defaultPrevented&&Sn(!1)},[,mt]=(0,Fe.Z)((0,Fe.w)(_e),(0,Fe.w)(vn),{closable:!1,closeIconRender:lt=>{const Xt=x.createElement("span",{className:`${se}-close-icon`,onClick:gt},lt);return(0,Ue.wm)(lt,Xt,Vt=>({onClick:wn=>{var an;(an=Vt==null?void 0:Vt.onClick)===null||an===void 0||an.call(Vt,wn),gt(wn)},className:Ie()(Vt==null?void 0:Vt.className,`${se}-close-icon`)}))}}),St=typeof _t.onClick=="function"||Te&&Te.type==="a",Dt=ct||null,jt=Dt?x.createElement(x.Fragment,null,Dt,Te&&x.createElement("span",null,Te)):Te,xt=x.createElement("span",Object.assign({},on,{ref:Ot,className:st,style:ee}),jt,mt,de&&x.createElement(Xe,{key:"preset",prefixCls:se}),ge&&x.createElement(ht,{key:"status",prefixCls:se}));return le(St?x.createElement(he.Z,{component:"Tag"},xt):xt)});ft.CheckableTag=je;var De=ft},18287:function(Yn,Ut,ae){"use strict";ae.d(Ut,{default:function(){return zt}});var x=ae(87632),dt=ae(77654),Ie=ae(59301),qe=ae(52671),ze=ae(8657),Fe=ae(60499),Ue={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"},he=Ue,xe=ae(7657),oe=function(Pt,_t){return Ie.createElement(xe.Z,(0,Fe.Z)({},Pt,{ref:_t,icon:he}))},Ne=Ie.forwardRef(oe),ve=Ne,Re=ae(92310),Se=ae.n(Re),Oe=ae(82661),ye=ae(34061),Ce=ae(48755),Ee=ae(56082),Me=ae(86641),Ke=ae(57700),je=ae(12425);const Qe=4;function Je(tt){const{dropPosition:Pt,dropLevelOffset:_t,prefixCls:fn,indent:Tt,direction:vn="ltr"}=tt,kt=vn==="ltr"?"left":"right",Sn=vn==="ltr"?"right":"left",on={[kt]:-_t*Tt+Qe,[Sn]:0};switch(Pt){case-1:on.top=-3;break;case 1:on.bottom=-3;break;default:on.bottom=-3,on[kt]=Tt+Qe;break}return Ie.createElement("div",{style:on,className:`${fn}-drop-indicator`})}var Xe=Je,ut=ae(85278),ht=Ie.forwardRef((tt,Pt)=>{var _t;const{getPrefixCls:fn,direction:Tt,virtual:vn,tree:kt}=Ie.useContext(Ce.E_),{prefixCls:Sn,className:on,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:se=!1,children:le,checkable:Be=!1,selectable:Ve=!0,draggable:st,motion:gt,style:mt}=tt,St=fn("tree",Sn),Dt=fn(),jt=gt!=null?gt:Object.assign(Object.assign({},(0,Me.Z)(Dt)),{motionAppear:!1}),xt=Object.assign(Object.assign({},tt),{checkable:Be,selectable:Ve,showIcon:de,motion:jt,blockNode:se,showLine:!!ge,dropIndicatorRender:Xe}),[lt,Xt,Vt]=(0,je.ZP)(St),[,wn]=(0,Ke.ZP)(),an=wn.paddingXS/2+(((_t=wn.Tree)===null||_t===void 0?void 0:_t.titleHeight)||wn.controlHeightSM),en=Ie.useMemo(()=>{if(!st)return!1;let In={};switch(typeof st){case"function":In.nodeDraggable=st;break;case"object":In=Object.assign({},st);break;default:break}return In.icon!==!1&&(In.icon=In.icon||Ie.createElement(Ee.Z,null)),In},[st]),zn=In=>Ie.createElement(ut.Z,{prefixCls:St,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:In,showLine:ge});return lt(Ie.createElement(x.ZP,Object.assign({itemHeight:an,ref:Pt,virtual:vn},xt,{style:Object.assign(Object.assign({},kt==null?void 0:kt.style),mt),prefixCls:St,className:Se()({[`${St}-icon-hide`]:!de,[`${St}-block-node`]:se,[`${St}-unselectable`]:!Ve,[`${St}-rtl`]:Tt==="rtl"},kt==null?void 0:kt.className,on,Xt,Vt),direction:Tt,checkable:Be&&Ie.createElement("span",{className:`${St}-checkbox-inner`}),selectable:Ve,switcherIcon:zn,draggable:en}),le))});const Ct=0,He=1,ft=2;function De(tt,Pt,_t){const{key:fn,children:Tt}=_t;function vn(kt){const Sn=kt[fn],on=kt[Tt];Pt(Sn,kt)!==!1&&De(on||[],Pt,_t)}tt.forEach(vn)}function _e(tt){let{treeData:Pt,expandedKeys:_t,startKey:fn,endKey:Tt,fieldNames:vn}=tt;const kt=[];let Sn=Ct;if(fn&&fn===Tt)return[fn];if(!fn||!Tt)return[];function on(de){return de===fn||de===Tt}return De(Pt,de=>{if(Sn===ft)return!1;if(on(de)){if(kt.push(de),Sn===Ct)Sn=He;else if(Sn===He)return Sn=ft,!1}else Sn===He&&kt.push(de);return _t.includes(de)},(0,ye.w$)(vn)),kt}function Ot(tt,Pt,_t){const fn=(0,dt.Z)(Pt),Tt=[];return De(tt,(vn,kt)=>{const Sn=fn.indexOf(vn);return Sn!==-1&&(Tt.push(kt),fn.splice(Sn,1)),!!fn.length},(0,ye.w$)(_t)),Tt}var it=function(tt,Pt){var _t={};for(var fn in tt)Object.prototype.hasOwnProperty.call(tt,fn)&&Pt.indexOf(fn)<0&&(_t[fn]=tt[fn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,fn=Object.getOwnPropertySymbols(tt);Tt{var{defaultExpandAll:_t,defaultExpandParent:fn,defaultExpandedKeys:Tt}=tt,vn=it(tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const kt=Ie.useRef(null),Sn=Ie.useRef(null),on=()=>{const{keyEntities:lt}=(0,ye.I8)(Bt(vn));let Xt;return _t?Xt=Object.keys(lt):fn?Xt=(0,Oe.r7)(vn.expandedKeys||Tt||[],lt):Xt=vn.expandedKeys||Tt||[],Xt},[de,ge]=Ie.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[ie,ee]=Ie.useState(()=>on());Ie.useEffect(()=>{"selectedKeys"in vn&&ge(vn.selectedKeys)},[vn.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in vn&&ee(vn.expandedKeys)},[vn.expandedKeys]);const se=(lt,Xt)=>{var Vt;return"expandedKeys"in vn||ee(lt),(Vt=vn.onExpand)===null||Vt===void 0?void 0:Vt.call(vn,lt,Xt)},le=(lt,Xt)=>{var Vt;const{multiple:wn,fieldNames:an}=vn,{node:en,nativeEvent:zn}=Xt,{key:In=""}=en,Qt=Bt(vn),sn=Object.assign(Object.assign({},Xt),{selected:!0}),Nn=(zn==null?void 0:zn.ctrlKey)||(zn==null?void 0:zn.metaKey),Vn=zn==null?void 0:zn.shiftKey;let Lt;wn&&Nn?(Lt=lt,kt.current=In,Sn.current=Lt,sn.selectedNodes=Ot(Qt,Lt,an)):wn&&Vn?(Lt=Array.from(new Set([].concat((0,dt.Z)(Sn.current||[]),(0,dt.Z)(_e({treeData:Qt,expandedKeys:ie,startKey:In,endKey:kt.current,fieldNames:an}))))),sn.selectedNodes=Ot(Qt,Lt,an)):(Lt=[In],kt.current=In,Sn.current=Lt,sn.selectedNodes=Ot(Qt,Lt,an)),(Vt=vn.onSelect)===null||Vt===void 0||Vt.call(vn,Lt,sn),"selectedKeys"in vn||ge(Lt)},{getPrefixCls:Be,direction:Ve}=Ie.useContext(Ce.E_),{prefixCls:st,className:gt,showIcon:mt=!0,expandAction:St="click"}=vn,Dt=it(vn,["prefixCls","className","showIcon","expandAction"]),jt=Be("tree",st),xt=Se()(`${jt}-directory`,{[`${jt}-directory-rtl`]:Ve==="rtl"},gt);return Ie.createElement(ht,Object.assign({icon:at,ref:Pt,blockNode:!0},Dt,{showIcon:mt,expandAction:St,prefixCls:jt,className:xt,expandedKeys:ie,selectedKeys:de,onSelect:le,onExpand:se}))};var ct=Ie.forwardRef(We);const Zt=ht;Zt.DirectoryTree=ct,Zt.TreeNode=x.OF;var zt=Zt},12425:function(Yn,Ut,ae){"use strict";ae.d(Ut,{ZP:function(){return Oe},Yk:function(){return ve},TM:function(){return Re}});var x=ae(36237),dt=ae(36170),Ie=ae(63356),qe=ae(34961),ze=ae(51636),Fe=ae(16931);const Ue=ye=>{let{treeCls:Ce,treeNodeCls:Ee,directoryNodeSelectedBg:Me,directoryNodeSelectedColor:Ke,motionDurationMid:je,borderRadius:Qe,controlItemBgHover:Je}=ye;return{[`${Ce}${Ce}-directory ${Ee}`]:{[`${Ce}-node-content-wrapper`]:{position:"static",[`> *:not(${Ce}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${je}`,content:'""',borderRadius:Qe},"&:hover:before":{background:Je}},[`${Ce}-switcher, ${Ce}-checkbox, ${Ce}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ce}-switcher, ${Ce}-draggable-icon`]:{color:Ke},[`${Ce}-node-content-wrapper`]:{color:Ke,background:"transparent","&:before, &:hover:before":{background:Me}}}}}},he=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),xe=(ye,Ce)=>({[`.${ye}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ce.motionDurationSlow}`}}}),oe=(ye,Ce)=>({[`.${ye}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ce.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(Ce.lineWidthBold)} solid ${Ce.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ne=(ye,Ce)=>{const{treeCls:Ee,treeNodeCls:Me,treeNodePadding:Ke,titleHeight:je,indentSize:Qe,nodeSelectedBg:Je,nodeHoverBg:Xe,colorTextQuaternary:ut,controlItemBgActiveDisabled:ot}=Ce;return{[Ee]:Object.assign(Object.assign({},(0,Ie.Wf)(Ce)),{background:Ce.colorBgContainer,borderRadius:Ce.borderRadius,transition:`background-color ${Ce.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ee}-rtl ${Ee}-switcher_close ${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ee}-active-focused)`]:Object.assign({},(0,Ie.oN)(Ce)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${Me}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ce.colorPrimary}`,opacity:0,animationName:he,animationDuration:Ce.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ce.borderRadius}}},[Me]:{display:"flex",alignItems:"flex-start",marginBottom:Ke,lineHeight:(0,x.unit)(je),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ke},[`&-disabled ${Ee}-node-content-wrapper`]:{color:Ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${Me}-disabled${Me}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:ot},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Me}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:Ce.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:Ce.controlItemBgHover},[`&:not(${Me}-disabled).filter-node ${Ee}-title`]:{color:Ce.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:je,textAlign:"center",visibility:"visible",color:ut},[`&${Me}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Qe}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:Ce.calc(Ce.calc(je).sub(Ce.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},xe(ye,Ce)),{position:"relative",flex:"none",alignSelf:"stretch",width:je,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ce.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:je,height:je,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ce.borderRadius,transition:`all ${Ce.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:Ce.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ce.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ce.calc(je).div(2).equal(),bottom:Ce.calc(Ke).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ce.calc(Ce.calc(je).div(2).equal()).mul(.8).equal(),height:Ce.calc(je).div(2).equal(),borderBottom:`1px solid ${Ce.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:je,paddingBlock:0,paddingInline:Ce.paddingXS,background:"transparent",borderRadius:Ce.borderRadius,cursor:"pointer",transition:`all ${Ce.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(ye,Ce)),{"&:hover":{backgroundColor:Xe},[`&${Ee}-node-selected`]:{color:Ce.nodeSelectedColor,backgroundColor:Je},[`${Ee}-iconEle`]:{display:"inline-block",width:je,height:je,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Me}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ce.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ce.calc(je).div(2).equal(),bottom:Ce.calc(Ke).mul(-1).equal(),borderInlineEnd:`1px solid ${Ce.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Me}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(Ce.calc(je).div(2).equal())} !important`}})}},ve=function(ye,Ce){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Me=`.${ye}`,Ke=`${Me}-treenode`,je=Ce.calc(Ce.paddingXS).div(2).equal(),Qe=(0,ze.mergeToken)(Ce,{treeCls:Me,treeNodeCls:Ke,treeNodePadding:je});return[Ne(ye,Qe),Ee&&Ue(Qe)].filter(Boolean)},Re=ye=>{const{controlHeightSM:Ce,controlItemBgHover:Ee,controlItemBgActive:Me}=ye,Ke=Ce;return{titleHeight:Ke,indentSize:Ke,nodeHoverBg:Ee,nodeHoverColor:ye.colorText,nodeSelectedBg:Me,nodeSelectedColor:ye.colorText}},Se=ye=>{const{colorTextLightSolid:Ce,colorPrimary:Ee}=ye;return Object.assign(Object.assign({},Re(ye)),{directoryNodeSelectedColor:Ce,directoryNodeSelectedBg:Ee})};var Oe=(0,Fe.I$)("Tree",(ye,Ce)=>{let{prefixCls:Ee}=Ce;return[{[ye.componentCls]:(0,dt.C2)(`${Ee}-checkbox`,ye)},ve(Ee,ye),(0,qe.Z)(ye)]},Se)},85278:function(Yn,Ut,ae){"use strict";ae.d(Ut,{Z:function(){return Ce}});var x=ae(59301),dt=ae(60499),Ie={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"},qe=Ie,ze=ae(7657),Fe=function(Me,Ke){return x.createElement(ze.Z,(0,dt.Z)({},Me,{ref:Ke,icon:qe}))},Ue=x.forwardRef(Fe),he=Ue,xe=ae(52671),oe=ae(58617),Ne=ae(15075),ve=ae(43531),Re=ae(92310),Se=ae.n(Re),Oe=ae(22703),Ce=Ee=>{const{prefixCls:Me,switcherIcon:Ke,treeNodeProps:je,showLine:Qe,switcherLoadingIcon:Je}=Ee,{isLeaf:Xe,expanded:ut,loading:ot}=je;if(ot)return x.isValidElement(Je)?Je:x.createElement(oe.Z,{className:`${Me}-switcher-loading-icon`});let ht;if(Qe&&typeof Qe=="object"&&(ht=Qe.showLeafIcon),Xe){if(!Qe)return null;if(typeof ht!="boolean"&&ht){const ft=typeof ht=="function"?ht(je):ht,De=`${Me}-switcher-line-custom-icon`;return x.isValidElement(ft)?(0,Oe.Tm)(ft,{className:Se()(ft.props.className||"",De)}):ft}return ht?x.createElement(xe.Z,{className:`${Me}-switcher-line-icon`}):x.createElement("span",{className:`${Me}-switcher-leaf-line`})}const Ct=`${Me}-switcher-icon`,He=typeof Ke=="function"?Ke(je):Ke;return x.isValidElement(He)?(0,Oe.Tm)(He,{className:Se()(He.props.className||"",Ct)}):He!==void 0?He:Qe?ut?x.createElement(Ne.Z,{className:`${Me}-switcher-line-icon`}):x.createElement(ve.Z,{className:`${Me}-switcher-line-icon`}):x.createElement(he,{className:Ct})}},86251:function(Yn,Ut){"use strict";Ut.byteLength=Ue,Ut.toByteArray=xe,Ut.fromByteArray=ve;for(var ae=[],x=[],dt=typeof Uint8Array!="undefined"?Uint8Array:Array,Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=0,ze=Ie.length;qe0)throw new Error("Invalid string. Length must be a multiple of 4");var Oe=Re.indexOf("=");Oe===-1&&(Oe=Se);var ye=Oe===Se?0:4-Oe%4;return[Oe,ye]}function Ue(Re){var Se=Fe(Re),Oe=Se[0],ye=Se[1];return(Oe+ye)*3/4-ye}function he(Re,Se,Oe){return(Se+Oe)*3/4-Oe}function xe(Re){var Se,Oe=Fe(Re),ye=Oe[0],Ce=Oe[1],Ee=new dt(he(Re,ye,Ce)),Me=0,Ke=Ce>0?ye-4:ye,je;for(je=0;je>16&255,Ee[Me++]=Se>>8&255,Ee[Me++]=Se&255;return Ce===2&&(Se=x[Re.charCodeAt(je)]<<2|x[Re.charCodeAt(je+1)]>>4,Ee[Me++]=Se&255),Ce===1&&(Se=x[Re.charCodeAt(je)]<<10|x[Re.charCodeAt(je+1)]<<4|x[Re.charCodeAt(je+2)]>>2,Ee[Me++]=Se>>8&255,Ee[Me++]=Se&255),Ee}function oe(Re){return ae[Re>>18&63]+ae[Re>>12&63]+ae[Re>>6&63]+ae[Re&63]}function Ne(Re,Se,Oe){for(var ye,Ce=[],Ee=Se;EeKe?Ke:Me+Ee));return ye===1?(Se=Re[Oe-1],Ce.push(ae[Se>>2]+ae[Se<<4&63]+"==")):ye===2&&(Se=(Re[Oe-2]<<8)+Re[Oe-1],Ce.push(ae[Se>>10]+ae[Se>>4&63]+ae[Se<<2&63]+"=")),Ce.join("")}},19208:function(Yn,Ut,ae){"use strict";var x;var dt=ae(86251),Ie=ae(67467),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=he,x=Me,Ut.h2=50;var ze=2147483647;x=ze,he.TYPED_ARRAY_SUPPORT=Fe(),!he.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Fe(){try{var ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch(se){return!1}}Object.defineProperty(he.prototype,"parent",{enumerable:!0,get:function(){if(he.isBuffer(this))return this.buffer}}),Object.defineProperty(he.prototype,"offset",{enumerable:!0,get:function(){if(he.isBuffer(this))return this.byteOffset}});function Ue(ie){if(ie>ze)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,he.prototype),ee}function he(ie,ee,se){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(ie)}return xe(ie,ee,se)}he.poolSize=8192;function xe(ie,ee,se){if(typeof ie=="string")return Re(ie,ee);if(ArrayBuffer.isView(ie))return Oe(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(on(ie,ArrayBuffer)||ie&&on(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(on(ie,SharedArrayBuffer)||ie&&on(ie.buffer,SharedArrayBuffer)))return ye(ie,ee,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var le=ie.valueOf&&ie.valueOf();if(le!=null&&le!==ie)return he.from(le,ee,se);var Be=Ce(ie);if(Be)return Be;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return he.from(ie[Symbol.toPrimitive]("string"),ee,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}he.from=function(ie,ee,se){return xe(ie,ee,se)},Object.setPrototypeOf(he.prototype,Uint8Array.prototype),Object.setPrototypeOf(he,Uint8Array);function oe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Ne(ie,ee,se){return oe(ie),ie<=0?Ue(ie):ee!==void 0?typeof se=="string"?Ue(ie).fill(ee,se):Ue(ie).fill(ee):Ue(ie)}he.alloc=function(ie,ee,se){return Ne(ie,ee,se)};function ve(ie){return oe(ie),Ue(ie<0?0:Ee(ie)|0)}he.allocUnsafe=function(ie){return ve(ie)},he.allocUnsafeSlow=function(ie){return ve(ie)};function Re(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!he.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var se=Ke(ie,ee)|0,le=Ue(se),Be=le.write(ie,ee);return Be!==se&&(le=le.slice(0,Be)),le}function Se(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,se=Ue(ee),le=0;le=ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze.toString(16)+" bytes");return ie|0}function Me(ie){return+ie!=ie&&(ie=0),he.alloc(+ie)}he.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==he.prototype},he.compare=function(ee,se){if(on(ee,Uint8Array)&&(ee=he.from(ee,ee.offset,ee.byteLength)),on(se,Uint8Array)&&(se=he.from(se,se.offset,se.byteLength)),!he.isBuffer(ee)||!he.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===se)return 0;for(var le=ee.length,Be=se.length,Ve=0,st=Math.min(le,Be);VeBe.length?he.from(st).copy(Be,Ve):Uint8Array.prototype.set.call(Be,st,Ve);else if(he.isBuffer(st))st.copy(Be,Ve);else throw new TypeError('"list" argument must be an Array of Buffers');Ve+=st.length}return Be};function Ke(ie,ee){if(he.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||on(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,le=arguments.length>2&&arguments[2]===!0;if(!le&&se===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return fn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return kt(ie).length;default:if(Be)return le?-1:fn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}he.byteLength=Ke;function je(ie,ee,se){var le=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ee>>>=0,se<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Bt(this,ee,se);case"utf8":case"utf-8":return De(this,ee,se);case"ascii":return it(this,ee,se);case"latin1":case"binary":return at(this,ee,se);case"base64":return ft(this,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,ee,se);default:if(le)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),le=!0}}he.prototype._isBuffer=!0;function Qe(ie,ee,se){var le=ie[ee];ie[ee]=ie[se],ie[se]=le}he.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(ee+=" ... "),""},qe&&(he.prototype[qe]=he.prototype.inspect),he.prototype.compare=function(ee,se,le,Be,Ve){if(on(ee,Uint8Array)&&(ee=he.from(ee,ee.offset,ee.byteLength)),!he.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(se===void 0&&(se=0),le===void 0&&(le=ee?ee.length:0),Be===void 0&&(Be=0),Ve===void 0&&(Ve=this.length),se<0||le>ee.length||Be<0||Ve>this.length)throw new RangeError("out of range index");if(Be>=Ve&&se>=le)return 0;if(Be>=Ve)return-1;if(se>=le)return 1;if(se>>>=0,le>>>=0,Be>>>=0,Ve>>>=0,this===ee)return 0;for(var st=Ve-Be,gt=le-se,mt=Math.min(st,gt),St=this.slice(Be,Ve),Dt=ee.slice(se,le),jt=0;jt2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,de(se)&&(se=Be?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Be)return-1;se=ie.length-1}else if(se<0)if(Be)se=0;else return-1;if(typeof ee=="string"&&(ee=he.from(ee,le)),he.isBuffer(ee))return ee.length===0?-1:Xe(ie,ee,se,le,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,se):Uint8Array.prototype.lastIndexOf.call(ie,ee,se):Xe(ie,[ee],se,le,Be);throw new TypeError("val must be string, number or Buffer")}function Xe(ie,ee,se,le,Be){var Ve=1,st=ie.length,gt=ee.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(ie.length<2||ee.length<2)return-1;Ve=2,st/=2,gt/=2,se/=2}function mt(lt,Xt){return Ve===1?lt[Xt]:lt.readUInt16BE(Xt*Ve)}var St;if(Be){var Dt=-1;for(St=se;Stst&&(se=st-gt),St=se;St>=0;St--){for(var jt=!0,xt=0;xtBe&&(le=Be)):le=Be;var Ve=ee.length;le>Ve/2&&(le=Ve/2);for(var st=0;st>>0,isFinite(le)?(le=le>>>0,Be===void 0&&(Be="utf8")):(Be=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ve=this.length-se;if((le===void 0||le>Ve)&&(le=Ve),ee.length>0&&(le<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var st=!1;;)switch(Be){case"hex":return ut(this,ee,se,le);case"utf8":case"utf-8":return ot(this,ee,se,le);case"ascii":case"latin1":case"binary":return ht(this,ee,se,le);case"base64":return Ct(this,ee,se,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return He(this,ee,se,le);default:if(st)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),st=!0}},he.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(ie,ee,se){return ee===0&&se===ie.length?dt.fromByteArray(ie):dt.fromByteArray(ie.slice(ee,se))}function De(ie,ee,se){se=Math.min(ie.length,se);for(var le=[],Be=ee;Be239?4:Ve>223?3:Ve>191?2:1;if(Be+gt<=se){var mt,St,Dt,jt;switch(gt){case 1:Ve<128&&(st=Ve);break;case 2:mt=ie[Be+1],(mt&192)===128&&(jt=(Ve&31)<<6|mt&63,jt>127&&(st=jt));break;case 3:mt=ie[Be+1],St=ie[Be+2],(mt&192)===128&&(St&192)===128&&(jt=(Ve&15)<<12|(mt&63)<<6|St&63,jt>2047&&(jt<55296||jt>57343)&&(st=jt));break;case 4:mt=ie[Be+1],St=ie[Be+2],Dt=ie[Be+3],(mt&192)===128&&(St&192)===128&&(Dt&192)===128&&(jt=(Ve&15)<<18|(mt&63)<<12|(St&63)<<6|Dt&63,jt>65535&&jt<1114112&&(st=jt))}}st===null?(st=65533,gt=1):st>65535&&(st-=65536,le.push(st>>>10&1023|55296),st=56320|st&1023),le.push(st),Be+=gt}return Ot(le)}var _e=4096;function Ot(ie){var ee=ie.length;if(ee<=_e)return String.fromCharCode.apply(String,ie);for(var se="",le=0;lele)&&(se=le);for(var Be="",Ve=ee;Vele&&(ee=le),se<0?(se+=le,se<0&&(se=0)):se>le&&(se=le),sese)throw new RangeError("Trying to access beyond buffer length")}he.prototype.readUintLE=he.prototype.readUIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee],Ve=1,st=0;++st>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee+--se],Ve=1;se>0&&(Ve*=256);)Be+=this[ee+--se]*Ve;return Be},he.prototype.readUint8=he.prototype.readUInt8=function(ee,se){return ee=ee>>>0,se||Te(ee,1,this.length),this[ee]},he.prototype.readUint16LE=he.prototype.readUInt16LE=function(ee,se){return ee=ee>>>0,se||Te(ee,2,this.length),this[ee]|this[ee+1]<<8},he.prototype.readUint16BE=he.prototype.readUInt16BE=function(ee,se){return ee=ee>>>0,se||Te(ee,2,this.length),this[ee]<<8|this[ee+1]},he.prototype.readUint32LE=he.prototype.readUInt32LE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},he.prototype.readUint32BE=he.prototype.readUInt32BE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},he.prototype.readIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=this[ee],Ve=1,st=0;++st=Ve&&(Be-=Math.pow(2,8*se)),Be},he.prototype.readIntBE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||Te(ee,se,this.length);for(var Be=se,Ve=1,st=this[ee+--Be];Be>0&&(Ve*=256);)st+=this[ee+--Be]*Ve;return Ve*=128,st>=Ve&&(st-=Math.pow(2,8*se)),st},he.prototype.readInt8=function(ee,se){return ee=ee>>>0,se||Te(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},he.prototype.readInt16LE=function(ee,se){ee=ee>>>0,se||Te(ee,2,this.length);var le=this[ee]|this[ee+1]<<8;return le&32768?le|4294901760:le},he.prototype.readInt16BE=function(ee,se){ee=ee>>>0,se||Te(ee,2,this.length);var le=this[ee+1]|this[ee]<<8;return le&32768?le|4294901760:le},he.prototype.readInt32LE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},he.prototype.readInt32BE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},he.prototype.readFloatLE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),Ie.read(this,ee,!0,23,4)},he.prototype.readFloatBE=function(ee,se){return ee=ee>>>0,se||Te(ee,4,this.length),Ie.read(this,ee,!1,23,4)},he.prototype.readDoubleLE=function(ee,se){return ee=ee>>>0,se||Te(ee,8,this.length),Ie.read(this,ee,!0,52,8)},he.prototype.readDoubleBE=function(ee,se){return ee=ee>>>0,se||Te(ee,8,this.length),Ie.read(this,ee,!1,52,8)};function ct(ie,ee,se,le,Be,Ve){if(!he.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||eeie.length)throw new RangeError("Index out of range")}he.prototype.writeUintLE=he.prototype.writeUIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,le=le>>>0,!Be){var Ve=Math.pow(2,8*le)-1;ct(this,ee,se,le,Ve,0)}var st=1,gt=0;for(this[se]=ee&255;++gt>>0,le=le>>>0,!Be){var Ve=Math.pow(2,8*le)-1;ct(this,ee,se,le,Ve,0)}var st=le-1,gt=1;for(this[se+st]=ee&255;--st>=0&&(gt*=256);)this[se+st]=ee/gt&255;return se+le},he.prototype.writeUint8=he.prototype.writeUInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,1,255,0),this[se]=ee&255,se+1},he.prototype.writeUint16LE=he.prototype.writeUInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,65535,0),this[se]=ee&255,this[se+1]=ee>>>8,se+2},he.prototype.writeUint16BE=he.prototype.writeUInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,65535,0),this[se]=ee>>>8,this[se+1]=ee&255,se+2},he.prototype.writeUint32LE=he.prototype.writeUInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,4294967295,0),this[se+3]=ee>>>24,this[se+2]=ee>>>16,this[se+1]=ee>>>8,this[se]=ee&255,se+4},he.prototype.writeUint32BE=he.prototype.writeUInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,4294967295,0),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4},he.prototype.writeIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ve=Math.pow(2,8*le-1);ct(this,ee,se,le,Ve-1,-Ve)}var st=0,gt=1,mt=0;for(this[se]=ee&255;++st>0)-mt&255;return se+le},he.prototype.writeIntBE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ve=Math.pow(2,8*le-1);ct(this,ee,se,le,Ve-1,-Ve)}var st=le-1,gt=1,mt=0;for(this[se+st]=ee&255;--st>=0&&(gt*=256);)ee<0&&mt===0&&this[se+st+1]!==0&&(mt=1),this[se+st]=(ee/gt>>0)-mt&255;return se+le},he.prototype.writeInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,1,127,-128),ee<0&&(ee=255+ee+1),this[se]=ee&255,se+1},he.prototype.writeInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,32767,-32768),this[se]=ee&255,this[se+1]=ee>>>8,se+2},he.prototype.writeInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,2,32767,-32768),this[se]=ee>>>8,this[se+1]=ee&255,se+2},he.prototype.writeInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,2147483647,-2147483648),this[se]=ee&255,this[se+1]=ee>>>8,this[se+2]=ee>>>16,this[se+3]=ee>>>24,se+4},he.prototype.writeInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||ct(this,ee,se,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4};function Zt(ie,ee,se,le,Be,Ve){if(se+le>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function zt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Zt(ie,ee,se,4,34028234663852886e22,-34028234663852886e22),Ie.write(ie,ee,se,le,23,4),se+4}he.prototype.writeFloatLE=function(ee,se,le){return zt(this,ee,se,!0,le)},he.prototype.writeFloatBE=function(ee,se,le){return zt(this,ee,se,!1,le)};function tt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Zt(ie,ee,se,8,17976931348623157e292,-17976931348623157e292),Ie.write(ie,ee,se,le,52,8),se+8}he.prototype.writeDoubleLE=function(ee,se,le){return tt(this,ee,se,!0,le)},he.prototype.writeDoubleBE=function(ee,se,le){return tt(this,ee,se,!1,le)},he.prototype.copy=function(ee,se,le,Be){if(!he.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(le||(le=0),!Be&&Be!==0&&(Be=this.length),se>=ee.length&&(se=ee.length),se||(se=0),Be>0&&Be=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),ee.length-se>>0,le=le===void 0?this.length:le>>>0,ee||(ee=0);var st;if(typeof ee=="number")for(st=se;st55295&&se<57344){if(!Be){if(se>56319){(ee-=3)>-1&&Ve.push(239,191,189);continue}else if(st+1===le){(ee-=3)>-1&&Ve.push(239,191,189);continue}Be=se;continue}if(se<56320){(ee-=3)>-1&&Ve.push(239,191,189),Be=se;continue}se=(Be-55296<<10|se-56320)+65536}else Be&&(ee-=3)>-1&&Ve.push(239,191,189);if(Be=null,se<128){if((ee-=1)<0)break;Ve.push(se)}else if(se<2048){if((ee-=2)<0)break;Ve.push(se>>6|192,se&63|128)}else if(se<65536){if((ee-=3)<0)break;Ve.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ee-=4)<0)break;Ve.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return Ve}function Tt(ie){for(var ee=[],se=0;se>8,Be=se%256,Ve.push(Be),Ve.push(le);return Ve}function kt(ie){return dt.toByteArray(_t(ie))}function Sn(ie,ee,se,le){for(var Be=0;Be=ee.length||Be>=ie.length);++Be)ee[Be+se]=ie[Be];return Be}function on(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function de(ie){return ie!==ie}var ge=function(){for(var ie="0123456789abcdef",ee=new Array(256),se=0;se<16;++se)for(var le=se*16,Be=0;Be<16;++Be)ee[le+Be]=ie[se]+ie[Be];return ee}()},14625:function(Yn){function Ut(x){var dt,Ie,qe="";if(typeof x=="string"||typeof x=="number")qe+=x;else if(typeof x=="object")if(Array.isArray(x)){var ze=x.length;for(dt=0;dt`,triples:"",explode:"[]{}"},Ie=x.Pos;x.defineOption("autoCloseBrackets",!1,function(Oe,ye,Ce){Ce&&Ce!=x.Init&&(Oe.removeKeyMap(ze),Oe.state.closeBrackets=null),ye&&(Fe(qe(ye,"pairs")),Oe.state.closeBrackets=ye,Oe.addKeyMap(ze))});function qe(Oe,ye){return ye=="pairs"&&typeof Oe=="string"?Oe:typeof Oe=="object"&&Oe[ye]!=null?Oe[ye]:dt[ye]}var ze={Backspace:xe,Enter:oe};function Fe(Oe){for(var ye=0;ye=0;Me--){var je=Ee[Me].head;Oe.replaceRange("",Ie(je.line,je.ch-1),Ie(je.line,je.ch+1),"+delete")}}function oe(Oe){var ye=he(Oe),Ce=ye&&qe(ye,"explode");if(!Ce||Oe.getOption("disableInput"))return x.Pass;for(var Ee=Oe.listSelections(),Me=0;Me0;return{anchor:new Ie(Oe.anchor.line,Oe.anchor.ch+(ye?-1:1)),head:new Ie(Oe.head.line,Oe.head.ch+(ye?1:-1))}}function ve(Oe,ye){var Ce=he(Oe);if(!Ce||Oe.getOption("disableInput"))return x.Pass;var Ee=qe(Ce,"pairs"),Me=Ee.indexOf(ye);if(Me==-1)return x.Pass;for(var Ke=qe(Ce,"closeBefore"),je=qe(Ce,"triples"),Qe=Ee.charAt(Me+1)==ye,Je=Oe.listSelections(),Xe=Me%2==0,ut,ot=0;ot=0&&Oe.getRange(Ct,Ie(Ct.line,Ct.ch+3))==ye+ye+ye?He="skipThree":He="skip";else if(Qe&&Ct.ch>1&&je.indexOf(ye)>=0&&Oe.getRange(Ie(Ct.line,Ct.ch-2),Ct)==ye+ye){if(Ct.ch>2&&/\bstring/.test(Oe.getTokenTypeAt(Ie(Ct.line,Ct.ch-2))))return x.Pass;He="addFour"}else if(Qe){var De=Ct.ch==0?" ":Oe.getRange(Ie(Ct.line,Ct.ch-1),Ct);if(!x.isWordChar(ft)&&De!=ye&&!x.isWordChar(De))He="both";else return x.Pass}else if(Xe&&(ft.length===0||/\s/.test(ft)||Ke.indexOf(ft)>-1))He="both";else return x.Pass;if(!ut)ut=He;else if(ut!=He)return x.Pass}var _e=Me%2?Ee.charAt(Me-1):ye,Ot=Me%2?ye:Ee.charAt(Me+1);Oe.operation(function(){if(ut=="skip")Oe.execCommand("goCharRight");else if(ut=="skipThree")for(var it=0;it<3;it++)Oe.execCommand("goCharRight");else if(ut=="surround"){for(var at=Oe.getSelections(),it=0;it'"]=function(Re){return qe(Re)}),xe.addKeyMap(ve)}});var dt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ie=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function qe(xe){if(xe.getOption("disableInput"))return x.Pass;for(var oe=xe.listSelections(),Ne=[],ve=xe.getOption("autoCloseTags"),Re=0;ReSe.ch&&(Me=Me.slice(0,Me.length-Oe.end+Se.ch));var Je=Me.toLowerCase();if(!Me||Oe.type=="string"&&(Oe.end!=Se.ch||!/[\"\']/.test(Oe.string.charAt(Oe.string.length-1))||Oe.string.length==1)||Oe.type=="tag"&&Ee.close||Oe.string.indexOf("/")==Se.ch-Oe.start-1||je&&Ue(je,Je)>-1||he(xe,ye.mode.xmlCurrentContext&&ye.mode.xmlCurrentContext(Ce)||[],Me,Se,!0))return x.Pass;var Xe=typeof ve=="object"&&ve.emptyTags;if(Xe&&Ue(Xe,Me)>-1){Ne[Re]={text:"/>",newPos:x.Pos(Se.line,Se.ch+2)};continue}var ut=Qe&&Ue(Qe,Je)>-1;Ne[Re]={indent:ut,text:">"+(ut?` -`:"")+"",newPos:ut?x.Pos(Se.line+1,0):x.Pos(Se.line,Se.ch+1)}}for(var ot=typeof ve=="object"&&ve.dontIndentOnAutoClose,Re=oe.length-1;Re>=0;Re--){var ht=Ne[Re];xe.replaceRange(ht.text,oe[Re].head,oe[Re].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[Re]={head:ht.newPos,anchor:ht.newPos},xe.setSelections(Ct),!ot&&ht.indent&&(xe.indentLine(ht.newPos.line,null,!0),xe.indentLine(ht.newPos.line+1,null,!0))}}function ze(xe,oe){for(var Ne=xe.listSelections(),ve=[],Re=oe?"/":""&&(je+=">"),ve[ye]=je}if(xe.replaceSelections(ve),Ne=xe.listSelections(),!Pe)for(var ye=0;ye=0&&oe[Ce]==Ne;Ce--)++ye;ve=Pe.to;for(var Ce=1;Ce=Ce.max))return Ce.ch=0,Ce.text=Ce.cm.getLine(++Ce.line),!0}function oe(Ce){if(!(Ce.line<=Ce.min))return Ce.text=Ce.cm.getLine(--Ce.line),Ce.ch=Ce.text.length,!0}function Ne(Ce){for(;;){var Ee=Ce.text.indexOf(">",Ce.ch);if(Ee==-1){if(xe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee+1;continue}var Me=Ce.text.lastIndexOf("/",Ee),Ke=Me>-1&&!/\S/.test(Ce.text.slice(Me+1,Ee));return Ce.ch=Ee+1,Ke?"selfClose":"regular"}}function ve(Ce){for(;;){var Ee=Ce.ch?Ce.text.lastIndexOf("<",Ce.ch-1):-1;if(Ee==-1){if(oe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee;continue}Fe.lastIndex=Ee,Ce.ch=Ee;var Me=Fe.exec(Ce.text);if(Me&&Me.index==Ee)return Me}}function Re(Ce){for(;;){Fe.lastIndex=Ce.ch;var Ee=Fe.exec(Ce.text);if(!Ee){if(xe(Ce))continue;return}if(!he(Ce,Ee.index+1)){Ce.ch=Ee.index+1;continue}return Ce.ch=Ee.index+Ee[0].length,Ee}}function Se(Ce){for(;;){var Ee=Ce.ch?Ce.text.lastIndexOf(">",Ce.ch-1):-1;if(Ee==-1){if(oe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee;continue}var Me=Ce.text.lastIndexOf("/",Ee),Ke=Me>-1&&!/\S/.test(Ce.text.slice(Me+1,Ee));return Ce.ch=Ee+1,Ke?"selfClose":"regular"}}function Pe(Ce,Ee){for(var Me=[];;){var Ke=Re(Ce),je,_e=Ce.line,Je=Ce.ch-(Ke?Ke[0].length:0);if(!Ke||!(je=Ne(Ce)))return;if(je!="selfClose")if(Ke[1]){for(var Xe=Me.length-1;Xe>=0;--Xe)if(Me[Xe]==Ke[2]){Me.length=Xe;break}if(Xe<0&&(!Ee||Ee==Ke[2]))return{tag:Ke[2],from:dt(_e,Je),to:dt(Ce.line,Ce.ch)}}else Me.push(Ke[2])}}function ye(Ce,Ee){for(var Me=[];;){var Ke=Se(Ce);if(!Ke)return;if(Ke=="selfClose"){ve(Ce);continue}var je=Ce.line,_e=Ce.ch,Je=ve(Ce);if(!Je)return;if(Je[1])Me.push(Je[2]);else{for(var Xe=Me.length-1;Xe>=0;--Xe)if(Me[Xe]==Je[2]){Me.length=Xe;break}if(Xe<0&&(!Ee||Ee==Je[2]))return{tag:Je[2],from:dt(Ce.line,Ce.ch),to:dt(je,_e)}}}}x.registerHelper("fold","xml",function(Ce,Ee){for(var Me=new Ue(Ce,Ee.line,0);;){var Ke=Re(Me);if(!Ke||Me.line!=Ee.line)return;var je=Ne(Me);if(!je)return;if(!Ke[1]&&je!="selfClose"){var _e=dt(Me.line,Me.ch),Je=Pe(Me,Ke[2]);return Je&&Ie(Je.from,_e)>0?{from:_e,to:Je.from}:null}}}),x.findMatchingTag=function(Ce,Ee,Me){var Ke=new Ue(Ce,Ee.line,Ee.ch,Me);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var je=Ne(Ke),_e=je&&dt(Ke.line,Ke.ch),Je=je&&ve(Ke);if(!(!je||!Je||Ie(Ke,Ee)>0)){var Xe={from:dt(Ke.line,Ke.ch),to:_e,tag:Je[2]};return je=="selfClose"?{open:Xe,close:null,at:"open"}:Je[1]?{open:ye(Ke,Je[2]),close:Xe,at:"close"}:(Ke=new Ue(Ce,_e.line,_e.ch,Me),{open:Xe,close:Pe(Ke,Je[2]),at:"open"})}}},x.findEnclosingTag=function(Ce,Ee,Me,Ke){for(var je=new Ue(Ce,Ee.line,Ee.ch,Me);;){var _e=ye(je,Ke);if(!_e)break;var Je=new Ue(Ce,Ee.line,Ee.ch,Me),Xe=Pe(Je,_e.tag);if(Xe)return{open:_e,close:Xe}}},x.scanForClosingTag=function(Ce,Ee,Me,Ke){var je=new Ue(Ce,Ee.line,Ee.ch,Ke?{from:0,to:Ke}:null);return Pe(je,Me)}})},89780:function(Yn){(function(Ut,ae){Yn.exports=ae()})(this,function(){"use strict";var Ut=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Ut),dt=/MSIE \d/.test(Ut),Ie=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ut),qe=/Edge\/(\d+)/.exec(Ut),ze=dt||Ie||qe,Fe=ze&&(dt?document.documentMode||6:+(qe||Ie)[1]),Ue=!qe&&/WebKit\//.test(Ut),he=Ue&&/Qt\/\d+\.\d+/.test(Ut),xe=!qe&&/Chrome\//.test(Ut),oe=/Opera\//.test(Ut),Ne=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Ut),Re=/PhantomJS/.test(Ut),Se=!qe&&/AppleWebKit/.test(Ut)&&/Mobile\/\w+/.test(Ut),Pe=/Android/.test(Ut),ye=Se||Pe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Ut),Ce=Se||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Ut),Me=/win/i.test(ae),Ke=oe&&Ut.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(oe=!1,Ue=!0);var je=Ce&&(he||oe&&(Ke==null||Ke<12.11)),_e=x||ze&&Fe>=9;function Je(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Xe=function(a,b){var ne=a.className,te=Je(b).exec(ne);if(te){var ue=ne.slice(te.index+te[0].length);a.className=ne.slice(0,te.index)+(ue?te[1]+ue:"")}};function ut(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function ot(a,b){return ut(a).appendChild(b)}function ht(a,b,ne,te){var ue=document.createElement(a);if(ne&&(ue.className=ne),te&&(ue.style.cssText=te),typeof b=="string")ue.appendChild(document.createTextNode(b));else if(b)for(var Oe=0;Oe=b)return et+(b-Oe);et+=vt-Oe,et+=ne-et%ne,Oe=vt+1}}var Te=function(){this.id=null,this.f=null,this.time=0,this.handler=at(this.onTimeout,this)};Te.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Te.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne=b)return te+Math.min(et,b-ue);if(ue+=Oe-te,ue+=ne-ue%ne,te=Oe+1,ue>=b)return te}}var Pt=[""];function vn(a){for(;Pt.length<=a;)Pt.push(kt(Pt)+" ");return Pt[a]}function kt(a){return a[a.length-1]}function Sn(a,b){for(var ne=[],te=0;te"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function se(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function le(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ve(a){return a.charCodeAt(0)>=768&&Be.test(a)}function st(a,b,ne){for(;(ne<0?b>0:bne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,Oe=te<0?Math.ceil(ue):Math.floor(ue);if(Oe==b)return a(Oe)?b:ne;a(Oe)?ne=Oe:b=Oe+te}}function mt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,Oe=0;Oeb||b==ne&&et.to==b)&&(te(Math.max(et.from,b),Math.min(et.to,ne),et.level==1?"rtl":"ltr",Oe),ue=!0)}ue||te(b,ne,"ltr")}var St=null;function Dt(a,b,ne){var te;St=null;for(var ue=0;ueb)return ue;Oe.to==b&&(Oe.from!=Oe.to&&ne=="before"?te=ue:St=ue),Oe.from==b&&(Oe.from!=Oe.to&&ne!="before"?te=ue:St=ue)}return te!=null?te:St}var Ht=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Nt){return Nt<=247?a.charAt(Nt):1424<=Nt&&Nt<=1524?"R":1536<=Nt&&Nt<=1785?b.charAt(Nt-1536):1774<=Nt&&Nt<=2220?"r":8192<=Nt&&Nt<=8203?"w":Nt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Oe=/[LRr]/,et=/[Lb1n]/,vt=/[1n]/;function Ft(Nt,Dn,jn){this.level=Nt,this.from=Dn,this.to=jn}return function(Nt,Dn){var jn=Dn=="ltr"?"L":"R";if(Nt.length==0||Dn=="ltr"&&!te.test(Nt))return!1;for(var Pr=Nt.length,xr=[],vi=0;vi-1&&(te[b]=ue.slice(0,Oe).concat(ue.slice(Oe+1)))}}}function an(a,b){var ne=Vt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue0}function Qt(a){a.prototype.on=function(b,ne){Xt(this,b,ne)},a.prototype.off=function(b,ne){wn(this,b,ne)}}function sn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Nn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Lt(a){sn(a),Nn(a)}function Gt(a){return a.target||a.srcElement}function nn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),Ce&&a.ctrlKey&&b==1&&(b=3),b}var Cn=function(){if(ze&&Fe<9)return!1;var a=ht("div");return"draggable"in a||"dragDrop"in a}(),Gn;function Sr(a){if(Gn==null){var b=ht("span","\u200B");ot(a,ht("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Gn=b.offsetWidth<=1&&b.offsetHeight>2&&!(ze&&Fe<8))}var ne=Gn?ht("span","\u200B"):ht("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ii;function si(a){if(ii!=null)return ii;var b=ot(a,document.createTextNode("A\u062EA")),ne=He(b,0,1).getBoundingClientRect(),te=He(b,1,2).getBoundingClientRect();return ut(a),!ne||ne.left==ne.right?!1:ii=te.right-ne.right<3}var sr=` +`:"")+"",newPos:ut?x.Pos(Se.line+1,0):x.Pos(Se.line,Se.ch+1)}}for(var ot=typeof ve=="object"&&ve.dontIndentOnAutoClose,Re=oe.length-1;Re>=0;Re--){var ht=Ne[Re];xe.replaceRange(ht.text,oe[Re].head,oe[Re].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[Re]={head:ht.newPos,anchor:ht.newPos},xe.setSelections(Ct),!ot&&ht.indent&&(xe.indentLine(ht.newPos.line,null,!0),xe.indentLine(ht.newPos.line+1,null,!0))}}function ze(xe,oe){for(var Ne=xe.listSelections(),ve=[],Re=oe?"/":""&&(je+=">"),ve[ye]=je}if(xe.replaceSelections(ve),Ne=xe.listSelections(),!Oe)for(var ye=0;ye=0&&oe[Ce]==Ne;Ce--)++ye;ve=Oe.to;for(var Ce=1;Ce=Ce.max))return Ce.ch=0,Ce.text=Ce.cm.getLine(++Ce.line),!0}function oe(Ce){if(!(Ce.line<=Ce.min))return Ce.text=Ce.cm.getLine(--Ce.line),Ce.ch=Ce.text.length,!0}function Ne(Ce){for(;;){var Ee=Ce.text.indexOf(">",Ce.ch);if(Ee==-1){if(xe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee+1;continue}var Me=Ce.text.lastIndexOf("/",Ee),Ke=Me>-1&&!/\S/.test(Ce.text.slice(Me+1,Ee));return Ce.ch=Ee+1,Ke?"selfClose":"regular"}}function ve(Ce){for(;;){var Ee=Ce.ch?Ce.text.lastIndexOf("<",Ce.ch-1):-1;if(Ee==-1){if(oe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee;continue}Fe.lastIndex=Ee,Ce.ch=Ee;var Me=Fe.exec(Ce.text);if(Me&&Me.index==Ee)return Me}}function Re(Ce){for(;;){Fe.lastIndex=Ce.ch;var Ee=Fe.exec(Ce.text);if(!Ee){if(xe(Ce))continue;return}if(!he(Ce,Ee.index+1)){Ce.ch=Ee.index+1;continue}return Ce.ch=Ee.index+Ee[0].length,Ee}}function Se(Ce){for(;;){var Ee=Ce.ch?Ce.text.lastIndexOf(">",Ce.ch-1):-1;if(Ee==-1){if(oe(Ce))continue;return}if(!he(Ce,Ee+1)){Ce.ch=Ee;continue}var Me=Ce.text.lastIndexOf("/",Ee),Ke=Me>-1&&!/\S/.test(Ce.text.slice(Me+1,Ee));return Ce.ch=Ee+1,Ke?"selfClose":"regular"}}function Oe(Ce,Ee){for(var Me=[];;){var Ke=Re(Ce),je,Qe=Ce.line,Je=Ce.ch-(Ke?Ke[0].length:0);if(!Ke||!(je=Ne(Ce)))return;if(je!="selfClose")if(Ke[1]){for(var Xe=Me.length-1;Xe>=0;--Xe)if(Me[Xe]==Ke[2]){Me.length=Xe;break}if(Xe<0&&(!Ee||Ee==Ke[2]))return{tag:Ke[2],from:dt(Qe,Je),to:dt(Ce.line,Ce.ch)}}else Me.push(Ke[2])}}function ye(Ce,Ee){for(var Me=[];;){var Ke=Se(Ce);if(!Ke)return;if(Ke=="selfClose"){ve(Ce);continue}var je=Ce.line,Qe=Ce.ch,Je=ve(Ce);if(!Je)return;if(Je[1])Me.push(Je[2]);else{for(var Xe=Me.length-1;Xe>=0;--Xe)if(Me[Xe]==Je[2]){Me.length=Xe;break}if(Xe<0&&(!Ee||Ee==Je[2]))return{tag:Je[2],from:dt(Ce.line,Ce.ch),to:dt(je,Qe)}}}}x.registerHelper("fold","xml",function(Ce,Ee){for(var Me=new Ue(Ce,Ee.line,0);;){var Ke=Re(Me);if(!Ke||Me.line!=Ee.line)return;var je=Ne(Me);if(!je)return;if(!Ke[1]&&je!="selfClose"){var Qe=dt(Me.line,Me.ch),Je=Oe(Me,Ke[2]);return Je&&Ie(Je.from,Qe)>0?{from:Qe,to:Je.from}:null}}}),x.findMatchingTag=function(Ce,Ee,Me){var Ke=new Ue(Ce,Ee.line,Ee.ch,Me);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var je=Ne(Ke),Qe=je&&dt(Ke.line,Ke.ch),Je=je&&ve(Ke);if(!(!je||!Je||Ie(Ke,Ee)>0)){var Xe={from:dt(Ke.line,Ke.ch),to:Qe,tag:Je[2]};return je=="selfClose"?{open:Xe,close:null,at:"open"}:Je[1]?{open:ye(Ke,Je[2]),close:Xe,at:"close"}:(Ke=new Ue(Ce,Qe.line,Qe.ch,Me),{open:Xe,close:Oe(Ke,Je[2]),at:"open"})}}},x.findEnclosingTag=function(Ce,Ee,Me,Ke){for(var je=new Ue(Ce,Ee.line,Ee.ch,Me);;){var Qe=ye(je,Ke);if(!Qe)break;var Je=new Ue(Ce,Ee.line,Ee.ch,Me),Xe=Oe(Je,Qe.tag);if(Xe)return{open:Qe,close:Xe}}},x.scanForClosingTag=function(Ce,Ee,Me,Ke){var je=new Ue(Ce,Ee.line,Ee.ch,Ke?{from:0,to:Ke}:null);return Oe(je,Me)}})},89780:function(Yn){(function(Ut,ae){Yn.exports=ae()})(this,function(){"use strict";var Ut=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Ut),dt=/MSIE \d/.test(Ut),Ie=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ut),qe=/Edge\/(\d+)/.exec(Ut),ze=dt||Ie||qe,Fe=ze&&(dt?document.documentMode||6:+(qe||Ie)[1]),Ue=!qe&&/WebKit\//.test(Ut),he=Ue&&/Qt\/\d+\.\d+/.test(Ut),xe=!qe&&/Chrome\//.test(Ut),oe=/Opera\//.test(Ut),Ne=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Ut),Re=/PhantomJS/.test(Ut),Se=!qe&&/AppleWebKit/.test(Ut)&&/Mobile\/\w+/.test(Ut),Oe=/Android/.test(Ut),ye=Se||Oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Ut),Ce=Se||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Ut),Me=/win/i.test(ae),Ke=oe&&Ut.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(oe=!1,Ue=!0);var je=Ce&&(he||oe&&(Ke==null||Ke<12.11)),Qe=x||ze&&Fe>=9;function Je(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Xe=function(a,b){var ne=a.className,te=Je(b).exec(ne);if(te){var ue=ne.slice(te.index+te[0].length);a.className=ne.slice(0,te.index)+(ue?te[1]+ue:"")}};function ut(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function ot(a,b){return ut(a).appendChild(b)}function ht(a,b,ne,te){var ue=document.createElement(a);if(ne&&(ue.className=ne),te&&(ue.style.cssText=te),typeof b=="string")ue.appendChild(document.createTextNode(b));else if(b)for(var Pe=0;Pe=b)return et+(b-Pe);et+=vt-Pe,et+=ne-et%ne,Pe=vt+1}}var Te=function(){this.id=null,this.f=null,this.time=0,this.handler=at(this.onTimeout,this)};Te.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Te.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne=b)return te+Math.min(et,b-ue);if(ue+=Pe-te,ue+=ne-ue%ne,te=Pe+1,ue>=b)return te}}var Tt=[""];function vn(a){for(;Tt.length<=a;)Tt.push(kt(Tt)+" ");return Tt[a]}function kt(a){return a[a.length-1]}function Sn(a,b){for(var ne=[],te=0;te"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function se(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function le(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ve(a){return a.charCodeAt(0)>=768&&Be.test(a)}function st(a,b,ne){for(;(ne<0?b>0:bne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,Pe=te<0?Math.ceil(ue):Math.floor(ue);if(Pe==b)return a(Pe)?b:ne;a(Pe)?ne=Pe:b=Pe+te}}function mt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,Pe=0;Peb||b==ne&&et.to==b)&&(te(Math.max(et.from,b),Math.min(et.to,ne),et.level==1?"rtl":"ltr",Pe),ue=!0)}ue||te(b,ne,"ltr")}var St=null;function Dt(a,b,ne){var te;St=null;for(var ue=0;ueb)return ue;Pe.to==b&&(Pe.from!=Pe.to&&ne=="before"?te=ue:St=ue),Pe.from==b&&(Pe.from!=Pe.to&&ne!="before"?te=ue:St=ue)}return te!=null?te:St}var jt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Nt){return Nt<=247?a.charAt(Nt):1424<=Nt&&Nt<=1524?"R":1536<=Nt&&Nt<=1785?b.charAt(Nt-1536):1774<=Nt&&Nt<=2220?"r":8192<=Nt&&Nt<=8203?"w":Nt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Pe=/[LRr]/,et=/[Lb1n]/,vt=/[1n]/;function Ft(Nt,Dn,jn){this.level=Nt,this.from=Dn,this.to=jn}return function(Nt,Dn){var jn=Dn=="ltr"?"L":"R";if(Nt.length==0||Dn=="ltr"&&!te.test(Nt))return!1;for(var Pr=Nt.length,xr=[],vi=0;vi-1&&(te[b]=ue.slice(0,Pe).concat(ue.slice(Pe+1)))}}}function an(a,b){var ne=Vt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue0}function Qt(a){a.prototype.on=function(b,ne){Xt(this,b,ne)},a.prototype.off=function(b,ne){wn(this,b,ne)}}function sn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Nn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Lt(a){sn(a),Nn(a)}function Gt(a){return a.target||a.srcElement}function nn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),Ce&&a.ctrlKey&&b==1&&(b=3),b}var Cn=function(){if(ze&&Fe<9)return!1;var a=ht("div");return"draggable"in a||"dragDrop"in a}(),Gn;function Sr(a){if(Gn==null){var b=ht("span","\u200B");ot(a,ht("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Gn=b.offsetWidth<=1&&b.offsetHeight>2&&!(ze&&Fe<8))}var ne=Gn?ht("span","\u200B"):ht("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ii;function si(a){if(ii!=null)return ii;var b=ot(a,document.createTextNode("A\u062EA")),ne=He(b,0,1).getBoundingClientRect(),te=He(b,1,2).getBoundingClientRect();return ut(a),!ne||ne.left==ne.right?!1:ii=te.right-ne.right<3}var sr=` b`.split(/\n/).length!=3?function(a){for(var b=0,ne=[],te=a.length;b<=te;){var ue=a.indexOf(` -`,b);ue==-1&&(ue=a.length);var Oe=a.slice(b,a.charAt(ue-1)=="\r"?ue-1:ue),et=Oe.indexOf("\r");et!=-1?(ne.push(Oe.slice(0,et)),b+=et+1):(ne.push(Oe),b=ue+1)}return ne}:function(a){return a.split(/\r\n?|\n/)},Lr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(ne){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},_n=function(){var a=ht("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Hn=null;function Jn(a){if(Hn!=null)return Hn;var b=ot(a,ht("span","x")),ne=b.getBoundingClientRect(),te=He(b,0,1).getBoundingClientRect();return Hn=Math.abs(ne.left-te.left)>1}var ir={},Zn={};function Cr(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),ir[a]=b}function Er(a,b){Zn[a]=b}function Nr(a){if(typeof a=="string"&&Zn.hasOwnProperty(a))a=Zn[a];else if(a&&typeof a.name=="string"&&Zn.hasOwnProperty(a.name)){var b=Zn[a.name];typeof b=="string"&&(b={name:b}),a=ge(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Nr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Nr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function pi(a,b){b=Nr(b);var ne=ir[b.name];if(!ne)return pi(a,"text/plain");var te=ne(a,b);if(di.hasOwnProperty(b.name)){var ue=di[b.name];for(var Oe in ue)ue.hasOwnProperty(Oe)&&(te.hasOwnProperty(Oe)&&(te["_"+Oe]=te[Oe]),te[Oe]=ue[Oe])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var et in b.modeProps)te[et]=b.modeProps[et];return te}var di={};function fi(a,b){var ne=di.hasOwnProperty(a)?di[a]:di[a]={};Bt(b,ne)}function Oi(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ne={};for(var te in b){var ue=b[te];ue instanceof Array&&(ue=ue.concat([])),ne[te]=ue}return ne}function Ci(a,b){for(var ne;a.innerMode&&(ne=a.innerMode(b),!(!ne||ne.mode==a));)b=ne.state,a=ne.mode;return ne||{mode:a,state:b}}function ro(a,b,ne){return a.startState?a.startState(b,ne):!0}var Yi=function(a,b,ne){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Yi.prototype.eol=function(){return this.pos>=this.string.length},Yi.prototype.sol=function(){return this.pos==this.lineStart},Yi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Yi.prototype.next=function(){if(this.posb},Yi.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Yi.prototype.skipToEnd=function(){this.pos=this.string.length},Yi.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Yi.prototype.backUp=function(a){this.pos-=a},Yi.prototype.column=function(){return this.lastColumnPos0?null:(Oe&&b!==!1&&(this.pos+=Oe[0].length),Oe)}},Yi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Yi.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Yi.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Yi.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function or(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ne=a;!ne.lines;)for(var te=0;;++te){var ue=ne.children[te],Oe=ue.chunkSize();if(b=a.first&&bne?Wt(ne,or(a,ne).text.length):$n(b,or(a,b.line).text.length)}function $n(a,b){var ne=a.ch;return ne==null||ne>b?Wt(a.line,b):ne<0?Wt(a.line,0):a}function ei(a,b){for(var ne=[],te=0;tethis.maxLookAhead&&(this.maxLookAhead=a),b},xi.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},xi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},xi.fromSaved=function(a,b,ne){return b instanceof Ti?new xi(a,Oi(a.mode,b.state),ne,b.lookAhead):new xi(a,Oi(a.mode,b),ne)},xi.prototype.save=function(a){var b=a!==!1?Oi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ti(b,this.maxLookAhead):b};function nr(a,b,ne,te){var ue=[a.state.modeGen],Oe={};Yr(a,b.text,a.doc.mode,ne,function(Nt,Dn){return ue.push(Nt,Dn)},Oe,te);for(var et=ne.state,vt=function(Nt){ne.baseTokens=ue;var Dn=a.state.overlays[Nt],jn=1,Pr=0;ne.state=!0,Yr(a,b.text,Dn.mode,ne,function(xr,vi){for(var Wi=jn;Prxr&&ue.splice(jn,1,xr,ue[jn+1],Ao),jn+=2,Pr=Math.min(xr,Ao)}if(vi)if(Dn.opaque)ue.splice(Wi,jn-Wi,xr,"overlay "+vi),jn=Wi+2;else for(;Wia.options.maxHighlightLength&&Oi(a.doc.mode,te.state),Oe=nr(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=Oe.styles,Oe.classes?b.styleClasses=Oe.classes:b.styleClasses&&(b.styleClasses=null),ne===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function gn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new xi(te,!0,b);var Oe=yi(a,b,ne),et=Oe>te.first&&or(te,Oe-1).stateAfter,vt=et?xi.fromSaved(te,et,Oe):new xi(te,ro(te.mode),Oe);return te.iter(Oe,b,function(Ft){cn(a,Ft.text,vt);var Nt=vt.line;Ft.stateAfter=Nt==b-1||Nt%5==0||Nt>=ue.viewFrom&&Ntb.start)return Oe}throw new Error("Mode "+a.name+" failed to advance stream.")}var ur=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function br(a,b,ne,te){var ue=a.doc,Oe=ue.mode,et;b=lr(ue,b);var vt=or(ue,b.line),Ft=gn(a,b.line,ne),Nt=new Yi(vt.text,a.options.tabSize,Ft),Dn;for(te&&(Dn=[]);(te||Nt.posa.options.maxHighlightLength?(vt=!1,et&&cn(a,b,te,Dn.pos),Dn.pos=b.length,jn=null):jn=ci(hr(ne,Dn,te.state,Pr),Oe),Pr){var xr=Pr[0].name;xr&&(jn="m-"+(jn?xr+" "+jn:xr))}if(!vt||Nt!=jn){for(;Ftet;--vt){if(vt<=Oe.first)return Oe.first;var Ft=or(Oe,vt-1),Nt=Ft.stateAfter;if(Nt&&(!ne||vt+(Nt instanceof Ti?Nt.lookAhead:0)<=Oe.modeFrontier))return vt;var Dn=We(Ft.text,null,a.options.tabSize);(ue==null||te>Dn)&&(ue=vt-1,te=Dn)}return ue}function Pi(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontierne;te--){var ue=or(a,te).stateAfter;if(ue&&(!(ue instanceof Ti)||te+ue.lookAhead=b:Oe.to>b);(te||(te=[])).push(new Zi(et,Oe.from,Ft?null:Oe.to))}}return te}function Ki(a,b,ne){var te;if(a)for(var ue=0;ue=b:Oe.to>b);if(vt||Oe.from==b&&et.type=="bookmark"&&(!ne||Oe.marker.insertLeft)){var Ft=Oe.from==null||(et.inclusiveLeft?Oe.from<=b:Oe.from0&&vt)for(var ca=0;ca0)){var Dn=[Ft,1],jn=yn(Nt.from,vt.from),Pr=yn(Nt.to,vt.to);(jn<0||!et.inclusiveLeft&&!jn)&&Dn.push({from:Nt.from,to:vt.from}),(Pr>0||!et.inclusiveRight&&!Pr)&&Dn.push({from:vt.to,to:Nt.to}),ue.splice.apply(ue,Dn),Ft+=Dn.length-3}}return ue}function wo(a){var b=a.markedSpans;if(b){for(var ne=0;neb)&&(!te||Qo(te,Oe.marker)<0)&&(te=Oe.marker)}return te}function Ai(a,b,ne,te,ue){var Oe=or(a,b),et=Gr&&Oe.markedSpans;if(et)for(var vt=0;vt=0&&jn<=0||Dn<=0&&jn>=0)&&(Dn<=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?yn(Nt.to,ne)>=0:yn(Nt.to,ne)>0)||Dn>=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?yn(Nt.from,te)<=0:yn(Nt.from,te)<0)))return!0}}}function Kr(a){for(var b;b=pn(a);)a=b.find(-1,!0).line;return a}function _i(a){for(var b;b=Rr(a);)a=b.find(1,!0).line;return a}function oo(a){for(var b,ne;b=Rr(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function Ur(a,b){var ne=or(a,b),te=Kr(ne);return ne==te?b:un(te)}function ti(a,b){if(b>a.lastLine())return b;var ne=or(a,b),te;if(!Di(a,ne))return b;for(;te=Rr(ne);)ne=te.find(1,!0).line;return un(ne)+1}function Di(a,b){var ne=Gr&&b.markedSpans;if(ne){for(var te=void 0,ue=0;ueb.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var fo=function(a,b,ne){this.text=a,no(this,b),this.height=ne?ne(this):1};fo.prototype.lineNo=function(){return un(this)},Qt(fo);function Oo(a,b,ne,te){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),wo(a),no(a,ne);var ue=te?te(a):1;ue!=a.height&&oi(a,ue)}function ta(a){a.parent=null,wo(a)}var _o={},Jo={};function $o(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?Jo:_o;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function Sa(a,b){var ne=Ct("span",null,null,Ue?"padding-right: .1px":null),te={pre:Ct("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ue=0;ue<=(b.rest?b.rest.length:0);ue++){var Oe=ue?b.rest[ue-1]:b.line,et=void 0;te.pos=0,te.addToken=hs,si(a.display.measure)&&(et=xt(Oe,a.doc.direction))&&(te.addToken=Ua(te.addToken,et)),te.map=[];var vt=b!=a.display.externalMeasured&&un(Oe);bo(Oe,te,fr(a,Oe,vt)),Oe.styleClasses&&(Oe.styleClasses.bgClass&&(te.bgClass=Ot(Oe.styleClasses.bgClass,te.bgClass||"")),Oe.styleClasses.textClass&&(te.textClass=Ot(Oe.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(Sr(a.display.measure))),ue==0?(b.measure.map=te.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(te.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Ue){var Ft=te.content.lastChild;(/\bcm-tab\b/.test(Ft.className)||Ft.querySelector&&Ft.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return an(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ot(te.pre.className,te.textClass||"")),te}function Ja(a){var b=ht("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function hs(a,b,ne,te,ue,Oe,et){if(b){var vt=a.splitSpaces?ba(b,a.trailingSpace):b,Ft=a.cm.state.specialChars,Nt=!1,Dn;if(!Ft.test(b))a.col+=b.length,Dn=document.createTextNode(vt),a.map.push(a.pos,a.pos+b.length,Dn),ze&&Fe<9&&(Nt=!0),a.pos+=b.length;else{Dn=document.createDocumentFragment();for(var jn=0;;){Ft.lastIndex=jn;var Pr=Ft.exec(b),xr=Pr?Pr.index-jn:b.length-jn;if(xr){var vi=document.createTextNode(vt.slice(jn,jn+xr));ze&&Fe<9?Dn.appendChild(ht("span",[vi])):Dn.appendChild(vi),a.map.push(a.pos,a.pos+xr,vi),a.col+=xr,a.pos+=xr}if(!Pr)break;jn+=xr+1;var Wi=void 0;if(Pr[0]==" "){var Ao=a.cm.options.tabSize,Io=Ao-a.col%Ao;Wi=Dn.appendChild(ht("span",vn(Io),"cm-tab")),Wi.setAttribute("role","presentation"),Wi.setAttribute("cm-text"," "),a.col+=Io}else Pr[0]=="\r"||Pr[0]==` -`?(Wi=Dn.appendChild(ht("span",Pr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Wi.setAttribute("cm-text",Pr[0]),a.col+=1):(Wi=a.cm.options.specialCharPlaceholder(Pr[0]),Wi.setAttribute("cm-text",Pr[0]),ze&&Fe<9?Dn.appendChild(ht("span",[Wi])):Dn.appendChild(Wi),a.col+=1);a.map.push(a.pos,a.pos+1,Wi),a.pos++}}if(a.trailingSpace=vt.charCodeAt(b.length-1)==32,ne||te||ue||Nt||Oe||et){var Wo=ne||"";te&&(Wo+=te),ue&&(Wo+=ue);var Lo=ht("span",[Dn],Wo,Oe);if(et)for(var ca in et)et.hasOwnProperty(ca)&&ca!="style"&&ca!="class"&&Lo.setAttribute(ca,et[ca]);return a.content.appendChild(Lo)}a.content.appendChild(Dn)}}function ba(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ueNt&&jn.from<=Nt));Pr++);if(jn.to>=Dn)return a(ne,te,ue,Oe,et,vt,Ft);a(ne,te.slice(0,jn.to-Nt),ue,Oe,null,vt,Ft),Oe=null,te=te.slice(jn.to-Nt),Nt=jn.to}}}function Bo(a,b,ne,te){var ue=!te&&ne.widgetNode;ue&&a.map.push(a.pos,a.pos+b,ue),!te&&a.cm.display.input.needsContentAttribute&&(ue||(ue=a.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",ne.id)),ue&&(a.cm.display.input.setUneditable(ue),a.content.appendChild(ue)),a.pos+=b,a.trailingSpace=!1}function bo(a,b,ne){var te=a.markedSpans,ue=a.text,Oe=0;if(!te){for(var et=1;etFt||Ha.collapsed&&Ba.to==Ft&&Ba.from==Ft)){if(Ba.to!=null&&Ba.to!=Ft&&xr>Ba.to&&(xr=Ba.to,Wi=""),Ha.className&&(vi+=" "+Ha.className),Ha.css&&(Pr=(Pr?Pr+";":"")+Ha.css),Ha.startStyle&&Ba.from==Ft&&(Ao+=" "+Ha.startStyle),Ha.endStyle&&Ba.to==xr&&(ca||(ca=[])).push(Ha.endStyle,Ba.to),Ha.title&&((Wo||(Wo={})).title=Ha.title),Ha.attributes)for(var Bl in Ha.attributes)(Wo||(Wo={}))[Bl]=Ha.attributes[Bl];Ha.collapsed&&(!Io||Qo(Io.marker,Ha)<0)&&(Io=Ba)}else Ba.from>Ft&&xr>Ba.from&&(xr=Ba.from)}if(ca)for(var Xu=0;Xu=vt)break;for(var xc=Math.min(vt,xr);;){if(Dn){var ic=Ft+Dn.length;if(!Io){var _u=ic>xc?Dn.slice(0,xc-Ft):Dn;b.addToken(b,_u,jn?jn+vi:vi,Ao,Ft+_u.length==xr?Wi:"",Pr,Wo)}if(ic>=xc){Dn=Dn.slice(xc-Ft),Ft=xc;break}Ft=ic,Ao=""}Dn=ue.slice(Oe,Oe=ne[Nt++]),jn=$o(ne[Nt++],b.cm.options)}}}function Ra(a,b,ne){this.line=b,this.rest=oo(b),this.size=this.rest?un(kt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Di(a,b)}function ns(a,b,ne){for(var te=[],ue,Oe=b;Oe2&&Oe.push((Ft.bottom+Nt.top)/2-ne.top)}}Oe.push(ne.bottom-ne.top)}}function ol(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;tene)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function qu(a,b){b=Kr(b);var ne=un(b),te=a.display.externalMeasured=new Ra(a.doc,b,ne);te.lineN=ne;var ue=te.built=Sa(a,te);return te.text=ue.pre,ot(a.display.lineMeasure,ue.pre),te}function Hu(a,b,ne,te){return sc(a,vs(a,b),ne,te)}function Pu(a,b){if(b>=a.display.viewFrom&&b=ne.lineN&&bb)&&(Oe=Ft-vt,ue=Oe-1,b>=Ft&&(et="right")),ue!=null){if(te=a[Nt+2],vt==Ft&&ne==(te.insertLeft?"left":"right")&&(et=ne),ne=="left"&&ue==0)for(;Nt&&a[Nt-2]==a[Nt-3]&&a[Nt-1].insertLeft;)te=a[(Nt-=3)+2],et="left";if(ne=="right"&&ue==Ft-vt)for(;Nt=0&&(ne=a[ue]).left==ne.right;ue--);return ne}function Tu(a,b,ne,te){var ue=Os(b.map,ne,te),Oe=ue.node,et=ue.start,vt=ue.end,Ft=ue.collapse,Nt;if(Oe.nodeType==3){for(var Dn=0;Dn<4;Dn++){for(;et&&Ve(b.line.text.charAt(ue.coverStart+et));)--et;for(;ue.coverStart+vt0&&(Ft=te="right");var jn;a.options.lineWrapping&&(jn=Oe.getClientRects()).length>1?Nt=jn[te=="right"?jn.length-1:0]:Nt=Oe.getBoundingClientRect()}if(ze&&Fe<9&&!et&&(!Nt||!Nt.left&&!Nt.right)){var Pr=Oe.parentNode.getClientRects()[0];Pr?Nt={left:Pr.left,right:Pr.left+iA(a.display),top:Pr.top,bottom:Pr.bottom}:Nt=rA}for(var xr=Nt.top-b.rect.top,vi=Nt.bottom-b.rect.top,Wi=(xr+vi)/2,Ao=b.view.measure.heights,Io=0;Io=te.text.length?(Ft=te.text.length,Nt="before"):Ft<=0&&(Ft=0,Nt="after"),!vt)return et(Nt=="before"?Ft-1:Ft,Nt=="before");function Dn(vi,Wi,Ao){var Io=vt[Wi],Wo=Io.level==1;return et(Ao?vi-1:vi,Wo!=Ao)}var jn=Dt(vt,Ft,Nt),Pr=St,xr=Dn(Ft,jn,Nt=="before");return Pr!=null&&(xr.other=Dn(Ft,Pr,Nt!="before")),xr}function La(a,b){var ne=0;b=lr(a.doc,b),a.options.lineWrapping||(ne=iA(a.display)*b.ch);var te=or(a.doc,b.line),ue=Uo(te)+Sl(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Da(a,b,ne,te,ue){var Oe=Wt(a,b,ne);return Oe.xRel=ue,te&&(Oe.outside=te),Oe}function Rs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Da(te.first,0,null,-1,-1);var ue=bt(te,ne),Oe=te.first+te.size-1;if(ue>Oe)return Da(te.first+te.size-1,or(te,Oe).text.length,null,1,1);b<0&&(b=0);for(var et=or(te,ue);;){var vt=Vc(a,et,ue,b,ne),Ft=Jr(et,vt.ch+(vt.xRel>0||vt.outside>0?1:0));if(!Ft)return vt;var Nt=Ft.find(1);if(Nt.line==ue)return Nt;et=or(te,ue=Nt.line)}}function lc(a,b,ne,te){te-=Hs(b);var ue=b.text.length,Oe=gt(function(et){return sc(a,ne,et-1).bottom<=te},ue,0);return ue=gt(function(et){return sc(a,ne,et).top>te},Oe,ue),{begin:Oe,end:ue}}function Vl(a,b,ne,te){ne||(ne=vs(a,b));var ue=zu(a,b,sc(a,ne,te),"line").top;return lc(a,b,ne,ue)}function cu(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function Vc(a,b,ne,te,ue){ue-=Uo(b);var Oe=vs(a,b),et=Hs(b),vt=0,Ft=b.text.length,Nt=!0,Dn=xt(b,a.doc.direction);if(Dn){var jn=(a.options.lineWrapping?pA:wc)(a,b,ne,Oe,Dn,te,ue);Nt=jn.level!=1,vt=Nt?jn.from:jn.to-1,Ft=Nt?jn.to:jn.from-1}var Pr=null,xr=null,vi=gt(function(Ma){var Ba=sc(a,Oe,Ma);return Ba.top+=et,Ba.bottom+=et,cu(Ba,te,ue,!1)?(Ba.top<=ue&&Ba.left<=te&&(Pr=Ma,xr=Ba),!0):!1},vt,Ft),Wi,Ao,Io=!1;if(xr){var Wo=te-xr.left=ca.bottom?1:0}return vi=st(b.text,vi,1),Da(ne,vi,Ao,Io,te-Wi)}function wc(a,b,ne,te,ue,Oe,et){var vt=gt(function(jn){var Pr=ue[jn],xr=Pr.level!=1;return cu(gu(a,Wt(ne,xr?Pr.to:Pr.from,xr?"before":"after"),"line",b,te),Oe,et,!0)},0,ue.length-1),Ft=ue[vt];if(vt>0){var Nt=Ft.level!=1,Dn=gu(a,Wt(ne,Nt?Ft.from:Ft.to,Nt?"after":"before"),"line",b,te);cu(Dn,Oe,et,!0)&&Dn.top>et&&(Ft=ue[vt-1])}return Ft}function pA(a,b,ne,te,ue,Oe,et){var vt=lc(a,b,te,et),Ft=vt.begin,Nt=vt.end;/\s/.test(b.text.charAt(Nt-1))&&Nt--;for(var Dn=null,jn=null,Pr=0;Pr=Nt||xr.to<=Ft)){var vi=xr.level!=1,Wi=sc(a,te,vi?Math.min(Nt,xr.to)-1:Math.max(Ft,xr.from)).right,Ao=WiAo)&&(Dn=xr,jn=Ao)}}return Dn||(Dn=ue[ue.length-1]),Dn.fromNt&&(Dn={from:Dn.from,to:Nt,level:Dn.level}),Dn}var Gl;function bc(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Gl==null){Gl=ht("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Gl.appendChild(document.createTextNode("x")),Gl.appendChild(ht("br"));Gl.appendChild(document.createTextNode("x"))}ot(a.measure,Gl);var ne=Gl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),ut(a.measure),ne||1}function iA(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ht("span","xxxxxxxxxx"),ne=ht("pre",[b],"CodeMirror-line-like");ot(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function oA(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,Oe=b.gutters.firstChild,et=0;Oe;Oe=Oe.nextSibling,++et){var vt=a.display.gutterSpecs[et].className;ne[vt]=Oe.offsetLeft+Oe.clientLeft+ue,te[vt]=Oe.clientWidth}return{fixedPos:Ed(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Ed(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Jf(a){var b=bc(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/iA(a.display)-3);return function(ue){if(Di(a.doc,ue))return 0;var Oe=0;if(ue.widgets)for(var et=0;et0&&(Nt=or(a.doc,Ft.line).text).length==Ft.ch){var Dn=We(Nt,Nt.length,a.options.tabSize)-Nt.length;Ft=Wt(Ft.line,Math.max(0,Math.round((Oe-fu(a.display).left)/iA(a.display))-Dn))}return Ft}function gA(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;teb)&&(ue.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ue.viewTo)Gr&&Ur(a.doc,b)ue.viewFrom?aA(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)aA(a);else if(b<=ue.viewFrom){var Oe=Sd(a,ne,ne+te,1);Oe?(ue.view=ue.view.slice(Oe.index),ue.viewFrom=Oe.lineN,ue.viewTo+=te):aA(a)}else if(ne>=ue.viewTo){var et=Sd(a,b,b,-1);et?(ue.view=ue.view.slice(0,et.index),ue.viewTo=et.lineN):aA(a)}else{var vt=Sd(a,b,b,-1),Ft=Sd(a,ne,ne+te,1);vt&&Ft?(ue.view=ue.view.slice(0,vt.index).concat(ns(a,vt.lineN,Ft.lineN)).concat(ue.view.slice(Ft.index)),ue.viewTo+=te):aA(a)}var Nt=ue.externalMeasured;Nt&&(ne=ue.lineN&&b=te.viewTo)){var Oe=te.view[gA(a,b)];if(Oe.node!=null){var et=Oe.changes||(Oe.changes=[]);ct(et,ne)==-1&&et.push(ne)}}}function aA(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Sd(a,b,ne,te){var ue=gA(a,b),Oe,et=a.display.view;if(!Gr||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var vt=a.display.viewFrom,Ft=0;Ft0){if(ue==et.length-1)return null;Oe=vt+et[ue].size-b,ue++}else Oe=vt-b;b+=Oe,ne+=Oe}for(;Ur(a.doc,ne)!=ne;){if(ue==(te<0?0:et.length-1))return null;ne+=te*et[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function qf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=ns(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=ns(a,b,te.viewFrom).concat(te.view):te.viewFromne&&(te.view=te.view.slice(0,gA(a,ne)))),te.viewTo=ne}function Ps(a){for(var b=a.display.view,ne=0,te=0;te=a.display.viewTo||vt.to().line1}var ir={},Zn={};function Cr(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),ir[a]=b}function Er(a,b){Zn[a]=b}function Nr(a){if(typeof a=="string"&&Zn.hasOwnProperty(a))a=Zn[a];else if(a&&typeof a.name=="string"&&Zn.hasOwnProperty(a.name)){var b=Zn[a.name];typeof b=="string"&&(b={name:b}),a=ge(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Nr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Nr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function pi(a,b){b=Nr(b);var ne=ir[b.name];if(!ne)return pi(a,"text/plain");var te=ne(a,b);if(di.hasOwnProperty(b.name)){var ue=di[b.name];for(var Pe in ue)ue.hasOwnProperty(Pe)&&(te.hasOwnProperty(Pe)&&(te["_"+Pe]=te[Pe]),te[Pe]=ue[Pe])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var et in b.modeProps)te[et]=b.modeProps[et];return te}var di={};function fi(a,b){var ne=di.hasOwnProperty(a)?di[a]:di[a]={};Bt(b,ne)}function Oi(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ne={};for(var te in b){var ue=b[te];ue instanceof Array&&(ue=ue.concat([])),ne[te]=ue}return ne}function Ci(a,b){for(var ne;a.innerMode&&(ne=a.innerMode(b),!(!ne||ne.mode==a));)b=ne.state,a=ne.mode;return ne||{mode:a,state:b}}function ro(a,b,ne){return a.startState?a.startState(b,ne):!0}var Yi=function(a,b,ne){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Yi.prototype.eol=function(){return this.pos>=this.string.length},Yi.prototype.sol=function(){return this.pos==this.lineStart},Yi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Yi.prototype.next=function(){if(this.posb},Yi.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Yi.prototype.skipToEnd=function(){this.pos=this.string.length},Yi.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Yi.prototype.backUp=function(a){this.pos-=a},Yi.prototype.column=function(){return this.lastColumnPos0?null:(Pe&&b!==!1&&(this.pos+=Pe[0].length),Pe)}},Yi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Yi.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Yi.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Yi.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function or(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ne=a;!ne.lines;)for(var te=0;;++te){var ue=ne.children[te],Pe=ue.chunkSize();if(b=a.first&&bne?Wt(ne,or(a,ne).text.length):$n(b,or(a,b.line).text.length)}function $n(a,b){var ne=a.ch;return ne==null||ne>b?Wt(a.line,b):ne<0?Wt(a.line,0):a}function ei(a,b){for(var ne=[],te=0;tethis.maxLookAhead&&(this.maxLookAhead=a),b},xi.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},xi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},xi.fromSaved=function(a,b,ne){return b instanceof Ti?new xi(a,Oi(a.mode,b.state),ne,b.lookAhead):new xi(a,Oi(a.mode,b),ne)},xi.prototype.save=function(a){var b=a!==!1?Oi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ti(b,this.maxLookAhead):b};function nr(a,b,ne,te){var ue=[a.state.modeGen],Pe={};Yr(a,b.text,a.doc.mode,ne,function(Nt,Dn){return ue.push(Nt,Dn)},Pe,te);for(var et=ne.state,vt=function(Nt){ne.baseTokens=ue;var Dn=a.state.overlays[Nt],jn=1,Pr=0;ne.state=!0,Yr(a,b.text,Dn.mode,ne,function(xr,vi){for(var Wi=jn;Prxr&&ue.splice(jn,1,xr,ue[jn+1],Ao),jn+=2,Pr=Math.min(xr,Ao)}if(vi)if(Dn.opaque)ue.splice(Wi,jn-Wi,xr,"overlay "+vi),jn=Wi+2;else for(;Wia.options.maxHighlightLength&&Oi(a.doc.mode,te.state),Pe=nr(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=Pe.styles,Pe.classes?b.styleClasses=Pe.classes:b.styleClasses&&(b.styleClasses=null),ne===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function gn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new xi(te,!0,b);var Pe=yi(a,b,ne),et=Pe>te.first&&or(te,Pe-1).stateAfter,vt=et?xi.fromSaved(te,et,Pe):new xi(te,ro(te.mode),Pe);return te.iter(Pe,b,function(Ft){cn(a,Ft.text,vt);var Nt=vt.line;Ft.stateAfter=Nt==b-1||Nt%5==0||Nt>=ue.viewFrom&&Ntb.start)return Pe}throw new Error("Mode "+a.name+" failed to advance stream.")}var ur=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function br(a,b,ne,te){var ue=a.doc,Pe=ue.mode,et;b=lr(ue,b);var vt=or(ue,b.line),Ft=gn(a,b.line,ne),Nt=new Yi(vt.text,a.options.tabSize,Ft),Dn;for(te&&(Dn=[]);(te||Nt.posa.options.maxHighlightLength?(vt=!1,et&&cn(a,b,te,Dn.pos),Dn.pos=b.length,jn=null):jn=ci(hr(ne,Dn,te.state,Pr),Pe),Pr){var xr=Pr[0].name;xr&&(jn="m-"+(jn?xr+" "+jn:xr))}if(!vt||Nt!=jn){for(;Ftet;--vt){if(vt<=Pe.first)return Pe.first;var Ft=or(Pe,vt-1),Nt=Ft.stateAfter;if(Nt&&(!ne||vt+(Nt instanceof Ti?Nt.lookAhead:0)<=Pe.modeFrontier))return vt;var Dn=We(Ft.text,null,a.options.tabSize);(ue==null||te>Dn)&&(ue=vt-1,te=Dn)}return ue}function Pi(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontierne;te--){var ue=or(a,te).stateAfter;if(ue&&(!(ue instanceof Ti)||te+ue.lookAhead=b:Pe.to>b);(te||(te=[])).push(new Zi(et,Pe.from,Ft?null:Pe.to))}}return te}function Ki(a,b,ne){var te;if(a)for(var ue=0;ue=b:Pe.to>b);if(vt||Pe.from==b&&et.type=="bookmark"&&(!ne||Pe.marker.insertLeft)){var Ft=Pe.from==null||(et.inclusiveLeft?Pe.from<=b:Pe.from0&&vt)for(var ca=0;ca0)){var Dn=[Ft,1],jn=yn(Nt.from,vt.from),Pr=yn(Nt.to,vt.to);(jn<0||!et.inclusiveLeft&&!jn)&&Dn.push({from:Nt.from,to:vt.from}),(Pr>0||!et.inclusiveRight&&!Pr)&&Dn.push({from:vt.to,to:Nt.to}),ue.splice.apply(ue,Dn),Ft+=Dn.length-3}}return ue}function wo(a){var b=a.markedSpans;if(b){for(var ne=0;neb)&&(!te||_o(te,Pe.marker)<0)&&(te=Pe.marker)}return te}function Ai(a,b,ne,te,ue){var Pe=or(a,b),et=Gr&&Pe.markedSpans;if(et)for(var vt=0;vt=0&&jn<=0||Dn<=0&&jn>=0)&&(Dn<=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?yn(Nt.to,ne)>=0:yn(Nt.to,ne)>0)||Dn>=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?yn(Nt.from,te)<=0:yn(Nt.from,te)<0)))return!0}}}function Kr(a){for(var b;b=pn(a);)a=b.find(-1,!0).line;return a}function Qi(a){for(var b;b=Rr(a);)a=b.find(1,!0).line;return a}function oo(a){for(var b,ne;b=Rr(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function Ur(a,b){var ne=or(a,b),te=Kr(ne);return ne==te?b:un(te)}function ti(a,b){if(b>a.lastLine())return b;var ne=or(a,b),te;if(!Di(a,ne))return b;for(;te=Rr(ne);)ne=te.find(1,!0).line;return un(ne)+1}function Di(a,b){var ne=Gr&&b.markedSpans;if(ne){for(var te=void 0,ue=0;ueb.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var fo=function(a,b,ne){this.text=a,no(this,b),this.height=ne?ne(this):1};fo.prototype.lineNo=function(){return un(this)},Qt(fo);function Oo(a,b,ne,te){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),wo(a),no(a,ne);var ue=te?te(a):1;ue!=a.height&&oi(a,ue)}function ta(a){a.parent=null,wo(a)}var Qo={},Jo={};function $o(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?Jo:Qo;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function Sa(a,b){var ne=Ct("span",null,null,Ue?"padding-right: .1px":null),te={pre:Ct("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ue=0;ue<=(b.rest?b.rest.length:0);ue++){var Pe=ue?b.rest[ue-1]:b.line,et=void 0;te.pos=0,te.addToken=hs,si(a.display.measure)&&(et=xt(Pe,a.doc.direction))&&(te.addToken=Ua(te.addToken,et)),te.map=[];var vt=b!=a.display.externalMeasured&&un(Pe);bo(Pe,te,fr(a,Pe,vt)),Pe.styleClasses&&(Pe.styleClasses.bgClass&&(te.bgClass=Ot(Pe.styleClasses.bgClass,te.bgClass||"")),Pe.styleClasses.textClass&&(te.textClass=Ot(Pe.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(Sr(a.display.measure))),ue==0?(b.measure.map=te.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(te.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Ue){var Ft=te.content.lastChild;(/\bcm-tab\b/.test(Ft.className)||Ft.querySelector&&Ft.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return an(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ot(te.pre.className,te.textClass||"")),te}function Ja(a){var b=ht("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function hs(a,b,ne,te,ue,Pe,et){if(b){var vt=a.splitSpaces?ba(b,a.trailingSpace):b,Ft=a.cm.state.specialChars,Nt=!1,Dn;if(!Ft.test(b))a.col+=b.length,Dn=document.createTextNode(vt),a.map.push(a.pos,a.pos+b.length,Dn),ze&&Fe<9&&(Nt=!0),a.pos+=b.length;else{Dn=document.createDocumentFragment();for(var jn=0;;){Ft.lastIndex=jn;var Pr=Ft.exec(b),xr=Pr?Pr.index-jn:b.length-jn;if(xr){var vi=document.createTextNode(vt.slice(jn,jn+xr));ze&&Fe<9?Dn.appendChild(ht("span",[vi])):Dn.appendChild(vi),a.map.push(a.pos,a.pos+xr,vi),a.col+=xr,a.pos+=xr}if(!Pr)break;jn+=xr+1;var Wi=void 0;if(Pr[0]==" "){var Ao=a.cm.options.tabSize,Io=Ao-a.col%Ao;Wi=Dn.appendChild(ht("span",vn(Io),"cm-tab")),Wi.setAttribute("role","presentation"),Wi.setAttribute("cm-text"," "),a.col+=Io}else Pr[0]=="\r"||Pr[0]==` +`?(Wi=Dn.appendChild(ht("span",Pr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Wi.setAttribute("cm-text",Pr[0]),a.col+=1):(Wi=a.cm.options.specialCharPlaceholder(Pr[0]),Wi.setAttribute("cm-text",Pr[0]),ze&&Fe<9?Dn.appendChild(ht("span",[Wi])):Dn.appendChild(Wi),a.col+=1);a.map.push(a.pos,a.pos+1,Wi),a.pos++}}if(a.trailingSpace=vt.charCodeAt(b.length-1)==32,ne||te||ue||Nt||Pe||et){var Wo=ne||"";te&&(Wo+=te),ue&&(Wo+=ue);var Lo=ht("span",[Dn],Wo,Pe);if(et)for(var ca in et)et.hasOwnProperty(ca)&&ca!="style"&&ca!="class"&&Lo.setAttribute(ca,et[ca]);return a.content.appendChild(Lo)}a.content.appendChild(Dn)}}function ba(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ueNt&&jn.from<=Nt));Pr++);if(jn.to>=Dn)return a(ne,te,ue,Pe,et,vt,Ft);a(ne,te.slice(0,jn.to-Nt),ue,Pe,null,vt,Ft),Pe=null,te=te.slice(jn.to-Nt),Nt=jn.to}}}function Bo(a,b,ne,te){var ue=!te&&ne.widgetNode;ue&&a.map.push(a.pos,a.pos+b,ue),!te&&a.cm.display.input.needsContentAttribute&&(ue||(ue=a.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",ne.id)),ue&&(a.cm.display.input.setUneditable(ue),a.content.appendChild(ue)),a.pos+=b,a.trailingSpace=!1}function bo(a,b,ne){var te=a.markedSpans,ue=a.text,Pe=0;if(!te){for(var et=1;etFt||Ha.collapsed&&Ba.to==Ft&&Ba.from==Ft)){if(Ba.to!=null&&Ba.to!=Ft&&xr>Ba.to&&(xr=Ba.to,Wi=""),Ha.className&&(vi+=" "+Ha.className),Ha.css&&(Pr=(Pr?Pr+";":"")+Ha.css),Ha.startStyle&&Ba.from==Ft&&(Ao+=" "+Ha.startStyle),Ha.endStyle&&Ba.to==xr&&(ca||(ca=[])).push(Ha.endStyle,Ba.to),Ha.title&&((Wo||(Wo={})).title=Ha.title),Ha.attributes)for(var Bl in Ha.attributes)(Wo||(Wo={}))[Bl]=Ha.attributes[Bl];Ha.collapsed&&(!Io||_o(Io.marker,Ha)<0)&&(Io=Ba)}else Ba.from>Ft&&xr>Ba.from&&(xr=Ba.from)}if(ca)for(var Xu=0;Xu=vt)break;for(var xc=Math.min(vt,xr);;){if(Dn){var ic=Ft+Dn.length;if(!Io){var Qu=ic>xc?Dn.slice(0,xc-Ft):Dn;b.addToken(b,Qu,jn?jn+vi:vi,Ao,Ft+Qu.length==xr?Wi:"",Pr,Wo)}if(ic>=xc){Dn=Dn.slice(xc-Ft),Ft=xc;break}Ft=ic,Ao=""}Dn=ue.slice(Pe,Pe=ne[Nt++]),jn=$o(ne[Nt++],b.cm.options)}}}function Ra(a,b,ne){this.line=b,this.rest=oo(b),this.size=this.rest?un(kt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Di(a,b)}function ns(a,b,ne){for(var te=[],ue,Pe=b;Pe2&&Pe.push((Ft.bottom+Nt.top)/2-ne.top)}}Pe.push(ne.bottom-ne.top)}}function ol(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;tene)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function qu(a,b){b=Kr(b);var ne=un(b),te=a.display.externalMeasured=new Ra(a.doc,b,ne);te.lineN=ne;var ue=te.built=Sa(a,te);return te.text=ue.pre,ot(a.display.lineMeasure,ue.pre),te}function Hu(a,b,ne,te){return sc(a,vs(a,b),ne,te)}function Pu(a,b){if(b>=a.display.viewFrom&&b=ne.lineN&&bb)&&(Pe=Ft-vt,ue=Pe-1,b>=Ft&&(et="right")),ue!=null){if(te=a[Nt+2],vt==Ft&&ne==(te.insertLeft?"left":"right")&&(et=ne),ne=="left"&&ue==0)for(;Nt&&a[Nt-2]==a[Nt-3]&&a[Nt-1].insertLeft;)te=a[(Nt-=3)+2],et="left";if(ne=="right"&&ue==Ft-vt)for(;Nt=0&&(ne=a[ue]).left==ne.right;ue--);return ne}function Tu(a,b,ne,te){var ue=Os(b.map,ne,te),Pe=ue.node,et=ue.start,vt=ue.end,Ft=ue.collapse,Nt;if(Pe.nodeType==3){for(var Dn=0;Dn<4;Dn++){for(;et&&Ve(b.line.text.charAt(ue.coverStart+et));)--et;for(;ue.coverStart+vt0&&(Ft=te="right");var jn;a.options.lineWrapping&&(jn=Pe.getClientRects()).length>1?Nt=jn[te=="right"?jn.length-1:0]:Nt=Pe.getBoundingClientRect()}if(ze&&Fe<9&&!et&&(!Nt||!Nt.left&&!Nt.right)){var Pr=Pe.parentNode.getClientRects()[0];Pr?Nt={left:Pr.left,right:Pr.left+iA(a.display),top:Pr.top,bottom:Pr.bottom}:Nt=rA}for(var xr=Nt.top-b.rect.top,vi=Nt.bottom-b.rect.top,Wi=(xr+vi)/2,Ao=b.view.measure.heights,Io=0;Io=te.text.length?(Ft=te.text.length,Nt="before"):Ft<=0&&(Ft=0,Nt="after"),!vt)return et(Nt=="before"?Ft-1:Ft,Nt=="before");function Dn(vi,Wi,Ao){var Io=vt[Wi],Wo=Io.level==1;return et(Ao?vi-1:vi,Wo!=Ao)}var jn=Dt(vt,Ft,Nt),Pr=St,xr=Dn(Ft,jn,Nt=="before");return Pr!=null&&(xr.other=Dn(Ft,Pr,Nt!="before")),xr}function La(a,b){var ne=0;b=lr(a.doc,b),a.options.lineWrapping||(ne=iA(a.display)*b.ch);var te=or(a.doc,b.line),ue=Uo(te)+Sl(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Da(a,b,ne,te,ue){var Pe=Wt(a,b,ne);return Pe.xRel=ue,te&&(Pe.outside=te),Pe}function Rs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Da(te.first,0,null,-1,-1);var ue=bt(te,ne),Pe=te.first+te.size-1;if(ue>Pe)return Da(te.first+te.size-1,or(te,Pe).text.length,null,1,1);b<0&&(b=0);for(var et=or(te,ue);;){var vt=Vc(a,et,ue,b,ne),Ft=Jr(et,vt.ch+(vt.xRel>0||vt.outside>0?1:0));if(!Ft)return vt;var Nt=Ft.find(1);if(Nt.line==ue)return Nt;et=or(te,ue=Nt.line)}}function lc(a,b,ne,te){te-=Hs(b);var ue=b.text.length,Pe=gt(function(et){return sc(a,ne,et-1).bottom<=te},ue,0);return ue=gt(function(et){return sc(a,ne,et).top>te},Pe,ue),{begin:Pe,end:ue}}function Vl(a,b,ne,te){ne||(ne=vs(a,b));var ue=zu(a,b,sc(a,ne,te),"line").top;return lc(a,b,ne,ue)}function cu(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function Vc(a,b,ne,te,ue){ue-=Uo(b);var Pe=vs(a,b),et=Hs(b),vt=0,Ft=b.text.length,Nt=!0,Dn=xt(b,a.doc.direction);if(Dn){var jn=(a.options.lineWrapping?pA:wc)(a,b,ne,Pe,Dn,te,ue);Nt=jn.level!=1,vt=Nt?jn.from:jn.to-1,Ft=Nt?jn.to:jn.from-1}var Pr=null,xr=null,vi=gt(function(Ma){var Ba=sc(a,Pe,Ma);return Ba.top+=et,Ba.bottom+=et,cu(Ba,te,ue,!1)?(Ba.top<=ue&&Ba.left<=te&&(Pr=Ma,xr=Ba),!0):!1},vt,Ft),Wi,Ao,Io=!1;if(xr){var Wo=te-xr.left=ca.bottom?1:0}return vi=st(b.text,vi,1),Da(ne,vi,Ao,Io,te-Wi)}function wc(a,b,ne,te,ue,Pe,et){var vt=gt(function(jn){var Pr=ue[jn],xr=Pr.level!=1;return cu(gu(a,Wt(ne,xr?Pr.to:Pr.from,xr?"before":"after"),"line",b,te),Pe,et,!0)},0,ue.length-1),Ft=ue[vt];if(vt>0){var Nt=Ft.level!=1,Dn=gu(a,Wt(ne,Nt?Ft.from:Ft.to,Nt?"after":"before"),"line",b,te);cu(Dn,Pe,et,!0)&&Dn.top>et&&(Ft=ue[vt-1])}return Ft}function pA(a,b,ne,te,ue,Pe,et){var vt=lc(a,b,te,et),Ft=vt.begin,Nt=vt.end;/\s/.test(b.text.charAt(Nt-1))&&Nt--;for(var Dn=null,jn=null,Pr=0;Pr=Nt||xr.to<=Ft)){var vi=xr.level!=1,Wi=sc(a,te,vi?Math.min(Nt,xr.to)-1:Math.max(Ft,xr.from)).right,Ao=WiAo)&&(Dn=xr,jn=Ao)}}return Dn||(Dn=ue[ue.length-1]),Dn.fromNt&&(Dn={from:Dn.from,to:Nt,level:Dn.level}),Dn}var Gl;function bc(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Gl==null){Gl=ht("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Gl.appendChild(document.createTextNode("x")),Gl.appendChild(ht("br"));Gl.appendChild(document.createTextNode("x"))}ot(a.measure,Gl);var ne=Gl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),ut(a.measure),ne||1}function iA(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ht("span","xxxxxxxxxx"),ne=ht("pre",[b],"CodeMirror-line-like");ot(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function oA(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,Pe=b.gutters.firstChild,et=0;Pe;Pe=Pe.nextSibling,++et){var vt=a.display.gutterSpecs[et].className;ne[vt]=Pe.offsetLeft+Pe.clientLeft+ue,te[vt]=Pe.clientWidth}return{fixedPos:Ed(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Ed(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Jf(a){var b=bc(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/iA(a.display)-3);return function(ue){if(Di(a.doc,ue))return 0;var Pe=0;if(ue.widgets)for(var et=0;et0&&(Nt=or(a.doc,Ft.line).text).length==Ft.ch){var Dn=We(Nt,Nt.length,a.options.tabSize)-Nt.length;Ft=Wt(Ft.line,Math.max(0,Math.round((Pe-fu(a.display).left)/iA(a.display))-Dn))}return Ft}function gA(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;teb)&&(ue.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ue.viewTo)Gr&&Ur(a.doc,b)ue.viewFrom?aA(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)aA(a);else if(b<=ue.viewFrom){var Pe=Sd(a,ne,ne+te,1);Pe?(ue.view=ue.view.slice(Pe.index),ue.viewFrom=Pe.lineN,ue.viewTo+=te):aA(a)}else if(ne>=ue.viewTo){var et=Sd(a,b,b,-1);et?(ue.view=ue.view.slice(0,et.index),ue.viewTo=et.lineN):aA(a)}else{var vt=Sd(a,b,b,-1),Ft=Sd(a,ne,ne+te,1);vt&&Ft?(ue.view=ue.view.slice(0,vt.index).concat(ns(a,vt.lineN,Ft.lineN)).concat(ue.view.slice(Ft.index)),ue.viewTo+=te):aA(a)}var Nt=ue.externalMeasured;Nt&&(ne=ue.lineN&&b=te.viewTo)){var Pe=te.view[gA(a,b)];if(Pe.node!=null){var et=Pe.changes||(Pe.changes=[]);ct(et,ne)==-1&&et.push(ne)}}}function aA(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Sd(a,b,ne,te){var ue=gA(a,b),Pe,et=a.display.view;if(!Gr||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var vt=a.display.viewFrom,Ft=0;Ft0){if(ue==et.length-1)return null;Pe=vt+et[ue].size-b,ue++}else Pe=vt-b;b+=Pe,ne+=Pe}for(;Ur(a.doc,ne)!=ne;){if(ue==(te<0?0:et.length-1))return null;ne+=te*et[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function qf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=ns(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=ns(a,b,te.viewFrom).concat(te.view):te.viewFromne&&(te.view=te.view.slice(0,gA(a,ne)))),te.viewTo=ne}function Ps(a){for(var b=a.display.view,ne=0,te=0;te=a.display.viewTo||vt.to().line0?b.blinker=setInterval(function(){a.hasFocus()||Xc(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function eh(a){a.state.focused||(a.display.input.focus(),Cf(a))}function bf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Xc(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(an(a,"focus",a,b),a.state.focused=!0,Qe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ue&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Fd(a))}function Xc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(an(a,"blur",a,b),a.state.focused=!1,Xe(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ya(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te.005||Dn<-.005)&&(oi(ue.line,et),Ql(ue.line),ue.rest))for(var jn=0;jna.display.sizerWidth){var Pr=Math.ceil(vt/iA(a.display));Pr>a.display.maxLineLength&&(a.display.maxLineLength=Pr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function Ql(a){if(a.widgets)for(var b=0;b=et&&(Oe=bt(b,Uo(or(b,Ft))-a.wrapper.clientHeight),et=Ft)}return{from:Oe,to:Math.max(et,Oe+1)}}function rd(a,b){if(!en(a,"scrollCursorIntoView")){var ne=a.display,te=ne.sizer.getBoundingClientRect(),ue=null;if(b.top+te.top<0?ue=!0:b.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!Re){var Oe=ht("div","\u200B",null,`position: absolute; + height: `+(Ba-ca)+"px"))}function jn(Lo,ca,Ma){var Ba=or(ue,Lo),Ha=Ba.text.length,Bl,Xu;function $l(Qu,Bc){return Wl(a,Wt(Lo,Qu),"div",Ba,Bc)}function xc(Qu,Bc,hc){var So=Vl(a,Ba,null,Qu),zl=Bc=="ltr"==(hc=="after")?"left":"right",Jl=hc=="after"?So.begin:So.end-(/\s/.test(Ba.text.charAt(So.end-1))?2:1);return $l(Jl,zl)[zl]}var ic=xt(Ba,ue.direction);return mt(ic,ca||0,Ma==null?Ha:Ma,function(Qu,Bc,hc,So){var zl=hc=="ltr",Jl=$l(Qu,zl?"left":"right"),ql=$l(Bc-1,zl?"right":"left"),Of=ca==null&&Qu==0,Zs=Ma==null&&Bc==Ha,Es=So==0,sA=!ic||So==ic.length-1;if(ql.top-Jl.top<=3){var pc=(Nt?Of:Zs)&&Es,dh=(Nt?Zs:Of)&&sA,_a=pc?vt:(zl?Jl:ql).left,IA=dh?Ft:(zl?ql:Jl).right;Dn(_a,Jl.top,IA-_a,Jl.bottom)}else{var dl,gc,Md,Pf;zl?(dl=Nt&&Of&&Es?vt:Jl.left,gc=Nt?Ft:xc(Qu,hc,"before"),Md=Nt?vt:xc(Bc,hc,"after"),Pf=Nt&&Zs&&sA?Ft:ql.right):(dl=Nt?xc(Qu,hc,"before"):vt,gc=!Nt&&Of&&Es?Ft:Jl.right,Md=!Nt&&Zs&&sA?vt:ql.left,Pf=Nt?xc(Bc,hc,"after"):Ft),Dn(dl,Jl.top,gc-dl,Jl.bottom),Jl.bottom0?b.blinker=setInterval(function(){a.hasFocus()||Xc(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function eh(a){a.state.focused||(a.display.input.focus(),Cf(a))}function bf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Xc(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(an(a,"focus",a,b),a.state.focused=!0,_e(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ue&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Fd(a))}function Xc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(an(a,"blur",a,b),a.state.focused=!1,Xe(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ya(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te.005||Dn<-.005)&&(oi(ue.line,et),_l(ue.line),ue.rest))for(var jn=0;jna.display.sizerWidth){var Pr=Math.ceil(vt/iA(a.display));Pr>a.display.maxLineLength&&(a.display.maxLineLength=Pr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function _l(a){if(a.widgets)for(var b=0;b=et&&(Pe=bt(b,Uo(or(b,Ft))-a.wrapper.clientHeight),et=Ft)}return{from:Pe,to:Math.max(et,Pe+1)}}function rd(a,b){if(!en(a,"scrollCursorIntoView")){var ne=a.display,te=ne.sizer.getBoundingClientRect(),ue=null;if(b.top+te.top<0?ue=!0:b.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!Re){var Pe=ht("div","\u200B",null,`position: absolute; top: `+(b.top-ne.viewOffset-Sl(a.display))+`px; height: `+(b.bottom-b.top+zi(a)+ne.barHeight)+`px; - left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(Oe),Oe.scrollIntoView(ue),a.display.lineSpace.removeChild(Oe)}}}function kA(a,b,ne,te){te==null&&(te=0);var ue;!a.options.lineWrapping&&b==ne&&(b=b.ch?Wt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ne=b.sticky=="before"?Wt(b.line,b.ch+1,"before"):b);for(var Oe=0;Oe<5;Oe++){var et=!1,vt=gu(a,b),Ft=!ne||ne==b?vt:gu(a,ne);ue={left:Math.min(vt.left,Ft.left),top:Math.min(vt.top,Ft.top)-te,right:Math.max(vt.left,Ft.left),bottom:Math.max(vt.bottom,Ft.bottom)+te};var Nt=MA(a,ue),Dn=a.doc.scrollTop,jn=a.doc.scrollLeft;if(Nt.scrollTop!=null&&(uc(a,Nt.scrollTop),Math.abs(a.doc.scrollTop-Dn)>1&&(et=!0)),Nt.scrollLeft!=null&&(yA(a,Nt.scrollLeft),Math.abs(a.doc.scrollLeft-jn)>1&&(et=!0)),!et)break}return ue}function Kp(a,b){var ne=MA(a,b);ne.scrollTop!=null&&uc(a,ne.scrollTop),ne.scrollLeft!=null&&yA(a,ne.scrollLeft)}function MA(a,b){var ne=a.display,te=bc(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,Oe=ga(a),et={};b.bottom-b.top>Oe&&(b.bottom=b.top+Oe);var vt=a.doc.height+Ou(ne),Ft=b.topvt-te;if(b.topue+Oe){var Dn=Math.min(b.top,(Nt?vt:b.bottom)-Oe);Dn!=ue&&(et.scrollTop=Dn)}var jn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Pr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-jn,xr=zo(a)-ne.gutters.offsetWidth,vi=b.right-b.left>xr;return vi&&(b.right=b.left+xr),b.left<10?et.scrollLeft=0:b.leftxr+Pr-3&&(et.scrollLeft=b.right+(vi?0:10)-xr),et}function th(a,b){b!=null&&(vA(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function Uc(a){vA(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function id(a,b,ne){(b!=null||ne!=null)&&vA(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Zp(a,b){vA(a),a.curOp.scrollToPos=b}function vA(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=La(a,b.from),te=La(a,b.to);Nc(a,ne,te,b.margin)}}function Nc(a,b,ne,te){var ue=MA(a,{left:Math.min(b.left,ne.left),top:Math.min(b.top,ne.top)-te,right:Math.max(b.right,ne.right),bottom:Math.max(b.bottom,ne.bottom)+te});id(a,ue.scrollLeft,ue.scrollTop)}function uc(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Ld(a,{top:b}),zs(a,b,!0),x&&Ld(a),sd(a,100))}function zs(a,b,ne){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ne)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function yA(a,b,ne,te){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ne?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!te)&&(a.doc.scrollLeft=b,Yt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function od(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+Ou(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+zi(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var ad=function(a,b,ne){this.cm=ne;var te=this.vert=ht("div",[ht("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ht("div",[ht("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),Xt(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),Xt(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ze&&Fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ad.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ne=a.scrollHeight>a.clientHeight+1,te=a.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=b?te+"px":"0";var ue=a.viewHeight-(b?te:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=a.barLeft+"px";var Oe=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Oe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:b?te:0}},ad.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ad.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ad.prototype.zeroWidthHack=function(){var a=Ce&&!ve?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Te,this.disableVert=new Te},ad.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),Oe=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Oe!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},ad.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var wA=function(){};wA.prototype.update=function(){return{bottom:0,right:0}},wA.prototype.setScrollLeft=function(){},wA.prototype.setScrollTop=function(){},wA.prototype.clear=function(){};function UA(a,b){b||(b=od(a));var ne=a.display.barWidth,te=a.display.barHeight;xf(a,b);for(var ue=0;ue<4&&ne!=a.display.barWidth||te!=a.display.barHeight;ue++)ne!=a.display.barWidth&&a.options.lineWrapping&&ya(a),xf(a,od(a)),ne=a.display.barWidth,te=a.display.barHeight}function xf(a,b){var ne=a.display,te=ne.scrollbars.update(b);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=b.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Id={native:ad,null:wA};function Mh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Xe(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Id[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Xt(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ne){ne=="horizontal"?yA(a,b):uc(a,b)},a),a.display.scrollbars.addClass&&Qe(a.display.wrapper,a.display.scrollbars.addClass)}var Wp=0;function cc(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wp},tl(a.curOp)}function bA(a){var b=a.curOp;b&&au(b,function(ne){for(var te=0;te=ne.viewTo)||ne.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new Bf(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xd(a){a.updatedDisplay=a.mustUpdate&&nh(a.cm,a.update)}function cp(a){var b=a.cm,ne=b.display;a.updatedDisplay&&ya(b),a.barMeasure=od(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Hu(b,ne.maxLine,ne.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+a.adjustWidthTo+zi(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-zo(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ne.input.prepareSelection())}function Yd(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=gn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(Oe){if(te.line>=a.display.viewFrom){var et=Oe.styles,vt=Oe.text.length>a.options.maxHighlightLength?Oi(b.mode,te.state):null,Ft=nr(a,Oe,te,!0);vt&&(te.state=vt),Oe.styles=Ft.styles;var Nt=Oe.styleClasses,Dn=Ft.classes;Dn?Oe.styleClasses=Dn:Nt&&(Oe.styleClasses=null);for(var jn=!et||et.length!=Oe.styles.length||Nt!=Dn&&(!Nt||!Dn||Nt.bgClass!=Dn.bgClass||Nt.textClass!=Dn.textClass),Pr=0;!jn&&Prne)return sd(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&Ac(a,function(){for(var Oe=0;Oe=ne.viewFrom&&b.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Ps(a)==0)return!1;An(a)&&(aA(a),b.dims=oA(a));var ue=te.first+te.size,Oe=Math.max(b.visible.from-a.options.viewportMargin,te.first),et=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFromet&&ne.viewTo-et<20&&(et=Math.min(ue,ne.viewTo)),Gr&&(Oe=Ur(a.doc,Oe),et=ti(a.doc,et));var vt=Oe!=ne.viewFrom||et!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;qf(a,Oe,et),ne.viewOffset=Uo(or(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Ft=Ps(a);if(!vt&&Ft==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Nt=dp(a);return Ft>4&&(ne.lineDiv.style.display="none"),hp(a,ne.updateLineNumbers,b.dims),Ft>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,fp(Nt),ut(ne.cursorDiv),ut(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,vt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,sd(a,400)),ne.updateLineNumbers=null,!0}function CA(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==zo(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+Ou(a.display)-ga(a),ne.top)}),b.visible=Mc(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=Mc(a.display,a.doc,ne));if(!nh(a,b))break;ya(a);var ue=od(a);ec(a),UA(a,ue),yt(a,ue),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ld(a,b){var ne=new Bf(a,b);if(nh(a,ne)){ya(a),CA(a,ne);var te=od(a);ec(a),UA(a,te),yt(a,te),ne.finish()}}function hp(a,b,ne){var te=a.display,ue=a.options.lineNumbers,Oe=te.lineDiv,et=Oe.firstChild;function vt(vi){var Wi=vi.nextSibling;return Ue&&Ce&&a.display.currentWheelTarget==vi?vi.style.display="none":vi.parentNode.removeChild(vi),Wi}for(var Ft=te.view,Nt=te.viewFrom,Dn=0;Dn-1&&(xr=!1),Nu(a,jn,Nt,ne)),xr&&(ut(jn.lineNumber),jn.lineNumber.appendChild(document.createTextNode(fn(a.options,Nt)))),et=jn.node.nextSibling}Nt+=jn.size}for(;et;)et=vt(et)}function wt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function yt(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+zi(a)+"px"}function Yt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Ed(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,Oe=te+"px",et=0;etet.clientWidth,Ft=et.scrollHeight>et.clientHeight;if(te&&vt||ue&&Ft){if(ue&&Ce&&Ue){e:for(var Nt=b.target,Dn=Oe.view;Nt!=et;Nt=Nt.parentNode)for(var jn=0;jn=0&&yn(a,te.to())<=0)return ne}return-1};var Fr=function(a,b){this.anchor=a,this.head=b};Fr.prototype.from=function(){return Xr(this.anchor,this.head)},Fr.prototype.to=function(){return $r(this.anchor,this.head)},Fr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Gi(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Pr,xr){return yn(Pr.from(),xr.from())}),ne=ct(b,ue);for(var Oe=1;Oe0:Ft>=0){var Nt=Xr(vt.from(),et.from()),Dn=$r(vt.to(),et.to()),jn=vt.empty()?et.from()==et.head:vt.from()==vt.head;Oe<=ne&&--ne,b.splice(--Oe,2,new Fr(jn?Dn:Nt,jn?Nt:Dn))}}return new Dr(b,ne)}function mi(a,b){return new Dr([new Fr(a,b||a)],0)}function to(a){return a.text?Wt(a.from.line+a.text.length-1,kt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function uo(a,b){if(yn(a,b.from)<0)return a;if(yn(a,b.to)<=0)return to(b);var ne=a.line+b.text.length-(b.to.line-b.from.line)-1,te=a.ch;return a.line==b.to.line&&(te+=to(b).ch-b.to.ch),Wt(ne,te)}function qi(a,b){for(var ne=[],te=0;te1&&a.remove(vt.line+1,vi-1),a.insert(vt.line+1,Io)}Fs(a,"change",a,b)}function ra(a,b,ne){function te(ue,Oe,et){if(ue.linked)for(var vt=0;vt1&&!a.done[a.done.length-2].ranges)return a.done.pop(),kt(a.done)}function ia(a,b,ne,te){var ue=a.history;ue.undone.length=0;var Oe=+new Date,et,vt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>Oe-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(et=Go(ue,ue.lastOp==te)))vt=kt(et.changes),yn(b.from,b.to)==0&&yn(b.from,vt.to)==0?vt.to=to(b):et.changes.push(ho(a,b));else{var Ft=kt(ue.done);for((!Ft||!Ft.ranges)&&Za(a.sel,ue.done),et={changes:[ho(a,b)],generation:ue.generation},ue.done.push(et);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(ne),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Oe,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,vt||an(a,"historyAdded")}function Co(a,b,ne,te){var ue=b.charAt(0);return ue=="*"||ue=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function es(a,b,ne,te){var ue=a.history,Oe=te&&te.origin;ne==ue.lastSelOp||Oe&&ue.lastSelOrigin==Oe&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Oe||Co(a,Oe,kt(ue.done),b))?ue.done[ue.done.length-1]=b:Za(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Oe,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&Mo(ue.undone)}function Za(a,b){var ne=kt(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function kl(a,b,ne,te){var ue=b["spans_"+a.id],Oe=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(et){et.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[Oe]=et.markedSpans),++Oe})}function bl(a){if(!a)return null;for(var b,ne=0;ne-1&&(kt(vt)[jn]=Nt[jn],delete Nt[jn])}}return te}function us(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var Oe=yn(b,ue)<0;Oe!=yn(ne,ue)<0?(ue=b,b=ne):Oe!=yn(b,ne)<0&&(b=ne)}return new Fr(ue,b)}else return new Fr(ne||b,b)}function as(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),Po(a,new Dr([us(a.sel.primary(),b,ne,ue)],0),te)}function rl(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),Oe=0;Oe=b.ch:vt.to>b.ch))){if(ue&&(an(Ft,"beforeCursorEnter"),Ft.explicitlyCleared))if(Oe.markedSpans){--et;continue}else break;if(!Ft.atomic)continue;if(ne){var jn=Ft.find(te<0?1:-1),Pr=void 0;if((te<0?Dn:Nt)&&(jn=la(a,jn,-te,jn&&jn.line==b.line?Oe:null)),jn&&jn.line==b.line&&(Pr=yn(jn,ne))&&(te<0?Pr<0:Pr>0))return sl(a,jn,b,te,ue)}var xr=Ft.find(te<0?-1:1);return(te<0?Nt:Dn)&&(xr=la(a,xr,te,xr.line==b.line?Oe:null)),xr?sl(a,xr,b,te,ue):null}}return b}function mu(a,b,ne,te,ue){var Oe=te||1,et=sl(a,b,ne,Oe,ue)||!ue&&sl(a,b,ne,Oe,!0)||sl(a,b,ne,-Oe,ue)||!ue&&sl(a,b,ne,-Oe,!0);return et||(a.cantEdit=!0,Wt(a.first,0))}function la(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?lr(a,Wt(b.line-1)):null:ne>0&&b.ch==(te||or(a,b.line)).text.length?b.line=0;--ue)Xs(a,{from:te[ue].from,to:te[ue].to,text:ue?[""]:b.text,origin:b.origin});else Xs(a,b)}}function Xs(a,b){if(!(b.text.length==1&&b.text[0]==""&&yn(b.from,b.to)==0)){var ne=qi(a,b);ia(a,b,ne,a.cm?a.cm.curOp.id:NaN),fc(a,b,ne,Do(a,b));var te=[];ra(a,function(ue,Oe){!Oe&&ct(te,ue.history)==-1&&(du(ue.history,b),te.push(ue.history)),fc(ue,b,null,Do(ue,b))})}}function vu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,Oe,et=a.sel,vt=b=="undo"?ue.done:ue.undone,Ft=b=="undo"?ue.undone:ue.done,Nt=0;Nt=0;--xr){var vi=Pr(xr);if(vi)return vi.v}}}}function Ml(a,b){if(b!=0&&(a.first+=b,a.sel=new Dr(Sn(a.sel.ranges,function(ue){return new Fr(Wt(ue.anchor.line+b,ue.anchor.ch),Wt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){ku(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;tea.lastLine())){if(b.from.lineOe&&(b={from:b.from,to:Wt(Oe,or(a,Oe).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Mr(a,b.from,b.to),ne||(ne=qi(a,b)),a.cm?Cl(a.cm,b,te):sa(a,b,te),ps(a,ne,tt),a.cantEdit&&mu(a,Wt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Cl(a,b,ne){var te=a.doc,ue=a.display,Oe=b.from,et=b.to,vt=!1,Ft=Oe.line;a.options.lineWrapping||(Ft=un(Kr(or(te,Oe.line))),te.iter(Ft,et.line+1,function(xr){if(xr==ue.maxLine)return vt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&zn(a),sa(te,b,ne,Jf(a)),a.options.lineWrapping||(te.iter(Ft,Oe.line+b.text.length,function(xr){var vi=xa(xr);vi>ue.maxLineLength&&(ue.maxLine=xr,ue.maxLineLength=vi,ue.maxLineChanged=!0,vt=!1)}),vt&&(a.curOp.updateMaxLine=!0)),Pi(te,Oe.line),sd(a,400);var Nt=b.text.length-(et.line-Oe.line)-1;b.full?ku(a):Oe.line==et.line&&b.text.length==1&&!Na(a.doc,b)?TA(a,Oe.line,"text"):ku(a,Oe.line,et.line+1,Nt);var Dn=In(a,"changes"),jn=In(a,"change");if(jn||Dn){var Pr={from:Oe,to:et,text:b.text,removed:b.removed,origin:b.origin};jn&&Fs(a,"change",a,Pr),Dn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Pr)}a.display.selForContextMenu=null}function ys(a,b,ne,te,ue){var Oe;te||(te=ne),yn(te,ne)<0&&(Oe=[te,ne],ne=Oe[0],te=Oe[1]),typeof b=="string"&&(b=a.splitLines(b)),Js(a,{from:ne,to:te,text:b,origin:ue})}function ll(a,b,ne,te){ne1||!(this.children[0]instanceof ws))){var vt=[];this.collapse(vt),this.children=[new ws(vt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b50){for(var et=ue.lines.length%25+25,vt=et;vt10);a.parent.maybeSpill()}},iterN:function(a,b,ne){for(var te=0;tea.display.maxLineLength&&(a.display.maxLine=Nt,a.display.maxLineLength=Dn,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&ku(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Gs(a.doc)),a&&Fs(a,"markerCleared",a,this,te,ue),b&&bA(a),this.parent&&this.parent.clear()}},Qu.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue0||et==0&&Oe.clearWhenEmpty!==!1)return Oe;if(Oe.replacedWith&&(Oe.collapsed=!0,Oe.widgetNode=Ct("span",[Oe.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Oe.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Oe.widgetNode.insertLeft=!0)),Oe.collapsed){if(Ai(a,b.line,b,ne,Oe)||b.line!=ne.line&&Ai(a,ne.line,b,ne,Oe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Qi()}Oe.addToHistory&&ia(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var vt=b.line,Ft=a.cm,Nt;if(a.iter(vt,ne.line+1,function(jn){Ft&&Oe.collapsed&&!Ft.options.lineWrapping&&Kr(jn)==Ft.display.maxLine&&(Nt=!0),Oe.collapsed&&vt!=b.line&&oi(jn,0),Fi(jn,new Zi(Oe,vt==b.line?b.ch:null,vt==ne.line?ne.ch:null)),++vt}),Oe.collapsed&&a.iter(b.line,ne.line+1,function(jn){Di(a,jn)&&oi(jn,0)}),Oe.clearOnEnter&&Xt(Oe,"beforeCursorEnter",function(){return Oe.clear()}),Oe.readOnly&&(Ji(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Oe.collapsed&&(Oe.id=++Ru,Oe.atomic=!0),Ft){if(Nt&&(Ft.curOp.updateMaxLine=!0),Oe.collapsed)ku(Ft,b.line,ne.line+1);else if(Oe.className||Oe.startStyle||Oe.endStyle||Oe.css||Oe.attributes||Oe.title)for(var Dn=b.line;Dn<=ne.line;Dn++)TA(Ft,Dn,"text");Oe.atomic&&Gs(Ft.doc),Fs(Ft,"markerAdded",Ft,Oe)}return Oe}var cl=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne=0;Ft--)Js(this,te[Ft]);vt?Xo(this,vt):this.cm&&Uc(this.cm)}),undo:Uu(function(){vu(this,"undo")}),redo:Uu(function(){vu(this,"redo")}),undoSelection:Uu(function(){vu(this,"undo",!0)}),redoSelection:Uu(function(){vu(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ne=0,te=0;te=a.ch)&&b.push(ue.marker.parent||ue.marker)}return b},findMarks:function(a,b,ne){a=lr(this,a),b=lr(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(Oe){var et=Oe.markedSpans;if(et)for(var vt=0;vt=Ft.to||Ft.from==null&&ue!=a.line||Ft.from!=null&&ue==b.line&&Ft.from>=b.ch)&&(!ne||ne(Ft.marker))&&te.push(Ft.marker.parent||Ft.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;tea)return b=a,!0;a-=Oe,++ne}),lr(this,Wt(ne,b))},indexFromPos:function(a){a=lr(this,a);var b=a.ch;if(a.lineb&&(b=a.from),a.to!=null&&a.to-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var Dn=a.dataTransfer.getData("Text");if(Dn){var jn;if(b.state.draggingText&&!b.state.draggingText.copy&&(jn=b.listSelections()),ps(b.doc,mi(ne,ne)),jn)for(var Pr=0;Pr=0;vt--)ys(a.doc,"",te[vt].from,te[vt].to,"+delete");Uc(a)})}function ef(a,b,ne){var te=st(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=ef(a,b.ch,ne);return te==null?null:new Wt(b.line,te,ne<0?"after":"before")}function tf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var Oe=xt(ne,b.doc.direction);if(Oe){var et=ue<0?kt(Oe):Oe[0],vt=ue<0==(et.level==1),Ft=vt?"after":"before",Nt;if(et.level>0||b.doc.direction=="rtl"){var Dn=vs(b,ne);Nt=ue<0?ne.text.length-1:0;var jn=sc(b,Dn,Nt).top;Nt=gt(function(Pr){return sc(b,Dn,Pr).top==jn},ue<0==(et.level==1)?et.from:et.to-1,Nt),Ft=="before"&&(Nt=ef(ne,Nt,1))}else Nt=ue<0?et.to:et.from;return new Wt(te,Nt,Ft)}}return new Wt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=xt(b,a.doc.direction);if(!ue)return Ff(b,ne,te);ne.ch>=b.text.length?(ne.ch=b.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var Oe=Dt(ue,ne.ch,ne.sticky),et=ue[Oe];if(a.doc.direction=="ltr"&&et.level%2==0&&(te>0?et.to>ne.ch:et.from=et.from&&Pr>=Dn.begin)){var xr=jn?"before":"after";return new Wt(ne.line,Pr,xr)}}var vi=function(Io,Wo,Lo){for(var ca=function(Bl,Xu){return Xu?new Wt(ne.line,vt(Bl,1),"before"):new Wt(ne.line,Bl,"after")};Io>=0&&Io0==(Ma.level!=1),Ha=Ba?Lo.begin:vt(Lo.end,-1);if(Ma.from<=Ha&&Ha0?Dn.end:vt(Dn.begin,-1);return Ao!=null&&!(te>0&&Ao==b.text.length)&&(Wi=vi(te>0?0:ue.length-1,te,Nt(Ao)),Wi)?Wi:null}var GA={selectAll:na,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),tt)},killLine:function(a){return Qc(a,function(b){if(b.empty()){var ne=or(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.line0)ue=new Wt(ue.line,ue.ch+1),a.replaceRange(Oe.charAt(ue.ch-1)+Oe.charAt(ue.ch-2),Wt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var et=or(a.doc,ue.line-1).text;et&&(ue=new Wt(ue.line,1),a.replaceRange(Oe.charAt(0)+a.doc.lineSeparator()+et.charAt(et.length-1),Wt(ue.line-1,et.length-1),ue,"+transpose"))}}ne.push(new Fr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return Ac(a,function(){for(var b=a.listSelections(),ne=b.length-1;ne>=0;ne--)a.replaceRange(a.doc.lineSeparator(),b[ne].anchor,b[ne].head,"+input");b=a.listSelections();for(var te=0;tea&&yn(b,this.pos)==0&&ne==this.button};var EA,SA;function Pd(a,b){var ne=+new Date;return SA&&SA.compare(ne,a,b)?(EA=SA=null,"triple"):EA&&EA.compare(ne,a,b)?(SA=new ud(ne,a,b),EA=null,"double"):(EA=new ud(ne,a,b),SA=null,"single")}function cd(a){var b=this,ne=b.display;if(!(en(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,lu(ne,a)){Ue||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!RA(b,a)){var te=PA(b,a),ue=nn(a),Oe=te?Pd(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Rh(b,ue,te,Oe,a))&&(ue==1?te?Ns(b,te,Oe,a):Gt(a)==ne.scroller&&sn(a):ue==2?(te&&as(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(_e?b.display.input.onContextMenu(a):bf(b)))}}}function Rh(a,b,ne,te,ue){var Oe="Click";return te=="double"?Oe="Double"+Oe:te=="triple"&&(Oe="Triple"+Oe),Oe=(b==1?"Left":b==2?"Middle":"Right")+Oe,rf(a,WA(Oe,ue),ue,function(et){if(typeof et=="string"&&(et=GA[et]),!et)return!1;var vt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),vt=et(a,ne)!=jt}finally{a.state.suppressEdits=!1}return vt})}function ms(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var Oe=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=Oe?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ue.extend==null||a.doc.extend)&&(ue.extend=a.doc.extend||ne.shiftKey),ue.addNew==null&&(ue.addNew=Ce?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(Ce?ne.altKey:ne.ctrlKey)),ue}function Ns(a,b,ne,te){ze?setTimeout(at(eh,a),0):a.curOp.focus=De();var ue=ms(a,ne,te),Oe=a.doc.sel,et;a.options.dragDrop&&Cn&&!a.isReadOnly()&&ne=="single"&&(et=Oe.contains(b))>-1&&(yn((et=Oe.ranges[et]).from(),b)<0||b.xRel>0)&&(yn(et.to(),b)>0||b.xRel<0)?wu(a,te,b,ue):Gu(a,te,b,ue)}function wu(a,b,ne,te){var ue=a.display,Oe=!1,et=Mu(a,function(Nt){Ue&&(ue.scroller.draggable=!1),a.state.draggingText=!1,wn(ue.wrapper.ownerDocument,"mouseup",et),wn(ue.wrapper.ownerDocument,"mousemove",vt),wn(ue.scroller,"dragstart",Ft),wn(ue.scroller,"drop",et),Oe||(sn(Nt),te.addNew||as(a.doc,ne,null,null,te.extend),Ue&&!Ne||ze&&Fe==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),vt=function(Nt){Oe=Oe||Math.abs(b.clientX-Nt.clientX)+Math.abs(b.clientY-Nt.clientY)>=10},Ft=function(){return Oe=!0};Ue&&(ue.scroller.draggable=!0),a.state.draggingText=et,et.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Xt(ue.wrapper.ownerDocument,"mouseup",et),Xt(ue.wrapper.ownerDocument,"mousemove",vt),Xt(ue.scroller,"dragstart",Ft),Xt(ue.scroller,"drop",et),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Vu(a,b,ne){if(ne=="char")return new Fr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Fr(Wt(b.line,0),lr(a.doc,Wt(b.line+1,0)));var te=ne(a,b);return new Fr(te.from,te.to)}function Gu(a,b,ne,te){var ue=a.display,Oe=a.doc;sn(b);var et,vt,Ft=Oe.sel,Nt=Ft.ranges;if(te.addNew&&!te.extend?(vt=Oe.sel.contains(ne),vt>-1?et=Nt[vt]:et=new Fr(ne,ne)):(et=Oe.sel.primary(),vt=Oe.sel.primIndex),te.unit=="rectangle")te.addNew||(et=new Fr(ne,ne)),ne=PA(a,b,!0,!0),vt=-1;else{var Dn=Vu(a,ne,te.unit);te.extend?et=us(et,Dn.anchor,Dn.head,te.extend):et=Dn}te.addNew?vt==-1?(vt=Nt.length,Po(Oe,Gi(a,Nt.concat([et]),vt),{scroll:!1,origin:"*mouse"})):Nt.length>1&&Nt[vt].empty()&&te.unit=="char"&&!te.extend?(Po(Oe,Gi(a,Nt.slice(0,vt).concat(Nt.slice(vt+1)),0),{scroll:!1,origin:"*mouse"}),Ft=Oe.sel):Au(Oe,vt,et,Tt):(vt=0,Po(Oe,new Dr([et],0),Tt),Ft=Oe.sel);var jn=ne;function Pr(Lo){if(yn(jn,Lo)!=0)if(jn=Lo,te.unit=="rectangle"){for(var ca=[],Ma=a.options.tabSize,Ba=We(or(Oe,ne.line).text,ne.ch,Ma),Ha=We(or(Oe,Lo.line).text,Lo.ch,Ma),Bl=Math.min(Ba,Ha),Xu=Math.max(Ba,Ha),$l=Math.min(ne.line,Lo.line),xc=Math.min(a.lastLine(),Math.max(ne.line,Lo.line));$l<=xc;$l++){var ic=or(Oe,$l).text,_u=hn(ic,Bl,Ma);Bl==Xu?ca.push(new Fr(Wt($l,_u),Wt($l,_u))):ic.length>_u&&ca.push(new Fr(Wt($l,_u),Wt($l,hn(ic,Xu,Ma))))}ca.length||ca.push(new Fr(ne,ne)),Po(Oe,Gi(a,Ft.ranges.slice(0,vt).concat(ca),vt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Lo)}else{var Bc=et,hc=Vu(a,Lo,te.unit),So=Bc.anchor,zl;yn(hc.anchor,So)>0?(zl=hc.head,So=Xr(Bc.from(),hc.anchor)):(zl=hc.anchor,So=$r(Bc.to(),hc.head));var Jl=Ft.ranges.slice(0);Jl[vt]=Ad(a,new Fr(lr(Oe,So),zl)),Po(Oe,Gi(a,Jl,vt),Tt)}}var xr=ue.wrapper.getBoundingClientRect(),vi=0;function Wi(Lo){var ca=++vi,Ma=PA(a,Lo,!0,te.unit=="rectangle");if(Ma)if(yn(Ma,jn)!=0){a.curOp.focus=De(),Pr(Ma);var Ba=Mc(ue,Oe);(Ma.line>=Ba.to||Ma.linexr.bottom?20:0;Ha&&setTimeout(Mu(a,function(){vi==ca&&(ue.scroller.scrollTop+=Ha,Wi(Lo))}),50)}}function Ao(Lo){a.state.selectingText=!1,vi=1/0,Lo&&(sn(Lo),ue.input.focus()),wn(ue.wrapper.ownerDocument,"mousemove",Io),wn(ue.wrapper.ownerDocument,"mouseup",Wo),Oe.history.lastSelOrigin=null}var Io=Mu(a,function(Lo){Lo.buttons===0||!nn(Lo)?Ao(Lo):Wi(Lo)}),Wo=Mu(a,Ao);a.state.selectingText=Wo,Xt(ue.wrapper.ownerDocument,"mousemove",Io),Xt(ue.wrapper.ownerDocument,"mouseup",Wo)}function Ad(a,b){var ne=b.anchor,te=b.head,ue=or(a.doc,ne.line);if(yn(ne,te)==0&&ne.sticky==te.sticky)return b;var Oe=xt(ue);if(!Oe)return b;var et=Dt(Oe,ne.ch,ne.sticky),vt=Oe[et];if(vt.from!=ne.ch&&vt.to!=ne.ch)return b;var Ft=et+(vt.from==ne.ch==(vt.level!=1)?0:1);if(Ft==0||Ft==Oe.length)return b;var Nt;if(te.line!=ne.line)Nt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Dn=Dt(Oe,te.ch,te.sticky),jn=Dn-et||(te.ch-ne.ch)*(vt.level==1?-1:1);Dn==Ft-1||Dn==Ft?Nt=jn<0:Nt=jn>0}var Pr=Oe[Ft+(Nt?-1:0)],xr=Nt==(Pr.level==1),vi=xr?Pr.from:Pr.to,Wi=xr?"after":"before";return ne.ch==vi&&ne.sticky==Wi?b:new Fr(new Wt(ne.line,vi,Wi),te)}function XA(a,b,ne,te){var ue,Oe;if(b.touches)ue=b.touches[0].clientX,Oe=b.touches[0].clientY;else try{ue=b.clientX,Oe=b.clientY}catch(Pr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&sn(b);var et=a.display,vt=et.lineDiv.getBoundingClientRect();if(Oe>vt.bottom||!In(a,ne))return Vn(b);Oe-=vt.top-et.viewOffset;for(var Ft=0;Ft=ue){var Dn=bt(a.doc,Oe),jn=a.display.gutterSpecs[Ft];return an(a,ne,a,Dn,jn.className,b),Vn(b)}}}function RA(a,b){return XA(a,b,"gutterClick",!0)}function dd(a,b){lu(a.display,b)||YA(a,b)||en(a,b,"contextmenu")||_e||a.display.input.onContextMenu(b)}function YA(a,b){return In(a,"gutterContextMenu")?XA(a,b,"gutterContextMenu",!1):!1}function Qh(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Eu(a)}var fd={toString:function(){return"CodeMirror.Init"}},Xp={},_h={};function gg(a){var b=a.optionHandlers;function ne(te,ue,Oe,et){a.defaults[te]=ue,Oe&&(b[te]=et?function(vt,Ft,Nt){Nt!=fd&&Oe(vt,Ft,Nt)}:Oe)}a.defineOption=ne,a.Init=fd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,jo(te)},!0),ne("indentUnit",2,jo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){ko(te),Eu(te),ku(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var Oe=[],et=te.doc.first;te.doc.iter(function(Ft){for(var Nt=0;;){var Dn=Ft.text.indexOf(ue,Nt);if(Dn==-1)break;Nt=Dn+ue.length,Oe.push(Wt(et,Dn))}et++});for(var vt=Oe.length-1;vt>=0;vt--)ys(te.doc,ue,Oe[vt],Wt(Oe[vt].line,Oe[vt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,Oe){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Oe!=fd&&te.refresh()}),ne("specialCharPlaceholder",Ja,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",ye?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),ne("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),ne("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),ne("rtlMoveVisually",!Me),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){Qh(te),rr(te)},!0),ne("keyMap","default",function(te,ue,Oe){var et=yu(ue),vt=Oe!=fd&&yu(Oe);vt&&vt.detach&&vt.detach(te,et),et.attach&&et.attach(te,vt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=Fn(ue,te.options.lineNumbers),rr(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Ed(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return UA(te)},!0),ne("scrollbarStyle","native",function(te){Mh(te),UA(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=Fn(te.options.gutters,ue),rr(te)},!0),ne("firstLineNumber",1,rr,!0),ne("lineNumberFormatter",function(te){return te},rr,!0),ne("showCursorWhenSelecting",!1,ec,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(Xc(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),ne("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),ne("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),ne("dragDrop",!0,mg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,ec,!0),ne("singleCursorHeightPerLine",!0,ec,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,ko,!0),ne("addModeClass",!1,ko,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ue){return te.doc.history.undoDepth=ue}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,ko,!0),ne("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),ne("autofocus",null),ne("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),ne("phrases",null)}function mg(a,b,ne){var te=ne&&ne!=fd;if(!b!=!te){var ue=a.display.dragFunctions,Oe=b?Xt:wn;Oe(a.display.scroller,"dragstart",ue.start),Oe(a.display.scroller,"dragenter",ue.enter),Oe(a.display.scroller,"dragover",ue.over),Oe(a.display.scroller,"dragleave",ue.leave),Oe(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(Qe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Xe(a.display.wrapper,"CodeMirror-wrap"),Wr(a)),nd(a),ku(a),Eu(a),setTimeout(function(){return UA(a)},100)}function jl(a,b){var ne=this;if(!(this instanceof jl))return new jl(a,b);this.options=b=b?Bt(b):{},Bt(Xp,b,!1);var te=b.value;typeof te=="string"?te=new Al(te,b.mode,null,b.lineSeparator,b.direction):b.mode&&(te.modeOption=b.mode),this.doc=te;var ue=new jl.inputStyles[b.inputStyle](this),Oe=this.display=new er(a,te,ue,b);Oe.wrapper.CodeMirror=this,Qh(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Mh(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Te,keySeq:null,specialChars:null},b.autofocus&&!ye&&Oe.input.focus(),ze&&Fe<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),$p(this),ld(),cc(this),this.curOp.forceUpdate=!0,Zo(this,te),b.autofocus&&!ye||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):Xc(this);for(var et in _h)_h.hasOwnProperty(et)&&_h[et](this,b[et],fd);An(this),b.finishInit&&b.finishInit(this);for(var vt=0;vt20*20}Xt(b.scroller,"touchstart",function(Ft){if(!en(a,Ft)&&!Oe(Ft)&&!RA(a,Ft)){b.input.ensurePolled(),clearTimeout(ne);var Nt=+new Date;b.activeTouch={start:Nt,moved:!1,prev:Nt-te.end<=300?te:null},Ft.touches.length==1&&(b.activeTouch.left=Ft.touches[0].pageX,b.activeTouch.top=Ft.touches[0].pageY)}}),Xt(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),Xt(b.scroller,"touchend",function(Ft){var Nt=b.activeTouch;if(Nt&&!lu(b,Ft)&&Nt.left!=null&&!Nt.moved&&new Date-Nt.start<300){var Dn=a.coordsChar(b.activeTouch,"page"),jn;!Nt.prev||et(Nt,Nt.prev)?jn=new Fr(Dn,Dn):!Nt.prev.prev||et(Nt,Nt.prev.prev)?jn=a.findWordAt(Dn):jn=new Fr(Wt(Dn.line,0),lr(a.doc,Wt(Dn.line+1,0))),a.setSelection(jn.anchor,jn.head),a.focus(),sn(Ft)}ue()}),Xt(b.scroller,"touchcancel",ue),Xt(b.scroller,"scroll",function(){b.scroller.clientHeight&&(uc(a,b.scroller.scrollTop),yA(a,b.scroller.scrollLeft,!0),an(a,"scroll",a))}),Xt(b.scroller,"mousewheel",function(Ft){return _r(a,Ft)}),Xt(b.scroller,"DOMMouseScroll",function(Ft){return _r(a,Ft)}),Xt(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Ft){en(a,Ft)||Lt(Ft)},over:function(Ft){en(a,Ft)||($c(a,Ft),Lt(Ft))},start:function(Ft){return Rc(a,Ft)},drop:Mu(a,xA),leave:function(Ft){en(a,Ft)||Jd(a)}};var vt=b.input.getField();Xt(vt,"keyup",function(Ft){return oh.call(a,Ft)}),Xt(vt,"keydown",Mu(a,of)),Xt(vt,"keypress",Mu(a,ah)),Xt(vt,"focus",function(Ft){return Cf(a,Ft)}),Xt(vt,"blur",function(Ft){return Xc(a,Ft)})}var jh=[];jl.defineInitHook=function(a){return jh.push(a)};function af(a,b,ne,te){var ue=a.doc,Oe;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?Oe=gn(a,b).state:ne="prev");var et=a.options.tabSize,vt=or(ue,b),Ft=We(vt.text,null,et);vt.stateAfter&&(vt.stateAfter=null);var Nt=vt.text.match(/^\s*/)[0],Dn;if(!te&&!/\S/.test(vt.text))Dn=0,ne="not";else if(ne=="smart"&&(Dn=ue.mode.indent(Oe,vt.text.slice(Nt.length),vt.text),Dn==jt||Dn>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Dn=We(or(ue,b-1).text,null,et):Dn=0:ne=="add"?Dn=Ft+a.options.indentUnit:ne=="subtract"?Dn=Ft-a.options.indentUnit:typeof ne=="number"&&(Dn=Ft+ne),Dn=Math.max(0,Dn);var jn="",Pr=0;if(a.options.indentWithTabs)for(var xr=Math.floor(Dn/et);xr;--xr)Pr+=et,jn+=" ";if(Pret,Ft=sr(b),Nt=null;if(vt&&te.ranges.length>1)if(FA&&FA.text.join(` -`)==b){if(te.ranges.length%FA.text.length==0){Nt=[];for(var Dn=0;Dn=0;Pr--){var xr=te.ranges[Pr],vi=xr.from(),Wi=xr.to();xr.empty()&&(ne&&ne>0?vi=Wt(vi.line,vi.ch-ne):a.state.overwrite&&!vt?Wi=Wt(Wi.line,Math.min(or(Oe,Wi.line).text.length,Wi.ch+kt(Ft).length)):vt&&FA&&FA.lineWise&&FA.text.join(` + left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(Pe),Pe.scrollIntoView(ue),a.display.lineSpace.removeChild(Pe)}}}function kA(a,b,ne,te){te==null&&(te=0);var ue;!a.options.lineWrapping&&b==ne&&(b=b.ch?Wt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ne=b.sticky=="before"?Wt(b.line,b.ch+1,"before"):b);for(var Pe=0;Pe<5;Pe++){var et=!1,vt=gu(a,b),Ft=!ne||ne==b?vt:gu(a,ne);ue={left:Math.min(vt.left,Ft.left),top:Math.min(vt.top,Ft.top)-te,right:Math.max(vt.left,Ft.left),bottom:Math.max(vt.bottom,Ft.bottom)+te};var Nt=MA(a,ue),Dn=a.doc.scrollTop,jn=a.doc.scrollLeft;if(Nt.scrollTop!=null&&(uc(a,Nt.scrollTop),Math.abs(a.doc.scrollTop-Dn)>1&&(et=!0)),Nt.scrollLeft!=null&&(yA(a,Nt.scrollLeft),Math.abs(a.doc.scrollLeft-jn)>1&&(et=!0)),!et)break}return ue}function Kp(a,b){var ne=MA(a,b);ne.scrollTop!=null&&uc(a,ne.scrollTop),ne.scrollLeft!=null&&yA(a,ne.scrollLeft)}function MA(a,b){var ne=a.display,te=bc(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,Pe=ga(a),et={};b.bottom-b.top>Pe&&(b.bottom=b.top+Pe);var vt=a.doc.height+Ou(ne),Ft=b.topvt-te;if(b.topue+Pe){var Dn=Math.min(b.top,(Nt?vt:b.bottom)-Pe);Dn!=ue&&(et.scrollTop=Dn)}var jn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Pr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-jn,xr=zo(a)-ne.gutters.offsetWidth,vi=b.right-b.left>xr;return vi&&(b.right=b.left+xr),b.left<10?et.scrollLeft=0:b.leftxr+Pr-3&&(et.scrollLeft=b.right+(vi?0:10)-xr),et}function th(a,b){b!=null&&(vA(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function Uc(a){vA(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function id(a,b,ne){(b!=null||ne!=null)&&vA(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Zp(a,b){vA(a),a.curOp.scrollToPos=b}function vA(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=La(a,b.from),te=La(a,b.to);Nc(a,ne,te,b.margin)}}function Nc(a,b,ne,te){var ue=MA(a,{left:Math.min(b.left,ne.left),top:Math.min(b.top,ne.top)-te,right:Math.max(b.right,ne.right),bottom:Math.max(b.bottom,ne.bottom)+te});id(a,ue.scrollLeft,ue.scrollTop)}function uc(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Ld(a,{top:b}),zs(a,b,!0),x&&Ld(a),sd(a,100))}function zs(a,b,ne){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ne)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function yA(a,b,ne,te){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ne?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!te)&&(a.doc.scrollLeft=b,Yt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function od(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+Ou(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+zi(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var ad=function(a,b,ne){this.cm=ne;var te=this.vert=ht("div",[ht("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ht("div",[ht("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),Xt(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),Xt(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ze&&Fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ad.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ne=a.scrollHeight>a.clientHeight+1,te=a.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=b?te+"px":"0";var ue=a.viewHeight-(b?te:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=a.barLeft+"px";var Pe=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:b?te:0}},ad.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ad.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ad.prototype.zeroWidthHack=function(){var a=Ce&&!ve?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Te,this.disableVert=new Te},ad.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),Pe=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Pe!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},ad.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var wA=function(){};wA.prototype.update=function(){return{bottom:0,right:0}},wA.prototype.setScrollLeft=function(){},wA.prototype.setScrollTop=function(){},wA.prototype.clear=function(){};function UA(a,b){b||(b=od(a));var ne=a.display.barWidth,te=a.display.barHeight;xf(a,b);for(var ue=0;ue<4&&ne!=a.display.barWidth||te!=a.display.barHeight;ue++)ne!=a.display.barWidth&&a.options.lineWrapping&&ya(a),xf(a,od(a)),ne=a.display.barWidth,te=a.display.barHeight}function xf(a,b){var ne=a.display,te=ne.scrollbars.update(b);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=b.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Id={native:ad,null:wA};function Mh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Xe(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Id[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Xt(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ne){ne=="horizontal"?yA(a,b):uc(a,b)},a),a.display.scrollbars.addClass&&_e(a.display.wrapper,a.display.scrollbars.addClass)}var Wp=0;function cc(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wp},tl(a.curOp)}function bA(a){var b=a.curOp;b&&au(b,function(ne){for(var te=0;te=ne.viewTo)||ne.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new Bf(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xd(a){a.updatedDisplay=a.mustUpdate&&nh(a.cm,a.update)}function cp(a){var b=a.cm,ne=b.display;a.updatedDisplay&&ya(b),a.barMeasure=od(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=Hu(b,ne.maxLine,ne.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+a.adjustWidthTo+zi(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-zo(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ne.input.prepareSelection())}function Yd(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=gn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(Pe){if(te.line>=a.display.viewFrom){var et=Pe.styles,vt=Pe.text.length>a.options.maxHighlightLength?Oi(b.mode,te.state):null,Ft=nr(a,Pe,te,!0);vt&&(te.state=vt),Pe.styles=Ft.styles;var Nt=Pe.styleClasses,Dn=Ft.classes;Dn?Pe.styleClasses=Dn:Nt&&(Pe.styleClasses=null);for(var jn=!et||et.length!=Pe.styles.length||Nt!=Dn&&(!Nt||!Dn||Nt.bgClass!=Dn.bgClass||Nt.textClass!=Dn.textClass),Pr=0;!jn&&Prne)return sd(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&Ac(a,function(){for(var Pe=0;Pe=ne.viewFrom&&b.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Ps(a)==0)return!1;An(a)&&(aA(a),b.dims=oA(a));var ue=te.first+te.size,Pe=Math.max(b.visible.from-a.options.viewportMargin,te.first),et=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFromet&&ne.viewTo-et<20&&(et=Math.min(ue,ne.viewTo)),Gr&&(Pe=Ur(a.doc,Pe),et=ti(a.doc,et));var vt=Pe!=ne.viewFrom||et!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;qf(a,Pe,et),ne.viewOffset=Uo(or(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Ft=Ps(a);if(!vt&&Ft==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Nt=dp(a);return Ft>4&&(ne.lineDiv.style.display="none"),hp(a,ne.updateLineNumbers,b.dims),Ft>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,fp(Nt),ut(ne.cursorDiv),ut(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,vt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,sd(a,400)),ne.updateLineNumbers=null,!0}function CA(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==zo(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+Ou(a.display)-ga(a),ne.top)}),b.visible=Mc(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=Mc(a.display,a.doc,ne));if(!nh(a,b))break;ya(a);var ue=od(a);ec(a),UA(a,ue),yt(a,ue),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ld(a,b){var ne=new Bf(a,b);if(nh(a,ne)){ya(a),CA(a,ne);var te=od(a);ec(a),UA(a,te),yt(a,te),ne.finish()}}function hp(a,b,ne){var te=a.display,ue=a.options.lineNumbers,Pe=te.lineDiv,et=Pe.firstChild;function vt(vi){var Wi=vi.nextSibling;return Ue&&Ce&&a.display.currentWheelTarget==vi?vi.style.display="none":vi.parentNode.removeChild(vi),Wi}for(var Ft=te.view,Nt=te.viewFrom,Dn=0;Dn-1&&(xr=!1),Nu(a,jn,Nt,ne)),xr&&(ut(jn.lineNumber),jn.lineNumber.appendChild(document.createTextNode(hn(a.options,Nt)))),et=jn.node.nextSibling}Nt+=jn.size}for(;et;)et=vt(et)}function wt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function yt(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+zi(a)+"px"}function Yt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Ed(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,Pe=te+"px",et=0;etet.clientWidth,Ft=et.scrollHeight>et.clientHeight;if(te&&vt||ue&&Ft){if(ue&&Ce&&Ue){e:for(var Nt=b.target,Dn=Pe.view;Nt!=et;Nt=Nt.parentNode)for(var jn=0;jn=0&&yn(a,te.to())<=0)return ne}return-1};var Fr=function(a,b){this.anchor=a,this.head=b};Fr.prototype.from=function(){return Xr(this.anchor,this.head)},Fr.prototype.to=function(){return $r(this.anchor,this.head)},Fr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Gi(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Pr,xr){return yn(Pr.from(),xr.from())}),ne=ct(b,ue);for(var Pe=1;Pe0:Ft>=0){var Nt=Xr(vt.from(),et.from()),Dn=$r(vt.to(),et.to()),jn=vt.empty()?et.from()==et.head:vt.from()==vt.head;Pe<=ne&&--ne,b.splice(--Pe,2,new Fr(jn?Dn:Nt,jn?Nt:Dn))}}return new Dr(b,ne)}function mi(a,b){return new Dr([new Fr(a,b||a)],0)}function to(a){return a.text?Wt(a.from.line+a.text.length-1,kt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function uo(a,b){if(yn(a,b.from)<0)return a;if(yn(a,b.to)<=0)return to(b);var ne=a.line+b.text.length-(b.to.line-b.from.line)-1,te=a.ch;return a.line==b.to.line&&(te+=to(b).ch-b.to.ch),Wt(ne,te)}function qi(a,b){for(var ne=[],te=0;te1&&a.remove(vt.line+1,vi-1),a.insert(vt.line+1,Io)}Fs(a,"change",a,b)}function ra(a,b,ne){function te(ue,Pe,et){if(ue.linked)for(var vt=0;vt1&&!a.done[a.done.length-2].ranges)return a.done.pop(),kt(a.done)}function ia(a,b,ne,te){var ue=a.history;ue.undone.length=0;var Pe=+new Date,et,vt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>Pe-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(et=Go(ue,ue.lastOp==te)))vt=kt(et.changes),yn(b.from,b.to)==0&&yn(b.from,vt.to)==0?vt.to=to(b):et.changes.push(ho(a,b));else{var Ft=kt(ue.done);for((!Ft||!Ft.ranges)&&Za(a.sel,ue.done),et={changes:[ho(a,b)],generation:ue.generation},ue.done.push(et);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(ne),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=Pe,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,vt||an(a,"historyAdded")}function Co(a,b,ne,te){var ue=b.charAt(0);return ue=="*"||ue=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function es(a,b,ne,te){var ue=a.history,Pe=te&&te.origin;ne==ue.lastSelOp||Pe&&ue.lastSelOrigin==Pe&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Pe||Co(a,Pe,kt(ue.done),b))?ue.done[ue.done.length-1]=b:Za(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Pe,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&Mo(ue.undone)}function Za(a,b){var ne=kt(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function kl(a,b,ne,te){var ue=b["spans_"+a.id],Pe=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(et){et.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[Pe]=et.markedSpans),++Pe})}function bl(a){if(!a)return null;for(var b,ne=0;ne-1&&(kt(vt)[jn]=Nt[jn],delete Nt[jn])}}return te}function us(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var Pe=yn(b,ue)<0;Pe!=yn(ne,ue)<0?(ue=b,b=ne):Pe!=yn(b,ne)<0&&(b=ne)}return new Fr(ue,b)}else return new Fr(ne||b,b)}function as(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),Po(a,new Dr([us(a.sel.primary(),b,ne,ue)],0),te)}function rl(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),Pe=0;Pe=b.ch:vt.to>b.ch))){if(ue&&(an(Ft,"beforeCursorEnter"),Ft.explicitlyCleared))if(Pe.markedSpans){--et;continue}else break;if(!Ft.atomic)continue;if(ne){var jn=Ft.find(te<0?1:-1),Pr=void 0;if((te<0?Dn:Nt)&&(jn=la(a,jn,-te,jn&&jn.line==b.line?Pe:null)),jn&&jn.line==b.line&&(Pr=yn(jn,ne))&&(te<0?Pr<0:Pr>0))return sl(a,jn,b,te,ue)}var xr=Ft.find(te<0?-1:1);return(te<0?Nt:Dn)&&(xr=la(a,xr,te,xr.line==b.line?Pe:null)),xr?sl(a,xr,b,te,ue):null}}return b}function mu(a,b,ne,te,ue){var Pe=te||1,et=sl(a,b,ne,Pe,ue)||!ue&&sl(a,b,ne,Pe,!0)||sl(a,b,ne,-Pe,ue)||!ue&&sl(a,b,ne,-Pe,!0);return et||(a.cantEdit=!0,Wt(a.first,0))}function la(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?lr(a,Wt(b.line-1)):null:ne>0&&b.ch==(te||or(a,b.line)).text.length?b.line=0;--ue)Xs(a,{from:te[ue].from,to:te[ue].to,text:ue?[""]:b.text,origin:b.origin});else Xs(a,b)}}function Xs(a,b){if(!(b.text.length==1&&b.text[0]==""&&yn(b.from,b.to)==0)){var ne=qi(a,b);ia(a,b,ne,a.cm?a.cm.curOp.id:NaN),fc(a,b,ne,Do(a,b));var te=[];ra(a,function(ue,Pe){!Pe&&ct(te,ue.history)==-1&&(du(ue.history,b),te.push(ue.history)),fc(ue,b,null,Do(ue,b))})}}function vu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,Pe,et=a.sel,vt=b=="undo"?ue.done:ue.undone,Ft=b=="undo"?ue.undone:ue.done,Nt=0;Nt=0;--xr){var vi=Pr(xr);if(vi)return vi.v}}}}function Ml(a,b){if(b!=0&&(a.first+=b,a.sel=new Dr(Sn(a.sel.ranges,function(ue){return new Fr(Wt(ue.anchor.line+b,ue.anchor.ch),Wt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){ku(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;tea.lastLine())){if(b.from.linePe&&(b={from:b.from,to:Wt(Pe,or(a,Pe).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Mr(a,b.from,b.to),ne||(ne=qi(a,b)),a.cm?Cl(a.cm,b,te):sa(a,b,te),ps(a,ne,tt),a.cantEdit&&mu(a,Wt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Cl(a,b,ne){var te=a.doc,ue=a.display,Pe=b.from,et=b.to,vt=!1,Ft=Pe.line;a.options.lineWrapping||(Ft=un(Kr(or(te,Pe.line))),te.iter(Ft,et.line+1,function(xr){if(xr==ue.maxLine)return vt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&zn(a),sa(te,b,ne,Jf(a)),a.options.lineWrapping||(te.iter(Ft,Pe.line+b.text.length,function(xr){var vi=xa(xr);vi>ue.maxLineLength&&(ue.maxLine=xr,ue.maxLineLength=vi,ue.maxLineChanged=!0,vt=!1)}),vt&&(a.curOp.updateMaxLine=!0)),Pi(te,Pe.line),sd(a,400);var Nt=b.text.length-(et.line-Pe.line)-1;b.full?ku(a):Pe.line==et.line&&b.text.length==1&&!Na(a.doc,b)?TA(a,Pe.line,"text"):ku(a,Pe.line,et.line+1,Nt);var Dn=In(a,"changes"),jn=In(a,"change");if(jn||Dn){var Pr={from:Pe,to:et,text:b.text,removed:b.removed,origin:b.origin};jn&&Fs(a,"change",a,Pr),Dn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Pr)}a.display.selForContextMenu=null}function ys(a,b,ne,te,ue){var Pe;te||(te=ne),yn(te,ne)<0&&(Pe=[te,ne],ne=Pe[0],te=Pe[1]),typeof b=="string"&&(b=a.splitLines(b)),Js(a,{from:ne,to:te,text:b,origin:ue})}function ll(a,b,ne,te){ne1||!(this.children[0]instanceof ws))){var vt=[];this.collapse(vt),this.children=[new ws(vt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b50){for(var et=ue.lines.length%25+25,vt=et;vt10);a.parent.maybeSpill()}},iterN:function(a,b,ne){for(var te=0;tea.display.maxLineLength&&(a.display.maxLine=Nt,a.display.maxLineLength=Dn,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&ku(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Gs(a.doc)),a&&Fs(a,"markerCleared",a,this,te,ue),b&&bA(a),this.parent&&this.parent.clear()}},_u.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue0||et==0&&Pe.clearWhenEmpty!==!1)return Pe;if(Pe.replacedWith&&(Pe.collapsed=!0,Pe.widgetNode=Ct("span",[Pe.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Pe.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Pe.widgetNode.insertLeft=!0)),Pe.collapsed){if(Ai(a,b.line,b,ne,Pe)||b.line!=ne.line&&Ai(a,ne.line,b,ne,Pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");_i()}Pe.addToHistory&&ia(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var vt=b.line,Ft=a.cm,Nt;if(a.iter(vt,ne.line+1,function(jn){Ft&&Pe.collapsed&&!Ft.options.lineWrapping&&Kr(jn)==Ft.display.maxLine&&(Nt=!0),Pe.collapsed&&vt!=b.line&&oi(jn,0),Fi(jn,new Zi(Pe,vt==b.line?b.ch:null,vt==ne.line?ne.ch:null)),++vt}),Pe.collapsed&&a.iter(b.line,ne.line+1,function(jn){Di(a,jn)&&oi(jn,0)}),Pe.clearOnEnter&&Xt(Pe,"beforeCursorEnter",function(){return Pe.clear()}),Pe.readOnly&&(Ji(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Pe.collapsed&&(Pe.id=++Ru,Pe.atomic=!0),Ft){if(Nt&&(Ft.curOp.updateMaxLine=!0),Pe.collapsed)ku(Ft,b.line,ne.line+1);else if(Pe.className||Pe.startStyle||Pe.endStyle||Pe.css||Pe.attributes||Pe.title)for(var Dn=b.line;Dn<=ne.line;Dn++)TA(Ft,Dn,"text");Pe.atomic&&Gs(Ft.doc),Fs(Ft,"markerAdded",Ft,Pe)}return Pe}var cl=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne=0;Ft--)Js(this,te[Ft]);vt?Xo(this,vt):this.cm&&Uc(this.cm)}),undo:Uu(function(){vu(this,"undo")}),redo:Uu(function(){vu(this,"redo")}),undoSelection:Uu(function(){vu(this,"undo",!0)}),redoSelection:Uu(function(){vu(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ne=0,te=0;te=a.ch)&&b.push(ue.marker.parent||ue.marker)}return b},findMarks:function(a,b,ne){a=lr(this,a),b=lr(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(Pe){var et=Pe.markedSpans;if(et)for(var vt=0;vt=Ft.to||Ft.from==null&&ue!=a.line||Ft.from!=null&&ue==b.line&&Ft.from>=b.ch)&&(!ne||ne(Ft.marker))&&te.push(Ft.marker.parent||Ft.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;tea)return b=a,!0;a-=Pe,++ne}),lr(this,Wt(ne,b))},indexFromPos:function(a){a=lr(this,a);var b=a.ch;if(a.lineb&&(b=a.from),a.to!=null&&a.to-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var Dn=a.dataTransfer.getData("Text");if(Dn){var jn;if(b.state.draggingText&&!b.state.draggingText.copy&&(jn=b.listSelections()),ps(b.doc,mi(ne,ne)),jn)for(var Pr=0;Pr=0;vt--)ys(a.doc,"",te[vt].from,te[vt].to,"+delete");Uc(a)})}function ef(a,b,ne){var te=st(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=ef(a,b.ch,ne);return te==null?null:new Wt(b.line,te,ne<0?"after":"before")}function tf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var Pe=xt(ne,b.doc.direction);if(Pe){var et=ue<0?kt(Pe):Pe[0],vt=ue<0==(et.level==1),Ft=vt?"after":"before",Nt;if(et.level>0||b.doc.direction=="rtl"){var Dn=vs(b,ne);Nt=ue<0?ne.text.length-1:0;var jn=sc(b,Dn,Nt).top;Nt=gt(function(Pr){return sc(b,Dn,Pr).top==jn},ue<0==(et.level==1)?et.from:et.to-1,Nt),Ft=="before"&&(Nt=ef(ne,Nt,1))}else Nt=ue<0?et.to:et.from;return new Wt(te,Nt,Ft)}}return new Wt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=xt(b,a.doc.direction);if(!ue)return Ff(b,ne,te);ne.ch>=b.text.length?(ne.ch=b.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var Pe=Dt(ue,ne.ch,ne.sticky),et=ue[Pe];if(a.doc.direction=="ltr"&&et.level%2==0&&(te>0?et.to>ne.ch:et.from=et.from&&Pr>=Dn.begin)){var xr=jn?"before":"after";return new Wt(ne.line,Pr,xr)}}var vi=function(Io,Wo,Lo){for(var ca=function(Bl,Xu){return Xu?new Wt(ne.line,vt(Bl,1),"before"):new Wt(ne.line,Bl,"after")};Io>=0&&Io0==(Ma.level!=1),Ha=Ba?Lo.begin:vt(Lo.end,-1);if(Ma.from<=Ha&&Ha0?Dn.end:vt(Dn.begin,-1);return Ao!=null&&!(te>0&&Ao==b.text.length)&&(Wi=vi(te>0?0:ue.length-1,te,Nt(Ao)),Wi)?Wi:null}var GA={selectAll:na,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),tt)},killLine:function(a){return _c(a,function(b){if(b.empty()){var ne=or(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.line0)ue=new Wt(ue.line,ue.ch+1),a.replaceRange(Pe.charAt(ue.ch-1)+Pe.charAt(ue.ch-2),Wt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var et=or(a.doc,ue.line-1).text;et&&(ue=new Wt(ue.line,1),a.replaceRange(Pe.charAt(0)+a.doc.lineSeparator()+et.charAt(et.length-1),Wt(ue.line-1,et.length-1),ue,"+transpose"))}}ne.push(new Fr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return Ac(a,function(){for(var b=a.listSelections(),ne=b.length-1;ne>=0;ne--)a.replaceRange(a.doc.lineSeparator(),b[ne].anchor,b[ne].head,"+input");b=a.listSelections();for(var te=0;tea&&yn(b,this.pos)==0&&ne==this.button};var EA,SA;function Pd(a,b){var ne=+new Date;return SA&&SA.compare(ne,a,b)?(EA=SA=null,"triple"):EA&&EA.compare(ne,a,b)?(SA=new ud(ne,a,b),EA=null,"double"):(EA=new ud(ne,a,b),SA=null,"single")}function cd(a){var b=this,ne=b.display;if(!(en(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,lu(ne,a)){Ue||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!RA(b,a)){var te=PA(b,a),ue=nn(a),Pe=te?Pd(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Rh(b,ue,te,Pe,a))&&(ue==1?te?Ns(b,te,Pe,a):Gt(a)==ne.scroller&&sn(a):ue==2?(te&&as(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(Qe?b.display.input.onContextMenu(a):bf(b)))}}}function Rh(a,b,ne,te,ue){var Pe="Click";return te=="double"?Pe="Double"+Pe:te=="triple"&&(Pe="Triple"+Pe),Pe=(b==1?"Left":b==2?"Middle":"Right")+Pe,rf(a,WA(Pe,ue),ue,function(et){if(typeof et=="string"&&(et=GA[et]),!et)return!1;var vt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),vt=et(a,ne)!=zt}finally{a.state.suppressEdits=!1}return vt})}function ms(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var Pe=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=Pe?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ue.extend==null||a.doc.extend)&&(ue.extend=a.doc.extend||ne.shiftKey),ue.addNew==null&&(ue.addNew=Ce?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(Ce?ne.altKey:ne.ctrlKey)),ue}function Ns(a,b,ne,te){ze?setTimeout(at(eh,a),0):a.curOp.focus=De();var ue=ms(a,ne,te),Pe=a.doc.sel,et;a.options.dragDrop&&Cn&&!a.isReadOnly()&&ne=="single"&&(et=Pe.contains(b))>-1&&(yn((et=Pe.ranges[et]).from(),b)<0||b.xRel>0)&&(yn(et.to(),b)>0||b.xRel<0)?wu(a,te,b,ue):Gu(a,te,b,ue)}function wu(a,b,ne,te){var ue=a.display,Pe=!1,et=Mu(a,function(Nt){Ue&&(ue.scroller.draggable=!1),a.state.draggingText=!1,wn(ue.wrapper.ownerDocument,"mouseup",et),wn(ue.wrapper.ownerDocument,"mousemove",vt),wn(ue.scroller,"dragstart",Ft),wn(ue.scroller,"drop",et),Pe||(sn(Nt),te.addNew||as(a.doc,ne,null,null,te.extend),Ue&&!Ne||ze&&Fe==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),vt=function(Nt){Pe=Pe||Math.abs(b.clientX-Nt.clientX)+Math.abs(b.clientY-Nt.clientY)>=10},Ft=function(){return Pe=!0};Ue&&(ue.scroller.draggable=!0),a.state.draggingText=et,et.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Xt(ue.wrapper.ownerDocument,"mouseup",et),Xt(ue.wrapper.ownerDocument,"mousemove",vt),Xt(ue.scroller,"dragstart",Ft),Xt(ue.scroller,"drop",et),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Vu(a,b,ne){if(ne=="char")return new Fr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Fr(Wt(b.line,0),lr(a.doc,Wt(b.line+1,0)));var te=ne(a,b);return new Fr(te.from,te.to)}function Gu(a,b,ne,te){var ue=a.display,Pe=a.doc;sn(b);var et,vt,Ft=Pe.sel,Nt=Ft.ranges;if(te.addNew&&!te.extend?(vt=Pe.sel.contains(ne),vt>-1?et=Nt[vt]:et=new Fr(ne,ne)):(et=Pe.sel.primary(),vt=Pe.sel.primIndex),te.unit=="rectangle")te.addNew||(et=new Fr(ne,ne)),ne=PA(a,b,!0,!0),vt=-1;else{var Dn=Vu(a,ne,te.unit);te.extend?et=us(et,Dn.anchor,Dn.head,te.extend):et=Dn}te.addNew?vt==-1?(vt=Nt.length,Po(Pe,Gi(a,Nt.concat([et]),vt),{scroll:!1,origin:"*mouse"})):Nt.length>1&&Nt[vt].empty()&&te.unit=="char"&&!te.extend?(Po(Pe,Gi(a,Nt.slice(0,vt).concat(Nt.slice(vt+1)),0),{scroll:!1,origin:"*mouse"}),Ft=Pe.sel):Au(Pe,vt,et,Pt):(vt=0,Po(Pe,new Dr([et],0),Pt),Ft=Pe.sel);var jn=ne;function Pr(Lo){if(yn(jn,Lo)!=0)if(jn=Lo,te.unit=="rectangle"){for(var ca=[],Ma=a.options.tabSize,Ba=We(or(Pe,ne.line).text,ne.ch,Ma),Ha=We(or(Pe,Lo.line).text,Lo.ch,Ma),Bl=Math.min(Ba,Ha),Xu=Math.max(Ba,Ha),$l=Math.min(ne.line,Lo.line),xc=Math.min(a.lastLine(),Math.max(ne.line,Lo.line));$l<=xc;$l++){var ic=or(Pe,$l).text,Qu=fn(ic,Bl,Ma);Bl==Xu?ca.push(new Fr(Wt($l,Qu),Wt($l,Qu))):ic.length>Qu&&ca.push(new Fr(Wt($l,Qu),Wt($l,fn(ic,Xu,Ma))))}ca.length||ca.push(new Fr(ne,ne)),Po(Pe,Gi(a,Ft.ranges.slice(0,vt).concat(ca),vt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Lo)}else{var Bc=et,hc=Vu(a,Lo,te.unit),So=Bc.anchor,zl;yn(hc.anchor,So)>0?(zl=hc.head,So=Xr(Bc.from(),hc.anchor)):(zl=hc.anchor,So=$r(Bc.to(),hc.head));var Jl=Ft.ranges.slice(0);Jl[vt]=Ad(a,new Fr(lr(Pe,So),zl)),Po(Pe,Gi(a,Jl,vt),Pt)}}var xr=ue.wrapper.getBoundingClientRect(),vi=0;function Wi(Lo){var ca=++vi,Ma=PA(a,Lo,!0,te.unit=="rectangle");if(Ma)if(yn(Ma,jn)!=0){a.curOp.focus=De(),Pr(Ma);var Ba=Mc(ue,Pe);(Ma.line>=Ba.to||Ma.linexr.bottom?20:0;Ha&&setTimeout(Mu(a,function(){vi==ca&&(ue.scroller.scrollTop+=Ha,Wi(Lo))}),50)}}function Ao(Lo){a.state.selectingText=!1,vi=1/0,Lo&&(sn(Lo),ue.input.focus()),wn(ue.wrapper.ownerDocument,"mousemove",Io),wn(ue.wrapper.ownerDocument,"mouseup",Wo),Pe.history.lastSelOrigin=null}var Io=Mu(a,function(Lo){Lo.buttons===0||!nn(Lo)?Ao(Lo):Wi(Lo)}),Wo=Mu(a,Ao);a.state.selectingText=Wo,Xt(ue.wrapper.ownerDocument,"mousemove",Io),Xt(ue.wrapper.ownerDocument,"mouseup",Wo)}function Ad(a,b){var ne=b.anchor,te=b.head,ue=or(a.doc,ne.line);if(yn(ne,te)==0&&ne.sticky==te.sticky)return b;var Pe=xt(ue);if(!Pe)return b;var et=Dt(Pe,ne.ch,ne.sticky),vt=Pe[et];if(vt.from!=ne.ch&&vt.to!=ne.ch)return b;var Ft=et+(vt.from==ne.ch==(vt.level!=1)?0:1);if(Ft==0||Ft==Pe.length)return b;var Nt;if(te.line!=ne.line)Nt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Dn=Dt(Pe,te.ch,te.sticky),jn=Dn-et||(te.ch-ne.ch)*(vt.level==1?-1:1);Dn==Ft-1||Dn==Ft?Nt=jn<0:Nt=jn>0}var Pr=Pe[Ft+(Nt?-1:0)],xr=Nt==(Pr.level==1),vi=xr?Pr.from:Pr.to,Wi=xr?"after":"before";return ne.ch==vi&&ne.sticky==Wi?b:new Fr(new Wt(ne.line,vi,Wi),te)}function XA(a,b,ne,te){var ue,Pe;if(b.touches)ue=b.touches[0].clientX,Pe=b.touches[0].clientY;else try{ue=b.clientX,Pe=b.clientY}catch(Pr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&sn(b);var et=a.display,vt=et.lineDiv.getBoundingClientRect();if(Pe>vt.bottom||!In(a,ne))return Vn(b);Pe-=vt.top-et.viewOffset;for(var Ft=0;Ft=ue){var Dn=bt(a.doc,Pe),jn=a.display.gutterSpecs[Ft];return an(a,ne,a,Dn,jn.className,b),Vn(b)}}}function RA(a,b){return XA(a,b,"gutterClick",!0)}function dd(a,b){lu(a.display,b)||YA(a,b)||en(a,b,"contextmenu")||Qe||a.display.input.onContextMenu(b)}function YA(a,b){return In(a,"gutterContextMenu")?XA(a,b,"gutterContextMenu",!1):!1}function _h(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Eu(a)}var fd={toString:function(){return"CodeMirror.Init"}},Xp={},Qh={};function gg(a){var b=a.optionHandlers;function ne(te,ue,Pe,et){a.defaults[te]=ue,Pe&&(b[te]=et?function(vt,Ft,Nt){Nt!=fd&&Pe(vt,Ft,Nt)}:Pe)}a.defineOption=ne,a.Init=fd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,jo(te)},!0),ne("indentUnit",2,jo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){ko(te),Eu(te),ku(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var Pe=[],et=te.doc.first;te.doc.iter(function(Ft){for(var Nt=0;;){var Dn=Ft.text.indexOf(ue,Nt);if(Dn==-1)break;Nt=Dn+ue.length,Pe.push(Wt(et,Dn))}et++});for(var vt=Pe.length-1;vt>=0;vt--)ys(te.doc,ue,Pe[vt],Wt(Pe[vt].line,Pe[vt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,Pe){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Pe!=fd&&te.refresh()}),ne("specialCharPlaceholder",Ja,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",ye?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),ne("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),ne("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),ne("rtlMoveVisually",!Me),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){_h(te),rr(te)},!0),ne("keyMap","default",function(te,ue,Pe){var et=yu(ue),vt=Pe!=fd&&yu(Pe);vt&&vt.detach&&vt.detach(te,et),et.attach&&et.attach(te,vt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=Fn(ue,te.options.lineNumbers),rr(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Ed(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return UA(te)},!0),ne("scrollbarStyle","native",function(te){Mh(te),UA(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=Fn(te.options.gutters,ue),rr(te)},!0),ne("firstLineNumber",1,rr,!0),ne("lineNumberFormatter",function(te){return te},rr,!0),ne("showCursorWhenSelecting",!1,ec,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(Xc(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),ne("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),ne("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),ne("dragDrop",!0,mg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,ec,!0),ne("singleCursorHeightPerLine",!0,ec,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,ko,!0),ne("addModeClass",!1,ko,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ue){return te.doc.history.undoDepth=ue}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,ko,!0),ne("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),ne("autofocus",null),ne("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),ne("phrases",null)}function mg(a,b,ne){var te=ne&&ne!=fd;if(!b!=!te){var ue=a.display.dragFunctions,Pe=b?Xt:wn;Pe(a.display.scroller,"dragstart",ue.start),Pe(a.display.scroller,"dragenter",ue.enter),Pe(a.display.scroller,"dragover",ue.over),Pe(a.display.scroller,"dragleave",ue.leave),Pe(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(_e(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Xe(a.display.wrapper,"CodeMirror-wrap"),Wr(a)),nd(a),ku(a),Eu(a),setTimeout(function(){return UA(a)},100)}function jl(a,b){var ne=this;if(!(this instanceof jl))return new jl(a,b);this.options=b=b?Bt(b):{},Bt(Xp,b,!1);var te=b.value;typeof te=="string"?te=new Al(te,b.mode,null,b.lineSeparator,b.direction):b.mode&&(te.modeOption=b.mode),this.doc=te;var ue=new jl.inputStyles[b.inputStyle](this),Pe=this.display=new er(a,te,ue,b);Pe.wrapper.CodeMirror=this,_h(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Mh(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Te,keySeq:null,specialChars:null},b.autofocus&&!ye&&Pe.input.focus(),ze&&Fe<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),$p(this),ld(),cc(this),this.curOp.forceUpdate=!0,Zo(this,te),b.autofocus&&!ye||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):Xc(this);for(var et in Qh)Qh.hasOwnProperty(et)&&Qh[et](this,b[et],fd);An(this),b.finishInit&&b.finishInit(this);for(var vt=0;vt20*20}Xt(b.scroller,"touchstart",function(Ft){if(!en(a,Ft)&&!Pe(Ft)&&!RA(a,Ft)){b.input.ensurePolled(),clearTimeout(ne);var Nt=+new Date;b.activeTouch={start:Nt,moved:!1,prev:Nt-te.end<=300?te:null},Ft.touches.length==1&&(b.activeTouch.left=Ft.touches[0].pageX,b.activeTouch.top=Ft.touches[0].pageY)}}),Xt(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),Xt(b.scroller,"touchend",function(Ft){var Nt=b.activeTouch;if(Nt&&!lu(b,Ft)&&Nt.left!=null&&!Nt.moved&&new Date-Nt.start<300){var Dn=a.coordsChar(b.activeTouch,"page"),jn;!Nt.prev||et(Nt,Nt.prev)?jn=new Fr(Dn,Dn):!Nt.prev.prev||et(Nt,Nt.prev.prev)?jn=a.findWordAt(Dn):jn=new Fr(Wt(Dn.line,0),lr(a.doc,Wt(Dn.line+1,0))),a.setSelection(jn.anchor,jn.head),a.focus(),sn(Ft)}ue()}),Xt(b.scroller,"touchcancel",ue),Xt(b.scroller,"scroll",function(){b.scroller.clientHeight&&(uc(a,b.scroller.scrollTop),yA(a,b.scroller.scrollLeft,!0),an(a,"scroll",a))}),Xt(b.scroller,"mousewheel",function(Ft){return Qr(a,Ft)}),Xt(b.scroller,"DOMMouseScroll",function(Ft){return Qr(a,Ft)}),Xt(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Ft){en(a,Ft)||Lt(Ft)},over:function(Ft){en(a,Ft)||($c(a,Ft),Lt(Ft))},start:function(Ft){return Rc(a,Ft)},drop:Mu(a,xA),leave:function(Ft){en(a,Ft)||Jd(a)}};var vt=b.input.getField();Xt(vt,"keyup",function(Ft){return oh.call(a,Ft)}),Xt(vt,"keydown",Mu(a,of)),Xt(vt,"keypress",Mu(a,ah)),Xt(vt,"focus",function(Ft){return Cf(a,Ft)}),Xt(vt,"blur",function(Ft){return Xc(a,Ft)})}var jh=[];jl.defineInitHook=function(a){return jh.push(a)};function af(a,b,ne,te){var ue=a.doc,Pe;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?Pe=gn(a,b).state:ne="prev");var et=a.options.tabSize,vt=or(ue,b),Ft=We(vt.text,null,et);vt.stateAfter&&(vt.stateAfter=null);var Nt=vt.text.match(/^\s*/)[0],Dn;if(!te&&!/\S/.test(vt.text))Dn=0,ne="not";else if(ne=="smart"&&(Dn=ue.mode.indent(Pe,vt.text.slice(Nt.length),vt.text),Dn==zt||Dn>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Dn=We(or(ue,b-1).text,null,et):Dn=0:ne=="add"?Dn=Ft+a.options.indentUnit:ne=="subtract"?Dn=Ft-a.options.indentUnit:typeof ne=="number"&&(Dn=Ft+ne),Dn=Math.max(0,Dn);var jn="",Pr=0;if(a.options.indentWithTabs)for(var xr=Math.floor(Dn/et);xr;--xr)Pr+=et,jn+=" ";if(Pret,Ft=sr(b),Nt=null;if(vt&&te.ranges.length>1)if(FA&&FA.text.join(` +`)==b){if(te.ranges.length%FA.text.length==0){Nt=[];for(var Dn=0;Dn=0;Pr--){var xr=te.ranges[Pr],vi=xr.from(),Wi=xr.to();xr.empty()&&(ne&&ne>0?vi=Wt(vi.line,vi.ch-ne):a.state.overwrite&&!vt?Wi=Wt(Wi.line,Math.min(or(Pe,Wi.line).text.length,Wi.ch+kt(Ft).length)):vt&&FA&&FA.lineWise&&FA.text.join(` `)==Ft.join(` -`)&&(vi=Wi=Wt(vi.line,0)));var Ao={from:vi,to:Wi,text:Nt?Nt[Pr%Nt.length]:Ft,origin:ue||(vt?"paste":a.state.cutIncoming>et?"cut":"+input")};Js(a.doc,Ao),Fs(a,"inputRead",a,Ao)}b&&!vt&&uh(a,b),Uc(a),a.curOp.updateInput<2&&(a.curOp.updateInput=jn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Nf(a,b){var ne=a.clipboardData&&a.clipboardData.getData("Text");if(ne)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&Ac(b,function(){return lh(b,ne,0,null,"paste")}),!0}function uh(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ne=a.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ue=ne.ranges[te];if(!(ue.head.ch>100||te&&ne.ranges[te-1].head.line==ue.head.line)){var Oe=a.getModeAt(ue.head),et=!1;if(Oe.electricChars){for(var vt=0;vt-1){et=af(a,ue.head.line,"smart");break}}else Oe.electricInput&&Oe.electricInput.test(or(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(et=af(a,ue.head.line,"smart"));et&&Fs(a,"electricInput",a,ue.head.line)}}}function vp(a){for(var b=[],ne=[],te=0;teOe&&(af(this,vt.head.line,te,!0),Oe=vt.head.line,et==this.doc.sel.primIndex&&Uc(this));else{var Ft=vt.from(),Nt=vt.to(),Dn=Math.max(Oe,Ft.line);Oe=Math.min(this.lastLine(),Nt.line-(Nt.ch?0:1))+1;for(var jn=Dn;jn0&&Au(this.doc,et,new Fr(Ft,Pr[et].to()),tt)}}}),getTokenAt:function(te,ue){return br(this,te,ue)},getLineTokens:function(te,ue){return br(this,Wt(te),ue,!0)},getTokenTypeAt:function(te){te=lr(this.doc,te);var ue=fr(this,or(this.doc,te.line)),Oe=0,et=(ue.length-1)/2,vt=te.ch,Ft;if(vt==0)Ft=ue[2];else for(;;){var Nt=Oe+et>>1;if((Nt?ue[Nt*2-1]:0)>=vt)et=Nt;else if(ue[Nt*2+1]Ft&&(te=Ft,et=!0),vt=or(this.doc,te)}else vt=te;return zu(this,vt,{top:0,left:0},ue||"page",Oe||et).top+(et?this.doc.height-Uo(vt):0)},defaultTextHeight:function(){return bc(this.display)},defaultCharWidth:function(){return iA(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,Oe,et,vt){var Ft=this.display;te=gu(this,lr(this.doc,te));var Nt=te.bottom,Dn=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Ft.sizer.appendChild(ue),et=="over")Nt=te.top;else if(et=="above"||et=="near"){var jn=Math.max(Ft.wrapper.clientHeight,this.doc.height),Pr=Math.max(Ft.sizer.clientWidth,Ft.lineSpace.clientWidth);(et=="above"||te.bottom+ue.offsetHeight>jn)&&te.top>ue.offsetHeight?Nt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=jn&&(Nt=te.bottom),Dn+ue.offsetWidth>Pr&&(Dn=Pr-ue.offsetWidth)}ue.style.top=Nt+"px",ue.style.left=ue.style.right="",vt=="right"?(Dn=Ft.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(vt=="left"?Dn=0:vt=="middle"&&(Dn=(Ft.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Dn+"px"),Oe&&Kp(this,{left:Dn,top:Nt,right:Dn+ue.offsetWidth,bottom:Nt+ue.offsetHeight})},triggerOnKeyDown:dc(of),triggerOnKeyPress:dc(ah),triggerOnKeyUp:oh,triggerOnMouseDown:dc(cd),execCommand:function(te){if(GA.hasOwnProperty(te))return GA[te].call(null,this)},triggerElectric:dc(function(te){uh(this,te)}),findPosH:function(te,ue,Oe,et){var vt=1;ue<0&&(vt=-1,ue=-ue);for(var Ft=lr(this.doc,te),Nt=0;Nt0&&Dn(Oe.charAt(et-1));)--et;for(;vt.5||this.options.lineWrapping)&&nd(this),an(this,"refresh",this)}),swapDoc:dc(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Zo(this,te),Eu(this),this.display.input.reset(),id(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Fs(this,"swapDoc",this,ue),ue}),phrase:function(te){var ue=this.options.phrases;return ue&&Object.prototype.hasOwnProperty.call(ue,te)?ue[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Qt(a),a.registerHelper=function(te,ue,Oe){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=Oe},a.registerGlobalHelper=function(te,ue,Oe,et){a.registerHelper(te,ue,et),ne[te]._global.push({pred:Oe,val:et})}}function ch(a,b,ne,te,ue){var Oe=b,et=ne,vt=or(a,b.line),Ft=ue&&a.direction=="rtl"?-ne:ne;function Nt(){var Wo=b.line+Ft;return Wo=a.first+a.size?!1:(b=new Wt(Wo,b.ch,b.sticky),vt=or(a,Wo))}function Dn(Wo){var Lo;if(te=="codepoint"){var ca=vt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(ca)?Lo=null:Lo=new Wt(b.line,Math.max(0,Math.min(vt.text.length,b.ch+ne*(ca>=55296&&ca<56320?2:1))),-ne)}else ue?Lo=If(a.cm,vt,b,ne):Lo=Ff(vt,b,ne);if(Lo==null)if(!Wo&&Nt())b=tf(ue,a.cm,vt,b.line,Ft);else return!1;else b=Lo;return!0}if(te=="char"||te=="codepoint")Dn();else if(te=="column")Dn(!0);else if(te=="word"||te=="group")for(var jn=null,Pr=te=="group",xr=a.cm&&a.cm.getHelper(b,"wordChars"),vi=!0;!(ne<0&&!Dn(!vi));vi=!1){var Wi=vt.text.charAt(b.ch)||` +`)&&(vi=Wi=Wt(vi.line,0)));var Ao={from:vi,to:Wi,text:Nt?Nt[Pr%Nt.length]:Ft,origin:ue||(vt?"paste":a.state.cutIncoming>et?"cut":"+input")};Js(a.doc,Ao),Fs(a,"inputRead",a,Ao)}b&&!vt&&uh(a,b),Uc(a),a.curOp.updateInput<2&&(a.curOp.updateInput=jn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Nf(a,b){var ne=a.clipboardData&&a.clipboardData.getData("Text");if(ne)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&Ac(b,function(){return lh(b,ne,0,null,"paste")}),!0}function uh(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ne=a.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ue=ne.ranges[te];if(!(ue.head.ch>100||te&&ne.ranges[te-1].head.line==ue.head.line)){var Pe=a.getModeAt(ue.head),et=!1;if(Pe.electricChars){for(var vt=0;vt-1){et=af(a,ue.head.line,"smart");break}}else Pe.electricInput&&Pe.electricInput.test(or(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(et=af(a,ue.head.line,"smart"));et&&Fs(a,"electricInput",a,ue.head.line)}}}function vp(a){for(var b=[],ne=[],te=0;tePe&&(af(this,vt.head.line,te,!0),Pe=vt.head.line,et==this.doc.sel.primIndex&&Uc(this));else{var Ft=vt.from(),Nt=vt.to(),Dn=Math.max(Pe,Ft.line);Pe=Math.min(this.lastLine(),Nt.line-(Nt.ch?0:1))+1;for(var jn=Dn;jn0&&Au(this.doc,et,new Fr(Ft,Pr[et].to()),tt)}}}),getTokenAt:function(te,ue){return br(this,te,ue)},getLineTokens:function(te,ue){return br(this,Wt(te),ue,!0)},getTokenTypeAt:function(te){te=lr(this.doc,te);var ue=fr(this,or(this.doc,te.line)),Pe=0,et=(ue.length-1)/2,vt=te.ch,Ft;if(vt==0)Ft=ue[2];else for(;;){var Nt=Pe+et>>1;if((Nt?ue[Nt*2-1]:0)>=vt)et=Nt;else if(ue[Nt*2+1]Ft&&(te=Ft,et=!0),vt=or(this.doc,te)}else vt=te;return zu(this,vt,{top:0,left:0},ue||"page",Pe||et).top+(et?this.doc.height-Uo(vt):0)},defaultTextHeight:function(){return bc(this.display)},defaultCharWidth:function(){return iA(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,Pe,et,vt){var Ft=this.display;te=gu(this,lr(this.doc,te));var Nt=te.bottom,Dn=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Ft.sizer.appendChild(ue),et=="over")Nt=te.top;else if(et=="above"||et=="near"){var jn=Math.max(Ft.wrapper.clientHeight,this.doc.height),Pr=Math.max(Ft.sizer.clientWidth,Ft.lineSpace.clientWidth);(et=="above"||te.bottom+ue.offsetHeight>jn)&&te.top>ue.offsetHeight?Nt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=jn&&(Nt=te.bottom),Dn+ue.offsetWidth>Pr&&(Dn=Pr-ue.offsetWidth)}ue.style.top=Nt+"px",ue.style.left=ue.style.right="",vt=="right"?(Dn=Ft.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(vt=="left"?Dn=0:vt=="middle"&&(Dn=(Ft.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Dn+"px"),Pe&&Kp(this,{left:Dn,top:Nt,right:Dn+ue.offsetWidth,bottom:Nt+ue.offsetHeight})},triggerOnKeyDown:dc(of),triggerOnKeyPress:dc(ah),triggerOnKeyUp:oh,triggerOnMouseDown:dc(cd),execCommand:function(te){if(GA.hasOwnProperty(te))return GA[te].call(null,this)},triggerElectric:dc(function(te){uh(this,te)}),findPosH:function(te,ue,Pe,et){var vt=1;ue<0&&(vt=-1,ue=-ue);for(var Ft=lr(this.doc,te),Nt=0;Nt0&&Dn(Pe.charAt(et-1));)--et;for(;vt.5||this.options.lineWrapping)&&nd(this),an(this,"refresh",this)}),swapDoc:dc(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Zo(this,te),Eu(this),this.display.input.reset(),id(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Fs(this,"swapDoc",this,ue),ue}),phrase:function(te){var ue=this.options.phrases;return ue&&Object.prototype.hasOwnProperty.call(ue,te)?ue[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Qt(a),a.registerHelper=function(te,ue,Pe){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=Pe},a.registerGlobalHelper=function(te,ue,Pe,et){a.registerHelper(te,ue,et),ne[te]._global.push({pred:Pe,val:et})}}function ch(a,b,ne,te,ue){var Pe=b,et=ne,vt=or(a,b.line),Ft=ue&&a.direction=="rtl"?-ne:ne;function Nt(){var Wo=b.line+Ft;return Wo=a.first+a.size?!1:(b=new Wt(Wo,b.ch,b.sticky),vt=or(a,Wo))}function Dn(Wo){var Lo;if(te=="codepoint"){var ca=vt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(ca)?Lo=null:Lo=new Wt(b.line,Math.max(0,Math.min(vt.text.length,b.ch+ne*(ca>=55296&&ca<56320?2:1))),-ne)}else ue?Lo=If(a.cm,vt,b,ne):Lo=Ff(vt,b,ne);if(Lo==null)if(!Wo&&Nt())b=tf(ue,a.cm,vt,b.line,Ft);else return!1;else b=Lo;return!0}if(te=="char"||te=="codepoint")Dn();else if(te=="column")Dn(!0);else if(te=="word"||te=="group")for(var jn=null,Pr=te=="group",xr=a.cm&&a.cm.getHelper(b,"wordChars"),vi=!0;!(ne<0&&!Dn(!vi));vi=!1){var Wi=vt.text.charAt(b.ch)||` `,Ao=se(Wi,xr)?"w":Pr&&Wi==` -`?"n":!Pr||/\s/.test(Wi)?null:"p";if(Pr&&!vi&&!Ao&&(Ao="s"),jn&&jn!=Ao){ne<0&&(ne=1,Dn(),b.sticky="after");break}if(Ao&&(jn=Ao),ne>0&&!Dn(!vi))break}var Io=mu(a,b,Oe,et,!0);return On(Oe,Io)&&(Io.hitSide=!0),Io}function Jp(a,b,ne,te){var ue=a.doc,Oe=b.left,et;if(te=="page"){var vt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ft=Math.max(vt-.5*bc(a.display),3);et=(ne>0?b.bottom:b.top)+ne*Ft}else te=="line"&&(et=ne>0?b.bottom+3:b.top-3);for(var Nt;Nt=Rs(a,Oe,et),!!Nt.outside;){if(ne<0?et<=0:et>=ue.height){Nt.hitSide=!0;break}et+=ne*5}return Nt}var vl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Te,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};vl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;yp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Oe(vt){for(var Ft=vt.target;Ft;Ft=Ft.parentNode){if(Ft==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ft.className))break}return!1}Xt(ue,"paste",function(vt){!Oe(vt)||en(te,vt)||Nf(vt,te)||Fe<=11&&setTimeout(Mu(te,function(){return b.updateFromDOM()}),20)}),Xt(ue,"compositionstart",function(vt){b.composing={data:vt.data,done:!1}}),Xt(ue,"compositionupdate",function(vt){b.composing||(b.composing={data:vt.data,done:!1})}),Xt(ue,"compositionend",function(vt){b.composing&&(vt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),Xt(ue,"touchstart",function(){return ne.forceCompositionEnd()}),Xt(ue,"input",function(){b.composing||b.readFromDOMSoon()});function et(vt){if(!(!Oe(vt)||en(te,vt))){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()}),vt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ft=vp(te);sh({lineWise:!0,text:Ft.text}),vt.type=="cut"&&te.operation(function(){te.setSelections(Ft.ranges,0,tt),te.replaceSelection("",null,"cut")})}else return;if(vt.clipboardData){vt.clipboardData.clearData();var Nt=FA.text.join(` +`?"n":!Pr||/\s/.test(Wi)?null:"p";if(Pr&&!vi&&!Ao&&(Ao="s"),jn&&jn!=Ao){ne<0&&(ne=1,Dn(),b.sticky="after");break}if(Ao&&(jn=Ao),ne>0&&!Dn(!vi))break}var Io=mu(a,b,Pe,et,!0);return On(Pe,Io)&&(Io.hitSide=!0),Io}function Jp(a,b,ne,te){var ue=a.doc,Pe=b.left,et;if(te=="page"){var vt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ft=Math.max(vt-.5*bc(a.display),3);et=(ne>0?b.bottom:b.top)+ne*Ft}else te=="line"&&(et=ne>0?b.bottom+3:b.top-3);for(var Nt;Nt=Rs(a,Pe,et),!!Nt.outside;){if(ne<0?et<=0:et>=ue.height){Nt.hitSide=!0;break}et+=ne*5}return Nt}var vl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Te,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};vl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;yp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Pe(vt){for(var Ft=vt.target;Ft;Ft=Ft.parentNode){if(Ft==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ft.className))break}return!1}Xt(ue,"paste",function(vt){!Pe(vt)||en(te,vt)||Nf(vt,te)||Fe<=11&&setTimeout(Mu(te,function(){return b.updateFromDOM()}),20)}),Xt(ue,"compositionstart",function(vt){b.composing={data:vt.data,done:!1}}),Xt(ue,"compositionupdate",function(vt){b.composing||(b.composing={data:vt.data,done:!1})}),Xt(ue,"compositionend",function(vt){b.composing&&(vt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),Xt(ue,"touchstart",function(){return ne.forceCompositionEnd()}),Xt(ue,"input",function(){b.composing||b.readFromDOMSoon()});function et(vt){if(!(!Pe(vt)||en(te,vt))){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()}),vt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ft=vp(te);sh({lineWise:!0,text:Ft.text}),vt.type=="cut"&&te.operation(function(){te.setSelections(Ft.ranges,0,tt),te.replaceSelection("",null,"cut")})}else return;if(vt.clipboardData){vt.clipboardData.clearData();var Nt=FA.text.join(` `);if(vt.clipboardData.setData("Text",Nt),vt.clipboardData.getData("Text")==Nt){vt.preventDefault();return}}var Dn=vg(),jn=Dn.firstChild;te.display.lineSpace.insertBefore(Dn,te.display.lineSpace.firstChild),jn.value=FA.text.join(` -`);var Pr=document.activeElement;it(jn),setTimeout(function(){te.display.lineSpace.removeChild(Dn),Pr.focus(),Pr==ue&&ne.showPrimarySelection()},50)}}Xt(ue,"copy",et),Xt(ue,"cut",et)},vl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},vl.prototype.prepareSelection=function(){var a=mA(this.cm,!1);return a.focus=document.activeElement==this.div,a},vl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},vl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},vl.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ne=b.doc.sel.primary(),te=ne.from(),ue=ne.to();if(b.display.viewTo==b.display.viewFrom||te.line>=b.display.viewTo||ue.line=b.display.viewFrom&&Td(b,te)||{node:vt[0].measure.map[2],offset:0},Nt=ue.linea.firstLine()&&(te=Wt(te.line-1,or(a.doc,te.line-1).length)),ue.ch==or(a.doc,ue.line).text.length&&ue.lineb.viewTo-1)return!1;var Oe,et,vt;te.line==b.viewFrom||(Oe=gA(a,te.line))==0?(et=un(b.view[0].line),vt=b.view[0].node):(et=un(b.view[Oe].line),vt=b.view[Oe-1].node.nextSibling);var Ft=gA(a,ue.line),Nt,Dn;if(Ft==b.view.length-1?(Nt=b.viewTo-1,Dn=b.lineDiv.lastChild):(Nt=un(b.view[Ft+1].line)-1,Dn=b.view[Ft+1].node.previousSibling),!vt)return!1;for(var jn=a.doc.splitLines(kd(a,vt,Dn,et,Nt)),Pr=Mr(a.doc,Wt(et,0),Wt(Nt,or(a.doc,Nt).text.length));jn.length>1&&Pr.length>1;)if(kt(jn)==kt(Pr))jn.pop(),Pr.pop(),Nt--;else if(jn[0]==Pr[0])jn.shift(),Pr.shift(),et++;else break;for(var xr=0,vi=0,Wi=jn[0],Ao=Pr[0],Io=Math.min(Wi.length,Ao.length);xrte.ch&&Wo.charCodeAt(Wo.length-vi-1)==Lo.charCodeAt(Lo.length-vi-1);)xr--,vi++;jn[jn.length-1]=Wo.slice(0,Wo.length-vi).replace(/^\u200b+/,""),jn[0]=jn[0].slice(xr).replace(/\u200b+$/,"");var Ma=Wt(et,xr),Ba=Wt(Nt,Pr.length?kt(Pr).length-vi:0);if(jn.length>1||jn[0]||yn(Ma,Ba))return ys(a.doc,jn,Ma,Ba,"+input"),!0},vl.prototype.ensurePolled=function(){this.forceCompositionEnd()},vl.prototype.reset=function(){this.forceCompositionEnd()},vl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},vl.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},vl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Ac(this.cm,function(){return ku(a.cm)})},vl.prototype.setUneditable=function(a){a.contentEditable="false"},vl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Mu(this.cm,lh)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},vl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},vl.prototype.onContextMenu=function(){},vl.prototype.resetPosition=function(){},vl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=Pu(a,b.line);if(!ne||ne.hidden)return null;var te=or(a.doc,b.line),ue=ol(ne,te,b.line),Oe=xt(te,a.doc.direction),et="left";if(Oe){var vt=Dt(Oe,b.ch);et=vt%2?"right":"left"}var Ft=Os(ue.map,b.ch,et);return Ft.offset=Ft.collapse=="right"?Ft.end:Ft.start,Ft}function yg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Hl(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var Oe="",et=!1,vt=a.doc.lineSeparator(),Ft=!1;function Nt(xr){return function(vi){return vi.id==xr}}function Dn(){et&&(Oe+=vt,Ft&&(Oe+=vt),et=Ft=!1)}function jn(xr){xr&&(Dn(),Oe+=xr)}function Pr(xr){if(xr.nodeType==1){var vi=xr.getAttribute("cm-text");if(vi){jn(vi);return}var Wi=xr.getAttribute("cm-marker"),Ao;if(Wi){var Io=a.findMarks(Wt(te,0),Wt(ue+1,0),Nt(+Wi));Io.length&&(Ao=Io[0].find(0))&&jn(Mr(a.doc,Ao.from,Ao.to).join(vt));return}if(xr.getAttribute("contenteditable")=="false")return;var Wo=/^(pre|div|p|li|table|br)$/i.test(xr.nodeName);if(!/^br$/i.test(xr.nodeName)&&xr.textContent.length==0)return;Wo&&Dn();for(var Lo=0;Lo=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),Xt(ue,"paste",function(et){en(te,et)||Nf(et,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function Oe(et){if(!en(te,et)){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var vt=vp(te);sh({lineWise:!0,text:vt.text}),et.type=="cut"?te.setSelections(vt.ranges,null,tt):(ne.prevInput="",ue.value=vt.text.join(` -`),it(ue))}else return;et.type=="cut"&&(te.state.cutIncoming=+new Date)}}Xt(ue,"cut",Oe),Xt(ue,"copy",Oe),Xt(a.scroller,"paste",function(et){if(!(lu(a,et)||en(te,et))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var vt=new Event("paste");vt.clipboardData=et.clipboardData,ue.dispatchEvent(vt)}}),Xt(a.lineSpace,"selectstart",function(et){lu(a,et)||sn(et)}),Xt(ue,"compositionstart",function(){var et=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:et,range:te.markText(et,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Xt(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},xl.prototype.createField=function(a){this.wrapper=vg(),this.textarea=this.wrapper.firstChild},xl.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},xl.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ne=a.doc,te=mA(a);if(a.options.moveInputWithCursor){var ue=gu(a,ne.sel.primary().head,"div"),Oe=b.wrapper.getBoundingClientRect(),et=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+et.top-Oe.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+et.left-Oe.left))}return te},xl.prototype.showSelection=function(a){var b=this.cm,ne=b.display;ot(ne.cursorDiv,a.cursors),ot(ne.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},xl.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ne=b.getSelection();this.textarea.value=ne,b.state.focused&&it(this.textarea),ze&&Fe>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",ze&&Fe>=9&&(this.hasSelection=null))}},xl.prototype.getField=function(){return this.textarea},xl.prototype.supportsTouch=function(){return!1},xl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ye||De()!=this.textarea))try{this.textarea.focus()}catch(a){}},xl.prototype.blur=function(){this.textarea.blur()},xl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xl.prototype.receivedFocus=function(){this.slowPoll()},xl.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},xl.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ne(){var te=b.poll();!te&&!a?(a=!0,b.polling.set(60,ne)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ne)},xl.prototype.poll=function(){var a=this,b=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!b.state.focused||Lr(ne)&&!te&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ue=ne.value;if(ue==te&&!b.somethingSelected())return!1;if(ze&&Fe>=9&&this.hasSelection===ue||Ce&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var Oe=ue.charCodeAt(0);if(Oe==8203&&!te&&(te="\u200B"),Oe==8666)return this.reset(),this.cm.execCommand("undo")}for(var et=0,vt=Math.min(te.length,ue.length);et1e3||ue.indexOf(` -`)>-1?ne.value=a.prevInput="":a.prevInput=ue,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xl.prototype.onKeyPress=function(){ze&&Fe>=9&&(this.hasSelection=null),this.fastPoll()},xl.prototype.onContextMenu=function(a){var b=this,ne=b.cm,te=ne.display,ue=b.textarea;b.contextMenuPending&&b.contextMenuPending();var Oe=PA(ne,a),et=te.scroller.scrollTop;if(!Oe||oe)return;var vt=ne.options.resetSelectionOnContextMenu;vt&&ne.doc.sel.contains(Oe)==-1&&Mu(ne,Po)(ne.doc,mi(Oe),tt);var Ft=ue.style.cssText,Nt=b.wrapper.style.cssText,Dn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px; +`);var Pr=document.activeElement;it(jn),setTimeout(function(){te.display.lineSpace.removeChild(Dn),Pr.focus(),Pr==ue&&ne.showPrimarySelection()},50)}}Xt(ue,"copy",et),Xt(ue,"cut",et)},vl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},vl.prototype.prepareSelection=function(){var a=mA(this.cm,!1);return a.focus=document.activeElement==this.div,a},vl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},vl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},vl.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ne=b.doc.sel.primary(),te=ne.from(),ue=ne.to();if(b.display.viewTo==b.display.viewFrom||te.line>=b.display.viewTo||ue.line=b.display.viewFrom&&Td(b,te)||{node:vt[0].measure.map[2],offset:0},Nt=ue.linea.firstLine()&&(te=Wt(te.line-1,or(a.doc,te.line-1).length)),ue.ch==or(a.doc,ue.line).text.length&&ue.lineb.viewTo-1)return!1;var Pe,et,vt;te.line==b.viewFrom||(Pe=gA(a,te.line))==0?(et=un(b.view[0].line),vt=b.view[0].node):(et=un(b.view[Pe].line),vt=b.view[Pe-1].node.nextSibling);var Ft=gA(a,ue.line),Nt,Dn;if(Ft==b.view.length-1?(Nt=b.viewTo-1,Dn=b.lineDiv.lastChild):(Nt=un(b.view[Ft+1].line)-1,Dn=b.view[Ft+1].node.previousSibling),!vt)return!1;for(var jn=a.doc.splitLines(kd(a,vt,Dn,et,Nt)),Pr=Mr(a.doc,Wt(et,0),Wt(Nt,or(a.doc,Nt).text.length));jn.length>1&&Pr.length>1;)if(kt(jn)==kt(Pr))jn.pop(),Pr.pop(),Nt--;else if(jn[0]==Pr[0])jn.shift(),Pr.shift(),et++;else break;for(var xr=0,vi=0,Wi=jn[0],Ao=Pr[0],Io=Math.min(Wi.length,Ao.length);xrte.ch&&Wo.charCodeAt(Wo.length-vi-1)==Lo.charCodeAt(Lo.length-vi-1);)xr--,vi++;jn[jn.length-1]=Wo.slice(0,Wo.length-vi).replace(/^\u200b+/,""),jn[0]=jn[0].slice(xr).replace(/\u200b+$/,"");var Ma=Wt(et,xr),Ba=Wt(Nt,Pr.length?kt(Pr).length-vi:0);if(jn.length>1||jn[0]||yn(Ma,Ba))return ys(a.doc,jn,Ma,Ba,"+input"),!0},vl.prototype.ensurePolled=function(){this.forceCompositionEnd()},vl.prototype.reset=function(){this.forceCompositionEnd()},vl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},vl.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},vl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Ac(this.cm,function(){return ku(a.cm)})},vl.prototype.setUneditable=function(a){a.contentEditable="false"},vl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Mu(this.cm,lh)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},vl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},vl.prototype.onContextMenu=function(){},vl.prototype.resetPosition=function(){},vl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=Pu(a,b.line);if(!ne||ne.hidden)return null;var te=or(a.doc,b.line),ue=ol(ne,te,b.line),Pe=xt(te,a.doc.direction),et="left";if(Pe){var vt=Dt(Pe,b.ch);et=vt%2?"right":"left"}var Ft=Os(ue.map,b.ch,et);return Ft.offset=Ft.collapse=="right"?Ft.end:Ft.start,Ft}function yg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Hl(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var Pe="",et=!1,vt=a.doc.lineSeparator(),Ft=!1;function Nt(xr){return function(vi){return vi.id==xr}}function Dn(){et&&(Pe+=vt,Ft&&(Pe+=vt),et=Ft=!1)}function jn(xr){xr&&(Dn(),Pe+=xr)}function Pr(xr){if(xr.nodeType==1){var vi=xr.getAttribute("cm-text");if(vi){jn(vi);return}var Wi=xr.getAttribute("cm-marker"),Ao;if(Wi){var Io=a.findMarks(Wt(te,0),Wt(ue+1,0),Nt(+Wi));Io.length&&(Ao=Io[0].find(0))&&jn(Mr(a.doc,Ao.from,Ao.to).join(vt));return}if(xr.getAttribute("contenteditable")=="false")return;var Wo=/^(pre|div|p|li|table|br)$/i.test(xr.nodeName);if(!/^br$/i.test(xr.nodeName)&&xr.textContent.length==0)return;Wo&&Dn();for(var Lo=0;Lo=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),Xt(ue,"paste",function(et){en(te,et)||Nf(et,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function Pe(et){if(!en(te,et)){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var vt=vp(te);sh({lineWise:!0,text:vt.text}),et.type=="cut"?te.setSelections(vt.ranges,null,tt):(ne.prevInput="",ue.value=vt.text.join(` +`),it(ue))}else return;et.type=="cut"&&(te.state.cutIncoming=+new Date)}}Xt(ue,"cut",Pe),Xt(ue,"copy",Pe),Xt(a.scroller,"paste",function(et){if(!(lu(a,et)||en(te,et))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var vt=new Event("paste");vt.clipboardData=et.clipboardData,ue.dispatchEvent(vt)}}),Xt(a.lineSpace,"selectstart",function(et){lu(a,et)||sn(et)}),Xt(ue,"compositionstart",function(){var et=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:et,range:te.markText(et,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Xt(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},xl.prototype.createField=function(a){this.wrapper=vg(),this.textarea=this.wrapper.firstChild},xl.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},xl.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ne=a.doc,te=mA(a);if(a.options.moveInputWithCursor){var ue=gu(a,ne.sel.primary().head,"div"),Pe=b.wrapper.getBoundingClientRect(),et=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+et.top-Pe.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+et.left-Pe.left))}return te},xl.prototype.showSelection=function(a){var b=this.cm,ne=b.display;ot(ne.cursorDiv,a.cursors),ot(ne.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},xl.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ne=b.getSelection();this.textarea.value=ne,b.state.focused&&it(this.textarea),ze&&Fe>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",ze&&Fe>=9&&(this.hasSelection=null))}},xl.prototype.getField=function(){return this.textarea},xl.prototype.supportsTouch=function(){return!1},xl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ye||De()!=this.textarea))try{this.textarea.focus()}catch(a){}},xl.prototype.blur=function(){this.textarea.blur()},xl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xl.prototype.receivedFocus=function(){this.slowPoll()},xl.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},xl.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ne(){var te=b.poll();!te&&!a?(a=!0,b.polling.set(60,ne)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ne)},xl.prototype.poll=function(){var a=this,b=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!b.state.focused||Lr(ne)&&!te&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ue=ne.value;if(ue==te&&!b.somethingSelected())return!1;if(ze&&Fe>=9&&this.hasSelection===ue||Ce&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var Pe=ue.charCodeAt(0);if(Pe==8203&&!te&&(te="\u200B"),Pe==8666)return this.reset(),this.cm.execCommand("undo")}for(var et=0,vt=Math.min(te.length,ue.length);et1e3||ue.indexOf(` +`)>-1?ne.value=a.prevInput="":a.prevInput=ue,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xl.prototype.onKeyPress=function(){ze&&Fe>=9&&(this.hasSelection=null),this.fastPoll()},xl.prototype.onContextMenu=function(a){var b=this,ne=b.cm,te=ne.display,ue=b.textarea;b.contextMenuPending&&b.contextMenuPending();var Pe=PA(ne,a),et=te.scroller.scrollTop;if(!Pe||oe)return;var vt=ne.options.resetSelectionOnContextMenu;vt&&ne.doc.sel.contains(Pe)==-1&&Mu(ne,Po)(ne.doc,mi(Pe),tt);var Ft=ue.style.cssText,Nt=b.wrapper.style.cssText,Dn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(a.clientY-Dn.top-5)+"px; left: "+(a.clientX-Dn.left-5)+`px; z-index: 1000; background: `+(ze?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var jn;Ue&&(jn=window.scrollY),te.input.focus(),Ue&&window.scrollTo(null,jn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=xr,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Pr(){if(ue.selectionStart!=null){var Wi=ne.somethingSelected(),Ao="\u200B"+(Wi?ue.value:"");ue.value="\u21DA",ue.value=Ao,b.prevInput=Wi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=Ao.length,te.selForContextMenu=ne.doc.sel}}function xr(){if(b.contextMenuPending==xr&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Nt,ue.style.cssText=Ft,ze&&Fe<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=et),ue.selectionStart!=null)){(!ze||ze&&Fe<9)&&Pr();var Wi=0,Ao=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Mu(ne,na)(ne):Wi++<10?te.detectingSelectAll=setTimeout(Ao,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(Ao,200)}}if(ze&&Fe>=9&&Pr(),_e){Lt(a);var vi=function(){wn(window,"mouseup",vi),setTimeout(xr,20)};Xt(window,"mouseup",vi)}else setTimeout(xr,50)},xl.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},xl.prototype.setUneditable=function(){},xl.prototype.needsContentAttribute=!1;function Ah(a,b){if(b=b?Bt(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ne=De();b.autofocus=ne==a||a.getAttribute("autofocus")!=null&&ne==document.body}function te(){a.value=vt.getValue()}var ue;if(a.form&&(Xt(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var Oe=a.form;ue=Oe.submit;try{var et=Oe.submit=function(){te(),Oe.submit=ue,Oe.submit(),Oe.submit=et}}catch(Ft){}}b.finishInit=function(Ft){Ft.save=te,Ft.getTextArea=function(){return a},Ft.toTextArea=function(){Ft.toTextArea=isNaN,te(),a.parentNode.removeChild(Ft.getWrapperElement()),a.style.display="",a.form&&(wn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var vt=jl(function(Ft){return a.parentNode.insertBefore(Ft,a.nextSibling)},b);return vt}function pd(a){a.off=wn,a.on=Xt,a.wheelEventPixels=Qr,a.Doc=Al,a.splitLines=sr,a.countColumn=We,a.findColumn=hn,a.isWordChar=ee,a.Pass=jt,a.signal=an,a.Line=fo,a.changeEnd=to,a.scrollbarModel=Id,a.Pos=Wt,a.cmpPos=yn,a.modes=ir,a.mimeModes=Zn,a.resolveMode=Nr,a.getMode=pi,a.modeExtensions=di,a.extendMode=fi,a.copyState=Oi,a.startState=ro,a.innerMode=Ci,a.commands=GA,a.keyMap=Fu,a.keyName=VA,a.isModifierKey=Sf,a.lookupKey=ZA,a.normalizeKeyMap=Wu,a.StringStream=Yi,a.SharedTextMarker=cl,a.TextMarker=Qu,a.LineWidget=Ls,a.e_preventDefault=sn,a.e_stopPropagation=Nn,a.e_stop=Lt,a.addClass=Qe,a.contains=ft,a.rmClass=Xe,a.keyNames=gs}gg(jl),wp(jl);var qp="iter insert remove copy getEditor constructor".split(" ");for(var Hh in Al.prototype)Al.prototype.hasOwnProperty(Hh)&&ct(qp,Hh)<0&&(jl.prototype[Hh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[Hh]));return Qt(Al),jl.inputStyles={textarea:xl,contenteditable:vl},jl.defineMode=function(a){!jl.defaults.mode&&a!="null"&&(jl.defaults.mode=a),Cr.apply(this,arguments)},jl.defineMIME=Er,jl.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),jl.defineMIME("text/plain","null"),jl.defineExtension=function(a,b){jl.prototype[a]=b},jl.defineDocExtension=function(a,b){Al.prototype[a]=b},jl.fromTextArea=Ah,pd(jl),jl.version="5.58.2",jl})},25419:function(Yn,Ut,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(dt,Ie){var qe=x.getMode(dt,"text/html"),ze=qe.name=="null";function Fe(We){if(x.findModeByName){var Te=x.findModeByName(We);Te&&(We=Te.mime||Te.mimes[0])}var ct=x.getMode(dt,We);return ct.name=="null"?null:ct}Ie.highlightFormatting===void 0&&(Ie.highlightFormatting=!1),Ie.maxBlockquoteDepth===void 0&&(Ie.maxBlockquoteDepth=0),Ie.taskLists===void 0&&(Ie.taskLists=!1),Ie.strikethrough===void 0&&(Ie.strikethrough=!1),Ie.emoji===void 0&&(Ie.emoji=!1),Ie.fencedCodeBlockHighlighting===void 0&&(Ie.fencedCodeBlockHighlighting=!0),Ie.fencedCodeBlockDefaultMode===void 0&&(Ie.fencedCodeBlockDefaultMode="text/plain"),Ie.xml===void 0&&(Ie.xml=!0),Ie.tokenTypeOverrides===void 0&&(Ie.tokenTypeOverrides={});var Ue={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var he in Ue)Ue.hasOwnProperty(he)&&Ie.tokenTypeOverrides[he]&&(Ue[he]=Ie.tokenTypeOverrides[he]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ne=/^\[(x| )\](?=\s)/i,ve=Ie.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Re=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Se=/^[^#!\[\]*_\\<>` "'(~:]+/,Pe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ye=/^\s*\[[^\]]+?\]:.*$/,Ce=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ee=" ";function Me(We,Te,ct){return Te.f=Te.inline=ct,ct(We,Te)}function Ke(We,Te,ct){return Te.f=Te.block=ct,ct(We,Te)}function je(We){return!We||!/\S/.test(We.string)}function _e(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==Xe){var Te=ze;if(!Te){var ct=x.innerMode(qe,We.htmlState);Te=ct.mode.name=="xml"&&ct.state.tagStart===null&&!ct.state.context&&ct.state.tokenize.isInText}Te&&(We.f=Ct,We.block=Je,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function Je(We,Te){var ct=We.column()===Te.indentation,Zt=je(Te.prevLine.stream),jt=Te.indentedCode,tt=Te.prevLine.hr,Tt=Te.list!==!1,_t=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var hn=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,Tt)){for(Te.list=null;hn=4&&(jt||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Zt))return We.skipToEnd(),Te.indentedCode=!0,Ue.code;if(We.eatSpace())return null;if(ct&&Te.indentation<=_t&&(kt=We.match(ve))&&kt[1].length<=6)return Te.quote=0,Te.header=kt[1].length,Te.thisLine.header=!0,Ie.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,ot(Te);if(Te.indentation<=_t&&We.eat(">"))return Te.quote=ct?1:Te.quote+1,Ie.highlightFormatting&&(Te.formatting="quote"),We.eatSpace(),ot(Te);if(!vn&&!Te.setext&&ct&&Te.indentation<=_t&&(kt=We.match(oe))){var Sn=kt[1]?"ol":"ul";return Te.indentation=hn+We.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,Ie.taskLists&&We.match(Ne,!1)&&(Te.taskList=!0),Te.f=Te.inline,Ie.highlightFormatting&&(Te.formatting=["list","list-"+Sn]),ot(Te)}else{if(ct&&Te.indentation<=_t&&(kt=We.match(Pe,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(kt[1]+"+ *$"),Te.localMode=Ie.fencedCodeBlockHighlighting&&Fe(kt[2]||Ie.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=x.startState(Te.localMode)),Te.f=Te.block=ut,Ie.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,ot(Te);if(Te.setext||(!Pt||!Tt)&&!Te.quote&&Te.list===!1&&!Te.code&&!vn&&!ye.test(We.string)&&(kt=We.lookAhead(1))&&(kt=kt.match(Re)))return Te.setext?(Te.header=Te.setext,Te.setext=0,We.skipToEnd(),Ie.highlightFormatting&&(Te.formatting="header")):(Te.header=kt[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,ot(Te);if(vn)return We.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,Ue.hr;if(We.peek()==="[")return Me(We,Te,Ot)}return Me(We,Te,Te.inline)}function Xe(We,Te){var ct=qe.token(We,Te.htmlState);if(!ze){var Zt=x.innerMode(qe,Te.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||Te.md_inside&&We.current().indexOf(">")>-1)&&(Te.f=Ct,Te.block=Je,Te.htmlState=null)}return ct}function ut(We,Te){var ct=Te.listStack[Te.listStack.length-1]||0,Zt=Te.indentation=We.quote?Te.push(Ue.formatting+"-"+We.formatting[ct]+"-"+We.quote):Te.push("error"))}if(We.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(We.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(We.linkHref?Te.push(Ue.linkHref,"url"):(We.strong&&Te.push(Ue.strong),We.em&&Te.push(Ue.em),We.strikethrough&&Te.push(Ue.strikethrough),We.emoji&&Te.push(Ue.emoji),We.linkText&&Te.push(Ue.linkText),We.code&&Te.push(Ue.code),We.image&&Te.push(Ue.image),We.imageAltText&&Te.push(Ue.imageAltText,"link"),We.imageMarker&&Te.push(Ue.imageMarker)),We.header&&Te.push(Ue.header,Ue.header+"-"+We.header),We.quote&&(Te.push(Ue.quote),!Ie.maxBlockquoteDepth||Ie.maxBlockquoteDepth>=We.quote?Te.push(Ue.quote+"-"+We.quote):Te.push(Ue.quote+"-"+Ie.maxBlockquoteDepth)),We.list!==!1){var Zt=(We.listStack.length-1)%3;Zt?Zt===1?Te.push(Ue.list2):Te.push(Ue.list3):Te.push(Ue.list1)}return We.trailingSpaceNewLine?Te.push("trailing-space-new-line"):We.trailingSpace&&Te.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ht(We,Te){if(We.match(Se,!0))return ot(Te)}function Ct(We,Te){var ct=Te.text(We,Te);if(typeof ct!="undefined")return ct;if(Te.list)return Te.list=null,ot(Te);if(Te.taskList){var Zt=We.match(Ne,!0)[1]===" ";return Zt?Te.taskOpen=!0:Te.taskClosed=!0,Ie.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,ot(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&We.match(/^#+$/,!0))return Ie.highlightFormatting&&(Te.formatting="header"),ot(Te);var jt=We.next();if(Te.linkTitle){Te.linkTitle=!1;var tt=jt;jt==="("&&(tt=")"),tt=(tt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Tt="^\\s*(?:[^"+tt+"\\\\]+|\\\\\\\\|\\\\.)"+tt;if(We.match(new RegExp(Tt),!0))return Ue.linkHref}if(jt==="`"){var _t=Te.formatting;Ie.highlightFormatting&&(Te.formatting="code"),We.eatWhile("`");var hn=We.current().length;if(Te.code==0&&(!Te.quote||hn==1))return Te.code=hn,ot(Te);if(hn==Te.code){var Pt=ot(Te);return Te.code=0,Pt}else return Te.formatting=_t,ot(Te)}else if(Te.code)return ot(Te);if(jt==="\\"&&(We.next(),Ie.highlightFormatting)){var vn=ot(Te),kt=Ue.formatting+"-escape";return vn?vn+" "+kt:kt}if(jt==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,Ie.highlightFormatting&&(Te.formatting="image"),ot(Te);if(jt==="["&&Te.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,Ie.highlightFormatting&&(Te.formatting="image"),ot(Te);if(jt==="]"&&Te.imageAltText){Ie.highlightFormatting&&(Te.formatting="image");var vn=ot(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=ft,vn}if(jt==="["&&!Te.image)return Te.linkText&&We.match(/^.*?\]/)||(Te.linkText=!0,Ie.highlightFormatting&&(Te.formatting="link")),ot(Te);if(jt==="]"&&Te.linkText){Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return Te.linkText=!1,Te.inline=Te.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?ft:Ct,vn}if(jt==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=He,Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return vn?vn+=" ":vn="",vn+Ue.linkInline}if(jt==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=He,Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return vn?vn+=" ":vn="",vn+Ue.linkEmail}if(Ie.xml&&jt==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Sn=We.string.indexOf(">",We.pos);if(Sn!=-1){var on=We.string.substring(We.start,Sn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(on)&&(Te.md_inside=!0)}return We.backUp(1),Te.htmlState=x.startState(qe),Ke(We,Te,Xe)}if(Ie.xml&&jt==="<"&&We.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(jt==="*"||jt==="_"){for(var de=1,ge=We.pos==1?" ":We.string.charAt(We.pos-2);de<3&&We.eat(jt);)de++;var ie=We.peek()||" ",ee=!/\s/.test(ie)&&(!Ce.test(ie)||/\s/.test(ge)||Ce.test(ge)),se=!/\s/.test(ge)&&(!Ce.test(ge)||/\s/.test(ie)||Ce.test(ie)),le=null,Be=null;if(de%2&&(!Te.em&&ee&&(jt==="*"||!se||Ce.test(ge))?le=!0:Te.em==jt&&se&&(jt==="*"||!ee||Ce.test(ie))&&(le=!1)),de>1&&(!Te.strong&&ee&&(jt==="*"||!se||Ce.test(ge))?Be=!0:Te.strong==jt&&se&&(jt==="*"||!ee||Ce.test(ie))&&(Be=!1)),Be!=null||le!=null){Ie.highlightFormatting&&(Te.formatting=le==null?"strong":Be==null?"em":"strong em"),le===!0&&(Te.em=jt),Be===!0&&(Te.strong=jt);var Pt=ot(Te);return le===!1&&(Te.em=!1),Be===!1&&(Te.strong=!1),Pt}}else if(jt===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return ot(Te);We.backUp(1)}if(Ie.strikethrough){if(jt==="~"&&We.eatWhile(jt)){if(Te.strikethrough){Ie.highlightFormatting&&(Te.formatting="strikethrough");var Pt=ot(Te);return Te.strikethrough=!1,Pt}else if(We.match(/^[^\s]/,!1))return Te.strikethrough=!0,Ie.highlightFormatting&&(Te.formatting="strikethrough"),ot(Te)}else if(jt===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return ot(Te);We.backUp(2)}}if(Ie.emoji&&jt===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,Ie.highlightFormatting&&(Te.formatting="emoji");var Ve=ot(Te);return Te.emoji=!1,Ve}return jt===" "&&(We.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),ot(Te)}function He(We,Te){var ct=We.next();if(ct===">"){Te.f=Te.inline=Ct,Ie.highlightFormatting&&(Te.formatting="link");var Zt=ot(Te);return Zt?Zt+=" ":Zt="",Zt+Ue.linkInline}return We.match(/^[^>]+/,!0),Ue.linkInline}function ft(We,Te){if(We.eatSpace())return null;var ct=We.next();return ct==="("||ct==="["?(Te.f=Te.inline=Qe(ct==="("?")":"]"),Ie.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,ot(Te)):"error"}var De={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Qe(We){return function(Te,ct){var Zt=Te.next();if(Zt===We){ct.f=ct.inline=Ct,Ie.highlightFormatting&&(ct.formatting="link-string");var jt=ot(ct);return ct.linkHref=!1,jt}return Te.match(De[We]),ct.linkHref=!0,ot(ct)}}function Ot(We,Te){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=it,We.next(),Ie.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,ot(Te)):Me(We,Te,Ct)}function it(We,Te){if(We.match(/^\]:/,!0)){Te.f=Te.inline=at,Ie.highlightFormatting&&(Te.formatting="link");var ct=ot(Te);return Te.linkText=!1,ct}return We.match(/^([^\]\\]|\\.)+/,!0),Ue.linkText}function at(We,Te){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?Te.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Te.f=Te.inline=Ct,Ue.linkHref+" url")}var Bt={startState:function(){return{f:Je,prevLine:{stream:null},thisLine:{stream:null},block:Je,htmlState:null,indentation:0,inline:Ct,text:ht,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&x.copyState(qe,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?x.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,Te){if(Te.formatting=!1,We!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,We.match(/^\s*$/,!0))return _e(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:We},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Xe)){var ct=We.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(Te.indentation=ct,Te.indentationDiff=null,ct>0)return null}}return Te.f(We,Te)},innerMode:function(We){return We.block==Xe?{state:We.htmlState,mode:qe}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:Bt}},indent:function(We,Te,ct){return We.block==Xe&&qe.indent?qe.indent(We.htmlState,Te,ct):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,Te,ct):x.Pass},blankLine:_e,getType:ot,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bt},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Yn,Ut,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var dt=0;dt-1&&qe.substring(Ue+1,qe.length);if(he)return x.findModeByExtension(he)},x.findModeByName=function(qe){qe=qe.toLowerCase();for(var ze=0;ze0?Se.cmdState[Se.cmdState.length-1]:null}function Fe(Se){var Pe=Se.cmdState.pop();Pe&&Pe.closeBracket()}function Ue(Se){for(var Pe=Se.cmdState,ye=Pe.length-1;ye>=0;ye--){var Ce=Pe[ye];if(Ce.name!="DEFAULT")return Ce}return{styleIdentifier:function(){return null}}}function he(Se,Pe,ye){return function(){this.name=Se,this.bracketNo=0,this.style=Pe,this.styles=ye,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var xe={};xe.importmodule=he("importmodule","tag",["string","builtin"]),xe.documentclass=he("documentclass","tag",["","atom"]),xe.usepackage=he("usepackage","tag",["atom"]),xe.begin=he("begin","tag",["atom"]),xe.end=he("end","tag",["atom"]),xe.label=he("label","tag",["atom"]),xe.ref=he("ref","tag",["atom"]),xe.eqref=he("eqref","tag",["atom"]),xe.cite=he("cite","tag",["atom"]),xe.bibitem=he("bibitem","tag",["atom"]),xe.Bibitem=he("Bibitem","tag",["atom"]),xe.RBibitem=he("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Se,Pe){Se.f=Pe}function Ne(Se,Pe){var ye;if(Se.match(/^\\[a-zA-Z@]+/)){var Ce=Se.current().slice(1);return ye=xe.hasOwnProperty(Ce)?xe[Ce]:xe.DEFAULT,ye=new ye,qe(Pe,ye),oe(Pe,Re),ye.style}if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/\\]/))return"tag";if(Se.match("\\["))return oe(Pe,function(Me,Ke){return ve(Me,Ke,"\\]")}),"keyword";if(Se.match("\\("))return oe(Pe,function(Me,Ke){return ve(Me,Ke,"\\)")}),"keyword";if(Se.match("$$"))return oe(Pe,function(Me,Ke){return ve(Me,Ke,"$$")}),"keyword";if(Se.match("$"))return oe(Pe,function(Me,Ke){return ve(Me,Ke,"$")}),"keyword";var Ee=Se.next();if(Ee=="%")return Se.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(ye=ze(Pe),ye)ye.closeBracket(Ee),oe(Pe,Re);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(ye=xe.DEFAULT,ye=new ye,qe(Pe,ye),"bracket"):/\d/.test(Ee)?(Se.eatWhile(/[\w.%]/),"atom"):(Se.eatWhile(/[\w\-_]/),ye=Ue(Pe),ye.name=="begin"&&(ye.argument=Se.current()),ye.styleIdentifier())}function ve(Se,Pe,ye){if(Se.eatSpace())return null;if(ye&&Se.match(ye))return oe(Pe,Ne),"keyword";if(Se.match(/^\\[a-zA-Z@]+/))return"tag";if(Se.match(/^[a-zA-Z]+/))return"variable-2";if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/]/)||Se.match(/^[\^_&]/))return"tag";if(Se.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Se.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ce=Se.next();return Ce=="{"||Ce=="}"||Ce=="["||Ce=="]"||Ce=="("||Ce==")"?"bracket":Ce=="%"?(Se.skipToEnd(),"comment"):"error"}function Re(Se,Pe){var ye=Se.peek(),Ce;return ye=="{"||ye=="["?(Ce=ze(Pe),Ce.openBracket(ye),Se.eat(ye),oe(Pe,Ne),"bracket"):/[ \t\r]/.test(ye)?(Se.eat(ye),null):(oe(Pe,Ne),Fe(Pe),Ne(Se,Pe))}return{startState:function(){var Se=Ie.inMathMode?function(Pe,ye){return ve(Pe,ye)}:Ne;return{cmdState:[],f:Se}},copyState:function(Se){return{cmdState:Se.cmdState.slice(),f:Se.f}},token:function(Se,Pe){return Pe.f(Se,Pe)},blankLine:function(Se){Se.f=Ne,Se.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Yn,Ut,ae){(function(x){x(ae(89780))})(function(x){"use strict";var dt={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Ie={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(qe,ze){var Fe=qe.indentUnit,Ue={},he=ze.htmlMode?dt:Ie;for(var xe in he)Ue[xe]=he[xe];for(var xe in ze)Ue[xe]=ze[xe];var oe,Ne;function ve(He,ft){function De(it){return ft.tokenize=it,it(He,ft)}var Qe=He.next();if(Qe=="<")return He.eat("!")?He.eat("[")?He.match("CDATA[")?De(Pe("atom","]]>")):null:He.match("--")?De(Pe("comment","-->")):He.match("DOCTYPE",!0,!0)?(He.eatWhile(/[\w\._\-]/),De(ye(1))):null:He.eat("?")?(He.eatWhile(/[\w\._\-]/),ft.tokenize=Pe("meta","?>"),"meta"):(oe=He.eat("/")?"closeTag":"openTag",ft.tokenize=Re,"tag bracket");if(Qe=="&"){var Ot;return He.eat("#")?He.eat("x")?Ot=He.eatWhile(/[a-fA-F\d]/)&&He.eat(";"):Ot=He.eatWhile(/[\d]/)&&He.eat(";"):Ot=He.eatWhile(/[\w\.\-:]/)&&He.eat(";"),Ot?"atom":"error"}else return He.eatWhile(/[^&<]/),null}ve.isInText=!0;function Re(He,ft){var De=He.next();if(De==">"||De=="/"&&He.eat(">"))return ft.tokenize=ve,oe=De==">"?"endTag":"selfcloseTag","tag bracket";if(De=="=")return oe="equals",null;if(De=="<"){ft.tokenize=ve,ft.state=Ke,ft.tagName=ft.tagStart=null;var Qe=ft.tokenize(He,ft);return Qe?Qe+" tag error":"tag error"}else return/[\'\"]/.test(De)?(ft.tokenize=Se(De),ft.stringStartCol=He.column(),ft.tokenize(He,ft)):(He.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Se(He){var ft=function(De,Qe){for(;!De.eol();)if(De.next()==He){Qe.tokenize=Re;break}return"string"};return ft.isInAttribute=!0,ft}function Pe(He,ft){return function(De,Qe){for(;!De.eol();){if(De.match(ft)){Qe.tokenize=ve;break}De.next()}return He}}function ye(He){return function(ft,De){for(var Qe;(Qe=ft.next())!=null;){if(Qe=="<")return De.tokenize=ye(He+1),De.tokenize(ft,De);if(Qe==">")if(He==1){De.tokenize=ve;break}else return De.tokenize=ye(He-1),De.tokenize(ft,De)}return"meta"}}function Ce(He,ft,De){this.prev=He.context,this.tagName=ft,this.indent=He.indented,this.startOfLine=De,(Ue.doNotIndent.hasOwnProperty(ft)||He.context&&He.context.noIndent)&&(this.noIndent=!0)}function Ee(He){He.context&&(He.context=He.context.prev)}function Me(He,ft){for(var De;;){if(!He.context||(De=He.context.tagName,!Ue.contextGrabbers.hasOwnProperty(De)||!Ue.contextGrabbers[De].hasOwnProperty(ft)))return;Ee(He)}}function Ke(He,ft,De){return He=="openTag"?(De.tagStart=ft.column(),je):He=="closeTag"?_e:Ke}function je(He,ft,De){return He=="word"?(De.tagName=ft.current(),Ne="tag",ut):Ue.allowMissingTagName&&He=="endTag"?(Ne="tag bracket",ut(He,ft,De)):(Ne="error",je)}function _e(He,ft,De){if(He=="word"){var Qe=ft.current();return De.context&&De.context.tagName!=Qe&&Ue.implicitlyClosed.hasOwnProperty(De.context.tagName)&&Ee(De),De.context&&De.context.tagName==Qe||Ue.matchClosing===!1?(Ne="tag",Je):(Ne="tag error",Xe)}else return Ue.allowMissingTagName&&He=="endTag"?(Ne="tag bracket",Je(He,ft,De)):(Ne="error",Xe)}function Je(He,ft,De){return He!="endTag"?(Ne="error",Je):(Ee(De),Ke)}function Xe(He,ft,De){return Ne="error",Je(He,ft,De)}function ut(He,ft,De){if(He=="word")return Ne="attribute",ot;if(He=="endTag"||He=="selfcloseTag"){var Qe=De.tagName,Ot=De.tagStart;return De.tagName=De.tagStart=null,He=="selfcloseTag"||Ue.autoSelfClosers.hasOwnProperty(Qe)?Me(De,Qe):(Me(De,Qe),De.context=new Ce(De,Qe,Ot==De.indented)),Ke}return Ne="error",ut}function ot(He,ft,De){return He=="equals"?ht:(Ue.allowMissing||(Ne="error"),ut(He,ft,De))}function ht(He,ft,De){return He=="string"?Ct:He=="word"&&Ue.allowUnquoted?(Ne="string",ut):(Ne="error",ut(He,ft,De))}function Ct(He,ft,De){return He=="string"?Ct:ut(He,ft,De)}return{startState:function(He){var ft={tokenize:ve,state:Ke,indented:He||0,tagName:null,tagStart:null,context:null};return He!=null&&(ft.baseIndent=He),ft},token:function(He,ft){if(!ft.tagName&&He.sol()&&(ft.indented=He.indentation()),He.eatSpace())return null;oe=null;var De=ft.tokenize(He,ft);return(De||oe)&&De!="comment"&&(Ne=null,ft.state=ft.state(oe||De,He,ft),Ne&&(De=Ne=="error"?De+" error":Ne)),De},indent:function(He,ft,De){var Qe=He.context;if(He.tokenize.isInAttribute)return He.tagStart==He.indented?He.stringStartCol+1:He.indented+Fe;if(Qe&&Qe.noIndent)return x.Pass;if(He.tokenize!=Re&&He.tokenize!=ve)return De?De.match(/^(\s*)/)[0].length:0;if(He.tagName)return Ue.multilineTagIndentPastTag!==!1?He.tagStart+He.tagName.length+2:He.tagStart+Fe*(Ue.multilineTagIndentFactor||1);if(Ue.alignCDATA&&/$/,blockCommentStart:"",configuration:Ue.htmlMode?"html":"xml",helperType:Ue.htmlMode?"html":"xml",skipAttribute:function(He){He.state==ht&&(He.state=ut)},xmlCurrentTag:function(He){return He.tagName?{name:He.tagName,close:He.type=="closeTag"}:null},xmlCurrentContext:function(He){for(var ft=[],De=He.context;De;De=De.prev)De.tagName&&ft.push(De.tagName);return ft.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Yn,Ut,ae){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var x=Object.assign||function(ye){for(var Ce=1;Ce0&&(ut=je[0]),ut instanceof Error)throw ut;var ot=new Error("Unhandled error."+(ut?" ("+ut.message+")":""));throw ot.context=ut,ot}var ht=Xe[Ke];if(ht===void 0)return!1;if(typeof ht=="function")ae(ht,this,je);else for(var Ct=ht.length,He=Re(ht,Ct),_e=0;_e0&&ut.length>Je&&!ut.warned){ut.warned=!0;var ot=new Error("Possible EventEmitter memory leak detected. "+ut.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");ot.name="MaxListenersExceededWarning",ot.emitter=Me,ot.type=Ke,ot.count=ut.length,dt(ot)}return Me}qe.prototype.addListener=function(Ke,je){return he(this,Ke,je,!1)},qe.prototype.on=qe.prototype.addListener,qe.prototype.prependListener=function(Ke,je){return he(this,Ke,je,!0)};function xe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(Me,Ke,je){var _e={fired:!1,wrapFn:void 0,target:Me,type:Ke,listener:je},Je=xe.bind(_e);return Je.listener=je,_e.wrapFn=Je,Je}qe.prototype.once=function(Ke,je){return Fe(je),this.on(Ke,oe(this,Ke,je)),this},qe.prototype.prependOnceListener=function(Ke,je){return Fe(je),this.prependListener(Ke,oe(this,Ke,je)),this},qe.prototype.removeListener=function(Ke,je){var _e,Je,Xe,ut,ot;if(Fe(je),Je=this._events,Je===void 0)return this;if(_e=Je[Ke],_e===void 0)return this;if(_e===je||_e.listener===je)--this._eventsCount===0?this._events=Object.create(null):(delete Je[Ke],Je.removeListener&&this.emit("removeListener",Ke,_e.listener||je));else if(typeof _e!="function"){for(Xe=-1,ut=_e.length-1;ut>=0;ut--)if(_e[ut]===je||_e[ut].listener===je){ot=_e[ut].listener,Xe=ut;break}if(Xe<0)return this;Xe===0?_e.shift():Se(_e,Xe),_e.length===1&&(Je[Ke]=_e[0]),Je.removeListener!==void 0&&this.emit("removeListener",Ke,ot||je)}return this},qe.prototype.off=qe.prototype.removeListener,qe.prototype.removeAllListeners=function(Ke){var je,_e,Je;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Ke]),this;if(arguments.length===0){var Xe=Object.keys(_e),ut;for(Je=0;Je=0;Je--)this.removeListener(Ke,je[Je]);return this};function Ne(Me,Ke,je){var _e=Me._events;if(_e===void 0)return[];var Je=_e[Ke];return Je===void 0?[]:typeof Je=="function"?je?[Je.listener||Je]:[Je]:je?Pe(Je):Re(Je,Je.length)}qe.prototype.listeners=function(Ke){return Ne(this,Ke,!0)},qe.prototype.rawListeners=function(Ke){return Ne(this,Ke,!1)},qe.listenerCount=function(Me,Ke){return typeof Me.listenerCount=="function"?Me.listenerCount(Ke):ve.call(Me,Ke)},qe.prototype.listenerCount=ve;function ve(Me){var Ke=this._events;if(Ke!==void 0){var je=Ke[Me];if(typeof je=="function")return 1;if(je!==void 0)return je.length}return 0}qe.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Re(Me,Ke){for(var je=new Array(Ke),_e=0;_e0&&It[It.length-1])&&(wr[0]===6||wr[0]===2)){be=0;continue}if(wr[0]===3&&(!It||wr[1]>It[0]&&wr[1]=55296&&nt<=56319&&be>10)+55296,$t%1024+56320)),(nt+1===be||we.length>16384)&&(It+=String.fromCharCode.apply(String,we),we.length=0)}return It},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ve=0;ve>4,Or[nt++]=($t&15)<<4|En>>2,Or[nt++]=(En&3)<<6|Bn&63;return wr},Ce=function(me){for(var Ae=me.length,be=[],we=0;we>Me,Xe=1<>Me,ht=Je+ot,Ct=ht,He=32,ft=Ct+He,De=65536>>Ke,Qe=1<<_e,Ot=Qe-1,it=function(me,Ae,be){return me.slice?me.slice(Ae,be):new Uint16Array(Array.prototype.slice.call(me,Ae,be))},at=function(me,Ae,be){return me.slice?me.slice(Ae,be):new Uint32Array(Array.prototype.slice.call(me,Ae,be))},Bt=function(me,Ae){var be=ye(me),we=Array.isArray(be)?Ee(be):new Uint32Array(be),nt=Array.isArray(be)?Ce(be):new Uint16Array(be),It=24,$t=it(nt,It/2,we[4]/2),En=we[5]===2?it(nt,(It+we[4])/2):at(we,Math.ceil((It+we[4])/4));return new We(we[0],we[1],we[2],we[3],$t,En)},We=function(){function me(Ae,be,we,nt,It,$t){this.initialValue=Ae,this.errorValue=be,this.highStart=we,this.highValueIndex=nt,this.index=It,this.data=$t}return me.prototype.get=function(Ae){var be;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return be=this.index[Ae>>Me],be=(be<>Me)],be=(be<>Ke),be=this.index[be],be+=Ae>>Me&Ot,be=this.index[be],be=(be<tt?(nt.push(!0),En-=tt):nt.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(It)!==-1)return we.push($t),be.push(Be);if(En===Pt||En===ge){if($t===0)return we.push($t),be.push(en);var Bn=be[$t-1];return Er.indexOf(Bn)===-1?(we.push(we[$t-1]),be.push(Bn)):(we.push($t),be.push(en))}if(we.push($t),En===zn)return be.push(Ae==="strict"?St:Lt);if(En===Sr||En===an)return be.push(en);if(En===ii)return It>=131072&&It<=196605||It>=196608&&It<=262141?be.push(Lt):be.push(en);be.push(En)}),[we,be,nt]},fi=function(me,Ae,be,we){var nt=we[be];if(Array.isArray(me)?me.indexOf(nt)!==-1:me===nt)for(var It=be;It<=we.length;){It++;var $t=we[It];if($t===Ae)return!0;if($t!==de)break}if(nt===de)for(var It=be;It>0;){It--;var En=we[It];if(Array.isArray(me)?me.indexOf(En)!==-1:me===En)for(var Bn=be;Bn<=we.length;){Bn++;var $t=we[Bn];if($t===Ae)return!0;if($t!==de)break}if(En!==de)break}return!1},Oi=function(me,Ae){for(var be=me;be>=0;){var we=Ae[be];if(we===de)be--;else return we}return 0},Ci=function(me,Ae,be,we,nt){if(be[we]===0)return Lr;var It=we-1;if(Array.isArray(nt)&&nt[It]===!0)return Lr;var $t=It-1,En=It+1,Bn=Ae[It],wr=$t>=0?Ae[$t]:0,Or=Ae[En];if(Bn===_t&&Or===hn)return Lr;if(ir.indexOf(Bn)!==-1)return sr;if(ir.indexOf(Or)!==-1||Zn.indexOf(Or)!==-1)return Lr;if(Oi(It,Ae)===Sn)return _n;if(Hn.get(me[It])===ge||(Bn===In||Bn===Qt)&&Hn.get(me[En])===ge||Bn===kt||Or===kt||Bn===on||[de,ee,le].indexOf(Bn)===-1&&Or===on||[Ve,st,gt,xt,wn].indexOf(Or)!==-1||Oi(It,Ae)===Dt||fi(Ht,Dt,It,Ae)||fi([Ve,st],St,It,Ae)||fi(ie,ie,It,Ae))return Lr;if(Bn===de)return _n;if(Bn===Ht||Or===Ht)return Lr;if(Or===Be||Bn===Be)return _n;if([ee,le,St].indexOf(Or)!==-1||Bn===se||wr===Vn&&pi.indexOf(Bn)!==-1||Bn===wn&&Or===Vn||Or===mt||Jn.indexOf(Or)!==-1&&Bn===lt||Jn.indexOf(Bn)!==-1&&Or===lt||Bn===Vt&&[Lt,In,Qt].indexOf(Or)!==-1||[Lt,In,Qt].indexOf(Bn)!==-1&&Or===Xt||Jn.indexOf(Bn)!==-1&&Cr.indexOf(Or)!==-1||Cr.indexOf(Bn)!==-1&&Jn.indexOf(Or)!==-1||[Vt,Xt].indexOf(Bn)!==-1&&(Or===lt||[Dt,le].indexOf(Or)!==-1&&Ae[En+1]===lt)||[Dt,le].indexOf(Bn)!==-1&&Or===lt||Bn===lt&&[lt,wn,xt].indexOf(Or)!==-1)return Lr;if([lt,wn,xt,Ve,st].indexOf(Or)!==-1)for(var Hr=It;Hr>=0;){var Ni=Ae[Hr];if(Ni===lt)return Lr;if([wn,xt].indexOf(Ni)!==-1)Hr--;else break}if([Vt,Xt].indexOf(Or)!==-1)for(var Hr=[Ve,st].indexOf(Bn)!==-1?$t:It;Hr>=0;){var Ni=Ae[Hr];if(Ni===lt)return Lr;if([wn,xt].indexOf(Ni)!==-1)Hr--;else break}if(Gt===Bn&&[Gt,nn,sn,Nn].indexOf(Or)!==-1||[nn,sn].indexOf(Bn)!==-1&&[nn,Cn].indexOf(Or)!==-1||[Cn,Nn].indexOf(Bn)!==-1&&Or===Cn||Nr.indexOf(Bn)!==-1&&[mt,Xt].indexOf(Or)!==-1||Nr.indexOf(Or)!==-1&&Bn===Vt||Jn.indexOf(Bn)!==-1&&Jn.indexOf(Or)!==-1||Bn===xt&&Jn.indexOf(Or)!==-1||Jn.concat(lt).indexOf(Bn)!==-1&&Or===Dt&&si.indexOf(me[En])===-1||Jn.concat(lt).indexOf(Or)!==-1&&Bn===st)return Lr;if(Bn===Gn&&Or===Gn){for(var fa=be[It],go=1;fa>0&&(fa--,Ae[fa]===Gn);)go++;if(go%2!==0)return Lr}return Bn===In&&Or===Qt?Lr:_n},ro=function(me,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var be=di(me,Ae.lineBreak),we=be[0],nt=be[1],It=be[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(nt=nt.map(function(En){return[lt,en,Sr].indexOf(En)!==-1?Lt:En}));var $t=Ae.wordBreak==="keep-all"?It.map(function(En,Bn){return En&&me[Bn]>=19968&&me[Bn]<=40959}):void 0;return[we,nt,$t]},Yi=function(){function me(Ae,be,we,nt){this.codePoints=Ae,this.required=be===sr,this.start=we,this.end=nt}return me.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),or=function(me,Ae){var be=he(me),we=ro(be,Ae),nt=we[0],It=we[1],$t=we[2],En=be.length,Bn=0,wr=0;return{next:function(){if(wr>=En)return{done:!0,value:null};for(var Or=Lr;wr=No&&me<=57},ti=function(me){return me>=55296&&me<=57343},Di=function(me){return Ur(me)||me>=Jr&&me<=Kr||me>=Yo&&me<=Fo},Ui=function(me){return me>=Yo&&me<=Rr},Uo=function(me){return me>=Jr&&me<=oo},xa=function(me){return Ui(me)||Uo(me)},Wr=function(me){return me>=wi},fo=function(me){return me===bt||me===Wt||me===yn},Oo=function(me){return xa(me)||Wr(me)||me===Ti},ta=function(me){return Oo(me)||Ur(me)||me===xi},_o=function(me){return me>=lo&&me<=Ki||me===Do||me>=eo&&me<=qo||me===wo},Jo=function(me,Ae){return me!==fn?!1:Ae!==bt},$o=function(me,Ae,be){return me===xi?Oo(Ae)||Jo(Ae,be):Oo(me)?!0:!!(me===fn&&Jo(me,Ae))},Sa=function(me,Ae,be){return me===Qi||me===xi?Ur(Ae)?!0:Ae===Fi&&Ur(be):Ur(me===Fi?Ae:me)},Ja=function(me){var Ae=0,be=1;(me[Ae]===Qi||me[Ae]===xi)&&(me[Ae]===xi&&(be=-1),Ae++);for(var we=[];Ur(me[Ae]);)we.push(me[Ae++]);var nt=we.length?parseInt(xe.apply(void 0,we),10):0;me[Ae]===Fi&&Ae++;for(var It=[];Ur(me[Ae]);)It.push(me[Ae++]);var $t=It.length,En=$t?parseInt(xe.apply(void 0,It),10):0;(me[Ae]===Ai||me[Ae]===Qo)&&Ae++;var Bn=1;(me[Ae]===Qi||me[Ae]===xi)&&(me[Ae]===xi&&(Bn=-1),Ae++);for(var wr=[];Ur(me[Ae]);)wr.push(me[Ae++]);var Or=wr.length?parseInt(xe.apply(void 0,wr),10):0;return be*(nt+En*Math.pow(10,-$t))*Math.pow(10,Bn*Or)},hs={type:2},ba={type:3},Ua={type:4},Bo={type:13},bo={type:8},Ra={type:21},ns={type:9},js={type:10},tl={type:11},nl={type:12},au={type:14},su={type:23},Fs={type:1},Rl={type:25},Nu={type:24},xu={type:26},pl={type:27},Bu={type:28},Dc={type:29},pa={type:31},ka={type:32},ha=function(){function me(){this._value=[]}return me.prototype.write=function(Ae){this._value=this._value.concat(he(Ae))},me.prototype.read=function(){for(var Ae=[],be=this.consumeToken();be!==ka;)Ae.push(be),be=this.consumeToken();return Ae},me.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case On:return this.consumeStringToken(On);case $r:var be=this.peekCodePoint(0),we=this.peekCodePoint(1),nt=this.peekCodePoint(2);if(ta(be)||Jo(we,nt)){var It=$o(be,we,nt)?gi:Mr,$t=this.consumeName();return{type:5,value:$t,flags:It}}break;case Xr:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),Bo;break;case lr:return this.consumeStringToken(lr);case $n:return hs;case ei:return ba;case Ji:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),au;break;case Qi:if(Sa(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Zi:return Ua;case xi:var En=Ae,Bn=this.peekCodePoint(0),wr=this.peekCodePoint(1);if(Sa(En,Bn,wr))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if($o(En,Bn,wr))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(Bn===xi&&wr===gn)return this.consumeCodePoint(),this.consumeCodePoint(),Nu;break;case Fi:if(Sa(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Rt:if(this.peekCodePoint(0)===Ji)for(this.consumeCodePoint();;){var Or=this.consumeCodePoint();if(Or===Ji&&(Or=this.consumeCodePoint(),Or===Rt))return this.consumeToken();if(Or===no)return this.consumeToken()}break;case ki:return xu;case Mi:return pl;case fr:if(this.peekCodePoint(0)===nr&&this.peekCodePoint(1)===xi&&this.peekCodePoint(2)===xi)return this.consumeCodePoint(),this.consumeCodePoint(),Rl;break;case cn:var Hr=this.peekCodePoint(0),Ni=this.peekCodePoint(1),fa=this.peekCodePoint(2);if($o(Hr,Ni,fa)){var $t=this.consumeName();return{type:7,value:$t}}break;case qn:return Bu;case fn:if(Jo(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case hr:return Dc;case ur:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),bo;break;case br:return tl;case Yr:return nl;case pn:case _i:var go=this.peekCodePoint(0),Vo=this.peekCodePoint(1);return go===Qi&&(Di(Vo)||Vo===ci)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case yi:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),ns;if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),Ra;break;case Pi:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),js;break;case no:return ka}return fo(Ae)?(this.consumeWhiteSpace(),pa):Ur(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):Oo(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:xe(Ae)}},me.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},me.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},me.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},me.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],be=this.consumeCodePoint();Di(be)&&Ae.length<6;)Ae.push(be),be=this.consumeCodePoint();for(var we=!1;be===ci&&Ae.length<6;)Ae.push(be),be=this.consumeCodePoint(),we=!0;if(we){var nt=parseInt(xe.apply(void 0,Ae.map(function(Bn){return Bn===ci?No:Bn})),16),It=parseInt(xe.apply(void 0,Ae.map(function(Bn){return Bn===ci?Kr:Bn})),16);return{type:30,start:nt,end:It}}var $t=parseInt(xe.apply(void 0,Ae),16);if(this.peekCodePoint(0)===xi&&Di(this.peekCodePoint(1))){this.consumeCodePoint(),be=this.consumeCodePoint();for(var En=[];Di(be)&&En.length<6;)En.push(be),be=this.consumeCodePoint();var It=parseInt(xe.apply(void 0,En),16);return{type:30,start:$t,end:It}}else return{type:30,start:$t,end:$t}},me.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===$n?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===$n?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},me.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===no)return{type:22,value:""};var be=this.peekCodePoint(0);if(be===lr||be===On){var we=this.consumeStringToken(this.consumeCodePoint());return we.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===no||this.peekCodePoint(0)===ei)?(this.consumeCodePoint(),{type:22,value:we.value}):(this.consumeBadUrlRemnants(),su)}for(;;){var nt=this.consumeCodePoint();if(nt===no||nt===ei)return{type:22,value:xe.apply(void 0,Ae)};if(fo(nt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===no||this.peekCodePoint(0)===ei?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),su);if(nt===On||nt===lr||nt===$n||_o(nt))return this.consumeBadUrlRemnants(),su;if(nt===fn)if(Jo(nt,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),su;else Ae.push(nt)}},me.prototype.consumeWhiteSpace=function(){for(;fo(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===ei||Ae===no)return;Jo(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(Ae){for(var be=5e4,we="";Ae>0;){var nt=Math.min(be,Ae);we+=xe.apply(void 0,this._value.splice(0,nt)),Ae-=nt}return this._value.shift(),we},me.prototype.consumeStringToken=function(Ae){var be="",we=0;do{var nt=this._value[we];if(nt===no||nt===void 0||nt===Ae)return be+=this.consumeStringSlice(we),{type:0,value:be};if(nt===bt)return this._value.splice(0,we),Fs;if(nt===fn){var It=this._value[we+1];It!==no&&It!==void 0&&(It===bt?(be+=this.consumeStringSlice(we),we=-1,this._value.shift()):Jo(nt,It)&&(be+=this.consumeStringSlice(we),be+=xe(this.consumeEscapedCodePoint()),we=-1))}we++}while(!0)},me.prototype.consumeNumber=function(){var Ae=[],be=oi,we=this.peekCodePoint(0);for((we===Qi||we===xi)&&Ae.push(this.consumeCodePoint());Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());we=this.peekCodePoint(0);var nt=this.peekCodePoint(1);if(we===Fi&&Ur(nt))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),be=un;Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());we=this.peekCodePoint(0),nt=this.peekCodePoint(1);var It=this.peekCodePoint(2);if((we===Ai||we===Qo)&&((nt===Qi||nt===xi)&&Ur(It)||Ur(nt)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),be=un;Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Ja(Ae),be]},me.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),be=Ae[0],we=Ae[1],nt=this.peekCodePoint(0),It=this.peekCodePoint(1),$t=this.peekCodePoint(2);if($o(nt,It,$t)){var En=this.consumeName();return{type:15,number:be,flags:we,unit:En}}return nt===dr?(this.consumeCodePoint(),{type:16,number:be,flags:we}):{type:17,number:be,flags:we}},me.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(Di(Ae)){for(var be=xe(Ae);Di(this.peekCodePoint(0))&&be.length<6;)be+=xe(this.consumeCodePoint());fo(this.peekCodePoint(0))&&this.consumeCodePoint();var we=parseInt(be,16);return we===0||ti(we)||we>1114111?Gr:we}return Ae===no?Gr:Ae},me.prototype.consumeName=function(){for(var Ae="";;){var be=this.consumeCodePoint();if(ta(be))Ae+=xe(be);else if(Jo(be,this.peekCodePoint(0)))Ae+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(be),Ae}},me}(),ma=function(){function me(Ae){this._tokens=Ae}return me.create=function(Ae){var be=new ha;return be.write(Ae),new me(be.read())},me.parseValue=function(Ae){return me.create(Ae).parseComponentValue()},me.parseValues=function(Ae){return me.create(Ae).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var be=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return be;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var Ae=[];;){var be=this.consumeComponentValue();if(be.type===32)return Ae;Ae.push(be),Ae.push()}},me.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},me.prototype.consumeSimpleBlock=function(Ae){for(var be={type:Ae,values:[]},we=this.consumeToken();;){if(we.type===32||zi(we,Ae))return be;this.reconsumeToken(we),be.values.push(this.consumeComponentValue()),we=this.consumeToken()}},me.prototype.consumeFunction=function(Ae){for(var be={name:Ae.value,values:[],type:18};;){var we=this.consumeToken();if(we.type===32||we.type===3)return be;this.reconsumeToken(we),be.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?ka:Ae},me.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},me}(),qa=function(me){return me.type===15},Ya=function(me){return me.type===17},Va=function(me){return me.type===20},Zl=function(me){return me.type===0},lu=function(me,Ae){return Va(me)&&me.value===Ae},Sl=function(me){return me.type!==31},Ou=function(me){return me.type!==31&&me.type!==4},fu=function(me){var Ae=[],be=[];return me.forEach(function(we){if(we.type===4){if(be.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(be),be=[];return}we.type!==31&&be.push(we)}),be.length&&Ae.push(be),Ae},zi=function(me,Ae){return Ae===11&&me.type===12||Ae===28&&me.type===29?!0:Ae===2&&me.type===3},zo=function(me){return me.type===17||me.type===15},ga=function(me){return me.type===16||zo(me)},hu=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},ol={type:17,number:0,flags:oi},qu={type:16,number:50,flags:oi},Hu={type:16,number:100,flags:oi},Pu=function(me,Ae,be){var we=me[0],nt=me[1];return[vs(we,Ae),vs(typeof nt!="undefined"?nt:we,be)]},vs=function(me,Ae){if(me.type===16)return me.number/100*Ae;if(qa(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},sc="deg",rA="grad",Os="rad",Pl="turn",Tu={name:"angle",parse:function(me,Ae){if(Ae.type===15)switch(Ae.unit){case sc:return Math.PI*Ae.number/180;case rA:return Math.PI/200*Ae.number;case Os:return Ae.number;case Pl:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},uu=function(me){return me.type===15&&(me.unit===sc||me.unit===rA||me.unit===Os||me.unit===Pl)},pu=function(me){var Ae=me.filter(Va).map(function(be){return be.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ol,ol];case"to top":case"bottom":return Tl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ol,Hu];case"to right":case"left":return Tl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Hu,Hu];case"to bottom":case"top":return Tl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Hu,ol];case"to left":case"right":return Tl(270)}return 0},Tl=function(me){return Math.PI*me/180},Eu={name:"color",parse:function(me,Ae){if(Ae.type===18){var be=La[Ae.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return be(me,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var we=Ae.value.substring(0,1),nt=Ae.value.substring(1,2),It=Ae.value.substring(2,3);return Hs(parseInt(we+we,16),parseInt(nt+nt,16),parseInt(It+It,16),1)}if(Ae.value.length===4){var we=Ae.value.substring(0,1),nt=Ae.value.substring(1,2),It=Ae.value.substring(2,3),$t=Ae.value.substring(3,4);return Hs(parseInt(we+we,16),parseInt(nt+nt,16),parseInt(It+It,16),parseInt($t+$t,16)/255)}if(Ae.value.length===6){var we=Ae.value.substring(0,2),nt=Ae.value.substring(2,4),It=Ae.value.substring(4,6);return Hs(parseInt(we,16),parseInt(nt,16),parseInt(It,16),1)}if(Ae.value.length===8){var we=Ae.value.substring(0,2),nt=Ae.value.substring(2,4),It=Ae.value.substring(4,6),$t=Ae.value.substring(6,8);return Hs(parseInt(we,16),parseInt(nt,16),parseInt(It,16),parseInt($t,16)/255)}}if(Ae.type===20){var En=Rs[Ae.value.toUpperCase()];if(typeof En!="undefined")return En}return Rs.TRANSPARENT}},Fl=function(me){return(255&me)===0},Il=function(me){var Ae=255&me,be=255&me>>8,we=255&me>>16,nt=255&me>>24;return Ae<255?"rgba("+nt+","+we+","+be+","+Ae/255+")":"rgb("+nt+","+we+","+be+")"},Hs=function(me,Ae,be,we){return(me<<24|Ae<<16|be<<8|Math.round(we*255)<<0)>>>0},zu=function(me,Ae){if(me.type===17)return me.number;if(me.type===16){var be=Ae===3?1:255;return Ae===3?me.number/100*be:Math.round(me.number/100*be)}return 0},td=function(me,Ae){var be=Ae.filter(Ou);if(be.length===3){var we=be.map(zu),nt=we[0],It=we[1],$t=we[2];return Hs(nt,It,$t,1)}if(be.length===4){var En=be.map(zu),nt=En[0],It=En[1],$t=En[2],Bn=En[3];return Hs(nt,It,$t,Bn)}return 0};function Wl(me,Ae,be){return be<0&&(be+=1),be>=1&&(be-=1),be<1/6?(Ae-me)*be*6+me:be<1/2?Ae:be<2/3?(Ae-me)*6*(2/3-be)+me:me}var gu=function(me,Ae){var be=Ae.filter(Ou),we=be[0],nt=be[1],It=be[2],$t=be[3],En=(we.type===17?Tl(we.number):Tu.parse(me,we))/(Math.PI*2),Bn=ga(nt)?nt.number/100:0,wr=ga(It)?It.number/100:0,Or=typeof $t!="undefined"&&ga($t)?vs($t,1):1;if(Bn===0)return Hs(wr*255,wr*255,wr*255,1);var Hr=wr<=.5?wr*(Bn+1):wr+Bn-wr*Bn,Ni=wr*2-Hr,fa=Wl(Ni,Hr,En+1/3),go=Wl(Ni,Hr,En),Vo=Wl(Ni,Hr,En-1/3);return Hs(fa*255,go*255,Vo*255,Or)},La={hsl:gu,hsla:gu,rgb:td,rgba:td},Da=function(me,Ae){return Eu.parse(me,ma.create(Ae).parseComponentValue())},Rs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},lc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(be){if(Va(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Vl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cu=function(me,Ae){var be=Eu.parse(me,Ae[0]),we=Ae[1];return we&&ga(we)?{color:be,stop:we}:{color:be,stop:null}},Vc=function(me,Ae){var be=me[0],we=me[me.length-1];be.stop===null&&(be.stop=ol),we.stop===null&&(we.stop=Hu);for(var nt=[],It=0,$t=0;$tIt?nt.push(Bn):nt.push(It),It=Bn}else nt.push(null)}for(var wr=null,$t=0;$t$t.optimumDistance)?{optimumCorner:En,optimumDistance:Or}:$t},{optimumDistance:nt?1/0:-1/0,optimumCorner:null}).optimumCorner},iA=function(me,Ae,be,we,nt){var It=0,$t=0;switch(me.size){case 0:me.shape===0?It=$t=Math.min(Math.abs(Ae),Math.abs(Ae-we),Math.abs(be),Math.abs(be-nt)):me.shape===1&&(It=Math.min(Math.abs(Ae),Math.abs(Ae-we)),$t=Math.min(Math.abs(be),Math.abs(be-nt)));break;case 2:if(me.shape===0)It=$t=Math.min(Gl(Ae,be),Gl(Ae,be-nt),Gl(Ae-we,be),Gl(Ae-we,be-nt));else if(me.shape===1){var En=Math.min(Math.abs(be),Math.abs(be-nt))/Math.min(Math.abs(Ae),Math.abs(Ae-we)),Bn=bc(we,nt,Ae,be,!0),wr=Bn[0],Or=Bn[1];It=Gl(wr-Ae,(Or-be)/En),$t=En*It}break;case 1:me.shape===0?It=$t=Math.max(Math.abs(Ae),Math.abs(Ae-we),Math.abs(be),Math.abs(be-nt)):me.shape===1&&(It=Math.max(Math.abs(Ae),Math.abs(Ae-we)),$t=Math.max(Math.abs(be),Math.abs(be-nt)));break;case 3:if(me.shape===0)It=$t=Math.max(Gl(Ae,be),Gl(Ae,be-nt),Gl(Ae-we,be),Gl(Ae-we,be-nt));else if(me.shape===1){var En=Math.max(Math.abs(be),Math.abs(be-nt))/Math.max(Math.abs(Ae),Math.abs(Ae-we)),Hr=bc(we,nt,Ae,be,!1),wr=Hr[0],Or=Hr[1];It=Gl(wr-Ae,(Or-be)/En),$t=En*It}break}return Array.isArray(me.size)&&(It=vs(me.size[0],we),$t=me.size.length===2?vs(me.size[1],nt):It),[It,$t]},oA=function(me,Ae){var be=Tl(180),we=[];return fu(Ae).forEach(function(nt,It){if(It===0){var $t=nt[0];if($t.type===20&&$t.value==="to"){be=pu(nt);return}else if(uu($t)){be=Tu.parse(me,$t);return}}var En=cu(me,nt);we.push(En)}),{angle:be,stops:we,type:1}},Ed=function(me,Ae){var be=Tl(180),we=[];return fu(Ae).forEach(function(nt,It){if(It===0){var $t=nt[0];if($t.type===20&&["top","left","right","bottom"].indexOf($t.value)!==-1){be=pu(nt);return}else if(uu($t)){be=(Tu.parse(me,$t)+Tl(270))%Tl(360);return}}var En=cu(me,nt);we.push(En)}),{angle:be,stops:we,type:1}},Jf=function(me,Ae){var be=Tl(180),we=[],nt=1,It=0,$t=3,En=[];return fu(Ae).forEach(function(Bn,wr){var Or=Bn[0];if(wr===0){if(Va(Or)&&Or.value==="linear"){nt=1;return}else if(Va(Or)&&Or.value==="radial"){nt=2;return}}if(Or.type===18){if(Or.name==="from"){var Hr=Eu.parse(me,Or.values[0]);we.push({stop:ol,color:Hr})}else if(Or.name==="to"){var Hr=Eu.parse(me,Or.values[0]);we.push({stop:Hu,color:Hr})}else if(Or.name==="color-stop"){var Ni=Or.values.filter(Ou);if(Ni.length===2){var Hr=Eu.parse(me,Ni[1]),fa=Ni[0];Ya(fa)&&we.push({stop:{type:16,number:fa.number*100,flags:fa.flags},color:Hr})}}}}),nt===1?{angle:(be+Tl(180))%Tl(360),stops:we,type:nt}:{size:$t,shape:It,stops:we,position:En,type:nt}},nd="closest-side",PA="farthest-side",gA="closest-corner",ku="farthest-corner",TA="circle",aA="ellipse",Sd="cover",qf="contain",Ps=function(me,Ae){var be=0,we=3,nt=[],It=[];return fu(Ae).forEach(function($t,En){var Bn=!0;if(En===0){var wr=!1;Bn=$t.reduce(function(Hr,Ni){if(wr)if(Va(Ni))switch(Ni.value){case"center":return It.push(qu),Hr;case"top":case"left":return It.push(ol),Hr;case"right":case"bottom":return It.push(Hu),Hr}else(ga(Ni)||zo(Ni))&&It.push(Ni);else if(Va(Ni))switch(Ni.value){case TA:return be=0,!1;case aA:return be=1,!1;case"at":return wr=!0,!1;case nd:return we=0,!1;case Sd:case PA:return we=1,!1;case qf:case gA:return we=2,!1;case ku:return we=3,!1}else if(zo(Ni)||ga(Ni))return Array.isArray(we)||(we=[]),we.push(Ni),!1;return Hr},Bn)}if(Bn){var Or=cu(me,$t);nt.push(Or)}}),{size:we,shape:be,stops:nt,position:It,type:2}},ec=function(me,Ae){var be=0,we=3,nt=[],It=[];return fu(Ae).forEach(function($t,En){var Bn=!0;if(En===0?Bn=$t.reduce(function(Or,Hr){if(Va(Hr))switch(Hr.value){case"center":return It.push(qu),!1;case"top":case"left":return It.push(ol),!1;case"right":case"bottom":return It.push(Hu),!1}else if(ga(Hr)||zo(Hr))return It.push(Hr),!1;return Or},Bn):En===1&&(Bn=$t.reduce(function(Or,Hr){if(Va(Hr))switch(Hr.value){case TA:return be=0,!1;case aA:return be=1,!1;case qf:case nd:return we=0,!1;case PA:return we=1,!1;case gA:return we=2,!1;case Sd:case ku:return we=3,!1}else if(zo(Hr)||ga(Hr))return Array.isArray(we)||(we=[]),we.push(Hr),!1;return Or},Bn)),Bn){var wr=cu(me,$t);nt.push(wr)}}),{size:we,shape:be,stops:nt,position:It,type:2}},mA=function(me){return me.type===1},Th=function(me){return me.type===2},Gc={name:"image",parse:function(me,Ae){if(Ae.type===22){var be={url:Ae.value,type:0};return me.cache.addImage(Ae.value),be}if(Ae.type===18){var we=Fd[Ae.name];if(typeof we=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return we(me,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function kh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Fd[me.name])}var Fd={"linear-gradient":oA,"-moz-linear-gradient":Ed,"-ms-linear-gradient":Ed,"-o-linear-gradient":Ed,"-webkit-linear-gradient":Ed,"radial-gradient":Ps,"-moz-radial-gradient":ec,"-ms-radial-gradient":ec,"-o-radial-gradient":ec,"-webkit-radial-gradient":ec,"-webkit-gradient":Jf},eh={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){if(Ae.length===0)return[];var be=Ae[0];return be.type===20&&be.value==="none"?[]:Ae.filter(function(we){return Ou(we)&&kh(we)}).map(function(we){return Gc.parse(me,we)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(be){if(Va(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(ga)}).map(hu)}},Xc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(Va).map(function(we){return we.value}).join(" ")}).map(ya)}},ya=function(me){switch(me){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ql;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(Ql||(Ql={}));var Mc={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(rd)})}},rd=function(me){return Va(me)||ga(me)},kA=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kp=kA("top"),MA=kA("right"),th=kA("bottom"),Uc=kA("left"),id=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,be){return hu(be.filter(ga))}}},Zp=id("top-left"),vA=id("top-right"),Nc=id("bottom-right"),uc=id("bottom-left"),zs=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,be){switch(be){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},yA=zs("top"),od=zs("right"),ad=zs("bottom"),wA=zs("left"),UA=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,be){return qa(be)?be.number:0}}},xf=UA("top"),Id=UA("right"),Mh=UA("bottom"),Wp=UA("left"),cc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},up={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter(Va).reduce(function(be,we){return be|Vp(we.value)},0)}},Vp=function(me){switch(me){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Xd={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},cp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Gp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},Ac={name:"line-height",initialValue:"normal",prefix:!1,type:4},Mu=function(me,Ae){return Va(me)&&me.value==="normal"?1.2*Ae:me.type===17?Ae*me.number:ga(me)?vs(me,Ae):Ae},dc={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,Ae){return Ae.type===20&&Ae.value==="none"?null:Gc.parse(me,Ae)}},Uu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},sd={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},$d=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=$d("top"),Ap=$d("right"),dp=$d("bottom"),fp=$d("left"),nh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter(Va).map(function(be){switch(be.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},CA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ld=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hp=Ld("top"),wt=Ld("right"),yt=Ld("bottom"),Yt=Ld("left"),An={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Fn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.length===1&&lu(Ae[0],"none")?[]:fu(Ae).map(function(be){for(var we={color:Rs.TRANSPARENT,offsetX:ol,offsetY:ol,blur:ol},nt=0,It=0;It1?1:0],this.overflowWrap=co(Ae,CA,be.overflowWrap),this.paddingTop=co(Ae,hp,be.paddingTop),this.paddingRight=co(Ae,wt,be.paddingRight),this.paddingBottom=co(Ae,yt,be.paddingBottom),this.paddingLeft=co(Ae,Yt,be.paddingLeft),this.paintOrder=co(Ae,Co,be.paintOrder),this.position=co(Ae,Fn,be.position),this.textAlign=co(Ae,An,be.textAlign),this.textDecorationColor=co(Ae,po,(we=be.textDecorationColor)!==null&&we!==void 0?we:be.color),this.textDecorationLine=co(Ae,Eo,(nt=be.textDecorationLine)!==null&&nt!==void 0?nt:be.textDecoration),this.textShadow=co(Ae,Mn,be.textShadow),this.textTransform=co(Ae,rr,be.textTransform),this.transform=co(Ae,er,be.transform),this.transformOrigin=co(Ae,Dr,be.transformOrigin),this.visibility=co(Ae,Fr,be.visibility),this.webkitTextStrokeColor=co(Ae,es,be.webkitTextStrokeColor),this.webkitTextStrokeWidth=co(Ae,Za,be.webkitTextStrokeWidth),this.wordBreak=co(Ae,mi,be.wordBreak),this.zIndex=co(Ae,to,be.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return Fl(this.backgroundColor)},me.prototype.isTransformed=function(){return this.transform!==null},me.prototype.isPositioned=function(){return this.position!==0},me.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},me.prototype.isFloating=function(){return this.float!==0},me.prototype.isInlineLevel=function(){return Zo(this.display,4)||Zo(this.display,33554432)||Zo(this.display,268435456)||Zo(this.display,536870912)||Zo(this.display,67108864)||Zo(this.display,134217728)},me}(),bl=function(){function me(Ae,be){this.content=co(Ae,Ho,be.content),this.quotes=co(Ae,Mo,be.quotes)}return me}(),al=function(){function me(Ae,be){this.counterIncrement=co(Ae,Ko,be.counterIncrement),this.counterReset=co(Ae,vo,be.counterReset)}return me}(),co=function(me,Ae,be){var we=new ha,nt=be!==null&&typeof be!="undefined"?be.toString():Ae.initialValue;we.write(nt);var It=new ma(we.read());switch(Ae.type){case 2:var $t=It.parseComponentValue();return Ae.parse(me,Va($t)?$t.value:Ae.initialValue);case 0:return Ae.parse(me,It.parseComponentValue());case 1:return Ae.parse(me,It.parseComponentValues());case 4:return It.parseComponentValue();case 3:switch(Ae.format){case"angle":return Tu.parse(me,It.parseComponentValue());case"color":return Eu.parse(me,It.parseComponentValue());case"image":return Gc.parse(me,It.parseComponentValue());case"length":var En=It.parseComponentValue();return zo(En)?En:ol;case"length-percentage":var Bn=It.parseComponentValue();return ga(Bn)?Bn:ol;case"time":return uo.parse(me,It.parseComponentValue())}break}},Xl="data-html2canvas-debug",us=function(me){var Ae=me.getAttribute(Xl);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},as=function(me,Ae){var be=us(me);return be===1||Ae===be},rl=function(){function me(Ae,be){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,as(be,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(be,null)),Qh(be)&&(this.styles.animationDuration.some(function(we){return we>0})&&(be.style.animationDuration="0s"),this.styles.transform!==null&&(be.style.transform="none")),this.bounds=Fe(this.context,be),as(be,4)&&(this.flags|=16)}return me}(),Au="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",oa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ca=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Xo=0;Xo>4,Or[nt++]=($t&15)<<4|En>>2,Or[nt++]=(En&3)<<6|Bn&63;return wr},ps=function(me){for(var Ae=me.length,be=[],we=0;we>Gs,na=1<>Gs,Xs=la+Js,vu=Xs,Ml=32,fc=vu+Ml,Cl=65536>>Ks,ys=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return be=this.index[Ae>>Gs],be=(be<>Gs)],be=(be<>Ks),be=this.index[be],be+=Ae>>Gs&ll,be=this.index[be],be=(be<=55296&&nt<=56319&&be>10)+55296,$t%1024+56320)),(nt+1===be||we.length>16384)&&(It+=String.fromCharCode.apply(String,we),we.length=0)}return It},qd=Ul(Au),Ds="\xD7",ld="\xF7",Ef=function(me){return qd.get(me)},Wa=function(me,Ae,be){var we=be-2,nt=Ae[we],It=Ae[be-1],$t=Ae[be];if(It===Ru&&$t===Qu)return Ds;if(It===Ru||It===Qu||It===Yc||$t===Ru||$t===Qu||$t===Yc)return ld;if(It===Ku&&[Ku,tc,nc,Al].indexOf($t)!==-1||(It===nc||It===tc)&&($t===tc||$t===Zu)||(It===Al||It===Zu)&&$t===Zu||$t===Cc||$t===cl||$t===Dd||It===Yl)return Ds;if(It===Cc&&$t===xA){for(;nt===cl;)nt=Ae[--we];if(nt===xA)return Ds}if(It===Rc&&$t===Rc){for(var En=0;nt===Rc;)En++,nt=Ae[--we];if(En%2===0)return Ds}return ld},gs=function(me){var Ae=$c(me),be=Ae.length,we=0,nt=0,It=Ae.map(Ef);return{next:function(){if(we>=be)return{done:!0,value:null};for(var $t=Ds;we$t.x||Or.y>$t.y;return $t=Or,wr===0?!0:Hr});return me.body.removeChild(Ae),En},Fu=function(){return typeof new Image().crossOrigin!="undefined"},rc=function(){return typeof new XMLHttpRequest().responseType=="string"},Wu=function(me){var Ae=new Image,be=me.createElement("canvas"),we=be.getContext("2d");if(!we)return!1;Ae.src="data:image/svg+xml,";try{we.drawImage(Ae,0,0),be.toDataURL()}catch(nt){return!1}return!0},ZA=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var Ae=me.createElement("canvas"),be=100;Ae.width=be,Ae.height=be;var we=Ae.getContext("2d");if(!we)return Promise.reject(!1);we.fillStyle="rgb(0, 255, 0)",we.fillRect(0,0,be,be);var nt=new Image,It=Ae.toDataURL();nt.src=It;var $t=WA(be,be,0,0,nt);return we.fillStyle="red",we.fillRect(0,0,be,be),VA($t).then(function(En){we.drawImage(En,0,0);var Bn=we.getImageData(0,0,be,be).data;we.fillStyle="red",we.fillRect(0,0,be,be);var wr=me.createElement("div");return wr.style.backgroundImage="url("+It+")",wr.style.height=be+"px",ZA(Bn)?VA(WA(be,be,0,0,wr)):Promise.reject(!1)}).then(function(En){return we.drawImage(En,0,0),ZA(we.getImageData(0,0,be,be).data)}).catch(function(){return!1})},WA=function(me,Ae,be,we,nt){var It="http://www.w3.org/2000/svg",$t=document.createElementNS(It,"svg"),En=document.createElementNS(It,"foreignObject");return $t.setAttributeNS(null,"width",me.toString()),$t.setAttributeNS(null,"height",Ae.toString()),En.setAttributeNS(null,"width","100%"),En.setAttributeNS(null,"height","100%"),En.setAttributeNS(null,"x",be.toString()),En.setAttributeNS(null,"y",we.toString()),En.setAttributeNS(null,"externalResourcesRequired","true"),$t.appendChild(En),En.appendChild(nt),$t},VA=function(me){return new Promise(function(Ae,be){var we=new Image;we.onload=function(){return Ae(we)},we.onerror=be,we.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},yu={get SUPPORT_RANGE_BOUNDS(){var me=ru(document);return Object.defineProperty(yu,"SUPPORT_RANGE_BOUNDS",{value:me}),me},get SUPPORT_WORD_BREAKING(){var me=yu.SUPPORT_RANGE_BOUNDS&&Su(document);return Object.defineProperty(yu,"SUPPORT_WORD_BREAKING",{value:me}),me},get SUPPORT_SVG_DRAWING(){var me=Wu(document);return Object.defineProperty(yu,"SUPPORT_SVG_DRAWING",{value:me}),me},get SUPPORT_FOREIGNOBJECT_DRAWING(){var me=typeof Array.from=="function"&&typeof window.fetch=="function"?Sf(document):Promise.resolve(!1);return Object.defineProperty(yu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:me}),me},get SUPPORT_CORS_IMAGES(){var me=Fu();return Object.defineProperty(yu,"SUPPORT_CORS_IMAGES",{value:me}),me},get SUPPORT_RESPONSE_TYPE(){var me=rc();return Object.defineProperty(yu,"SUPPORT_RESPONSE_TYPE",{value:me}),me},get SUPPORT_CORS_XHR(){var me="withCredentials"in new XMLHttpRequest;return Object.defineProperty(yu,"SUPPORT_CORS_XHR",{value:me}),me},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var me=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(yu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:me}),me}},Qc=function(){function me(Ae,be){this.text=Ae,this.bounds=be}return me}(),ef=function(me,Ae,be,we){var nt=rh(Ae,be),It=[],$t=0;return nt.forEach(function(En){if(be.textDecorationLine.length||En.trim().length>0)if(yu.SUPPORT_RANGE_BOUNDS){var Bn=tf(we,$t,En.length).getClientRects();if(Bn.length>1){var wr=If(En),Or=0;wr.forEach(function(Ni){It.push(new Qc(Ni,ze.fromDOMRectList(me,tf(we,Or+$t,Ni.length).getClientRects()))),Or+=Ni.length})}else It.push(new Qc(En,ze.fromDOMRectList(me,Bn)))}else{var Hr=we.splitText(En.length);It.push(new Qc(En,Ff(me,we))),we=Hr}else yu.SUPPORT_RANGE_BOUNDS||(we=we.splitText(En.length));$t+=En.length}),It},Ff=function(me,Ae){var be=Ae.ownerDocument;if(be){var we=be.createElement("html2canvaswrapper");we.appendChild(Ae.cloneNode(!0));var nt=Ae.parentNode;if(nt){nt.replaceChild(we,Ae);var It=Fe(me,we);return we.firstChild&&nt.replaceChild(we.firstChild,we),It}}return ze.EMPTY},tf=function(me,Ae,be){var we=me.ownerDocument;if(!we)throw new Error("Node has no owner document");var nt=we.createRange();return nt.setStart(me,Ae),nt.setEnd(me,Ae+be),nt},If=function(me){if(yu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(me)).map(function(be){return be.segment})}return _l(me)},GA=function(me,Ae){if(yu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(be.segment(me)).map(function(we){return we.segment})}return ih(me,Ae)},rh=function(me,Ae){return Ae.letterSpacing!==0?If(me):GA(me,Ae)},pp=[32,160,4961,65792,65793,4153,4241],ih=function(me,Ae){for(var be=or(me,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),we=[],nt,It=function(){if(nt.value){var $t=nt.value.slice(),En=he($t),Bn="";En.forEach(function(wr){pp.indexOf(wr)===-1?Bn+=xe(wr):(Bn.length&&we.push(Bn),we.push(xe(wr)),Bn="")}),Bn.length&&we.push(Bn)}};!(nt=be.next()).done;)It();return we},nf=function(){function me(Ae,be,we){this.text=gp(be.data,we.textTransform),this.textBounds=ef(Ae,this.text,we,be)}return me}(),gp=function(me,Ae){switch(Ae){case 1:return me.toLowerCase();case 3:return me.replace(mp,rf);case 2:return me.toUpperCase();default:return me}},mp=/(^|\s|:|-|\(|\))([a-z])/g,rf=function(me,Ae,be){return me.length>0?Ae+be.toUpperCase():me},Lf=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.src=we.currentSrc||we.src,nt.intrinsicWidth=we.naturalWidth,nt.intrinsicHeight=we.naturalHeight,nt.context.cache.addImage(nt.src),nt}return Ae}(rl),Nd=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.canvas=we,nt.intrinsicWidth=we.width,nt.intrinsicHeight=we.height,nt}return Ae}(rl),Df=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this,It=new XMLSerializer,$t=Fe(be,we);return we.setAttribute("width",$t.width+"px"),we.setAttribute("height",$t.height+"px"),nt.svg="data:image/svg+xml,"+encodeURIComponent(It.serializeToString(we)),nt.intrinsicWidth=we.width.baseVal.value,nt.intrinsicHeight=we.height.baseVal.value,nt.context.cache.addImage(nt.svg),nt}return Ae}(rl),Od=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.value=we.value,nt}return Ae}(rl),of=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.start=we.start,nt.reversed=typeof we.reversed=="boolean"&&we.reversed===!0,nt}return Ae}(rl),BA=[{type:15,flags:0,unit:"px",number:3}],oh=[{type:16,flags:0,number:50}],ah=function(me){return me.width>me.height?new ze(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width0)be.textNodes.push(new nf(me,nt,be.styles));else if(YA(nt))if(vp(nt)&&nt.assignedNodes)nt.assignedNodes().forEach(function(En){return Vu(me,En,be,we)});else{var $t=Gu(me,nt);$t.styles.isVisible()&&(XA(nt,$t,we)?$t.flags|=4:RA($t.styles)&&($t.flags|=2),wu.indexOf(nt.tagName)!==-1&&($t.flags|=8),be.elements.push($t),nt.slot,nt.shadowRoot?Vu(me,nt.shadowRoot,$t,we):!Nf(nt)&&!Yp(nt)&&!uh(nt)&&Vu(me,nt,$t,we))}},Gu=function(me,Ae){return af(Ae)?new Lf(me,Ae):$p(Ae)?new Nd(me,Ae):Yp(Ae)?new Df(me,Ae):Xp(Ae)?new Od(me,Ae):_h(Ae)?new of(me,Ae):gg(Ae)?new cd(me,Ae):uh(Ae)?new Rh(me,Ae):Nf(Ae)?new ms(me,Ae):FA(Ae)?new Ns(me,Ae):new rl(me,Ae)},Ad=function(me,Ae){var be=Gu(me,Ae);return be.flags|=4,Vu(me,Ae,be,be),be},XA=function(me,Ae,be){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||jl(me)&&be.styles.isTransparent()},RA=function(me){return me.isPositioned()||me.isFloating()},dd=function(me){return me.nodeType===Node.TEXT_NODE},YA=function(me){return me.nodeType===Node.ELEMENT_NODE},Qh=function(me){return YA(me)&&typeof me.style!="undefined"&&!fd(me)},fd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},_h=function(me){return me.tagName==="OL"},gg=function(me){return me.tagName==="INPUT"},mg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},jl=function(me){return me.tagName==="BODY"},$p=function(me){return me.tagName==="CANVAS"},jh=function(me){return me.tagName==="VIDEO"},af=function(me){return me.tagName==="IMG"},FA=function(me){return me.tagName==="IFRAME"},sh=function(me){return me.tagName==="STYLE"},lh=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},uh=function(me){return me.tagName==="SELECT"},vp=function(me){return me.tagName==="SLOT"},yp=function(me){return me.tagName.indexOf("-")>0},vg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(Ae){var be=this.counters[Ae];return be&&be.length?be[be.length-1]:1},me.prototype.getCounterValues=function(Ae){var be=this.counters[Ae];return be||[]},me.prototype.pop=function(Ae){var be=this;Ae.forEach(function(we){return be.counters[we].pop()})},me.prototype.parse=function(Ae){var be=this,we=Ae.counterIncrement,nt=Ae.counterReset,It=!0;we!==null&&we.forEach(function(En){var Bn=be.counters[En.counter];Bn&&En.increment!==0&&(It=!1,Bn.length||Bn.push(1),Bn[Math.max(0,Bn.length-1)]+=En.increment)});var $t=[];return It&&nt.forEach(function(En){var Bn=be.counters[En.counter];$t.push(En.counter),Bn||(Bn=be.counters[En.counter]=[]),Bn.push(En.reset)}),$t},me}(),wp={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ch={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Jp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},vl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Td=function(me,Ae,be,we,nt,It){return mebe?ne(me,nt,It.length>0):we.integers.reduce(function($t,En,Bn){for(;me>=En;)me-=En,$t+=we.values[Bn];return $t},"")+It},yg=function(me,Ae,be,we){var nt="";do be||me--,nt=we(me)+nt,me/=Ae;while(me*Ae>=Ae);return nt},Hl=function(me,Ae,be,we,nt){var It=be-Ae+1;return(me<0?"-":"")+(yg(Math.abs(me),It,we,function($t){return xe(Math.floor($t%It)+Ae)})+nt)},kd=function(me,Ae,be){be===void 0&&(be=". ");var we=Ae.length;return yg(Math.abs(me),we,!1,function(nt){return Ae[Math.floor(nt%we)]})+be},$A=1,hd=2,xl=4,Ah=8,pd=function(me,Ae,be,we,nt,It){if(me<-9999||me>9999)return ne(me,4,nt.length>0);var $t=Math.abs(me),En=nt;if($t===0)return Ae[0]+En;for(var Bn=0;$t>0&&Bn<=4;Bn++){var wr=$t%10;wr===0&&Zo(It,$A)&&En!==""?En=Ae[wr]+En:wr>1||wr===1&&Bn===0||wr===1&&Bn===1&&Zo(It,hd)||wr===1&&Bn===1&&Zo(It,xl)&&me>100||wr===1&&Bn>1&&Zo(It,Ah)?En=Ae[wr]+(Bn>0?be[Bn-1]:"")+En:wr===1&&Bn>0&&(En=be[Bn-1]+En),$t=Math.floor($t/10)}return(me<0?we:"")+En},qp="\u5341\u767E\u5343\u842C",Hh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,Ae,be){var we=be?". ":"",nt=be?"\u3001":"",It=be?", ":"",$t=be?" ":"";switch(Ae){case 0:return"\u2022"+$t;case 1:return"\u25E6"+$t;case 2:return"\u25FE"+$t;case 5:var En=Hl(me,48,57,!0,we);return En.length<4?"0"+En:En;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",nt);case 6:return Td(me,1,3999,wp,3,we).toLowerCase();case 7:return Td(me,1,3999,wp,3,we);case 8:return Hl(me,945,969,!1,we);case 9:return Hl(me,97,122,!1,we);case 10:return Hl(me,65,90,!1,we);case 11:return Hl(me,1632,1641,!0,we);case 12:case 49:return Td(me,1,9999,ch,3,we);case 35:return Td(me,1,9999,ch,3,we).toLowerCase();case 13:return Hl(me,2534,2543,!0,we);case 14:case 30:return Hl(me,6112,6121,!0,we);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",nt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",nt);case 17:case 48:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8CA0",nt,hd|xl|Ah);case 47:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Hh,"\u8CA0",nt,$A|hd|xl|Ah);case 42:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8D1F",nt,hd|xl|Ah);case 41:return pd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Hh,"\u8D1F",nt,$A|hd|xl|Ah);case 26:return pd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,nt,0);case 25:return pd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,nt,$A|hd|xl);case 31:return pd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,It,$A|hd|xl);case 33:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,It,0);case 32:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,It,$A|hd|xl);case 18:return Hl(me,2406,2415,!0,we);case 20:return Td(me,1,19999,vl,3,we);case 21:return Hl(me,2790,2799,!0,we);case 22:return Hl(me,2662,2671,!0,we);case 22:return Td(me,1,10999,Jp,3,we);case 23:return kd(me,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return kd(me,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Hl(me,3302,3311,!0,we);case 28:return kd(me,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",nt);case 29:return kd(me,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",nt);case 34:return Hl(me,3792,3801,!0,we);case 37:return Hl(me,6160,6169,!0,we);case 38:return Hl(me,4160,4169,!0,we);case 39:return Hl(me,2918,2927,!0,we);case 40:return Hl(me,1776,1785,!0,we);case 43:return Hl(me,3046,3055,!0,we);case 44:return Hl(me,3174,3183,!0,we);case 45:return Hl(me,3664,3673,!0,we);case 46:return Hl(me,3872,3881,!0,we);case 3:default:return Hl(me,48,57,!0,we)}},te="data-html2canvas-ignore",ue=function(){function me(Ae,be,we){if(this.context=Ae,this.options=we,this.scrolledElements=[],this.referenceElement=be,this.counters=new vg,this.quoteDepth=0,!be.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(be.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(Ae,be){var we=this,nt=et(Ae,be);if(!nt.contentWindow)return Promise.reject("Unable to find iframe window");var It=Ae.defaultView.pageXOffset,$t=Ae.defaultView.pageYOffset,En=nt.contentWindow,Bn=En.document,wr=Nt(nt).then(function(){return dt(we,void 0,void 0,function(){var Or,Hr;return Ie(this,function(Ni){switch(Ni.label){case 0:return this.scrolledElements.forEach(vi),En&&(En.scrollTo(be.left,be.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(En.scrollY!==be.top||En.scrollX!==be.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(En.scrollX-be.left,En.scrollY-be.top,0,0))),Or=this.options.onclone,Hr=this.clonedReferenceElement,typeof Hr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Bn.fonts&&Bn.fonts.ready?[4,Bn.fonts.ready]:[3,2];case 1:Ni.sent(),Ni.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ft(Bn)]:[3,4];case 3:Ni.sent(),Ni.label=4;case 4:return typeof Or=="function"?[2,Promise.resolve().then(function(){return Or(Bn,Hr)}).then(function(){return nt})]:[2,nt]}})})});return Bn.open(),Bn.write(Pr(document.doctype)+""),xr(this.referenceElement.ownerDocument,It,$t),Bn.replaceChild(Bn.adoptNode(this.documentElement),Bn.documentElement),Bn.close(),wr},me.prototype.createElementClone=function(Ae){if(as(Ae,2))debugger;if($p(Ae))return this.createCanvasClone(Ae);if(jh(Ae))return this.createVideoClone(Ae);if(sh(Ae))return this.createStyleClone(Ae);var be=Ae.cloneNode(!1);return af(be)&&(af(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(be.src=Ae.currentSrc,be.srcset=""),be.loading==="lazy"&&(be.loading="eager")),yp(be)?this.createCustomElementClone(be):be},me.prototype.createCustomElementClone=function(Ae){var be=document.createElement("html2canvascustomelement");return jn(Ae.style,be),be},me.prototype.createStyleClone=function(Ae){try{var be=Ae.sheet;if(be&&be.cssRules){var we=[].slice.call(be.cssRules,0).reduce(function(It,$t){return $t&&typeof $t.cssText=="string"?It+$t.cssText:It},""),nt=Ae.cloneNode(!1);return nt.textContent=we,nt}}catch(It){if(this.context.logger.error("Unable to access cssRules property",It),It.name!=="SecurityError")throw It}return Ae.cloneNode(!1)},me.prototype.createCanvasClone=function(Ae){var be;if(this.options.inlineImages&&Ae.ownerDocument){var we=Ae.ownerDocument.createElement("img");try{return we.src=Ae.toDataURL(),we}catch(wr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var nt=Ae.cloneNode(!1);try{nt.width=Ae.width,nt.height=Ae.height;var It=Ae.getContext("2d"),$t=nt.getContext("2d");if($t)if(!this.options.allowTaint&&It)$t.putImageData(It.getImageData(0,0,Ae.width,Ae.height),0,0);else{var En=(be=Ae.getContext("webgl2"))!==null&&be!==void 0?be:Ae.getContext("webgl");if(En){var Bn=En.getContextAttributes();(Bn==null?void 0:Bn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}$t.drawImage(Ae,0,0)}return nt}catch(wr){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return nt},me.prototype.createVideoClone=function(Ae){var be=Ae.ownerDocument.createElement("canvas");be.width=Ae.offsetWidth,be.height=Ae.offsetHeight;var we=be.getContext("2d");try{return we&&(we.drawImage(Ae,0,0,be.width,be.height),this.options.allowTaint||we.getImageData(0,0,be.width,be.height)),be}catch(It){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var nt=Ae.ownerDocument.createElement("canvas");return nt.width=Ae.offsetWidth,nt.height=Ae.offsetHeight,nt},me.prototype.appendChildNode=function(Ae,be,we){(!YA(be)||!lh(be)&&!be.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(be)))&&(!this.options.copyStyles||!YA(be)||!sh(be))&&Ae.appendChild(this.cloneNode(be,we))},me.prototype.cloneChildNodes=function(Ae,be,we){for(var nt=this,It=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;It;It=It.nextSibling)if(YA(It)&&vp(It)&&typeof It.assignedNodes=="function"){var $t=It.assignedNodes();$t.length&&$t.forEach(function(En){return nt.appendChildNode(be,En,we)})}else this.appendChildNode(be,It,we)},me.prototype.cloneNode=function(Ae,be){if(dd(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var we=Ae.ownerDocument.defaultView;if(we&&YA(Ae)&&(Qh(Ae)||fd(Ae))){var nt=this.createElementClone(Ae);nt.style.transitionProperty="none";var It=we.getComputedStyle(Ae),$t=we.getComputedStyle(Ae,":before"),En=we.getComputedStyle(Ae,":after");this.referenceElement===Ae&&Qh(nt)&&(this.clonedReferenceElement=nt),jl(nt)&&ca(nt);var Bn=this.counters.parse(new al(this.context,It)),wr=this.resolvePseudoContent(Ae,nt,$t,Oe.BEFORE);yp(Ae)&&(be=!0),jh(Ae)||this.cloneChildNodes(Ae,nt,be),wr&&nt.insertBefore(wr,nt.firstChild);var Or=this.resolvePseudoContent(Ae,nt,En,Oe.AFTER);return Or&&nt.appendChild(Or),this.counters.pop(Bn),(It&&(this.options.copyStyles||fd(Ae))&&!FA(Ae)||be)&&jn(It,nt),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([nt,Ae.scrollLeft,Ae.scrollTop]),(Nf(Ae)||uh(Ae))&&(Nf(nt)||uh(nt))&&(nt.value=Ae.value),nt}return Ae.cloneNode(!1)},me.prototype.resolvePseudoContent=function(Ae,be,we,nt){var It=this;if(we){var $t=we.content,En=be.ownerDocument;if(!(!En||!$t||$t==="none"||$t==="-moz-alt-content"||we.display==="none")){this.counters.parse(new al(this.context,we));var Bn=new bl(this.context,we),wr=En.createElement("html2canvaspseudoelement");jn(we,wr),Bn.content.forEach(function(Hr){if(Hr.type===0)wr.appendChild(En.createTextNode(Hr.value));else if(Hr.type===22){var Ni=En.createElement("img");Ni.src=Hr.value,Ni.style.opacity="1",wr.appendChild(Ni)}else if(Hr.type===18){if(Hr.name==="attr"){var fa=Hr.values.filter(Va);fa.length&&wr.appendChild(En.createTextNode(Ae.getAttribute(fa[0].value)||""))}else if(Hr.name==="counter"){var go=Hr.values.filter(Ou),Vo=go[0],ds=go[1];if(Vo&&Va(Vo)){var wa=It.counters.getCounterValue(Vo.value),va=ds&&Va(ds)?sd.parse(It.context,ds.value):3;wr.appendChild(En.createTextNode(ne(wa,va,!1)))}}else if(Hr.name==="counters"){var rs=Hr.values.filter(Ou),Vo=rs[0],Cs=rs[1],ds=rs[2];if(Vo&&Va(Vo)){var Ga=It.counters.getCounterValues(Vo.value),aa=ds&&Va(ds)?sd.parse(It.context,ds.value):3,Ys=Cs&&Cs.type===0?Cs.value:"",Ts=Ga.map(function(DA){return ne(DA,aa,!1)}).join(Ys);wr.appendChild(En.createTextNode(Ts))}}}else if(Hr.type===20)switch(Hr.value){case"open-quote":wr.appendChild(En.createTextNode(Go(Bn.quotes,It.quoteDepth++,!0)));break;case"close-quote":wr.appendChild(En.createTextNode(Go(Bn.quotes,--It.quoteDepth,!1)));break;default:wr.appendChild(En.createTextNode(Hr.value))}}),wr.className=Io+" "+Wo;var Or=nt===Oe.BEFORE?" "+Io:" "+Wo;return fd(be)?be.className.baseValue+=Or:be.className+=Or,wr}}},me.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},me}(),Oe;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(Oe||(Oe={}));var et=function(me,Ae){var be=me.createElement("iframe");return be.className="html2canvas-container",be.style.visibility="hidden",be.style.position="fixed",be.style.left="-10000px",be.style.top="0px",be.style.border="0",be.width=Ae.width.toString(),be.height=Ae.height.toString(),be.scrolling="no",be.setAttribute(te,"true"),me.body.appendChild(be),be},vt=function(me){return new Promise(function(Ae){if(me.complete){Ae();return}if(!me.src){Ae();return}me.onload=Ae,me.onerror=Ae})},Ft=function(me){return Promise.all([].slice.call(me.images,0).map(vt))},Nt=function(me){return new Promise(function(Ae,be){var we=me.contentWindow;if(!we)return be("No window assigned for iframe");var nt=we.document;we.onload=me.onload=function(){we.onload=me.onload=null;var It=setInterval(function(){nt.body.childNodes.length>0&&nt.readyState==="complete"&&(clearInterval(It),Ae(me))},50)}})},Dn=["all","d","content"],jn=function(me,Ae){for(var be=me.length-1;be>=0;be--){var we=me.item(be);Dn.indexOf(we)===-1&&Ae.style.setProperty(we,me.getPropertyValue(we))}return Ae},Pr=function(me){var Ae="";return me&&(Ae+=""),Ae},xr=function(me,Ae,be){me&&me.defaultView&&(Ae!==me.defaultView.pageXOffset||be!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(Ae,be)},vi=function(me){var Ae=me[0],be=me[1],we=me[2];Ae.scrollLeft=be,Ae.scrollTop=we},Wi=":before",Ao=":after",Io="___html2canvas___pseudoelement_before",Wo="___html2canvas___pseudoelement_after",Lo=`{ + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var jn;Ue&&(jn=window.scrollY),te.input.focus(),Ue&&window.scrollTo(null,jn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=xr,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Pr(){if(ue.selectionStart!=null){var Wi=ne.somethingSelected(),Ao="\u200B"+(Wi?ue.value:"");ue.value="\u21DA",ue.value=Ao,b.prevInput=Wi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=Ao.length,te.selForContextMenu=ne.doc.sel}}function xr(){if(b.contextMenuPending==xr&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Nt,ue.style.cssText=Ft,ze&&Fe<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=et),ue.selectionStart!=null)){(!ze||ze&&Fe<9)&&Pr();var Wi=0,Ao=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Mu(ne,na)(ne):Wi++<10?te.detectingSelectAll=setTimeout(Ao,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(Ao,200)}}if(ze&&Fe>=9&&Pr(),Qe){Lt(a);var vi=function(){wn(window,"mouseup",vi),setTimeout(xr,20)};Xt(window,"mouseup",vi)}else setTimeout(xr,50)},xl.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},xl.prototype.setUneditable=function(){},xl.prototype.needsContentAttribute=!1;function Ah(a,b){if(b=b?Bt(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ne=De();b.autofocus=ne==a||a.getAttribute("autofocus")!=null&&ne==document.body}function te(){a.value=vt.getValue()}var ue;if(a.form&&(Xt(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var Pe=a.form;ue=Pe.submit;try{var et=Pe.submit=function(){te(),Pe.submit=ue,Pe.submit(),Pe.submit=et}}catch(Ft){}}b.finishInit=function(Ft){Ft.save=te,Ft.getTextArea=function(){return a},Ft.toTextArea=function(){Ft.toTextArea=isNaN,te(),a.parentNode.removeChild(Ft.getWrapperElement()),a.style.display="",a.form&&(wn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var vt=jl(function(Ft){return a.parentNode.insertBefore(Ft,a.nextSibling)},b);return vt}function pd(a){a.off=wn,a.on=Xt,a.wheelEventPixels=_r,a.Doc=Al,a.splitLines=sr,a.countColumn=We,a.findColumn=fn,a.isWordChar=ee,a.Pass=zt,a.signal=an,a.Line=fo,a.changeEnd=to,a.scrollbarModel=Id,a.Pos=Wt,a.cmpPos=yn,a.modes=ir,a.mimeModes=Zn,a.resolveMode=Nr,a.getMode=pi,a.modeExtensions=di,a.extendMode=fi,a.copyState=Oi,a.startState=ro,a.innerMode=Ci,a.commands=GA,a.keyMap=Fu,a.keyName=VA,a.isModifierKey=Sf,a.lookupKey=ZA,a.normalizeKeyMap=Wu,a.StringStream=Yi,a.SharedTextMarker=cl,a.TextMarker=_u,a.LineWidget=Ls,a.e_preventDefault=sn,a.e_stopPropagation=Nn,a.e_stop=Lt,a.addClass=_e,a.contains=ft,a.rmClass=Xe,a.keyNames=gs}gg(jl),wp(jl);var qp="iter insert remove copy getEditor constructor".split(" ");for(var Hh in Al.prototype)Al.prototype.hasOwnProperty(Hh)&&ct(qp,Hh)<0&&(jl.prototype[Hh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[Hh]));return Qt(Al),jl.inputStyles={textarea:xl,contenteditable:vl},jl.defineMode=function(a){!jl.defaults.mode&&a!="null"&&(jl.defaults.mode=a),Cr.apply(this,arguments)},jl.defineMIME=Er,jl.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),jl.defineMIME("text/plain","null"),jl.defineExtension=function(a,b){jl.prototype[a]=b},jl.defineDocExtension=function(a,b){Al.prototype[a]=b},jl.fromTextArea=Ah,pd(jl),jl.version="5.58.2",jl})},25419:function(Yn,Ut,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(dt,Ie){var qe=x.getMode(dt,"text/html"),ze=qe.name=="null";function Fe(We){if(x.findModeByName){var Te=x.findModeByName(We);Te&&(We=Te.mime||Te.mimes[0])}var ct=x.getMode(dt,We);return ct.name=="null"?null:ct}Ie.highlightFormatting===void 0&&(Ie.highlightFormatting=!1),Ie.maxBlockquoteDepth===void 0&&(Ie.maxBlockquoteDepth=0),Ie.taskLists===void 0&&(Ie.taskLists=!1),Ie.strikethrough===void 0&&(Ie.strikethrough=!1),Ie.emoji===void 0&&(Ie.emoji=!1),Ie.fencedCodeBlockHighlighting===void 0&&(Ie.fencedCodeBlockHighlighting=!0),Ie.fencedCodeBlockDefaultMode===void 0&&(Ie.fencedCodeBlockDefaultMode="text/plain"),Ie.xml===void 0&&(Ie.xml=!0),Ie.tokenTypeOverrides===void 0&&(Ie.tokenTypeOverrides={});var Ue={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var he in Ue)Ue.hasOwnProperty(he)&&Ie.tokenTypeOverrides[he]&&(Ue[he]=Ie.tokenTypeOverrides[he]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ne=/^\[(x| )\](?=\s)/i,ve=Ie.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Re=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Se=/^[^#!\[\]*_\\<>` "'(~:]+/,Oe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ye=/^\s*\[[^\]]+?\]:.*$/,Ce=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ee=" ";function Me(We,Te,ct){return Te.f=Te.inline=ct,ct(We,Te)}function Ke(We,Te,ct){return Te.f=Te.block=ct,ct(We,Te)}function je(We){return!We||!/\S/.test(We.string)}function Qe(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==Xe){var Te=ze;if(!Te){var ct=x.innerMode(qe,We.htmlState);Te=ct.mode.name=="xml"&&ct.state.tagStart===null&&!ct.state.context&&ct.state.tokenize.isInText}Te&&(We.f=Ct,We.block=Je,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function Je(We,Te){var ct=We.column()===Te.indentation,Zt=je(Te.prevLine.stream),zt=Te.indentedCode,tt=Te.prevLine.hr,Pt=Te.list!==!1,_t=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var fn=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,Pt)){for(Te.list=null;fn=4&&(zt||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Zt))return We.skipToEnd(),Te.indentedCode=!0,Ue.code;if(We.eatSpace())return null;if(ct&&Te.indentation<=_t&&(kt=We.match(ve))&&kt[1].length<=6)return Te.quote=0,Te.header=kt[1].length,Te.thisLine.header=!0,Ie.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,ot(Te);if(Te.indentation<=_t&&We.eat(">"))return Te.quote=ct?1:Te.quote+1,Ie.highlightFormatting&&(Te.formatting="quote"),We.eatSpace(),ot(Te);if(!vn&&!Te.setext&&ct&&Te.indentation<=_t&&(kt=We.match(oe))){var Sn=kt[1]?"ol":"ul";return Te.indentation=fn+We.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,Ie.taskLists&&We.match(Ne,!1)&&(Te.taskList=!0),Te.f=Te.inline,Ie.highlightFormatting&&(Te.formatting=["list","list-"+Sn]),ot(Te)}else{if(ct&&Te.indentation<=_t&&(kt=We.match(Oe,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(kt[1]+"+ *$"),Te.localMode=Ie.fencedCodeBlockHighlighting&&Fe(kt[2]||Ie.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=x.startState(Te.localMode)),Te.f=Te.block=ut,Ie.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,ot(Te);if(Te.setext||(!Tt||!Pt)&&!Te.quote&&Te.list===!1&&!Te.code&&!vn&&!ye.test(We.string)&&(kt=We.lookAhead(1))&&(kt=kt.match(Re)))return Te.setext?(Te.header=Te.setext,Te.setext=0,We.skipToEnd(),Ie.highlightFormatting&&(Te.formatting="header")):(Te.header=kt[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,ot(Te);if(vn)return We.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,Ue.hr;if(We.peek()==="[")return Me(We,Te,Ot)}return Me(We,Te,Te.inline)}function Xe(We,Te){var ct=qe.token(We,Te.htmlState);if(!ze){var Zt=x.innerMode(qe,Te.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||Te.md_inside&&We.current().indexOf(">")>-1)&&(Te.f=Ct,Te.block=Je,Te.htmlState=null)}return ct}function ut(We,Te){var ct=Te.listStack[Te.listStack.length-1]||0,Zt=Te.indentation=We.quote?Te.push(Ue.formatting+"-"+We.formatting[ct]+"-"+We.quote):Te.push("error"))}if(We.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(We.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(We.linkHref?Te.push(Ue.linkHref,"url"):(We.strong&&Te.push(Ue.strong),We.em&&Te.push(Ue.em),We.strikethrough&&Te.push(Ue.strikethrough),We.emoji&&Te.push(Ue.emoji),We.linkText&&Te.push(Ue.linkText),We.code&&Te.push(Ue.code),We.image&&Te.push(Ue.image),We.imageAltText&&Te.push(Ue.imageAltText,"link"),We.imageMarker&&Te.push(Ue.imageMarker)),We.header&&Te.push(Ue.header,Ue.header+"-"+We.header),We.quote&&(Te.push(Ue.quote),!Ie.maxBlockquoteDepth||Ie.maxBlockquoteDepth>=We.quote?Te.push(Ue.quote+"-"+We.quote):Te.push(Ue.quote+"-"+Ie.maxBlockquoteDepth)),We.list!==!1){var Zt=(We.listStack.length-1)%3;Zt?Zt===1?Te.push(Ue.list2):Te.push(Ue.list3):Te.push(Ue.list1)}return We.trailingSpaceNewLine?Te.push("trailing-space-new-line"):We.trailingSpace&&Te.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ht(We,Te){if(We.match(Se,!0))return ot(Te)}function Ct(We,Te){var ct=Te.text(We,Te);if(typeof ct!="undefined")return ct;if(Te.list)return Te.list=null,ot(Te);if(Te.taskList){var Zt=We.match(Ne,!0)[1]===" ";return Zt?Te.taskOpen=!0:Te.taskClosed=!0,Ie.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,ot(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&We.match(/^#+$/,!0))return Ie.highlightFormatting&&(Te.formatting="header"),ot(Te);var zt=We.next();if(Te.linkTitle){Te.linkTitle=!1;var tt=zt;zt==="("&&(tt=")"),tt=(tt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Pt="^\\s*(?:[^"+tt+"\\\\]+|\\\\\\\\|\\\\.)"+tt;if(We.match(new RegExp(Pt),!0))return Ue.linkHref}if(zt==="`"){var _t=Te.formatting;Ie.highlightFormatting&&(Te.formatting="code"),We.eatWhile("`");var fn=We.current().length;if(Te.code==0&&(!Te.quote||fn==1))return Te.code=fn,ot(Te);if(fn==Te.code){var Tt=ot(Te);return Te.code=0,Tt}else return Te.formatting=_t,ot(Te)}else if(Te.code)return ot(Te);if(zt==="\\"&&(We.next(),Ie.highlightFormatting)){var vn=ot(Te),kt=Ue.formatting+"-escape";return vn?vn+" "+kt:kt}if(zt==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,Ie.highlightFormatting&&(Te.formatting="image"),ot(Te);if(zt==="["&&Te.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,Ie.highlightFormatting&&(Te.formatting="image"),ot(Te);if(zt==="]"&&Te.imageAltText){Ie.highlightFormatting&&(Te.formatting="image");var vn=ot(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=ft,vn}if(zt==="["&&!Te.image)return Te.linkText&&We.match(/^.*?\]/)||(Te.linkText=!0,Ie.highlightFormatting&&(Te.formatting="link")),ot(Te);if(zt==="]"&&Te.linkText){Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return Te.linkText=!1,Te.inline=Te.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?ft:Ct,vn}if(zt==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=He,Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return vn?vn+=" ":vn="",vn+Ue.linkInline}if(zt==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=He,Ie.highlightFormatting&&(Te.formatting="link");var vn=ot(Te);return vn?vn+=" ":vn="",vn+Ue.linkEmail}if(Ie.xml&&zt==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Sn=We.string.indexOf(">",We.pos);if(Sn!=-1){var on=We.string.substring(We.start,Sn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(on)&&(Te.md_inside=!0)}return We.backUp(1),Te.htmlState=x.startState(qe),Ke(We,Te,Xe)}if(Ie.xml&&zt==="<"&&We.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(zt==="*"||zt==="_"){for(var de=1,ge=We.pos==1?" ":We.string.charAt(We.pos-2);de<3&&We.eat(zt);)de++;var ie=We.peek()||" ",ee=!/\s/.test(ie)&&(!Ce.test(ie)||/\s/.test(ge)||Ce.test(ge)),se=!/\s/.test(ge)&&(!Ce.test(ge)||/\s/.test(ie)||Ce.test(ie)),le=null,Be=null;if(de%2&&(!Te.em&&ee&&(zt==="*"||!se||Ce.test(ge))?le=!0:Te.em==zt&&se&&(zt==="*"||!ee||Ce.test(ie))&&(le=!1)),de>1&&(!Te.strong&&ee&&(zt==="*"||!se||Ce.test(ge))?Be=!0:Te.strong==zt&&se&&(zt==="*"||!ee||Ce.test(ie))&&(Be=!1)),Be!=null||le!=null){Ie.highlightFormatting&&(Te.formatting=le==null?"strong":Be==null?"em":"strong em"),le===!0&&(Te.em=zt),Be===!0&&(Te.strong=zt);var Tt=ot(Te);return le===!1&&(Te.em=!1),Be===!1&&(Te.strong=!1),Tt}}else if(zt===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return ot(Te);We.backUp(1)}if(Ie.strikethrough){if(zt==="~"&&We.eatWhile(zt)){if(Te.strikethrough){Ie.highlightFormatting&&(Te.formatting="strikethrough");var Tt=ot(Te);return Te.strikethrough=!1,Tt}else if(We.match(/^[^\s]/,!1))return Te.strikethrough=!0,Ie.highlightFormatting&&(Te.formatting="strikethrough"),ot(Te)}else if(zt===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return ot(Te);We.backUp(2)}}if(Ie.emoji&&zt===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,Ie.highlightFormatting&&(Te.formatting="emoji");var Ve=ot(Te);return Te.emoji=!1,Ve}return zt===" "&&(We.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),ot(Te)}function He(We,Te){var ct=We.next();if(ct===">"){Te.f=Te.inline=Ct,Ie.highlightFormatting&&(Te.formatting="link");var Zt=ot(Te);return Zt?Zt+=" ":Zt="",Zt+Ue.linkInline}return We.match(/^[^>]+/,!0),Ue.linkInline}function ft(We,Te){if(We.eatSpace())return null;var ct=We.next();return ct==="("||ct==="["?(Te.f=Te.inline=_e(ct==="("?")":"]"),Ie.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,ot(Te)):"error"}var De={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function _e(We){return function(Te,ct){var Zt=Te.next();if(Zt===We){ct.f=ct.inline=Ct,Ie.highlightFormatting&&(ct.formatting="link-string");var zt=ot(ct);return ct.linkHref=!1,zt}return Te.match(De[We]),ct.linkHref=!0,ot(ct)}}function Ot(We,Te){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=it,We.next(),Ie.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,ot(Te)):Me(We,Te,Ct)}function it(We,Te){if(We.match(/^\]:/,!0)){Te.f=Te.inline=at,Ie.highlightFormatting&&(Te.formatting="link");var ct=ot(Te);return Te.linkText=!1,ct}return We.match(/^([^\]\\]|\\.)+/,!0),Ue.linkText}function at(We,Te){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?Te.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Te.f=Te.inline=Ct,Ue.linkHref+" url")}var Bt={startState:function(){return{f:Je,prevLine:{stream:null},thisLine:{stream:null},block:Je,htmlState:null,indentation:0,inline:Ct,text:ht,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&x.copyState(qe,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?x.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,Te){if(Te.formatting=!1,We!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,We.match(/^\s*$/,!0))return Qe(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:We},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Xe)){var ct=We.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(Te.indentation=ct,Te.indentationDiff=null,ct>0)return null}}return Te.f(We,Te)},innerMode:function(We){return We.block==Xe?{state:We.htmlState,mode:qe}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:Bt}},indent:function(We,Te,ct){return We.block==Xe&&qe.indent?qe.indent(We.htmlState,Te,ct):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,Te,ct):x.Pass},blankLine:Qe,getType:ot,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bt},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Yn,Ut,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var dt=0;dt-1&&qe.substring(Ue+1,qe.length);if(he)return x.findModeByExtension(he)},x.findModeByName=function(qe){qe=qe.toLowerCase();for(var ze=0;ze0?Se.cmdState[Se.cmdState.length-1]:null}function Fe(Se){var Oe=Se.cmdState.pop();Oe&&Oe.closeBracket()}function Ue(Se){for(var Oe=Se.cmdState,ye=Oe.length-1;ye>=0;ye--){var Ce=Oe[ye];if(Ce.name!="DEFAULT")return Ce}return{styleIdentifier:function(){return null}}}function he(Se,Oe,ye){return function(){this.name=Se,this.bracketNo=0,this.style=Oe,this.styles=ye,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var xe={};xe.importmodule=he("importmodule","tag",["string","builtin"]),xe.documentclass=he("documentclass","tag",["","atom"]),xe.usepackage=he("usepackage","tag",["atom"]),xe.begin=he("begin","tag",["atom"]),xe.end=he("end","tag",["atom"]),xe.label=he("label","tag",["atom"]),xe.ref=he("ref","tag",["atom"]),xe.eqref=he("eqref","tag",["atom"]),xe.cite=he("cite","tag",["atom"]),xe.bibitem=he("bibitem","tag",["atom"]),xe.Bibitem=he("Bibitem","tag",["atom"]),xe.RBibitem=he("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Se,Oe){Se.f=Oe}function Ne(Se,Oe){var ye;if(Se.match(/^\\[a-zA-Z@]+/)){var Ce=Se.current().slice(1);return ye=xe.hasOwnProperty(Ce)?xe[Ce]:xe.DEFAULT,ye=new ye,qe(Oe,ye),oe(Oe,Re),ye.style}if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/\\]/))return"tag";if(Se.match("\\["))return oe(Oe,function(Me,Ke){return ve(Me,Ke,"\\]")}),"keyword";if(Se.match("\\("))return oe(Oe,function(Me,Ke){return ve(Me,Ke,"\\)")}),"keyword";if(Se.match("$$"))return oe(Oe,function(Me,Ke){return ve(Me,Ke,"$$")}),"keyword";if(Se.match("$"))return oe(Oe,function(Me,Ke){return ve(Me,Ke,"$")}),"keyword";var Ee=Se.next();if(Ee=="%")return Se.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(ye=ze(Oe),ye)ye.closeBracket(Ee),oe(Oe,Re);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(ye=xe.DEFAULT,ye=new ye,qe(Oe,ye),"bracket"):/\d/.test(Ee)?(Se.eatWhile(/[\w.%]/),"atom"):(Se.eatWhile(/[\w\-_]/),ye=Ue(Oe),ye.name=="begin"&&(ye.argument=Se.current()),ye.styleIdentifier())}function ve(Se,Oe,ye){if(Se.eatSpace())return null;if(ye&&Se.match(ye))return oe(Oe,Ne),"keyword";if(Se.match(/^\\[a-zA-Z@]+/))return"tag";if(Se.match(/^[a-zA-Z]+/))return"variable-2";if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/]/)||Se.match(/^[\^_&]/))return"tag";if(Se.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Se.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ce=Se.next();return Ce=="{"||Ce=="}"||Ce=="["||Ce=="]"||Ce=="("||Ce==")"?"bracket":Ce=="%"?(Se.skipToEnd(),"comment"):"error"}function Re(Se,Oe){var ye=Se.peek(),Ce;return ye=="{"||ye=="["?(Ce=ze(Oe),Ce.openBracket(ye),Se.eat(ye),oe(Oe,Ne),"bracket"):/[ \t\r]/.test(ye)?(Se.eat(ye),null):(oe(Oe,Ne),Fe(Oe),Ne(Se,Oe))}return{startState:function(){var Se=Ie.inMathMode?function(Oe,ye){return ve(Oe,ye)}:Ne;return{cmdState:[],f:Se}},copyState:function(Se){return{cmdState:Se.cmdState.slice(),f:Se.f}},token:function(Se,Oe){return Oe.f(Se,Oe)},blankLine:function(Se){Se.f=Ne,Se.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Yn,Ut,ae){(function(x){x(ae(89780))})(function(x){"use strict";var dt={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Ie={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(qe,ze){var Fe=qe.indentUnit,Ue={},he=ze.htmlMode?dt:Ie;for(var xe in he)Ue[xe]=he[xe];for(var xe in ze)Ue[xe]=ze[xe];var oe,Ne;function ve(He,ft){function De(it){return ft.tokenize=it,it(He,ft)}var _e=He.next();if(_e=="<")return He.eat("!")?He.eat("[")?He.match("CDATA[")?De(Oe("atom","]]>")):null:He.match("--")?De(Oe("comment","-->")):He.match("DOCTYPE",!0,!0)?(He.eatWhile(/[\w\._\-]/),De(ye(1))):null:He.eat("?")?(He.eatWhile(/[\w\._\-]/),ft.tokenize=Oe("meta","?>"),"meta"):(oe=He.eat("/")?"closeTag":"openTag",ft.tokenize=Re,"tag bracket");if(_e=="&"){var Ot;return He.eat("#")?He.eat("x")?Ot=He.eatWhile(/[a-fA-F\d]/)&&He.eat(";"):Ot=He.eatWhile(/[\d]/)&&He.eat(";"):Ot=He.eatWhile(/[\w\.\-:]/)&&He.eat(";"),Ot?"atom":"error"}else return He.eatWhile(/[^&<]/),null}ve.isInText=!0;function Re(He,ft){var De=He.next();if(De==">"||De=="/"&&He.eat(">"))return ft.tokenize=ve,oe=De==">"?"endTag":"selfcloseTag","tag bracket";if(De=="=")return oe="equals",null;if(De=="<"){ft.tokenize=ve,ft.state=Ke,ft.tagName=ft.tagStart=null;var _e=ft.tokenize(He,ft);return _e?_e+" tag error":"tag error"}else return/[\'\"]/.test(De)?(ft.tokenize=Se(De),ft.stringStartCol=He.column(),ft.tokenize(He,ft)):(He.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Se(He){var ft=function(De,_e){for(;!De.eol();)if(De.next()==He){_e.tokenize=Re;break}return"string"};return ft.isInAttribute=!0,ft}function Oe(He,ft){return function(De,_e){for(;!De.eol();){if(De.match(ft)){_e.tokenize=ve;break}De.next()}return He}}function ye(He){return function(ft,De){for(var _e;(_e=ft.next())!=null;){if(_e=="<")return De.tokenize=ye(He+1),De.tokenize(ft,De);if(_e==">")if(He==1){De.tokenize=ve;break}else return De.tokenize=ye(He-1),De.tokenize(ft,De)}return"meta"}}function Ce(He,ft,De){this.prev=He.context,this.tagName=ft,this.indent=He.indented,this.startOfLine=De,(Ue.doNotIndent.hasOwnProperty(ft)||He.context&&He.context.noIndent)&&(this.noIndent=!0)}function Ee(He){He.context&&(He.context=He.context.prev)}function Me(He,ft){for(var De;;){if(!He.context||(De=He.context.tagName,!Ue.contextGrabbers.hasOwnProperty(De)||!Ue.contextGrabbers[De].hasOwnProperty(ft)))return;Ee(He)}}function Ke(He,ft,De){return He=="openTag"?(De.tagStart=ft.column(),je):He=="closeTag"?Qe:Ke}function je(He,ft,De){return He=="word"?(De.tagName=ft.current(),Ne="tag",ut):Ue.allowMissingTagName&&He=="endTag"?(Ne="tag bracket",ut(He,ft,De)):(Ne="error",je)}function Qe(He,ft,De){if(He=="word"){var _e=ft.current();return De.context&&De.context.tagName!=_e&&Ue.implicitlyClosed.hasOwnProperty(De.context.tagName)&&Ee(De),De.context&&De.context.tagName==_e||Ue.matchClosing===!1?(Ne="tag",Je):(Ne="tag error",Xe)}else return Ue.allowMissingTagName&&He=="endTag"?(Ne="tag bracket",Je(He,ft,De)):(Ne="error",Xe)}function Je(He,ft,De){return He!="endTag"?(Ne="error",Je):(Ee(De),Ke)}function Xe(He,ft,De){return Ne="error",Je(He,ft,De)}function ut(He,ft,De){if(He=="word")return Ne="attribute",ot;if(He=="endTag"||He=="selfcloseTag"){var _e=De.tagName,Ot=De.tagStart;return De.tagName=De.tagStart=null,He=="selfcloseTag"||Ue.autoSelfClosers.hasOwnProperty(_e)?Me(De,_e):(Me(De,_e),De.context=new Ce(De,_e,Ot==De.indented)),Ke}return Ne="error",ut}function ot(He,ft,De){return He=="equals"?ht:(Ue.allowMissing||(Ne="error"),ut(He,ft,De))}function ht(He,ft,De){return He=="string"?Ct:He=="word"&&Ue.allowUnquoted?(Ne="string",ut):(Ne="error",ut(He,ft,De))}function Ct(He,ft,De){return He=="string"?Ct:ut(He,ft,De)}return{startState:function(He){var ft={tokenize:ve,state:Ke,indented:He||0,tagName:null,tagStart:null,context:null};return He!=null&&(ft.baseIndent=He),ft},token:function(He,ft){if(!ft.tagName&&He.sol()&&(ft.indented=He.indentation()),He.eatSpace())return null;oe=null;var De=ft.tokenize(He,ft);return(De||oe)&&De!="comment"&&(Ne=null,ft.state=ft.state(oe||De,He,ft),Ne&&(De=Ne=="error"?De+" error":Ne)),De},indent:function(He,ft,De){var _e=He.context;if(He.tokenize.isInAttribute)return He.tagStart==He.indented?He.stringStartCol+1:He.indented+Fe;if(_e&&_e.noIndent)return x.Pass;if(He.tokenize!=Re&&He.tokenize!=ve)return De?De.match(/^(\s*)/)[0].length:0;if(He.tagName)return Ue.multilineTagIndentPastTag!==!1?He.tagStart+He.tagName.length+2:He.tagStart+Fe*(Ue.multilineTagIndentFactor||1);if(Ue.alignCDATA&&/$/,blockCommentStart:"",configuration:Ue.htmlMode?"html":"xml",helperType:Ue.htmlMode?"html":"xml",skipAttribute:function(He){He.state==ht&&(He.state=ut)},xmlCurrentTag:function(He){return He.tagName?{name:He.tagName,close:He.type=="closeTag"}:null},xmlCurrentContext:function(He){for(var ft=[],De=He.context;De;De=De.prev)De.tagName&&ft.push(De.tagName);return ft.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Yn,Ut,ae){"use strict";Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var x=Object.assign||function(ye){for(var Ce=1;Ce0&&(ut=je[0]),ut instanceof Error)throw ut;var ot=new Error("Unhandled error."+(ut?" ("+ut.message+")":""));throw ot.context=ut,ot}var ht=Xe[Ke];if(ht===void 0)return!1;if(typeof ht=="function")ae(ht,this,je);else for(var Ct=ht.length,He=Re(ht,Ct),Qe=0;Qe0&&ut.length>Je&&!ut.warned){ut.warned=!0;var ot=new Error("Possible EventEmitter memory leak detected. "+ut.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");ot.name="MaxListenersExceededWarning",ot.emitter=Me,ot.type=Ke,ot.count=ut.length,dt(ot)}return Me}qe.prototype.addListener=function(Ke,je){return he(this,Ke,je,!1)},qe.prototype.on=qe.prototype.addListener,qe.prototype.prependListener=function(Ke,je){return he(this,Ke,je,!0)};function xe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(Me,Ke,je){var Qe={fired:!1,wrapFn:void 0,target:Me,type:Ke,listener:je},Je=xe.bind(Qe);return Je.listener=je,Qe.wrapFn=Je,Je}qe.prototype.once=function(Ke,je){return Fe(je),this.on(Ke,oe(this,Ke,je)),this},qe.prototype.prependOnceListener=function(Ke,je){return Fe(je),this.prependListener(Ke,oe(this,Ke,je)),this},qe.prototype.removeListener=function(Ke,je){var Qe,Je,Xe,ut,ot;if(Fe(je),Je=this._events,Je===void 0)return this;if(Qe=Je[Ke],Qe===void 0)return this;if(Qe===je||Qe.listener===je)--this._eventsCount===0?this._events=Object.create(null):(delete Je[Ke],Je.removeListener&&this.emit("removeListener",Ke,Qe.listener||je));else if(typeof Qe!="function"){for(Xe=-1,ut=Qe.length-1;ut>=0;ut--)if(Qe[ut]===je||Qe[ut].listener===je){ot=Qe[ut].listener,Xe=ut;break}if(Xe<0)return this;Xe===0?Qe.shift():Se(Qe,Xe),Qe.length===1&&(Je[Ke]=Qe[0]),Je.removeListener!==void 0&&this.emit("removeListener",Ke,ot||je)}return this},qe.prototype.off=qe.prototype.removeListener,qe.prototype.removeAllListeners=function(Ke){var je,Qe,Je;if(Qe=this._events,Qe===void 0)return this;if(Qe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Qe[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Qe[Ke]),this;if(arguments.length===0){var Xe=Object.keys(Qe),ut;for(Je=0;Je=0;Je--)this.removeListener(Ke,je[Je]);return this};function Ne(Me,Ke,je){var Qe=Me._events;if(Qe===void 0)return[];var Je=Qe[Ke];return Je===void 0?[]:typeof Je=="function"?je?[Je.listener||Je]:[Je]:je?Oe(Je):Re(Je,Je.length)}qe.prototype.listeners=function(Ke){return Ne(this,Ke,!0)},qe.prototype.rawListeners=function(Ke){return Ne(this,Ke,!1)},qe.listenerCount=function(Me,Ke){return typeof Me.listenerCount=="function"?Me.listenerCount(Ke):ve.call(Me,Ke)},qe.prototype.listenerCount=ve;function ve(Me){var Ke=this._events;if(Ke!==void 0){var je=Ke[Me];if(typeof je=="function")return 1;if(je!==void 0)return je.length}return 0}qe.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Re(Me,Ke){for(var je=new Array(Ke),Qe=0;Qe0&&It[It.length-1])&&(wr[0]===6||wr[0]===2)){be=0;continue}if(wr[0]===3&&(!It||wr[1]>It[0]&&wr[1]=55296&&nt<=56319&&be>10)+55296,$t%1024+56320)),(nt+1===be||we.length>16384)&&(It+=String.fromCharCode.apply(String,we),we.length=0)}return It},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ve=0;ve>4,Or[nt++]=($t&15)<<4|En>>2,Or[nt++]=(En&3)<<6|Bn&63;return wr},Ce=function(me){for(var Ae=me.length,be=[],we=0;we>Me,Xe=1<>Me,ht=Je+ot,Ct=ht,He=32,ft=Ct+He,De=65536>>Ke,_e=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return be=this.index[Ae>>Me],be=(be<>Me)],be=(be<>Ke),be=this.index[be],be+=Ae>>Me&Ot,be=this.index[be],be=(be<tt?(nt.push(!0),En-=tt):nt.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(It)!==-1)return we.push($t),be.push(Be);if(En===Tt||En===ge){if($t===0)return we.push($t),be.push(en);var Bn=be[$t-1];return Er.indexOf(Bn)===-1?(we.push(we[$t-1]),be.push(Bn)):(we.push($t),be.push(en))}if(we.push($t),En===zn)return be.push(Ae==="strict"?St:Lt);if(En===Sr||En===an)return be.push(en);if(En===ii)return It>=131072&&It<=196605||It>=196608&&It<=262141?be.push(Lt):be.push(en);be.push(En)}),[we,be,nt]},fi=function(me,Ae,be,we){var nt=we[be];if(Array.isArray(me)?me.indexOf(nt)!==-1:me===nt)for(var It=be;It<=we.length;){It++;var $t=we[It];if($t===Ae)return!0;if($t!==de)break}if(nt===de)for(var It=be;It>0;){It--;var En=we[It];if(Array.isArray(me)?me.indexOf(En)!==-1:me===En)for(var Bn=be;Bn<=we.length;){Bn++;var $t=we[Bn];if($t===Ae)return!0;if($t!==de)break}if(En!==de)break}return!1},Oi=function(me,Ae){for(var be=me;be>=0;){var we=Ae[be];if(we===de)be--;else return we}return 0},Ci=function(me,Ae,be,we,nt){if(be[we]===0)return Lr;var It=we-1;if(Array.isArray(nt)&&nt[It]===!0)return Lr;var $t=It-1,En=It+1,Bn=Ae[It],wr=$t>=0?Ae[$t]:0,Or=Ae[En];if(Bn===_t&&Or===fn)return Lr;if(ir.indexOf(Bn)!==-1)return sr;if(ir.indexOf(Or)!==-1||Zn.indexOf(Or)!==-1)return Lr;if(Oi(It,Ae)===Sn)return Qn;if(Hn.get(me[It])===ge||(Bn===In||Bn===Qt)&&Hn.get(me[En])===ge||Bn===kt||Or===kt||Bn===on||[de,ee,le].indexOf(Bn)===-1&&Or===on||[Ve,st,gt,xt,wn].indexOf(Or)!==-1||Oi(It,Ae)===Dt||fi(jt,Dt,It,Ae)||fi([Ve,st],St,It,Ae)||fi(ie,ie,It,Ae))return Lr;if(Bn===de)return Qn;if(Bn===jt||Or===jt)return Lr;if(Or===Be||Bn===Be)return Qn;if([ee,le,St].indexOf(Or)!==-1||Bn===se||wr===Vn&&pi.indexOf(Bn)!==-1||Bn===wn&&Or===Vn||Or===mt||Jn.indexOf(Or)!==-1&&Bn===lt||Jn.indexOf(Bn)!==-1&&Or===lt||Bn===Vt&&[Lt,In,Qt].indexOf(Or)!==-1||[Lt,In,Qt].indexOf(Bn)!==-1&&Or===Xt||Jn.indexOf(Bn)!==-1&&Cr.indexOf(Or)!==-1||Cr.indexOf(Bn)!==-1&&Jn.indexOf(Or)!==-1||[Vt,Xt].indexOf(Bn)!==-1&&(Or===lt||[Dt,le].indexOf(Or)!==-1&&Ae[En+1]===lt)||[Dt,le].indexOf(Bn)!==-1&&Or===lt||Bn===lt&&[lt,wn,xt].indexOf(Or)!==-1)return Lr;if([lt,wn,xt,Ve,st].indexOf(Or)!==-1)for(var Hr=It;Hr>=0;){var Ni=Ae[Hr];if(Ni===lt)return Lr;if([wn,xt].indexOf(Ni)!==-1)Hr--;else break}if([Vt,Xt].indexOf(Or)!==-1)for(var Hr=[Ve,st].indexOf(Bn)!==-1?$t:It;Hr>=0;){var Ni=Ae[Hr];if(Ni===lt)return Lr;if([wn,xt].indexOf(Ni)!==-1)Hr--;else break}if(Gt===Bn&&[Gt,nn,sn,Nn].indexOf(Or)!==-1||[nn,sn].indexOf(Bn)!==-1&&[nn,Cn].indexOf(Or)!==-1||[Cn,Nn].indexOf(Bn)!==-1&&Or===Cn||Nr.indexOf(Bn)!==-1&&[mt,Xt].indexOf(Or)!==-1||Nr.indexOf(Or)!==-1&&Bn===Vt||Jn.indexOf(Bn)!==-1&&Jn.indexOf(Or)!==-1||Bn===xt&&Jn.indexOf(Or)!==-1||Jn.concat(lt).indexOf(Bn)!==-1&&Or===Dt&&si.indexOf(me[En])===-1||Jn.concat(lt).indexOf(Or)!==-1&&Bn===st)return Lr;if(Bn===Gn&&Or===Gn){for(var fa=be[It],go=1;fa>0&&(fa--,Ae[fa]===Gn);)go++;if(go%2!==0)return Lr}return Bn===In&&Or===Qt?Lr:Qn},ro=function(me,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var be=di(me,Ae.lineBreak),we=be[0],nt=be[1],It=be[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(nt=nt.map(function(En){return[lt,en,Sr].indexOf(En)!==-1?Lt:En}));var $t=Ae.wordBreak==="keep-all"?It.map(function(En,Bn){return En&&me[Bn]>=19968&&me[Bn]<=40959}):void 0;return[we,nt,$t]},Yi=function(){function me(Ae,be,we,nt){this.codePoints=Ae,this.required=be===sr,this.start=we,this.end=nt}return me.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),or=function(me,Ae){var be=he(me),we=ro(be,Ae),nt=we[0],It=we[1],$t=we[2],En=be.length,Bn=0,wr=0;return{next:function(){if(wr>=En)return{done:!0,value:null};for(var Or=Lr;wr=No&&me<=57},ti=function(me){return me>=55296&&me<=57343},Di=function(me){return Ur(me)||me>=Jr&&me<=Kr||me>=Yo&&me<=Fo},Ui=function(me){return me>=Yo&&me<=Rr},Uo=function(me){return me>=Jr&&me<=oo},xa=function(me){return Ui(me)||Uo(me)},Wr=function(me){return me>=wi},fo=function(me){return me===bt||me===Wt||me===yn},Oo=function(me){return xa(me)||Wr(me)||me===Ti},ta=function(me){return Oo(me)||Ur(me)||me===xi},Qo=function(me){return me>=lo&&me<=Ki||me===Do||me>=eo&&me<=qo||me===wo},Jo=function(me,Ae){return me!==hn?!1:Ae!==bt},$o=function(me,Ae,be){return me===xi?Oo(Ae)||Jo(Ae,be):Oo(me)?!0:!!(me===hn&&Jo(me,Ae))},Sa=function(me,Ae,be){return me===_i||me===xi?Ur(Ae)?!0:Ae===Fi&&Ur(be):Ur(me===Fi?Ae:me)},Ja=function(me){var Ae=0,be=1;(me[Ae]===_i||me[Ae]===xi)&&(me[Ae]===xi&&(be=-1),Ae++);for(var we=[];Ur(me[Ae]);)we.push(me[Ae++]);var nt=we.length?parseInt(xe.apply(void 0,we),10):0;me[Ae]===Fi&&Ae++;for(var It=[];Ur(me[Ae]);)It.push(me[Ae++]);var $t=It.length,En=$t?parseInt(xe.apply(void 0,It),10):0;(me[Ae]===Ai||me[Ae]===_o)&&Ae++;var Bn=1;(me[Ae]===_i||me[Ae]===xi)&&(me[Ae]===xi&&(Bn=-1),Ae++);for(var wr=[];Ur(me[Ae]);)wr.push(me[Ae++]);var Or=wr.length?parseInt(xe.apply(void 0,wr),10):0;return be*(nt+En*Math.pow(10,-$t))*Math.pow(10,Bn*Or)},hs={type:2},ba={type:3},Ua={type:4},Bo={type:13},bo={type:8},Ra={type:21},ns={type:9},js={type:10},tl={type:11},nl={type:12},au={type:14},su={type:23},Fs={type:1},Rl={type:25},Nu={type:24},xu={type:26},pl={type:27},Bu={type:28},Dc={type:29},pa={type:31},ka={type:32},ha=function(){function me(){this._value=[]}return me.prototype.write=function(Ae){this._value=this._value.concat(he(Ae))},me.prototype.read=function(){for(var Ae=[],be=this.consumeToken();be!==ka;)Ae.push(be),be=this.consumeToken();return Ae},me.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case On:return this.consumeStringToken(On);case $r:var be=this.peekCodePoint(0),we=this.peekCodePoint(1),nt=this.peekCodePoint(2);if(ta(be)||Jo(we,nt)){var It=$o(be,we,nt)?gi:Mr,$t=this.consumeName();return{type:5,value:$t,flags:It}}break;case Xr:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),Bo;break;case lr:return this.consumeStringToken(lr);case $n:return hs;case ei:return ba;case Ji:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),au;break;case _i:if(Sa(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Zi:return Ua;case xi:var En=Ae,Bn=this.peekCodePoint(0),wr=this.peekCodePoint(1);if(Sa(En,Bn,wr))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if($o(En,Bn,wr))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(Bn===xi&&wr===gn)return this.consumeCodePoint(),this.consumeCodePoint(),Nu;break;case Fi:if(Sa(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Rt:if(this.peekCodePoint(0)===Ji)for(this.consumeCodePoint();;){var Or=this.consumeCodePoint();if(Or===Ji&&(Or=this.consumeCodePoint(),Or===Rt))return this.consumeToken();if(Or===no)return this.consumeToken()}break;case ki:return xu;case Mi:return pl;case fr:if(this.peekCodePoint(0)===nr&&this.peekCodePoint(1)===xi&&this.peekCodePoint(2)===xi)return this.consumeCodePoint(),this.consumeCodePoint(),Rl;break;case cn:var Hr=this.peekCodePoint(0),Ni=this.peekCodePoint(1),fa=this.peekCodePoint(2);if($o(Hr,Ni,fa)){var $t=this.consumeName();return{type:7,value:$t}}break;case qn:return Bu;case hn:if(Jo(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case hr:return Dc;case ur:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),bo;break;case br:return tl;case Yr:return nl;case pn:case Qi:var go=this.peekCodePoint(0),Vo=this.peekCodePoint(1);return go===_i&&(Di(Vo)||Vo===ci)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case yi:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),ns;if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),Ra;break;case Pi:if(this.peekCodePoint(0)===jr)return this.consumeCodePoint(),js;break;case no:return ka}return fo(Ae)?(this.consumeWhiteSpace(),pa):Ur(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):Oo(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:xe(Ae)}},me.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},me.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},me.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},me.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],be=this.consumeCodePoint();Di(be)&&Ae.length<6;)Ae.push(be),be=this.consumeCodePoint();for(var we=!1;be===ci&&Ae.length<6;)Ae.push(be),be=this.consumeCodePoint(),we=!0;if(we){var nt=parseInt(xe.apply(void 0,Ae.map(function(Bn){return Bn===ci?No:Bn})),16),It=parseInt(xe.apply(void 0,Ae.map(function(Bn){return Bn===ci?Kr:Bn})),16);return{type:30,start:nt,end:It}}var $t=parseInt(xe.apply(void 0,Ae),16);if(this.peekCodePoint(0)===xi&&Di(this.peekCodePoint(1))){this.consumeCodePoint(),be=this.consumeCodePoint();for(var En=[];Di(be)&&En.length<6;)En.push(be),be=this.consumeCodePoint();var It=parseInt(xe.apply(void 0,En),16);return{type:30,start:$t,end:It}}else return{type:30,start:$t,end:$t}},me.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===$n?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===$n?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},me.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===no)return{type:22,value:""};var be=this.peekCodePoint(0);if(be===lr||be===On){var we=this.consumeStringToken(this.consumeCodePoint());return we.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===no||this.peekCodePoint(0)===ei)?(this.consumeCodePoint(),{type:22,value:we.value}):(this.consumeBadUrlRemnants(),su)}for(;;){var nt=this.consumeCodePoint();if(nt===no||nt===ei)return{type:22,value:xe.apply(void 0,Ae)};if(fo(nt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===no||this.peekCodePoint(0)===ei?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),su);if(nt===On||nt===lr||nt===$n||Qo(nt))return this.consumeBadUrlRemnants(),su;if(nt===hn)if(Jo(nt,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),su;else Ae.push(nt)}},me.prototype.consumeWhiteSpace=function(){for(;fo(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===ei||Ae===no)return;Jo(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(Ae){for(var be=5e4,we="";Ae>0;){var nt=Math.min(be,Ae);we+=xe.apply(void 0,this._value.splice(0,nt)),Ae-=nt}return this._value.shift(),we},me.prototype.consumeStringToken=function(Ae){var be="",we=0;do{var nt=this._value[we];if(nt===no||nt===void 0||nt===Ae)return be+=this.consumeStringSlice(we),{type:0,value:be};if(nt===bt)return this._value.splice(0,we),Fs;if(nt===hn){var It=this._value[we+1];It!==no&&It!==void 0&&(It===bt?(be+=this.consumeStringSlice(we),we=-1,this._value.shift()):Jo(nt,It)&&(be+=this.consumeStringSlice(we),be+=xe(this.consumeEscapedCodePoint()),we=-1))}we++}while(!0)},me.prototype.consumeNumber=function(){var Ae=[],be=oi,we=this.peekCodePoint(0);for((we===_i||we===xi)&&Ae.push(this.consumeCodePoint());Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());we=this.peekCodePoint(0);var nt=this.peekCodePoint(1);if(we===Fi&&Ur(nt))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),be=un;Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());we=this.peekCodePoint(0),nt=this.peekCodePoint(1);var It=this.peekCodePoint(2);if((we===Ai||we===_o)&&((nt===_i||nt===xi)&&Ur(It)||Ur(nt)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),be=un;Ur(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Ja(Ae),be]},me.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),be=Ae[0],we=Ae[1],nt=this.peekCodePoint(0),It=this.peekCodePoint(1),$t=this.peekCodePoint(2);if($o(nt,It,$t)){var En=this.consumeName();return{type:15,number:be,flags:we,unit:En}}return nt===dr?(this.consumeCodePoint(),{type:16,number:be,flags:we}):{type:17,number:be,flags:we}},me.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(Di(Ae)){for(var be=xe(Ae);Di(this.peekCodePoint(0))&&be.length<6;)be+=xe(this.consumeCodePoint());fo(this.peekCodePoint(0))&&this.consumeCodePoint();var we=parseInt(be,16);return we===0||ti(we)||we>1114111?Gr:we}return Ae===no?Gr:Ae},me.prototype.consumeName=function(){for(var Ae="";;){var be=this.consumeCodePoint();if(ta(be))Ae+=xe(be);else if(Jo(be,this.peekCodePoint(0)))Ae+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(be),Ae}},me}(),ma=function(){function me(Ae){this._tokens=Ae}return me.create=function(Ae){var be=new ha;return be.write(Ae),new me(be.read())},me.parseValue=function(Ae){return me.create(Ae).parseComponentValue()},me.parseValues=function(Ae){return me.create(Ae).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var be=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return be;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var Ae=[];;){var be=this.consumeComponentValue();if(be.type===32)return Ae;Ae.push(be),Ae.push()}},me.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},me.prototype.consumeSimpleBlock=function(Ae){for(var be={type:Ae,values:[]},we=this.consumeToken();;){if(we.type===32||zi(we,Ae))return be;this.reconsumeToken(we),be.values.push(this.consumeComponentValue()),we=this.consumeToken()}},me.prototype.consumeFunction=function(Ae){for(var be={name:Ae.value,values:[],type:18};;){var we=this.consumeToken();if(we.type===32||we.type===3)return be;this.reconsumeToken(we),be.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?ka:Ae},me.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},me}(),qa=function(me){return me.type===15},Ya=function(me){return me.type===17},Va=function(me){return me.type===20},Zl=function(me){return me.type===0},lu=function(me,Ae){return Va(me)&&me.value===Ae},Sl=function(me){return me.type!==31},Ou=function(me){return me.type!==31&&me.type!==4},fu=function(me){var Ae=[],be=[];return me.forEach(function(we){if(we.type===4){if(be.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(be),be=[];return}we.type!==31&&be.push(we)}),be.length&&Ae.push(be),Ae},zi=function(me,Ae){return Ae===11&&me.type===12||Ae===28&&me.type===29?!0:Ae===2&&me.type===3},zo=function(me){return me.type===17||me.type===15},ga=function(me){return me.type===16||zo(me)},hu=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},ol={type:17,number:0,flags:oi},qu={type:16,number:50,flags:oi},Hu={type:16,number:100,flags:oi},Pu=function(me,Ae,be){var we=me[0],nt=me[1];return[vs(we,Ae),vs(typeof nt!="undefined"?nt:we,be)]},vs=function(me,Ae){if(me.type===16)return me.number/100*Ae;if(qa(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},sc="deg",rA="grad",Os="rad",Pl="turn",Tu={name:"angle",parse:function(me,Ae){if(Ae.type===15)switch(Ae.unit){case sc:return Math.PI*Ae.number/180;case rA:return Math.PI/200*Ae.number;case Os:return Ae.number;case Pl:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},uu=function(me){return me.type===15&&(me.unit===sc||me.unit===rA||me.unit===Os||me.unit===Pl)},pu=function(me){var Ae=me.filter(Va).map(function(be){return be.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ol,ol];case"to top":case"bottom":return Tl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ol,Hu];case"to right":case"left":return Tl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Hu,Hu];case"to bottom":case"top":return Tl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Hu,ol];case"to left":case"right":return Tl(270)}return 0},Tl=function(me){return Math.PI*me/180},Eu={name:"color",parse:function(me,Ae){if(Ae.type===18){var be=La[Ae.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return be(me,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var we=Ae.value.substring(0,1),nt=Ae.value.substring(1,2),It=Ae.value.substring(2,3);return Hs(parseInt(we+we,16),parseInt(nt+nt,16),parseInt(It+It,16),1)}if(Ae.value.length===4){var we=Ae.value.substring(0,1),nt=Ae.value.substring(1,2),It=Ae.value.substring(2,3),$t=Ae.value.substring(3,4);return Hs(parseInt(we+we,16),parseInt(nt+nt,16),parseInt(It+It,16),parseInt($t+$t,16)/255)}if(Ae.value.length===6){var we=Ae.value.substring(0,2),nt=Ae.value.substring(2,4),It=Ae.value.substring(4,6);return Hs(parseInt(we,16),parseInt(nt,16),parseInt(It,16),1)}if(Ae.value.length===8){var we=Ae.value.substring(0,2),nt=Ae.value.substring(2,4),It=Ae.value.substring(4,6),$t=Ae.value.substring(6,8);return Hs(parseInt(we,16),parseInt(nt,16),parseInt(It,16),parseInt($t,16)/255)}}if(Ae.type===20){var En=Rs[Ae.value.toUpperCase()];if(typeof En!="undefined")return En}return Rs.TRANSPARENT}},Fl=function(me){return(255&me)===0},Il=function(me){var Ae=255&me,be=255&me>>8,we=255&me>>16,nt=255&me>>24;return Ae<255?"rgba("+nt+","+we+","+be+","+Ae/255+")":"rgb("+nt+","+we+","+be+")"},Hs=function(me,Ae,be,we){return(me<<24|Ae<<16|be<<8|Math.round(we*255)<<0)>>>0},zu=function(me,Ae){if(me.type===17)return me.number;if(me.type===16){var be=Ae===3?1:255;return Ae===3?me.number/100*be:Math.round(me.number/100*be)}return 0},td=function(me,Ae){var be=Ae.filter(Ou);if(be.length===3){var we=be.map(zu),nt=we[0],It=we[1],$t=we[2];return Hs(nt,It,$t,1)}if(be.length===4){var En=be.map(zu),nt=En[0],It=En[1],$t=En[2],Bn=En[3];return Hs(nt,It,$t,Bn)}return 0};function Wl(me,Ae,be){return be<0&&(be+=1),be>=1&&(be-=1),be<1/6?(Ae-me)*be*6+me:be<1/2?Ae:be<2/3?(Ae-me)*6*(2/3-be)+me:me}var gu=function(me,Ae){var be=Ae.filter(Ou),we=be[0],nt=be[1],It=be[2],$t=be[3],En=(we.type===17?Tl(we.number):Tu.parse(me,we))/(Math.PI*2),Bn=ga(nt)?nt.number/100:0,wr=ga(It)?It.number/100:0,Or=typeof $t!="undefined"&&ga($t)?vs($t,1):1;if(Bn===0)return Hs(wr*255,wr*255,wr*255,1);var Hr=wr<=.5?wr*(Bn+1):wr+Bn-wr*Bn,Ni=wr*2-Hr,fa=Wl(Ni,Hr,En+1/3),go=Wl(Ni,Hr,En),Vo=Wl(Ni,Hr,En-1/3);return Hs(fa*255,go*255,Vo*255,Or)},La={hsl:gu,hsla:gu,rgb:td,rgba:td},Da=function(me,Ae){return Eu.parse(me,ma.create(Ae).parseComponentValue())},Rs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},lc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(be){if(Va(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Vl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cu=function(me,Ae){var be=Eu.parse(me,Ae[0]),we=Ae[1];return we&&ga(we)?{color:be,stop:we}:{color:be,stop:null}},Vc=function(me,Ae){var be=me[0],we=me[me.length-1];be.stop===null&&(be.stop=ol),we.stop===null&&(we.stop=Hu);for(var nt=[],It=0,$t=0;$tIt?nt.push(Bn):nt.push(It),It=Bn}else nt.push(null)}for(var wr=null,$t=0;$t$t.optimumDistance)?{optimumCorner:En,optimumDistance:Or}:$t},{optimumDistance:nt?1/0:-1/0,optimumCorner:null}).optimumCorner},iA=function(me,Ae,be,we,nt){var It=0,$t=0;switch(me.size){case 0:me.shape===0?It=$t=Math.min(Math.abs(Ae),Math.abs(Ae-we),Math.abs(be),Math.abs(be-nt)):me.shape===1&&(It=Math.min(Math.abs(Ae),Math.abs(Ae-we)),$t=Math.min(Math.abs(be),Math.abs(be-nt)));break;case 2:if(me.shape===0)It=$t=Math.min(Gl(Ae,be),Gl(Ae,be-nt),Gl(Ae-we,be),Gl(Ae-we,be-nt));else if(me.shape===1){var En=Math.min(Math.abs(be),Math.abs(be-nt))/Math.min(Math.abs(Ae),Math.abs(Ae-we)),Bn=bc(we,nt,Ae,be,!0),wr=Bn[0],Or=Bn[1];It=Gl(wr-Ae,(Or-be)/En),$t=En*It}break;case 1:me.shape===0?It=$t=Math.max(Math.abs(Ae),Math.abs(Ae-we),Math.abs(be),Math.abs(be-nt)):me.shape===1&&(It=Math.max(Math.abs(Ae),Math.abs(Ae-we)),$t=Math.max(Math.abs(be),Math.abs(be-nt)));break;case 3:if(me.shape===0)It=$t=Math.max(Gl(Ae,be),Gl(Ae,be-nt),Gl(Ae-we,be),Gl(Ae-we,be-nt));else if(me.shape===1){var En=Math.max(Math.abs(be),Math.abs(be-nt))/Math.max(Math.abs(Ae),Math.abs(Ae-we)),Hr=bc(we,nt,Ae,be,!1),wr=Hr[0],Or=Hr[1];It=Gl(wr-Ae,(Or-be)/En),$t=En*It}break}return Array.isArray(me.size)&&(It=vs(me.size[0],we),$t=me.size.length===2?vs(me.size[1],nt):It),[It,$t]},oA=function(me,Ae){var be=Tl(180),we=[];return fu(Ae).forEach(function(nt,It){if(It===0){var $t=nt[0];if($t.type===20&&$t.value==="to"){be=pu(nt);return}else if(uu($t)){be=Tu.parse(me,$t);return}}var En=cu(me,nt);we.push(En)}),{angle:be,stops:we,type:1}},Ed=function(me,Ae){var be=Tl(180),we=[];return fu(Ae).forEach(function(nt,It){if(It===0){var $t=nt[0];if($t.type===20&&["top","left","right","bottom"].indexOf($t.value)!==-1){be=pu(nt);return}else if(uu($t)){be=(Tu.parse(me,$t)+Tl(270))%Tl(360);return}}var En=cu(me,nt);we.push(En)}),{angle:be,stops:we,type:1}},Jf=function(me,Ae){var be=Tl(180),we=[],nt=1,It=0,$t=3,En=[];return fu(Ae).forEach(function(Bn,wr){var Or=Bn[0];if(wr===0){if(Va(Or)&&Or.value==="linear"){nt=1;return}else if(Va(Or)&&Or.value==="radial"){nt=2;return}}if(Or.type===18){if(Or.name==="from"){var Hr=Eu.parse(me,Or.values[0]);we.push({stop:ol,color:Hr})}else if(Or.name==="to"){var Hr=Eu.parse(me,Or.values[0]);we.push({stop:Hu,color:Hr})}else if(Or.name==="color-stop"){var Ni=Or.values.filter(Ou);if(Ni.length===2){var Hr=Eu.parse(me,Ni[1]),fa=Ni[0];Ya(fa)&&we.push({stop:{type:16,number:fa.number*100,flags:fa.flags},color:Hr})}}}}),nt===1?{angle:(be+Tl(180))%Tl(360),stops:we,type:nt}:{size:$t,shape:It,stops:we,position:En,type:nt}},nd="closest-side",PA="farthest-side",gA="closest-corner",ku="farthest-corner",TA="circle",aA="ellipse",Sd="cover",qf="contain",Ps=function(me,Ae){var be=0,we=3,nt=[],It=[];return fu(Ae).forEach(function($t,En){var Bn=!0;if(En===0){var wr=!1;Bn=$t.reduce(function(Hr,Ni){if(wr)if(Va(Ni))switch(Ni.value){case"center":return It.push(qu),Hr;case"top":case"left":return It.push(ol),Hr;case"right":case"bottom":return It.push(Hu),Hr}else(ga(Ni)||zo(Ni))&&It.push(Ni);else if(Va(Ni))switch(Ni.value){case TA:return be=0,!1;case aA:return be=1,!1;case"at":return wr=!0,!1;case nd:return we=0,!1;case Sd:case PA:return we=1,!1;case qf:case gA:return we=2,!1;case ku:return we=3,!1}else if(zo(Ni)||ga(Ni))return Array.isArray(we)||(we=[]),we.push(Ni),!1;return Hr},Bn)}if(Bn){var Or=cu(me,$t);nt.push(Or)}}),{size:we,shape:be,stops:nt,position:It,type:2}},ec=function(me,Ae){var be=0,we=3,nt=[],It=[];return fu(Ae).forEach(function($t,En){var Bn=!0;if(En===0?Bn=$t.reduce(function(Or,Hr){if(Va(Hr))switch(Hr.value){case"center":return It.push(qu),!1;case"top":case"left":return It.push(ol),!1;case"right":case"bottom":return It.push(Hu),!1}else if(ga(Hr)||zo(Hr))return It.push(Hr),!1;return Or},Bn):En===1&&(Bn=$t.reduce(function(Or,Hr){if(Va(Hr))switch(Hr.value){case TA:return be=0,!1;case aA:return be=1,!1;case qf:case nd:return we=0,!1;case PA:return we=1,!1;case gA:return we=2,!1;case Sd:case ku:return we=3,!1}else if(zo(Hr)||ga(Hr))return Array.isArray(we)||(we=[]),we.push(Hr),!1;return Or},Bn)),Bn){var wr=cu(me,$t);nt.push(wr)}}),{size:we,shape:be,stops:nt,position:It,type:2}},mA=function(me){return me.type===1},Th=function(me){return me.type===2},Gc={name:"image",parse:function(me,Ae){if(Ae.type===22){var be={url:Ae.value,type:0};return me.cache.addImage(Ae.value),be}if(Ae.type===18){var we=Fd[Ae.name];if(typeof we=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return we(me,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function kh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Fd[me.name])}var Fd={"linear-gradient":oA,"-moz-linear-gradient":Ed,"-ms-linear-gradient":Ed,"-o-linear-gradient":Ed,"-webkit-linear-gradient":Ed,"radial-gradient":Ps,"-moz-radial-gradient":ec,"-ms-radial-gradient":ec,"-o-radial-gradient":ec,"-webkit-radial-gradient":ec,"-webkit-gradient":Jf},eh={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){if(Ae.length===0)return[];var be=Ae[0];return be.type===20&&be.value==="none"?[]:Ae.filter(function(we){return Ou(we)&&kh(we)}).map(function(we){return Gc.parse(me,we)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(be){if(Va(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(ga)}).map(hu)}},Xc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(Va).map(function(we){return we.value}).join(" ")}).map(ya)}},ya=function(me){switch(me){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},_l;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(_l||(_l={}));var Mc={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,Ae){return fu(Ae).map(function(be){return be.filter(rd)})}},rd=function(me){return Va(me)||ga(me)},kA=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kp=kA("top"),MA=kA("right"),th=kA("bottom"),Uc=kA("left"),id=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,be){return hu(be.filter(ga))}}},Zp=id("top-left"),vA=id("top-right"),Nc=id("bottom-right"),uc=id("bottom-left"),zs=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,be){switch(be){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},yA=zs("top"),od=zs("right"),ad=zs("bottom"),wA=zs("left"),UA=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,be){return qa(be)?be.number:0}}},xf=UA("top"),Id=UA("right"),Mh=UA("bottom"),Wp=UA("left"),cc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},up={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter(Va).reduce(function(be,we){return be|Vp(we.value)},0)}},Vp=function(me){switch(me){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Xd={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},cp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Gp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},Ac={name:"line-height",initialValue:"normal",prefix:!1,type:4},Mu=function(me,Ae){return Va(me)&&me.value==="normal"?1.2*Ae:me.type===17?Ae*me.number:ga(me)?vs(me,Ae):Ae},dc={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,Ae){return Ae.type===20&&Ae.value==="none"?null:Gc.parse(me,Ae)}},Uu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},sd={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},$d=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=$d("top"),Ap=$d("right"),dp=$d("bottom"),fp=$d("left"),nh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter(Va).map(function(be){switch(be.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},CA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ld=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hp=Ld("top"),wt=Ld("right"),yt=Ld("bottom"),Yt=Ld("left"),An={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Fn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.length===1&&lu(Ae[0],"none")?[]:fu(Ae).map(function(be){for(var we={color:Rs.TRANSPARENT,offsetX:ol,offsetY:ol,blur:ol},nt=0,It=0;It1?1:0],this.overflowWrap=co(Ae,CA,be.overflowWrap),this.paddingTop=co(Ae,hp,be.paddingTop),this.paddingRight=co(Ae,wt,be.paddingRight),this.paddingBottom=co(Ae,yt,be.paddingBottom),this.paddingLeft=co(Ae,Yt,be.paddingLeft),this.paintOrder=co(Ae,Co,be.paintOrder),this.position=co(Ae,Fn,be.position),this.textAlign=co(Ae,An,be.textAlign),this.textDecorationColor=co(Ae,po,(we=be.textDecorationColor)!==null&&we!==void 0?we:be.color),this.textDecorationLine=co(Ae,Eo,(nt=be.textDecorationLine)!==null&&nt!==void 0?nt:be.textDecoration),this.textShadow=co(Ae,Mn,be.textShadow),this.textTransform=co(Ae,rr,be.textTransform),this.transform=co(Ae,er,be.transform),this.transformOrigin=co(Ae,Dr,be.transformOrigin),this.visibility=co(Ae,Fr,be.visibility),this.webkitTextStrokeColor=co(Ae,es,be.webkitTextStrokeColor),this.webkitTextStrokeWidth=co(Ae,Za,be.webkitTextStrokeWidth),this.wordBreak=co(Ae,mi,be.wordBreak),this.zIndex=co(Ae,to,be.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return Fl(this.backgroundColor)},me.prototype.isTransformed=function(){return this.transform!==null},me.prototype.isPositioned=function(){return this.position!==0},me.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},me.prototype.isFloating=function(){return this.float!==0},me.prototype.isInlineLevel=function(){return Zo(this.display,4)||Zo(this.display,33554432)||Zo(this.display,268435456)||Zo(this.display,536870912)||Zo(this.display,67108864)||Zo(this.display,134217728)},me}(),bl=function(){function me(Ae,be){this.content=co(Ae,Ho,be.content),this.quotes=co(Ae,Mo,be.quotes)}return me}(),al=function(){function me(Ae,be){this.counterIncrement=co(Ae,Ko,be.counterIncrement),this.counterReset=co(Ae,vo,be.counterReset)}return me}(),co=function(me,Ae,be){var we=new ha,nt=be!==null&&typeof be!="undefined"?be.toString():Ae.initialValue;we.write(nt);var It=new ma(we.read());switch(Ae.type){case 2:var $t=It.parseComponentValue();return Ae.parse(me,Va($t)?$t.value:Ae.initialValue);case 0:return Ae.parse(me,It.parseComponentValue());case 1:return Ae.parse(me,It.parseComponentValues());case 4:return It.parseComponentValue();case 3:switch(Ae.format){case"angle":return Tu.parse(me,It.parseComponentValue());case"color":return Eu.parse(me,It.parseComponentValue());case"image":return Gc.parse(me,It.parseComponentValue());case"length":var En=It.parseComponentValue();return zo(En)?En:ol;case"length-percentage":var Bn=It.parseComponentValue();return ga(Bn)?Bn:ol;case"time":return uo.parse(me,It.parseComponentValue())}break}},Xl="data-html2canvas-debug",us=function(me){var Ae=me.getAttribute(Xl);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},as=function(me,Ae){var be=us(me);return be===1||Ae===be},rl=function(){function me(Ae,be){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,as(be,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(be,null)),_h(be)&&(this.styles.animationDuration.some(function(we){return we>0})&&(be.style.animationDuration="0s"),this.styles.transform!==null&&(be.style.transform="none")),this.bounds=Fe(this.context,be),as(be,4)&&(this.flags|=16)}return me}(),Au="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",oa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ca=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Xo=0;Xo>4,Or[nt++]=($t&15)<<4|En>>2,Or[nt++]=(En&3)<<6|Bn&63;return wr},ps=function(me){for(var Ae=me.length,be=[],we=0;we>Gs,na=1<>Gs,Xs=la+Js,vu=Xs,Ml=32,fc=vu+Ml,Cl=65536>>Ks,ys=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return be=this.index[Ae>>Gs],be=(be<>Gs)],be=(be<>Ks),be=this.index[be],be+=Ae>>Gs&ll,be=this.index[be],be=(be<=55296&&nt<=56319&&be>10)+55296,$t%1024+56320)),(nt+1===be||we.length>16384)&&(It+=String.fromCharCode.apply(String,we),we.length=0)}return It},qd=Ul(Au),Ds="\xD7",ld="\xF7",Ef=function(me){return qd.get(me)},Wa=function(me,Ae,be){var we=be-2,nt=Ae[we],It=Ae[be-1],$t=Ae[be];if(It===Ru&&$t===_u)return Ds;if(It===Ru||It===_u||It===Yc||$t===Ru||$t===_u||$t===Yc)return ld;if(It===Ku&&[Ku,tc,nc,Al].indexOf($t)!==-1||(It===nc||It===tc)&&($t===tc||$t===Zu)||(It===Al||It===Zu)&&$t===Zu||$t===Cc||$t===cl||$t===Dd||It===Yl)return Ds;if(It===Cc&&$t===xA){for(;nt===cl;)nt=Ae[--we];if(nt===xA)return Ds}if(It===Rc&&$t===Rc){for(var En=0;nt===Rc;)En++,nt=Ae[--we];if(En%2===0)return Ds}return ld},gs=function(me){var Ae=$c(me),be=Ae.length,we=0,nt=0,It=Ae.map(Ef);return{next:function(){if(we>=be)return{done:!0,value:null};for(var $t=Ds;we$t.x||Or.y>$t.y;return $t=Or,wr===0?!0:Hr});return me.body.removeChild(Ae),En},Fu=function(){return typeof new Image().crossOrigin!="undefined"},rc=function(){return typeof new XMLHttpRequest().responseType=="string"},Wu=function(me){var Ae=new Image,be=me.createElement("canvas"),we=be.getContext("2d");if(!we)return!1;Ae.src="data:image/svg+xml,";try{we.drawImage(Ae,0,0),be.toDataURL()}catch(nt){return!1}return!0},ZA=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var Ae=me.createElement("canvas"),be=100;Ae.width=be,Ae.height=be;var we=Ae.getContext("2d");if(!we)return Promise.reject(!1);we.fillStyle="rgb(0, 255, 0)",we.fillRect(0,0,be,be);var nt=new Image,It=Ae.toDataURL();nt.src=It;var $t=WA(be,be,0,0,nt);return we.fillStyle="red",we.fillRect(0,0,be,be),VA($t).then(function(En){we.drawImage(En,0,0);var Bn=we.getImageData(0,0,be,be).data;we.fillStyle="red",we.fillRect(0,0,be,be);var wr=me.createElement("div");return wr.style.backgroundImage="url("+It+")",wr.style.height=be+"px",ZA(Bn)?VA(WA(be,be,0,0,wr)):Promise.reject(!1)}).then(function(En){return we.drawImage(En,0,0),ZA(we.getImageData(0,0,be,be).data)}).catch(function(){return!1})},WA=function(me,Ae,be,we,nt){var It="http://www.w3.org/2000/svg",$t=document.createElementNS(It,"svg"),En=document.createElementNS(It,"foreignObject");return $t.setAttributeNS(null,"width",me.toString()),$t.setAttributeNS(null,"height",Ae.toString()),En.setAttributeNS(null,"width","100%"),En.setAttributeNS(null,"height","100%"),En.setAttributeNS(null,"x",be.toString()),En.setAttributeNS(null,"y",we.toString()),En.setAttributeNS(null,"externalResourcesRequired","true"),$t.appendChild(En),En.appendChild(nt),$t},VA=function(me){return new Promise(function(Ae,be){var we=new Image;we.onload=function(){return Ae(we)},we.onerror=be,we.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},yu={get SUPPORT_RANGE_BOUNDS(){var me=ru(document);return Object.defineProperty(yu,"SUPPORT_RANGE_BOUNDS",{value:me}),me},get SUPPORT_WORD_BREAKING(){var me=yu.SUPPORT_RANGE_BOUNDS&&Su(document);return Object.defineProperty(yu,"SUPPORT_WORD_BREAKING",{value:me}),me},get SUPPORT_SVG_DRAWING(){var me=Wu(document);return Object.defineProperty(yu,"SUPPORT_SVG_DRAWING",{value:me}),me},get SUPPORT_FOREIGNOBJECT_DRAWING(){var me=typeof Array.from=="function"&&typeof window.fetch=="function"?Sf(document):Promise.resolve(!1);return Object.defineProperty(yu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:me}),me},get SUPPORT_CORS_IMAGES(){var me=Fu();return Object.defineProperty(yu,"SUPPORT_CORS_IMAGES",{value:me}),me},get SUPPORT_RESPONSE_TYPE(){var me=rc();return Object.defineProperty(yu,"SUPPORT_RESPONSE_TYPE",{value:me}),me},get SUPPORT_CORS_XHR(){var me="withCredentials"in new XMLHttpRequest;return Object.defineProperty(yu,"SUPPORT_CORS_XHR",{value:me}),me},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var me=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(yu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:me}),me}},_c=function(){function me(Ae,be){this.text=Ae,this.bounds=be}return me}(),ef=function(me,Ae,be,we){var nt=rh(Ae,be),It=[],$t=0;return nt.forEach(function(En){if(be.textDecorationLine.length||En.trim().length>0)if(yu.SUPPORT_RANGE_BOUNDS){var Bn=tf(we,$t,En.length).getClientRects();if(Bn.length>1){var wr=If(En),Or=0;wr.forEach(function(Ni){It.push(new _c(Ni,ze.fromDOMRectList(me,tf(we,Or+$t,Ni.length).getClientRects()))),Or+=Ni.length})}else It.push(new _c(En,ze.fromDOMRectList(me,Bn)))}else{var Hr=we.splitText(En.length);It.push(new _c(En,Ff(me,we))),we=Hr}else yu.SUPPORT_RANGE_BOUNDS||(we=we.splitText(En.length));$t+=En.length}),It},Ff=function(me,Ae){var be=Ae.ownerDocument;if(be){var we=be.createElement("html2canvaswrapper");we.appendChild(Ae.cloneNode(!0));var nt=Ae.parentNode;if(nt){nt.replaceChild(we,Ae);var It=Fe(me,we);return we.firstChild&&nt.replaceChild(we.firstChild,we),It}}return ze.EMPTY},tf=function(me,Ae,be){var we=me.ownerDocument;if(!we)throw new Error("Node has no owner document");var nt=we.createRange();return nt.setStart(me,Ae),nt.setEnd(me,Ae+be),nt},If=function(me){if(yu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(me)).map(function(be){return be.segment})}return Ql(me)},GA=function(me,Ae){if(yu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(be.segment(me)).map(function(we){return we.segment})}return ih(me,Ae)},rh=function(me,Ae){return Ae.letterSpacing!==0?If(me):GA(me,Ae)},pp=[32,160,4961,65792,65793,4153,4241],ih=function(me,Ae){for(var be=or(me,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),we=[],nt,It=function(){if(nt.value){var $t=nt.value.slice(),En=he($t),Bn="";En.forEach(function(wr){pp.indexOf(wr)===-1?Bn+=xe(wr):(Bn.length&&we.push(Bn),we.push(xe(wr)),Bn="")}),Bn.length&&we.push(Bn)}};!(nt=be.next()).done;)It();return we},nf=function(){function me(Ae,be,we){this.text=gp(be.data,we.textTransform),this.textBounds=ef(Ae,this.text,we,be)}return me}(),gp=function(me,Ae){switch(Ae){case 1:return me.toLowerCase();case 3:return me.replace(mp,rf);case 2:return me.toUpperCase();default:return me}},mp=/(^|\s|:|-|\(|\))([a-z])/g,rf=function(me,Ae,be){return me.length>0?Ae+be.toUpperCase():me},Lf=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.src=we.currentSrc||we.src,nt.intrinsicWidth=we.naturalWidth,nt.intrinsicHeight=we.naturalHeight,nt.context.cache.addImage(nt.src),nt}return Ae}(rl),Nd=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.canvas=we,nt.intrinsicWidth=we.width,nt.intrinsicHeight=we.height,nt}return Ae}(rl),Df=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this,It=new XMLSerializer,$t=Fe(be,we);return we.setAttribute("width",$t.width+"px"),we.setAttribute("height",$t.height+"px"),nt.svg="data:image/svg+xml,"+encodeURIComponent(It.serializeToString(we)),nt.intrinsicWidth=we.width.baseVal.value,nt.intrinsicHeight=we.height.baseVal.value,nt.context.cache.addImage(nt.svg),nt}return Ae}(rl),Od=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.value=we.value,nt}return Ae}(rl),of=function(me){ae(Ae,me);function Ae(be,we){var nt=me.call(this,be,we)||this;return nt.start=we.start,nt.reversed=typeof we.reversed=="boolean"&&we.reversed===!0,nt}return Ae}(rl),BA=[{type:15,flags:0,unit:"px",number:3}],oh=[{type:16,flags:0,number:50}],ah=function(me){return me.width>me.height?new ze(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width0)be.textNodes.push(new nf(me,nt,be.styles));else if(YA(nt))if(vp(nt)&&nt.assignedNodes)nt.assignedNodes().forEach(function(En){return Vu(me,En,be,we)});else{var $t=Gu(me,nt);$t.styles.isVisible()&&(XA(nt,$t,we)?$t.flags|=4:RA($t.styles)&&($t.flags|=2),wu.indexOf(nt.tagName)!==-1&&($t.flags|=8),be.elements.push($t),nt.slot,nt.shadowRoot?Vu(me,nt.shadowRoot,$t,we):!Nf(nt)&&!Yp(nt)&&!uh(nt)&&Vu(me,nt,$t,we))}},Gu=function(me,Ae){return af(Ae)?new Lf(me,Ae):$p(Ae)?new Nd(me,Ae):Yp(Ae)?new Df(me,Ae):Xp(Ae)?new Od(me,Ae):Qh(Ae)?new of(me,Ae):gg(Ae)?new cd(me,Ae):uh(Ae)?new Rh(me,Ae):Nf(Ae)?new ms(me,Ae):FA(Ae)?new Ns(me,Ae):new rl(me,Ae)},Ad=function(me,Ae){var be=Gu(me,Ae);return be.flags|=4,Vu(me,Ae,be,be),be},XA=function(me,Ae,be){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||jl(me)&&be.styles.isTransparent()},RA=function(me){return me.isPositioned()||me.isFloating()},dd=function(me){return me.nodeType===Node.TEXT_NODE},YA=function(me){return me.nodeType===Node.ELEMENT_NODE},_h=function(me){return YA(me)&&typeof me.style!="undefined"&&!fd(me)},fd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},Qh=function(me){return me.tagName==="OL"},gg=function(me){return me.tagName==="INPUT"},mg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},jl=function(me){return me.tagName==="BODY"},$p=function(me){return me.tagName==="CANVAS"},jh=function(me){return me.tagName==="VIDEO"},af=function(me){return me.tagName==="IMG"},FA=function(me){return me.tagName==="IFRAME"},sh=function(me){return me.tagName==="STYLE"},lh=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},uh=function(me){return me.tagName==="SELECT"},vp=function(me){return me.tagName==="SLOT"},yp=function(me){return me.tagName.indexOf("-")>0},vg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(Ae){var be=this.counters[Ae];return be&&be.length?be[be.length-1]:1},me.prototype.getCounterValues=function(Ae){var be=this.counters[Ae];return be||[]},me.prototype.pop=function(Ae){var be=this;Ae.forEach(function(we){return be.counters[we].pop()})},me.prototype.parse=function(Ae){var be=this,we=Ae.counterIncrement,nt=Ae.counterReset,It=!0;we!==null&&we.forEach(function(En){var Bn=be.counters[En.counter];Bn&&En.increment!==0&&(It=!1,Bn.length||Bn.push(1),Bn[Math.max(0,Bn.length-1)]+=En.increment)});var $t=[];return It&&nt.forEach(function(En){var Bn=be.counters[En.counter];$t.push(En.counter),Bn||(Bn=be.counters[En.counter]=[]),Bn.push(En.reset)}),$t},me}(),wp={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ch={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Jp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},vl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Td=function(me,Ae,be,we,nt,It){return mebe?ne(me,nt,It.length>0):we.integers.reduce(function($t,En,Bn){for(;me>=En;)me-=En,$t+=we.values[Bn];return $t},"")+It},yg=function(me,Ae,be,we){var nt="";do be||me--,nt=we(me)+nt,me/=Ae;while(me*Ae>=Ae);return nt},Hl=function(me,Ae,be,we,nt){var It=be-Ae+1;return(me<0?"-":"")+(yg(Math.abs(me),It,we,function($t){return xe(Math.floor($t%It)+Ae)})+nt)},kd=function(me,Ae,be){be===void 0&&(be=". ");var we=Ae.length;return yg(Math.abs(me),we,!1,function(nt){return Ae[Math.floor(nt%we)]})+be},$A=1,hd=2,xl=4,Ah=8,pd=function(me,Ae,be,we,nt,It){if(me<-9999||me>9999)return ne(me,4,nt.length>0);var $t=Math.abs(me),En=nt;if($t===0)return Ae[0]+En;for(var Bn=0;$t>0&&Bn<=4;Bn++){var wr=$t%10;wr===0&&Zo(It,$A)&&En!==""?En=Ae[wr]+En:wr>1||wr===1&&Bn===0||wr===1&&Bn===1&&Zo(It,hd)||wr===1&&Bn===1&&Zo(It,xl)&&me>100||wr===1&&Bn>1&&Zo(It,Ah)?En=Ae[wr]+(Bn>0?be[Bn-1]:"")+En:wr===1&&Bn>0&&(En=be[Bn-1]+En),$t=Math.floor($t/10)}return(me<0?we:"")+En},qp="\u5341\u767E\u5343\u842C",Hh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,Ae,be){var we=be?". ":"",nt=be?"\u3001":"",It=be?", ":"",$t=be?" ":"";switch(Ae){case 0:return"\u2022"+$t;case 1:return"\u25E6"+$t;case 2:return"\u25FE"+$t;case 5:var En=Hl(me,48,57,!0,we);return En.length<4?"0"+En:En;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",nt);case 6:return Td(me,1,3999,wp,3,we).toLowerCase();case 7:return Td(me,1,3999,wp,3,we);case 8:return Hl(me,945,969,!1,we);case 9:return Hl(me,97,122,!1,we);case 10:return Hl(me,65,90,!1,we);case 11:return Hl(me,1632,1641,!0,we);case 12:case 49:return Td(me,1,9999,ch,3,we);case 35:return Td(me,1,9999,ch,3,we).toLowerCase();case 13:return Hl(me,2534,2543,!0,we);case 14:case 30:return Hl(me,6112,6121,!0,we);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",nt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",nt);case 17:case 48:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8CA0",nt,hd|xl|Ah);case 47:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Hh,"\u8CA0",nt,$A|hd|xl|Ah);case 42:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8D1F",nt,hd|xl|Ah);case 41:return pd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Hh,"\u8D1F",nt,$A|hd|xl|Ah);case 26:return pd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,nt,0);case 25:return pd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,nt,$A|hd|xl);case 31:return pd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,It,$A|hd|xl);case 33:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,It,0);case 32:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,It,$A|hd|xl);case 18:return Hl(me,2406,2415,!0,we);case 20:return Td(me,1,19999,vl,3,we);case 21:return Hl(me,2790,2799,!0,we);case 22:return Hl(me,2662,2671,!0,we);case 22:return Td(me,1,10999,Jp,3,we);case 23:return kd(me,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return kd(me,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Hl(me,3302,3311,!0,we);case 28:return kd(me,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",nt);case 29:return kd(me,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",nt);case 34:return Hl(me,3792,3801,!0,we);case 37:return Hl(me,6160,6169,!0,we);case 38:return Hl(me,4160,4169,!0,we);case 39:return Hl(me,2918,2927,!0,we);case 40:return Hl(me,1776,1785,!0,we);case 43:return Hl(me,3046,3055,!0,we);case 44:return Hl(me,3174,3183,!0,we);case 45:return Hl(me,3664,3673,!0,we);case 46:return Hl(me,3872,3881,!0,we);case 3:default:return Hl(me,48,57,!0,we)}},te="data-html2canvas-ignore",ue=function(){function me(Ae,be,we){if(this.context=Ae,this.options=we,this.scrolledElements=[],this.referenceElement=be,this.counters=new vg,this.quoteDepth=0,!be.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(be.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(Ae,be){var we=this,nt=et(Ae,be);if(!nt.contentWindow)return Promise.reject("Unable to find iframe window");var It=Ae.defaultView.pageXOffset,$t=Ae.defaultView.pageYOffset,En=nt.contentWindow,Bn=En.document,wr=Nt(nt).then(function(){return dt(we,void 0,void 0,function(){var Or,Hr;return Ie(this,function(Ni){switch(Ni.label){case 0:return this.scrolledElements.forEach(vi),En&&(En.scrollTo(be.left,be.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(En.scrollY!==be.top||En.scrollX!==be.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(En.scrollX-be.left,En.scrollY-be.top,0,0))),Or=this.options.onclone,Hr=this.clonedReferenceElement,typeof Hr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Bn.fonts&&Bn.fonts.ready?[4,Bn.fonts.ready]:[3,2];case 1:Ni.sent(),Ni.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ft(Bn)]:[3,4];case 3:Ni.sent(),Ni.label=4;case 4:return typeof Or=="function"?[2,Promise.resolve().then(function(){return Or(Bn,Hr)}).then(function(){return nt})]:[2,nt]}})})});return Bn.open(),Bn.write(Pr(document.doctype)+""),xr(this.referenceElement.ownerDocument,It,$t),Bn.replaceChild(Bn.adoptNode(this.documentElement),Bn.documentElement),Bn.close(),wr},me.prototype.createElementClone=function(Ae){if(as(Ae,2))debugger;if($p(Ae))return this.createCanvasClone(Ae);if(jh(Ae))return this.createVideoClone(Ae);if(sh(Ae))return this.createStyleClone(Ae);var be=Ae.cloneNode(!1);return af(be)&&(af(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(be.src=Ae.currentSrc,be.srcset=""),be.loading==="lazy"&&(be.loading="eager")),yp(be)?this.createCustomElementClone(be):be},me.prototype.createCustomElementClone=function(Ae){var be=document.createElement("html2canvascustomelement");return jn(Ae.style,be),be},me.prototype.createStyleClone=function(Ae){try{var be=Ae.sheet;if(be&&be.cssRules){var we=[].slice.call(be.cssRules,0).reduce(function(It,$t){return $t&&typeof $t.cssText=="string"?It+$t.cssText:It},""),nt=Ae.cloneNode(!1);return nt.textContent=we,nt}}catch(It){if(this.context.logger.error("Unable to access cssRules property",It),It.name!=="SecurityError")throw It}return Ae.cloneNode(!1)},me.prototype.createCanvasClone=function(Ae){var be;if(this.options.inlineImages&&Ae.ownerDocument){var we=Ae.ownerDocument.createElement("img");try{return we.src=Ae.toDataURL(),we}catch(wr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var nt=Ae.cloneNode(!1);try{nt.width=Ae.width,nt.height=Ae.height;var It=Ae.getContext("2d"),$t=nt.getContext("2d");if($t)if(!this.options.allowTaint&&It)$t.putImageData(It.getImageData(0,0,Ae.width,Ae.height),0,0);else{var En=(be=Ae.getContext("webgl2"))!==null&&be!==void 0?be:Ae.getContext("webgl");if(En){var Bn=En.getContextAttributes();(Bn==null?void 0:Bn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}$t.drawImage(Ae,0,0)}return nt}catch(wr){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return nt},me.prototype.createVideoClone=function(Ae){var be=Ae.ownerDocument.createElement("canvas");be.width=Ae.offsetWidth,be.height=Ae.offsetHeight;var we=be.getContext("2d");try{return we&&(we.drawImage(Ae,0,0,be.width,be.height),this.options.allowTaint||we.getImageData(0,0,be.width,be.height)),be}catch(It){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var nt=Ae.ownerDocument.createElement("canvas");return nt.width=Ae.offsetWidth,nt.height=Ae.offsetHeight,nt},me.prototype.appendChildNode=function(Ae,be,we){(!YA(be)||!lh(be)&&!be.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(be)))&&(!this.options.copyStyles||!YA(be)||!sh(be))&&Ae.appendChild(this.cloneNode(be,we))},me.prototype.cloneChildNodes=function(Ae,be,we){for(var nt=this,It=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;It;It=It.nextSibling)if(YA(It)&&vp(It)&&typeof It.assignedNodes=="function"){var $t=It.assignedNodes();$t.length&&$t.forEach(function(En){return nt.appendChildNode(be,En,we)})}else this.appendChildNode(be,It,we)},me.prototype.cloneNode=function(Ae,be){if(dd(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var we=Ae.ownerDocument.defaultView;if(we&&YA(Ae)&&(_h(Ae)||fd(Ae))){var nt=this.createElementClone(Ae);nt.style.transitionProperty="none";var It=we.getComputedStyle(Ae),$t=we.getComputedStyle(Ae,":before"),En=we.getComputedStyle(Ae,":after");this.referenceElement===Ae&&_h(nt)&&(this.clonedReferenceElement=nt),jl(nt)&&ca(nt);var Bn=this.counters.parse(new al(this.context,It)),wr=this.resolvePseudoContent(Ae,nt,$t,Pe.BEFORE);yp(Ae)&&(be=!0),jh(Ae)||this.cloneChildNodes(Ae,nt,be),wr&&nt.insertBefore(wr,nt.firstChild);var Or=this.resolvePseudoContent(Ae,nt,En,Pe.AFTER);return Or&&nt.appendChild(Or),this.counters.pop(Bn),(It&&(this.options.copyStyles||fd(Ae))&&!FA(Ae)||be)&&jn(It,nt),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([nt,Ae.scrollLeft,Ae.scrollTop]),(Nf(Ae)||uh(Ae))&&(Nf(nt)||uh(nt))&&(nt.value=Ae.value),nt}return Ae.cloneNode(!1)},me.prototype.resolvePseudoContent=function(Ae,be,we,nt){var It=this;if(we){var $t=we.content,En=be.ownerDocument;if(!(!En||!$t||$t==="none"||$t==="-moz-alt-content"||we.display==="none")){this.counters.parse(new al(this.context,we));var Bn=new bl(this.context,we),wr=En.createElement("html2canvaspseudoelement");jn(we,wr),Bn.content.forEach(function(Hr){if(Hr.type===0)wr.appendChild(En.createTextNode(Hr.value));else if(Hr.type===22){var Ni=En.createElement("img");Ni.src=Hr.value,Ni.style.opacity="1",wr.appendChild(Ni)}else if(Hr.type===18){if(Hr.name==="attr"){var fa=Hr.values.filter(Va);fa.length&&wr.appendChild(En.createTextNode(Ae.getAttribute(fa[0].value)||""))}else if(Hr.name==="counter"){var go=Hr.values.filter(Ou),Vo=go[0],ds=go[1];if(Vo&&Va(Vo)){var wa=It.counters.getCounterValue(Vo.value),va=ds&&Va(ds)?sd.parse(It.context,ds.value):3;wr.appendChild(En.createTextNode(ne(wa,va,!1)))}}else if(Hr.name==="counters"){var rs=Hr.values.filter(Ou),Vo=rs[0],Cs=rs[1],ds=rs[2];if(Vo&&Va(Vo)){var Ga=It.counters.getCounterValues(Vo.value),aa=ds&&Va(ds)?sd.parse(It.context,ds.value):3,Ys=Cs&&Cs.type===0?Cs.value:"",Ts=Ga.map(function(DA){return ne(DA,aa,!1)}).join(Ys);wr.appendChild(En.createTextNode(Ts))}}}else if(Hr.type===20)switch(Hr.value){case"open-quote":wr.appendChild(En.createTextNode(Go(Bn.quotes,It.quoteDepth++,!0)));break;case"close-quote":wr.appendChild(En.createTextNode(Go(Bn.quotes,--It.quoteDepth,!1)));break;default:wr.appendChild(En.createTextNode(Hr.value))}}),wr.className=Io+" "+Wo;var Or=nt===Pe.BEFORE?" "+Io:" "+Wo;return fd(be)?be.className.baseValue+=Or:be.className+=Or,wr}}},me.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},me}(),Pe;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(Pe||(Pe={}));var et=function(me,Ae){var be=me.createElement("iframe");return be.className="html2canvas-container",be.style.visibility="hidden",be.style.position="fixed",be.style.left="-10000px",be.style.top="0px",be.style.border="0",be.width=Ae.width.toString(),be.height=Ae.height.toString(),be.scrolling="no",be.setAttribute(te,"true"),me.body.appendChild(be),be},vt=function(me){return new Promise(function(Ae){if(me.complete){Ae();return}if(!me.src){Ae();return}me.onload=Ae,me.onerror=Ae})},Ft=function(me){return Promise.all([].slice.call(me.images,0).map(vt))},Nt=function(me){return new Promise(function(Ae,be){var we=me.contentWindow;if(!we)return be("No window assigned for iframe");var nt=we.document;we.onload=me.onload=function(){we.onload=me.onload=null;var It=setInterval(function(){nt.body.childNodes.length>0&&nt.readyState==="complete"&&(clearInterval(It),Ae(me))},50)}})},Dn=["all","d","content"],jn=function(me,Ae){for(var be=me.length-1;be>=0;be--){var we=me.item(be);Dn.indexOf(we)===-1&&Ae.style.setProperty(we,me.getPropertyValue(we))}return Ae},Pr=function(me){var Ae="";return me&&(Ae+=""),Ae},xr=function(me,Ae,be){me&&me.defaultView&&(Ae!==me.defaultView.pageXOffset||be!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(Ae,be)},vi=function(me){var Ae=me[0],be=me[1],we=me[2];Ae.scrollLeft=be,Ae.scrollTop=we},Wi=":before",Ao=":after",Io="___html2canvas___pseudoelement_before",Wo="___html2canvas___pseudoelement_after",Lo=`{ content: "" !important; display: none !important; }`,ca=function(me){Ma(me,"."+Io+Wi+Lo+` - .`+Wo+Ao+Lo)},Ma=function(me,Ae){var be=me.ownerDocument;if(be){var we=be.createElement("style");we.textContent=Ae,me.appendChild(we)}},Ba=function(){function me(){}return me.getOrigin=function(Ae){var be=me._link;return be?(be.href=Ae,be.href=be.href,be.protocol+be.hostname+be.port):"about:blank"},me.isSameOrigin=function(Ae){return me.getOrigin(Ae)===me._origin},me.setContext=function(Ae){me._link=Ae.document.createElement("a"),me._origin=me.getOrigin(Ae.location.href)},me._origin="about:blank",me}(),Ha=function(){function me(Ae,be){this.context=Ae,this._options=be,this._cache={}}return me.prototype.addImage=function(Ae){var be=Promise.resolve();return this.has(Ae)||(Bc(Ae)||xc(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),be},me.prototype.match=function(Ae){return this._cache[Ae]},me.prototype.loadImage=function(Ae){return dt(this,void 0,void 0,function(){var be,we,nt,It,$t=this;return Ie(this,function(En){switch(En.label){case 0:return be=Ba.isSameOrigin(Ae),we=!ic(Ae)&&this._options.useCORS===!0&&yu.SUPPORT_CORS_IMAGES&&!be,nt=!ic(Ae)&&!be&&!Bc(Ae)&&typeof this._options.proxy=="string"&&yu.SUPPORT_CORS_XHR&&!we,!be&&this._options.allowTaint===!1&&!ic(Ae)&&!Bc(Ae)&&!nt&&!we?[2]:(It=Ae,nt?[4,this.proxy(It)]:[3,2]);case 1:It=En.sent(),En.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(Bn,wr){var Or=new Image;Or.onload=function(){return Bn(Or)},Or.onerror=wr,(_u(It)||we)&&(Or.crossOrigin="anonymous"),Or.src=It,Or.complete===!0&&setTimeout(function(){return Bn(Or)},500),$t._options.imageTimeout>0&&setTimeout(function(){return wr("Timed out ("+$t._options.imageTimeout+"ms) loading image")},$t._options.imageTimeout)})];case 3:return[2,En.sent()]}})})},me.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(Ae){var be=this,we=this._options.proxy;if(!we)throw new Error("No proxy defined");var nt=Ae.substring(0,256);return new Promise(function(It,$t){var En=yu.SUPPORT_RESPONSE_TYPE?"blob":"text",Bn=new XMLHttpRequest;Bn.onload=function(){if(Bn.status===200)if(En==="text")It(Bn.response);else{var Hr=new FileReader;Hr.addEventListener("load",function(){return It(Hr.result)},!1),Hr.addEventListener("error",function(Ni){return $t(Ni)},!1),Hr.readAsDataURL(Bn.response)}else $t("Failed to proxy resource "+nt+" with status code "+Bn.status)},Bn.onerror=$t;var wr=we.indexOf("?")>-1?"&":"?";if(Bn.open("GET",""+we+wr+"url="+encodeURIComponent(Ae)+"&responseType="+En),En!=="text"&&Bn instanceof XMLHttpRequest&&(Bn.responseType=En),be._options.imageTimeout){var Or=be._options.imageTimeout;Bn.timeout=Or,Bn.ontimeout=function(){return $t("Timed out ("+Or+"ms) proxying "+nt)}}Bn.send()})},me}(),Bl=/^data:image\/svg\+xml/i,Xu=/^data:image\/.*;base64,/i,$l=/^data:image\/.*/i,xc=function(me){return yu.SUPPORT_SVG_DRAWING||!hc(me)},ic=function(me){return $l.test(me)},_u=function(me){return Xu.test(me)},Bc=function(me){return me.substr(0,4)==="blob"},hc=function(me){return me.substr(-3).toLowerCase()==="svg"||Bl.test(me)},So=function(){function me(Ae,be){this.type=0,this.x=Ae,this.y=be}return me.prototype.add=function(Ae,be){return new me(this.x+Ae,this.y+be)},me}(),zl=function(me,Ae,be){return new So(me.x+(Ae.x-me.x)*be,me.y+(Ae.y-me.y)*be)},Jl=function(){function me(Ae,be,we,nt){this.type=1,this.start=Ae,this.startControl=be,this.endControl=we,this.end=nt}return me.prototype.subdivide=function(Ae,be){var we=zl(this.start,this.startControl,Ae),nt=zl(this.startControl,this.endControl,Ae),It=zl(this.endControl,this.end,Ae),$t=zl(we,nt,Ae),En=zl(nt,It,Ae),Bn=zl($t,En,Ae);return be?new me(this.start,we,$t,Bn):new me(Bn,En,It,this.end)},me.prototype.add=function(Ae,be){return new me(this.start.add(Ae,be),this.startControl.add(Ae,be),this.endControl.add(Ae,be),this.end.add(Ae,be))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),ql=function(me){return me.type===1},Of=function(){function me(Ae){var be=Ae.styles,we=Ae.bounds,nt=Pu(be.borderTopLeftRadius,we.width,we.height),It=nt[0],$t=nt[1],En=Pu(be.borderTopRightRadius,we.width,we.height),Bn=En[0],wr=En[1],Or=Pu(be.borderBottomRightRadius,we.width,we.height),Hr=Or[0],Ni=Or[1],fa=Pu(be.borderBottomLeftRadius,we.width,we.height),go=fa[0],Vo=fa[1],ds=[];ds.push((It+Bn)/we.width),ds.push((go+Hr)/we.width),ds.push(($t+Vo)/we.height),ds.push((wr+Ni)/we.height);var wa=Math.max.apply(Math,ds);wa>1&&(It/=wa,$t/=wa,Bn/=wa,wr/=wa,Hr/=wa,Ni/=wa,go/=wa,Vo/=wa);var va=we.width-Bn,rs=we.height-Ni,Cs=we.width-Hr,Ga=we.height-Vo,aa=be.borderTopWidth,Ys=be.borderRightWidth,Ts=be.borderBottomWidth,is=be.borderLeftWidth,Ro=vs(be.paddingTop,Ae.bounds.width),DA=vs(be.paddingRight,Ae.bounds.width),_A=vs(be.paddingBottom,Ae.bounds.width),Kl=vs(be.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=It>0||$t>0?Es(we.left+is/3,we.top+aa/3,It-is/3,$t-aa/3,Zs.TOP_LEFT):new So(we.left+is/3,we.top+aa/3),this.topRightBorderDoubleOuterBox=It>0||$t>0?Es(we.left+va,we.top+aa/3,Bn-Ys/3,wr-aa/3,Zs.TOP_RIGHT):new So(we.left+we.width-Ys/3,we.top+aa/3),this.bottomRightBorderDoubleOuterBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys/3,Ni-Ts/3,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys/3,we.top+we.height-Ts/3),this.bottomLeftBorderDoubleOuterBox=go>0||Vo>0?Es(we.left+is/3,we.top+Ga,go-is/3,Vo-Ts/3,Zs.BOTTOM_LEFT):new So(we.left+is/3,we.top+we.height-Ts/3),this.topLeftBorderDoubleInnerBox=It>0||$t>0?Es(we.left+is*2/3,we.top+aa*2/3,It-is*2/3,$t-aa*2/3,Zs.TOP_LEFT):new So(we.left+is*2/3,we.top+aa*2/3),this.topRightBorderDoubleInnerBox=It>0||$t>0?Es(we.left+va,we.top+aa*2/3,Bn-Ys*2/3,wr-aa*2/3,Zs.TOP_RIGHT):new So(we.left+we.width-Ys*2/3,we.top+aa*2/3),this.bottomRightBorderDoubleInnerBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys*2/3,Ni-Ts*2/3,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys*2/3,we.top+we.height-Ts*2/3),this.bottomLeftBorderDoubleInnerBox=go>0||Vo>0?Es(we.left+is*2/3,we.top+Ga,go-is*2/3,Vo-Ts*2/3,Zs.BOTTOM_LEFT):new So(we.left+is*2/3,we.top+we.height-Ts*2/3),this.topLeftBorderStroke=It>0||$t>0?Es(we.left+is/2,we.top+aa/2,It-is/2,$t-aa/2,Zs.TOP_LEFT):new So(we.left+is/2,we.top+aa/2),this.topRightBorderStroke=It>0||$t>0?Es(we.left+va,we.top+aa/2,Bn-Ys/2,wr-aa/2,Zs.TOP_RIGHT):new So(we.left+we.width-Ys/2,we.top+aa/2),this.bottomRightBorderStroke=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys/2,Ni-Ts/2,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys/2,we.top+we.height-Ts/2),this.bottomLeftBorderStroke=go>0||Vo>0?Es(we.left+is/2,we.top+Ga,go-is/2,Vo-Ts/2,Zs.BOTTOM_LEFT):new So(we.left+is/2,we.top+we.height-Ts/2),this.topLeftBorderBox=It>0||$t>0?Es(we.left,we.top,It,$t,Zs.TOP_LEFT):new So(we.left,we.top),this.topRightBorderBox=Bn>0||wr>0?Es(we.left+va,we.top,Bn,wr,Zs.TOP_RIGHT):new So(we.left+we.width,we.top),this.bottomRightBorderBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr,Ni,Zs.BOTTOM_RIGHT):new So(we.left+we.width,we.top+we.height),this.bottomLeftBorderBox=go>0||Vo>0?Es(we.left,we.top+Ga,go,Vo,Zs.BOTTOM_LEFT):new So(we.left,we.top+we.height),this.topLeftPaddingBox=It>0||$t>0?Es(we.left+is,we.top+aa,Math.max(0,It-is),Math.max(0,$t-aa),Zs.TOP_LEFT):new So(we.left+is,we.top+aa),this.topRightPaddingBox=Bn>0||wr>0?Es(we.left+Math.min(va,we.width-Ys),we.top+aa,va>we.width+Ys?0:Math.max(0,Bn-Ys),Math.max(0,wr-aa),Zs.TOP_RIGHT):new So(we.left+we.width-Ys,we.top+aa),this.bottomRightPaddingBox=Hr>0||Ni>0?Es(we.left+Math.min(Cs,we.width-is),we.top+Math.min(rs,we.height-Ts),Math.max(0,Hr-Ys),Math.max(0,Ni-Ts),Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys,we.top+we.height-Ts),this.bottomLeftPaddingBox=go>0||Vo>0?Es(we.left+is,we.top+Math.min(Ga,we.height-Ts),Math.max(0,go-is),Math.max(0,Vo-Ts),Zs.BOTTOM_LEFT):new So(we.left+is,we.top+we.height-Ts),this.topLeftContentBox=It>0||$t>0?Es(we.left+is+Kl,we.top+aa+Ro,Math.max(0,It-(is+Kl)),Math.max(0,$t-(aa+Ro)),Zs.TOP_LEFT):new So(we.left+is+Kl,we.top+aa+Ro),this.topRightContentBox=Bn>0||wr>0?Es(we.left+Math.min(va,we.width+is+Kl),we.top+aa+Ro,va>we.width+is+Kl?0:Bn-is+Kl,wr-(aa+Ro),Zs.TOP_RIGHT):new So(we.left+we.width-(Ys+DA),we.top+aa+Ro),this.bottomRightContentBox=Hr>0||Ni>0?Es(we.left+Math.min(Cs,we.width-(is+Kl)),we.top+Math.min(rs,we.height+aa+Ro),Math.max(0,Hr-(Ys+DA)),Ni-(Ts+_A),Zs.BOTTOM_RIGHT):new So(we.left+we.width-(Ys+DA),we.top+we.height-(Ts+_A)),this.bottomLeftContentBox=go>0||Vo>0?Es(we.left+is+Kl,we.top+Ga,Math.max(0,go-(is+Kl)),Vo-(Ts+_A),Zs.BOTTOM_LEFT):new So(we.left+is+Kl,we.top+we.height-(Ts+_A))}return me}(),Zs;(function(me){me[me.TOP_LEFT=0]="TOP_LEFT",me[me.TOP_RIGHT=1]="TOP_RIGHT",me[me.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",me[me.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Zs||(Zs={}));var Es=function(me,Ae,be,we,nt){var It=4*((Math.sqrt(2)-1)/3),$t=be*It,En=we*It,Bn=me+be,wr=Ae+we;switch(nt){case Zs.TOP_LEFT:return new Jl(new So(me,wr),new So(me,wr-En),new So(Bn-$t,Ae),new So(Bn,Ae));case Zs.TOP_RIGHT:return new Jl(new So(me,Ae),new So(me+$t,Ae),new So(Bn,wr-En),new So(Bn,wr));case Zs.BOTTOM_RIGHT:return new Jl(new So(Bn,Ae),new So(Bn,Ae+En),new So(me+$t,wr),new So(me,wr));case Zs.BOTTOM_LEFT:default:return new Jl(new So(Bn,wr),new So(Bn-$t,wr),new So(me,Ae+En),new So(me,Ae))}},sA=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},pc=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},dh=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},Qa=function(){function me(Ae,be,we){this.offsetX=Ae,this.offsetY=be,this.matrix=we,this.type=0,this.target=6}return me}(),IA=function(){function me(Ae,be){this.path=Ae,this.target=be,this.type=1}return me}(),dl=function(){function me(Ae){this.opacity=Ae,this.type=2,this.target=6}return me}(),gc=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},Tf=function(me,Ae){return me.length===Ae.length?me.some(function(be,we){return be===Ae[we]}):!1},Jg=function(me,Ae,be,we,nt){return me.map(function(It,$t){switch($t){case 0:return It.add(Ae,be);case 1:return It.add(Ae+we,be);case 2:return It.add(Ae+we,be+nt);case 3:return It.add(Ae,be+nt)}return It})},bp=function(){function me(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),wg=function(){function me(Ae,be){if(this.container=Ae,this.parent=be,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new dl(this.container.styles.opacity)),this.container.styles.transform!==null){var we=this.container.bounds.left+this.container.styles.transformOrigin[0].number,nt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,It=this.container.styles.transform;this.effects.push(new Qa(we,nt,It))}if(this.container.styles.overflowX!==0){var $t=sA(this.curves),En=dh(this.curves);Tf($t,En)?this.effects.push(new IA($t,6)):(this.effects.push(new IA($t,2)),this.effects.push(new IA(En,4)))}}return me.prototype.getEffects=function(Ae){for(var be=[2,3].indexOf(this.container.styles.position)===-1,we=this.parent,nt=this.effects.slice(0);we;){var It=we.effects.filter(function(Bn){return!Md(Bn)});if(be||we.container.styles.position!==0||!we.parent){if(nt.unshift.apply(nt,It),be=[2,3].indexOf(we.container.styles.position)===-1,we.container.styles.overflowX!==0){var $t=sA(we.curves),En=dh(we.curves);Tf($t,En)||nt.unshift(new IA(En,6))}}else nt.unshift.apply(nt,It);we=we.parent}return nt.filter(function(Bn){return Zo(Bn.target,Ae)})},me}(),Cp=function(me,Ae,be,we){me.container.elements.forEach(function(nt){var It=Zo(nt.flags,4),$t=Zo(nt.flags,2),En=new wg(nt,me);Zo(nt.styles.display,2048)&&we.push(En);var Bn=Zo(nt.flags,8)?[]:we;if(It||$t){var wr=It||nt.styles.isPositioned()?be:Ae,Or=new bp(En);if(nt.styles.isPositioned()||nt.styles.opacity<1||nt.styles.isTransformed()){var Hr=nt.styles.zIndex.order;if(Hr<0){var Ni=0;wr.negativeZIndex.some(function(go,Vo){return Hr>go.element.container.styles.zIndex.order?(Ni=Vo,!1):Ni>0}),wr.negativeZIndex.splice(Ni,0,Or)}else if(Hr>0){var fa=0;wr.positiveZIndex.some(function(go,Vo){return Hr>=go.element.container.styles.zIndex.order?(fa=Vo+1,!1):fa>0}),wr.positiveZIndex.splice(fa,0,Or)}else wr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Or)}else nt.styles.isFloating()?wr.nonPositionedFloats.push(Or):wr.nonPositionedInlineLevel.push(Or);Cp(En,Or,It?Or:be,Bn)}else nt.styles.isInlineLevel()?Ae.inlineLevel.push(En):Ae.nonInlineLevel.push(En),Cp(En,Ae,be,Bn);Zo(nt.flags,8)&&xp(nt,Bn)})},xp=function(me,Ae){for(var be=me instanceof of?me.start:1,we=me instanceof of?me.reversed:!1,nt=0;nt0&&be.intrinsicHeight>0){var It=tg(be),$t=dh(we);this.path($t),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(nt,0,0,be.intrinsicWidth,be.intrinsicHeight,It.left,It.top,It.width,It.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(be){return dt(this,void 0,void 0,function(){var we,nt,It,$t,En,Bn,va,va,wr,Or,Hr,Ni,Cs,fa,go,Ga,Vo,ds,wa,va,rs,Cs,Ga;return Ie(this,function(aa){switch(aa.label){case 0:this.applyEffects(be.getEffects(4)),we=be.container,nt=be.curves,It=we.styles,$t=0,En=we.textNodes,aa.label=1;case 1:return $t0&&Oc>0&&(Ts=It.ctx.createPattern(Ga,"repeat"),It.renderRepeat(Ro,Ts,tA,lA))):Th(Or)&&(is=Ud(be,we,[null,null,null]),Ro=is[0],DA=is[1],_A=is[2],Kl=is[3],Oc=is[4],sf=Or.position.length===0?[qu]:Or.position,tA=vs(sf[0],Kl),lA=vs(sf[sf.length-1],Oc),hh=iA(Or,tA,lA,Kl,Oc),JA=hh[0],lf=hh[1],JA>0&&lf>0&&(ph=It.ctx.createRadialGradient(DA+tA,_A+lA,0,DA+tA,_A+lA,JA),Vc(Or.stops,JA*2).forEach(function(jf){return ph.addColorStop(jf.stop,Il(jf.color))}),It.path(Ro),It.ctx.fillStyle=ph,JA!==lf?(Qf=be.bounds.left+.5*be.bounds.width,Qd=be.bounds.top+.5*be.bounds.height,_f=lf/JA,uf=1/_f,It.ctx.save(),It.ctx.translate(Qf,Qd),It.ctx.transform(1,0,0,_f,0,0),It.ctx.translate(-Qf,-Qd),It.ctx.fillRect(DA,uf*(_A-Qd)+Qd,Kl,Oc*uf),It.ctx.restore()):It.ctx.fill())),Zh.label=6;case 6:return we--,[2]}})},It=this,$t=0,En=be.styles.backgroundImage.slice(0).reverse(),wr.label=1;case 1:return $t0?Or.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Or.color,Or.width,En,be.curves,2)]:[3,11]):[3,13];case 4:return Ni.sent(),[3,11];case 5:return Or.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Or.color,Or.width,En,be.curves,3)];case 6:return Ni.sent(),[3,11];case 7:return Or.style!==4?[3,9]:[4,this.renderDoubleBorder(Or.color,Or.width,En,be.curves)];case 8:return Ni.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Or.color,En,be.curves)];case 10:Ni.sent(),Ni.label=11;case 11:En++,Ni.label=12;case 12:return Bn++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(be,we,nt,It,$t){return dt(this,void 0,void 0,function(){var En,Bn,wr,Or,Hr,Ni,fa,go,Vo,ds,wa,va,rs,Cs,Ga,aa,Ga,aa;return Ie(this,function(Ys){return this.ctx.save(),En=qg(It,nt),Bn=_c(It,nt),$t===2&&(this.path(Bn),this.ctx.clip()),ql(Bn[0])?(wr=Bn[0].start.x,Or=Bn[0].start.y):(wr=Bn[0].x,Or=Bn[0].y),ql(Bn[1])?(Hr=Bn[1].end.x,Ni=Bn[1].end.y):(Hr=Bn[1].x,Ni=Bn[1].y),nt===0||nt===2?fa=Math.abs(wr-Hr):fa=Math.abs(Or-Ni),this.ctx.beginPath(),$t===3?this.formatPath(En):this.formatPath(Bn.slice(0,2)),go=we<3?we*3:we*2,Vo=we<3?we*2:we,$t===3&&(go=we,Vo=we),ds=!0,fa<=go*2?ds=!1:fa<=go*2+Vo?(wa=fa/(2*go+Vo),go*=wa,Vo*=wa):(va=Math.floor((fa+Vo)/(go+Vo)),rs=(fa-va*go)/(va-1),Cs=(fa-(va+1)*go)/va,Vo=Cs<=0||Math.abs(Vo-rs)at){var We=Bt;Bt=at,at=We}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",at>Bt){var We=Bt;Bt=at,at=We}}else throw"Invalid orientation: "+Ct;var Te={width:Bt,height:at,unit:He,k:it};return Te},xe.default=ut.jsPDF},"./src/plugin/pagebreaks.js":function(he,xe,oe){"use strict";oe.r(xe);var Ne=oe("./node_modules/core-js/modules/es.array.concat.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.array.slice.js"),Se=oe.n(Re),Pe=oe("./node_modules/core-js/modules/es.array.join.js"),ye=oe.n(Pe),Ce=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.object.keys.js"),Ke=oe.n(Me),je=oe("./src/worker.js"),_e=oe("./src/utils.js"),Je={toContainer:je.default.prototype.toContainer};je.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},je.default.prototype.toContainer=function(){return Je.toContainer.call(this).then(function(){var ot=this.prop.container,ht=this.prop.pageSize.inner.px.height,Ct=[].concat(this.opt.pagebreak.mode),He={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},ft={},De=this;["before","after","avoid"].forEach(function(it){var at=He.avoidAll&&it==="avoid";ft[it]=at?[]:[].concat(De.opt.pagebreak[it]||[]),ft[it].length>0&&(ft[it]=Array.prototype.slice.call(ot.querySelectorAll(ft[it].join(", "))))});var Qe=ot.querySelectorAll(".html2pdf__page-break");Qe=Array.prototype.slice.call(Qe);var Ot=ot.querySelectorAll("*");Array.prototype.forEach.call(Ot,function(at){var Bt={before:!1,after:He.legacy&&Qe.indexOf(at)!==-1,avoid:He.avoidAll};if(He.css){var We=window.getComputedStyle(at),Te=["always","page","left","right"],ct=["avoid","avoid-page"];Bt={before:Bt.before||Te.indexOf(We.breakBefore||We.pageBreakBefore)!==-1,after:Bt.after||Te.indexOf(We.breakAfter||We.pageBreakAfter)!==-1,avoid:Bt.avoid||ct.indexOf(We.breakInside||We.pageBreakInside)!==-1}}Object.keys(Bt).forEach(function(hn){Bt[hn]=Bt[hn]||ft[hn].indexOf(at)!==-1});var Zt=at.getBoundingClientRect();if(Bt.avoid&&!Bt.before){var jt=Math.floor(Zt.top/ht),tt=Math.floor(Zt.bottom/ht),Tt=Math.abs(Zt.bottom-Zt.top)/ht;tt!==jt&&Tt<=1&&(Bt.before=!0)}if(Bt.before){var _t=(0,_e.createElement)("div",{style:{display:"block",height:ht-Zt.top%ht+"px"}});at.parentNode.insertBefore(_t,at)}if(Bt.after){var _t=(0,_e.createElement)("div",{style:{display:"block",height:ht-Zt.bottom%ht+"px"}});at.parentNode.insertBefore(_t,at.nextSibling)}})})}},"./src/utils.js":function(he,xe,oe){"use strict";oe.r(xe),oe.d(xe,{objType:function(){return Ct},createElement:function(){return He},cloneNode:function(){return ft},unitConvert:function(){return De},toPx:function(){return Qe}});var Ne=oe("./node_modules/core-js/modules/es.number.constructor.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.symbol.js"),Se=oe.n(Re),Pe=oe("./node_modules/core-js/modules/es.symbol.description.js"),ye=oe.n(Pe),Ce=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=oe.n(Me),je=oe("./node_modules/core-js/modules/es.array.iterator.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.string.iterator.js"),Xe=oe.n(Je),ut=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ot=oe.n(ut);function ht(Ot){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(at){return typeof at}:ht=function(at){return at&&typeof Symbol=="function"&&at.constructor===Symbol&&at!==Symbol.prototype?"symbol":typeof at},ht(Ot)}var Ct=function(it){var at=ht(it);return at==="undefined"?"undefined":at==="string"||it instanceof String?"string":at==="number"||it instanceof Number?"number":at==="function"||it instanceof Function?"function":it&&it.constructor===Array?"array":it&&it.nodeType===1?"element":at==="object"?"object":"unknown"},He=function(it,at){var Bt=document.createElement(it);if(at.className&&(Bt.className=at.className),at.innerHTML){Bt.innerHTML=at.innerHTML;for(var We=Bt.getElementsByTagName("script"),Te=We.length;Te-- >0;null)We[Te].parentNode.removeChild(We[Te])}for(var ct in at.style)Bt.style[ct]=at.style[ct];return Bt},ft=function Ot(it,at){for(var Bt=it.nodeType===3?document.createTextNode(it.nodeValue):it.cloneNode(!1),We=it.firstChild;We;We=We.nextSibling)(at===!0||We.nodeType!==1||We.nodeName!=="SCRIPT")&&Bt.appendChild(Ot(We,at));return it.nodeType===1&&(it.nodeName==="CANVAS"?(Bt.width=it.width,Bt.height=it.height,Bt.getContext("2d").drawImage(it,0,0)):(it.nodeName==="TEXTAREA"||it.nodeName==="SELECT")&&(Bt.value=it.value),Bt.addEventListener("load",function(){Bt.scrollTop=it.scrollTop,Bt.scrollLeft=it.scrollLeft},!0)),Bt},De=function(it,at){if(Ct(it)==="number")return it*72/96/at;var Bt={};for(var We in it)Bt[We]=it[We]*72/96/at;return Bt},Qe=function(it,at){return Math.floor(it*at/72*96)}},"./src/worker.js":function(he,xe,oe){"use strict";oe.r(xe);var Ne=oe("./node_modules/core-js/modules/es.object.assign.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.array.map.js"),Se=oe.n(Re),Pe=oe("./node_modules/core-js/modules/es.object.keys.js"),ye=oe.n(Pe),Ce=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=oe.n(Me),je=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.function.name.js"),Xe=oe.n(Je),ut=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ot=oe.n(ut),ht=oe("jspdf"),Ct=oe.n(ht),He=oe("html2canvas"),ft=oe.n(He),De=oe("./src/utils.js"),Qe=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ot=oe.n(Qe),it=Ot().Promise,at=function Bt(We){var Te=Object.assign(Bt.convert(it.resolve()),JSON.parse(JSON.stringify(Bt.template))),ct=Bt.convert(it.resolve(),Te);return ct=ct.setProgress(1,Bt,1,[Bt]),ct=ct.set(We),ct};at.prototype=Object.create(it.prototype),at.prototype.constructor=at,at.convert=function(We,Te){return We.__proto__=Te||at.prototype,We},at.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},at.prototype.from=function(We,Te){function ct(Zt){switch((0,De.objType)(Zt)){case"string":return"string";case"element":return Zt.nodeName.toLowerCase&&Zt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Te=Te||ct(We),Te){case"string":return this.set({src:(0,De.createElement)("div",{innerHTML:We})});case"element":return this.set({src:We});case"canvas":return this.set({canvas:We});case"img":return this.set({img:We});default:return this.error("Unknown source type.")}})},at.prototype.to=function(We){switch(We){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},at.prototype.toContainer=function(){var We=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var ct={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Zt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ct.opacity=0;var jt=(0,De.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,De.createElement)("div",{className:"html2pdf__overlay",style:ct}),this.prop.container=(0,De.createElement)("div",{className:"html2pdf__container",style:Zt}),this.prop.container.appendChild(jt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},at.prototype.toCanvas=function(){var We=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(We).then(function(){var ct=Object.assign({},this.opt.html2canvas);return delete ct.onrendered,He(this.prop.container,ct)}).then(function(ct){var Zt=this.opt.html2canvas.onrendered||function(){};Zt(ct),this.prop.canvas=ct,document.body.removeChild(this.prop.overlay)})},at.prototype.toImg=function(){var We=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(We).then(function(){var ct=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ct})},at.prototype.toPdf=function(){var We=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var ct=this.prop.canvas,Zt=this.opt,jt=ct.height,tt=Math.floor(ct.width*this.prop.pageSize.inner.ratio),Tt=Math.ceil(jt/tt),_t=this.prop.pageSize.inner.height,hn=document.createElement("canvas"),Pt=hn.getContext("2d");hn.width=ct.width,hn.height=tt,this.prop.pdf=this.prop.pdf||new ht.jsPDF(Zt.jsPDF);for(var vn=0;vn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),Re=oe("./node_modules/core-js/internals/to-absolute-index.js"),Se=function(Pe){return function(ye,Ce,Ee){var Me=Ne(ye),Ke=ve(Me.length),je=Re(Ee,Ke),_e;if(Pe&&Ce!=Ce){for(;Ke>je;)if(_e=Me[je++],_e!=_e)return!0}else for(;Ke>je;je++)if((Pe||je in Me)&&Me[je]===Ce)return Pe||je||0;return!Pe&&-1}};he.exports={includes:Se(!0),indexOf:Se(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/function-bind-context.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-object.js"),Se=oe("./node_modules/core-js/internals/to-length.js"),Pe=oe("./node_modules/core-js/internals/array-species-create.js"),ye=[].push,Ce=function(Ee){var Me=Ee==1,Ke=Ee==2,je=Ee==3,_e=Ee==4,Je=Ee==6,Xe=Ee==7,ut=Ee==5||Je;return function(ot,ht,Ct,He){for(var ft=Re(ot),De=ve(ft),Qe=Ne(ht,Ct,3),Ot=Se(De.length),it=0,at=He||Pe,Bt=Me?at(ot,Ot):Ke||Xe?at(ot,0):void 0,We,Te;Ot>it;it++)if((ut||it in De)&&(We=De[it],Te=Qe(We,it,ft),Ee))if(Me)Bt[it]=Te;else if(Te)switch(Ee){case 3:return!0;case 5:return We;case 6:return it;case 2:ye.call(Bt,We)}else switch(Ee){case 4:return!1;case 7:ye.call(Bt,We)}return Je?-1:je||_e?_e:Bt}};he.exports={forEach:Ce(0),map:Ce(1),filter:Ce(2),some:Ce(3),every:Ce(4),find:Ce(5),findIndex:Ce(6),filterReject:Ce(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/well-known-symbol.js"),Re=oe("./node_modules/core-js/internals/engine-v8-version.js"),Se=ve("species");he.exports=function(Pe){return Re>=51||!Ne(function(){var ye=[],Ce=ye.constructor={};return Ce[Se]=function(){return{foo:1}},ye[Pe](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=function(ve,Re){var Se=[][ve];return!!Se&&Ne(function(){Se.call(null,Re||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-array.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("species");he.exports=function(Pe){var ye;return ve(Pe)&&(ye=Pe.constructor,typeof ye=="function"&&(ye===Array||ve(ye.prototype))?ye=void 0:Ne(ye)&&(ye=ye[Se],ye===null&&(ye=void 0))),ye===void 0?Array:ye}},"./node_modules/core-js/internals/array-species-create.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/array-species-constructor.js");he.exports=function(ve,Re){return new(Ne(ve))(Re===0?0:Re)}},"./node_modules/core-js/internals/classof-raw.js":function(he){var xe={}.toString;he.exports=function(oe){return xe.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag"),Pe=ve(function(){return arguments}())=="Arguments",ye=function(Ce,Ee){try{return Ce[Ee]}catch(Me){}};he.exports=Ne?ve:function(Ce){var Ee,Me,Ke;return Ce===void 0?"Undefined":Ce===null?"Null":typeof(Me=ye(Ee=Object(Ce),Se))=="string"?Me:Pe?ve(Ee):(Ke=ve(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/own-keys.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js");he.exports=function(Pe,ye){for(var Ce=ve(ye),Ee=Se.f,Me=Re.f,Ke=0;Ke"+Ee+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ve=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Pe=oe("./node_modules/core-js/internals/iterators.js"),ye=function(){return this};he.exports=function(Ce,Ee,Me){var Ke=Ee+" Iterator";return Ce.prototype=ve(Ne,{next:Re(1,Me)}),Se(Ce,Ke,!1,!0),Pe[Ke]=ye,Ce}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");he.exports=Ne?function(Se,Pe,ye){return ve.f(Se,Pe,Re(1,ye))}:function(Se,Pe,ye){return Se[Pe]=ye,Se}},"./node_modules/core-js/internals/create-property-descriptor.js":function(he){he.exports=function(xe,oe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");he.exports=function(Se,Pe,ye){var Ce=Ne(Pe);Ce in Se?ve.f(Se,Ce,Re(0,ye)):Se[Ce]=ye}},"./node_modules/core-js/internals/define-iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Re=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Se=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),Pe=oe("./node_modules/core-js/internals/set-to-string-tag.js"),ye=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/is-pure.js"),Ke=oe("./node_modules/core-js/internals/iterators.js"),je=oe("./node_modules/core-js/internals/iterators-core.js"),_e=je.IteratorPrototype,Je=je.BUGGY_SAFARI_ITERATORS,Xe=Ee("iterator"),ut="keys",ot="values",ht="entries",Ct=function(){return this};he.exports=function(He,ft,De,Qe,Ot,it,at){ve(De,ft,Qe);var Bt=function(Pt){if(Pt===Ot&&jt)return jt;if(!Je&&Pt in ct)return ct[Pt];switch(Pt){case ut:return function(){return new De(this,Pt)};case ot:return function(){return new De(this,Pt)};case ht:return function(){return new De(this,Pt)}}return function(){return new De(this)}},We=ft+" Iterator",Te=!1,ct=He.prototype,Zt=ct[Xe]||ct["@@iterator"]||Ot&&ct[Ot],jt=!Je&&Zt||Bt(Ot),tt=ft=="Array"&&ct.entries||Zt,Tt,_t,hn;if(tt&&(Tt=Re(tt.call(new He)),_e!==Object.prototype&&Tt.next&&(!Me&&Re(Tt)!==_e&&(Se?Se(Tt,_e):typeof Tt[Xe]!="function"&&ye(Tt,Xe,Ct)),Pe(Tt,We,!0,!0),Me&&(Ke[We]=Ct))),Ot==ot&&Zt&&Zt.name!==ot&&(Te=!0,jt=function(){return Zt.call(this)}),(!Me||at)&&ct[Xe]!==jt&&ye(ct,Xe,jt),Ke[ft]=jt,Ot)if(_t={values:Bt(ot),keys:it?jt:Bt(ut),entries:Bt(ht)},at)for(hn in _t)(Je||Te||!(hn in ct))&&Ce(ct,hn,_t[hn]);else Ne({target:ft,proto:!0,forced:Je||Te},_t);return _t}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/path.js"),ve=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js").f;he.exports=function(Pe){var ye=Ne.Symbol||(Ne.Symbol={});ve(ye,Pe)||Se(ye,Pe,{value:Re.f(Pe)})}},"./node_modules/core-js/internals/descriptors.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=!Ne(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Re=Ne.document,Se=ve(Re)&&ve(Re.createElement);he.exports=function(Pe){return Se?Re.createElement(Pe):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(he){he.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js");he.exports=Ne("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/engine-user-agent.js"),Re=Ne.process,Se=Ne.Deno,Pe=Re&&Re.versions||Se&&Se.version,ye=Pe&&Pe.v8,Ce,Ee;ye?(Ce=ye.split("."),Ee=Ce[0]<4?1:Ce[0]+Ce[1]):ve&&(Ce=ve.match(/Edge\/(\d+)/),(!Ce||Ce[1]>=74)&&(Ce=ve.match(/Chrome\/(\d+)/),Ce&&(Ee=Ce[1]))),he.exports=Ee&&+Ee},"./node_modules/core-js/internals/enum-bug-keys.js":function(he){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/redefine.js"),Pe=oe("./node_modules/core-js/internals/set-global.js"),ye=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ce=oe("./node_modules/core-js/internals/is-forced.js");he.exports=function(Ee,Me){var Ke=Ee.target,je=Ee.global,_e=Ee.stat,Je,Xe,ut,ot,ht,Ct;if(je?Xe=Ne:_e?Xe=Ne[Ke]||Pe(Ke,{}):Xe=(Ne[Ke]||{}).prototype,Xe)for(ut in Me){if(ht=Me[ut],Ee.noTargetGet?(Ct=ve(Xe,ut),ot=Ct&&Ct.value):ot=Xe[ut],Je=Ce(je?ut:Ke+(_e?".":"#")+ut,Ee.forced),!Je&&ot!==void 0){if(typeof ht==typeof ot)continue;ye(ht,ot)}(Ee.sham||ot&&ot.sham)&&Re(ht,"sham",!0),Se(Xe,ut,ht,Ee)}}},"./node_modules/core-js/internals/fails.js":function(he){he.exports=function(xe){try{return!!xe()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/a-function.js");he.exports=function(ve,Re,Se){if(Ne(ve),Re===void 0)return ve;switch(Se){case 0:return function(){return ve.call(Re)};case 1:return function(Pe){return ve.call(Re,Pe)};case 2:return function(Pe,ye){return ve.call(Re,Pe,ye)};case 3:return function(Pe,ye,Ce){return ve.call(Re,Pe,ye,Ce)}}return function(){return ve.apply(Re,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=function(Re){return typeof Re=="function"?Re:void 0};he.exports=function(Re,Se){return arguments.length<2?ve(Ne[Re]):Ne[Re]&&Ne[Re][Se]}},"./node_modules/core-js/internals/global.js":function(he){var xe=function(oe){return oe&&oe.Math==Math&&oe};he.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-object.js"),ve={}.hasOwnProperty;he.exports=Object.hasOwn||function(Se,Pe){return ve.call(Ne(Se),Pe)}},"./node_modules/core-js/internals/hidden-keys.js":function(he){he.exports={}},"./node_modules/core-js/internals/html.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js");he.exports=Ne("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/document-create-element.js");he.exports=!Ne&&!ve(function(){return Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Re="".split;he.exports=Ne(function(){return!Object("z").propertyIsEnumerable(0)})?function(Se){return ve(Se)=="String"?Re.call(Se,""):Object(Se)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-set-prototype-of.js");he.exports=function(Re,Se,Pe){var ye,Ce;return ve&&typeof(ye=Se.constructor)=="function"&&ye!==Pe&&Ne(Ce=ye.prototype)&&Ce!==Pe.prototype&&ve(Re,Ce),Re}},"./node_modules/core-js/internals/inspect-source.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/shared-store.js"),ve=Function.toString;typeof Ne.inspectSource!="function"&&(Ne.inspectSource=function(Re){return ve.call(Re)}),he.exports=Ne.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/native-weak-map.js"),ve=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/is-object.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/shared-store.js"),Ce=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),Me="Object already initialized",Ke=ve.WeakMap,je,_e,Je,Xe=function(De){return Je(De)?_e(De):je(De,{})},ut=function(De){return function(Qe){var Ot;if(!Re(Qe)||(Ot=_e(Qe)).type!==De)throw TypeError("Incompatible receiver, "+De+" required");return Ot}};if(Ne||ye.state){var ot=ye.state||(ye.state=new Ke),ht=ot.get,Ct=ot.has,He=ot.set;je=function(De,Qe){if(Ct.call(ot,De))throw new TypeError(Me);return Qe.facade=De,He.call(ot,De,Qe),Qe},_e=function(De){return ht.call(ot,De)||{}},Je=function(De){return Ct.call(ot,De)}}else{var ft=Ce("state");Ee[ft]=!0,je=function(De,Qe){if(Pe(De,ft))throw new TypeError(Me);return Qe.facade=De,Se(De,ft,Qe),Qe},_e=function(De){return Pe(De,ft)?De[ft]:{}},Je=function(De){return Pe(De,ft)}}he.exports={set:je,get:_e,has:Je,enforce:Xe,getterFor:ut}},"./node_modules/core-js/internals/is-array.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/classof-raw.js");he.exports=Array.isArray||function(Re){return Ne(Re)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=/#|\.prototype\./,Re=function(Ee,Me){var Ke=Pe[Se(Ee)];return Ke==Ce?!0:Ke==ye?!1:typeof Me=="function"?Ne(Me):!!Me},Se=Re.normalize=function(Ee){return String(Ee).replace(ve,".").toLowerCase()},Pe=Re.data={},ye=Re.NATIVE="N",Ce=Re.POLYFILL="P";he.exports=Re},"./node_modules/core-js/internals/is-object.js":function(he){he.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(he){he.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");he.exports=ve?function(Re){return typeof Re=="symbol"}:function(Re){var Se=Ne("Symbol");return typeof Se=="function"&&Object(Re)instanceof Se}},"./node_modules/core-js/internals/iterators-core.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/has.js"),Pe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=oe("./node_modules/core-js/internals/is-pure.js"),Ce=Pe("iterator"),Ee=!1,Me=function(){return this},Ke,je,_e;[].keys&&(_e=[].keys(),"next"in _e?(je=ve(ve(_e)),je!==Object.prototype&&(Ke=je)):Ee=!0);var Je=Ke==null||Ne(function(){var Xe={};return Ke[Ce].call(Xe)!==Xe});Je&&(Ke={}),(!ye||Je)&&!Se(Ke,Ce)&&Re(Ke,Ce,Me),he.exports={IteratorPrototype:Ke,BUGGY_SAFARI_ITERATORS:Ee}},"./node_modules/core-js/internals/iterators.js":function(he){he.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/engine-v8-version.js"),ve=oe("./node_modules/core-js/internals/fails.js");he.exports=!!Object.getOwnPropertySymbols&&!ve(function(){var Re=Symbol();return!String(Re)||!(Object(Re)instanceof Symbol)||!Symbol.sham&&Ne&&Ne<41})},"./node_modules/core-js/internals/native-weak-map.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/inspect-source.js"),Re=Ne.WeakMap;he.exports=typeof Re=="function"&&/native code/.test(ve(Re))},"./node_modules/core-js/internals/object-assign.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Pe=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Ce=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,Me=Object.defineProperty;he.exports=!Ee||ve(function(){if(Ne&&Ee({b:1},Ee(Me({},"a",{enumerable:!0,get:function(){Me(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},je={},_e=Symbol(),Je="abcdefghijklmnopqrst";return Ke[_e]=7,Je.split("").forEach(function(Xe){je[Xe]=Xe}),Ee({},Ke)[_e]!=7||Re(Ee({},je)).join("")!=Je})?function(je,_e){for(var Je=ye(je),Xe=arguments.length,ut=1,ot=Se.f,ht=Pe.f;Xe>ut;)for(var Ct=Ce(arguments[ut++]),He=ot?Re(Ct).concat(ot(Ct)):Re(Ct),ft=He.length,De=0,Qe;ft>De;)Qe=He[De++],(!Ne||ht.call(Ct,Qe))&&(Je[Qe]=Ct[Qe]);return Je}:Ee},"./node_modules/core-js/internals/object-create.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/object-define-properties.js"),Re=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Se=oe("./node_modules/core-js/internals/hidden-keys.js"),Pe=oe("./node_modules/core-js/internals/html.js"),ye=oe("./node_modules/core-js/internals/document-create-element.js"),Ce=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",Me="<",Ke="prototype",je="script",_e=Ce("IE_PROTO"),Je=function(){},Xe=function(He){return Me+je+Ee+He+Me+"/"+je+Ee},ut=function(He){He.write(Xe("")),He.close();var ft=He.parentWindow.Object;return He=null,ft},ot=function(){var He=ye("iframe"),ft="java"+je+":",De;if(He.style)return He.style.display="none",Pe.appendChild(He),He.src=String(ft),De=He.contentWindow.document,De.open(),De.write(Xe("document.F=Object")),De.close(),De.F},ht,Ct=function(){try{ht=new ActiveXObject("htmlfile")}catch(ft){}Ct=document.domain&&ht?ut(ht):ot()||ut(ht);for(var He=Re.length;He--;)delete Ct[Ke][Re[He]];return Ct()};Se[_e]=!0,he.exports=Object.create||function(ft,De){var Qe;return ft!==null?(Je[Ke]=Ne(ft),Qe=new Je,Je[Ke]=null,Qe[_e]=ft):Qe=Ct(),De===void 0?Qe:ve(Qe,De)}},"./node_modules/core-js/internals/object-define-properties.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/object-keys.js");he.exports=Ne?Object.defineProperties:function(ye,Ce){Re(ye);for(var Ee=Se(Ce),Me=Ee.length,Ke=0,je;Me>Ke;)ve.f(ye,je=Ee[Ke++],Ce[je]);return ye}},"./node_modules/core-js/internals/object-define-property.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/to-property-key.js"),Pe=Object.defineProperty;xe.f=Ne?Pe:function(Ce,Ee,Me){if(Re(Ce),Ee=Se(Ee),Re(Me),ve)try{return Pe(Ce,Ee,Me)}catch(Ke){}if("get"in Me||"set"in Me)throw TypeError("Accessors not supported");return"value"in Me&&(Ce[Ee]=Me.value),Ce}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/to-indexed-object.js"),Pe=oe("./node_modules/core-js/internals/to-property-key.js"),ye=oe("./node_modules/core-js/internals/has.js"),Ce=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;xe.f=Ne?Ee:function(Ke,je){if(Ke=Se(Ke),je=Pe(je),Ce)try{return Ee(Ke,je)}catch(_e){}if(ye(Ke,je))return Re(!ve.f.call(Ke,je),Ke[je])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Re={}.toString,Se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Pe=function(ye){try{return ve(ye)}catch(Ce){return Se.slice()}};he.exports.f=function(Ce){return Se&&Re.call(Ce)=="[object Window]"?Pe(Ce):ve(Ne(Ce))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Re=ve.concat("length","prototype");xe.f=Object.getOwnPropertyNames||function(Pe){return Ne(Pe,Re)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(he,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/shared-key.js"),Se=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),Pe=Re("IE_PROTO"),ye=Object.prototype;he.exports=Se?Object.getPrototypeOf:function(Ce){return Ce=ve(Ce),Ne(Ce,Pe)?Ce[Pe]:typeof Ce.constructor=="function"&&Ce instanceof Ce.constructor?Ce.constructor.prototype:Ce instanceof Object?ye:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),Re=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Se=oe("./node_modules/core-js/internals/hidden-keys.js");he.exports=function(Pe,ye){var Ce=ve(Pe),Ee=0,Me=[],Ke;for(Ke in Ce)!Ne(Se,Ke)&&Ne(Ce,Ke)&&Me.push(Ke);for(;ye.length>Ee;)Ne(Ce,Ke=ye[Ee++])&&(~Re(Me,Ke)||Me.push(Ke));return Me}},"./node_modules/core-js/internals/object-keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js");he.exports=Object.keys||function(Se){return Ne(Se,ve)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(he,xe){"use strict";var oe={}.propertyIsEnumerable,Ne=Object.getOwnPropertyDescriptor,ve=Ne&&!oe.call({1:2},1);xe.f=ve?function(Se){var Pe=Ne(this,Se);return!!Pe&&Pe.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/a-possible-prototype.js");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Re=!1,Se={},Pe;try{Pe=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Pe.call(Se,[]),Re=Se instanceof Array}catch(ye){}return function(Ce,Ee){return Ne(Ce),ve(Ee),Re?Pe.call(Ce,Ee):Ce.__proto__=Ee,Ce}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof.js");he.exports=Ne?{}.toString:function(){return"[object "+ve(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js");he.exports=function(ve,Re){var Se,Pe;if(Re==="string"&&typeof(Se=ve.toString)=="function"&&!Ne(Pe=Se.call(ve))||typeof(Se=ve.valueOf)=="function"&&!Ne(Pe=Se.call(ve))||Re!=="string"&&typeof(Se=ve.toString)=="function"&&!Ne(Pe=Se.call(ve)))return Pe;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Se=oe("./node_modules/core-js/internals/an-object.js");he.exports=Ne("Reflect","ownKeys")||function(ye){var Ce=ve.f(Se(ye)),Ee=Re.f;return Ee?Ce.concat(Ee(ye)):Ce}},"./node_modules/core-js/internals/path.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js");he.exports=Ne},"./node_modules/core-js/internals/redefine.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/set-global.js"),Pe=oe("./node_modules/core-js/internals/inspect-source.js"),ye=oe("./node_modules/core-js/internals/internal-state.js"),Ce=ye.get,Ee=ye.enforce,Me=String(String).split("String");(he.exports=function(Ke,je,_e,Je){var Xe=Je?!!Je.unsafe:!1,ut=Je?!!Je.enumerable:!1,ot=Je?!!Je.noTargetGet:!1,ht;if(typeof _e=="function"&&(typeof je=="string"&&!Re(_e,"name")&&ve(_e,"name",je),ht=Ee(_e),ht.source||(ht.source=Me.join(typeof je=="string"?je:""))),Ke===Ne){ut?Ke[je]=_e:Se(je,_e);return}else Xe?!ot&&Ke[je]&&(ut=!0):delete Ke[je];ut?Ke[je]=_e:ve(Ke,je,_e)})(Function.prototype,"toString",function(){return typeof this=="function"&&Ce(this).source||Pe(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/an-object.js");he.exports=function(){var ve=Ne(this),Re="";return ve.global&&(Re+="g"),ve.ignoreCase&&(Re+="i"),ve.multiline&&(Re+="m"),ve.dotAll&&(Re+="s"),ve.unicode&&(Re+="u"),ve.sticky&&(Re+="y"),Re}},"./node_modules/core-js/internals/require-object-coercible.js":function(he){he.exports=function(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js");he.exports=function(ve,Re){try{Object.defineProperty(Ne,ve,{value:Re,configurable:!0,writable:!0})}catch(Se){Ne[ve]=Re}return Re}},"./node_modules/core-js/internals/set-to-string-tag.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-define-property.js").f,ve=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag");he.exports=function(Pe,ye,Ce){Pe&&!ve(Pe=Ce?Pe:Pe.prototype,Se)&&Ne(Pe,Se,{configurable:!0,value:ye})}},"./node_modules/core-js/internals/shared-key.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/shared.js"),ve=oe("./node_modules/core-js/internals/uid.js"),Re=Ne("keys");he.exports=function(Se){return Re[Se]||(Re[Se]=ve(Se))}},"./node_modules/core-js/internals/shared-store.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/set-global.js"),Re="__core-js_shared__",Se=Ne[Re]||ve(Re,{});he.exports=Se},"./node_modules/core-js/internals/shared.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-pure.js"),ve=oe("./node_modules/core-js/internals/shared-store.js");(he.exports=function(Re,Se){return ve[Re]||(ve[Re]=Se!==void 0?Se:{})})("versions",[]).push({version:"3.16.0",mode:Ne?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=function(ve){return Ne(function(){var Re=""[ve]('"');return Re!==Re.toLowerCase()||Re.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/require-object-coercible.js"),Se=function(Pe){return function(ye,Ce){var Ee=ve(Re(ye)),Me=Ne(Ce),Ke=Ee.length,je,_e;return Me<0||Me>=Ke?Pe?"":void 0:(je=Ee.charCodeAt(Me),je<55296||je>56319||Me+1===Ke||(_e=Ee.charCodeAt(Me+1))<56320||_e>57343?Pe?Ee.charAt(Me):je:Pe?Ee.slice(Me,Me+2):(je-55296<<10)+(_e-56320)+65536)}};he.exports={codeAt:Se(!1),charAt:Se(!0)}},"./node_modules/core-js/internals/string-trim.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/require-object-coercible.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/whitespaces.js"),Se="["+Re+"]",Pe=RegExp("^"+Se+Se+"*"),ye=RegExp(Se+Se+"*$"),Ce=function(Ee){return function(Me){var Ke=ve(Ne(Me));return Ee&1&&(Ke=Ke.replace(Pe,"")),Ee&2&&(Ke=Ke.replace(ye,"")),Ke}};he.exports={start:Ce(1),end:Ce(2),trim:Ce(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.max,Re=Math.min;he.exports=function(Se,Pe){var ye=Ne(Se);return ye<0?ve(ye+Pe,0):Re(ye,Pe)}},"./node_modules/core-js/internals/to-indexed-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/indexed-object.js"),ve=oe("./node_modules/core-js/internals/require-object-coercible.js");he.exports=function(Re){return Ne(ve(Re))}},"./node_modules/core-js/internals/to-integer.js":function(he){var xe=Math.ceil,oe=Math.floor;he.exports=function(Ne){return isNaN(Ne=+Ne)?0:(Ne>0?oe:xe)(Ne)}},"./node_modules/core-js/internals/to-length.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.min;he.exports=function(Re){return Re>0?ve(Ne(Re),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/require-object-coercible.js");he.exports=function(ve){return Object(Ne(ve))}},"./node_modules/core-js/internals/to-primitive.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Se=oe("./node_modules/core-js/internals/well-known-symbol.js"),Pe=Se("toPrimitive");he.exports=function(ye,Ce){if(!Ne(ye)||ve(ye))return ye;var Ee=ye[Pe],Me;if(Ee!==void 0){if(Ce===void 0&&(Ce="default"),Me=Ee.call(ye,Ce),!Ne(Me)||ve(Me))return Me;throw TypeError("Can't convert object to primitive value")}return Ce===void 0&&(Ce="number"),Re(ye,Ce)}},"./node_modules/core-js/internals/to-property-key.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-primitive.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js");he.exports=function(Re){var Se=Ne(Re,"string");return ve(Se)?Se:String(Se)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Ne("toStringTag"),Re={};Re[ve]="z",he.exports=String(Re)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-symbol.js");he.exports=function(ve){if(Ne(ve))throw TypeError("Cannot convert a Symbol value to a string");return String(ve)}},"./node_modules/core-js/internals/uid.js":function(he){var xe=0,oe=Math.random();he.exports=function(Ne){return"Symbol("+String(Ne===void 0?"":Ne)+")_"+(++xe+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/native-symbol.js");he.exports=Ne&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Ne},"./node_modules/core-js/internals/well-known-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/shared.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/uid.js"),Pe=oe("./node_modules/core-js/internals/native-symbol.js"),ye=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Ce=ve("wks"),Ee=Ne.Symbol,Me=ye?Ee:Ee&&Ee.withoutSetter||Se;he.exports=function(Ke){return(!Re(Ce,Ke)||!(Pe||typeof Ce[Ke]=="string"))&&(Pe&&Re(Ee,Ke)?Ce[Ke]=Ee[Ke]:Ce[Ke]=Me("Symbol."+Ke)),Ce[Ke]}},"./node_modules/core-js/internals/whitespaces.js":function(he){he.exports=` -\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/is-object.js"),Pe=oe("./node_modules/core-js/internals/to-object.js"),ye=oe("./node_modules/core-js/internals/to-length.js"),Ce=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=oe("./node_modules/core-js/internals/well-known-symbol.js"),je=oe("./node_modules/core-js/internals/engine-v8-version.js"),_e=Ke("isConcatSpreadable"),Je=9007199254740991,Xe="Maximum allowed index exceeded",ut=je>=51||!ve(function(){var He=[];return He[_e]=!1,He.concat()[0]!==He}),ot=Me("concat"),ht=function(He){if(!Se(He))return!1;var ft=He[_e];return ft!==void 0?!!ft:Re(He)},Ct=!ut||!ot;Ne({target:"Array",proto:!0,forced:Ct},{concat:function(ft){var De=Pe(this),Qe=Ee(De,0),Ot=0,it,at,Bt,We,Te;for(it=-1,Bt=arguments.length;itJe)throw TypeError(Xe);for(at=0;at=Je)throw TypeError(Xe);Ce(Qe,Ot++,Te)}return Qe.length=Ot,Qe}})},"./node_modules/core-js/modules/es.array.iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Re=oe("./node_modules/core-js/internals/iterators.js"),Se=oe("./node_modules/core-js/internals/internal-state.js"),Pe=oe("./node_modules/core-js/internals/define-iterator.js"),ye="Array Iterator",Ce=Se.set,Ee=Se.getterFor(ye);he.exports=Pe(Array,"Array",function(Me,Ke){Ce(this,{type:ye,target:Ne(Me),index:0,kind:Ke})},function(){var Me=Ee(this),Ke=Me.target,je=Me.kind,_e=Me.index++;return!Ke||_e>=Ke.length?(Me.target=void 0,{value:void 0,done:!0}):je=="keys"?{value:_e,done:!1}:je=="values"?{value:Ke[_e],done:!1}:{value:[_e,Ke[_e]],done:!1}},"values"),Re.Arguments=Re.Array,ve("keys"),ve("values"),ve("entries")},"./node_modules/core-js/modules/es.array.join.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-indexed-object.js"),Se=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Pe=[].join,ye=ve!=Object,Ce=Se("join",",");Ne({target:"Array",proto:!0,forced:ye||!Ce},{join:function(Me){return Pe.call(Re(this),Me===void 0?",":Me)}})},"./node_modules/core-js/modules/es.array.map.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/array-iteration.js").map,Re=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Se=Re("map");Ne({target:"Array",proto:!0,forced:!Se},{map:function(ye){return ve(this,ye,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/to-absolute-index.js"),Pe=oe("./node_modules/core-js/internals/to-length.js"),ye=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ce=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Me("slice"),je=Ee("species"),_e=[].slice,Je=Math.max;Ne({target:"Array",proto:!0,forced:!Ke},{slice:function(ut,ot){var ht=ye(this),Ct=Pe(ht.length),He=Se(ut,Ct),ft=Se(ot===void 0?Ct:ot,Ct),De,Qe,Ot;if(Re(ht)&&(De=ht.constructor,typeof De=="function"&&(De===Array||Re(De.prototype))?De=void 0:ve(De)&&(De=De[je],De===null&&(De=void 0)),De===Array||De===void 0))return _e.call(ht,He,ft);for(Qe=new(De===void 0?Array:De)(Je(ft-He,0)),Ot=0;He2){if(Bt=ut(Bt),We=Bt.charCodeAt(0),We===43||We===45){if(Te=Bt.charCodeAt(2),Te===88||Te===120)return NaN}else if(We===48){switch(Bt.charCodeAt(1)){case 66:case 98:ct=2,Zt=49;break;case 79:case 111:ct=8,Zt=55;break;default:return+Bt}for(jt=Bt.slice(2),tt=jt.length,Tt=0;TtZt)return NaN;return parseInt(jt,ct)}}return+Bt};if(Re(ot,!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var De=function(Bt){var We=arguments.length<1?0:Bt,Te=this;return Te instanceof De&&(He?Ke(function(){Ct.valueOf.call(Te)}):ye(Te)!=ot)?Ce(new ht(ft(We)),Te,De):ft(We)},Qe=Ne?_e(ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ot=0,it;Qe.length>Ot;Ot++)Pe(ht,it=Qe[Ot])&&!Pe(De,it)&&Xe(De,it,Je(ht,it));De.prototype=Ct,Ct.constructor=De,Se(ve,ot,De)}},"./node_modules/core-js/modules/es.object.assign.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/object-assign.js");Ne({target:"Object",stat:!0,forced:Object.assign!==ve},{assign:ve})},"./node_modules/core-js/modules/es.object.keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Pe=Se(function(){Re(1)});Ne({target:"Object",stat:!0,forced:Pe},{keys:function(Ce){return Re(ve(Ce))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/redefine.js"),Re=oe("./node_modules/core-js/internals/object-to-string.js");Ne||ve(Object.prototype,"toString",Re,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/redefine.js"),ve=oe("./node_modules/core-js/internals/an-object.js"),Re=oe("./node_modules/core-js/internals/to-string.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Pe=oe("./node_modules/core-js/internals/regexp-flags.js"),ye="toString",Ce=RegExp.prototype,Ee=Ce[ye],Me=Se(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),Ke=Ee.name!=ye;(Me||Ke)&&Ne(RegExp.prototype,ye,function(){var _e=ve(this),Je=Re(_e.source),Xe=_e.flags,ut=Re(Xe===void 0&&_e instanceof RegExp&&!("flags"in Ce)?Pe.call(_e):Xe);return"/"+Je+"/"+ut},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/internal-state.js"),Se=oe("./node_modules/core-js/internals/define-iterator.js"),Pe="String Iterator",ye=Re.set,Ce=Re.getterFor(Pe);Se(String,"String",function(Ee){ye(this,{type:Pe,string:ve(Ee),index:0})},function(){var Me=Ce(this),Ke=Me.string,je=Me.index,_e;return je>=Ke.length?{value:void 0,done:!0}:(_e=Ne(Ke,je),Me.index+=_e.length,{value:_e,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-html.js"),Re=oe("./node_modules/core-js/internals/string-html-forced.js");Ne({target:"String",proto:!0,forced:Re("link")},{link:function(Pe){return ve(this,"a","href",Pe)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/descriptors.js"),Re=oe("./node_modules/core-js/internals/global.js"),Se=oe("./node_modules/core-js/internals/has.js"),Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js").f,Ce=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Re.Symbol;if(ve&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var Me={},Ke=function(){var ot=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ht=this instanceof Ke?new Ee(ot):ot===void 0?Ee():Ee(ot);return ot===""&&(Me[ht]=!0),ht};Ce(Ke,Ee);var je=Ke.prototype=Ee.prototype;je.constructor=Ke;var _e=je.toString,Je=String(Ee("test"))=="Symbol(test)",Xe=/^Symbol\((.*)\)[^)]+$/;ye(je,"description",{configurable:!0,get:function(){var ot=Pe(this)?this.valueOf():this,ht=_e.call(ot);if(Se(Me,ot))return"";var Ct=Je?ht.slice(7,-1):ht.replace(Xe,"$1");return Ct===""?void 0:Ct}}),Ne({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Ne("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/get-built-in.js"),Se=oe("./node_modules/core-js/internals/is-pure.js"),Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/native-symbol.js"),Ce=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ke=oe("./node_modules/core-js/internals/is-object.js"),je=oe("./node_modules/core-js/internals/is-symbol.js"),_e=oe("./node_modules/core-js/internals/an-object.js"),Je=oe("./node_modules/core-js/internals/to-object.js"),Xe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ut=oe("./node_modules/core-js/internals/to-property-key.js"),ot=oe("./node_modules/core-js/internals/to-string.js"),ht=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ct=oe("./node_modules/core-js/internals/object-create.js"),He=oe("./node_modules/core-js/internals/object-keys.js"),ft=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),De=oe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Qe=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ot=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),it=oe("./node_modules/core-js/internals/object-define-property.js"),at=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Bt=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),We=oe("./node_modules/core-js/internals/redefine.js"),Te=oe("./node_modules/core-js/internals/shared.js"),ct=oe("./node_modules/core-js/internals/shared-key.js"),Zt=oe("./node_modules/core-js/internals/hidden-keys.js"),jt=oe("./node_modules/core-js/internals/uid.js"),tt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Tt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),_t=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),hn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Pt=oe("./node_modules/core-js/internals/internal-state.js"),vn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,kt=ct("hidden"),Sn="Symbol",on="prototype",de=tt("toPrimitive"),ge=Pt.set,ie=Pt.getterFor(Sn),ee=Object[on],se=ve.Symbol,le=Re("JSON","stringify"),Be=Ot.f,Ve=it.f,st=De.f,gt=at.f,mt=Te("symbols"),St=Te("op-symbols"),Dt=Te("string-to-symbol-registry"),Ht=Te("symbol-to-string-registry"),xt=Te("wks"),lt=ve.QObject,Xt=!lt||!lt[on]||!lt[on].findChild,Vt=Pe&&Ce(function(){return Ct(Ve({},"a",{get:function(){return Ve(this,"a",{value:7}).a}})).a!=7})?function(Lt,Gt,nn){var Cn=Be(ee,Gt);Cn&&delete ee[Gt],Ve(Lt,Gt,nn),Cn&&Lt!==ee&&Ve(ee,Gt,Cn)}:Ve,wn=function(Lt,Gt){var nn=mt[Lt]=Ct(se[on]);return ge(nn,{type:Sn,tag:Lt,description:Gt}),Pe||(nn.description=Gt),nn},an=function(Gt,nn,Cn){Gt===ee&&an(St,nn,Cn),_e(Gt);var Gn=ut(nn);return _e(Cn),Ee(mt,Gn)?(Cn.enumerable?(Ee(Gt,kt)&&Gt[kt][Gn]&&(Gt[kt][Gn]=!1),Cn=Ct(Cn,{enumerable:ht(0,!1)})):(Ee(Gt,kt)||Ve(Gt,kt,ht(1,{})),Gt[kt][Gn]=!0),Vt(Gt,Gn,Cn)):Ve(Gt,Gn,Cn)},en=function(Gt,nn){_e(Gt);var Cn=Xe(nn),Gn=He(Cn).concat(Nn(Cn));return vn(Gn,function(Sr){(!Pe||In.call(Cn,Sr))&&an(Gt,Sr,Cn[Sr])}),Gt},zn=function(Gt,nn){return nn===void 0?Ct(Gt):en(Ct(Gt),nn)},In=function(Gt){var nn=ut(Gt),Cn=gt.call(this,nn);return this===ee&&Ee(mt,nn)&&!Ee(St,nn)?!1:Cn||!Ee(this,nn)||!Ee(mt,nn)||Ee(this,kt)&&this[kt][nn]?Cn:!0},Qt=function(Gt,nn){var Cn=Xe(Gt),Gn=ut(nn);if(!(Cn===ee&&Ee(mt,Gn)&&!Ee(St,Gn))){var Sr=Be(Cn,Gn);return Sr&&Ee(mt,Gn)&&!(Ee(Cn,kt)&&Cn[kt][Gn])&&(Sr.enumerable=!0),Sr}},sn=function(Gt){var nn=st(Xe(Gt)),Cn=[];return vn(nn,function(Gn){!Ee(mt,Gn)&&!Ee(Zt,Gn)&&Cn.push(Gn)}),Cn},Nn=function(Gt){var nn=Gt===ee,Cn=st(nn?St:Xe(Gt)),Gn=[];return vn(Cn,function(Sr){Ee(mt,Sr)&&(!nn||Ee(ee,Sr))&&Gn.push(mt[Sr])}),Gn};if(ye||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:ot(arguments[0]),nn=jt(Gt),Cn=function(Gn){this===ee&&Cn.call(St,Gn),Ee(this,kt)&&Ee(this[kt],nn)&&(this[kt][nn]=!1),Vt(this,nn,ht(1,Gn))};return Pe&&Xt&&Vt(ee,nn,{configurable:!0,set:Cn}),wn(nn,Gt)},We(se[on],"toString",function(){return ie(this).tag}),We(se,"withoutSetter",function(Lt){return wn(jt(Lt),Lt)}),at.f=In,it.f=an,Ot.f=Qt,ft.f=De.f=sn,Qe.f=Nn,Tt.f=function(Lt){return wn(tt(Lt),Lt)},Pe&&(Ve(se[on],"description",{configurable:!0,get:function(){return ie(this).description}}),Se||We(ee,"propertyIsEnumerable",In,{unsafe:!0}))),Ne({global:!0,wrap:!0,forced:!ye,sham:!ye},{Symbol:se}),vn(He(xt),function(Lt){_t(Lt)}),Ne({target:Sn,stat:!0,forced:!ye},{for:function(Lt){var Gt=ot(Lt);if(Ee(Dt,Gt))return Dt[Gt];var nn=se(Gt);return Dt[Gt]=nn,Ht[nn]=Gt,nn},keyFor:function(Gt){if(!je(Gt))throw TypeError(Gt+" is not a symbol");if(Ee(Ht,Gt))return Ht[Gt]},useSetter:function(){Xt=!0},useSimple:function(){Xt=!1}}),Ne({target:"Object",stat:!0,forced:!ye,sham:!Pe},{create:zn,defineProperty:an,defineProperties:en,getOwnPropertyDescriptor:Qt}),Ne({target:"Object",stat:!0,forced:!ye},{getOwnPropertyNames:sn,getOwnPropertySymbols:Nn}),Ne({target:"Object",stat:!0,forced:Ce(function(){Qe.f(1)})},{getOwnPropertySymbols:function(Gt){return Qe.f(Je(Gt))}}),le){var Vn=!ye||Ce(function(){var Lt=se();return le([Lt])!="[null]"||le({a:Lt})!="{}"||le(Object(Lt))!="{}"});Ne({target:"JSON",stat:!0,forced:Vn},{stringify:function(Gt,nn,Cn){for(var Gn=[Gt],Sr=1,ii;arguments.length>Sr;)Gn.push(arguments[Sr++]);if(ii=nn,!(!Ke(nn)&&Gt===void 0||je(Gt)))return Me(nn)||(nn=function(si,sr){if(typeof ii=="function"&&(sr=ii.call(this,si,sr)),!je(sr))return sr}),Gn[1]=nn,le.apply(null,Gn)}})}se[on][de]||Bt(se[on],de,se[on].valueOf),hn(se,Sn),Zt[kt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/internals/array-for-each.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Pe in ve){var ye=Ne[Pe],Ce=ye&&ye.prototype;if(Ce&&Ce.forEach!==Re)try{Se(Ce,"forEach",Re)}catch(Ee){Ce.forEach=Re}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/modules/es.array.iterator.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=Pe("iterator"),Ce=Pe("toStringTag"),Ee=Re.values;for(var Me in ve){var Ke=Ne[Me],je=Ke&&Ke.prototype;if(je){if(je[ye]!==Ee)try{Se(je,ye,Ee)}catch(Je){je[ye]=Ee}if(je[Ce]||Se(je,Ce,Me),ve[Me]){for(var _e in Re)if(je[_e]!==Re[_e])try{Se(je,_e,Re[_e])}catch(Je){je[_e]=Re[_e]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(he){(function(xe,oe){he.exports=oe()})(this,function(){"use strict";function xe(lt){var Xt=typeof lt;return lt!==null&&(Xt==="object"||Xt==="function")}function oe(lt){return typeof lt=="function"}var Ne=void 0;Array.isArray?Ne=Array.isArray:Ne=function(lt){return Object.prototype.toString.call(lt)==="[object Array]"};var ve=Ne,Re=0,Se=void 0,Pe=void 0,ye=function(Xt,Vt){He[Re]=Xt,He[Re+1]=Vt,Re+=2,Re===2&&(Pe?Pe(ft):Qe())};function Ce(lt){Pe=lt}function Ee(lt){ye=lt}var Me=typeof window!="undefined"?window:void 0,Ke=Me||{},je=Ke.MutationObserver||Ke.WebKitMutationObserver,_e=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",Je=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Xe(){return function(){return x.nextTick(ft)}}function ut(){return typeof Se!="undefined"?function(){Se(ft)}:Ct()}function ot(){var lt=0,Xt=new je(ft),Vt=document.createTextNode("");return Xt.observe(Vt,{characterData:!0}),function(){Vt.data=lt=++lt%2}}function ht(){var lt=new MessageChannel;return lt.port1.onmessage=ft,function(){return lt.port2.postMessage(0)}}function Ct(){var lt=setTimeout;return function(){return lt(ft,1)}}var He=new Array(1e3);function ft(){for(var lt=0;lt>1,oe=-7,Ne=dt?qe-1:0,ve=dt?-1:1,Re=ae[x+Ne];for(Ne+=ve,ze=Re&(1<<-oe)-1,Re>>=-oe,oe+=Ue;oe>0;ze=ze*256+ae[x+Ne],Ne+=ve,oe-=8);for(Fe=ze&(1<<-oe)-1,ze>>=-oe,oe+=Ie;oe>0;Fe=Fe*256+ae[x+Ne],Ne+=ve,oe-=8);if(ze===0)ze=1-xe;else{if(ze===he)return Fe?NaN:(Re?-1:1)*(1/0);Fe=Fe+Math.pow(2,Ie),ze=ze-xe}return(Re?-1:1)*Fe*Math.pow(2,ze-Ie)},Ut.write=function(ae,x,dt,Ie,qe,ze){var Fe,Ue,he,xe=ze*8-qe-1,oe=(1<>1,ve=qe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Re=Ie?0:ze-1,Se=Ie?1:-1,Pe=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Ue=isNaN(x)?1:0,Fe=oe):(Fe=Math.floor(Math.log(x)/Math.LN2),x*(he=Math.pow(2,-Fe))<1&&(Fe--,he*=2),Fe+Ne>=1?x+=ve/he:x+=ve*Math.pow(2,1-Ne),x*he>=2&&(Fe++,he/=2),Fe+Ne>=oe?(Ue=0,Fe=oe):Fe+Ne>=1?(Ue=(x*he-1)*Math.pow(2,qe),Fe=Fe+Ne):(Ue=x*Math.pow(2,Ne-1)*Math.pow(2,qe),Fe=0));qe>=8;ae[dt+Re]=Ue&255,Re+=Se,Ue/=256,qe-=8);for(Fe=Fe<0;ae[dt+Re]=Fe&255,Re+=Se,Fe/=256,xe-=8);ae[dt+Re-Se]|=Pe*128}},53307:function(Yn,Ut,ae){"use strict";ae.r(Ut),ae.d(Ut,{AcroForm:function(){return _A},AcroFormAppearance:function(){return Ro},AcroFormButton:function(){return rs},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Vo},AcroFormComboBox:function(){return wa},AcroFormEditBox:function(){return va},AcroFormListBox:function(){return ds},AcroFormPasswordField:function(){return is},AcroFormPushButton:function(){return Cs},AcroFormRadioButton:function(){return Ga},AcroFormTextField:function(){return Ts},GState:function(){return Ep},ShadingPattern:function(){return Mf},TilingPattern:function(){return Uf},default:function(){return Oa},jsPDF:function(){return Oa}});var x=ae(43749),dt={},Ie=function(y,z,E,re,ce){var fe=new Worker(dt[z]||(dt[z]=URL.createObjectURL(new Blob([y+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return fe.onmessage=function(Ze){var ke=Ze.data,Ge=ke.$e$;if(Ge){var $e=new Error(Ge[0]);$e.code=Ge[1],$e.stack=Ge[2],ce($e,null)}else ce(null,ke)},fe.postMessage(E,re),fe},qe=Uint8Array,ze=Uint16Array,Fe=Int32Array,Ue=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),he=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),xe=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(y,z){for(var E=new ze(31),re=0;re<31;++re)E[re]=z+=1<>1|(Ee&21845)<<1;Me=(Me&52428)>>2|(Me&13107)<<2,Me=(Me&61680)>>4|(Me&3855)<<4,Ce[Ee]=((Me&65280)>>8|(Me&255)<<8)>>1}for(var Ke=function(y,z,E){for(var re=y.length,ce=0,fe=new ze(z);ce>Ge]=$e}else for(ke=new ze(re),ce=0;ce>15-y[ce]);return ke},je=new qe(288),Ee=0;Ee<144;++Ee)je[Ee]=8;for(var Ee=144;Ee<256;++Ee)je[Ee]=9;for(var Ee=256;Ee<280;++Ee)je[Ee]=7;for(var Ee=280;Ee<288;++Ee)je[Ee]=8;for(var _e=new qe(32),Ee=0;Ee<32;++Ee)_e[Ee]=5;var Je=Ke(je,9,0),Xe=null,ut=Ke(_e,5,0),ot=null,ht=function(y){for(var z=y[0],E=1;Ez&&(z=y[E]);return z},Ct=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},He=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},ft=function(y){return(y+7)/8|0},De=function(y,z,E){return(z==null||z<0)&&(z=0),(E==null||E>y.length)&&(E=y.length),new qe(y.subarray(z,E))},Qe={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ot=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(y,z,E){var re=new Error(z||Ot[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,it),!E)throw re;return re},at=function(y,z,E,re){var ce=y.length,fe=re?re.length:0;if(!ce||z.f&&!z.l)return E||new qe(0);var Ze=!E,ke=Ze||z.i!=2,Ge=z.i;Ze&&(E=new qe(ce*3));var $e=function(xo){var Aa=E.length;if(xo>Aa){var ua=new qe(Math.max(Aa*2,xo));ua.set(E),E=ua}},pt=z.f||0,Mt=z.p||0,Jt=z.b||0,At=z.l,Ln=z.d,xn=z.m,Pn=z.n,dn=ce*8;do{if(!At){pt=Ct(y,Mt,1);var mr=Ct(y,Mt+1,3);if(Mt+=3,mr)if(mr==1)At=Xe,Ln=ot,xn=9,Pn=5;else if(mr==2){var ji=Ct(y,Mt,31)+257,Bi=Ct(y,Mt+10,15)+4,Ir=ji+Ct(y,Mt+5,31)+1;Mt+=14;for(var Xn=new qe(Ir),Zr=new qe(19),ln=0;ln>4;if(ar<16)Xn[ln++]=ar;else{var bi=0,Si=0;for(ar==16?(Si=3+Ct(y,Mt,3),Mt+=2,bi=Xn[ln-1]):ar==17?(Si=3+Ct(y,Mt,7),Mt+=3):ar==18&&(Si=11+Ct(y,Mt,127),Mt+=7);Si--;)Xn[ln++]=bi}}var ri=Xn.subarray(0,ji),Li=Xn.subarray(ji);xn=ht(ri),Pn=ht(Li),At=Ke(ri,xn,1),Ln=Ke(Li,Pn,1)}else it(1);else{var ar=ft(Mt)+4,Wn=y[ar-4]|y[ar-3]<<8,ui=ar+Wn;if(ui>ce){Ge&&it(0);break}ke&&$e(Jt+Wn),E.set(y.subarray(ar,ui),Jt),z.b=Jt+=Wn,z.p=Mt=ui*8,z.f=pt;continue}if(Mt>dn){Ge&&it(0);break}}ke&&$e(Jt+131072);for(var To=(1<>4;if(Mt+=bi&15,Mt>dn){Ge&&it(0);break}if(bi||it(2),Kn<256)E[Jt++]=Kn;else if(Kn==256){rn=Mt,At=null;break}else{var tr=Kn-254;if(Kn>264){var ln=Kn-257,yr=Ue[ln];tr=Ct(y,Mt,(1<>4;kr||it(3),Mt+=kr&15;var Li=Pe[qr];if(qr>3){var yr=he[qr];Li+=He(y,Mt)&(1<dn){Ge&&it(0);break}ke&&$e(Jt+131072);var Ei=Jt+tr;if(Jt>8},We=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8,y[re+2]|=E>>16},Te=function(y,z){for(var E=[],re=0;reJt&&(Jt=fe[re].s);var At=new ze(Jt+1),Ln=ct(E[pt-1],At,0);if(Ln>z){var re=0,xn=0,Pn=Ln-z,dn=1<z)xn+=dn-(1<>=Pn;xn>0;){var ar=fe[re].s;At[ar]=0&&xn;--re){var Wn=fe[re].s;At[Wn]==z&&(--At[Wn],++xn)}Ln=z}return{t:new qe(At),l:Ln}},ct=function(y,z,E){return y.s==-1?Math.max(ct(y.l,z,E+1),ct(y.r,z,E+1)):z[y.s]=E},Zt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new ze(++z),re=0,ce=y[0],fe=1,Ze=function(Ge){E[re++]=Ge},ke=1;ke<=z;++ke)if(y[ke]==ce&&ke!=z)++fe;else{if(!ce&&fe>2){for(;fe>138;fe-=138)Ze(32754);fe>2&&(Ze(fe>10?fe-11<<5|28690:fe-3<<5|12305),fe=0)}else if(fe>3){for(Ze(ce),--fe;fe>6;fe-=6)Ze(8304);fe>2&&(Ze(fe-3<<5|8208),fe=0)}for(;fe--;)Ze(ce);fe=1,ce=y[ke]}return{c:E.subarray(0,re),n:z}},jt=function(y,z){for(var E=0,re=0;re>8,y[ce+2]=y[ce]^255,y[ce+3]=y[ce+1]^255;for(var fe=0;fe4&&!Zr[xe[Tn-1]];--Tn);var gr=$e+5<<3,cr=jt(ce,je)+jt(fe,_e)+Ze,hi=jt(ce,Jt)+jt(fe,xn)+Ze+14+3*Tn+jt(Bi,Zr)+2*Bi[16]+3*Bi[17]+7*Bi[18];if(Ge>=0&&gr<=cr&&gr<=hi)return tt(z,pt,y.subarray(Ge,Ge+$e));var bi,Si,ri,Li;if(Bt(z,pt,1+(hi15&&(Bt(z,pt,Kn[Ir]>>5&127),pt+=Kn[Ir]>>12)}}else bi=Je,Si=je,ri=ut,Li=_e;for(var Ir=0;Ir255){var tr=yr>>18&31;We(z,pt,bi[tr+257]),pt+=Si[tr+257],tr>7&&(Bt(z,pt,yr>>23&31),pt+=Ue[tr]);var kr=yr&31;We(z,pt,ri[kr]),pt+=Li[kr],kr>3&&(We(z,pt,yr>>5&8191),pt+=he[kr])}else We(z,pt,bi[yr]),pt+=Si[yr]}return We(z,pt,bi[256]),pt+Si[256]},_t=new Fe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),hn=new qe(0),Pt=function(y,z,E,re,ce,fe){var Ze=fe.z||y.length,ke=new qe(re+Ze+5*(1+Math.ceil(Ze/7e3))+ce),Ge=ke.subarray(re,ke.length-ce),$e=fe.l,pt=(fe.r||0)&7;if(z){pt&&(Ge[0]=fe.r>>3);for(var Mt=_t[z-1],Jt=Mt>>13,At=Mt&8191,Ln=(1<7e3||Zr>24576)&&(bi>423||!$e)){pt=Tt(y,Ge,0,Wn,ui,ji,Ir,Zr,Tn,Xn-Tn,pt),Zr=Bi=Ir=0,Tn=Xn;for(var Si=0;Si<286;++Si)ui[Si]=0;for(var Si=0;Si<30;++Si)ji[Si]=0}var ri=2,Li=0,To=At,io=cr-hi&32767;if(bi>2&&gr==ar(Xn-io))for(var rn=Math.min(Jt,bi)-1,Kn=Math.min(32767,Xn),tr=Math.min(258,bi);io<=Kn&&--To&&cr!=hi;){if(y[Xn+ri]==y[Xn+ri-io]){for(var yr=0;yrri){if(ri=yr,Li=io,yr>rn)break;for(var kr=Math.min(io,yr-2),qr=0,Si=0;Siqr&&(qr=$i,hi=Ei)}}}cr=hi,hi=xn[cr],io+=cr-hi&32767}if(Li){Wn[Zr++]=268435456|Re[ri]<<18|ye[Li];var xo=Re[ri]&31,Aa=ye[Li]&31;Ir+=Ue[xo]+he[Aa],++ui[257+xo],++ji[Aa],ln=Xn+ri,++Bi}else Wn[Zr++]=y[Xn],++ui[y[Xn]]}}for(Xn=Math.max(Xn,ln);Xn=Ze&&(Ge[pt/8|0]=$e,ua=Ze),pt=tt(Ge,pt+1,y.subarray(Xn,ua))}fe.i=Ze}return De(ke,0,re+ft(pt)+ce)},vn=null,kt=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re>>8;y=E},d:function(){return~y}}},Sn=function(){var y=1,z=0;return{p:function(E){for(var re=y,ce=z,fe=E.length|0,Ze=0;Ze!=fe;){for(var ke=Math.min(Ze+2655,fe);Ze>16),ce=(ce&65535)+15*(ce>>16)}y=re,z=ce},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},on=function(y,z,E,re,ce){if(!ce&&(ce={l:1},z.dictionary)){var fe=z.dictionary.subarray(-32768),Ze=new qe(fe.length+y.length);Ze.set(fe),Ze.set(y,fe.length),y=Ze,ce.w=fe.length}return Pt(y,z.level==null?6:z.level,z.mem==null?ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,ce)},de=function(y,z){var E={};for(var re in y)E[re]=y[re];for(var re in z)E[re]=z[re];return E},ge=function(y,z,E){for(var re=y(),ce=y.toString(),fe=ce.slice(ce.indexOf("[")+1,ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ze=0;Ze>>0},wn=function(y,z){return Vt(y,z)+Vt(y,z+4)*4294967296},an=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},en=function(y,z){var E=z.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=z.level<2?4:z.level==9?2:0,y[9]=3,z.mtime!=0&&an(y,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),E){y[3]=8;for(var re=0;re<=E.length;++re)y[re+10]=E.charCodeAt(re)}},zn=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&it(6,"invalid gzip data");var z=y[3],E=10;z&4&&(E+=(y[10]|y[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!y[E++]);return E+(z&2)},In=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},Qt=function(y){return 10+(y.filename?y.filename.length+1:0)},sn=function(y,z){var E=z.level,re=E==0?0:E<6?1:E==9?3:2;if(y[0]=120,y[1]=re<<6|(z.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,z.dictionary){var ce=Sn();ce.p(z.dictionary),an(y,2,ce.d())}},Nn=function(y,z){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&it(6,"invalid zlib data"),(y[1]>>5&1)==+!z&&it(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Vn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var Lt=null,Gt=null;function nn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[Be],function(re){return St(Cn(re.data[0],re.data[1]))},0,E)}function Cn(y,z){return on(y,z||{},0,0)}var Gn=null,Sr=null;function ii(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[le],function(re){return St(si(re.data[0],Dt(re.data[1])))},1,E)}function si(y,z){return at(y,{i:2},z&&z.out,z&&z.dictionary)}var sr=null,Lr=null;function _n(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[Be,Ve,function(){return[Hn]}],function(re){return St(Hn(re.data[0],re.data[1]))},2,E)}function Hn(y,z){z||(z={});var E=kt(),re=y.length;E.p(y);var ce=on(y,z,Qt(z),8),fe=ce.length;return en(ce,z),an(ce,fe-8,E.d()),an(ce,fe-4,re),ce}var Jn=null,ir=null;function Zn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[le,st,function(){return[Cr]}],function(re){return St(Cr(re.data[0],re.data[1]))},3,E)}function Cr(y,z){var E=zn(y);return E+8>y.length&&it(6,"invalid gzip data"),at(y.subarray(E,-8),{i:2},z&&z.out||new qe(In(y)),z&&z.dictionary)}var Er=null,Nr=null;function pi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[Be,gt,function(){return[di]}],function(re){return St(di(re.data[0],re.data[1]))},4,E)}function di(y,z){z||(z={});var E=Sn();E.p(y);var re=on(y,z,z.dictionary?6:2,4);return sn(re,z),an(re,re.length-4,E.d()),re}var fi=null,Oi=null;function Ci(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),Ht(y,z,[le,mt,function(){return[ro]}],function(re){return St(ro(re.data[0],Dt(re.data[1])))},5,E)}function ro(y,z){return at(y.subarray(Nn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Yi=null,or=null;function Mr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),y[0]==31&&y[1]==139&&y[2]==8?Zn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ii(y,z,E):Ci(y,z,E)}function gi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?Cr(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?si(y,z):ro(y,z)}var oi=function(y,z,E,re){for(var ce in y){var fe=y[ce],Ze=z+ce,ke=re;Array.isArray(fe)&&(ke=de(re,fe[1]),fe=fe[0]),fe instanceof qe?E[Ze]=[fe,ke]:(E[Ze+="/"]=[new qe(0),ke],oi(fe,Ze,E,re))}},un=typeof TextEncoder!="undefined"&&new TextEncoder,bt=typeof TextDecoder!="undefined"&&new TextDecoder,Rt=0;try{bt.decode(hn,{stream:!0}),Rt=1}catch(y){}var fn=function(y){for(var z="",E=0;;){var re=y[E++],ce=(re>127)+(re>223)+(re>239);if(E+ce>y.length)return{s:z,r:De(y,E-1)};ce?ce==3?(re=((re&15)<<18|(y[E++]&63)<<12|(y[E++]&63)<<6|y[E++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ce&1?z+=String.fromCharCode((re&31)<<6|y[E++]&63):z+=String.fromCharCode((re&15)<<12|(y[E++]&63)<<6|y[E++]&63):z+=String.fromCharCode(re)}},Wt=null,yn=null;function On(y,z){if(z){for(var E=new qe(y.length),re=0;re>1)),Ze=0,ke=function(pt){fe[Ze++]=pt},re=0;refe.length){var Ge=new qe(Ze+8+(ce-re<<1));Ge.set(fe),fe=Ge}var $e=y.charCodeAt(re);$e<128||z?ke($e):$e<2048?(ke(192|$e>>6),ke(128|$e&63)):$e>55295&&$e<57344?($e=65536+($e&1047552)|y.charCodeAt(++re)&1023,ke(240|$e>>18),ke(128|$e>>12&63),ke(128|$e>>6&63),ke(128|$e&63)):(ke(224|$e>>12),ke(128|$e>>6&63),ke(128|$e&63))}return De(fe,0,Ze)}function jr(y,z){if(z){for(var E="",re=0;re65535&&it(9),z+=re+4}return z},ei=function(y,z,E,re,ce,fe,Ze,ke){var Ge=re.length,$e=E.extra,pt=ke&&ke.length,Mt=$n($e);an(y,z,Ze!=null?33639248:67324752),z+=4,Ze!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(fe<0&&8),y[z++]=ce&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var Jt=new Date(E.mtime==null?Date.now():E.mtime),At=Jt.getFullYear()-1980;if((At<0||At>119)&&it(10),an(y,z,At<<25|Jt.getMonth()+1<<21|Jt.getDate()<<16|Jt.getHours()<<11|Jt.getMinutes()<<5|Jt.getSeconds()>>1),z+=4,fe!=-1&&(an(y,z,E.crc),an(y,z+4,fe<0?-fe-2:fe),an(y,z+8,E.size)),an(y,z+12,Ge),an(y,z+14,Mt),z+=16,Ze!=null&&(an(y,z,pt),an(y,z+6,E.attrs),an(y,z+10,Ze),z+=14),y.set(re,z),z+=Ge,Mt)for(var Ln in $e){var xn=$e[Ln],Pn=xn.length;an(y,z,+Ln),an(y,z+2,Pn),y.set(xn,z+4),z+=4+Pn}return pt&&(y.set(ke,z),z+=pt),z},Ti=function(y,z,E,re,ce){an(y,z,101010256),an(y,z+8,E),an(y,z+10,E),an(y,z+12,re),an(y,z+16,ce)},xi=null,nr=null,fr=null,gn=null;function cn(y,z,E){E||(E=z,z={}),typeof E!="function"&&it(7);var re={};oi(y,"",re,z);var ce=Object.keys(re),fe=ce.length,Ze=0,ke=0,Ge=fe,$e=new Array(fe),pt=[],Mt=function(){for(var Pn=0;Pn65535&&cr(it(11,0,1),null),!gr)cr(null,ar);else if(ji<16e4)try{cr(null,Cn(ar,Wn))}catch(hi){cr(hi,null)}else pt.push(nn(ar,Wn,cr))},xn=0;xn65535&&it(11);var dn=pt?Cn(Ge,$e):Ge,mr=dn.length,ar=kt();ar.p(Ge),re.push(de($e,{size:Ge.length,crc:ar.d(),c:dn,f:Mt,m:Ln,u:Jt!=Ze.length||Ln&&At.length!=xn,o:ce,compression:pt})),ce+=30+Jt+Pn+mr,fe+=76+2*(Jt+Pn)+(xn||0)+mr}for(var Wn=new qe(fe+22),ui=ce,ji=fe-ce,Bi=0;Bi65558)return Ze(it(13,0,1),null),ce;var Ge=Xt(y,ke+8);if(Ge){var $e=Ge,pt=Vt(y,ke+16),Mt=pt==4294967295||$e==65535;if(Mt){var Jt=Vt(y,ke-12);Mt=Vt(y,Jt)==101075792,Mt&&($e=Ge=Vt(y,Jt+32),pt=Vt(y,Jt+48))}for(var At=z&&z.filter,Ln=function(Pn){var dn=dr(y,pt,Mt),mr=dn[0],ar=dn[1],Wn=dn[2],ui=dn[3],ji=dn[4],Bi=dn[5],Ir=Xr(y,Bi);pt=ji;var Xn=function(ln,Tn){ln?(ce(),Ze(ln,null)):(Tn&&(fe[ui]=Tn),--Ge||Ze(null,fe))};if(!At||At({name:ui,size:ar,originalSize:Wn,compression:mr}))if(!mr)Xn(null,De(y,Ir,Ir+ar));else if(mr==8){var Zr=y.subarray(Ir,Ir+ar);if(Wn<524288||ar>.8*Wn)try{Xn(null,si(Zr,{out:new qe(Wn)}))}catch(ln){Xn(ln,null)}else re.push(ii(Zr,{size:Wn},Xn))}else Xn(it(14,"unknown compression type "+mr,1),null);else Xn(null,null)},xn=0;xn<$e;++xn)Ln(xn)}else Ze(null,{});return ce}function Pi(y,z){for(var E={},re=y.length-22;Vt(y,re)!=101010256;--re)(!re||y.length-re>65558)&&it(13);var ce=Xt(y,re+8);if(!ce)return{};var fe=Vt(y,re+16),Ze=fe==4294967295||ce==65535;if(Ze){var ke=Vt(y,re-12);Ze=Vt(y,ke)==101075792,Ze&&(ce=Vt(y,ke+32),fe=Vt(y,ke+48))}for(var Ge=z&&z.filter,$e=0;$e{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),Mi={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Fi{constructor(z=Zi,E={}){Ol(this,"buffer");Ol(this,"byteLength");Ol(this,"byteOffset");Ol(this,"length");Ol(this,"offset");Ol(this,"lastWrittenByte");Ol(this,"littleEndian");Ol(this,"_data");Ol(this,"_mark");Ol(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ce=E.offset?E.offset>>>0:0,fe=z.byteLength-ce;let Ze=ce;(ArrayBuffer.isView(z)||z instanceof Fi)&&(z.byteLength!==z.buffer.byteLength&&(Ze=z.byteOffset+ce),z=z.buffer),re?this.lastWrittenByte=fe:this.lastWrittenByte=0,this.buffer=z,this.length=fe,this.byteLength=fe,this.byteOffset=Ze,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ze,fe),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ce=new Uint8Array(re);ce.set(new Uint8Array(this.buffer)),this.buffer=ce.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,E){const re=Mi[E].BYTES_PER_ELEMENT*z,ce=this.byteOffset+this.offset,fe=this.buffer.slice(ce,ce+re);if(this.littleEndian===ki&&E!=="uint8"&&E!=="int8"){const ke=new Uint8Array(this.buffer.slice(ce,ce+re));ke.reverse();const Ge=new Mi[E](ke.buffer);return this.offset+=re,Ge.reverse(),Ge}const Ze=new Mi[E](fe);return this.offset+=re,Ze}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let E="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const lo=4,Ki=0,Do=1,eo=2;function qo(y){let z=y.length;for(;--z>=0;)y[z]=0}const wo=0,no=1,No=2,Yo=3,Qo=258,Fo=29,pn=256,Rr=pn+1+Fo,Jr=30,Ai=19,Kr=2*Rr+1,_i=15,oo=16,Ur=7,ti=256,Di=16,Ui=17,Uo=18,xa=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Wr=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),fo=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Oo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ta=512,_o=new Array((Rr+2)*2);qo(_o);const Jo=new Array(Jr*2);qo(Jo);const $o=new Array(ta);qo($o);const Sa=new Array(Qo-Yo+1);qo(Sa);const Ja=new Array(Fo);qo(Ja);const hs=new Array(Jr);qo(hs);function ba(y,z,E,re,ce){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=ce,this.has_stree=y&&y.length}let Ua,Bo,bo;function Ra(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const ns=y=>y<256?$o[y]:$o[256+(y>>>7)],js=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},tl=(y,z,E)=>{y.bi_valid>oo-E?(y.bi_buf|=z<>oo-y.bi_valid,y.bi_valid+=E-oo):(y.bi_buf|=z<{tl(y,E[z*2],E[z*2+1])},au=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},su=y=>{y.bi_valid===16?(js(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},Fs=(y,z)=>{const E=z.dyn_tree,re=z.max_code,ce=z.stat_desc.static_tree,fe=z.stat_desc.has_stree,Ze=z.stat_desc.extra_bits,ke=z.stat_desc.extra_base,Ge=z.stat_desc.max_length;let $e,pt,Mt,Jt,At,Ln,xn=0;for(Jt=0;Jt<=_i;Jt++)y.bl_count[Jt]=0;for(E[y.heap[y.heap_max]*2+1]=0,$e=y.heap_max+1;$eGe&&(Jt=Ge,xn++),E[pt*2+1]=Jt,!(pt>re)&&(y.bl_count[Jt]++,At=0,pt>=ke&&(At=Ze[pt-ke]),Ln=E[pt*2],y.opt_len+=Ln*(Jt+At),fe&&(y.static_len+=Ln*(ce[pt*2+1]+At)));if(xn!==0){do{for(Jt=Ge-1;y.bl_count[Jt]===0;)Jt--;y.bl_count[Jt]--,y.bl_count[Jt+1]+=2,y.bl_count[Ge]--,xn-=2}while(xn>0);for(Jt=Ge;Jt!==0;Jt--)for(pt=y.bl_count[Jt];pt!==0;)Mt=y.heap[--$e],!(Mt>re)&&(E[Mt*2+1]!==Jt&&(y.opt_len+=(Jt-E[Mt*2+1])*E[Mt*2],E[Mt*2+1]=Jt),pt--)}},Rl=(y,z,E)=>{const re=new Array(_i+1);let ce=0,fe,Ze;for(fe=1;fe<=_i;fe++)ce=ce+E[fe-1]<<1,re[fe]=ce;for(Ze=0;Ze<=z;Ze++){let ke=y[Ze*2+1];ke!==0&&(y[Ze*2]=au(re[ke]++,ke))}},Nu=()=>{let y,z,E,re,ce;const fe=new Array(_i+1);for(E=0,re=0;re>=7;re{let z;for(z=0;z{y.bi_valid>8?js(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},Bu=(y,z,E,re)=>{const ce=z*2,fe=E*2;return y[ce]{const re=y.heap[E];let ce=E<<1;for(;ce<=y.heap_len&&(ce{let re,ce,fe=0,Ze,ke;if(y.sym_next!==0)do re=y.pending_buf[y.sym_buf+fe++]&255,re+=(y.pending_buf[y.sym_buf+fe++]&255)<<8,ce=y.pending_buf[y.sym_buf+fe++],re===0?nl(y,ce,z):(Ze=Sa[ce],nl(y,Ze+pn+1,z),ke=xa[Ze],ke!==0&&(ce-=Ja[Ze],tl(y,ce,ke)),re--,Ze=ns(re),nl(y,Ze,E),ke=Wr[Ze],ke!==0&&(re-=hs[Ze],tl(y,re,ke)));while(fe{const E=z.dyn_tree,re=z.stat_desc.static_tree,ce=z.stat_desc.has_stree,fe=z.stat_desc.elems;let Ze,ke,Ge=-1,$e;for(y.heap_len=0,y.heap_max=Kr,Ze=0;Ze>1;Ze>=1;Ze--)Dc(y,E,Ze);$e=fe;do Ze=y.heap[1],y.heap[1]=y.heap[y.heap_len--],Dc(y,E,1),ke=y.heap[1],y.heap[--y.heap_max]=Ze,y.heap[--y.heap_max]=ke,E[$e*2]=E[Ze*2]+E[ke*2],y.depth[$e]=(y.depth[Ze]>=y.depth[ke]?y.depth[Ze]:y.depth[ke])+1,E[Ze*2+1]=E[ke*2+1]=$e,y.heap[1]=$e++,Dc(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],Fs(y,z),Rl(E,Ge,y.bl_count)},ha=(y,z,E)=>{let re,ce=-1,fe,Ze=z[0*2+1],ke=0,Ge=7,$e=4;for(Ze===0&&(Ge=138,$e=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)fe=Ze,Ze=z[(re+1)*2+1],!(++ke{let re,ce=-1,fe,Ze=z[0*2+1],ke=0,Ge=7,$e=4;for(Ze===0&&(Ge=138,$e=3),re=0;re<=E;re++)if(fe=Ze,Ze=z[(re+1)*2+1],!(++ke{let z;for(ha(y,y.dyn_ltree,y.l_desc.max_code),ha(y,y.dyn_dtree,y.d_desc.max_code),ka(y,y.bl_desc),z=Ai-1;z>=3&&y.bl_tree[Oo[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Ya=(y,z,E,re)=>{let ce;for(tl(y,z-257,5),tl(y,E-1,5),tl(y,re-4,4),ce=0;ce{let z=4093624447,E;for(E=0;E<=31;E++,z>>>=1)if(z&1&&y.dyn_ltree[E*2]!==0)return Ki;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return Do;for(E=32;E{Zl||(Nu(),Zl=!0),y.l_desc=new Ra(y.dyn_ltree,Ua),y.d_desc=new Ra(y.dyn_dtree,Bo),y.bl_desc=new Ra(y.bl_tree,bo),y.bi_buf=0,y.bi_valid=0,xu(y)},Sl=(y,z,E,re)=>{tl(y,(wo<<1)+(re?1:0),3),pl(y),js(y,E),js(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},Ou=y=>{tl(y,no<<1,3),nl(y,ti,_o),su(y)},fu=(y,z,E,re)=>{let ce,fe,Ze=0;y.level>0?(y.strm.data_type===eo&&(y.strm.data_type=Va(y)),ka(y,y.l_desc),ka(y,y.d_desc),Ze=qa(y),ce=y.opt_len+3+7>>>3,fe=y.static_len+3+7>>>3,fe<=ce&&(ce=fe)):ce=fe=E+5,E+4<=ce&&z!==-1?Sl(y,z,E,re):y.strategy===lo||fe===ce?(tl(y,(no<<1)+(re?1:0),3),pa(y,_o,Jo)):(tl(y,(No<<1)+(re?1:0),3),Ya(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ze+1),pa(y,y.dyn_ltree,y.dyn_dtree)),xu(y),re&&pl(y)},zi=(y,z,E)=>(y.pending_buf[y.sym_buf+y.sym_next++]=z,y.pending_buf[y.sym_buf+y.sym_next++]=z>>8,y.pending_buf[y.sym_buf+y.sym_next++]=E,z===0?y.dyn_ltree[E*2]++:(y.matches++,z--,y.dyn_ltree[(Sa[E]+pn+1)*2]++,y.dyn_dtree[ns(z)*2]++),y.sym_next===y.sym_end);var zo=lu,ga=Sl,hu=fu,ol=zi,qu=Ou,Hu={_tr_init:zo,_tr_stored_block:ga,_tr_flush_block:hu,_tr_tally:ol,_tr_align:qu},vs=(y,z,E,re)=>{let ce=y&65535|0,fe=y>>>16&65535|0,Ze=0;for(;E!==0;){Ze=E>2e3?2e3:E,E-=Ze;do ce=ce+z[re++]|0,fe=fe+ce|0;while(--Ze);ce%=65521,fe%=65521}return ce|fe<<16|0};const sc=()=>{let y,z=[];for(var E=0;E<256;E++){y=E;for(var re=0;re<8;re++)y=y&1?3988292384^y>>>1:y>>>1;z[E]=y}return z},rA=new Uint32Array(sc());var Pl=(y,z,E,re)=>{const ce=rA,fe=re+E;y^=-1;for(let Ze=re;Ze>>8^ce[(y^z[Ze])&255];return y^-1},Tu={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},uu={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:pu,_tr_stored_block:Tl,_tr_flush_block:Eu,_tr_tally:Fl,_tr_align:Il}=Hu,{Z_NO_FLUSH:Hs,Z_PARTIAL_FLUSH:zu,Z_FULL_FLUSH:td,Z_FINISH:Wl,Z_BLOCK:gu,Z_OK:La,Z_STREAM_END:Da,Z_STREAM_ERROR:Rs,Z_DATA_ERROR:lc,Z_BUF_ERROR:Vl,Z_DEFAULT_COMPRESSION:cu,Z_FILTERED:Vc,Z_HUFFMAN_ONLY:wc,Z_RLE:pA,Z_FIXED:Gl,Z_DEFAULT_STRATEGY:bc,Z_UNKNOWN:iA,Z_DEFLATED:oA}=uu,Ed=9,Jf=15,nd=8,ku=256+1+29,TA=30,aA=19,Sd=2*ku+1,qf=15,Ps=3,ec=258,mA=ec+Ps+1,Th=32,Gc=42,kh=57,Fd=69,eh=73,bf=91,Cf=103,Xc=113,ya=666,Ql=1,Mc=2,rd=3,kA=4,Kp=3,MA=(y,z)=>(y.msg=Tu[z],z),th=y=>y*2-(y>4?9:0),Uc=y=>{let z=y.length;for(;--z>=0;)y[z]=0},id=y=>{let z,E,re,ce=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=ce?E-ce:0;while(--z);z=ce,re=z;do E=y.prev[--re],y.prev[re]=E>=ce?E-ce:0;while(--z)};let vA=(y,z,E)=>(z<{const z=y.state;let E=z.pending;E>y.avail_out&&(E=y.avail_out),E!==0&&(y.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+E),y.next_out),y.next_out+=E,z.pending_out+=E,y.total_out+=E,y.avail_out-=E,z.pending-=E,z.pending===0&&(z.pending_out=0))},uc=(y,z)=>{Eu(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,Nc(y.strm)},zs=(y,z)=>{y.pending_buf[y.pending++]=z},yA=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},od=(y,z,E,re)=>{let ce=y.avail_in;return ce>re&&(ce=re),ce===0?0:(y.avail_in-=ce,z.set(y.input.subarray(y.next_in,y.next_in+ce),E),y.state.wrap===1?y.adler=vs(y.adler,z,ce,E):y.state.wrap===2&&(y.adler=Pl(y.adler,z,ce,E)),y.next_in+=ce,y.total_in+=ce,ce)},ad=(y,z)=>{let E=y.max_chain_length,re=y.strstart,ce,fe,Ze=y.prev_length,ke=y.nice_match;const Ge=y.strstart>y.w_size-mA?y.strstart-(y.w_size-mA):0,$e=y.window,pt=y.w_mask,Mt=y.prev,Jt=y.strstart+ec;let At=$e[re+Ze-1],Ln=$e[re+Ze];y.prev_length>=y.good_match&&(E>>=2),ke>y.lookahead&&(ke=y.lookahead);do if(ce=z,!($e[ce+Ze]!==Ln||$e[ce+Ze-1]!==At||$e[ce]!==$e[re]||$e[++ce]!==$e[re+1])){re+=2,ce++;do;while($e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&reZe){if(y.match_start=z,Ze=fe,fe>=ke)break;At=$e[re+Ze-1],Ln=$e[re+Ze]}}while((z=Mt[z&pt])>Ge&&--E!==0);return Ze<=y.lookahead?Ze:y.lookahead},wA=y=>{const z=y.w_size;let E,re,ce;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-mA)&&(y.window.set(y.window.subarray(z,z+z-re),0),y.match_start-=z,y.strstart-=z,y.block_start-=z,y.insert>y.strstart&&(y.insert=y.strstart),id(y),re+=z),y.strm.avail_in===0)break;if(E=od(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Ps)for(ce=y.strstart-y.insert,y.ins_h=y.window[ce],y.ins_h=vA(y,y.ins_h,y.window[ce+1]);y.insert&&(y.ins_h=vA(y,y.ins_h,y.window[ce+Ps-1]),y.prev[ce&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=ce,ce++,y.insert--,!(y.lookahead+y.insert{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,ce,fe,Ze=0,ke=y.strm.avail_in;do{if(re=65535,fe=y.bi_valid+42>>3,y.strm.avail_outce+y.strm.avail_in&&(re=ce+y.strm.avail_in),re>fe&&(re=fe),re>8,y.pending_buf[y.pending-2]=~re,y.pending_buf[y.pending-1]=~re>>8,Nc(y.strm),ce&&(ce>re&&(ce=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+ce),y.strm.next_out),y.strm.next_out+=ce,y.strm.avail_out-=ce,y.strm.total_out+=ce,y.block_start+=ce,re-=ce),re&&(od(y.strm,y.strm.output,y.strm.next_out,re),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re)}while(Ze===0);return ke-=y.strm.avail_in,ke&&(ke>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=ke&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-ke,y.strm.next_in),y.strstart),y.strstart+=ke,y.insert+=ke>y.w_size-y.insert?y.w_size-y.insert:ke),y.block_start=y.strstart),y.high_waterfe&&y.block_start>=y.w_size&&(y.block_start-=y.w_size,y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,fe+=y.w_size,y.insert>y.strstart&&(y.insert=y.strstart)),fe>y.strm.avail_in&&(fe=y.strm.avail_in),fe&&(od(y.strm,y.window,y.strstart,fe),y.strstart+=fe,y.insert+=fe>y.w_size-y.insert?y.w_size-y.insert:fe),y.high_water>3,fe=y.pending_buf_size-fe>65535?65535:y.pending_buf_size-fe,E=fe>y.w_size?y.w_size:fe,ce=y.strstart-y.block_start,(ce>=E||(ce||z===Wl)&&z!==Hs&&y.strm.avail_in===0&&ce<=fe)&&(re=ce>fe?fe:ce,Ze=z===Wl&&y.strm.avail_in===0&&re===ce?1:0,Tl(y,y.block_start,re,Ze),y.block_start+=re,Nc(y.strm)),Ze?rd:Ql)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead=Ps&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),E!==0&&y.strstart-E<=y.w_size-mA&&(y.match_length=ad(y,E)),y.match_length>=Ps)if(re=Fl(y,y.strstart-y.match_start,y.match_length-Ps),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Ps){y.match_length--;do y.strstart++,y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=vA(y,y.ins_h,y.window[y.strstart+1]);else re=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(uc(y,!1),y.strm.avail_out===0))return Ql}return y.insert=y.strstart{let E,re,ce;for(;;){if(y.lookahead=Ps&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Ps-1,E!==0&&y.prev_length4096)&&(y.match_length=Ps-1)),y.prev_length>=Ps&&y.match_length<=y.prev_length){ce=y.strstart+y.lookahead-Ps,re=Fl(y,y.strstart-1-y.prev_match,y.prev_length-Ps),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=ce&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Ps-1,y.strstart++,re&&(uc(y,!1),y.strm.avail_out===0))return Ql}else if(y.match_available){if(re=Fl(y,0,y.window[y.strstart-1]),re&&uc(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return Ql}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=Fl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart{let E,re,ce,fe;const Ze=y.window;for(;;){if(y.lookahead<=ec){if(wA(y),y.lookahead<=ec&&z===Hs)return Ql;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Ps&&y.strstart>0&&(ce=y.strstart-1,re=Ze[ce],re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce])){fe=y.strstart+ec;do;while(re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&cey.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Ps?(E=Fl(y,1,y.match_length-Ps),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(uc(y,!1),y.strm.avail_out===0))return Ql}return y.insert=0,z===Wl?(uc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(uc(y,!1),y.strm.avail_out===0)?Ql:Mc},Wp=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(wA(y),y.lookahead===0)){if(z===Hs)return Ql;break}if(y.match_length=0,E=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(uc(y,!1),y.strm.avail_out===0))return Ql}return y.insert=0,z===Wl?(uc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(uc(y,!1),y.strm.avail_out===0)?Ql:Mc};function cc(y,z,E,re,ce){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=ce}const bA=[new cc(0,0,0,0,UA),new cc(4,4,8,4,xf),new cc(4,5,16,8,xf),new cc(4,6,32,32,xf),new cc(4,4,16,16,Id),new cc(8,16,32,32,Id),new cc(8,16,128,128,Id),new cc(8,32,128,256,Id),new cc(32,128,258,1024,Id),new cc(32,258,258,4096,Id)],up=y=>{y.window_size=2*y.w_size,Uc(y.head),y.max_lazy_match=bA[y.level].max_lazy,y.good_match=bA[y.level].good_length,y.nice_match=bA[y.level].nice_length,y.max_chain_length=bA[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Ps-1,y.match_available=0,y.ins_h=0};function Vp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=oA,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Sd*2),this.dyn_dtree=new Uint16Array((2*TA+1)*2),this.bl_tree=new Uint16Array((2*aA+1)*2),Uc(this.dyn_ltree),Uc(this.dyn_dtree),Uc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(qf+1),this.heap=new Uint16Array(2*ku+1),Uc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ku+1),Uc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Xd=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.status!==Gc&&z.status!==kh&&z.status!==Fd&&z.status!==eh&&z.status!==bf&&z.status!==Cf&&z.status!==Xc&&z.status!==ya?1:0},cp=y=>{if(Xd(y))return MA(y,Rs);y.total_in=y.total_out=0,y.data_type=iA;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?kh:z.wrap?Gc:Xc,y.adler=z.wrap===2?0:1,z.last_flush=-2,pu(z),La},Yd=y=>{const z=cp(y);return z===La&&up(y.state),z},Gp=(y,z)=>Xd(y)||y.state.wrap!==2?Rs:(y.state.gzhead=z,La),Ac=(y,z,E,re,ce,fe)=>{if(!y)return Rs;let Ze=1;if(z===cu&&(z=6),re<0?(Ze=0,re=-re):re>15&&(Ze=2,re-=16),ce<1||ce>Ed||E!==oA||re<8||re>15||z<0||z>9||fe<0||fe>Gl||re===8&&Ze!==1)return MA(y,Rs);re===8&&(re=9);const ke=new Vp;return y.state=ke,ke.strm=y,ke.status=Gc,ke.wrap=Ze,ke.gzhead=null,ke.w_bits=re,ke.w_size=1<Ac(y,z,oA,Jf,nd,bc),dc=(y,z)=>{if(Xd(y)||z>gu||z<0)return y?MA(y,Rs):Rs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===ya&&z!==Wl)return MA(y,y.avail_out===0?Vl:Rs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(Nc(y),y.avail_out===0)return E.last_flush=-1,La}else if(y.avail_in===0&&th(z)<=th(re)&&z!==Wl)return MA(y,Vl);if(E.status===ya&&y.avail_in!==0)return MA(y,Vl);if(E.status===Gc&&E.wrap===0&&(E.status=Xc),E.status===Gc){let ce=oA+(E.w_bits-8<<4)<<8,fe=-1;if(E.strategy>=wc||E.level<2?fe=0:E.level<6?fe=1:E.level===6?fe=2:fe=3,ce|=fe<<6,E.strstart!==0&&(ce|=Th),ce+=31-ce%31,yA(E,ce),E.strstart!==0&&(yA(E,y.adler>>>16),yA(E,y.adler&65535)),y.adler=1,E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(E.status===kh){if(y.adler=0,zs(E,31),zs(E,139),zs(E,8),E.gzhead)zs(E,(E.gzhead.text?1:0)+(E.gzhead.hcrc?2:0)+(E.gzhead.extra?4:0)+(E.gzhead.name?8:0)+(E.gzhead.comment?16:0)),zs(E,E.gzhead.time&255),zs(E,E.gzhead.time>>8&255),zs(E,E.gzhead.time>>16&255),zs(E,E.gzhead.time>>24&255),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(zs(E,E.gzhead.extra.length&255),zs(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=Pl(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Fd;else if(zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,Kp),E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(E.status===Fd){if(E.gzhead.extra){let ce=E.pending,fe=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+fe>E.pending_buf_size;){let ke=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+ke),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex+=ke,Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0,fe-=ke}let Ze=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ze.subarray(E.gzindex,E.gzindex+fe),E.pending),E.pending+=fe,E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=eh}if(E.status===eh){if(E.gzhead.name){let ce=E.pending,fe;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0}E.gzindexce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let ce=E.pending,fe;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0}E.gzindexce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(Nc(y),E.pending!==0))return E.last_flush=-1,La;zs(E,y.adler&255),zs(E,y.adler>>8&255),y.adler=0}if(E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(y.avail_in!==0||E.lookahead!==0||z!==Hs&&E.status!==ya){let ce=E.level===0?UA(E,z):E.strategy===wc?Wp(E,z):E.strategy===pA?Mh(E,z):bA[E.level].func(E,z);if((ce===rd||ce===kA)&&(E.status=ya),ce===Ql||ce===rd)return y.avail_out===0&&(E.last_flush=-1),La;if(ce===Mc&&(z===zu?Il(E):z!==gu&&(Tl(E,0,0,!1),z===td&&(Uc(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),Nc(y),y.avail_out===0))return E.last_flush=-1,La}return z!==Wl?La:E.wrap<=0?Da:(E.wrap===2?(zs(E,y.adler&255),zs(E,y.adler>>8&255),zs(E,y.adler>>16&255),zs(E,y.adler>>24&255),zs(E,y.total_in&255),zs(E,y.total_in>>8&255),zs(E,y.total_in>>16&255),zs(E,y.total_in>>24&255)):(yA(E,y.adler>>>16),yA(E,y.adler&65535)),Nc(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?La:Da)},Uu=y=>{if(Xd(y))return Rs;const z=y.state.status;return y.state=null,z===Xc?MA(y,lc):La},sd=(y,z)=>{let E=z.length;if(Xd(y))return Rs;const re=y.state,ce=re.wrap;if(ce===2||ce===1&&re.status!==Gc||re.lookahead)return Rs;if(ce===1&&(y.adler=vs(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){ce===0&&(Uc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Ge=new Uint8Array(re.w_size);Ge.set(z.subarray(E-re.w_size,E),0),z=Ge,E=re.w_size}const fe=y.avail_in,Ze=y.next_in,ke=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,wA(re);re.lookahead>=Ps;){let Ge=re.strstart,$e=re.lookahead-(Ps-1);do re.ins_h=vA(re,re.ins_h,re.window[Ge+Ps-1]),re.prev[Ge&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Ge,Ge++;while(--$e);re.strstart=Ge,re.lookahead=Ps-1,wA(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ps-1,re.match_available=0,y.next_in=Ze,y.input=ke,y.avail_in=fe,re.wrap=ce,La};var $d=Mu,Bf=Ac,Ap=Yd,dp=cp,fp=Gp,nh=dc,CA=Uu,Ld=sd,hp="pako deflate (from Nodeca project)",wt={deflateInit:$d,deflateInit2:Bf,deflateReset:Ap,deflateResetKeep:dp,deflateSetHeader:fp,deflate:nh,deflateEnd:CA,deflateSetDictionary:Ld,deflateInfo:hp};const yt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Yt=function(y){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const E=z.shift();if(E){if(typeof E!="object")throw new TypeError(E+"must be non-object");for(const re in E)yt(E,re)&&(y[re]=E[re])}}return y},An=y=>{let z=0;for(let re=0,ce=y.length;re=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;rr[254]=rr[254]=1;var er=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,ce,fe,Ze=y.length,ke=0;for(ce=0;ce>>6,z[fe++]=128|E&63):E<65536?(z[fe++]=224|E>>>12,z[fe++]=128|E>>>6&63,z[fe++]=128|E&63):(z[fe++]=240|E>>>18,z[fe++]=128|E>>>12&63,z[fe++]=128|E>>>6&63,z[fe++]=128|E&63);return z};const vr=(y,z)=>{if(z<65534&&y.subarray&&Mn)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,ce;const fe=new Array(E*2);for(ce=0,re=0;re4){fe[ce++]=65533,re+=ke-1;continue}for(Ze&=ke===2?31:ke===3?15:7;ke>1&&re1){fe[ce++]=65533;continue}Ze<65536?fe[ce++]=Ze:(Ze-=65536,fe[ce++]=55296|Ze>>10&1023,fe[ce++]=56320|Ze&1023)}return vr(fe,ce)},li=(y,z)=>{z=z||y.length,z>y.length&&(z=y.length);let E=z-1;for(;E>=0&&(y[E]&192)===128;)E--;return E<0||E===0?z:E+rr[y[E]]>z?E:z},Qr={string2buf:er,buf2string:Ar,utf8border:li};function _r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Dr=_r;const Fr=Object.prototype.toString,{Z_NO_FLUSH:Gi,Z_SYNC_FLUSH:mi,Z_FULL_FLUSH:to,Z_FINISH:uo,Z_OK:qi,Z_STREAM_END:po,Z_DEFAULT_COMPRESSION:Eo,Z_DEFAULT_STRATEGY:jo,Z_DEFLATED:ko}=uu;function Na(y){this.options=Fn.assign({level:Eo,method:ko,chunkSize:16384,windowBits:15,memLevel:8,strategy:jo},y||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dr,this.strm.avail_out=0;let E=wt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==qi)throw new Error(Tu[E]);if(z.header&&wt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Qr.string2buf(z.dictionary):Fr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=wt.deflateSetDictionary(this.strm,re),E!==qi)throw new Error(Tu[E]);this._dict_set=!0}}Na.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let ce,fe;if(this.ended)return!1;for(z===~~z?fe=z:fe=z===!0?uo:Gi,typeof y=="string"?E.input=Qr.string2buf(y):Fr.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){if(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),(fe===mi||fe===to)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(ce=wt.deflate(E,fe),ce===po)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),ce=wt.deflateEnd(this.strm),this.onEnd(ce),this.ended=!0,ce===qi;if(E.avail_out===0){this.onData(E.output);continue}if(fe>0&&E.next_out>0){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(E.avail_in===0)break}return!0},Na.prototype.onData=function(y){this.chunks.push(y)},Na.prototype.onEnd=function(y){y===qi&&(this.result=Fn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function sa(y,z){const E=new Na(z);if(E.push(y,!0),E.err)throw E.msg||Tu[E.err];return E.result}function ra(y,z){return z=z||{},z.raw=!0,sa(y,z)}function Zo(y,z){return z=z||{},z.gzip=!0,sa(y,z)}var Ho=Na,Ko=sa,vo=ra,ho=Zo,Mo=uu,Go={Deflate:Ho,deflate:Ko,deflateRaw:vo,gzip:ho,constants:Mo};const ia=16209,Co=16191;var es=function(z,E){let re,ce,fe,Ze,ke,Ge,$e,pt,Mt,Jt,At,Ln,xn,Pn,dn,mr,ar,Wn,ui,ji,Bi,Ir,Xn,Zr;const ln=z.state;re=z.next_in,Xn=z.input,ce=re+(z.avail_in-5),fe=z.next_out,Zr=z.output,Ze=fe-(E-z.avail_out),ke=fe+(z.avail_out-257),Ge=ln.dmax,$e=ln.wsize,pt=ln.whave,Mt=ln.wnext,Jt=ln.window,At=ln.hold,Ln=ln.bits,xn=ln.lencode,Pn=ln.distcode,dn=(1<>>24,At>>>=Wn,Ln-=Wn,Wn=ar>>>16&255,Wn===0)Zr[fe++]=ar&65535;else if(Wn&16){ui=ar&65535,Wn&=15,Wn&&(Ln>>=Wn,Ln-=Wn),Ln<15&&(At+=Xn[re++]<>>24,At>>>=Wn,Ln-=Wn,Wn=ar>>>16&255,Wn&16){if(ji=ar&65535,Wn&=15,LnGe){z.msg="invalid distance too far back",ln.mode=ia;break e}if(At>>>=Wn,Ln-=Wn,Wn=fe-Ze,ji>Wn){if(Wn=ji-Wn,Wn>pt&&ln.sane){z.msg="invalid distance too far back",ln.mode=ia;break e}if(Bi=0,Ir=Jt,Mt===0){if(Bi+=$e-Wn,Wn2;)Zr[fe++]=Ir[Bi++],Zr[fe++]=Ir[Bi++],Zr[fe++]=Ir[Bi++],ui-=3;ui&&(Zr[fe++]=Ir[Bi++],ui>1&&(Zr[fe++]=Ir[Bi++]))}else{Bi=fe-ji;do Zr[fe++]=Zr[Bi++],Zr[fe++]=Zr[Bi++],Zr[fe++]=Zr[Bi++],ui-=3;while(ui>2);ui&&(Zr[fe++]=Zr[Bi++],ui>1&&(Zr[fe++]=Zr[Bi++]))}}else if(Wn&64){z.msg="invalid distance code",ln.mode=ia;break e}else{ar=Pn[(ar&65535)+(At&(1<>3,re-=ui,Ln-=ui<<3,At&=(1<{const Ge=ke.bits;let $e=0,pt=0,Mt=0,Jt=0,At=0,Ln=0,xn=0,Pn=0,dn=0,mr=0,ar,Wn,ui,ji,Bi,Ir=null,Xn;const Zr=new Uint16Array(Za+1),ln=new Uint16Array(Za+1);let Tn=null,gr,cr,hi;for($e=0;$e<=Za;$e++)Zr[$e]=0;for(pt=0;pt=1&&Zr[Jt]===0;Jt--);if(At>Jt&&(At=Jt),Jt===0)return ce[fe++]=1<<24|64<<16|0,ce[fe++]=1<<24|64<<16|0,ke.bits=1,0;for(Mt=1;Mt0&&(y===al||Jt!==1))return-1;for(ln[1]=0,$e=1;$ekl||y===Xl&&dn>bl)return 1;for(;;){gr=$e-xn,Ze[pt]+1=Xn?(cr=Tn[Ze[pt]-Xn],hi=Ir[Ze[pt]-Xn]):(cr=96,hi=0),ar=1<<$e-xn,Wn=1<>xn)+Wn]=gr<<24|cr<<16|hi|0;while(Wn!==0);for(ar=1<<$e-1;mr&ar;)ar>>=1;if(ar!==0?(mr&=ar-1,mr+=ar):mr=0,pt++,--Zr[$e]===0){if($e===Jt)break;$e=z[E+Ze[pt]]}if($e>At&&(mr&ji)!==ui){for(xn===0&&(xn=At),Bi+=Mt,Ln=$e-xn,Pn=1<kl||y===Xl&&dn>bl)return 1;ui=mr&ji,ce[ui]=At<<24|Ln<<16|Bi-fe|0}}return mr!==0&&(ce[Bi+mr]=$e-xn<<24|64<<16|0),ke.bits=At,0};const Xo=0,Po=1,ps=2,{Z_FINISH:Is,Z_BLOCK:Gs,Z_TREES:Ks,Z_OK:sl,Z_STREAM_END:mu,Z_NEED_DICT:la,Z_STREAM_ERROR:na,Z_DATA_ERROR:Bs,Z_MEM_ERROR:Js,Z_BUF_ERROR:Xs,Z_DEFLATED:vu}=uu,Ml=16180,fc=16181,Cl=16182,ys=16183,ll=16184,ul=16185,du=16186,Ul=16187,ws=16188,gl=16189,Ls=16190,ml=16191,Yl=16192,Ru=16193,Qu=16194,Yc=16195,cl=16196,Dd=16197,Ku=16198,tc=16199,Zu=16200,nc=16201,Al=16202,Cc=16203,xA=16204,Rc=16205,$c=16206,Jd=16207,qd=16208,Ds=16209,ld=16210,Ef=16211,Wa=852,gs=592,ru=15,Su=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function Fu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const rc=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.modeEf?1:0},Wu=y=>{if(rc(y))return na;const z=y.state;return y.total_in=y.total_out=z.total=0,y.msg="",z.wrap&&(y.adler=z.wrap&1),z.mode=Ml,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(Wa),z.distcode=z.distdyn=new Int32Array(gs),z.sane=1,z.back=-1,sl},ZA=y=>{if(rc(y))return na;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,Wu(y)},Sf=(y,z)=>{let E;if(rc(y))return na;const re=y.state;return z<0?(E=0,z=-z):(E=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?na:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=E,re.wbits=z,ZA(y))},WA=(y,z)=>{if(!y)return na;const E=new Fu;y.state=E,E.strm=y,E.window=null,E.mode=Ml;const re=Sf(y,z);return re!==sl&&(y.state=null),re},VA=y=>WA(y,ru);let yu=!0,Qc,ef;const Ff=y=>{if(yu){Qc=new Int32Array(512),ef=new Int32Array(32);let z=0;for(;z<144;)y.lens[z++]=8;for(;z<256;)y.lens[z++]=9;for(;z<280;)y.lens[z++]=7;for(;z<288;)y.lens[z++]=8;for(Ca(Po,y.lens,0,288,Qc,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;Ca(ps,y.lens,0,32,ef,0,y.work,{bits:5}),yu=!1}y.lencode=Qc,y.lenbits=9,y.distcode=ef,y.distbits=5},tf=(y,z,E,re)=>{let ce;const fe=y.state;return fe.window===null&&(fe.wsize=1<=fe.wsize?(fe.window.set(z.subarray(E-fe.wsize,E),0),fe.wnext=0,fe.whave=fe.wsize):(ce=fe.wsize-fe.wnext,ce>re&&(ce=re),fe.window.set(z.subarray(E-re,E-re+ce),fe.wnext),re-=ce,re?(fe.window.set(z.subarray(E-re,E),0),fe.wnext=re,fe.whave=fe.wsize):(fe.wnext+=ce,fe.wnext===fe.wsize&&(fe.wnext=0),fe.whave{let E,re,ce,fe,Ze,ke,Ge,$e,pt,Mt,Jt,At,Ln,xn,Pn=0,dn,mr,ar,Wn,ui,ji,Bi,Ir;const Xn=new Uint8Array(4);let Zr,ln;const Tn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(rc(y)||!y.output||!y.input&&y.avail_in!==0)return na;E=y.state,E.mode===ml&&(E.mode=Yl),Ze=y.next_out,ce=y.output,Ge=y.avail_out,fe=y.next_in,re=y.input,ke=y.avail_in,$e=E.hold,pt=E.bits,Mt=ke,Jt=Ge,Ir=sl;e:for(;;)switch(E.mode){case Ml:if(E.wrap===0){E.mode=Yl;break}for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,E.check=Pl(E.check,Xn,2,0),$e=0,pt=0,E.mode=fc;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||((($e&255)<<8)+($e>>8))%31){y.msg="incorrect header check",E.mode=Ds;break}if(($e&15)!==vu){y.msg="unknown compression method",E.mode=Ds;break}if($e>>>=4,pt-=4,Bi=($e&15)+8,E.wbits===0&&(E.wbits=Bi),Bi>15||Bi>E.wbits){y.msg="invalid window size",E.mode=Ds;break}E.dmax=1<>8&1),E.flags&512&&E.wrap&4&&(Xn[0]=$e&255,Xn[1]=$e>>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0,E.mode=Cl;case Cl:for(;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,Xn[2]=$e>>>16&255,Xn[3]=$e>>>24&255,E.check=Pl(E.check,Xn,4,0)),$e=0,pt=0,E.mode=ys;case ys:for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>8),E.flags&512&&E.wrap&4&&(Xn[0]=$e&255,Xn[1]=$e>>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0,E.mode=ll;case ll:if(E.flags&1024){for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0}else E.head&&(E.head.extra=null);E.mode=ul;case ul:if(E.flags&1024&&(At=E.length,At>ke&&(At=ke),At&&(E.head&&(Bi=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Uint8Array(E.head.extra_len)),E.head.extra.set(re.subarray(fe,fe+At),Bi)),E.flags&512&&E.wrap&4&&(E.check=Pl(E.check,re,At,fe)),ke-=At,fe+=At,E.length-=At),E.length))break e;E.length=0,E.mode=du;case du:if(E.flags&2048){if(ke===0)break e;At=0;do Bi=re[fe+At++],E.head&&Bi&&E.length<65536&&(E.head.name+=String.fromCharCode(Bi));while(Bi&&At>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=ml;break;case gl:for(;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=pt&7,pt-=pt&7,E.mode=$c;break}for(;pt<3;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=1,pt-=1,$e&3){case 0:E.mode=Ru;break;case 1:if(Ff(E),E.mode=tc,z===Ks){$e>>>=2,pt-=2;break e}break;case 2:E.mode=cl;break;case 3:y.msg="invalid block type",E.mode=Ds}$e>>>=2,pt-=2;break;case Ru:for($e>>>=pt&7,pt-=pt&7;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>16^65535)){y.msg="invalid stored block lengths",E.mode=Ds;break}if(E.length=$e&65535,$e=0,pt=0,E.mode=Qu,z===Ks)break e;case Qu:E.mode=Yc;case Yc:if(At=E.length,At){if(At>ke&&(At=ke),At>Ge&&(At=Ge),At===0)break e;ce.set(re.subarray(fe,fe+At),Ze),ke-=At,fe+=At,Ge-=At,Ze+=At,E.length-=At;break}E.mode=ml;break;case cl:for(;pt<14;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=5,pt-=5,E.ndist=($e&31)+1,$e>>>=5,pt-=5,E.ncode=($e&15)+4,$e>>>=4,pt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Ds;break}E.have=0,E.mode=Dd;case Dd:for(;E.have>>=3,pt-=3}for(;E.have<19;)E.lens[Tn[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Zr={bits:E.lenbits},Ir=Ca(Xo,E.lens,0,19,E.lencode,0,E.work,Zr),E.lenbits=Zr.bits,Ir){y.msg="invalid code lengths set",E.mode=Ds;break}E.have=0,E.mode=Ku;case Ku:for(;E.have>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=dn,pt-=dn,E.lens[E.have++]=ar;else{if(ar===16){for(ln=dn+2;pt>>=dn,pt-=dn,E.have===0){y.msg="invalid bit length repeat",E.mode=Ds;break}Bi=E.lens[E.have-1],At=3+($e&3),$e>>>=2,pt-=2}else if(ar===17){for(ln=dn+3;pt>>=dn,pt-=dn,Bi=0,At=3+($e&7),$e>>>=3,pt-=3}else{for(ln=dn+7;pt>>=dn,pt-=dn,Bi=0,At=11+($e&127),$e>>>=7,pt-=7}if(E.have+At>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Ds;break}for(;At--;)E.lens[E.have++]=Bi}}if(E.mode===Ds)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Ds;break}if(E.lenbits=9,Zr={bits:E.lenbits},Ir=Ca(Po,E.lens,0,E.nlen,E.lencode,0,E.work,Zr),E.lenbits=Zr.bits,Ir){y.msg="invalid literal/lengths set",E.mode=Ds;break}if(E.distbits=6,E.distcode=E.distdyn,Zr={bits:E.distbits},Ir=Ca(ps,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Zr),E.distbits=Zr.bits,Ir){y.msg="invalid distances set",E.mode=Ds;break}if(E.mode=tc,z===Ks)break e;case tc:E.mode=Zu;case Zu:if(ke>=6&&Ge>=258){y.next_out=Ze,y.avail_out=Ge,y.next_in=fe,y.avail_in=ke,E.hold=$e,E.bits=pt,es(y,Jt),Ze=y.next_out,ce=y.output,Ge=y.avail_out,fe=y.next_in,re=y.input,ke=y.avail_in,$e=E.hold,pt=E.bits,E.mode===ml&&(E.back=-1);break}for(E.back=0;Pn=E.lencode[$e&(1<>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>Wn)],dn=Pn>>>24,mr=Pn>>>16&255,ar=Pn&65535,!(Wn+dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=Wn,pt-=Wn,E.back+=Wn}if($e>>>=dn,pt-=dn,E.back+=dn,E.length=ar,mr===0){E.mode=Rc;break}if(mr&32){E.back=-1,E.mode=ml;break}if(mr&64){y.msg="invalid literal/length code",E.mode=Ds;break}E.extra=mr&15,E.mode=nc;case nc:if(E.extra){for(ln=E.extra;pt>>=E.extra,pt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Pn=E.distcode[$e&(1<>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>Wn)],dn=Pn>>>24,mr=Pn>>>16&255,ar=Pn&65535,!(Wn+dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=Wn,pt-=Wn,E.back+=Wn}if($e>>>=dn,pt-=dn,E.back+=dn,mr&64){y.msg="invalid distance code",E.mode=Ds;break}E.offset=ar,E.extra=mr&15,E.mode=Cc;case Cc:if(E.extra){for(ln=E.extra;pt>>=E.extra,pt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Ds;break}E.mode=xA;case xA:if(Ge===0)break e;if(At=Jt-Ge,E.offset>At){if(At=E.offset-At,At>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Ds;break}At>E.wnext?(At-=E.wnext,Ln=E.wsize-At):Ln=E.wnext-At,At>E.length&&(At=E.length),xn=E.window}else xn=ce,Ln=Ze-E.offset,At=E.length;At>Ge&&(At=Ge),Ge-=At,E.length-=At;do ce[Ze++]=xn[Ln++];while(--At);E.length===0&&(E.mode=Zu);break;case Rc:if(Ge===0)break e;ce[Ze++]=E.length,Ge--,E.mode=Zu;break;case $c:if(E.wrap){for(;pt<32;){if(ke===0)break e;ke--,$e|=re[fe++]<{if(rc(y))return na;let z=y.state;return z.window&&(z.window=null),y.state=null,sl},rh=(y,z)=>{if(rc(y))return na;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,sl):na},pp=(y,z)=>{const E=z.length;let re,ce,fe;return rc(y)||(re=y.state,re.wrap!==0&&re.mode!==Ls)?na:re.mode===Ls&&(ce=1,ce=vs(ce,z,E,0),ce!==re.check)?Bs:(fe=tf(y,z,E,E),fe?(re.mode=ld,Js):(re.havedict=1,sl))};var ih=ZA,nf=Sf,gp=Wu,mp=VA,rf=WA,Lf=If,Nd=GA,Df=rh,Od=pp,of="pako inflate (from Nodeca project)",BA={inflateReset:ih,inflateReset2:nf,inflateResetKeep:gp,inflateInit:mp,inflateInit2:rf,inflate:Lf,inflateEnd:Nd,inflateGetHeader:Df,inflateSetDictionary:Od,inflateInfo:of};function oh(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ah=oh;const Uh=Object.prototype.toString,{Z_NO_FLUSH:ud,Z_FINISH:EA,Z_OK:SA,Z_STREAM_END:Pd,Z_NEED_DICT:cd,Z_STREAM_ERROR:Rh,Z_DATA_ERROR:ms,Z_MEM_ERROR:Ns}=uu;function wu(y){this.options=Fn.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(y&&y.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dr,this.strm.avail_out=0;let E=BA.inflateInit2(this.strm,z.windowBits);if(E!==SA)throw new Error(Tu[E]);if(this.header=new ah,BA.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Qr.string2buf(z.dictionary):Uh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=BA.inflateSetDictionary(this.strm,z.dictionary),E!==SA)))throw new Error(Tu[E])}wu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,ce=this.options.dictionary;let fe,Ze,ke;if(this.ended)return!1;for(z===~~z?Ze=z:Ze=z===!0?EA:ud,Uh.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){for(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),fe=BA.inflate(E,Ze),fe===cd&&ce&&(fe=BA.inflateSetDictionary(E,ce),fe===SA?fe=BA.inflate(E,Ze):fe===ms&&(fe=cd));E.avail_in>0&&fe===Pd&&E.state.wrap>0&&y[E.next_in]!==0;)BA.inflateReset(E),fe=BA.inflate(E,Ze);switch(fe){case Rh:case ms:case cd:case Ns:return this.onEnd(fe),this.ended=!0,!1}if(ke=E.avail_out,E.next_out&&(E.avail_out===0||fe===Pd))if(this.options.to==="string"){let Ge=Qr.utf8border(E.output,E.next_out),$e=E.next_out-Ge,pt=Qr.buf2string(E.output,Ge);E.next_out=$e,E.avail_out=re-$e,$e&&E.output.set(E.output.subarray(Ge,Ge+$e),0),this.onData(pt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(fe===SA&&ke===0)){if(fe===Pd)return fe=BA.inflateEnd(this.strm),this.onEnd(fe),this.ended=!0,!0;if(E.avail_in===0)break}}return!0},wu.prototype.onData=function(y){this.chunks.push(y)},wu.prototype.onEnd=function(y){y===SA&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Fn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function Vu(y,z){const E=new wu(z);if(E.push(y),E.err)throw E.msg||Tu[E.err];return E.result}function Gu(y,z){return z=z||{},z.raw=!0,Vu(y,z)}var Ad=wu,XA=Vu,RA=Gu,dd=Vu,YA=uu,Qh={Inflate:Ad,inflate:XA,inflateRaw:RA,ungzip:dd,constants:YA};const{Deflate:fd,deflate:Xp,deflateRaw:_h,gzip:gg}=Go,{Inflate:mg,inflate:Yp,inflateRaw:jl,ungzip:$p}=Qh;var jh=fd,af=Xp,FA=_h,sh=gg,lh=mg,Nf=Yp,uh=jl,vp=$p,yp=uu,vg={Deflate:jh,deflate:af,deflateRaw:FA,gzip:sh,Inflate:lh,inflate:Nf,inflateRaw:uh,ungzip:vp,constants:yp};const wp=[];for(let y=0;y<256;y++){let z=y;for(let E=0;E<8;E++)z&1?z=3988292384^z>>>1:z=z>>>1;wp[y]=z}const ch=4294967295;function Jp(y,z,E){let re=y;for(let ce=0;ce>>8;return re}function vl(y,z){return(Jp(ch,y,z)^ch)>>>0}function Td(y,z,E){const re=y.readUint32(),ce=vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(ce!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${ce}`)}function yg(y,z){y.writeUint32(vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function Hl(y,z,E){for(let re=0;re>1)&255}else{for(;fe>1)&255;for(;fe>1)&255}}function xl(y,z,E,re,ce){let fe=0;if(E.length===0){for(;fe=E||ji>=re))for(let Bi=0;Bi>8&255}const te=new Uint16Array([255]),Oe=new Uint8Array(te.buffer)[0]===255,et=new Uint8Array(0);function vt(y){const{data:z,width:E,height:re,channels:ce,depth:fe}=y,Ze=Math.ceil(fe/8)*ce,ke=Math.ceil(fe/8*ce*E),Ge=new Uint8Array(re*ke);let $e=et,pt=0,Mt,Jt;for(let At=0;At>8&255}const Nt=Uint8Array.of(137,80,78,71,13,10,26,10);function Dn(y){y.writeBytes(Nt)}function jn(y){if(!Pr(y.readBytes(Nt.length)))throw new Error("wrong PNG signature")}function Pr(y){if(y.length79)throw new Error("keyword length must be between 1 and 79")}const Io=/^[\u0000-\u00FF]*$/;function Wo(y){if(!Io.test(y))throw new Error("invalid latin1 text")}function Lo(y,z,E){const re=Ma(z);y[re]=Ba(z,E-re.length-1)}function ca(y,z,E){Ao(z),Wo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(xr),y.writeChars(z),y.writeByte(vi),y.writeChars(E),writeCrc(y,re+4)}function Ma(y){for(y.mark();y.readByte()!==vi;);const z=y.offset;y.reset();const E=Wi.decode(y.readBytes(z-y.offset-1));return y.skip(1),Ao(E),E}function Ba(y,z){return Wi.decode(y.readBytes(z))}const Ha={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Bl={UNKNOWN:-1,DEFLATE:0},Xu={UNKNOWN:-1,ADAPTIVE:0},$l={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},xc={NONE:0,BACKGROUND:1,PREVIOUS:2},ic={SOURCE:0,OVER:1};class _u extends Fi{constructor(E,re={}){super(E);Ol(this,"_checkCrc");Ol(this,"_inflator");Ol(this,"_png");Ol(this,"_apng");Ol(this,"_end");Ol(this,"_hasPalette");Ol(this,"_palette");Ol(this,"_hasTransparency");Ol(this,"_transparency");Ol(this,"_compressionMethod");Ol(this,"_filterMethod");Ol(this,"_interlaceMethod");Ol(this,"_colorType");Ol(this,"_isAnimated");Ol(this,"_numberOfFrames");Ol(this,"_numberOfPlays");Ol(this,"_frames");Ol(this,"_writingDataChunks");const{checkCrc:ce=!1}=re;this._checkCrc=ce,this._inflator=new lh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Bl.UNKNOWN,this._filterMethod=Xu.UNKNOWN,this._interlaceMethod=$l.UNKNOWN,this._colorType=Ha.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(jn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(jn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const ce=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(E);break;case"IDAT":this.decodeIDAT(E);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(E);break;case"iCCP":this.decodeiCCP(E);break;case xr:Lo(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const ce=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(E);break;default:this.decodeChunk(E,re),this.offset=ce+E;break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeIHDR(){const E=this._png;E.width=this.readUint32(),E.height=this.readUint32(),E.depth=Bc(this.readUint8());const re=this.readUint8();this._colorType=re;let ce;switch(re){case Ha.GREYSCALE:ce=1;break;case Ha.TRUECOLOUR:ce=3;break;case Ha.INDEXED_COLOUR:ce=1;break;case Ha.GREYSCALE_ALPHA:ce=2;break;case Ha.TRUECOLOUR_ALPHA:ce=4;break;case Ha.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ce,this._compressionMethod=this.readUint8(),this._compressionMethod!==Bl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const E={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(E)}decodePLTE(E){if(E%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${E}`);const re=E/3;this._hasPalette=!0;const ce=[];this._palette=ce;for(let fe=0;fethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${E/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(E/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${E} vs ${this._palette.length})`);let re=0;for(;re{const Ge=((Ze+re.yOffset)*this._png.width+re.xOffset+ke)*this._png.channels,$e=(Ze*re.width+ke)*this._png.channels;return{index:Ge,frameIndex:$e}};switch(re.blendOp){case ic.SOURCE:for(let Ze=0;Zere.at(-1)!==255);this.writeUint32(E.length),this.writeChars("tRNS");for(const re of E)this.writeByte(re.at(-1));writeCrc(this,4+E.length)}encodeIDAT(E){this.writeUint32(E.length),this.writeChars("IDAT"),this.writeBytes(E),writeCrc(this,E.length+4)}encodeData(){const{width:E,height:re,channels:ce,depth:fe,data:Ze}=this._png,ke=fe<=8?Math.ceil(E*fe/8)*ce:Math.ceil(E*fe/8*ce/2),Ge=new IOBuffer().setBigEndian();let $e=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Jt=0;Jt0)return y;throw new TypeError(`${z} must be a positive integer`)}function Jl(y,z){const{channels:E=4,depth:re=8}=y;if(E!==4&&E!==3&&E!==2&&E!==1)throw new RangeError(`unsupported number of channels: ${E}`);const ce={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:ce.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ce.colorType=ColorType.TRUECOLOUR;break;case 1:z?ce.colorType=ColorType.INDEXED_COLOUR:ce.colorType=ColorType.GREYSCALE;break;case 2:ce.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ce}function ql(y,z,E,re){for(let ce=0;ce>8&255),E.writeByte(ar&255)}}return re}function Zs(y,z,E,re){for(let ce=0;ce=200&&z.status<=299}function Pf(y){try{y.dispatchEvent(new MouseEvent("click"))}catch(E){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),y.dispatchEvent(z)}}var Tf=Qa.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==Qa?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=Qa.URL||Qa.webkitURL,ce=document.createElement("a");z=z||y.name||"download",ce.download=z,ce.rel="noopener",typeof y=="string"?(ce.href=y,ce.origin!==location.origin?Md(ce.href)?gc(y,z,E):Pf(ce,ce.target="_blank"):Pf(ce)):(ce.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(ce.href)},4e4),setTimeout(function(){Pf(ce)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))gc(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(ce,fe){return fe===void 0?fe={autoBom:!1}:(0,x.Z)(fe)!=="object"&&(dl.warn("Deprecated: Expected third argument to be a object"),fe={autoBom:!fe}),fe.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ce.type)?new Blob(["\uFEFF",ce],{type:ce.type}):ce}(y,E),z)}:function(y,z,E,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof y=="string")return gc(y,z,E);var ce=y.type==="application/octet-stream",fe=/constructor/i.test(Qa.HTMLElement)||Qa.safari,Ze=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ze||ce&&fe)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var ke=new FileReader;ke.onloadend=function(){var pt=ke.result;pt=Ze?pt:pt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=pt:location=pt,re=null},ke.readAsDataURL(y)}else{var Ge=Qa.URL||Qa.webkitURL,$e=Ge.createObjectURL(y);re?re.location=$e:location.href=$e,re=null,setTimeout(function(){Ge.revokeObjectURL($e)},4e4)}});function Jg(y){var z;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var E=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ke){return[parseInt(ke[1]),parseInt(ke[2]),parseInt(ke[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ke){return[parseInt(ke[1],16),parseInt(ke[2],16),parseInt(ke[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ke){return[parseInt(ke[1]+ke[1],16),parseInt(ke[2]+ke[2],16),parseInt(ke[3]+ke[3],16)]}}],re=0;re255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),Ge=this.g.toString(16),$e=this.b.toString(16);return ke.length==1&&(ke="0"+ke),Ge.length==1&&(Ge="0"+Ge),$e.length==1&&($e="0"+$e),"#"+ke+Ge+$e}}var bp=Qa.atob.bind(Qa),wg=Qa.btoa.bind(Qa);function Cp(y,z){var E=y[0],re=y[1],ce=y[2],fe=y[3];E=Jc(E,re,ce,fe,z[0],7,-680876936),fe=Jc(fe,E,re,ce,z[1],12,-389564586),ce=Jc(ce,fe,E,re,z[2],17,606105819),re=Jc(re,ce,fe,E,z[3],22,-1044525330),E=Jc(E,re,ce,fe,z[4],7,-176418897),fe=Jc(fe,E,re,ce,z[5],12,1200080426),ce=Jc(ce,fe,E,re,z[6],17,-1473231341),re=Jc(re,ce,fe,E,z[7],22,-45705983),E=Jc(E,re,ce,fe,z[8],7,1770035416),fe=Jc(fe,E,re,ce,z[9],12,-1958414417),ce=Jc(ce,fe,E,re,z[10],17,-42063),re=Jc(re,ce,fe,E,z[11],22,-1990404162),E=Jc(E,re,ce,fe,z[12],7,1804603682),fe=Jc(fe,E,re,ce,z[13],12,-40341101),ce=Jc(ce,fe,E,re,z[14],17,-1502002290),E=_c(E,re=Jc(re,ce,fe,E,z[15],22,1236535329),ce,fe,z[1],5,-165796510),fe=_c(fe,E,re,ce,z[6],9,-1069501632),ce=_c(ce,fe,E,re,z[11],14,643717713),re=_c(re,ce,fe,E,z[0],20,-373897302),E=_c(E,re,ce,fe,z[5],5,-701558691),fe=_c(fe,E,re,ce,z[10],9,38016083),ce=_c(ce,fe,E,re,z[15],14,-660478335),re=_c(re,ce,fe,E,z[4],20,-405537848),E=_c(E,re,ce,fe,z[9],5,568446438),fe=_c(fe,E,re,ce,z[14],9,-1019803690),ce=_c(ce,fe,E,re,z[3],14,-187363961),re=_c(re,ce,fe,E,z[8],20,1163531501),E=_c(E,re,ce,fe,z[13],5,-1444681467),fe=_c(fe,E,re,ce,z[2],9,-51403784),ce=_c(ce,fe,E,re,z[7],14,1735328473),E=qc(E,re=_c(re,ce,fe,E,z[12],20,-1926607734),ce,fe,z[5],4,-378558),fe=qc(fe,E,re,ce,z[8],11,-2022574463),ce=qc(ce,fe,E,re,z[11],16,1839030562),re=qc(re,ce,fe,E,z[14],23,-35309556),E=qc(E,re,ce,fe,z[1],4,-1530992060),fe=qc(fe,E,re,ce,z[4],11,1272893353),ce=qc(ce,fe,E,re,z[7],16,-155497632),re=qc(re,ce,fe,E,z[10],23,-1094730640),E=qc(E,re,ce,fe,z[13],4,681279174),fe=qc(fe,E,re,ce,z[0],11,-358537222),ce=qc(ce,fe,E,re,z[3],16,-722521979),re=qc(re,ce,fe,E,z[6],23,76029189),E=qc(E,re,ce,fe,z[9],4,-640364487),fe=qc(fe,E,re,ce,z[12],11,-421815835),ce=qc(ce,fe,E,re,z[15],16,530742520),E=eA(E,re=qc(re,ce,fe,E,z[2],23,-995338651),ce,fe,z[0],6,-198630844),fe=eA(fe,E,re,ce,z[7],10,1126891415),ce=eA(ce,fe,E,re,z[14],15,-1416354905),re=eA(re,ce,fe,E,z[5],21,-57434055),E=eA(E,re,ce,fe,z[12],6,1700485571),fe=eA(fe,E,re,ce,z[3],10,-1894986606),ce=eA(ce,fe,E,re,z[10],15,-1051523),re=eA(re,ce,fe,E,z[1],21,-2054922799),E=eA(E,re,ce,fe,z[8],6,1873313359),fe=eA(fe,E,re,ce,z[15],10,-30611744),ce=eA(ce,fe,E,re,z[6],15,-1560198380),re=eA(re,ce,fe,E,z[13],21,1309151649),E=eA(E,re,ce,fe,z[4],6,-145523070),fe=eA(fe,E,re,ce,z[11],10,-1120210379),ce=eA(ce,fe,E,re,z[2],15,718787259),re=eA(re,ce,fe,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(ce,y[2]),y[3]=Ud(fe,y[3])}function xp(y,z,E,re,ce,fe){return z=Ud(Ud(z,y),Ud(re,fe)),Ud(z<>>32-ce,E)}function Jc(y,z,E,re,ce,fe,Ze){return xp(z&E|~z&re,y,z,ce,fe,Ze)}function _c(y,z,E,re,ce,fe,Ze){return xp(z&re|E&~re,y,z,ce,fe,Ze)}function qc(y,z,E,re,ce,fe,Ze){return xp(z^E^re,y,z,ce,fe,Ze)}function eA(y,z,E,re,ce,fe,Ze){return xp(E^(z|~re),y,z,ce,fe,Ze)}function qg(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)Cp(re,eg(y.substring(z-64,z)));y=y.substring(z-64);var ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=y.charCodeAt(z)<<(z%4<<3);if(ce[z>>2]|=128<<(z%4<<3),z>55)for(Cp(re,ce),z=0;z<16;z++)ce[z]=0;return ce[14]=8*E,Cp(re,ce),re}function eg(y){var z,E=[];for(z=0;z<64;z+=4)E[z>>2]=y.charCodeAt(z)+(y.charCodeAt(z+1)<<8)+(y.charCodeAt(z+2)<<16)+(y.charCodeAt(z+3)<<24);return E}var QA="0123456789abcdef".split("");function em(y){for(var z="",E=0;E<4;E++)z+=QA[y>>8*E+4&15]+QA[y>>8*E&15];return z}function tg(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function bg(y){return qg(y).map(tg).join("")}var jm=function(y){for(var z=0;z>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function kf(y,z){var E,re,ce,fe;if(y!==E){for(var Ze=(ce=y,fe=1+(256/y.length|0),new Array(fe+1).join(ce)),ke=[],Ge=0;Ge<256;Ge++)ke[Ge]=Ge;var $e=0;for(Ge=0;Ge<256;Ge++){var pt=ke[Ge];$e=($e+pt+Ze.charCodeAt(Ge))%256,ke[Ge]=ke[$e],ke[$e]=pt}E=y,re=ke}else ke=re;var Mt=z.length,Jt=0,At=0,Ln="";for(Ge=0;Ge\x80/\f\xA9\xFEdSiz";var fe=(z+this.padding).substr(0,32),Ze=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(fe,Ze),this.P=-(1+(255^ce)),this.encryptionKey=bg(fe+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=kf(this.encryptionKey,this.padding)}function gd(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var z="",E=y.length,re=0;re126?"#"+("0"+ce.toString(16)).slice(-2):y[re]}return z}function tm(y){if((0,x.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(E,re,ce){if(ce=ce||!1,typeof E!="string"||typeof re!="function"||typeof ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(E)||(z[E]={});var fe=Math.random().toString(35);return z[E][fe]=[re,!!ce],fe},this.unsubscribe=function(E){for(var re in z)if(z[re][E])return delete z[re][E],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(E){if(z.hasOwnProperty(E)){var re=Array.prototype.slice.call(arguments,1),ce=[];for(var fe in z[E]){var Ze=z[E][fe];try{Ze[0].apply(y,re)}catch(ke){Qa.console&&dl.error("jsPDF PubSub Error",ke.message,ke)}Ze[1]&&ce.push(fe)}ce.length&&ce.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Ep(y){if(!(this instanceof Ep))return new Ep(y);var z="opacity,stroke-opacity".split(",");for(var E in y)y.hasOwnProperty(E)&&z.indexOf(E)>=0&&(this[E]=y[E]);this.id="",this.objectNumber=-1}function Cg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function Mf(y,z,E,re,ce){if(!(this instanceof Mf))return new Mf(y,z,E,re,ce);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,Cg.call(this,re,ce)}function Uf(y,z,E,re,ce){if(!(this instanceof Uf))return new Uf(y,z,E,re,ce);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,Cg.call(this,re,ce)}function Oa(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ce=arguments[2],fe=arguments[3],Ze=[],ke=1,Ge=16,$e="S",pt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,ce=y.format||ce,fe=y.compress||y.compressPdf||fe,(pt=y.encryption||null)!==null&&(pt.userPassword=pt.userPassword||"",pt.ownerPassword=pt.ownerPassword||"",pt.userPermissions=pt.userPermissions||[]),ke=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Ge=y.floatPrecision),$e=y.defaultPathOperation||"S"),Ze=y.filters||(fe===!0?["FlateEncode"]:Ze),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Mt=y.putOnlyUsedFonts||!1,Jt={},At={internal:{},__private__:{}};At.__private__.PubSub=tm;var Ln="1.3",xn=At.__private__.getPdfVersion=function(){return Ln};At.__private__.setPdfVersion=function(Ye){Ln=Ye};var Pn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};At.__private__.getPageFormats=function(){return Pn};var dn=At.__private__.getPageFormat=function(Ye){return Pn[Ye]};ce=ce||"a4";var mr="compat",ar="advanced",Wn=mr;function ui(){this.saveGraphicsState(),kn(new As(Qs,0,0,-Qs,0,Tp()*Qs).toString()+" cm"),this.setFontSize(this.getFontSize()/Qs),$e="n",Wn=ar}function ji(){this.restoreGraphicsState(),$e="S",Wn=mr}var Bi=At.__private__.combineFontStyleAndFontWeight=function(Ye,zt){if(Ye=="bold"&&zt=="normal"||Ye=="bold"&&zt==400||Ye=="normal"&&zt=="italic"||Ye=="bold"&&zt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return zt&&(Ye=zt==400||zt==="normal"?Ye==="italic"?"italic":"normal":zt!=700&&zt!=="bold"||Ye!=="normal"?(zt==700?"bold":zt)+""+Ye:"bold"),Ye};At.advancedAPI=function(Ye){var zt=Wn===mr;return zt&&ui.call(this),typeof Ye!="function"||(Ye(this),zt&&ji.call(this)),this},At.compatAPI=function(Ye){var zt=Wn===ar;return zt&&ji.call(this),typeof Ye!="function"||(Ye(this),zt&&ui.call(this)),this},At.isAdvancedAPI=function(){return Wn===ar};var Ir,Xn=function(Ye){if(Wn!==ar)throw new Error(Ye+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Zr=At.roundToPrecision=At.__private__.roundToPrecision=function(Ye,zt){var Qn=z||zt;if(isNaN(Ye)||isNaN(Qn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ye.toFixed(Qn).replace(/0+$/,"")};Ir=At.hpf=At.__private__.hpf=typeof Ge=="number"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,Ge)}:Ge==="smart"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,Ye>-1&&Ye<1?16:5)}:function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,16)};var ln=At.f2=At.__private__.f2=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f2");return Zr(Ye,2)},Tn=At.__private__.f3=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f3");return Zr(Ye,3)},gr=At.scale=At.__private__.scale=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.scale");return Wn===mr?Ye*Qs:Wn===ar?Ye:void 0},cr=function(Ye){return gr(function(zt){return Wn===mr?Tp()-zt:Wn===ar?zt:void 0}(Ye))};At.__private__.setPrecision=At.setPrecision=function(Ye){typeof parseInt(Ye,10)=="number"&&(z=parseInt(Ye,10))};var hi,bi="00000000000000000000000000000000",Si=At.__private__.getFileId=function(){return bi},ri=At.__private__.setFileId=function(Ye){return bi=Ye!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ye)?Ye.toUpperCase():bi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),pt!==null&&(jc=new zh(pt.userPermissions,pt.userPassword,pt.ownerPassword,bi)),bi};At.setFileId=function(Ye){return ri(Ye),this},At.getFileId=function(){return Si()};var Li=At.__private__.convertDateToPDFDate=function(Ye){var zt=Ye.getTimezoneOffset(),Qn=zt<0?"+":"-",pr=Math.floor(Math.abs(zt/60)),zr=Math.abs(zt%60),Vi=[Qn,tr(pr),"'",tr(zr),"'"].join("");return["D:",Ye.getFullYear(),tr(Ye.getMonth()+1),tr(Ye.getDate()),tr(Ye.getHours()),tr(Ye.getMinutes()),tr(Ye.getSeconds()),Vi].join("")},To=At.__private__.convertPDFDateToDate=function(Ye){var zt=parseInt(Ye.substr(2,4),10),Qn=parseInt(Ye.substr(6,2),10)-1,pr=parseInt(Ye.substr(8,2),10),zr=parseInt(Ye.substr(10,2),10),Vi=parseInt(Ye.substr(12,2),10),ao=parseInt(Ye.substr(14,2),10);return new Date(zt,Qn,pr,zr,Vi,ao,0)},io=At.__private__.setCreationDate=function(Ye){var zt;if(Ye===void 0&&(Ye=new Date),Ye instanceof Date)zt=Li(Ye);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ye))throw new Error("Invalid argument passed to jsPDF.setCreationDate");zt=Ye}return hi=zt},rn=At.__private__.getCreationDate=function(Ye){var zt=hi;return Ye==="jsDate"&&(zt=To(hi)),zt};At.setCreationDate=function(Ye){return io(Ye),this},At.getCreationDate=function(Ye){return rn(Ye)};var Kn,tr=At.__private__.padd2=function(Ye){return("0"+parseInt(Ye)).slice(-2)},yr=At.__private__.padd2Hex=function(Ye){return("00"+(Ye=Ye.toString())).substr(Ye.length)},kr=0,qr=[],Ei=[],Ii=0,$i=[],xo=[],Aa=!1,ua=Ei;At.__private__.setCustomOutputDestination=function(Ye){Aa=!0,ua=Ye};var Xa=function(Ye){Aa||(ua=Ye)};At.__private__.resetCustomOutputDestination=function(){Aa=!1,ua=Ei};var kn=At.__private__.out=function(Ye){return Ye=Ye.toString(),Ii+=Ye.length+1,ua.push(Ye),ua},da=At.__private__.write=function(Ye){return kn(arguments.length===1?Ye.toString():Array.prototype.join.call(arguments," "))},$s=At.__private__.getArrayBuffer=function(Ye){for(var zt=Ye.length,Qn=new ArrayBuffer(zt),pr=new Uint8Array(Qn);zt--;)pr[zt]=Ye.charCodeAt(zt);return Qn},ss=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];At.__private__.getStandardFonts=function(){return ss};var mo=y.fontSize||16;At.__private__.setFontSize=At.setFontSize=function(Ye){return mo=Wn===ar?Ye/Qs:Ye,this};var ls,Fa=At.__private__.getFontSize=At.getFontSize=function(){return Wn===mr?mo:mo*Qs},os=y.R2L||!1;At.__private__.setR2L=At.setR2L=function(Ye){return os=Ye,this},At.__private__.getR2L=At.getR2L=function(){return os};var $a,eu=At.__private__.setZoomMode=function(Ye){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ye))ls=Ye;else if(isNaN(Ye)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ye)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ye+'" is not recognized.');ls=Ye}else ls=parseInt(Ye,10)};At.__private__.getZoomMode=function(){return ls};var fl,ks=At.__private__.setPageMode=function(Ye){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ye)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ye+'" is not recognized.');$a=Ye};At.__private__.getPageMode=function(){return $a};var yl=At.__private__.setLayoutMode=function(Ye){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ye)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ye+'" is not recognized.');fl=Ye};At.__private__.getLayoutMode=function(){return fl},At.__private__.setDisplayMode=At.setDisplayMode=function(Ye,zt,Qn){return eu(Ye),yl(zt),ks(Qn),this};var hl={title:"",subject:"",author:"",keywords:"",creator:""};At.__private__.getDocumentProperty=function(Ye){if(Object.keys(hl).indexOf(Ye)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return hl[Ye]},At.__private__.getDocumentProperties=function(){return hl},At.__private__.setDocumentProperties=At.setProperties=At.setDocumentProperties=function(Ye){for(var zt in hl)hl.hasOwnProperty(zt)&&Ye[zt]&&(hl[zt]=Ye[zt]);return this},At.__private__.setDocumentProperty=function(Ye,zt){if(Object.keys(hl).indexOf(Ye)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return hl[Ye]=zt};var _a,Qs,Ka,Ec,Ll,qs={},el={},$u=[],ts={},Iu={},fs={},Ms={},Ju=null,il=0,cs=[],tu=new tm(At),Sp=y.hotfixes||[],NA={},gh={},zf=[],As=function Ye(zt,Qn,pr,zr,Vi,ao){if(!(this instanceof Ye))return new Ye(zt,Qn,pr,zr,Vi,ao);isNaN(zt)&&(zt=1),isNaN(Qn)&&(Qn=0),isNaN(pr)&&(pr=0),isNaN(zr)&&(zr=1),isNaN(Vi)&&(Vi=0),isNaN(ao)&&(ao=0),this._matrix=[zt,Qn,pr,zr,Vi,ao]};Object.defineProperty(As.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(As.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(As.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(As.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(As.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(As.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(As.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(As.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(As.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(As.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(As.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(As.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(As.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(As.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(As.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(As.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),As.prototype.join=function(Ye){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Ir).join(Ye)},As.prototype.multiply=function(Ye){var zt=Ye.sx*this.sx+Ye.shy*this.shx,Qn=Ye.sx*this.shy+Ye.shy*this.sy,pr=Ye.shx*this.sx+Ye.sy*this.shx,zr=Ye.shx*this.shy+Ye.sy*this.sy,Vi=Ye.tx*this.sx+Ye.ty*this.shx+this.tx,ao=Ye.tx*this.shy+Ye.ty*this.sy+this.ty;return new As(zt,Qn,pr,zr,Vi,ao)},As.prototype.decompose=function(){var Ye=this.sx,zt=this.shy,Qn=this.shx,pr=this.sy,zr=this.tx,Vi=this.ty,ao=Math.sqrt(Ye*Ye+zt*zt),Ia=(Ye/=ao)*Qn+(zt/=ao)*pr;Qn-=Ye*Ia,pr-=zt*Ia;var ja=Math.sqrt(Qn*Qn+pr*pr);return Ia/=ja,Ye*(pr/=ja)>16&255,pr=ja>>8&255,zr=255&ja}if(pr===void 0||Vi===void 0&&Qn===pr&&pr===zr)zt=typeof Qn=="string"?Qn+" "+ao[0]:Ye.precision===2?ln(Qn/255)+" "+ao[0]:Tn(Qn/255)+" "+ao[0];else if(Vi===void 0||(0,x.Z)(Vi)==="object"){if(Vi&&!isNaN(Vi.a)&&Vi.a===0)return["1.","1.","1.",ao[1]].join(" ");zt=typeof Qn=="string"?[Qn,pr,zr,ao[1]].join(" "):Ye.precision===2?[ln(Qn/255),ln(pr/255),ln(zr/255),ao[1]].join(" "):[Tn(Qn/255),Tn(pr/255),Tn(zr/255),ao[1]].join(" ")}else zt=typeof Qn=="string"?[Qn,pr,zr,Vi,ao[2]].join(" "):Ye.precision===2?[ln(Qn),ln(pr),ln(zr),ln(Vi),ao[2]].join(" "):[Tn(Qn),Tn(pr),Tn(zr),Tn(Vi),ao[2]].join(" ");return zt},hf=At.__private__.getFilters=function(){return Ze},Hd=At.__private__.putStream=function(Ye){var zt=(Ye=Ye||{}).data||"",Qn=Ye.filters||hf(),pr=Ye.alreadyAppliedFilters||[],zr=Ye.addLength1||!1,Vi=zt.length,ao=Ye.objectId,Ia=function(Hc){return Hc};if(pt!==null&&ao===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");pt!==null&&(Ia=jc.encryptor(ao,0));var ja={};Qn===!0&&(Qn=["FlateEncode"]);var xs=Ye.additionalKeyValues||[],_s=(ja=Oa.API.processDataByFilters!==void 0?Oa.API.processDataByFilters(zt,Qn):{data:zt,reverseChain:[]}).reverseChain+(Array.isArray(pr)?pr.join(" "):pr.toString());if(ja.data.length!==0&&(xs.push({key:"Length",value:ja.data.length}),zr===!0&&xs.push({key:"Length1",value:Vi})),_s.length!=0)if(_s.split("/").length-1==1)xs.push({key:"Filter",value:_s});else{xs.push({key:"Filter",value:"["+_s+"]"});for(var Dl=0;Dl>"),ja.data.length!==0&&(kn("stream"),kn(Ia(ja.data)),kn("endstream"))},Ip=At.__private__.putPage=function(Ye){var zt=Ye.number,Qn=Ye.data,pr=Ye.objId,zr=Ye.contentsObjId;uA(pr,!0),kn("<>"),kn("endobj");var Vi=Qn.join(` + .`+Wo+Ao+Lo)},Ma=function(me,Ae){var be=me.ownerDocument;if(be){var we=be.createElement("style");we.textContent=Ae,me.appendChild(we)}},Ba=function(){function me(){}return me.getOrigin=function(Ae){var be=me._link;return be?(be.href=Ae,be.href=be.href,be.protocol+be.hostname+be.port):"about:blank"},me.isSameOrigin=function(Ae){return me.getOrigin(Ae)===me._origin},me.setContext=function(Ae){me._link=Ae.document.createElement("a"),me._origin=me.getOrigin(Ae.location.href)},me._origin="about:blank",me}(),Ha=function(){function me(Ae,be){this.context=Ae,this._options=be,this._cache={}}return me.prototype.addImage=function(Ae){var be=Promise.resolve();return this.has(Ae)||(Bc(Ae)||xc(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),be},me.prototype.match=function(Ae){return this._cache[Ae]},me.prototype.loadImage=function(Ae){return dt(this,void 0,void 0,function(){var be,we,nt,It,$t=this;return Ie(this,function(En){switch(En.label){case 0:return be=Ba.isSameOrigin(Ae),we=!ic(Ae)&&this._options.useCORS===!0&&yu.SUPPORT_CORS_IMAGES&&!be,nt=!ic(Ae)&&!be&&!Bc(Ae)&&typeof this._options.proxy=="string"&&yu.SUPPORT_CORS_XHR&&!we,!be&&this._options.allowTaint===!1&&!ic(Ae)&&!Bc(Ae)&&!nt&&!we?[2]:(It=Ae,nt?[4,this.proxy(It)]:[3,2]);case 1:It=En.sent(),En.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(Bn,wr){var Or=new Image;Or.onload=function(){return Bn(Or)},Or.onerror=wr,(Qu(It)||we)&&(Or.crossOrigin="anonymous"),Or.src=It,Or.complete===!0&&setTimeout(function(){return Bn(Or)},500),$t._options.imageTimeout>0&&setTimeout(function(){return wr("Timed out ("+$t._options.imageTimeout+"ms) loading image")},$t._options.imageTimeout)})];case 3:return[2,En.sent()]}})})},me.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(Ae){var be=this,we=this._options.proxy;if(!we)throw new Error("No proxy defined");var nt=Ae.substring(0,256);return new Promise(function(It,$t){var En=yu.SUPPORT_RESPONSE_TYPE?"blob":"text",Bn=new XMLHttpRequest;Bn.onload=function(){if(Bn.status===200)if(En==="text")It(Bn.response);else{var Hr=new FileReader;Hr.addEventListener("load",function(){return It(Hr.result)},!1),Hr.addEventListener("error",function(Ni){return $t(Ni)},!1),Hr.readAsDataURL(Bn.response)}else $t("Failed to proxy resource "+nt+" with status code "+Bn.status)},Bn.onerror=$t;var wr=we.indexOf("?")>-1?"&":"?";if(Bn.open("GET",""+we+wr+"url="+encodeURIComponent(Ae)+"&responseType="+En),En!=="text"&&Bn instanceof XMLHttpRequest&&(Bn.responseType=En),be._options.imageTimeout){var Or=be._options.imageTimeout;Bn.timeout=Or,Bn.ontimeout=function(){return $t("Timed out ("+Or+"ms) proxying "+nt)}}Bn.send()})},me}(),Bl=/^data:image\/svg\+xml/i,Xu=/^data:image\/.*;base64,/i,$l=/^data:image\/.*/i,xc=function(me){return yu.SUPPORT_SVG_DRAWING||!hc(me)},ic=function(me){return $l.test(me)},Qu=function(me){return Xu.test(me)},Bc=function(me){return me.substr(0,4)==="blob"},hc=function(me){return me.substr(-3).toLowerCase()==="svg"||Bl.test(me)},So=function(){function me(Ae,be){this.type=0,this.x=Ae,this.y=be}return me.prototype.add=function(Ae,be){return new me(this.x+Ae,this.y+be)},me}(),zl=function(me,Ae,be){return new So(me.x+(Ae.x-me.x)*be,me.y+(Ae.y-me.y)*be)},Jl=function(){function me(Ae,be,we,nt){this.type=1,this.start=Ae,this.startControl=be,this.endControl=we,this.end=nt}return me.prototype.subdivide=function(Ae,be){var we=zl(this.start,this.startControl,Ae),nt=zl(this.startControl,this.endControl,Ae),It=zl(this.endControl,this.end,Ae),$t=zl(we,nt,Ae),En=zl(nt,It,Ae),Bn=zl($t,En,Ae);return be?new me(this.start,we,$t,Bn):new me(Bn,En,It,this.end)},me.prototype.add=function(Ae,be){return new me(this.start.add(Ae,be),this.startControl.add(Ae,be),this.endControl.add(Ae,be),this.end.add(Ae,be))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),ql=function(me){return me.type===1},Of=function(){function me(Ae){var be=Ae.styles,we=Ae.bounds,nt=Pu(be.borderTopLeftRadius,we.width,we.height),It=nt[0],$t=nt[1],En=Pu(be.borderTopRightRadius,we.width,we.height),Bn=En[0],wr=En[1],Or=Pu(be.borderBottomRightRadius,we.width,we.height),Hr=Or[0],Ni=Or[1],fa=Pu(be.borderBottomLeftRadius,we.width,we.height),go=fa[0],Vo=fa[1],ds=[];ds.push((It+Bn)/we.width),ds.push((go+Hr)/we.width),ds.push(($t+Vo)/we.height),ds.push((wr+Ni)/we.height);var wa=Math.max.apply(Math,ds);wa>1&&(It/=wa,$t/=wa,Bn/=wa,wr/=wa,Hr/=wa,Ni/=wa,go/=wa,Vo/=wa);var va=we.width-Bn,rs=we.height-Ni,Cs=we.width-Hr,Ga=we.height-Vo,aa=be.borderTopWidth,Ys=be.borderRightWidth,Ts=be.borderBottomWidth,is=be.borderLeftWidth,Ro=vs(be.paddingTop,Ae.bounds.width),DA=vs(be.paddingRight,Ae.bounds.width),QA=vs(be.paddingBottom,Ae.bounds.width),Kl=vs(be.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=It>0||$t>0?Es(we.left+is/3,we.top+aa/3,It-is/3,$t-aa/3,Zs.TOP_LEFT):new So(we.left+is/3,we.top+aa/3),this.topRightBorderDoubleOuterBox=It>0||$t>0?Es(we.left+va,we.top+aa/3,Bn-Ys/3,wr-aa/3,Zs.TOP_RIGHT):new So(we.left+we.width-Ys/3,we.top+aa/3),this.bottomRightBorderDoubleOuterBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys/3,Ni-Ts/3,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys/3,we.top+we.height-Ts/3),this.bottomLeftBorderDoubleOuterBox=go>0||Vo>0?Es(we.left+is/3,we.top+Ga,go-is/3,Vo-Ts/3,Zs.BOTTOM_LEFT):new So(we.left+is/3,we.top+we.height-Ts/3),this.topLeftBorderDoubleInnerBox=It>0||$t>0?Es(we.left+is*2/3,we.top+aa*2/3,It-is*2/3,$t-aa*2/3,Zs.TOP_LEFT):new So(we.left+is*2/3,we.top+aa*2/3),this.topRightBorderDoubleInnerBox=It>0||$t>0?Es(we.left+va,we.top+aa*2/3,Bn-Ys*2/3,wr-aa*2/3,Zs.TOP_RIGHT):new So(we.left+we.width-Ys*2/3,we.top+aa*2/3),this.bottomRightBorderDoubleInnerBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys*2/3,Ni-Ts*2/3,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys*2/3,we.top+we.height-Ts*2/3),this.bottomLeftBorderDoubleInnerBox=go>0||Vo>0?Es(we.left+is*2/3,we.top+Ga,go-is*2/3,Vo-Ts*2/3,Zs.BOTTOM_LEFT):new So(we.left+is*2/3,we.top+we.height-Ts*2/3),this.topLeftBorderStroke=It>0||$t>0?Es(we.left+is/2,we.top+aa/2,It-is/2,$t-aa/2,Zs.TOP_LEFT):new So(we.left+is/2,we.top+aa/2),this.topRightBorderStroke=It>0||$t>0?Es(we.left+va,we.top+aa/2,Bn-Ys/2,wr-aa/2,Zs.TOP_RIGHT):new So(we.left+we.width-Ys/2,we.top+aa/2),this.bottomRightBorderStroke=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr-Ys/2,Ni-Ts/2,Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys/2,we.top+we.height-Ts/2),this.bottomLeftBorderStroke=go>0||Vo>0?Es(we.left+is/2,we.top+Ga,go-is/2,Vo-Ts/2,Zs.BOTTOM_LEFT):new So(we.left+is/2,we.top+we.height-Ts/2),this.topLeftBorderBox=It>0||$t>0?Es(we.left,we.top,It,$t,Zs.TOP_LEFT):new So(we.left,we.top),this.topRightBorderBox=Bn>0||wr>0?Es(we.left+va,we.top,Bn,wr,Zs.TOP_RIGHT):new So(we.left+we.width,we.top),this.bottomRightBorderBox=Hr>0||Ni>0?Es(we.left+Cs,we.top+rs,Hr,Ni,Zs.BOTTOM_RIGHT):new So(we.left+we.width,we.top+we.height),this.bottomLeftBorderBox=go>0||Vo>0?Es(we.left,we.top+Ga,go,Vo,Zs.BOTTOM_LEFT):new So(we.left,we.top+we.height),this.topLeftPaddingBox=It>0||$t>0?Es(we.left+is,we.top+aa,Math.max(0,It-is),Math.max(0,$t-aa),Zs.TOP_LEFT):new So(we.left+is,we.top+aa),this.topRightPaddingBox=Bn>0||wr>0?Es(we.left+Math.min(va,we.width-Ys),we.top+aa,va>we.width+Ys?0:Math.max(0,Bn-Ys),Math.max(0,wr-aa),Zs.TOP_RIGHT):new So(we.left+we.width-Ys,we.top+aa),this.bottomRightPaddingBox=Hr>0||Ni>0?Es(we.left+Math.min(Cs,we.width-is),we.top+Math.min(rs,we.height-Ts),Math.max(0,Hr-Ys),Math.max(0,Ni-Ts),Zs.BOTTOM_RIGHT):new So(we.left+we.width-Ys,we.top+we.height-Ts),this.bottomLeftPaddingBox=go>0||Vo>0?Es(we.left+is,we.top+Math.min(Ga,we.height-Ts),Math.max(0,go-is),Math.max(0,Vo-Ts),Zs.BOTTOM_LEFT):new So(we.left+is,we.top+we.height-Ts),this.topLeftContentBox=It>0||$t>0?Es(we.left+is+Kl,we.top+aa+Ro,Math.max(0,It-(is+Kl)),Math.max(0,$t-(aa+Ro)),Zs.TOP_LEFT):new So(we.left+is+Kl,we.top+aa+Ro),this.topRightContentBox=Bn>0||wr>0?Es(we.left+Math.min(va,we.width+is+Kl),we.top+aa+Ro,va>we.width+is+Kl?0:Bn-is+Kl,wr-(aa+Ro),Zs.TOP_RIGHT):new So(we.left+we.width-(Ys+DA),we.top+aa+Ro),this.bottomRightContentBox=Hr>0||Ni>0?Es(we.left+Math.min(Cs,we.width-(is+Kl)),we.top+Math.min(rs,we.height+aa+Ro),Math.max(0,Hr-(Ys+DA)),Ni-(Ts+QA),Zs.BOTTOM_RIGHT):new So(we.left+we.width-(Ys+DA),we.top+we.height-(Ts+QA)),this.bottomLeftContentBox=go>0||Vo>0?Es(we.left+is+Kl,we.top+Ga,Math.max(0,go-(is+Kl)),Vo-(Ts+QA),Zs.BOTTOM_LEFT):new So(we.left+is+Kl,we.top+we.height-(Ts+QA))}return me}(),Zs;(function(me){me[me.TOP_LEFT=0]="TOP_LEFT",me[me.TOP_RIGHT=1]="TOP_RIGHT",me[me.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",me[me.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Zs||(Zs={}));var Es=function(me,Ae,be,we,nt){var It=4*((Math.sqrt(2)-1)/3),$t=be*It,En=we*It,Bn=me+be,wr=Ae+we;switch(nt){case Zs.TOP_LEFT:return new Jl(new So(me,wr),new So(me,wr-En),new So(Bn-$t,Ae),new So(Bn,Ae));case Zs.TOP_RIGHT:return new Jl(new So(me,Ae),new So(me+$t,Ae),new So(Bn,wr-En),new So(Bn,wr));case Zs.BOTTOM_RIGHT:return new Jl(new So(Bn,Ae),new So(Bn,Ae+En),new So(me+$t,wr),new So(me,wr));case Zs.BOTTOM_LEFT:default:return new Jl(new So(Bn,wr),new So(Bn-$t,wr),new So(me,Ae+En),new So(me,Ae))}},sA=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},pc=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},dh=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},_a=function(){function me(Ae,be,we){this.offsetX=Ae,this.offsetY=be,this.matrix=we,this.type=0,this.target=6}return me}(),IA=function(){function me(Ae,be){this.path=Ae,this.target=be,this.type=1}return me}(),dl=function(){function me(Ae){this.opacity=Ae,this.type=2,this.target=6}return me}(),gc=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},Tf=function(me,Ae){return me.length===Ae.length?me.some(function(be,we){return be===Ae[we]}):!1},Jg=function(me,Ae,be,we,nt){return me.map(function(It,$t){switch($t){case 0:return It.add(Ae,be);case 1:return It.add(Ae+we,be);case 2:return It.add(Ae+we,be+nt);case 3:return It.add(Ae,be+nt)}return It})},bp=function(){function me(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),wg=function(){function me(Ae,be){if(this.container=Ae,this.parent=be,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new dl(this.container.styles.opacity)),this.container.styles.transform!==null){var we=this.container.bounds.left+this.container.styles.transformOrigin[0].number,nt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,It=this.container.styles.transform;this.effects.push(new _a(we,nt,It))}if(this.container.styles.overflowX!==0){var $t=sA(this.curves),En=dh(this.curves);Tf($t,En)?this.effects.push(new IA($t,6)):(this.effects.push(new IA($t,2)),this.effects.push(new IA(En,4)))}}return me.prototype.getEffects=function(Ae){for(var be=[2,3].indexOf(this.container.styles.position)===-1,we=this.parent,nt=this.effects.slice(0);we;){var It=we.effects.filter(function(Bn){return!Md(Bn)});if(be||we.container.styles.position!==0||!we.parent){if(nt.unshift.apply(nt,It),be=[2,3].indexOf(we.container.styles.position)===-1,we.container.styles.overflowX!==0){var $t=sA(we.curves),En=dh(we.curves);Tf($t,En)||nt.unshift(new IA(En,6))}}else nt.unshift.apply(nt,It);we=we.parent}return nt.filter(function(Bn){return Zo(Bn.target,Ae)})},me}(),Cp=function(me,Ae,be,we){me.container.elements.forEach(function(nt){var It=Zo(nt.flags,4),$t=Zo(nt.flags,2),En=new wg(nt,me);Zo(nt.styles.display,2048)&&we.push(En);var Bn=Zo(nt.flags,8)?[]:we;if(It||$t){var wr=It||nt.styles.isPositioned()?be:Ae,Or=new bp(En);if(nt.styles.isPositioned()||nt.styles.opacity<1||nt.styles.isTransformed()){var Hr=nt.styles.zIndex.order;if(Hr<0){var Ni=0;wr.negativeZIndex.some(function(go,Vo){return Hr>go.element.container.styles.zIndex.order?(Ni=Vo,!1):Ni>0}),wr.negativeZIndex.splice(Ni,0,Or)}else if(Hr>0){var fa=0;wr.positiveZIndex.some(function(go,Vo){return Hr>=go.element.container.styles.zIndex.order?(fa=Vo+1,!1):fa>0}),wr.positiveZIndex.splice(fa,0,Or)}else wr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Or)}else nt.styles.isFloating()?wr.nonPositionedFloats.push(Or):wr.nonPositionedInlineLevel.push(Or);Cp(En,Or,It?Or:be,Bn)}else nt.styles.isInlineLevel()?Ae.inlineLevel.push(En):Ae.nonInlineLevel.push(En),Cp(En,Ae,be,Bn);Zo(nt.flags,8)&&xp(nt,Bn)})},xp=function(me,Ae){for(var be=me instanceof of?me.start:1,we=me instanceof of?me.reversed:!1,nt=0;nt0&&be.intrinsicHeight>0){var It=tg(be),$t=dh(we);this.path($t),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(nt,0,0,be.intrinsicWidth,be.intrinsicHeight,It.left,It.top,It.width,It.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(be){return dt(this,void 0,void 0,function(){var we,nt,It,$t,En,Bn,va,va,wr,Or,Hr,Ni,Cs,fa,go,Ga,Vo,ds,wa,va,rs,Cs,Ga;return Ie(this,function(aa){switch(aa.label){case 0:this.applyEffects(be.getEffects(4)),we=be.container,nt=be.curves,It=we.styles,$t=0,En=we.textNodes,aa.label=1;case 1:return $t0&&Oc>0&&(Ts=It.ctx.createPattern(Ga,"repeat"),It.renderRepeat(Ro,Ts,tA,lA))):Th(Or)&&(is=Ud(be,we,[null,null,null]),Ro=is[0],DA=is[1],QA=is[2],Kl=is[3],Oc=is[4],sf=Or.position.length===0?[qu]:Or.position,tA=vs(sf[0],Kl),lA=vs(sf[sf.length-1],Oc),hh=iA(Or,tA,lA,Kl,Oc),JA=hh[0],lf=hh[1],JA>0&&lf>0&&(ph=It.ctx.createRadialGradient(DA+tA,QA+lA,0,DA+tA,QA+lA,JA),Vc(Or.stops,JA*2).forEach(function(jf){return ph.addColorStop(jf.stop,Il(jf.color))}),It.path(Ro),It.ctx.fillStyle=ph,JA!==lf?(_f=be.bounds.left+.5*be.bounds.width,_d=be.bounds.top+.5*be.bounds.height,Qf=lf/JA,uf=1/Qf,It.ctx.save(),It.ctx.translate(_f,_d),It.ctx.transform(1,0,0,Qf,0,0),It.ctx.translate(-_f,-_d),It.ctx.fillRect(DA,uf*(QA-_d)+_d,Kl,Oc*uf),It.ctx.restore()):It.ctx.fill())),Zh.label=6;case 6:return we--,[2]}})},It=this,$t=0,En=be.styles.backgroundImage.slice(0).reverse(),wr.label=1;case 1:return $t0?Or.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Or.color,Or.width,En,be.curves,2)]:[3,11]):[3,13];case 4:return Ni.sent(),[3,11];case 5:return Or.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Or.color,Or.width,En,be.curves,3)];case 6:return Ni.sent(),[3,11];case 7:return Or.style!==4?[3,9]:[4,this.renderDoubleBorder(Or.color,Or.width,En,be.curves)];case 8:return Ni.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Or.color,En,be.curves)];case 10:Ni.sent(),Ni.label=11;case 11:En++,Ni.label=12;case 12:return Bn++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(be,we,nt,It,$t){return dt(this,void 0,void 0,function(){var En,Bn,wr,Or,Hr,Ni,fa,go,Vo,ds,wa,va,rs,Cs,Ga,aa,Ga,aa;return Ie(this,function(Ys){return this.ctx.save(),En=qg(It,nt),Bn=Qc(It,nt),$t===2&&(this.path(Bn),this.ctx.clip()),ql(Bn[0])?(wr=Bn[0].start.x,Or=Bn[0].start.y):(wr=Bn[0].x,Or=Bn[0].y),ql(Bn[1])?(Hr=Bn[1].end.x,Ni=Bn[1].end.y):(Hr=Bn[1].x,Ni=Bn[1].y),nt===0||nt===2?fa=Math.abs(wr-Hr):fa=Math.abs(Or-Ni),this.ctx.beginPath(),$t===3?this.formatPath(En):this.formatPath(Bn.slice(0,2)),go=we<3?we*3:we*2,Vo=we<3?we*2:we,$t===3&&(go=we,Vo=we),ds=!0,fa<=go*2?ds=!1:fa<=go*2+Vo?(wa=fa/(2*go+Vo),go*=wa,Vo*=wa):(va=Math.floor((fa+Vo)/(go+Vo)),rs=(fa-va*go)/(va-1),Cs=(fa-(va+1)*go)/va,Vo=Cs<=0||Math.abs(Vo-rs)at){var We=Bt;Bt=at,at=We}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",at>Bt){var We=Bt;Bt=at,at=We}}else throw"Invalid orientation: "+Ct;var Te={width:Bt,height:at,unit:He,k:it};return Te},xe.default=ut.jsPDF},"./src/plugin/pagebreaks.js":function(he,xe,oe){"use strict";oe.r(xe);var Ne=oe("./node_modules/core-js/modules/es.array.concat.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.array.slice.js"),Se=oe.n(Re),Oe=oe("./node_modules/core-js/modules/es.array.join.js"),ye=oe.n(Oe),Ce=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.object.keys.js"),Ke=oe.n(Me),je=oe("./src/worker.js"),Qe=oe("./src/utils.js"),Je={toContainer:je.default.prototype.toContainer};je.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},je.default.prototype.toContainer=function(){return Je.toContainer.call(this).then(function(){var ot=this.prop.container,ht=this.prop.pageSize.inner.px.height,Ct=[].concat(this.opt.pagebreak.mode),He={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},ft={},De=this;["before","after","avoid"].forEach(function(it){var at=He.avoidAll&&it==="avoid";ft[it]=at?[]:[].concat(De.opt.pagebreak[it]||[]),ft[it].length>0&&(ft[it]=Array.prototype.slice.call(ot.querySelectorAll(ft[it].join(", "))))});var _e=ot.querySelectorAll(".html2pdf__page-break");_e=Array.prototype.slice.call(_e);var Ot=ot.querySelectorAll("*");Array.prototype.forEach.call(Ot,function(at){var Bt={before:!1,after:He.legacy&&_e.indexOf(at)!==-1,avoid:He.avoidAll};if(He.css){var We=window.getComputedStyle(at),Te=["always","page","left","right"],ct=["avoid","avoid-page"];Bt={before:Bt.before||Te.indexOf(We.breakBefore||We.pageBreakBefore)!==-1,after:Bt.after||Te.indexOf(We.breakAfter||We.pageBreakAfter)!==-1,avoid:Bt.avoid||ct.indexOf(We.breakInside||We.pageBreakInside)!==-1}}Object.keys(Bt).forEach(function(fn){Bt[fn]=Bt[fn]||ft[fn].indexOf(at)!==-1});var Zt=at.getBoundingClientRect();if(Bt.avoid&&!Bt.before){var zt=Math.floor(Zt.top/ht),tt=Math.floor(Zt.bottom/ht),Pt=Math.abs(Zt.bottom-Zt.top)/ht;tt!==zt&&Pt<=1&&(Bt.before=!0)}if(Bt.before){var _t=(0,Qe.createElement)("div",{style:{display:"block",height:ht-Zt.top%ht+"px"}});at.parentNode.insertBefore(_t,at)}if(Bt.after){var _t=(0,Qe.createElement)("div",{style:{display:"block",height:ht-Zt.bottom%ht+"px"}});at.parentNode.insertBefore(_t,at.nextSibling)}})})}},"./src/utils.js":function(he,xe,oe){"use strict";oe.r(xe),oe.d(xe,{objType:function(){return Ct},createElement:function(){return He},cloneNode:function(){return ft},unitConvert:function(){return De},toPx:function(){return _e}});var Ne=oe("./node_modules/core-js/modules/es.number.constructor.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.symbol.js"),Se=oe.n(Re),Oe=oe("./node_modules/core-js/modules/es.symbol.description.js"),ye=oe.n(Oe),Ce=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=oe.n(Me),je=oe("./node_modules/core-js/modules/es.array.iterator.js"),Qe=oe.n(je),Je=oe("./node_modules/core-js/modules/es.string.iterator.js"),Xe=oe.n(Je),ut=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ot=oe.n(ut);function ht(Ot){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(at){return typeof at}:ht=function(at){return at&&typeof Symbol=="function"&&at.constructor===Symbol&&at!==Symbol.prototype?"symbol":typeof at},ht(Ot)}var Ct=function(it){var at=ht(it);return at==="undefined"?"undefined":at==="string"||it instanceof String?"string":at==="number"||it instanceof Number?"number":at==="function"||it instanceof Function?"function":it&&it.constructor===Array?"array":it&&it.nodeType===1?"element":at==="object"?"object":"unknown"},He=function(it,at){var Bt=document.createElement(it);if(at.className&&(Bt.className=at.className),at.innerHTML){Bt.innerHTML=at.innerHTML;for(var We=Bt.getElementsByTagName("script"),Te=We.length;Te-- >0;null)We[Te].parentNode.removeChild(We[Te])}for(var ct in at.style)Bt.style[ct]=at.style[ct];return Bt},ft=function Ot(it,at){for(var Bt=it.nodeType===3?document.createTextNode(it.nodeValue):it.cloneNode(!1),We=it.firstChild;We;We=We.nextSibling)(at===!0||We.nodeType!==1||We.nodeName!=="SCRIPT")&&Bt.appendChild(Ot(We,at));return it.nodeType===1&&(it.nodeName==="CANVAS"?(Bt.width=it.width,Bt.height=it.height,Bt.getContext("2d").drawImage(it,0,0)):(it.nodeName==="TEXTAREA"||it.nodeName==="SELECT")&&(Bt.value=it.value),Bt.addEventListener("load",function(){Bt.scrollTop=it.scrollTop,Bt.scrollLeft=it.scrollLeft},!0)),Bt},De=function(it,at){if(Ct(it)==="number")return it*72/96/at;var Bt={};for(var We in it)Bt[We]=it[We]*72/96/at;return Bt},_e=function(it,at){return Math.floor(it*at/72*96)}},"./src/worker.js":function(he,xe,oe){"use strict";oe.r(xe);var Ne=oe("./node_modules/core-js/modules/es.object.assign.js"),ve=oe.n(Ne),Re=oe("./node_modules/core-js/modules/es.array.map.js"),Se=oe.n(Re),Oe=oe("./node_modules/core-js/modules/es.object.keys.js"),ye=oe.n(Oe),Ce=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(Ce),Me=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=oe.n(Me),je=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),Qe=oe.n(je),Je=oe("./node_modules/core-js/modules/es.function.name.js"),Xe=oe.n(Je),ut=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ot=oe.n(ut),ht=oe("jspdf"),Ct=oe.n(ht),He=oe("html2canvas"),ft=oe.n(He),De=oe("./src/utils.js"),_e=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ot=oe.n(_e),it=Ot().Promise,at=function Bt(We){var Te=Object.assign(Bt.convert(it.resolve()),JSON.parse(JSON.stringify(Bt.template))),ct=Bt.convert(it.resolve(),Te);return ct=ct.setProgress(1,Bt,1,[Bt]),ct=ct.set(We),ct};at.prototype=Object.create(it.prototype),at.prototype.constructor=at,at.convert=function(We,Te){return We.__proto__=Te||at.prototype,We},at.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},at.prototype.from=function(We,Te){function ct(Zt){switch((0,De.objType)(Zt)){case"string":return"string";case"element":return Zt.nodeName.toLowerCase&&Zt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Te=Te||ct(We),Te){case"string":return this.set({src:(0,De.createElement)("div",{innerHTML:We})});case"element":return this.set({src:We});case"canvas":return this.set({canvas:We});case"img":return this.set({img:We});default:return this.error("Unknown source type.")}})},at.prototype.to=function(We){switch(We){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},at.prototype.toContainer=function(){var We=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var ct={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Zt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ct.opacity=0;var zt=(0,De.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,De.createElement)("div",{className:"html2pdf__overlay",style:ct}),this.prop.container=(0,De.createElement)("div",{className:"html2pdf__container",style:Zt}),this.prop.container.appendChild(zt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},at.prototype.toCanvas=function(){var We=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(We).then(function(){var ct=Object.assign({},this.opt.html2canvas);return delete ct.onrendered,He(this.prop.container,ct)}).then(function(ct){var Zt=this.opt.html2canvas.onrendered||function(){};Zt(ct),this.prop.canvas=ct,document.body.removeChild(this.prop.overlay)})},at.prototype.toImg=function(){var We=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(We).then(function(){var ct=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ct})},at.prototype.toPdf=function(){var We=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var ct=this.prop.canvas,Zt=this.opt,zt=ct.height,tt=Math.floor(ct.width*this.prop.pageSize.inner.ratio),Pt=Math.ceil(zt/tt),_t=this.prop.pageSize.inner.height,fn=document.createElement("canvas"),Tt=fn.getContext("2d");fn.width=ct.width,fn.height=tt,this.prop.pdf=this.prop.pdf||new ht.jsPDF(Zt.jsPDF);for(var vn=0;vn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),Re=oe("./node_modules/core-js/internals/to-absolute-index.js"),Se=function(Oe){return function(ye,Ce,Ee){var Me=Ne(ye),Ke=ve(Me.length),je=Re(Ee,Ke),Qe;if(Oe&&Ce!=Ce){for(;Ke>je;)if(Qe=Me[je++],Qe!=Qe)return!0}else for(;Ke>je;je++)if((Oe||je in Me)&&Me[je]===Ce)return Oe||je||0;return!Oe&&-1}};he.exports={includes:Se(!0),indexOf:Se(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/function-bind-context.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-object.js"),Se=oe("./node_modules/core-js/internals/to-length.js"),Oe=oe("./node_modules/core-js/internals/array-species-create.js"),ye=[].push,Ce=function(Ee){var Me=Ee==1,Ke=Ee==2,je=Ee==3,Qe=Ee==4,Je=Ee==6,Xe=Ee==7,ut=Ee==5||Je;return function(ot,ht,Ct,He){for(var ft=Re(ot),De=ve(ft),_e=Ne(ht,Ct,3),Ot=Se(De.length),it=0,at=He||Oe,Bt=Me?at(ot,Ot):Ke||Xe?at(ot,0):void 0,We,Te;Ot>it;it++)if((ut||it in De)&&(We=De[it],Te=_e(We,it,ft),Ee))if(Me)Bt[it]=Te;else if(Te)switch(Ee){case 3:return!0;case 5:return We;case 6:return it;case 2:ye.call(Bt,We)}else switch(Ee){case 4:return!1;case 7:ye.call(Bt,We)}return Je?-1:je||Qe?Qe:Bt}};he.exports={forEach:Ce(0),map:Ce(1),filter:Ce(2),some:Ce(3),every:Ce(4),find:Ce(5),findIndex:Ce(6),filterReject:Ce(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/well-known-symbol.js"),Re=oe("./node_modules/core-js/internals/engine-v8-version.js"),Se=ve("species");he.exports=function(Oe){return Re>=51||!Ne(function(){var ye=[],Ce=ye.constructor={};return Ce[Se]=function(){return{foo:1}},ye[Oe](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=function(ve,Re){var Se=[][ve];return!!Se&&Ne(function(){Se.call(null,Re||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-array.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("species");he.exports=function(Oe){var ye;return ve(Oe)&&(ye=Oe.constructor,typeof ye=="function"&&(ye===Array||ve(ye.prototype))?ye=void 0:Ne(ye)&&(ye=ye[Se],ye===null&&(ye=void 0))),ye===void 0?Array:ye}},"./node_modules/core-js/internals/array-species-create.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/array-species-constructor.js");he.exports=function(ve,Re){return new(Ne(ve))(Re===0?0:Re)}},"./node_modules/core-js/internals/classof-raw.js":function(he){var xe={}.toString;he.exports=function(oe){return xe.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag"),Oe=ve(function(){return arguments}())=="Arguments",ye=function(Ce,Ee){try{return Ce[Ee]}catch(Me){}};he.exports=Ne?ve:function(Ce){var Ee,Me,Ke;return Ce===void 0?"Undefined":Ce===null?"Null":typeof(Me=ye(Ee=Object(Ce),Se))=="string"?Me:Oe?ve(Ee):(Ke=ve(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/own-keys.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js");he.exports=function(Oe,ye){for(var Ce=ve(ye),Ee=Se.f,Me=Re.f,Ke=0;Ke"+Ee+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ve=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Oe=oe("./node_modules/core-js/internals/iterators.js"),ye=function(){return this};he.exports=function(Ce,Ee,Me){var Ke=Ee+" Iterator";return Ce.prototype=ve(Ne,{next:Re(1,Me)}),Se(Ce,Ke,!1,!0),Oe[Ke]=ye,Ce}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");he.exports=Ne?function(Se,Oe,ye){return ve.f(Se,Oe,Re(1,ye))}:function(Se,Oe,ye){return Se[Oe]=ye,Se}},"./node_modules/core-js/internals/create-property-descriptor.js":function(he){he.exports=function(xe,oe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");he.exports=function(Se,Oe,ye){var Ce=Ne(Oe);Ce in Se?ve.f(Se,Ce,Re(0,ye)):Se[Ce]=ye}},"./node_modules/core-js/internals/define-iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Re=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Se=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),Oe=oe("./node_modules/core-js/internals/set-to-string-tag.js"),ye=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/is-pure.js"),Ke=oe("./node_modules/core-js/internals/iterators.js"),je=oe("./node_modules/core-js/internals/iterators-core.js"),Qe=je.IteratorPrototype,Je=je.BUGGY_SAFARI_ITERATORS,Xe=Ee("iterator"),ut="keys",ot="values",ht="entries",Ct=function(){return this};he.exports=function(He,ft,De,_e,Ot,it,at){ve(De,ft,_e);var Bt=function(Tt){if(Tt===Ot&&zt)return zt;if(!Je&&Tt in ct)return ct[Tt];switch(Tt){case ut:return function(){return new De(this,Tt)};case ot:return function(){return new De(this,Tt)};case ht:return function(){return new De(this,Tt)}}return function(){return new De(this)}},We=ft+" Iterator",Te=!1,ct=He.prototype,Zt=ct[Xe]||ct["@@iterator"]||Ot&&ct[Ot],zt=!Je&&Zt||Bt(Ot),tt=ft=="Array"&&ct.entries||Zt,Pt,_t,fn;if(tt&&(Pt=Re(tt.call(new He)),Qe!==Object.prototype&&Pt.next&&(!Me&&Re(Pt)!==Qe&&(Se?Se(Pt,Qe):typeof Pt[Xe]!="function"&&ye(Pt,Xe,Ct)),Oe(Pt,We,!0,!0),Me&&(Ke[We]=Ct))),Ot==ot&&Zt&&Zt.name!==ot&&(Te=!0,zt=function(){return Zt.call(this)}),(!Me||at)&&ct[Xe]!==zt&&ye(ct,Xe,zt),Ke[ft]=zt,Ot)if(_t={values:Bt(ot),keys:it?zt:Bt(ut),entries:Bt(ht)},at)for(fn in _t)(Je||Te||!(fn in ct))&&Ce(ct,fn,_t[fn]);else Ne({target:ft,proto:!0,forced:Je||Te},_t);return _t}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/path.js"),ve=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js").f;he.exports=function(Oe){var ye=Ne.Symbol||(Ne.Symbol={});ve(ye,Oe)||Se(ye,Oe,{value:Re.f(Oe)})}},"./node_modules/core-js/internals/descriptors.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=!Ne(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Re=Ne.document,Se=ve(Re)&&ve(Re.createElement);he.exports=function(Oe){return Se?Re.createElement(Oe):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(he){he.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js");he.exports=Ne("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/engine-user-agent.js"),Re=Ne.process,Se=Ne.Deno,Oe=Re&&Re.versions||Se&&Se.version,ye=Oe&&Oe.v8,Ce,Ee;ye?(Ce=ye.split("."),Ee=Ce[0]<4?1:Ce[0]+Ce[1]):ve&&(Ce=ve.match(/Edge\/(\d+)/),(!Ce||Ce[1]>=74)&&(Ce=ve.match(/Chrome\/(\d+)/),Ce&&(Ee=Ce[1]))),he.exports=Ee&&+Ee},"./node_modules/core-js/internals/enum-bug-keys.js":function(he){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/redefine.js"),Oe=oe("./node_modules/core-js/internals/set-global.js"),ye=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ce=oe("./node_modules/core-js/internals/is-forced.js");he.exports=function(Ee,Me){var Ke=Ee.target,je=Ee.global,Qe=Ee.stat,Je,Xe,ut,ot,ht,Ct;if(je?Xe=Ne:Qe?Xe=Ne[Ke]||Oe(Ke,{}):Xe=(Ne[Ke]||{}).prototype,Xe)for(ut in Me){if(ht=Me[ut],Ee.noTargetGet?(Ct=ve(Xe,ut),ot=Ct&&Ct.value):ot=Xe[ut],Je=Ce(je?ut:Ke+(Qe?".":"#")+ut,Ee.forced),!Je&&ot!==void 0){if(typeof ht==typeof ot)continue;ye(ht,ot)}(Ee.sham||ot&&ot.sham)&&Re(ht,"sham",!0),Se(Xe,ut,ht,Ee)}}},"./node_modules/core-js/internals/fails.js":function(he){he.exports=function(xe){try{return!!xe()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/a-function.js");he.exports=function(ve,Re,Se){if(Ne(ve),Re===void 0)return ve;switch(Se){case 0:return function(){return ve.call(Re)};case 1:return function(Oe){return ve.call(Re,Oe)};case 2:return function(Oe,ye){return ve.call(Re,Oe,ye)};case 3:return function(Oe,ye,Ce){return ve.call(Re,Oe,ye,Ce)}}return function(){return ve.apply(Re,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=function(Re){return typeof Re=="function"?Re:void 0};he.exports=function(Re,Se){return arguments.length<2?ve(Ne[Re]):Ne[Re]&&Ne[Re][Se]}},"./node_modules/core-js/internals/global.js":function(he){var xe=function(oe){return oe&&oe.Math==Math&&oe};he.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-object.js"),ve={}.hasOwnProperty;he.exports=Object.hasOwn||function(Se,Oe){return ve.call(Ne(Se),Oe)}},"./node_modules/core-js/internals/hidden-keys.js":function(he){he.exports={}},"./node_modules/core-js/internals/html.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js");he.exports=Ne("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/document-create-element.js");he.exports=!Ne&&!ve(function(){return Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Re="".split;he.exports=Ne(function(){return!Object("z").propertyIsEnumerable(0)})?function(Se){return ve(Se)=="String"?Re.call(Se,""):Object(Se)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-set-prototype-of.js");he.exports=function(Re,Se,Oe){var ye,Ce;return ve&&typeof(ye=Se.constructor)=="function"&&ye!==Oe&&Ne(Ce=ye.prototype)&&Ce!==Oe.prototype&&ve(Re,Ce),Re}},"./node_modules/core-js/internals/inspect-source.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/shared-store.js"),ve=Function.toString;typeof Ne.inspectSource!="function"&&(Ne.inspectSource=function(Re){return ve.call(Re)}),he.exports=Ne.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/native-weak-map.js"),ve=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/is-object.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/shared-store.js"),Ce=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),Me="Object already initialized",Ke=ve.WeakMap,je,Qe,Je,Xe=function(De){return Je(De)?Qe(De):je(De,{})},ut=function(De){return function(_e){var Ot;if(!Re(_e)||(Ot=Qe(_e)).type!==De)throw TypeError("Incompatible receiver, "+De+" required");return Ot}};if(Ne||ye.state){var ot=ye.state||(ye.state=new Ke),ht=ot.get,Ct=ot.has,He=ot.set;je=function(De,_e){if(Ct.call(ot,De))throw new TypeError(Me);return _e.facade=De,He.call(ot,De,_e),_e},Qe=function(De){return ht.call(ot,De)||{}},Je=function(De){return Ct.call(ot,De)}}else{var ft=Ce("state");Ee[ft]=!0,je=function(De,_e){if(Oe(De,ft))throw new TypeError(Me);return _e.facade=De,Se(De,ft,_e),_e},Qe=function(De){return Oe(De,ft)?De[ft]:{}},Je=function(De){return Oe(De,ft)}}he.exports={set:je,get:Qe,has:Je,enforce:Xe,getterFor:ut}},"./node_modules/core-js/internals/is-array.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/classof-raw.js");he.exports=Array.isArray||function(Re){return Ne(Re)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=/#|\.prototype\./,Re=function(Ee,Me){var Ke=Oe[Se(Ee)];return Ke==Ce?!0:Ke==ye?!1:typeof Me=="function"?Ne(Me):!!Me},Se=Re.normalize=function(Ee){return String(Ee).replace(ve,".").toLowerCase()},Oe=Re.data={},ye=Re.NATIVE="N",Ce=Re.POLYFILL="P";he.exports=Re},"./node_modules/core-js/internals/is-object.js":function(he){he.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(he){he.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");he.exports=ve?function(Re){return typeof Re=="symbol"}:function(Re){var Se=Ne("Symbol");return typeof Se=="function"&&Object(Re)instanceof Se}},"./node_modules/core-js/internals/iterators-core.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/has.js"),Oe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=oe("./node_modules/core-js/internals/is-pure.js"),Ce=Oe("iterator"),Ee=!1,Me=function(){return this},Ke,je,Qe;[].keys&&(Qe=[].keys(),"next"in Qe?(je=ve(ve(Qe)),je!==Object.prototype&&(Ke=je)):Ee=!0);var Je=Ke==null||Ne(function(){var Xe={};return Ke[Ce].call(Xe)!==Xe});Je&&(Ke={}),(!ye||Je)&&!Se(Ke,Ce)&&Re(Ke,Ce,Me),he.exports={IteratorPrototype:Ke,BUGGY_SAFARI_ITERATORS:Ee}},"./node_modules/core-js/internals/iterators.js":function(he){he.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/engine-v8-version.js"),ve=oe("./node_modules/core-js/internals/fails.js");he.exports=!!Object.getOwnPropertySymbols&&!ve(function(){var Re=Symbol();return!String(Re)||!(Object(Re)instanceof Symbol)||!Symbol.sham&&Ne&&Ne<41})},"./node_modules/core-js/internals/native-weak-map.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/inspect-source.js"),Re=Ne.WeakMap;he.exports=typeof Re=="function"&&/native code/.test(ve(Re))},"./node_modules/core-js/internals/object-assign.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Oe=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Ce=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,Me=Object.defineProperty;he.exports=!Ee||ve(function(){if(Ne&&Ee({b:1},Ee(Me({},"a",{enumerable:!0,get:function(){Me(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},je={},Qe=Symbol(),Je="abcdefghijklmnopqrst";return Ke[Qe]=7,Je.split("").forEach(function(Xe){je[Xe]=Xe}),Ee({},Ke)[Qe]!=7||Re(Ee({},je)).join("")!=Je})?function(je,Qe){for(var Je=ye(je),Xe=arguments.length,ut=1,ot=Se.f,ht=Oe.f;Xe>ut;)for(var Ct=Ce(arguments[ut++]),He=ot?Re(Ct).concat(ot(Ct)):Re(Ct),ft=He.length,De=0,_e;ft>De;)_e=He[De++],(!Ne||ht.call(Ct,_e))&&(Je[_e]=Ct[_e]);return Je}:Ee},"./node_modules/core-js/internals/object-create.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/object-define-properties.js"),Re=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Se=oe("./node_modules/core-js/internals/hidden-keys.js"),Oe=oe("./node_modules/core-js/internals/html.js"),ye=oe("./node_modules/core-js/internals/document-create-element.js"),Ce=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",Me="<",Ke="prototype",je="script",Qe=Ce("IE_PROTO"),Je=function(){},Xe=function(He){return Me+je+Ee+He+Me+"/"+je+Ee},ut=function(He){He.write(Xe("")),He.close();var ft=He.parentWindow.Object;return He=null,ft},ot=function(){var He=ye("iframe"),ft="java"+je+":",De;if(He.style)return He.style.display="none",Oe.appendChild(He),He.src=String(ft),De=He.contentWindow.document,De.open(),De.write(Xe("document.F=Object")),De.close(),De.F},ht,Ct=function(){try{ht=new ActiveXObject("htmlfile")}catch(ft){}Ct=document.domain&&ht?ut(ht):ot()||ut(ht);for(var He=Re.length;He--;)delete Ct[Ke][Re[He]];return Ct()};Se[Qe]=!0,he.exports=Object.create||function(ft,De){var _e;return ft!==null?(Je[Ke]=Ne(ft),_e=new Je,Je[Ke]=null,_e[Qe]=ft):_e=Ct(),De===void 0?_e:ve(_e,De)}},"./node_modules/core-js/internals/object-define-properties.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/object-keys.js");he.exports=Ne?Object.defineProperties:function(ye,Ce){Re(ye);for(var Ee=Se(Ce),Me=Ee.length,Ke=0,je;Me>Ke;)ve.f(ye,je=Ee[Ke++],Ce[je]);return ye}},"./node_modules/core-js/internals/object-define-property.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/to-property-key.js"),Oe=Object.defineProperty;xe.f=Ne?Oe:function(Ce,Ee,Me){if(Re(Ce),Ee=Se(Ee),Re(Me),ve)try{return Oe(Ce,Ee,Me)}catch(Ke){}if("get"in Me||"set"in Me)throw TypeError("Accessors not supported");return"value"in Me&&(Ce[Ee]=Me.value),Ce}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/to-indexed-object.js"),Oe=oe("./node_modules/core-js/internals/to-property-key.js"),ye=oe("./node_modules/core-js/internals/has.js"),Ce=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;xe.f=Ne?Ee:function(Ke,je){if(Ke=Se(Ke),je=Oe(je),Ce)try{return Ee(Ke,je)}catch(Qe){}if(ye(Ke,je))return Re(!ve.f.call(Ke,je),Ke[je])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Re={}.toString,Se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Oe=function(ye){try{return ve(ye)}catch(Ce){return Se.slice()}};he.exports.f=function(Ce){return Se&&Re.call(Ce)=="[object Window]"?Oe(Ce):ve(Ne(Ce))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Re=ve.concat("length","prototype");xe.f=Object.getOwnPropertyNames||function(Oe){return Ne(Oe,Re)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(he,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/shared-key.js"),Se=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),Oe=Re("IE_PROTO"),ye=Object.prototype;he.exports=Se?Object.getPrototypeOf:function(Ce){return Ce=ve(Ce),Ne(Ce,Oe)?Ce[Oe]:typeof Ce.constructor=="function"&&Ce instanceof Ce.constructor?Ce.constructor.prototype:Ce instanceof Object?ye:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),Re=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Se=oe("./node_modules/core-js/internals/hidden-keys.js");he.exports=function(Oe,ye){var Ce=ve(Oe),Ee=0,Me=[],Ke;for(Ke in Ce)!Ne(Se,Ke)&&Ne(Ce,Ke)&&Me.push(Ke);for(;ye.length>Ee;)Ne(Ce,Ke=ye[Ee++])&&(~Re(Me,Ke)||Me.push(Ke));return Me}},"./node_modules/core-js/internals/object-keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js");he.exports=Object.keys||function(Se){return Ne(Se,ve)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(he,xe){"use strict";var oe={}.propertyIsEnumerable,Ne=Object.getOwnPropertyDescriptor,ve=Ne&&!oe.call({1:2},1);xe.f=ve?function(Se){var Oe=Ne(this,Se);return!!Oe&&Oe.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/a-possible-prototype.js");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Re=!1,Se={},Oe;try{Oe=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Oe.call(Se,[]),Re=Se instanceof Array}catch(ye){}return function(Ce,Ee){return Ne(Ce),ve(Ee),Re?Oe.call(Ce,Ee):Ce.__proto__=Ee,Ce}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof.js");he.exports=Ne?{}.toString:function(){return"[object "+ve(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js");he.exports=function(ve,Re){var Se,Oe;if(Re==="string"&&typeof(Se=ve.toString)=="function"&&!Ne(Oe=Se.call(ve))||typeof(Se=ve.valueOf)=="function"&&!Ne(Oe=Se.call(ve))||Re!=="string"&&typeof(Se=ve.toString)=="function"&&!Ne(Oe=Se.call(ve)))return Oe;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Se=oe("./node_modules/core-js/internals/an-object.js");he.exports=Ne("Reflect","ownKeys")||function(ye){var Ce=ve.f(Se(ye)),Ee=Re.f;return Ee?Ce.concat(Ee(ye)):Ce}},"./node_modules/core-js/internals/path.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js");he.exports=Ne},"./node_modules/core-js/internals/redefine.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/set-global.js"),Oe=oe("./node_modules/core-js/internals/inspect-source.js"),ye=oe("./node_modules/core-js/internals/internal-state.js"),Ce=ye.get,Ee=ye.enforce,Me=String(String).split("String");(he.exports=function(Ke,je,Qe,Je){var Xe=Je?!!Je.unsafe:!1,ut=Je?!!Je.enumerable:!1,ot=Je?!!Je.noTargetGet:!1,ht;if(typeof Qe=="function"&&(typeof je=="string"&&!Re(Qe,"name")&&ve(Qe,"name",je),ht=Ee(Qe),ht.source||(ht.source=Me.join(typeof je=="string"?je:""))),Ke===Ne){ut?Ke[je]=Qe:Se(je,Qe);return}else Xe?!ot&&Ke[je]&&(ut=!0):delete Ke[je];ut?Ke[je]=Qe:ve(Ke,je,Qe)})(Function.prototype,"toString",function(){return typeof this=="function"&&Ce(this).source||Oe(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/an-object.js");he.exports=function(){var ve=Ne(this),Re="";return ve.global&&(Re+="g"),ve.ignoreCase&&(Re+="i"),ve.multiline&&(Re+="m"),ve.dotAll&&(Re+="s"),ve.unicode&&(Re+="u"),ve.sticky&&(Re+="y"),Re}},"./node_modules/core-js/internals/require-object-coercible.js":function(he){he.exports=function(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js");he.exports=function(ve,Re){try{Object.defineProperty(Ne,ve,{value:Re,configurable:!0,writable:!0})}catch(Se){Ne[ve]=Re}return Re}},"./node_modules/core-js/internals/set-to-string-tag.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/object-define-property.js").f,ve=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag");he.exports=function(Oe,ye,Ce){Oe&&!ve(Oe=Ce?Oe:Oe.prototype,Se)&&Ne(Oe,Se,{configurable:!0,value:ye})}},"./node_modules/core-js/internals/shared-key.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/shared.js"),ve=oe("./node_modules/core-js/internals/uid.js"),Re=Ne("keys");he.exports=function(Se){return Re[Se]||(Re[Se]=ve(Se))}},"./node_modules/core-js/internals/shared-store.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/set-global.js"),Re="__core-js_shared__",Se=Ne[Re]||ve(Re,{});he.exports=Se},"./node_modules/core-js/internals/shared.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-pure.js"),ve=oe("./node_modules/core-js/internals/shared-store.js");(he.exports=function(Re,Se){return ve[Re]||(ve[Re]=Se!==void 0?Se:{})})("versions",[]).push({version:"3.16.0",mode:Ne?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/fails.js");he.exports=function(ve){return Ne(function(){var Re=""[ve]('"');return Re!==Re.toLowerCase()||Re.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/require-object-coercible.js"),Se=function(Oe){return function(ye,Ce){var Ee=ve(Re(ye)),Me=Ne(Ce),Ke=Ee.length,je,Qe;return Me<0||Me>=Ke?Oe?"":void 0:(je=Ee.charCodeAt(Me),je<55296||je>56319||Me+1===Ke||(Qe=Ee.charCodeAt(Me+1))<56320||Qe>57343?Oe?Ee.charAt(Me):je:Oe?Ee.slice(Me,Me+2):(je-55296<<10)+(Qe-56320)+65536)}};he.exports={codeAt:Se(!1),charAt:Se(!0)}},"./node_modules/core-js/internals/string-trim.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/require-object-coercible.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/whitespaces.js"),Se="["+Re+"]",Oe=RegExp("^"+Se+Se+"*"),ye=RegExp(Se+Se+"*$"),Ce=function(Ee){return function(Me){var Ke=ve(Ne(Me));return Ee&1&&(Ke=Ke.replace(Oe,"")),Ee&2&&(Ke=Ke.replace(ye,"")),Ke}};he.exports={start:Ce(1),end:Ce(2),trim:Ce(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.max,Re=Math.min;he.exports=function(Se,Oe){var ye=Ne(Se);return ye<0?ve(ye+Oe,0):Re(ye,Oe)}},"./node_modules/core-js/internals/to-indexed-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/indexed-object.js"),ve=oe("./node_modules/core-js/internals/require-object-coercible.js");he.exports=function(Re){return Ne(ve(Re))}},"./node_modules/core-js/internals/to-integer.js":function(he){var xe=Math.ceil,oe=Math.floor;he.exports=function(Ne){return isNaN(Ne=+Ne)?0:(Ne>0?oe:xe)(Ne)}},"./node_modules/core-js/internals/to-length.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.min;he.exports=function(Re){return Re>0?ve(Ne(Re),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/require-object-coercible.js");he.exports=function(ve){return Object(Ne(ve))}},"./node_modules/core-js/internals/to-primitive.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Se=oe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=Se("toPrimitive");he.exports=function(ye,Ce){if(!Ne(ye)||ve(ye))return ye;var Ee=ye[Oe],Me;if(Ee!==void 0){if(Ce===void 0&&(Ce="default"),Me=Ee.call(ye,Ce),!Ne(Me)||ve(Me))return Me;throw TypeError("Can't convert object to primitive value")}return Ce===void 0&&(Ce="number"),Re(ye,Ce)}},"./node_modules/core-js/internals/to-property-key.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-primitive.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js");he.exports=function(Re){var Se=Ne(Re,"string");return ve(Se)?Se:String(Se)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Ne("toStringTag"),Re={};Re[ve]="z",he.exports=String(Re)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/is-symbol.js");he.exports=function(ve){if(Ne(ve))throw TypeError("Cannot convert a Symbol value to a string");return String(ve)}},"./node_modules/core-js/internals/uid.js":function(he){var xe=0,oe=Math.random();he.exports=function(Ne){return"Symbol("+String(Ne===void 0?"":Ne)+")_"+(++xe+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/native-symbol.js");he.exports=Ne&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Ne},"./node_modules/core-js/internals/well-known-symbol.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/shared.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/uid.js"),Oe=oe("./node_modules/core-js/internals/native-symbol.js"),ye=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Ce=ve("wks"),Ee=Ne.Symbol,Me=ye?Ee:Ee&&Ee.withoutSetter||Se;he.exports=function(Ke){return(!Re(Ce,Ke)||!(Oe||typeof Ce[Ke]=="string"))&&(Oe&&Re(Ee,Ke)?Ce[Ke]=Ee[Ke]:Ce[Ke]=Me("Symbol."+Ke)),Ce[Ke]}},"./node_modules/core-js/internals/whitespaces.js":function(he){he.exports=` +\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/is-object.js"),Oe=oe("./node_modules/core-js/internals/to-object.js"),ye=oe("./node_modules/core-js/internals/to-length.js"),Ce=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=oe("./node_modules/core-js/internals/well-known-symbol.js"),je=oe("./node_modules/core-js/internals/engine-v8-version.js"),Qe=Ke("isConcatSpreadable"),Je=9007199254740991,Xe="Maximum allowed index exceeded",ut=je>=51||!ve(function(){var He=[];return He[Qe]=!1,He.concat()[0]!==He}),ot=Me("concat"),ht=function(He){if(!Se(He))return!1;var ft=He[Qe];return ft!==void 0?!!ft:Re(He)},Ct=!ut||!ot;Ne({target:"Array",proto:!0,forced:Ct},{concat:function(ft){var De=Oe(this),_e=Ee(De,0),Ot=0,it,at,Bt,We,Te;for(it=-1,Bt=arguments.length;itJe)throw TypeError(Xe);for(at=0;at=Je)throw TypeError(Xe);Ce(_e,Ot++,Te)}return _e.length=Ot,_e}})},"./node_modules/core-js/modules/es.array.iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Re=oe("./node_modules/core-js/internals/iterators.js"),Se=oe("./node_modules/core-js/internals/internal-state.js"),Oe=oe("./node_modules/core-js/internals/define-iterator.js"),ye="Array Iterator",Ce=Se.set,Ee=Se.getterFor(ye);he.exports=Oe(Array,"Array",function(Me,Ke){Ce(this,{type:ye,target:Ne(Me),index:0,kind:Ke})},function(){var Me=Ee(this),Ke=Me.target,je=Me.kind,Qe=Me.index++;return!Ke||Qe>=Ke.length?(Me.target=void 0,{value:void 0,done:!0}):je=="keys"?{value:Qe,done:!1}:je=="values"?{value:Ke[Qe],done:!1}:{value:[Qe,Ke[Qe]],done:!1}},"values"),Re.Arguments=Re.Array,ve("keys"),ve("values"),ve("entries")},"./node_modules/core-js/modules/es.array.join.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-indexed-object.js"),Se=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Oe=[].join,ye=ve!=Object,Ce=Se("join",",");Ne({target:"Array",proto:!0,forced:ye||!Ce},{join:function(Me){return Oe.call(Re(this),Me===void 0?",":Me)}})},"./node_modules/core-js/modules/es.array.map.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/array-iteration.js").map,Re=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Se=Re("map");Ne({target:"Array",proto:!0,forced:!Se},{map:function(ye){return ve(this,ye,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/to-absolute-index.js"),Oe=oe("./node_modules/core-js/internals/to-length.js"),ye=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ce=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Me("slice"),je=Ee("species"),Qe=[].slice,Je=Math.max;Ne({target:"Array",proto:!0,forced:!Ke},{slice:function(ut,ot){var ht=ye(this),Ct=Oe(ht.length),He=Se(ut,Ct),ft=Se(ot===void 0?Ct:ot,Ct),De,_e,Ot;if(Re(ht)&&(De=ht.constructor,typeof De=="function"&&(De===Array||Re(De.prototype))?De=void 0:ve(De)&&(De=De[je],De===null&&(De=void 0)),De===Array||De===void 0))return Qe.call(ht,He,ft);for(_e=new(De===void 0?Array:De)(Je(ft-He,0)),Ot=0;He2){if(Bt=ut(Bt),We=Bt.charCodeAt(0),We===43||We===45){if(Te=Bt.charCodeAt(2),Te===88||Te===120)return NaN}else if(We===48){switch(Bt.charCodeAt(1)){case 66:case 98:ct=2,Zt=49;break;case 79:case 111:ct=8,Zt=55;break;default:return+Bt}for(zt=Bt.slice(2),tt=zt.length,Pt=0;PtZt)return NaN;return parseInt(zt,ct)}}return+Bt};if(Re(ot,!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var De=function(Bt){var We=arguments.length<1?0:Bt,Te=this;return Te instanceof De&&(He?Ke(function(){Ct.valueOf.call(Te)}):ye(Te)!=ot)?Ce(new ht(ft(We)),Te,De):ft(We)},_e=Ne?Qe(ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ot=0,it;_e.length>Ot;Ot++)Oe(ht,it=_e[Ot])&&!Oe(De,it)&&Xe(De,it,Je(ht,it));De.prototype=Ct,Ct.constructor=De,Se(ve,ot,De)}},"./node_modules/core-js/modules/es.object.assign.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/object-assign.js");Ne({target:"Object",stat:!0,forced:Object.assign!==ve},{assign:ve})},"./node_modules/core-js/modules/es.object.keys.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Oe=Se(function(){Re(1)});Ne({target:"Object",stat:!0,forced:Oe},{keys:function(Ce){return Re(ve(Ce))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/redefine.js"),Re=oe("./node_modules/core-js/internals/object-to-string.js");Ne||ve(Object.prototype,"toString",Re,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/redefine.js"),ve=oe("./node_modules/core-js/internals/an-object.js"),Re=oe("./node_modules/core-js/internals/to-string.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Oe=oe("./node_modules/core-js/internals/regexp-flags.js"),ye="toString",Ce=RegExp.prototype,Ee=Ce[ye],Me=Se(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),Ke=Ee.name!=ye;(Me||Ke)&&Ne(RegExp.prototype,ye,function(){var Qe=ve(this),Je=Re(Qe.source),Xe=Qe.flags,ut=Re(Xe===void 0&&Qe instanceof RegExp&&!("flags"in Ce)?Oe.call(Qe):Xe);return"/"+Je+"/"+ut},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ve=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/internal-state.js"),Se=oe("./node_modules/core-js/internals/define-iterator.js"),Oe="String Iterator",ye=Re.set,Ce=Re.getterFor(Oe);Se(String,"String",function(Ee){ye(this,{type:Oe,string:ve(Ee),index:0})},function(){var Me=Ce(this),Ke=Me.string,je=Me.index,Qe;return je>=Ke.length?{value:void 0,done:!0}:(Qe=Ne(Ke,je),Me.index+=Qe.length,{value:Qe,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-html.js"),Re=oe("./node_modules/core-js/internals/string-html-forced.js");Ne({target:"String",proto:!0,forced:Re("link")},{link:function(Oe){return ve(this,"a","href",Oe)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/descriptors.js"),Re=oe("./node_modules/core-js/internals/global.js"),Se=oe("./node_modules/core-js/internals/has.js"),Oe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js").f,Ce=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Re.Symbol;if(ve&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var Me={},Ke=function(){var ot=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ht=this instanceof Ke?new Ee(ot):ot===void 0?Ee():Ee(ot);return ot===""&&(Me[ht]=!0),ht};Ce(Ke,Ee);var je=Ke.prototype=Ee.prototype;je.constructor=Ke;var Qe=je.toString,Je=String(Ee("test"))=="Symbol(test)",Xe=/^Symbol\((.*)\)[^)]+$/;ye(je,"description",{configurable:!0,get:function(){var ot=Oe(this)?this.valueOf():this,ht=Qe.call(ot);if(Se(Me,ot))return"";var Ct=Je?ht.slice(7,-1):ht.replace(Xe,"$1");return Ct===""?void 0:Ct}}),Ne({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Ne("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(he,xe,oe){"use strict";var Ne=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/get-built-in.js"),Se=oe("./node_modules/core-js/internals/is-pure.js"),Oe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/native-symbol.js"),Ce=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ke=oe("./node_modules/core-js/internals/is-object.js"),je=oe("./node_modules/core-js/internals/is-symbol.js"),Qe=oe("./node_modules/core-js/internals/an-object.js"),Je=oe("./node_modules/core-js/internals/to-object.js"),Xe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ut=oe("./node_modules/core-js/internals/to-property-key.js"),ot=oe("./node_modules/core-js/internals/to-string.js"),ht=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ct=oe("./node_modules/core-js/internals/object-create.js"),He=oe("./node_modules/core-js/internals/object-keys.js"),ft=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),De=oe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),_e=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ot=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),it=oe("./node_modules/core-js/internals/object-define-property.js"),at=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Bt=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),We=oe("./node_modules/core-js/internals/redefine.js"),Te=oe("./node_modules/core-js/internals/shared.js"),ct=oe("./node_modules/core-js/internals/shared-key.js"),Zt=oe("./node_modules/core-js/internals/hidden-keys.js"),zt=oe("./node_modules/core-js/internals/uid.js"),tt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Pt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),_t=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),fn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Tt=oe("./node_modules/core-js/internals/internal-state.js"),vn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,kt=ct("hidden"),Sn="Symbol",on="prototype",de=tt("toPrimitive"),ge=Tt.set,ie=Tt.getterFor(Sn),ee=Object[on],se=ve.Symbol,le=Re("JSON","stringify"),Be=Ot.f,Ve=it.f,st=De.f,gt=at.f,mt=Te("symbols"),St=Te("op-symbols"),Dt=Te("string-to-symbol-registry"),jt=Te("symbol-to-string-registry"),xt=Te("wks"),lt=ve.QObject,Xt=!lt||!lt[on]||!lt[on].findChild,Vt=Oe&&Ce(function(){return Ct(Ve({},"a",{get:function(){return Ve(this,"a",{value:7}).a}})).a!=7})?function(Lt,Gt,nn){var Cn=Be(ee,Gt);Cn&&delete ee[Gt],Ve(Lt,Gt,nn),Cn&&Lt!==ee&&Ve(ee,Gt,Cn)}:Ve,wn=function(Lt,Gt){var nn=mt[Lt]=Ct(se[on]);return ge(nn,{type:Sn,tag:Lt,description:Gt}),Oe||(nn.description=Gt),nn},an=function(Gt,nn,Cn){Gt===ee&&an(St,nn,Cn),Qe(Gt);var Gn=ut(nn);return Qe(Cn),Ee(mt,Gn)?(Cn.enumerable?(Ee(Gt,kt)&&Gt[kt][Gn]&&(Gt[kt][Gn]=!1),Cn=Ct(Cn,{enumerable:ht(0,!1)})):(Ee(Gt,kt)||Ve(Gt,kt,ht(1,{})),Gt[kt][Gn]=!0),Vt(Gt,Gn,Cn)):Ve(Gt,Gn,Cn)},en=function(Gt,nn){Qe(Gt);var Cn=Xe(nn),Gn=He(Cn).concat(Nn(Cn));return vn(Gn,function(Sr){(!Oe||In.call(Cn,Sr))&&an(Gt,Sr,Cn[Sr])}),Gt},zn=function(Gt,nn){return nn===void 0?Ct(Gt):en(Ct(Gt),nn)},In=function(Gt){var nn=ut(Gt),Cn=gt.call(this,nn);return this===ee&&Ee(mt,nn)&&!Ee(St,nn)?!1:Cn||!Ee(this,nn)||!Ee(mt,nn)||Ee(this,kt)&&this[kt][nn]?Cn:!0},Qt=function(Gt,nn){var Cn=Xe(Gt),Gn=ut(nn);if(!(Cn===ee&&Ee(mt,Gn)&&!Ee(St,Gn))){var Sr=Be(Cn,Gn);return Sr&&Ee(mt,Gn)&&!(Ee(Cn,kt)&&Cn[kt][Gn])&&(Sr.enumerable=!0),Sr}},sn=function(Gt){var nn=st(Xe(Gt)),Cn=[];return vn(nn,function(Gn){!Ee(mt,Gn)&&!Ee(Zt,Gn)&&Cn.push(Gn)}),Cn},Nn=function(Gt){var nn=Gt===ee,Cn=st(nn?St:Xe(Gt)),Gn=[];return vn(Cn,function(Sr){Ee(mt,Sr)&&(!nn||Ee(ee,Sr))&&Gn.push(mt[Sr])}),Gn};if(ye||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:ot(arguments[0]),nn=zt(Gt),Cn=function(Gn){this===ee&&Cn.call(St,Gn),Ee(this,kt)&&Ee(this[kt],nn)&&(this[kt][nn]=!1),Vt(this,nn,ht(1,Gn))};return Oe&&Xt&&Vt(ee,nn,{configurable:!0,set:Cn}),wn(nn,Gt)},We(se[on],"toString",function(){return ie(this).tag}),We(se,"withoutSetter",function(Lt){return wn(zt(Lt),Lt)}),at.f=In,it.f=an,Ot.f=Qt,ft.f=De.f=sn,_e.f=Nn,Pt.f=function(Lt){return wn(tt(Lt),Lt)},Oe&&(Ve(se[on],"description",{configurable:!0,get:function(){return ie(this).description}}),Se||We(ee,"propertyIsEnumerable",In,{unsafe:!0}))),Ne({global:!0,wrap:!0,forced:!ye,sham:!ye},{Symbol:se}),vn(He(xt),function(Lt){_t(Lt)}),Ne({target:Sn,stat:!0,forced:!ye},{for:function(Lt){var Gt=ot(Lt);if(Ee(Dt,Gt))return Dt[Gt];var nn=se(Gt);return Dt[Gt]=nn,jt[nn]=Gt,nn},keyFor:function(Gt){if(!je(Gt))throw TypeError(Gt+" is not a symbol");if(Ee(jt,Gt))return jt[Gt]},useSetter:function(){Xt=!0},useSimple:function(){Xt=!1}}),Ne({target:"Object",stat:!0,forced:!ye,sham:!Oe},{create:zn,defineProperty:an,defineProperties:en,getOwnPropertyDescriptor:Qt}),Ne({target:"Object",stat:!0,forced:!ye},{getOwnPropertyNames:sn,getOwnPropertySymbols:Nn}),Ne({target:"Object",stat:!0,forced:Ce(function(){_e.f(1)})},{getOwnPropertySymbols:function(Gt){return _e.f(Je(Gt))}}),le){var Vn=!ye||Ce(function(){var Lt=se();return le([Lt])!="[null]"||le({a:Lt})!="{}"||le(Object(Lt))!="{}"});Ne({target:"JSON",stat:!0,forced:Vn},{stringify:function(Gt,nn,Cn){for(var Gn=[Gt],Sr=1,ii;arguments.length>Sr;)Gn.push(arguments[Sr++]);if(ii=nn,!(!Ke(nn)&&Gt===void 0||je(Gt)))return Me(nn)||(nn=function(si,sr){if(typeof ii=="function"&&(sr=ii.call(this,si,sr)),!je(sr))return sr}),Gn[1]=nn,le.apply(null,Gn)}})}se[on][de]||Bt(se[on],de,se[on].valueOf),fn(se,Sn),Zt[kt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/internals/array-for-each.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Oe in ve){var ye=Ne[Oe],Ce=ye&&ye.prototype;if(Ce&&Ce.forEach!==Re)try{Se(Ce,"forEach",Re)}catch(Ee){Ce.forEach=Re}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(he,xe,oe){var Ne=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/modules/es.array.iterator.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=Oe("iterator"),Ce=Oe("toStringTag"),Ee=Re.values;for(var Me in ve){var Ke=Ne[Me],je=Ke&&Ke.prototype;if(je){if(je[ye]!==Ee)try{Se(je,ye,Ee)}catch(Je){je[ye]=Ee}if(je[Ce]||Se(je,Ce,Me),ve[Me]){for(var Qe in Re)if(je[Qe]!==Re[Qe])try{Se(je,Qe,Re[Qe])}catch(Je){je[Qe]=Re[Qe]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(he){(function(xe,oe){he.exports=oe()})(this,function(){"use strict";function xe(lt){var Xt=typeof lt;return lt!==null&&(Xt==="object"||Xt==="function")}function oe(lt){return typeof lt=="function"}var Ne=void 0;Array.isArray?Ne=Array.isArray:Ne=function(lt){return Object.prototype.toString.call(lt)==="[object Array]"};var ve=Ne,Re=0,Se=void 0,Oe=void 0,ye=function(Xt,Vt){He[Re]=Xt,He[Re+1]=Vt,Re+=2,Re===2&&(Oe?Oe(ft):_e())};function Ce(lt){Oe=lt}function Ee(lt){ye=lt}var Me=typeof window!="undefined"?window:void 0,Ke=Me||{},je=Ke.MutationObserver||Ke.WebKitMutationObserver,Qe=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",Je=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Xe(){return function(){return x.nextTick(ft)}}function ut(){return typeof Se!="undefined"?function(){Se(ft)}:Ct()}function ot(){var lt=0,Xt=new je(ft),Vt=document.createTextNode("");return Xt.observe(Vt,{characterData:!0}),function(){Vt.data=lt=++lt%2}}function ht(){var lt=new MessageChannel;return lt.port1.onmessage=ft,function(){return lt.port2.postMessage(0)}}function Ct(){var lt=setTimeout;return function(){return lt(ft,1)}}var He=new Array(1e3);function ft(){for(var lt=0;lt>1,oe=-7,Ne=dt?qe-1:0,ve=dt?-1:1,Re=ae[x+Ne];for(Ne+=ve,ze=Re&(1<<-oe)-1,Re>>=-oe,oe+=Ue;oe>0;ze=ze*256+ae[x+Ne],Ne+=ve,oe-=8);for(Fe=ze&(1<<-oe)-1,ze>>=-oe,oe+=Ie;oe>0;Fe=Fe*256+ae[x+Ne],Ne+=ve,oe-=8);if(ze===0)ze=1-xe;else{if(ze===he)return Fe?NaN:(Re?-1:1)*(1/0);Fe=Fe+Math.pow(2,Ie),ze=ze-xe}return(Re?-1:1)*Fe*Math.pow(2,ze-Ie)},Ut.write=function(ae,x,dt,Ie,qe,ze){var Fe,Ue,he,xe=ze*8-qe-1,oe=(1<>1,ve=qe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Re=Ie?0:ze-1,Se=Ie?1:-1,Oe=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Ue=isNaN(x)?1:0,Fe=oe):(Fe=Math.floor(Math.log(x)/Math.LN2),x*(he=Math.pow(2,-Fe))<1&&(Fe--,he*=2),Fe+Ne>=1?x+=ve/he:x+=ve*Math.pow(2,1-Ne),x*he>=2&&(Fe++,he/=2),Fe+Ne>=oe?(Ue=0,Fe=oe):Fe+Ne>=1?(Ue=(x*he-1)*Math.pow(2,qe),Fe=Fe+Ne):(Ue=x*Math.pow(2,Ne-1)*Math.pow(2,qe),Fe=0));qe>=8;ae[dt+Re]=Ue&255,Re+=Se,Ue/=256,qe-=8);for(Fe=Fe<0;ae[dt+Re]=Fe&255,Re+=Se,Fe/=256,xe-=8);ae[dt+Re-Se]|=Oe*128}},53307:function(Yn,Ut,ae){"use strict";ae.r(Ut),ae.d(Ut,{AcroForm:function(){return QA},AcroFormAppearance:function(){return Ro},AcroFormButton:function(){return rs},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Vo},AcroFormComboBox:function(){return wa},AcroFormEditBox:function(){return va},AcroFormListBox:function(){return ds},AcroFormPasswordField:function(){return is},AcroFormPushButton:function(){return Cs},AcroFormRadioButton:function(){return Ga},AcroFormTextField:function(){return Ts},GState:function(){return Ep},ShadingPattern:function(){return Mf},TilingPattern:function(){return Uf},default:function(){return Oa},jsPDF:function(){return Oa}});var x=ae(43749),dt={},Ie=function(y,z,E,re,ce){var fe=new Worker(dt[z]||(dt[z]=URL.createObjectURL(new Blob([y+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return fe.onmessage=function(Ze){var ke=Ze.data,Ge=ke.$e$;if(Ge){var $e=new Error(Ge[0]);$e.code=Ge[1],$e.stack=Ge[2],ce($e,null)}else ce(null,ke)},fe.postMessage(E,re),fe},qe=Uint8Array,ze=Uint16Array,Fe=Int32Array,Ue=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),he=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),xe=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(y,z){for(var E=new ze(31),re=0;re<31;++re)E[re]=z+=1<>1|(Ee&21845)<<1;Me=(Me&52428)>>2|(Me&13107)<<2,Me=(Me&61680)>>4|(Me&3855)<<4,Ce[Ee]=((Me&65280)>>8|(Me&255)<<8)>>1}for(var Ke=function(y,z,E){for(var re=y.length,ce=0,fe=new ze(z);ce>Ge]=$e}else for(ke=new ze(re),ce=0;ce>15-y[ce]);return ke},je=new qe(288),Ee=0;Ee<144;++Ee)je[Ee]=8;for(var Ee=144;Ee<256;++Ee)je[Ee]=9;for(var Ee=256;Ee<280;++Ee)je[Ee]=7;for(var Ee=280;Ee<288;++Ee)je[Ee]=8;for(var Qe=new qe(32),Ee=0;Ee<32;++Ee)Qe[Ee]=5;var Je=Ke(je,9,0),Xe=null,ut=Ke(Qe,5,0),ot=null,ht=function(y){for(var z=y[0],E=1;Ez&&(z=y[E]);return z},Ct=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},He=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},ft=function(y){return(y+7)/8|0},De=function(y,z,E){return(z==null||z<0)&&(z=0),(E==null||E>y.length)&&(E=y.length),new qe(y.subarray(z,E))},_e={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ot=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(y,z,E){var re=new Error(z||Ot[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,it),!E)throw re;return re},at=function(y,z,E,re){var ce=y.length,fe=re?re.length:0;if(!ce||z.f&&!z.l)return E||new qe(0);var Ze=!E,ke=Ze||z.i!=2,Ge=z.i;Ze&&(E=new qe(ce*3));var $e=function(xo){var Aa=E.length;if(xo>Aa){var ua=new qe(Math.max(Aa*2,xo));ua.set(E),E=ua}},pt=z.f||0,Mt=z.p||0,Jt=z.b||0,At=z.l,Ln=z.d,xn=z.m,Pn=z.n,dn=ce*8;do{if(!At){pt=Ct(y,Mt,1);var mr=Ct(y,Mt+1,3);if(Mt+=3,mr)if(mr==1)At=Xe,Ln=ot,xn=9,Pn=5;else if(mr==2){var ji=Ct(y,Mt,31)+257,Bi=Ct(y,Mt+10,15)+4,Ir=ji+Ct(y,Mt+5,31)+1;Mt+=14;for(var Xn=new qe(Ir),Zr=new qe(19),ln=0;ln>4;if(ar<16)Xn[ln++]=ar;else{var bi=0,Si=0;for(ar==16?(Si=3+Ct(y,Mt,3),Mt+=2,bi=Xn[ln-1]):ar==17?(Si=3+Ct(y,Mt,7),Mt+=3):ar==18&&(Si=11+Ct(y,Mt,127),Mt+=7);Si--;)Xn[ln++]=bi}}var ri=Xn.subarray(0,ji),Li=Xn.subarray(ji);xn=ht(ri),Pn=ht(Li),At=Ke(ri,xn,1),Ln=Ke(Li,Pn,1)}else it(1);else{var ar=ft(Mt)+4,Wn=y[ar-4]|y[ar-3]<<8,ui=ar+Wn;if(ui>ce){Ge&&it(0);break}ke&&$e(Jt+Wn),E.set(y.subarray(ar,ui),Jt),z.b=Jt+=Wn,z.p=Mt=ui*8,z.f=pt;continue}if(Mt>dn){Ge&&it(0);break}}ke&&$e(Jt+131072);for(var To=(1<>4;if(Mt+=bi&15,Mt>dn){Ge&&it(0);break}if(bi||it(2),Kn<256)E[Jt++]=Kn;else if(Kn==256){rn=Mt,At=null;break}else{var tr=Kn-254;if(Kn>264){var ln=Kn-257,yr=Ue[ln];tr=Ct(y,Mt,(1<>4;kr||it(3),Mt+=kr&15;var Li=Oe[qr];if(qr>3){var yr=he[qr];Li+=He(y,Mt)&(1<dn){Ge&&it(0);break}ke&&$e(Jt+131072);var Ei=Jt+tr;if(Jt>8},We=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8,y[re+2]|=E>>16},Te=function(y,z){for(var E=[],re=0;reJt&&(Jt=fe[re].s);var At=new ze(Jt+1),Ln=ct(E[pt-1],At,0);if(Ln>z){var re=0,xn=0,Pn=Ln-z,dn=1<z)xn+=dn-(1<>=Pn;xn>0;){var ar=fe[re].s;At[ar]=0&&xn;--re){var Wn=fe[re].s;At[Wn]==z&&(--At[Wn],++xn)}Ln=z}return{t:new qe(At),l:Ln}},ct=function(y,z,E){return y.s==-1?Math.max(ct(y.l,z,E+1),ct(y.r,z,E+1)):z[y.s]=E},Zt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new ze(++z),re=0,ce=y[0],fe=1,Ze=function(Ge){E[re++]=Ge},ke=1;ke<=z;++ke)if(y[ke]==ce&&ke!=z)++fe;else{if(!ce&&fe>2){for(;fe>138;fe-=138)Ze(32754);fe>2&&(Ze(fe>10?fe-11<<5|28690:fe-3<<5|12305),fe=0)}else if(fe>3){for(Ze(ce),--fe;fe>6;fe-=6)Ze(8304);fe>2&&(Ze(fe-3<<5|8208),fe=0)}for(;fe--;)Ze(ce);fe=1,ce=y[ke]}return{c:E.subarray(0,re),n:z}},zt=function(y,z){for(var E=0,re=0;re>8,y[ce+2]=y[ce]^255,y[ce+3]=y[ce+1]^255;for(var fe=0;fe4&&!Zr[xe[Tn-1]];--Tn);var gr=$e+5<<3,cr=zt(ce,je)+zt(fe,Qe)+Ze,hi=zt(ce,Jt)+zt(fe,xn)+Ze+14+3*Tn+zt(Bi,Zr)+2*Bi[16]+3*Bi[17]+7*Bi[18];if(Ge>=0&&gr<=cr&&gr<=hi)return tt(z,pt,y.subarray(Ge,Ge+$e));var bi,Si,ri,Li;if(Bt(z,pt,1+(hi15&&(Bt(z,pt,Kn[Ir]>>5&127),pt+=Kn[Ir]>>12)}}else bi=Je,Si=je,ri=ut,Li=Qe;for(var Ir=0;Ir255){var tr=yr>>18&31;We(z,pt,bi[tr+257]),pt+=Si[tr+257],tr>7&&(Bt(z,pt,yr>>23&31),pt+=Ue[tr]);var kr=yr&31;We(z,pt,ri[kr]),pt+=Li[kr],kr>3&&(We(z,pt,yr>>5&8191),pt+=he[kr])}else We(z,pt,bi[yr]),pt+=Si[yr]}return We(z,pt,bi[256]),pt+Si[256]},_t=new Fe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),fn=new qe(0),Tt=function(y,z,E,re,ce,fe){var Ze=fe.z||y.length,ke=new qe(re+Ze+5*(1+Math.ceil(Ze/7e3))+ce),Ge=ke.subarray(re,ke.length-ce),$e=fe.l,pt=(fe.r||0)&7;if(z){pt&&(Ge[0]=fe.r>>3);for(var Mt=_t[z-1],Jt=Mt>>13,At=Mt&8191,Ln=(1<7e3||Zr>24576)&&(bi>423||!$e)){pt=Pt(y,Ge,0,Wn,ui,ji,Ir,Zr,Tn,Xn-Tn,pt),Zr=Bi=Ir=0,Tn=Xn;for(var Si=0;Si<286;++Si)ui[Si]=0;for(var Si=0;Si<30;++Si)ji[Si]=0}var ri=2,Li=0,To=At,io=cr-hi&32767;if(bi>2&&gr==ar(Xn-io))for(var rn=Math.min(Jt,bi)-1,Kn=Math.min(32767,Xn),tr=Math.min(258,bi);io<=Kn&&--To&&cr!=hi;){if(y[Xn+ri]==y[Xn+ri-io]){for(var yr=0;yrri){if(ri=yr,Li=io,yr>rn)break;for(var kr=Math.min(io,yr-2),qr=0,Si=0;Siqr&&(qr=$i,hi=Ei)}}}cr=hi,hi=xn[cr],io+=cr-hi&32767}if(Li){Wn[Zr++]=268435456|Re[ri]<<18|ye[Li];var xo=Re[ri]&31,Aa=ye[Li]&31;Ir+=Ue[xo]+he[Aa],++ui[257+xo],++ji[Aa],ln=Xn+ri,++Bi}else Wn[Zr++]=y[Xn],++ui[y[Xn]]}}for(Xn=Math.max(Xn,ln);Xn=Ze&&(Ge[pt/8|0]=$e,ua=Ze),pt=tt(Ge,pt+1,y.subarray(Xn,ua))}fe.i=Ze}return De(ke,0,re+ft(pt)+ce)},vn=null,kt=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re>>8;y=E},d:function(){return~y}}},Sn=function(){var y=1,z=0;return{p:function(E){for(var re=y,ce=z,fe=E.length|0,Ze=0;Ze!=fe;){for(var ke=Math.min(Ze+2655,fe);Ze>16),ce=(ce&65535)+15*(ce>>16)}y=re,z=ce},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},on=function(y,z,E,re,ce){if(!ce&&(ce={l:1},z.dictionary)){var fe=z.dictionary.subarray(-32768),Ze=new qe(fe.length+y.length);Ze.set(fe),Ze.set(y,fe.length),y=Ze,ce.w=fe.length}return Tt(y,z.level==null?6:z.level,z.mem==null?ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,ce)},de=function(y,z){var E={};for(var re in y)E[re]=y[re];for(var re in z)E[re]=z[re];return E},ge=function(y,z,E){for(var re=y(),ce=y.toString(),fe=ce.slice(ce.indexOf("[")+1,ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ze=0;Ze>>0},wn=function(y,z){return Vt(y,z)+Vt(y,z+4)*4294967296},an=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},en=function(y,z){var E=z.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=z.level<2?4:z.level==9?2:0,y[9]=3,z.mtime!=0&&an(y,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),E){y[3]=8;for(var re=0;re<=E.length;++re)y[re+10]=E.charCodeAt(re)}},zn=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&it(6,"invalid gzip data");var z=y[3],E=10;z&4&&(E+=(y[10]|y[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!y[E++]);return E+(z&2)},In=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},Qt=function(y){return 10+(y.filename?y.filename.length+1:0)},sn=function(y,z){var E=z.level,re=E==0?0:E<6?1:E==9?3:2;if(y[0]=120,y[1]=re<<6|(z.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,z.dictionary){var ce=Sn();ce.p(z.dictionary),an(y,2,ce.d())}},Nn=function(y,z){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&it(6,"invalid zlib data"),(y[1]>>5&1)==+!z&&it(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Vn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var Lt=null,Gt=null;function nn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[Be],function(re){return St(Cn(re.data[0],re.data[1]))},0,E)}function Cn(y,z){return on(y,z||{},0,0)}var Gn=null,Sr=null;function ii(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[le],function(re){return St(si(re.data[0],Dt(re.data[1])))},1,E)}function si(y,z){return at(y,{i:2},z&&z.out,z&&z.dictionary)}var sr=null,Lr=null;function Qn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[Be,Ve,function(){return[Hn]}],function(re){return St(Hn(re.data[0],re.data[1]))},2,E)}function Hn(y,z){z||(z={});var E=kt(),re=y.length;E.p(y);var ce=on(y,z,Qt(z),8),fe=ce.length;return en(ce,z),an(ce,fe-8,E.d()),an(ce,fe-4,re),ce}var Jn=null,ir=null;function Zn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[le,st,function(){return[Cr]}],function(re){return St(Cr(re.data[0],re.data[1]))},3,E)}function Cr(y,z){var E=zn(y);return E+8>y.length&&it(6,"invalid gzip data"),at(y.subarray(E,-8),{i:2},z&&z.out||new qe(In(y)),z&&z.dictionary)}var Er=null,Nr=null;function pi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[Be,gt,function(){return[di]}],function(re){return St(di(re.data[0],re.data[1]))},4,E)}function di(y,z){z||(z={});var E=Sn();E.p(y);var re=on(y,z,z.dictionary?6:2,4);return sn(re,z),an(re,re.length-4,E.d()),re}var fi=null,Oi=null;function Ci(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),jt(y,z,[le,mt,function(){return[ro]}],function(re){return St(ro(re.data[0],Dt(re.data[1])))},5,E)}function ro(y,z){return at(y.subarray(Nn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Yi=null,or=null;function Mr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&it(7),y[0]==31&&y[1]==139&&y[2]==8?Zn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ii(y,z,E):Ci(y,z,E)}function gi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?Cr(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?si(y,z):ro(y,z)}var oi=function(y,z,E,re){for(var ce in y){var fe=y[ce],Ze=z+ce,ke=re;Array.isArray(fe)&&(ke=de(re,fe[1]),fe=fe[0]),fe instanceof qe?E[Ze]=[fe,ke]:(E[Ze+="/"]=[new qe(0),ke],oi(fe,Ze,E,re))}},un=typeof TextEncoder!="undefined"&&new TextEncoder,bt=typeof TextDecoder!="undefined"&&new TextDecoder,Rt=0;try{bt.decode(fn,{stream:!0}),Rt=1}catch(y){}var hn=function(y){for(var z="",E=0;;){var re=y[E++],ce=(re>127)+(re>223)+(re>239);if(E+ce>y.length)return{s:z,r:De(y,E-1)};ce?ce==3?(re=((re&15)<<18|(y[E++]&63)<<12|(y[E++]&63)<<6|y[E++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ce&1?z+=String.fromCharCode((re&31)<<6|y[E++]&63):z+=String.fromCharCode((re&15)<<12|(y[E++]&63)<<6|y[E++]&63):z+=String.fromCharCode(re)}},Wt=null,yn=null;function On(y,z){if(z){for(var E=new qe(y.length),re=0;re>1)),Ze=0,ke=function(pt){fe[Ze++]=pt},re=0;refe.length){var Ge=new qe(Ze+8+(ce-re<<1));Ge.set(fe),fe=Ge}var $e=y.charCodeAt(re);$e<128||z?ke($e):$e<2048?(ke(192|$e>>6),ke(128|$e&63)):$e>55295&&$e<57344?($e=65536+($e&1047552)|y.charCodeAt(++re)&1023,ke(240|$e>>18),ke(128|$e>>12&63),ke(128|$e>>6&63),ke(128|$e&63)):(ke(224|$e>>12),ke(128|$e>>6&63),ke(128|$e&63))}return De(fe,0,Ze)}function jr(y,z){if(z){for(var E="",re=0;re65535&&it(9),z+=re+4}return z},ei=function(y,z,E,re,ce,fe,Ze,ke){var Ge=re.length,$e=E.extra,pt=ke&&ke.length,Mt=$n($e);an(y,z,Ze!=null?33639248:67324752),z+=4,Ze!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(fe<0&&8),y[z++]=ce&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var Jt=new Date(E.mtime==null?Date.now():E.mtime),At=Jt.getFullYear()-1980;if((At<0||At>119)&&it(10),an(y,z,At<<25|Jt.getMonth()+1<<21|Jt.getDate()<<16|Jt.getHours()<<11|Jt.getMinutes()<<5|Jt.getSeconds()>>1),z+=4,fe!=-1&&(an(y,z,E.crc),an(y,z+4,fe<0?-fe-2:fe),an(y,z+8,E.size)),an(y,z+12,Ge),an(y,z+14,Mt),z+=16,Ze!=null&&(an(y,z,pt),an(y,z+6,E.attrs),an(y,z+10,Ze),z+=14),y.set(re,z),z+=Ge,Mt)for(var Ln in $e){var xn=$e[Ln],Pn=xn.length;an(y,z,+Ln),an(y,z+2,Pn),y.set(xn,z+4),z+=4+Pn}return pt&&(y.set(ke,z),z+=pt),z},Ti=function(y,z,E,re,ce){an(y,z,101010256),an(y,z+8,E),an(y,z+10,E),an(y,z+12,re),an(y,z+16,ce)},xi=null,nr=null,fr=null,gn=null;function cn(y,z,E){E||(E=z,z={}),typeof E!="function"&&it(7);var re={};oi(y,"",re,z);var ce=Object.keys(re),fe=ce.length,Ze=0,ke=0,Ge=fe,$e=new Array(fe),pt=[],Mt=function(){for(var Pn=0;Pn65535&&cr(it(11,0,1),null),!gr)cr(null,ar);else if(ji<16e4)try{cr(null,Cn(ar,Wn))}catch(hi){cr(hi,null)}else pt.push(nn(ar,Wn,cr))},xn=0;xn65535&&it(11);var dn=pt?Cn(Ge,$e):Ge,mr=dn.length,ar=kt();ar.p(Ge),re.push(de($e,{size:Ge.length,crc:ar.d(),c:dn,f:Mt,m:Ln,u:Jt!=Ze.length||Ln&&At.length!=xn,o:ce,compression:pt})),ce+=30+Jt+Pn+mr,fe+=76+2*(Jt+Pn)+(xn||0)+mr}for(var Wn=new qe(fe+22),ui=ce,ji=fe-ce,Bi=0;Bi65558)return Ze(it(13,0,1),null),ce;var Ge=Xt(y,ke+8);if(Ge){var $e=Ge,pt=Vt(y,ke+16),Mt=pt==4294967295||$e==65535;if(Mt){var Jt=Vt(y,ke-12);Mt=Vt(y,Jt)==101075792,Mt&&($e=Ge=Vt(y,Jt+32),pt=Vt(y,Jt+48))}for(var At=z&&z.filter,Ln=function(Pn){var dn=dr(y,pt,Mt),mr=dn[0],ar=dn[1],Wn=dn[2],ui=dn[3],ji=dn[4],Bi=dn[5],Ir=Xr(y,Bi);pt=ji;var Xn=function(ln,Tn){ln?(ce(),Ze(ln,null)):(Tn&&(fe[ui]=Tn),--Ge||Ze(null,fe))};if(!At||At({name:ui,size:ar,originalSize:Wn,compression:mr}))if(!mr)Xn(null,De(y,Ir,Ir+ar));else if(mr==8){var Zr=y.subarray(Ir,Ir+ar);if(Wn<524288||ar>.8*Wn)try{Xn(null,si(Zr,{out:new qe(Wn)}))}catch(ln){Xn(ln,null)}else re.push(ii(Zr,{size:Wn},Xn))}else Xn(it(14,"unknown compression type "+mr,1),null);else Xn(null,null)},xn=0;xn<$e;++xn)Ln(xn)}else Ze(null,{});return ce}function Pi(y,z){for(var E={},re=y.length-22;Vt(y,re)!=101010256;--re)(!re||y.length-re>65558)&&it(13);var ce=Xt(y,re+8);if(!ce)return{};var fe=Vt(y,re+16),Ze=fe==4294967295||ce==65535;if(Ze){var ke=Vt(y,re-12);Ze=Vt(y,ke)==101075792,Ze&&(ce=Vt(y,ke+32),fe=Vt(y,ke+48))}for(var Ge=z&&z.filter,$e=0;$e{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),Mi={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Fi{constructor(z=Zi,E={}){Ol(this,"buffer");Ol(this,"byteLength");Ol(this,"byteOffset");Ol(this,"length");Ol(this,"offset");Ol(this,"lastWrittenByte");Ol(this,"littleEndian");Ol(this,"_data");Ol(this,"_mark");Ol(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ce=E.offset?E.offset>>>0:0,fe=z.byteLength-ce;let Ze=ce;(ArrayBuffer.isView(z)||z instanceof Fi)&&(z.byteLength!==z.buffer.byteLength&&(Ze=z.byteOffset+ce),z=z.buffer),re?this.lastWrittenByte=fe:this.lastWrittenByte=0,this.buffer=z,this.length=fe,this.byteLength=fe,this.byteOffset=Ze,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ze,fe),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ce=new Uint8Array(re);ce.set(new Uint8Array(this.buffer)),this.buffer=ce.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,E){const re=Mi[E].BYTES_PER_ELEMENT*z,ce=this.byteOffset+this.offset,fe=this.buffer.slice(ce,ce+re);if(this.littleEndian===ki&&E!=="uint8"&&E!=="int8"){const ke=new Uint8Array(this.buffer.slice(ce,ce+re));ke.reverse();const Ge=new Mi[E](ke.buffer);return this.offset+=re,Ge.reverse(),Ge}const Ze=new Mi[E](fe);return this.offset+=re,Ze}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let E="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const lo=4,Ki=0,Do=1,eo=2;function qo(y){let z=y.length;for(;--z>=0;)y[z]=0}const wo=0,no=1,No=2,Yo=3,_o=258,Fo=29,pn=256,Rr=pn+1+Fo,Jr=30,Ai=19,Kr=2*Rr+1,Qi=15,oo=16,Ur=7,ti=256,Di=16,Ui=17,Uo=18,xa=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Wr=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),fo=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Oo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ta=512,Qo=new Array((Rr+2)*2);qo(Qo);const Jo=new Array(Jr*2);qo(Jo);const $o=new Array(ta);qo($o);const Sa=new Array(_o-Yo+1);qo(Sa);const Ja=new Array(Fo);qo(Ja);const hs=new Array(Jr);qo(hs);function ba(y,z,E,re,ce){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=ce,this.has_stree=y&&y.length}let Ua,Bo,bo;function Ra(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const ns=y=>y<256?$o[y]:$o[256+(y>>>7)],js=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},tl=(y,z,E)=>{y.bi_valid>oo-E?(y.bi_buf|=z<>oo-y.bi_valid,y.bi_valid+=E-oo):(y.bi_buf|=z<{tl(y,E[z*2],E[z*2+1])},au=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},su=y=>{y.bi_valid===16?(js(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},Fs=(y,z)=>{const E=z.dyn_tree,re=z.max_code,ce=z.stat_desc.static_tree,fe=z.stat_desc.has_stree,Ze=z.stat_desc.extra_bits,ke=z.stat_desc.extra_base,Ge=z.stat_desc.max_length;let $e,pt,Mt,Jt,At,Ln,xn=0;for(Jt=0;Jt<=Qi;Jt++)y.bl_count[Jt]=0;for(E[y.heap[y.heap_max]*2+1]=0,$e=y.heap_max+1;$eGe&&(Jt=Ge,xn++),E[pt*2+1]=Jt,!(pt>re)&&(y.bl_count[Jt]++,At=0,pt>=ke&&(At=Ze[pt-ke]),Ln=E[pt*2],y.opt_len+=Ln*(Jt+At),fe&&(y.static_len+=Ln*(ce[pt*2+1]+At)));if(xn!==0){do{for(Jt=Ge-1;y.bl_count[Jt]===0;)Jt--;y.bl_count[Jt]--,y.bl_count[Jt+1]+=2,y.bl_count[Ge]--,xn-=2}while(xn>0);for(Jt=Ge;Jt!==0;Jt--)for(pt=y.bl_count[Jt];pt!==0;)Mt=y.heap[--$e],!(Mt>re)&&(E[Mt*2+1]!==Jt&&(y.opt_len+=(Jt-E[Mt*2+1])*E[Mt*2],E[Mt*2+1]=Jt),pt--)}},Rl=(y,z,E)=>{const re=new Array(Qi+1);let ce=0,fe,Ze;for(fe=1;fe<=Qi;fe++)ce=ce+E[fe-1]<<1,re[fe]=ce;for(Ze=0;Ze<=z;Ze++){let ke=y[Ze*2+1];ke!==0&&(y[Ze*2]=au(re[ke]++,ke))}},Nu=()=>{let y,z,E,re,ce;const fe=new Array(Qi+1);for(E=0,re=0;re>=7;re{let z;for(z=0;z{y.bi_valid>8?js(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},Bu=(y,z,E,re)=>{const ce=z*2,fe=E*2;return y[ce]{const re=y.heap[E];let ce=E<<1;for(;ce<=y.heap_len&&(ce{let re,ce,fe=0,Ze,ke;if(y.sym_next!==0)do re=y.pending_buf[y.sym_buf+fe++]&255,re+=(y.pending_buf[y.sym_buf+fe++]&255)<<8,ce=y.pending_buf[y.sym_buf+fe++],re===0?nl(y,ce,z):(Ze=Sa[ce],nl(y,Ze+pn+1,z),ke=xa[Ze],ke!==0&&(ce-=Ja[Ze],tl(y,ce,ke)),re--,Ze=ns(re),nl(y,Ze,E),ke=Wr[Ze],ke!==0&&(re-=hs[Ze],tl(y,re,ke)));while(fe{const E=z.dyn_tree,re=z.stat_desc.static_tree,ce=z.stat_desc.has_stree,fe=z.stat_desc.elems;let Ze,ke,Ge=-1,$e;for(y.heap_len=0,y.heap_max=Kr,Ze=0;Ze>1;Ze>=1;Ze--)Dc(y,E,Ze);$e=fe;do Ze=y.heap[1],y.heap[1]=y.heap[y.heap_len--],Dc(y,E,1),ke=y.heap[1],y.heap[--y.heap_max]=Ze,y.heap[--y.heap_max]=ke,E[$e*2]=E[Ze*2]+E[ke*2],y.depth[$e]=(y.depth[Ze]>=y.depth[ke]?y.depth[Ze]:y.depth[ke])+1,E[Ze*2+1]=E[ke*2+1]=$e,y.heap[1]=$e++,Dc(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],Fs(y,z),Rl(E,Ge,y.bl_count)},ha=(y,z,E)=>{let re,ce=-1,fe,Ze=z[0*2+1],ke=0,Ge=7,$e=4;for(Ze===0&&(Ge=138,$e=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)fe=Ze,Ze=z[(re+1)*2+1],!(++ke{let re,ce=-1,fe,Ze=z[0*2+1],ke=0,Ge=7,$e=4;for(Ze===0&&(Ge=138,$e=3),re=0;re<=E;re++)if(fe=Ze,Ze=z[(re+1)*2+1],!(++ke{let z;for(ha(y,y.dyn_ltree,y.l_desc.max_code),ha(y,y.dyn_dtree,y.d_desc.max_code),ka(y,y.bl_desc),z=Ai-1;z>=3&&y.bl_tree[Oo[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Ya=(y,z,E,re)=>{let ce;for(tl(y,z-257,5),tl(y,E-1,5),tl(y,re-4,4),ce=0;ce{let z=4093624447,E;for(E=0;E<=31;E++,z>>>=1)if(z&1&&y.dyn_ltree[E*2]!==0)return Ki;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return Do;for(E=32;E{Zl||(Nu(),Zl=!0),y.l_desc=new Ra(y.dyn_ltree,Ua),y.d_desc=new Ra(y.dyn_dtree,Bo),y.bl_desc=new Ra(y.bl_tree,bo),y.bi_buf=0,y.bi_valid=0,xu(y)},Sl=(y,z,E,re)=>{tl(y,(wo<<1)+(re?1:0),3),pl(y),js(y,E),js(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},Ou=y=>{tl(y,no<<1,3),nl(y,ti,Qo),su(y)},fu=(y,z,E,re)=>{let ce,fe,Ze=0;y.level>0?(y.strm.data_type===eo&&(y.strm.data_type=Va(y)),ka(y,y.l_desc),ka(y,y.d_desc),Ze=qa(y),ce=y.opt_len+3+7>>>3,fe=y.static_len+3+7>>>3,fe<=ce&&(ce=fe)):ce=fe=E+5,E+4<=ce&&z!==-1?Sl(y,z,E,re):y.strategy===lo||fe===ce?(tl(y,(no<<1)+(re?1:0),3),pa(y,Qo,Jo)):(tl(y,(No<<1)+(re?1:0),3),Ya(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ze+1),pa(y,y.dyn_ltree,y.dyn_dtree)),xu(y),re&&pl(y)},zi=(y,z,E)=>(y.pending_buf[y.sym_buf+y.sym_next++]=z,y.pending_buf[y.sym_buf+y.sym_next++]=z>>8,y.pending_buf[y.sym_buf+y.sym_next++]=E,z===0?y.dyn_ltree[E*2]++:(y.matches++,z--,y.dyn_ltree[(Sa[E]+pn+1)*2]++,y.dyn_dtree[ns(z)*2]++),y.sym_next===y.sym_end);var zo=lu,ga=Sl,hu=fu,ol=zi,qu=Ou,Hu={_tr_init:zo,_tr_stored_block:ga,_tr_flush_block:hu,_tr_tally:ol,_tr_align:qu},vs=(y,z,E,re)=>{let ce=y&65535|0,fe=y>>>16&65535|0,Ze=0;for(;E!==0;){Ze=E>2e3?2e3:E,E-=Ze;do ce=ce+z[re++]|0,fe=fe+ce|0;while(--Ze);ce%=65521,fe%=65521}return ce|fe<<16|0};const sc=()=>{let y,z=[];for(var E=0;E<256;E++){y=E;for(var re=0;re<8;re++)y=y&1?3988292384^y>>>1:y>>>1;z[E]=y}return z},rA=new Uint32Array(sc());var Pl=(y,z,E,re)=>{const ce=rA,fe=re+E;y^=-1;for(let Ze=re;Ze>>8^ce[(y^z[Ze])&255];return y^-1},Tu={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},uu={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:pu,_tr_stored_block:Tl,_tr_flush_block:Eu,_tr_tally:Fl,_tr_align:Il}=Hu,{Z_NO_FLUSH:Hs,Z_PARTIAL_FLUSH:zu,Z_FULL_FLUSH:td,Z_FINISH:Wl,Z_BLOCK:gu,Z_OK:La,Z_STREAM_END:Da,Z_STREAM_ERROR:Rs,Z_DATA_ERROR:lc,Z_BUF_ERROR:Vl,Z_DEFAULT_COMPRESSION:cu,Z_FILTERED:Vc,Z_HUFFMAN_ONLY:wc,Z_RLE:pA,Z_FIXED:Gl,Z_DEFAULT_STRATEGY:bc,Z_UNKNOWN:iA,Z_DEFLATED:oA}=uu,Ed=9,Jf=15,nd=8,ku=256+1+29,TA=30,aA=19,Sd=2*ku+1,qf=15,Ps=3,ec=258,mA=ec+Ps+1,Th=32,Gc=42,kh=57,Fd=69,eh=73,bf=91,Cf=103,Xc=113,ya=666,_l=1,Mc=2,rd=3,kA=4,Kp=3,MA=(y,z)=>(y.msg=Tu[z],z),th=y=>y*2-(y>4?9:0),Uc=y=>{let z=y.length;for(;--z>=0;)y[z]=0},id=y=>{let z,E,re,ce=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=ce?E-ce:0;while(--z);z=ce,re=z;do E=y.prev[--re],y.prev[re]=E>=ce?E-ce:0;while(--z)};let vA=(y,z,E)=>(z<{const z=y.state;let E=z.pending;E>y.avail_out&&(E=y.avail_out),E!==0&&(y.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+E),y.next_out),y.next_out+=E,z.pending_out+=E,y.total_out+=E,y.avail_out-=E,z.pending-=E,z.pending===0&&(z.pending_out=0))},uc=(y,z)=>{Eu(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,Nc(y.strm)},zs=(y,z)=>{y.pending_buf[y.pending++]=z},yA=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},od=(y,z,E,re)=>{let ce=y.avail_in;return ce>re&&(ce=re),ce===0?0:(y.avail_in-=ce,z.set(y.input.subarray(y.next_in,y.next_in+ce),E),y.state.wrap===1?y.adler=vs(y.adler,z,ce,E):y.state.wrap===2&&(y.adler=Pl(y.adler,z,ce,E)),y.next_in+=ce,y.total_in+=ce,ce)},ad=(y,z)=>{let E=y.max_chain_length,re=y.strstart,ce,fe,Ze=y.prev_length,ke=y.nice_match;const Ge=y.strstart>y.w_size-mA?y.strstart-(y.w_size-mA):0,$e=y.window,pt=y.w_mask,Mt=y.prev,Jt=y.strstart+ec;let At=$e[re+Ze-1],Ln=$e[re+Ze];y.prev_length>=y.good_match&&(E>>=2),ke>y.lookahead&&(ke=y.lookahead);do if(ce=z,!($e[ce+Ze]!==Ln||$e[ce+Ze-1]!==At||$e[ce]!==$e[re]||$e[++ce]!==$e[re+1])){re+=2,ce++;do;while($e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&reZe){if(y.match_start=z,Ze=fe,fe>=ke)break;At=$e[re+Ze-1],Ln=$e[re+Ze]}}while((z=Mt[z&pt])>Ge&&--E!==0);return Ze<=y.lookahead?Ze:y.lookahead},wA=y=>{const z=y.w_size;let E,re,ce;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-mA)&&(y.window.set(y.window.subarray(z,z+z-re),0),y.match_start-=z,y.strstart-=z,y.block_start-=z,y.insert>y.strstart&&(y.insert=y.strstart),id(y),re+=z),y.strm.avail_in===0)break;if(E=od(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Ps)for(ce=y.strstart-y.insert,y.ins_h=y.window[ce],y.ins_h=vA(y,y.ins_h,y.window[ce+1]);y.insert&&(y.ins_h=vA(y,y.ins_h,y.window[ce+Ps-1]),y.prev[ce&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=ce,ce++,y.insert--,!(y.lookahead+y.insert{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,ce,fe,Ze=0,ke=y.strm.avail_in;do{if(re=65535,fe=y.bi_valid+42>>3,y.strm.avail_outce+y.strm.avail_in&&(re=ce+y.strm.avail_in),re>fe&&(re=fe),re>8,y.pending_buf[y.pending-2]=~re,y.pending_buf[y.pending-1]=~re>>8,Nc(y.strm),ce&&(ce>re&&(ce=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+ce),y.strm.next_out),y.strm.next_out+=ce,y.strm.avail_out-=ce,y.strm.total_out+=ce,y.block_start+=ce,re-=ce),re&&(od(y.strm,y.strm.output,y.strm.next_out,re),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re)}while(Ze===0);return ke-=y.strm.avail_in,ke&&(ke>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=ke&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-ke,y.strm.next_in),y.strstart),y.strstart+=ke,y.insert+=ke>y.w_size-y.insert?y.w_size-y.insert:ke),y.block_start=y.strstart),y.high_waterfe&&y.block_start>=y.w_size&&(y.block_start-=y.w_size,y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,fe+=y.w_size,y.insert>y.strstart&&(y.insert=y.strstart)),fe>y.strm.avail_in&&(fe=y.strm.avail_in),fe&&(od(y.strm,y.window,y.strstart,fe),y.strstart+=fe,y.insert+=fe>y.w_size-y.insert?y.w_size-y.insert:fe),y.high_water>3,fe=y.pending_buf_size-fe>65535?65535:y.pending_buf_size-fe,E=fe>y.w_size?y.w_size:fe,ce=y.strstart-y.block_start,(ce>=E||(ce||z===Wl)&&z!==Hs&&y.strm.avail_in===0&&ce<=fe)&&(re=ce>fe?fe:ce,Ze=z===Wl&&y.strm.avail_in===0&&re===ce?1:0,Tl(y,y.block_start,re,Ze),y.block_start+=re,Nc(y.strm)),Ze?rd:_l)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead=Ps&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),E!==0&&y.strstart-E<=y.w_size-mA&&(y.match_length=ad(y,E)),y.match_length>=Ps)if(re=Fl(y,y.strstart-y.match_start,y.match_length-Ps),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Ps){y.match_length--;do y.strstart++,y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=vA(y,y.ins_h,y.window[y.strstart+1]);else re=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(uc(y,!1),y.strm.avail_out===0))return _l}return y.insert=y.strstart{let E,re,ce;for(;;){if(y.lookahead=Ps&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Ps-1,E!==0&&y.prev_length4096)&&(y.match_length=Ps-1)),y.prev_length>=Ps&&y.match_length<=y.prev_length){ce=y.strstart+y.lookahead-Ps,re=Fl(y,y.strstart-1-y.prev_match,y.prev_length-Ps),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=ce&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ps-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Ps-1,y.strstart++,re&&(uc(y,!1),y.strm.avail_out===0))return _l}else if(y.match_available){if(re=Fl(y,0,y.window[y.strstart-1]),re&&uc(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return _l}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=Fl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart{let E,re,ce,fe;const Ze=y.window;for(;;){if(y.lookahead<=ec){if(wA(y),y.lookahead<=ec&&z===Hs)return _l;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Ps&&y.strstart>0&&(ce=y.strstart-1,re=Ze[ce],re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce])){fe=y.strstart+ec;do;while(re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&cey.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Ps?(E=Fl(y,1,y.match_length-Ps),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(uc(y,!1),y.strm.avail_out===0))return _l}return y.insert=0,z===Wl?(uc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(uc(y,!1),y.strm.avail_out===0)?_l:Mc},Wp=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(wA(y),y.lookahead===0)){if(z===Hs)return _l;break}if(y.match_length=0,E=Fl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(uc(y,!1),y.strm.avail_out===0))return _l}return y.insert=0,z===Wl?(uc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(uc(y,!1),y.strm.avail_out===0)?_l:Mc};function cc(y,z,E,re,ce){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=ce}const bA=[new cc(0,0,0,0,UA),new cc(4,4,8,4,xf),new cc(4,5,16,8,xf),new cc(4,6,32,32,xf),new cc(4,4,16,16,Id),new cc(8,16,32,32,Id),new cc(8,16,128,128,Id),new cc(8,32,128,256,Id),new cc(32,128,258,1024,Id),new cc(32,258,258,4096,Id)],up=y=>{y.window_size=2*y.w_size,Uc(y.head),y.max_lazy_match=bA[y.level].max_lazy,y.good_match=bA[y.level].good_length,y.nice_match=bA[y.level].nice_length,y.max_chain_length=bA[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Ps-1,y.match_available=0,y.ins_h=0};function Vp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=oA,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Sd*2),this.dyn_dtree=new Uint16Array((2*TA+1)*2),this.bl_tree=new Uint16Array((2*aA+1)*2),Uc(this.dyn_ltree),Uc(this.dyn_dtree),Uc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(qf+1),this.heap=new Uint16Array(2*ku+1),Uc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ku+1),Uc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Xd=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.status!==Gc&&z.status!==kh&&z.status!==Fd&&z.status!==eh&&z.status!==bf&&z.status!==Cf&&z.status!==Xc&&z.status!==ya?1:0},cp=y=>{if(Xd(y))return MA(y,Rs);y.total_in=y.total_out=0,y.data_type=iA;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?kh:z.wrap?Gc:Xc,y.adler=z.wrap===2?0:1,z.last_flush=-2,pu(z),La},Yd=y=>{const z=cp(y);return z===La&&up(y.state),z},Gp=(y,z)=>Xd(y)||y.state.wrap!==2?Rs:(y.state.gzhead=z,La),Ac=(y,z,E,re,ce,fe)=>{if(!y)return Rs;let Ze=1;if(z===cu&&(z=6),re<0?(Ze=0,re=-re):re>15&&(Ze=2,re-=16),ce<1||ce>Ed||E!==oA||re<8||re>15||z<0||z>9||fe<0||fe>Gl||re===8&&Ze!==1)return MA(y,Rs);re===8&&(re=9);const ke=new Vp;return y.state=ke,ke.strm=y,ke.status=Gc,ke.wrap=Ze,ke.gzhead=null,ke.w_bits=re,ke.w_size=1<Ac(y,z,oA,Jf,nd,bc),dc=(y,z)=>{if(Xd(y)||z>gu||z<0)return y?MA(y,Rs):Rs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===ya&&z!==Wl)return MA(y,y.avail_out===0?Vl:Rs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(Nc(y),y.avail_out===0)return E.last_flush=-1,La}else if(y.avail_in===0&&th(z)<=th(re)&&z!==Wl)return MA(y,Vl);if(E.status===ya&&y.avail_in!==0)return MA(y,Vl);if(E.status===Gc&&E.wrap===0&&(E.status=Xc),E.status===Gc){let ce=oA+(E.w_bits-8<<4)<<8,fe=-1;if(E.strategy>=wc||E.level<2?fe=0:E.level<6?fe=1:E.level===6?fe=2:fe=3,ce|=fe<<6,E.strstart!==0&&(ce|=Th),ce+=31-ce%31,yA(E,ce),E.strstart!==0&&(yA(E,y.adler>>>16),yA(E,y.adler&65535)),y.adler=1,E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(E.status===kh){if(y.adler=0,zs(E,31),zs(E,139),zs(E,8),E.gzhead)zs(E,(E.gzhead.text?1:0)+(E.gzhead.hcrc?2:0)+(E.gzhead.extra?4:0)+(E.gzhead.name?8:0)+(E.gzhead.comment?16:0)),zs(E,E.gzhead.time&255),zs(E,E.gzhead.time>>8&255),zs(E,E.gzhead.time>>16&255),zs(E,E.gzhead.time>>24&255),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(zs(E,E.gzhead.extra.length&255),zs(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=Pl(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Fd;else if(zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,Kp),E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(E.status===Fd){if(E.gzhead.extra){let ce=E.pending,fe=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+fe>E.pending_buf_size;){let ke=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+ke),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex+=ke,Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0,fe-=ke}let Ze=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ze.subarray(E.gzindex,E.gzindex+fe),E.pending),E.pending+=fe,E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=eh}if(E.status===eh){if(E.gzhead.name){let ce=E.pending,fe;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0}E.gzindexce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let ce=E.pending,fe;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce)),Nc(y),E.pending!==0)return E.last_flush=-1,La;ce=0}E.gzindexce&&(y.adler=Pl(y.adler,E.pending_buf,E.pending-ce,ce))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(Nc(y),E.pending!==0))return E.last_flush=-1,La;zs(E,y.adler&255),zs(E,y.adler>>8&255),y.adler=0}if(E.status=Xc,Nc(y),E.pending!==0)return E.last_flush=-1,La}if(y.avail_in!==0||E.lookahead!==0||z!==Hs&&E.status!==ya){let ce=E.level===0?UA(E,z):E.strategy===wc?Wp(E,z):E.strategy===pA?Mh(E,z):bA[E.level].func(E,z);if((ce===rd||ce===kA)&&(E.status=ya),ce===_l||ce===rd)return y.avail_out===0&&(E.last_flush=-1),La;if(ce===Mc&&(z===zu?Il(E):z!==gu&&(Tl(E,0,0,!1),z===td&&(Uc(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),Nc(y),y.avail_out===0))return E.last_flush=-1,La}return z!==Wl?La:E.wrap<=0?Da:(E.wrap===2?(zs(E,y.adler&255),zs(E,y.adler>>8&255),zs(E,y.adler>>16&255),zs(E,y.adler>>24&255),zs(E,y.total_in&255),zs(E,y.total_in>>8&255),zs(E,y.total_in>>16&255),zs(E,y.total_in>>24&255)):(yA(E,y.adler>>>16),yA(E,y.adler&65535)),Nc(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?La:Da)},Uu=y=>{if(Xd(y))return Rs;const z=y.state.status;return y.state=null,z===Xc?MA(y,lc):La},sd=(y,z)=>{let E=z.length;if(Xd(y))return Rs;const re=y.state,ce=re.wrap;if(ce===2||ce===1&&re.status!==Gc||re.lookahead)return Rs;if(ce===1&&(y.adler=vs(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){ce===0&&(Uc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Ge=new Uint8Array(re.w_size);Ge.set(z.subarray(E-re.w_size,E),0),z=Ge,E=re.w_size}const fe=y.avail_in,Ze=y.next_in,ke=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,wA(re);re.lookahead>=Ps;){let Ge=re.strstart,$e=re.lookahead-(Ps-1);do re.ins_h=vA(re,re.ins_h,re.window[Ge+Ps-1]),re.prev[Ge&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Ge,Ge++;while(--$e);re.strstart=Ge,re.lookahead=Ps-1,wA(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ps-1,re.match_available=0,y.next_in=Ze,y.input=ke,y.avail_in=fe,re.wrap=ce,La};var $d=Mu,Bf=Ac,Ap=Yd,dp=cp,fp=Gp,nh=dc,CA=Uu,Ld=sd,hp="pako deflate (from Nodeca project)",wt={deflateInit:$d,deflateInit2:Bf,deflateReset:Ap,deflateResetKeep:dp,deflateSetHeader:fp,deflate:nh,deflateEnd:CA,deflateSetDictionary:Ld,deflateInfo:hp};const yt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Yt=function(y){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const E=z.shift();if(E){if(typeof E!="object")throw new TypeError(E+"must be non-object");for(const re in E)yt(E,re)&&(y[re]=E[re])}}return y},An=y=>{let z=0;for(let re=0,ce=y.length;re=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;rr[254]=rr[254]=1;var er=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,ce,fe,Ze=y.length,ke=0;for(ce=0;ce>>6,z[fe++]=128|E&63):E<65536?(z[fe++]=224|E>>>12,z[fe++]=128|E>>>6&63,z[fe++]=128|E&63):(z[fe++]=240|E>>>18,z[fe++]=128|E>>>12&63,z[fe++]=128|E>>>6&63,z[fe++]=128|E&63);return z};const vr=(y,z)=>{if(z<65534&&y.subarray&&Mn)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,ce;const fe=new Array(E*2);for(ce=0,re=0;re4){fe[ce++]=65533,re+=ke-1;continue}for(Ze&=ke===2?31:ke===3?15:7;ke>1&&re1){fe[ce++]=65533;continue}Ze<65536?fe[ce++]=Ze:(Ze-=65536,fe[ce++]=55296|Ze>>10&1023,fe[ce++]=56320|Ze&1023)}return vr(fe,ce)},li=(y,z)=>{z=z||y.length,z>y.length&&(z=y.length);let E=z-1;for(;E>=0&&(y[E]&192)===128;)E--;return E<0||E===0?z:E+rr[y[E]]>z?E:z},_r={string2buf:er,buf2string:Ar,utf8border:li};function Qr(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Dr=Qr;const Fr=Object.prototype.toString,{Z_NO_FLUSH:Gi,Z_SYNC_FLUSH:mi,Z_FULL_FLUSH:to,Z_FINISH:uo,Z_OK:qi,Z_STREAM_END:po,Z_DEFAULT_COMPRESSION:Eo,Z_DEFAULT_STRATEGY:jo,Z_DEFLATED:ko}=uu;function Na(y){this.options=Fn.assign({level:Eo,method:ko,chunkSize:16384,windowBits:15,memLevel:8,strategy:jo},y||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dr,this.strm.avail_out=0;let E=wt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==qi)throw new Error(Tu[E]);if(z.header&&wt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=_r.string2buf(z.dictionary):Fr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=wt.deflateSetDictionary(this.strm,re),E!==qi)throw new Error(Tu[E]);this._dict_set=!0}}Na.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let ce,fe;if(this.ended)return!1;for(z===~~z?fe=z:fe=z===!0?uo:Gi,typeof y=="string"?E.input=_r.string2buf(y):Fr.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){if(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),(fe===mi||fe===to)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(ce=wt.deflate(E,fe),ce===po)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),ce=wt.deflateEnd(this.strm),this.onEnd(ce),this.ended=!0,ce===qi;if(E.avail_out===0){this.onData(E.output);continue}if(fe>0&&E.next_out>0){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(E.avail_in===0)break}return!0},Na.prototype.onData=function(y){this.chunks.push(y)},Na.prototype.onEnd=function(y){y===qi&&(this.result=Fn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function sa(y,z){const E=new Na(z);if(E.push(y,!0),E.err)throw E.msg||Tu[E.err];return E.result}function ra(y,z){return z=z||{},z.raw=!0,sa(y,z)}function Zo(y,z){return z=z||{},z.gzip=!0,sa(y,z)}var Ho=Na,Ko=sa,vo=ra,ho=Zo,Mo=uu,Go={Deflate:Ho,deflate:Ko,deflateRaw:vo,gzip:ho,constants:Mo};const ia=16209,Co=16191;var es=function(z,E){let re,ce,fe,Ze,ke,Ge,$e,pt,Mt,Jt,At,Ln,xn,Pn,dn,mr,ar,Wn,ui,ji,Bi,Ir,Xn,Zr;const ln=z.state;re=z.next_in,Xn=z.input,ce=re+(z.avail_in-5),fe=z.next_out,Zr=z.output,Ze=fe-(E-z.avail_out),ke=fe+(z.avail_out-257),Ge=ln.dmax,$e=ln.wsize,pt=ln.whave,Mt=ln.wnext,Jt=ln.window,At=ln.hold,Ln=ln.bits,xn=ln.lencode,Pn=ln.distcode,dn=(1<>>24,At>>>=Wn,Ln-=Wn,Wn=ar>>>16&255,Wn===0)Zr[fe++]=ar&65535;else if(Wn&16){ui=ar&65535,Wn&=15,Wn&&(Ln>>=Wn,Ln-=Wn),Ln<15&&(At+=Xn[re++]<>>24,At>>>=Wn,Ln-=Wn,Wn=ar>>>16&255,Wn&16){if(ji=ar&65535,Wn&=15,LnGe){z.msg="invalid distance too far back",ln.mode=ia;break e}if(At>>>=Wn,Ln-=Wn,Wn=fe-Ze,ji>Wn){if(Wn=ji-Wn,Wn>pt&&ln.sane){z.msg="invalid distance too far back",ln.mode=ia;break e}if(Bi=0,Ir=Jt,Mt===0){if(Bi+=$e-Wn,Wn2;)Zr[fe++]=Ir[Bi++],Zr[fe++]=Ir[Bi++],Zr[fe++]=Ir[Bi++],ui-=3;ui&&(Zr[fe++]=Ir[Bi++],ui>1&&(Zr[fe++]=Ir[Bi++]))}else{Bi=fe-ji;do Zr[fe++]=Zr[Bi++],Zr[fe++]=Zr[Bi++],Zr[fe++]=Zr[Bi++],ui-=3;while(ui>2);ui&&(Zr[fe++]=Zr[Bi++],ui>1&&(Zr[fe++]=Zr[Bi++]))}}else if(Wn&64){z.msg="invalid distance code",ln.mode=ia;break e}else{ar=Pn[(ar&65535)+(At&(1<>3,re-=ui,Ln-=ui<<3,At&=(1<{const Ge=ke.bits;let $e=0,pt=0,Mt=0,Jt=0,At=0,Ln=0,xn=0,Pn=0,dn=0,mr=0,ar,Wn,ui,ji,Bi,Ir=null,Xn;const Zr=new Uint16Array(Za+1),ln=new Uint16Array(Za+1);let Tn=null,gr,cr,hi;for($e=0;$e<=Za;$e++)Zr[$e]=0;for(pt=0;pt=1&&Zr[Jt]===0;Jt--);if(At>Jt&&(At=Jt),Jt===0)return ce[fe++]=1<<24|64<<16|0,ce[fe++]=1<<24|64<<16|0,ke.bits=1,0;for(Mt=1;Mt0&&(y===al||Jt!==1))return-1;for(ln[1]=0,$e=1;$ekl||y===Xl&&dn>bl)return 1;for(;;){gr=$e-xn,Ze[pt]+1=Xn?(cr=Tn[Ze[pt]-Xn],hi=Ir[Ze[pt]-Xn]):(cr=96,hi=0),ar=1<<$e-xn,Wn=1<>xn)+Wn]=gr<<24|cr<<16|hi|0;while(Wn!==0);for(ar=1<<$e-1;mr&ar;)ar>>=1;if(ar!==0?(mr&=ar-1,mr+=ar):mr=0,pt++,--Zr[$e]===0){if($e===Jt)break;$e=z[E+Ze[pt]]}if($e>At&&(mr&ji)!==ui){for(xn===0&&(xn=At),Bi+=Mt,Ln=$e-xn,Pn=1<kl||y===Xl&&dn>bl)return 1;ui=mr&ji,ce[ui]=At<<24|Ln<<16|Bi-fe|0}}return mr!==0&&(ce[Bi+mr]=$e-xn<<24|64<<16|0),ke.bits=At,0};const Xo=0,Po=1,ps=2,{Z_FINISH:Is,Z_BLOCK:Gs,Z_TREES:Ks,Z_OK:sl,Z_STREAM_END:mu,Z_NEED_DICT:la,Z_STREAM_ERROR:na,Z_DATA_ERROR:Bs,Z_MEM_ERROR:Js,Z_BUF_ERROR:Xs,Z_DEFLATED:vu}=uu,Ml=16180,fc=16181,Cl=16182,ys=16183,ll=16184,ul=16185,du=16186,Ul=16187,ws=16188,gl=16189,Ls=16190,ml=16191,Yl=16192,Ru=16193,_u=16194,Yc=16195,cl=16196,Dd=16197,Ku=16198,tc=16199,Zu=16200,nc=16201,Al=16202,Cc=16203,xA=16204,Rc=16205,$c=16206,Jd=16207,qd=16208,Ds=16209,ld=16210,Ef=16211,Wa=852,gs=592,ru=15,Su=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function Fu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const rc=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.modeEf?1:0},Wu=y=>{if(rc(y))return na;const z=y.state;return y.total_in=y.total_out=z.total=0,y.msg="",z.wrap&&(y.adler=z.wrap&1),z.mode=Ml,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(Wa),z.distcode=z.distdyn=new Int32Array(gs),z.sane=1,z.back=-1,sl},ZA=y=>{if(rc(y))return na;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,Wu(y)},Sf=(y,z)=>{let E;if(rc(y))return na;const re=y.state;return z<0?(E=0,z=-z):(E=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?na:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=E,re.wbits=z,ZA(y))},WA=(y,z)=>{if(!y)return na;const E=new Fu;y.state=E,E.strm=y,E.window=null,E.mode=Ml;const re=Sf(y,z);return re!==sl&&(y.state=null),re},VA=y=>WA(y,ru);let yu=!0,_c,ef;const Ff=y=>{if(yu){_c=new Int32Array(512),ef=new Int32Array(32);let z=0;for(;z<144;)y.lens[z++]=8;for(;z<256;)y.lens[z++]=9;for(;z<280;)y.lens[z++]=7;for(;z<288;)y.lens[z++]=8;for(Ca(Po,y.lens,0,288,_c,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;Ca(ps,y.lens,0,32,ef,0,y.work,{bits:5}),yu=!1}y.lencode=_c,y.lenbits=9,y.distcode=ef,y.distbits=5},tf=(y,z,E,re)=>{let ce;const fe=y.state;return fe.window===null&&(fe.wsize=1<=fe.wsize?(fe.window.set(z.subarray(E-fe.wsize,E),0),fe.wnext=0,fe.whave=fe.wsize):(ce=fe.wsize-fe.wnext,ce>re&&(ce=re),fe.window.set(z.subarray(E-re,E-re+ce),fe.wnext),re-=ce,re?(fe.window.set(z.subarray(E-re,E),0),fe.wnext=re,fe.whave=fe.wsize):(fe.wnext+=ce,fe.wnext===fe.wsize&&(fe.wnext=0),fe.whave{let E,re,ce,fe,Ze,ke,Ge,$e,pt,Mt,Jt,At,Ln,xn,Pn=0,dn,mr,ar,Wn,ui,ji,Bi,Ir;const Xn=new Uint8Array(4);let Zr,ln;const Tn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(rc(y)||!y.output||!y.input&&y.avail_in!==0)return na;E=y.state,E.mode===ml&&(E.mode=Yl),Ze=y.next_out,ce=y.output,Ge=y.avail_out,fe=y.next_in,re=y.input,ke=y.avail_in,$e=E.hold,pt=E.bits,Mt=ke,Jt=Ge,Ir=sl;e:for(;;)switch(E.mode){case Ml:if(E.wrap===0){E.mode=Yl;break}for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,E.check=Pl(E.check,Xn,2,0),$e=0,pt=0,E.mode=fc;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||((($e&255)<<8)+($e>>8))%31){y.msg="incorrect header check",E.mode=Ds;break}if(($e&15)!==vu){y.msg="unknown compression method",E.mode=Ds;break}if($e>>>=4,pt-=4,Bi=($e&15)+8,E.wbits===0&&(E.wbits=Bi),Bi>15||Bi>E.wbits){y.msg="invalid window size",E.mode=Ds;break}E.dmax=1<>8&1),E.flags&512&&E.wrap&4&&(Xn[0]=$e&255,Xn[1]=$e>>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0,E.mode=Cl;case Cl:for(;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,Xn[2]=$e>>>16&255,Xn[3]=$e>>>24&255,E.check=Pl(E.check,Xn,4,0)),$e=0,pt=0,E.mode=ys;case ys:for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>8),E.flags&512&&E.wrap&4&&(Xn[0]=$e&255,Xn[1]=$e>>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0,E.mode=ll;case ll:if(E.flags&1024){for(;pt<16;){if(ke===0)break e;ke--,$e+=re[fe++]<>>8&255,E.check=Pl(E.check,Xn,2,0)),$e=0,pt=0}else E.head&&(E.head.extra=null);E.mode=ul;case ul:if(E.flags&1024&&(At=E.length,At>ke&&(At=ke),At&&(E.head&&(Bi=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Uint8Array(E.head.extra_len)),E.head.extra.set(re.subarray(fe,fe+At),Bi)),E.flags&512&&E.wrap&4&&(E.check=Pl(E.check,re,At,fe)),ke-=At,fe+=At,E.length-=At),E.length))break e;E.length=0,E.mode=du;case du:if(E.flags&2048){if(ke===0)break e;At=0;do Bi=re[fe+At++],E.head&&Bi&&E.length<65536&&(E.head.name+=String.fromCharCode(Bi));while(Bi&&At>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=ml;break;case gl:for(;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=pt&7,pt-=pt&7,E.mode=$c;break}for(;pt<3;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=1,pt-=1,$e&3){case 0:E.mode=Ru;break;case 1:if(Ff(E),E.mode=tc,z===Ks){$e>>>=2,pt-=2;break e}break;case 2:E.mode=cl;break;case 3:y.msg="invalid block type",E.mode=Ds}$e>>>=2,pt-=2;break;case Ru:for($e>>>=pt&7,pt-=pt&7;pt<32;){if(ke===0)break e;ke--,$e+=re[fe++]<>>16^65535)){y.msg="invalid stored block lengths",E.mode=Ds;break}if(E.length=$e&65535,$e=0,pt=0,E.mode=_u,z===Ks)break e;case _u:E.mode=Yc;case Yc:if(At=E.length,At){if(At>ke&&(At=ke),At>Ge&&(At=Ge),At===0)break e;ce.set(re.subarray(fe,fe+At),Ze),ke-=At,fe+=At,Ge-=At,Ze+=At,E.length-=At;break}E.mode=ml;break;case cl:for(;pt<14;){if(ke===0)break e;ke--,$e+=re[fe++]<>>=5,pt-=5,E.ndist=($e&31)+1,$e>>>=5,pt-=5,E.ncode=($e&15)+4,$e>>>=4,pt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Ds;break}E.have=0,E.mode=Dd;case Dd:for(;E.have>>=3,pt-=3}for(;E.have<19;)E.lens[Tn[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Zr={bits:E.lenbits},Ir=Ca(Xo,E.lens,0,19,E.lencode,0,E.work,Zr),E.lenbits=Zr.bits,Ir){y.msg="invalid code lengths set",E.mode=Ds;break}E.have=0,E.mode=Ku;case Ku:for(;E.have>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=dn,pt-=dn,E.lens[E.have++]=ar;else{if(ar===16){for(ln=dn+2;pt>>=dn,pt-=dn,E.have===0){y.msg="invalid bit length repeat",E.mode=Ds;break}Bi=E.lens[E.have-1],At=3+($e&3),$e>>>=2,pt-=2}else if(ar===17){for(ln=dn+3;pt>>=dn,pt-=dn,Bi=0,At=3+($e&7),$e>>>=3,pt-=3}else{for(ln=dn+7;pt>>=dn,pt-=dn,Bi=0,At=11+($e&127),$e>>>=7,pt-=7}if(E.have+At>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Ds;break}for(;At--;)E.lens[E.have++]=Bi}}if(E.mode===Ds)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Ds;break}if(E.lenbits=9,Zr={bits:E.lenbits},Ir=Ca(Po,E.lens,0,E.nlen,E.lencode,0,E.work,Zr),E.lenbits=Zr.bits,Ir){y.msg="invalid literal/lengths set",E.mode=Ds;break}if(E.distbits=6,E.distcode=E.distdyn,Zr={bits:E.distbits},Ir=Ca(ps,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Zr),E.distbits=Zr.bits,Ir){y.msg="invalid distances set",E.mode=Ds;break}if(E.mode=tc,z===Ks)break e;case tc:E.mode=Zu;case Zu:if(ke>=6&&Ge>=258){y.next_out=Ze,y.avail_out=Ge,y.next_in=fe,y.avail_in=ke,E.hold=$e,E.bits=pt,es(y,Jt),Ze=y.next_out,ce=y.output,Ge=y.avail_out,fe=y.next_in,re=y.input,ke=y.avail_in,$e=E.hold,pt=E.bits,E.mode===ml&&(E.back=-1);break}for(E.back=0;Pn=E.lencode[$e&(1<>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>Wn)],dn=Pn>>>24,mr=Pn>>>16&255,ar=Pn&65535,!(Wn+dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=Wn,pt-=Wn,E.back+=Wn}if($e>>>=dn,pt-=dn,E.back+=dn,E.length=ar,mr===0){E.mode=Rc;break}if(mr&32){E.back=-1,E.mode=ml;break}if(mr&64){y.msg="invalid literal/length code",E.mode=Ds;break}E.extra=mr&15,E.mode=nc;case nc:if(E.extra){for(ln=E.extra;pt>>=E.extra,pt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Pn=E.distcode[$e&(1<>>24,mr=Pn>>>16&255,ar=Pn&65535,!(dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>Wn)],dn=Pn>>>24,mr=Pn>>>16&255,ar=Pn&65535,!(Wn+dn<=pt);){if(ke===0)break e;ke--,$e+=re[fe++]<>>=Wn,pt-=Wn,E.back+=Wn}if($e>>>=dn,pt-=dn,E.back+=dn,mr&64){y.msg="invalid distance code",E.mode=Ds;break}E.offset=ar,E.extra=mr&15,E.mode=Cc;case Cc:if(E.extra){for(ln=E.extra;pt>>=E.extra,pt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Ds;break}E.mode=xA;case xA:if(Ge===0)break e;if(At=Jt-Ge,E.offset>At){if(At=E.offset-At,At>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Ds;break}At>E.wnext?(At-=E.wnext,Ln=E.wsize-At):Ln=E.wnext-At,At>E.length&&(At=E.length),xn=E.window}else xn=ce,Ln=Ze-E.offset,At=E.length;At>Ge&&(At=Ge),Ge-=At,E.length-=At;do ce[Ze++]=xn[Ln++];while(--At);E.length===0&&(E.mode=Zu);break;case Rc:if(Ge===0)break e;ce[Ze++]=E.length,Ge--,E.mode=Zu;break;case $c:if(E.wrap){for(;pt<32;){if(ke===0)break e;ke--,$e|=re[fe++]<{if(rc(y))return na;let z=y.state;return z.window&&(z.window=null),y.state=null,sl},rh=(y,z)=>{if(rc(y))return na;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,sl):na},pp=(y,z)=>{const E=z.length;let re,ce,fe;return rc(y)||(re=y.state,re.wrap!==0&&re.mode!==Ls)?na:re.mode===Ls&&(ce=1,ce=vs(ce,z,E,0),ce!==re.check)?Bs:(fe=tf(y,z,E,E),fe?(re.mode=ld,Js):(re.havedict=1,sl))};var ih=ZA,nf=Sf,gp=Wu,mp=VA,rf=WA,Lf=If,Nd=GA,Df=rh,Od=pp,of="pako inflate (from Nodeca project)",BA={inflateReset:ih,inflateReset2:nf,inflateResetKeep:gp,inflateInit:mp,inflateInit2:rf,inflate:Lf,inflateEnd:Nd,inflateGetHeader:Df,inflateSetDictionary:Od,inflateInfo:of};function oh(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ah=oh;const Uh=Object.prototype.toString,{Z_NO_FLUSH:ud,Z_FINISH:EA,Z_OK:SA,Z_STREAM_END:Pd,Z_NEED_DICT:cd,Z_STREAM_ERROR:Rh,Z_DATA_ERROR:ms,Z_MEM_ERROR:Ns}=uu;function wu(y){this.options=Fn.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(y&&y.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dr,this.strm.avail_out=0;let E=BA.inflateInit2(this.strm,z.windowBits);if(E!==SA)throw new Error(Tu[E]);if(this.header=new ah,BA.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=_r.string2buf(z.dictionary):Uh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=BA.inflateSetDictionary(this.strm,z.dictionary),E!==SA)))throw new Error(Tu[E])}wu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,ce=this.options.dictionary;let fe,Ze,ke;if(this.ended)return!1;for(z===~~z?Ze=z:Ze=z===!0?EA:ud,Uh.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){for(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),fe=BA.inflate(E,Ze),fe===cd&&ce&&(fe=BA.inflateSetDictionary(E,ce),fe===SA?fe=BA.inflate(E,Ze):fe===ms&&(fe=cd));E.avail_in>0&&fe===Pd&&E.state.wrap>0&&y[E.next_in]!==0;)BA.inflateReset(E),fe=BA.inflate(E,Ze);switch(fe){case Rh:case ms:case cd:case Ns:return this.onEnd(fe),this.ended=!0,!1}if(ke=E.avail_out,E.next_out&&(E.avail_out===0||fe===Pd))if(this.options.to==="string"){let Ge=_r.utf8border(E.output,E.next_out),$e=E.next_out-Ge,pt=_r.buf2string(E.output,Ge);E.next_out=$e,E.avail_out=re-$e,$e&&E.output.set(E.output.subarray(Ge,Ge+$e),0),this.onData(pt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(fe===SA&&ke===0)){if(fe===Pd)return fe=BA.inflateEnd(this.strm),this.onEnd(fe),this.ended=!0,!0;if(E.avail_in===0)break}}return!0},wu.prototype.onData=function(y){this.chunks.push(y)},wu.prototype.onEnd=function(y){y===SA&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Fn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function Vu(y,z){const E=new wu(z);if(E.push(y),E.err)throw E.msg||Tu[E.err];return E.result}function Gu(y,z){return z=z||{},z.raw=!0,Vu(y,z)}var Ad=wu,XA=Vu,RA=Gu,dd=Vu,YA=uu,_h={Inflate:Ad,inflate:XA,inflateRaw:RA,ungzip:dd,constants:YA};const{Deflate:fd,deflate:Xp,deflateRaw:Qh,gzip:gg}=Go,{Inflate:mg,inflate:Yp,inflateRaw:jl,ungzip:$p}=_h;var jh=fd,af=Xp,FA=Qh,sh=gg,lh=mg,Nf=Yp,uh=jl,vp=$p,yp=uu,vg={Deflate:jh,deflate:af,deflateRaw:FA,gzip:sh,Inflate:lh,inflate:Nf,inflateRaw:uh,ungzip:vp,constants:yp};const wp=[];for(let y=0;y<256;y++){let z=y;for(let E=0;E<8;E++)z&1?z=3988292384^z>>>1:z=z>>>1;wp[y]=z}const ch=4294967295;function Jp(y,z,E){let re=y;for(let ce=0;ce>>8;return re}function vl(y,z){return(Jp(ch,y,z)^ch)>>>0}function Td(y,z,E){const re=y.readUint32(),ce=vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(ce!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${ce}`)}function yg(y,z){y.writeUint32(vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function Hl(y,z,E){for(let re=0;re>1)&255}else{for(;fe>1)&255;for(;fe>1)&255}}function xl(y,z,E,re,ce){let fe=0;if(E.length===0){for(;fe=E||ji>=re))for(let Bi=0;Bi>8&255}const te=new Uint16Array([255]),Pe=new Uint8Array(te.buffer)[0]===255,et=new Uint8Array(0);function vt(y){const{data:z,width:E,height:re,channels:ce,depth:fe}=y,Ze=Math.ceil(fe/8)*ce,ke=Math.ceil(fe/8*ce*E),Ge=new Uint8Array(re*ke);let $e=et,pt=0,Mt,Jt;for(let At=0;At>8&255}const Nt=Uint8Array.of(137,80,78,71,13,10,26,10);function Dn(y){y.writeBytes(Nt)}function jn(y){if(!Pr(y.readBytes(Nt.length)))throw new Error("wrong PNG signature")}function Pr(y){if(y.length79)throw new Error("keyword length must be between 1 and 79")}const Io=/^[\u0000-\u00FF]*$/;function Wo(y){if(!Io.test(y))throw new Error("invalid latin1 text")}function Lo(y,z,E){const re=Ma(z);y[re]=Ba(z,E-re.length-1)}function ca(y,z,E){Ao(z),Wo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(xr),y.writeChars(z),y.writeByte(vi),y.writeChars(E),writeCrc(y,re+4)}function Ma(y){for(y.mark();y.readByte()!==vi;);const z=y.offset;y.reset();const E=Wi.decode(y.readBytes(z-y.offset-1));return y.skip(1),Ao(E),E}function Ba(y,z){return Wi.decode(y.readBytes(z))}const Ha={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Bl={UNKNOWN:-1,DEFLATE:0},Xu={UNKNOWN:-1,ADAPTIVE:0},$l={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},xc={NONE:0,BACKGROUND:1,PREVIOUS:2},ic={SOURCE:0,OVER:1};class Qu extends Fi{constructor(E,re={}){super(E);Ol(this,"_checkCrc");Ol(this,"_inflator");Ol(this,"_png");Ol(this,"_apng");Ol(this,"_end");Ol(this,"_hasPalette");Ol(this,"_palette");Ol(this,"_hasTransparency");Ol(this,"_transparency");Ol(this,"_compressionMethod");Ol(this,"_filterMethod");Ol(this,"_interlaceMethod");Ol(this,"_colorType");Ol(this,"_isAnimated");Ol(this,"_numberOfFrames");Ol(this,"_numberOfPlays");Ol(this,"_frames");Ol(this,"_writingDataChunks");const{checkCrc:ce=!1}=re;this._checkCrc=ce,this._inflator=new lh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Bl.UNKNOWN,this._filterMethod=Xu.UNKNOWN,this._interlaceMethod=$l.UNKNOWN,this._colorType=Ha.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(jn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(jn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const ce=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(E);break;case"IDAT":this.decodeIDAT(E);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(E);break;case"iCCP":this.decodeiCCP(E);break;case xr:Lo(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const ce=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(E);break;default:this.decodeChunk(E,re),this.offset=ce+E;break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeIHDR(){const E=this._png;E.width=this.readUint32(),E.height=this.readUint32(),E.depth=Bc(this.readUint8());const re=this.readUint8();this._colorType=re;let ce;switch(re){case Ha.GREYSCALE:ce=1;break;case Ha.TRUECOLOUR:ce=3;break;case Ha.INDEXED_COLOUR:ce=1;break;case Ha.GREYSCALE_ALPHA:ce=2;break;case Ha.TRUECOLOUR_ALPHA:ce=4;break;case Ha.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ce,this._compressionMethod=this.readUint8(),this._compressionMethod!==Bl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const E={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(E)}decodePLTE(E){if(E%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${E}`);const re=E/3;this._hasPalette=!0;const ce=[];this._palette=ce;for(let fe=0;fethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${E/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(E/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${E} vs ${this._palette.length})`);let re=0;for(;re{const Ge=((Ze+re.yOffset)*this._png.width+re.xOffset+ke)*this._png.channels,$e=(Ze*re.width+ke)*this._png.channels;return{index:Ge,frameIndex:$e}};switch(re.blendOp){case ic.SOURCE:for(let Ze=0;Zere.at(-1)!==255);this.writeUint32(E.length),this.writeChars("tRNS");for(const re of E)this.writeByte(re.at(-1));writeCrc(this,4+E.length)}encodeIDAT(E){this.writeUint32(E.length),this.writeChars("IDAT"),this.writeBytes(E),writeCrc(this,E.length+4)}encodeData(){const{width:E,height:re,channels:ce,depth:fe,data:Ze}=this._png,ke=fe<=8?Math.ceil(E*fe/8)*ce:Math.ceil(E*fe/8*ce/2),Ge=new IOBuffer().setBigEndian();let $e=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Jt=0;Jt0)return y;throw new TypeError(`${z} must be a positive integer`)}function Jl(y,z){const{channels:E=4,depth:re=8}=y;if(E!==4&&E!==3&&E!==2&&E!==1)throw new RangeError(`unsupported number of channels: ${E}`);const ce={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:ce.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ce.colorType=ColorType.TRUECOLOUR;break;case 1:z?ce.colorType=ColorType.INDEXED_COLOUR:ce.colorType=ColorType.GREYSCALE;break;case 2:ce.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ce}function ql(y,z,E,re){for(let ce=0;ce>8&255),E.writeByte(ar&255)}}return re}function Zs(y,z,E,re){for(let ce=0;ce=200&&z.status<=299}function Pf(y){try{y.dispatchEvent(new MouseEvent("click"))}catch(E){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),y.dispatchEvent(z)}}var Tf=_a.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==_a?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=_a.URL||_a.webkitURL,ce=document.createElement("a");z=z||y.name||"download",ce.download=z,ce.rel="noopener",typeof y=="string"?(ce.href=y,ce.origin!==location.origin?Md(ce.href)?gc(y,z,E):Pf(ce,ce.target="_blank"):Pf(ce)):(ce.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(ce.href)},4e4),setTimeout(function(){Pf(ce)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))gc(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(ce,fe){return fe===void 0?fe={autoBom:!1}:(0,x.Z)(fe)!=="object"&&(dl.warn("Deprecated: Expected third argument to be a object"),fe={autoBom:!fe}),fe.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ce.type)?new Blob(["\uFEFF",ce],{type:ce.type}):ce}(y,E),z)}:function(y,z,E,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof y=="string")return gc(y,z,E);var ce=y.type==="application/octet-stream",fe=/constructor/i.test(_a.HTMLElement)||_a.safari,Ze=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ze||ce&&fe)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var ke=new FileReader;ke.onloadend=function(){var pt=ke.result;pt=Ze?pt:pt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=pt:location=pt,re=null},ke.readAsDataURL(y)}else{var Ge=_a.URL||_a.webkitURL,$e=Ge.createObjectURL(y);re?re.location=$e:location.href=$e,re=null,setTimeout(function(){Ge.revokeObjectURL($e)},4e4)}});function Jg(y){var z;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var E=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ke){return[parseInt(ke[1]),parseInt(ke[2]),parseInt(ke[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ke){return[parseInt(ke[1],16),parseInt(ke[2],16),parseInt(ke[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ke){return[parseInt(ke[1]+ke[1],16),parseInt(ke[2]+ke[2],16),parseInt(ke[3]+ke[3],16)]}}],re=0;re255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),Ge=this.g.toString(16),$e=this.b.toString(16);return ke.length==1&&(ke="0"+ke),Ge.length==1&&(Ge="0"+Ge),$e.length==1&&($e="0"+$e),"#"+ke+Ge+$e}}var bp=_a.atob.bind(_a),wg=_a.btoa.bind(_a);function Cp(y,z){var E=y[0],re=y[1],ce=y[2],fe=y[3];E=Jc(E,re,ce,fe,z[0],7,-680876936),fe=Jc(fe,E,re,ce,z[1],12,-389564586),ce=Jc(ce,fe,E,re,z[2],17,606105819),re=Jc(re,ce,fe,E,z[3],22,-1044525330),E=Jc(E,re,ce,fe,z[4],7,-176418897),fe=Jc(fe,E,re,ce,z[5],12,1200080426),ce=Jc(ce,fe,E,re,z[6],17,-1473231341),re=Jc(re,ce,fe,E,z[7],22,-45705983),E=Jc(E,re,ce,fe,z[8],7,1770035416),fe=Jc(fe,E,re,ce,z[9],12,-1958414417),ce=Jc(ce,fe,E,re,z[10],17,-42063),re=Jc(re,ce,fe,E,z[11],22,-1990404162),E=Jc(E,re,ce,fe,z[12],7,1804603682),fe=Jc(fe,E,re,ce,z[13],12,-40341101),ce=Jc(ce,fe,E,re,z[14],17,-1502002290),E=Qc(E,re=Jc(re,ce,fe,E,z[15],22,1236535329),ce,fe,z[1],5,-165796510),fe=Qc(fe,E,re,ce,z[6],9,-1069501632),ce=Qc(ce,fe,E,re,z[11],14,643717713),re=Qc(re,ce,fe,E,z[0],20,-373897302),E=Qc(E,re,ce,fe,z[5],5,-701558691),fe=Qc(fe,E,re,ce,z[10],9,38016083),ce=Qc(ce,fe,E,re,z[15],14,-660478335),re=Qc(re,ce,fe,E,z[4],20,-405537848),E=Qc(E,re,ce,fe,z[9],5,568446438),fe=Qc(fe,E,re,ce,z[14],9,-1019803690),ce=Qc(ce,fe,E,re,z[3],14,-187363961),re=Qc(re,ce,fe,E,z[8],20,1163531501),E=Qc(E,re,ce,fe,z[13],5,-1444681467),fe=Qc(fe,E,re,ce,z[2],9,-51403784),ce=Qc(ce,fe,E,re,z[7],14,1735328473),E=qc(E,re=Qc(re,ce,fe,E,z[12],20,-1926607734),ce,fe,z[5],4,-378558),fe=qc(fe,E,re,ce,z[8],11,-2022574463),ce=qc(ce,fe,E,re,z[11],16,1839030562),re=qc(re,ce,fe,E,z[14],23,-35309556),E=qc(E,re,ce,fe,z[1],4,-1530992060),fe=qc(fe,E,re,ce,z[4],11,1272893353),ce=qc(ce,fe,E,re,z[7],16,-155497632),re=qc(re,ce,fe,E,z[10],23,-1094730640),E=qc(E,re,ce,fe,z[13],4,681279174),fe=qc(fe,E,re,ce,z[0],11,-358537222),ce=qc(ce,fe,E,re,z[3],16,-722521979),re=qc(re,ce,fe,E,z[6],23,76029189),E=qc(E,re,ce,fe,z[9],4,-640364487),fe=qc(fe,E,re,ce,z[12],11,-421815835),ce=qc(ce,fe,E,re,z[15],16,530742520),E=eA(E,re=qc(re,ce,fe,E,z[2],23,-995338651),ce,fe,z[0],6,-198630844),fe=eA(fe,E,re,ce,z[7],10,1126891415),ce=eA(ce,fe,E,re,z[14],15,-1416354905),re=eA(re,ce,fe,E,z[5],21,-57434055),E=eA(E,re,ce,fe,z[12],6,1700485571),fe=eA(fe,E,re,ce,z[3],10,-1894986606),ce=eA(ce,fe,E,re,z[10],15,-1051523),re=eA(re,ce,fe,E,z[1],21,-2054922799),E=eA(E,re,ce,fe,z[8],6,1873313359),fe=eA(fe,E,re,ce,z[15],10,-30611744),ce=eA(ce,fe,E,re,z[6],15,-1560198380),re=eA(re,ce,fe,E,z[13],21,1309151649),E=eA(E,re,ce,fe,z[4],6,-145523070),fe=eA(fe,E,re,ce,z[11],10,-1120210379),ce=eA(ce,fe,E,re,z[2],15,718787259),re=eA(re,ce,fe,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(ce,y[2]),y[3]=Ud(fe,y[3])}function xp(y,z,E,re,ce,fe){return z=Ud(Ud(z,y),Ud(re,fe)),Ud(z<>>32-ce,E)}function Jc(y,z,E,re,ce,fe,Ze){return xp(z&E|~z&re,y,z,ce,fe,Ze)}function Qc(y,z,E,re,ce,fe,Ze){return xp(z&re|E&~re,y,z,ce,fe,Ze)}function qc(y,z,E,re,ce,fe,Ze){return xp(z^E^re,y,z,ce,fe,Ze)}function eA(y,z,E,re,ce,fe,Ze){return xp(E^(z|~re),y,z,ce,fe,Ze)}function qg(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)Cp(re,eg(y.substring(z-64,z)));y=y.substring(z-64);var ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=y.charCodeAt(z)<<(z%4<<3);if(ce[z>>2]|=128<<(z%4<<3),z>55)for(Cp(re,ce),z=0;z<16;z++)ce[z]=0;return ce[14]=8*E,Cp(re,ce),re}function eg(y){var z,E=[];for(z=0;z<64;z+=4)E[z>>2]=y.charCodeAt(z)+(y.charCodeAt(z+1)<<8)+(y.charCodeAt(z+2)<<16)+(y.charCodeAt(z+3)<<24);return E}var _A="0123456789abcdef".split("");function em(y){for(var z="",E=0;E<4;E++)z+=_A[y>>8*E+4&15]+_A[y>>8*E&15];return z}function tg(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function bg(y){return qg(y).map(tg).join("")}var jm=function(y){for(var z=0;z>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function kf(y,z){var E,re,ce,fe;if(y!==E){for(var Ze=(ce=y,fe=1+(256/y.length|0),new Array(fe+1).join(ce)),ke=[],Ge=0;Ge<256;Ge++)ke[Ge]=Ge;var $e=0;for(Ge=0;Ge<256;Ge++){var pt=ke[Ge];$e=($e+pt+Ze.charCodeAt(Ge))%256,ke[Ge]=ke[$e],ke[$e]=pt}E=y,re=ke}else ke=re;var Mt=z.length,Jt=0,At=0,Ln="";for(Ge=0;Ge\x80/\f\xA9\xFEdSiz";var fe=(z+this.padding).substr(0,32),Ze=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(fe,Ze),this.P=-(1+(255^ce)),this.encryptionKey=bg(fe+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=kf(this.encryptionKey,this.padding)}function gd(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var z="",E=y.length,re=0;re126?"#"+("0"+ce.toString(16)).slice(-2):y[re]}return z}function tm(y){if((0,x.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(E,re,ce){if(ce=ce||!1,typeof E!="string"||typeof re!="function"||typeof ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(E)||(z[E]={});var fe=Math.random().toString(35);return z[E][fe]=[re,!!ce],fe},this.unsubscribe=function(E){for(var re in z)if(z[re][E])return delete z[re][E],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(E){if(z.hasOwnProperty(E)){var re=Array.prototype.slice.call(arguments,1),ce=[];for(var fe in z[E]){var Ze=z[E][fe];try{Ze[0].apply(y,re)}catch(ke){_a.console&&dl.error("jsPDF PubSub Error",ke.message,ke)}Ze[1]&&ce.push(fe)}ce.length&&ce.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Ep(y){if(!(this instanceof Ep))return new Ep(y);var z="opacity,stroke-opacity".split(",");for(var E in y)y.hasOwnProperty(E)&&z.indexOf(E)>=0&&(this[E]=y[E]);this.id="",this.objectNumber=-1}function Cg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function Mf(y,z,E,re,ce){if(!(this instanceof Mf))return new Mf(y,z,E,re,ce);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,Cg.call(this,re,ce)}function Uf(y,z,E,re,ce){if(!(this instanceof Uf))return new Uf(y,z,E,re,ce);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,Cg.call(this,re,ce)}function Oa(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ce=arguments[2],fe=arguments[3],Ze=[],ke=1,Ge=16,$e="S",pt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,ce=y.format||ce,fe=y.compress||y.compressPdf||fe,(pt=y.encryption||null)!==null&&(pt.userPassword=pt.userPassword||"",pt.ownerPassword=pt.ownerPassword||"",pt.userPermissions=pt.userPermissions||[]),ke=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Ge=y.floatPrecision),$e=y.defaultPathOperation||"S"),Ze=y.filters||(fe===!0?["FlateEncode"]:Ze),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Mt=y.putOnlyUsedFonts||!1,Jt={},At={internal:{},__private__:{}};At.__private__.PubSub=tm;var Ln="1.3",xn=At.__private__.getPdfVersion=function(){return Ln};At.__private__.setPdfVersion=function(Ye){Ln=Ye};var Pn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};At.__private__.getPageFormats=function(){return Pn};var dn=At.__private__.getPageFormat=function(Ye){return Pn[Ye]};ce=ce||"a4";var mr="compat",ar="advanced",Wn=mr;function ui(){this.saveGraphicsState(),kn(new As(_s,0,0,-_s,0,Tp()*_s).toString()+" cm"),this.setFontSize(this.getFontSize()/_s),$e="n",Wn=ar}function ji(){this.restoreGraphicsState(),$e="S",Wn=mr}var Bi=At.__private__.combineFontStyleAndFontWeight=function(Ye,Ht){if(Ye=="bold"&&Ht=="normal"||Ye=="bold"&&Ht==400||Ye=="normal"&&Ht=="italic"||Ye=="bold"&&Ht=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Ht&&(Ye=Ht==400||Ht==="normal"?Ye==="italic"?"italic":"normal":Ht!=700&&Ht!=="bold"||Ye!=="normal"?(Ht==700?"bold":Ht)+""+Ye:"bold"),Ye};At.advancedAPI=function(Ye){var Ht=Wn===mr;return Ht&&ui.call(this),typeof Ye!="function"||(Ye(this),Ht&&ji.call(this)),this},At.compatAPI=function(Ye){var Ht=Wn===ar;return Ht&&ji.call(this),typeof Ye!="function"||(Ye(this),Ht&&ui.call(this)),this},At.isAdvancedAPI=function(){return Wn===ar};var Ir,Xn=function(Ye){if(Wn!==ar)throw new Error(Ye+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Zr=At.roundToPrecision=At.__private__.roundToPrecision=function(Ye,Ht){var _n=z||Ht;if(isNaN(Ye)||isNaN(_n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ye.toFixed(_n).replace(/0+$/,"")};Ir=At.hpf=At.__private__.hpf=typeof Ge=="number"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,Ge)}:Ge==="smart"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,Ye>-1&&Ye<1?16:5)}:function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Zr(Ye,16)};var ln=At.f2=At.__private__.f2=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f2");return Zr(Ye,2)},Tn=At.__private__.f3=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f3");return Zr(Ye,3)},gr=At.scale=At.__private__.scale=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.scale");return Wn===mr?Ye*_s:Wn===ar?Ye:void 0},cr=function(Ye){return gr(function(Ht){return Wn===mr?Tp()-Ht:Wn===ar?Ht:void 0}(Ye))};At.__private__.setPrecision=At.setPrecision=function(Ye){typeof parseInt(Ye,10)=="number"&&(z=parseInt(Ye,10))};var hi,bi="00000000000000000000000000000000",Si=At.__private__.getFileId=function(){return bi},ri=At.__private__.setFileId=function(Ye){return bi=Ye!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ye)?Ye.toUpperCase():bi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),pt!==null&&(jc=new zh(pt.userPermissions,pt.userPassword,pt.ownerPassword,bi)),bi};At.setFileId=function(Ye){return ri(Ye),this},At.getFileId=function(){return Si()};var Li=At.__private__.convertDateToPDFDate=function(Ye){var Ht=Ye.getTimezoneOffset(),_n=Ht<0?"+":"-",pr=Math.floor(Math.abs(Ht/60)),zr=Math.abs(Ht%60),Vi=[_n,tr(pr),"'",tr(zr),"'"].join("");return["D:",Ye.getFullYear(),tr(Ye.getMonth()+1),tr(Ye.getDate()),tr(Ye.getHours()),tr(Ye.getMinutes()),tr(Ye.getSeconds()),Vi].join("")},To=At.__private__.convertPDFDateToDate=function(Ye){var Ht=parseInt(Ye.substr(2,4),10),_n=parseInt(Ye.substr(6,2),10)-1,pr=parseInt(Ye.substr(8,2),10),zr=parseInt(Ye.substr(10,2),10),Vi=parseInt(Ye.substr(12,2),10),ao=parseInt(Ye.substr(14,2),10);return new Date(Ht,_n,pr,zr,Vi,ao,0)},io=At.__private__.setCreationDate=function(Ye){var Ht;if(Ye===void 0&&(Ye=new Date),Ye instanceof Date)Ht=Li(Ye);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ye))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ht=Ye}return hi=Ht},rn=At.__private__.getCreationDate=function(Ye){var Ht=hi;return Ye==="jsDate"&&(Ht=To(hi)),Ht};At.setCreationDate=function(Ye){return io(Ye),this},At.getCreationDate=function(Ye){return rn(Ye)};var Kn,tr=At.__private__.padd2=function(Ye){return("0"+parseInt(Ye)).slice(-2)},yr=At.__private__.padd2Hex=function(Ye){return("00"+(Ye=Ye.toString())).substr(Ye.length)},kr=0,qr=[],Ei=[],Ii=0,$i=[],xo=[],Aa=!1,ua=Ei;At.__private__.setCustomOutputDestination=function(Ye){Aa=!0,ua=Ye};var Xa=function(Ye){Aa||(ua=Ye)};At.__private__.resetCustomOutputDestination=function(){Aa=!1,ua=Ei};var kn=At.__private__.out=function(Ye){return Ye=Ye.toString(),Ii+=Ye.length+1,ua.push(Ye),ua},da=At.__private__.write=function(Ye){return kn(arguments.length===1?Ye.toString():Array.prototype.join.call(arguments," "))},$s=At.__private__.getArrayBuffer=function(Ye){for(var Ht=Ye.length,_n=new ArrayBuffer(Ht),pr=new Uint8Array(_n);Ht--;)pr[Ht]=Ye.charCodeAt(Ht);return _n},ss=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];At.__private__.getStandardFonts=function(){return ss};var mo=y.fontSize||16;At.__private__.setFontSize=At.setFontSize=function(Ye){return mo=Wn===ar?Ye/_s:Ye,this};var ls,Fa=At.__private__.getFontSize=At.getFontSize=function(){return Wn===mr?mo:mo*_s},os=y.R2L||!1;At.__private__.setR2L=At.setR2L=function(Ye){return os=Ye,this},At.__private__.getR2L=At.getR2L=function(){return os};var $a,eu=At.__private__.setZoomMode=function(Ye){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ye))ls=Ye;else if(isNaN(Ye)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ye)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ye+'" is not recognized.');ls=Ye}else ls=parseInt(Ye,10)};At.__private__.getZoomMode=function(){return ls};var fl,ks=At.__private__.setPageMode=function(Ye){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ye)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ye+'" is not recognized.');$a=Ye};At.__private__.getPageMode=function(){return $a};var yl=At.__private__.setLayoutMode=function(Ye){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ye)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ye+'" is not recognized.');fl=Ye};At.__private__.getLayoutMode=function(){return fl},At.__private__.setDisplayMode=At.setDisplayMode=function(Ye,Ht,_n){return eu(Ye),yl(Ht),ks(_n),this};var hl={title:"",subject:"",author:"",keywords:"",creator:""};At.__private__.getDocumentProperty=function(Ye){if(Object.keys(hl).indexOf(Ye)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return hl[Ye]},At.__private__.getDocumentProperties=function(){return hl},At.__private__.setDocumentProperties=At.setProperties=At.setDocumentProperties=function(Ye){for(var Ht in hl)hl.hasOwnProperty(Ht)&&Ye[Ht]&&(hl[Ht]=Ye[Ht]);return this},At.__private__.setDocumentProperty=function(Ye,Ht){if(Object.keys(hl).indexOf(Ye)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return hl[Ye]=Ht};var Qa,_s,Ka,Ec,Ll,qs={},el={},$u=[],ts={},Iu={},fs={},Ms={},Ju=null,il=0,cs=[],tu=new tm(At),Sp=y.hotfixes||[],NA={},gh={},zf=[],As=function Ye(Ht,_n,pr,zr,Vi,ao){if(!(this instanceof Ye))return new Ye(Ht,_n,pr,zr,Vi,ao);isNaN(Ht)&&(Ht=1),isNaN(_n)&&(_n=0),isNaN(pr)&&(pr=0),isNaN(zr)&&(zr=1),isNaN(Vi)&&(Vi=0),isNaN(ao)&&(ao=0),this._matrix=[Ht,_n,pr,zr,Vi,ao]};Object.defineProperty(As.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(As.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(As.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(As.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(As.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(As.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(As.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(As.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(As.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(As.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(As.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(As.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(As.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(As.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(As.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(As.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),As.prototype.join=function(Ye){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Ir).join(Ye)},As.prototype.multiply=function(Ye){var Ht=Ye.sx*this.sx+Ye.shy*this.shx,_n=Ye.sx*this.shy+Ye.shy*this.sy,pr=Ye.shx*this.sx+Ye.sy*this.shx,zr=Ye.shx*this.shy+Ye.sy*this.sy,Vi=Ye.tx*this.sx+Ye.ty*this.shx+this.tx,ao=Ye.tx*this.shy+Ye.ty*this.sy+this.ty;return new As(Ht,_n,pr,zr,Vi,ao)},As.prototype.decompose=function(){var Ye=this.sx,Ht=this.shy,_n=this.shx,pr=this.sy,zr=this.tx,Vi=this.ty,ao=Math.sqrt(Ye*Ye+Ht*Ht),Ia=(Ye/=ao)*_n+(Ht/=ao)*pr;_n-=Ye*Ia,pr-=Ht*Ia;var ja=Math.sqrt(_n*_n+pr*pr);return Ia/=ja,Ye*(pr/=ja)>16&255,pr=ja>>8&255,zr=255&ja}if(pr===void 0||Vi===void 0&&_n===pr&&pr===zr)Ht=typeof _n=="string"?_n+" "+ao[0]:Ye.precision===2?ln(_n/255)+" "+ao[0]:Tn(_n/255)+" "+ao[0];else if(Vi===void 0||(0,x.Z)(Vi)==="object"){if(Vi&&!isNaN(Vi.a)&&Vi.a===0)return["1.","1.","1.",ao[1]].join(" ");Ht=typeof _n=="string"?[_n,pr,zr,ao[1]].join(" "):Ye.precision===2?[ln(_n/255),ln(pr/255),ln(zr/255),ao[1]].join(" "):[Tn(_n/255),Tn(pr/255),Tn(zr/255),ao[1]].join(" ")}else Ht=typeof _n=="string"?[_n,pr,zr,Vi,ao[2]].join(" "):Ye.precision===2?[ln(_n),ln(pr),ln(zr),ln(Vi),ao[2]].join(" "):[Tn(_n),Tn(pr),Tn(zr),Tn(Vi),ao[2]].join(" ");return Ht},hf=At.__private__.getFilters=function(){return Ze},Hd=At.__private__.putStream=function(Ye){var Ht=(Ye=Ye||{}).data||"",_n=Ye.filters||hf(),pr=Ye.alreadyAppliedFilters||[],zr=Ye.addLength1||!1,Vi=Ht.length,ao=Ye.objectId,Ia=function(Hc){return Hc};if(pt!==null&&ao===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");pt!==null&&(Ia=jc.encryptor(ao,0));var ja={};_n===!0&&(_n=["FlateEncode"]);var xs=Ye.additionalKeyValues||[],Qs=(ja=Oa.API.processDataByFilters!==void 0?Oa.API.processDataByFilters(Ht,_n):{data:Ht,reverseChain:[]}).reverseChain+(Array.isArray(pr)?pr.join(" "):pr.toString());if(ja.data.length!==0&&(xs.push({key:"Length",value:ja.data.length}),zr===!0&&xs.push({key:"Length1",value:Vi})),Qs.length!=0)if(Qs.split("/").length-1==1)xs.push({key:"Filter",value:Qs});else{xs.push({key:"Filter",value:"["+Qs+"]"});for(var Dl=0;Dl>"),ja.data.length!==0&&(kn("stream"),kn(Ia(ja.data)),kn("endstream"))},Ip=At.__private__.putPage=function(Ye){var Ht=Ye.number,_n=Ye.data,pr=Ye.objId,zr=Ye.contentsObjId;uA(pr,!0),kn("<>"),kn("endobj");var Vi=_n.join(` `);return Wn===ar&&(Vi+=` -Q`),uA(zr,!0),Hd({data:Vi,filters:hf(),objectId:zr}),kn("endobj"),pr},Zf=At.__private__.putPages=function(){var Ye,zt,Qn=[];for(Ye=1;Ye<=il;Ye++)cs[Ye].objId=nA(),cs[Ye].contentsObjId=nA();for(Ye=1;Ye<=il;Ye++)Qn.push(Ip({number:Ye,data:xo[Ye],objId:cs[Ye].objId,contentsObjId:cs[Ye].contentsObjId,mediaBox:cs[Ye].mediaBox,cropBox:cs[Ye].cropBox,bleedBox:cs[Ye].bleedBox,trimBox:cs[Ye].trimBox,artBox:cs[Ye].artBox,userUnit:cs[Ye].userUnit,rootDictionaryObjId:Vh,resourceDictionaryObjId:df}));uA(Vh,!0),kn("<>"),kn("endobj"),tu.publish("postPutPages")},Lp=function(Ye){tu.publish("putFont",{font:Ye,out:kn,newObject:mc,putStream:Hd}),Ye.isAlreadyPutted!==!0&&(Ye.objectNumber=mc(),kn("<<"),kn("/Type /Font"),kn("/BaseFont /"+gd(Ye.postScriptName)),kn("/Subtype /Type1"),typeof Ye.encoding=="string"&&kn("/Encoding /"+Ye.encoding),kn("/FirstChar 32"),kn("/LastChar 255"),kn(">>"),kn("endobj"))},rg=function(Ye){Ye.objectNumber=mc();var zt=[];zt.push({key:"Type",value:"/XObject"}),zt.push({key:"Subtype",value:"/Form"}),zt.push({key:"BBox",value:"["+[Ir(Ye.x),Ir(Ye.y),Ir(Ye.x+Ye.width),Ir(Ye.y+Ye.height)].join(" ")+"]"}),zt.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"});var Qn=Ye.pages[1].join(` -`);Hd({data:Qn,additionalKeyValues:zt,objectId:Ye.objectNumber}),kn("endobj")},ig=function(Ye,zt){zt||(zt=21);var Qn=mc(),pr=function(ao,Ia){var ja,xs=[],_s=1/(Ia-1);for(ja=0;ja<1;ja+=_s)xs.push(ja);if(xs.push(1),ao[0].offset!=0){var Dl={offset:0,color:ao[0].color};ao.unshift(Dl)}if(ao[ao.length-1].offset!=1){var ac={offset:1,color:ao[ao.length-1].color};ao.push(ac)}for(var Tc="",Lu=0,Hc=0;Hcao[Lu+1].offset;)Lu++;var kc=ao[Lu].offset,cA=(ja-kc)/(ao[Lu+1].offset-kc),Sh=ao[Lu].color,gf=ao[Lu+1].color;Tc+=yr(Math.round((1-cA)*Sh[0]+cA*gf[0]).toString(16))+yr(Math.round((1-cA)*Sh[1]+cA*gf[1]).toString(16))+yr(Math.round((1-cA)*Sh[2]+cA*gf[2]).toString(16))}return Tc.trim()}(Ye.colors,zt),zr=[];zr.push({key:"FunctionType",value:"0"}),zr.push({key:"Domain",value:"[0.0 1.0]"}),zr.push({key:"Size",value:"["+zt+"]"}),zr.push({key:"BitsPerSample",value:"8"}),zr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),zr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hd({data:pr,additionalKeyValues:zr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Qn}),kn("endobj"),Ye.objectNumber=mc(),kn("<< /ShadingType "+Ye.type),kn("/ColorSpace /DeviceRGB");var Vi="/Coords ["+Ir(parseFloat(Ye.coords[0]))+" "+Ir(parseFloat(Ye.coords[1]))+" ";Ye.type===2?Vi+=Ir(parseFloat(Ye.coords[2]))+" "+Ir(parseFloat(Ye.coords[3])):Vi+=Ir(parseFloat(Ye.coords[2]))+" "+Ir(parseFloat(Ye.coords[3]))+" "+Ir(parseFloat(Ye.coords[4]))+" "+Ir(parseFloat(Ye.coords[5])),kn(Vi+="]"),Ye.matrix&&kn("/Matrix ["+Ye.matrix.toString()+"]"),kn("/Function "+Qn+" 0 R"),kn("/Extend [true true]"),kn(">>"),kn("endobj")},og=function(Ye,zt){var Qn=nA(),pr=mc();zt.push({resourcesOid:Qn,objectOid:pr}),Ye.objectNumber=pr;var zr=[];zr.push({key:"Type",value:"/Pattern"}),zr.push({key:"PatternType",value:"1"}),zr.push({key:"PaintType",value:"1"}),zr.push({key:"TilingType",value:"1"}),zr.push({key:"BBox",value:"["+Ye.boundingBox.map(Ir).join(" ")+"]"}),zr.push({key:"XStep",value:Ir(Ye.xStep)}),zr.push({key:"YStep",value:Ir(Ye.yStep)}),zr.push({key:"Resources",value:Qn+" 0 R"}),Ye.matrix&&zr.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"}),Hd({data:Ye.stream,additionalKeyValues:zr,objectId:Ye.objectNumber}),kn("endobj")},Gm=function(Ye){for(var zt in Ye.objectNumber=mc(),kn("<<"),Ye)switch(zt){case"opacity":kn("/ca "+ln(Ye[zt]));break;case"stroke-opacity":kn("/CA "+ln(Ye[zt]))}kn(">>"),kn("endobj")},Bg=function(Ye){uA(Ye.resourcesOid,!0),kn("<<"),kn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var zt in kn("/Font <<"),qs)qs.hasOwnProperty(zt)&&(Mt===!1||Mt===!0&&Jt.hasOwnProperty(zt))&&kn("/"+zt+" "+qs[zt].objectNumber+" 0 R");kn(">>")}(),function(){if(Object.keys(ts).length>0){for(var zt in kn("/Shading <<"),ts)ts.hasOwnProperty(zt)&&ts[zt]instanceof Mf&&ts[zt].objectNumber>=0&&kn("/"+zt+" "+ts[zt].objectNumber+" 0 R");tu.publish("putShadingPatternDict"),kn(">>")}}(),function(zt){if(Object.keys(ts).length>0){for(var Qn in kn("/Pattern <<"),ts)ts.hasOwnProperty(Qn)&&ts[Qn]instanceof At.TilingPattern&&ts[Qn].objectNumber>=0&&ts[Qn].objectNumber>")}}(Ye.objectOid),function(){if(Object.keys(fs).length>0){var zt;for(zt in kn("/ExtGState <<"),fs)fs.hasOwnProperty(zt)&&fs[zt].objectNumber>=0&&kn("/"+zt+" "+fs[zt].objectNumber+" 0 R");tu.publish("putGStateDict"),kn(">>")}}(),function(){for(var zt in kn("/XObject <<"),NA)NA.hasOwnProperty(zt)&&NA[zt].objectNumber>=0&&kn("/"+zt+" "+NA[zt].objectNumber+" 0 R");tu.publish("putXobjectDict"),kn(">>")}(),kn(">>"),kn("endobj")},im=function(Ye){el[Ye.fontName]=el[Ye.fontName]||{},el[Ye.fontName][Ye.fontStyle]=Ye.id},om=function(Ye,zt,Qn,pr,zr){var Vi={id:"F"+(Object.keys(qs).length+1).toString(10),postScriptName:Ye,fontName:zt,fontStyle:Qn,encoding:pr,isStandardFont:zr||!1,metadata:{}};return tu.publish("addFont",{font:Vi,instance:this}),qs[Vi.id]=Vi,im(Vi),Vi.id},zd=At.__private__.pdfEscape=At.pdfEscape=function(Ye,zt){return function(Qn,pr){var zr,Vi,ao,Ia,ja,xs,_s,Dl,ac;if(ao=(pr=pr||{}).sourceEncoding||"Unicode",ja=pr.outputEncoding,(pr.autoencode||ja)&&qs[_a].metadata&&qs[_a].metadata[ao]&&qs[_a].metadata[ao].encoding&&(Ia=qs[_a].metadata[ao].encoding,!ja&&qs[_a].encoding&&(ja=qs[_a].encoding),!ja&&Ia.codePages&&(ja=Ia.codePages[0]),typeof ja=="string"&&(ja=Ia[ja]),ja)){for(_s=!1,xs=[],zr=0,Vi=Qn.length;zr>8&&(_s=!0);Qn=xs.join("")}for(zr=Qn.length;_s===void 0&&zr!==0;)Qn.charCodeAt(zr-1)>>8&&(_s=!0),zr--;if(!_s)return Qn;for(xs=pr.noBOM?[]:[254,255],zr=0,Vi=Qn.length;zr>8)>>8)throw new Error("Character at position "+zr+" of string '"+Qn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");xs.push(ac),xs.push(Dl-(ac<<8))}return String.fromCharCode.apply(void 0,xs)}(Ye,zt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Eg=At.__private__.beginPage=function(Ye){xo[++il]=[],cs[il]={objId:0,contentsObjId:0,userUnit:Number(ke),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ye[0]),topRightY:Number(Ye[1])}},sm(il),Xa(xo[Kn])},am=function(Ye,zt){var Qn,pr,zr;switch(E=zt||E,typeof Ye=="string"&&(Qn=dn(Ye.toLowerCase()),Array.isArray(Qn)&&(pr=Qn[0],zr=Qn[1])),Array.isArray(Ye)&&(pr=Ye[0]*Qs,zr=Ye[1]*Qs),isNaN(pr)&&(pr=ce[0],zr=ce[1]),(pr>14400||zr>14400)&&(dl.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),pr=Math.min(14400,pr),zr=Math.min(14400,zr)),ce=[pr,zr],E.substr(0,1)){case"l":zr>pr&&(ce=[zr,pr]);break;case"p":pr>zr&&(ce=[zr,pr])}Eg(ce),Ss(Ig),kn(ug),Dg!==0&&kn(Dg+" J"),Ng!==0&&kn(Ng+" j"),tu.publish("addPage",{pageNumber:il})},Sg=function(Ye){Ye>0&&Ye<=il&&(xo.splice(Ye,1),cs.splice(Ye,1),il--,Kn>il&&(Kn=il),this.setPage(Kn))},sm=function(Ye){Ye>0&&Ye<=il&&(Kn=Ye)},lm=At.__private__.getNumberOfPages=At.getNumberOfPages=function(){return xo.length-1},um=function(Ye,zt,Qn){var pr,zr=void 0;return Qn=Qn||{},Ye=Ye!==void 0?Ye:qs[_a].fontName,zt=zt!==void 0?zt:qs[_a].fontStyle,pr=Ye.toLowerCase(),el[pr]!==void 0&&el[pr][zt]!==void 0?zr=el[pr][zt]:el[Ye]!==void 0&&el[Ye][zt]!==void 0?zr=el[Ye][zt]:Qn.disableWarning===!1&&dl.warn("Unable to look up font label for font '"+Ye+"', '"+zt+"'. Refer to getFontList() for available fonts."),zr||Qn.noFallback||(zr=el.times[zt])==null&&(zr=el.times.normal),zr},Wf=At.__private__.putInfo=function(){var Ye=mc(),zt=function(pr){return pr};for(var Qn in pt!==null&&(zt=jc.encryptor(Ye,0)),kn("<<"),kn("/Producer ("+zd(zt("jsPDF "+Oa.version))+")"),hl)hl.hasOwnProperty(Qn)&&hl[Qn]&&kn("/"+Qn.substr(0,1).toUpperCase()+Qn.substr(1)+" ("+zd(zt(hl[Qn]))+")");kn("/CreationDate ("+zd(zt(hi))+")"),kn(">>"),kn("endobj")},ag=At.__private__.putCatalog=function(Ye){var zt=(Ye=Ye||{}).rootDictionaryObjId||Vh;switch(mc(),kn("<<"),kn("/Type /Catalog"),kn("/Pages "+zt+" 0 R"),ls||(ls="fullwidth"),ls){case"fullwidth":kn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":kn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":kn("/OpenAction [3 0 R /Fit]");break;case"original":kn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Qn=""+ls;Qn.substr(Qn.length-1)==="%"&&(ls=parseInt(ls)/100),typeof ls=="number"&&kn("/OpenAction [3 0 R /XYZ null null "+ln(ls)+"]")}switch(fl||(fl="continuous"),fl){case"continuous":kn("/PageLayout /OneColumn");break;case"single":kn("/PageLayout /SinglePage");break;case"two":case"twoleft":kn("/PageLayout /TwoColumnLeft");break;case"tworight":kn("/PageLayout /TwoColumnRight")}$a&&kn("/PageMode /"+$a),tu.publish("putCatalog"),kn(">>"),kn("endobj")},Xm=At.__private__.putTrailer=function(){kn("trailer"),kn("<<"),kn("/Size "+(kr+1)),kn("/Root "+kr+" 0 R"),kn("/Info "+(kr-1)+" 0 R"),pt!==null&&kn("/Encrypt "+jc.oid+" 0 R"),kn("/ID [ <"+bi+"> <"+bi+"> ]"),kn(">>")},Pc=At.__private__.putHeader=function(){kn("%PDF-"+Ln),kn("%\xBA\xDF\xAC\xE0")},cm=At.__private__.putXRef=function(){var Ye="0000000000";kn("xref"),kn("0 "+(kr+1)),kn("0000000000 65535 f ");for(var zt=1;zt<=kr;zt++)typeof qr[zt]=="function"?kn((Ye+qr[zt]()).slice(-10)+" 00000 n "):qr[zt]!==void 0?kn((Ye+qr[zt]).slice(-10)+" 00000 n "):kn("0000000000 00000 n ")},Vf=At.__private__.buildDocument=function(){var Ye;kr=0,Ii=0,Ei=[],qr=[],$i=[],Vh=nA(),df=nA(),Xa(Ei),tu.publish("buildDocument"),Pc(),Zf(),function(){tu.publish("putAdditionalObjects");for(var Qn=0;Qn<$i.length;Qn++){var pr=$i[Qn];uA(pr.objId,!0),kn(pr.content),kn("endobj")}tu.publish("postPutAdditionalObjects")}(),Ye=[],function(){for(var Qn in qs)qs.hasOwnProperty(Qn)&&(Mt===!1||Mt===!0&&Jt.hasOwnProperty(Qn))&&Lp(qs[Qn])}(),function(){var Qn;for(Qn in fs)fs.hasOwnProperty(Qn)&&Gm(fs[Qn])}(),function(){for(var Qn in NA)NA.hasOwnProperty(Qn)&&rg(NA[Qn])}(),function(Qn){var pr;for(pr in ts)ts.hasOwnProperty(pr)&&(ts[pr]instanceof Mf?ig(ts[pr]):ts[pr]instanceof Uf&&og(ts[pr],Qn))}(Ye),tu.publish("putResources"),Ye.forEach(Bg),Bg({resourcesOid:df,objectOid:Number.MAX_SAFE_INTEGER}),tu.publish("postPutResources"),pt!==null&&(jc.oid=mc(),kn("<<"),kn("/Filter /Standard"),kn("/V "+jc.v),kn("/R "+jc.r),kn("/U <"+jc.toHexString(jc.U)+">"),kn("/O <"+jc.toHexString(jc.O)+">"),kn("/P "+jc.P),kn(">>"),kn("endobj")),Wf(),ag();var zt=Ii;return cm(),Xm(),kn("startxref"),kn(""+zt),kn("%%EOF"),Xa(xo[Kn]),Ei.join(` -`)},sg=At.__private__.getBlob=function(Ye){return new Blob([$s(Ye)],{type:"application/pdf"})},Am=At.output=At.__private__.output=(jd=function(Ye,zt){switch(typeof(zt=zt||{})=="string"?zt={filename:zt}:zt.filename=zt.filename||"generated.pdf",Ye){case void 0:return Vf();case"save":At.save(zt.filename);break;case"arraybuffer":return $s(Vf());case"blob":return sg(Vf());case"bloburi":case"bloburl":if(Qa.URL!==void 0&&typeof Qa.URL.createObjectURL=="function")return Qa.URL&&Qa.URL.createObjectURL(sg(Vf()))||void 0;dl.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Qn="",pr=Vf();try{Qn=wg(pr)}catch(Tc){Qn=wg(unescape(encodeURIComponent(pr)))}return"data:application/pdf;filename="+zt.filename+";base64,"+Qn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Qa)==="[object Window]"){var zr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Vi=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';zt.pdfObjectUrl&&(zr=zt.pdfObjectUrl,Vi="");var ao='