|
|
(self.webpackChunk=self.webpackChunk||[]).push([[9416],{89489:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},59477:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},40001:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},26227:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},49198:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},41464:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},87169:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},73331:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},15277:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},52671:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},8657:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},56082:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},33853:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},15075:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},43531:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},61485:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},47472:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},87395:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(60499),tt=te(59301),pe={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"},Ue=pe,Pe=te(7657),me=function(de,Le){return tt.createElement(Pe.Z,(0,b.Z)({},de,{ref:Le,icon:Ue}))},ve=tt.forwardRef(me),fe=ve},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Tn,sn){"use strict";sn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},90834:function(Tn,sn){"use strict";sn.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze",myselect:"myselect___QgOHu",upname:"upname___Dsj6F",upnames:"upnames___cGA7K",imghover:"imghover___C5Gjb",zybzForm:"zybzForm___AL0Nr",flexRow:"flexRow___AJEUu",formWrap:"formWrap___W4o4T",hasAnswer:"hasAnswer___Z7EaU",noAnswer:"noAnswer___BvSay"}},84915: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 Tn={},sn="5.0",te={},b=null,tt=!1,pe=!1,Ue=null,Pe=!1,me=null,ve=null,fe=0;fe<arguments.length;fe++){var be=arguments[fe];if(be!==null)switch(typeof be){case"number":sn=be.toFixed(1);break;case"string":be.match(new RegExp("^[0-9]\\.[0-9]+$"))?sn=be:Ue=be;break;case"object":typeof be.is3D!="undefined"?b=be:te=be;break;case"boolean":tt=be,pe=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!pe&&(tt=!0)),Ue!==null&&te.id===void 0&&(te.id=Ue);var de="",Le="",we=!1,Te=null,xe=null,Fe=null,Ce=!1,De=null,Be=null,Ze=null,rt=null,ce=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ke=function(Oe){return parseFloat(Oe)>4?parseFloat(Oe):5};Tn.setHTML5Codebase=function(Oe,Je){ve=Oe,ot(Oe,Je)},Tn.setJavaCodebase=Tn.setJavaCodebaseVersion=Tn.isCompiledInstalled=Tn.setPreCompiledScriptPath=Tn.setPreCompiledResourcePath=function(){},Tn.setHTML5CodebaseVersion=function(Oe,Je){var dt=parseFloat(Oe);if(dt!==NaN&&dt<5){console.log("The GeoGebra HTML5 codebase version "+dt+" is deprecated. Using version latest instead.");return}me=Oe,Ae(Oe,Je)},Tn.getHTML5CodebaseVersion=function(){return xe},Tn.getParameters=function(){return te},Tn.setFontsCSSURL=function(Oe){rt=Oe},Tn.setGiacJSURL=function(Oe){},Tn.setJNLPFile=function(Oe){de=Oe},Tn.setJNLPBaseDir=function(Oe){},Tn.inject=function(){function Oe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Je="auto",dt=te.id,It,st=!1,Ft=0;Ft<arguments.length;Ft++){var ft=arguments[Ft];typeof ft=="string"?(ft=ft.toLowerCase(),ft.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Je=ft:dt=arguments[Ft]):typeof ft=="boolean"?st=ft:ft instanceof HTMLElement&&(It=ft)}Gt();function Gt(){if(!Pe){setTimeout(Gt,200);return}Je=Dt(Je);var Pt=It||document.getElementById(dt);if(!Pt){console.log("possibly bug on ajax loading? ");return}if(Tn.removeExistingApplet(Pt,!1),te.width===void 0&&Pt.clientWidth&&(te.width=Pt.clientWidth),te.height===void 0&&Pt.clientHeight&&(te.height=Pt.clientHeight),!(te.width&&te.height)&&Je==="html5"&&(delete te.width,delete te.height),Te=Je,Je==="screenshot")he(Pt,te);else{var oe=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?oe=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(oe=(!qe()||Oe())&&_e()),oe?(Te="screenshot",Ct(Pt,te,st,Je)):Qe(Pt,te,st)}}};function qe(){try{return window.self!==window.top}catch(Oe){return!0}}function _e(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Tn.getViews=function(){return b},Tn.isJavaInstalled=function(){return!1};var mt=function(Oe){var Je=function(Ft){var ft=JSON.parse(Ft),Gt=function(ae){return ae.type=="G"||ae.type=="E"},Pt=ft.elements?ft.elements.filter(Gt)[0]:ft;if(!Pt||!Pt.url){dt();return}te.fileName=Pt.url,Re(Pt.settings||{}),b.is3D=!0;var oe="https://www.geogebra.org/images/";Tn.setPreviewImage(De||Pt.previewUrl,oe+"GeoGebra_loading.png",oe+"applet_play.png"),Oe()},dt=function(){te.onError&&te.onError(),zt("Error: Fetching material (id "+te.material_id+") failed.",te)},It=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",st="/materials/"+te.material_id+"?scope=basic";Ye("https://"+It+"/api/proxy.php?path="+encodeURIComponent(st),Je,dt)};function Re(Oe){var Je=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(dt){Oe[dt]=!!Oe[dt]}),Je.forEach(function(dt){te[dt]===void 0&&Oe[dt]!==void 0&&(te[dt]=Oe[dt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Ye(Oe,Je,dt){var It=new XMLHttpRequest;It.open("GET",Oe),It.onload=function(){Je(It.responseText)},It.onerror=dt,It.send()}Tn.isHTML5Installed=function(){return!0},Tn.getLoadedAppletType=function(){return Te},Tn.setPreviewImage=function(Oe,Je,dt){De=Oe,Be=Je,Ze=dt},Tn.removeExistingApplet=function(Oe,Je){var dt;typeof Oe=="string"&&(Oe=document.getElementById(Oe)),Te=null;var It=null;for(dt=0;dt<Oe.childNodes.length;dt++){var st=Oe.childNodes[dt],Ft=st.className;Ft==="applet_screenshot"?Je?(st.style.display="block",Te="screenshot"):st.style.display="none":Ft!=="applet_scaler prerender"&&(Oe.removeChild(st),It=Ft&&Ft.indexOf("appletParameters")!=-1?st.id:null,dt--)}var ft=te.id!==void 0?te.id:It,Gt=window[ft];Gt&&typeof Gt.getBase64=="function"&&(Gt.remove(),window[ft]=null)},Tn.refreshHitPoints=function(){if(ke(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Oe=Tn.getAppletObject();return Oe&&typeof Oe.recalculateEnvironments=="function"?(Oe.recalculateEnvironments(),!0):!1},Tn.startAnimation=function(){var Oe=Tn.getAppletObject();return Oe&&typeof Oe.startAnimation=="function"?(Oe.startAnimation(),!0):!1},Tn.stopAnimation=function(){var Oe=Tn.getAppletObject();return Oe&&typeof Oe.stopAnimation=="function"?(Oe.stopAnimation(),!0):!1},Tn.getAppletObject=function(){var Oe=te.id!==void 0?te.id:"ggbApplet";return window[Oe]},Tn.resize=function(){};var lt=function(Oe,Je,dt){var It=document.createElement("param");It.setAttribute("name",Je),It.setAttribute("value",dt),Oe.appendChild(It)},Se=function(Oe){return Oe&&Oe!=="false"},Qe=function(Oe,Je,dt){ke(xe)<=4.2&&(dt=!0);var It=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==xe||ggbHTML5LoadedCodebaseIsWebSimple&&!Ce)&&(It=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var st=document.createElement("div");st.classList.add("appletParameters","notranslate");var Ft=Je.width,ft=Je.height;if(Je.disableAutoScale=Je.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Je.disableAutoScale,Je.width!==void 0)if(ke(xe)<=4.4)Se(Je.showToolBar)&&(Je.height-=7),Se(Je.showAlgebraInput)&&(Je.height-=37),Je.width<605&&Se(Je.showToolBar)&&(Je.width=605,Ft=605);else{var Gt=100;(Se(Je.showToolBar)||Se(Je.showMenuBar))&&(Je.hasOwnProperty("customToolBar")&&(Je.customToolbar=Je.customToolBar),Gt=Se(Je.showMenuBar)?245:155),Ft<Gt&&(Je.width=Gt,Ft=Gt)}st.style.border="none",st.style.display="inline-block";for(var Pt in Je)Je.hasOwnProperty(Pt)&&Pt!=="appletOnLoad"&&st.setAttribute("data-param-"+Pt,Je[Pt]);rt&&st.setAttribute("data-param-fontscssurl",rt),Tn.resize=function(){GGBAppletUtils.responsiveResize(Oe,Je)},window.addEventListener("resize",function(it){Tn.resize()});var oe=typeof Je.appletOnLoad=="function"?Je.appletOnLoad:function(){};if(!dt&&Je.width!==void 0){Je.hasOwnProperty("showSplash")||st.setAttribute("data-param-showSplash","false");var ae=Oe.querySelector(".applet_scaler.prerender"),ee=ae!==null;if(ee)var E=ae.querySelector(".ggb_preview");else{var E=yt(Ft,ft,Je.borderColor,!1);ae=document.createElement("div"),ae.className="applet_scaler",ae.style.position="relative",ae.style.display="block",ae.style.width=Ft+"px",ae.style.height=ft+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ae,"66%"),ke(xe)>=5?(Je.appletOnLoad=function(it){var pt=Oe.querySelector(".ggb_preview");pt&&pt.parentNode.removeChild(pt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ae),window.GGBT_wsf_view&&$(window).trigger("resize"),oe(it)},ee||ae.appendChild(E)):st.appendChild(E),ae.appendChild(st),ee||Oe.appendChild(ae),setTimeout(function(){Tn.resize()},1)}else{var re=document.createElement("div");re.className="applet_scaler",re.style.position="relative",re.style.display="block",re.appendChild(st),Oe.appendChild(re),Je.appletOnLoad=function(it){Tn.resize(),oe(it)}}function ne(it,pt){pt&&typeof pt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(it,pt.appletOnLoad):renderGGBElement(it),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",pt)}function le(it,pt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:it,params:pt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(He){ne(He.article,He.params)}),html5AppletsToProcess=null)},ke(xe)<5&&(it.className+=" geogebraweb")):ne(it,pt)}if(It){scriptLoadStarted=!0;for(var ge=0;ge<st.childNodes.length;ge++){var Ee=st.childNodes[ge].tagName;Ee==="TABLE"&&(st.removeChild(st.childNodes[ge]),ge--)}if(ggbHTML5LoadedScript!==null){var ze=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ze!=null&&ze.parentNode.removeChild(ze)}var je=document.createElement("script"),Xe=function(){le(st,Je)};je.src=Le+Fe,ggbHTML5LoadedCodebaseIsWebSimple=Ce,ggbHTML5LoadedCodebaseVersion=xe,ggbHTML5LoadedScript=je.src,zt("GeoGebra HTML5 codebase loaded: '"+Le+"'.",Je),!ve&&(!me||me=="5.0")?(Ce?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Xe()):Le.requirejs?__webpack_require__.e(4510).then(function(){var it=[__webpack_require__(4510)];Xe.apply(null,it)}.bind(this)).catch(__webpack_require__.oe):(je.onload=Xe,Oe.appendChild(je))}else le(st,Je);Je.height=ft,Je.width=Ft},he=function(Oe,Je,dt){var It=yt(Je.width,Je.height,Je.borderColor,dt),st=document.createElement("div");st.style.position="relative",st.style.display="block",st.style.width=Je.width+"px",st.style.height=Je.height+"px",st.className="applet_screenshot applet_scaler"+(dt?" applet_screenshot_play":""),st.appendChild(It);var Ft=GGBAppletUtils.getScale(Je,Oe,dt);dt?(Oe.appendChild(Ke()),window.GGBT_wsf_view||(Oe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(st,"66%"),Oe.appendChild(st),Ft!==1&&!isNaN(Ft)&&(GGBAppletUtils.scaleElement(st,Ft),st.style.width=Je.width+"px",st.style.height=Je.height+"px",st.parentNode.style.width=Je.width*Ft+"px",st.parentNode.style.height=Je.height*Ft+"px"),Tn.resize=function(){ye(Oe,It,st,dt)},window.addEventListener("resize",function(ft){Tn.resize()}),Tn.resize()};function ye(Oe,Je,dt,It){if(Oe.contains(Je)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Oe)}var st=GGBAppletUtils.getScale(te,Oe,It);dt.parentNode!==null&&(!isNaN(st)&&st!==1?(GGBAppletUtils.scaleElement(dt,st),dt.parentNode.style.width=te.width*st+"px",dt.parentNode.style.height=te.height*st+"px"):(GGBAppletUtils.scaleElement(dt,1),dt.parentNode.style.width=te.width+"px",dt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Oe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Tn.onExitFullscreen=function(Oe,Je){Je.appendChild(Oe)};var Ct=function(Oe,Je,dt,It){he(Oe,Je,!0);for(var st=function(){var Gt=[];for(ft=0;ft<Oe.childNodes.length;ft++)Gt.push(Oe.childNodes[ft]);if(window.GGBT_wsf_view){var Pt=window.GGBT_wsf_view.renderFullScreen(Oe,Je.id),oe=document.getElementById("fullscreencontainer"),ae=jQuery(Oe).find(".fullscreencontent");ae.length>0?(Pt.remove(),ae.attr("id","fullscreencontent").show(),jQuery(oe).append(ae),window.dispatchEvent(new Event("resize"))):Qe(Pt,Je,!1),window.GGBT_wsf_view.launchFullScreen(oe)}else Te=It,Qe(Oe,Je,!1);if(!window.GGBT_wsf_view)for(ft=0;ft<Gt.length;ft++)Oe.removeChild(Gt[ft])},Ft=Oe.getElementsByClassName("ggb_preview_play"),ft=0;ft<Ft.length;ft++)Ft[ft].addEventListener("click",st,!1),Ft[ft].addEventListener("ontouchstart",st,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Oe),_e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ke=function(){var Oe=document.createElement("div");if(Oe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Je='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',dt=document.createElement("style");dt.styleSheet?dt.styleSheet.cssText=Je:dt.appendChild(document.createTextNode(Je)),document.getElementsByTagName("head")[0].appendChild(dt)}return Oe},yt=function(Oe,Je,dt,It){var st=document.createElement("div");st.className="ggb_preview",st.style.position="absolute",st.style.zIndex="90",st.style.width=Oe-2+"px",st.style.height=Je-2+"px",st.style.top="0px",st.style.left="0px",st.style.overflow="hidden",st.style.backgroundColor="white";var Ft="lightgrey";dt!==void 0&&(dt==="none"?Ft="transparent":Ft=dt),st.style.border="1px solid "+Ft;var ft=document.createElement("img");if(ft.style.position="relative",ft.style.zIndex="1000",ft.style.top="-1px",ft.style.left="-1px",De!==null&&ft.setAttribute("src",De),ft.style.opacity=.7,Be!==null){var Gt,Pt,oe;if(!It){Gt=document.createElement("img"),Gt.style.position="absolute",Gt.style.zIndex="1001",Gt.style.opacity=1,ft.style.opacity=.3,Pt=360,Pt>Oe/4*3&&(Pt=Oe/4*3),oe=Pt/5.8,Gt.setAttribute("src",Be),Gt.setAttribute("width",Pt),Gt.setAttribute("height",oe);var ae=(Oe-Pt)/2,ee=(Je-oe)/2;Gt.style.left=ae+"px",Gt.style.top=ee+"px",st.appendChild(Gt)}}return st.appendChild(ft),st},Dt=function(Oe){return Oe=Oe.toLowerCase(),Oe==="html5"||Oe==="screenshot"?Oe:"html5"},Ge=["web","webSimple","web3d","tablet","tablet3d","phone"],Ae=function(Oe,Je){if(xe=Oe,Je){ot(xe,!0);return}var dt=!tt;if(dt){var It=ke(xe);!isNaN(It)&&It<4.4&&(dt=!1)}var st,Ft;window.location.protocol.substr(0,4)==="http"?st=window.location.protocol:st="http:";var ft=xe.indexOf("//");ft>0?Ft=xe:ft===0?Ft=st+xe:Ft="https://www.geogebra.org/apps/5.2.814.0/";for(var Gt in Ge)if(xe.slice(Ge[Gt].length*-1)===Ge[Gt]||xe.slice((Ge[Gt].length+1)*-1)===Ge[Gt]+"/"){ot(Ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&dt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Se(te.showToolBar)&&!Se(te.showMenuBar)&&!Se(te.showAlgebraInput)&&!Se(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Ft+="webSimple/":Ft+="web3d/",ot(Ft,!1)},ot=function(Oe,Je){if(Oe.requirejs){Le=Oe;return}Oe.slice(-1)!=="/"&&(Oe+="/"),Le=Oe,Je===null&&(Je=Oe.indexOf("http")===-1),we=Je,Fe="web.nocache.js",Ce=!1;var dt=Le.split("/");dt.length>1&&(!Je&&dt[dt.length-2]==="webSimple"?(Fe="webSimple.nocache.js",Ce=!0):Ge.indexOf(dt[dt.length-2])>=0&&(Fe=dt[dt.length-2]+".nocache.js")),dt=Oe.split("/"),xe=dt[dt.length-3],xe.substr(0,4)==="test"?xe=xe.substr(4,1)+"."+xe.substr(5,1):(xe.substr(0,3)==="war"||xe.substr(0,4)==="beta")&&(xe="5.0");var It=parseFloat(xe);It!==NaN&&It<5&&Oe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+It+" is deprecated. Using version latest instead."),Ae("5.0",Je))},zt=function(Oe,Je){window.console&&window.console.log&&(!Je||typeof Je.showLogging=="undefined"||Je.showLogging&&Je.showLogging!=="false")&&console.log(Oe)};te.material_id!==void 0?mt(Et):Et();function Et(){var Oe=sn;me!==null?Oe=me:parseFloat(Oe)<5&&(Oe="5.0"),Ae(Oe,!1),ve!==null&&ot(ve,we),Pe=!0}return Tn},GGBAppletUtils=function(){"use strict";function Tn(){return window.GGBT_wsf_edit!==void 0}function sn(Pe,me){me!=1?(Pe.style.transformOrigin="0% 0% 0px",Pe.style.webkitTransformOrigin="0% 0% 0px",Pe.style.transform="scale("+me+","+me+")",Pe.style.webkitTransform="scale("+me+","+me+")",Pe.style.maxWidth="initial",Pe.querySelector(".ggb_preview")!==null&&(Pe.querySelector(".ggb_preview").style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Pe.style.transform="none",Pe.style.webkitTransform="none")}function te(Pe,me,ve,fe,be,de){var Le=null;if(de!=null&&de!="")for(var we=Pe.parentNode;we!=null;)if((" "+we.className+" ").indexOf(" "+de+" ")>-1){Le=we;break}else we=we.parentNode;var Te=0,xe=0,Fe=0,Ce=0,De=0,Be=0,Ze=0;if(Le)Te=Le.offsetWidth,xe=Math.max(fe?Le.offsetWidth:0,Le.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Te=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Fe=Te):(Te=window.innerWidth,xe=window.innerHeight,Fe=window.innerWidth),Pe){var rt=Pe.getBoundingClientRect();rt.left>0&&rt.left<=Te&&(be===void 0||!be)&&(document.dir==="rtl"?(De=Te-rt.width-rt.left,Be=Fe<=480?10:30):(Be=rt.left,De=Fe<=480?10:30),Ce=Be+De)}if(Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=Pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce=40,Ze=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ce=0,Ze=40)}}return Pe&&((ve===void 0||!ve)&&me>0&&me+Ce<Te?Te=me:Te-=Ce,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve===void 0||!ve)&&(xe-=Ze)),{width:Te,height:xe}}function b(Pe,me,ve,fe,be){if(Pe.isScreenshoGenerator)return 1;var de=fe!==void 0&&fe,Le=Pe.noScaleMargin!=null&&Pe.noScaleMargin,we=function(ce){return ce&&ce!=="false"},Te=we(Pe.autoHeight),xe=te(me,Pe.width,ve,Te,de&&window.GGBT_wsf_view||Le,be),Fe=parseInt(xe.width),Ce=Pe.width,De=Pe.height;if(Ce===void 0){var Be=me.querySelector(".appletParameters");Be&&(Ce=Be.offsetWidth,De=Be.offsetHeight)}var Ze=Fe/Ce,rt=de?1:xe.height/De;return ve!==void 0&&!ve&&(Ze=Math.min(1,Ze),rt=Math.min(1,rt)),Math.min(Ze,rt)}function tt(Pe,me,ve){var fe=1,be,de=!1;if(Pe.hasOwnProperty("allowUpscale")&&(de=Pe.allowUpscale),Pe.hasOwnProperty("scale")&&(fe=parseFloat(Pe.scale),(isNaN(fe)||fe===null||fe===0)&&(fe=1),fe>1&&(de=!0)),me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Pe.hasOwnProperty("disableAutoScale")&&Pe.disableAutoScale))be=b(Pe,me,de,ve,Pe.scaleContainerClass);else return fe;return de&&(!Pe.hasOwnProperty("scale")||fe===1)?be:Math.min(fe,be)}function pe(Pe){var me=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=Pe.getBoundingClientRect(),be=(me-fe.width)/2,de=(ve-fe.height)/2;de<0&&(de=0),Pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(be<40?Pe.style.left="40px":Pe.style.left=be+"px",Pe.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Pe.style.top="40px":Pe.style.top=de+"px",Pe.style.left=be+"px")}function Ue(Pe,me){var ve=Pe.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(me.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Pe)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var fe=tt(me,Pe);Tn()&&ve.setAttribute("data-param-scale",fe);for(var be=null,de=0;de<Pe.childNodes.length;de++)if(Pe.childNodes[de].className!==void 0&&Pe.childNodes[de].className.match(/^applet_scaler/)){be=Pe.childNodes[de];break}if(be!==null&&be.querySelector(".noscale")!==null)return;var Le=me.id!==void 0?me.id:"ggbApplet",we=window[Le];(we==null||!we.recalculateEnvironments)&&be!==null&&!be.className.match(/fullscreen/)&&(be.parentNode.style.transform="",!isNaN(fe)&&fe!==1?(be.parentNode.style.width=me.width*fe+"px",be.parentNode.style.height=me.height*fe+"px",sn(be,fe)):(sn(be,1),be.parentNode.style.width=me.width+"px",be.parentNode.style.height=me.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&pe(Pe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ve).parents(".content-added-content"))}}return{responsiveResize:Ue,isFlexibleWorksheetEditor:Tn,positionCenter:pe,getScale:tt,scaleElement:sn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Tn=n.location.search;return Tn.indexOf(J)!=-1||Tn.indexOf(K)!=-1}function q(Tn,sn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Tn){var sn=s[L].bindings;s[L].bindings=function(){for(var te=sn?sn():{},b=Tn[webModule.__softPermutationId],tt=O;tt<b.length;tt++){var pe=b[tt];te[pe[O]]=pe[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Tn=o.createElement(Q);if(Tn.id=L,Tn.style.cssText=R+S,Tn.tabIndex=-1,o.body.appendChild(Tn),t=Tn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var sn=document.compatMode==U?V:W;t.write(sn+X),t.close()}}}function w(Tn){function sn(b){function tt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var pe=tt();if(pe){b();return}function Ue(){if(!pe){if(!tt())return;pe=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ue,!1),Pe&&clearInterval(Pe)}}o.addEventListener&&o.addEventListener(Z,Ue,!1);var Pe=setInterval(function(){Ue()},$)}function te(b){var tt=u(),pe=tt.body,Ue=tt.createElement(_);Ue.language=ab,Ue.crossOrigin=W,Ue.src=b,webModule.__errFn&&(Ue.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),pe.appendChild(Ue)}sn(function(){te(Tn)})}webModule.__startLoadingFragment=function(Tn){return C(Tn)},webModule.__installRunAsyncCode=function(Tn){var sn=u(),te=sn.body,b=sn.createElement(_);b.language=ab,b.text=Tn,te.appendChild(b),te.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(Tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Tn){var sn=c[Tn];return sn==null?null:sn},r=d,webModule.__errFn=e}function B(){function Tn(Pe){var me=Pe.lastIndexOf(rb);me==-1&&(me=Pe.length);var ve=Pe.indexOf(sb);ve==-1&&(ve=Pe.length);var fe=Pe.lastIndexOf(tb,Math.min(ve,me));return fe>=O?Pe.substring(O,fe+P):W}function sn(Pe){if(!Pe.match(/^\w+:\/\//)){var me=o.createElement(ub);me.src=Pe+vb,Pe=Tn(me.src)}return Pe}function te(){var Pe=__gwt_getMetaProperty(wb);return Pe!=null?Pe:W}function b(){for(var Pe=o.getElementsByTagName(_),me=O;me<Pe.length;++me)if(Pe[me].src.indexOf(xb)!=-1)return Tn(Pe[me].src);return W}function tt(){var Pe=o.getElementsByTagName(yb);return Pe.length>O?Pe[Pe.length-P].href:W}function pe(){var Pe=o.location;return Pe.href==Pe.protocol+zb+Pe.host+Pe.pathname+Pe.search+Pe.hash}var Ue=te();return Ue==W&&(Ue=b()),Ue==W&&(Ue=tt()),Ue==W&&pe()&&(Ue=Tn(o.location.href)),Ue=sn(Ue),Ue}function C(Tn){return Tn.match(/^\//)||Tn.match(/^[a-zA-Z]+:\/\//)?Tn:webModule.__moduleBase+Tn}function D(){var Tn=[],sn=O,te=[],b=[];function tt(Pe){var me=b[Pe](),ve=te[Pe];if(me in ve)return me;var fe=[];for(var be in ve)fe[ve[be]]=be;throw r&&r(Pe,fe,me),null}if(__gwt_isKnownPropertyValue=function(Pe,me){return me in te[Pe]},webModule.__getPropMap=function(){var Pe={};for(var me in te)te.hasOwnProperty(me)&&(Pe[me]=tt(me));return Pe},webModule.__computePropValue=tt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var pe;try{pe=Cb;var Ue=pe.indexOf(Db);Ue!=-1&&(sn=parseInt(pe.substring(Ue+P),$),pe=pe.substring(O,Ue))}catch(Pe){}return webModule.__softPermutationId=sn,C(pe+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})()},23216:function(Tn,sn,te){"use strict";te.d(sn,{Ax:function(){return Ue},Ds:function(){return Pe},KI:function(){return ve},SI:function(){return pe},f1:function(){return tt}});var b=te(14185);function tt(fe){let be=!0;if(fe.length>0){for(let de=0;de<fe.length;de++)if(fe[de].compile_success==0||!fe[de].compile_success){be=!1;break}}else be=!1;return be}function pe(fe,be=""){let de=[];for(let Le=0;Le<fe.length;Le++){let we=fe[Le],Te=be?`${be}/${we.name}`:`${we.name}`;de.push({title:we.name,type:we.type,isLeaf:we.type!=="tree",key:Te})}return de}function Ue(fe,be,de){for(let Le=0;Le<fe.length;Le++){let we=fe[Le];if(we.key===be){we.children=de;break}we.children&&Ue(we.children,be,de)}return fe}function Pe(fe,be,de){let Le;return function(){let we=this,Te=arguments,xe=function(){Le=null,de||fe.apply(we,Te)},Fe=de&&!Le;clearTimeout(Le),Le=setTimeout(xe,be),Fe&&fe.apply(we,Te)}}const me=!0,ve=b.Z.API_SERVER},40254:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Le}});var b=te(59301),tt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},pe=te(92310),Ue=te.n(pe),Pe=te(29787),me=te(2859),ve=te(49317),fe=te(76406),be=(we,Te,xe)=>new Promise((Fe,Ce)=>{var De=rt=>{try{Ze(xe.next(rt))}catch(ce){Ce(ce)}},Be=rt=>{try{Ze(xe.throw(rt))}catch(ce){Ce(ce)}},Ze=rt=>rt.done?Fe(rt.value):Promise.resolve(rt.value).then(De,Be);Ze((xe=xe.apply(we,Te)).next())}),Le=({data:we,className:Te,fullWidth:xe,style:Fe={},onClose:Ce,onOk:De,showFullTools:Be,noAssociationId:Ze})=>{const rt=(0,b.useRef)(null),ce=(0,b.useRef)(null),ke=(0,b.useRef)(null),qe=(0,b.useRef)(null),[_e,mt]=(0,b.useState)(!1),[Re,Ye]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(ke.current||(ke.current=document.createElement("style"),document.head.appendChild(ke.current)),we!=null&&we.visible?(document.body.setAttribute("data-custom","y-hidden"),ke.current.innerHTML=" html { overflow-y: hidden; }",we!=null&&we.src&<()):(document.body.removeAttribute("data-custom"),ke.current&&(document.head.removeChild(ke.current),ke.current=null)),()=>{document.body.removeAttribute("data-custom"),ke.current&&(document.head.removeChild(ke.current),ke.current=null)}),[we==null?void 0:we.visible]);const lt=()=>be(void 0,null,function*(){mt(!0),Ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ye=yield(0,fe.ZJ)(we==null?void 0:we.src);rt.current.src="",rt.current.src=ye,rt.current.onload=function(){he()},mt(!1),Ye("")}),Se=ye=>be(void 0,null,function*(){mt(!0),Ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ct=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:we.title,file:ye.dataUrl}});Ct!=null&&Ct.id&&!Ze?(yield(0,ve.ZP)(`/api/attachments/${we.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ct==null?void 0:Ct.id,settings:JSON.stringify(ye.state)}})).status===0&&De():Ct!=null&&Ct.id&&De(Ct),mt(!1),Ye("")}),Qe=()=>{const ye=document.querySelector('a[href="https://markerjs.com/"]');ye&&ye.parentNode&&(ye.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(Ke=>{const yt=document.querySelector(Ke.name);yt&&yt.setAttribute("title",Ke.title)})},he=()=>{ce.current=new me.hP(rt.current),ce.current.targetRoot=qe.current,ce.current.addEventListener("render",Se),ce.current.addEventListener("beforeclose",Ce),Be&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),we!=null&&we.snapshotData&&ce.current.restoreState(we.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return b.createElement(b.Fragment,null,(we==null?void 0:we.visible)&&b.createElement(Pe.Z,{spinning:_e,tip:Re,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:qe,className:Ue()(tt.imageDimensions,Te,xe?tt.fullWidth:""),style:Fe},b.createElement("img",{className:tt.img,ref:rt}))))}},9057:function(Tn,sn,te){"use strict";var b=te(59301),tt=te(77019),pe=te(5269),Ue=te(31691),Pe=te(7939),me=te(35883),ve=te(74501),fe=te(48136),be=te(59301);const de=(0,b.forwardRef)(({callback:Le,showSaveButton:we,value:Te=""},xe)=>{const Fe=(0,b.useRef)(),Ce=[{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 "}]}]}],De=[{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
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\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}`}]}]}],Be=ce=>{Fe.current.setValue(Fe.current.getValue()+" "+ce.value+" ")},Ze=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:be.createElement(tt.Z,{className:ve.Z.lists,gutter:[10,10]},Ce.map((ce,ke)=>be.createElement(pe.Z,{flex:"110px",className:ve.Z.item},be.createElement("div",null,be.createElement(me.Z,{value:`$$${ce.value}$$`}),ce.name),be.createElement("div",{className:ve.Z.children},ce.children.map((qe,_e)=>be.createElement("div",{key:_e},be.createElement("h1",null,qe.name),be.createElement(tt.Z,{gutter:[10,10]},qe.data.map((mt,Re)=>be.createElement(pe.Z,{key:Re,onClick:()=>Be(mt),className:ve.Z.diamond},be.createElement(me.Z,{value:"`$$"+mt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:be.createElement(tt.Z,{className:ve.Z.lists,gutter:[10,10]},De.map((ce,ke)=>be.createElement(pe.Z,{flex:"110px",className:ve.Z.item},be.createElement("div",null,be.createElement(me.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),be.createElement("div",{className:ve.Z.children},ce.children.map((qe,_e)=>be.createElement("div",{key:_e},qe.name&&be.createElement("h1",null,qe.name),be.createElement(tt.Z,{gutter:[10,10]},qe.data.map((mt,Re)=>be.createElement(pe.Z,{key:Re,onClick:()=>Be(mt),className:ve.Z.diamond},be.createElement(me.Z,{value:"`$$"+mt.value+"$$`"}))))))))))}],rt=()=>{var ce=document.createElement("div");ce.innerHTML=Fe.current.getValue();var ke=ce.innerText;return Le&&Le(ke),ke};return(0,b.useImperativeHandle)(xe,()=>({getData:rt})),be.createElement("div",{className:ve.Z.mathWrap},be.createElement(Ue.default,{defaultActiveKey:"1",items:Ze}),be.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Fe,style:{width:800,marginTop:30,fontSize:18}},Te||""),we&&be.createElement("div",{className:ve.Z.button},be.createElement(Pe.ZP,{size:"large",onClick:rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});sn.Z=de},90736:function(Tn,sn,te){"use strict";var b=te(59301),tt=te(4977),pe=te(7939),Ue=Object.defineProperty,Pe=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,de=(xe,Fe,Ce)=>Fe in xe?Ue(xe,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):xe[Fe]=Ce,Le=(xe,Fe)=>{for(var Ce in Fe||(Fe={}))fe.call(Fe,Ce)&&de(xe,Ce,Fe[Ce]);if(ve)for(var Ce of ve(Fe))be.call(Fe,Ce)&&de(xe,Ce,Fe[Ce]);return xe},we=(xe,Fe)=>Pe(xe,me(Fe));const Te=({img:xe,buttonProps:Fe={},styles:Ce={},customText:De,ButtonText:Be,ButtonClick:Ze,Buttonclass:rt,ButtonTwo:ce,imgStyles:ke,loading:qe=!1,className:_e=""})=>b.createElement("section",{className:`tc animated fadeIn ${_e}`,style:Le({color:"#999",margin:"100px auto",visibility:qe?"hidden":"visible"},Ce)},b.createElement("img",{src:xe||tt,style:we(Le({},ke),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},De||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Be&&b.createElement(pe.ZP,Le({className:rt,onClick:Ze},Fe),Be),ce&&ce);sn.Z=Te},47026:function(Tn,sn,te){"use strict";te.d(sn,{Q:function(){return me}});var b=te(59301),tt=te(82326),pe=te(47889),Ue=te(4875),Pe=te(59301),me=(fe=>(fe[fe.Number=1]="Number",fe[fe.Percent=2]="Percent",fe))(me||{});const ve=({value:fe,onChange:be,disabled:de,hidePercentOption:Le=!1,percentType:we="select"})=>{const Te=(0,b.useMemo)(()=>Le?1:2,[Le]),[xe,Fe]=(0,b.useState)(Te);console.log(xe);const Ce=Be=>fe.type===1?`${Be}\u5206`:`${Be}%`,De=(0,b.useCallback)(Be=>{if(xe===1){const Ze=Be.replace("\u5206","");return isNaN(parseInt(Ze,10))?0:Ze}else return Be.replace("%","")},[xe]);return(0,b.useEffect)(()=>{Fe(fe.type)},[fe]),Pe.createElement("div",{style:{display:"flex",alignItems:"center"}},we=="select"&&Pe.createElement(tt.default,{size:"large",onChange:Be=>{Fe(Be),be({type:Be,inputValue:Be===1?5:20})},value:xe||Te,style:{width:100},options:Le?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:de}),we=="radio"&&Pe.createElement(pe.ZP.Group,{size:"large",onChange:Be=>{const Ze=Be.target.value;Fe(Ze),be({type:Ze,inputValue:Ze===1?5:20})},value:xe||Te,disabled:de},!Le&&Pe.createElement(pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Pe.createElement(pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),we=="radio"&&Pe.createElement("div",{style:{marginRight:"10px",color:"#000000"}},fe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Pe.createElement(Ue.Z,{size:"large",disabled:de,value:fe.inputValue,style:{width:"120px"},parser:De,addonAfter:fe.type===1?"\u5206":"%",max:xe===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Be=>{be({type:xe,inputValue:Be})}}),we=="radio"&&fe.type==2&&Pe.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};sn.Z=ve},86974:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return rt}});var b=te(59301),tt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},pe=te(7939),Ue=te(70557),Pe=te(34728),me=te(25399),ve=te(76406),fe=te(84849),be=te(90736),de=te(14185),Le=te(52078),we=te(59301),Te=Object.defineProperty,xe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,De=(ce,ke,qe)=>ke in ce?Te(ce,ke,{enumerable:!0,configurable:!0,writable:!0,value:qe}):ce[ke]=qe,Be=(ce,ke)=>{for(var qe in ke||(ke={}))Fe.call(ke,qe)&&De(ce,qe,ke[qe]);if(xe)for(var qe of xe(ke))Ce.call(ke,qe)&&De(ce,qe,ke[qe]);return ce},Ze=(ce,ke,qe)=>new Promise((_e,mt)=>{var Re=Se=>{try{lt(qe.next(Se))}catch(Qe){mt(Qe)}},Ye=Se=>{try{lt(qe.throw(Se))}catch(Qe){mt(Qe)}},lt=Se=>Se.done?_e(Se.value):Promise.resolve(Se.value).then(Re,Ye);lt((qe=qe.apply(ce,ke)).next())}),rt=({editOffice:ce="view",data:ke,issaver:qe,onSaver:_e,theme:mt,type:Re,filename:Ye,monacoEditor:lt,className:Se,style:Qe,close:he,onClose:ye,hasMask:Ct,disabledDownload:Ke,onImgDimensions:yt,showNodata:Dt,recordInfo:Ge})=>{const[Ae,ot]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[zt,Et]=(0,b.useState)(""),[Oe,Je]=(0,b.useState)(),dt=window.ENV==="build"?"/react/build":"",It=location.host.startsWith("localhost")?de.Z.PROXY_SERVER:de.Z.API_SERVER,Ft=10*(1024*1024),ft=(0,b.useRef)();ke!=null&&ke.startsWith("/api")&&Re!=="txt"&&(ke=de.Z.API_SERVER+ke);const Gt=re=>re.substring(re.lastIndexOf("/")+1).split(".").pop();Ye&<&&(lt.filename=Ye),(0,b.useEffect)(()=>{var re,ne;const le=(ne=(re=document.cookie)==null?void 0:re.replace(/\s/g,""))==null?void 0:ne.split(";");le==null||le.map(ge=>{let Ee=ge.split("=");Ee[0]==="_educoder_session"&&Et(Ee[1])})},[]),(0,b.useEffect)(()=>{Re==="office"&&(ke.indexOf("bigfilescdn.")>-1||ke.indexOf("bigfiles1")>-1?Je({url:ke,fileType:Gt(ke),model:ke.indexOf("model=edit")?"edit":"view"}):ke.indexOf("coze")>-1?Je({url:ke,fileType:"doc",model:"view"}):oe())},[Re,ke]);function Pt(re){return Ze(this,null,function*(){re.data.type==="pdfdata"&&(_e(re.data.data),window.removeEventListener("message",Pt,!1)),console.log("mess---:",re.data)})}const oe=()=>Ze(void 0,null,function*(){console.log("data:",ke);let re=ke;ke.startsWith("http")||(re=location.origin+re);let ne=new URL(re).pathname.split("/").pop();const le=yield(0,fe.gJ)({attachment_id:ne});le.url=It+le.url,Je(le)}),ae=()=>{if(ke.startsWith("http")||ke.startsWith("blob:")){ee();return}(0,ve.Sv)(Ye||"educoder",ke,Ye)},ee=()=>{Ge&&(0,Le.fc)({id:Ge==null?void 0:Ge.id,watch_type:1,course_id:Ge==null?void 0:Ge.course_id}),(0,ve.Nd)(Ye||"educoder",decodeURIComponent(ke))};(0,b.useEffect)(()=>(window.addEventListener("message",E),()=>{window.removeEventListener("message",E)}),[]);const E=re=>{var ne;((ne=re==null?void 0:re.data)==null?void 0:ne.type)==="closePop"&&ye()};return we.createElement("div",{style:Be({},Qe||{}),className:`${Ct&&tt.bgBlack} ${Re?tt.wrp:"hide"}`},!!Re&&he&&we.createElement("div",{id:"closePop",className:tt.close,ref:ft},!!yt&&we.createElement(me.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ft.current},we.createElement("span",{onClick:()=>{ye(),yt()}},we.createElement("i",{className:"icon-yulanpizhu"}))),!Ke&&window.parent===window&&we.createElement(me.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ft.current},we.createElement("span",{onClick:ee},we.createElement("i",{className:"icon-quxiaozhiding"}))),qe&&we.createElement(me.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ft.current},we.createElement("span",{className:"",onClick:()=>{const re=document.getElementById("pdfiframe");window.addEventListener("message",Pt,!1),setTimeout(()=>{re.contentWindow.postMessage("getData","*")},300)}},we.createElement("i",{className:"icon-baocun"}))),we.createElement(me.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ft.current},we.createElement("span",{className:"",onClick:()=>{ye()}},we.createElement("i",{className:"icon-guanbi1"})))),we.createElement("div",{className:`${tt[Se]} ${Se} ${tt.monaco} ${Re==="txt"?"show":"hide"}`},Re==="txt"&&we.createElement(we.Fragment,null,we.createElement(Pe.ZP,Be({},lt)))),Re==="audio"&&we.createElement("audio",{controls:!0,src:`${(ke==null?void 0:ke.indexOf("http://"))>-1||(ke==null?void 0:ke.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${ke}`,autoPlay:!0}),Re==="video"&&we.createElement(we.Fragment,null,(ke==null?void 0:ke.indexOf("http"))>-1?we.createElement("video",{controls:!0,src:`${ke}`,autoPlay:!0}):we.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ke}`,autoPlay:!0})),Re==="office"&&Oe&&we.createElement("iframe",{src:`${dt}/office.html?key=${Oe.key}&url=${btoa(Oe.url)}&callbackUrl=${It+(Oe.callbackUrl||"")}&fileType=${Oe.fileType}&title=${Oe.title||""}&model=${ce}&officeServer=${de.Z.ONLYOFFICE}&disabledDownload=${!!Ke}`}),Re==="html"&&we.createElement("iframe",{src:ke+"&disposition=inline"}),Re==="pdf"&&we.createElement("iframe",{id:"pdfiframe",src:`${dt}/js/pdf/index.html?filename=${Ye||"educoder.pdf"}&url=${encodeURIComponent(ke)}&disabledDownload=${!!Ke}&model=${ce}`}),Re==="image"&&we.createElement("img",{src:`${(ke==null?void 0:ke.indexOf("http://"))>-1||(ke==null?void 0:ke.indexOf("https://"))>-1?"":"data:image/png;base64,"}${ke}`}),(Re==="other"||Re==="download")&&we.createElement(we.Fragment,null,Dt?we.createElement(be.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:we.createElement(pe.ZP,{icon:we.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ae,disabled:Ke},"\u4E0B\u8F7D")}):we.createElement(pe.ZP,{type:"primary",size:"middle",onClick:ae,disabled:Ke},we.createElement(Ue.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Re==="flowChart"&&we.createElement("div",{className:"embed"},we.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${ke||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Tn,sn,te){"use strict";te.d(sn,{z:function(){return lt},Z:function(){return Se}});var b=te(59301),tt=te(46214),pe=te(20047),Ue=te(64018),Pe=te(16471),me=te(14185),ve=te(76406),fe=te(15342),be=te(44104),de=te(7939),Le=te(1012),we=te(86974),Te=te(59301),Fe=({html:Qe})=>{const he=(0,b.useRef)(null),ye=(0,b.useRef)(null),Ct=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 56px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,b.useEffect)(()=>{const Ke=he.current.attachShadow({mode:"open"});ye.current=document.createElement("div"),ye.current.className="markdown-body",ye.current.innerHTML=Qe,Ke.appendChild(ye.current);const yt=document.createElement("style");return yt.textContent=Ct,Ke.appendChild(yt),()=>{Ke.innerHTML=""}},[]),(0,b.useEffect)(()=>{ye.current&&(ye.current.innerHTML=Qe)},[Qe]),Te.createElement("div",{ref:he})};function Ce(Qe){const he=["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"],ye=new RegExp(`\\b(${he.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ct=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return Qe.replace(ye,"").replace(Ct,"").trim()}var De={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Be=Object.defineProperty,Ze=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ke=(Qe,he,ye)=>he in Qe?Be(Qe,he,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Qe[he]=ye,qe=(Qe,he)=>{for(var ye in he||(he={}))rt.call(he,ye)&&ke(Qe,ye,he[ye]);if(Ze)for(var ye of Ze(he))ce.call(he,ye)&&ke(Qe,ye,he[ye]);return Qe};const _e="@\u2581\u2581@",mt="@\u2581@",Re=/<pre[^>]*>/g;function Ye(Qe){let he=document.createElement("div");return he.innerHTML=Qe,he.childNodes.length===0?"":he.childNodes[0].nodeValue}const lt=(Qe,he)=>{Qe=Qe||"";const ye=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ct=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ke=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,yt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return he?Qe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ye,(Dt,Ge,Ae,ot,zt,Et,Oe)=>{const Je=Ge||ot||Et,dt=Ae||zt||Oe||"?";return me.Z.API_SERVER+"/api/attachments/"+Je+dt+"&t="+(0,ve.Jn)(Je,Date.now())+(Dt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Qe=Qe.replace(yt,(Dt,Ge,Ae,ot,zt,Et,Oe)=>{const Je=Ge||ot||Et,dt=Ae||zt||Oe||"?";return me.Z.API_SERVER+"/attachments/download/"+Je+dt+"&t="+(0,ve.Jn)(Je,Date.now())+(Dt.indexOf(")")>-1?")":"&")}).replace(ye,(Dt,Ge,Ae,ot,zt,Et,Oe)=>{const Je=Ge||ot||Et,dt=Ae||zt||Oe||"?";return me.Z.API_SERVER+"/api/attachments/"+Je+dt+"&t="+(0,ve.Jn)(Je,Date.now())+(Dt.indexOf(")")>-1?")":"&")}).replace(Ct,(Dt,Ge,Ae,ot,zt)=>{const Et=Ge||ot,Oe=Ae||zt||"";return'"'+me.Z.API_SERVER+"/api/attachments/"+Et+Oe+Et+Oe+"&t="+(0,ve.Jn)(Et,Date.now())}).replace(Ke,(Dt,Ge,Ae,ot,zt)=>{const Et=Ge||ot,Oe=Ae||zt||"";return"("+me.Z.API_SERVER+"/files/uploads/"+Et+Oe+Et+Oe+"&t="+(0,ve.Jn)(Et,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,`
|
|
|
`),Qe)};var Se=({value:Qe="",edit:he=!1,className:ye,showTextOnly:Ct,showLines:Ke,style:yt={},stylesPrev:Dt={},highlightKeywords:Ge,showProgramFill:Ae,isProgramFill:ot,disabledFill:zt=!1,programFillValue:Et,openEditor:Oe=()=>{},onFillChange:Je=st=>{},onFillBlur:dt=()=>{},onFillFocus:It=()=>{}})=>{let st=Ce(String(Qe||""));const Ft=(0,b.useRef)(),ft=(0,b.useRef)(),[Gt,Pt]=(0,b.useState)(""),[oe,ae]=(0,b.useState)("office"),[ee,E]=(0,b.useState)([]),re=(0,b.useRef)("a"+(0,Le.Z)()),ne={},le=Mt=>/<style[\s\S]*?>/i.test(Mt||""),ge=(Mt,Kt,Jt)=>{const gt=document.createElement(Mt===mt?"input":"textarea");gt.style.width="100%",gt.style.height=Mt===mt?"40px":"151px",gt.rows=5,gt.spellcheck=!1,gt.name="edu-program-fill",gt.placeholder="\u8BF7\u8F93\u5165",gt.dataset.id=Kt;const kt=Object.keys(ne).length;return ne[kt]=gt,`<span class="edu-program-fill-wrap ${Mt===mt?"":"show"}" style="width:${Mt===mt?"600px":"100%"}" title=${Jt||""}><span>${gt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ee(Mt){return Mt=Mt.replace(/!\[.*?\]\(.*?\)/g,""),Mt=Mt.replace(/\[.*?\]\(.*?\)/g,""),Mt=Mt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Mt=Mt.replace(/<embed.*?>/g,""),Mt=Mt.replace(/<img.*?>/g,""),Mt=Mt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Mt=Mt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Mt=Mt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Mt=Mt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Mt}const ze=Mt=>!Ct&&le(st)?Mt:Mt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Kt,Jt){let gt=Jt.replace(/(\n|\r)/g,"").split("}"),kt=[];return gt.map(nn=>{nn!=""&&kt.push(`.${re.current} ${nn}`)}),`<style>${kt.join("}")}</style>`}),je=(0,b.useMemo)(()=>{(0,pe.Iy)();try{const gt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,nn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,vn=/\(\/attachments\/download\//g;st=st.replace(vn,"("+me.Z.API_SERVER+"/attachments/download/").replace(gt,"("+me.Z.API_SERVER+"/api/attachments/").replace(kt,'"'+me.Z.API_SERVER+"/api/attachments/").replace(nn,'"'+me.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,`
|
|
|
`),Ft.current.style.display="none"}catch(gt){}if(Ae){let gt=-1;return st=st.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(kt,nn,vn){var ct;return++gt,ge(kt,gt,(ct=Et==null?void 0:Et[gt])==null?void 0:ct.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${ze(st||"")}</pre>`}let Mt=ze(st);Mt=(0,pe.ZP)(Mt);const Kt=(0,pe.ez)();st.match(/\[TOC\]/)&&(Mt=Mt.replace("<p>[TOC]</p>",(0,pe.Qv)()),(0,pe.Iy)()),Mt=Mt.replace(/(__special_katext_id_\d+__)/g,(gt,kt)=>{const{type:nn,expression:vn}=Kt[kt];return(0,fe.renderToString)(Ye(vn)||"",{displayMode:nn==="block",throwOnError:!1,output:"html"})}),Mt=Mt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,pe.AL)();const Jt=document.createElement("div");if(Jt.innerHTML=Mt,Ct)return Jt.innerText;if(Ge){const gt=Ge.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return He(Jt,gt),Jt.innerHTML}return setTimeout(()=>Lt(),500),Jt.innerHTML},[st,Ge]);(0,b.useEffect)(()=>{et.current&&et.current.querySelectorAll(["input","textarea"]).forEach(Kt=>{Kt.oninput=Xe,Kt.onblur=it,Kt.onfocus=pt})},[ee]),(0,b.useEffect)(()=>{var Mt,Kt,Jt,gt,kt;if(Et!=null&&Et.length)try{const nn=et.current.querySelectorAll(".edu-program-fill-score"),vn=et.current.querySelectorAll('[name="edu-program-fill"]');for(const[ct,wt]of vn.entries())wt.value=((Mt=Et==null?void 0:Et[ct])==null?void 0:Mt.value)||"",((Kt=Et==null?void 0:Et[ct])==null?void 0:Kt.type)==="warning"?wt.className="program-fill-warning":((Jt=Et==null?void 0:Et[ct])==null?void 0:Jt.type)==="success"?wt.className="program-fill-success":wt.className="";for(const[ct,wt]of nn.entries())wt.innerHTML=(gt=Et==null?void 0:Et[ct])!=null&>.score?`${(kt=Et==null?void 0:Et[ct])==null?void 0:kt.score}\u5206`:"";E(Et)}catch(nn){console.log(nn,"error")}},[Et]);const Xe=Mt=>{ee[Mt.target.dataset.id]=ee[Mt.target.dataset.id]||{},ee[Mt.target.dataset.id].value=Mt.target.value,E([...ee]),Je(ee,Mt.target.dataset.id)},it=Mt=>{ee[Mt.target.dataset.id]=ee[Mt.target.dataset.id]||{},ee[Mt.target.dataset.id].value=Mt.target.value,E([...ee]),dt(ee,Mt.target.dataset.id)},pt=Mt=>{ee[Mt.target.dataset.id]=ee[Mt.target.dataset.id]||{},ee[Mt.target.dataset.id].value=Mt.target.value,E([...ee]),It(ee,Mt.target.dataset.id)};function He(Mt,Kt){return Mt.childNodes.forEach(Jt=>{var gt;if(Jt.childNodes.length>0)He(Jt,Kt);else if(Jt.nodeName!=="IMG")if(Jt.innerHTML)Jt.innerHTML=(gt=Jt.innerHTML)==null?void 0:gt.replace(new RegExp(Kt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const kt=document.createElement("span");kt.innerHTML=Jt.textContent.replace(new RegExp(Kt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Jt.replaceWith(kt)}})}const et=(0,b.useRef)();pe.jb.WebkitLineClamp=Ke,Ke&&(yt=qe(qe({},yt),pe.jb));function $t(Mt){let Kt=Mt.target;if(Kt.tagName.toUpperCase()==="A"){let Jt=Kt.getAttribute("href");if(Jt.indexOf("office")>-1)Mt.preventDefault(),Pt(Jt),ae("office");else if(Jt.indexOf("application/pdf")>-1)Mt.preventDefault(),Pt(Jt),ae("pdf");else if(Jt.indexOf("text/html")>-1)Mt.preventDefault(),Pt(Jt),ae("html");else if(Jt.startsWith("#")){Mt.preventDefault();let gt=document.getElementById(Jt.replace("#",""));gt&>.scrollIntoView(!0)}}}const Lt=()=>{var Mt;const Kt=(Mt=et.current)==null?void 0:Mt.querySelectorAll("video");Kt==null||Kt.forEach(Jt=>{if(Jt.oncontextmenu=()=>!1,Jt.src.indexOf(".m3u8")>-1&&!Jt.canPlayType("application/vnd.apple.mpegurl")){if(Pe.ZP.isSupported()){var gt=new Pe.ZP;gt.loadSource(Jt.src),gt.attachMedia(Jt)}}})};(0,b.useEffect)(()=>{if(et.current&&je&&je.match(Re)&&window.PR.prettyPrint(),et.current)return et.current.addEventListener("click",$t),()=>{var Mt;(Mt=et.current)==null||Mt.removeEventListener("click",$t),(0,pe.AL)(),(0,pe.Iy)()}},[je,et.current,$t]);const qt=Mt=>{Mt.target.nodeName==="IMG"&&Mt.target.className.indexOf("draw-flowchart")>-1?(Ft.current.style.zIndex=1,Ft.current.style.display="flex",Ft.current.style.width=Mt.target.clientWidth+"px",Ft.current.style.height=Mt.target.clientHeight+"px",Ft.current.style.top=Mt.target.offsetTop+"px",Ft.current.style.left=Mt.target.offsetLeft+"px",Mt.target.id&&(ft.current=Mt.target.id)):Ft.current.style.display="none"},Nt=()=>{Ft.current.style.display="none"};return(0,b.useEffect)(()=>{var Mt;const Kt=Jt=>{Jt.preventDefault(),Jt.clipboardData.setData("text",window.getSelection().toString())};return(Mt=et.current)==null||Mt.addEventListener("copy",Kt),()=>{var Jt;(Jt=et.current)==null||Jt.removeEventListener("copy",Kt)}},[et.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:Nt},Ct&&b.createElement("div",{ref:et,className:`${De.mdBody} `},je),!Ct&&!le(je)&&b.createElement("div",{ref:et,style:qe({},yt),onMouseOver:qt,className:`${ye||""} ${zt?"disabled-fill":""} markdown-body ${De.mdBody} ${re.current}`,dangerouslySetInnerHTML:{__html:je}}),!Ct&&le(je)&&b.createElement(Fe,{html:je}),b.createElement("div",{ref:Ft,className:`${De.button} ${he?"":De.previewFlowChart}`},b.createElement(be.Z,null,b.createElement(de.ZP,{onClick:()=>{he?Oe(ft.current):(Pt(ft.current),ae("flowChart"))}},he?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(we.Z,{close:!0,data:Gt,type:Gt!=null&&Gt.length?oe:"",style:qe({},Dt),onClose:()=>Pt("")}))}},27878:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(59301),tt={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},pe=te(62957),Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",me=(be,de,Le)=>new Promise((we,Te)=>{var xe=De=>{try{Ce(Le.next(De))}catch(Be){Te(Be)}},Fe=De=>{try{Ce(Le.throw(De))}catch(Be){Te(Be)}},Ce=De=>De.done?we(De.value):Promise.resolve(De.value).then(xe,Fe);Ce((Le=Le.apply(be,de)).next())}),fe=({type:be,resdata:de,onok:Le,oktext:we,okloading:Te})=>{const[xe,Fe]=(0,b.useState)(!1),{can_copy_list:Ce,can_copy_num:De,challenge_type:Be,course_data_list:Ze,no_copy_list:rt,no_copy_num:ce,no_use_list:ke,no_use_num:qe,repeat_shixun_num:_e,student_count:mt,total_num:Re,use_num:Ye}=de;let lt=De>0||be==="exercise";(0,b.useEffect)(()=>{(de==null?void 0:de.student_count)>0&&Fe(!0)},[de]),console.log("---11",Te),(0,b.useEffect)(()=>{Te||Fe(!1)},[Te]);const Se=()=>{if(be==="exercise"&&Be===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(be==="exercise"&&Be===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&Be===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixun"&&Be===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&Be===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="subject"&&Be===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:tt.orangeColor},mt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:tt.orangeColor},Ye)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(be==="shixunpush"&&Be===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(be==="shixunpush"&&Be===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:tt.orangeColor},mt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:tt.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:tt.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Qe=()=>{if(be==="exercise"||be==="subject"||be==="exercisepush"||be==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ce>0&&b.createElement("div",null,b.createElement("span",{className:tt.flex},b.createElement("img",{src:Pe,style:{width:14}}),b.createElement("span",{className:tt.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:tt.statusbody},be==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:tt.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(be==="subject"||be==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",lt&&b.createElement("span",{className:tt.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),be==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",lt&&b.createElement("span",{className:tt.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,rt==null?void 0:rt.map((he,ye)=>b.createElement("a",{href:`/shixuns/${he.identifier}/challenges`,target:"_blank"},"\u300A",he==null?void 0:he.name,"\u300B",ye+1!==ce&&"\u3001"))))),De>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:tt.flex},b.createElement("img",{src:Ue,style:{width:14}}),b.createElement("span",{className:tt.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:tt.statusbody},be==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(be==="subject"||be==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),be==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,Ce==null?void 0:Ce.map((he,ye)=>b.createElement("a",{href:`/shixuns/${he.identifier}/challenges`,target:"_blank"},"\u300A",he==null?void 0:he.name,"\u300B",ye+1!==De&&"\u3001"))))));if(be==="shixun")return b.createElement("div",{style:{marginTop:20}},De>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(pe.default,{open:xe,onCancel:()=>{Fe(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!lt&&"none"}},zIndex:1003,confirmLoading:Te,okText:lt?we:"\u6211\u77E5\u9053\u4E86",onOk:()=>me(void 0,null,function*(){lt?yield Le([...Ce,...ke]):Fe(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Se(),Qe()))}},28267:function(Tn,sn,te){"use strict";te.d(sn,{h:function(){return ce}});var b=te(59301),tt=te(82326),pe=te(28284),Ue=te(7939),Pe=te(89780),me=te.n(Pe),ve=te(88319),fe=te(94896),be=Object.defineProperty,de=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Fe=(ke,qe,_e)=>qe in ke?be(ke,qe,{enumerable:!0,configurable:!0,writable:!0,value:_e}):ke[qe]=_e,Ce=(ke,qe)=>{for(var _e in qe||(qe={}))Te.call(qe,_e)&&Fe(ke,_e,qe[_e]);if(we)for(var _e of we(qe))xe.call(qe,_e)&&Fe(ke,_e,qe[_e]);return ke},De=(ke,qe)=>de(ke,Le(qe));const Be=tt.default.Option,Ze={labelCol:{span:4},wrapperCol:{span:20}},rt={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"]};sn.Z=({callback:ke,onCancel:qe})=>{const[_e,mt]=(0,b.useState)("python");function Re(lt){mt(rt[lt][1])}function Ye(lt){ke(lt)}return b.createElement(pe.default,De(Ce({},Ze),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),b.createElement(pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(tt.default,{getPopupContainer:lt=>lt.parentNode,onChange:Re},Object.keys(rt).map(lt=>b.createElement(Be,{key:lt,value:lt},rt[lt][0])))),b.createElement(pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ce,{mode:_e})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ue.ZP,{type:"ghost",onClick:qe},"\u53D6\u6D88")))};function ce({value:ke,onChange:qe,mode:_e,options:mt={}}){const Re=(0,b.useRef)(),[Ye,lt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ye){let Se=function(Qe){const he=Qe.getValue();qe&&qe(he)};return Ye.on("change",Se),()=>{Ye.off("change",Se)}}},[Ye,qe]),(0,b.useEffect)(()=>{Ye&&Ye.setOption("mode",_e)},[Ye,_e]),(0,b.useEffect)(()=>{Ye&&(ke!==Ye.getValue()||ke==="")&&setTimeout(()=>{Ye.setValue(ke||"")},300)},[Ye,ke]),(0,b.useEffect)(()=>{if(Re.current&&!Ye){const Se=me().fromTextArea(Re.current,Ce({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},mt));lt(Se)}},[Re.current,Ye]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Re}))}},39116:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return en}});var b=te(59301),tt=te(44283),pe=te(89780),Ue=te.n(pe),Pe=te(76374),me=te(88319),ve=te(6313),fe=te(25717),be=te(99498),de=te(25419),Le=te(67549),we=te(35883),Te=({value:Qt="",className:wn,showTextOnly:bn,showLines:kn,style:Xn={}})=>{const zn=(0,b.useMemo)(()=>"",[Qt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:zn}}))},xe=Object.defineProperty,Fe=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,rt=(Qt,wn,bn)=>wn in Qt?xe(Qt,wn,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Qt[wn]=bn,ce=(Qt,wn)=>{for(var bn in wn||(wn={}))Be.call(wn,bn)&&rt(Qt,bn,wn[bn]);if(De)for(var bn of De(wn))Ze.call(wn,bn)&&rt(Qt,bn,wn[bn]);return Qt},ke=(Qt,wn)=>Fe(Qt,Ce(wn));let qe=[{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 _e({onActionCallback:Qt,title:wn,icon:bn,actionName:kn,className:Xn="",children:zn}){function Fn(){Qt(kn)}return b.createElement("a",{title:wn,className:Xn,onClick:Fn},b.createElement("i",{className:`${bn}`}),zn)}var mt=({watch:Qt,showNullButton:wn,showNullProgramButton:bn,onActionCallback:kn,fullScreen:Xn,insertTemp:zn,hidetoolBar:Fn,extraUse:nr})=>{const tr=[...qe,{title:`${Qt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Qt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Fn&&tr.map((Rr,Ir)=>b.createElement("li",{key:Ir},Rr.actionName?b.createElement(_e,ke(ce({},Rr),{onActionCallback:kn})):b.createElement("span",{className:"v-line"}))),wn?b.createElement("li",null,b.createElement(_e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kn},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,bn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,zn&&b.createElement("li",null,b.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${zn}`,onActionCallback:kn},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),nr&&b.createElement("li",null,nr),b.createElement("li",{className:"btn-full-screen"},b.createElement(_e,{icon:`${Xn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Xn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kn})))},Re=te(88487),Ye=te(28284),lt=te(37568),Se=te(7939),Qe=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Dt=(Qt,wn,bn)=>wn in Qt?Qe(Qt,wn,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Qt[wn]=bn,Ge=(Qt,wn)=>{for(var bn in wn||(wn={}))Ke.call(wn,bn)&&Dt(Qt,bn,wn[bn]);if(Ct)for(var bn of Ct(wn))yt.call(wn,bn)&&Dt(Qt,bn,wn[bn]);return Qt},Ae=(Qt,wn)=>he(Qt,ye(wn));const ot={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:Qt,onCancel:wn})=>{function bn(kn){Qt(kn)}return b.createElement(Ye.default,Ae(Ge({},ot),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:bn,style:{width:500}}),b.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(lt.default,null)),b.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(lt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:wn},"\u53D6\u6D88")))},Et=te(28267),Oe=te(53332),Je=te(62957),dt=te(77019),It=te(40254),st=te(59301),Ft=({callback:Qt,onCancel:wn})=>{const bn=document.createElement("canvas"),kn=bn.getContext("2d");bn.width=1e3,bn.height=800,kn.fillStyle="#ffffff",kn.fillRect(0,0,bn.width,bn.height);const Xn=bn.toDataURL("image/png");return st.createElement(Je.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},st.createElement(dt.Z,{style:{height:"100vh"}},st.createElement(It.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Xn,visible:!0,title:String(Date.now())},onOk:zn=>{Qt({src:zn.url})},onClose:wn})))},ft=te(36207),Gt=te(5269),Pt=te(6767),oe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ae=te(59301),E=(0,b.forwardRef)(({onCancel:Qt,editImgId:wn,callback:bn},kn)=>{let Xn=(0,b.useRef)(),zn=(0,b.useRef)(),Fn=(0,b.useRef)(),nr=(0,b.useRef)(!1);const tr=(0,b.useRef)(!1);console.log("ref:",kn);const[Rr,Ir]=(0,b.useState)(0),[Sn,Ln]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Ir(1)},[]),(0,b.useImperativeHandle)(kn,()=>({setHeight:Ln})),ae.createElement("div",{ref:tr,className:"body-overflow-initial"},ae.createElement(ft.Z,{width:"100vw",height:Sn,footer:null,closable:!0,placement:"bottom",open:!!Rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${oe.drawerWrap}`,onClose:()=>{window.saveDrawData(rr=>{bn({src:`/api/attachments/${rr}`,id:rr})})},title:ae.createElement(dt.Z,{align:"middle"},ae.createElement(Gt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ae.createElement(Gt.Z,{onClick:()=>{Ln(Sn==="60px"?"100vh":"60px")}},ae.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ae.createElement(Gt.Z,{onClick:()=>{window.saveDrawData(rr=>{if(rr===null){Pt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Pt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),bn({src:`/api/attachments/${rr}`,id:rr,disabledClose:!0})})}},ae.createElement(Se.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ae.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${wn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:zn})))}),re=te(14185),ne=te(47889),le=te(4875);const ge=ne.ZP.Group,Ee={margin:"0 8px"};var ze=({callback:Qt,onCancel:wn})=>{function bn(kn){Qt(kn)}return b.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:bn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Ee},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Ee},"\u884C\u6570"),b.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(le.Z,null)),b.createElement("span",{style:Ee},"\u5217\u6570"),b.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(le.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Ee},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ye.default.Item,{name:"align"},b.createElement(ge,null,b.createElement(ne.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(ne.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(ne.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(ne.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:wn},"\u53D6\u6D88")))},je=te(58755),Xe=te(84915),it=te.n(Xe),He=(0,b.forwardRef)(({use3d:Qt,width:wn,height:bn,callback:kn,showSaveButton:Xn},zn)=>{const Fn=(0,b.useRef)(),nr=(0,b.useRef)(),[tr,Rr]=(0,b.useState)(!1),Ir=(0,b.useRef)({id:Fn,appName:"graphing",width:wn||1e3,height:bn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{nr.current=new(it())(Ir.current,!0),window.onload=function(){nr.current.inject("applet_container")}},[]);const Sn=()=>{var Ln=window.ggbApplet.getPNGBase64(1,!0,72);return kn&&kn(Ln),Ln};return(0,b.useEffect)(()=>{Ir.current.appName=tr?"3D":"graphing",nr.current.inject("applet_container")},[tr]),(0,b.useEffect)(()=>{Rr(Qt)},[Qt]),(0,b.useImperativeHandle)(zn,()=>({getImgData:Sn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fn}),b.createElement(dt.Z,{align:"middle"},b.createElement(Gt.Z,{flex:1},b.createElement(je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:tr,onChange:Ln=>Rr(Ln)})),b.createElement(Gt.Z,null,b.createElement(Se.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),et=te(9057);const $t="link",Lt="upload-image",qt="add-flowchart",Nt="draw-image",Mt="add-flowchart",Kt="code-block",Jt="add-table",gt="------------",kt={default:gt,left:`:${gt}`,center:`:${gt}:`,right:`${gt}:`};var nn=te(79006),vn=te(76406);function ct(){}let wt=0;const Wt=1e4,on="\u2581",fn="@\u2581\u2581@",Pn="@\u2581@",Vn=`
|
|
|
**\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`,Gn=["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 Bn(Qt){return/^\d+$/.test(Qt)?`${Qt}px`:Qt}const Rt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Bt={[Rt+"-B"]:"bold",[Rt+"-I"]:"italic"},un={[$t]:"\u6DFB\u52A0\u94FE\u63A5",[Kt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Lt]:"\u6DFB\u52A0\u56FE\u7247",[Nt]:"\u6DFB\u52A0\u753B\u56FE",[qt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var en=({defaultValue:Qt="",onChange:wn,width:bn="100%",height:kn=400,miniToolbar:Xn=!1,isFocus:zn=!1,watch:Fn,insertTemp:nr,mode:tr="markdown",id:Rr="markdown-editor-id",showResizeBar:Ir=!1,noStorage:Sn=!1,showNullButton:Ln=!1,showNullProgramButton:rr=!1,hidetoolBar:ir=!1,fullScreen:Ot=!1,onBlur:_t,onCMBeforeChange:vt,onFullScreen:Zt,className:bt="",disablePaste:Ht=!1,disabled:nt=!1,disabledFill:Xt=!1,placeholder:tn="",values:dn="",extraUse:Vt,onAddBlank:jt})=>{const[Yt,ln]=(0,b.useState)(null),[Wn,Rn]=(0,b.useState)(Qt),[Kn,kr]=(0,b.useState)(Fn),[Zr,_r]=(0,b.useState)(Ot),[Pr,gr]=(0,b.useState)(""),[Ar,Vr]=(0,b.useState)(0),[ni,ri]=(0,b.useState)(kn),[ai,Dr]=(0,b.useState)(!1),[Jr,$r]=(0,b.useState)(0),[Ri,Hi]=(0,b.useState)(0),zi=(0,b.useRef)(),Zi=(0,b.useRef)(),Ji=(0,b.useRef)(),Ei=(0,b.useRef)(),ki=(0,b.useRef)(),fi=(0,b.useRef)(),$i=(0,tt.useDispatch)();(0,b.useEffect)(()=>{const or=window.scrollY||window.pageYOffset;Rn(dn),Yt==null||Yt.setValue(dn),window.scrollTo(0,or)},[dn]),(0,b.useEffect)(()=>{Zt==null||Zt(Zr)},[Zr]),(0,b.useEffect)(()=>{if(zi.current){let or=function(Cr,zr){var ji;if(Ht){zr.preventDefault();return}const vo=zr.clipboardData;if(vo){const ao=vo.types.toString(),Fo=vo.items;if(ao==="Files"||vo.types.indexOf("Files")>-1){if(zr.preventDefault(),tr=="stex")return;try{let Eo=Fo[1];((ji=Fo[0])==null?void 0:ji.kind)==="file"&&(Eo=Fo[0]);const Co=Eo.getAsFile(),To=Co.name.split(".").pop();(0,Oe.I)(Co,Oo=>{var ko,ha,Aa;Oo.id?((ko=Co==null?void 0:Co.type)==null?void 0:ko.indexOf("image"))>-1?_n.replaceSelection(`<img width="100%" src="/api/attachments/${Oo.id}?type=${Oo.content_type})" alt="" />`):((ha=Co==null?void 0:Co.type)==null?void 0:ha.indexOf("video"))>-1?_n.replaceSelection(`<video width="100%" controls src="/api/attachments/${Oo.id}"></video>`):((Aa=Co==null?void 0:Co.type)==null?void 0:Aa.indexOf("pdf"))>-1?_n.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=${Co.type}&disposition=inline" target="_blank">${Co.name}</a>`):Gn.includes(To)?_n.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=office&disposition=inline" target="_blank">${Co.name}</a>`):_n.replaceSelection(`[${Co.name}](/api/attachments/${Oo.id}?type=${Oo.content_type})`):(Oo==null?void 0:Oo.status)===401&&(document.location.href="/user/login")})}catch(Eo){Pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const _n=Ue().fromTextArea(zi.current,{mode:tr,lineNumbers:!Xn,lineWrapping:!0,value:Qt,autoCloseTags:!0,autoCloseBrackets:!0});return _n.on("keyup",function(Cr,zr){zr.keyCode===8&&(Cr.getValue()==""?_n.setOption("placeholder",tn):_n.setOption("placeholder",null))}),_n.on("keydown",function(Cr,zr){if(zr.keyCode===8){var ji=Ro(Cr);ji&&zr.preventDefault()}}),zn&&_n.focus(),_n.on("paste",or),nt&&_n.on("beforeChange",function(Cr,zr){(zr.origin==="paste"||zr.origin==="+input")&&zr.cancel()}),ln(_n),()=>{_n.off("paste",or)}}},[]);const oo=(0,b.useCallback)(()=>{if(Zi.current)try{}catch(or){console.log(or,"---- to set md editor body height")}},[ni,Zi,Zr]);(0,b.useEffect)(()=>{function or(){let _n=new Pe.Z(Cr=>{for(let zr of Cr)(zr.target.offsetHeight>0||zr.target.offsetWidth>0)&&(oo(),Yt.setSize("100%","100%"),Yt.refresh())});return _n.observe(zi.current.parentElement),_n}if(Yt){const _n=or();return()=>{var Cr,zr;(Cr=zi.current)!=null&&Cr.parentElement&&_n.unobserve((zr=zi.current)==null?void 0:zr.parentElement)}}},[Yt,oo]),(0,b.useEffect)(()=>{if(Yt){let or=[];for(const[_n,Cr]of Object.entries(Bt)){let zr={[_n]:()=>{fo(Cr)}};or.push(zr),Yt.addKeyMap(zr)}return()=>{for(let _n of or)Yt.removeKeyMap(_n)}}},[Yt]),(0,b.useEffect)(()=>{Ot!==Zr&&_r(Ot)},[Ot]),(0,nn.Z)(()=>{if(!Sn&&Ar>0){let or=new Date().getTime(),_n=window.sessionStorage.getItem(Rr);or>=Ar+Wt&&(!_n||_n!==Wn)&&(window.sessionStorage.setItem(Rr,Wn),Dr(!0))}},Wt),(0,b.useEffect)(()=>{kr(Fn)},[Yt,Fn]),(0,b.useEffect)(()=>{Yt&&zn&&Yt.focus()},[Yt,zn]),(0,b.useEffect)(()=>{if(Kn&&Yt){let or=function(Cr){let zr=Cr.target;if(Ei.current){let ji=zr.scrollTop/zr.scrollHeight;Ei.current.scrollTop=Ei.current.scrollHeight*ji}};const _n=Yt.getScrollerElement();return _n.addEventListener("scroll",or),()=>{_n.removeEventListener("scroll",or)}}},[Yt,Kn]),(0,b.useEffect)(()=>{if(Yt&&vt){let or=function(_n,Cr){vt(_n,Cr)};return Yt.on("beforeChange",or),()=>{Yt.off("beforeChange",or)}}},[Yt,vt]),(0,b.useEffect)(()=>{if(Yt&&_t){let or=function(){_t(Yt.getValue())};return Yt.on("blur",or),()=>{Yt.off("blur",or)}}},[Yt,_t]);function Ro(or,_n){var Cr=or.getDoc(),zr=Cr.getCursor(),ji=Cr.getLine(zr.line),vo=ji.charAt(zr.ch-1),ao=ji.lastIndexOf("@\u2581@",zr.ch),Fo=ji.lastIndexOf("@\u2581\u2581@",zr.ch),Eo=ao>Fo?ao:Fo,Co=ao>Fo?3:4;if(fn.indexOf(vo)===-1)return null;if(console.log("change1:",_n,or,ji,zr,Eo,ao,Fo,vo),Eo>=0&&zr.ch-Eo<5){var To=Eo+Co;return Cr.replaceRange("",{line:zr.line,ch:Eo},{line:zr.line,ch:To}),{line:zr.line,ch:To}}return null}(0,b.useEffect)(()=>{if(Yt){let or=function(_n,Cr){const zr=_n.getValue();Rn(zr),Vr(new Date().getTime()),_n.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),wn&&(rr?wn(zr,lr(zr)):wn(zr))};return Yt.on("change",or),()=>{Yt.off("change",or)}}},[Yt,wn]),(0,b.useEffect)(()=>{if(Yt)if(Qt==null)Yt.setValue(""),Rn("");else{const or=window.scrollY||window.pageYOffset;Qt!==Yt.getValue()&&(Yt.setValue(Qt),Rn(Qt),Yt.setCursor(nt?1:Yt.lineCount(),0),window.scrollTo(0,or))}},[Yt,Qt]);const fo=(0,b.useCallback)(or=>{const _n=Yt.getCursor(),Cr=Yt.getSelection();let zr=Cr.split(`
|
|
|
`);switch(or){case"bold":return Yt.replaceSelection("**"+Cr+"**"),Cr===""&&Yt.setCursor(_n.line,_n.ch+2),Yt.focus();case"italic":return Yt.replaceSelection("*"+Cr+"*"),Cr===""&&Yt.setCursor(_n.line,_n.ch+1),Yt.focus();case"code":return Yt.replaceSelection("`"+Cr+"`"),Cr===""&&Yt.setCursor(_n.line,_n.ch+1),Yt.focus();case"inline-latex":return(0,vn.Ye)($i)?void 0:(gr("inline-latex"),Yt.focus());case"latex":return Yt.replaceSelection("```latex\n"+Cr+"\n```"),Yt.setCursor(_n.line+1,Cr.length+1),Yt.focus();case"line-break":return Yt.replaceSelection(`<br/>
|
|
|
`),Yt.focus();case"list-ul":return Cr===""?Yt.replaceSelection("- "+Cr):Yt.replaceSelection(zr.map(ji=>ji===""?"":`- ${ji}`).join(`
|
|
|
`)),Yt.focus();case"list-ol":return Cr===""?Yt.replaceSelection("1. "+Cr):Yt.replaceSelection(zr.map((ji,vo)=>ji===""?"":`${vo+1}. ${ji}`).join(`
|
|
|
`)),Yt.focus();case"add-null-ch":jt==null||jt();return;case"add-signal":return Cr===""&&Yt.setCursor(_n.line,_n.ch),Yt.replaceSelection(Pn),Yt.focus();case"add-multiple":return Cr===""&&Yt.setCursor(_n.line,_n.ch),Yt.replaceSelection(fn),Yt.focus();case"inster-template-1":return Cr===""&&Yt.setCursor(_n.line,_n.ch),Yt.replaceSelection(Vn),Yt.focus();case"eraser":return Yt.setValue(""),Yt.focus();case"trigger-watch":return kr(!Kn),Yt.focus();case"trigger-full-screen":return _r(!Zr),Yt.focus();case $t:gr($t);return;case Kt:gr(Kt);return;case Lt:gr(Lt);return;case Nt:gr(Nt);return;case"maths-latex":if((0,vn.Ye)($i))return;gr("maths-latex");return;case qt:ki.current="",sessionStorage.removeItem("file_id"),gr(qt);return;case Jt:gr(Jt);return;default:throw new Error}},[Yt,Kn,Zr]),bo=(0,b.useCallback)((or,_n)=>{var Cr,zr,ji,vo,ao,Fo;or!=null&&or.disabledClose||gr("");const{src:Eo,alt:Co,id:To}=or||{};switch(Pr){case $t:const{title:xa,link:Ia}=or;return Yt.replaceSelection(`[${xa}](${Ia})`),Yt.focus();case Kt:const{language:Da,content:Gi}=or;return Yt.replaceSelection(["```"+Da,Gi,"```"].join(`
|
|
|
`)),Yt.focus();case"maths-latex":for(var Oo=atob(or),ko=new Uint8Array(Oo.length),ha=0;ha<Oo.length;ha++)ko[ha]=Oo.charCodeAt(ha);var Aa=new Blob([ko],{type:"image/png"});return(0,Oe.I)(Aa,ho=>{ho.id?Yt.replaceSelection(``):(ho==null?void 0:ho.status)===401&&(document.location.href="/user/login")}),Yt.focus();case"inline-latex":return(0,vn.Ye)($i)?void 0:(Yt.replaceSelection("`$$"+or+"$$`"),Yt.focus());case Mt:return To?(Yt.getValue().indexOf(Eo)===-1?Yt.replaceSelection(`<center><img id="${To}" width="80%" src="${Eo}" class="draw-flowchart" alt="${Co||""}" /></center>`):document.getElementById(To).src=re.Z.API_SERVER+Eo+"?t="+Date.now(),Yt.focus()):void 0;case Lt:case Nt:const Mi=_n,ea=(ji=(zr=(Cr=Mi==null?void 0:Mi.name)==null?void 0:Cr.split("."))==null?void 0:zr.pop)==null?void 0:ji.call(zr);return((vo=Mi==null?void 0:Mi.type)==null?void 0:vo.indexOf("image"))>-1||!(Mi!=null&&Mi.type)?Mi!=null&&Mi.align||Mi!=null&&Mi.width?Yt.replaceSelection(`<p style="text-align:${Mi.align||"initial"}"><img width="${Mi.width?Mi.width+"%":"initial"}" src="${Eo}" alt="${Co||""}" /></p>`):Yt.replaceSelection(`<img width="100%" src="${Eo}" alt="${Co||""}" />`):((ao=Mi==null?void 0:Mi.type)==null?void 0:ao.indexOf("video"))>-1?Yt.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((Fo=Mi==null?void 0:Mi.type)==null?void 0:Fo.indexOf("pdf"))>-1?Yt.replaceSelection(`<a href="${Eo}?type=${Mi.type}&disposition=inline" target="_blank">${Mi.name}</a>`):Gn.includes(ea)?Yt.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${Mi.name}</a>`):Yt.replaceSelection(`[${Mi.name}](${Eo})`),Yt.focus();case Jt:const{row:ta,col:Xi,align:Wo}=or;let Jo=`
|
|
|
`;for(let ho=0;ho<ta;ho++){let zo=[],Bo=[];for(let Ta=0;Ta<Xi;Ta++)ho===1&&Bo.push(kt[Wo]),zo.push(" ");ho===1&&(Jo+=`| ${Bo.join(" | ")} |
|
|
|
`),Jo+=`| ${zo.join(Xi===1?"":" | ")} |
|
|
|
`}return Yt.replaceSelection(Jo+`
|
|
|
`),Yt.focus();default:throw new Error}},[Yt,Pr]),co=(0,b.useMemo)(()=>{switch(Pr){case $t:return b.createElement(zt,{callback:bo,onCancel:yo});case Kt:return b.createElement(Et.Z,{callback:bo,onCancel:yo});case Lt:return b.createElement(Oe.Z,{callback:bo,onCancel:yo});case qt:return b.createElement(E,{editImgId:ki.current,callback:bo,onCancel:yo});case Jt:return b.createElement(ze,{callback:bo,onCancel:yo});case"maths-latex":return b.createElement(He,{showSaveButton:!0,callback:bo});case"inline-latex":return b.createElement(et.Z,{showSaveButton:!0,callback:bo});default:return null}},[Pr]);function yo(){gr("")}(0,b.useEffect)(()=>{if(Ji.current){let or=function(ao){ji=!0,vo=ao.pageY},_n=function(){ji=!1},Cr=function(ao){if(ji){let Fo=ao.pageY-vo;Fo<0&&(Fo=0),Fo>300&&(Fo=300);let Eo=kn+Fo+"px";ri(Eo)}},zr=Ji.current,ji=!1,vo=0;return zr.addEventListener("mousedown",or),document.addEventListener("mousemove",Cr),document.addEventListener("mouseup",_n),()=>{zr.removeEventListener("mousedown",or),document.removeEventListener("mousemove",Cr),document.removeEventListener("mouseup",_n)}}},[Yt,Ji]),(0,b.useEffect)(()=>{ri(kn)},[kn]);const Bi=Bn(bn),Ai=Bn(ni),Gr={width:Bi,height:Ai},jn=(0,b.useMemo)(()=>{if(Ar){let or=new Date(Ar),_n=or.getHours(),Cr=or.getMinutes(),zr=or.getSeconds();return _n=_n<10?"0"+_n:_n,Cr=Cr<10?"0"+Cr:Cr,zr=zr<10?"0"+zr:zr,`${_n}:${Cr}:${zr}`}return 0},[Ar]),lr=or=>{const _n=[];if(rr){let Cr=-1;or=or.replace(/(@▁▁@|@▁@)/g,function(zr,ji,vo){_n.push({multiLine:zr!==Pn})})}return _n};function cr(){window.sessionStorage.removeItem(Rr),Dr(!1),Vr(0)}function Jn(){Dr(!1),Vr(0),Yt.setValue(window.sessionStorage.getItem(Rr))}(0,b.useEffect)(()=>{un[Pr]&&Pr!==Nt&&Pr!==qt&&setTimeout(()=>{const or=document.getElementsByClassName("markdown-popup-form")[0],_n=window.innerWidth/2-or.offsetWidth/2,Cr=window.innerHeight/2-or.offsetHeight/2;$r(_n),Hi(Cr)},0)},[Pr]);const Wr=or=>{or.preventDefault();const _n=or.clientX-Jr,Cr=or.clientY-Ri;document.body.onmousemove=zr=>{let ji=zr.clientX-_n,vo=zr.clientY-Cr;const ao=document.getElementsByClassName("markdown-popup-form")[0],Fo=window.innerWidth-ao.offsetWidth,Eo=window.innerHeight-ao.offsetHeight;ji=Math.max(0,Math.min(ji,Fo)),vo=Math.max(0,Math.min(vo,Eo)),qr(zr.clientX,zr.clientY,_n,Cr)&&($r(ji),Hi(vo))},document.body.onmouseup=function(){document.body.onmousemove=null}},qr=(or,_n,Cr,zr)=>{const ji=document.body.clientHeight,vo=document.body.clientWidth;return or<20&&Cr>or||or>vo-20&&Cr<or||_n<20&&zr>_n||_n>ji-20&&zr<_n?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Zi},b.createElement("div",{className:`markdown-editor-container ${bt} ${Kn?"on-preview":""} ${Xn?"mini":""} ${Zr?"full-screen":""}`,style:Gr},b.createElement(mt,{insertTemp:nr,watch:Kn,fullScreen:Zr,showNullButton:Ln,showNullProgramButton:rr,onActionCallback:fo,hidetoolBar:ir,extraUse:Vt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:zi,placeholder:tn})),Kn?b.createElement("div",{ref:Ei,className:"preview-container"},tr==="stex"&&b.createElement(Te,{value:Wn}),tr!=="stex"&&b.createElement(we.Z,{edit:!0,disabledFill:Xt,showProgramFill:rr,value:Wn,openEditor:or=>{var _n;ki.current=or,(_n=fi.current)==null||_n.setHeight("100vh"),setTimeout(()=>{gr("add-flowchart")},150)}})):null))),Ir?b.createElement("a",{ref:Ji,className:"editor-resize"}):null,Pr===Nt&&b.createElement(Ft,{callback:bo,onCancel:yo}),Pr===qt&&b.createElement(E,{ref:fi,editImgId:ki.current,callback:bo,onCancel:yo}),b.createElement(Re.Z,null,un[Pr]&&Pr!==Nt&&Pr!==qt?b.createElement(Je.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Jr,top:Ri},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Wr},un[Pr]),open:!0,onCancel:yo,footer:null,destroyOnClose:!0,width:Pr===qt?"1200px":null,height:Pr===qt?"80vh":null,className:"markdown-popup-form"},co):null))}},53332:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return qe},I:function(){return mt}});var b=te(28284),tt=te(6767),pe=te(37568),Ue=te(44104),Pe=te(4875),me=te(47889),ve=te(7939),fe=te(23216),be=te(59301),de=te(59301),Le=Object.defineProperty,we=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,De=(Re,Ye,lt)=>Ye in Re?Le(Re,Ye,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Re[Ye]=lt,Be=(Re,Ye)=>{for(var lt in Ye||(Ye={}))Fe.call(Ye,lt)&&De(Re,lt,Ye[lt]);if(xe)for(var lt of xe(Ye))Ce.call(Ye,lt)&&De(Re,lt,Ye[lt]);return Re},Ze=(Re,Ye)=>we(Re,Te(Ye));const{useForm:rt}=b.default,ce={width:280,marginRight:10},ke={labelCol:{span:5},wrapperCol:{span:19}};var qe=({callback:Re,onCancel:Ye})=>{const[lt]=rt();let Se=(0,be.useRef)();function Qe(Ct){Se.current.width=lt.getFieldValue("width"),Se.current.align=lt.getFieldValue("align"),Re(Ct,Se.current)}function he(Ct,Ke){if(Ct.status===-1){tt.ZP.error(Ct.message);return}lt.setFieldsValue({src:`/api/attachments/${Ct.id}`,type:Ke.type})}function ye(Ct){let Ke=Ct.target.files[0];Se.current=Ke,mt(Ke,he)}return de.createElement(b.default,Ze(Be({form:lt},ke),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),de.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},de.createElement(pe.default,{style:ce})),de.createElement(_e,{onFileChange:ye}))),de.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(pe.default,{style:{width:264}})),de.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(Ue.Z,null,de.createElement(b.default.Item,{name:"width",style:{margin:0}},de.createElement(Pe.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.createElement(me.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"}]})),de.createElement("aside",null,de.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(ve.ZP,{type:"default",onClick:Ye},"\u53D6\u6D88"))))};function _e({onFileChange:Re}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:Re}))}function mt(Re,Ye){if(!Re)throw new String("\u6CA1\u6709\u6587\u4EF6");let lt=new FormData;lt.append("editormd-image-file",Re),lt.append("file_param_name","editormd-image-file"),lt.append("byxhr","true");var Se=new window.XMLHttpRequest;Se.withCredentials=!0,Se.addEventListener("load",function(Qe){Ye(JSON.parse(Qe.target.responseText),Re)},!1),Se.addEventListener("error",function(Qe){console.error(Qe)},!1),Se.open("POST",`${fe.KI}/api/attachments.json`),Se.send(lt)}},88487:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return pe}});var b=te(59301),tt=te(4676);class pe extends b.Component{constructor(Pe){super(Pe);const me=window.document;this.node=me.createElement("div"),me.body.appendChild(this.node)}render(){const{children:Pe}=this.props;return(0,tt.createPortal)(Pe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Tn,sn,te){"use strict";te.d(sn,{SV:function(){return Ft},ZP:function(){return st}});var b=te(59301),tt=te(76374);const pe={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"]},Ue={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"]},Pe={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(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std",content:["using namespace std"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},me={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(`
|
|
|
`)}]},ve={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 fe=te(53184),be=te.n(fe),de=(ft,Gt,Pt)=>new Promise((oe,ae)=>{var ee=ne=>{try{re(Pt.next(ne))}catch(le){ae(le)}},E=ne=>{try{re(Pt.throw(ne))}catch(le){ae(le)}},re=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(ee,E);re((Pt=Pt.apply(ft,Gt)).next())});const Le={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"]}},we=(ft,Gt,Pt,oe)=>{const ae=Gt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Pt.lineNumber,endColumn:Pt.column});return Array.from(new Set(ae.match(/\b\w{2,}\b/g)||[])).map(E=>({label:E,kind:ft.languages.CompletionItemKind.Text,insertText:E,range:oe}))},Te=(ft,Gt,Pt,oe)=>{ft.languages.registerCompletionItemProvider(Gt,{provideCompletionItems(ae,ee){const E=ae.getWordUntilPosition(ee),re={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:E.startColumn,endColumn:E.endColumn},ne=ae.getLineContent(ee.lineNumber).substring(E.startColumn-2,E.endColumn);return{suggestions:[...we(ft,ae,ee,re),...Pt.map(ge=>({label:ge,kind:ft.languages.CompletionItemKind.Keyword,documentation:ge,insertText:ge,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:re})),...oe.map(ge=>({label:ge.label,kind:ft.languages.CompletionItemKind.Snippet,documentation:ge.content,insertText:ne.startsWith("#")?ge.content.replace(/#/,""):ge.content,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:re}))]}}})};var xe=ft=>{Le.languages.forEach(Gt=>{ft.languages.registerDocumentFormattingEditProvider(Gt,{provideDocumentFormattingEdits(Pt){return de(this,null,function*(){const oe=be()(Pt.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:Pt.getFullModelRange(),text:oe}]})}})}),Te(ft,"java",Ue.keywords,Ue.quickKey),Te(ft,"cpp",Pe.keywords,Pe.quickKey),Te(ft,"c",pe.keywords,[]),Te(ft,"python",me.keywords,me.quickKey),Te(ft,"scala",ve.keywords,ve.quickKey)};const Fe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ce=Object.defineProperty,De=(ft,Gt,Pt)=>Gt in ft?Ce(ft,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ft[Gt]=Pt,Be=(ft,Gt,Pt)=>De(ft,typeof Gt!="symbol"?Gt+"":Gt,Pt);const Ze=class Hu{constructor(Gt,Pt,oe){this.placeholder=Gt,this.editor=Pt,this.monaco=oe,Pt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Hu.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)}};Be(Ze,"ID","editor.widget.placeholderHint");var ce=Ze,ke=te(96236),qe=te(6767),_e=te(25399),mt=te(78267),Re=te(33156),Ye=te(56102),lt=Object.defineProperty,Se=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Ke=(ft,Gt,Pt)=>Gt in ft?lt(ft,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ft[Gt]=Pt,yt=(ft,Gt)=>{for(var Pt in Gt||(Gt={}))ye.call(Gt,Pt)&&Ke(ft,Pt,Gt[Pt]);if(he)for(var Pt of he(Gt))Ct.call(Gt,Pt)&&Ke(ft,Pt,Gt[Pt]);return ft},Dt=(ft,Gt)=>Se(ft,Qe(Gt)),Ge=(ft,Gt)=>{var Pt={};for(var oe in ft)ye.call(ft,oe)&&Gt.indexOf(oe)<0&&(Pt[oe]=ft[oe]);if(ft!=null&&he)for(var oe of he(ft))Gt.indexOf(oe)<0&&Ct.call(ft,oe)&&(Pt[oe]=ft[oe]);return Pt},Ae=(ft,Gt,Pt)=>new Promise((oe,ae)=>{var ee=ne=>{try{re(Pt.next(ne))}catch(le){ae(le)}},E=ne=>{try{re(Pt.throw(ne))}catch(le){ae(le)}},re=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(ee,E);re((Pt=Pt.apply(ft,Gt)).next())});function ot(ft){return/^\d+$/.test(ft)?`${ft}px`:ft}function zt(){}let Et=!1;const Oe={"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 Je(ft=[]){let Gt=ft;if(Array.isArray(ft)){for(let Pt=0;Pt<ft.length;Pt++){let oe=Oe[ft[Pt]];if(oe)return oe}return Gt[0]}return Oe[Gt]||Gt}let dt=null;const It=()=>Ae(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ft){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ft)}});var st=ft=>{var Gt=ft,{width:Pt="100%",height:oe="100%",value:ae,language:ee="javascript",style:E={},options:re={},overrideServices:ne={},theme:le="vs-dark",onEditBlur:ge,isCopy:Ee=!1,onSave:ze,autoHeight:je=!1,forbidCopy:Xe=!1,forbidCopyTips:it,onChange:pt=zt,editorDidMount:He=zt,onFocus:et=zt,onBreakPoint:$t=zt,breakPointValue:Lt=[],filename:qt="educoder.txt",errorLine:Nt,errorContent:Mt="",highlightLine:Kt,openBreakPoint:Jt=!1,placeholder:gt="",showMiniMap:kt=!0}=Gt,nn=Ge(Gt,["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,b.useRef)(),ct=(0,b.useRef)({}),wt=(0,b.useRef)(),Wt=(0,b.useRef)(),on=(0,b.useRef)([]),fn=(0,b.useRef)(!1),Pn=(0,b.useRef)(),Vn=(0,b.useRef)(),Gn=(0,b.useRef)(!1),[Bn,Un]=(0,b.useState)(!1);function Rt(){let Sn;return vn.current&&(Sn=new tt.Z(Ln=>{for(let rr of Ln)(rr.target.offsetHeight>0||rr.target.offsetWidth>0)&&ct.current.instance.layout()}),Sn.observe(vn.current)),Sn}function Bt(){qe.ZP.warning({content:decodeURIComponent(it||Fe),key:"monaco-editor-tip"})}const un=()=>{let Sn=ct.current.instance;if(ae!=null&&Sn&&Bn){const Ln=Sn.getModel();Ln&&ae!==Ln.getValue()&&(Et=!0,Ln.setValue(ae),Sn.layout(),Et=!1)}};(0,b.useEffect)(()=>{const Sn=Re.Z.subscribe("formatDocument",Ln=>{var rr;let ir=ct.current.instance;(rr=ir==null?void 0:ir.getAction)==null||rr.call(ir,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ln=>{pt(Ln)},Sn},[]),(0,b.useEffect)(()=>{var Sn;let Ln=ct.current.instance;Wt.current&&clearTimeout(Wt.current),Wt.current=setTimeout(()=>{un()},500),ae&&(ae!=null&&ae.length)&&((Sn=Ln==null?void 0:Ln.updateOptions)==null||Sn.call(Ln,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ae.split(/\r\n|\r|\n/g).length))+3,5)}))},[ae,Bn,ct.current]),(0,b.useEffect)(()=>{if(Nt&&ct.current&&ct.current.instance){let Ln=ct.current.instance;Ln.changeViewZones(function(rr){var ir=document.createElement("div");ir.style.padding="10px 20px",ir.style.width="calc(100% - 20px)",ir.className="my-error-line-wrp",ir.innerHTML=Mt,rr.addZone({afterLineNumber:Nt||11,heightInLines:3,domNode:ir})});var Sn={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}};Ln.addOverlayWidget(Sn),Ln.revealPositionInCenter({lineNumber:20,column:1})}},[Nt,ct.current,Bn]);const en=(Sn="",Ln)=>{if(!Sn||Sn.trim()==="")return!0;const ir=ct.current.instance.getModel().getLineTokens(Ln);let Ot=!1;for(let _t=0;_t<2;_t++)ir.getStandardTokenType(_t)===1&&(Ot=!0);return Ot};(0,b.useEffect)(()=>{var Sn;const Ln=(Sn=ct.current)==null?void 0:Sn.instance;if(Ln&&Bn&&Xe){const rr=Ln.onDidBlurEditorWidget(()=>{Gn.current=!1}),ir=Ln.onDidFocusEditorText(()=>{Gn.current=!0});return()=>{rr.dispose(),ir.dispose()}}},[ct.current,Bn,Xe]),(0,b.useEffect)(()=>{var Sn;if((Sn=ct.current)!=null&&Sn.instance&&Bn&&Jt){let Ln=ct.current.instance,rr=Ln.getModel();if(!rr)return;(()=>{var Vt;let jt=[],Yt=[];const ln=rr.getAllDecorations();for(let Rn of ln)Rn.options.className==="highlighted-line"&&(jt.push((Vt=Rn==null?void 0:Rn.range)==null?void 0:Vt.startLineNumber),Yt.push(Rn==null?void 0:Rn.id));if(Kt===jt[0])return;rr.deltaDecorations(Yt,[]);const Wn=rr.getLineCount();Kt&&Kt<=Wn&&(Ln.deltaDecorations([],[{range:new dt.Range(Kt,1,Kt,rr.getLineMaxColumn(Kt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ln.revealLineInCenter(Kt))})();const Ot=(Vt=!1)=>{var jt;let Yt=[],ln=[];const Wn=rr.getAllDecorations();for(let Rn of Wn)Rn.options.linesDecorationsClassName==="breakpoints-select"&&(Yt.push((jt=Rn==null?void 0:Rn.range)==null?void 0:jt.startLineNumber),ln.push(Rn==null?void 0:Rn.id));if(Vt)return{lines:Yt,ids:ln};$t(Yt)},_t=Vt=>Ae(void 0,null,function*(){let jt={range:new dt.Range(Vt,1,Vt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield rr.deltaDecorations([],[jt]),Ot()}),vt=Vt=>Ae(void 0,null,function*(){let jt=[];const Yt=Ln.getLineDecorations(Vt);for(let ln of Yt)ln.options.linesDecorationsClassName==="breakpoints-select"&&jt.push(ln.id);yield rr.deltaDecorations(jt,[]),Ot()}),Zt=Vt=>{let jt=Ln.getLineDecorations(Vt);for(let Yt of jt)if(Yt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,mt.isEqual)(Lt,Ot(!0).lines)){rr.deltaDecorations(Ot(!0).ids,[]);const Vt=Lt.map(jt=>({range:new dt.Range(jt,1,jt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));rr.deltaDecorations([],Vt)}const bt=Ln.onDidChangeModelContent(Vt=>{let jt=Ln.getPosition();if(jt){let Yt=jt.lineNumber;clearTimeout(Vn.current),Vn.current=setTimeout(()=>{en(rr.getLineContent(Yt),Yt)?vt(Yt):Zt(Yt)?(vt(Yt),_t(Yt)):Ot()},100)}}),Ht=Ln.onMouseDown(Vt=>{var jt,Yt,ln;if(Vt.target.detail&&((ln=(Yt=(jt=Vt.target)==null?void 0:jt.element)==null?void 0:Yt.className)!=null&&ln.includes("line-numbers"))){let Wn=Vt.target.position.lineNumber;if(en(rr.getLineContent(Wn),Wn))return;Zt(Wn)?vt(Wn):_t(Wn)}}),nt=Vt=>{let jt={range:new dt.Range(Vt,1,Vt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};on.current=Ln.deltaDecorations(on.current,[jt])},Xt=()=>{on.current=Ln.deltaDecorations(on.current,[])},tn=Ln.onMouseMove(Vt=>{var jt,Yt,ln;if(Xt(),Vt.target.detail&&((ln=(Yt=(jt=Vt.target)==null?void 0:jt.element)==null?void 0:Yt.className)!=null&&ln.includes("line-numbers"))){let Wn=Vt.target.position.lineNumber;if(en(rr.getLineContent(Wn),Wn))return;nt(Wn)}}),dn=Ln.onMouseLeave(()=>{Xt()});return()=>{bt.dispose(),Ht.dispose(),tn.dispose(),dn.dispose()}}},[ct.current,Bn,Lt,Kt,Jt,ee]),(0,b.useEffect)(()=>{var Sn;(Sn=ct.current)!=null&&Sn.instance&&Jt&&ct.current.instance.setPosition({lineNumber:0,column:0})},[Kt]);function Qt(){let Sn=ct.current.instance;if(Sn){const Ln=Sn.getSelection(),rr=ct.current.pastePos||{},ir=new dt.Range(rr.startLineNumber||Ln.endLineNumber,rr.startColumn||Ln.endColumn,rr.endLineNumber||Ln.endLineNumber,rr.endColumn||Ln.endColumn);setTimeout(()=>{Sn.executeEdits("",[{range:ir,text:""}])},300)}}function wn(Sn){(window.navigator.platform.match("Mac")?Sn.metaKey:Sn.ctrlKey)&&Sn.keyCode==83&&(Sn.preventDefault(),ze())}const bn=()=>{if(je&&ct.current.instance){const Sn=ct.current.instance.getContentHeight();Rr(Sn<oe?oe:Sn)}else Rr(oe)};function kn(Sn){var Ln=document.createEvent("MouseEvents");Ln.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Sn.dispatchEvent(Ln)}const Xn=Sn=>{if(!Gn.current)return;const{keyCode:Ln,ctrlKey:rr,metaKey:ir,target:Ot,type:_t}=Sn;return(_t==="paste"||(Ln===67||Ln===86)&&(ir||rr))&&Ot.nodeName==="TEXTAREA"&&(Bt(),Sn.preventDefault()),!1};function zn(Sn,Ln){var rr=window.URL||window.webkitURL||window,ir=new Blob([Ln]),Ot=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ot.href=rr.createObjectURL(ir),Ot.download=Sn,kn(Ot)}(0,b.useEffect)(()=>{bn()},[bn]),(0,b.useEffect)(()=>{vn.current&&!Bn&&Promise.all([te.e(8909),te.e(5977)]).then(te.bind(te,71448)).then(Sn=>{try{dt=Sn,ct.current.instance=dt.editor.create(vn.current,{value:ae,language:Je(ee),theme:le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:kt||!1}},ne);const Ln=ct.current.instance;let Ot=[...ke.BH._menuItems].find(bt=>bt[0]._debugName=="EditorContext")[1],_t=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vt=(bt,Ht)=>{var nt,Xt;let tn=bt._first;do Ht.includes((Xt=(nt=tn.element)==null?void 0:nt.command)==null?void 0:Xt.id)&&bt._remove(tn);while(tn=tn.next)};if(He(Ln,dt),setTimeout(()=>{bn(),ct.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{zn(qt||"educoder.txt",Ln.getValue())}})},500),ct.current.subscription=Ln.onDidChangeModelContent(bt=>{fn.current?clearTimeout(Pn.current):(bn(),pt(Ln.getValue(),bt)),Pn.current=setTimeout(()=>{fn.current=!1},500)}),window.Monaco||xe(dt,Je(ee)),Xe&&(vt(Ot,_t),vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Xn),window.removeEventListener("paste",Xn),window.addEventListener("keydown",Xn),window.addEventListener("paste",Xn)),window.Monaco=dt,ge&&Ln.onDidBlurEditorWidget(()=>{ge(Ln.getValue())}),et&&Ln.onDidFocusEditorText(()=>{Xe&&It(),et(Ln.getValue())}),Xe){It();try{Ln.onDidPaste(bt=>{const Ht=Ln.getSelection(),nt=ct.current.pastePos||{},Xt=new dt.Range(nt.startLineNumber||Ht.endLineNumber,nt.startColumn||Ht.endColumn,nt.endLineNumber||Ht.endLineNumber,nt.endColumn||Ht.endColumn);Ln.executeEdits("",[{range:bt.range,text:""}])})}catch(bt){}}let Zt=Rt();return gt&&typeof gt=="string"&&new ce(gt,Ln,dt),Un(!0),()=>{const bt=ct.current.instance;bt.dispose();const Ht=bt.getModel();Ht&&Ht.dispose(),ct.current.subscription&&ct.current.subscription.dispose(),Zt.unobserve(vn.current)}}catch(Ln){}})},[]),(0,b.useEffect)(()=>{if(ct.current.instance&&Bn)return document.addEventListener("keydown",wn,!1),()=>{document.removeEventListener("keydown",wn)}},[ze,Bn]),(0,b.useEffect)(()=>{let Sn=ct.current.instance;if(Sn&&Bn){let Ln=Je(ee);dt.editor.setModelLanguage(Sn.getModel(),Ln)}},[ee,Bn]),(0,b.useEffect)(()=>{ct.current.instance&&Bn&&dt.editor.setTheme(le)},[le,Bn]),(0,b.useEffect)(()=>{let Sn=ct.current.instance;wt.current=re,Sn&&Bn&&(Sn.updateOptions(yt({},re)),setTimeout(()=>{Sn.getModel().updateOptions(yt({},re))},200))},[JSON.stringify(re),Bn]),(0,b.useEffect)(()=>{let Sn=ct.current.instance;Sn&&Bn&&Sn.layout()},[Pt,oe,Bn]);const[Fn,nr]=(0,b.useState)(ot(Pt)),[tr,Rr]=(0,b.useState)(ot(oe)),Ir=Dt(yt({},E),{width:Fn,height:tr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:vn,style:Ir,onFocus:()=>{Xe&&It()}},Ee&&b.createElement(Ye.CopyToClipboard,{text:ae,onCopy:()=>qe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(_e.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ft({width:ft="100%",height:Gt="100%",original:Pt,modified:oe,language:ae,options:ee={}}){const E=(0,b.useRef)(),[re,ne]=(0,b.useState)(null);function le(je){let Xe;return E.current&&(Xe=new tt.Z(it=>{for(let pt of it)(pt.target.offsetHeight>0||pt.target.offsetWidth>0)&&je.layout()}),Xe.observe(E.current)),Xe}(0,b.useEffect)(()=>(E.current&&Promise.all([te.e(8909),te.e(9404)]).then(te.bind(te,2550)).then(je=>{dt=je;const Xe=dt.editor.createDiffEditor(E.current,Dt(yt({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},ee),{wordWrap:!0}));ne(Xe);let it=le(Xe);return()=>{Xe.dispose();const pt=Xe.getModel();pt&&pt.dispose(),it.unobserve(E.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{re&&re.setModel({original:dt.editor.createModel(Pt,ae),modified:dt.editor.createModel(oe,ae)})},[Pt,oe,ae,re]);const ge=ot(ft),Ee=ot(Gt),ze={width:ge,height:Ee};return b.createElement("div",{className:"my-diff-editor",ref:E,style:ze})}},54077:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Le}});var b={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"},tt=te(29787),pe=te(25399),Ue=te(89787),Pe=te(92310),me=te.n(Pe),ve=te(76406),fe=te(90736),be=te(59301),Le=({className:we,dataSource:Te=[],col:xe=4,right:Fe,bottom:Ce=23,precision:De=0,wrapWidth:Be=1200,trackEventItems:Ze,loading:rt,onRemove:ce=()=>{},isCurrent:ke=!0,showProgress:qe=!1,showAlias:_e=!1,category:mt="notDisplay",hiddenClick:Re=()=>{}})=>{const Ye=Math.floor((Be-(xe-1)*Fe)/xe),lt=[{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 be.createElement(tt.Z,{spinning:rt},be.createElement("div",{className:me()(b.list,we)},!!(Te!=null&&Te.length)&&(Te==null?void 0:Te.map((Se,Qe)=>{var he,ye,Ct,Ke,yt,Dt,Ge;const{name:Ae,id:ot,identifier:zt,featured:Et,school_name:Oe,image_url:Je,excellent:dt,is_plan:It}=Se;return be.createElement("div",{key:ot,className:ke&&qe?b.wrapisCurrent:b.wrap,style:{width:Ye,marginRight:(1+Qe)%xe===0?0:Fe+De,marginBottom:Ce}},be.createElement("a",{className:b.li,onClick:st=>{st.preventDefault(),st.stopPropagation(),Ze&&(0,ve.L9)([Ze]),(0,ve.xg)(`/paths/${zt}`)}},be.createElement("div",{className:b.img},be.createElement("img",{className:b.cover,src:`${Je}`}),(he=Se==null?void 0:Se.subject_tags)==null?void 0:he.map((st,Ft)=>{var ft,Gt;if(Ft===0){const oe=(ft=lt.find(ae=>ae.name==st))==null?void 0:ft.swclass;return be.createElement("span",{className:`sprite ${oe} ${b.sign}`,style:{left:"-4px"}})}const Pt=(Gt=lt.find(oe=>oe.name==st))==null?void 0:Gt.ptclass;return be.createElement("span",{className:`sprite ${Pt} ${b.sign}`,style:{left:`${48+52*(Ft-1)+2*Ft}px`}})}),be.createElement("div",{className:b.tagsDom},be.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Se==null?void 0:Se.excellent)&&be.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ye=Se==null?void 0:Se.custom_tags)==null?void 0:ye.length)>0&&(Se==null?void 0:Se.custom_tags.map((st,Ft)=>{var ft;return be.createElement(pe.Z,{title:st==null?void 0:st.tag_name,key:Ft},be.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((ft=Se==null?void 0:Se.custom_tags)==null?void 0:ft.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},be.createElement("span",{className:"multi-llipsis1e"},st==null?void 0:st.tag_name)))})))),mt=="hide"&&(Se==null?void 0:Se.studying)&&ke&&be.createElement("div",{className:`${b.movebq} user-path-items`,onClick:st=>{st.stopPropagation(),ce(Se)}},be.createElement("i",{className:"iconfont icon-yichu1 font12"}),be.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(mt)&&ke&&be.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:st=>{st.stopPropagation(),Re(Se)}},be.createElement("i",{className:`iconfont ${mt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),be.createElement("span",null,mt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),be.createElement("div",{className:b.name},be.createElement(pe.Z,{title:_e&&(Se!=null&&Se.excellent_alias_name)?be.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ae}`,be.createElement("br",null),be.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Se==null?void 0:Se.excellent_alias_name}`)):Ae},be.createElement("span",{className:b.e},_e&&(Se==null?void 0:Se.excellent_alias_name)||Ae))),ke&&qe&&((Ct=Se==null?void 0:Se.progress)==null?void 0:Ct.all_score)!=0&&be.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},be.createElement(Ue.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ke=Se==null?void 0:Se.progress)==null?void 0:Ke.my_score)/((yt=Se==null?void 0:Se.progress)==null?void 0:yt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Dt=Se==null?void 0:Se.progress)==null?void 0:Dt.my_score,"/",(Ge=Se==null?void 0:Se.progress)==null?void 0:Ge.all_score),(!ke||!qe)&&be.createElement(pe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Oe}`},be.createElement("div",{className:b.unit},be.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Oe)),(!ke||!qe)&&be.createElement("div",{className:b.tags},be.createElement("div",null,be.createElement(pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},be.createElement("span",null,be.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),be.createElement("span",null,Se.stages_count))),be.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},be.createElement("span",null,be.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),be.createElement("span",null,Se.members_count)))))))})),!Te.length&&be.createElement(fe.Z,null)))}},70467:function(Tn,sn,te){"use strict";te.d(sn,{jL:function(){return Ue},w9:function(){return Ae},QD:function(){return Lt},cQ:function(){return Qe.Z},op:function(){return Xe},O5:function(){return Rt},_b:function(){return gt},t7:function(){return De},Gi:function(){return dt},YG:function(){return Oe},qp:function(){return de},vr:function(){return Mt},qE:function(){return He},Je:function(){return rt},wb:function(){return Se},cq:function(){return Pt},tp:function(){return Te}});var b=te(59301),tt={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"},Ue=({dataSource:Bt=[],img:un,imgWidth:en=346,title:Qt,sunTitle:wn,bannerExtraContent:bn})=>b.createElement("div",{className:tt.banner},b.createElement("div",{className:tt.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Qt),b.createElement("span",null,wn)),Bt.length>0&&b.createElement("div",{className:tt.btns},Bt.map((kn,Xn)=>b.createElement("div",{key:Xn,onClick:kn.click},kn.name,kn.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),bn),un&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:un,width:en}))),Pe={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"},me=te(92310),ve=te.n(me),fe=te(78267),de=({dataSource:Bt=[],value:un,onChange:en,onTitleChange:Qt,className:wn,title:bn,titleWidth:kn=41,style:Xn={},fontColor:zn="#6A7283",showCount:Fn})=>{const[nr,tr]=(0,b.useState)(1),[Rr,Ir]=(0,b.useState)(!1),Sn=(0,b.useRef)(null),Ln=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var rr;Bt.length!==0&&(((rr=Sn==null?void 0:Sn.current)==null?void 0:rr.clientHeight)>97?tr(1):tr(0)),Bt.length===0&&tr(0),Ir(!1)},[Bt]),b.createElement("div",{className:ve()(Pe.row,wn,"fadeIn","animated"),style:Xn},b.createElement("div",{onClick:(0,fe.throttle)(()=>Qt==null?void 0:Qt(),2e3),style:{width:kn,marginTop:Rr?12:4},className:`${Pe.title} ${Qt?"current":""}`},bn),b.createElement("div",{className:Rr?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},b.createElement("div",{className:Pe.bar,ref:Ln,style:nr>0?{height:nr===1?97:"auto",overflow:nr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Pe.tag,ref:Sn},Bt==null?void 0:Bt.map(rr=>b.createElement("span",{onClick:()=>en(rr.id),key:rr.id,style:{color:zn},className:un===rr.id?Pe.active:""},b.createElement("span",{title:rr.name,className:Pe.name},rr.name),!!Fn&&b.createElement("span",{className:Pe.num},rr.count))))),!!nr&&b.createElement(b.Fragment,null,nr===1?b.createElement("div",{onClick:()=>{var rr;tr(2),((rr=Sn==null?void 0:Sn.current)==null?void 0:rr.clientHeight)>245?Ir(!0):Ir(!1)},className:Pe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Ln.current.scrollTop=0,tr(1),Ir(!1)},className:Pe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Le={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"},Te=({dataSource:Bt=[],value:un,onChange:en,className:Qt,style:wn={}})=>b.createElement("div",{style:wn,className:ve()(Le.tabs,Qt)},Bt.map(bn=>b.createElement("span",{onClick:()=>en(bn.id),className:un===bn.id?Le.active:"",key:bn.id},bn.name))),xe={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"},Fe=te(37568),De=({dataSource:Bt=[],value:un="",onChange:en,onInputChange:Qt=()=>{},className:wn,style:bn={},placeholder:kn,allowClear:Xn=!1})=>{var zn;const[Fn,nr]=(0,b.useState)(""),[tr,Rr]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ln;let rr=un;(Ln=JSON.stringify(un))!=null&&Ln.includes("{")&&(nr(un.id),rr=un.value||"");try{Rr(decodeURIComponent(rr||""))}catch(ir){Rr(decodeURIComponent(rr||""))}},[un]);const Ir=()=>{en(encodeURIComponent(tr),Fn||null)},Sn=Ln=>{Ln!==Fn&&(nr(Ln),en(encodeURIComponent(tr),Ln))};return b.createElement("div",{className:ve()(xe.input,wn),style:bn},!!Bt.length&&b.createElement("div",{className:xe.dropdown},b.createElement("div",{className:xe.text},(zn=Bt.find(Ln=>Ln.id===Fn))==null?void 0:zn.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:xe.b1}),b.createElement("b",{className:xe.b2})),b.createElement("div",{className:xe.menu},Bt.map((Ln,rr)=>b.createElement("div",{key:rr,onClick:()=>Sn(Ln.id)},Ln.name)))),b.createElement(Fe.default,{onPressEnter:Ir,value:tr,onChange:Ln=>{Rr(Ln.target.value),Qt(encodeURIComponent(Ln.target.value),Fn||null)},placeholder:kn,variant:"borderless",allowClear:Xn,onClear:()=>en("",Fn||null)}),b.createElement("i",{onClick:Ir,className:"iconfont icon-sousuo9 font14 current"}))},Be={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"},rt=({value:Bt,onChange:un,className:en,total:Qt,pageSize:wn,style:bn={}})=>{const kn=Bt<2,Xn=Bt>=Math.ceil(Qt/wn);return Qt<=wn?b.createElement(b.Fragment,null):b.createElement("div",{className:ve()(Be.quickPager,en),style:bn},b.createElement("div",{onClick:()=>{kn||un(Bt-1,"prev")},className:kn?Be.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Xn||un(Bt+1,"next")},className:Xn?Be.disabled:""},"\u4E0B\u4E00\u9875"))},ce={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"},ke=te(29787),qe=te(25399),_e=te(63139),mt=te(14185),Re=te(76406),Ye=te(90736),Se=({className:Bt,dataSource:un=[],col:en=4,right:Qt,bottom:wn=23,precision:bn=0,wrapWidth:kn=1200,trackEventItems:Xn,loading:zn})=>{const Fn=Math.floor((kn-(en-1)*Qt)/en);return b.createElement(ke.Z,{spinning:zn},b.createElement("div",{className:ve()(ce.list,Bt)},!!un.length&&un.map((nr,tr)=>{const{name:Rr,id:Ir,identifier:Sn,power:Ln,cover_image_id:rr,pic:ir}=nr;return b.createElement("div",{className:ce.wrap,key:Ir,style:{width:Fn,marginRight:(1+tr)%en===0?0:Qt+bn,marginBottom:wn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Sn}/challenges`,className:ce.li,onClick:Ot=>{Ot.preventDefault(),Xn&&(0,Re.L9)([Xn]),Ln&&(0,Re.xg)(`/shixuns/${Sn}/challenges`)}},b.createElement("div",{className:ce.img},b.createElement("img",{className:ce.cover,src:`${ir}`}),nr.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${ce.sign}`}),nr.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${ce.sign}`}),nr.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${ce.sign}`})),b.createElement("div",{className:ce.name},b.createElement(qe.Z,{title:Rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ce.e},Rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ce.tags},b.createElement(qe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,nr.challenges_count))),!!nr.myshixuns_count&&b.createElement(qe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,nr.myshixuns_count))),b.createElement(qe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,nr.level))),b.createElement("div",{className:ce.rate},b.createElement(_e.Z,{allowHalf:!0,disabled:!0,defaultValue:nr.score_info}),b.createElement("span",null,"\xA0",nr.score_info?`${nr.score_info}\u5206`:"5\u5206")))),!Ln&&b.createElement("div",{className:ce.lockWrap},b.createElement("img",{src:`${mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!un.length&&b.createElement(Ye.Z,null)))},Qe=te(54077),he={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"},ye=te(62957),Ct=te(96599),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXK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1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",yt=te(59301),Dt=(Bt,un,en)=>new Promise((Qt,wn)=>{var bn=zn=>{try{Xn(en.next(zn))}catch(Fn){wn(Fn)}},kn=zn=>{try{Xn(en.throw(zn))}catch(Fn){wn(Fn)}},Xn=zn=>zn.done?Qt(zn.value):Promise.resolve(zn.value).then(bn,kn);Xn((en=en.apply(Bt,un)).next())}),Ae=({className:Bt,dataSource:un=[],col:en=4,right:Qt,bottom:wn=23,precision:bn=0,wrapWidth:kn=1200,trackEventItems:Xn,loading:zn,category:Fn,hiddenClick:nr,handleVery:tr=()=>!0,isCurrent:Rr})=>{const[Ir,Sn]=ye.default.useModal(),Ln=Math.floor((kn-(en-1)*Qt)/en),rr=ir=>Dt(void 0,null,function*(){Ir.confirm({title:"\u7F6E\u9876",width:500,content:yt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",yt.createElement("span",{className:"c-blue"},"\u201C",ir.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return yt.createElement(ke.Z,{spinning:zn},Sn,yt.createElement("div",{className:ve()(he.list,Bt)},!!un.length&&un.map((ir,Ot)=>{const{subject_identifier:_t,id:vt,identifier:Zt,power:bt}=ir,Ht=ir.is_public!=0&&ir.is_public;return yt.createElement("div",{className:he.wrap,key:vt,style:{width:Ln,marginRight:(1+Ot)%en===0?0:Qt+bn,marginBottom:wn}},ir.homepage_show&&yt.createElement("div",{className:he.btnsTop},yt.createElement(Ct.default,{color:"red"},"\u7F6E\u9876")),yt.createElement("a",{className:he.li,onClick:nt=>{nt.preventDefault(),tr(ir==null?void 0:ir.first_category_url)&&(Xn&&(0,Re.L9)([Xn]),(0,Re.xg)(ir.first_category_url))}},yt.createElement("div",{className:he.top},yt.createElement(qe.Z,{title:ir.name},yt.createElement("div",{className:he.name},ir.name)),yt.createElement("img",{className:he.img,src:mt.Z.IMG_SERVER+"/images/"+ir.avatar_url}),yt.createElement("div",{className:he.text,title:ir.creator},ir.creator),_t&&yt.createElement("div",{className:he.btns},yt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),yt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ht&&yt.createElement("div",{className:he.sign},"\u516C\u5F00"),Rr&&yt.createElement("div",{className:he.hidden,onClick:nt=>{nt.stopPropagation(),nr(ir)}},yt.createElement("i",{className:`iconfont ${Fn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Fn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),yt.createElement("div",{className:he.bottom},ir.visits>0&&yt.createElement(qe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},yt.createElement("span",null,yt.createElement("i",{className:"iconfont icon-liulanyan"}),yt.createElement("span",null,ir.visits))),ir.course_members_count>0&&yt.createElement(qe.Z,{title:"\u6210\u5458",placement:"bottom"},yt.createElement("span",null,yt.createElement("i",{className:"iconfont icon-chengyuan"}),ir.course_members_count)),ir.tasks_count>0&&yt.createElement(qe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},yt.createElement("span",null,yt.createElement("i",{className:"iconfont icon-zuoye"}),ir.tasks_count)),ir.is_end?yt.createElement("div",{style:{color:"#6B758B"}}):yt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ir.is_accessible&&yt.createElement("div",{className:he.lockWrap},yt.createElement("img",{src:`${mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),yt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!un.length&&yt.createElement(Ye.Z,null)))},ot={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=te(44283),Oe=({dataSource:Bt=[],value:un,onChange:en,className:Qt,style:wn={},tabBarExtraContent:bn})=>b.createElement("div",{className:ve()(ot.tabs,Qt),style:wn},b.createElement("div",{className:ot.tabsWrap},Bt.map((kn,Xn)=>!(kn!=null&&kn.hide)&&b.createElement("aside",{className:ot.tab,onClick:()=>{en(kn.id),kn.link&&zt.history.push(kn.link)},key:Xn},b.createElement("div",{className:un===kn.id?ot.active:""},kn.name),(kn==null?void 0:kn.resetCount)==null&&(kn==null?void 0:kn.total)!==void 0&&b.createElement("span",null,"\uFF08",kn==null?void 0:kn.total,"\uFF09"),(kn==null?void 0:kn.resetCount)!==void 0&&(kn==null?void 0:kn.total)!==void 0&&b.createElement(qe.Z,{title:(kn==null?void 0:kn.tip)!=null?kn==null?void 0:kn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},kn==null?void 0:kn.resetCount),"/",b.createElement("span",null,kn==null?void 0:kn.total),"\uFF09"))))),b.createElement("div",{className:ot.tabBar},bn)),dt=({className:Bt,style:un={},children:en})=>b.createElement("div",{className:ve()(Bt),style:un},en),It={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"},st=te(75727),Ft=te(93041);const ft=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Pt=({sortValue:Bt,dropValue:un,className:en,onSort:Qt,onDrop:wn,dataSource:bn=ft})=>{var kn;return b.createElement("div",{className:ve()(It.orderWrap,en)},b.createElement(st.Z,{dropdownRender:()=>b.createElement(Ft.default,null,bn.map((Xn,zn)=>b.createElement(Ft.default.Item,{key:zn,onClick:()=>wn(Xn.id)},Xn.name)))},b.createElement("span",{className:It.orderTextWrap},(kn=bn.find(Xn=>un===Xn.id))==null?void 0:kn.name)),b.createElement("span",{className:It.orderIconWrap},b.createElement("span",{className:It.orderAsc},b.createElement("i",{className:Bt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer}`,onClick:()=>Qt(Bt==="asc"?"desc":"asc")})),b.createElement("span",{className:It.orderDesc},b.createElement("i",{className:Bt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer}`,onClick:()=>Qt(Bt==="asc"?"desc":"asc")}))))},oe={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"},ae=te(7939),ee=Object.defineProperty,E=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,le=(Bt,un,en)=>un in Bt?ee(Bt,un,{enumerable:!0,configurable:!0,writable:!0,value:en}):Bt[un]=en,ge=(Bt,un)=>{for(var en in un||(un={}))re.call(un,en)&&le(Bt,en,un[en]);if(E)for(var en of E(un))ne.call(un,en)&&le(Bt,en,un[en]);return Bt},Ee=(Bt,un)=>{var en={};for(var Qt in Bt)re.call(Bt,Qt)&&un.indexOf(Qt)<0&&(en[Qt]=Bt[Qt]);if(Bt!=null&&E)for(var Qt of E(Bt))un.indexOf(Qt)<0&&ne.call(Bt,Qt)&&(en[Qt]=Bt[Qt]);return en},ze=(Bt,un,en)=>new Promise((Qt,wn)=>{var bn=zn=>{try{Xn(en.next(zn))}catch(Fn){wn(Fn)}},kn=zn=>{try{Xn(en.throw(zn))}catch(Fn){wn(Fn)}},Xn=zn=>zn.done?Qt(zn.value):Promise.resolve(zn.value).then(bn,kn);Xn((en=en.apply(Bt,un)).next())}),Xe=Bt=>{var un=Bt,{className:en,style:Qt,children:wn,loading:bn=!1,openLoading:kn,onClick:Xn=()=>{},size:zn="middle",shape:Fn="round"}=un,nr=Ee(un,["className","style","children","loading","openLoading","onClick","size","shape"]);const[tr,Rr]=(0,b.useState)(!1);return b.createElement(ae.ZP,ge({onClick:(0,fe.throttle)(Ir=>ze(void 0,null,function*(){kn&&Rr(!0);try{yield Xn(Ir)}catch(Sn){console.log("error",Sn)}kn&&Rr(!1)}),2e3,{leading:!0,trailing:!1}),className:ve()(oe.btn,oe[`${zn}-${Fn}`],en),style:Qt,size:zn,shape:Fn,loading:tr||bn},nr),wn)},it={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"},He=({className:Bt,style:un,children:en=null,onClick:Qt,title:wn})=>b.createElement("div",{className:ve()(it.head,Bt),style:un},b.createElement("span",{className:"primary-hover",onClick:Qt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:wn},wn),b.createElement("div",{className:it.node},en)),et={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"},Lt=({confirmShow:Bt=!0,confirmTitle:un,confirmClick:en,cancelShow:Qt=!0,cancelTitle:wn,cancelClick:bn,className:kn,style:Xn,confirmLoading:zn=!1})=>b.createElement("div",{className:ve()(et.btns,kn),style:Xn},Bt&&b.createElement(ae.ZP,{loading:zn,onClick:en,type:"primary",className:et.confirm},un),Qt&&b.createElement(ae.ZP,{onClick:bn,className:et.cancel},wn)),qt={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"},Mt=({className:Bt,style:un={},LeftContent:en,children:Qt,RightContent:wn})=>b.createElement("div",{className:ve()(qt.fixedBottom,Bt),style:un},b.createElement("div",{className:qt.wrap},b.createElement("div",{className:qt.left},en),b.createElement("div",{className:qt.center},Qt),b.createElement("div",{className:qt.right},wn))),Kt={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"},gt=({className:Bt,style:un={},dataSource:en=[]})=>b.createElement("div",{className:ve()(Kt.crumbs,Bt),style:un},en.map((Qt,wn)=>wn<en.length-1?b.createElement(b.Fragment,{key:wn},Qt.path||Qt.onClick?b.createElement("span",{className:Kt.hover,onClick:Qt!=null&&Qt.onClick?Qt.onClick:()=>zt.history.push(Qt.path)},Qt.name):b.createElement("span",null,Qt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:wn,style:{color:"#5F6368"}},Qt.name))),kt=te(11938),nn=Object.defineProperty,vn=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,fn=(Bt,un,en)=>un in Bt?nn(Bt,un,{enumerable:!0,configurable:!0,writable:!0,value:en}):Bt[un]=en,Pn=(Bt,un)=>{for(var en in un||(un={}))Wt.call(un,en)&&fn(Bt,en,un[en]);if(wt)for(var en of wt(un))on.call(un,en)&&fn(Bt,en,un[en]);return Bt},Vn=(Bt,un)=>vn(Bt,ct(un)),Gn=(Bt,un)=>{var en={};for(var Qt in Bt)Wt.call(Bt,Qt)&&un.indexOf(Qt)<0&&(en[Qt]=Bt[Qt]);if(Bt!=null&&wt)for(var Qt of wt(Bt))un.indexOf(Qt)<0&&on.call(Bt,Qt)&&(en[Qt]=Bt[Qt]);return en};const{Countdown:Bn}=kt.default;var Rt=Bt=>{var un=Bt,{onChange:en}=un,Qt=Gn(un,["onChange"]);const[wn,bn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof wn=="number"&&wn>=0&&en(wn)},[wn]);const kn=Xn=>{const zn=Math.floor(Xn/1e3);bn(zn)};return b.createElement(Bn,Vn(Pn({},Qt),{onChange:kn}))}},79006:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return tt}});var b=te(59301);function tt(pe,Ue){const Pe=(0,b.useRef)();(0,b.useEffect)(()=>{Pe.current=pe}),(0,b.useEffect)(()=>{function me(){Pe.current()}if(Ue!==null){let ve=setInterval(me,Ue);return()=>clearInterval(ve)}},[Ue])}},28450:function(Tn,sn,te){"use strict";te.d(sn,{Q8:function(){return Ae},d0:function(){return ot},w6:function(){return Ge}});var b=te(59301),tt=te(24017),pe=te(82326),Ue=te(6767),Pe=te(62957),me=te(47889),ve=te(77019),fe=te(5269),be=te(25399),de=te(62673),Le=te(7939),we=te(66649),Te=te.n(we),xe=te(15267),Fe=te(49317),Ce=te(78267),De=te.n(Ce),Be=te(76406),Ze=te(90834),rt=te(44283),ce=te(47026),ke=te(24532),qe=te(44624),_e=te(27878),mt=te(66443),Re=te(59301),Ye=Object.defineProperty,lt=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ct=(dt,It,st)=>It in dt?Ye(dt,It,{enumerable:!0,configurable:!0,writable:!0,value:st}):dt[It]=st,Ke=(dt,It)=>{for(var st in It||(It={}))he.call(It,st)&&Ct(dt,st,It[st]);if(Qe)for(var st of Qe(It))ye.call(It,st)&&Ct(dt,st,It[st]);return dt},yt=(dt,It)=>lt(dt,Se(It)),Dt=(dt,It,st)=>new Promise((Ft,ft)=>{var Gt=ae=>{try{oe(st.next(ae))}catch(ee){ft(ee)}},Pt=ae=>{try{oe(st.throw(ae))}catch(ee){ft(ee)}},oe=ae=>ae.done?Ft(ae.value):Promise.resolve(ae.value).then(Gt,Pt);oe((st=st.apply(dt,It)).next())});function Ge(dt,It){const st=[];for(let Ft=dt;Ft<It;Ft++)st.push(Ft);return st}const Ae=(dt,It,st)=>{const Ft=dt<Te()().startOf("day"),ft=dt>Te()(It).endOf("day"),Gt=dt<Te()(st).startOf("day");return It?st?Te()()<=Te()(st)?Gt||ft:Ft||ft:dt&&Ft||ft:st&&Te()()<=Te()(st)?Gt:Ft},ot=(dt,It)=>{const st=parseInt(Te()(dt).format("HH")),Ft=parseInt(Te()().format("HH")),ft=parseInt(Te()().format("mm"));if(!dt)return{disabledHours:()=>Ge(0,Ft),disabledMinutes:()=>Ge(0,ft)};if(It){const Gt=parseInt(Te()(It).format("HH")),Pt=parseInt(Te()(It).format("mm"));return Te()(dt).isSame(Te()(It),"day")?{disabledHours:()=>Ge(0,Gt),disabledMinutes:()=>st<=Gt?Ge(0,Pt):[]}:void 0}if(Te()(dt).isSame(Te()(),"day"))return{disabledHours:()=>Ge(0,Ft),disabledMinutes:()=>Te()(dt).isSame(Te()(),"hour")&&st<=Ft?Ge(0,ft):[]}},zt=(dt,It)=>dt==null?void 0:dt.map(st=>{var Ft;return(Ft=It==null?void 0:It.find(ft=>ft.value===st))==null?void 0:Ft.id}),{RangePicker:Et}=tt.default,{Option:Oe}=pe.default,Je=({shixunHomeworks:dt,loading:It,dispatch:st,classroomList:Ft,user:ft})=>{var Gt,Pt,oe,ae,ee,E,re,ne,le;const ge=(0,rt.useParams)(),{workSetting:Ee,workList:ze,shixunWorkList:je,headerInfo:Xe,changeData:it}=dt,[pt,He]=(0,b.useState)(!1),[et,$t]=(0,b.useState)(!1);let[Lt,qt]=(0,b.useState)([]),[Nt,Mt]=(0,b.useState)([]),[Kt,Jt]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ce.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[gt,kt]=(0,b.useState)({}),[nn,vn]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{qt([])},[]),(0,b.useEffect)(()=>{He(!(0,xe.GJ)())},[(0,xe.GJ)()]);const ct=()=>{st({type:"shixunHomeworks/getWorkSetting",payload:Ke({},ge)})};(0,b.useEffect)(()=>{if(!(Ee!=null&&Ee.course_id))return;Object.keys(Kt).map(function(Bt){Kt[Bt]=Ee[Bt]}),(!Kt.allow_late||!Kt.unified_late)&&(Kt.late_penalty=20,Kt.penalty_type=ce.Q.Percent),Kt.unified_setting||(Kt.unified_late=!1,Kt.unified_anonymous_comment=!1,Kt.unified_anonymous_appeal=!1),Lt=JSON.parse(JSON.stringify(Ee.group_settings.map(Bt=>yt(Ke({},Bt),{group_name:[Bt.group_name]})).filter(Bt=>Bt.publish_time!==null))),Nt=JSON.parse(JSON.stringify(Ee.allow_late_settings.map(Bt=>yt(Ke({},Bt),{group_name:[Bt.group_name]})).filter(Bt=>Bt.late_time!==null))),Jt(Ke({},Kt));const Rt=(0,Be.QE)((Lt==null?void 0:Lt.length)>0?Lt:[]);qt([...Rt]),(Nt==null?void 0:Nt.length)<=0?Mt([{penalty_type:ce.Q.Percent,late_penalty:20}]):Mt([...Nt])},[Ee]);const wt=()=>Dt(void 0,null,function*(){var Rt,Bt,un,en,Qt,wn,bn,kn;if(((un=(Bt=(Rt=ft==null?void 0:ft.userInfo)==null?void 0:Rt.course)==null?void 0:Bt.shixun_homework_info)==null?void 0:un.shixun_homework_remaining_count)===0&&((Qt=(en=dt==null?void 0:dt.headerInfo)==null?void 0:en.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))){(0,Be.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(bn=(wn=(0,xe.eY)())==null?void 0:wn.course)==null?void 0:bn.course_name}\u3011\u7684\u8BFE\u5802\u5B9E\u9A8C\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if(((kn=ft==null?void 0:ft.userInfo)==null?void 0:kn.user_status)===2){(0,ke.Rd)();return}const Xn=JSON.parse(JSON.stringify(Kt));if(Xn.challenge_settings.filter(Fn=>!Fn.hide),Xn.categoryId=ge.categoryId,console.log(Lt),!Kt.unified_setting)Lt=Lt==null?void 0:Lt.map(Fn=>{var nr;if(!Fn.publish_time||!Fn.end_time)throw Ue.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ue.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(nr=Ee.group_settings)==null?void 0:nr.filter(tr=>{var Rr;return(Rr=Fn==null?void 0:Fn.group_name)==null?void 0:Rr.includes(tr.group_name)}).map(tr=>tr.group_id||tr.id).toString().split(","),Fn});else if(!Kt.publish_time||!Kt.end_time)throw Ue.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Xn.group_settings=Lt,Kt.allow_late)if(Kt.unified_late){if(Kt.late_penalty===null||Kt.late_penalty===void 0||Kt.late_penalty<0||Kt.late_penalty>100)throw Ue.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Kt.late_time)throw Ue.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Nt=Nt==null?void 0:Nt.map(Fn=>{var nr,tr;if(Fn.late_penalty===null||Fn.late_penalty===void 0||Fn.late_penalty<0||Fn.late_penalty>100)throw Ue.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Fn.late_time)throw Ue.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ue.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(tr=(nr=Fn==null?void 0:Fn.group_name)==null?void 0:nr.map(Rr=>{var Ir,Sn;let Ln=(Sn=(Ir=Ee.group_settings)==null?void 0:Ir.filter(rr=>(rr==null?void 0:rr.group_name)===Rr))==null?void 0:Sn[0];return Ln==null?void 0:Ln.group_id}))==null?void 0:tr.toString().split(","),Fn}),Xn.allow_late_settings=Nt;let zn=yield(0,mt.Tr)({homework_common_ids:[parseInt(ge.categoryId)],course_id:ge.coursesId,type:"homework_common"});(zn==null?void 0:zn.student_count)===0?Wt(Xn):(vn(Xn),kt(zn))}),Wt=Rt=>{if(Rt.total_score===null){Ue.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Rt!=null&&Rt.work_efficiency&&Rt.eff_score===null){Ue.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Bt=Rt.challenge_settings.reduce((Qt,wn)=>Qt+Number(wn.challenge_score),0),un={shixun_evaluation:Rt.shixun_evaluation,challenge_settings:Rt.challenge_settings};let en=()=>{var Qt;const wn=()=>Dt(void 0,null,function*(){$t(!0),(yield(0,Fe.ZP)(`/api/homework_commons/${ge.categoryId}/publish_setting.json`,{method:"post",body:Ke({},Rt)})).status===0&&(Ue.ZP.success("\u66F4\u65B0\u6210\u529F"),ct(),st({type:"user/getUserInfo",payload:{course_id:ge.coursesId}}),st({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ke({},ge)})),$t(!1)});!(0,Ce.isEqual)(it,un)&&!((Qt=Xe==null?void 0:Xe.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))?Pe.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:wn}):wn()};Ee!=null&&Ee.high_resources_consume&&!(Ee!=null&&Ee.high_resources_consume_permission)?st({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:ge.coursesId,type:"shixun",type_id:ge.categoryId,name:Ee.homework_name,fn:()=>{en()}}}):en()},on=(Rt,Bt,un="group_id")=>{var en;return Bt?Bt.find(Qt=>Qt[un]===Rt):(en=Ee==null?void 0:Ee.group_settings)==null?void 0:en.find(Qt=>Qt.group_id[0]===Rt)},fn=(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.anonymous_comment),Pn=Rt=>{var Bt,un;const en=on(Rt,Ee==null?void 0:Ee.allow_late_settings,"id"),Qt=on(Rt,Ee==null?void 0:Ee.anonymous_comment_settings),wn=on(Rt);return(Ee==null?void 0:Ee.allow_late)&&en&&Te()(en==null?void 0:en.late_time)<=Te()()||(Ee==null?void 0:Ee.anonymous_comment)&&Qt&&(Qt==null?void 0:Qt.evaluation_start)!==null||((un=(Te()(wn==null?void 0:wn.end_time)<=Te()()&&((Bt=Ee==null?void 0:Ee.allow_late_settings)==null?void 0:Bt.filter(bn=>bn.group_id.includes(Rt))))[0])==null?void 0:un.late_time)!=null},Vn=(0,b.useMemo)(()=>(Ee==null?void 0:Ee.allow_late)||(Ee==null?void 0:Ee.all_group_late),[Ee,Xe]),Gn=Ee==null?void 0:Ee.anonymous_comment,Bn=Rt=>{if(!Rt)return!1;const Bt=on(Rt,Ee==null?void 0:Ee.anonymous_comment_settings);return(Ee==null?void 0:Ee.anonymous_comment)&&Bt&&(Bt==null?void 0:Bt.evaluation_start)!==null},Un=(Rt,Bt)=>{var un,en,Qt,wn,bn;Rt!=null&&Rt.group_id||(Rt.group_id=zt(Rt==null?void 0:Rt.group_name,Ee==null?void 0:Ee.group_settings)),st({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Rt,index:Bt,rangePickerDisabled:(en=(un=Rt==null?void 0:Rt.group_id)==null?void 0:un[0])!=null&&en.publish_time?pt||(Te()()<=Te()((wn=on((Qt=Rt==null?void 0:Rt.group_id)==null?void 0:Qt[0]))==null?void 0:wn.publish_time)?!1:[!0,Pn((bn=Rt==null?void 0:Rt.group_id)==null?void 0:bn[0])]):!1,disabledDate:Ee==null?void 0:Ee.course_end_date}})};return Re.createElement("section",{className:Ze.Z.form},Re.createElement("div",{className:Ze.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Re.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),Re.createElement("div",null,Re.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Re.createElement(me.ZP.Group,{disabled:pt||!((Gt=Xe==null?void 0:Xe.homework_status)!=null&&Gt.includes("\u672A\u53D1\u5E03"))||(0,xe.Rm)()&&!((Pt=Ft.AssistantObject.practice)!=null&&Pt.can_publish),value:Kt.unified_setting,onChange:Rt=>{var Bt;if(!((Bt=Xe==null?void 0:Xe.homework_status)!=null&&Bt.includes("\u672A\u53D1\u5E03"))){Ue.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Kt.unified_setting=!Kt.unified_setting,Kt.unified_setting||(Kt.unified_late=!1,Mt([{late_penalty:5}])),Jt(Object.assign({},Kt)),Kt.unified_setting===!1&&Lt==""){qt(Lt.concat({}));return}Kt.unified_setting&&(qt([]),Mt([{late_penalty:5}]))}},Re.createElement(me.ZP,{value:!0,disabled:pt||!(Ee!=null&&Ee.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Re.createElement(me.ZP,{disabled:pt||!((oe=Ee==null?void 0:Ee.group_settings)!=null&&oe.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ae=Ee==null?void 0:Ee.group_settings)==null?void 0:ae.length)===0&&Re.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Kt.unified_setting&&Re.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Re.createElement(ve.Z,{align:"middle"},Re.createElement(fe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Re.createElement(fe.Z,{className:"ml10"},Re.createElement(tt.default,{size:"large",disabled:pt||!((ee=Xe==null?void 0:Xe.homework_status)!=null&&ee.includes("\u672A\u53D1\u5E03")||(E=Xe==null?void 0:Xe.homework_status)!=null&&E.includes("\u672A\u5F00\u59CB"))||(0,xe.Rm)()&&!((re=Ft.AssistantObject.practice)!=null&&re.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Rt=>Ae(Rt,Ee==null?void 0:Ee.course_end_date),disabledTime:Rt=>ot(Rt),value:Kt.publish_time?Te()(Kt.publish_time):"",onChange:(Rt,Bt)=>{Kt.publish_time=Bt,(Kt.end_time==""||!Kt.end_time)&&Kt.unified_setting&&(Kt.end_time=Te()(Rt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Jt(Object.assign({},Kt))}}))),Re.createElement(ve.Z,{align:"middle",className:"pl30"},Re.createElement(fe.Z,null,"\u622A\u6B62\u65F6\u95F4"),Re.createElement(fe.Z,{className:"ml10"},Re.createElement(tt.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Ee==null?void 0:Ee.allow_late)&&(Ee==null?void 0:Ee.homework_status.includes("\u5DF2\u622A\u6B62"))||pt||(Ee==null?void 0:Ee.allow_late)&&Te()()>=Te()(Ee==null?void 0:Ee.end_time)||(0,xe.Rm)()&&!((ne=Ft.AssistantObject.practice)!=null&&ne.can_publish),disabledDate:Rt=>Ae(Rt,Ee==null?void 0:Ee.course_end_date,Kt.publish_time),disabledTime:Rt=>ot(Rt,Kt.publish_time),value:Kt.end_time?Te()(Kt.end_time):"",onChange:(Rt,Bt)=>{Kt.end_time=Bt,Jt(Object.assign({},Kt))}})))),!Kt.unified_setting&&(Lt==null?void 0:Lt.length)>0&&Re.createElement(ve.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Lt&&Lt.map(function(Rt,Bt){var un,en,Qt,wn,bn,kn,Xn;return Re.createElement(fe.Z,{span:24,key:Bt},Re.createElement(ve.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Bt==(Lt==null?void 0:Lt.length)-1?"0px":"10px"}},Re.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Bt+1),Re.createElement(pe.default,{disabled:pt||((un=Xe==null?void 0:Xe.homework_status)!=null&&un.includes("\u672A\u53D1\u5E03")&&Rt.id||Te()()<Te()(Rt==null?void 0:Rt.publish_time)?!1:!!(Rt!=null&&Rt.publish_time))||(0,xe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_publish),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"250px"},value:Rt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:zn=>{var Fn;if((0,xe.Rm)()&&!((Fn=Ft.AssistantObject.practice)!=null&&Fn.can_publish)){Ue.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}Lt[Bt].group_name=zn,Lt[Bt].group_id=Rt.group_id;const nr=(0,Ce.flattenDeep)(Lt.map(Rr=>Rr.group_name)),tr=Nt.map(Rr=>{let Ir=(Rr==null?void 0:Rr.group_name)||[];return yt(Ke({},Rr),{group_name:(0,Ce.remove)(Ir,Sn=>nr.includes(Sn))})});Mt(tr),qt(Lt.slice())},maxTagCount:4,maxTagPlaceholder:zn=>Re.createElement("div",{style:{cursor:"pointer"},onClick:()=>Un(Rt,Bt)},"+",zn==null?void 0:zn.length)},Ee.group_settings&&Ee.group_settings.map(function(zn){if(!Lt.map(nr=>nr.group_name).flat().includes(zn.group_name))return Re.createElement(Oe,{value:zn.group_name,key:zn.id},zn.group_name)})),Re.createElement("div",{className:"ml20"},Re.createElement(Et,{size:"large",ranges:{\u6B64\u523B:[Rt.publish_time?Te()(Rt.publish_time):Te()(),Te()()]},allowClear:!1,disabled:pt||(Te()()<=Te()((wn=on((Qt=Rt==null?void 0:Rt.group_id)==null?void 0:Qt[0]))==null?void 0:wn.publish_time)?!1:[!0,Pn((bn=Rt==null?void 0:Rt.group_id)==null?void 0:bn[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:zn=>Ae(zn,Ee==null?void 0:Ee.course_end_date),disabledTime:zn=>ot(zn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,Be.U6)(),"HH:mm"),Te()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Rt.publish_time?Te()(Rt.publish_time):void 0,Rt.end_time?Te()(Rt.end_time):void 0],onChange:(zn,Fn)=>{var nr;if((0,xe.Rm)()&&!((nr=Ft.AssistantObject.practice)!=null&&nr.can_publish)){Ue.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}Lt[Bt].publish_time=Fn[0],!Rt.end_time&&Fn[0]?Lt[Bt].end_time=Te()(Fn[0]).add(7,"days"):Lt[Bt].end_time=Fn[1],qt([...Lt])},onCalendarChange:(zn,Fn,nr)=>{if(Fn!=null&&Fn[0]&&!Fn[1]){const tr=Te()(Fn[0]).add(7,"days");Lt[Bt].publish_time=Fn[0],Lt[Bt].end_time=tr,qt([...Lt])}}})),!pt&&Re.createElement("div",{style:{display:"flex",width:"50px"}},((kn=Rt==null?void 0:Rt.group_id)==null?void 0:kn.length)>1&&Re.createElement(be.Z,{title:"\u89C4\u5219\u62C6\u5206"},Re.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Un(Rt,Bt)})),Lt.length<((Xn=Ee==null?void 0:Ee.group_settings)==null?void 0:Xn.length)&&Re.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var zn;if((0,xe.Rm)()&&!((zn=Ft.AssistantObject.practice)!=null&&zn.can_publish)){Ue.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}qt(Lt.concat({}))}}),((Rt==null?void 0:Rt.publish_time)&&Te()()<Te()(Rt==null?void 0:Rt.publish_time)||!(Rt!=null&&Rt.publish_time))&&Bt!=0&&Re.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const zn=(0,Ce.cloneDeep)(Nt);zn.forEach((Fn,nr)=>{Fn.group_name&&(Fn.group_name=Fn.group_name.filter(tr=>{var Rr;return!((Rr=Lt[Bt].group_name)!=null&&Rr.includes(tr))}))}),Lt=Lt.filter((Fn,nr)=>Bt!==nr),Mt(zn),qt(Lt.slice()),setTimeout(()=>qt(Lt.slice()),10)}}))))}))),Re.createElement(ve.Z,null,Re.createElement(fe.Z,null,Re.createElement("div",{className:Ze.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Re.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),Re.createElement(fe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Re.createElement(de.default,{checked:Kt.allow_late,disabled:pt||Vn,onChange:Rt=>{var Bt;if((0,xe.Rm)()&&!((Bt=Ft.AssistantObject.practice)!=null&&Bt.can_late)){Ue.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}Rt.target.checked&&Pe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Re.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Re.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Re.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Re.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Kt.allow_late=!Kt.allow_late,Nt==""&&Mt([{late_penalty:5}]),Jt(Object.assign({},Kt))}},Re.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Kt==null?void 0:Kt.allow_late)&&Re.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Re.createElement("div",{style:{display:"flex"}},Re.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Re.createElement(me.ZP.Group,{style:{marginLeft:"20px"},disabled:pt||(Ee==null?void 0:Ee.anonymous_comment)||(Ee==null?void 0:Ee.allow_late),value:Kt.unified_late,onChange:Rt=>{var Bt;if((0,xe.Rm)()&&!((Bt=Ft.AssistantObject.practice)!=null&&Bt.can_late)){Ue.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}Kt.unified_late=Rt.target.value,Nt==""&&!Rt.target.value&&Mt([{penalty_type:ce.Q.Percent,late_penalty:20}]),Jt(Ke({},Kt))}},(Kt==null?void 0:Kt.unified_setting)&&Re.createElement(me.ZP,{value:!0,disabled:!(Ee!=null&&Ee.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((le=Ee==null?void 0:Ee.group_settings)==null?void 0:le.length)>0&&Re.createElement(me.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Kt!=null&&Kt.unified_late?Re.createElement(Re.Fragment,null,Re.createElement(ve.Z,{align:"middle",style:{marginTop:"10px"}},Re.createElement(fe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Re.createElement(fe.Z,{className:"ml20"},Re.createElement(ce.Z,{disabled:pt||Gn,value:{type:Kt.penalty_type,inputValue:Kt.late_penalty},onChange:Rt=>{var Bt;if((0,xe.Rm)()&&!((Bt=Ft.AssistantObject.practice)!=null&&Bt.can_late)){Ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt(yt(Ke({},Kt),{late_penalty:Rt.inputValue,penalty_type:Rt.type}))}})),Re.createElement(fe.Z,{flex:"1",className:"ml5"},Re.createElement("span",{className:"c-grey-c ml10"},Kt.penalty_type===ce.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),Re.createElement(ve.Z,{align:"middle",style:{marginTop:"15px"}},Re.createElement(fe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Re.createElement(fe.Z,{className:"ml20"},Re.createElement(tt.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,Be.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:pt||Gn,value:Kt.late_time?Te()(Kt.late_time):"",disabledDate:Rt=>Ae(Rt,Ee==null?void 0:Ee.course_end_date),onChange:(Rt,Bt)=>{var un;if((0,xe.Rm)()&&!((un=Ft.AssistantObject.practice)!=null&&un.can_late)){Ue.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}Kt.late_time=Bt,Jt(Object.assign({},Kt))}})))):Nt.map(function(Rt,Bt){var un;return Re.createElement(fe.Z,{span:24,key:Bt},Re.createElement(ve.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Re.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Bt+1),Re.createElement(pe.default,{disabled:pt||!((un=Xe==null?void 0:Xe.homework_status)!=null&&un.includes("\u672A\u53D1\u5E03"))&&Rt.id||(Ee==null?void 0:Ee.anonymous_comment),mode:"multiple",className:Ze.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Rt.group_name=="string"?[Rt.group_name]:Rt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:en=>{var Qt;if((0,xe.Rm)()&&!((Qt=Ft.AssistantObject.practice)!=null&&Qt.can_late)){Ue.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}Nt[Bt].group_name=en,Nt[Bt].group_id=Rt.group_id,Mt(Nt.slice())}},Ee.group_settings&&Ee.group_settings.map(function(en){const Qt=Nt.map(bn=>bn.group_name).flat(),wn=Lt.map(bn=>bn.group_name).flat();if(Kt!=null&&Kt.unified_setting){if(!Qt.includes(en.group_name))return Re.createElement(Oe,{value:en.group_name,key:en.id},en.group_name)}else if(wn.includes(en.group_name)&&!Qt.includes(en.group_name))return Re.createElement(Oe,{value:en.group_name,key:en.id},en.group_name)})),Re.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Re.createElement(ce.Z,{disabled:pt||Bn(Rt.id),value:{type:Rt.penalty_type,inputValue:Rt.late_penalty},onChange:en=>{var Qt;if((0,xe.Rm)()&&!((Qt=Ft.AssistantObject.practice)!=null&&Qt.can_late)){Ue.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}Nt[Bt].late_penalty=en.inputValue,Nt[Bt].penalty_type=en.type,Mt([...Nt])}}),Re.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Re.createElement(tt.default,{size:"large",disabled:pt||Bn(Rt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Te()((0,Be.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:en=>Ae(en,Ee==null?void 0:Ee.course_end_date),format:"YYYY-MM-DD HH:mm",value:Rt!=null&&Rt.late_time?Te()(Rt.late_time):void 0,onChange:(en,Qt)=>{var wn;if((0,xe.Rm)()&&!((wn=Ft.AssistantObject.practice)!=null&&wn.can_late)){Ue.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}Nt[Bt].late_time=Qt,Mt([...Nt])}}),!pt&&Re.createElement("div",{style:{display:"flex",width:"50px"}},Re.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var en;if((0,xe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_late)){Ue.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}Mt(Nt.concat({penalty_type:ce.Q.Percent,late_penalty:20}))}}),Bt>0&&!Rt.id&&Re.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var en;if((0,xe.Rm)()&&!((en=Ft.AssistantObject.practice)!=null&&en.can_late)){Ue.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}Nt=Nt.filter((Qt,wn)=>Bt!==wn),Mt(Nt.slice()),setTimeout(()=>Mt(Nt.slice()),10)}}))))})),!pt&&Re.createElement(Re.Fragment,null,Re.createElement(Le.ZP,{type:"primary",size:"large",loading:et,style:{width:"138px",marginTop:"30px"},onClick:()=>wt()},"\u4FDD\u5B58")),Re.createElement(qe.Z,{onConfirm:(Rt,Bt)=>{Lt.splice(Rt,0,...Bt),Lt.splice(Rt+Bt.length,1);const un=(0,Be.QE)([...Lt]);qt([...un])}}),Re.createElement(_e.Z,{resdata:gt,type:"shixun",okloading:et,oktext:(gt==null?void 0:gt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Rt=>Dt(void 0,null,function*(){$t(!0);let Bt=yield(0,Fe.ZP)(`/api/courses/${ge.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(ge.categoryId)]}});$t(!1),(Bt==null?void 0:Bt.status)===0&&Wt(nn)})}))};sn.ZP=(0,rt.connect)(({shixunHomeworks:dt,classroomList:It,loading:st,user:Ft})=>({shixunHomeworks:dt,classroomList:It,loading:st.effects,user:Ft}))(Je)},44624:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return De}});var b=te(59301),tt=te(44283),pe=te(24017),Ue=te(62957),Pe=te(37568),me=te(6767),ve=te(77019),fe=te(5269),be={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},de=te(66649),Le=te.n(de),we=te(76406),Te=te(90736),xe=te(59301);const{RangePicker:Fe}=pe.default,Ce=({dispatch:Be,classroomList:Ze,onConfirm:rt})=>{const[ce,ke]=(0,b.useState)([]),[qe,_e]=(0,b.useState)([]),[mt,Re]=(0,b.useState)(""),[Ye,lt]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var he,ye,Ct,Ke;if(Ze.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((he=Ze.actionTabs)==null?void 0:he.rangePickerDisabled),(ye=Ze.actionTabs)!=null&&ye.rangePickerDisabled?lt((Ct=Ze.actionTabs)==null?void 0:Ct.rangePickerDisabled):lt([!1,!1]);let yt=Ze.actionTabs.data,Dt=(Ke=yt==null?void 0:yt.group_name)==null?void 0:Ke.map((Ge,Ae)=>{var ot;return{group_id:yt==null?void 0:yt.group_id[Ae],group_name:yt==null?void 0:yt.group_name[Ae],is_admin:yt==null?void 0:yt.is_admin,end_time:yt==null?void 0:yt.end_time,publish_time:Array.isArray(yt==null?void 0:yt.publish_time)?(ot=yt==null?void 0:yt.publish_time)==null?void 0:ot[0]:yt==null?void 0:yt.publish_time}});Dt&&(ke([...Dt]),_e([...Dt]))}},[Ze.actionTabs]);const Se=()=>{Be({type:"classroomList/setActionTabs",payload:{}}),Re("")},Qe=he=>{if(he){const ye=qe==null?void 0:qe.filter(Ct=>{var Ke,yt;return(yt=(Ke=Ct==null?void 0:Ct.group_name)==null?void 0:Ke.toLowerCase())==null?void 0:yt.includes(he==null?void 0:he.toLowerCase())});ke(ye)}else ke(qe)};return xe.createElement(Ue.default,{width:980,title:xe.createElement("div",{style:{fontWeight:"bold",display:"flex"}},xe.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",xe.createElement("span",{className:be.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),xe.createElement(Pe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:mt,onChange:he=>{Re(he.target.value.trim()),Qe(he.target.value.trim())}})),centered:!0,maskClosable:!1,open:Ze.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Se(),onOk:()=>{var he;if(qe.some(Ct=>!Ct.end_time||!Ct.publish_time)){me.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}rt((he=Ze.actionTabs)==null?void 0:he.index,qe),Se()}},xe.createElement("div",{className:be.modal_con},xe.createElement(ve.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ce==null?void 0:ce.length)>0?ce.map(function(he,ye){return xe.createElement(fe.Z,{span:24,key:ye},xe.createElement(ve.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ye==(ce==null?void 0:ce.length)-1?"0px":"10px"}},xe.createElement("div",{className:be.multiple_select,title:he==null?void 0:he.group_name},he==null?void 0:he.group_name),xe.createElement("div",{className:"ml20"},xe.createElement(Fe,{size:"large",allowClear:!1,disabled:Ye,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Ct=>{var Ke;return(0,we.Q8)(Ct,(Ke=Ze.actionTabs)==null?void 0:Ke.disabledDate)},disabledTime:Ct=>(0,we.d0)(Ct),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Le()((0,we.U6)(),"HH:mm"),Le()((0,we.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(he==null?void 0:he.publish_time)&&[Le()(he==null?void 0:he.publish_time),he!=null&&he.end_time?Le()(he==null?void 0:he.end_time):void 0],onChange:(Ct,Ke)=>{ce[ye].publish_time=Ke[0],ce[ye].end_time=Ke[1],ke([...ce]),qe.forEach(yt=>{yt.group_id===(he==null?void 0:he.group_id)&&(yt.publish_time=Ke[0],yt.end_time=Ke[1])}),_e([...qe])},onCalendarChange:(Ct,Ke,yt)=>{if(Ke!=null&&Ke[0]&&!Ke[1]){const Dt=Le()(Ke[0]).add(7,"days");ce[ye].publish_time=Ke[0],ce[ye].end_time=Dt,ke([...ce]),qe.forEach(Ge=>{Ge.group_id===(he==null?void 0:he.group_id)&&(Ge.publish_time=Ke[0],Ge.end_time=Dt)}),_e([...qe])}}})),Ye[0]?xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ce.splice(ye,1),ke([...ce]),qe.forEach((Ct,Ke)=>{Ct.group_id===(he==null?void 0:he.group_id)&&qe.splice(Ke,1)}),_e([...qe])}})))}):xe.createElement(Te.Z,null))))};var De=(0,tt.connect)(({classroomList:Be})=>({classroomList:Be}))(Ce)},13208:function(Tn,sn,te){"use strict";te.r(sn),te.d(sn,{default:function(){return ne}});var b=te(59301),tt=te(44283),pe=te(458),Ue=te(6767),Pe=te(94968),me=te(25399),ve=te(77019),fe=te(76406),be=te(76992),de=te(14185),Le=te(49317),we=te(62957),Te={flex_box_center:"flex_box_center___dejrx",flex_space_between:"flex_space_between___WBGxf",flex_box_vertical_center:"flex_box_vertical_center___OMTvG",flex_box_center_end:"flex_box_center_end___FHZRS",flex_box_column:"flex_box_column___cDBl4",File:"File___Vzzv4",deletfileIcon:"deletfileIcon___snNZ9",wrap:"wrap___eGzSn",row:"row___qfnoA",img:"img___Ftdlp"},xe=te(70467),Fe=te(60499),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},De=Ce,Be=te(7657),Ze=function(ge,Ee){return b.createElement(Be.Z,(0,Fe.Z)({},ge,{ref:Ee,icon:De}))},rt=b.forwardRef(Ze),ce=rt,ke=Object.defineProperty,qe=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,lt=(le,ge,Ee)=>ge in le?ke(le,ge,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):le[ge]=Ee,Se=(le,ge)=>{for(var Ee in ge||(ge={}))Re.call(ge,Ee)&<(le,Ee,ge[Ee]);if(mt)for(var Ee of mt(ge))Ye.call(ge,Ee)&<(le,Ee,ge[Ee]);return le},Qe=(le,ge)=>qe(le,_e(ge)),he=(le,ge,Ee)=>new Promise((ze,je)=>{var Xe=He=>{try{pt(Ee.next(He))}catch(et){je(et)}},it=He=>{try{pt(Ee.throw(He))}catch(et){je(et)}},pt=He=>He.done?ze(He.value):Promise.resolve(He.value).then(Xe,it);pt((Ee=Ee.apply(le,ge)).next())}),Ct=({visible:le,data:ge,onClose:Ee=()=>{},sendUrl:ze})=>{var je,Xe,it;const[pt,He]=(0,b.useState)([]),et=pt.map(qt=>{var Nt;return qt.response?Qe(Se({},qt),{linkProps:{download:!0},url:(Nt=qt==null?void 0:qt.response)==null?void 0:Nt.url}):qt});(0,b.useEffect)(()=>{var qt;le&&He(((qt=ge==null?void 0:ge.attachments)==null?void 0:qt.map(Nt=>({name:Nt.title,status:"done",linkProps:{download:!0},response:{id:Nt.id,url:Nt.url}})))||[])},[le]);const $t={multiple:!0,withCredentials:!0,fileList:et,beforeUpload:qt=>qt.size/1024/1024>150?(Ue.ZP.error(`\u300A${qt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Pe.default.LIST_IGNORE):!0,itemRender:(qt,Nt)=>{var Mt;return b.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between",className:`ant-upload-list-item ant-upload-list-item-done ${Te.File}`},b.createElement("a",{download:"download",onClick:Kt=>{var Jt;console.log(Nt,"file"),Kt.preventDefault(),(0,fe.Nd)("",`${de.Z.API_SERVER}${(Jt=Nt==null?void 0:Nt.url)==null?void 0:Jt.replace("disposition=inline","")}`)},title:Nt==null?void 0:Nt.name,href:Nt.url},b.createElement(ce,{className:"mr10 c-grey-666"}),(0,fe.tP)(Nt==null?void 0:Nt.name,35)),((Mt=Nt==null?void 0:Nt.response)==null?void 0:Mt.id)&&b.createElement("i",{className:`iconfont icon-shanchu14 font14 ${Te.deletfileIcon}`,onClick:()=>he(void 0,null,function*(){(yield Lt(et==null?void 0:et.filter(Jt=>Jt.response.id!=Nt.response.id))).status==0&&(Ue.ZP.success("\u5220\u9664\u6210\u529F"),He(et==null?void 0:et.filter(Jt=>{var gt,kt;return((gt=Jt==null?void 0:Jt.response)==null?void 0:gt.id)!=((kt=Nt==null?void 0:Nt.response)==null?void 0:kt.id)})))})}))},action:`${de.Z.API_SERVER}/api/attachments.json`,onChange:qt=>{const Nt=(0,fe.uD)(qt);He(Nt),Nt.every(Mt=>Mt.status!=="uploading")&&Lt(Nt)}},Lt=qt=>he(void 0,null,function*(){const Nt=yield(0,Le.ZP)(ze,{method:"post",body:{graduation_task_id:ge.id,attachment_ids:qt.filter(Mt=>Mt.status==="done").map(Mt=>{var Kt;return(Kt=Mt==null?void 0:Mt.response)==null?void 0:Kt.id})}});return Nt.status,Nt});return b.createElement(we.default,{centered:!0,destroyOnClose:!0,onCancel:Ee,open:le,footer:null,title:"\u4EFB\u52A1\u4E66\u8BE6\u60C5",width:620,className:"pb20",afterClose:()=>{He([])}},b.createElement("div",{className:Te.wrap},b.createElement("div",{className:Te.row},b.createElement("div",null,"\u8BFE\u9898\u540D\u79F0"),b.createElement("div",{title:ge.name},ge.name)),b.createElement("div",{className:Te.row},b.createElement("div",null,"\u6307\u5BFC\u8001\u5E08"),b.createElement("div",null,(je=ge==null?void 0:ge.teachers)!=null&&je.length?(it=(Xe=ge==null?void 0:ge.teachers)==null?void 0:Xe.map(qt=>qt.real_name))==null?void 0:it.join("\u3001"):"--")),b.createElement("div",{className:Te.row},b.createElement("div",null,"\u8BFE\u9898\u6765\u6E90"),b.createElement("div",null,ge.source||"--")),b.createElement("div",{className:Te.row},b.createElement("div",null,"\u9009\u9898\u5B66\u751F"),b.createElement("div",null,ge.real_name||"--")),ge.status===1&&b.createElement("div",{className:`${Te.img} iconfont icon-yixiada`}),b.createElement(Pe.default,Se({},$t),b.createElement(ve.Z,{align:"middle",className:"mt10"},b.createElement(xe.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),b.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:qt=>{qt.stopPropagation()}},"\u4E0A\u4F20\u4EFB\u52A1\u4E66\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))),b.createElement("div",{style:{height:"20px"}})))},Ke=Object.defineProperty,yt=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ae=(le,ge,Ee)=>ge in le?Ke(le,ge,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):le[ge]=Ee,ot=(le,ge)=>{for(var Ee in ge||(ge={}))Dt.call(ge,Ee)&&Ae(le,Ee,ge[Ee]);if(yt)for(var Ee of yt(ge))Ge.call(ge,Ee)&&Ae(le,Ee,ge[Ee]);return le},zt=(le,ge,Ee)=>new Promise((ze,je)=>{var Xe=He=>{try{pt(Ee.next(He))}catch(et){je(et)}},it=He=>{try{pt(Ee.throw(He))}catch(et){je(et)}},pt=He=>He.done?ze(He.value):Promise.resolve(He.value).then(Xe,it);pt((Ee=Ee.apply(le,ge)).next())});const Et=({graduations:le,dispatch:ge})=>{var Ee;const ze=(0,tt.useParams)(),[je,Xe]=(0,b.useState)([]),[it,pt]=(0,b.useState)({}),[He,et]=(0,b.useState)(!1),[$t,Lt]=(0,b.useState)(1),qt=(0,b.useRef)(null),Nt=(0,b.useRef)([]),Mt=(Ee=location.pathname.split("/"))==null?void 0:Ee[3],{menus:Kt}=le,Jt=Kt.find(wt=>wt.clazz===Mt)||{},gt=`/api/graduations/${ze.id}/graduation_stages/${Jt==null?void 0:Jt.id}/submit.json`,kt={multiple:!0,withCredentials:!0,fileList:je,showUploadList:!1,beforeUpload:wt=>wt.size/1024/1024>150?(Ue.ZP.error(`\u300A${wt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Pe.default.LIST_IGNORE):!0,action:`${de.Z.API_SERVER}/api/attachments.json`,onChange:wt=>{ge({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u4E0A\u4F20\u4E2D\uFF0C\u8BF7\u7A0D\u5019"}});const Wt=(0,fe.uD)(wt);Xe(Wt),Wt.every(on=>on.status!=="uploading")&&nn(Wt)}},nn=wt=>zt(void 0,null,function*(){var Wt;(yield(0,Le.ZP)(gt,{method:"post",body:{graduation_task_id:qt.current,attachment_ids:(Wt=wt.filter(fn=>fn.status==="done").map(fn=>{var Pn;return(Pn=fn==null?void 0:fn.response)==null?void 0:Pn.id}))==null?void 0:Wt.concat(Nt.current)}})).status===0&&(Ue.ZP.success("\u63D0\u4EA4\u6210\u529F"),Lt($t+1)),Xe([]),qt.current=null,Nt.current=[],ge({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})}),vn=[{id:"",name:"\u5168\u90E8"},{id:0,name:"\u672A\u4E0B\u8FBE"},{id:1,name:"\u5DF2\u4E0B\u8FBE"}],ct=[{title:"\u8BFE\u9898\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:wt=>b.createElement(me.Z,{placement:"topLeft",title:wt},b.createElement("span",{className:"c-grey-333"},wt||"--"))},{title:"\u6307\u5BFC\u8001\u5E08",dataIndex:"teachers",width:156,ellipsis:!0,render:wt=>{var Wt;const on=wt!=null&&wt.length?(Wt=wt==null?void 0:wt.map(fn=>fn.real_name))==null?void 0:Wt.join("\u3001"):"";return b.createElement(me.Z,{placement:"topLeft",title:on},b.createElement("span",{className:"c-grey-333"},on||"--"))}},{title:"\u9009\u9898\u5B66\u751F",width:156,ellipsis:!0,dataIndex:"real_name",render:wt=>b.createElement(me.Z,{placement:"topLeft",title:wt},b.createElement("span",{className:"c-black"},wt||"--"))},{title:"\u6587\u6863",dataIndex:"attachments",width:156,ellipsis:{showTitle:!1},render:(wt,Wt)=>{var on,fn;if(!(wt!=null&&wt.length))return"--";let Pn="";return wt!=null&&wt.length&&(Pn=(0,fe.tP)((on=wt==null?void 0:wt[0])==null?void 0:on.title,6)),b.createElement(me.Z,{placement:"topLeft",title:(fn=wt==null?void 0:wt[0])==null?void 0:fn.title},b.createElement("span",{onClick:()=>{var Vn,Gn;(0,fe.Nd)("",`${de.Z.API_SERVER}${(Gn=(Vn=wt[0])==null?void 0:Vn.url)==null?void 0:Gn.replace("disposition=inline","")}`)},className:"current",style:{color:"#3061D0"}},Pn))}},{title:"\u72B6\u6001",dataIndex:"status",width:90,render:wt=>b.createElement(b.Fragment,null,wt===0&&b.createElement("span",{className:"c-black"},"\u672A\u4E0B\u8FBE"),wt===1&&b.createElement("span",{className:"c-black"},"\u5DF2\u4E0B\u8FBE"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",width:100,render:(wt,Wt)=>b.createElement(ve.Z,{align:"middle",justify:"end"},b.createElement(Pe.default,ot({},kt),b.createElement("span",{onClick:()=>{var on;qt.current=Wt.id,Nt.current=(on=Wt==null?void 0:Wt.attachments)==null?void 0:on.map(fn=>fn.id)},className:"current font14 c-light-primary"},"\u63D0\u4EA4")),b.createElement("span",{onClick:()=>{et(!0),pt(ot({},Wt))},className:"current font14 c-light-primary ml20"},"\u8BE6\u60C5"))}];return b.createElement(b.Fragment,null,b.createElement(be.Z,{tags:vn,tagsTitle:"\u4E0B\u8FBE\u72B6\u6001",tagsTitleWidth:56,placeholder:"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0\u8FDB\u884C\u641C\u7D22",columns:ct,updateKey:$t,inputWidth:222}),b.createElement(Ct,{visible:He,data:it,sendUrl:gt,onClose:()=>{et(!1),pt({}),Lt($t+1)}}))};var Oe=(0,tt.connect)(({graduations:le})=>({graduations:le}))(Et),Je={flex_box_center:"flex_box_center___YhVJ8",flex_space_between:"flex_space_between___ZwNFf",flex_box_vertical_center:"flex_box_vertical_center___zVi38",flex_box_center_end:"flex_box_center_end___XiBd9",flex_box_column:"flex_box_column___wlJ_z",wrap:"wrap___btDZi",card:"card___ynWkb",title:"title___ZK2i5",teacherWrap:"teacherWrap___mwbsp",titleCol:"titleCol___Yw1us",head:"head___Eh7hH",rowWrap:"rowWrap___iqlIh",row:"row___ysuMF",name:"name___Vp5LK",btns:"btns___TQ4qx"},dt=te(62673),It=te(90736),st=te(94601),Ft=te(86974),ft=te(86129),Gt=te.n(ft),Pt=te(78267),oe=(le,ge,Ee)=>new Promise((ze,je)=>{var Xe=He=>{try{pt(Ee.next(He))}catch(et){je(et)}},it=He=>{try{pt(Ee.throw(He))}catch(et){je(et)}},pt=He=>He.done?ze(He.value):Promise.resolve(He.value).then(Xe,it);pt((Ee=Ee.apply(le,ge)).next())});const ae=({graduations:le,dispatch:ge})=>{var Ee;const ze=(0,tt.useParams)(),[je,Xe]=(0,b.useState)(!0),[it,pt]=(0,b.useState)([{}]),[He,et]=(0,b.useState)([{}]),[$t,Lt]=(0,b.useState)([]),[qt,Nt]=(0,b.useState)([]),[Mt,Kt]=(0,b.useState)(0),Jt=(0,b.useRef)(),{menus:gt,details:kt}=le,nn=gt.find(fn=>fn.clazz==="tasks")||{};(0,b.useEffect)(()=>{nn!=null&&nn.id&&vn()},[nn==null?void 0:nn.id]);const vn=()=>oe(void 0,null,function*(){var fn,Pn,Vn,Gn,Bn,Un;Xe(!0);const Rt=yield(0,Le.ZP)(`/api/graduations/${ze.id}/graduation_stages/${nn==null?void 0:nn.id}.json`,{method:"get"});if(Rt.status===0){pt(((fn=Rt==null?void 0:Rt.data)==null?void 0:fn[0])||{}),Lt(((Vn=(Pn=Rt==null?void 0:Rt.data)==null?void 0:Pn[0])==null?void 0:Vn.attachments)||[]);let Bt=0;(0,Pt.isEmpty)((Gn=Rt==null?void 0:Rt.data)==null?void 0:Gn[0])?Bt=1:((Un=(Bn=Rt==null?void 0:Rt.data)==null?void 0:Bn[0])==null?void 0:Un.status)===0&&(Bt=2),Kt(Bt)}Xe(!1)}),ct=(fn,Pn,Vn)=>{let Gn=[];Vn==="all"&&fn?Gn=$t.map(Bn=>Bn.id):Vn!=="all"&&(fn?Gn=[...qt,Pn]:Gn=qt.filter(Bn=>Bn!==Pn)),Nt(Gn)},wt=()=>{if(!qt.length){Ue.ZP.warning("\u8BF7\u9009\u62E9\u6587\u4EF6");return}const fn=$t.filter(Pn=>qt.includes(Pn.id));on((kt==null?void 0:kt.name)+"-\u4EFB\u52A1\u4E66",fn)},Wt=fn=>oe(void 0,null,function*(){if(fn.file_type==="txt"){const Pn=yield(0,Le.ZP)(fn.url,{method:"get",headers:{"Content-Type":"application/xml"}});Jt.current=Pn}et({type:fn.file_type,content:de.Z.API_SERVER+fn.url})}),on=(fn,...Pn)=>oe(void 0,[fn,...Pn],function*(Vn,Gn=[]){const Bn=Gn==null?void 0:Gn.filter(en=>en.url!="");if(Bn.length==0){Ue.ZP.warning("\u6682\u65E0\u4E0B\u8F7D\u6587\u4EF6");return}const Un=we.default.info({width:500,icon:null,title:b.createElement("div",null,"\u6B63\u5728\u6279\u91CF\u5BFC\u51FA\u4EFB\u52A1\u6587\u4EF6,",b.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:b.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",b.createElement("span",{className:"c-blue"},0),"/",Bn.length),maskClosable:!1,className:Je.modal,onOk:()=>{}}),Rt=new(Gt()),Bt=[],un=(en,Qt)=>oe(void 0,null,function*(){try{const bn=yield(yield fetch(de.Z.API_SERVER+en.url,{method:"get"})).blob(),kn=(Xn,zn=0)=>oe(void 0,null,function*(){const Fn=Xn.split(".");Fn.pop();const nr=`${Fn.join("")}(${zn}).${Xn.split(".").at(-1)}`;zn==0&&Bt.includes(Xn)||Bt.includes(nr)?kn(Xn,zn+1):(Bt.push(zn==0?Xn:nr),Rt.file(zn==0?Xn:nr,bn))});yield kn(en==null?void 0:en.title),Un.update({content:b.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",b.createElement("span",{className:"c-blue"},Qt),"/",Bn.length)})}catch(wn){Ue.ZP.error(`${en==null?void 0:en.title}\u4E0B\u8F7D\u5931\u8D25\uFF0C\u539F\u56E0\uFF1A${wn}`)}});if(Bn.length>0){let en=0;for(let Qt of Bn)yield un(Qt,++en);Rt.generateAsync({type:"blob"}).then(Qt=>{(0,fe.FH)(Vn,window.URL.createObjectURL(Qt))})}Un.destroy()});return console.log(He,"previewData"),b.createElement("div",{className:Je.wrap},b.createElement(st.Z,{title:"\u4EFB\u52A1\u4E66",status:nn==null?void 0:nn.status,startAt:nn==null?void 0:nn.start_at,endAt:nn==null?void 0:nn.end_at}),b.createElement(pe.Z,{active:!0,loading:je},!!Mt&&b.createElement(It.Z,{customText:Mt===1?"\u5F53\u524D\u9636\u6BB5\u6682\u65F6\u65E0\u6CD5\u5F00\u542F\uFF0C\u8BF7\u5148\u5B8C\u6210\u4E4B\u524D\u9636\u6BB5\u7684\u4EFB\u52A1":"\u5F53\u524D\u8001\u5E08\u8FD8\u672A\u4E0B\u8FBE\u4EFB\u52A1\u4E66\u54E6"}),!Mt&&b.createElement("div",{className:Je.card},b.createElement(ve.Z,{align:"middle"},b.createElement("span",{style:{color:"#5f6368"},className:"mr20 font14"},"\u8BFE\u9898\u540D\u79F0"),b.createElement(me.Z,{title:it==null?void 0:it.name},b.createElement("span",{style:{color:"#333",fontSize:16}},(0,fe.Pq)(it==null?void 0:it.name,59)))),b.createElement("div",{className:Je.title},b.createElement("span",{style:{flexShrink:0,marginTop:4,color:"#5f6368"},className:"mr20"},"\u6307\u5BFC\u8001\u5E08"),b.createElement("div",{className:Je.teacherWrap},(Ee=it==null?void 0:it.teachers)==null?void 0:Ee.map((fn,Pn)=>{var Vn;return b.createElement("div",{key:Pn,className:Je.titleCol},b.createElement("img",{width:28,height:28,style:{borderRadius:"50%"},src:`${(Vn=de.Z)==null?void 0:Vn.IMG_SERVER}/images/${fn==null?void 0:fn.avatar_url}`}),b.createElement("span",{className:"c-grey-333 ml10 font16"},fn.real_name))}))),b.createElement("div",{className:Je.head},b.createElement(dt.default,{onChange:fn=>ct(fn.target.checked,null,"all"),checked:!!qt.length&&qt.length===$t.length,indeterminate:!!qt.length&&qt.length!==$t.length}),b.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u4E66"),!!(qt!=null&&qt.length)&&b.createElement("span",{onClick:wt,style:{marginLeft:"auto"},className:"c-light-primary current"},b.createElement("i",{className:"iconfont icon-xiazai4 mr5 font14"}),"\u6279\u91CF\u4E0B\u8F7D")),b.createElement("div",{className:Je.rowWrap},$t==null?void 0:$t.map(fn=>b.createElement("div",{key:fn.id,className:Je.row},b.createElement(dt.default,{onChange:Pn=>ct(Pn.target.checked,fn.id),checked:qt.includes(fn.id)}),b.createElement("span",{className:Je.name,title:fn.title},(0,fe.tP)(fn.title,60)),b.createElement("span",{className:Je.btns},b.createElement(me.Z,{className:"mr20",title:"\u9884\u89C8"}," ",b.createElement("i",{onClick:()=>Wt(fn),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})),b.createElement(me.Z,{title:"\u4E0B\u8F7D"}," ",b.createElement("i",{onClick:()=>{var Pn;(0,fe.Nd)("",`${de.Z.API_SERVER}${(Pn=fn.url)==null?void 0:Pn.replace("disposition=inline","")}`)},className:"iconfont icon-xiazai4 c-light-primary current font14"})))))))),b.createElement(Ft.Z,{close:!0,data:He==null?void 0:He.content,type:He==null?void 0:He.type,hasMask:!0,monacoEditor:{value:Jt.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>{et({content:"",type:""})}}))};var ee=(0,tt.connect)(({graduations:le})=>({graduations:le}))(ae),E=te(15267);const re=({graduations:le,dispatch:ge,loading:Ee})=>b.createElement(pe.Z,{style:{margin:"20px 0 0 45px"},loading:Ee.effects["graduations/getGraduationsDetails"]},(0,E.tu)()?b.createElement(Oe,null):b.createElement(ee,null));var ne=(0,tt.connect)(({loading:le,graduations:ge})=>({loading:le,graduations:ge}))(re)},94601:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return be}});var b=te(59301),tt={flex_box_center:"flex_box_center___oGGi8",flex_space_between:"flex_space_between___e1At5",flex_box_vertical_center:"flex_box_vertical_center___K1Nl5",flex_box_center_end:"flex_box_center_end___IP1rf",flex_box_column:"flex_box_column____nxPW",title:"title___Ynb7w",time:"time___dxFRB"},pe=te(92310),Ue=te.n(pe),Pe=te(81068),me=te(66649),ve=te.n(me),be=({className:de,status:Le,style:we={},startAt:Te,endAt:xe,title:Fe})=>b.createElement("div",{className:Ue()(tt.title,de),style:we},b.createElement("b",null,Fe),b.createElement(Pe.Z,{className:"ml10",status:Le}),b.createElement("span",{className:tt.time},b.createElement("span",null,"\u5F00\u542F\u65F6\u95F4",b.createElement("span",{className:"ml10"},Te?ve()(Te).format("YYYY-MM-DD HH:mm"):"--")),b.createElement("span",{className:"ml30"},"\u622A\u6B62\u65F6\u95F4",b.createElement("span",{className:"ml10"},xe?ve()(xe).format("YYYY-MM-DD HH:mm"):"--"))))},19997:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return mt}});var b=te(59301),tt=te(6767),pe=te(94968),Ue=te(62957),Pe=te(77019),me=te(24017),ve={flex_box_center:"flex_box_center___cQ5Sl",flex_space_between:"flex_space_between___BU1Wl",flex_box_vertical_center:"flex_box_vertical_center___jBfz4",flex_box_center_end:"flex_box_center_end___mFYce",flex_box_column:"flex_box_column___jBfuW",wrap:"wrap___npJKs",label:"label___mSlLf"},fe=te(14185),be=te(44283),de=te(70467),Le=te(49317),we=te(76406),Te=te(39116),xe=te(66649),Fe=te.n(xe),Ce=te(28450),De=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ce=(Re,Ye,lt)=>Ye in Re?De(Re,Ye,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Re[Ye]=lt,ke=(Re,Ye)=>{for(var lt in Ye||(Ye={}))Ze.call(Ye,lt)&&ce(Re,lt,Ye[lt]);if(Be)for(var lt of Be(Ye))rt.call(Ye,lt)&&ce(Re,lt,Ye[lt]);return Re},qe=(Re,Ye,lt)=>new Promise((Se,Qe)=>{var he=Ke=>{try{Ct(lt.next(Ke))}catch(yt){Qe(yt)}},ye=Ke=>{try{Ct(lt.throw(Ke))}catch(yt){Qe(yt)}},Ct=Ke=>Ke.done?Se(Ke.value):Promise.resolve(Ke.value).then(he,ye);Ct((lt=lt.apply(Re,Ye)).next())}),mt=({visible:Re,data:Ye,onClose:lt=()=>{},onSuccess:Se=()=>{}})=>{const[Qe,he]=(0,b.useState)([]),[ye,Ct]=(0,b.useState)(""),[Ke,yt]=(0,b.useState)(""),[Dt,Ge]=(0,b.useState)(""),[Ae,ot]=(0,b.useState)(!1),zt=(0,be.useParams)();(0,b.useEffect)(()=>{var Pt;Re&&(Ge((Ye==null?void 0:Ye.description)||""),Ct((Ye==null?void 0:Ye.start_at)||""),yt((Ye==null?void 0:Ye.end_at)||""),he(((Pt=Ye==null?void 0:Ye.attachments)==null?void 0:Pt.map(oe=>({name:oe.name||oe.title,status:"done",response:{id:oe.id}})))||[]))},[Re]);const Et={multiple:!0,withCredentials:!0,fileList:Qe,beforeUpload:Pt=>Pt.size/1024/1024>150?(tt.ZP.error(`\u300A${Pt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),pe.default.LIST_IGNORE):!0,action:`${fe.Z.API_SERVER}/api/attachments.json`,onChange(Pt){he((0,we.uD)(Pt))}},Oe=()=>qe(void 0,null,function*(){if(!ye||!Ke){tt.ZP.warning(`\u8BF7\u9009\u62E9${st}`);return}ot(!0),console.log(Qe,"fileList");const Pt=yield(0,Le.ZP)(`/api/graduations/${zt.id}/graduation_stages/${Ye.id}.json`,{method:"put",body:{start_at:ye,end_at:Ke,description:Dt,attachment_ids:Qe.map(oe=>{var ae;return(ae=oe==null?void 0:oe.response)==null?void 0:ae.id})}});if((Pt==null?void 0:Pt.status)===0){tt.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,be.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:zt==null?void 0:zt.id}}),Se();return}ot(!1)});console.log(Ye,"data");const Je=[{name:"\u5B66\u751F\u9009\u9898",key:"student_selection",timeName:"\u5B66\u751F\u9009\u9898\u8D77\u6B62\u65F6\u95F4",width:460,text:"\u5728\u6B64\u65F6\u95F4\u5185\uFF0C\u5B66\u751F\u53EF\u81EA\u52A9\u64CD\u4F5C\u9009\u9898\u548C\u66F4\u6539\u9009\u9898"},{name:"\u4EFB\u52A1\u4E66",key:"tasks",width:460,timeName:"\u4EFB\u52A1\u4E66\u8D77\u6B62\u65F6\u95F4",text:""},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F00\u9898\u62A5\u544A\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u4E2D\u671F\u68C0\u67E5\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u8BBA\u6587\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u7B54\u8FA9\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u8BBA\u6587\u5B9A\u7A3F\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u5F52\u6863",key:"archives",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F52\u6863\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"}],dt=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],It=Qe.some(Pt=>!(Pt!=null&&Pt.response)),{timeName:st,text:Ft,width:ft,key:Gt}=(Je==null?void 0:Je.find(Pt=>Pt.key===(Ye==null?void 0:Ye.clazz)))||{};return b.createElement(Ue.default,{centered:!0,destroyOnClose:!0,confirmLoading:Ae,okButtonProps:{disabled:It},onCancel:lt,onOk:Oe,open:Re,title:`${Ye.name}\u8BBE\u7F6E`,width:ft,afterClose:()=>{he([]),Ct(""),Ge(""),yt(""),ot(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},b.createElement("div",{className:ve.wrap},b.createElement("div",{className:ve.label},b.createElement("span",null,"*"),st),b.createElement(Pe.Z,{align:"middle",className:dt.includes(Gt)?"mb20":""},b.createElement(me.default,{format:"YYYY-MM-DD HH:mm",value:ye?Fe()(ye):"",disabledDate:Pt=>(0,Ce.Q8)(Pt,"",Ye==null?void 0:Ye.disabled_time),disabledTime:Pt=>(0,Ce.d0)(Pt,Ye==null?void 0:Ye.disabled_time),showTime:{format:"HH:mm"},onChange:(Pt,oe)=>{Ct(oe)}}),b.createElement("span",{className:"ml10 mr10"},"\u81F3"),b.createElement(me.default,{format:"YYYY-MM-DD HH:mm",value:Ke?Fe()(Ke):"",disabledDate:Pt=>(0,Ce.Q8)(Pt,"",Ye==null?void 0:Ye.disabled_time),disabledTime:Pt=>(0,Ce.d0)(Pt,Ye==null?void 0:Ye.disabled_time),showTime:{format:"HH:mm"},onChange:(Pt,oe)=>{yt(oe)}}),b.createElement("span",{className:`${Gt==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},Ft)),dt.includes(Gt)&&b.createElement(b.Fragment,null,b.createElement("div",{className:ve.label},"\u9636\u6BB5\u63CF\u8FF0"),b.createElement(Te.Z,{height:140,defaultValue:Dt,onChange:Pt=>{Ge(Pt)}}),b.createElement(pe.default,ke({},Et),b.createElement(Pe.Z,{align:"middle",className:"mt10"},b.createElement(de.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),b.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:Pt=>{Pt.stopPropagation()}},"\u4E0A\u4F20\u6B64\u9636\u6BB5\u7684\u6587\u6863\u6A21\u7248\u3001\u6279\u9605\u8981\u6C42\u7B49\u6587\u6863\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))))))}},81068:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return me}});var b=te(59301),tt={flex_box_center:"flex_box_center___Sswcw",flex_space_between:"flex_space_between___nBexI",flex_box_vertical_center:"flex_box_vertical_center___sPXvb",flex_box_center_end:"flex_box_center_end___c6nca",flex_box_column:"flex_box_column___Bq_gi",tag:"tag___NEywM"},pe=te(92310),Ue=te.n(pe),me=({className:ve,status:fe})=>b.createElement(b.Fragment,null,fe===0&&b.createElement("div",{className:Ue()(tt.tag,ve)},"\u672A\u5F00\u59CB"),fe===1&&b.createElement("div",{className:Ue()(tt.tag,ve),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),fe===2&&b.createElement("div",{className:Ue()(tt.tag,ve),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},76992:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return qe}});var b=te(59301),tt={flex_box_center:"flex_box_center___Q4rC9",flex_space_between:"flex_space_between___pzGZc",flex_box_vertical_center:"flex_box_vertical_center___DhNf8",flex_box_center_end:"flex_box_center_end___ALRjT",flex_box_column:"flex_box_column___p6z9Y",wrap:"wrap____H2XH"},pe=te(44283),Ue=te(77019),Pe=te(70858),me=te(70467),ve=te(94601),fe=te(49317),be=te(19997),de=te(90736),Le=te(76406),we=Object.defineProperty,Te=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Be=(_e,mt,Re)=>mt in _e?we(_e,mt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):_e[mt]=Re,Ze=(_e,mt)=>{for(var Re in mt||(mt={}))Ce.call(mt,Re)&&Be(_e,Re,mt[Re]);if(Fe)for(var Re of Fe(mt))De.call(mt,Re)&&Be(_e,Re,mt[Re]);return _e},rt=(_e,mt)=>Te(_e,xe(mt)),ce=(_e,mt,Re)=>new Promise((Ye,lt)=>{var Se=ye=>{try{he(Re.next(ye))}catch(Ct){lt(Ct)}},Qe=ye=>{try{he(Re.throw(ye))}catch(Ct){lt(Ct)}},he=ye=>ye.done?Ye(ye.value):Promise.resolve(ye.value).then(Se,Qe);he((Re=Re.apply(_e,mt)).next())});const ke=({graduations:_e,dispatch:mt,tags:Re,tagsTitle:Ye,tagsTitleWidth:lt,placeholder:Se,columns:Qe,updateKey:he,inputWidth:ye=214})=>{var Ct,Ke,yt;const Dt=(0,pe.useParams)(),[Ge]=(0,pe.useSearchParams)(),[Ae,ot]=(0,b.useState)(!1),[zt,Et]=(0,b.useState)(0),[Oe,Je]=(0,b.useState)([]),[dt,It]=(0,b.useState)(!1),{menus:st}=_e,Ft=(Ct=location.pathname.split("/"))==null?void 0:Ct[3],ft=st.find(Ee=>Ee.clazz===Ft)||{},Gt=st.find(Ee=>Ee.clazz===Ft)||1,Pt=Ge!=null&&Ge.get("state")?Number(Ge==null?void 0:Ge.get("state")):"",[oe,ae]=(0,b.useState)({keyword:"",status:Pt,page:1,limit:20});(0,b.useEffect)(()=>{ft!=null&&ft.id&&ee(oe)},[ft==null?void 0:ft.id,he]);const ee=Ee=>ce(void 0,null,function*(){ot(!0);const ze=yield(0,fe.ZP)(`/api/graduations/${Dt.id}/graduation_stages/${ft==null?void 0:ft.id}.json`,{method:"get",params:Ee});ze.status===0&&(Je((ze==null?void 0:ze.data)||[]),Et(ze==null?void 0:ze.total_count)),ot(!1)}),E=Ee=>{oe.status=Ee,oe.page=1,ae(oe),ee(oe)},re=Ee=>{oe.keyword=Ee,oe.page=1,ae(oe),ee(oe)},ne=(Ee,ze)=>{oe.page=Ee,oe.limit=ze,ae(oe),ee(oe)},le=[{name:"\u4EFB\u52A1\u4E66",key:"tasks",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",notStartText:"\u5F53\u524D\u9636\u6BB5\u8FD8\u672A\u5F00\u542F"}],ge=(Ke=le==null?void 0:le.find(Ee=>Ee.key===(ft==null?void 0:ft.clazz)))==null?void 0:Ke.notStartText;return b.createElement("div",{className:tt.wrap},b.createElement(ve.Z,{title:ft==null?void 0:ft.name,className:"mb10",status:ft==null?void 0:ft.status,startAt:ft==null?void 0:ft.start_at,endAt:ft==null?void 0:ft.end_at}),b.createElement(Ue.Z,{align:"middle",justify:"end",style:{height:66}},!!(ft!=null&&ft.status)&&b.createElement(Ue.Z,{align:"middle",style:{flex:1}},b.createElement(me.qp,{title:Ye,value:oe.status,onChange:E,dataSource:Re,className:"mt20",titleWidth:lt}),b.createElement(me.t7,{style:{width:ye,marginLeft:"auto"},placeholder:Se,value:oe.keyword,onChange:re})),(0,Le.QB)(ft==null?void 0:ft.next_start_at)&&b.createElement(me.op,{style:{marginLeft:15},onClick:()=>It(!0)},b.createElement("i",{className:"iconfont icon-anquanshezhi font14 mr5"}),ft==null?void 0:ft.name,"\u8BBE\u7F6E")),(ft==null?void 0:ft.status)===0&&b.createElement(de.Z,{customText:ge}),!!(ft!=null&&ft.status)&&b.createElement(Pe.default,{columns:Qe,dataSource:Oe,loading:Ae,rowKey:"id",locale:{emptyText:b.createElement(de.Z,null)},pagination:{current:oe.page,hideOnSinglePage:!zt,showQuickJumper:!0,showSizeChanger:!0,pageSize:oe.limit,pageSizeOptions:["10","20","50","100","200"],total:zt,size:"default",showTotal:Le.rU,onChange:ne}}),b.createElement(be.Z,{visible:dt,data:rt(Ze({},ft),{disabled_time:(yt=st==null?void 0:st[Gt-1])==null?void 0:yt.end_at}),onClose:()=>It(!1),onSuccess:()=>{It(!1)}}))};var qe=(0,pe.connect)(({graduations:_e})=>({graduations:_e}))(ke)},20047:function(Tn,sn,te){"use strict";te.d(sn,{AL:function(){return ce},Iy:function(){return Le},Qv:function(){return xe},ez:function(){return rt},jb:function(){return we}});var b=te(32834),tt=te.n(b),pe=te(11690),Ue=te.n(pe);let Pe=1;function me(Re,Ye){const lt=Re.match(/^(\s+)(?:```)/);if(lt===null)return Ye;const Se=lt[1];return Ye.split(`
|
|
|
`).map(Qe=>{const he=Qe.match(/^\s+/);if(he===null)return Qe;const[ye]=he;return ye.length>=Se.length?Qe.slice(Se.length):Qe}).join(`
|
|
|
`)}let ve=[],fe=["<ul>"];const be=new(tt()).Renderer,de=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Le(){ve.length=0,fe=["<ul>"]}const we={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Te(Re,Ye,lt,Se){if(Ye>=Re.length||Re[Ye].level<=lt)return Ye;var Qe=Re[Ye];Se.push("<li><a href='#"+Pe+Qe.anchor+"'>"+Qe.text+"</a>"),Ye++;var he=[];return Ye=Te(Re,Ye,Qe.level,he),he.length>0&&(Se.push("<ul>"),he.forEach(function(ye){Se.push(ye)}),Se.push("</ul>")),Se.push("</li>"),Ye=Te(Re,Ye,lt,Se),Ye}function xe(){return Te(ve,0,0,fe),fe.push("</ul>"),fe.join("")}const Fe={heading(Re){const Ye=de.exec(Re);if(Pe+=1,Ye)return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:Ye[2]}},fences(Re){const Ye=this.rules.block.fences.exec(Re);if(Ye){const lt=Ye[0];let Se=me(lt,Ye[3]||"");const Qe=Ye[2]?Ye[2].trim():Ye[2];if(["latex","katex","math"].indexOf(Qe)>=0){const he=Be(),ye=Se;Se=he,Ze[he]={type:"block",expression:ye}}return{type:"code",raw:lt,lang:Qe,text:Se}}}},Ce=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let De=0;const Be=()=>`__special_katext_id_${De++}__`;let Ze={};function rt(){return Ze}function ce(){De=0,Ze={}}function ke(Re){return Re=Re.replace(Ce,(Ye,lt)=>{const Se=Be();return Ze[Se]={type:"inline",expression:lt},Se}),Re}const qe=be.listitem;be.listitem=function(Re){return qe(ke(Re))};const _e=be.paragraph;be.paragraph=function(Re){return _e(ke(Re))};const mt=be.tablecell;be.tablecell=function(Re,Ye){return mt(ke(Re),Ye)},be.code=function(Re,Ye,lt){const Se=(Ye||"").match(/\S*/)[0];return Se?["latex","katex","math"].indexOf(Se)>=0?`<p class='editormd-tex'>${Re}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ye}">${lt?Re:(0,pe.escape)(Re,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(lt?Re:(0,pe.escape)(Re,!0))+"</code></pre>"},be.heading=function(Re,Ye,lt){let Se=this.options.headerPrefix+lt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ve.push({anchor:Se,level:Ye,text:Re}),"<h"+Ye+' id="'+Pe+Se+'">'+Re+"</h"+Ye+">"},tt().setOptions({silent:!0,gfm:!0,pedantic:!1}),tt().use({tokenizer:Fe,renderer:be}),sn.ZP=tt()},24532:function(Tn,sn,te){"use strict";te.d(sn,{rX:function(){return ke},pW:function(){return qe},gy:function(){return _e},xY:function(){return ce},O5:function(){return rt},hs:function(){return Ce},tJ:function(){return xe},o1:function(){return Fe},Rd:function(){return Ze}});var b=te(44283),tt=te(62957),pe=te(37285),Ue=te(6767),Pe=te(15267),me=te(76406),ve=te(87169),fe=te(25510),be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQC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XlUazC7JUeLEzhbK8K2IR3FN3bEhTVCrOhmTi4cVGFbjwaCIywAIAOBBQBkILAAgAwEFgCQgcACADIQWABARh7VGkxytjyAyQ1ZcdvYtjoEVgyAoDLbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",de=te.p+"static/newqrcode.a8740efb.png",Le=te(32637),we=te(59301),Te=(mt,Re,Ye)=>new Promise((lt,Se)=>{var Qe=Ct=>{try{ye(Ye.next(Ct))}catch(Ke){Se(Ke)}},he=Ct=>{try{ye(Ye.throw(Ct))}catch(Ke){Se(Ke)}},ye=Ct=>Ct.done?lt(Ct.value):Promise.resolve(Ct.value).then(Qe,he);ye((Ye=Ye.apply(mt,Re)).next())});const xe=(mt,Re=!1,Ye=!1,lt="",Se=!1)=>!!(Fe(mt)&&De(mt,Re,Ye,lt,Se)),Fe=mt=>(0,Pe.bg)()?!0:(mt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ce=mt=>{var Re,Ye,lt;const{user:Se}=(0,b.getDvaApp)()._store.getState();(0,Pe.bg)()&&!((Ye=(Re=Se==null?void 0:Se.userInfo)==null?void 0:Re.course)!=null&&Ye.course_public)&&!((lt=Se==null?void 0:Se.userInfo)!=null&<.profile_completed)&&mt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},De=(mt,Re=!1,Ye=!0,lt="",Se=!1)=>{var Qe;const{user:he}=(0,b.getDvaApp)()._store.getState();return(Qe=he.userInfo)!=null&&Qe.profile_completed?!0:(Ye?mt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:lt,isCurrentPage:Se}}):tt.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,me.xg)("/account/profile/edit"),Be()}}),!1)},Be=()=>{tt.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Ze=()=>{tt.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:we.createElement("div",{style:{textAlign:"center"}},we.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),we.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Le}),we.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},rt=()=>{var mt;const{user:Re}=(0,b.getDvaApp)()._store.getState();return(mt=Re.userInfo)!=null&&mt.professional_certification?!0:(tt.default.confirm({title:"\u63D0\u793A",centered:!0,content:we.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,me.xg)("/account/certification")}}),!1)},ce=()=>(0,Pe.V9)()?!0:(tt.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:we.createElement("div",{className:"tc",style:{marginLeft:-38}},we.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),we.createElement("img",{src:de,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ke=(mt,Re)=>mt?!0:(tt.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:we.createElement("div",null,we.createElement("p",null,Re||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),we.createElement("div",{style:{marginLeft:"110px"}},we.createElement("img",{src:be,width:200}),we.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,me.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),qe=mt=>{tt.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:we.createElement("div",null,we.createElement("div",null,we.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),we.createElement(pe.Z,null),we.createElement("p",{style:{color:"#666666",fontSize:12}}," ",we.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",we.createElement("a",null,mt),"\u5929\u3002"),we.createElement("p",{style:{color:"#666666",fontSize:12}}," ",we.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),we.createElement("div",{style:{textAlign:"center",marginTop:30}},we.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:fe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},_e=(mt,Re="")=>{const{shixunsDetail:{detail:Ye}}=(0,b.getDvaApp)()._store.getState();if((Ye==null?void 0:Ye.public)===2||(Ye==null?void 0:Ye.public)===1||(Ye==null?void 0:Ye.shixun_status)===3){let lt="";return(Ye==null?void 0:Ye.public)===2&&(lt="\u5DF2\u516C\u5F00"),(Ye==null?void 0:Ye.public)===1&&(lt="\u5F85\u5BA1\u6838"),(Ye==null?void 0:Ye.shixun_status)===3&&(lt="\u5DF2\u5173\u95ED"),tt.default.info({centered:!0,icon:we.createElement(ve.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:we.createElement("div",{className:"tc",style:{marginLeft:-38}},we.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},we.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",lt,"\uFF0C",Re,"\u3002"),we.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),we.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:fe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ye==null?void 0:Ye.shixun_status)===2?(tt.default.confirm({centered:!0,icon:we.createElement(ve.Z,null),title:"\u63D0\u793A",content:we.createElement("div",null,we.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Re,"\u3002"),we.createElement("br",null),we.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{tt.default.confirm({width:440,centered:!0,icon:we.createElement(ve.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Te(void 0,null,function*(){(yield mt({type:"shixunsDetail/cancelRelease",payload:{id:Ye==null?void 0:Ye.identifier}})).status!==401&&(Ue.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),mt({type:"shixunsDetail/getShixunsDetail",payload:{id:Ye==null?void 0:Ye.identifier}}),mt({type:"practiceSetting/getCommonData",payload:{id:Ye==null?void 0:Ye.identifier}}))})})}}),!0):!1}},9981:function(Tn,sn){"use strict";const te=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let tt=1;tt<arguments.length;tt++){const pe=tt<0||arguments.length<=tt?void 0:arguments[tt];pe&&Object.keys(pe).forEach(Ue=>{const Pe=pe[Ue];Pe!==void 0&&(b[Ue]=Pe)})}return b};sn.Z=te},86013:function(Tn,sn,te){"use strict";var b=te(59301),tt=te(19248);const pe=Ue=>{let Pe;return typeof Ue=="object"&&(Ue!=null&&Ue.clearIcon)?Pe=Ue:Ue&&(Pe={clearIcon:b.createElement(tt.Z,null)}),Pe};sn.Z=pe},97224:function(Tn,sn,te){"use strict";te.d(sn,{F:function(){return b}});function b(pe){return pe!=null&&pe===pe.window}const tt=pe=>{var Ue,Pe;if(typeof window=="undefined")return 0;let me=0;return b(pe)?me=pe.pageYOffset:pe instanceof Document?me=pe.documentElement.scrollTop:(pe instanceof HTMLElement||pe)&&(me=pe.scrollTop),pe&&!b(pe)&&typeof me!="number"&&(me=(Pe=((Ue=pe.ownerDocument)!==null&&Ue!==void 0?Ue:pe).documentElement)===null||Pe===void 0?void 0:Pe.scrollTop),me};sn.Z=tt},83010:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Ue}});var b=te(16089);function tt(Pe,me,ve,fe){const be=ve-me;return Pe/=fe/2,Pe<1?be/2*Pe*Pe*Pe+me:be/2*((Pe-=2)*Pe*Pe+2)+me}var pe=te(97224);function Ue(Pe){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:fe,duration:be=450}=me,de=ve(),Le=(0,pe.Z)(de),we=Date.now(),Te=()=>{const Fe=Date.now()-we,Ce=tt(Fe>be?be:Fe,Le,Pe,be);(0,pe.F)(de)?de.scrollTo(window.pageXOffset,Ce):de instanceof Document||de.constructor.name==="HTMLDocument"?de.documentElement.scrollTop=Ce:de.scrollTop=Ce,Fe<be?(0,b.Z)(Te):typeof fe=="function"&&fe()};(0,b.Z)(Te)}},62673:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return Re}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(16632),Pe=te(8654),me=te(12919),ve=te(63872),fe=te(48755),be=te(2171),de=te(83397),Le=te(56553),Te=b.createContext(null),xe=te(36170),Fe=te(74632),Ce=function(Ye,lt){var Se={};for(var Qe in Ye)Object.prototype.hasOwnProperty.call(Ye,Qe)&<.indexOf(Qe)<0&&(Se[Qe]=Ye[Qe]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(Ye);he<Qe.length;he++)lt.indexOf(Qe[he])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Qe[he])&&(Se[Qe[he]]=Ye[Qe[he]]);return Se};const De=(Ye,lt)=>{var Se;const{prefixCls:Qe,className:he,rootClassName:ye,children:Ct,indeterminate:Ke=!1,style:yt,onMouseEnter:Dt,onMouseLeave:Ge,skipGroup:Ae=!1,disabled:ot}=Ye,zt=Ce(Ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Et,direction:Oe,checkbox:Je}=b.useContext(fe.E_),dt=b.useContext(Te),{isFormItemInput:It}=b.useContext(Le.aM),st=b.useContext(be.Z),Ft=(Se=(dt==null?void 0:dt.disabled)||ot)!==null&&Se!==void 0?Se:st,ft=b.useRef(zt.value),Gt=b.useRef(null),Pt=(0,Pe.sQ)(lt,Gt);b.useEffect(()=>{dt==null||dt.registerValue(zt.value)},[]),b.useEffect(()=>{if(!Ae)return zt.value!==ft.current&&(dt==null||dt.cancelValue(ft.current),dt==null||dt.registerValue(zt.value),ft.current=zt.value),()=>dt==null?void 0:dt.cancelValue(zt.value)},[zt.value]),b.useEffect(()=>{var je;!((je=Gt.current)===null||je===void 0)&&je.input&&(Gt.current.input.indeterminate=Ke)},[Ke]);const oe=Et("checkbox",Qe),ae=(0,de.Z)(oe),[ee,E,re]=(0,xe.ZP)(oe,ae),ne=Object.assign({},zt);dt&&!Ae&&(ne.onChange=function(){zt.onChange&&zt.onChange.apply(zt,arguments),dt.toggleOption&&dt.toggleOption({label:Ct,value:zt.value})},ne.name=dt.name,ne.checked=dt.value.includes(zt.value));const le=pe()(`${oe}-wrapper`,{[`${oe}-rtl`]:Oe==="rtl",[`${oe}-wrapper-checked`]:ne.checked,[`${oe}-wrapper-disabled`]:Ft,[`${oe}-wrapper-in-form-item`]:It},Je==null?void 0:Je.className,he,ye,re,ae,E),ge=pe()({[`${oe}-indeterminate`]:Ke},ve.A,E),[Ee,ze]=(0,Fe.Z)(ne.onClick);return ee(b.createElement(me.Z,{component:"Checkbox",disabled:Ft},b.createElement("label",{className:le,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),yt),onMouseEnter:Dt,onMouseLeave:Ge,onClick:Ee},b.createElement(Ue.Z,Object.assign({},ne,{onClick:ze,prefixCls:oe,className:ge,disabled:Ft,ref:Pt})),Ct!==void 0&&b.createElement("span",{className:`${oe}-label`},Ct))))};var Ze=b.forwardRef(De),rt=te(77654),ce=te(2738),ke=function(Ye,lt){var Se={};for(var Qe in Ye)Object.prototype.hasOwnProperty.call(Ye,Qe)&<.indexOf(Qe)<0&&(Se[Qe]=Ye[Qe]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(Ye);he<Qe.length;he++)lt.indexOf(Qe[he])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Qe[he])&&(Se[Qe[he]]=Ye[Qe[he]]);return Se},_e=b.forwardRef((Ye,lt)=>{const{defaultValue:Se,children:Qe,options:he=[],prefixCls:ye,className:Ct,rootClassName:Ke,style:yt,onChange:Dt}=Ye,Ge=ke(Ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ae,direction:ot}=b.useContext(fe.E_),[zt,Et]=b.useState(Ge.value||Se||[]),[Oe,Je]=b.useState([]);b.useEffect(()=>{"value"in Ge&&Et(Ge.value||[])},[Ge.value]);const dt=b.useMemo(()=>he.map(ge=>typeof ge=="string"||typeof ge=="number"?{label:ge,value:ge}:ge),[he]),It=ge=>{Je(Ee=>Ee.filter(ze=>ze!==ge))},st=ge=>{Je(Ee=>[].concat((0,rt.Z)(Ee),[ge]))},Ft=ge=>{const Ee=zt.indexOf(ge.value),ze=(0,rt.Z)(zt);Ee===-1?ze.push(ge.value):ze.splice(Ee,1),"value"in Ge||Et(ze),Dt==null||Dt(ze.filter(je=>Oe.includes(je)).sort((je,Xe)=>{const it=dt.findIndex(He=>He.value===je),pt=dt.findIndex(He=>He.value===Xe);return it-pt}))},ft=Ae("checkbox",ye),Gt=`${ft}-group`,Pt=(0,de.Z)(ft),[oe,ae,ee]=(0,xe.ZP)(ft,Pt),E=(0,ce.Z)(Ge,["value","disabled"]),re=he.length?dt.map(ge=>b.createElement(Ze,{prefixCls:ft,key:ge.value.toString(),disabled:"disabled"in ge?ge.disabled:Ge.disabled,value:ge.value,checked:zt.includes(ge.value),onChange:ge.onChange,className:`${Gt}-item`,style:ge.style,title:ge.title,id:ge.id,required:ge.required},ge.label)):Qe,ne={toggleOption:Ft,value:zt,disabled:Ge.disabled,name:Ge.name,registerValue:st,cancelValue:It},le=pe()(Gt,{[`${Gt}-rtl`]:ot==="rtl"},Ct,Ke,ee,Pt,ae);return oe(b.createElement("div",Object.assign({className:le,style:yt},E,{ref:lt}),b.createElement(Te.Provider,{value:ne},re)))});const mt=Ze;mt.Group=_e,mt.__ANT_CHECKBOX=!0;var Re=mt},36170:function(Tn,sn,te){"use strict";te.d(sn,{C2:function(){return me}});var b=te(36237),tt=te(63356),pe=te(51636),Ue=te(16931);const Pe=ve=>{const{checkboxCls:fe}=ve,be=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,tt.Wf)(ve)),{display:"inline-flex",flexWrap:"wrap",columnGap:ve.marginXS,[`> ${ve.antCls}-row`]:{flex:1}}),[be]:Object.assign(Object.assign({},(0,tt.Wf)(ve)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${be}`]:{marginInlineStart:0},[`&${be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,tt.Wf)(ve)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ve.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,tt.oN)(ve))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:ve.checkboxSize,height:ve.checkboxSize,direction:"ltr",backgroundColor:ve.colorBgContainer,border:`${(0,b.unit)(ve.lineWidth)} ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusSM,borderCollapse:"separate",transition:`all ${ve.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:ve.calc(ve.checkboxSize).div(14).mul(5).equal(),height:ve.calc(ve.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(ve.lineWidthBold)} solid ${ve.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ve.motionDurationFast} ${ve.motionEaseInBack}, opacity ${ve.motionDurationFast}`}},"& + span":{paddingInlineStart:ve.paddingXS,paddingInlineEnd:ve.paddingXS}})},{[`
|
|
|
${be}:not(${be}-disabled),
|
|
|
${fe}:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{borderColor:ve.colorPrimary}},[`${be}:not(${be}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:ve.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:ve.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:ve.colorPrimary,borderColor:ve.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ve.motionDurationMid} ${ve.motionEaseOutBack} ${ve.motionDurationFast}`}}},[`
|
|
|
${be}-checked:not(${be}-disabled),
|
|
|
${fe}-checked:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{backgroundColor:ve.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${ve.colorBgContainer} !important`,borderColor:`${ve.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:ve.calc(ve.fontSizeLG).div(2).equal(),height:ve.calc(ve.fontSizeLG).div(2).equal(),backgroundColor:ve.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${ve.colorBgContainer} !important`,borderColor:`${ve.colorPrimary} !important`}}}},{[`${be}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:ve.colorBgContainerDisabled,borderColor:ve.colorBorder,"&:after":{borderColor:ve.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ve.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:ve.colorTextDisabled}}}]};function me(ve,fe){const be=(0,pe.mergeToken)(fe,{checkboxCls:`.${ve}`,checkboxSize:fe.controlInteractiveSize});return[Pe(be)]}sn.ZP=(0,Ue.I$)("Checkbox",(ve,fe)=>{let{prefixCls:be}=fe;return[me(be,ve)]})},38406:function(Tn,sn,te){"use strict";var b=te(59301),tt=te(48755),pe=te(584);const Ue=Pe=>{const{componentName:me}=Pe,{getPrefixCls:ve}=(0,b.useContext)(tt.E_),fe=ve("empty");switch(me){case"Table":case"List":return b.createElement(pe.Z,{image:pe.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(pe.Z,{image:pe.Z.PRESENTED_IMAGE_SIMPLE,className:`${fe}-small`});case"Table.filter":return null;default:return b.createElement(pe.Z,null)}};sn.Z=Ue},24017:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return os}});var b=te(66649),tt=te.n(b),pe=te(9007),Ue=te.n(pe),Pe=te(50991),me=te.n(Pe),ve=te(9084),fe=te.n(ve),be=te(58626),de=te.n(be),Le=te(13477),we=te.n(Le),Te=te(64796),xe=te.n(Te);tt().extend(xe()),tt().extend(we()),tt().extend(Ue()),tt().extend(me()),tt().extend(fe()),tt().extend(de()),tt().extend(function(ue,We){var at=We.prototype,St=at.format;at.format=function(hn){var Cn=(hn||"").replace("Wo","wo");return St.bind(this)(Cn)}});var Fe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Ce=function(We){var at=Fe[We];return at||We.split("_")[0]},De=function(){},Be={getNow:function(){var We=tt()();return typeof We.tz=="function"?We.tz():We},getFixedDate:function(We){return tt()(We,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(We){return We.endOf("month")},getWeekDay:function(We){var at=We.locale("en");return at.weekday()+at.localeData().firstDayOfWeek()},getYear:function(We){return We.year()},getMonth:function(We){return We.month()},getDate:function(We){return We.date()},getHour:function(We){return We.hour()},getMinute:function(We){return We.minute()},getSecond:function(We){return We.second()},getMillisecond:function(We){return We.millisecond()},addYear:function(We,at){return We.add(at,"year")},addMonth:function(We,at){return We.add(at,"month")},addDate:function(We,at){return We.add(at,"day")},setYear:function(We,at){return We.year(at)},setMonth:function(We,at){return We.month(at)},setDate:function(We,at){return We.date(at)},setHour:function(We,at){return We.hour(at)},setMinute:function(We,at){return We.minute(at)},setSecond:function(We,at){return We.second(at)},setMillisecond:function(We,at){return We.millisecond(at)},isAfter:function(We,at){return We.isAfter(at)},isValidate:function(We){return We.isValid()},locale:{getWeekFirstDay:function(We){return tt()().locale(Ce(We)).localeData().firstDayOfWeek()},getWeekFirstDate:function(We,at){return at.locale(Ce(We)).weekday(0)},getWeek:function(We,at){return at.locale(Ce(We)).week()},getShortWeekDays:function(We){return tt()().locale(Ce(We)).localeData().weekdaysMin()},getShortMonths:function(We){return tt()().locale(Ce(We)).localeData().monthsShort()},format:function(We,at,St){return at.locale(Ce(We)).format(St)},parse:function(We,at,St){for(var At=Ce(We),hn=0;hn<St.length;hn+=1){var Cn=St[hn],En=at;if(Cn.includes("wo")||Cn.includes("Wo")){for(var Zn=En.split("-")[0],Yn=En.split("-")[1],An=tt()(Zn,"YYYY").startOf("year").locale(At),qn=0;qn<=52;qn+=1){var sr=An.add(qn,"week");if(sr.format("Wo")===Yn)return sr}return De(),null}var ar=tt()(En,Cn,!0).locale(At);if(ar.isValid())return ar}return at&&De(),null}}},Ze=Be,rt=te(45915),ce=te(59301),ke=te(60499),qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},_e=qe,mt=te(7657),Re=function(We,at){return ce.createElement(mt.Z,(0,ke.Z)({},We,{ref:at,icon:_e}))},Ye=ce.forwardRef(Re),lt=Ye,Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Qe=Se,he=function(We,at){return ce.createElement(mt.Z,(0,ke.Z)({},We,{ref:at,icon:Qe}))},ye=ce.forwardRef(he),Ct=ye,Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},yt=Ke,Dt=function(We,at){return ce.createElement(mt.Z,(0,ke.Z)({},We,{ref:at,icon:yt}))},Ge=ce.forwardRef(Dt),Ae=Ge,ot=te(92310),zt=te.n(ot),Et=te(77654),Oe=te(85899),Je=te(72190),dt=te(70425),It=te(34280),st=te(2738),Ft=te(26112),ft=te(48736),Gt=te(18642),Pt=te(68196);function oe(ue,We){return ue!==void 0?ue:We?"bottomRight":"bottomLeft"}var ae=ce.createContext(null),ee=ae,E={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function re(ue){var We=ue.popupElement,at=ue.popupStyle,St=ue.popupClassName,At=ue.popupAlign,hn=ue.transitionName,Cn=ue.getPopupContainer,En=ue.children,Zn=ue.range,Yn=ue.placement,An=ue.builtinPlacements,qn=An===void 0?E:An,sr=ue.direction,ar=ue.visible,er=ue.onClose,dr=ce.useContext(ee),hr=dr.prefixCls,mr="".concat(hr,"-dropdown"),Yr=oe(Yn,sr==="rtl");return ce.createElement(Pt.Z,{showAction:[],hideAction:["click"],popupPlacement:Yr,builtinPlacements:qn,prefixCls:mr,popupTransitionName:hn,popup:We,popupAlign:At,popupVisible:ar,popupClassName:zt()(St,(0,Gt.Z)((0,Gt.Z)({},"".concat(mr,"-range"),Zn),"".concat(mr,"-rtl"),sr==="rtl")),popupStyle:at,stretch:"minWidth",getPopupContainer:Cn,onPopupVisibleChange:function(xr){xr||er()}},En)}var ne=re;function le(ue,We){for(var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",St=String(ue);St.length<We;)St="".concat(at).concat(St);return St}function ge(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function Ee(ue,We,at){var St=(0,Et.Z)(ue);return St[We]=at,St}function ze(ue,We){var at={},St=We||Object.keys(ue);return St.forEach(function(At){ue[At]!==void 0&&(at[At]=ue[At])}),at}function je(ue,We,at){if(at)return at;switch(ue){case"time":return We.fieldTimeFormat;case"datetime":return We.fieldDateTimeFormat;case"month":return We.fieldMonthFormat;case"year":return We.fieldYearFormat;case"quarter":return We.fieldQuarterFormat;case"week":return We.fieldWeekFormat;default:return We.fieldDateFormat}}function Xe(ue,We,at){var St=at!==void 0?at:We[We.length-1],At=We.find(function(hn){return ue[hn]});return St!==At?ue[At]:void 0}function it(ue){return ze(ue,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function pt(ue,We,at,St){var At=ce.useMemo(function(){return ue||function(Cn,En){var Zn=Cn;return We&&En.type==="date"?We(Zn,En.today):at&&En.type==="month"?at(Zn,En.locale):En.originNode}},[ue,at,We]),hn=ce.useCallback(function(Cn,En){return At(Cn,(0,Oe.Z)((0,Oe.Z)({},En),{},{range:St}))},[At,St]);return hn}function He(ue,We){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],St=ce.useState([!1,!1]),At=(0,Je.Z)(St,2),hn=At[0],Cn=At[1],En=function(An,qn){Cn(function(sr){return Ee(sr,qn,An)})},Zn=ce.useMemo(function(){return hn.map(function(Yn,An){if(Yn)return!0;var qn=ue[An];return qn?!!(!at[An]&&!qn||qn&&We(qn,{activeIndex:An})):!1})},[ue,hn,We,at]);return[Zn,En]}function et(ue,We,at,St,At){var hn="",Cn=[];return ue&&Cn.push(At?"hh":"HH"),We&&Cn.push("mm"),at&&Cn.push("ss"),hn=Cn.join(":"),St&&(hn+=".SSS"),At&&(hn+=" A"),hn}function $t(ue,We,at,St,At,hn){var Cn=ue.fieldDateTimeFormat,En=ue.fieldDateFormat,Zn=ue.fieldTimeFormat,Yn=ue.fieldMonthFormat,An=ue.fieldYearFormat,qn=ue.fieldWeekFormat,sr=ue.fieldQuarterFormat,ar=ue.yearFormat,er=ue.cellYearFormat,dr=ue.cellQuarterFormat,hr=ue.dayFormat,mr=ue.cellDateFormat,Yr=et(We,at,St,At,hn);return(0,Oe.Z)((0,Oe.Z)({},ue),{},{fieldDateTimeFormat:Cn||"YYYY-MM-DD ".concat(Yr),fieldDateFormat:En||"YYYY-MM-DD",fieldTimeFormat:Zn||Yr,fieldMonthFormat:Yn||"YYYY-MM",fieldYearFormat:An||"YYYY",fieldWeekFormat:qn||"gggg-wo",fieldQuarterFormat:sr||"YYYY-[Q]Q",yearFormat:ar||"YYYY",cellYearFormat:er||"YYYY",cellQuarterFormat:dr||"[Q]Q",cellDateFormat:mr||hr||"D"})}function Lt(ue,We){var at=We.showHour,St=We.showMinute,At=We.showSecond,hn=We.showMillisecond,Cn=We.use12Hours;return ce.useMemo(function(){return $t(ue,at,St,At,hn,Cn)},[ue,at,St,At,hn,Cn])}var qt=te(43749);function Nt(ue,We,at){return at!=null?at:We.some(function(St){return ue.includes(St)})}var Mt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Kt(ue){var We=ze(ue,Mt),at=ue.format,St=ue.picker,At=null;return at&&(At=at,Array.isArray(At)&&(At=At[0]),At=(0,qt.Z)(At)==="object"?At.format:At),St==="time"&&(We.format=At),[We,At]}function Jt(ue){return ue&&typeof ue=="string"}function gt(ue,We,at,St){return[ue,We,at,St].some(function(At){return At!==void 0})}function kt(ue,We,at,St,At){var hn=We,Cn=at,En=St;if(!ue&&!hn&&!Cn&&!En&&!At)hn=!0,Cn=!0,En=!0;else if(ue){var Zn,Yn,An,qn=[hn,Cn,En].some(function(er){return er===!1}),sr=[hn,Cn,En].some(function(er){return er===!0}),ar=qn?!0:!sr;hn=(Zn=hn)!==null&&Zn!==void 0?Zn:ar,Cn=(Yn=Cn)!==null&&Yn!==void 0?Yn:ar,En=(An=En)!==null&&An!==void 0?An:ar}return[hn,Cn,En,At]}function nn(ue){var We=ue.showTime,at=Kt(ue),St=(0,Je.Z)(at,2),At=St[0],hn=St[1],Cn=We&&(0,qt.Z)(We)==="object"?We:{},En=(0,Oe.Z)((0,Oe.Z)({defaultOpenValue:Cn.defaultOpenValue||Cn.defaultValue},At),Cn),Zn=En.showMillisecond,Yn=En.showHour,An=En.showMinute,qn=En.showSecond,sr=gt(Yn,An,qn,Zn),ar=kt(sr,Yn,An,qn,Zn),er=(0,Je.Z)(ar,3);return Yn=er[0],An=er[1],qn=er[2],[En,(0,Oe.Z)((0,Oe.Z)({},En),{},{showHour:Yn,showMinute:An,showSecond:qn,showMillisecond:Zn}),En.format,hn]}function vn(ue,We,at,St,At){var hn=ue==="time";if(ue==="datetime"||hn){for(var Cn=St,En=je(ue,At,null),Zn=En,Yn=[We,at],An=0;An<Yn.length;An+=1){var qn=ge(Yn[An])[0];if(Jt(qn)){Zn=qn;break}}var sr=Cn.showHour,ar=Cn.showMinute,er=Cn.showSecond,dr=Cn.showMillisecond,hr=Cn.use12Hours,mr=Nt(Zn,["a","A","LT","LLL","LTS"],hr),Yr=gt(sr,ar,er,dr);Yr||(sr=Nt(Zn,["H","h","k","LT","LLL"]),ar=Nt(Zn,["m","LT","LLL"]),er=Nt(Zn,["s","LTS"]),dr=Nt(Zn,["SSS"]));var Tr=kt(Yr,sr,ar,er,dr),xr=(0,Je.Z)(Tr,3);sr=xr[0],ar=xr[1],er=xr[2];var Qr=We||et(sr,ar,er,dr,mr);return(0,Oe.Z)((0,Oe.Z)({},Cn),{},{format:Qr,showHour:sr,showMinute:ar,showSecond:er,showMillisecond:dr,use12Hours:mr})}return null}function ct(ue,We,at){if(We===!1)return null;var St=We&&(0,qt.Z)(We)==="object"?We:{};return St.clearIcon||at||ce.createElement("span",{className:"".concat(ue,"-clear-btn")})}var wt=7;function Wt(ue,We,at){return!ue&&!We||ue===We?!0:!ue||!We?!1:at()}function on(ue,We,at){return Wt(We,at,function(){var St=Math.floor(ue.getYear(We)/10),At=Math.floor(ue.getYear(at)/10);return St===At})}function fn(ue,We,at){return Wt(We,at,function(){return ue.getYear(We)===ue.getYear(at)})}function Pn(ue,We){var at=Math.floor(ue.getMonth(We)/3);return at+1}function Vn(ue,We,at){return Wt(We,at,function(){return fn(ue,We,at)&&Pn(ue,We)===Pn(ue,at)})}function Gn(ue,We,at){return Wt(We,at,function(){return fn(ue,We,at)&&ue.getMonth(We)===ue.getMonth(at)})}function Bn(ue,We,at){return Wt(We,at,function(){return fn(ue,We,at)&&Gn(ue,We,at)&&ue.getDate(We)===ue.getDate(at)})}function Un(ue,We,at){return Wt(We,at,function(){return ue.getHour(We)===ue.getHour(at)&&ue.getMinute(We)===ue.getMinute(at)&&ue.getSecond(We)===ue.getSecond(at)})}function Rt(ue,We,at){return Wt(We,at,function(){return Bn(ue,We,at)&&Un(ue,We,at)&&ue.getMillisecond(We)===ue.getMillisecond(at)})}function Bt(ue,We,at,St){return Wt(at,St,function(){var At=ue.locale.getWeekFirstDate(We,at),hn=ue.locale.getWeekFirstDate(We,St);return fn(ue,At,hn)&&ue.locale.getWeek(We,at)===ue.locale.getWeek(We,St)})}function un(ue,We,at,St,At){switch(At){case"date":return Bn(ue,at,St);case"week":return Bt(ue,We.locale,at,St);case"month":return Gn(ue,at,St);case"quarter":return Vn(ue,at,St);case"year":return fn(ue,at,St);case"decade":return on(ue,at,St);case"time":return Un(ue,at,St);default:return Rt(ue,at,St)}}function en(ue,We,at,St){return!We||!at||!St?!1:ue.isAfter(St,We)&&ue.isAfter(at,St)}function Qt(ue,We,at,St,At){return un(ue,We,at,St,At)?!0:ue.isAfter(at,St)}function wn(ue,We,at){var St=We.locale.getWeekFirstDay(ue),At=We.setDate(at,1),hn=We.getWeekDay(At),Cn=We.addDate(At,St-hn);return We.getMonth(Cn)===We.getMonth(at)&&We.getDate(Cn)>1&&(Cn=We.addDate(Cn,-7)),Cn}function bn(ue,We){var at=We.generateConfig,St=We.locale,At=We.format;return ue?typeof At=="function"?At(ue):at.locale.format(St.locale,ue,At):""}function kn(ue,We,at){var St=We,At=["getHour","getMinute","getSecond","getMillisecond"],hn=["setHour","setMinute","setSecond","setMillisecond"];return hn.forEach(function(Cn,En){at?St=ue[Cn](St,ue[At[En]](at)):St=ue[Cn](St,0)}),St}function Xn(ue,We,at,St,At){var hn=(0,dt.zX)(function(Cn,En){return!!(at&&at(Cn,En)||St&&ue.isAfter(St,Cn)&&!un(ue,We,St,Cn,En.type)||At&&ue.isAfter(Cn,At)&&!un(ue,We,At,Cn,En.type))});return hn}function zn(ue,We,at){return ce.useMemo(function(){var St=je(ue,We,at),At=ge(St),hn=At[0],Cn=(0,qt.Z)(hn)==="object"&&hn.type==="mask"?hn.format:null;return[At.map(function(En){return typeof En=="string"||typeof En=="function"?En:En.format}),Cn]},[ue,We,at])}function Fn(ue,We,at){return typeof ue[0]=="function"||at?!0:We}function nr(ue,We,at,St){var At=(0,dt.zX)(function(hn,Cn){var En=(0,Oe.Z)({type:We},Cn);if(delete En.activeIndex,!ue.isValidate(hn)||at&&at(hn,En))return!0;if((We==="date"||We==="time")&&St){var Zn,Yn=Cn&&Cn.activeIndex===1?"end":"start",An=((Zn=St.disabledTime)===null||Zn===void 0?void 0:Zn.call(St,hn,Yn,{from:En.from}))||{},qn=An.disabledHours,sr=An.disabledMinutes,ar=An.disabledSeconds,er=An.disabledMilliseconds,dr=St.disabledHours,hr=St.disabledMinutes,mr=St.disabledSeconds,Yr=qn||dr,Tr=sr||hr,xr=ar||mr,Qr=ue.getHour(hn),Fr=ue.getMinute(hn),Nr=ue.getSecond(hn),Fi=ue.getMillisecond(hn);if(Yr&&Yr().includes(Qr)||Tr&&Tr(Qr).includes(Fr)||xr&&xr(Qr,Fr).includes(Nr)||er&&er(Qr,Fr,Nr).includes(Fi))return!0}return!1});return At}function tr(ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,at=ce.useMemo(function(){var St=ue&&ge(ue);return We&&St&&(St[1]=St[1]||St[0]),St},[ue,We]);return at}function Rr(ue,We){var at=ue.generateConfig,St=ue.locale,At=ue.picker,hn=At===void 0?"date":At,Cn=ue.prefixCls,En=Cn===void 0?"rc-picker":Cn,Zn=ue.styles,Yn=Zn===void 0?{}:Zn,An=ue.classNames,qn=An===void 0?{}:An,sr=ue.order,ar=sr===void 0?!0:sr,er=ue.components,dr=er===void 0?{}:er,hr=ue.inputRender,mr=ue.allowClear,Yr=ue.clearIcon,Tr=ue.needConfirm,xr=ue.multiple,Qr=ue.format,Fr=ue.inputReadOnly,Nr=ue.disabledDate,Fi=ue.minDate,pi=ue.maxDate,yi=ue.showTime,di=ue.value,Li=ue.defaultValue,xi=ue.pickerValue,ii=ue.defaultPickerValue,Xr=tr(di),si=tr(Li),li=tr(xi),Vi=tr(ii),Ni=hn==="date"&&yi?"datetime":hn,vi=Ni==="time"||Ni==="datetime",wi=vi||xr,oi=Tr!=null?Tr:vi,bi=nn(ue),gi=(0,Je.Z)(bi,4),Ki=gi[0],lo=gi[1],uo=gi[2],Ne=gi[3],Me=Lt(St,lo),ht=ce.useMemo(function(){return vn(Ni,uo,Ne,Ki,Me)},[Ni,uo,Ne,Ki,Me]),xt=ce.useMemo(function(){return(0,Oe.Z)((0,Oe.Z)({},ue),{},{prefixCls:En,locale:Me,picker:hn,styles:Yn,classNames:qn,order:ar,components:(0,Oe.Z)({input:hr},dr),clearIcon:ct(En,mr,Yr),showTime:ht,value:Xr,defaultValue:si,pickerValue:li,defaultPickerValue:Vi},We==null?void 0:We())},[ue]),Tt=zn(Ni,Me,Qr),Ut=(0,Je.Z)(Tt,2),cn=Ut[0],an=Ut[1],pn=Fn(cn,Fr,xr),gn=Xn(at,St,Nr,Fi,pi),Mn=nr(at,hn,gn,ht),In=ce.useMemo(function(){return(0,Oe.Z)((0,Oe.Z)({},xt),{},{needConfirm:oi,inputReadOnly:pn,disabledDate:gn})},[xt,oi,pn,gn]);return[In,Ni,wi,cn,an,Mn]}var Ir=te(16089);function Sn(ue,We,at){var St=(0,dt.C8)(We,{value:ue}),At=(0,Je.Z)(St,2),hn=At[0],Cn=At[1],En=ce.useRef(ue),Zn=ce.useRef(),Yn=function(){Ir.Z.cancel(Zn.current)},An=(0,dt.zX)(function(){Cn(En.current),at&&hn!==En.current&&at(En.current)}),qn=(0,dt.zX)(function(sr,ar){Yn(),En.current=sr,sr||ar?An():Zn.current=(0,Ir.Z)(An)});return ce.useEffect(function(){return Yn},[]),[hn,qn]}function Ln(ue,We){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],St=arguments.length>3?arguments[3]:void 0,At=at.every(function(An){return An})?!1:ue,hn=Sn(At,We||!1,St),Cn=(0,Je.Z)(hn,2),En=Cn[0],Zn=Cn[1];function Yn(An){var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!qn.inherit||En)&&Zn(An,qn.force)}return[En,Yn]}function rr(ue){var We=ce.useRef();return ce.useImperativeHandle(ue,function(){var at;return{nativeElement:(at=We.current)===null||at===void 0?void 0:at.nativeElement,focus:function(At){var hn;(hn=We.current)===null||hn===void 0||hn.focus(At)},blur:function(){var At;(At=We.current)===null||At===void 0||At.blur()}}}),We}function ir(ue,We){return ce.useMemo(function(){return ue||(We?((0,ft.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(We).map(function(at){var St=(0,Je.Z)(at,2),At=St[0],hn=St[1];return{label:At,value:hn}})):[])},[ue,We])}function Ot(ue,We){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,St=ce.useRef(We);St.current=We,(0,It.o)(function(){if(ue)St.current(ue);else{var At=(0,Ir.Z)(function(){St.current(ue)},at);return function(){Ir.Z.cancel(At)}}},[ue])}function _t(ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,St=ce.useState(0),At=(0,Je.Z)(St,2),hn=At[0],Cn=At[1],En=ce.useState(!1),Zn=(0,Je.Z)(En,2),Yn=Zn[0],An=Zn[1],qn=ce.useRef([]),sr=ce.useRef(null),ar=ce.useRef(null),er=function(xr){sr.current=xr},dr=function(xr){return sr.current===xr},hr=function(xr){An(xr)},mr=function(xr){return xr&&(ar.current=xr),ar.current},Yr=function(xr){var Qr=qn.current,Fr=new Set(Qr.filter(function(Fi){return xr[Fi]||We[Fi]})),Nr=Qr[Qr.length-1]===0?1:0;return Fr.size>=2||ue[Nr]?null:Nr};return Ot(Yn||at,function(){Yn||(qn.current=[],er(null))}),ce.useEffect(function(){Yn&&qn.current.push(hn)},[Yn,hn]),[Yn,hr,mr,hn,Cn,Yr,qn.current,er,dr]}function vt(ue,We,at,St,At,hn){var Cn=at[at.length-1],En=function(Yn,An){var qn=(0,Je.Z)(ue,2),sr=qn[0],ar=qn[1],er=(0,Oe.Z)((0,Oe.Z)({},An),{},{from:Xe(ue,at)});return Cn===1&&We[0]&&sr&&!un(St,At,sr,Yn,er.type)&&St.isAfter(sr,Yn)||Cn===0&&We[1]&&ar&&!un(St,At,ar,Yn,er.type)&&St.isAfter(Yn,ar)?!0:hn==null?void 0:hn(Yn,er)};return En}function Zt(ue,We,at,St){switch(We){case"date":case"week":return ue.addMonth(at,St);case"month":case"quarter":return ue.addYear(at,St);case"year":return ue.addYear(at,St*10);case"decade":return ue.addYear(at,St*100);default:return at}}var bt=[];function Ht(ue,We,at,St,At,hn,Cn,En){var Zn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:bt,Yn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:bt,An=arguments.length>10&&arguments[10]!==void 0?arguments[10]:bt,qn=arguments.length>11?arguments[11]:void 0,sr=arguments.length>12?arguments[12]:void 0,ar=arguments.length>13?arguments[13]:void 0,er=Cn==="time",dr=hn||0,hr=function(li){var Vi=ue.getNow();return er&&(Vi=kn(ue,Vi)),Zn[li]||at[li]||Vi},mr=(0,Je.Z)(Yn,2),Yr=mr[0],Tr=mr[1],xr=(0,dt.C8)(function(){return hr(0)},{value:Yr}),Qr=(0,Je.Z)(xr,2),Fr=Qr[0],Nr=Qr[1],Fi=(0,dt.C8)(function(){return hr(1)},{value:Tr}),pi=(0,Je.Z)(Fi,2),yi=pi[0],di=pi[1],Li=ce.useMemo(function(){var si=[Fr,yi][dr];return er?si:kn(ue,si,An[dr])},[er,Fr,yi,dr,ue,An]),xi=function(li){var Vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",Ni=[Nr,di][dr];Ni(li);var vi=[Fr,yi];vi[dr]=li,qn&&(!un(ue,We,Fr,vi[0],Cn)||!un(ue,We,yi,vi[1],Cn))&&qn(vi,{source:Vi,range:dr===1?"end":"start",mode:St})},ii=function(li,Vi){if(En){var Ni={date:"month",week:"month",month:"year",quarter:"year"},vi=Ni[Cn];if(vi&&!un(ue,We,li,Vi,vi))return Zt(ue,Cn,Vi,-1);if(Cn==="year"&&li){var wi=Math.floor(ue.getYear(li)/10),oi=Math.floor(ue.getYear(Vi)/10);if(wi!==oi)return Zt(ue,Cn,Vi,-1)}}return Vi},Xr=ce.useRef(null);return(0,It.Z)(function(){if(At&&!Zn[dr]){var si=er?null:ue.getNow();if(Xr.current!==null&&Xr.current!==dr?si=[Fr,yi][dr^1]:at[dr]?si=dr===0?at[0]:ii(at[0],at[1]):at[dr^1]&&(si=at[dr^1]),si){sr&&ue.isAfter(sr,si)&&(si=sr);var li=En?Zt(ue,Cn,si,1):si;ar&&ue.isAfter(li,ar)&&(si=En?Zt(ue,Cn,ar,-1):ar),xi(si,"reset")}}},[At,dr,at[dr]]),ce.useEffect(function(){At?Xr.current=dr:Xr.current=null},[At,dr]),(0,It.Z)(function(){At&&Zn&&Zn[dr]&&xi(Zn[dr],"reset")},[At,dr]),[Li,xi]}function nt(ue,We){var at=ce.useRef(ue),St=ce.useState({}),At=(0,Je.Z)(St,2),hn=At[1],Cn=function(Yn){return Yn&&We!==void 0?We:at.current},En=function(Yn){at.current=Yn,hn({})};return[Cn,En,Cn(!0)]}var Xt=[];function tn(ue,We,at){var St=function(Cn){return Cn.map(function(En){return bn(En,{generateConfig:ue,locale:We,format:at[0]})})},At=function(Cn,En){for(var Zn=Math.max(Cn.length,En.length),Yn=-1,An=0;An<Zn;An+=1){var qn=Cn[An]||null,sr=En[An]||null;if(qn!==sr&&!Rt(ue,qn,sr)){Yn=An;break}}return[Yn<0,Yn!==0]};return[St,At]}function dn(ue,We){return(0,Et.Z)(ue).sort(function(at,St){return We.isAfter(at,St)?1:-1})}function Vt(ue){var We=nt(ue),at=(0,Je.Z)(We,2),St=at[0],At=at[1],hn=(0,dt.zX)(function(){At(ue)});return ce.useEffect(function(){hn()},[ue]),[St,At]}function jt(ue,We,at,St,At,hn,Cn,En,Zn){var Yn=(0,dt.C8)(hn,{value:Cn}),An=(0,Je.Z)(Yn,2),qn=An[0],sr=An[1],ar=qn||Xt,er=Vt(ar),dr=(0,Je.Z)(er,2),hr=dr[0],mr=dr[1],Yr=tn(ue,We,at),Tr=(0,Je.Z)(Yr,2),xr=Tr[0],Qr=Tr[1],Fr=(0,dt.zX)(function(Fi){var pi=(0,Et.Z)(Fi);if(St)for(var yi=0;yi<2;yi+=1)pi[yi]=pi[yi]||null;else At&&(pi=dn(pi.filter(function(si){return si}),ue));var di=Qr(hr(),pi),Li=(0,Je.Z)(di,2),xi=Li[0],ii=Li[1];if(!xi&&(mr(pi),En)){var Xr=xr(pi);En(pi,Xr,{range:ii?"end":"start"})}}),Nr=function(){Zn&&Zn(hr())};return[ar,sr,hr,Fr,Nr]}function Yt(ue,We,at,St,At,hn,Cn,En,Zn,Yn){var An=ue.generateConfig,qn=ue.locale,sr=ue.picker,ar=ue.onChange,er=ue.allowEmpty,dr=ue.order,hr=hn.some(function(xi){return xi})?!1:dr,mr=tn(An,qn,Cn),Yr=(0,Je.Z)(mr,2),Tr=Yr[0],xr=Yr[1],Qr=nt(We),Fr=(0,Je.Z)(Qr,2),Nr=Fr[0],Fi=Fr[1],pi=(0,dt.zX)(function(){Fi(We)});ce.useEffect(function(){pi()},[We]);var yi=(0,dt.zX)(function(xi){var ii=xi===null,Xr=(0,Et.Z)(xi||Nr());if(ii)for(var si=Math.max(hn.length,Xr.length),li=0;li<si;li+=1)hn[li]||(Xr[li]=null);hr&&Xr[0]&&Xr[1]&&(Xr=dn(Xr,An)),At(Xr);var Vi=Xr,Ni=(0,Je.Z)(Vi,2),vi=Ni[0],wi=Ni[1],oi=!vi,bi=!wi,gi=er?(!oi||er[0])&&(!bi||er[1]):!0,Ki=!dr||oi||bi||un(An,qn,vi,wi,sr)||An.isAfter(wi,vi),lo=(hn[0]||!vi||!Yn(vi,{activeIndex:0}))&&(hn[1]||!wi||!Yn(wi,{from:vi,activeIndex:1})),uo=ii||gi&&Ki&&lo;if(uo){at(Xr);var Ne=xr(Xr,We),Me=(0,Je.Z)(Ne,1),ht=Me[0];ar&&!ht&&ar(ii&&Xr.every(function(xt){return!xt})?null:Xr,Tr(Xr))}return uo}),di=(0,dt.zX)(function(xi,ii){var Xr=Ee(Nr(),xi,St()[xi]);Fi(Xr),ii&&yi()}),Li=!En&&!Zn;return Ot(!Li,function(){Li&&(yi(),At(We),pi())},2),[di,yi]}function ln(ue,We,at,St,At){return We!=="date"&&We!=="time"?!1:at!==void 0?at:St!==void 0?St:!At&&(ue==="date"||ue==="time")}var Wn=te(29301);function Rn(ue,We,at,St,At,hn){var Cn=ue;function En(qn,sr,ar){var er=hn[qn](Cn),dr=ar.find(function(Tr){return Tr.value===er});if(!dr||dr.disabled){var hr=ar.filter(function(Tr){return!Tr.disabled}),mr=(0,Et.Z)(hr).reverse(),Yr=mr.find(function(Tr){return Tr.value<=er})||hr[0];Yr&&(er=Yr.value,Cn=hn[sr](Cn,er))}return er}var Zn=En("getHour","setHour",We()),Yn=En("getMinute","setMinute",at(Zn)),An=En("getSecond","setSecond",St(Zn,Yn));return En("getMillisecond","setMillisecond",At(Zn,Yn,An)),Cn}function Kn(){return[]}function kr(ue,We){for(var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,St=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,At=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],hn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Cn=[],En=at>=1?at|0:1,Zn=ue;Zn<=We;Zn+=En){var Yn=At.includes(Zn);(!Yn||!St)&&Cn.push({label:le(Zn,hn),value:Zn,disabled:Yn})}return Cn}function Zr(ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},at=arguments.length>2?arguments[2]:void 0,St=We||{},At=St.use12Hours,hn=St.hourStep,Cn=hn===void 0?1:hn,En=St.minuteStep,Zn=En===void 0?1:En,Yn=St.secondStep,An=Yn===void 0?1:Yn,qn=St.millisecondStep,sr=qn===void 0?100:qn,ar=St.hideDisabledOptions,er=St.disabledTime,dr=St.disabledHours,hr=St.disabledMinutes,mr=St.disabledSeconds,Yr=ce.useMemo(function(){return at||ue.getNow()},[at,ue]);if(0)var Tr,xr,Qr;var Fr=ce.useCallback(function(wi){var oi=(er==null?void 0:er(wi))||{};return[oi.disabledHours||dr||Kn,oi.disabledMinutes||hr||Kn,oi.disabledSeconds||mr||Kn,oi.disabledMilliseconds||Kn]},[er,dr,hr,mr]),Nr=ce.useMemo(function(){return Fr(Yr)},[Yr,Fr]),Fi=(0,Je.Z)(Nr,4),pi=Fi[0],yi=Fi[1],di=Fi[2],Li=Fi[3],xi=ce.useCallback(function(wi,oi,bi,gi){var Ki=kr(0,23,Cn,ar,wi()),lo=At?Ki.map(function(ht){return(0,Oe.Z)((0,Oe.Z)({},ht),{},{label:le(ht.value%12||12,2)})}):Ki,uo=function(xt){return kr(0,59,Zn,ar,oi(xt))},Ne=function(xt,Tt){return kr(0,59,An,ar,bi(xt,Tt))},Me=function(xt,Tt,Ut){return kr(0,999,sr,ar,gi(xt,Tt,Ut),3)};return[lo,uo,Ne,Me]},[ar,Cn,At,sr,Zn,An]),ii=ce.useMemo(function(){return xi(pi,yi,di,Li)},[xi,pi,yi,di,Li]),Xr=(0,Je.Z)(ii,4),si=Xr[0],li=Xr[1],Vi=Xr[2],Ni=Xr[3],vi=function(oi,bi){var gi=function(){return si},Ki=li,lo=Vi,uo=Ni;if(bi){var Ne=Fr(bi),Me=(0,Je.Z)(Ne,4),ht=Me[0],xt=Me[1],Tt=Me[2],Ut=Me[3],cn=xi(ht,xt,Tt,Ut),an=(0,Je.Z)(cn,4),pn=an[0],gn=an[1],Mn=an[2],In=an[3];gi=function(){return pn},Ki=gn,lo=Mn,uo=In}var Dn=Rn(oi,gi,Ki,lo,uo,ue);return Dn};return[vi,si,li,Vi,Ni]}function _r(ue){var We=ue.mode,at=ue.internalMode,St=ue.renderExtraFooter,At=ue.showNow,hn=ue.showTime,Cn=ue.onSubmit,En=ue.onNow,Zn=ue.invalid,Yn=ue.needConfirm,An=ue.generateConfig,qn=ue.disabledDate,sr=ce.useContext(ee),ar=sr.prefixCls,er=sr.locale,dr=sr.button,hr=dr===void 0?"button":dr,mr=An.getNow(),Yr=Zr(An,hn,mr),Tr=(0,Je.Z)(Yr,1),xr=Tr[0],Qr=St==null?void 0:St(We),Fr=qn(mr,{type:We}),Nr=function(){if(!Fr){var ii=xr(mr);En(ii)}},Fi="".concat(ar,"-now"),pi="".concat(Fi,"-btn"),yi=At&&ce.createElement("li",{className:Fi},ce.createElement("a",{className:zt()(pi,Fr&&"".concat(pi,"-disabled")),"aria-disabled":Fr,onClick:Nr},at==="date"?er.today:er.now)),di=Yn&&ce.createElement("li",{className:"".concat(ar,"-ok")},ce.createElement(hr,{disabled:Zn,onClick:Cn},er.ok)),Li=(yi||di)&&ce.createElement("ul",{className:"".concat(ar,"-ranges")},yi,di);return!Qr&&!Li?null:ce.createElement("div",{className:"".concat(ar,"-footer")},Qr&&ce.createElement("div",{className:"".concat(ar,"-footer-extra")},Qr),Li)}function Pr(ue,We,at){function St(At,hn){var Cn=At.findIndex(function(Zn){return un(ue,We,Zn,hn,at)});if(Cn===-1)return[].concat((0,Et.Z)(At),[hn]);var En=(0,Et.Z)(At);return En.splice(Cn,1),En}return St}var gr=ce.createContext(null);function Ar(){return ce.useContext(gr)}function Vr(ue,We){var at=ue.prefixCls,St=ue.generateConfig,At=ue.locale,hn=ue.disabledDate,Cn=ue.minDate,En=ue.maxDate,Zn=ue.cellRender,Yn=ue.hoverValue,An=ue.hoverRangeValue,qn=ue.onHover,sr=ue.values,ar=ue.pickerValue,er=ue.onSelect,dr=ue.prevIcon,hr=ue.nextIcon,mr=ue.superPrevIcon,Yr=ue.superNextIcon,Tr=St.getNow(),xr={now:Tr,values:sr,pickerValue:ar,prefixCls:at,disabledDate:hn,minDate:Cn,maxDate:En,cellRender:Zn,hoverValue:Yn,hoverRangeValue:An,onHover:qn,locale:At,generateConfig:St,onSelect:er,panelType:We,prevIcon:dr,nextIcon:hr,superPrevIcon:mr,superNextIcon:Yr};return[xr,Tr]}var ni=ce.createContext({});function ri(ue){for(var We=ue.rowNum,at=ue.colNum,St=ue.baseDate,At=ue.getCellDate,hn=ue.prefixColumn,Cn=ue.rowClassName,En=ue.titleFormat,Zn=ue.getCellText,Yn=ue.getCellClassName,An=ue.headerCells,qn=ue.cellSelection,sr=qn===void 0?!0:qn,ar=ue.disabledDate,er=Ar(),dr=er.prefixCls,hr=er.panelType,mr=er.now,Yr=er.disabledDate,Tr=er.cellRender,xr=er.onHover,Qr=er.hoverValue,Fr=er.hoverRangeValue,Nr=er.generateConfig,Fi=er.values,pi=er.locale,yi=er.onSelect,di=ar||Yr,Li="".concat(dr,"-cell"),xi=ce.useContext(ni),ii=xi.onCellDblClick,Xr=function(bi){return Fi.some(function(gi){return gi&&un(Nr,pi,bi,gi,hr)})},si=[],li=0;li<We;li+=1){for(var Vi=[],Ni=void 0,vi=function(){var bi=li*at+wi,gi=At(St,bi),Ki=di==null?void 0:di(gi,{type:hr});wi===0&&(Ni=gi,hn&&Vi.push(hn(Ni)));var lo=!1,uo=!1,Ne=!1;if(sr&&Fr){var Me=(0,Je.Z)(Fr,2),ht=Me[0],xt=Me[1];lo=en(Nr,ht,xt,gi),uo=un(Nr,pi,gi,ht,hr),Ne=un(Nr,pi,gi,xt,hr)}var Tt=En?bn(gi,{locale:pi,format:En,generateConfig:Nr}):void 0,Ut=ce.createElement("div",{className:"".concat(Li,"-inner")},Zn(gi));Vi.push(ce.createElement("td",{key:wi,title:Tt,className:zt()(Li,(0,Oe.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)({},"".concat(Li,"-disabled"),Ki),"".concat(Li,"-hover"),(Qr||[]).some(function(cn){return un(Nr,pi,gi,cn,hr)})),"".concat(Li,"-in-range"),lo&&!uo&&!Ne),"".concat(Li,"-range-start"),uo),"".concat(Li,"-range-end"),Ne),"".concat(dr,"-cell-selected"),!Fr&&hr!=="week"&&Xr(gi)),Yn(gi))),onClick:function(){Ki||yi(gi)},onDoubleClick:function(){!Ki&&ii&&ii()},onMouseEnter:function(){Ki||xr==null||xr(gi)},onMouseLeave:function(){Ki||xr==null||xr(null)}},Tr?Tr(gi,{prefixCls:dr,originNode:Ut,today:mr,type:hr,locale:pi}):Ut))},wi=0;wi<at;wi+=1)vi();si.push(ce.createElement("tr",{key:li,className:Cn==null?void 0:Cn(Ni)},Vi))}return ce.createElement("div",{className:"".concat(dr,"-body")},ce.createElement("table",{className:"".concat(dr,"-content")},An&&ce.createElement("thead",null,ce.createElement("tr",null,An)),ce.createElement("tbody",null,si)))}var ai={visibility:"hidden"};function Dr(ue){var We=ue.offset,at=ue.superOffset,St=ue.onChange,At=ue.getStart,hn=ue.getEnd,Cn=ue.children,En=Ar(),Zn=En.prefixCls,Yn=En.prevIcon,An=Yn===void 0?"\u2039":Yn,qn=En.nextIcon,sr=qn===void 0?"\u203A":qn,ar=En.superPrevIcon,er=ar===void 0?"\xAB":ar,dr=En.superNextIcon,hr=dr===void 0?"\xBB":dr,mr=En.minDate,Yr=En.maxDate,Tr=En.generateConfig,xr=En.locale,Qr=En.pickerValue,Fr=En.panelType,Nr="".concat(Zn,"-header"),Fi=ce.useContext(ni),pi=Fi.hidePrev,yi=Fi.hideNext,di=Fi.hideHeader,Li=ce.useMemo(function(){if(!mr||!We||!hn)return!1;var oi=hn(We(-1,Qr));return!Qt(Tr,xr,oi,mr,Fr)},[mr,We,Qr,hn,Tr,xr,Fr]),xi=ce.useMemo(function(){if(!mr||!at||!hn)return!1;var oi=hn(at(-1,Qr));return!Qt(Tr,xr,oi,mr,Fr)},[mr,at,Qr,hn,Tr,xr,Fr]),ii=ce.useMemo(function(){if(!Yr||!We||!At)return!1;var oi=At(We(1,Qr));return!Qt(Tr,xr,Yr,oi,Fr)},[Yr,We,Qr,At,Tr,xr,Fr]),Xr=ce.useMemo(function(){if(!Yr||!at||!At)return!1;var oi=At(at(1,Qr));return!Qt(Tr,xr,Yr,oi,Fr)},[Yr,at,Qr,At,Tr,xr,Fr]),si=function(bi){We&&St(We(bi,Qr))},li=function(bi){at&&St(at(bi,Qr))};if(di)return null;var Vi="".concat(Nr,"-prev-btn"),Ni="".concat(Nr,"-next-btn"),vi="".concat(Nr,"-super-prev-btn"),wi="".concat(Nr,"-super-next-btn");return ce.createElement("div",{className:Nr},at&&ce.createElement("button",{type:"button","aria-label":xr.previousYear,onClick:function(){return li(-1)},tabIndex:-1,className:zt()(vi,xi&&"".concat(vi,"-disabled")),disabled:xi,style:pi?ai:{}},er),We&&ce.createElement("button",{type:"button","aria-label":xr.previousMonth,onClick:function(){return si(-1)},tabIndex:-1,className:zt()(Vi,Li&&"".concat(Vi,"-disabled")),disabled:Li,style:pi?ai:{}},An),ce.createElement("div",{className:"".concat(Nr,"-view")},Cn),We&&ce.createElement("button",{type:"button","aria-label":xr.nextMonth,onClick:function(){return si(1)},tabIndex:-1,className:zt()(Ni,ii&&"".concat(Ni,"-disabled")),disabled:ii,style:yi?ai:{}},sr),at&&ce.createElement("button",{type:"button","aria-label":xr.nextYear,onClick:function(){return li(1)},tabIndex:-1,className:zt()(wi,Xr&&"".concat(wi,"-disabled")),disabled:Xr,style:yi?ai:{}},hr))}var Jr=Dr;function $r(ue){var We=ue.prefixCls,at=ue.panelName,St=at===void 0?"date":at,At=ue.locale,hn=ue.generateConfig,Cn=ue.pickerValue,En=ue.onPickerValueChange,Zn=ue.onModeChange,Yn=ue.mode,An=Yn===void 0?"date":Yn,qn=ue.disabledDate,sr=ue.onSelect,ar=ue.onHover,er=ue.showWeek,dr="".concat(We,"-").concat(St,"-panel"),hr="".concat(We,"-cell"),mr=An==="week",Yr=Vr(ue,An),Tr=(0,Je.Z)(Yr,2),xr=Tr[0],Qr=Tr[1],Fr=hn.locale.getWeekFirstDay(At.locale),Nr=hn.setDate(Cn,1),Fi=wn(At.locale,hn,Nr),pi=hn.getMonth(Cn),yi=er===void 0?mr:er,di=yi?function(oi){var bi=qn==null?void 0:qn(oi,{type:"week"});return ce.createElement("td",{key:"week",className:zt()(hr,"".concat(hr,"-week"),(0,Gt.Z)({},"".concat(hr,"-disabled"),bi)),onClick:function(){bi||sr(oi)},onMouseEnter:function(){bi||ar==null||ar(oi)},onMouseLeave:function(){bi||ar==null||ar(null)}},ce.createElement("div",{className:"".concat(hr,"-inner")},hn.locale.getWeek(At.locale,oi)))}:null,Li=[],xi=At.shortWeekDays||(hn.locale.getShortWeekDays?hn.locale.getShortWeekDays(At.locale):[]);di&&Li.push(ce.createElement("th",{key:"empty"},ce.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},At.week)));for(var ii=0;ii<wt;ii+=1)Li.push(ce.createElement("th",{key:ii},xi[(ii+Fr)%wt]));var Xr=function(bi,gi){return hn.addDate(bi,gi)},si=function(bi){return bn(bi,{locale:At,format:At.cellDateFormat,generateConfig:hn})},li=function(bi){var gi=(0,Gt.Z)((0,Gt.Z)({},"".concat(We,"-cell-in-view"),Gn(hn,bi,Cn)),"".concat(We,"-cell-today"),Bn(hn,bi,Qr));return gi},Vi=At.shortMonths||(hn.locale.getShortMonths?hn.locale.getShortMonths(At.locale):[]),Ni=ce.createElement("button",{type:"button","aria-label":At.yearSelect,key:"year",onClick:function(){Zn("year",Cn)},tabIndex:-1,className:"".concat(We,"-year-btn")},bn(Cn,{locale:At,format:At.yearFormat,generateConfig:hn})),vi=ce.createElement("button",{type:"button","aria-label":At.monthSelect,key:"month",onClick:function(){Zn("month",Cn)},tabIndex:-1,className:"".concat(We,"-month-btn")},At.monthFormat?bn(Cn,{locale:At,format:At.monthFormat,generateConfig:hn}):Vi[pi]),wi=At.monthBeforeYear?[vi,Ni]:[Ni,vi];return ce.createElement(gr.Provider,{value:xr},ce.createElement("div",{className:zt()(dr,er&&"".concat(dr,"-show-week"))},ce.createElement(Jr,{offset:function(bi){return hn.addMonth(Cn,bi)},superOffset:function(bi){return hn.addYear(Cn,bi)},onChange:En,getStart:function(bi){return hn.setDate(bi,1)},getEnd:function(bi){var gi=hn.setDate(bi,1);return gi=hn.addMonth(gi,1),hn.addDate(gi,-1)}},wi),ce.createElement(ri,(0,ke.Z)({titleFormat:At.fieldDateFormat},ue,{colNum:wt,rowNum:6,baseDate:Fi,headerCells:Li,getCellDate:Xr,getCellText:si,getCellClassName:li,prefixColumn:di,cellSelection:!mr}))))}var Ri=te(29194),Hi=1/3;function zi(ue,We){var at=ce.useRef(!1),St=ce.useRef(null),At=ce.useRef(null),hn=function(){return at.current},Cn=function(){Ir.Z.cancel(St.current),at.current=!1},En=ce.useRef(),Zn=function(){var qn=ue.current;if(At.current=null,En.current=0,qn){var sr=qn.querySelector('[data-value="'.concat(We,'"]')),ar=qn.querySelector("li"),er=function dr(){Cn(),at.current=!0,En.current+=1;var hr=qn.scrollTop,mr=ar.offsetTop,Yr=sr.offsetTop,Tr=Yr-mr;if(Yr===0&&sr!==ar||!(0,Ri.Z)(qn)){En.current<=5&&(St.current=(0,Ir.Z)(dr));return}var xr=hr+(Tr-hr)*Hi,Qr=Math.abs(Tr-xr);if(At.current!==null&&At.current<Qr){Cn();return}if(At.current=Qr,Qr<=1){qn.scrollTop=Tr,Cn();return}qn.scrollTop=xr,St.current=(0,Ir.Z)(dr)};sr&&ar&&er()}},Yn=(0,dt.zX)(Zn);return[Yn,Cn,hn]}var Zi=300;function Ji(ue){return ue.map(function(We){var at=We.value,St=We.label,At=We.disabled;return[at,St,At].join(",")}).join(";")}function Ei(ue){var We=ue.units,at=ue.value,St=ue.optionalValue,At=ue.type,hn=ue.onChange,Cn=ue.onHover,En=ue.onDblClick,Zn=ue.changeOnScroll,Yn=Ar(),An=Yn.prefixCls,qn=Yn.cellRender,sr=Yn.now,ar=Yn.locale,er="".concat(An,"-time-panel"),dr="".concat(An,"-time-panel-cell"),hr=ce.useRef(null),mr=ce.useRef(),Yr=function(){clearTimeout(mr.current)},Tr=zi(hr,at!=null?at:St),xr=(0,Je.Z)(Tr,3),Qr=xr[0],Fr=xr[1],Nr=xr[2];(0,It.Z)(function(){return Qr(),Yr(),function(){Fr(),Yr()}},[at,St,Ji(We)]);var Fi=function(di){Yr();var Li=di.target;!Nr()&&Zn&&(mr.current=setTimeout(function(){var xi=hr.current,ii=xi.querySelector("li").offsetTop,Xr=Array.from(xi.querySelectorAll("li")),si=Xr.map(function(wi){return wi.offsetTop-ii}),li=si.map(function(wi,oi){return We[oi].disabled?Number.MAX_SAFE_INTEGER:Math.abs(wi-Li.scrollTop)}),Vi=Math.min.apply(Math,(0,Et.Z)(li)),Ni=li.findIndex(function(wi){return wi===Vi}),vi=We[Ni];vi&&!vi.disabled&&hn(vi.value)},Zi))},pi="".concat(er,"-column");return ce.createElement("ul",{className:pi,ref:hr,"data-type":At,onScroll:Fi},We.map(function(yi){var di=yi.label,Li=yi.value,xi=yi.disabled,ii=ce.createElement("div",{className:"".concat(dr,"-inner")},di);return ce.createElement("li",{key:Li,className:zt()(dr,(0,Gt.Z)((0,Gt.Z)({},"".concat(dr,"-selected"),at===Li),"".concat(dr,"-disabled"),xi)),onClick:function(){xi||hn(Li)},onDoubleClick:function(){!xi&&En&&En()},onMouseEnter:function(){Cn(Li)},onMouseLeave:function(){Cn(null)},"data-value":Li},qn?qn(Li,{prefixCls:An,originNode:ii,today:sr,type:"time",subType:At,locale:ar}):ii)}))}function ki(ue){return ue<12}function fi(ue){var We=ue.showHour,at=ue.showMinute,St=ue.showSecond,At=ue.showMillisecond,hn=ue.use12Hours,Cn=ue.changeOnScroll,En=Ar(),Zn=En.prefixCls,Yn=En.values,An=En.generateConfig,qn=En.locale,sr=En.onSelect,ar=En.onHover,er=ar===void 0?function(){}:ar,dr=En.pickerValue,hr=(Yn==null?void 0:Yn[0])||null,mr=ce.useContext(ni),Yr=mr.onCellDblClick,Tr=Zr(An,ue,hr),xr=(0,Je.Z)(Tr,5),Qr=xr[0],Fr=xr[1],Nr=xr[2],Fi=xr[3],pi=xr[4],yi=function($n){var Br=hr&&An[$n](hr),jr=dr&&An[$n](dr);return[Br,jr]},di=yi("getHour"),Li=(0,Je.Z)(di,2),xi=Li[0],ii=Li[1],Xr=yi("getMinute"),si=(0,Je.Z)(Xr,2),li=si[0],Vi=si[1],Ni=yi("getSecond"),vi=(0,Je.Z)(Ni,2),wi=vi[0],oi=vi[1],bi=yi("getMillisecond"),gi=(0,Je.Z)(bi,2),Ki=gi[0],lo=gi[1],uo=xi===null?null:ki(xi)?"am":"pm",Ne=ce.useMemo(function(){return hn?ki(xi)?Fr.filter(function(Qn){return ki(Qn.value)}):Fr.filter(function(Qn){return!ki(Qn.value)}):Fr},[xi,Fr,hn]),Me=function($n,Br){var jr,ei=$n.filter(function(Si){return!Si.disabled});return Br!=null?Br:ei==null||(jr=ei[0])===null||jr===void 0?void 0:jr.value},ht=Me(Fr,xi),xt=ce.useMemo(function(){return Nr(ht)},[Nr,ht]),Tt=Me(xt,li),Ut=ce.useMemo(function(){return Fi(ht,Tt)},[Fi,ht,Tt]),cn=Me(Ut,wi),an=ce.useMemo(function(){return pi(ht,Tt,cn)},[pi,ht,Tt,cn]),pn=Me(an,Ki),gn=ce.useMemo(function(){if(!hn)return[];var Qn=An.getNow(),$n=An.setHour(Qn,6),Br=An.setHour(Qn,18),jr=function(Si,Kr){var so=qn.cellMeridiemFormat;return so?bn(Si,{generateConfig:An,locale:qn,format:so}):Kr};return[{label:jr($n,"AM"),value:"am",disabled:Fr.every(function(ei){return ei.disabled||!ki(ei.value)})},{label:jr(Br,"PM"),value:"pm",disabled:Fr.every(function(ei){return ei.disabled||ki(ei.value)})}]},[Fr,hn,An,qn]),Mn=function($n){var Br=Qr($n);sr(Br)},In=ce.useMemo(function(){var Qn=hr||dr||An.getNow(),$n=function(jr){return jr!=null};return $n(xi)?(Qn=An.setHour(Qn,xi),Qn=An.setMinute(Qn,li),Qn=An.setSecond(Qn,wi),Qn=An.setMillisecond(Qn,Ki)):$n(ii)?(Qn=An.setHour(Qn,ii),Qn=An.setMinute(Qn,Vi),Qn=An.setSecond(Qn,oi),Qn=An.setMillisecond(Qn,lo)):$n(ht)&&(Qn=An.setHour(Qn,ht),Qn=An.setMinute(Qn,Tt),Qn=An.setSecond(Qn,cn),Qn=An.setMillisecond(Qn,pn)),Qn},[hr,dr,xi,li,wi,Ki,ht,Tt,cn,pn,ii,Vi,oi,lo,An]),Dn=function($n,Br){return $n===null?null:An[Br](In,$n)},xn=function($n){return Dn($n,"setHour")},yn=function($n){return Dn($n,"setMinute")},ur=function($n){return Dn($n,"setSecond")},Hn=function($n){return Dn($n,"setMillisecond")},vr=function($n){return $n===null?null:$n==="am"&&!ki(xi)?An.setHour(In,xi-12):$n==="pm"&&ki(xi)?An.setHour(In,xi+12):In},fr=function($n){Mn(xn($n))},Er=function($n){Mn(yn($n))},yr=function($n){Mn(ur($n))},Sr=function($n){Mn(Hn($n))},Mr=function($n){Mn(vr($n))},Hr=function($n){er(xn($n))},Ur=function($n){er(yn($n))},Ci=function($n){er(ur($n))},wr=function($n){er(Hn($n))},br=function($n){er(vr($n))},Or={onDblClick:Yr,changeOnScroll:Cn};return ce.createElement("div",{className:"".concat(Zn,"-content")},We&&ce.createElement(Ei,(0,ke.Z)({units:Ne,value:xi,optionalValue:ii,type:"hour",onChange:fr,onHover:Hr},Or)),at&&ce.createElement(Ei,(0,ke.Z)({units:xt,value:li,optionalValue:Vi,type:"minute",onChange:Er,onHover:Ur},Or)),St&&ce.createElement(Ei,(0,ke.Z)({units:Ut,value:wi,optionalValue:oi,type:"second",onChange:yr,onHover:Ci},Or)),At&&ce.createElement(Ei,(0,ke.Z)({units:an,value:Ki,optionalValue:lo,type:"millisecond",onChange:Sr,onHover:wr},Or)),hn&&ce.createElement(Ei,(0,ke.Z)({units:gn,value:uo,type:"meridiem",onChange:Mr,onHover:br},Or)))}function $i(ue){var We=ue.prefixCls,at=ue.value,St=ue.locale,At=ue.generateConfig,hn=ue.showTime,Cn=hn||{},En=Cn.format,Zn="".concat(We,"-time-panel"),Yn=Vr(ue,"time"),An=(0,Je.Z)(Yn,1),qn=An[0];return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:zt()(Zn)},ce.createElement(Jr,null,at?bn(at,{locale:St,format:En,generateConfig:At}):"\xA0"),ce.createElement(fi,hn)))}function oo(ue){var We=ue.prefixCls,at=ue.generateConfig,St=ue.showTime,At=ue.onSelect,hn=ue.value,Cn=ue.pickerValue,En=ue.onHover,Zn="".concat(We,"-datetime-panel"),Yn=Zr(at,St),An=(0,Je.Z)(Yn,1),qn=An[0],sr=function(hr){return hn?kn(at,hr,hn):kn(at,hr,Cn)},ar=function(hr){En==null||En(hr&&sr(hr))},er=function(hr){var mr=sr(hr);At(qn(mr,mr))};return ce.createElement("div",{className:Zn},ce.createElement($r,(0,ke.Z)({},ue,{onSelect:er,onHover:ar})),ce.createElement($i,ue))}function Ro(ue){var We=ue.prefixCls,at=ue.locale,St=ue.generateConfig,At=ue.pickerValue,hn=ue.disabledDate,Cn=ue.onPickerValueChange,En="".concat(We,"-decade-panel"),Zn=Vr(ue,"decade"),Yn=(0,Je.Z)(Zn,1),An=Yn[0],qn=function(Fr){var Nr=Math.floor(St.getYear(Fr)/100)*100;return St.setYear(Fr,Nr)},sr=function(Fr){var Nr=qn(Fr);return St.addYear(Nr,99)},ar=qn(At),er=sr(At),dr=St.addYear(ar,-10),hr=function(Fr,Nr){return St.addYear(Fr,Nr*10)},mr=function(Fr){var Nr=at.cellYearFormat,Fi=bn(Fr,{locale:at,format:Nr,generateConfig:St}),pi=bn(St.addYear(Fr,9),{locale:at,format:Nr,generateConfig:St});return"".concat(Fi,"-").concat(pi)},Yr=function(Fr){return(0,Gt.Z)({},"".concat(We,"-cell-in-view"),on(St,Fr,ar)||on(St,Fr,er)||en(St,ar,er,Fr))},Tr=hn?function(Qr,Fr){var Nr=St.setDate(Qr,1),Fi=St.setMonth(Nr,0),pi=St.setYear(Fi,Math.floor(St.getYear(Fi)/10)*10),yi=St.addYear(pi,10),di=St.addDate(yi,-1);return hn(pi,Fr)&&hn(di,Fr)}:null,xr="".concat(bn(ar,{locale:at,format:at.yearFormat,generateConfig:St}),"-").concat(bn(er,{locale:at,format:at.yearFormat,generateConfig:St}));return ce.createElement(gr.Provider,{value:An},ce.createElement("div",{className:En},ce.createElement(Jr,{superOffset:function(Fr){return St.addYear(At,Fr*100)},onChange:Cn,getStart:qn,getEnd:sr},xr),ce.createElement(ri,(0,ke.Z)({},ue,{disabledDate:Tr,colNum:3,rowNum:4,baseDate:dr,getCellDate:hr,getCellText:mr,getCellClassName:Yr}))))}function fo(ue){var We=ue.prefixCls,at=ue.locale,St=ue.generateConfig,At=ue.pickerValue,hn=ue.disabledDate,Cn=ue.onPickerValueChange,En=ue.onModeChange,Zn="".concat(We,"-month-panel"),Yn=Vr(ue,"month"),An=(0,Je.Z)(Yn,1),qn=An[0],sr=St.setMonth(At,0),ar=at.shortMonths||(St.locale.getShortMonths?St.locale.getShortMonths(at.locale):[]),er=function(xr,Qr){return St.addMonth(xr,Qr)},dr=function(xr){var Qr=St.getMonth(xr);return at.monthFormat?bn(xr,{locale:at,format:at.monthFormat,generateConfig:St}):ar[Qr]},hr=function(){return(0,Gt.Z)({},"".concat(We,"-cell-in-view"),!0)},mr=hn?function(Tr,xr){var Qr=St.setDate(Tr,1),Fr=St.setMonth(Qr,St.getMonth(Qr)+1),Nr=St.addDate(Fr,-1);return hn(Qr,xr)&&hn(Nr,xr)}:null,Yr=ce.createElement("button",{type:"button",key:"year","aria-label":at.yearSelect,onClick:function(){En("year")},tabIndex:-1,className:"".concat(We,"-year-btn")},bn(At,{locale:at,format:at.yearFormat,generateConfig:St}));return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:Zn},ce.createElement(Jr,{superOffset:function(xr){return St.addYear(At,xr)},onChange:Cn,getStart:function(xr){return St.setMonth(xr,0)},getEnd:function(xr){return St.setMonth(xr,11)}},Yr),ce.createElement(ri,(0,ke.Z)({},ue,{disabledDate:mr,titleFormat:at.fieldMonthFormat,colNum:3,rowNum:4,baseDate:sr,getCellDate:er,getCellText:dr,getCellClassName:hr}))))}function bo(ue){var We=ue.prefixCls,at=ue.locale,St=ue.generateConfig,At=ue.pickerValue,hn=ue.onPickerValueChange,Cn=ue.onModeChange,En="".concat(We,"-quarter-panel"),Zn=Vr(ue,"quarter"),Yn=(0,Je.Z)(Zn,1),An=Yn[0],qn=St.setMonth(At,0),sr=function(mr,Yr){return St.addMonth(mr,Yr*3)},ar=function(mr){return bn(mr,{locale:at,format:at.cellQuarterFormat,generateConfig:St})},er=function(){return(0,Gt.Z)({},"".concat(We,"-cell-in-view"),!0)},dr=ce.createElement("button",{type:"button",key:"year","aria-label":at.yearSelect,onClick:function(){Cn("year")},tabIndex:-1,className:"".concat(We,"-year-btn")},bn(At,{locale:at,format:at.yearFormat,generateConfig:St}));return ce.createElement(gr.Provider,{value:An},ce.createElement("div",{className:En},ce.createElement(Jr,{superOffset:function(mr){return St.addYear(At,mr)},onChange:hn,getStart:function(mr){return St.setMonth(mr,0)},getEnd:function(mr){return St.setMonth(mr,11)}},dr),ce.createElement(ri,(0,ke.Z)({},ue,{titleFormat:at.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:qn,getCellDate:sr,getCellText:ar,getCellClassName:er}))))}function co(ue){var We=ue.prefixCls,at=ue.generateConfig,St=ue.locale,At=ue.value,hn=ue.hoverValue,Cn=ue.hoverRangeValue,En=St.locale,Zn="".concat(We,"-week-panel-row"),Yn=function(qn){var sr={};if(Cn){var ar=(0,Je.Z)(Cn,2),er=ar[0],dr=ar[1],hr=Bt(at,En,er,qn),mr=Bt(at,En,dr,qn);sr["".concat(Zn,"-range-start")]=hr,sr["".concat(Zn,"-range-end")]=mr,sr["".concat(Zn,"-range-hover")]=!hr&&!mr&&en(at,er,dr,qn)}return hn&&(sr["".concat(Zn,"-hover")]=hn.some(function(Yr){return Bt(at,En,qn,Yr)})),zt()(Zn,(0,Gt.Z)({},"".concat(Zn,"-selected"),!Cn&&Bt(at,En,At,qn)),sr)};return ce.createElement($r,(0,ke.Z)({},ue,{mode:"week",panelName:"week",rowClassName:Yn}))}function yo(ue){var We=ue.prefixCls,at=ue.locale,St=ue.generateConfig,At=ue.pickerValue,hn=ue.disabledDate,Cn=ue.onPickerValueChange,En=ue.onModeChange,Zn="".concat(We,"-year-panel"),Yn=Vr(ue,"year"),An=(0,Je.Z)(Yn,1),qn=An[0],sr=function(Nr){var Fi=Math.floor(St.getYear(Nr)/10)*10;return St.setYear(Nr,Fi)},ar=function(Nr){var Fi=sr(Nr);return St.addYear(Fi,9)},er=sr(At),dr=ar(At),hr=St.addYear(er,-1),mr=function(Nr,Fi){return St.addYear(Nr,Fi)},Yr=function(Nr){return bn(Nr,{locale:at,format:at.cellYearFormat,generateConfig:St})},Tr=function(Nr){return(0,Gt.Z)({},"".concat(We,"-cell-in-view"),fn(St,Nr,er)||fn(St,Nr,dr)||en(St,er,dr,Nr))},xr=hn?function(Fr,Nr){var Fi=St.setMonth(Fr,0),pi=St.setDate(Fi,1),yi=St.addYear(pi,1),di=St.addDate(yi,-1);return hn(pi,Nr)&&hn(di,Nr)}:null,Qr=ce.createElement("button",{type:"button",key:"decade","aria-label":at.decadeSelect,onClick:function(){En("decade")},tabIndex:-1,className:"".concat(We,"-decade-btn")},bn(er,{locale:at,format:at.yearFormat,generateConfig:St}),"-",bn(dr,{locale:at,format:at.yearFormat,generateConfig:St}));return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:Zn},ce.createElement(Jr,{superOffset:function(Nr){return St.addYear(At,Nr*10)},onChange:Cn,getStart:sr,getEnd:ar},Qr),ce.createElement(ri,(0,ke.Z)({},ue,{disabledDate:xr,titleFormat:at.fieldYearFormat,colNum:3,rowNum:4,baseDate:hr,getCellDate:mr,getCellText:Yr,getCellClassName:Tr}))))}var Bi={date:$r,datetime:oo,week:co,month:fo,quarter:bo,year:yo,decade:Ro,time:$i};function Ai(ue,We){var at,St=ue.locale,At=ue.generateConfig,hn=ue.direction,Cn=ue.prefixCls,En=ue.tabIndex,Zn=En===void 0?0:En,Yn=ue.multiple,An=ue.defaultValue,qn=ue.value,sr=ue.onChange,ar=ue.onSelect,er=ue.defaultPickerValue,dr=ue.pickerValue,hr=ue.onPickerValueChange,mr=ue.mode,Yr=ue.onPanelChange,Tr=ue.picker,xr=Tr===void 0?"date":Tr,Qr=ue.showTime,Fr=ue.hoverValue,Nr=ue.hoverRangeValue,Fi=ue.cellRender,pi=ue.dateRender,yi=ue.monthCellRender,di=ue.components,Li=di===void 0?{}:di,xi=ue.hideHeader,ii=((at=ce.useContext(ee))===null||at===void 0?void 0:at.prefixCls)||Cn||"rc-picker",Xr=ce.useRef();ce.useImperativeHandle(We,function(){return{nativeElement:Xr.current}});var si=nn(ue),li=(0,Je.Z)(si,4),Vi=li[0],Ni=li[1],vi=li[2],wi=li[3],oi=Lt(St,Ni),bi=xr==="date"&&Qr?"datetime":xr,gi=ce.useMemo(function(){return vn(bi,vi,wi,Vi,oi)},[bi,vi,wi,Vi,oi]),Ki=At.getNow(),lo=(0,dt.C8)(xr,{value:mr,postState:function(br){return br||"date"}}),uo=(0,Je.Z)(lo,2),Ne=uo[0],Me=uo[1],ht=Ne==="date"&&gi?"datetime":Ne,xt=Pr(At,St,bi),Tt=(0,dt.C8)(An,{value:qn}),Ut=(0,Je.Z)(Tt,2),cn=Ut[0],an=Ut[1],pn=ce.useMemo(function(){var wr=ge(cn).filter(function(br){return br});return Yn?wr:wr.slice(0,1)},[cn,Yn]),gn=(0,dt.zX)(function(wr){an(wr),sr&&(wr===null||pn.length!==wr.length||pn.some(function(br,Or){return!un(At,St,br,wr[Or],bi)}))&&(sr==null||sr(Yn?wr:wr[0]))}),Mn=(0,dt.zX)(function(wr){if(ar==null||ar(wr),Ne===xr){var br=Yn?xt(pn,wr):[wr];gn(br)}}),In=(0,dt.C8)(er||pn[0]||Ki,{value:dr}),Dn=(0,Je.Z)(In,2),xn=Dn[0],yn=Dn[1];ce.useEffect(function(){pn[0]&&!dr&&yn(pn[0])},[pn[0]]);var ur=function(br,Or){Yr==null||Yr(br||dr,Or||Ne)},Hn=function(br){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;yn(br),hr==null||hr(br),Or&&ur(br)},vr=function(br,Or){Me(br),Or&&Hn(Or),ur(Or,br)},fr=function(br){if(Mn(br),Hn(br),Ne!==xr){var Or=["decade","year"],Qn=[].concat(Or,["month"]),$n={quarter:[].concat(Or,["quarter"]),week:[].concat((0,Et.Z)(Qn),["week"]),date:[].concat((0,Et.Z)(Qn),["date"])},Br=$n[xr]||Qn,jr=Br.indexOf(Ne),ei=Br[jr+1];ei&&vr(ei,br)}},Er=ce.useMemo(function(){var wr,br;if(Array.isArray(Nr)){var Or=(0,Je.Z)(Nr,2);wr=Or[0],br=Or[1]}else wr=Nr;return!wr&&!br?null:(wr=wr||br,br=br||wr,At.isAfter(wr,br)?[br,wr]:[wr,br])},[Nr,At]),yr=pt(Fi,pi,yi),Sr=Li[ht]||Bi[ht]||$r,Mr=ce.useContext(ni),Hr=ce.useMemo(function(){return(0,Oe.Z)((0,Oe.Z)({},Mr),{},{hideHeader:xi})},[Mr,xi]),Ur="".concat(ii,"-panel"),Ci=ze(ue,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return ce.createElement(ni.Provider,{value:Hr},ce.createElement("div",{ref:Xr,tabIndex:Zn,className:zt()(Ur,(0,Gt.Z)({},"".concat(Ur,"-rtl"),hn==="rtl"))},ce.createElement(Sr,(0,ke.Z)({},Ci,{showTime:gi,prefixCls:ii,locale:oi,generateConfig:At,onModeChange:vr,pickerValue:xn,onPickerValueChange:function(br){Hn(br,!0)},value:pn[0],onSelect:fr,values:pn,cellRender:yr,hoverRangeValue:Er,hoverValue:Fr}))))}var Gr=ce.memo(ce.forwardRef(Ai)),jn=Gr;function lr(ue){var We=ue.picker,at=ue.multiplePanel,St=ue.pickerValue,At=ue.onPickerValueChange,hn=ue.needConfirm,Cn=ue.onSubmit,En=ue.range,Zn=ue.hoverValue,Yn=ce.useContext(ee),An=Yn.prefixCls,qn=Yn.generateConfig,sr=ce.useCallback(function(Yr,Tr){return Zt(qn,We,Yr,Tr)},[qn,We]),ar=ce.useMemo(function(){return sr(St,1)},[St,sr]),er=function(Tr){At(sr(Tr,-1))},dr={onCellDblClick:function(){hn&&Cn()}},hr=We==="time",mr=(0,Oe.Z)((0,Oe.Z)({},ue),{},{hoverValue:null,hoverRangeValue:null,hideHeader:hr});return En?mr.hoverRangeValue=Zn:mr.hoverValue=Zn,at?ce.createElement("div",{className:"".concat(An,"-panels")},ce.createElement(ni.Provider,{value:(0,Oe.Z)((0,Oe.Z)({},dr),{},{hideNext:!0})},ce.createElement(jn,mr)),ce.createElement(ni.Provider,{value:(0,Oe.Z)((0,Oe.Z)({},dr),{},{hidePrev:!0})},ce.createElement(jn,(0,ke.Z)({},mr,{pickerValue:ar,onPickerValueChange:er})))):ce.createElement(ni.Provider,{value:(0,Oe.Z)({},dr)},ce.createElement(jn,mr))}function cr(ue){return typeof ue=="function"?ue():ue}function Jn(ue){var We=ue.prefixCls,at=ue.presets,St=ue.onClick,At=ue.onHover;return at.length?ce.createElement("div",{className:"".concat(We,"-presets")},ce.createElement("ul",null,at.map(function(hn,Cn){var En=hn.label,Zn=hn.value;return ce.createElement("li",{key:Cn,onClick:function(){St(cr(Zn))},onMouseEnter:function(){At(cr(Zn))},onMouseLeave:function(){At(null)}},En)}))):null}function Wr(ue){var We=ue.panelRender,at=ue.internalMode,St=ue.picker,At=ue.showNow,hn=ue.range,Cn=ue.multiple,En=ue.activeInfo,Zn=En===void 0?[0,0,0]:En,Yn=ue.presets,An=ue.onPresetHover,qn=ue.onPresetSubmit,sr=ue.onFocus,ar=ue.onBlur,er=ue.onPanelMouseDown,dr=ue.direction,hr=ue.value,mr=ue.onSelect,Yr=ue.isInvalid,Tr=ue.defaultOpenValue,xr=ue.onOk,Qr=ue.onSubmit,Fr=ce.useContext(ee),Nr=Fr.prefixCls,Fi="".concat(Nr,"-panel"),pi=dr==="rtl",yi=ce.useRef(null),di=ce.useRef(null),Li=ce.useState(0),xi=(0,Je.Z)(Li,2),ii=xi[0],Xr=xi[1],si=ce.useState(0),li=(0,Je.Z)(si,2),Vi=li[0],Ni=li[1],vi=ce.useState(0),wi=(0,Je.Z)(vi,2),oi=wi[0],bi=wi[1],gi=function(fr){fr.width&&Xr(fr.width)},Ki=(0,Je.Z)(Zn,3),lo=Ki[0],uo=Ki[1],Ne=Ki[2],Me=ce.useState(0),ht=(0,Je.Z)(Me,2),xt=ht[0],Tt=ht[1];ce.useEffect(function(){Tt(10)},[lo]),ce.useEffect(function(){if(hn&&di.current){var vr,fr=((vr=yi.current)===null||vr===void 0?void 0:vr.offsetWidth)||0,Er=di.current.getBoundingClientRect();if(!Er.height||Er.right<0){Tt(function(Hr){return Math.max(0,Hr-1)});return}var yr=(pi?uo-fr:lo)-Er.left;if(bi(yr),ii&&ii<Ne){var Sr=pi?Er.right-(uo-fr+ii):lo+fr-Er.left-ii,Mr=Math.max(0,Sr);Ni(Mr)}else Ni(0)}},[xt,pi,ii,lo,uo,Ne,hn]);function Ut(vr){return vr.filter(function(fr){return fr})}var cn=ce.useMemo(function(){return Ut(ge(hr))},[hr]),an=St==="time"&&!cn.length,pn=ce.useMemo(function(){return an?Ut([Tr]):cn},[an,cn,Tr]),gn=an?Tr:cn,Mn=ce.useMemo(function(){return pn.length?pn.some(function(vr){return Yr(vr)}):!0},[pn,Yr]),In=function(){an&&mr(Tr),xr(),Qr()},Dn=ce.createElement("div",{className:"".concat(Nr,"-panel-layout")},ce.createElement(Jn,{prefixCls:Nr,presets:Yn,onClick:qn,onHover:An}),ce.createElement("div",null,ce.createElement(lr,(0,ke.Z)({},ue,{value:gn})),ce.createElement(_r,(0,ke.Z)({},ue,{showNow:Cn?!1:At,invalid:Mn,onSubmit:In}))));We&&(Dn=We(Dn));var xn="".concat(Fi,"-container"),yn="marginLeft",ur="marginRight",Hn=ce.createElement("div",{onMouseDown:er,tabIndex:-1,className:zt()(xn,"".concat(Nr,"-").concat(at,"-panel-container")),style:(0,Gt.Z)((0,Gt.Z)({},pi?ur:yn,Vi),pi?yn:ur,"auto"),onFocus:sr,onBlur:ar},Dn);return hn&&(Hn=ce.createElement("div",{onMouseDown:er,ref:di,className:zt()("".concat(Nr,"-range-wrapper"),"".concat(Nr,"-").concat(St,"-range-wrapper"))},ce.createElement("div",{ref:yi,className:"".concat(Nr,"-range-arrow"),style:{left:oi}}),ce.createElement(Wn.Z,{onResize:gi},Hn))),Hn}var qr=te(42244);function or(ue,We){var at=ue.format,St=ue.maskFormat,At=ue.generateConfig,hn=ue.locale,Cn=ue.preserveInvalidOnBlur,En=ue.inputReadOnly,Zn=ue.required,Yn=ue["aria-required"],An=ue.onSubmit,qn=ue.onFocus,sr=ue.onBlur,ar=ue.onInputChange,er=ue.onInvalid,dr=ue.open,hr=ue.onOpenChange,mr=ue.onKeyDown,Yr=ue.onChange,Tr=ue.activeHelp,xr=ue.name,Qr=ue.autoComplete,Fr=ue.id,Nr=ue.value,Fi=ue.invalid,pi=ue.placeholder,yi=ue.disabled,di=ue.activeIndex,Li=ue.allHelp,xi=ue.picker,ii=function(oi,bi){var gi=At.locale.parse(hn.locale,oi,[bi]);return gi&&At.isValidate(gi)?gi:null},Xr=at[0],si=ce.useCallback(function(wi){return bn(wi,{locale:hn,format:Xr,generateConfig:At})},[hn,At,Xr]),li=ce.useMemo(function(){return Nr.map(si)},[Nr,si]),Vi=ce.useMemo(function(){var wi=xi==="time"?8:10,oi=typeof Xr=="function"?Xr(At.getNow()).length:Xr.length;return Math.max(wi,oi)+2},[Xr,xi,At]),Ni=function(oi){for(var bi=0;bi<at.length;bi+=1){var gi=at[bi];if(typeof gi=="string"){var Ki=ii(oi,gi);if(Ki)return Ki}}return!1},vi=function(oi){function bi(lo){return oi!==void 0?lo[oi]:lo}var gi=(0,Ft.Z)(ue,{aria:!0,data:!0}),Ki=(0,Oe.Z)((0,Oe.Z)({},gi),{},{format:St,validateFormat:function(uo){return!!Ni(uo)},preserveInvalidOnBlur:Cn,readOnly:En,required:Zn,"aria-required":Yn,name:xr,autoComplete:Qr,size:Vi,id:bi(Fr),value:bi(li)||"",invalid:bi(Fi),placeholder:bi(pi),active:di===oi,helped:Li||Tr&&di===oi,disabled:bi(yi),onFocus:function(uo){qn(uo,oi)},onBlur:function(uo){sr(uo,oi)},onSubmit:An,onChange:function(uo){ar();var Ne=Ni(uo);if(Ne){er(!1,oi),Yr(Ne,oi);return}er(!!uo,oi)},onHelp:function(){hr(!0,{index:oi})},onKeyDown:function(uo){var Ne=!1;if(mr==null||mr(uo,function(){Ne=!0}),!uo.defaultPrevented&&!Ne)switch(uo.key){case"Escape":hr(!1,{index:oi});break;case"Enter":dr||hr(!0);break}}},We==null?void 0:We({valueTexts:li}));return Object.keys(Ki).forEach(function(lo){Ki[lo]===void 0&&delete Ki[lo]}),Ki};return[vi,si]}var _n=["onMouseEnter","onMouseLeave"];function Cr(ue){return ce.useMemo(function(){return ze(ue,_n)},[ue])}var zr=["icon","type"],ji=["onClear"];function vo(ue){var We=ue.icon,at=ue.type,St=(0,qr.Z)(ue,zr),At=ce.useContext(ee),hn=At.prefixCls;return We?ce.createElement("span",(0,ke.Z)({className:"".concat(hn,"-").concat(at)},St),We):null}function ao(ue){var We=ue.onClear,at=(0,qr.Z)(ue,ji);return ce.createElement(vo,(0,ke.Z)({},at,{type:"clear",role:"button",onMouseDown:function(At){At.preventDefault()},onClick:function(At){At.stopPropagation(),We()}}))}var Fo=te(38705),Eo=te(17212),Co=["YYYY","MM","DD","HH","mm","ss","SSS"],To="\u9867",Oo=function(){function ue(We){(0,Fo.Z)(this,ue),(0,Gt.Z)(this,"format",void 0),(0,Gt.Z)(this,"maskFormat",void 0),(0,Gt.Z)(this,"cells",void 0),(0,Gt.Z)(this,"maskCells",void 0),this.format=We;var at=Co.map(function(En){return"(".concat(En,")")}).join("|"),St=new RegExp(at,"g");this.maskFormat=We.replace(St,function(En){return To.repeat(En.length)});var At=new RegExp("(".concat(Co.join("|"),")")),hn=(We.split(At)||[]).filter(function(En){return En}),Cn=0;this.cells=hn.map(function(En){var Zn=Co.includes(En),Yn=Cn,An=Cn+En.length;return Cn=An,{text:En,mask:Zn,start:Yn,end:An}}),this.maskCells=this.cells.filter(function(En){return En.mask})}return(0,Eo.Z)(ue,[{key:"getSelection",value:function(at){var St=this.maskCells[at]||{},At=St.start,hn=St.end;return[At||0,hn||0]}},{key:"match",value:function(at){for(var St=0;St<this.maskFormat.length;St+=1){var At=this.maskFormat[St],hn=at[St];if(!hn||At!==To&&At!==hn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(at){for(var St=Number.MAX_SAFE_INTEGER,At=0,hn=0;hn<this.maskCells.length;hn+=1){var Cn=this.maskCells[hn],En=Cn.start,Zn=Cn.end;if(at>=En&&at<=Zn)return hn;var Yn=Math.min(Math.abs(at-En),Math.abs(at-Zn));Yn<St&&(St=Yn,At=hn)}return At}}]),ue}();function ko(ue){var We={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return We[ue]}var ha=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],Aa=ce.forwardRef(function(ue,We){var at=ue.active,St=ue.showActiveCls,At=St===void 0?!0:St,hn=ue.suffixIcon,Cn=ue.format,En=ue.validateFormat,Zn=ue.onChange,Yn=ue.onInput,An=ue.helped,qn=ue.onHelp,sr=ue.onSubmit,ar=ue.onKeyDown,er=ue.preserveInvalidOnBlur,dr=er===void 0?!1:er,hr=ue.invalid,mr=ue.clearIcon,Yr=(0,qr.Z)(ue,ha),Tr=ue.value,xr=ue.onFocus,Qr=ue.onBlur,Fr=ue.onMouseUp,Nr=ce.useContext(ee),Fi=Nr.prefixCls,pi=Nr.input,yi=pi===void 0?"input":pi,di="".concat(Fi,"-input"),Li=ce.useState(!1),xi=(0,Je.Z)(Li,2),ii=xi[0],Xr=xi[1],si=ce.useState(Tr),li=(0,Je.Z)(si,2),Vi=li[0],Ni=li[1],vi=ce.useState(""),wi=(0,Je.Z)(vi,2),oi=wi[0],bi=wi[1],gi=ce.useState(null),Ki=(0,Je.Z)(gi,2),lo=Ki[0],uo=Ki[1],Ne=ce.useState(null),Me=(0,Je.Z)(Ne,2),ht=Me[0],xt=Me[1],Tt=Vi||"";ce.useEffect(function(){Ni(Tr)},[Tr]);var Ut=ce.useRef(),cn=ce.useRef();ce.useImperativeHandle(We,function(){return{nativeElement:Ut.current,inputElement:cn.current,focus:function(br){cn.current.focus(br)},blur:function(){cn.current.blur()}}});var an=ce.useMemo(function(){return new Oo(Cn||"")},[Cn]),pn=ce.useMemo(function(){return An?[0,0]:an.getSelection(lo)},[an,lo,An]),gn=(0,Je.Z)(pn,2),Mn=gn[0],In=gn[1],Dn=function(br){br&&br!==Cn&&br!==Tr&&qn()},xn=(0,dt.zX)(function(wr){En(wr)&&Zn(wr),Ni(wr),Dn(wr)}),yn=function(br){if(!Cn){var Or=br.target.value;Dn(Or),Ni(Or),Zn(Or)}},ur=function(br){var Or=br.clipboardData.getData("text");En(Or)&&xn(Or)},Hn=ce.useRef(!1),vr=function(){Hn.current=!0},fr=function(br){var Or=br.target,Qn=Or.selectionStart,$n=an.getMaskCellIndex(Qn);uo($n),xt({}),Fr==null||Fr(br),Hn.current=!1},Er=function(br){Xr(!0),uo(0),bi(""),xr(br)},yr=function(br){Qr(br)},Sr=function(br){Xr(!1),yr(br)};Ot(at,function(){!at&&!dr&&Ni(Tr)});var Mr=function(br){br.key==="Enter"&&En(Tt)&&sr(),ar==null||ar(br)},Hr=function(br){Mr(br);var Or=br.key,Qn=null,$n=null,Br=In-Mn,jr=Cn.slice(Mn,In),ei=function(eo){uo(function(qo){var No=qo+eo;return No=Math.max(No,0),No=Math.min(No,an.size()-1),No})},Si=function(eo){var qo=ko(jr),No=(0,Je.Z)(qo,3),Xo=No[0],ra=No[1],oa=No[2],go=Tt.slice(Mn,In),po=Number(go);if(isNaN(po))return String(oa||(eo>0?Xo:ra));var ma=po+eo,pa=ra-Xo+1;return String(Xo+(pa+ma-Xo)%pa)};switch(Or){case"Backspace":case"Delete":Qn="",$n=jr;break;case"ArrowLeft":Qn="",ei(-1);break;case"ArrowRight":Qn="",ei(1);break;case"ArrowUp":Qn="",$n=Si(1);break;case"ArrowDown":Qn="",$n=Si(-1);break;default:isNaN(Number(Or))||(Qn=oi+Or,$n=Qn);break}if(Qn!==null&&(bi(Qn),Qn.length>=Br&&(ei(1),bi(""))),$n!==null){var Kr=Tt.slice(0,Mn)+le($n,Br)+Tt.slice(In);xn(Kr.slice(0,Cn.length))}xt({})},Ur=ce.useRef();(0,It.Z)(function(){if(!(!ii||!Cn||Hn.current)){if(!an.match(Tt)){xn(Cn);return}return cn.current.setSelectionRange(Mn,In),Ur.current=(0,Ir.Z)(function(){cn.current.setSelectionRange(Mn,In)}),function(){Ir.Z.cancel(Ur.current)}}},[an,Cn,ii,Tt,lo,Mn,In,ht,xn]);var Ci=Cn?{onFocus:Er,onBlur:Sr,onKeyDown:Hr,onMouseDown:vr,onMouseUp:fr,onPaste:ur}:{};return ce.createElement("div",{ref:Ut,className:zt()(di,(0,Gt.Z)((0,Gt.Z)({},"".concat(di,"-active"),at&&At),"".concat(di,"-placeholder"),An))},ce.createElement(yi,(0,ke.Z)({ref:cn,"aria-invalid":hr,autoComplete:"off"},Yr,{onKeyDown:Mr,onBlur:yr},Ci,{value:Tt,onChange:yn})),ce.createElement(vo,{type:"suffix",icon:hn}),mr)}),xa=Aa,Ia=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],Da=["index"];function Gi(ue,We){var at=ue.id,St=ue.prefix,At=ue.clearIcon,hn=ue.suffixIcon,Cn=ue.separator,En=Cn===void 0?"~":Cn,Zn=ue.activeIndex,Yn=ue.activeHelp,An=ue.allHelp,qn=ue.focused,sr=ue.onFocus,ar=ue.onBlur,er=ue.onKeyDown,dr=ue.locale,hr=ue.generateConfig,mr=ue.placeholder,Yr=ue.className,Tr=ue.style,xr=ue.onClick,Qr=ue.onClear,Fr=ue.value,Nr=ue.onChange,Fi=ue.onSubmit,pi=ue.onInputChange,yi=ue.format,di=ue.maskFormat,Li=ue.preserveInvalidOnBlur,xi=ue.onInvalid,ii=ue.disabled,Xr=ue.invalid,si=ue.inputReadOnly,li=ue.direction,Vi=ue.onOpenChange,Ni=ue.onActiveInfo,vi=ue.placement,wi=ue.onMouseDown,oi=ue.required,bi=ue["aria-required"],gi=ue.autoFocus,Ki=ue.tabIndex,lo=(0,qr.Z)(ue,Ia),uo=li==="rtl",Ne=ce.useContext(ee),Me=Ne.prefixCls,ht=ce.useMemo(function(){if(typeof at=="string")return[at];var yr=at||{};return[yr.start,yr.end]},[at]),xt=ce.useRef(),Tt=ce.useRef(),Ut=ce.useRef(),cn=function(Sr){var Mr;return(Mr=[Tt,Ut][Sr])===null||Mr===void 0?void 0:Mr.current};ce.useImperativeHandle(We,function(){return{nativeElement:xt.current,focus:function(Sr){if((0,qt.Z)(Sr)==="object"){var Mr,Hr=Sr||{},Ur=Hr.index,Ci=Ur===void 0?0:Ur,wr=(0,qr.Z)(Hr,Da);(Mr=cn(Ci))===null||Mr===void 0||Mr.focus(wr)}else{var br;(br=cn(Sr!=null?Sr:0))===null||br===void 0||br.focus()}},blur:function(){var Sr,Mr;(Sr=cn(0))===null||Sr===void 0||Sr.blur(),(Mr=cn(1))===null||Mr===void 0||Mr.blur()}}});var an=Cr(lo),pn=ce.useMemo(function(){return Array.isArray(mr)?mr:[mr,mr]},[mr]),gn=or((0,Oe.Z)((0,Oe.Z)({},ue),{},{id:ht,placeholder:pn})),Mn=(0,Je.Z)(gn,1),In=Mn[0],Dn=ce.useState({position:"absolute",width:0}),xn=(0,Je.Z)(Dn,2),yn=xn[0],ur=xn[1],Hn=(0,dt.zX)(function(){var yr=cn(Zn);if(yr){var Sr=yr.nativeElement.getBoundingClientRect(),Mr=xt.current.getBoundingClientRect(),Hr=Sr.left-Mr.left;ur(function(Ur){return(0,Oe.Z)((0,Oe.Z)({},Ur),{},{width:Sr.width,left:Hr})}),Ni([Sr.left,Sr.right,Mr.width])}});ce.useEffect(function(){Hn()},[Zn]);var vr=At&&(Fr[0]&&!ii[0]||Fr[1]&&!ii[1]),fr=gi&&!ii[0],Er=gi&&!fr&&!ii[1];return ce.createElement(Wn.Z,{onResize:Hn},ce.createElement("div",(0,ke.Z)({},an,{className:zt()(Me,"".concat(Me,"-range"),(0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)({},"".concat(Me,"-focused"),qn),"".concat(Me,"-disabled"),ii.every(function(yr){return yr})),"".concat(Me,"-invalid"),Xr.some(function(yr){return yr})),"".concat(Me,"-rtl"),uo),Yr),style:Tr,ref:xt,onClick:xr,onMouseDown:function(Sr){var Mr=Sr.target;Mr!==Tt.current.inputElement&&Mr!==Ut.current.inputElement&&Sr.preventDefault(),wi==null||wi(Sr)}}),St&&ce.createElement("div",{className:"".concat(Me,"-prefix")},St),ce.createElement(xa,(0,ke.Z)({ref:Tt},In(0),{autoFocus:fr,tabIndex:Ki,"date-range":"start"})),ce.createElement("div",{className:"".concat(Me,"-range-separator")},En),ce.createElement(xa,(0,ke.Z)({ref:Ut},In(1),{autoFocus:Er,tabIndex:Ki,"date-range":"end"})),ce.createElement("div",{className:"".concat(Me,"-active-bar"),style:yn}),ce.createElement(vo,{type:"suffix",icon:hn}),vr&&ce.createElement(ao,{icon:At,onClear:Qr})))}var Mi=ce.forwardRef(Gi),ea=Mi;function ta(ue,We){var at=ue!=null?ue:We;return Array.isArray(at)?at:[at,at]}function Xi(ue){return ue===1?"end":"start"}function Wo(ue,We){var at=Rr(ue,function(){var Yo=ue.disabled,wo=ue.allowEmpty,ui=ta(Yo,!1),Yi=ta(wo,!1);return{disabled:ui,allowEmpty:Yi}}),St=(0,Je.Z)(at,6),At=St[0],hn=St[1],Cn=St[2],En=St[3],Zn=St[4],Yn=St[5],An=At.prefixCls,qn=At.styles,sr=At.classNames,ar=At.defaultValue,er=At.value,dr=At.needConfirm,hr=At.onKeyDown,mr=At.disabled,Yr=At.allowEmpty,Tr=At.disabledDate,xr=At.minDate,Qr=At.maxDate,Fr=At.defaultOpen,Nr=At.open,Fi=At.onOpenChange,pi=At.locale,yi=At.generateConfig,di=At.picker,Li=At.showNow,xi=At.showToday,ii=At.showTime,Xr=At.mode,si=At.onPanelChange,li=At.onCalendarChange,Vi=At.onOk,Ni=At.defaultPickerValue,vi=At.pickerValue,wi=At.onPickerValueChange,oi=At.inputReadOnly,bi=At.suffixIcon,gi=At.onFocus,Ki=At.onBlur,lo=At.presets,uo=At.ranges,Ne=At.components,Me=At.cellRender,ht=At.dateRender,xt=At.monthCellRender,Tt=At.onClick,Ut=rr(We),cn=Ln(Nr,Fr,mr,Fi),an=(0,Je.Z)(cn,2),pn=an[0],gn=an[1],Mn=function(wo,ui){(mr.some(function(Yi){return!Yi})||!wo)&&gn(wo,ui)},In=jt(yi,pi,En,!0,!1,ar,er,li,Vi),Dn=(0,Je.Z)(In,5),xn=Dn[0],yn=Dn[1],ur=Dn[2],Hn=Dn[3],vr=Dn[4],fr=ur(),Er=_t(mr,Yr,pn),yr=(0,Je.Z)(Er,9),Sr=yr[0],Mr=yr[1],Hr=yr[2],Ur=yr[3],Ci=yr[4],wr=yr[5],br=yr[6],Or=yr[7],Qn=yr[8],$n=function(wo,ui){Mr(!0),gi==null||gi(wo,{range:Xi(ui!=null?ui:Ur)})},Br=function(wo,ui){Mr(!1),Ki==null||Ki(wo,{range:Xi(ui!=null?ui:Ur)})},jr=ce.useMemo(function(){if(!ii)return null;var Yo=ii.disabledTime,wo=Yo?function(ui){var Yi=Xi(Ur),Io=Xe(fr,br,Ur);return Yo(ui,Yi,{from:Io})}:void 0;return(0,Oe.Z)((0,Oe.Z)({},ii),{},{disabledTime:wo})},[ii,Ur,fr,br]),ei=(0,dt.C8)([di,di],{value:Xr}),Si=(0,Je.Z)(ei,2),Kr=Si[0],so=Si[1],eo=Kr[Ur]||di,qo=eo==="date"&&jr?"datetime":eo,No=qo===di&&qo!=="time",Xo=ln(di,eo,Li,xi,!0),ra=Yt(At,xn,yn,ur,Hn,mr,En,Sr,pn,Yn),oa=(0,Je.Z)(ra,2),go=oa[0],po=oa[1],ma=vt(fr,mr,br,yi,pi,Tr),pa=He(fr,Yn,Yr),Ii=(0,Je.Z)(pa,2),no=Ii[0],Di=Ii[1],ci=Ht(yi,pi,fr,Kr,pn,Ur,hn,No,Ni,vi,jr==null?void 0:jr.defaultOpenValue,wi,xr,Qr),Do=(0,Je.Z)(ci,2),Zo=Do[0],aa=Do[1],Ho=(0,dt.zX)(function(Yo,wo,ui){var Yi=Ee(Kr,Ur,wo);if((Yi[0]!==Kr[0]||Yi[1]!==Kr[1])&&so(Yi),si&&ui!==!1){var Io=(0,Et.Z)(fr);Yo&&(Io[Ur]=Yo),si(Io,Yi)}}),va=function(wo,ui){return Ee(fr,ui,wo)},ca=function(wo,ui){var Yi=fr;wo&&(Yi=va(wo,Ur)),Or(Ur);var Io=wr(Yi);Hn(Yi),go(Ur,Io===null),Io===null?Mn(!1,{force:!0}):ui||Ut.current.focus({index:Io})},Ti=function(wo){var ui,Yi=wo.target.getRootNode();if(!Ut.current.nativeElement.contains((ui=Yi.activeElement)!==null&&ui!==void 0?ui:document.activeElement)){var Io=mr.findIndex(function(Ba){return!Ba});Io>=0&&Ut.current.focus({index:Io})}Mn(!0),Tt==null||Tt(wo)},Ui=function(){po(null),Mn(!1,{force:!0})},jo=ce.useState(null),$o=(0,Je.Z)(jo,2),_o=$o[0],Sa=$o[1],la=ce.useState(null),Na=(0,Je.Z)(la,2),ia=Na[0],Po=Na[1],na=ce.useMemo(function(){return ia||fr},[fr,ia]);ce.useEffect(function(){pn||Po(null)},[pn]);var sa=ce.useState([0,0,0]),Ca=(0,Je.Z)(sa,2),ga=Ca[0],Mo=Ca[1],fa=ir(lo,uo),Uo=function(wo){Po(wo),Sa("preset")},Ra=function(wo){var ui=po(wo);ui&&Mn(!1,{force:!0})},wa=function(wo){ca(wo)},Va=function(wo){Po(wo?va(wo,Ur):null),Sa("cell")},$a=function(wo){Mn(!0),$n(wo)},wl=function(){Hr("panel")},ua=function(wo){var ui=Ee(fr,Ur,wo);Hn(ui),!dr&&!Cn&&hn===qo&&ca(wo)},Jl=function(){Mn(!1)},Ka=pt(Me,ht,xt,Xi(Ur)),hl=fr[Ur]||null,al=(0,dt.zX)(function(Yo){return Yn(Yo,{activeIndex:Ur})}),ro=ce.useMemo(function(){var Yo=(0,Ft.Z)(At,!1),wo=(0,st.Z)(At,[].concat((0,Et.Z)(Object.keys(Yo)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return wo},[At]),Pi=ce.createElement(Wr,(0,ke.Z)({},ro,{showNow:Xo,showTime:jr,range:!0,multiplePanel:No,activeInfo:ga,disabledDate:ma,onFocus:$a,onBlur:Br,onPanelMouseDown:wl,picker:di,mode:eo,internalMode:qo,onPanelChange:Ho,format:Zn,value:hl,isInvalid:al,onChange:null,onSelect:ua,pickerValue:Zo,defaultOpenValue:ge(ii==null?void 0:ii.defaultOpenValue)[Ur],onPickerValueChange:aa,hoverValue:na,onHover:Va,needConfirm:dr,onSubmit:ca,onOk:vr,presets:fa,onPresetHover:Uo,onPresetSubmit:Ra,onNow:wa,cellRender:Ka})),ya=function(wo,ui){var Yi=va(wo,ui);Hn(Yi)},_a=function(){Hr("input")},yl=function(wo,ui){var Yi=br.length,Io=br[Yi-1];if(Yi&&Io!==ui&&dr&&!Yr[Io]&&!Qn(Io)&&fr[Io]){Ut.current.focus({index:Io});return}Hr("input"),Mn(!0,{inherit:!0}),Ur!==ui&&pn&&!dr&&Cn&&ca(null,!0),Ci(ui),$n(wo,ui)},Nl=function(wo,ui){if(Mn(!1),!dr&&Hr()==="input"){var Yi=wr(fr);go(Ur,Yi===null)}Br(wo,ui)},ws=function(wo,ui){wo.key==="Tab"&&ca(null,!0),hr==null||hr(wo,ui)},Es=ce.useMemo(function(){return{prefixCls:An,locale:pi,generateConfig:yi,button:Ne.button,input:Ne.input}},[An,pi,yi,Ne.button,Ne.input]);if((0,It.Z)(function(){pn&&Ur!==void 0&&Ho(null,di,!1)},[pn,Ur,di]),(0,It.Z)(function(){var Yo=Hr();!pn&&Yo==="input"&&(Mn(!1),ca(null,!0)),!pn&&Cn&&!dr&&Yo==="panel"&&(Mn(!0),ca())},[pn]),0)var Ls;return ce.createElement(ee.Provider,{value:Es},ce.createElement(ne,(0,ke.Z)({},it(At),{popupElement:Pi,popupStyle:qn.popup,popupClassName:sr.popup,visible:pn,onClose:Jl,range:!0}),ce.createElement(ea,(0,ke.Z)({},At,{ref:Ut,suffixIcon:bi,activeIndex:Sr||pn?Ur:null,activeHelp:!!ia,allHelp:!!ia&&_o==="preset",focused:Sr,onFocus:yl,onBlur:Nl,onKeyDown:ws,onSubmit:ca,value:na,maskFormat:Zn,onChange:ya,onInputChange:_a,format:En,inputReadOnly:oi,disabled:mr,open:pn,onOpenChange:Mn,onClick:Ti,onClear:Ui,invalid:no,onInvalid:Di,onActiveInfo:Mo}))))}var Jo=ce.forwardRef(Wo),ho=Jo,zo=te(83836);function Bo(ue){var We=ue.prefixCls,at=ue.value,St=ue.onRemove,At=ue.removeIcon,hn=At===void 0?"\xD7":At,Cn=ue.formatDate,En=ue.disabled,Zn=ue.maxTagCount,Yn=ue.placeholder,An="".concat(We,"-selector"),qn="".concat(We,"-selection"),sr="".concat(qn,"-overflow");function ar(hr,mr){return ce.createElement("span",{className:zt()("".concat(qn,"-item")),title:typeof hr=="string"?hr:null},ce.createElement("span",{className:"".concat(qn,"-item-content")},hr),!En&&mr&&ce.createElement("span",{onMouseDown:function(Tr){Tr.preventDefault()},onClick:mr,className:"".concat(qn,"-item-remove")},hn))}function er(hr){var mr=Cn(hr),Yr=function(xr){xr&&xr.stopPropagation(),St(hr)};return ar(mr,Yr)}function dr(hr){var mr="+ ".concat(hr.length," ...");return ar(mr)}return ce.createElement("div",{className:An},ce.createElement(zo.Z,{prefixCls:sr,data:at,renderItem:er,renderRest:dr,itemKey:function(mr){return Cn(mr)},maxCount:Zn}),!at.length&&ce.createElement("span",{className:"".concat(We,"-selection-placeholder")},Yn))}var Ta=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function rl(ue,We){var at=ue.id,St=ue.open,At=ue.prefix,hn=ue.clearIcon,Cn=ue.suffixIcon,En=ue.activeHelp,Zn=ue.allHelp,Yn=ue.focused,An=ue.onFocus,qn=ue.onBlur,sr=ue.onKeyDown,ar=ue.locale,er=ue.generateConfig,dr=ue.placeholder,hr=ue.className,mr=ue.style,Yr=ue.onClick,Tr=ue.onClear,xr=ue.internalPicker,Qr=ue.value,Fr=ue.onChange,Nr=ue.onSubmit,Fi=ue.onInputChange,pi=ue.multiple,yi=ue.maxTagCount,di=ue.format,Li=ue.maskFormat,xi=ue.preserveInvalidOnBlur,ii=ue.onInvalid,Xr=ue.disabled,si=ue.invalid,li=ue.inputReadOnly,Vi=ue.direction,Ni=ue.onOpenChange,vi=ue.onMouseDown,wi=ue.required,oi=ue["aria-required"],bi=ue.autoFocus,gi=ue.tabIndex,Ki=ue.removeIcon,lo=(0,qr.Z)(ue,Ta),uo=Vi==="rtl",Ne=ce.useContext(ee),Me=Ne.prefixCls,ht=ce.useRef(),xt=ce.useRef();ce.useImperativeHandle(We,function(){return{nativeElement:ht.current,focus:function(yn){var ur;(ur=xt.current)===null||ur===void 0||ur.focus(yn)},blur:function(){var yn;(yn=xt.current)===null||yn===void 0||yn.blur()}}});var Tt=Cr(lo),Ut=function(yn){Fr([yn])},cn=function(yn){var ur=Qr.filter(function(Hn){return Hn&&!un(er,ar,Hn,yn,xr)});Fr(ur),St||Nr()},an=or((0,Oe.Z)((0,Oe.Z)({},ue),{},{onChange:Ut}),function(xn){var yn=xn.valueTexts;return{value:yn[0]||"",active:Yn}}),pn=(0,Je.Z)(an,2),gn=pn[0],Mn=pn[1],In=!!(hn&&Qr.length&&!Xr),Dn=pi?ce.createElement(ce.Fragment,null,ce.createElement(Bo,{prefixCls:Me,value:Qr,onRemove:cn,formatDate:Mn,maxTagCount:yi,disabled:Xr,removeIcon:Ki,placeholder:dr}),ce.createElement("input",{className:"".concat(Me,"-multiple-input"),value:Qr.map(Mn).join(","),ref:xt,readOnly:!0,autoFocus:bi,tabIndex:gi}),ce.createElement(vo,{type:"suffix",icon:Cn}),In&&ce.createElement(ao,{icon:hn,onClear:Tr})):ce.createElement(xa,(0,ke.Z)({ref:xt},gn(),{autoFocus:bi,tabIndex:gi,suffixIcon:Cn,clearIcon:In&&ce.createElement(ao,{icon:hn,onClear:Tr}),showActiveCls:!1}));return ce.createElement("div",(0,ke.Z)({},Tt,{className:zt()(Me,(0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)((0,Gt.Z)({},"".concat(Me,"-multiple"),pi),"".concat(Me,"-focused"),Yn),"".concat(Me,"-disabled"),Xr),"".concat(Me,"-invalid"),si),"".concat(Me,"-rtl"),uo),hr),style:mr,ref:ht,onClick:Yr,onMouseDown:function(yn){var ur,Hn=yn.target;Hn!==((ur=xt.current)===null||ur===void 0?void 0:ur.inputElement)&&yn.preventDefault(),vi==null||vi(yn)}}),At&&ce.createElement("div",{className:"".concat(Me,"-prefix")},At),Dn)}var Za=ce.forwardRef(rl),Fa=Za;function Yl(ue,We){var at=Rr(ue),St=(0,Je.Z)(at,6),At=St[0],hn=St[1],Cn=St[2],En=St[3],Zn=St[4],Yn=St[5],An=At,qn=An.prefixCls,sr=An.styles,ar=An.classNames,er=An.order,dr=An.defaultValue,hr=An.value,mr=An.needConfirm,Yr=An.onChange,Tr=An.onKeyDown,xr=An.disabled,Qr=An.disabledDate,Fr=An.minDate,Nr=An.maxDate,Fi=An.defaultOpen,pi=An.open,yi=An.onOpenChange,di=An.locale,Li=An.generateConfig,xi=An.picker,ii=An.showNow,Xr=An.showToday,si=An.showTime,li=An.mode,Vi=An.onPanelChange,Ni=An.onCalendarChange,vi=An.onOk,wi=An.multiple,oi=An.defaultPickerValue,bi=An.pickerValue,gi=An.onPickerValueChange,Ki=An.inputReadOnly,lo=An.suffixIcon,uo=An.removeIcon,Ne=An.onFocus,Me=An.onBlur,ht=An.presets,xt=An.components,Tt=An.cellRender,Ut=An.dateRender,cn=An.monthCellRender,an=An.onClick,pn=rr(We);function gn(ro){return ro===null?null:wi?ro:ro[0]}var Mn=Pr(Li,di,hn),In=Ln(pi,Fi,[xr],yi),Dn=(0,Je.Z)(In,2),xn=Dn[0],yn=Dn[1],ur=function(Pi,ya,_a){if(Ni){var yl=(0,Oe.Z)({},_a);delete yl.range,Ni(gn(Pi),gn(ya),yl)}},Hn=function(Pi){vi==null||vi(gn(Pi))},vr=jt(Li,di,En,!1,er,dr,hr,ur,Hn),fr=(0,Je.Z)(vr,5),Er=fr[0],yr=fr[1],Sr=fr[2],Mr=fr[3],Hr=fr[4],Ur=Sr(),Ci=_t([xr]),wr=(0,Je.Z)(Ci,4),br=wr[0],Or=wr[1],Qn=wr[2],$n=wr[3],Br=function(Pi){Or(!0),Ne==null||Ne(Pi,{})},jr=function(Pi){Or(!1),Me==null||Me(Pi,{})},ei=(0,dt.C8)(xi,{value:li}),Si=(0,Je.Z)(ei,2),Kr=Si[0],so=Si[1],eo=Kr==="date"&&si?"datetime":Kr,qo=ln(xi,Kr,ii,Xr),No=Yr&&function(ro,Pi){Yr(gn(ro),gn(Pi))},Xo=Yt((0,Oe.Z)((0,Oe.Z)({},At),{},{onChange:No}),Er,yr,Sr,Mr,[],En,br,xn,Yn),ra=(0,Je.Z)(Xo,2),oa=ra[1],go=He(Ur,Yn),po=(0,Je.Z)(go,2),ma=po[0],pa=po[1],Ii=ce.useMemo(function(){return ma.some(function(ro){return ro})},[ma]),no=function(Pi,ya){if(gi){var _a=(0,Oe.Z)((0,Oe.Z)({},ya),{},{mode:ya.mode[0]});delete _a.range,gi(Pi[0],_a)}},Di=Ht(Li,di,Ur,[Kr],xn,$n,hn,!1,oi,bi,ge(si==null?void 0:si.defaultOpenValue),no,Fr,Nr),ci=(0,Je.Z)(Di,2),Do=ci[0],Zo=ci[1],aa=(0,dt.zX)(function(ro,Pi,ya){if(so(Pi),Vi&&ya!==!1){var _a=ro||Ur[Ur.length-1];Vi(_a,Pi)}}),Ho=function(){oa(Sr()),yn(!1,{force:!0})},va=function(Pi){!xr&&!pn.current.nativeElement.contains(document.activeElement)&&pn.current.focus(),yn(!0),an==null||an(Pi)},ca=function(){oa(null),yn(!1,{force:!0})},Ti=ce.useState(null),Ui=(0,Je.Z)(Ti,2),jo=Ui[0],$o=Ui[1],_o=ce.useState(null),Sa=(0,Je.Z)(_o,2),la=Sa[0],Na=Sa[1],ia=ce.useMemo(function(){var ro=[la].concat((0,Et.Z)(Ur)).filter(function(Pi){return Pi});return wi?ro:ro.slice(0,1)},[Ur,la,wi]),Po=ce.useMemo(function(){return!wi&&la?[la]:Ur.filter(function(ro){return ro})},[Ur,la,wi]);ce.useEffect(function(){xn||Na(null)},[xn]);var na=ir(ht),sa=function(Pi){Na(Pi),$o("preset")},Ca=function(Pi){var ya=wi?Mn(Sr(),Pi):[Pi],_a=oa(ya);_a&&!wi&&yn(!1,{force:!0})},ga=function(Pi){Ca(Pi)},Mo=function(Pi){Na(Pi),$o("cell")},fa=function(Pi){yn(!0),Br(Pi)},Uo=function(Pi){if(Qn("panel"),!(wi&&eo!==xi)){var ya=wi?Mn(Sr(),Pi):[Pi];Mr(ya),!mr&&!Cn&&hn===eo&&Ho()}},Ra=function(){yn(!1)},wa=pt(Tt,Ut,cn),Va=ce.useMemo(function(){var ro=(0,Ft.Z)(At,!1),Pi=(0,st.Z)(At,[].concat((0,Et.Z)(Object.keys(ro)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Oe.Z)((0,Oe.Z)({},Pi),{},{multiple:At.multiple})},[At]),$a=ce.createElement(Wr,(0,ke.Z)({},Va,{showNow:qo,showTime:si,disabledDate:Qr,onFocus:fa,onBlur:jr,picker:xi,mode:Kr,internalMode:eo,onPanelChange:aa,format:Zn,value:Ur,isInvalid:Yn,onChange:null,onSelect:Uo,pickerValue:Do,defaultOpenValue:si==null?void 0:si.defaultOpenValue,onPickerValueChange:Zo,hoverValue:ia,onHover:Mo,needConfirm:mr,onSubmit:Ho,onOk:Hr,presets:na,onPresetHover:sa,onPresetSubmit:Ca,onNow:ga,cellRender:wa})),wl=function(Pi){Mr(Pi)},ua=function(){Qn("input")},Jl=function(Pi){Qn("input"),yn(!0,{inherit:!0}),Br(Pi)},Ka=function(Pi){yn(!1),jr(Pi)},hl=function(Pi,ya){Pi.key==="Tab"&&Ho(),Tr==null||Tr(Pi,ya)},al=ce.useMemo(function(){return{prefixCls:qn,locale:di,generateConfig:Li,button:xt.button,input:xt.input}},[qn,di,Li,xt.button,xt.input]);return(0,It.Z)(function(){xn&&$n!==void 0&&aa(null,xi,!1)},[xn,$n,xi]),(0,It.Z)(function(){var ro=Qn();!xn&&ro==="input"&&(yn(!1),Ho()),!xn&&Cn&&!mr&&ro==="panel"&&Ho()},[xn]),ce.createElement(ee.Provider,{value:al},ce.createElement(ne,(0,ke.Z)({},it(At),{popupElement:$a,popupStyle:sr.popup,popupClassName:ar.popup,visible:xn,onClose:Ra}),ce.createElement(Fa,(0,ke.Z)({},At,{ref:pn,suffixIcon:lo,removeIcon:uo,activeHelp:!!la,allHelp:!!la&&jo==="preset",focused:br,onFocus:Jl,onBlur:Ka,onKeyDown:hl,onSubmit:Ho,value:Po,maskFormat:Zn,onChange:wl,onInputChange:ua,internalPicker:hn,format:En,inputReadOnly:Ki,disabled:xr,open:xn,onOpenChange:yn,onClick:va,onClear:ca,invalid:Ii,onInvalid:function(Pi){pa(Pi,0)}}))))}var jl=ce.forwardRef(Yl),qi=jl,xo=qi,_i=te(62487),to=te(75030),Lo=te(82855),da=te(48755),Cl=te(2171),Ga=te(83397),Wa=te(31756),Pa=te(56553),pl=te(24971),Al=te(9017),el=te(70045),Dl=te(57428),Ao=te(36237),xl=te(53075),Vl=te(64910),us=te(63356),ys=te(56119),il=te(46e3),zl=te(93873),vl=te(36305),Fs=te(16931),Gl=te(51636),cs=te(26743);const ts=(ue,We)=>{const{componentCls:at,controlHeight:St}=ue,At=We?`${at}-${We}`:"",hn=(0,cs.gp)(ue);return[{[`${at}-multiple${At}`]:{paddingBlock:hn.containerPadding,paddingInlineStart:hn.basePadding,minHeight:St,[`${at}-selection-item`]:{height:hn.itemHeight,lineHeight:(0,Ao.unit)(hn.itemLineHeight)}}}]};var ds=ue=>{const{componentCls:We,calc:at,lineWidth:St}=ue,At=(0,Gl.mergeToken)(ue,{fontHeight:ue.fontSize,selectHeight:ue.controlHeightSM,multipleSelectItemHeight:ue.multipleItemHeightSM,borderRadius:ue.borderRadiusSM,borderRadiusSM:ue.borderRadiusXS,controlHeight:ue.controlHeightSM}),hn=(0,Gl.mergeToken)(ue,{fontHeight:at(ue.multipleItemHeightLG).sub(at(St).mul(2).equal()).equal(),fontSize:ue.fontSizeLG,selectHeight:ue.controlHeightLG,multipleSelectItemHeight:ue.multipleItemHeightLG,borderRadius:ue.borderRadiusLG,borderRadiusSM:ue.borderRadius,controlHeight:ue.controlHeightLG});return[ts(At,"small"),ts(ue),ts(hn,"large"),{[`${We}${We}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${We}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${We}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ue.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${ue.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}}},(0,cs._z)(ue)),{[`${We}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},gl=te(17835);const Xl=ue=>{const{pickerCellCls:We,pickerCellInnerCls:at,cellHeight:St,borderRadiusSM:At,motionDurationMid:hn,cellHoverBg:Cn,lineWidth:En,lineType:Zn,colorPrimary:Yn,cellActiveWithRangeBg:An,colorTextLightSolid:qn,colorTextDisabled:sr,cellBgDisabled:ar,colorFillSecondary:er}=ue;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:St,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[at]:{position:"relative",zIndex:2,display:"inline-block",minWidth:St,height:St,lineHeight:(0,Ao.unit)(St),borderRadius:At,transition:`background ${hn}`},[`&:hover:not(${We}-in-view):not(${We}-disabled),
|
|
|
&:hover:not(${We}-selected):not(${We}-range-start):not(${We}-range-end):not(${We}-disabled)`]:{[at]:{background:Cn}},[`&-in-view${We}-today ${at}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Ao.unit)(En)} ${Zn} ${Yn}`,borderRadius:At,content:'""'}},[`&-in-view${We}-in-range,
|
|
|
&-in-view${We}-range-start,
|
|
|
&-in-view${We}-range-end`]:{position:"relative",[`&:not(${We}-disabled):before`]:{background:An}},[`&-in-view${We}-selected,
|
|
|
&-in-view${We}-range-start,
|
|
|
&-in-view${We}-range-end`]:{[`&:not(${We}-disabled) ${at}`]:{color:qn,background:Yn},[`&${We}-disabled ${at}`]:{background:er}},[`&-in-view${We}-range-start:not(${We}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${We}-range-end:not(${We}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${We}-range-start:not(${We}-range-end) ${at}`]:{borderStartStartRadius:At,borderEndStartRadius:At,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${We}-range-end:not(${We}-range-start) ${at}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:At,borderEndEndRadius:At},"&-disabled":{color:sr,cursor:"not-allowed",[at]:{background:"transparent"},"&::before":{background:ar}},[`&-disabled${We}-today ${at}::before`]:{borderColor:sr}}},ns=ue=>{const{componentCls:We,pickerCellCls:at,pickerCellInnerCls:St,pickerYearMonthCellWidth:At,pickerControlIconSize:hn,cellWidth:Cn,paddingSM:En,paddingXS:Zn,paddingXXS:Yn,colorBgContainer:An,lineWidth:qn,lineType:sr,borderRadiusLG:ar,colorPrimary:er,colorTextHeading:dr,colorSplit:hr,pickerControlIconBorderWidth:mr,colorIcon:Yr,textHeight:Tr,motionDurationMid:xr,colorIconHover:Qr,fontWeightStrong:Fr,cellHeight:Nr,pickerCellPaddingVertical:Fi,colorTextDisabled:pi,colorText:yi,fontSize:di,motionDurationSlow:Li,withoutTimeCellHeight:xi,pickerQuarterPanelContentHeight:ii,borderRadiusSM:Xr,colorTextLightSolid:si,cellHoverBg:li,timeColumnHeight:Vi,timeColumnWidth:Ni,timeCellHeight:vi,controlItemBgActive:wi,marginXXS:oi,pickerDatePanelPaddingHorizontal:bi,pickerControlIconMargin:gi}=ue,Ki=ue.calc(Cn).mul(7).add(ue.calc(bi).mul(2)).equal();return{[We]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:An,borderRadius:ar,outline:"none","&-focused":{borderColor:er},"&-rtl":{[`${We}-prev-icon,
|
|
|
${We}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${We}-next-icon,
|
|
|
${We}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${We}-time-panel`]:{[`${We}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Ki},"&-header":{display:"flex",padding:`0 ${(0,Ao.unit)(Zn)}`,color:dr,borderBottom:`${(0,Ao.unit)(qn)} ${sr} ${hr}`,"> *":{flex:"none"},button:{padding:0,color:Yr,lineHeight:(0,Ao.unit)(Tr),background:"transparent",border:0,cursor:"pointer",transition:`color ${xr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:di,"&:hover":{color:Qr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:Fr,lineHeight:(0,Ao.unit)(Tr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Zn},"&:hover":{color:er}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:hn,height:hn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:hn,height:hn,border:"0 solid currentcolor",borderBlockStartWidth:mr,borderInlineStartWidth:mr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:gi,insetInlineStart:gi,display:"inline-block",width:hn,height:hn,border:"0 solid currentcolor",borderBlockStartWidth:mr,borderInlineStartWidth:mr,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Nr,fontWeight:"normal"},th:{height:ue.calc(Nr).add(ue.calc(Fi).mul(2)).equal(),color:yi,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Ao.unit)(Fi)} 0`,color:pi,cursor:"pointer","&-in-view":{color:yi}},Xl(ue)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${We}-content`]:{height:ue.calc(xi).mul(4).equal()},[St]:{padding:`0 ${(0,Ao.unit)(Zn)}`}},"&-quarter-panel":{[`${We}-content`]:{height:ii}},"&-decade-panel":{[St]:{padding:`0 ${(0,Ao.unit)(ue.calc(Zn).div(2).equal())}`},[`${We}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${We}-body`]:{padding:`0 ${(0,Ao.unit)(Zn)}`},[St]:{width:At}},"&-date-panel":{[`${We}-body`]:{padding:`${(0,Ao.unit)(Zn)} ${(0,Ao.unit)(bi)}`},[`${We}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${We}-cell`]:{[`&:hover ${St},
|
|
|
&-selected ${St},
|
|
|
${St}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${xr}`},"&:first-child:before":{borderStartStartRadius:Xr,borderEndStartRadius:Xr},"&:last-child:before":{borderStartEndRadius:Xr,borderEndEndRadius:Xr}},"&:hover td:before":{background:li},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${at}`]:{"&:before":{background:er},[`&${We}-cell-week`]:{color:new gl.FastColor(si).setA(.5).toHexString()},[St]:{color:si}}},"&-range-hover td:before":{background:wi}}},"&-week-panel, &-date-panel-show-week":{[`${We}-body`]:{padding:`${(0,Ao.unit)(Zn)} ${(0,Ao.unit)(En)}`},[`${We}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${We}-time-panel`]:{borderInlineStart:`${(0,Ao.unit)(qn)} ${sr} ${hr}`},[`${We}-date-panel,
|
|
|
${We}-time-panel`]:{transition:`opacity ${Li}`},"&-active":{[`${We}-date-panel,
|
|
|
${We}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${We}-content`]:{display:"flex",flex:"auto",height:Vi},"&-column":{flex:"1 0 auto",width:Ni,margin:`${(0,Ao.unit)(Yn)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${xr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:ue.colorTextTertiary,borderRadius:ue.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${ue.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Ao.unit)(vi)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Ao.unit)(qn)} ${sr} ${hr}`},"&-active":{background:new gl.FastColor(wi).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${We}-time-panel-cell`]:{marginInline:oi,[`${We}-time-panel-cell-inner`]:{display:"block",width:ue.calc(Ni).sub(ue.calc(oi).mul(2)).equal(),height:vi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:ue.calc(Ni).sub(vi).div(2).equal(),color:yi,lineHeight:(0,Ao.unit)(vi),borderRadius:Xr,cursor:"pointer",transition:`background ${xr}`,"&:hover":{background:li}},"&-selected":{[`${We}-time-panel-cell-inner`]:{background:wi}},"&-disabled":{[`${We}-time-panel-cell-inner`]:{color:pi,background:"transparent",cursor:"not-allowed"}}}}}}}}};var $l=ue=>{const{componentCls:We,textHeight:at,lineWidth:St,paddingSM:At,antCls:hn,colorPrimary:Cn,cellActiveWithRangeBg:En,colorPrimaryBorder:Zn,lineType:Yn,colorSplit:An}=ue;return{[`${We}-dropdown`]:{[`${We}-footer`]:{borderTop:`${(0,Ao.unit)(St)} ${Yn} ${An}`,"&-extra":{padding:`0 ${(0,Ao.unit)(At)}`,lineHeight:(0,Ao.unit)(ue.calc(at).sub(ue.calc(St).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Ao.unit)(St)} ${Yn} ${An}`}}},[`${We}-panels + ${We}-footer ${We}-ranges`]:{justifyContent:"space-between"},[`${We}-ranges`]:{marginBlock:0,paddingInline:(0,Ao.unit)(At),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Ao.unit)(ue.calc(at).sub(ue.calc(St).mul(2)).equal()),display:"inline-block"},[`${We}-now-btn-disabled`]:{pointerEvents:"none",color:ue.colorTextDisabled},[`${We}-preset > ${hn}-tag-blue`]:{color:Cn,background:En,borderColor:Zn,cursor:"pointer"},[`${We}-ok`]:{paddingBlock:ue.calc(St).mul(2).equal(),marginInlineStart:"auto"}}}}};const fs=ue=>{const{componentCls:We,controlHeightLG:at,paddingXXS:St,padding:At}=ue;return{pickerCellCls:`${We}-cell`,pickerCellInnerCls:`${We}-cell-inner`,pickerYearMonthCellWidth:ue.calc(at).mul(1.5).equal(),pickerQuarterPanelContentHeight:ue.calc(at).mul(1.4).equal(),pickerCellPaddingVertical:ue.calc(St).add(ue.calc(St).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ue.calc(At).add(ue.calc(St).div(2)).equal()}},Cs=ue=>{const{colorBgContainerDisabled:We,controlHeight:at,controlHeightSM:St,controlHeightLG:At,paddingXXS:hn,lineWidth:Cn}=ue,En=hn*2,Zn=Cn*2,Yn=Math.min(at-En,at-Zn),An=Math.min(St-En,St-Zn),qn=Math.min(At-En,At-Zn);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(hn/2),cellHoverBg:ue.controlItemBgHover,cellActiveWithRangeBg:ue.controlItemBgActive,cellHoverWithRangeBg:new gl.FastColor(ue.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new gl.FastColor(ue.colorPrimary).lighten(20).toHexString(),cellBgDisabled:We,timeColumnWidth:At*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:St*1.5,cellHeight:St,textHeight:At,withoutTimeCellHeight:At*1.65,multipleItemBg:ue.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:Yn,multipleItemHeightSM:An,multipleItemHeightLG:qn,multipleSelectorBgDisabled:We,multipleItemColorDisabled:ue.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Kl=ue=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,Vl.T)(ue)),Cs(ue)),(0,vl.w)(ue)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ue.zIndexPopupBase+50});var Ha=te(39082),So=ue=>{const{componentCls:We}=ue;return{[We]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ha.qG)(ue)),(0,Ha.vc)(ue)),(0,Ha.H8)(ue)),(0,Ha.Mu)(ue)),{"&-outlined":{[`&${We}-multiple ${We}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ao.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}},"&-filled":{[`&${We}-multiple ${We}-selection-item`]:{background:ue.colorBgContainer,border:`${(0,Ao.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}},"&-borderless":{[`&${We}-multiple ${We}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ao.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}},"&-underlined":{[`&${We}-multiple ${We}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ao.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}}}]}};const ka=(ue,We,at,St)=>{const At=ue.calc(at).add(2).equal(),hn=ue.max(ue.calc(We).sub(At).div(2).equal(),0),Cn=ue.max(ue.calc(We).sub(At).sub(hn).equal(),0);return{padding:`${(0,Ao.unit)(hn)} ${(0,Ao.unit)(St)} ${(0,Ao.unit)(Cn)}`}},tl=ue=>{const{componentCls:We,colorError:at,colorWarning:St}=ue;return{[`${We}:not(${We}-disabled):not([disabled])`]:{[`&${We}-status-error`]:{[`${We}-active-bar`]:{background:at}},[`&${We}-status-warning`]:{[`${We}-active-bar`]:{background:St}}}}},Oa=ue=>{const{componentCls:We,antCls:at,controlHeight:St,paddingInline:At,lineWidth:hn,lineType:Cn,colorBorder:En,borderRadius:Zn,motionDurationMid:Yn,colorTextDisabled:An,colorTextPlaceholder:qn,controlHeightLG:sr,fontSizeLG:ar,controlHeightSM:er,paddingInlineSM:dr,paddingXS:hr,marginXS:mr,colorTextDescription:Yr,lineWidthBold:Tr,colorPrimary:xr,motionDurationSlow:Qr,zIndexPopup:Fr,paddingXXS:Nr,sizePopupArrow:Fi,colorBgElevated:pi,borderRadiusLG:yi,boxShadowSecondary:di,borderRadiusSM:Li,colorSplit:xi,cellHoverBg:ii,presetsWidth:Xr,presetsMaxWidth:si,boxShadowPopoverArrow:li,fontHeight:Vi,fontHeightLG:Ni,lineHeightLG:vi}=ue;return[{[We]:Object.assign(Object.assign(Object.assign({},(0,us.Wf)(ue)),ka(ue,St,Vi,At)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:Zn,transition:`border ${Yn}, box-shadow ${Yn}, background ${Yn}`,[`${We}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ue.inputAffixPadding},[`${We}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:ue.fontSize,lineHeight:ue.lineHeight,transition:`all ${Yn}`},(0,xl.nz)(qn)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:An,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:qn}}},"&-large":Object.assign(Object.assign({},ka(ue,sr,Ni,At)),{[`${We}-input > input`]:{fontSize:ar,lineHeight:vi}}),"&-small":Object.assign({},ka(ue,er,Vi,dr)),[`${We}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ue.calc(hr).div(2).equal(),color:An,lineHeight:1,pointerEvents:"none",transition:`opacity ${Yn}, color ${Yn}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:mr}}},[`${We}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:An,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Yn}, color ${Yn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Yr}},"&:hover":{[`${We}-clear`]:{opacity:1},[`${We}-suffix:not(:last-child)`]:{opacity:0}},[`${We}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ar,color:An,fontSize:ar,verticalAlign:"top",cursor:"default",[`${We}-focused &`]:{color:Yr},[`${We}-range-separator &`]:{[`${We}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${We}-active-bar`]:{bottom:ue.calc(hn).mul(-1).equal(),height:Tr,background:xr,opacity:0,transition:`all ${Qr} ease-out`,pointerEvents:"none"},[`&${We}-focused`]:{[`${We}-active-bar`]:{opacity:1}},[`${We}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Ao.unit)(hr)}`,lineHeight:1}},"&-range, &-multiple":{[`${We}-clear`]:{insetInlineEnd:At},[`&${We}-small`]:{[`${We}-clear`]:{insetInlineEnd:dr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,us.Wf)(ue)),ns(ue)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Fr,[`&${We}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${We}-dropdown-placement-bottomLeft,
|
|
|
&${We}-dropdown-placement-bottomRight`]:{[`${We}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${We}-dropdown-placement-topLeft,
|
|
|
&${We}-dropdown-placement-topRight`]:{[`${We}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${at}-slide-up-appear, &${at}-slide-up-enter`]:{[`${We}-range-arrow${We}-range-arrow`]:{transition:"none"}},[`&${at}-slide-up-enter${at}-slide-up-enter-active${We}-dropdown-placement-topLeft,
|
|
|
&${at}-slide-up-enter${at}-slide-up-enter-active${We}-dropdown-placement-topRight,
|
|
|
&${at}-slide-up-appear${at}-slide-up-appear-active${We}-dropdown-placement-topLeft,
|
|
|
&${at}-slide-up-appear${at}-slide-up-appear-active${We}-dropdown-placement-topRight`]:{animationName:il.Qt},[`&${at}-slide-up-enter${at}-slide-up-enter-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${at}-slide-up-enter${at}-slide-up-enter-active${We}-dropdown-placement-bottomRight,
|
|
|
&${at}-slide-up-appear${at}-slide-up-appear-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${at}-slide-up-appear${at}-slide-up-appear-active${We}-dropdown-placement-bottomRight`]:{animationName:il.fJ},[`&${at}-slide-up-leave ${We}-panel-container`]:{pointerEvents:"none"},[`&${at}-slide-up-leave${at}-slide-up-leave-active${We}-dropdown-placement-topLeft,
|
|
|
&${at}-slide-up-leave${at}-slide-up-leave-active${We}-dropdown-placement-topRight`]:{animationName:il.ly},[`&${at}-slide-up-leave${at}-slide-up-leave-active${We}-dropdown-placement-bottomLeft,
|
|
|
&${at}-slide-up-leave${at}-slide-up-leave-active${We}-dropdown-placement-bottomRight`]:{animationName:il.Uw},[`${We}-panel > ${We}-time-panel`]:{paddingTop:Nr},[`${We}-range-wrapper`]:{display:"flex",position:"relative"},[`${We}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:ue.calc(At).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Qr} ease-out`},(0,vl.W)(ue,pi,li)),{"&:before":{insetInlineStart:ue.calc(At).mul(1.5).equal()}}),[`${We}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:pi,borderRadius:yi,boxShadow:di,transition:`margin ${Qr}`,display:"inline-block",pointerEvents:"auto",[`${We}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${We}-presets`]:{display:"flex",flexDirection:"column",minWidth:Xr,maxWidth:si,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:hr,borderInlineEnd:`${(0,Ao.unit)(hn)} ${Cn} ${xi}`,li:Object.assign(Object.assign({},us.vS),{borderRadius:Li,paddingInline:hr,paddingBlock:ue.calc(er).sub(Vi).div(2).equal(),cursor:"pointer",transition:`all ${Qr}`,"+ li":{marginTop:mr},"&:hover":{background:ii}})}},[`${We}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${We}-panel`]:{borderWidth:0}}},[`${We}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${We}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:En}}}}),"&-dropdown-range":{padding:`${(0,Ao.unit)(ue.calc(Fi).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${We}-separator`]:{transform:"scale(-1, 1)"},[`${We}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,il.oN)(ue,"slide-up"),(0,il.oN)(ue,"slide-down"),(0,zl.Fm)(ue,"move-up"),(0,zl.Fm)(ue,"move-down")]};var La=(0,Fs.I$)("DatePicker",ue=>{const We=(0,Gl.mergeToken)((0,Vl.e)(ue),fs(ue),{inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[$l(We),Oa(We),So(We),tl(We),ds(We),(0,ys.c)(ue,{focusElCls:`${ue.componentCls}-focused`})]},Kl),Pl=te(68525);function Sl(ue,We,at){return at!==void 0?at:We==="year"&&ue.lang.yearPlaceholder?ue.lang.yearPlaceholder:We==="quarter"&&ue.lang.quarterPlaceholder?ue.lang.quarterPlaceholder:We==="month"&&ue.lang.monthPlaceholder?ue.lang.monthPlaceholder:We==="week"&&ue.lang.weekPlaceholder?ue.lang.weekPlaceholder:We==="time"&&ue.timePickerLocale.placeholder?ue.timePickerLocale.placeholder:ue.lang.placeholder}function Ml(ue,We,at){return at!==void 0?at:We==="year"&&ue.lang.yearPlaceholder?ue.lang.rangeYearPlaceholder:We==="quarter"&&ue.lang.quarterPlaceholder?ue.lang.rangeQuarterPlaceholder:We==="month"&&ue.lang.monthPlaceholder?ue.lang.rangeMonthPlaceholder:We==="week"&&ue.lang.weekPlaceholder?ue.lang.rangeWeekPlaceholder:We==="time"&&ue.timePickerLocale.placeholder?ue.timePickerLocale.rangePlaceholder:ue.lang.rangePlaceholder}function ol(ue,We){const{allowClear:at=!0}=ue,{clearIcon:St,removeIcon:At}=(0,Pl.Z)(Object.assign(Object.assign({},ue),{prefixCls:We,componentName:"DatePicker"}));return[ce.useMemo(()=>at===!1?!1:Object.assign({clearIcon:St},at===!0?{}:at),[at,St]),At]}const[fl,Bl]=["week","WeekPicker"],[Ul,Os]=["month","MonthPicker"],[ks,rs]=["year","YearPicker"],[Zl,Tl]=["quarter","QuarterPicker"],[Xa,Wl]=["time","TimePicker"];var Ll=te(7939),Vs=ue=>ce.createElement(Ll.ZP,Object.assign({size:"small",type:"primary"},ue));function Ss(ue){return(0,ce.useMemo)(()=>Object.assign({button:Vs},ue),[ue])}var _l=function(ue,We){var at={};for(var St in ue)Object.prototype.hasOwnProperty.call(ue,St)&&We.indexOf(St)<0&&(at[St]=ue[St]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,St=Object.getOwnPropertySymbols(ue);At<St.length;At++)We.indexOf(St[At])<0&&Object.prototype.propertyIsEnumerable.call(ue,St[At])&&(at[St[At]]=ue[St[At]]);return at},Ks=ue=>(0,ce.forwardRef)((at,St)=>{var At;const{prefixCls:hn,getPopupContainer:Cn,components:En,className:Zn,style:Yn,placement:An,size:qn,disabled:sr,bordered:ar=!0,placeholder:er,popupClassName:dr,dropdownClassName:hr,status:mr,rootClassName:Yr,variant:Tr,picker:xr}=at,Qr=_l(at,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Fr=ce.useRef(null),{getPrefixCls:Nr,direction:Fi,getPopupContainer:pi,rangePicker:yi}=(0,ce.useContext)(da.E_),di=Nr("picker",hn),{compactSize:Li,compactItemClassnames:xi}=(0,el.ri)(di,Fi),ii=Nr(),[Xr,si]=(0,pl.Z)("rangePicker",Tr,ar),li=(0,Ga.Z)(di),[Vi,Ni,vi]=La(di,li),[wi]=ol(at,di),oi=Ss(En),bi=(0,Wa.Z)(cn=>{var an;return(an=qn!=null?qn:Li)!==null&&an!==void 0?an:cn}),gi=ce.useContext(Cl.Z),Ki=sr!=null?sr:gi,lo=(0,ce.useContext)(Pa.aM),{hasFeedback:uo,status:Ne,feedbackIcon:Me}=lo,ht=ce.createElement(ce.Fragment,null,xr===Xa?ce.createElement(Ct,null):ce.createElement(lt,null),uo&&Me);(0,ce.useImperativeHandle)(St,()=>Fr.current);const[xt]=(0,Al.Z)("Calendar",Dl.Z),Tt=Object.assign(Object.assign({},xt),at.locale),[Ut]=(0,to.Cn)("DatePicker",(At=at.popupStyle)===null||At===void 0?void 0:At.zIndex);return Vi(ce.createElement(_i.Z,{space:!0},ce.createElement(ho,Object.assign({separator:ce.createElement("span",{"aria-label":"to",className:`${di}-separator`},ce.createElement(Ae,null)),disabled:Ki,ref:Fr,placement:An,placeholder:Ml(Tt,xr,er),suffixIcon:ht,prevIcon:ce.createElement("span",{className:`${di}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${di}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${di}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${di}-super-next-icon`}),transitionName:`${ii}-slide-up`,picker:xr},Qr,{className:zt()({[`${di}-${bi}`]:bi,[`${di}-${Xr}`]:si},(0,Lo.Z)(di,(0,Lo.F)(Ne,mr),uo),Ni,xi,Zn,yi==null?void 0:yi.className,vi,li,Yr),style:Object.assign(Object.assign({},yi==null?void 0:yi.style),Yn),locale:Tt.lang,prefixCls:di,getPopupContainer:Cn||pi,generateConfig:ue,components:oi,direction:Fi,classNames:{popup:zt()(Ni,dr||hr,vi,li,Yr)},styles:{popup:Object.assign(Object.assign({},at.popupStyle),{zIndex:Ut})},allowClear:wi}))))}),hs=function(ue,We){var at={};for(var St in ue)Object.prototype.hasOwnProperty.call(ue,St)&&We.indexOf(St)<0&&(at[St]=ue[St]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,St=Object.getOwnPropertySymbols(ue);At<St.length;At++)We.indexOf(St[At])<0&&Object.prototype.propertyIsEnumerable.call(ue,St[At])&&(at[St[At]]=ue[St[At]]);return at},Ms=ue=>{const We=(Zn,Yn)=>{const An=Yn===Wl?"timePicker":"datePicker";return(0,ce.forwardRef)((sr,ar)=>{var er;const{prefixCls:dr,getPopupContainer:hr,components:mr,style:Yr,className:Tr,rootClassName:xr,size:Qr,bordered:Fr,placement:Nr,placeholder:Fi,popupClassName:pi,dropdownClassName:yi,disabled:di,status:Li,variant:xi,onCalendarChange:ii}=sr,Xr=hs(sr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:si,direction:li,getPopupContainer:Vi,[An]:Ni}=(0,ce.useContext)(da.E_),vi=si("picker",dr),{compactSize:wi,compactItemClassnames:oi}=(0,el.ri)(vi,li),bi=ce.useRef(null),[gi,Ki]=(0,pl.Z)("datePicker",xi,Fr),lo=(0,Ga.Z)(vi),[uo,Ne,Me]=La(vi,lo);(0,ce.useImperativeHandle)(ar,()=>bi.current);const ht={showToday:!0},xt=Zn||sr.picker,Tt=si(),{onSelect:Ut,multiple:cn}=Xr,an=Ut&&Zn==="time"&&!cn,pn=(Hr,Ur,Ci)=>{ii==null||ii(Hr,Ur,Ci),an&&Ut(Hr)},[gn,Mn]=ol(sr,vi),In=Ss(mr),Dn=(0,Wa.Z)(Hr=>{var Ur;return(Ur=Qr!=null?Qr:wi)!==null&&Ur!==void 0?Ur:Hr}),xn=ce.useContext(Cl.Z),yn=di!=null?di:xn,ur=(0,ce.useContext)(Pa.aM),{hasFeedback:Hn,status:vr,feedbackIcon:fr}=ur,Er=ce.createElement(ce.Fragment,null,xt==="time"?ce.createElement(Ct,null):ce.createElement(lt,null),Hn&&fr),[yr]=(0,Al.Z)("DatePicker",Dl.Z),Sr=Object.assign(Object.assign({},yr),sr.locale),[Mr]=(0,to.Cn)("DatePicker",(er=sr.popupStyle)===null||er===void 0?void 0:er.zIndex);return uo(ce.createElement(_i.Z,{space:!0},ce.createElement(xo,Object.assign({ref:bi,placeholder:Sl(Sr,xt,Fi),suffixIcon:Er,placement:Nr,prevIcon:ce.createElement("span",{className:`${vi}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${vi}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${vi}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${vi}-super-next-icon`}),transitionName:`${Tt}-slide-up`,picker:Zn,onCalendarChange:pn},ht,Xr,{locale:Sr.lang,className:zt()({[`${vi}-${Dn}`]:Dn,[`${vi}-${gi}`]:Ki},(0,Lo.Z)(vi,(0,Lo.F)(vr,Li),Hn),Ne,oi,Ni==null?void 0:Ni.className,Tr,Me,lo,xr),style:Object.assign(Object.assign({},Ni==null?void 0:Ni.style),Yr),prefixCls:vi,getPopupContainer:hr||Vi,generateConfig:ue,components:In,direction:li,disabled:yn,classNames:{popup:zt()(Ne,Me,lo,xr,pi||yi)},styles:{popup:Object.assign(Object.assign({},sr.popupStyle),{zIndex:Mr})},allowClear:gn,removeIcon:Mn}))))})},at=We(),St=We(fl,Bl),At=We(Ul,Os),hn=We(ks,rs),Cn=We(Zl,Tl),En=We(Xa,Wl);return{DatePicker:at,WeekPicker:St,MonthPicker:At,YearPicker:hn,TimePicker:En,QuarterPicker:Cn}},Ts=ue=>{const{DatePicker:We,WeekPicker:at,MonthPicker:St,YearPicker:At,TimePicker:hn,QuarterPicker:Cn}=Ms(ue),En=Ks(ue),Zn=We;return Zn.WeekPicker=at,Zn.MonthPicker=St,Zn.YearPicker=At,Zn.RangePicker=En,Zn.TimePicker=hn,Zn.QuarterPicker=Cn,Zn};const Ql=Ts(Ze),is=(0,rt.Z)(Ql,"popupAlign",void 0,"picker");Ql._InternalPanelDoNotUseOrYouWillBeFired=is;const Qi=(0,rt.Z)(Ql.RangePicker,"popupAlign",void 0,"picker");Ql._InternalRangePanelDoNotUseOrYouWillBeFired=Qi,Ql.generatePicker=Ts;var os=Ql},37285:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return xe}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(48755),Pe=te(36237),me=te(63356),ve=te(16931),fe=te(51636);const be=Fe=>{const{componentCls:Ce,sizePaddingEdgeHorizontal:De,colorSplit:Be,lineWidth:Ze,textPaddingInline:rt,orientationMargin:ce,verticalMarginInline:ke}=Fe;return{[Ce]:Object.assign(Object.assign({},(0,me.Wf)(Fe)),{borderBlockStart:`${(0,Pe.unit)(Ze)} solid ${Be}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ke,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Pe.unit)(Ze)} solid ${Be}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Pe.unit)(Fe.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${Ce}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Pe.unit)(Fe.dividerHorizontalWithTextGutterMargin)} 0`,color:Fe.colorTextHeading,fontWeight:500,fontSize:Fe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Be}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Pe.unit)(Ze)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Ce}-with-text-start`]:{"&::before":{width:`calc(${ce} * 100%)`},"&::after":{width:`calc(100% - ${ce} * 100%)`}},[`&-horizontal${Ce}-with-text-end`]:{"&::before":{width:`calc(100% - ${ce} * 100%)`},"&::after":{width:`calc(${ce} * 100%)`}},[`${Ce}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:rt},"&-dashed":{background:"none",borderColor:Be,borderStyle:"dashed",borderWidth:`${(0,Pe.unit)(Ze)} 0 0`},[`&-horizontal${Ce}-with-text${Ce}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Ce}-dashed`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Be,borderStyle:"dotted",borderWidth:`${(0,Pe.unit)(Ze)} 0 0`},[`&-horizontal${Ce}-with-text${Ce}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${Ce}-dotted`]:{borderInlineStartWidth:Ze,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Ce}-with-text`]:{color:Fe.colorText,fontWeight:"normal",fontSize:Fe.fontSize},[`&-horizontal${Ce}-with-text-start${Ce}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Ce}-inner-text`]:{paddingInlineStart:De}},[`&-horizontal${Ce}-with-text-end${Ce}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Ce}-inner-text`]:{paddingInlineEnd:De}}})}},de=Fe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Fe.marginXS});var Le=(0,ve.I$)("Divider",Fe=>{const Ce=(0,fe.mergeToken)(Fe,{dividerHorizontalWithTextGutterMargin:Fe.margin,dividerHorizontalGutterMargin:Fe.marginLG,sizePaddingEdgeHorizontal:0});return[be(Ce)]},de,{unitless:{orientationMargin:!0}}),we=function(Fe,Ce){var De={};for(var Be in Fe)Object.prototype.hasOwnProperty.call(Fe,Be)&&Ce.indexOf(Be)<0&&(De[Be]=Fe[Be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Be=Object.getOwnPropertySymbols(Fe);Ze<Be.length;Ze++)Ce.indexOf(Be[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Be[Ze])&&(De[Be[Ze]]=Fe[Be[Ze]]);return De},xe=Fe=>{const{getPrefixCls:Ce,direction:De,className:Be,style:Ze}=(0,Ue.dj)("divider"),{prefixCls:rt,type:ce="horizontal",orientation:ke="center",orientationMargin:qe,className:_e,rootClassName:mt,children:Re,dashed:Ye,variant:lt="solid",plain:Se,style:Qe}=Fe,he=we(Fe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),ye=Ce("divider",rt),[Ct,Ke,yt]=Le(ye),Dt=!!Re,Ge=b.useMemo(()=>ke==="left"?De==="rtl"?"end":"start":ke==="right"?De==="rtl"?"start":"end":ke,[De,ke]),Ae=Ge==="start"&&qe!=null,ot=Ge==="end"&&qe!=null,zt=pe()(ye,Be,Ke,yt,`${ye}-${ce}`,{[`${ye}-with-text`]:Dt,[`${ye}-with-text-${Ge}`]:Dt,[`${ye}-dashed`]:!!Ye,[`${ye}-${lt}`]:lt!=="solid",[`${ye}-plain`]:!!Se,[`${ye}-rtl`]:De==="rtl",[`${ye}-no-default-orientation-margin-start`]:Ae,[`${ye}-no-default-orientation-margin-end`]:ot},_e,mt),Et=b.useMemo(()=>typeof qe=="number"?qe:/^\d+$/.test(qe)?Number(qe):qe,[qe]),Oe={marginInlineStart:Ae?Et:void 0,marginInlineEnd:ot?Et:void 0};return Ct(b.createElement("div",Object.assign({className:zt,style:Object.assign(Object.assign({},Ze),Qe)},he,{role:"separator"}),Re&&ce!=="vertical"&&b.createElement("span",{className:`${ye}-inner-text`,style:Oe},Re)))}},36207:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Ee}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(85899),Pe=te(72190),me=te(43403),ve=te(34280),fe=b.createContext(null),be=b.createContext({}),de=fe,Le=te(18642),we=te(60499),Te=te(77900),xe=te(10228),Fe=te(26112),Ce=te(42244),De=te(8654),Be=["prefixCls","className","containerRef"],Ze=function(je){var Xe=je.prefixCls,it=je.className,pt=je.containerRef,He=(0,Ce.Z)(je,Be),et=b.useContext(be),$t=et.panel,Lt=(0,De.x1)($t,pt);return b.createElement("div",(0,we.Z)({className:pe()("".concat(Xe,"-content"),it),role:"dialog",ref:Lt},(0,Fe.Z)(je,{aria:!0}),{"aria-modal":"true"},He))},rt=Ze,ce=te(48736);function ke(ze){return typeof ze=="string"&&String(Number(ze))===ze?((0,ce.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ze)):ze}function qe(ze){warning(!("wrapperClassName"in ze),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ze.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var _e={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function mt(ze,je){var Xe,it,pt,He=ze.prefixCls,et=ze.open,$t=ze.placement,Lt=ze.inline,qt=ze.push,Nt=ze.forceRender,Mt=ze.autoFocus,Kt=ze.keyboard,Jt=ze.classNames,gt=ze.rootClassName,kt=ze.rootStyle,nn=ze.zIndex,vn=ze.className,ct=ze.id,wt=ze.style,Wt=ze.motion,on=ze.width,fn=ze.height,Pn=ze.children,Vn=ze.mask,Gn=ze.maskClosable,Bn=ze.maskMotion,Un=ze.maskClassName,Rt=ze.maskStyle,Bt=ze.afterOpenChange,un=ze.onClose,en=ze.onMouseEnter,Qt=ze.onMouseOver,wn=ze.onMouseLeave,bn=ze.onClick,kn=ze.onKeyDown,Xn=ze.onKeyUp,zn=ze.styles,Fn=ze.drawerRender,nr=b.useRef(),tr=b.useRef(),Rr=b.useRef();b.useImperativeHandle(je,function(){return nr.current});var Ir=function(jt){var Yt=jt.keyCode,ln=jt.shiftKey;switch(Yt){case xe.Z.TAB:{if(Yt===xe.Z.TAB){if(!ln&&document.activeElement===Rr.current){var Wn;(Wn=tr.current)===null||Wn===void 0||Wn.focus({preventScroll:!0})}else if(ln&&document.activeElement===tr.current){var Rn;(Rn=Rr.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}}break}case xe.Z.ESC:{un&&Kt&&(jt.stopPropagation(),un(jt));break}}};b.useEffect(function(){if(et&&Mt){var Vt;(Vt=nr.current)===null||Vt===void 0||Vt.focus({preventScroll:!0})}},[et]);var Sn=b.useState(!1),Ln=(0,Pe.Z)(Sn,2),rr=Ln[0],ir=Ln[1],Ot=b.useContext(de),_t;typeof qt=="boolean"?_t=qt?{}:{distance:0}:_t=qt||{};var vt=(Xe=(it=(pt=_t)===null||pt===void 0?void 0:pt.distance)!==null&&it!==void 0?it:Ot==null?void 0:Ot.pushDistance)!==null&&Xe!==void 0?Xe:180,Zt=b.useMemo(function(){return{pushDistance:vt,push:function(){ir(!0)},pull:function(){ir(!1)}}},[vt]);b.useEffect(function(){if(et){var Vt;Ot==null||(Vt=Ot.push)===null||Vt===void 0||Vt.call(Ot)}else{var jt;Ot==null||(jt=Ot.pull)===null||jt===void 0||jt.call(Ot)}},[et]),b.useEffect(function(){return function(){var Vt;Ot==null||(Vt=Ot.pull)===null||Vt===void 0||Vt.call(Ot)}},[]);var bt=Vn&&b.createElement(Te.default,(0,we.Z)({key:"mask"},Bn,{visible:et}),function(Vt,jt){var Yt=Vt.className,ln=Vt.style;return b.createElement("div",{className:pe()("".concat(He,"-mask"),Yt,Jt==null?void 0:Jt.mask,Un),style:(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},ln),Rt),zn==null?void 0:zn.mask),onClick:Gn&&et?un:void 0,ref:jt})}),Ht=typeof Wt=="function"?Wt($t):Wt,nt={};if(rr&&vt)switch($t){case"top":nt.transform="translateY(".concat(vt,"px)");break;case"bottom":nt.transform="translateY(".concat(-vt,"px)");break;case"left":nt.transform="translateX(".concat(vt,"px)");break;default:nt.transform="translateX(".concat(-vt,"px)");break}$t==="left"||$t==="right"?nt.width=ke(on):nt.height=ke(fn);var Xt={onMouseEnter:en,onMouseOver:Qt,onMouseLeave:wn,onClick:bn,onKeyDown:kn,onKeyUp:Xn},tn=b.createElement(Te.default,(0,we.Z)({key:"panel"},Ht,{visible:et,forceRender:Nt,onVisibleChanged:function(jt){Bt==null||Bt(jt)},removeOnLeave:!1,leavedClassName:"".concat(He,"-content-wrapper-hidden")}),function(Vt,jt){var Yt=Vt.className,ln=Vt.style,Wn=b.createElement(rt,(0,we.Z)({id:ct,containerRef:jt,prefixCls:He,className:pe()(vn,Jt==null?void 0:Jt.content),style:(0,Ue.Z)((0,Ue.Z)({},wt),zn==null?void 0:zn.content)},(0,Fe.Z)(ze,{aria:!0}),Xt),Pn);return b.createElement("div",(0,we.Z)({className:pe()("".concat(He,"-content-wrapper"),Jt==null?void 0:Jt.wrapper,Yt),style:(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},nt),ln),zn==null?void 0:zn.wrapper)},(0,Fe.Z)(ze,{data:!0})),Fn?Fn(Wn):Wn)}),dn=(0,Ue.Z)({},kt);return nn&&(dn.zIndex=nn),b.createElement(de.Provider,{value:Zt},b.createElement("div",{className:pe()(He,"".concat(He,"-").concat($t),gt,(0,Le.Z)((0,Le.Z)({},"".concat(He,"-open"),et),"".concat(He,"-inline"),Lt)),style:dn,tabIndex:-1,ref:nr,onKeyDown:Ir},bt,b.createElement("div",{tabIndex:0,ref:tr,style:_e,"aria-hidden":"true","data-sentinel":"start"}),tn,b.createElement("div",{tabIndex:0,ref:Rr,style:_e,"aria-hidden":"true","data-sentinel":"end"})))}var Re=b.forwardRef(mt),Ye=Re,lt=function(je){var Xe=je.open,it=Xe===void 0?!1:Xe,pt=je.prefixCls,He=pt===void 0?"rc-drawer":pt,et=je.placement,$t=et===void 0?"right":et,Lt=je.autoFocus,qt=Lt===void 0?!0:Lt,Nt=je.keyboard,Mt=Nt===void 0?!0:Nt,Kt=je.width,Jt=Kt===void 0?378:Kt,gt=je.mask,kt=gt===void 0?!0:gt,nn=je.maskClosable,vn=nn===void 0?!0:nn,ct=je.getContainer,wt=je.forceRender,Wt=je.afterOpenChange,on=je.destroyOnClose,fn=je.onMouseEnter,Pn=je.onMouseOver,Vn=je.onMouseLeave,Gn=je.onClick,Bn=je.onKeyDown,Un=je.onKeyUp,Rt=je.panelRef,Bt=b.useState(!1),un=(0,Pe.Z)(Bt,2),en=un[0],Qt=un[1],wn=b.useState(!1),bn=(0,Pe.Z)(wn,2),kn=bn[0],Xn=bn[1];(0,ve.Z)(function(){Xn(!0)},[]);var zn=kn?it:!1,Fn=b.useRef(),nr=b.useRef();(0,ve.Z)(function(){zn&&(nr.current=document.activeElement)},[zn]);var tr=function(rr){var ir;if(Qt(rr),Wt==null||Wt(rr),!rr&&nr.current&&!((ir=Fn.current)!==null&&ir!==void 0&&ir.contains(nr.current))){var Ot;(Ot=nr.current)===null||Ot===void 0||Ot.focus({preventScroll:!0})}},Rr=b.useMemo(function(){return{panel:Rt}},[Rt]);if(!wt&&!en&&!zn&&on)return null;var Ir={onMouseEnter:fn,onMouseOver:Pn,onMouseLeave:Vn,onClick:Gn,onKeyDown:Bn,onKeyUp:Un},Sn=(0,Ue.Z)((0,Ue.Z)({},je),{},{open:zn,prefixCls:He,placement:$t,autoFocus:qt,keyboard:Mt,width:Jt,mask:kt,maskClosable:vn,inline:ct===!1,afterOpenChange:tr,ref:Fn},Ir);return b.createElement(be.Provider,{value:Rr},b.createElement(me.Z,{open:zn||wt||en,autoDestroy:!1,getContainer:ct,autoLock:kt&&(zn||en)},b.createElement(Ye,Sn)))},Se=lt,Qe=Se,he=te(62487),ye=te(75030),Ct=te(86641),Ke=te(55743),yt=te(48755),Dt=te(91190),Ge=te(78776),Ae=te(458),zt=ze=>{var je,Xe;const{prefixCls:it,title:pt,footer:He,extra:et,loading:$t,onClose:Lt,headerStyle:qt,bodyStyle:Nt,footerStyle:Mt,children:Kt,classNames:Jt,styles:gt}=ze,kt=(0,yt.dj)("drawer"),nn=b.useCallback(on=>b.createElement("button",{type:"button",onClick:Lt,"aria-label":"Close",className:`${it}-close`},on),[Lt]),[vn,ct]=(0,Ge.Z)((0,Ge.w)(ze),(0,Ge.w)(kt),{closable:!0,closeIconRender:nn}),wt=b.useMemo(()=>{var on,fn;return!pt&&!vn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(on=kt.styles)===null||on===void 0?void 0:on.header),qt),gt==null?void 0:gt.header),className:pe()(`${it}-header`,{[`${it}-header-close-only`]:vn&&!pt&&!et},(fn=kt.classNames)===null||fn===void 0?void 0:fn.header,Jt==null?void 0:Jt.header)},b.createElement("div",{className:`${it}-header-title`},ct,pt&&b.createElement("div",{className:`${it}-title`},pt)),et&&b.createElement("div",{className:`${it}-extra`},et))},[vn,ct,et,qt,it,pt]),Wt=b.useMemo(()=>{var on,fn;if(!He)return null;const Pn=`${it}-footer`;return b.createElement("div",{className:pe()(Pn,(on=kt.classNames)===null||on===void 0?void 0:on.footer,Jt==null?void 0:Jt.footer),style:Object.assign(Object.assign(Object.assign({},(fn=kt.styles)===null||fn===void 0?void 0:fn.footer),Mt),gt==null?void 0:gt.footer)},He)},[He,Mt,it]);return b.createElement(b.Fragment,null,wt,b.createElement("div",{className:pe()(`${it}-body`,Jt==null?void 0:Jt.body,(je=kt.classNames)===null||je===void 0?void 0:je.body),style:Object.assign(Object.assign(Object.assign({},(Xe=kt.styles)===null||Xe===void 0?void 0:Xe.body),Nt),gt==null?void 0:gt.body)},$t?b.createElement(Ae.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${it}-body-skeleton`}):Kt),Wt)},Et=te(36237),Oe=te(63356),Je=te(16931),dt=te(51636);const It=ze=>{const je="100%";return{left:`translateX(-${je})`,right:`translateX(${je})`,top:`translateY(-${je})`,bottom:`translateY(${je})`}[ze]},st=(ze,je)=>({"&-enter, &-appear":Object.assign(Object.assign({},ze),{"&-active":je}),"&-leave":Object.assign(Object.assign({},je),{"&-active":ze})}),Ft=(ze,je)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${je}`}}},st({opacity:ze},{opacity:1})),ft=(ze,je)=>[Ft(.7,je),st({transform:It(ze)},{transform:"none"})];var Pt=ze=>{const{componentCls:je,motionDurationSlow:Xe}=ze;return{[je]:{[`${je}-mask-motion`]:Ft(0,Xe),[`${je}-panel-motion`]:["left","right","top","bottom"].reduce((it,pt)=>Object.assign(Object.assign({},it),{[`&-${pt}`]:ft(pt,Xe)}),{})}}};const oe=ze=>{const{borderRadiusSM:je,componentCls:Xe,zIndexPopup:it,colorBgMask:pt,colorBgElevated:He,motionDurationSlow:et,motionDurationMid:$t,paddingXS:Lt,padding:qt,paddingLG:Nt,fontSizeLG:Mt,lineHeightLG:Kt,lineWidth:Jt,lineType:gt,colorSplit:kt,marginXS:nn,colorIcon:vn,colorIconHover:ct,colorBgTextHover:wt,colorBgTextActive:Wt,colorText:on,fontWeightStrong:fn,footerPaddingBlock:Pn,footerPaddingInline:Vn,calc:Gn}=ze,Bn=`${Xe}-content-wrapper`;return{[Xe]:{position:"fixed",inset:0,zIndex:it,pointerEvents:"none",color:on,"&-pure":{position:"relative",background:He,display:"flex",flexDirection:"column",[`&${Xe}-left`]:{boxShadow:ze.boxShadowDrawerLeft},[`&${Xe}-right`]:{boxShadow:ze.boxShadowDrawerRight},[`&${Xe}-top`]:{boxShadow:ze.boxShadowDrawerUp},[`&${Xe}-bottom`]:{boxShadow:ze.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Xe}-mask`]:{position:"absolute",inset:0,zIndex:it,background:pt,pointerEvents:"auto"},[Bn]:{position:"absolute",zIndex:it,maxWidth:"100vw",transition:`all ${et}`,"&-hidden":{display:"none"}},[`&-left > ${Bn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowDrawerLeft},[`&-right > ${Bn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ze.boxShadowDrawerRight},[`&-top > ${Bn}`]:{top:0,insetInline:0,boxShadow:ze.boxShadowDrawerUp},[`&-bottom > ${Bn}`]:{bottom:0,insetInline:0,boxShadow:ze.boxShadowDrawerDown},[`${Xe}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:He,pointerEvents:"auto"},[`${Xe}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Et.unit)(qt)} ${(0,Et.unit)(Nt)}`,fontSize:Mt,lineHeight:Kt,borderBottom:`${(0,Et.unit)(Jt)} ${gt} ${kt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Xe}-extra`]:{flex:"none"},[`${Xe}-close`]:Object.assign({display:"inline-flex",width:Gn(Mt).add(Lt).equal(),height:Gn(Mt).add(Lt).equal(),borderRadius:je,justifyContent:"center",alignItems:"center",marginInlineEnd:nn,color:vn,fontWeight:fn,fontSize:Mt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${$t}`,textRendering:"auto","&:hover":{color:ct,backgroundColor:wt,textDecoration:"none"},"&:active":{backgroundColor:Wt}},(0,Oe.Qy)(ze)),[`${Xe}-title`]:{flex:1,margin:0,fontWeight:ze.fontWeightStrong,fontSize:Mt,lineHeight:Kt},[`${Xe}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Nt,overflow:"auto",[`${Xe}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Xe}-footer`]:{flexShrink:0,padding:`${(0,Et.unit)(Pn)} ${(0,Et.unit)(Vn)}`,borderTop:`${(0,Et.unit)(Jt)} ${gt} ${kt}`},"&-rtl":{direction:"rtl"}}}},ae=ze=>({zIndexPopup:ze.zIndexPopupBase,footerPaddingBlock:ze.paddingXS,footerPaddingInline:ze.padding});var ee=(0,Je.I$)("Drawer",ze=>{const je=(0,dt.mergeToken)(ze,{});return[oe(je),Pt(je)]},ae),E=function(ze,je){var Xe={};for(var it in ze)Object.prototype.hasOwnProperty.call(ze,it)&&je.indexOf(it)<0&&(Xe[it]=ze[it]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,it=Object.getOwnPropertySymbols(ze);pt<it.length;pt++)je.indexOf(it[pt])<0&&Object.prototype.propertyIsEnumerable.call(ze,it[pt])&&(Xe[it[pt]]=ze[it[pt]]);return Xe};const re=null,ne={distance:180},le=ze=>{var je;const{rootClassName:Xe,width:it,height:pt,size:He="default",mask:et=!0,push:$t=ne,open:Lt,afterOpenChange:qt,onClose:Nt,prefixCls:Mt,getContainer:Kt,style:Jt,className:gt,visible:kt,afterVisibleChange:nn,maskStyle:vn,drawerStyle:ct,contentWrapperStyle:wt}=ze,Wt=E(ze,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:on,getPrefixCls:fn,direction:Pn,className:Vn,style:Gn,classNames:Bn,styles:Un}=(0,yt.dj)("drawer"),Rt=fn("drawer",Mt),[Bt,un,en]=ee(Rt),Qt=Kt===void 0&&on?()=>on(document.body):Kt,wn=pe()({"no-mask":!et,[`${Rt}-rtl`]:Pn==="rtl"},Xe,un,en),bn=b.useMemo(()=>it!=null?it:He==="large"?736:378,[it,He]),kn=b.useMemo(()=>pt!=null?pt:He==="large"?736:378,[pt,He]),Xn={motionName:(0,Ct.m)(Rt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},zn=Sn=>({motionName:(0,Ct.m)(Rt,`panel-motion-${Sn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Fn=(0,Dt.H)(),[nr,tr]=(0,ye.Cn)("Drawer",Wt.zIndex),{classNames:Rr={},styles:Ir={}}=Wt;return Bt(b.createElement(he.Z,{form:!0,space:!0},b.createElement(Ke.Z.Provider,{value:tr},b.createElement(Qe,Object.assign({prefixCls:Rt,onClose:Nt,maskMotion:Xn,motion:zn},Wt,{classNames:{mask:pe()(Rr.mask,Bn.mask),content:pe()(Rr.content,Bn.content),wrapper:pe()(Rr.wrapper,Bn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Ir.mask),vn),Un.mask),content:Object.assign(Object.assign(Object.assign({},Ir.content),ct),Un.content),wrapper:Object.assign(Object.assign(Object.assign({},Ir.wrapper),wt),Un.wrapper)},open:Lt!=null?Lt:kt,mask:et,push:$t,width:bn,height:kn,style:Object.assign(Object.assign({},Gn),Jt),className:pe()(Vn,gt),rootClassName:wn,getContainer:Qt,afterOpenChange:qt!=null?qt:nn,panelRef:Fn,zIndex:nr}),b.createElement(zt,Object.assign({prefixCls:Rt},Wt,{onClose:Nt}))))))},ge=ze=>{const{prefixCls:je,style:Xe,className:it,placement:pt="right"}=ze,He=E(ze,["prefixCls","style","className","placement"]),{getPrefixCls:et}=b.useContext(yt.E_),$t=et("drawer",je),[Lt,qt,Nt]=ee($t),Mt=pe()($t,`${$t}-pure`,`${$t}-${pt}`,qt,Nt,it);return Lt(b.createElement("div",{className:Mt,style:Xe},b.createElement(zt,Object.assign({prefixCls:$t},He))))};le._InternalPanelDoNotUseOrYouWillBeFired=ge;var Ee=le},19563:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Et}});var b=te(59301),tt=te(33853),pe=te(38819),Ue=te(92310),Pe=te.n(Ue),me=te(96478),ve=te(6089),fe=te(18929),be=te(2738),de=te(75030),we=Oe=>typeof Oe!="object"&&typeof Oe!="function"||Oe===null,Te=te(52838),xe=te(45915),Fe=te(22703),Ce=te(32383),De=te(55743),Be=te(48755),Ze=te(83397),rt=te(93041),ce=te(78857),ke=te(57700),qe=te(36237),_e=te(63356),mt=te(46e3),Re=te(93873),Ye=te(34925),lt=te(37645),Se=te(36305),Qe=te(16931),he=te(51636),Ct=Oe=>{const{componentCls:Je,menuCls:dt,colorError:It,colorTextLightSolid:st}=Oe,Ft=`${dt}-item`;return{[`${Je}, ${Je}-menu-submenu`]:{[`${dt} ${Ft}`]:{[`&${Ft}-danger:not(${Ft}-disabled)`]:{color:It,"&:hover":{color:st,backgroundColor:It}}}}}};const Ke=Oe=>{const{componentCls:Je,menuCls:dt,zIndexPopup:It,dropdownArrowDistance:st,sizePopupArrow:Ft,antCls:ft,iconCls:Gt,motionDurationMid:Pt,paddingBlock:oe,fontSize:ae,dropdownEdgeChildPadding:ee,colorTextDisabled:E,fontSizeIcon:re,controlPaddingHorizontal:ne,colorBgElevated:le}=Oe;return[{[Je]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:It,display:"block","&::before":{position:"absolute",insetBlock:Oe.calc(Ft).div(2).sub(st).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ft}-btn`]:{[`& > ${Gt}-down, & > ${ft}-btn-icon > ${Gt}-down`]:{fontSize:re}},[`${Je}-wrap`]:{position:"relative",[`${ft}-btn > ${Gt}-down`]:{fontSize:re},[`${Gt}-down::before`]:{transition:`transform ${Pt}`}},[`${Je}-wrap-open`]:{[`${Gt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ft}-slide-down-enter${ft}-slide-down-enter-active${Je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${Je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-enter${ft}-slide-down-enter-active${Je}-placement-bottom,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${Je}-placement-bottom,
|
|
|
&${ft}-slide-down-enter${ft}-slide-down-enter-active${Je}-placement-bottomRight,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${Je}-placement-bottomRight`]:{animationName:mt.fJ},[`&${ft}-slide-up-enter${ft}-slide-up-enter-active${Je}-placement-topLeft,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${Je}-placement-topLeft,
|
|
|
&${ft}-slide-up-enter${ft}-slide-up-enter-active${Je}-placement-top,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${Je}-placement-top,
|
|
|
&${ft}-slide-up-enter${ft}-slide-up-enter-active${Je}-placement-topRight,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${Je}-placement-topRight`]:{animationName:mt.Qt},[`&${ft}-slide-down-leave${ft}-slide-down-leave-active${Je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-leave${ft}-slide-down-leave-active${Je}-placement-bottom,
|
|
|
&${ft}-slide-down-leave${ft}-slide-down-leave-active${Je}-placement-bottomRight`]:{animationName:mt.Uw},[`&${ft}-slide-up-leave${ft}-slide-up-leave-active${Je}-placement-topLeft,
|
|
|
&${ft}-slide-up-leave${ft}-slide-up-leave-active${Je}-placement-top,
|
|
|
&${ft}-slide-up-leave${ft}-slide-up-leave-active${Je}-placement-topRight`]:{animationName:mt.ly}}},(0,lt.ZP)(Oe,le,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Je} ${dt}`]:{position:"relative",margin:0},[`${dt}-submenu-popup`]:{position:"absolute",zIndex:It,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Je}, ${Je}-menu-submenu`]:Object.assign(Object.assign({},(0,_e.Wf)(Oe)),{[dt]:Object.assign(Object.assign({padding:ee,listStyleType:"none",backgroundColor:le,backgroundClip:"padding-box",borderRadius:Oe.borderRadiusLG,outline:"none",boxShadow:Oe.boxShadowSecondary},(0,_e.Qy)(Oe)),{"&:empty":{padding:0,boxShadow:"none"},[`${dt}-item-group-title`]:{padding:`${(0,qe.unit)(oe)} ${(0,qe.unit)(ne)}`,color:Oe.colorTextDescription,transition:`all ${Pt}`},[`${dt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${dt}-item-icon`]:{minWidth:ae,marginInlineEnd:Oe.marginXS,fontSize:Oe.fontSizeSM},[`${dt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Pt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${dt}-item-extra`]:{paddingInlineStart:Oe.padding,marginInlineStart:"auto",fontSize:Oe.fontSizeSM,color:Oe.colorTextDescription}},[`${dt}-item, ${dt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,qe.unit)(oe)} ${(0,qe.unit)(ne)}`,color:Oe.colorText,fontWeight:"normal",fontSize:ae,lineHeight:Oe.lineHeight,cursor:"pointer",transition:`all ${Pt}`,borderRadius:Oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Oe.controlItemBgHover}},(0,_e.Qy)(Oe)),{"&-selected":{color:Oe.colorPrimary,backgroundColor:Oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Oe.controlItemBgActiveHover}},"&-disabled":{color:E,cursor:"not-allowed","&:hover":{color:E,backgroundColor:le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,qe.unit)(Oe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Oe.colorSplit},[`${Je}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Oe.paddingXS,[`${Je}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Oe.colorTextDescription,fontSize:re,fontStyle:"normal"}}}),[`${dt}-item-group-list`]:{margin:`0 ${(0,qe.unit)(Oe.marginXS)}`,padding:0,listStyle:"none"},[`${dt}-submenu-title`]:{paddingInlineEnd:Oe.calc(ne).add(Oe.fontSizeSM).equal()},[`${dt}-submenu-vertical`]:{position:"relative"},[`${dt}-submenu${dt}-submenu-disabled ${Je}-menu-submenu-title`]:{[`&, ${Je}-menu-submenu-arrow-icon`]:{color:E,backgroundColor:le,cursor:"not-allowed"}},[`${dt}-submenu-selected ${Je}-menu-submenu-title`]:{color:Oe.colorPrimary}})})},[(0,mt.oN)(Oe,"slide-up"),(0,mt.oN)(Oe,"slide-down"),(0,Re.Fm)(Oe,"move-up"),(0,Re.Fm)(Oe,"move-down"),(0,Ye._y)(Oe,"zoom-big")]]},yt=Oe=>Object.assign(Object.assign({zIndexPopup:Oe.zIndexPopupBase+50,paddingBlock:(Oe.controlHeight-Oe.fontSize*Oe.lineHeight)/2},(0,lt.wZ)({contentRadius:Oe.borderRadiusLG,limitVerticalRadius:!0})),(0,Se.w)(Oe));var Dt=(0,Qe.I$)("Dropdown",Oe=>{const{marginXXS:Je,sizePopupArrow:dt,paddingXXS:It,componentCls:st}=Oe,Ft=(0,he.mergeToken)(Oe,{menuCls:`${st}-menu`,dropdownArrowDistance:Oe.calc(dt).div(2).add(Je).equal(),dropdownEdgeChildPadding:It});return[Ke(Ft),Ct(Ft)]},yt,{resetStyle:!1});const Ge=null,Ae=Oe=>{var Je;const{menu:dt,arrow:It,prefixCls:st,children:Ft,trigger:ft,disabled:Gt,dropdownRender:Pt,getPopupContainer:oe,overlayClassName:ae,rootClassName:ee,overlayStyle:E,open:re,onOpenChange:ne,visible:le,onVisibleChange:ge,mouseEnterDelay:Ee=.15,mouseLeaveDelay:ze=.1,autoAdjustOverflow:je=!0,placement:Xe="",overlay:it,transitionName:pt}=Oe,{getPopupContainer:He,getPrefixCls:et,direction:$t,dropdown:Lt}=b.useContext(Be.E_),qt=(0,Ce.ln)("Dropdown"),Nt=b.useMemo(()=>{const Qt=et();return pt!==void 0?pt:Xe.includes("top")?`${Qt}-slide-down`:`${Qt}-slide-up`},[et,Xe,pt]),Mt=b.useMemo(()=>Xe?Xe.includes("Center")?Xe.slice(0,Xe.indexOf("Center")):Xe:$t==="rtl"?"bottomRight":"bottomLeft",[Xe,$t]),Kt=et("dropdown",st),Jt=(0,Ze.Z)(Kt),[gt,kt,nn]=Dt(Kt,Jt),[,vn]=(0,ke.ZP)(),ct=b.Children.only(we(Ft)?b.createElement("span",null,Ft):Ft),wt=(0,Fe.Tm)(ct,{className:Pe()(`${Kt}-trigger`,{[`${Kt}-rtl`]:$t==="rtl"},ct.props.className),disabled:(Je=ct.props.disabled)!==null&&Je!==void 0?Je:Gt}),Wt=Gt?[]:ft,on=!!(Wt!=null&&Wt.includes("contextMenu")),[fn,Pn]=(0,fe.Z)(!1,{value:re!=null?re:le}),Vn=(0,ve.Z)(Qt=>{ne==null||ne(Qt,{source:"trigger"}),ge==null||ge(Qt),Pn(Qt)}),Gn=Pe()(ae,ee,kt,nn,Jt,Lt==null?void 0:Lt.className,{[`${Kt}-rtl`]:$t==="rtl"}),Bn=(0,Te.Z)({arrowPointAtCenter:typeof It=="object"&&It.pointAtCenter,autoAdjustOverflow:je,offset:vn.marginXXS,arrowWidth:It?vn.sizePopupArrow:0,borderRadius:vn.borderRadius}),Un=b.useCallback(()=>{dt!=null&&dt.selectable&&(dt!=null&&dt.multiple)||(ne==null||ne(!1,{source:"menu"}),Pn(!1))},[dt==null?void 0:dt.selectable,dt==null?void 0:dt.multiple]),Rt=()=>{let Qt;return dt!=null&&dt.items?Qt=b.createElement(rt.default,Object.assign({},dt)):typeof it=="function"?Qt=it():Qt=it,Pt&&(Qt=Pt(Qt)),Qt=b.Children.only(typeof Qt=="string"?b.createElement("span",null,Qt):Qt),b.createElement(ce.J,{prefixCls:`${Kt}-menu`,rootClassName:Pe()(nn,Jt),expandIcon:b.createElement("span",{className:`${Kt}-menu-submenu-arrow`},$t==="rtl"?b.createElement(tt.Z,{className:`${Kt}-menu-submenu-arrow-icon`}):b.createElement(pe.Z,{className:`${Kt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Un,validator:wn=>{let{mode:bn}=wn}},Qt)},[Bt,un]=(0,de.Cn)("Dropdown",E==null?void 0:E.zIndex);let en=b.createElement(me.Z,Object.assign({alignPoint:on},(0,be.Z)(Oe,["rootClassName"]),{mouseEnterDelay:Ee,mouseLeaveDelay:ze,visible:fn,builtinPlacements:Bn,arrow:!!It,overlayClassName:Gn,prefixCls:Kt,getPopupContainer:oe||He,transitionName:Nt,trigger:Wt,overlay:Rt,placement:Mt,onVisibleChange:Vn,overlayStyle:Object.assign(Object.assign(Object.assign({},Lt==null?void 0:Lt.style),E),{zIndex:Bt})}),wt);return Bt&&(en=b.createElement(De.Z.Provider,{value:un},en)),gt(en)},ot=(0,xe.Z)(Ae,"align",void 0,"dropdown",Oe=>Oe),zt=Oe=>b.createElement(ot,Object.assign({},Oe),b.createElement("span",null));Ae._InternalPanelDoNotUseOrYouWillBeFired=zt;var Et=Ae},75727:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return xe}});var b=te(19563),tt=te(59301),pe=te(18785),Ue=te(92310),Pe=te.n(Ue),me=te(7939),ve=te(48755),fe=te(44104),be=te(70045),de=function(Fe,Ce){var De={};for(var Be in Fe)Object.prototype.hasOwnProperty.call(Fe,Be)&&Ce.indexOf(Be)<0&&(De[Be]=Fe[Be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Be=Object.getOwnPropertySymbols(Fe);Ze<Be.length;Ze++)Ce.indexOf(Be[Ze])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Be[Ze])&&(De[Be[Ze]]=Fe[Be[Ze]]);return De};const Le=Fe=>{const{getPopupContainer:Ce,getPrefixCls:De,direction:Be}=tt.useContext(ve.E_),{prefixCls:Ze,type:rt="default",danger:ce,disabled:ke,loading:qe,onClick:_e,htmlType:mt,children:Re,className:Ye,menu:lt,arrow:Se,autoFocus:Qe,overlay:he,trigger:ye,align:Ct,open:Ke,onOpenChange:yt,placement:Dt,getPopupContainer:Ge,href:Ae,icon:ot=tt.createElement(pe.Z,null),title:zt,buttonsRender:Et=Ee=>Ee,mouseEnterDelay:Oe,mouseLeaveDelay:Je,overlayClassName:dt,overlayStyle:It,destroyPopupOnHide:st,dropdownRender:Ft}=Fe,ft=de(Fe,["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"]),Gt=De("dropdown",Ze),Pt=`${Gt}-button`,oe={menu:lt,arrow:Se,autoFocus:Qe,align:Ct,disabled:ke,trigger:ke?[]:ye,onOpenChange:yt,getPopupContainer:Ge||Ce,mouseEnterDelay:Oe,mouseLeaveDelay:Je,overlayClassName:dt,overlayStyle:It,destroyPopupOnHide:st,dropdownRender:Ft},{compactSize:ae,compactItemClassnames:ee}=(0,be.ri)(Gt,Be),E=Pe()(Pt,ee,Ye);"overlay"in Fe&&(oe.overlay=he),"open"in Fe&&(oe.open=Ke),"placement"in Fe?oe.placement=Dt:oe.placement=Be==="rtl"?"bottomLeft":"bottomRight";const re=tt.createElement(me.ZP,{type:rt,danger:ce,disabled:ke,loading:qe,onClick:_e,htmlType:mt,href:Ae,title:zt},Re),ne=tt.createElement(me.ZP,{type:rt,danger:ce,icon:ot}),[le,ge]=Et([re,ne]);return tt.createElement(fe.Z.Compact,Object.assign({className:E,size:ae,block:!0},ft),le,tt.createElement(b.Z,Object.assign({},oe),ge))};Le.__ANT_BUTTON=!0;var we=Le;const Te=b.Z;Te.Button=we;var xe=Te},584:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return rt}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(9017),Pe=te(17835),me=te(57700),fe=()=>{const[,ce]=(0,me.ZP)(),[ke]=(0,Ue.Z)("Empty"),_e=new Pe.FastColor(ce.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:_e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(ke==null?void 0:ke.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.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"}),b.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)"}),b.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"}),b.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"})),b.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"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},de=()=>{const[,ce]=(0,me.ZP)(),[ke]=(0,Ue.Z)("Empty"),{colorFill:qe,colorFillTertiary:_e,colorFillQuaternary:mt,colorBgContainer:Re}=ce,{borderColor:Ye,shadowColor:lt,contentColor:Se}=(0,b.useMemo)(()=>({borderColor:new Pe.FastColor(qe).onBackground(Re).toHexString(),shadowColor:new Pe.FastColor(_e).onBackground(Re).toHexString(),contentColor:new Pe.FastColor(mt).onBackground(Re).toHexString()}),[qe,_e,mt,Re]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(ke==null?void 0:ke.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:lt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Ye},b.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"}),b.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:Se}))))},Le=te(16931),we=te(51636);const Te=ce=>{const{componentCls:ke,margin:qe,marginXS:_e,marginXL:mt,fontSize:Re,lineHeight:Ye}=ce;return{[ke]:{marginInline:_e,fontSize:Re,lineHeight:Ye,textAlign:"center",[`${ke}-image`]:{height:ce.emptyImgHeight,marginBottom:_e,opacity:ce.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ke}-description`]:{color:ce.colorTextDescription},[`${ke}-footer`]:{marginTop:qe},"&-normal":{marginBlock:mt,color:ce.colorTextDescription,[`${ke}-description`]:{color:ce.colorTextDescription},[`${ke}-image`]:{height:ce.emptyImgHeightMD}},"&-small":{marginBlock:_e,color:ce.colorTextDescription,[`${ke}-image`]:{height:ce.emptyImgHeightSM}}}}};var xe=(0,Le.I$)("Empty",ce=>{const{componentCls:ke,controlHeightLG:qe,calc:_e}=ce,mt=(0,we.mergeToken)(ce,{emptyImgCls:`${ke}-img`,emptyImgHeight:_e(qe).mul(2.5).equal(),emptyImgHeightMD:qe,emptyImgHeightSM:_e(qe).mul(.875).equal()});return[Te(mt)]}),Fe=te(48755),Ce=function(ce,ke){var qe={};for(var _e in ce)Object.prototype.hasOwnProperty.call(ce,_e)&&ke.indexOf(_e)<0&&(qe[_e]=ce[_e]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,_e=Object.getOwnPropertySymbols(ce);mt<_e.length;mt++)ke.indexOf(_e[mt])<0&&Object.prototype.propertyIsEnumerable.call(ce,_e[mt])&&(qe[_e[mt]]=ce[_e[mt]]);return qe};const De=b.createElement(fe,null),Be=b.createElement(de,null),Ze=ce=>{const{className:ke,rootClassName:qe,prefixCls:_e,image:mt=De,description:Re,children:Ye,imageStyle:lt,style:Se,classNames:Qe,styles:he}=ce,ye=Ce(ce,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ct,direction:Ke,className:yt,style:Dt,classNames:Ge,styles:Ae}=(0,Fe.dj)("empty"),ot=Ct("empty",_e),[zt,Et,Oe]=xe(ot),[Je]=(0,Ue.Z)("Empty"),dt=typeof Re!="undefined"?Re:Je==null?void 0:Je.description,It=typeof dt=="string"?dt:"empty";let st=null;return typeof mt=="string"?st=b.createElement("img",{alt:It,src:mt}):st=mt,zt(b.createElement("div",Object.assign({className:pe()(Et,Oe,ot,yt,{[`${ot}-normal`]:mt===Be,[`${ot}-rtl`]:Ke==="rtl"},ke,qe,Ge.root,Qe==null?void 0:Qe.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ae.root),Dt),he==null?void 0:he.root),Se)},ye),b.createElement("div",{className:pe()(`${ot}-image`,Ge.image,Qe==null?void 0:Qe.image),style:Object.assign(Object.assign(Object.assign({},lt),Ae.image),he==null?void 0:he.image)},st),dt&&b.createElement("div",{className:pe()(`${ot}-description`,Ge.description,Qe==null?void 0:Qe.description),style:Object.assign(Object.assign({},Ae.description),he==null?void 0:he.description)},dt),Ye&&b.createElement("div",{className:pe()(`${ot}-footer`,Ge.footer,Qe==null?void 0:Qe.footer),style:Object.assign(Object.assign({},Ae.footer),he==null?void 0:he.footer)},Ye)))};Ze.PRESENTED_IMAGE_DEFAULT=De,Ze.PRESENTED_IMAGE_SIMPLE=Be;var rt=Ze},28284:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return _t}});var b=te(56553),tt=te(77654),pe=te(59301),Ue=te(92310),Pe=te.n(Ue),me=te(77900),ve=te(86641),fe=te(83397);function be(vt){const[Zt,bt]=pe.useState(vt);return pe.useEffect(()=>{const Ht=setTimeout(()=>{bt(vt)},vt.length?0:10);return()=>{clearTimeout(Ht)}},[vt]),Zt}var de=te(36237),Le=te(63356),we=te(34925),Te=te(34961),xe=te(51636),Fe=te(16931),De=vt=>{const{componentCls:Zt}=vt,bt=`${Zt}-show-help`,Ht=`${Zt}-show-help-item`;return{[bt]:{transition:`opacity ${vt.motionDurationFast} ${vt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ht]:{overflow:"hidden",transition:`height ${vt.motionDurationFast} ${vt.motionEaseInOut},
|
|
|
opacity ${vt.motionDurationFast} ${vt.motionEaseInOut},
|
|
|
transform ${vt.motionDurationFast} ${vt.motionEaseInOut} !important`,[`&${Ht}-appear, &${Ht}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ht}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Be=vt=>({legend:{display:"block",width:"100%",marginBottom:vt.marginLG,padding:0,color:vt.colorTextDescription,fontSize:vt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,de.unit)(vt.lineWidth)} ${vt.lineType} ${vt.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,de.unit)(vt.controlOutlineWidth)} ${vt.controlOutline}`},output:{display:"block",paddingTop:15,color:vt.colorText,fontSize:vt.fontSize,lineHeight:vt.lineHeight}}),Ze=(vt,Zt)=>{const{formItemCls:bt}=vt;return{[bt]:{[`${bt}-label > label`]:{height:Zt},[`${bt}-control-input`]:{minHeight:Zt}}}},rt=vt=>{const{componentCls:Zt}=vt;return{[vt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Le.Wf)(vt)),Be(vt)),{[`${Zt}-text`]:{display:"inline-block",paddingInlineEnd:vt.paddingSM},"&-small":Object.assign({},Ze(vt,vt.controlHeightSM)),"&-large":Object.assign({},Ze(vt,vt.controlHeightLG))})}},ce=vt=>{const{formItemCls:Zt,iconCls:bt,rootPrefixCls:Ht,antCls:nt,labelRequiredMarkColor:Xt,labelColor:tn,labelFontSize:dn,labelHeight:Vt,labelColonMarginInlineStart:jt,labelColonMarginInlineEnd:Yt,itemMarginBottom:ln}=vt;return{[Zt]:Object.assign(Object.assign({},(0,Le.Wf)(vt)),{marginBottom:ln,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${nt}-row`]:{display:"none"},"&-has-warning":{[`${Zt}-split`]:{color:vt.colorError}},"&-has-error":{[`${Zt}-split`]:{color:vt.colorWarning}},[`${Zt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:vt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Vt,color:tn,fontSize:dn,[`> ${bt}`]:{fontSize:vt.fontSize,verticalAlign:"top"},[`&${Zt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:vt.marginXXS,color:Xt,fontSize:vt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Zt}-required-mark-hidden, &${Zt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Zt}-optional`]:{display:"inline-block",marginInlineStart:vt.marginXXS,color:vt.colorTextDescription,[`&${Zt}-required-mark-hidden`]:{display:"none"}},[`${Zt}-tooltip`]:{color:vt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:vt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:jt,marginInlineEnd:Yt},[`&${Zt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Zt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ht}-col-'"]):not([class*="' ${Ht}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:vt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Zt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:vt.colorTextDescription,fontSize:vt.fontSize,lineHeight:vt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:vt.controlHeightSM,transition:`color ${vt.motionDurationMid} ${vt.motionEaseOut}`},"&-explain":{"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning}}},[`&-with-help ${Zt}-explain`]:{height:"auto",opacity:1},[`${Zt}-feedback-icon`]:{fontSize:vt.fontSize,textAlign:"center",visibility:"visible",animationName:we.kr,animationDuration:vt.motionDurationMid,animationTimingFunction:vt.motionEaseOutBack,pointerEvents:"none","&-success":{color:vt.colorSuccess},"&-error":{color:vt.colorError},"&-warning":{color:vt.colorWarning},"&-validating":{color:vt.colorPrimary}}})}},ke=(vt,Zt)=>{const{formItemCls:bt}=vt;return{[`${Zt}-horizontal`]:{[`${bt}-label`]:{flexGrow:0},[`${bt}-control`]:{flex:"1 1 0",minWidth:0},[`${bt}-label[class$='-24'], ${bt}-label[class*='-24 ']`]:{[`& + ${bt}-control`]:{minWidth:"unset"}}}}},qe=vt=>{const{componentCls:Zt,formItemCls:bt,inlineItemMarginBottom:Ht}=vt;return{[`${Zt}-inline`]:{display:"flex",flexWrap:"wrap",[bt]:{flex:"none",marginInlineEnd:vt.margin,marginBottom:Ht,"&-row":{flexWrap:"nowrap"},[`> ${bt}-label,
|
|
|
> ${bt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${bt}-label`]:{flex:"none"},[`${Zt}-text`]:{display:"inline-block"},[`${bt}-has-feedback`]:{display:"inline-block"}}}}},_e=vt=>({padding:vt.verticalLabelPadding,margin:vt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),mt=vt=>{const{componentCls:Zt,formItemCls:bt,rootPrefixCls:Ht}=vt;return{[`${bt} ${bt}-label`]:_e(vt),[`${Zt}:not(${Zt}-inline)`]:{[bt]:{flexWrap:"wrap",[`${bt}-label, ${bt}-control`]:{[`&:not([class*=" ${Ht}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Re=vt=>{const{componentCls:Zt,formItemCls:bt,antCls:Ht}=vt;return{[`${Zt}-vertical`]:{[`${bt}:not(${bt}-horizontal)`]:{[`${bt}-row`]:{flexDirection:"column"},[`${bt}-label > label`]:{height:"auto"},[`${bt}-control`]:{width:"100%"},[`${bt}-label,
|
|
|
${Ht}-col-24${bt}-label,
|
|
|
${Ht}-col-xl-24${bt}-label`]:_e(vt)}},[`@media (max-width: ${(0,de.unit)(vt.screenXSMax)})`]:[mt(vt),{[Zt]:{[`${bt}:not(${bt}-horizontal)`]:{[`${Ht}-col-xs-24${bt}-label`]:_e(vt)}}}],[`@media (max-width: ${(0,de.unit)(vt.screenSMMax)})`]:{[Zt]:{[`${bt}:not(${bt}-horizontal)`]:{[`${Ht}-col-sm-24${bt}-label`]:_e(vt)}}},[`@media (max-width: ${(0,de.unit)(vt.screenMDMax)})`]:{[Zt]:{[`${bt}:not(${bt}-horizontal)`]:{[`${Ht}-col-md-24${bt}-label`]:_e(vt)}}},[`@media (max-width: ${(0,de.unit)(vt.screenLGMax)})`]:{[Zt]:{[`${bt}:not(${bt}-horizontal)`]:{[`${Ht}-col-lg-24${bt}-label`]:_e(vt)}}}}},Ye=vt=>{const{formItemCls:Zt,antCls:bt}=vt;return{[`${Zt}-vertical`]:{[`${Zt}-row`]:{flexDirection:"column"},[`${Zt}-label > label`]:{height:"auto"},[`${Zt}-control`]:{width:"100%"}},[`${Zt}-vertical ${Zt}-label,
|
|
|
${bt}-col-24${Zt}-label,
|
|
|
${bt}-col-xl-24${Zt}-label`]:_e(vt),[`@media (max-width: ${(0,de.unit)(vt.screenXSMax)})`]:[mt(vt),{[Zt]:{[`${bt}-col-xs-24${Zt}-label`]:_e(vt)}}],[`@media (max-width: ${(0,de.unit)(vt.screenSMMax)})`]:{[Zt]:{[`${bt}-col-sm-24${Zt}-label`]:_e(vt)}},[`@media (max-width: ${(0,de.unit)(vt.screenMDMax)})`]:{[Zt]:{[`${bt}-col-md-24${Zt}-label`]:_e(vt)}},[`@media (max-width: ${(0,de.unit)(vt.screenLGMax)})`]:{[Zt]:{[`${bt}-col-lg-24${Zt}-label`]:_e(vt)}}}},lt=vt=>({labelRequiredMarkColor:vt.colorError,labelColor:vt.colorTextHeading,labelFontSize:vt.fontSize,labelHeight:vt.controlHeight,labelColonMarginInlineStart:vt.marginXXS/2,labelColonMarginInlineEnd:vt.marginXS,itemMarginBottom:vt.marginLG,verticalLabelPadding:`0 0 ${vt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Se=(vt,Zt)=>(0,xe.mergeToken)(vt,{formItemCls:`${vt.componentCls}-item`,rootPrefixCls:Zt});var Qe=(0,Fe.I$)("Form",(vt,Zt)=>{let{rootPrefixCls:bt}=Zt;const Ht=Se(vt,bt);return[rt(Ht),ce(Ht),De(Ht),ke(Ht,Ht.componentCls),ke(Ht,Ht.formItemCls),qe(Ht),Re(Ht),Ye(Ht),(0,Te.Z)(Ht),we.kr]},lt,{order:-1e3});const he=[];function ye(vt,Zt,bt){let Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof vt=="string"?vt:`${Zt}-${Ht}`,error:vt,errorStatus:bt}}var Ke=vt=>{let{help:Zt,helpStatus:bt,errors:Ht=he,warnings:nt=he,className:Xt,fieldId:tn,onVisibleChanged:dn}=vt;const{prefixCls:Vt}=pe.useContext(b.Rk),jt=`${Vt}-item-explain`,Yt=(0,fe.Z)(Vt),[ln,Wn,Rn]=Qe(Vt,Yt),Kn=pe.useMemo(()=>(0,ve.Z)(Vt),[Vt]),kr=be(Ht),Zr=be(nt),_r=pe.useMemo(()=>Zt!=null?[ye(Zt,"help",bt)]:[].concat((0,tt.Z)(kr.map((Ar,Vr)=>ye(Ar,"error","error",Vr))),(0,tt.Z)(Zr.map((Ar,Vr)=>ye(Ar,"warning","warning",Vr)))),[Zt,bt,kr,Zr]),Pr=pe.useMemo(()=>{const Ar={};return _r.forEach(Vr=>{let{key:ni}=Vr;Ar[ni]=(Ar[ni]||0)+1}),_r.map((Vr,ni)=>Object.assign(Object.assign({},Vr),{key:Ar[Vr.key]>1?`${Vr.key}-fallback-${ni}`:Vr.key}))},[_r]),gr={};return tn&&(gr.id=`${tn}_help`),ln(pe.createElement(me.default,{motionDeadline:Kn.motionDeadline,motionName:`${Vt}-show-help`,visible:!!Pr.length,onVisibleChanged:dn},Ar=>{const{className:Vr,style:ni}=Ar;return pe.createElement("div",Object.assign({},gr,{className:Pe()(jt,Vr,Rn,Yt,Xt,Wn),style:ni}),pe.createElement(me.CSSMotionList,Object.assign({keys:Pr},(0,ve.Z)(Vt),{motionName:`${Vt}-show-help-item`,component:!1}),ri=>{const{key:ai,error:Dr,errorStatus:Jr,className:$r,style:Ri}=ri;return pe.createElement("div",{key:ai,className:Pe()($r,{[`${jt}-${Jr}`]:Jr}),style:Ri},Dr)}))}))},yt=te(69180),Dt=te(48755),Ge=te(2171),Ae=te(31756),ot=te(23069),zt=te(76846),Et=te(16722);const Oe=["parentNode"],Je="form_item";function dt(vt){return vt===void 0||vt===!1?[]:Array.isArray(vt)?vt:[vt]}function It(vt,Zt){if(!vt.length)return;const bt=vt.join("_");return Zt?`${Zt}_${bt}`:Oe.includes(bt)?`${Je}_${bt}`:bt}function st(vt,Zt,bt,Ht,nt,Xt){let tn=Ht;return Xt!==void 0?tn=Xt:bt.validating?tn="validating":vt.length?tn="error":Zt.length?tn="warning":(bt.touched||nt&&bt.validated)&&(tn="success"),tn}var Ft=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt};function ft(vt){return dt(vt).join("_")}function Gt(vt,Zt){const bt=Zt.getFieldInstance(vt),Ht=(0,zt.bn)(bt);if(Ht)return Ht;const nt=It(dt(vt),Zt.__INTERNAL__.name);if(nt)return document.getElementById(nt)}function Pt(vt){const[Zt]=(0,yt.useForm)(),bt=pe.useRef({}),Ht=pe.useMemo(()=>vt!=null?vt:Object.assign(Object.assign({},Zt),{__INTERNAL__:{itemRef:nt=>Xt=>{const tn=ft(nt);Xt?bt.current[tn]=Xt:delete bt.current[tn]}},scrollToField:function(nt){let Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:tn}=Xt,dn=Ft(Xt,["focus"]),Vt=Gt(nt,Ht);Vt&&((0,Et.Z)(Vt,Object.assign({scrollMode:"if-needed",block:"nearest"},dn)),tn&&Ht.focusField(nt))},focusField:nt=>{var Xt,tn;const dn=Ht.getFieldInstance(nt);typeof(dn==null?void 0:dn.focus)=="function"?dn.focus():(tn=(Xt=Gt(nt,Ht))===null||Xt===void 0?void 0:Xt.focus)===null||tn===void 0||tn.call(Xt)},getFieldInstance:nt=>{const Xt=ft(nt);return bt.current[Xt]}}),[vt,Zt]);return[Ht]}var oe=te(98350),ae=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt};const ee=(vt,Zt)=>{const bt=pe.useContext(Ge.Z),{getPrefixCls:Ht,direction:nt,requiredMark:Xt,colon:tn,scrollToFirstError:dn,className:Vt,style:jt}=(0,Dt.dj)("form"),{prefixCls:Yt,className:ln,rootClassName:Wn,size:Rn,disabled:Kn=bt,form:kr,colon:Zr,labelAlign:_r,labelWrap:Pr,labelCol:gr,wrapperCol:Ar,hideRequiredMark:Vr,layout:ni="horizontal",scrollToFirstError:ri,requiredMark:ai,onFinishFailed:Dr,name:Jr,style:$r,feedbackIcons:Ri,variant:Hi}=vt,zi=ae(vt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Zi=(0,Ae.Z)(Rn),Ji=pe.useContext(oe.Z),Ei=pe.useMemo(()=>ai!==void 0?ai:Vr?!1:Xt!==void 0?Xt:!0,[Vr,ai,Xt]),ki=Zr!=null?Zr:tn,fi=Ht("form",Yt),$i=(0,fe.Z)(fi),[oo,Ro,fo]=Qe(fi,$i),bo=Pe()(fi,`${fi}-${ni}`,{[`${fi}-hide-required-mark`]:Ei===!1,[`${fi}-rtl`]:nt==="rtl",[`${fi}-${Zi}`]:Zi},fo,$i,Ro,Vt,ln,Wn),[co]=Pt(kr),{__INTERNAL__:yo}=co;yo.name=Jr;const Bi=pe.useMemo(()=>({name:Jr,labelAlign:_r,labelCol:gr,labelWrap:Pr,wrapperCol:Ar,vertical:ni==="vertical",colon:ki,requiredMark:Ei,itemRef:yo.itemRef,form:co,feedbackIcons:Ri}),[Jr,_r,gr,Ar,ni,ki,Ei,co,Ri]),Ai=pe.useRef(null);pe.useImperativeHandle(Zt,()=>{var lr;return Object.assign(Object.assign({},co),{nativeElement:(lr=Ai.current)===null||lr===void 0?void 0:lr.nativeElement})});const Gr=(lr,cr)=>{if(lr){let Jn={block:"nearest"};typeof lr=="object"&&(Jn=Object.assign(Object.assign({},Jn),lr)),co.scrollToField(cr,Jn)}},jn=lr=>{if(Dr==null||Dr(lr),lr.errorFields.length){const cr=lr.errorFields[0].name;if(ri!==void 0){Gr(ri,cr);return}dn!==void 0&&Gr(dn,cr)}};return oo(pe.createElement(b.pg.Provider,{value:Hi},pe.createElement(Ge.n,{disabled:Kn},pe.createElement(ot.Z.Provider,{value:Zi},pe.createElement(b.RV,{validateMessages:Ji},pe.createElement(b.q3.Provider,{value:Bi},pe.createElement(yt.default,Object.assign({id:Jr},zi,{name:Jr,onFinishFailed:jn,form:co,ref:Ai,style:Object.assign(Object.assign({},jt),$r),className:bo}))))))))};var re=pe.forwardRef(ee),ne=te(41799),le=te(8654),ge=te(22703),Ee=te(32383),ze=te(11592);function je(vt){if(typeof vt=="function")return vt;const Zt=(0,ze.Z)(vt);return Zt.length<=1?Zt[0]:Zt}const Xe=()=>{const{status:vt,errors:Zt=[],warnings:bt=[]}=pe.useContext(b.aM);return{status:vt,errors:Zt,warnings:bt}};Xe.Context=b.aM;var it=Xe,pt=te(16089);function He(vt){const[Zt,bt]=pe.useState(vt),Ht=pe.useRef(null),nt=pe.useRef([]),Xt=pe.useRef(!1);pe.useEffect(()=>(Xt.current=!1,()=>{Xt.current=!0,pt.Z.cancel(Ht.current),Ht.current=null}),[]);function tn(dn){Xt.current||(Ht.current===null&&(nt.current=[],Ht.current=(0,pt.Z)(()=>{Ht.current=null,bt(Vt=>{let jt=Vt;return nt.current.forEach(Yt=>{jt=Yt(jt)}),jt})})),nt.current.push(dn))}return[Zt,tn]}function et(){const{itemRef:vt}=pe.useContext(b.q3),Zt=pe.useRef({});function bt(Ht,nt){const Xt=nt&&typeof nt=="object"&&(0,le.C4)(nt),tn=Ht.join("_");return(Zt.current.name!==tn||Zt.current.originRef!==Xt)&&(Zt.current.name=tn,Zt.current.originRef=Xt,Zt.current.ref=(0,le.sQ)(vt(Ht),Xt)),Zt.current.ref}return bt}var $t=te(29194),Lt=te(34280),qt=te(2738),Nt=te(65970),Mt=te(70425),Kt=te(5472);const Jt=vt=>{const{formItemCls:Zt}=vt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Zt}-control`]:{display:"flex"}}}};var gt=(0,Fe.bk)(["Form","item-item"],(vt,Zt)=>{let{rootPrefixCls:bt}=Zt;const Ht=Se(vt,bt);return[Jt(Ht)]}),kt=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt};const nn=24;var ct=vt=>{const{prefixCls:Zt,status:bt,labelCol:Ht,wrapperCol:nt,children:Xt,errors:tn,warnings:dn,_internalItemRender:Vt,extra:jt,help:Yt,fieldId:ln,marginBottom:Wn,onErrorVisibleChanged:Rn,label:Kn}=vt,kr=`${Zt}-item`,Zr=pe.useContext(b.q3),_r=pe.useMemo(()=>{let zi=Object.assign({},nt||Zr.wrapperCol||{});return Kn===null&&!Ht&&!nt&&Zr.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Ji=>{const Ei=Ji?[Ji]:[],ki=(0,Mt.U2)(Zr.labelCol,Ei),fi=typeof ki=="object"?ki:{},$i=(0,Mt.U2)(zi,Ei),oo=typeof $i=="object"?$i:{};"span"in fi&&!("offset"in oo)&&fi.span<nn&&(zi=(0,Mt.t8)(zi,[].concat(Ei,["offset"]),fi.span))}),zi},[nt,Zr]),Pr=Pe()(`${kr}-control`,_r.className),gr=pe.useMemo(()=>{const{labelCol:zi,wrapperCol:Zi}=Zr;return kt(Zr,["labelCol","wrapperCol"])},[Zr]),Ar=pe.useRef(null),[Vr,ni]=pe.useState(0);(0,Lt.Z)(()=>{jt&&Ar.current?ni(Ar.current.clientHeight):ni(0)},[jt]);const ri=pe.createElement("div",{className:`${kr}-control-input`},pe.createElement("div",{className:`${kr}-control-input-content`},Xt)),ai=pe.useMemo(()=>({prefixCls:Zt,status:bt}),[Zt,bt]),Dr=Wn!==null||tn.length||dn.length?pe.createElement(b.Rk.Provider,{value:ai},pe.createElement(Ke,{fieldId:ln,errors:tn,warnings:dn,help:Yt,helpStatus:bt,className:`${kr}-explain-connected`,onVisibleChanged:Rn})):null,Jr={};ln&&(Jr.id=`${ln}_extra`);const $r=jt?pe.createElement("div",Object.assign({},Jr,{className:`${kr}-extra`,ref:Ar}),jt):null,Ri=Dr||$r?pe.createElement("div",{className:`${kr}-additional`,style:Wn?{minHeight:Wn+Vr}:{}},Dr,$r):null,Hi=Vt&&Vt.mark==="pro_table_render"&&Vt.render?Vt.render(vt,{input:ri,errorList:Dr,extra:$r}):pe.createElement(pe.Fragment,null,ri,Ri);return pe.createElement(b.q3.Provider,{value:gr},pe.createElement(Kt.Z,Object.assign({},_r,{className:Pr}),Hi),pe.createElement(gt,{prefixCls:Zt}))},wt=te(61485),Wt=te(9017),on=te(85981),fn=te(25399),Pn=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt};function Vn(vt){return vt?typeof vt=="object"&&!pe.isValidElement(vt)?vt:{title:vt}:null}var Bn=vt=>{let{prefixCls:Zt,label:bt,htmlFor:Ht,labelCol:nt,labelAlign:Xt,colon:tn,required:dn,requiredMark:Vt,tooltip:jt,vertical:Yt}=vt;var ln;const[Wn]=(0,Wt.Z)("Form"),{labelAlign:Rn,labelCol:Kn,labelWrap:kr,colon:Zr}=pe.useContext(b.q3);if(!bt)return null;const _r=nt||Kn||{},Pr=Xt||Rn,gr=`${Zt}-item-label`,Ar=Pe()(gr,Pr==="left"&&`${gr}-left`,_r.className,{[`${gr}-wrap`]:!!kr});let Vr=bt;const ni=tn===!0||Zr!==!1&&tn!==!1;ni&&!Yt&&typeof bt=="string"&&bt.trim()&&(Vr=bt.replace(/[:|:]\s*$/,""));const ai=Vn(jt);if(ai){const{icon:zi=pe.createElement(wt.Z,null)}=ai,Zi=Pn(ai,["icon"]),Ji=pe.createElement(fn.Z,Object.assign({},Zi),pe.cloneElement(zi,{className:`${Zt}-item-tooltip`,title:"",onClick:Ei=>{Ei.preventDefault()},tabIndex:null}));Vr=pe.createElement(pe.Fragment,null,Vr,Ji)}const Dr=Vt==="optional",Jr=typeof Vt=="function",$r=Vt===!1;Jr?Vr=Vt(Vr,{required:!!dn}):Dr&&!dn&&(Vr=pe.createElement(pe.Fragment,null,Vr,pe.createElement("span",{className:`${Zt}-item-optional`,title:""},(Wn==null?void 0:Wn.optional)||((ln=on.Z.Form)===null||ln===void 0?void 0:ln.optional))));let Ri;$r?Ri="hidden":(Dr||Jr)&&(Ri="optional");const Hi=Pe()({[`${Zt}-item-required`]:dn,[`${Zt}-item-required-mark-${Ri}`]:Ri,[`${Zt}-item-no-colon`]:!ni});return pe.createElement(Kt.Z,Object.assign({},_r,{className:Ar}),pe.createElement("label",{htmlFor:Ht,className:Hi,title:typeof bt=="string"?bt:""},Vr))},Un=te(29679),Rt=te(19248),Bt=te(96512),un=te(58617);const en={success:Un.Z,warning:Bt.Z,error:Rt.Z,validating:un.Z};function Qt(vt){let{children:Zt,errors:bt,warnings:Ht,hasFeedback:nt,validateStatus:Xt,prefixCls:tn,meta:dn,noStyle:Vt}=vt;const jt=`${tn}-item`,{feedbackIcons:Yt}=pe.useContext(b.q3),ln=st(bt,Ht,dn,null,!!nt,Xt),{isFormItemInput:Wn,status:Rn,hasFeedback:Kn,feedbackIcon:kr}=pe.useContext(b.aM),Zr=pe.useMemo(()=>{var _r;let Pr;if(nt){const Ar=nt!==!0&&nt.icons||Yt,Vr=ln&&((_r=Ar==null?void 0:Ar({status:ln,errors:bt,warnings:Ht}))===null||_r===void 0?void 0:_r[ln]),ni=ln&&en[ln];Pr=Vr!==!1&&ni?pe.createElement("span",{className:Pe()(`${jt}-feedback-icon`,`${jt}-feedback-icon-${ln}`)},Vr||pe.createElement(ni,null)):null}const gr={status:ln||"",errors:bt,warnings:Ht,hasFeedback:!!nt,feedbackIcon:Pr,isFormItemInput:!0};return Vt&&(gr.status=(ln!=null?ln:Rn)||"",gr.isFormItemInput=Wn,gr.hasFeedback=!!(nt!=null?nt:Kn),gr.feedbackIcon=nt!==void 0?gr.feedbackIcon:kr),gr},[ln,nt,Vt,Wn,Rn]);return pe.createElement(b.aM.Provider,{value:Zr},Zt)}var wn=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt};function bn(vt){const{prefixCls:Zt,className:bt,rootClassName:Ht,style:nt,help:Xt,errors:tn,warnings:dn,validateStatus:Vt,meta:jt,hasFeedback:Yt,hidden:ln,children:Wn,fieldId:Rn,required:Kn,isRequired:kr,onSubItemMetaChange:Zr,layout:_r}=vt,Pr=wn(vt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),gr=`${Zt}-item`,{requiredMark:Ar,vertical:Vr}=pe.useContext(b.q3),ni=Vr||_r==="vertical",ri=pe.useRef(null),ai=be(tn),Dr=be(dn),Jr=Xt!=null,$r=!!(Jr||tn.length||dn.length),Ri=!!ri.current&&(0,$t.Z)(ri.current),[Hi,zi]=pe.useState(null);(0,Lt.Z)(()=>{if($r&&ri.current){const fi=getComputedStyle(ri.current);zi(parseInt(fi.marginBottom,10))}},[$r,Ri]);const Zi=fi=>{fi||zi(null)},Ei=function(){let fi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $i=fi?ai:jt.errors,oo=fi?Dr:jt.warnings;return st($i,oo,jt,"",!!Yt,Vt)}(),ki=Pe()(gr,bt,Ht,{[`${gr}-with-help`]:Jr||ai.length||Dr.length,[`${gr}-has-feedback`]:Ei&&Yt,[`${gr}-has-success`]:Ei==="success",[`${gr}-has-warning`]:Ei==="warning",[`${gr}-has-error`]:Ei==="error",[`${gr}-is-validating`]:Ei==="validating",[`${gr}-hidden`]:ln,[`${gr}-${_r}`]:_r});return pe.createElement("div",{className:ki,style:nt,ref:ri},pe.createElement(Nt.Z,Object.assign({className:`${gr}-row`},(0,qt.Z)(Pr,["_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"])),pe.createElement(Bn,Object.assign({htmlFor:Rn},vt,{requiredMark:Ar,required:Kn!=null?Kn:kr,prefixCls:Zt,vertical:ni})),pe.createElement(ct,Object.assign({},vt,jt,{errors:ai,warnings:Dr,prefixCls:Zt,status:Ei,help:Xt,marginBottom:Hi,onErrorVisibleChanged:Zi}),pe.createElement(b.qI.Provider,{value:Zr},pe.createElement(Qt,{prefixCls:Zt,meta:jt,errors:jt.errors,warnings:jt.warnings,hasFeedback:Yt,validateStatus:Ei},Wn)))),!!Hi&&pe.createElement("div",{className:`${gr}-margin-offset`,style:{marginBottom:-Hi}}))}const kn="__SPLIT__",Xn=null;function zn(vt,Zt){const bt=Object.keys(vt),Ht=Object.keys(Zt);return bt.length===Ht.length&&bt.every(nt=>{const Xt=vt[nt],tn=Zt[nt];return Xt===tn||typeof Xt=="function"||typeof tn=="function"})}const Fn=pe.memo(vt=>{let{children:Zt}=vt;return Zt},(vt,Zt)=>zn(vt.control,Zt.control)&&vt.update===Zt.update&&vt.childProps.length===Zt.childProps.length&&vt.childProps.every((bt,Ht)=>bt===Zt.childProps[Ht]));function nr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tr(vt){const{name:Zt,noStyle:bt,className:Ht,dependencies:nt,prefixCls:Xt,shouldUpdate:tn,rules:dn,children:Vt,required:jt,label:Yt,messageVariables:ln,trigger:Wn="onChange",validateTrigger:Rn,hidden:Kn,help:kr,layout:Zr}=vt,{getPrefixCls:_r}=pe.useContext(Dt.E_),{name:Pr}=pe.useContext(b.q3),gr=je(Vt),Ar=typeof gr=="function",Vr=pe.useContext(b.qI),{validateTrigger:ni}=pe.useContext(yt.FieldContext),ri=Rn!==void 0?Rn:ni,ai=Zt!=null,Dr=_r("form",Xt),Jr=(0,fe.Z)(Dr),[$r,Ri,Hi]=Qe(Dr,Jr),zi=(0,Ee.ln)("Form.Item"),Zi=pe.useContext(yt.ListContext),Ji=pe.useRef(null),[Ei,ki]=He({}),[fi,$i]=(0,ne.Z)(()=>nr()),oo=Ai=>{const Gr=Zi==null?void 0:Zi.getKey(Ai.name);if($i(Ai.destroy?nr():Ai,!0),bt&&kr!==!1&&Vr){let jn=Ai.name;if(Ai.destroy)jn=Ji.current||jn;else if(Gr!==void 0){const[lr,cr]=Gr;jn=[lr].concat((0,tt.Z)(cr)),Ji.current=jn}Vr(Ai,jn)}},Ro=(Ai,Gr)=>{ki(jn=>{const lr=Object.assign({},jn),Jn=[].concat((0,tt.Z)(Ai.name.slice(0,-1)),(0,tt.Z)(Gr)).join(kn);return Ai.destroy?delete lr[Jn]:lr[Jn]=Ai,lr})},[fo,bo]=pe.useMemo(()=>{const Ai=(0,tt.Z)(fi.errors),Gr=(0,tt.Z)(fi.warnings);return Object.values(Ei).forEach(jn=>{Ai.push.apply(Ai,(0,tt.Z)(jn.errors||[])),Gr.push.apply(Gr,(0,tt.Z)(jn.warnings||[]))}),[Ai,Gr]},[Ei,fi.errors,fi.warnings]),co=et();function yo(Ai,Gr,jn){return bt&&!Kn?pe.createElement(Qt,{prefixCls:Dr,hasFeedback:vt.hasFeedback,validateStatus:vt.validateStatus,meta:fi,errors:fo,warnings:bo,noStyle:!0},Ai):pe.createElement(bn,Object.assign({key:"row"},vt,{className:Pe()(Ht,Hi,Jr,Ri),prefixCls:Dr,fieldId:Gr,isRequired:jn,errors:fo,warnings:bo,meta:fi,onSubItemMetaChange:Ro,layout:Zr}),Ai)}if(!ai&&!Ar&&!nt)return $r(yo(gr));let Bi={};return typeof Yt=="string"?Bi.label=Yt:Zt&&(Bi.label=String(Zt)),ln&&(Bi=Object.assign(Object.assign({},Bi),ln)),$r(pe.createElement(yt.Field,Object.assign({},vt,{messageVariables:Bi,trigger:Wn,validateTrigger:ri,onMetaChange:oo}),(Ai,Gr,jn)=>{const lr=dt(Zt).length&&Gr?Gr.name:[],cr=It(lr,Pr),Jn=jt!==void 0?jt:!!(dn!=null&&dn.some(or=>{if(or&&typeof or=="object"&&or.required&&!or.warningOnly)return!0;if(typeof or=="function"){const _n=or(jn);return(_n==null?void 0:_n.required)&&!(_n!=null&&_n.warningOnly)}return!1})),Wr=Object.assign({},Ai);let qr=null;if(Array.isArray(gr)&&ai)qr=gr;else if(!(Ar&&(!(tn||nt)||ai))){if(!(nt&&!Ar&&!ai))if(pe.isValidElement(gr)){const or=Object.assign(Object.assign({},gr.props),Wr);if(or.id||(or.id=cr),kr||fo.length>0||bo.length>0||vt.extra){const zr=[];(kr||fo.length>0)&&zr.push(`${cr}_help`),vt.extra&&zr.push(`${cr}_extra`),or["aria-describedby"]=zr.join(" ")}fo.length>0&&(or["aria-invalid"]="true"),Jn&&(or["aria-required"]="true"),(0,le.Yr)(gr)&&(or.ref=co(lr,gr)),new Set([].concat((0,tt.Z)(dt(Wn)),(0,tt.Z)(dt(ri)))).forEach(zr=>{or[zr]=function(){for(var ji,vo,ao,Fo,Eo,Co=arguments.length,To=new Array(Co),Oo=0;Oo<Co;Oo++)To[Oo]=arguments[Oo];(ao=Wr[zr])===null||ao===void 0||(ji=ao).call.apply(ji,[Wr].concat(To)),(Eo=(Fo=gr.props)[zr])===null||Eo===void 0||(vo=Eo).call.apply(vo,[Fo].concat(To))}});const Cr=[or["aria-required"],or["aria-invalid"],or["aria-describedby"]];qr=pe.createElement(Fn,{control:Wr,update:gr,childProps:Cr},(0,ge.Tm)(gr,or))}else Ar&&(tn||nt)&&!ai?qr=gr(jn):qr=gr}return yo(qr,cr,Jn)}))}const Rr=tr;Rr.useStatus=it;var Ir=Rr,Sn=function(vt,Zt){var bt={};for(var Ht in vt)Object.prototype.hasOwnProperty.call(vt,Ht)&&Zt.indexOf(Ht)<0&&(bt[Ht]=vt[Ht]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ht=Object.getOwnPropertySymbols(vt);nt<Ht.length;nt++)Zt.indexOf(Ht[nt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ht[nt])&&(bt[Ht[nt]]=vt[Ht[nt]]);return bt},rr=vt=>{var{prefixCls:Zt,children:bt}=vt,Ht=Sn(vt,["prefixCls","children"]);const{getPrefixCls:nt}=pe.useContext(Dt.E_),Xt=nt("form",Zt),tn=pe.useMemo(()=>({prefixCls:Xt,status:"error"}),[Xt]);return pe.createElement(yt.List,Object.assign({},Ht),(dn,Vt,jt)=>pe.createElement(b.Rk.Provider,{value:tn},bt(dn.map(Yt=>Object.assign(Object.assign({},Yt),{fieldKey:Yt.key})),Vt,{errors:jt.errors,warnings:jt.warnings})))};function ir(){const{form:vt}=pe.useContext(b.q3);return vt}const Ot=re;Ot.Item=Ir,Ot.List=rr,Ot.ErrorList=Ke,Ot.useForm=Pt,Ot.useFormInstance=ir,Ot.useWatch=yt.useWatch,Ot.Provider=b.RV,Ot.create=()=>{};var _t=Ot},4875:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return vn}});var b=te(59301),tt=te(84105),pe=te(87395),Ue=te(92310),Pe=te.n(Ue),me=te(60499),ve=te(18642),fe=te(43749),be=te(72190),de=te(42244),Le=te(38705),we=te(17212);function Te(){return typeof BigInt=="function"}function xe(ct){return!ct&&ct!==0&&!Number.isNaN(ct)||!String(ct).trim()}function Fe(ct){var wt=ct.trim(),Wt=wt.startsWith("-");Wt&&(wt=wt.slice(1)),wt=wt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),wt.startsWith(".")&&(wt="0".concat(wt));var on=wt||"0",fn=on.split("."),Pn=fn[0]||"0",Vn=fn[1]||"0";Pn==="0"&&Vn==="0"&&(Wt=!1);var Gn=Wt?"-":"";return{negative:Wt,negativeStr:Gn,trimStr:on,integerStr:Pn,decimalStr:Vn,fullStr:"".concat(Gn).concat(on)}}function Ce(ct){var wt=String(ct);return!Number.isNaN(Number(wt))&&wt.includes("e")}function De(ct){var wt=String(ct);if(Ce(ct)){var Wt=Number(wt.slice(wt.indexOf("e-")+2)),on=wt.match(/\.(\d+)/);return on!=null&&on[1]&&(Wt+=on[1].length),Wt}return wt.includes(".")&&Ze(wt)?wt.length-wt.indexOf(".")-1:0}function Be(ct){var wt=String(ct);if(Ce(ct)){if(ct>Number.MAX_SAFE_INTEGER)return String(Te()?BigInt(ct).toString():Number.MAX_SAFE_INTEGER);if(ct<Number.MIN_SAFE_INTEGER)return String(Te()?BigInt(ct).toString():Number.MIN_SAFE_INTEGER);wt=ct.toFixed(De(wt))}return Fe(wt).fullStr}function Ze(ct){return typeof ct=="number"?!Number.isNaN(ct):ct?/^\s*-?\d+(\.\d+)?\s*$/.test(ct)||/^\s*-?\d+\.\s*$/.test(ct)||/^\s*-?\.\d+\s*$/.test(ct):!1}var rt=function(){function ct(wt){if((0,Le.Z)(this,ct),(0,ve.Z)(this,"origin",""),(0,ve.Z)(this,"negative",void 0),(0,ve.Z)(this,"integer",void 0),(0,ve.Z)(this,"decimal",void 0),(0,ve.Z)(this,"decimalLen",void 0),(0,ve.Z)(this,"empty",void 0),(0,ve.Z)(this,"nan",void 0),xe(wt)){this.empty=!0;return}if(this.origin=String(wt),wt==="-"||Number.isNaN(wt)){this.nan=!0;return}var Wt=wt;if(Ce(Wt)&&(Wt=Number(Wt)),Wt=typeof Wt=="string"?Wt:Be(Wt),Ze(Wt)){var on=Fe(Wt);this.negative=on.negative;var fn=on.trimStr.split(".");this.integer=BigInt(fn[0]);var Pn=fn[1]||"0";this.decimal=BigInt(Pn),this.decimalLen=Pn.length}else this.nan=!0}return(0,we.Z)(ct,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Wt){var on="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Wt,"0"));return BigInt(on)}},{key:"negate",value:function(){var Wt=new ct(this.toString());return Wt.negative=!Wt.negative,Wt}},{key:"cal",value:function(Wt,on,fn){var Pn=Math.max(this.getDecimalStr().length,Wt.getDecimalStr().length),Vn=this.alignDecimal(Pn),Gn=Wt.alignDecimal(Pn),Bn=on(Vn,Gn).toString(),Un=fn(Pn),Rt=Fe(Bn),Bt=Rt.negativeStr,un=Rt.trimStr,en="".concat(Bt).concat(un.padStart(Un+1,"0"));return new ct("".concat(en.slice(0,-Un),".").concat(en.slice(-Un)))}},{key:"add",value:function(Wt){if(this.isInvalidate())return new ct(Wt);var on=new ct(Wt);return on.isInvalidate()?this:this.cal(on,function(fn,Pn){return fn+Pn},function(fn){return fn})}},{key:"multi",value:function(Wt){var on=new ct(Wt);return this.isInvalidate()||on.isInvalidate()?new ct(NaN):this.cal(on,function(fn,Pn){return fn*Pn},function(fn){return fn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Wt){return this.toString()===(Wt==null?void 0:Wt.toString())}},{key:"lessEquals",value:function(Wt){return this.add(Wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Fe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ct}(),ce=function(){function ct(wt){if((0,Le.Z)(this,ct),(0,ve.Z)(this,"origin",""),(0,ve.Z)(this,"number",void 0),(0,ve.Z)(this,"empty",void 0),xe(wt)){this.empty=!0;return}this.origin=String(wt),this.number=Number(wt)}return(0,we.Z)(ct,[{key:"negate",value:function(){return new ct(-this.toNumber())}},{key:"add",value:function(Wt){if(this.isInvalidate())return new ct(Wt);var on=Number(Wt);if(Number.isNaN(on))return this;var fn=this.number+on;if(fn>Number.MAX_SAFE_INTEGER)return new ct(Number.MAX_SAFE_INTEGER);if(fn<Number.MIN_SAFE_INTEGER)return new ct(Number.MIN_SAFE_INTEGER);var Pn=Math.max(De(this.number),De(on));return new ct(fn.toFixed(Pn))}},{key:"multi",value:function(Wt){var on=Number(Wt);if(this.isInvalidate()||Number.isNaN(on))return new ct(NaN);var fn=this.number*on;if(fn>Number.MAX_SAFE_INTEGER)return new ct(Number.MAX_SAFE_INTEGER);if(fn<Number.MIN_SAFE_INTEGER)return new ct(Number.MIN_SAFE_INTEGER);var Pn=Math.max(De(this.number),De(on));return new ct(fn.toFixed(Pn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Wt){return this.toNumber()===(Wt==null?void 0:Wt.toNumber())}},{key:"lessEquals",value:function(Wt){return this.add(Wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Be(this.number):this.origin}}]),ct}();function ke(ct){return Te()?new rt(ct):new ce(ct)}function qe(ct,wt,Wt){var on=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(ct==="")return"";var fn=Fe(ct),Pn=fn.negativeStr,Vn=fn.integerStr,Gn=fn.decimalStr,Bn="".concat(wt).concat(Gn),Un="".concat(Pn).concat(Vn);if(Wt>=0){var Rt=Number(Gn[Wt]);if(Rt>=5&&!on){var Bt=ke(ct).add("".concat(Pn,"0.").concat("0".repeat(Wt)).concat(10-Rt));return qe(Bt.toString(),wt,Wt,on)}return Wt===0?Un:"".concat(Un).concat(wt).concat(Gn.padEnd(Wt,"0").slice(0,Wt))}return Bn===".0"?Un:"".concat(Un).concat(Bn)}var _e=ke,mt=te(36901),Re=te(34280);function Ye(ct,wt){return typeof Proxy!="undefined"&&ct?new Proxy(ct,{get:function(on,fn){if(wt[fn])return wt[fn];var Pn=on[fn];return typeof Pn=="function"?Pn.bind(on):Pn}}):ct}var lt=te(8654),Se=te(48736);function Qe(ct,wt){var Wt=(0,b.useRef)(null);function on(){try{var Pn=ct.selectionStart,Vn=ct.selectionEnd,Gn=ct.value,Bn=Gn.substring(0,Pn),Un=Gn.substring(Vn);Wt.current={start:Pn,end:Vn,value:Gn,beforeTxt:Bn,afterTxt:Un}}catch(Rt){}}function fn(){if(ct&&Wt.current&&wt)try{var Pn=ct.value,Vn=Wt.current,Gn=Vn.beforeTxt,Bn=Vn.afterTxt,Un=Vn.start,Rt=Pn.length;if(Pn.startsWith(Gn))Rt=Gn.length;else if(Pn.endsWith(Bn))Rt=Pn.length-Wt.current.afterTxt.length;else{var Bt=Gn[Un-1],un=Pn.indexOf(Bt,Un-1);un!==-1&&(Rt=un+1)}ct.setSelectionRange(Rt,Rt)}catch(en){(0,Se.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(en.message))}}return[on,fn]}var he=te(49658),ye=function(){var wt=(0,b.useState)(!1),Wt=(0,be.Z)(wt,2),on=Wt[0],fn=Wt[1];return(0,Re.Z)(function(){fn((0,he.Z)())},[]),on},Ct=ye,Ke=te(16089),yt=200,Dt=600;function Ge(ct){var wt=ct.prefixCls,Wt=ct.upNode,on=ct.downNode,fn=ct.upDisabled,Pn=ct.downDisabled,Vn=ct.onStep,Gn=b.useRef(),Bn=b.useRef([]),Un=b.useRef();Un.current=Vn;var Rt=function(){clearTimeout(Gn.current)},Bt=function(zn,Fn){zn.preventDefault(),Rt(),Un.current(Fn);function nr(){Un.current(Fn),Gn.current=setTimeout(nr,yt)}Gn.current=setTimeout(nr,Dt)};b.useEffect(function(){return function(){Rt(),Bn.current.forEach(function(Xn){return Ke.Z.cancel(Xn)})}},[]);var un=Ct();if(un)return null;var en="".concat(wt,"-handler"),Qt=Pe()(en,"".concat(en,"-up"),(0,ve.Z)({},"".concat(en,"-up-disabled"),fn)),wn=Pe()(en,"".concat(en,"-down"),(0,ve.Z)({},"".concat(en,"-down-disabled"),Pn)),bn=function(){return Bn.current.push((0,Ke.Z)(Rt))},kn={unselectable:"on",role:"button",onMouseUp:bn,onMouseLeave:bn};return b.createElement("div",{className:"".concat(en,"-wrap")},b.createElement("span",(0,me.Z)({},kn,{onMouseDown:function(zn){Bt(zn,!0)},"aria-label":"Increase Value","aria-disabled":fn,className:Qt}),Wt||b.createElement("span",{unselectable:"on",className:"".concat(wt,"-handler-up-inner")})),b.createElement("span",(0,me.Z)({},kn,{onMouseDown:function(zn){Bt(zn,!1)},"aria-label":"Decrease Value","aria-disabled":Pn,className:wn}),on||b.createElement("span",{unselectable:"on",className:"".concat(wt,"-handler-down-inner")})))}function Ae(ct){var wt=typeof ct=="number"?Be(ct):Fe(ct).fullStr,Wt=wt.includes(".");return Wt?Fe(wt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:ct+"0"}var ot=te(30292),zt=function(){var ct=(0,b.useRef)(0),wt=function(){Ke.Z.cancel(ct.current)};return(0,b.useEffect)(function(){return wt},[]),function(Wt){wt(),ct.current=(0,Ke.Z)(function(){Wt()})}},Et=["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"],Oe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Je=function(wt,Wt){return wt||Wt.isEmpty()?Wt.toString():Wt.toNumber()},dt=function(wt){var Wt=_e(wt);return Wt.isInvalidate()?null:Wt},It=b.forwardRef(function(ct,wt){var Wt=ct.prefixCls,on=ct.className,fn=ct.style,Pn=ct.min,Vn=ct.max,Gn=ct.step,Bn=Gn===void 0?1:Gn,Un=ct.defaultValue,Rt=ct.value,Bt=ct.disabled,un=ct.readOnly,en=ct.upHandler,Qt=ct.downHandler,wn=ct.keyboard,bn=ct.changeOnWheel,kn=bn===void 0?!1:bn,Xn=ct.controls,zn=Xn===void 0?!0:Xn,Fn=ct.classNames,nr=ct.stringMode,tr=ct.parser,Rr=ct.formatter,Ir=ct.precision,Sn=ct.decimalSeparator,Ln=ct.onChange,rr=ct.onInput,ir=ct.onPressEnter,Ot=ct.onStep,_t=ct.changeOnBlur,vt=_t===void 0?!0:_t,Zt=ct.domRef,bt=(0,de.Z)(ct,Et),Ht="".concat(Wt,"-input"),nt=b.useRef(null),Xt=b.useState(!1),tn=(0,be.Z)(Xt,2),dn=tn[0],Vt=tn[1],jt=b.useRef(!1),Yt=b.useRef(!1),ln=b.useRef(!1),Wn=b.useState(function(){return _e(Rt!=null?Rt:Un)}),Rn=(0,be.Z)(Wn,2),Kn=Rn[0],kr=Rn[1];function Zr(cr){Rt===void 0&&kr(cr)}var _r=b.useCallback(function(cr,Jn){if(!Jn)return Ir>=0?Ir:Math.max(De(cr),De(Bn))},[Ir,Bn]),Pr=b.useCallback(function(cr){var Jn=String(cr);if(tr)return tr(Jn);var Wr=Jn;return Sn&&(Wr=Wr.replace(Sn,".")),Wr.replace(/[^\w.-]+/g,"")},[tr,Sn]),gr=b.useRef(""),Ar=b.useCallback(function(cr,Jn){if(Rr)return Rr(cr,{userTyping:Jn,input:String(gr.current)});var Wr=typeof cr=="number"?Be(cr):cr;if(!Jn){var qr=_r(Wr,Jn);if(Ze(Wr)&&(Sn||qr>=0)){var or=Sn||".";Wr=qe(Wr,or,qr)}}return Wr},[Rr,_r,Sn]),Vr=b.useState(function(){var cr=Un!=null?Un:Rt;return Kn.isInvalidate()&&["string","number"].includes((0,fe.Z)(cr))?Number.isNaN(cr)?"":cr:Ar(Kn.toString(),!1)}),ni=(0,be.Z)(Vr,2),ri=ni[0],ai=ni[1];gr.current=ri;function Dr(cr,Jn){ai(Ar(cr.isInvalidate()?cr.toString(!1):cr.toString(!Jn),Jn))}var Jr=b.useMemo(function(){return dt(Vn)},[Vn,Ir]),$r=b.useMemo(function(){return dt(Pn)},[Pn,Ir]),Ri=b.useMemo(function(){return!Jr||!Kn||Kn.isInvalidate()?!1:Jr.lessEquals(Kn)},[Jr,Kn]),Hi=b.useMemo(function(){return!$r||!Kn||Kn.isInvalidate()?!1:Kn.lessEquals($r)},[$r,Kn]),zi=Qe(nt.current,dn),Zi=(0,be.Z)(zi,2),Ji=Zi[0],Ei=Zi[1],ki=function(Jn){return Jr&&!Jn.lessEquals(Jr)?Jr:$r&&!$r.lessEquals(Jn)?$r:null},fi=function(Jn){return!ki(Jn)},$i=function(Jn,Wr){var qr=Jn,or=fi(qr)||qr.isEmpty();if(!qr.isEmpty()&&!Wr&&(qr=ki(qr)||qr,or=!0),!un&&!Bt&&or){var _n=qr.toString(),Cr=_r(_n,Wr);return Cr>=0&&(qr=_e(qe(_n,".",Cr)),fi(qr)||(qr=_e(qe(_n,".",Cr,!0)))),qr.equals(Kn)||(Zr(qr),Ln==null||Ln(qr.isEmpty()?null:Je(nr,qr)),Rt===void 0&&Dr(qr,Wr)),qr}return Kn},oo=zt(),Ro=function cr(Jn){if(Ji(),gr.current=Jn,ai(Jn),!Yt.current){var Wr=Pr(Jn),qr=_e(Wr);qr.isNaN()||$i(qr,!0)}rr==null||rr(Jn),oo(function(){var or=Jn;tr||(or=Jn.replace(/。/g,".")),or!==Jn&&cr(or)})},fo=function(){Yt.current=!0},bo=function(){Yt.current=!1,Ro(nt.current.value)},co=function(Jn){Ro(Jn.target.value)},yo=function(Jn){var Wr;if(!(Jn&&Ri||!Jn&&Hi)){jt.current=!1;var qr=_e(ln.current?Ae(Bn):Bn);Jn||(qr=qr.negate());var or=(Kn||_e(0)).add(qr.toString()),_n=$i(or,!1);Ot==null||Ot(Je(nr,_n),{offset:ln.current?Ae(Bn):Bn,type:Jn?"up":"down"}),(Wr=nt.current)===null||Wr===void 0||Wr.focus()}},Bi=function(Jn){var Wr=_e(Pr(ri)),qr;Wr.isNaN()?qr=$i(Kn,Jn):qr=$i(Wr,Jn),Rt!==void 0?Dr(Kn,!1):qr.isNaN()||Dr(qr,!1)},Ai=function(){jt.current=!0},Gr=function(Jn){var Wr=Jn.key,qr=Jn.shiftKey;jt.current=!0,ln.current=qr,Wr==="Enter"&&(Yt.current||(jt.current=!1),Bi(!1),ir==null||ir(Jn)),wn!==!1&&!Yt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Wr)&&(yo(Wr==="Up"||Wr==="ArrowUp"),Jn.preventDefault())},jn=function(){jt.current=!1,ln.current=!1};b.useEffect(function(){if(kn&&dn){var cr=function(qr){yo(qr.deltaY<0),qr.preventDefault()},Jn=nt.current;if(Jn)return Jn.addEventListener("wheel",cr,{passive:!1}),function(){return Jn.removeEventListener("wheel",cr)}}});var lr=function(){vt&&Bi(!1),Vt(!1),jt.current=!1};return(0,Re.o)(function(){Kn.isInvalidate()||Dr(Kn,!1)},[Ir,Rr]),(0,Re.o)(function(){var cr=_e(Rt);kr(cr);var Jn=_e(Pr(ri));(!cr.equals(Jn)||!jt.current||Rr)&&Dr(cr,jt.current)},[Rt]),(0,Re.o)(function(){Rr&&Ei()},[ri]),b.createElement("div",{ref:Zt,className:Pe()(Wt,on,(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({},"".concat(Wt,"-focused"),dn),"".concat(Wt,"-disabled"),Bt),"".concat(Wt,"-readonly"),un),"".concat(Wt,"-not-a-number"),Kn.isNaN()),"".concat(Wt,"-out-of-range"),!Kn.isInvalidate()&&!fi(Kn))),style:fn,onFocus:function(){Vt(!0)},onBlur:lr,onKeyDown:Gr,onKeyUp:jn,onCompositionStart:fo,onCompositionEnd:bo,onBeforeInput:Ai},zn&&b.createElement(Ge,{prefixCls:Wt,upNode:en,downNode:Qt,upDisabled:Ri,downDisabled:Hi,onStep:yo}),b.createElement("div",{className:"".concat(Ht,"-wrap")},b.createElement("input",(0,me.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Pn,"aria-valuemax":Vn,"aria-valuenow":Kn.isInvalidate()?null:Kn.toString(),step:Bn},bt,{ref:(0,lt.sQ)(nt,wt),className:Ht,value:ri,onChange:co,disabled:Bt,readOnly:un}))))}),st=b.forwardRef(function(ct,wt){var Wt=ct.disabled,on=ct.style,fn=ct.prefixCls,Pn=fn===void 0?"rc-input-number":fn,Vn=ct.value,Gn=ct.prefix,Bn=ct.suffix,Un=ct.addonBefore,Rt=ct.addonAfter,Bt=ct.className,un=ct.classNames,en=(0,de.Z)(ct,Oe),Qt=b.useRef(null),wn=b.useRef(null),bn=b.useRef(null),kn=function(zn){bn.current&&(0,ot.nH)(bn.current,zn)};return b.useImperativeHandle(wt,function(){return Ye(bn.current,{focus:kn,nativeElement:Qt.current.nativeElement||wn.current})}),b.createElement(mt.BaseInput,{className:Bt,triggerFocus:kn,prefixCls:Pn,value:Vn,disabled:Wt,style:on,prefix:Gn,suffix:Bn,addonAfter:Rt,addonBefore:Un,classNames:un,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Qt},b.createElement(It,(0,me.Z)({prefixCls:Pn,disabled:Wt,ref:bn,domRef:wn,className:un==null?void 0:un.input},en)))}),Ft=st,ft=Ft,Gt=te(62487),Pt=te(82855),oe=te(48755),ae=te(60840),ee=te(2171),E=te(83397),re=te(31756),ne=te(56553),le=te(24971),ge=te(70045),Ee=te(36237),ze=te(53075),je=te(64910),Xe=te(39082),it=te(63356),pt=te(56119),He=te(16931),et=te(51636),$t=te(17835);const Lt=ct=>{var wt;const Wt=(wt=ct.handleVisible)!==null&&wt!==void 0?wt:"auto",on=ct.controlHeightSM-ct.lineWidth*2;return Object.assign(Object.assign({},(0,je.T)(ct)),{controlWidth:90,handleWidth:on,handleFontSize:ct.fontSize/2,handleVisible:Wt,handleActiveBg:ct.colorFillAlter,handleBg:ct.colorBgContainer,filledHandleBg:new $t.FastColor(ct.colorFillSecondary).onBackground(ct.colorBgContainer).toHexString(),handleHoverColor:ct.colorPrimary,handleBorderColor:ct.colorBorder,handleOpacity:Wt===!0?1:0,handleVisibleWidth:Wt===!0?on:0})},qt=(ct,wt)=>{let{componentCls:Wt,borderRadiusSM:on,borderRadiusLG:fn}=ct;const Pn=wt==="lg"?fn:on;return{[`&-${wt}`]:{[`${Wt}-handler-wrap`]:{borderStartEndRadius:Pn,borderEndEndRadius:Pn},[`${Wt}-handler-up`]:{borderStartEndRadius:Pn},[`${Wt}-handler-down`]:{borderEndEndRadius:Pn}}}},Nt=ct=>{const{componentCls:wt,lineWidth:Wt,lineType:on,borderRadius:fn,inputFontSizeSM:Pn,inputFontSizeLG:Vn,controlHeightLG:Gn,controlHeightSM:Bn,colorError:Un,paddingInlineSM:Rt,paddingBlockSM:Bt,paddingBlockLG:un,paddingInlineLG:en,colorTextDescription:Qt,motionDurationMid:wn,handleHoverColor:bn,handleOpacity:kn,paddingInline:Xn,paddingBlock:zn,handleBg:Fn,handleActiveBg:nr,colorTextDisabled:tr,borderRadiusSM:Rr,borderRadiusLG:Ir,controlWidth:Sn,handleBorderColor:Ln,filledHandleBg:rr,lineHeightLG:ir,calc:Ot}=ct;return[{[wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(ct)),(0,ze.ik)(ct)),{display:"inline-block",width:Sn,margin:0,padding:0,borderRadius:fn}),(0,Xe.qG)(ct,{[`${wt}-handler-wrap`]:{background:Fn,[`${wt}-handler-down`]:{borderBlockStart:`${(0,Ee.unit)(Wt)} ${on} ${Ln}`}}})),(0,Xe.H8)(ct,{[`${wt}-handler-wrap`]:{background:rr,[`${wt}-handler-down`]:{borderBlockStart:`${(0,Ee.unit)(Wt)} ${on} ${Ln}`}},"&:focus-within":{[`${wt}-handler-wrap`]:{background:Fn}}})),(0,Xe.vc)(ct,{[`${wt}-handler-wrap`]:{background:Fn,[`${wt}-handler-down`]:{borderBlockStart:`${(0,Ee.unit)(Wt)} ${on} ${Ln}`}}})),(0,Xe.Mu)(ct)),{"&-rtl":{direction:"rtl",[`${wt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Vn,lineHeight:ir,borderRadius:Ir,[`input${wt}-input`]:{height:Ot(Gn).sub(Ot(Wt).mul(2)).equal(),padding:`${(0,Ee.unit)(un)} ${(0,Ee.unit)(en)}`}},"&-sm":{padding:0,fontSize:Pn,borderRadius:Rr,[`input${wt}-input`]:{height:Ot(Bn).sub(Ot(Wt).mul(2)).equal(),padding:`${(0,Ee.unit)(Bt)} ${(0,Ee.unit)(Rt)}`}},"&-out-of-range":{[`${wt}-input-wrap`]:{input:{color:Un}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,it.Wf)(ct)),(0,ze.s7)(ct)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${wt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${wt}-group-addon`]:{borderRadius:Ir,fontSize:ct.fontSizeLG}},"&-sm":{[`${wt}-group-addon`]:{borderRadius:Rr}}},(0,Xe.ir)(ct)),(0,Xe.S5)(ct)),{[`&:not(${wt}-compact-first-item):not(${wt}-compact-last-item)${wt}-compact-item`]:{[`${wt}, ${wt}-group-addon`]:{borderRadius:0}},[`&:not(${wt}-compact-last-item)${wt}-compact-first-item`]:{[`${wt}, ${wt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${wt}-compact-first-item)${wt}-compact-last-item`]:{[`${wt}, ${wt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${wt}-input`]:{cursor:"not-allowed"},[wt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,it.Wf)(ct)),{width:"100%",padding:`${(0,Ee.unit)(zn)} ${(0,Ee.unit)(Xn)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:fn,outline:0,transition:`all ${wn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ze.nz)(ct.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${wt}-handler-wrap, &-focused ${wt}-handler-wrap`]:{width:ct.handleWidth,opacity:1}})},{[wt]:Object.assign(Object.assign(Object.assign({[`${wt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:ct.handleVisibleWidth,opacity:kn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:fn,borderEndEndRadius:fn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${wn}`,overflow:"hidden",[`${wt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${wt}-handler-up-inner,
|
|
|
${wt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:ct.handleFontSize}}},[`${wt}-handler`]:{height:"50%",overflow:"hidden",color:Qt,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,Ee.unit)(Wt)} ${on} ${Ln}`,transition:`all ${wn} linear`,"&:active":{background:nr},"&:hover":{height:"60%",[`
|
|
|
${wt}-handler-up-inner,
|
|
|
${wt}-handler-down-inner
|
|
|
`]:{color:bn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,it.Ro)()),{color:Qt,transition:`all ${wn} linear`,userSelect:"none"})},[`${wt}-handler-up`]:{borderStartEndRadius:fn},[`${wt}-handler-down`]:{borderEndEndRadius:fn}},qt(ct,"lg")),qt(ct,"sm")),{"&-disabled, &-readonly":{[`${wt}-handler-wrap`]:{display:"none"},[`${wt}-input`]:{color:"inherit"}},[`
|
|
|
${wt}-handler-up-disabled,
|
|
|
${wt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${wt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${wt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:tr}})}]},Mt=ct=>{const{componentCls:wt,paddingBlock:Wt,paddingInline:on,inputAffixPadding:fn,controlWidth:Pn,borderRadiusLG:Vn,borderRadiusSM:Gn,paddingInlineLG:Bn,paddingInlineSM:Un,paddingBlockLG:Rt,paddingBlockSM:Bt,motionDurationMid:un}=ct;return{[`${wt}-affix-wrapper`]:Object.assign(Object.assign({[`input${wt}-input`]:{padding:`${(0,Ee.unit)(Wt)} 0`}},(0,ze.ik)(ct)),{position:"relative",display:"inline-flex",alignItems:"center",width:Pn,padding:0,paddingInlineStart:on,"&-lg":{borderRadius:Vn,paddingInlineStart:Bn,[`input${wt}-input`]:{padding:`${(0,Ee.unit)(Rt)} 0`}},"&-sm":{borderRadius:Gn,paddingInlineStart:Un,[`input${wt}-input`]:{padding:`${(0,Ee.unit)(Bt)} 0`}},[`&:not(${wt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${wt}-disabled`]:{background:"transparent"},[`> div${wt}`]:{width:"100%",border:"none",outline:"none",[`&${wt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${wt}-handler-wrap`]:{zIndex:2},[wt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:fn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:on,marginInlineStart:fn,transition:`margin ${un}`}},[`&:hover ${wt}-handler-wrap, &-focused ${wt}-handler-wrap`]:{width:ct.handleWidth,opacity:1},[`&:not(${wt}-affix-wrapper-without-controls):hover ${wt}-suffix`]:{marginInlineEnd:ct.calc(ct.handleWidth).add(on).equal()}})}};var Kt=(0,He.I$)("InputNumber",ct=>{const wt=(0,et.mergeToken)(ct,(0,je.e)(ct));return[Nt(wt),Mt(wt),(0,pt.c)(wt)]},Lt,{unitless:{handleOpacity:!0}}),Jt=function(ct,wt){var Wt={};for(var on in ct)Object.prototype.hasOwnProperty.call(ct,on)&&wt.indexOf(on)<0&&(Wt[on]=ct[on]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,on=Object.getOwnPropertySymbols(ct);fn<on.length;fn++)wt.indexOf(on[fn])<0&&Object.prototype.propertyIsEnumerable.call(ct,on[fn])&&(Wt[on[fn]]=ct[on[fn]]);return Wt};const gt=b.forwardRef((ct,wt)=>{const{getPrefixCls:Wt,direction:on}=b.useContext(oe.E_),fn=b.useRef(null);b.useImperativeHandle(wt,()=>fn.current);const{className:Pn,rootClassName:Vn,size:Gn,disabled:Bn,prefixCls:Un,addonBefore:Rt,addonAfter:Bt,prefix:un,suffix:en,bordered:Qt,readOnly:wn,status:bn,controls:kn,variant:Xn}=ct,zn=Jt(ct,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Fn=Wt("input-number",Un),nr=(0,E.Z)(Fn),[tr,Rr,Ir]=Kt(Fn,nr),{compactSize:Sn,compactItemClassnames:Ln}=(0,ge.ri)(Fn,on);let rr=b.createElement(pe.Z,{className:`${Fn}-handler-up-inner`}),ir=b.createElement(tt.Z,{className:`${Fn}-handler-down-inner`});const Ot=typeof kn=="boolean"?kn:void 0;typeof kn=="object"&&(rr=typeof kn.upIcon=="undefined"?rr:b.createElement("span",{className:`${Fn}-handler-up-inner`},kn.upIcon),ir=typeof kn.downIcon=="undefined"?ir:b.createElement("span",{className:`${Fn}-handler-down-inner`},kn.downIcon));const{hasFeedback:_t,status:vt,isFormItemInput:Zt,feedbackIcon:bt}=b.useContext(ne.aM),Ht=(0,Pt.F)(vt,bn),nt=(0,re.Z)(Rn=>{var Kn;return(Kn=Gn!=null?Gn:Sn)!==null&&Kn!==void 0?Kn:Rn}),Xt=b.useContext(ee.Z),tn=Bn!=null?Bn:Xt,[dn,Vt]=(0,le.Z)("inputNumber",Xn,Qt),jt=_t&&b.createElement(b.Fragment,null,bt),Yt=Pe()({[`${Fn}-lg`]:nt==="large",[`${Fn}-sm`]:nt==="small",[`${Fn}-rtl`]:on==="rtl",[`${Fn}-in-form-item`]:Zt},Rr),ln=`${Fn}-group`,Wn=b.createElement(ft,Object.assign({ref:fn,disabled:tn,className:Pe()(Ir,nr,Pn,Vn,Ln),upHandler:rr,downHandler:ir,prefixCls:Fn,readOnly:wn,controls:Ot,prefix:un,suffix:jt||en,addonBefore:Rt&&b.createElement(Gt.Z,{form:!0,space:!0},Rt),addonAfter:Bt&&b.createElement(Gt.Z,{form:!0,space:!0},Bt),classNames:{input:Yt,variant:Pe()({[`${Fn}-${dn}`]:Vt},(0,Pt.Z)(Fn,Ht,_t)),affixWrapper:Pe()({[`${Fn}-affix-wrapper-sm`]:nt==="small",[`${Fn}-affix-wrapper-lg`]:nt==="large",[`${Fn}-affix-wrapper-rtl`]:on==="rtl",[`${Fn}-affix-wrapper-without-controls`]:kn===!1||tn},Rr),wrapper:Pe()({[`${ln}-rtl`]:on==="rtl"},Rr),groupWrapper:Pe()({[`${Fn}-group-wrapper-sm`]:nt==="small",[`${Fn}-group-wrapper-lg`]:nt==="large",[`${Fn}-group-wrapper-rtl`]:on==="rtl",[`${Fn}-group-wrapper-${dn}`]:Vt},(0,Pt.Z)(`${Fn}-group-wrapper`,Ht,_t),Rr)}},zn));return tr(Wn)}),kt=gt,nn=ct=>b.createElement(ae.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(gt,Object.assign({},ct)));kt._InternalPanelDoNotUseOrYouWillBeFired=nn;var vn=kt},49397:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return ce}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(36901),Pe=te(8654),me=te(62487),ve=te(86013),fe=te(82855),be=te(48755),de=te(2171),Le=te(83397),we=te(31756),Te=te(56553),xe=te(24971),Fe=te(70045),Ce=te(23826),De=te(53075);function Be(ke){return!!(ke.prefix||ke.suffix||ke.allowClear||ke.showCount)}var Ze=function(ke,qe){var _e={};for(var mt in ke)Object.prototype.hasOwnProperty.call(ke,mt)&&qe.indexOf(mt)<0&&(_e[mt]=ke[mt]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,mt=Object.getOwnPropertySymbols(ke);Re<mt.length;Re++)qe.indexOf(mt[Re])<0&&Object.prototype.propertyIsEnumerable.call(ke,mt[Re])&&(_e[mt[Re]]=ke[mt[Re]]);return _e},ce=(0,b.forwardRef)((ke,qe)=>{const{prefixCls:_e,bordered:mt=!0,status:Re,size:Ye,disabled:lt,onBlur:Se,onFocus:Qe,suffix:he,allowClear:ye,addonAfter:Ct,addonBefore:Ke,className:yt,style:Dt,styles:Ge,rootClassName:Ae,onChange:ot,classNames:zt,variant:Et}=ke,Oe=Ze(ke,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Je,direction:dt,allowClear:It,autoComplete:st,className:Ft,style:ft,classNames:Gt,styles:Pt}=(0,be.dj)("input"),oe=Je("input",_e),ae=(0,b.useRef)(null),ee=(0,Le.Z)(oe),[E,re,ne]=(0,De.TI)(oe,Ae),[le]=(0,De.ZP)(oe,ee),{compactSize:ge,compactItemClassnames:Ee}=(0,Fe.ri)(oe,dt),ze=(0,we.Z)(vn=>{var ct;return(ct=Ye!=null?Ye:ge)!==null&&ct!==void 0?ct:vn}),je=b.useContext(de.Z),Xe=lt!=null?lt:je,{status:it,hasFeedback:pt,feedbackIcon:He}=(0,b.useContext)(Te.aM),et=(0,fe.F)(it,Re),$t=Be(ke)||!!pt,Lt=(0,b.useRef)($t),qt=(0,Ce.Z)(ae,!0),Nt=vn=>{qt(),Se==null||Se(vn)},Mt=vn=>{qt(),Qe==null||Qe(vn)},Kt=vn=>{qt(),ot==null||ot(vn)},Jt=(pt||he)&&b.createElement(b.Fragment,null,he,pt&&He),gt=(0,ve.Z)(ye!=null?ye:It),[kt,nn]=(0,xe.Z)("input",Et,mt);return E(le(b.createElement(Ue.default,Object.assign({ref:(0,Pe.sQ)(qe,ae),prefixCls:oe,autoComplete:st},Oe,{disabled:Xe,onBlur:Nt,onFocus:Mt,style:Object.assign(Object.assign({},ft),Dt),styles:Object.assign(Object.assign({},Pt),Ge),suffix:Jt,allowClear:gt,className:pe()(yt,Ae,ne,ee,Ee,Ft),onChange:Kt,addonBefore:Ke&&b.createElement(me.Z,{form:!0,space:!0},Ke),addonAfter:Ct&&b.createElement(me.Z,{form:!0,space:!0},Ct),classNames:Object.assign(Object.assign(Object.assign({},zt),Gt),{input:pe()({[`${oe}-sm`]:ze==="small",[`${oe}-lg`]:ze==="large",[`${oe}-rtl`]:dt==="rtl"},zt==null?void 0:zt.input,Gt.input,re),variant:pe()({[`${oe}-${kt}`]:nn},(0,fe.Z)(oe,et)),affixWrapper:pe()({[`${oe}-affix-wrapper-sm`]:ze==="small",[`${oe}-affix-wrapper-lg`]:ze==="large",[`${oe}-affix-wrapper-rtl`]:dt==="rtl"},re),wrapper:pe()({[`${oe}-group-rtl`]:dt==="rtl"},re),groupWrapper:pe()({[`${oe}-group-wrapper-sm`]:ze==="small",[`${oe}-group-wrapper-lg`]:ze==="large",[`${oe}-group-wrapper-rtl`]:dt==="rtl",[`${oe}-group-wrapper-${kt}`]:nn},(0,fe.Z)(`${oe}-group-wrapper`,et,pt),re)})}))))})},79809:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return qe}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(22711),Pe=te(86013),me=te(82855),ve=te(48755),fe=te(2171),be=te(83397),de=te(31756),Le=te(56553),we=te(24971),Te=te(70045),xe=te(30292),Fe=te(53075),Ce=te(16931),De=te(51636),Be=te(64910);const Ze=_e=>{const{componentCls:mt,paddingLG:Re}=_e,Ye=`${mt}-textarea`;return{[`textarea${mt}`]:{maxWidth:"100%",height:"auto",minHeight:_e.controlHeight,lineHeight:_e.lineHeight,verticalAlign:"bottom",transition:`all ${_e.motionDurationSlow}`,resize:"vertical",[`&${mt}-mouse-active`]:{transition:`all ${_e.motionDurationSlow}, height 0s, width 0s`}},[`${mt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ye]:{position:"relative","&-show-count":{[`> ${mt}`]:{height:"100%"},[`${mt}-data-count`]:{position:"absolute",bottom:_e.calc(_e.fontSize).mul(_e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:_e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${mt},
|
|
|
&-affix-wrapper${Ye}-has-feedback ${mt}
|
|
|
`]:{paddingInlineEnd:Re},[`&-affix-wrapper${mt}-affix-wrapper`]:{padding:0,[`> textarea${mt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:_e.calc(_e.controlHeight).sub(_e.calc(_e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${mt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${mt}-clear-icon`]:{position:"absolute",insetInlineEnd:_e.paddingInline,insetBlockStart:_e.paddingXS},[`${Ye}-suffix`]:{position:"absolute",top:0,insetInlineEnd:_e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${mt}-affix-wrapper-sm`]:{[`${mt}-suffix`]:{[`${mt}-clear-icon`]:{insetInlineEnd:_e.paddingInlineSM}}}}}};var rt=(0,Ce.I$)(["Input","TextArea"],_e=>{const mt=(0,De.mergeToken)(_e,(0,Be.e)(_e));return[Ze(mt)]},Be.T,{resetFont:!1}),ce=function(_e,mt){var Re={};for(var Ye in _e)Object.prototype.hasOwnProperty.call(_e,Ye)&&mt.indexOf(Ye)<0&&(Re[Ye]=_e[Ye]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Ye=Object.getOwnPropertySymbols(_e);lt<Ye.length;lt++)mt.indexOf(Ye[lt])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ye[lt])&&(Re[Ye[lt]]=_e[Ye[lt]]);return Re},qe=(0,b.forwardRef)((_e,mt)=>{var Re;const{prefixCls:Ye,bordered:lt=!0,size:Se,disabled:Qe,status:he,allowClear:ye,classNames:Ct,rootClassName:Ke,className:yt,style:Dt,styles:Ge,variant:Ae,showCount:ot,onMouseDown:zt,onResize:Et}=_e,Oe=ce(_e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Je,direction:dt,allowClear:It,autoComplete:st,className:Ft,style:ft,classNames:Gt,styles:Pt}=(0,ve.dj)("textArea"),oe=b.useContext(fe.Z),ae=Qe!=null?Qe:oe,{status:ee,hasFeedback:E,feedbackIcon:re}=b.useContext(Le.aM),ne=(0,me.F)(ee,he),le=b.useRef(null);b.useImperativeHandle(mt,()=>{var nn;return{resizableTextArea:(nn=le.current)===null||nn===void 0?void 0:nn.resizableTextArea,focus:vn=>{var ct,wt;(0,xe.nH)((wt=(ct=le.current)===null||ct===void 0?void 0:ct.resizableTextArea)===null||wt===void 0?void 0:wt.textArea,vn)},blur:()=>{var vn;return(vn=le.current)===null||vn===void 0?void 0:vn.blur()}}});const ge=Je("input",Ye),Ee=(0,be.Z)(ge),[ze,je,Xe]=(0,Fe.TI)(ge,Ke),[it]=rt(ge,Ee),{compactSize:pt,compactItemClassnames:He}=(0,Te.ri)(ge,dt),et=(0,de.Z)(nn=>{var vn;return(vn=Se!=null?Se:pt)!==null&&vn!==void 0?vn:nn}),[$t,Lt]=(0,we.Z)("textArea",Ae,lt),qt=(0,Pe.Z)(ye!=null?ye:It),[Nt,Mt]=b.useState(!1),[Kt,Jt]=b.useState(!1),gt=nn=>{Mt(!0),zt==null||zt(nn);const vn=()=>{Mt(!1),document.removeEventListener("mouseup",vn)};document.addEventListener("mouseup",vn)},kt=nn=>{var vn,ct;if(Et==null||Et(nn),Nt&&typeof getComputedStyle=="function"){const wt=(ct=(vn=le.current)===null||vn===void 0?void 0:vn.nativeElement)===null||ct===void 0?void 0:ct.querySelector("textarea");wt&&getComputedStyle(wt).resize==="both"&&Jt(!0)}};return ze(it(b.createElement(Ue.default,Object.assign({autoComplete:st},Oe,{style:Object.assign(Object.assign({},ft),Dt),styles:Object.assign(Object.assign({},Pt),Ge),disabled:ae,allowClear:qt,className:pe()(Xe,Ee,yt,Ke,He,Ft,Kt&&`${ge}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ct),Gt),{textarea:pe()({[`${ge}-sm`]:et==="small",[`${ge}-lg`]:et==="large"},je,Ct==null?void 0:Ct.textarea,Gt.textarea,Nt&&`${ge}-mouse-active`),variant:pe()({[`${ge}-${$t}`]:Lt},(0,me.Z)(ge,ne)),affixWrapper:pe()(`${ge}-textarea-affix-wrapper`,{[`${ge}-affix-wrapper-rtl`]:dt==="rtl",[`${ge}-affix-wrapper-sm`]:et==="small",[`${ge}-affix-wrapper-lg`]:et==="large",[`${ge}-textarea-show-count`]:ot||((Re=_e.count)===null||Re===void 0?void 0:Re.show)},je)}),prefixCls:ge,suffix:E&&b.createElement("span",{className:`${ge}-textarea-suffix`},re),showCount:ot,ref:le,onResize:kt,onMouseDown:gt}))))})},23826:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return tt}});var b=te(59301);function tt(pe,Ue){const Pe=(0,b.useRef)([]),me=()=>{Pe.current.push(setTimeout(()=>{var ve,fe,be,de;!((ve=pe.current)===null||ve===void 0)&&ve.input&&((fe=pe.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((be=pe.current)===null||be===void 0)&&be.input.hasAttribute("value"))&&((de=pe.current)===null||de===void 0||de.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(Ue&&me(),()=>Pe.current.forEach(ve=>{ve&&clearTimeout(ve)})),[]),me}},37568:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return Gt}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(48755),Pe=te(56553),me=te(53075),fe=Pt=>{const{getPrefixCls:oe,direction:ae}=(0,b.useContext)(Ue.E_),{prefixCls:ee,className:E}=Pt,re=oe("input-group",ee),ne=oe("input"),[le,ge,Ee]=(0,me.ZP)(ne),ze=pe()(re,Ee,{[`${re}-lg`]:Pt.size==="large",[`${re}-sm`]:Pt.size==="small",[`${re}-compact`]:Pt.compact,[`${re}-rtl`]:ae==="rtl"},ge,E),je=(0,b.useContext)(Pe.aM),Xe=(0,b.useMemo)(()=>Object.assign(Object.assign({},je),{isFormItemInput:!1}),[je]);return le(b.createElement("span",{className:ze,style:Pt.style,onMouseEnter:Pt.onMouseEnter,onMouseLeave:Pt.onMouseLeave,onFocus:Pt.onFocus,onBlur:Pt.onBlur},b.createElement(Pe.aM.Provider,{value:Xe},Pt.children)))},be=te(49397),de=te(77654),Le=te(6089),we=te(26112),Te=te(82855),xe=te(31756),Fe=te(16931),Ce=te(51636),De=te(64910);const Be=Pt=>{const{componentCls:oe,paddingXS:ae}=Pt;return{[oe]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ae,"&-rtl":{direction:"rtl"},[`${oe}-input`]:{textAlign:"center",paddingInline:Pt.paddingXXS},[`&${oe}-sm ${oe}-input`]:{paddingInline:Pt.calc(Pt.paddingXXS).div(2).equal()},[`&${oe}-lg ${oe}-input`]:{paddingInline:Pt.paddingXS}}}};var Ze=(0,Fe.I$)(["Input","OTP"],Pt=>{const oe=(0,Ce.mergeToken)(Pt,(0,De.e)(Pt));return[Be(oe)]},De.T),rt=te(16089),ce=function(Pt,oe){var ae={};for(var ee in Pt)Object.prototype.hasOwnProperty.call(Pt,ee)&&oe.indexOf(ee)<0&&(ae[ee]=Pt[ee]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,ee=Object.getOwnPropertySymbols(Pt);E<ee.length;E++)oe.indexOf(ee[E])<0&&Object.prototype.propertyIsEnumerable.call(Pt,ee[E])&&(ae[ee[E]]=Pt[ee[E]]);return ae},qe=b.forwardRef((Pt,oe)=>{const{value:ae,onChange:ee,onActiveChange:E,index:re,mask:ne}=Pt,le=ce(Pt,["value","onChange","onActiveChange","index","mask"]),ge=ae&&typeof ne=="string"?ne:ae,Ee=pt=>{ee(re,pt.target.value)},ze=b.useRef(null);b.useImperativeHandle(oe,()=>ze.current);const je=()=>{(0,rt.Z)(()=>{var pt;const He=(pt=ze.current)===null||pt===void 0?void 0:pt.input;document.activeElement===He&&He&&He.select()})},Xe=pt=>{const{key:He,ctrlKey:et,metaKey:$t}=pt;He==="ArrowLeft"?E(re-1):He==="ArrowRight"?E(re+1):He==="z"&&(et||$t)&&pt.preventDefault(),je()},it=pt=>{pt.key==="Backspace"&&!ae&&E(re-1),je()};return b.createElement(be.Z,Object.assign({type:ne===!0?"password":"text"},le,{ref:ze,value:ge,onInput:Ee,onFocus:je,onKeyDown:Xe,onKeyUp:it,onMouseDown:je,onMouseUp:je}))}),_e=function(Pt,oe){var ae={};for(var ee in Pt)Object.prototype.hasOwnProperty.call(Pt,ee)&&oe.indexOf(ee)<0&&(ae[ee]=Pt[ee]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,ee=Object.getOwnPropertySymbols(Pt);E<ee.length;E++)oe.indexOf(ee[E])<0&&Object.prototype.propertyIsEnumerable.call(Pt,ee[E])&&(ae[ee[E]]=Pt[ee[E]]);return ae};function mt(Pt){return(Pt||"").split("")}const Re=Pt=>{const{index:oe,prefixCls:ae,separator:ee}=Pt,E=typeof ee=="function"?ee(oe):ee;return E?b.createElement("span",{className:`${ae}-separator`},E):null};var lt=b.forwardRef((Pt,oe)=>{const{prefixCls:ae,length:ee=6,size:E,defaultValue:re,value:ne,onChange:le,formatter:ge,separator:Ee,variant:ze,disabled:je,status:Xe,autoFocus:it,mask:pt,type:He,onInput:et,inputMode:$t}=Pt,Lt=_e(Pt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:qt,direction:Nt}=b.useContext(Ue.E_),Mt=qt("otp",ae),Kt=(0,we.Z)(Lt,{aria:!0,data:!0,attr:!0}),[Jt,gt,kt]=Ze(Mt),nn=(0,xe.Z)(un=>E!=null?E:un),vn=b.useContext(Pe.aM),ct=(0,Te.F)(vn.status,Xe),wt=b.useMemo(()=>Object.assign(Object.assign({},vn),{status:ct,hasFeedback:!1,feedbackIcon:null}),[vn,ct]),Wt=b.useRef(null),on=b.useRef({});b.useImperativeHandle(oe,()=>({focus:()=>{var un;(un=on.current[0])===null||un===void 0||un.focus()},blur:()=>{var un;for(let en=0;en<ee;en+=1)(un=on.current[en])===null||un===void 0||un.blur()},nativeElement:Wt.current}));const fn=un=>ge?ge(un):un,[Pn,Vn]=b.useState(()=>mt(fn(re||"")));b.useEffect(()=>{ne!==void 0&&Vn(mt(ne))},[ne]);const Gn=(0,Le.Z)(un=>{Vn(un),et&&et(un),le&&un.length===ee&&un.every(en=>en)&&un.some((en,Qt)=>Pn[Qt]!==en)&&le(un.join(""))}),Bn=(0,Le.Z)((un,en)=>{let Qt=(0,de.Z)(Pn);for(let bn=0;bn<un;bn+=1)Qt[bn]||(Qt[bn]="");en.length<=1?Qt[un]=en:Qt=Qt.slice(0,un).concat(mt(en)),Qt=Qt.slice(0,ee);for(let bn=Qt.length-1;bn>=0&&!Qt[bn];bn-=1)Qt.pop();const wn=fn(Qt.map(bn=>bn||" ").join(""));return Qt=mt(wn).map((bn,kn)=>bn===" "&&!Qt[kn]?Qt[kn]:bn),Qt}),Un=(un,en)=>{var Qt;const wn=Bn(un,en),bn=Math.min(un+en.length,ee-1);bn!==un&&wn[un]!==void 0&&((Qt=on.current[bn])===null||Qt===void 0||Qt.focus()),Gn(wn)},Rt=un=>{var en;(en=on.current[un])===null||en===void 0||en.focus()},Bt={variant:ze,disabled:je,status:ct,mask:pt,type:He,inputMode:$t};return Jt(b.createElement("div",Object.assign({},Kt,{ref:Wt,className:pe()(Mt,{[`${Mt}-sm`]:nn==="small",[`${Mt}-lg`]:nn==="large",[`${Mt}-rtl`]:Nt==="rtl"},kt,gt)}),b.createElement(Pe.aM.Provider,{value:wt},Array.from({length:ee}).map((un,en)=>{const Qt=`otp-${en}`,wn=Pn[en]||"";return b.createElement(b.Fragment,{key:Qt},b.createElement(qe,Object.assign({ref:bn=>{on.current[en]=bn},index:en,size:nn,htmlSize:1,className:`${Mt}-input`,onChange:Un,value:wn,onActiveChange:Rt,autoFocus:en===0&&it},Bt)),en<ee-1&&b.createElement(Re,{separator:Ee,index:en,prefixCls:Mt}))}))))}),Se=te(73331),Qe=te(15277),he=te(2738),ye=te(8654),Ct=te(2171),Ke=te(23826),yt=function(Pt,oe){var ae={};for(var ee in Pt)Object.prototype.hasOwnProperty.call(Pt,ee)&&oe.indexOf(ee)<0&&(ae[ee]=Pt[ee]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,ee=Object.getOwnPropertySymbols(Pt);E<ee.length;E++)oe.indexOf(ee[E])<0&&Object.prototype.propertyIsEnumerable.call(Pt,ee[E])&&(ae[ee[E]]=Pt[ee[E]]);return ae};const Dt=Pt=>Pt?b.createElement(Qe.Z,null):b.createElement(Se.Z,null),Ge={click:"onClick",hover:"onMouseOver"};var ot=b.forwardRef((Pt,oe)=>{const{disabled:ae,action:ee="click",visibilityToggle:E=!0,iconRender:re=Dt}=Pt,ne=b.useContext(Ct.Z),le=ae!=null?ae:ne,ge=typeof E=="object"&&E.visible!==void 0,[Ee,ze]=(0,b.useState)(()=>ge?E.visible:!1),je=(0,b.useRef)(null);b.useEffect(()=>{ge&&ze(E.visible)},[ge,E]);const Xe=(0,Ke.Z)(je),it=()=>{var nn;if(le)return;Ee&&Xe();const vn=!Ee;ze(vn),typeof E=="object"&&((nn=E.onVisibleChange)===null||nn===void 0||nn.call(E,vn))},pt=nn=>{const vn=Ge[ee]||"",ct=re(Ee),wt={[vn]:it,className:`${nn}-icon`,key:"passwordIcon",onMouseDown:Wt=>{Wt.preventDefault()},onMouseUp:Wt=>{Wt.preventDefault()}};return b.cloneElement(b.isValidElement(ct)?ct:b.createElement("span",null,ct),wt)},{className:He,prefixCls:et,inputPrefixCls:$t,size:Lt}=Pt,qt=yt(Pt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Nt}=b.useContext(Ue.E_),Mt=Nt("input",$t),Kt=Nt("input-password",et),Jt=E&&pt(Kt),gt=pe()(Kt,He,{[`${Kt}-${Lt}`]:!!Lt}),kt=Object.assign(Object.assign({},(0,he.Z)(qt,["suffix","iconRender","visibilityToggle"])),{type:Ee?"text":"password",className:gt,prefixCls:Mt,suffix:Jt});return Lt&&(kt.size=Lt),b.createElement(be.Z,Object.assign({ref:(0,ye.sQ)(oe,je)},kt))}),zt=te(47472),Et=te(22703),Oe=te(7939),Je=te(70045),dt=function(Pt,oe){var ae={};for(var ee in Pt)Object.prototype.hasOwnProperty.call(Pt,ee)&&oe.indexOf(ee)<0&&(ae[ee]=Pt[ee]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,ee=Object.getOwnPropertySymbols(Pt);E<ee.length;E++)oe.indexOf(ee[E])<0&&Object.prototype.propertyIsEnumerable.call(Pt,ee[E])&&(ae[ee[E]]=Pt[ee[E]]);return ae},st=b.forwardRef((Pt,oe)=>{const{prefixCls:ae,inputPrefixCls:ee,className:E,size:re,suffix:ne,enterButton:le=!1,addonAfter:ge,loading:Ee,disabled:ze,onSearch:je,onChange:Xe,onCompositionStart:it,onCompositionEnd:pt}=Pt,He=dt(Pt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:et,direction:$t}=b.useContext(Ue.E_),Lt=b.useRef(!1),qt=et("input-search",ae),Nt=et("input",ee),{compactSize:Mt}=(0,Je.ri)(qt,$t),Kt=(0,xe.Z)(Un=>{var Rt;return(Rt=re!=null?re:Mt)!==null&&Rt!==void 0?Rt:Un}),Jt=b.useRef(null),gt=Un=>{Un!=null&&Un.target&&Un.type==="click"&&je&&je(Un.target.value,Un,{source:"clear"}),Xe==null||Xe(Un)},kt=Un=>{var Rt;document.activeElement===((Rt=Jt.current)===null||Rt===void 0?void 0:Rt.input)&&Un.preventDefault()},nn=Un=>{var Rt,Bt;je&&je((Bt=(Rt=Jt.current)===null||Rt===void 0?void 0:Rt.input)===null||Bt===void 0?void 0:Bt.value,Un,{source:"input"})},vn=Un=>{Lt.current||Ee||nn(Un)},ct=typeof le=="boolean"?b.createElement(zt.Z,null):null,wt=`${qt}-button`;let Wt;const on=le||{},fn=on.type&&on.type.__ANT_BUTTON===!0;fn||on.type==="button"?Wt=(0,Et.Tm)(on,Object.assign({onMouseDown:kt,onClick:Un=>{var Rt,Bt;(Bt=(Rt=on==null?void 0:on.props)===null||Rt===void 0?void 0:Rt.onClick)===null||Bt===void 0||Bt.call(Rt,Un),nn(Un)},key:"enterButton"},fn?{className:wt,size:Kt}:{})):Wt=b.createElement(Oe.ZP,{className:wt,type:le?"primary":void 0,size:Kt,disabled:ze,key:"enterButton",onMouseDown:kt,onClick:nn,loading:Ee,icon:ct},le),ge&&(Wt=[Wt,(0,Et.Tm)(ge,{key:"addonAfter"})]);const Pn=pe()(qt,{[`${qt}-rtl`]:$t==="rtl",[`${qt}-${Kt}`]:!!Kt,[`${qt}-with-button`]:!!le},E),Vn=Object.assign(Object.assign({},He),{className:Pn,prefixCls:Nt,type:"search"}),Gn=Un=>{Lt.current=!0,it==null||it(Un)},Bn=Un=>{Lt.current=!1,pt==null||pt(Un)};return b.createElement(be.Z,Object.assign({ref:(0,ye.sQ)(Jt,oe),onPressEnter:vn},Vn,{size:Kt,onCompositionStart:Gn,onCompositionEnd:Bn,addonAfter:Wt,suffix:ne,onChange:gt,disabled:ze}))}),Ft=te(79809);const ft=be.Z;ft.Group=fe,ft.Search=st,ft.TextArea=Ft.Z,ft.Password=ot,ft.OTP=lt;var Gt=ft},24303:function(Tn,sn,te){"use strict";te.d(sn,{D:function(){return _e},Z:function(){return Ye}});var b=te(59301),tt=te(60499),pe={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"},Ue=pe,Pe=te(7657),me=function(Se,Qe){return b.createElement(Pe.Z,(0,tt.Z)({},Se,{ref:Qe,icon:Ue}))},ve=b.forwardRef(me),fe=ve,be=te(33853),de=te(38819),Le=te(92310),we=te.n(Le),Te=te(2738),xe=te(48755),Fe=te(6989),Ce=te(36237),De=te(48923),Be=te(16931);const Ze=lt=>{const{componentCls:Se,siderBg:Qe,motionDurationMid:he,motionDurationSlow:ye,antCls:Ct,triggerHeight:Ke,triggerColor:yt,triggerBg:Dt,headerHeight:Ge,zeroTriggerWidth:Ae,zeroTriggerHeight:ot,borderRadiusLG:zt,lightSiderBg:Et,lightTriggerColor:Oe,lightTriggerBg:Je,bodyBg:dt}=lt;return{[Se]:{position:"relative",minWidth:0,background:Qe,transition:`all ${he}, background 0s`,"&-has-trigger":{paddingBottom:Ke},"&-right":{order:1},[`${Se}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ct}-menu${Ct}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Se}-children`]:{overflow:"hidden"},[`${Se}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Ke,color:yt,lineHeight:(0,Ce.unit)(Ke),textAlign:"center",background:Dt,cursor:"pointer",transition:`all ${he}`},[`${Se}-zero-width-trigger`]:{position:"absolute",top:Ge,insetInlineEnd:lt.calc(Ae).mul(-1).equal(),zIndex:1,width:Ae,height:ot,color:yt,fontSize:lt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Qe,borderRadius:`0 ${(0,Ce.unit)(zt)} ${(0,Ce.unit)(zt)} 0`,cursor:"pointer",transition:`background ${ye} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ye}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:lt.calc(Ae).mul(-1).equal(),borderRadius:`${(0,Ce.unit)(zt)} 0 0 ${(0,Ce.unit)(zt)}`}},"&-light":{background:Et,[`${Se}-trigger`]:{color:Oe,background:Je},[`${Se}-zero-width-trigger`]:{color:Oe,background:Je,border:`1px solid ${dt}`,borderInlineStart:0}}}}};var rt=(0,Be.I$)(["Layout","Sider"],lt=>[Ze(lt)],De.eh,{deprecatedTokens:De.jn}),ce=function(lt,Se){var Qe={};for(var he in lt)Object.prototype.hasOwnProperty.call(lt,he)&&Se.indexOf(he)<0&&(Qe[he]=lt[he]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,he=Object.getOwnPropertySymbols(lt);ye<he.length;ye++)Se.indexOf(he[ye])<0&&Object.prototype.propertyIsEnumerable.call(lt,he[ye])&&(Qe[he[ye]]=lt[he[ye]]);return Qe};const ke={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},qe=lt=>!Number.isNaN(Number.parseFloat(lt))&&isFinite(lt),_e=b.createContext({}),mt=(()=>{let lt=0;return function(){let Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return lt+=1,`${Se}${lt}`}})();var Ye=b.forwardRef((lt,Se)=>{const{prefixCls:Qe,className:he,trigger:ye,children:Ct,defaultCollapsed:Ke=!1,theme:yt="dark",style:Dt={},collapsible:Ge=!1,reverseArrow:Ae=!1,width:ot=200,collapsedWidth:zt=80,zeroWidthTriggerStyle:Et,breakpoint:Oe,onCollapse:Je,onBreakpoint:dt}=lt,It=ce(lt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:st}=(0,b.useContext)(Fe.V),[Ft,ft]=(0,b.useState)("collapsed"in lt?lt.collapsed:Ke),[Gt,Pt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in lt&&ft(lt.collapsed)},[lt.collapsed]);const oe=(Kt,Jt)=>{"collapsed"in lt||ft(Kt),Je==null||Je(Kt,Jt)},{getPrefixCls:ae,direction:ee}=(0,b.useContext)(xe.E_),E=ae("layout-sider",Qe),[re,ne,le]=rt(E),ge=(0,b.useRef)(null);ge.current=Kt=>{Pt(Kt.matches),dt==null||dt(Kt.matches),Ft!==Kt.matches&&oe(Kt.matches,"responsive")},(0,b.useEffect)(()=>{function Kt(gt){return ge.current(gt)}let Jt;if(typeof window!="undefined"){const{matchMedia:gt}=window;if(gt&&Oe&&Oe in ke){Jt=gt(`screen and (max-width: ${ke[Oe]})`);try{Jt.addEventListener("change",Kt)}catch(kt){Jt.addListener(Kt)}Kt(Jt)}}return()=>{try{Jt==null||Jt.removeEventListener("change",Kt)}catch(gt){Jt==null||Jt.removeListener(Kt)}}},[Oe]),(0,b.useEffect)(()=>{const Kt=mt("ant-sider-");return st.addSider(Kt),()=>st.removeSider(Kt)},[]);const Ee=()=>{oe(!Ft,"clickTrigger")},ze=(0,Te.Z)(It,["collapsed"]),je=Ft?zt:ot,Xe=qe(je)?`${je}px`:String(je),it=parseFloat(String(zt||0))===0?b.createElement("span",{onClick:Ee,className:we()(`${E}-zero-width-trigger`,`${E}-zero-width-trigger-${Ae?"right":"left"}`),style:Et},ye||b.createElement(fe,null)):null,pt=ee==="rtl"==!Ae,$t={expanded:pt?b.createElement(de.Z,null):b.createElement(be.Z,null),collapsed:pt?b.createElement(be.Z,null):b.createElement(de.Z,null)}[Ft?"collapsed":"expanded"],Lt=ye!==null?it||b.createElement("div",{className:`${E}-trigger`,onClick:Ee,style:{width:Xe}},ye||$t):null,qt=Object.assign(Object.assign({},Dt),{flex:`0 0 ${Xe}`,maxWidth:Xe,minWidth:Xe,width:Xe}),Nt=we()(E,`${E}-${yt}`,{[`${E}-collapsed`]:!!Ft,[`${E}-has-trigger`]:Ge&&ye!==null&&!it,[`${E}-below`]:!!Gt,[`${E}-zero-width`]:parseFloat(Xe)===0},he,ne,le),Mt=b.useMemo(()=>({siderCollapsed:Ft}),[Ft]);return re(b.createElement(_e.Provider,{value:Mt},b.createElement("aside",Object.assign({className:Nt},ze,{style:qt,ref:Se}),b.createElement("div",{className:`${E}-children`},Ct),Ge||Gt&&it?Lt:null)))})},6989:function(Tn,sn,te){"use strict";te.d(sn,{V:function(){return tt}});var b=te(59301);const tt=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Tn,sn,te){"use strict";te.d(sn,{eh:function(){return Ue},jn:function(){return Pe}});var b=te(36237),tt=te(16931);const pe=me=>{const{antCls:ve,componentCls:fe,colorText:be,footerBg:de,headerHeight:Le,headerPadding:we,headerColor:Te,footerPadding:xe,fontSize:Fe,bodyBg:Ce,headerBg:De}=me;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ce,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${fe}-header`]:{height:Le,padding:we,color:Te,lineHeight:(0,b.unit)(Le),background:De,[`${ve}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:xe,color:be,fontSize:Fe,background:de},[`${fe}-content`]:{flex:"auto",color:be,minHeight:0}}},Ue=me=>{const{colorBgLayout:ve,controlHeight:fe,controlHeightLG:be,colorText:de,controlHeightSM:Le,marginXXS:we,colorTextLightSolid:Te,colorBgContainer:xe}=me,Fe=be*1.25;return{colorBgHeader:"#001529",colorBgBody:ve,colorBgTrigger:"#002140",bodyBg:ve,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Fe}px`,headerColor:de,footerPadding:`${Le}px ${Fe}px`,footerBg:ve,siderBg:"#001529",triggerHeight:be+we*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:xe,lightTriggerBg:xe,lightTriggerColor:de}},Pe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];sn.ZP=(0,tt.I$)("Layout",me=>[pe(me)],Ue,{deprecatedTokens:Pe})},78857:function(Tn,sn,te){"use strict";te.d(sn,{J:function(){return me}});var b=te(59301),tt=te(8654),pe=te(62487),Ue=function(ve,fe){var be={};for(var de in ve)Object.prototype.hasOwnProperty.call(ve,de)&&fe.indexOf(de)<0&&(be[de]=ve[de]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,de=Object.getOwnPropertySymbols(ve);Le<de.length;Le++)fe.indexOf(de[Le])<0&&Object.prototype.propertyIsEnumerable.call(ve,de[Le])&&(be[de[Le]]=ve[de[Le]]);return be};const Pe=b.createContext(null),me=b.forwardRef((ve,fe)=>{const{children:be}=ve,de=Ue(ve,["children"]),Le=b.useContext(Pe),we=b.useMemo(()=>Object.assign(Object.assign({},Le),de),[Le,de.prefixCls,de.mode,de.selectable,de.rootClassName]),Te=(0,tt.t4)(be),xe=(0,tt.x1)(fe,Te?(0,tt.C4)(be):null);return b.createElement(Pe.Provider,{value:we},b.createElement(pe.Z,{space:!0},Te?b.cloneElement(be,{ref:xe}):be))});sn.Z=Pe},93041:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return re}});var b=te(59301),tt=te(28321),pe=te(24303),Ue=te(18785),Pe=te(92310),me=te.n(Pe),ve=te(6089),fe=te(2738),be=te(86641),de=te(22703),Le=te(48755),we=te(83397),xe=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Fe=function(ne,le){var ge={};for(var Ee in ne)Object.prototype.hasOwnProperty.call(ne,Ee)&&le.indexOf(Ee)<0&&(ge[Ee]=ne[Ee]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ee=Object.getOwnPropertySymbols(ne);ze<Ee.length;ze++)le.indexOf(Ee[ze])<0&&Object.prototype.propertyIsEnumerable.call(ne,Ee[ze])&&(ge[Ee[ze]]=ne[Ee[ze]]);return ge},De=ne=>{const{prefixCls:le,className:ge,dashed:Ee}=ne,ze=Fe(ne,["prefixCls","className","dashed"]),{getPrefixCls:je}=b.useContext(Le.E_),Xe=je("menu",le),it=me()({[`${Xe}-item-divider-dashed`]:!!Ee},ge);return b.createElement(tt.iz,Object.assign({className:it},ze))},Be=te(11592),Ze=te(25399),ce=ne=>{var le;const{className:ge,children:Ee,icon:ze,title:je,danger:Xe,extra:it}=ne,{prefixCls:pt,firstLevel:He,direction:et,disableMenuItemTitleTooltip:$t,inlineCollapsed:Lt}=b.useContext(xe),qt=kt=>{const nn=Ee==null?void 0:Ee[0],vn=b.createElement("span",{className:me()(`${pt}-title-content`,{[`${pt}-title-content-with-extra`]:!!it||it===0})},Ee);return(!ze||b.isValidElement(Ee)&&Ee.type==="span")&&Ee&&kt&&He&&typeof nn=="string"?b.createElement("div",{className:`${pt}-inline-collapsed-noicon`},nn.charAt(0)):vn},{siderCollapsed:Nt}=b.useContext(pe.D);let Mt=je;typeof je=="undefined"?Mt=He?Ee:"":je===!1&&(Mt="");const Kt={title:Mt};!Nt&&!Lt&&(Kt.title=null,Kt.open=!1);const Jt=(0,Be.Z)(Ee).length;let gt=b.createElement(tt.ck,Object.assign({},(0,fe.Z)(ne,["title","icon","danger"]),{className:me()({[`${pt}-item-danger`]:Xe,[`${pt}-item-only-child`]:(ze?Jt+1:Jt)===1},ge),title:typeof je=="string"?je:void 0}),(0,de.Tm)(ze,{className:me()(b.isValidElement(ze)?(le=ze.props)===null||le===void 0?void 0:le.className:"",`${pt}-item-icon`)}),qt(Lt));return $t||(gt=b.createElement(Ze.Z,Object.assign({},Kt,{placement:et==="rtl"?"left":"right",classNames:{root:`${pt}-inline-collapsed-tooltip`}}),gt)),gt},ke=te(78857),qe=te(36237),_e=te(17835),mt=te(63356),Re=te(34961),Ye=te(46e3),lt=te(34925),Se=te(16931),Qe=te(51636),ye=ne=>{const{componentCls:le,motionDurationSlow:ge,horizontalLineHeight:Ee,colorSplit:ze,lineWidth:je,lineType:Xe,itemPaddingInline:it}=ne;return{[`${le}-horizontal`]:{lineHeight:Ee,border:0,borderBottom:`${(0,qe.unit)(je)} ${Xe} ${ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${le}-item, ${le}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:it},[`> ${le}-item:hover,
|
|
|
> ${le}-item-active,
|
|
|
> ${le}-submenu ${le}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${le}-item, ${le}-submenu-title`]:{transition:[`border-color ${ge}`,`background ${ge}`].join(",")},[`${le}-submenu-arrow`]:{display:"none"}}}},Ke=ne=>{let{componentCls:le,menuArrowOffset:ge,calc:Ee}=ne;return{[`${le}-rtl`]:{direction:"rtl"},[`${le}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${le}-rtl${le}-vertical,
|
|
|
${le}-submenu-rtl ${le}-vertical`]:{[`${le}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,qe.unit)(Ee(ge).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,qe.unit)(ge)})`}}}}};const yt=ne=>Object.assign({},(0,mt.oN)(ne));var Ge=(ne,le)=>{const{componentCls:ge,itemColor:Ee,itemSelectedColor:ze,subMenuItemSelectedColor:je,groupTitleColor:Xe,itemBg:it,subMenuItemBg:pt,itemSelectedBg:He,activeBarHeight:et,activeBarWidth:$t,activeBarBorderWidth:Lt,motionDurationSlow:qt,motionEaseInOut:Nt,motionEaseOut:Mt,itemPaddingInline:Kt,motionDurationMid:Jt,itemHoverColor:gt,lineType:kt,colorSplit:nn,itemDisabledColor:vn,dangerItemColor:ct,dangerItemHoverColor:wt,dangerItemSelectedColor:Wt,dangerItemActiveBg:on,dangerItemSelectedBg:fn,popupBg:Pn,itemHoverBg:Vn,itemActiveBg:Gn,menuSubMenuBg:Bn,horizontalItemSelectedColor:Un,horizontalItemSelectedBg:Rt,horizontalItemBorderRadius:Bt,horizontalItemHoverBg:un}=ne;return{[`${ge}-${le}, ${ge}-${le} > ${ge}`]:{color:Ee,background:it,[`&${ge}-root:focus-visible`]:Object.assign({},yt(ne)),[`${ge}-item`]:{"&-group-title, &-extra":{color:Xe}},[`${ge}-submenu-selected > ${ge}-submenu-title`]:{color:je},[`${ge}-item, ${ge}-submenu-title`]:{color:Ee,[`&:not(${ge}-item-disabled):focus-visible`]:Object.assign({},yt(ne))},[`${ge}-item-disabled, ${ge}-submenu-disabled`]:{color:`${vn} !important`},[`${ge}-item:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{[`&:hover, > ${ge}-submenu-title:hover`]:{color:gt}},[`&:not(${ge}-horizontal)`]:{[`${ge}-item:not(${ge}-item-selected)`]:{"&:hover":{backgroundColor:Vn},"&:active":{backgroundColor:Gn}},[`${ge}-submenu-title`]:{"&:hover":{backgroundColor:Vn},"&:active":{backgroundColor:Gn}}},[`${ge}-item-danger`]:{color:ct,[`&${ge}-item:hover`]:{[`&:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{color:wt}},[`&${ge}-item:active`]:{background:on}},[`${ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ge}-item-selected`]:{color:ze,[`&${ge}-item-danger`]:{color:Wt},"a, a:hover":{color:"inherit"}},[`& ${ge}-item-selected`]:{backgroundColor:He,[`&${ge}-item-danger`]:{backgroundColor:fn}},[`&${ge}-submenu > ${ge}`]:{backgroundColor:Bn},[`&${ge}-popup > ${ge}`]:{backgroundColor:Pn},[`&${ge}-submenu-popup > ${ge}`]:{backgroundColor:Pn},[`&${ge}-horizontal`]:Object.assign(Object.assign({},le==="dark"?{borderBottom:0}:{}),{[`> ${ge}-item, > ${ge}-submenu`]:{top:Lt,marginTop:ne.calc(Lt).mul(-1).equal(),marginBottom:0,borderRadius:Bt,"&::after":{position:"absolute",insetInline:Kt,bottom:0,borderBottom:`${(0,qe.unit)(et)} solid transparent`,transition:`border-color ${qt} ${Nt}`,content:'""'},"&:hover, &-active, &-open":{background:un,"&::after":{borderBottomWidth:et,borderBottomColor:Un}},"&-selected":{color:Un,backgroundColor:Rt,"&:hover":{backgroundColor:Rt},"&::after":{borderBottomWidth:et,borderBottomColor:Un}}}}),[`&${ge}-root`]:{[`&${ge}-inline, &${ge}-vertical`]:{borderInlineEnd:`${(0,qe.unit)(Lt)} ${kt} ${nn}`}},[`&${ge}-inline`]:{[`${ge}-sub${ge}-inline`]:{background:pt},[`${ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,qe.unit)($t)} solid ${ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Jt} ${Mt}`,`opacity ${Jt} ${Mt}`].join(","),content:'""'},[`&${ge}-item-danger`]:{"&::after":{borderInlineEndColor:Wt}}},[`${ge}-selected, ${ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Jt} ${Nt}`,`opacity ${Jt} ${Nt}`].join(",")}}}}}};const Ae=ne=>{const{componentCls:le,itemHeight:ge,itemMarginInline:Ee,padding:ze,menuArrowSize:je,marginXS:Xe,itemMarginBlock:it,itemWidth:pt,itemPaddingInline:He}=ne,et=ne.calc(je).add(ze).add(Xe).equal();return{[`${le}-item`]:{position:"relative",overflow:"hidden"},[`${le}-item, ${le}-submenu-title`]:{height:ge,lineHeight:(0,qe.unit)(ge),paddingInline:He,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ee,marginBlock:it,width:pt},[`> ${le}-item,
|
|
|
> ${le}-submenu > ${le}-submenu-title`]:{height:ge,lineHeight:(0,qe.unit)(ge)},[`${le}-item-group-list ${le}-submenu-title,
|
|
|
${le}-submenu-title`]:{paddingInlineEnd:et}}};var zt=ne=>{const{componentCls:le,iconCls:ge,itemHeight:Ee,colorTextLightSolid:ze,dropdownWidth:je,controlHeightLG:Xe,motionEaseOut:it,paddingXL:pt,itemMarginInline:He,fontSizeLG:et,motionDurationFast:$t,motionDurationSlow:Lt,paddingXS:qt,boxShadowSecondary:Nt,collapsedWidth:Mt,collapsedIconSize:Kt}=ne,Jt={height:Ee,lineHeight:(0,qe.unit)(Ee),listStylePosition:"inside",listStyleType:"disc"};return[{[le]:{"&-inline, &-vertical":Object.assign({[`&${le}-root`]:{boxShadow:"none"}},Ae(ne))},[`${le}-submenu-popup`]:{[`${le}-vertical`]:Object.assign(Object.assign({},Ae(ne)),{boxShadow:Nt})}},{[`${le}-submenu-popup ${le}-vertical${le}-sub`]:{minWidth:je,maxHeight:`calc(100vh - ${(0,qe.unit)(ne.calc(Xe).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${le}-inline`]:{width:"100%",[`&${le}-root`]:{[`${le}-item, ${le}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Lt}`,`background ${Lt}`,`padding ${$t} ${it}`].join(","),[`> ${le}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${le}-sub${le}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${le}-submenu > ${le}-submenu-title`]:Jt,[`& ${le}-item-group-title`]:{paddingInlineStart:pt}},[`${le}-item`]:Jt}},{[`${le}-inline-collapsed`]:{width:Mt,[`&${le}-root`]:{[`${le}-item, ${le}-submenu ${le}-submenu-title`]:{[`> ${le}-inline-collapsed-noicon`]:{fontSize:et,textAlign:"center"}}},[`> ${le}-item,
|
|
|
> ${le}-item-group > ${le}-item-group-list > ${le}-item,
|
|
|
> ${le}-item-group > ${le}-item-group-list > ${le}-submenu > ${le}-submenu-title,
|
|
|
> ${le}-submenu > ${le}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,qe.unit)(ne.calc(Kt).div(2).equal())} - ${(0,qe.unit)(He)})`,textOverflow:"clip",[`
|
|
|
${le}-submenu-arrow,
|
|
|
${le}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${le}-item-icon, ${ge}`]:{margin:0,fontSize:Kt,lineHeight:(0,qe.unit)(Ee),"+ span":{display:"inline-block",opacity:0}}},[`${le}-item-icon, ${ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${le}-item-icon, ${ge}`]:{display:"none"},"a, a:hover":{color:ze}},[`${le}-item-group-title`]:Object.assign(Object.assign({},mt.vS),{paddingInline:qt})}}]};const Et=ne=>{const{componentCls:le,motionDurationSlow:ge,motionDurationMid:Ee,motionEaseInOut:ze,motionEaseOut:je,iconCls:Xe,iconSize:it,iconMarginInlineEnd:pt}=ne;return{[`${le}-item, ${le}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ge}`,`background ${ge}`,`padding calc(${ge} + 0.1s) ${ze}`].join(","),[`${le}-item-icon, ${Xe}`]:{minWidth:it,fontSize:it,transition:[`font-size ${Ee} ${je}`,`margin ${ge} ${ze}`,`color ${ge}`].join(","),"+ span":{marginInlineStart:pt,opacity:1,transition:[`opacity ${ge} ${ze}`,`margin ${ge}`,`color ${ge}`].join(",")}},[`${le}-item-icon`]:Object.assign({},(0,mt.Ro)()),[`&${le}-item-only-child`]:{[`> ${Xe}, > ${le}-item-icon`]:{marginInlineEnd:0}}},[`${le}-item-disabled, ${le}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${le}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Oe=ne=>{const{componentCls:le,motionDurationSlow:ge,motionEaseInOut:Ee,borderRadius:ze,menuArrowSize:je,menuArrowOffset:Xe}=ne;return{[`${le}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ne.margin,width:je,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ge} ${Ee}, opacity ${ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ne.calc(je).mul(.6).equal(),height:ne.calc(je).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:ze,transition:[`background ${ge} ${Ee}`,`transform ${ge} ${Ee}`,`top ${ge} ${Ee}`,`color ${ge} ${Ee}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,qe.unit)(ne.calc(Xe).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,qe.unit)(Xe)})`}}}}},Je=ne=>{const{antCls:le,componentCls:ge,fontSize:Ee,motionDurationSlow:ze,motionDurationMid:je,motionEaseInOut:Xe,paddingXS:it,padding:pt,colorSplit:He,lineWidth:et,zIndexPopup:$t,borderRadiusLG:Lt,subMenuItemBorderRadius:qt,menuArrowSize:Nt,menuArrowOffset:Mt,lineType:Kt,groupTitleLineHeight:Jt,groupTitleFontSize:gt}=ne;return[{"":{[ge]:Object.assign(Object.assign({},(0,mt.dF)()),{"&-hidden":{display:"none"}})},[`${ge}-submenu-hidden`]:{display:"none"}},{[ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,mt.Wf)(ne)),(0,mt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ee,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ze} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ge}-item`]:{flex:"none"}},[`${ge}-item, ${ge}-submenu, ${ge}-submenu-title`]:{borderRadius:ne.itemBorderRadius},[`${ge}-item-group-title`]:{padding:`${(0,qe.unit)(it)} ${(0,qe.unit)(pt)}`,fontSize:gt,lineHeight:Jt,transition:`all ${ze}`},[`&-horizontal ${ge}-submenu`]:{transition:[`border-color ${ze} ${Xe}`,`background ${ze} ${Xe}`].join(",")},[`${ge}-submenu, ${ge}-submenu-inline`]:{transition:[`border-color ${ze} ${Xe}`,`background ${ze} ${Xe}`,`padding ${je} ${Xe}`].join(",")},[`${ge}-submenu ${ge}-sub`]:{cursor:"initial",transition:[`background ${ze} ${Xe}`,`padding ${ze} ${Xe}`].join(",")},[`${ge}-title-content`]:{transition:`color ${ze}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${le}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ge}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ne.padding}},[`${ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:He,borderStyle:Kt,borderWidth:0,borderTopWidth:et,marginBlock:et,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(ne)),{[`${ge}-item-group`]:{[`${ge}-item-group-list`]:{margin:0,padding:0,[`${ge}-item, ${ge}-submenu-title`]:{paddingInline:`${(0,qe.unit)(ne.calc(Ee).mul(2).equal())} ${(0,qe.unit)(pt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Lt,boxShadow:"none",transformOrigin:"0 0",[`&${ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:Lt},Et(ne)),Oe(ne)),{[`${ge}-item, ${ge}-submenu > ${ge}-submenu-title`]:{borderRadius:qt},[`${ge}-submenu-title::after`]:{transition:`transform ${ze} ${Xe}`}})},"\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:ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ne.paddingXS}}}),Oe(ne)),{[`&-inline-collapsed ${ge}-submenu-arrow,
|
|
|
&-inline ${ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,qe.unit)(Mt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,qe.unit)(ne.calc(Mt).mul(-1).equal())})`}},[`${ge}-submenu-open${ge}-submenu-inline > ${ge}-submenu-title > ${ge}-submenu-arrow`]:{transform:`translateY(${(0,qe.unit)(ne.calc(Nt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,qe.unit)(ne.calc(Mt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,qe.unit)(Mt)})`}}})},{[`${le}-layout-header`]:{[ge]:{lineHeight:"inherit"}}}]},dt=ne=>{var le,ge,Ee;const{colorPrimary:ze,colorError:je,colorTextDisabled:Xe,colorErrorBg:it,colorText:pt,colorTextDescription:He,colorBgContainer:et,colorFillAlter:$t,colorFillContent:Lt,lineWidth:qt,lineWidthBold:Nt,controlItemBgActive:Mt,colorBgTextHover:Kt,controlHeightLG:Jt,lineHeight:gt,colorBgElevated:kt,marginXXS:nn,padding:vn,fontSize:ct,controlHeightSM:wt,fontSizeLG:Wt,colorTextLightSolid:on,colorErrorHover:fn}=ne,Pn=(le=ne.activeBarWidth)!==null&&le!==void 0?le:0,Vn=(ge=ne.activeBarBorderWidth)!==null&&ge!==void 0?ge:qt,Gn=(Ee=ne.itemMarginInline)!==null&&Ee!==void 0?Ee:ne.marginXXS,Bn=new _e.FastColor(on).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ne.zIndexPopupBase+50,radiusItem:ne.borderRadiusLG,itemBorderRadius:ne.borderRadiusLG,radiusSubMenuItem:ne.borderRadiusSM,subMenuItemBorderRadius:ne.borderRadiusSM,colorItemText:pt,itemColor:pt,colorItemTextHover:pt,itemHoverColor:pt,colorItemTextHoverHorizontal:ze,horizontalItemHoverColor:ze,colorGroupTitle:He,groupTitleColor:He,colorItemTextSelected:ze,itemSelectedColor:ze,subMenuItemSelectedColor:ze,colorItemTextSelectedHorizontal:ze,horizontalItemSelectedColor:ze,colorItemBg:et,itemBg:et,colorItemBgHover:Kt,itemHoverBg:Kt,colorItemBgActive:Lt,itemActiveBg:Mt,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:Mt,itemSelectedBg:Mt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Pn,colorActiveBarHeight:Nt,activeBarHeight:Nt,colorActiveBarBorderSize:qt,activeBarBorderWidth:Vn,colorItemTextDisabled:Xe,itemDisabledColor:Xe,colorDangerItemText:je,dangerItemColor:je,colorDangerItemTextHover:je,dangerItemHoverColor:je,colorDangerItemTextSelected:je,dangerItemSelectedColor:je,colorDangerItemBgActive:it,dangerItemActiveBg:it,colorDangerItemBgSelected:it,dangerItemSelectedBg:it,itemMarginInline:Gn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Jt,groupTitleLineHeight:gt,collapsedWidth:Jt*2,popupBg:kt,itemMarginBlock:nn,itemPaddingInline:vn,horizontalLineHeight:`${Jt*1.15}px`,iconSize:ct,iconMarginInlineEnd:wt-ct,collapsedIconSize:Wt,groupTitleFontSize:ct,darkItemDisabledColor:new _e.FastColor(on).setA(.25).toRgbString(),darkItemColor:Bn,darkDangerItemColor:je,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:on,darkItemSelectedBg:ze,darkDangerItemSelectedBg:je,darkItemHoverBg:"transparent",darkGroupTitleColor:Bn,darkItemHoverColor:on,darkDangerItemHoverColor:fn,darkDangerItemSelectedColor:on,darkDangerItemActiveBg:je,itemWidth:Pn?`calc(100% + ${Vn}px)`:`calc(100% - ${Gn*2}px)`}};var It=function(ne){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Se.I$)("Menu",ze=>{const{colorBgElevated:je,controlHeightLG:Xe,fontSize:it,darkItemColor:pt,darkDangerItemColor:He,darkItemBg:et,darkSubMenuItemBg:$t,darkItemSelectedColor:Lt,darkItemSelectedBg:qt,darkDangerItemSelectedBg:Nt,darkItemHoverBg:Mt,darkGroupTitleColor:Kt,darkItemHoverColor:Jt,darkItemDisabledColor:gt,darkDangerItemHoverColor:kt,darkDangerItemSelectedColor:nn,darkDangerItemActiveBg:vn,popupBg:ct,darkPopupBg:wt}=ze,Wt=ze.calc(it).div(7).mul(5).equal(),on=(0,Qe.mergeToken)(ze,{menuArrowSize:Wt,menuHorizontalHeight:ze.calc(Xe).mul(1.15).equal(),menuArrowOffset:ze.calc(Wt).mul(.25).equal(),menuSubMenuBg:je,calc:ze.calc,popupBg:ct}),fn=(0,Qe.mergeToken)(on,{itemColor:pt,itemHoverColor:Jt,groupTitleColor:Kt,itemSelectedColor:Lt,subMenuItemSelectedColor:Lt,itemBg:et,popupBg:wt,subMenuItemBg:$t,itemActiveBg:"transparent",itemSelectedBg:qt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Mt,itemDisabledColor:gt,dangerItemColor:He,dangerItemHoverColor:kt,dangerItemSelectedColor:nn,dangerItemActiveBg:vn,dangerItemSelectedBg:Nt,menuSubMenuBg:$t,horizontalItemSelectedColor:Lt,horizontalItemSelectedBg:qt});return[Je(on),ye(on),zt(on),Ge(on,"light"),Ge(fn,"dark"),Ke(on),(0,Re.Z)(on),(0,Ye.oN)(on,"slide-up"),(0,Ye.oN)(on,"slide-down"),(0,lt._y)(on,"zoom-big")]},dt,{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:ge,unitless:{groupTitleLineHeight:!0}})(ne,le)},st=te(75030),ft=ne=>{var le;const{popupClassName:ge,icon:Ee,title:ze,theme:je}=ne,Xe=b.useContext(xe),{prefixCls:it,inlineCollapsed:pt,theme:He}=Xe,et=(0,tt.Xl)();let $t;if(!Ee)$t=pt&&!et.length&&ze&&typeof ze=="string"?b.createElement("div",{className:`${it}-inline-collapsed-noicon`},ze.charAt(0)):b.createElement("span",{className:`${it}-title-content`},ze);else{const Nt=b.isValidElement(ze)&&ze.type==="span";$t=b.createElement(b.Fragment,null,(0,de.Tm)(Ee,{className:me()(b.isValidElement(Ee)?(le=Ee.props)===null||le===void 0?void 0:le.className:"",`${it}-item-icon`)}),Nt?ze:b.createElement("span",{className:`${it}-title-content`},ze))}const Lt=b.useMemo(()=>Object.assign(Object.assign({},Xe),{firstLevel:!1}),[Xe]),[qt]=(0,st.Cn)("Menu");return b.createElement(xe.Provider,{value:Lt},b.createElement(tt.Wd,Object.assign({},(0,fe.Z)(ne,["icon"]),{title:$t,popupClassName:me()(it,ge,`${it}-${je||He}`),popupStyle:Object.assign({zIndex:qt},ne.popupStyle)})))},Gt=function(ne,le){var ge={};for(var Ee in ne)Object.prototype.hasOwnProperty.call(ne,Ee)&&le.indexOf(Ee)<0&&(ge[Ee]=ne[Ee]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ee=Object.getOwnPropertySymbols(ne);ze<Ee.length;ze++)le.indexOf(Ee[ze])<0&&Object.prototype.propertyIsEnumerable.call(ne,Ee[ze])&&(ge[Ee[ze]]=ne[Ee[ze]]);return ge};function Pt(ne){return ne===null||ne===!1}const oe={item:ce,submenu:ft,divider:De};var ee=(0,b.forwardRef)((ne,le)=>{var ge;const Ee=b.useContext(ke.Z),ze=Ee||{},{getPrefixCls:je,getPopupContainer:Xe,direction:it,menu:pt}=b.useContext(Le.E_),He=je(),{prefixCls:et,className:$t,style:Lt,theme:qt="light",expandIcon:Nt,_internalDisableMenuItemTitleTooltip:Mt,inlineCollapsed:Kt,siderCollapsed:Jt,rootClassName:gt,mode:kt,selectable:nn,onClick:vn,overflowedIndicatorPopupClassName:ct}=ne,wt=Gt(ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Wt=(0,fe.Z)(wt,["collapsedWidth"]);(ge=ze.validator)===null||ge===void 0||ge.call(ze,{mode:kt});const on=(0,ve.Z)(function(){var bn;vn==null||vn.apply(void 0,arguments),(bn=ze.onClick)===null||bn===void 0||bn.call(ze)}),fn=ze.mode||kt,Pn=nn!=null?nn:ze.selectable,Vn=Kt!=null?Kt:Jt,Gn={horizontal:{motionName:`${He}-slide-up`},inline:(0,be.Z)(He),other:{motionName:`${He}-zoom-big`}},Bn=je("menu",et||ze.prefixCls),Un=(0,we.Z)(Bn),[Rt,Bt,un]=It(Bn,Un,!Ee),en=me()(`${Bn}-${qt}`,pt==null?void 0:pt.className,$t),Qt=b.useMemo(()=>{var bn,kn;if(typeof Nt=="function"||Pt(Nt))return Nt||null;if(typeof ze.expandIcon=="function"||Pt(ze.expandIcon))return ze.expandIcon||null;if(typeof(pt==null?void 0:pt.expandIcon)=="function"||Pt(pt==null?void 0:pt.expandIcon))return(pt==null?void 0:pt.expandIcon)||null;const Xn=(bn=Nt!=null?Nt:ze==null?void 0:ze.expandIcon)!==null&&bn!==void 0?bn:pt==null?void 0:pt.expandIcon;return(0,de.Tm)(Xn,{className:me()(`${Bn}-submenu-expand-icon`,b.isValidElement(Xn)?(kn=Xn.props)===null||kn===void 0?void 0:kn.className:void 0)})},[Nt,ze==null?void 0:ze.expandIcon,pt==null?void 0:pt.expandIcon,Bn]),wn=b.useMemo(()=>({prefixCls:Bn,inlineCollapsed:Vn||!1,direction:it,firstLevel:!0,theme:qt,mode:fn,disableMenuItemTitleTooltip:Mt}),[Bn,Vn,it,Mt,qt]);return Rt(b.createElement(ke.Z.Provider,{value:null},b.createElement(xe.Provider,{value:wn},b.createElement(tt.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:b.createElement(Ue.Z,null),overflowedIndicatorPopupClassName:me()(Bn,`${Bn}-${qt}`,ct),mode:fn,selectable:Pn,onClick:on},Wt,{inlineCollapsed:Vn,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Lt),className:en,prefixCls:Bn,direction:it,defaultMotions:Gn,expandIcon:Qt,ref:le,rootClassName:me()(gt,Bt,ze.rootClassName,un,Un),_internalComponents:oe})))))});const E=(0,b.forwardRef)((ne,le)=>{const ge=(0,b.useRef)(null),Ee=b.useContext(pe.D);return(0,b.useImperativeHandle)(le,()=>({menu:ge.current,focus:ze=>{var je;(je=ge.current)===null||je===void 0||je.focus(ze)}})),b.createElement(ee,Object.assign({ref:ge},ne,Ee))});E.Item=ce,E.SubMenu=ft,E.Divider=De,E.ItemGroup=tt.BW;var re=E},31709:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return pt}});var b=te(59301),tt=te(60499),pe={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"},Ue=pe,Pe=te(7657),me=function(et,$t){return b.createElement(Pe.Z,(0,tt.Z)({},et,{ref:$t,icon:Ue}))},ve=b.forwardRef(me),fe=ve,be=te(49198),de=te(33853),Le=te(38819),we=te(92310),Te=te.n(we),xe=te(18642),Fe=te(43749),Ce=te(85899),De=te(72190),Be=te(18929),Ze=te(10228),rt=te(26112),ce=te(48736),ke=te(17119),qe=[10,20,50,100],_e=function(et){var $t=et.pageSizeOptions,Lt=$t===void 0?qe:$t,qt=et.locale,Nt=et.changeSize,Mt=et.pageSize,Kt=et.goButton,Jt=et.quickGo,gt=et.rootPrefixCls,kt=et.disabled,nn=et.buildOptionText,vn=et.showSizeChanger,ct=et.sizeChangerRender,wt=b.useState(""),Wt=(0,De.Z)(wt,2),on=Wt[0],fn=Wt[1],Pn=function(){return!on||Number.isNaN(on)?void 0:Number(on)},Vn=typeof nn=="function"?nn:function(wn){return"".concat(wn," ").concat(qt.items_per_page)},Gn=function(bn){fn(bn.target.value)},Bn=function(bn){Kt||on===""||(fn(""),!(bn.relatedTarget&&(bn.relatedTarget.className.indexOf("".concat(gt,"-item-link"))>=0||bn.relatedTarget.className.indexOf("".concat(gt,"-item"))>=0))&&(Jt==null||Jt(Pn())))},Un=function(bn){on!==""&&(bn.keyCode===Ze.Z.ENTER||bn.type==="click")&&(fn(""),Jt==null||Jt(Pn()))},Rt=function(){return Lt.some(function(bn){return bn.toString()===Mt.toString()})?Lt:Lt.concat([Mt]).sort(function(bn,kn){var Xn=Number.isNaN(Number(bn))?0:Number(bn),zn=Number.isNaN(Number(kn))?0:Number(kn);return Xn-zn})},Bt="".concat(gt,"-options");if(!vn&&!Jt)return null;var un=null,en=null,Qt=null;return vn&&ct&&(un=ct({disabled:kt,size:Mt,onSizeChange:function(bn){Nt==null||Nt(Number(bn))},"aria-label":qt.page_size,className:"".concat(Bt,"-size-changer"),options:Rt().map(function(wn){return{label:Vn(wn),value:wn}})})),Jt&&(Kt&&(Qt=typeof Kt=="boolean"?b.createElement("button",{type:"button",onClick:Un,onKeyUp:Un,disabled:kt,className:"".concat(Bt,"-quick-jumper-button")},qt.jump_to_confirm):b.createElement("span",{onClick:Un,onKeyUp:Un},Kt)),en=b.createElement("div",{className:"".concat(Bt,"-quick-jumper")},qt.jump_to,b.createElement("input",{disabled:kt,type:"text",value:on,onChange:Gn,onKeyUp:Un,onBlur:Bn,"aria-label":qt.page}),qt.page,Qt)),b.createElement("li",{className:Bt},un,en)},mt=_e,Re=function(et){var $t=et.rootPrefixCls,Lt=et.page,qt=et.active,Nt=et.className,Mt=et.showTitle,Kt=et.onClick,Jt=et.onKeyPress,gt=et.itemRender,kt="".concat($t,"-item"),nn=Te()(kt,"".concat(kt,"-").concat(Lt),(0,xe.Z)((0,xe.Z)({},"".concat(kt,"-active"),qt),"".concat(kt,"-disabled"),!Lt),Nt),vn=function(){Kt(Lt)},ct=function(on){Jt(on,Kt,Lt)},wt=gt(Lt,"page",b.createElement("a",{rel:"nofollow"},Lt));return wt?b.createElement("li",{title:Mt?String(Lt):null,className:nn,onClick:vn,onKeyDown:ct,tabIndex:0},wt):null},Ye=Re,lt=function(et,$t,Lt){return Lt};function Se(){}function Qe(He){var et=Number(He);return typeof et=="number"&&!Number.isNaN(et)&&isFinite(et)&&Math.floor(et)===et}function he(He,et,$t){var Lt=typeof He=="undefined"?et:He;return Math.floor(($t-1)/Lt)+1}var ye=function(et){var $t=et.prefixCls,Lt=$t===void 0?"rc-pagination":$t,qt=et.selectPrefixCls,Nt=qt===void 0?"rc-select":qt,Mt=et.className,Kt=et.current,Jt=et.defaultCurrent,gt=Jt===void 0?1:Jt,kt=et.total,nn=kt===void 0?0:kt,vn=et.pageSize,ct=et.defaultPageSize,wt=ct===void 0?10:ct,Wt=et.onChange,on=Wt===void 0?Se:Wt,fn=et.hideOnSinglePage,Pn=et.align,Vn=et.showPrevNextJumpers,Gn=Vn===void 0?!0:Vn,Bn=et.showQuickJumper,Un=et.showLessItems,Rt=et.showTitle,Bt=Rt===void 0?!0:Rt,un=et.onShowSizeChange,en=un===void 0?Se:un,Qt=et.locale,wn=Qt===void 0?ke.Z:Qt,bn=et.style,kn=et.totalBoundaryShowSizeChanger,Xn=kn===void 0?50:kn,zn=et.disabled,Fn=et.simple,nr=et.showTotal,tr=et.showSizeChanger,Rr=tr===void 0?nn>Xn:tr,Ir=et.sizeChangerRender,Sn=et.pageSizeOptions,Ln=et.itemRender,rr=Ln===void 0?lt:Ln,ir=et.jumpPrevIcon,Ot=et.jumpNextIcon,_t=et.prevIcon,vt=et.nextIcon,Zt=b.useRef(null),bt=(0,Be.Z)(10,{value:vn,defaultValue:wt}),Ht=(0,De.Z)(bt,2),nt=Ht[0],Xt=Ht[1],tn=(0,Be.Z)(1,{value:Kt,defaultValue:gt,postState:function(Mi){return Math.max(1,Math.min(Mi,he(void 0,nt,nn)))}}),dn=(0,De.Z)(tn,2),Vt=dn[0],jt=dn[1],Yt=b.useState(Vt),ln=(0,De.Z)(Yt,2),Wn=ln[0],Rn=ln[1];(0,b.useEffect)(function(){Rn(Vt)},[Vt]);var Kn=on!==Se,kr="current"in et,Zr=Math.max(1,Vt-(Un?3:5)),_r=Math.min(he(void 0,nt,nn),Vt+(Un?3:5));function Pr(Gi,Mi){var ea=Gi||b.createElement("button",{type:"button","aria-label":Mi,className:"".concat(Lt,"-item-link")});return typeof Gi=="function"&&(ea=b.createElement(Gi,(0,Ce.Z)({},et))),ea}function gr(Gi){var Mi=Gi.target.value,ea=he(void 0,nt,nn),ta;return Mi===""?ta=Mi:Number.isNaN(Number(Mi))?ta=Wn:Mi>=ea?ta=ea:ta=Number(Mi),ta}function Ar(Gi){return Qe(Gi)&&Gi!==Vt&&Qe(nn)&&nn>0}var Vr=nn>nt?Bn:!1;function ni(Gi){(Gi.keyCode===Ze.Z.UP||Gi.keyCode===Ze.Z.DOWN)&&Gi.preventDefault()}function ri(Gi){var Mi=gr(Gi);switch(Mi!==Wn&&Rn(Mi),Gi.keyCode){case Ze.Z.ENTER:Jr(Mi);break;case Ze.Z.UP:Jr(Mi-1);break;case Ze.Z.DOWN:Jr(Mi+1);break;default:break}}function ai(Gi){Jr(gr(Gi))}function Dr(Gi){var Mi=he(Gi,nt,nn),ea=Vt>Mi&&Mi!==0?Mi:Vt;Xt(Gi),Rn(ea),en==null||en(Vt,Gi),jt(ea),on==null||on(ea,Gi)}function Jr(Gi){if(Ar(Gi)&&!zn){var Mi=he(void 0,nt,nn),ea=Gi;return Gi>Mi?ea=Mi:Gi<1&&(ea=1),ea!==Wn&&Rn(ea),jt(ea),on==null||on(ea,nt),ea}return Vt}var $r=Vt>1,Ri=Vt<he(void 0,nt,nn);function Hi(){$r&&Jr(Vt-1)}function zi(){Ri&&Jr(Vt+1)}function Zi(){Jr(Zr)}function Ji(){Jr(_r)}function Ei(Gi,Mi){if(Gi.key==="Enter"||Gi.charCode===Ze.Z.ENTER||Gi.keyCode===Ze.Z.ENTER){for(var ea=arguments.length,ta=new Array(ea>2?ea-2:0),Xi=2;Xi<ea;Xi++)ta[Xi-2]=arguments[Xi];Mi.apply(void 0,ta)}}function ki(Gi){Ei(Gi,Hi)}function fi(Gi){Ei(Gi,zi)}function $i(Gi){Ei(Gi,Zi)}function oo(Gi){Ei(Gi,Ji)}function Ro(Gi){var Mi=rr(Gi,"prev",Pr(_t,"prev page"));return b.isValidElement(Mi)?b.cloneElement(Mi,{disabled:!$r}):Mi}function fo(Gi){var Mi=rr(Gi,"next",Pr(vt,"next page"));return b.isValidElement(Mi)?b.cloneElement(Mi,{disabled:!Ri}):Mi}function bo(Gi){(Gi.type==="click"||Gi.keyCode===Ze.Z.ENTER)&&Jr(Wn)}var co=null,yo=(0,rt.Z)(et,{aria:!0,data:!0}),Bi=nr&&b.createElement("li",{className:"".concat(Lt,"-total-text")},nr(nn,[nn===0?0:(Vt-1)*nt+1,Vt*nt>nn?nn:Vt*nt])),Ai=null,Gr=he(void 0,nt,nn);if(fn&&nn<=nt)return null;var jn=[],lr={rootPrefixCls:Lt,onClick:Jr,onKeyPress:Ei,showTitle:Bt,itemRender:rr,page:-1},cr=Vt-1>0?Vt-1:0,Jn=Vt+1<Gr?Vt+1:Gr,Wr=Bn&&Bn.goButton,qr=(0,Fe.Z)(Fn)==="object"?Fn.readOnly:!Fn,or=Wr,_n=null;Fn&&(Wr&&(typeof Wr=="boolean"?or=b.createElement("button",{type:"button",onClick:bo,onKeyUp:bo},wn.jump_to_confirm):or=b.createElement("span",{onClick:bo,onKeyUp:bo},Wr),or=b.createElement("li",{title:Bt?"".concat(wn.jump_to).concat(Vt,"/").concat(Gr):null,className:"".concat(Lt,"-simple-pager")},or)),_n=b.createElement("li",{title:Bt?"".concat(Vt,"/").concat(Gr):null,className:"".concat(Lt,"-simple-pager")},qr?Wn:b.createElement("input",{type:"text","aria-label":wn.jump_to,value:Wn,disabled:zn,onKeyDown:ni,onKeyUp:ri,onChange:ri,onBlur:ai,size:3}),b.createElement("span",{className:"".concat(Lt,"-slash")},"/"),Gr));var Cr=Un?1:2;if(Gr<=3+Cr*2){Gr||jn.push(b.createElement(Ye,(0,tt.Z)({},lr,{key:"noPager",page:1,className:"".concat(Lt,"-item-disabled")})));for(var zr=1;zr<=Gr;zr+=1)jn.push(b.createElement(Ye,(0,tt.Z)({},lr,{key:zr,page:zr,active:Vt===zr})))}else{var ji=Un?wn.prev_3:wn.prev_5,vo=Un?wn.next_3:wn.next_5,ao=rr(Zr,"jump-prev",Pr(ir,"prev page")),Fo=rr(_r,"jump-next",Pr(Ot,"next page"));Gn&&(co=ao?b.createElement("li",{title:Bt?ji:null,key:"prev",onClick:Zi,tabIndex:0,onKeyDown:$i,className:Te()("".concat(Lt,"-jump-prev"),(0,xe.Z)({},"".concat(Lt,"-jump-prev-custom-icon"),!!ir))},ao):null,Ai=Fo?b.createElement("li",{title:Bt?vo:null,key:"next",onClick:Ji,tabIndex:0,onKeyDown:oo,className:Te()("".concat(Lt,"-jump-next"),(0,xe.Z)({},"".concat(Lt,"-jump-next-custom-icon"),!!Ot))},Fo):null);var Eo=Math.max(1,Vt-Cr),Co=Math.min(Vt+Cr,Gr);Vt-1<=Cr&&(Co=1+Cr*2),Gr-Vt<=Cr&&(Eo=Gr-Cr*2);for(var To=Eo;To<=Co;To+=1)jn.push(b.createElement(Ye,(0,tt.Z)({},lr,{key:To,page:To,active:Vt===To})));if(Vt-1>=Cr*2&&Vt!==3&&(jn[0]=b.cloneElement(jn[0],{className:Te()("".concat(Lt,"-item-after-jump-prev"),jn[0].props.className)}),jn.unshift(co)),Gr-Vt>=Cr*2&&Vt!==Gr-2){var Oo=jn[jn.length-1];jn[jn.length-1]=b.cloneElement(Oo,{className:Te()("".concat(Lt,"-item-before-jump-next"),Oo.props.className)}),jn.push(Ai)}Eo!==1&&jn.unshift(b.createElement(Ye,(0,tt.Z)({},lr,{key:1,page:1}))),Co!==Gr&&jn.push(b.createElement(Ye,(0,tt.Z)({},lr,{key:Gr,page:Gr})))}var ko=Ro(cr);if(ko){var ha=!$r||!Gr;ko=b.createElement("li",{title:Bt?wn.prev_page:null,onClick:Hi,tabIndex:ha?null:0,onKeyDown:ki,className:Te()("".concat(Lt,"-prev"),(0,xe.Z)({},"".concat(Lt,"-disabled"),ha)),"aria-disabled":ha},ko)}var Aa=fo(Jn);if(Aa){var xa,Ia;Fn?(xa=!Ri,Ia=$r?0:null):(xa=!Ri||!Gr,Ia=xa?null:0),Aa=b.createElement("li",{title:Bt?wn.next_page:null,onClick:zi,tabIndex:Ia,onKeyDown:fi,className:Te()("".concat(Lt,"-next"),(0,xe.Z)({},"".concat(Lt,"-disabled"),xa)),"aria-disabled":xa},Aa)}var Da=Te()(Lt,Mt,(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(Lt,"-start"),Pn==="start"),"".concat(Lt,"-center"),Pn==="center"),"".concat(Lt,"-end"),Pn==="end"),"".concat(Lt,"-simple"),Fn),"".concat(Lt,"-disabled"),zn));return b.createElement("ul",(0,tt.Z)({className:Da,style:bn,ref:Zt},yo),Bi,ko,Fn?_n:jn,Aa,b.createElement(mt,{locale:wn,rootPrefixCls:Lt,disabled:zn,selectPrefixCls:Nt,changeSize:Dr,pageSize:nt,pageSizeOptions:Sn,quickGo:Vr?Jr:null,goButton:or,showSizeChanger:Rr,sizeChangerRender:Ir}))},Ct=ye,Ke=te(61852),yt=te(48755),Dt=te(31756),Ge=te(13783),Ae=te(9017),ot=te(82326),zt=te(57700),Et=te(36237),Oe=te(53075),Je=te(64910),dt=te(39082),It=te(63356),st=te(51636),Ft=te(16931);const ft=He=>{const{componentCls:et}=He;return{[`${et}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${et}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${et}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}}},[`&${et}-disabled`]:{cursor:"not-allowed",[`${et}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:He.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:He.colorBorder,backgroundColor:He.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:He.itemActiveBgDisabled},a:{color:He.itemActiveColorDisabled}}},[`${et}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${et}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${et}-simple-pager`]:{color:He.colorTextDisabled},[`${et}-jump-prev, ${et}-jump-next`]:{[`${et}-item-link-icon`]:{opacity:0},[`${et}-item-ellipsis`]:{opacity:1}}},[`&${et}-simple`]:{[`${et}-prev, ${et}-next`]:{[`&${et}-disabled ${et}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gt=He=>{const{componentCls:et}=He;return{[`&${et}-mini ${et}-total-text, &${et}-mini ${et}-simple-pager`]:{height:He.itemSizeSM,lineHeight:(0,Et.unit)(He.itemSizeSM)},[`&${et}-mini ${et}-item`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:(0,Et.unit)(He.calc(He.itemSizeSM).sub(2).equal())},[`&${et}-mini ${et}-prev, &${et}-mini ${et}-next`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:(0,Et.unit)(He.itemSizeSM)},[`&${et}-mini:not(${et}-disabled)`]:{[`${et}-prev, ${et}-next`]:{[`&:hover ${et}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${et}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${et}-disabled:hover ${et}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${et}-mini ${et}-prev ${et}-item-link,
|
|
|
&${et}-mini ${et}-next ${et}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:He.itemSizeSM,lineHeight:(0,Et.unit)(He.itemSizeSM)}},[`&${et}-mini ${et}-jump-prev, &${et}-mini ${et}-jump-next`]:{height:He.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Et.unit)(He.itemSizeSM)},[`&${et}-mini ${et}-options`]:{marginInlineStart:He.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:He.miniOptionsSizeChangerTop},"&-quick-jumper":{height:He.itemSizeSM,lineHeight:(0,Et.unit)(He.itemSizeSM),input:Object.assign(Object.assign({},(0,Oe.x0)(He)),{width:He.paginationMiniQuickJumperInputWidth,height:He.controlHeightSM})}}}},Pt=He=>{const{componentCls:et}=He;return{[`
|
|
|
&${et}-simple ${et}-prev,
|
|
|
&${et}-simple ${et}-next
|
|
|
`]:{height:He.itemSizeSM,lineHeight:(0,Et.unit)(He.itemSizeSM),verticalAlign:"top",[`${et}-item-link`]:{height:He.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive},"&::after":{height:He.itemSizeSM,lineHeight:(0,Et.unit)(He.itemSizeSM)}}},[`&${et}-simple ${et}-simple-pager`]:{display:"inline-block",height:He.itemSizeSM,marginInlineEnd:He.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Et.unit)(He.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:He.itemInputBg,border:`${(0,Et.unit)(He.lineWidth)} ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadius,outline:"none",transition:`border-color ${He.motionDurationMid}`,color:"inherit","&:hover":{borderColor:He.colorPrimary},"&:focus":{borderColor:He.colorPrimaryHover,boxShadow:`${(0,Et.unit)(He.inputOutlineOffset)} 0 ${(0,Et.unit)(He.controlOutlineWidth)} ${He.controlOutline}`},"&[disabled]":{color:He.colorTextDisabled,backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,cursor:"not-allowed"}}}}},oe=He=>{const{componentCls:et}=He;return{[`${et}-jump-prev, ${et}-jump-next`]:{outline:0,[`${et}-item-container`]:{position:"relative",[`${et}-item-link-icon`]:{color:He.colorPrimary,fontSize:He.fontSizeSM,opacity:0,transition:`all ${He.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${et}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:He.colorTextDisabled,letterSpacing:He.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:He.paginationEllipsisTextIndent,opacity:1,transition:`all ${He.motionDurationMid}`}},"&:hover":{[`${et}-item-link-icon`]:{opacity:1},[`${et}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${et}-prev,
|
|
|
${et}-jump-prev,
|
|
|
${et}-jump-next
|
|
|
`]:{marginInlineEnd:He.marginXS},[`
|
|
|
${et}-prev,
|
|
|
${et}-next,
|
|
|
${et}-jump-prev,
|
|
|
${et}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,color:He.colorText,fontFamily:He.fontFamily,lineHeight:(0,Et.unit)(He.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}`},[`${et}-prev, ${et}-next`]:{outline:0,button:{color:He.colorText,cursor:"pointer",userSelect:"none"},[`${et}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:He.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Et.unit)(He.lineWidth)} ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:"none",transition:`all ${He.motionDurationMid}`},[`&:hover ${et}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${et}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${et}-disabled:hover`]:{[`${et}-item-link`]:{backgroundColor:"transparent"}}},[`${et}-slash`]:{marginInlineEnd:He.paginationSlashMarginInlineEnd,marginInlineStart:He.paginationSlashMarginInlineStart},[`${et}-options`]:{display:"inline-block",marginInlineStart:He.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:He.controlHeight,marginInlineStart:He.marginXS,lineHeight:(0,Et.unit)(He.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Oe.ik)(He)),(0,dt.$U)(He,{borderColor:He.colorBorder,hoverBorderColor:He.colorPrimaryHover,activeBorderColor:He.colorPrimary,activeShadow:He.activeShadow})),{"&[disabled]":Object.assign({},(0,dt.Xy)(He)),width:He.calc(He.controlHeightLG).mul(1.25).equal(),height:He.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:He.marginXS,marginInlineEnd:He.marginXS})}}}},ae=He=>{const{componentCls:et}=He;return{[`${et}-item`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,marginInlineEnd:He.marginXS,fontFamily:He.fontFamily,lineHeight:(0,Et.unit)(He.calc(He.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:He.itemBg,border:`${(0,Et.unit)(He.lineWidth)} ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Et.unit)(He.paginationItemPaddingInline)}`,color:He.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${et}-item-active)`]:{"&:hover":{transition:`all ${He.motionDurationMid}`,backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},"&-active":{fontWeight:He.fontWeightStrong,backgroundColor:He.itemActiveBg,borderColor:He.colorPrimary,a:{color:He.colorPrimary},"&:hover":{borderColor:He.colorPrimaryHover},"&:hover a":{color:He.colorPrimaryHover}}}}},ee=He=>{const{componentCls:et}=He;return{[et]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,It.Wf)(He)),{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:'""'},[`${et}-total-text`]:{display:"inline-block",height:He.itemSize,marginInlineEnd:He.marginXS,lineHeight:(0,Et.unit)(He.calc(He.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ae(He)),oe(He)),Pt(He)),Gt(He)),ft(He)),{[`@media only screen and (max-width: ${He.screenLG}px)`]:{[`${et}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${He.screenSM}px)`]:{[`${et}-options`]:{display:"none"}}}),[`&${He.componentCls}-rtl`]:{direction:"rtl"}}},E=He=>{const{componentCls:et}=He;return{[`${et}:not(${et}-disabled)`]:{[`${et}-item`]:Object.assign({},(0,It.Qy)(He)),[`${et}-jump-prev, ${et}-jump-next`]:{"&:focus-visible":Object.assign({[`${et}-item-link-icon`]:{opacity:1},[`${et}-item-ellipsis`]:{opacity:0}},(0,It.oN)(He))},[`${et}-prev, ${et}-next`]:{[`&:focus-visible ${et}-item-link`]:Object.assign({},(0,It.oN)(He))}}}},re=He=>Object.assign({itemBg:He.colorBgContainer,itemSize:He.controlHeight,itemSizeSM:He.controlHeightSM,itemActiveBg:He.colorBgContainer,itemLinkBg:He.colorBgContainer,itemActiveColorDisabled:He.colorTextDisabled,itemActiveBgDisabled:He.controlItemBgActiveDisabled,itemInputBg:He.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Je.T)(He)),ne=He=>(0,st.mergeToken)(He,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:He.calc(He.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:He.calc(He.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:He.calc(He.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:He.calc(He.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:He.marginSM,paginationSlashMarginInlineEnd:He.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e)(He));var le=(0,Ft.I$)("Pagination",He=>{const et=ne(He);return[ee(et),E(et)]},re);const ge=He=>{const{componentCls:et}=He;return{[`${et}${et}-bordered${et}-disabled:not(${et}-mini)`]:{"&, &:hover":{[`${et}-item-link`]:{borderColor:He.colorBorder}},"&:focus-visible":{[`${et}-item-link`]:{borderColor:He.colorBorder}},[`${et}-item, ${et}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,[`&:hover:not(${et}-item-active)`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,a:{color:He.colorTextDisabled}},[`&${et}-item-active`]:{backgroundColor:He.itemActiveBgDisabled}},[`${et}-prev, ${et}-next`]:{"&:hover button":{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,color:He.colorTextDisabled},[`${et}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder}}},[`${et}${et}-bordered:not(${et}-mini)`]:{[`${et}-prev, ${et}-next`]:{"&:hover button":{borderColor:He.colorPrimaryHover,backgroundColor:He.itemBg},[`${et}-item-link`]:{backgroundColor:He.itemLinkBg,borderColor:He.colorBorder},[`&:hover ${et}-item-link`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,color:He.colorPrimary},[`&${et}-disabled`]:{[`${et}-item-link`]:{borderColor:He.colorBorder,color:He.colorTextDisabled}}},[`${et}-item`]:{backgroundColor:He.itemBg,border:`${(0,Et.unit)(He.lineWidth)} ${He.lineType} ${He.colorBorder}`,[`&:hover:not(${et}-item-active)`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,a:{color:He.colorPrimary}},"&-active":{borderColor:He.colorPrimary}}}}};var Ee=(0,Ft.bk)(["Pagination","bordered"],He=>{const et=ne(He);return[ge(et)]},re);function ze(He){return(0,b.useMemo)(()=>typeof He=="boolean"?[He,{}]:He&&typeof He=="object"?[!0,He]:[void 0,void 0],[He])}var je=function(He,et){var $t={};for(var Lt in He)Object.prototype.hasOwnProperty.call(He,Lt)&&et.indexOf(Lt)<0&&($t[Lt]=He[Lt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Lt=Object.getOwnPropertySymbols(He);qt<Lt.length;qt++)et.indexOf(Lt[qt])<0&&Object.prototype.propertyIsEnumerable.call(He,Lt[qt])&&($t[Lt[qt]]=He[Lt[qt]]);return $t},it=He=>{const{align:et,prefixCls:$t,selectPrefixCls:Lt,className:qt,rootClassName:Nt,style:Mt,size:Kt,locale:Jt,responsive:gt,showSizeChanger:kt,selectComponentClass:nn,pageSizeOptions:vn}=He,ct=je(He,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:wt}=(0,Ge.Z)(gt),[,Wt]=(0,zt.ZP)(),{getPrefixCls:on,direction:fn,showSizeChanger:Pn,className:Vn,style:Gn}=(0,yt.dj)("pagination"),Bn=on("pagination",$t),[Un,Rt,Bt]=le(Bn),un=(0,Dt.Z)(Kt),en=un==="small"||!!(wt&&!un&>),[Qt]=(0,Ae.Z)("Pagination",Ke.Z),wn=Object.assign(Object.assign({},Qt),Jt),[bn,kn]=ze(kt),[Xn,zn]=ze(Pn),Fn=bn!=null?bn:Xn,nr=kn!=null?kn:zn,tr=nn||ot.default,Rr=b.useMemo(()=>vn?vn.map(Ot=>Number(Ot)):void 0,[vn]),Ir=Ot=>{var _t;const{disabled:vt,size:Zt,onSizeChange:bt,"aria-label":Ht,className:nt,options:Xt}=Ot,{className:tn,onChange:dn}=nr||{},Vt=(_t=Xt.find(jt=>String(jt.value)===String(Zt)))===null||_t===void 0?void 0:_t.value;return b.createElement(tr,Object.assign({disabled:vt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:jt=>jt.parentNode,"aria-label":Ht,options:Xt},nr,{value:Vt,onChange:(jt,Yt)=>{bt==null||bt(jt),dn==null||dn(jt,Yt)},size:en?"small":"middle",className:Te()(nt,tn)}))},Sn=b.useMemo(()=>{const Ot=b.createElement("span",{className:`${Bn}-item-ellipsis`},"\u2022\u2022\u2022"),_t=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},fn==="rtl"?b.createElement(Le.Z,null):b.createElement(de.Z,null)),vt=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},fn==="rtl"?b.createElement(de.Z,null):b.createElement(Le.Z,null)),Zt=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},fn==="rtl"?b.createElement(be.Z,{className:`${Bn}-item-link-icon`}):b.createElement(fe,{className:`${Bn}-item-link-icon`}),Ot)),bt=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},fn==="rtl"?b.createElement(fe,{className:`${Bn}-item-link-icon`}):b.createElement(be.Z,{className:`${Bn}-item-link-icon`}),Ot));return{prevIcon:_t,nextIcon:vt,jumpPrevIcon:Zt,jumpNextIcon:bt}},[fn,Bn]),Ln=on("select",Lt),rr=Te()({[`${Bn}-${et}`]:!!et,[`${Bn}-mini`]:en,[`${Bn}-rtl`]:fn==="rtl",[`${Bn}-bordered`]:Wt.wireframe},Vn,qt,Nt,Rt,Bt),ir=Object.assign(Object.assign({},Gn),Mt);return Un(b.createElement(b.Fragment,null,Wt.wireframe&&b.createElement(Ee,{prefixCls:Bn}),b.createElement(Ct,Object.assign({},Sn,ct,{style:ir,prefixCls:Bn,selectPrefixCls:Ln,className:rr,locale:wn,pageSizeOptions:Rr,showSizeChanger:Fn,sizeChangerRender:Ir}))))},pt=it},89787:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Jt}});var b=te(59301),tt=te(17835),pe=te(29679),Ue=te(40001),Pe=te(19248),me=te(99267),ve=te(92310),fe=te.n(ve),be=te(2738),de=te(48755),Le=te(60499),we=te(85899),Te=te(42244),xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Fe=function(){var kt=(0,b.useRef)([]),nn=(0,b.useRef)(null);return(0,b.useEffect)(function(){var vn=Date.now(),ct=!1;kt.current.forEach(function(wt){if(wt){ct=!0;var Wt=wt.style;Wt.transitionDuration=".3s, .3s, .3s, .06s",nn.current&&vn-nn.current<100&&(Wt.transitionDuration="0s, 0s")}}),ct&&(nn.current=Date.now())}),kt.current},Ce=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],De=function(kt){var nn=(0,we.Z)((0,we.Z)({},xe),kt),vn=nn.className,ct=nn.percent,wt=nn.prefixCls,Wt=nn.strokeColor,on=nn.strokeLinecap,fn=nn.strokeWidth,Pn=nn.style,Vn=nn.trailColor,Gn=nn.trailWidth,Bn=nn.transition,Un=(0,Te.Z)(nn,Ce);delete Un.gapPosition;var Rt=Array.isArray(ct)?ct:[ct],Bt=Array.isArray(Wt)?Wt:[Wt],un=Fe(),en=fn/2,Qt=100-fn/2,wn="M ".concat(on==="round"?en:0,",").concat(en,`
|
|
|
L `).concat(on==="round"?Qt:100,",").concat(en),bn="0 0 100 ".concat(fn),kn=0;return b.createElement("svg",(0,Le.Z)({className:fe()("".concat(wt,"-line"),vn),viewBox:bn,preserveAspectRatio:"none",style:Pn},Un),b.createElement("path",{className:"".concat(wt,"-line-trail"),d:wn,strokeLinecap:on,stroke:Vn,strokeWidth:Gn||fn,fillOpacity:"0"}),Rt.map(function(Xn,zn){var Fn=1;switch(on){case"round":Fn=1-fn/100;break;case"square":Fn=1-fn/2/100;break;default:Fn=1;break}var nr={strokeDasharray:"".concat(Xn*Fn,"px, 100px"),strokeDashoffset:"-".concat(kn,"px"),transition:Bn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tr=Bt[zn]||Bt[Bt.length-1];return kn+=Xn,b.createElement("path",{key:zn,className:"".concat(wt,"-line-path"),d:wn,strokeLinecap:on,stroke:tr,strokeWidth:fn,fillOpacity:"0",ref:function(Ir){un[zn]=Ir},style:nr})}))},Be=De,Ze=te(43749),rt=te(72190),ce=te(47273),ke=0,qe=(0,ce.Z)();function _e(){var gt;return qe?(gt=ke,ke+=1):gt="TEST_OR_SSR",gt}var mt=function(gt){var kt=b.useState(),nn=(0,rt.Z)(kt,2),vn=nn[0],ct=nn[1];return b.useEffect(function(){ct("rc_progress_".concat(_e()))},[]),gt||vn},Re=function(kt){var nn=kt.bg,vn=kt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:nn}},vn)};function Ye(gt,kt){return Object.keys(gt).map(function(nn){var vn=parseFloat(nn),ct="".concat(Math.floor(vn*kt),"%");return"".concat(gt[nn]," ").concat(ct)})}var lt=b.forwardRef(function(gt,kt){var nn=gt.prefixCls,vn=gt.color,ct=gt.gradientId,wt=gt.radius,Wt=gt.style,on=gt.ptg,fn=gt.strokeLinecap,Pn=gt.strokeWidth,Vn=gt.size,Gn=gt.gapDegree,Bn=vn&&(0,Ze.Z)(vn)==="object",Un=Bn?"#FFF":void 0,Rt=Vn/2,Bt=b.createElement("circle",{className:"".concat(nn,"-circle-path"),r:wt,cx:Rt,cy:Rt,stroke:Un,strokeLinecap:fn,strokeWidth:Pn,opacity:on===0?0:1,style:Wt,ref:kt});if(!Bn)return Bt;var un="".concat(ct,"-conic"),en=Gn?"".concat(180+Gn/2,"deg"):"0deg",Qt=Ye(vn,(360-Gn)/360),wn=Ye(vn,1),bn="conic-gradient(from ".concat(en,", ").concat(Qt.join(", "),")"),kn="linear-gradient(to ".concat(Gn?"bottom":"top",", ").concat(wn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:un},Bt),b.createElement("foreignObject",{x:0,y:0,width:Vn,height:Vn,mask:"url(#".concat(un,")")},b.createElement(Re,{bg:kn},b.createElement(Re,{bg:bn}))))}),Se=lt,Qe=100,he=function(kt,nn,vn,ct,wt,Wt,on,fn,Pn,Vn){var Gn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bn=vn/100*360*((360-Wt)/360),Un=Wt===0?0:{bottom:0,top:180,left:90,right:-90}[on],Rt=(100-ct)/100*nn;Pn==="round"&&ct!==100&&(Rt+=Vn/2,Rt>=nn&&(Rt=nn-.01));var Bt=Qe/2;return{stroke:typeof fn=="string"?fn:void 0,strokeDasharray:"".concat(nn,"px ").concat(kt),strokeDashoffset:Rt+Gn,transform:"rotate(".concat(wt+Bn+Un,"deg)"),transformOrigin:"".concat(Bt,"px ").concat(Bt,"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}},ye=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ct(gt){var kt=gt!=null?gt:[];return Array.isArray(kt)?kt:[kt]}var Ke=function(kt){var nn=(0,we.Z)((0,we.Z)({},xe),kt),vn=nn.id,ct=nn.prefixCls,wt=nn.steps,Wt=nn.strokeWidth,on=nn.trailWidth,fn=nn.gapDegree,Pn=fn===void 0?0:fn,Vn=nn.gapPosition,Gn=nn.trailColor,Bn=nn.strokeLinecap,Un=nn.style,Rt=nn.className,Bt=nn.strokeColor,un=nn.percent,en=(0,Te.Z)(nn,ye),Qt=Qe/2,wn=mt(vn),bn="".concat(wn,"-gradient"),kn=Qt-Wt/2,Xn=Math.PI*2*kn,zn=Pn>0?90+Pn/2:-90,Fn=Xn*((360-Pn)/360),nr=(0,Ze.Z)(wt)==="object"?wt:{count:wt,gap:2},tr=nr.count,Rr=nr.gap,Ir=Ct(un),Sn=Ct(Bt),Ln=Sn.find(function(bt){return bt&&(0,Ze.Z)(bt)==="object"}),rr=Ln&&(0,Ze.Z)(Ln)==="object",ir=rr?"butt":Bn,Ot=he(Xn,Fn,0,100,zn,Pn,Vn,Gn,ir,Wt),_t=Fe(),vt=function(){var Ht=0;return Ir.map(function(nt,Xt){var tn=Sn[Xt]||Sn[Sn.length-1],dn=he(Xn,Fn,Ht,nt,zn,Pn,Vn,tn,ir,Wt);return Ht+=nt,b.createElement(Se,{key:Xt,color:tn,ptg:nt,radius:kn,prefixCls:ct,gradientId:bn,style:dn,strokeLinecap:ir,strokeWidth:Wt,gapDegree:Pn,ref:function(jt){_t[Xt]=jt},size:Qe})}).reverse()},Zt=function(){var Ht=Math.round(tr*(Ir[0]/100)),nt=100/tr,Xt=0;return new Array(tr).fill(null).map(function(tn,dn){var Vt=dn<=Ht-1?Sn[0]:Gn,jt=Vt&&(0,Ze.Z)(Vt)==="object"?"url(#".concat(bn,")"):void 0,Yt=he(Xn,Fn,Xt,nt,zn,Pn,Vn,Vt,"butt",Wt,Rr);return Xt+=(Fn-Yt.strokeDashoffset+Rr)*100/Fn,b.createElement("circle",{key:dn,className:"".concat(ct,"-circle-path"),r:kn,cx:Qt,cy:Qt,stroke:jt,strokeWidth:Wt,opacity:1,style:Yt,ref:function(Wn){_t[dn]=Wn}})})};return b.createElement("svg",(0,Le.Z)({className:fe()("".concat(ct,"-circle"),Rt),viewBox:"0 0 ".concat(Qe," ").concat(Qe),style:Un,id:vn,role:"presentation"},en),!tr&&b.createElement("circle",{className:"".concat(ct,"-circle-trail"),r:kn,cx:Qt,cy:Qt,stroke:Gn,strokeLinecap:ir,strokeWidth:on||Wt,style:Ot}),tr?Zt():vt())},yt=Ke,Dt={Line:Be,Circle:yt},Ge=te(25399),Ae=te(68361);function ot(gt){return!gt||gt<0?0:gt>100?100:gt}function zt(gt){let{success:kt,successPercent:nn}=gt,vn=nn;return kt&&"progress"in kt&&(vn=kt.progress),kt&&"percent"in kt&&(vn=kt.percent),vn}const Et=gt=>{let{percent:kt,success:nn,successPercent:vn}=gt;const ct=ot(zt({success:nn,successPercent:vn}));return[ct,ot(ot(kt)-ct)]},Oe=gt=>{let{success:kt={},strokeColor:nn}=gt;const{strokeColor:vn}=kt;return[vn||Ae.presetPrimaryColors.green,nn||null]},Je=(gt,kt,nn)=>{var vn,ct,wt,Wt;let on=-1,fn=-1;if(kt==="step"){const Pn=nn.steps,Vn=nn.strokeWidth;typeof gt=="string"||typeof gt=="undefined"?(on=gt==="small"?2:14,fn=Vn!=null?Vn:8):typeof gt=="number"?[on,fn]=[gt,gt]:[on=14,fn=8]=Array.isArray(gt)?gt:[gt.width,gt.height],on*=Pn}else if(kt==="line"){const Pn=nn==null?void 0:nn.strokeWidth;typeof gt=="string"||typeof gt=="undefined"?fn=Pn||(gt==="small"?6:8):typeof gt=="number"?[on,fn]=[gt,gt]:[on=-1,fn=8]=Array.isArray(gt)?gt:[gt.width,gt.height]}else(kt==="circle"||kt==="dashboard")&&(typeof gt=="string"||typeof gt=="undefined"?[on,fn]=gt==="small"?[60,60]:[120,120]:typeof gt=="number"?[on,fn]=[gt,gt]:Array.isArray(gt)&&(on=(ct=(vn=gt[0])!==null&&vn!==void 0?vn:gt[1])!==null&&ct!==void 0?ct:120,fn=(Wt=(wt=gt[0])!==null&&wt!==void 0?wt:gt[1])!==null&&Wt!==void 0?Wt:120));return[on,fn]},dt=3,It=gt=>dt/gt*100;var Ft=gt=>{const{prefixCls:kt,trailColor:nn=null,strokeLinecap:vn="round",gapPosition:ct,gapDegree:wt,width:Wt=120,type:on,children:fn,success:Pn,size:Vn=Wt,steps:Gn}=gt,[Bn,Un]=Je(Vn,"circle");let{strokeWidth:Rt}=gt;Rt===void 0&&(Rt=Math.max(It(Bn),6));const Bt={width:Bn,height:Un,fontSize:Bn*.15+6},un=b.useMemo(()=>{if(wt||wt===0)return wt;if(on==="dashboard")return 75},[wt,on]),en=Et(gt),Qt=ct||on==="dashboard"&&"bottom"||void 0,wn=Object.prototype.toString.call(gt.strokeColor)==="[object Object]",bn=Oe({success:Pn,strokeColor:gt.strokeColor}),kn=fe()(`${kt}-inner`,{[`${kt}-circle-gradient`]:wn}),Xn=b.createElement(yt,{steps:Gn,percent:Gn?en[1]:en,strokeWidth:Rt,trailWidth:Rt,strokeColor:Gn?bn[1]:bn,strokeLinecap:vn,trailColor:nn,prefixCls:kt,gapDegree:un,gapPosition:Qt}),zn=Bn<=20,Fn=b.createElement("div",{className:kn,style:Bt},Xn,!zn&&fn);return zn?b.createElement(Ge.Z,{title:fn},Fn):Fn},ft=te(36237),Gt=te(63356),Pt=te(16931),oe=te(51636);const ae="--progress-line-stroke-color",ee="--progress-percent",E=gt=>{const kt=gt?"100%":"-100%";return new ft.Keyframes(`antProgress${gt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${kt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${kt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},re=gt=>{const{componentCls:kt,iconCls:nn}=gt;return{[kt]:Object.assign(Object.assign({},(0,Gt.Wf)(gt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:gt.fontSize},[`${kt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${kt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:gt.remainingColor,borderRadius:gt.lineBorderRadius},[`${kt}-inner:not(${kt}-circle-gradient)`]:{[`${kt}-circle-path`]:{stroke:gt.defaultColor}},[`${kt}-success-bg, ${kt}-bg`]:{position:"relative",background:gt.defaultColor,borderRadius:gt.lineBorderRadius,transition:`all ${gt.motionDurationSlow} ${gt.motionEaseInOutCirc}`},[`${kt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${kt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:gt.marginXXS}},[`${kt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ae})`]},height:"100%",width:`calc(1 / var(${ee}) * 100%)`,display:"block"},[`&${kt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${kt}-text-inner`]:{color:gt.colorWhite,[`&${kt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${kt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:gt.colorSuccess},[`${kt}-text`]:{display:"inline-block",marginInlineStart:gt.marginXS,color:gt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[nn]:{fontSize:gt.fontSize},[`&${kt}-text-outer`]:{width:"max-content"},[`&${kt}-text-outer${kt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:gt.marginXS}},[`${kt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ft.unit)(gt.paddingXXS)}`,[`&${kt}-text-start`]:{justifyContent:"start"},[`&${kt}-text-end`]:{justifyContent:"end"}},[`&${kt}-status-active`]:{[`${kt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:gt.colorBgContainer,borderRadius:gt.lineBorderRadius,opacity:0,animationName:E(),animationDuration:gt.progressActiveMotionDuration,animationTimingFunction:gt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${kt}-rtl${kt}-status-active`]:{[`${kt}-bg::before`]:{animationName:E(!0)}},[`&${kt}-status-exception`]:{[`${kt}-bg`]:{backgroundColor:gt.colorError},[`${kt}-text`]:{color:gt.colorError}},[`&${kt}-status-exception ${kt}-inner:not(${kt}-circle-gradient)`]:{[`${kt}-circle-path`]:{stroke:gt.colorError}},[`&${kt}-status-success`]:{[`${kt}-bg`]:{backgroundColor:gt.colorSuccess},[`${kt}-text`]:{color:gt.colorSuccess}},[`&${kt}-status-success ${kt}-inner:not(${kt}-circle-gradient)`]:{[`${kt}-circle-path`]:{stroke:gt.colorSuccess}}})}},ne=gt=>{const{componentCls:kt,iconCls:nn}=gt;return{[kt]:{[`${kt}-circle-trail`]:{stroke:gt.remainingColor},[`&${kt}-circle ${kt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${kt}-circle ${kt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:gt.circleTextColor,fontSize:gt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[nn]:{fontSize:gt.circleIconFontSize}},[`${kt}-circle&-status-exception`]:{[`${kt}-text`]:{color:gt.colorError}},[`${kt}-circle&-status-success`]:{[`${kt}-text`]:{color:gt.colorSuccess}}},[`${kt}-inline-circle`]:{lineHeight:1,[`${kt}-inner`]:{verticalAlign:"bottom"}}}},le=gt=>{const{componentCls:kt}=gt;return{[kt]:{[`${kt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:gt.progressStepMinWidth,marginInlineEnd:gt.progressStepMarginInlineEnd,backgroundColor:gt.remainingColor,transition:`all ${gt.motionDurationSlow}`,"&-active":{backgroundColor:gt.defaultColor}}}}}},ge=gt=>{const{componentCls:kt,iconCls:nn}=gt;return{[kt]:{[`${kt}-small&-line, ${kt}-small&-line ${kt}-text ${nn}`]:{fontSize:gt.fontSizeSM}}}},Ee=gt=>({circleTextColor:gt.colorText,defaultColor:gt.colorInfo,remainingColor:gt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${gt.fontSize/gt.fontSizeSM}em`});var ze=(0,Pt.I$)("Progress",gt=>{const kt=gt.calc(gt.marginXXS).div(2).equal(),nn=(0,oe.mergeToken)(gt,{progressStepMarginInlineEnd:kt,progressStepMinWidth:kt,progressActiveMotionDuration:"2.4s"});return[re(nn),ne(nn),le(nn),ge(nn)]},Ee),je=function(gt,kt){var nn={};for(var vn in gt)Object.prototype.hasOwnProperty.call(gt,vn)&&kt.indexOf(vn)<0&&(nn[vn]=gt[vn]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,vn=Object.getOwnPropertySymbols(gt);ct<vn.length;ct++)kt.indexOf(vn[ct])<0&&Object.prototype.propertyIsEnumerable.call(gt,vn[ct])&&(nn[vn[ct]]=gt[vn[ct]]);return nn};const Xe=gt=>{let kt=[];return Object.keys(gt).forEach(nn=>{const vn=parseFloat(nn.replace(/%/g,""));Number.isNaN(vn)||kt.push({key:vn,value:gt[nn]})}),kt=kt.sort((nn,vn)=>nn.key-vn.key),kt.map(nn=>{let{key:vn,value:ct}=nn;return`${ct} ${vn}%`}).join(", ")},it=(gt,kt)=>{const{from:nn=Ae.presetPrimaryColors.blue,to:vn=Ae.presetPrimaryColors.blue,direction:ct=kt==="rtl"?"to left":"to right"}=gt,wt=je(gt,["from","to","direction"]);if(Object.keys(wt).length!==0){const on=Xe(wt),fn=`linear-gradient(${ct}, ${on})`;return{background:fn,[ae]:fn}}const Wt=`linear-gradient(${ct}, ${nn}, ${vn})`;return{background:Wt,[ae]:Wt}};var He=gt=>{const{prefixCls:kt,direction:nn,percent:vn,size:ct,strokeWidth:wt,strokeColor:Wt,strokeLinecap:on="round",children:fn,trailColor:Pn=null,percentPosition:Vn,success:Gn}=gt,{align:Bn,type:Un}=Vn,Rt=Wt&&typeof Wt!="string"?it(Wt,nn):{[ae]:Wt,background:Wt},Bt=on==="square"||on==="butt"?0:void 0,un=ct!=null?ct:[-1,wt||(ct==="small"?6:8)],[en,Qt]=Je(un,"line",{strokeWidth:wt}),wn={backgroundColor:Pn||void 0,borderRadius:Bt},bn=Object.assign(Object.assign({width:`${ot(vn)}%`,height:Qt,borderRadius:Bt},Rt),{[ee]:ot(vn)/100}),kn=zt(gt),Xn={width:`${ot(kn)}%`,height:Qt,borderRadius:Bt,backgroundColor:Gn==null?void 0:Gn.strokeColor},zn={width:en<0?"100%":en},Fn=b.createElement("div",{className:`${kt}-inner`,style:wn},b.createElement("div",{className:fe()(`${kt}-bg`,`${kt}-bg-${Un}`),style:bn},Un==="inner"&&fn),kn!==void 0&&b.createElement("div",{className:`${kt}-success-bg`,style:Xn})),nr=Un==="outer"&&Bn==="start",tr=Un==="outer"&&Bn==="end";return Un==="outer"&&Bn==="center"?b.createElement("div",{className:`${kt}-layout-bottom`},Fn,fn):b.createElement("div",{className:`${kt}-outer`,style:zn},nr&&fn,Fn,tr&&fn)},$t=gt=>{const{size:kt,steps:nn,rounding:vn=Math.round,percent:ct=0,strokeWidth:wt=8,strokeColor:Wt,trailColor:on=null,prefixCls:fn,children:Pn}=gt,Vn=vn(nn*(ct/100)),Gn=kt==="small"?2:14,Bn=kt!=null?kt:[Gn,wt],[Un,Rt]=Je(Bn,"step",{steps:nn,strokeWidth:wt}),Bt=Un/nn,un=Array.from({length:nn});for(let en=0;en<nn;en++){const Qt=Array.isArray(Wt)?Wt[en]:Wt;un[en]=b.createElement("div",{key:en,className:fe()(`${fn}-steps-item`,{[`${fn}-steps-item-active`]:en<=Vn-1}),style:{backgroundColor:en<=Vn-1?Qt:on,width:Bt,height:Rt}})}return b.createElement("div",{className:`${fn}-steps-outer`},un,Pn)},Lt=function(gt,kt){var nn={};for(var vn in gt)Object.prototype.hasOwnProperty.call(gt,vn)&&kt.indexOf(vn)<0&&(nn[vn]=gt[vn]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,vn=Object.getOwnPropertySymbols(gt);ct<vn.length;ct++)kt.indexOf(vn[ct])<0&&Object.prototype.propertyIsEnumerable.call(gt,vn[ct])&&(nn[vn[ct]]=gt[vn[ct]]);return nn};const qt=null,Nt=["normal","exception","active","success"];var Kt=b.forwardRef((gt,kt)=>{const{prefixCls:nn,className:vn,rootClassName:ct,steps:wt,strokeColor:Wt,percent:on=0,size:fn="default",showInfo:Pn=!0,type:Vn="line",status:Gn,format:Bn,style:Un,percentPosition:Rt={}}=gt,Bt=Lt(gt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:un="end",type:en="outer"}=Rt,Qt=Array.isArray(Wt)?Wt[0]:Wt,wn=typeof Wt=="string"||Array.isArray(Wt)?Wt:void 0,bn=b.useMemo(()=>{if(Qt){const vt=typeof Qt=="string"?Qt:Object.values(Qt)[0];return new tt.FastColor(vt).isLight()}return!1},[Wt]),kn=b.useMemo(()=>{var vt,Zt;const bt=zt(gt);return parseInt(bt!==void 0?(vt=bt!=null?bt:0)===null||vt===void 0?void 0:vt.toString():(Zt=on!=null?on:0)===null||Zt===void 0?void 0:Zt.toString(),10)},[on,gt.success,gt.successPercent]),Xn=b.useMemo(()=>!Nt.includes(Gn)&&kn>=100?"success":Gn||"normal",[Gn,kn]),{getPrefixCls:zn,direction:Fn,progress:nr}=b.useContext(de.E_),tr=zn("progress",nn),[Rr,Ir,Sn]=ze(tr),Ln=Vn==="line",rr=Ln&&!wt,ir=b.useMemo(()=>{if(!Pn)return null;const vt=zt(gt);let Zt;const bt=Bn||(nt=>`${nt}%`),Ht=Ln&&bn&&en==="inner";return en==="inner"||Bn||Xn!=="exception"&&Xn!=="success"?Zt=bt(ot(on),ot(vt)):Xn==="exception"?Zt=Ln?b.createElement(Pe.Z,null):b.createElement(me.Z,null):Xn==="success"&&(Zt=Ln?b.createElement(pe.Z,null):b.createElement(Ue.Z,null)),b.createElement("span",{className:fe()(`${tr}-text`,{[`${tr}-text-bright`]:Ht,[`${tr}-text-${un}`]:rr,[`${tr}-text-${en}`]:rr}),title:typeof Zt=="string"?Zt:void 0},Zt)},[Pn,on,kn,Xn,Vn,tr,Bn]);let Ot;Vn==="line"?Ot=wt?b.createElement($t,Object.assign({},gt,{strokeColor:wn,prefixCls:tr,steps:typeof wt=="object"?wt.count:wt}),ir):b.createElement(He,Object.assign({},gt,{strokeColor:Qt,prefixCls:tr,direction:Fn,percentPosition:{align:un,type:en}}),ir):(Vn==="circle"||Vn==="dashboard")&&(Ot=b.createElement(Ft,Object.assign({},gt,{strokeColor:Qt,prefixCls:tr,progressStatus:Xn}),ir));const _t=fe()(tr,`${tr}-status-${Xn}`,{[`${tr}-${Vn==="dashboard"&&"circle"||Vn}`]:Vn!=="line",[`${tr}-inline-circle`]:Vn==="circle"&&Je(fn,"circle")[0]<=20,[`${tr}-line`]:rr,[`${tr}-line-align-${un}`]:rr,[`${tr}-line-position-${en}`]:rr,[`${tr}-steps`]:wt,[`${tr}-show-info`]:Pn,[`${tr}-${fn}`]:typeof fn=="string",[`${tr}-rtl`]:Fn==="rtl"},nr==null?void 0:nr.className,vn,ct,Ir,Sn);return Rr(b.createElement("div",Object.assign({ref:kt,style:Object.assign(Object.assign({},nr==null?void 0:nr.style),Un),className:_t,role:"progressbar","aria-valuenow":kn,"aria-valuemin":0,"aria-valuemax":100},(0,be.Z)(Bt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ot))}),Jt=Kt},63139:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Et}});var b=te(59301),tt=te(60499),pe={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"},Ue=pe,Pe=te(7657),me=function(Je,dt){return b.createElement(Pe.Z,(0,tt.Z)({},Je,{ref:dt,icon:Ue}))},ve=b.forwardRef(me),fe=ve,be=te(92310),de=te.n(be),Le=te(18642),we=te(72190),Te=te(42244),xe=te(18929),Fe=te(10228),Ce=te(26112);function De(Oe,Je){var dt=Oe.disabled,It=Oe.prefixCls,st=Oe.character,Ft=Oe.characterRender,ft=Oe.index,Gt=Oe.count,Pt=Oe.value,oe=Oe.allowHalf,ae=Oe.focused,ee=Oe.onHover,E=Oe.onClick,re=function(it){ee(it,ft)},ne=function(it){E(it,ft)},le=function(it){it.keyCode===Fe.Z.ENTER&&E(it,ft)},ge=ft+1,Ee=new Set([It]);Pt===0&&ft===0&&ae?Ee.add("".concat(It,"-focused")):oe&&Pt+.5>=ge&&Pt<ge?(Ee.add("".concat(It,"-half")),Ee.add("".concat(It,"-active")),ae&&Ee.add("".concat(It,"-focused"))):(ge<=Pt?Ee.add("".concat(It,"-full")):Ee.add("".concat(It,"-zero")),ge===Pt&&ae&&Ee.add("".concat(It,"-focused")));var ze=typeof st=="function"?st(Oe):st,je=b.createElement("li",{className:de()(Array.from(Ee)),ref:Je},b.createElement("div",{onClick:dt?null:ne,onKeyDown:dt?null:le,onMouseMove:dt?null:re,role:"radio","aria-checked":Pt>ft?"true":"false","aria-posinset":ft+1,"aria-setsize":Gt,tabIndex:dt?-1:0},b.createElement("div",{className:"".concat(It,"-first")},ze),b.createElement("div",{className:"".concat(It,"-second")},ze)));return Ft&&(je=Ft(je,Oe)),je}var Be=b.forwardRef(De);function Ze(){var Oe=b.useRef({});function Je(It){return Oe.current[It]}function dt(It){return function(st){Oe.current[It]=st}}return[Je,dt]}function rt(Oe){var Je=Oe.pageXOffset,dt="scrollLeft";if(typeof Je!="number"){var It=Oe.document;Je=It.documentElement[dt],typeof Je!="number"&&(Je=It.body[dt])}return Je}function ce(Oe){var Je,dt,It=Oe.ownerDocument,st=It.body,Ft=It&&It.documentElement,ft=Oe.getBoundingClientRect();return Je=ft.left,dt=ft.top,Je-=Ft.clientLeft||st.clientLeft||0,dt-=Ft.clientTop||st.clientTop||0,{left:Je,top:dt}}function ke(Oe){var Je=ce(Oe),dt=Oe.ownerDocument,It=dt.defaultView||dt.parentWindow;return Je.left+=rt(It),Je.left}var qe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function _e(Oe,Je){var dt=Oe.prefixCls,It=dt===void 0?"rc-rate":dt,st=Oe.className,Ft=Oe.defaultValue,ft=Oe.value,Gt=Oe.count,Pt=Gt===void 0?5:Gt,oe=Oe.allowHalf,ae=oe===void 0?!1:oe,ee=Oe.allowClear,E=ee===void 0?!0:ee,re=Oe.keyboard,ne=re===void 0?!0:re,le=Oe.character,ge=le===void 0?"\u2605":le,Ee=Oe.characterRender,ze=Oe.disabled,je=Oe.direction,Xe=je===void 0?"ltr":je,it=Oe.tabIndex,pt=it===void 0?0:it,He=Oe.autoFocus,et=Oe.onHoverChange,$t=Oe.onChange,Lt=Oe.onFocus,qt=Oe.onBlur,Nt=Oe.onKeyDown,Mt=Oe.onMouseLeave,Kt=(0,Te.Z)(Oe,qe),Jt=Ze(),gt=(0,we.Z)(Jt,2),kt=gt[0],nn=gt[1],vn=b.useRef(null),ct=function(){if(!ze){var ir;(ir=vn.current)===null||ir===void 0||ir.focus()}};b.useImperativeHandle(Je,function(){return{focus:ct,blur:function(){if(!ze){var ir;(ir=vn.current)===null||ir===void 0||ir.blur()}}}});var wt=(0,xe.Z)(Ft||0,{value:ft}),Wt=(0,we.Z)(wt,2),on=Wt[0],fn=Wt[1],Pn=(0,xe.Z)(null),Vn=(0,we.Z)(Pn,2),Gn=Vn[0],Bn=Vn[1],Un=function(ir,Ot){var _t=Xe==="rtl",vt=ir+1;if(ae){var Zt=kt(ir),bt=ke(Zt),Ht=Zt.clientWidth;(_t&&Ot-bt>Ht/2||!_t&&Ot-bt<Ht/2)&&(vt-=.5)}return vt},Rt=function(ir){fn(ir),$t==null||$t(ir)},Bt=b.useState(!1),un=(0,we.Z)(Bt,2),en=un[0],Qt=un[1],wn=function(){Qt(!0),Lt==null||Lt()},bn=function(){Qt(!1),qt==null||qt()},kn=b.useState(null),Xn=(0,we.Z)(kn,2),zn=Xn[0],Fn=Xn[1],nr=function(ir,Ot){var _t=Un(Ot,ir.pageX);_t!==Gn&&(Fn(_t),Bn(null)),et==null||et(_t)},tr=function(ir){ze||(Fn(null),Bn(null),et==null||et(void 0)),ir&&(Mt==null||Mt(ir))},Rr=function(ir,Ot){var _t=Un(Ot,ir.pageX),vt=!1;E&&(vt=_t===on),tr(),Rt(vt?0:_t),Bn(vt?_t:null)},Ir=function(ir){var Ot=ir.keyCode,_t=Xe==="rtl",vt=ae?.5:1;ne&&(Ot===Fe.Z.RIGHT&&on<Pt&&!_t?(Rt(on+vt),ir.preventDefault()):Ot===Fe.Z.LEFT&&on>0&&!_t||Ot===Fe.Z.RIGHT&&on>0&&_t?(Rt(on-vt),ir.preventDefault()):Ot===Fe.Z.LEFT&&on<Pt&&_t&&(Rt(on+vt),ir.preventDefault())),Nt==null||Nt(ir)};b.useEffect(function(){He&&!ze&&ct()},[]);var Sn=new Array(Pt).fill(0).map(function(rr,ir){return b.createElement(Be,{ref:nn(ir),index:ir,count:Pt,disabled:ze,prefixCls:"".concat(It,"-star"),allowHalf:ae,value:zn===null?on:zn,onClick:Rr,onHover:nr,key:rr||ir,character:ge,characterRender:Ee,focused:en})}),Ln=de()(It,st,(0,Le.Z)((0,Le.Z)({},"".concat(It,"-disabled"),ze),"".concat(It,"-rtl"),Xe==="rtl"));return b.createElement("ul",(0,tt.Z)({className:Ln,onMouseLeave:tr,tabIndex:ze?-1:pt,onFocus:ze?null:wn,onBlur:ze?null:bn,onKeyDown:ze?null:Ir,ref:vn},(0,Ce.Z)(Kt,{aria:!0,data:!0,attr:!0})),Sn)}var mt=b.forwardRef(_e),Re=mt,Ye=te(48755),lt=te(25399),Se=te(36237),Qe=te(63356),he=te(16931),ye=te(51636);const Ct=Oe=>{const{componentCls:Je}=Oe;return{[`${Je}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Oe.marginXS},"> div":{transition:`all ${Oe.motionDurationMid}, outline 0s`,"&:hover":{transform:Oe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Se.unit)(Oe.lineWidth)} dashed ${Oe.starColor}`,transform:Oe.starHoverScale}},"&-first, &-second":{color:Oe.starBg,transition:`all ${Oe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Je}-star-first, &-half ${Je}-star-second`]:{opacity:1},[`&-half ${Je}-star-first, &-full ${Je}-star-second`]:{color:"inherit"}}}},Ke=Oe=>({[`&-rtl${Oe.componentCls}`]:{direction:"rtl"}}),yt=Oe=>{const{componentCls:Je}=Oe;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Oe)),{display:"inline-block",margin:0,padding:0,color:Oe.starColor,fontSize:Oe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Je} ${Je}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ct(Oe)),Ke(Oe))}},Dt=Oe=>({starColor:Oe.yellow6,starSize:Oe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Oe.colorFillContent});var Ge=(0,he.I$)("Rate",Oe=>{const Je=(0,ye.mergeToken)(Oe,{});return[yt(Je)]},Dt),Ae=te(2171),ot=function(Oe,Je){var dt={};for(var It in Oe)Object.prototype.hasOwnProperty.call(Oe,It)&&Je.indexOf(It)<0&&(dt[It]=Oe[It]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,It=Object.getOwnPropertySymbols(Oe);st<It.length;st++)Je.indexOf(It[st])<0&&Object.prototype.propertyIsEnumerable.call(Oe,It[st])&&(dt[It[st]]=Oe[It[st]]);return dt},Et=b.forwardRef((Oe,Je)=>{const{prefixCls:dt,className:It,rootClassName:st,style:Ft,tooltips:ft,character:Gt=b.createElement(fe,null),disabled:Pt}=Oe,oe=ot(Oe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ae=(it,pt)=>{let{index:He}=pt;return ft?b.createElement(lt.Z,{title:ft[He]},it):it},{getPrefixCls:ee,direction:E,rate:re}=b.useContext(Ye.E_),ne=ee("rate",dt),[le,ge,Ee]=Ge(ne),ze=Object.assign(Object.assign({},re==null?void 0:re.style),Ft),je=b.useContext(Ae.Z),Xe=Pt!=null?Pt:je;return le(b.createElement(Re,Object.assign({ref:Je,character:Gt,characterRender:ae,disabled:Xe},oe,{className:de()(It,st,ge,Ee,re==null?void 0:re.className),style:ze,prefixCls:ne,direction:E})))})},82326:function(Tn,sn,te){"use strict";var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(37463),Pe=te(2738),me=te(75030),ve=te(86641),fe=te(45915),be=te(82855),de=te(48755),Le=te(38406),we=te(2171),Te=te(83397),xe=te(31756),Fe=te(56553),Ce=te(24971),De=te(70045),Be=te(57700),Ze=te(1722),rt=te(90376),ce=te(68525),ke=te(90005),qe=function(lt,Se){var Qe={};for(var he in lt)Object.prototype.hasOwnProperty.call(lt,he)&&Se.indexOf(he)<0&&(Qe[he]=lt[he]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,he=Object.getOwnPropertySymbols(lt);ye<he.length;ye++)Se.indexOf(he[ye])<0&&Object.prototype.propertyIsEnumerable.call(lt,he[ye])&&(Qe[he[ye]]=lt[he[ye]]);return Qe};const _e="SECRET_COMBOBOX_MODE_DO_NOT_USE",mt=(lt,Se)=>{var Qe;const{prefixCls:he,bordered:ye,className:Ct,rootClassName:Ke,getPopupContainer:yt,popupClassName:Dt,dropdownClassName:Ge,listHeight:Ae=256,placement:ot,listItemHeight:zt,size:Et,disabled:Oe,notFoundContent:Je,status:dt,builtinPlacements:It,dropdownMatchSelectWidth:st,popupMatchSelectWidth:Ft,direction:ft,style:Gt,allowClear:Pt,variant:oe,dropdownStyle:ae,transitionName:ee,tagRender:E,maxCount:re,prefix:ne}=lt,le=qe(lt,["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:ge,getPrefixCls:Ee,renderEmpty:ze,direction:je,virtual:Xe,popupMatchSelectWidth:it,popupOverflow:pt}=b.useContext(de.E_),He=(0,de.dj)("select"),[,et]=(0,Be.ZP)(),$t=zt!=null?zt:et==null?void 0:et.controlHeight,Lt=Ee("select",he),qt=Ee(),Nt=ft!=null?ft:je,{compactSize:Mt,compactItemClassnames:Kt}=(0,De.ri)(Lt,Nt),[Jt,gt]=(0,Ce.Z)("select",oe,ye),kt=(0,Te.Z)(Lt),[nn,vn,ct]=(0,rt.Z)(Lt,kt),wt=b.useMemo(()=>{const{mode:Ir}=lt;if(Ir!=="combobox")return Ir===_e?"combobox":Ir},[lt.mode]),Wt=wt==="multiple"||wt==="tags",on=(0,ke.Z)(lt.suffixIcon,lt.showArrow),fn=(Qe=Ft!=null?Ft:st)!==null&&Qe!==void 0?Qe:it,{status:Pn,hasFeedback:Vn,isFormItemInput:Gn,feedbackIcon:Bn}=b.useContext(Fe.aM),Un=(0,be.F)(Pn,dt);let Rt;Je!==void 0?Rt=Je:wt==="combobox"?Rt=null:Rt=(ze==null?void 0:ze("Select"))||b.createElement(Le.Z,{componentName:"Select"});const{suffixIcon:Bt,itemIcon:un,removeIcon:en,clearIcon:Qt}=(0,ce.Z)(Object.assign(Object.assign({},le),{multiple:Wt,hasFeedback:Vn,feedbackIcon:Bn,showSuffixIcon:on,prefixCls:Lt,componentName:"Select"})),wn=Pt===!0?{clearIcon:Qt}:Pt,bn=(0,Pe.Z)(le,["suffixIcon","itemIcon"]),kn=pe()(Dt||Ge,{[`${Lt}-dropdown-${Nt}`]:Nt==="rtl"},Ke,ct,kt,vn),Xn=(0,xe.Z)(Ir=>{var Sn;return(Sn=Et!=null?Et:Mt)!==null&&Sn!==void 0?Sn:Ir}),zn=b.useContext(we.Z),Fn=Oe!=null?Oe:zn,nr=pe()({[`${Lt}-lg`]:Xn==="large",[`${Lt}-sm`]:Xn==="small",[`${Lt}-rtl`]:Nt==="rtl",[`${Lt}-${Jt}`]:gt,[`${Lt}-in-form-item`]:Gn},(0,be.Z)(Lt,Un,Vn),Kt,He.className,Ct,Ke,ct,kt,vn),tr=b.useMemo(()=>ot!==void 0?ot:Nt==="rtl"?"bottomRight":"bottomLeft",[ot,Nt]),[Rr]=(0,me.Cn)("SelectLike",ae==null?void 0:ae.zIndex);return nn(b.createElement(Ue.ZP,Object.assign({ref:Se,virtual:Xe,showSearch:He.showSearch},bn,{style:Object.assign(Object.assign({},He.style),Gt),dropdownMatchSelectWidth:fn,transitionName:(0,ve.m)(qt,"slide-up",ee),builtinPlacements:(0,Ze.Z)(It,pt),listHeight:Ae,listItemHeight:$t,mode:wt,prefixCls:Lt,placement:tr,direction:Nt,prefix:ne,suffixIcon:Bt,menuItemSelectedIcon:un,removeIcon:en,allowClear:wn,notFoundContent:Rt,className:nr,getPopupContainer:yt||ge,dropdownClassName:kn,disabled:Fn,dropdownStyle:Object.assign(Object.assign({},ae),{zIndex:Rr}),maxCount:Wt?re:void 0,tagRender:Wt?E:void 0})))},Re=b.forwardRef(mt),Ye=(0,fe.Z)(Re,"dropdownAlign");Re.SECRET_COMBOBOX_MODE_DO_NOT_USE=_e,Re.Option=Ue.Wx,Re.OptGroup=Ue.Xo,Re._InternalPanelDoNotUseOrYouWillBeFired=Ye,sn.default=Re},1722:function(Tn,sn){"use strict";const te=tt=>{const Ue={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:tt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Ue),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ue),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ue),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ue),{points:["br","tr"],offset:[0,-4]})}};function b(tt,pe){return tt||te(pe)}sn.Z=b},90376:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return he}});var b=te(63356),tt=te(56119),pe=te(16931),Ue=te(51636),Pe=te(46e3),me=te(93873);const ve=ye=>{const{optionHeight:Ct,optionFontSize:Ke,optionLineHeight:yt,optionPadding:Dt}=ye;return{position:"relative",display:"block",minHeight:Ct,padding:Dt,color:ye.colorText,fontWeight:"normal",fontSize:Ke,lineHeight:yt,boxSizing:"border-box"}};var be=ye=>{const{antCls:Ct,componentCls:Ke}=ye,yt=`${Ke}-item`,Dt=`&${Ct}-slide-up-enter${Ct}-slide-up-enter-active`,Ge=`&${Ct}-slide-up-appear${Ct}-slide-up-appear-active`,Ae=`&${Ct}-slide-up-leave${Ct}-slide-up-leave-active`,ot=`${Ke}-dropdown-placement-`,zt=`${yt}-option-selected`;return[{[`${Ke}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(ye)),{position:"absolute",top:-9999,zIndex:ye.zIndexPopup,boxSizing:"border-box",padding:ye.paddingXXS,overflow:"hidden",fontSize:ye.fontSize,fontVariant:"initial",backgroundColor:ye.colorBgElevated,borderRadius:ye.borderRadiusLG,outline:"none",boxShadow:ye.boxShadowSecondary,[`
|
|
|
${Dt}${ot}bottomLeft,
|
|
|
${Ge}${ot}bottomLeft
|
|
|
`]:{animationName:Pe.fJ},[`
|
|
|
${Dt}${ot}topLeft,
|
|
|
${Ge}${ot}topLeft,
|
|
|
${Dt}${ot}topRight,
|
|
|
${Ge}${ot}topRight
|
|
|
`]:{animationName:Pe.Qt},[`${Ae}${ot}bottomLeft`]:{animationName:Pe.Uw},[`
|
|
|
${Ae}${ot}topLeft,
|
|
|
${Ae}${ot}topRight
|
|
|
`]:{animationName:Pe.ly},"&-hidden":{display:"none"},[yt]:Object.assign(Object.assign({},ve(ye)),{cursor:"pointer",transition:`background ${ye.motionDurationSlow} ease`,borderRadius:ye.borderRadiusSM,"&-group":{color:ye.colorTextDescription,fontSize:ye.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${yt}-option-disabled)`]:{backgroundColor:ye.optionActiveBg},[`&-selected:not(${yt}-option-disabled)`]:{color:ye.optionSelectedColor,fontWeight:ye.optionSelectedFontWeight,backgroundColor:ye.optionSelectedBg,[`${yt}-option-state`]:{color:ye.colorPrimary}},"&-disabled":{[`&${yt}-option-selected`]:{backgroundColor:ye.colorBgContainerDisabled},color:ye.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ye.calc(ye.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ve(ye)),{color:ye.colorTextDisabled})}),[`${zt}:has(+ ${zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Pe.oN)(ye,"slide-up"),(0,Pe.oN)(ye,"slide-down"),(0,me.Fm)(ye,"move-up"),(0,me.Fm)(ye,"move-down")]},de=te(26743),Le=te(36237);function we(ye,Ct){const{componentCls:Ke,inputPaddingHorizontalBase:yt,borderRadius:Dt}=ye,Ge=ye.calc(ye.controlHeight).sub(ye.calc(ye.lineWidth).mul(2)).equal(),Ae=Ct?`${Ke}-${Ct}`:"";return{[`${Ke}-single${Ae}`]:{fontSize:ye.fontSize,height:ye.controlHeight,[`${Ke}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(ye,!0)),{display:"flex",borderRadius:Dt,flex:"1 1 auto",[`${Ke}-selection-wrap:after`]:{lineHeight:(0,Le.unit)(Ge)},[`${Ke}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${Ke}-selection-item,
|
|
|
${Ke}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Le.unit)(Ge),transition:`all ${ye.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Ke}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ke}-selection-item:empty:after`,`${Ke}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Ke}-show-arrow ${Ke}-selection-item,
|
|
|
&${Ke}-show-arrow ${Ke}-selection-search,
|
|
|
&${Ke}-show-arrow ${Ke}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ye.showArrowPaddingInlineEnd},[`&${Ke}-open ${Ke}-selection-item`]:{color:ye.colorTextPlaceholder},[`&:not(${Ke}-customize-input)`]:{[`${Ke}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Le.unit)(yt)}`,[`${Ke}-selection-search-input`]:{height:Ge,fontSize:ye.fontSize},"&:after":{lineHeight:(0,Le.unit)(Ge)}}},[`&${Ke}-customize-input`]:{[`${Ke}-selector`]:{"&:after":{display:"none"},[`${Ke}-selection-search`]:{position:"static",width:"100%"},[`${Ke}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Le.unit)(yt)}`,"&:after":{display:"none"}}}}}}}function Te(ye){const{componentCls:Ct}=ye,Ke=ye.calc(ye.controlPaddingHorizontalSM).sub(ye.lineWidth).equal();return[we(ye),we((0,Ue.mergeToken)(ye,{controlHeight:ye.controlHeightSM,borderRadius:ye.borderRadiusSM}),"sm"),{[`${Ct}-single${Ct}-sm`]:{[`&:not(${Ct}-customize-input)`]:{[`${Ct}-selector`]:{padding:`0 ${(0,Le.unit)(Ke)}`},[`&${Ct}-show-arrow ${Ct}-selection-search`]:{insetInlineEnd:ye.calc(Ke).add(ye.calc(ye.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Ct}-show-arrow ${Ct}-selection-item,
|
|
|
&${Ct}-show-arrow ${Ct}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ye.calc(ye.fontSize).mul(1.5).equal()}}}},we((0,Ue.mergeToken)(ye,{controlHeight:ye.singleItemHeightLG,fontSize:ye.fontSizeLG,borderRadius:ye.borderRadiusLG}),"lg")]}const xe=ye=>{const{fontSize:Ct,lineHeight:Ke,lineWidth:yt,controlHeight:Dt,controlHeightSM:Ge,controlHeightLG:Ae,paddingXXS:ot,controlPaddingHorizontal:zt,zIndexPopupBase:Et,colorText:Oe,fontWeightStrong:Je,controlItemBgActive:dt,controlItemBgHover:It,colorBgContainer:st,colorFillSecondary:Ft,colorBgContainerDisabled:ft,colorTextDisabled:Gt,colorPrimaryHover:Pt,colorPrimary:oe,controlOutline:ae}=ye,ee=ot*2,E=yt*2,re=Math.min(Dt-ee,Dt-E),ne=Math.min(Ge-ee,Ge-E),le=Math.min(Ae-ee,Ae-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(ot/2),zIndexPopup:Et+50,optionSelectedColor:Oe,optionSelectedFontWeight:Je,optionSelectedBg:dt,optionActiveBg:It,optionPadding:`${(Dt-Ct*Ke)/2}px ${zt}px`,optionFontSize:Ct,optionLineHeight:Ke,optionHeight:Dt,selectorBg:st,clearBg:st,singleItemHeightLG:Ae,multipleItemBg:Ft,multipleItemBorderColor:"transparent",multipleItemHeight:re,multipleItemHeightSM:ne,multipleItemHeightLG:le,multipleSelectorBgDisabled:ft,multipleItemColorDisabled:Gt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ye.fontSize*1.25),hoverBorderColor:Pt,activeBorderColor:oe,activeOutlineColor:ae,selectAffixPadding:ot}},Fe=(ye,Ct)=>{const{componentCls:Ke,antCls:yt,controlOutlineWidth:Dt}=ye;return{[`&:not(${Ke}-customize-input) ${Ke}-selector`]:{border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} ${Ct.borderColor}`,background:ye.selectorBg},[`&:not(${Ke}-disabled):not(${Ke}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${Ke}-selector`]:{borderColor:Ct.hoverBorderHover},[`${Ke}-focused& ${Ke}-selector`]:{borderColor:Ct.activeBorderColor,boxShadow:`0 0 0 ${(0,Le.unit)(Dt)} ${Ct.activeOutlineColor}`,outline:0},[`${Ke}-prefix`]:{color:Ct.color}}}},Ce=(ye,Ct)=>({[`&${ye.componentCls}-status-${Ct.status}`]:Object.assign({},Fe(ye,Ct))}),De=ye=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Fe(ye,{borderColor:ye.colorBorder,hoverBorderHover:ye.hoverBorderColor,activeBorderColor:ye.activeBorderColor,activeOutlineColor:ye.activeOutlineColor,color:ye.colorText})),Ce(ye,{status:"error",borderColor:ye.colorError,hoverBorderHover:ye.colorErrorHover,activeBorderColor:ye.colorError,activeOutlineColor:ye.colorErrorOutline,color:ye.colorError})),Ce(ye,{status:"warning",borderColor:ye.colorWarning,hoverBorderHover:ye.colorWarningHover,activeBorderColor:ye.colorWarning,activeOutlineColor:ye.colorWarningOutline,color:ye.colorWarning})),{[`&${ye.componentCls}-disabled`]:{[`&:not(${ye.componentCls}-customize-input) ${ye.componentCls}-selector`]:{background:ye.colorBgContainerDisabled,color:ye.colorTextDisabled}},[`&${ye.componentCls}-multiple ${ye.componentCls}-selection-item`]:{background:ye.multipleItemBg,border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} ${ye.multipleItemBorderColor}`}})}),Be=(ye,Ct)=>{const{componentCls:Ke,antCls:yt}=ye;return{[`&:not(${Ke}-customize-input) ${Ke}-selector`]:{background:Ct.bg,border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} transparent`,color:Ct.color},[`&:not(${Ke}-disabled):not(${Ke}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${Ke}-selector`]:{background:Ct.hoverBg},[`${Ke}-focused& ${Ke}-selector`]:{background:ye.selectorBg,borderColor:Ct.activeBorderColor,outline:0}}}},Ze=(ye,Ct)=>({[`&${ye.componentCls}-status-${Ct.status}`]:Object.assign({},Be(ye,Ct))}),rt=ye=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Be(ye,{bg:ye.colorFillTertiary,hoverBg:ye.colorFillSecondary,activeBorderColor:ye.activeBorderColor,color:ye.colorText})),Ze(ye,{status:"error",bg:ye.colorErrorBg,hoverBg:ye.colorErrorBgHover,activeBorderColor:ye.colorError,color:ye.colorError})),Ze(ye,{status:"warning",bg:ye.colorWarningBg,hoverBg:ye.colorWarningBgHover,activeBorderColor:ye.colorWarning,color:ye.colorWarning})),{[`&${ye.componentCls}-disabled`]:{[`&:not(${ye.componentCls}-customize-input) ${ye.componentCls}-selector`]:{borderColor:ye.colorBorder,background:ye.colorBgContainerDisabled,color:ye.colorTextDisabled}},[`&${ye.componentCls}-multiple ${ye.componentCls}-selection-item`]:{background:ye.colorBgContainer,border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} ${ye.colorSplit}`}})}),ce=ye=>({"&-borderless":{[`${ye.componentCls}-selector`]:{background:"transparent",border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} transparent`},[`&${ye.componentCls}-disabled`]:{[`&:not(${ye.componentCls}-customize-input) ${ye.componentCls}-selector`]:{color:ye.colorTextDisabled}},[`&${ye.componentCls}-multiple ${ye.componentCls}-selection-item`]:{background:ye.multipleItemBg,border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} ${ye.multipleItemBorderColor}`},[`&${ye.componentCls}-status-error`]:{[`${ye.componentCls}-prefix, ${ye.componentCls}-selection-item`]:{color:ye.colorError}},[`&${ye.componentCls}-status-warning`]:{[`${ye.componentCls}-prefix, ${ye.componentCls}-selection-item`]:{color:ye.colorWarning}}}}),ke=(ye,Ct)=>{const{componentCls:Ke,antCls:yt}=ye;return{[`&:not(${Ke}-customize-input) ${Ke}-selector`]:{borderWidth:`0 0 ${(0,Le.unit)(ye.lineWidth)} 0`,borderStyle:`none none ${ye.lineType} none`,borderColor:Ct.borderColor,background:ye.selectorBg,borderRadius:0},[`&:not(${Ke}-disabled):not(${Ke}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${Ke}-selector`]:{borderColor:Ct.hoverBorderHover},[`${Ke}-focused& ${Ke}-selector`]:{borderColor:Ct.activeBorderColor,outline:0},[`${Ke}-prefix`]:{color:Ct.color}}}},qe=(ye,Ct)=>({[`&${ye.componentCls}-status-${Ct.status}`]:Object.assign({},ke(ye,Ct))}),_e=ye=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},ke(ye,{borderColor:ye.colorBorder,hoverBorderHover:ye.hoverBorderColor,activeBorderColor:ye.activeBorderColor,activeOutlineColor:ye.activeOutlineColor,color:ye.colorText})),qe(ye,{status:"error",borderColor:ye.colorError,hoverBorderHover:ye.colorErrorHover,activeBorderColor:ye.colorError,activeOutlineColor:ye.colorErrorOutline,color:ye.colorError})),qe(ye,{status:"warning",borderColor:ye.colorWarning,hoverBorderHover:ye.colorWarningHover,activeBorderColor:ye.colorWarning,activeOutlineColor:ye.colorWarningOutline,color:ye.colorWarning})),{[`&${ye.componentCls}-disabled`]:{[`&:not(${ye.componentCls}-customize-input) ${ye.componentCls}-selector`]:{color:ye.colorTextDisabled}},[`&${ye.componentCls}-multiple ${ye.componentCls}-selection-item`]:{background:ye.multipleItemBg,border:`${(0,Le.unit)(ye.lineWidth)} ${ye.lineType} ${ye.multipleItemBorderColor}`}})});var Re=ye=>({[ye.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},De(ye)),rt(ye)),ce(ye)),_e(ye))});const Ye=ye=>{const{componentCls:Ct}=ye;return{position:"relative",transition:`all ${ye.motionDurationMid} ${ye.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ct}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ct}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},lt=ye=>{const{componentCls:Ct}=ye;return{[`${Ct}-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"}}}},Se=ye=>{const{antCls:Ct,componentCls:Ke,inputPaddingHorizontalBase:yt,iconCls:Dt}=ye;return{[Ke]:Object.assign(Object.assign({},(0,b.Wf)(ye)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Ke}-customize-input) ${Ke}-selector`]:Object.assign(Object.assign({},Ye(ye)),lt(ye)),[`${Ke}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Ct}-typography`]:{display:"inline"}}),[`${Ke}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:ye.colorTextPlaceholder,pointerEvents:"none"}),[`${Ke}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,height:ye.fontSizeIcon,marginTop:ye.calc(ye.fontSizeIcon).mul(-1).div(2).equal(),color:ye.colorTextQuaternary,fontSize:ye.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${ye.motionDurationSlow} ease`,[Dt]:{verticalAlign:"top",transition:`transform ${ye.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ke}-suffix)`]:{pointerEvents:"auto"}},[`${Ke}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ke}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Ke}-prefix`]:{flex:"none",marginInlineEnd:ye.selectAffixPadding},[`${Ke}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,zIndex:1,display:"inline-block",width:ye.fontSizeIcon,height:ye.fontSizeIcon,marginTop:ye.calc(ye.fontSizeIcon).mul(-1).div(2).equal(),color:ye.colorTextQuaternary,fontSize:ye.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${ye.motionDurationMid} ease, opacity ${ye.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ye.colorTextTertiary}},[`&:hover ${Ke}-clear`]:{opacity:1,background:ye.colorBgBase,borderRadius:"50%"}}),[`${Ke}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Ke}-has-feedback`]:{[`${Ke}-clear`]:{insetInlineEnd:ye.calc(yt).add(ye.fontSize).add(ye.paddingXS).equal()}}}}}},Qe=ye=>{const{componentCls:Ct}=ye;return[{[Ct]:{[`&${Ct}-in-form-item`]:{width:"100%"}}},Se(ye),Te(ye),(0,de.ZP)(ye),be(ye),{[`${Ct}-rtl`]:{direction:"rtl"}},(0,tt.c)(ye,{borderElCls:`${Ct}-selector`,focusElCls:`${Ct}-focused`})]};var he=(0,pe.I$)("Select",(ye,Ct)=>{let{rootPrefixCls:Ke}=Ct;const yt=(0,Ue.mergeToken)(ye,{rootPrefixCls:Ke,inputPaddingHorizontalBase:ye.calc(ye.paddingSM).sub(1).equal(),multipleSelectItemHeight:ye.multipleItemHeight,selectHeight:ye.controlHeight});return[Qe(yt),Re(yt)]},xe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Tn,sn,te){"use strict";te.d(sn,{_z:function(){return me},gp:function(){return Ue}});var b=te(36237),tt=te(63356),pe=te(51636);const Ue=de=>{const{multipleSelectItemHeight:Le,paddingXXS:we,lineWidth:Te,INTERNAL_FIXED_ITEM_MARGIN:xe}=de,Fe=de.max(de.calc(we).sub(Te).equal(),0),Ce=de.max(de.calc(Fe).sub(xe).equal(),0);return{basePadding:Fe,containerPadding:Ce,itemHeight:(0,b.unit)(Le),itemLineHeight:(0,b.unit)(de.calc(Le).sub(de.calc(de.lineWidth).mul(2)).equal())}},Pe=de=>{const{multipleSelectItemHeight:Le,selectHeight:we,lineWidth:Te}=de;return de.calc(we).sub(Le).div(2).sub(Te).equal()},me=de=>{const{componentCls:Le,iconCls:we,borderRadiusSM:Te,motionDurationSlow:xe,paddingXS:Fe,multipleItemColorDisabled:Ce,multipleItemBorderColorDisabled:De,colorIcon:Be,colorIconHover:Ze,INTERNAL_FIXED_ITEM_MARGIN:rt}=de;return{[`${Le}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Le}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:rt,borderRadius:Te,cursor:"default",transition:`font-size ${xe}, line-height ${xe}, height ${xe}`,marginInlineEnd:de.calc(rt).mul(2).equal(),paddingInlineStart:Fe,paddingInlineEnd:de.calc(Fe).div(2).equal(),[`${Le}-disabled&`]:{color:Ce,borderColor:De,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:de.calc(Fe).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,tt.Ro)()),{display:"inline-flex",alignItems:"center",color:Be,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${we}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze}})}}}},ve=(de,Le)=>{const{componentCls:we,INTERNAL_FIXED_ITEM_MARGIN:Te}=de,xe=`${we}-selection-overflow`,Fe=de.multipleSelectItemHeight,Ce=Pe(de),De=Le?`${we}-${Le}`:"",Be=Ue(de);return{[`${we}-multiple${De}`]:Object.assign(Object.assign({},me(de)),{[`${we}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Be.basePadding,paddingBlock:Be.containerPadding,borderRadius:de.borderRadius,[`${we}-disabled&`]:{background:de.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(Te)} 0`,lineHeight:(0,b.unit)(Fe),visibility:"hidden",content:'"\\a0"'}},[`${we}-selection-item`]:{height:Be.itemHeight,lineHeight:(0,b.unit)(Be.itemLineHeight)},[`${we}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(Fe),marginBlock:Te}},[`${we}-prefix`]:{marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Be.basePadding).equal()},[`${xe}-item + ${xe}-item,
|
|
|
${we}-prefix + ${we}-selection-wrap
|
|
|
`]:{[`${we}-selection-search`]:{marginInlineStart:0},[`${we}-selection-placeholder`]:{insetInlineStart:0}},[`${xe}-item-suffix`]:{minHeight:Be.itemHeight,marginBlock:Te},[`${we}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Ce).equal(),"\n &-input,\n &-mirror\n ":{height:Fe,fontFamily:de.fontFamily,lineHeight:(0,b.unit)(Fe),transition:`all ${de.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${we}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(Be.basePadding).equal(),insetInlineEnd:de.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${de.motionDurationSlow}`}})}};function fe(de,Le){const{componentCls:we}=de,Te=Le?`${we}-${Le}`:"",xe={[`${we}-multiple${Te}`]:{fontSize:de.fontSize,[`${we}-selector`]:{[`${we}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${we}-show-arrow ${we}-selector,
|
|
|
&${we}-allow-clear ${we}-selector
|
|
|
`]:{paddingInlineEnd:de.calc(de.fontSizeIcon).add(de.controlPaddingHorizontal).equal()}}};return[ve(de,Le),xe]}const be=de=>{const{componentCls:Le}=de,we=(0,pe.mergeToken)(de,{selectHeight:de.controlHeightSM,multipleSelectItemHeight:de.multipleItemHeightSM,borderRadius:de.borderRadiusSM,borderRadiusSM:de.borderRadiusXS}),Te=(0,pe.mergeToken)(de,{fontSize:de.fontSizeLG,selectHeight:de.controlHeightLG,multipleSelectItemHeight:de.multipleItemHeightLG,borderRadius:de.borderRadiusLG,borderRadiusSM:de.borderRadius});return[fe(de),fe(we,"sm"),{[`${Le}-multiple${Le}-sm`]:{[`${Le}-selection-placeholder`]:{insetInline:de.calc(de.controlPaddingHorizontalSM).sub(de.lineWidth).equal()},[`${Le}-selection-search`]:{marginInlineStart:2}}},fe(Te,"lg")]};sn.ZP=be},68525:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});var b=te(59301),tt=te(40001),pe=te(19248),Ue=te(99267),Pe=te(84105),me=te(58617),ve=te(47472);function fe(be){let{suffixIcon:de,clearIcon:Le,menuItemSelectedIcon:we,removeIcon:Te,loading:xe,multiple:Fe,hasFeedback:Ce,prefixCls:De,showSuffixIcon:Be,feedbackIcon:Ze,showArrow:rt,componentName:ce}=be;const ke=Le!=null?Le:b.createElement(pe.Z,null),qe=Ye=>de===null&&!Ce&&!rt?null:b.createElement(b.Fragment,null,Be!==!1&&Ye,Ce&&Ze);let _e=null;if(de!==void 0)_e=qe(de);else if(xe)_e=qe(b.createElement(me.Z,{spin:!0}));else{const Ye=`${De}-suffix`;_e=lt=>{let{open:Se,showSearch:Qe}=lt;return qe(Se&&Qe?b.createElement(ve.Z,{className:Ye}):b.createElement(Pe.Z,{className:Ye}))}}let mt=null;we!==void 0?mt=we:Fe?mt=b.createElement(tt.Z,null):mt=null;let Re=null;return Te!==void 0?Re=Te:Re=b.createElement(Ue.Z,null),{clearIcon:ke,suffixIcon:_e,itemIcon:mt,removeIcon:Re}}},90005:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return b}});function b(tt,pe){return pe!==void 0?pe:tt!==null}},11938:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return lt}});var b=te(59301),tt=te(40192),pe=te(22703),Ue=te(92310),Pe=te.n(Ue),me=te(26112),ve=te(48755),fe=te(458),de=Se=>{const{value:Qe,formatter:he,precision:ye,decimalSeparator:Ct,groupSeparator:Ke="",prefixCls:yt}=Se;let Dt;if(typeof he=="function")Dt=he(Qe);else{const Ge=String(Qe),Ae=Ge.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ae||Ge==="-")Dt=Ge;else{const ot=Ae[1];let zt=Ae[2]||"0",Et=Ae[4]||"";zt=zt.replace(/\B(?=(\d{3})+(?!\d))/g,Ke),typeof ye=="number"&&(Et=Et.padEnd(ye,"0").slice(0,ye>0?ye:0)),Et&&(Et=`${Ct}${Et}`),Dt=[b.createElement("span",{key:"int",className:`${yt}-content-value-int`},ot,zt),Et&&b.createElement("span",{key:"decimal",className:`${yt}-content-value-decimal`},Et)]}}return b.createElement("span",{className:`${yt}-content-value`},Dt)},Le=te(63356),we=te(16931),Te=te(51636);const xe=Se=>{const{componentCls:Qe,marginXXS:he,padding:ye,colorTextDescription:Ct,titleFontSize:Ke,colorTextHeading:yt,contentFontSize:Dt,fontFamily:Ge}=Se;return{[Qe]:Object.assign(Object.assign({},(0,Le.Wf)(Se)),{[`${Qe}-title`]:{marginBottom:he,color:Ct,fontSize:Ke},[`${Qe}-skeleton`]:{paddingTop:ye},[`${Qe}-content`]:{color:yt,fontSize:Dt,fontFamily:Ge,[`${Qe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Qe}-content-prefix, ${Qe}-content-suffix`]:{display:"inline-block"},[`${Qe}-content-prefix`]:{marginInlineEnd:he},[`${Qe}-content-suffix`]:{marginInlineStart:he}}})}},Fe=Se=>{const{fontSizeHeading3:Qe,fontSize:he}=Se;return{titleFontSize:he,contentFontSize:Qe}};var Ce=(0,we.I$)("Statistic",Se=>{const Qe=(0,Te.mergeToken)(Se,{});return[xe(Qe)]},Fe),De=function(Se,Qe){var he={};for(var ye in Se)Object.prototype.hasOwnProperty.call(Se,ye)&&Qe.indexOf(ye)<0&&(he[ye]=Se[ye]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ye=Object.getOwnPropertySymbols(Se);Ct<ye.length;Ct++)Qe.indexOf(ye[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Se,ye[Ct])&&(he[ye[Ct]]=Se[ye[Ct]]);return he},Ze=Se=>{const{prefixCls:Qe,className:he,rootClassName:ye,style:Ct,valueStyle:Ke,value:yt=0,title:Dt,valueRender:Ge,prefix:Ae,suffix:ot,loading:zt=!1,formatter:Et,precision:Oe,decimalSeparator:Je=".",groupSeparator:dt=",",onMouseEnter:It,onMouseLeave:st}=Se,Ft=De(Se,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ft,direction:Gt,className:Pt,style:oe}=(0,ve.dj)("statistic"),ae=ft("statistic",Qe),[ee,E,re]=Ce(ae),ne=b.createElement(de,{decimalSeparator:Je,groupSeparator:dt,prefixCls:ae,formatter:Et,precision:Oe,value:yt}),le=Pe()(ae,{[`${ae}-rtl`]:Gt==="rtl"},Pt,he,ye,E,re),ge=(0,me.Z)(Ft,{aria:!0,data:!0});return ee(b.createElement("div",Object.assign({},ge,{className:le,style:Object.assign(Object.assign({},oe),Ct),onMouseEnter:It,onMouseLeave:st}),Dt&&b.createElement("div",{className:`${ae}-title`},Dt),b.createElement(fe.Z,{paragraph:!1,loading:zt,className:`${ae}-skeleton`},b.createElement("div",{style:Ke,className:`${ae}-content`},Ae&&b.createElement("span",{className:`${ae}-content-prefix`},Ae),Ge?Ge(ne):ne,ot&&b.createElement("span",{className:`${ae}-content-suffix`},ot)))))};const rt=[["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 ce(Se,Qe){let he=Se;const ye=/\[[^\]]*]/g,Ct=(Qe.match(ye)||[]).map(Ge=>Ge.slice(1,-1)),Ke=Qe.replace(ye,"[]"),yt=rt.reduce((Ge,Ae)=>{let[ot,zt]=Ae;if(Ge.includes(ot)){const Et=Math.floor(he/zt);return he-=Et*zt,Ge.replace(new RegExp(`${ot}+`,"g"),Oe=>{const Je=Oe.length;return Et.toString().padStart(Je,"0")})}return Ge},Ke);let Dt=0;return yt.replace(ye,()=>{const Ge=Ct[Dt];return Dt+=1,Ge})}function ke(Se,Qe){const{format:he=""}=Qe,ye=new Date(Se).getTime(),Ct=Date.now(),Ke=Math.max(ye-Ct,0);return ce(Ke,he)}var qe=function(Se,Qe){var he={};for(var ye in Se)Object.prototype.hasOwnProperty.call(Se,ye)&&Qe.indexOf(ye)<0&&(he[ye]=Se[ye]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ye=Object.getOwnPropertySymbols(Se);Ct<ye.length;Ct++)Qe.indexOf(ye[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Se,ye[Ct])&&(he[ye[Ct]]=Se[ye[Ct]]);return he};const _e=1e3/30;function mt(Se){return new Date(Se).getTime()}const Re=Se=>{const{value:Qe,format:he="HH:mm:ss",onChange:ye,onFinish:Ct}=Se,Ke=qe(Se,["value","format","onChange","onFinish"]),yt=(0,tt.Z)(),Dt=b.useRef(null),Ge=()=>{Ct==null||Ct(),Dt.current&&(clearInterval(Dt.current),Dt.current=null)},Ae=()=>{const Et=mt(Qe);Et>=Date.now()&&(Dt.current=setInterval(()=>{yt(),ye==null||ye(Et-Date.now()),Et<Date.now()&&Ge()},_e))};b.useEffect(()=>(Ae(),()=>{Dt.current&&(clearInterval(Dt.current),Dt.current=null)}),[Qe]);const ot=(Et,Oe)=>ke(Et,Object.assign(Object.assign({},Oe),{format:he})),zt=Et=>(0,pe.Tm)(Et,{title:void 0});return b.createElement(Ze,Object.assign({},Ke,{value:Qe,valueRender:zt,formatter:ot}))};var Ye=b.memo(Re);Ze.Countdown=Ye;var lt=Ze},58755:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Ct}});var b=te(59301),tt=te(58617),pe=te(92310),Ue=te.n(pe),Pe=te(60499),me=te(18642),ve=te(72190),fe=te(42244),be=te(18929),de=te(10228),Le=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],we=b.forwardRef(function(Ke,yt){var Dt,Ge=Ke.prefixCls,Ae=Ge===void 0?"rc-switch":Ge,ot=Ke.className,zt=Ke.checked,Et=Ke.defaultChecked,Oe=Ke.disabled,Je=Ke.loadingIcon,dt=Ke.checkedChildren,It=Ke.unCheckedChildren,st=Ke.onClick,Ft=Ke.onChange,ft=Ke.onKeyDown,Gt=(0,fe.Z)(Ke,Le),Pt=(0,be.Z)(!1,{value:zt,defaultValue:Et}),oe=(0,ve.Z)(Pt,2),ae=oe[0],ee=oe[1];function E(ge,Ee){var ze=ae;return Oe||(ze=ge,ee(ze),Ft==null||Ft(ze,Ee)),ze}function re(ge){ge.which===de.Z.LEFT?E(!1,ge):ge.which===de.Z.RIGHT&&E(!0,ge),ft==null||ft(ge)}function ne(ge){var Ee=E(!ae,ge);st==null||st(Ee,ge)}var le=Ue()(Ae,ot,(Dt={},(0,me.Z)(Dt,"".concat(Ae,"-checked"),ae),(0,me.Z)(Dt,"".concat(Ae,"-disabled"),Oe),Dt));return b.createElement("button",(0,Pe.Z)({},Gt,{type:"button",role:"switch","aria-checked":ae,disabled:Oe,className:le,ref:yt,onKeyDown:re,onClick:ne}),Je,b.createElement("span",{className:"".concat(Ae,"-inner")},b.createElement("span",{className:"".concat(Ae,"-inner-checked")},dt),b.createElement("span",{className:"".concat(Ae,"-inner-unchecked")},It)))});we.displayName="Switch";var Te=we,xe=te(12919),Fe=te(48755),Ce=te(2171),De=te(31756),Be=te(36237),Ze=te(17835),rt=te(63356),ce=te(16931),ke=te(51636);const qe=Ke=>{const{componentCls:yt,trackHeightSM:Dt,trackPadding:Ge,trackMinWidthSM:Ae,innerMinMarginSM:ot,innerMaxMarginSM:zt,handleSizeSM:Et,calc:Oe}=Ke,Je=`${yt}-inner`,dt=(0,Be.unit)(Oe(Et).add(Oe(Ge).mul(2)).equal()),It=(0,Be.unit)(Oe(zt).mul(2).equal());return{[yt]:{[`&${yt}-small`]:{minWidth:Ae,height:Dt,lineHeight:(0,Be.unit)(Dt),[`${yt}-inner`]:{paddingInlineStart:zt,paddingInlineEnd:ot,[`${Je}-checked, ${Je}-unchecked`]:{minHeight:Dt},[`${Je}-checked`]:{marginInlineStart:`calc(-100% + ${dt} - ${It})`,marginInlineEnd:`calc(100% - ${dt} + ${It})`},[`${Je}-unchecked`]:{marginTop:Oe(Dt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${yt}-handle`]:{width:Et,height:Et},[`${yt}-loading-icon`]:{top:Oe(Oe(Et).sub(Ke.switchLoadingIconSize)).div(2).equal(),fontSize:Ke.switchLoadingIconSize},[`&${yt}-checked`]:{[`${yt}-inner`]:{paddingInlineStart:ot,paddingInlineEnd:zt,[`${Je}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Je}-unchecked`]:{marginInlineStart:`calc(100% - ${dt} + ${It})`,marginInlineEnd:`calc(-100% + ${dt} - ${It})`}},[`${yt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Be.unit)(Oe(Et).add(Ge).equal())})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${Je}`]:{[`${Je}-unchecked`]:{marginInlineStart:Oe(Ke.marginXXS).div(2).equal(),marginInlineEnd:Oe(Ke.marginXXS).mul(-1).div(2).equal()}},[`&${yt}-checked ${Je}`]:{[`${Je}-checked`]:{marginInlineStart:Oe(Ke.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Oe(Ke.marginXXS).div(2).equal()}}}}}}},_e=Ke=>{const{componentCls:yt,handleSize:Dt,calc:Ge}=Ke;return{[yt]:{[`${yt}-loading-icon${Ke.iconCls}`]:{position:"relative",top:Ge(Ge(Dt).sub(Ke.fontSize)).div(2).equal(),color:Ke.switchLoadingIconColor,verticalAlign:"top"},[`&${yt}-checked ${yt}-loading-icon`]:{color:Ke.switchColor}}}},mt=Ke=>{const{componentCls:yt,trackPadding:Dt,handleBg:Ge,handleShadow:Ae,handleSize:ot,calc:zt}=Ke,Et=`${yt}-handle`;return{[yt]:{[Et]:{position:"absolute",top:Dt,insetInlineStart:Dt,width:ot,height:ot,transition:`all ${Ke.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ge,borderRadius:zt(ot).div(2).equal(),boxShadow:Ae,transition:`all ${Ke.switchDuration} ease-in-out`,content:'""'}},[`&${yt}-checked ${Et}`]:{insetInlineStart:`calc(100% - ${(0,Be.unit)(zt(ot).add(Dt).equal())})`},[`&:not(${yt}-disabled):active`]:{[`${Et}::before`]:{insetInlineEnd:Ke.switchHandleActiveInset,insetInlineStart:0},[`&${yt}-checked ${Et}::before`]:{insetInlineEnd:0,insetInlineStart:Ke.switchHandleActiveInset}}}}},Re=Ke=>{const{componentCls:yt,trackHeight:Dt,trackPadding:Ge,innerMinMargin:Ae,innerMaxMargin:ot,handleSize:zt,calc:Et}=Ke,Oe=`${yt}-inner`,Je=(0,Be.unit)(Et(zt).add(Et(Ge).mul(2)).equal()),dt=(0,Be.unit)(Et(ot).mul(2).equal());return{[yt]:{[Oe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ot,paddingInlineEnd:Ae,transition:`padding-inline-start ${Ke.switchDuration} ease-in-out, padding-inline-end ${Ke.switchDuration} ease-in-out`,[`${Oe}-checked, ${Oe}-unchecked`]:{display:"block",color:Ke.colorTextLightSolid,fontSize:Ke.fontSizeSM,transition:`margin-inline-start ${Ke.switchDuration} ease-in-out, margin-inline-end ${Ke.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Dt},[`${Oe}-checked`]:{marginInlineStart:`calc(-100% + ${Je} - ${dt})`,marginInlineEnd:`calc(100% - ${Je} + ${dt})`},[`${Oe}-unchecked`]:{marginTop:Et(Dt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${yt}-checked ${Oe}`]:{paddingInlineStart:Ae,paddingInlineEnd:ot,[`${Oe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Oe}-unchecked`]:{marginInlineStart:`calc(100% - ${Je} + ${dt})`,marginInlineEnd:`calc(-100% + ${Je} - ${dt})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${Oe}`]:{[`${Oe}-unchecked`]:{marginInlineStart:Et(Ge).mul(2).equal(),marginInlineEnd:Et(Ge).mul(-1).mul(2).equal()}},[`&${yt}-checked ${Oe}`]:{[`${Oe}-checked`]:{marginInlineStart:Et(Ge).mul(-1).mul(2).equal(),marginInlineEnd:Et(Ge).mul(2).equal()}}}}}},Ye=Ke=>{const{componentCls:yt,trackHeight:Dt,trackMinWidth:Ge}=Ke;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,rt.Wf)(Ke)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ge,height:Dt,lineHeight:(0,Be.unit)(Dt),verticalAlign:"middle",background:Ke.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ke.motionDurationMid}`,userSelect:"none",[`&:hover:not(${yt}-disabled)`]:{background:Ke.colorTextTertiary}}),(0,rt.Qy)(Ke)),{[`&${yt}-checked`]:{background:Ke.switchColor,[`&:hover:not(${yt}-disabled)`]:{background:Ke.colorPrimaryHover}},[`&${yt}-loading, &${yt}-disabled`]:{cursor:"not-allowed",opacity:Ke.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${yt}-rtl`]:{direction:"rtl"}})}},lt=Ke=>{const{fontSize:yt,lineHeight:Dt,controlHeight:Ge,colorWhite:Ae}=Ke,ot=yt*Dt,zt=Ge/2,Et=2,Oe=ot-Et*2,Je=zt-Et*2;return{trackHeight:ot,trackHeightSM:zt,trackMinWidth:Oe*2+Et*4,trackMinWidthSM:Je*2+Et*2,trackPadding:Et,handleBg:Ae,handleSize:Oe,handleSizeSM:Je,handleShadow:`0 2px 4px 0 ${new Ze.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Oe/2,innerMaxMargin:Oe+Et+Et*2,innerMinMarginSM:Je/2,innerMaxMarginSM:Je+Et+Et*2}};var Se=(0,ce.I$)("Switch",Ke=>{const yt=(0,ke.mergeToken)(Ke,{switchDuration:Ke.motionDurationMid,switchColor:Ke.colorPrimary,switchDisabledOpacity:Ke.opacityLoading,switchLoadingIconSize:Ke.calc(Ke.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Ke.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ye(yt),Re(yt),mt(yt),_e(yt),qe(yt)]},lt),Qe=function(Ke,yt){var Dt={};for(var Ge in Ke)Object.prototype.hasOwnProperty.call(Ke,Ge)&&yt.indexOf(Ge)<0&&(Dt[Ge]=Ke[Ge]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ge=Object.getOwnPropertySymbols(Ke);Ae<Ge.length;Ae++)yt.indexOf(Ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ge[Ae])&&(Dt[Ge[Ae]]=Ke[Ge[Ae]]);return Dt};const ye=b.forwardRef((Ke,yt)=>{const{prefixCls:Dt,size:Ge,disabled:Ae,loading:ot,className:zt,rootClassName:Et,style:Oe,checked:Je,value:dt,defaultChecked:It,defaultValue:st,onChange:Ft}=Ke,ft=Qe(Ke,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Gt,Pt]=(0,be.Z)(!1,{value:Je!=null?Je:dt,defaultValue:It!=null?It:st}),{getPrefixCls:oe,direction:ae,switch:ee}=b.useContext(Fe.E_),E=b.useContext(Ce.Z),re=(Ae!=null?Ae:E)||ot,ne=oe("switch",Dt),le=b.createElement("div",{className:`${ne}-handle`},ot&&b.createElement(tt.Z,{className:`${ne}-loading-icon`})),[ge,Ee,ze]=Se(ne),je=(0,De.Z)(Ge),Xe=Ue()(ee==null?void 0:ee.className,{[`${ne}-small`]:je==="small",[`${ne}-loading`]:ot,[`${ne}-rtl`]:ae==="rtl"},zt,Et,Ee,ze),it=Object.assign(Object.assign({},ee==null?void 0:ee.style),Oe),pt=function(){Pt(arguments.length<=0?void 0:arguments[0]),Ft==null||Ft.apply(void 0,arguments)};return ge(b.createElement(xe.Z,{component:"Switch"},b.createElement(Te,Object.assign({},ft,{checked:Gt,onChange:pt,prefixCls:ne,className:Xe,style:it,disabled:re,ref:yt,loadingIcon:le}))))});ye.__ANT_SWITCH=!0;var Ct=ye},70858:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return uo}});var b=te(59301),tt={},pe="rc-table-internal-hook",Ue=te(72190),Pe=te(6089),me=te(34280),ve=te(13697),fe=te(4676);function be(Ne){var Me=b.createContext(void 0),ht=function(Tt){var Ut=Tt.value,cn=Tt.children,an=b.useRef(Ut);an.current=Ut;var pn=b.useState(function(){return{getValue:function(){return an.current},listeners:new Set}}),gn=(0,Ue.Z)(pn,1),Mn=gn[0];return(0,me.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){Mn.listeners.forEach(function(In){In(Ut)})})},[Ut]),b.createElement(Me.Provider,{value:Mn},cn)};return{Context:Me,Provider:ht,defaultValue:Ne}}function de(Ne,Me){var ht=(0,Pe.Z)(typeof Me=="function"?Me:function(In){if(Me===void 0)return In;if(!Array.isArray(Me))return In[Me];var Dn={};return Me.forEach(function(xn){Dn[xn]=In[xn]}),Dn}),xt=b.useContext(Ne==null?void 0:Ne.Context),Tt=xt||{},Ut=Tt.listeners,cn=Tt.getValue,an=b.useRef();an.current=ht(xt?cn():Ne==null?void 0:Ne.defaultValue);var pn=b.useState({}),gn=(0,Ue.Z)(pn,2),Mn=gn[1];return(0,me.Z)(function(){if(!xt)return;function In(Dn){var xn=ht(Dn);(0,ve.Z)(an.current,xn,!0)||Mn({})}return Ut.add(In),function(){Ut.delete(In)}},[xt]),an.current}var Le=te(60499),we=te(8654);function Te(){var Ne=b.createContext(null);function Me(){return b.useContext(Ne)}function ht(Tt,Ut){var cn=(0,we.Yr)(Tt),an=function(gn,Mn){var In=cn?{ref:Mn}:{},Dn=b.useRef(0),xn=b.useRef(gn),yn=Me();return yn!==null?b.createElement(Tt,(0,Le.Z)({},gn,In)):((!Ut||Ut(xn.current,gn))&&(Dn.current+=1),xn.current=gn,b.createElement(Ne.Provider,{value:Dn.current},b.createElement(Tt,(0,Le.Z)({},gn,In))))};return cn?b.forwardRef(an):an}function xt(Tt,Ut){var cn=(0,we.Yr)(Tt),an=function(gn,Mn){var In=cn?{ref:Mn}:{};return Me(),b.createElement(Tt,(0,Le.Z)({},gn,In))};return cn?b.memo(b.forwardRef(an),Ut):b.memo(an,Ut)}return{makeImmutable:ht,responseImmutable:xt,useImmutableMark:Me}}var xe=Te(),Fe=xe.makeImmutable,Ce=xe.responseImmutable,De=xe.useImmutableMark,Be=Te(),Ze=Be.makeImmutable,rt=Be.responseImmutable,ce=Be.useImmutableMark,ke=be(),qe=ke;function _e(Ne,Me){var ht=React.useRef(0);ht.current+=1;var xt=React.useRef(Ne),Tt=[];Object.keys(Ne||{}).map(function(cn){var an;(Ne==null?void 0:Ne[cn])!==((an=xt.current)===null||an===void 0?void 0:an[cn])&&Tt.push(cn)}),xt.current=Ne;var Ut=React.useRef([]);return Tt.length&&(Ut.current=Tt),React.useDebugValue(ht.current),React.useDebugValue(Ut.current.join(", ")),Me&&console.log("".concat(Me,":"),ht.current,Ut.current),ht.current}var mt=null,Re=null,Ye=te(43749),lt=te(85899),Se=te(18642),Qe=te(92310),he=te.n(Qe),ye=te(80547),Ct=te(97938),Ke=te(48736),yt=b.createContext({renderWithProps:!1}),Dt=yt,Ge="RC_TABLE_KEY";function Ae(Ne){return Ne==null?[]:Array.isArray(Ne)?Ne:[Ne]}function ot(Ne){var Me=[],ht={};return Ne.forEach(function(xt){for(var Tt=xt||{},Ut=Tt.key,cn=Tt.dataIndex,an=Ut||Ae(cn).join("-")||Ge;ht[an];)an="".concat(an,"_next");ht[an]=!0,Me.push(an)}),Me}function zt(Ne){return Ne!=null}function Et(Ne){return typeof Ne=="number"&&!Number.isNaN(Ne)}function Oe(Ne){return Ne&&(0,Ye.Z)(Ne)==="object"&&!Array.isArray(Ne)&&!b.isValidElement(Ne)}function Je(Ne,Me,ht,xt,Tt,Ut){var cn=b.useContext(Dt),an=ce(),pn=(0,ye.Z)(function(){if(zt(xt))return[xt];var gn=Me==null||Me===""?[]:Array.isArray(Me)?Me:[Me],Mn=(0,Ct.Z)(Ne,gn),In=Mn,Dn=void 0;if(Tt){var xn=Tt(Mn,Ne,ht);Oe(xn)?(In=xn.children,Dn=xn.props,cn.renderWithProps=!0):In=xn}return[In,Dn]},[an,Ne,xt,Me,Tt,ht],function(gn,Mn){if(Ut){var In=(0,Ue.Z)(gn,2),Dn=In[1],xn=(0,Ue.Z)(Mn,2),yn=xn[1];return Ut(yn,Dn)}return cn.renderWithProps?!0:!(0,ve.Z)(gn,Mn,!0)});return pn}function dt(Ne,Me,ht,xt){var Tt=Ne+Me-1;return Ne<=xt&&Tt>=ht}function It(Ne,Me){return de(qe,function(ht){var xt=dt(Ne,Me||1,ht.hoverStartRow,ht.hoverEndRow);return[xt,ht.onHover]})}var st=te(70425),Ft=function(Me){var ht=Me.ellipsis,xt=Me.rowType,Tt=Me.children,Ut,cn=ht===!0?{showTitle:!0}:ht;return cn&&(cn.showTitle||xt==="header")&&(typeof Tt=="string"||typeof Tt=="number"?Ut=Tt.toString():b.isValidElement(Tt)&&typeof Tt.props.children=="string"&&(Ut=Tt.props.children)),Ut};function ft(Ne){var Me,ht,xt,Tt,Ut,cn,an,pn,gn=Ne.component,Mn=Ne.children,In=Ne.ellipsis,Dn=Ne.scope,xn=Ne.prefixCls,yn=Ne.className,ur=Ne.align,Hn=Ne.record,vr=Ne.render,fr=Ne.dataIndex,Er=Ne.renderIndex,yr=Ne.shouldCellUpdate,Sr=Ne.index,Mr=Ne.rowType,Hr=Ne.colSpan,Ur=Ne.rowSpan,Ci=Ne.fixLeft,wr=Ne.fixRight,br=Ne.firstFixLeft,Or=Ne.lastFixLeft,Qn=Ne.firstFixRight,$n=Ne.lastFixRight,Br=Ne.appendNode,jr=Ne.additionalProps,ei=jr===void 0?{}:jr,Si=Ne.isSticky,Kr="".concat(xn,"-cell"),so=de(qe,["supportSticky","allColumnsFixedLeft","rowHoverable"]),eo=so.supportSticky,qo=so.allColumnsFixedLeft,No=so.rowHoverable,Xo=Je(Hn,fr,Er,Mn,vr,yr),ra=(0,Ue.Z)(Xo,2),oa=ra[0],go=ra[1],po={},ma=typeof Ci=="number"&&eo,pa=typeof wr=="number"&&eo;ma&&(po.position="sticky",po.left=Ci),pa&&(po.position="sticky",po.right=wr);var Ii=(Me=(ht=(xt=go==null?void 0:go.colSpan)!==null&&xt!==void 0?xt:ei.colSpan)!==null&&ht!==void 0?ht:Hr)!==null&&Me!==void 0?Me:1,no=(Tt=(Ut=(cn=go==null?void 0:go.rowSpan)!==null&&cn!==void 0?cn:ei.rowSpan)!==null&&Ut!==void 0?Ut:Ur)!==null&&Tt!==void 0?Tt:1,Di=It(Sr,no),ci=(0,Ue.Z)(Di,2),Do=ci[0],Zo=ci[1],aa=(0,st.zX)(function($o){var _o;Hn&&Zo(Sr,Sr+no-1),ei==null||(_o=ei.onMouseEnter)===null||_o===void 0||_o.call(ei,$o)}),Ho=(0,st.zX)(function($o){var _o;Hn&&Zo(-1,-1),ei==null||(_o=ei.onMouseLeave)===null||_o===void 0||_o.call(ei,$o)});if(Ii===0||no===0)return null;var va=(an=ei.title)!==null&&an!==void 0?an:Ft({rowType:Mr,ellipsis:In,children:oa}),ca=he()(Kr,yn,(pn={},(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)(pn,"".concat(Kr,"-fix-left"),ma&&eo),"".concat(Kr,"-fix-left-first"),br&&eo),"".concat(Kr,"-fix-left-last"),Or&&eo),"".concat(Kr,"-fix-left-all"),Or&&qo&&eo),"".concat(Kr,"-fix-right"),pa&&eo),"".concat(Kr,"-fix-right-first"),Qn&&eo),"".concat(Kr,"-fix-right-last"),$n&&eo),"".concat(Kr,"-ellipsis"),In),"".concat(Kr,"-with-append"),Br),"".concat(Kr,"-fix-sticky"),(ma||pa)&&Si&&eo),(0,Se.Z)(pn,"".concat(Kr,"-row-hover"),!go&&Do)),ei.className,go==null?void 0:go.className),Ti={};ur&&(Ti.textAlign=ur);var Ui=(0,lt.Z)((0,lt.Z)((0,lt.Z)((0,lt.Z)({},go==null?void 0:go.style),po),Ti),ei.style),jo=oa;return(0,Ye.Z)(jo)==="object"&&!Array.isArray(jo)&&!b.isValidElement(jo)&&(jo=null),In&&(Or||Qn)&&(jo=b.createElement("span",{className:"".concat(Kr,"-content")},jo)),b.createElement(gn,(0,Le.Z)({},go,ei,{className:ca,style:Ui,title:va,scope:Dn,onMouseEnter:No?aa:void 0,onMouseLeave:No?Ho:void 0,colSpan:Ii!==1?Ii:null,rowSpan:no!==1?no:null}),Br,jo)}var Gt=b.memo(ft);function Pt(Ne,Me,ht,xt,Tt){var Ut=ht[Ne]||{},cn=ht[Me]||{},an,pn;Ut.fixed==="left"?an=xt.left[Tt==="rtl"?Me:Ne]:cn.fixed==="right"&&(pn=xt.right[Tt==="rtl"?Ne:Me]);var gn=!1,Mn=!1,In=!1,Dn=!1,xn=ht[Me+1],yn=ht[Ne-1],ur=xn&&!xn.fixed||yn&&!yn.fixed||ht.every(function(yr){return yr.fixed==="left"});if(Tt==="rtl"){if(an!==void 0){var Hn=yn&&yn.fixed==="left";Dn=!Hn&&ur}else if(pn!==void 0){var vr=xn&&xn.fixed==="right";In=!vr&&ur}}else if(an!==void 0){var fr=xn&&xn.fixed==="left";gn=!fr&&ur}else if(pn!==void 0){var Er=yn&&yn.fixed==="right";Mn=!Er&&ur}return{fixLeft:an,fixRight:pn,lastFixLeft:gn,firstFixRight:Mn,lastFixRight:In,firstFixLeft:Dn,isSticky:xt.isSticky}}var oe=b.createContext({}),ae=oe;function ee(Ne){var Me=Ne.className,ht=Ne.index,xt=Ne.children,Tt=Ne.colSpan,Ut=Tt===void 0?1:Tt,cn=Ne.rowSpan,an=Ne.align,pn=de(qe,["prefixCls","direction"]),gn=pn.prefixCls,Mn=pn.direction,In=b.useContext(ae),Dn=In.scrollColumnIndex,xn=In.stickyOffsets,yn=In.flattenColumns,ur=ht+Ut-1,Hn=ur+1===Dn?Ut+1:Ut,vr=Pt(ht,ht+Hn-1,yn,xn,Mn);return b.createElement(Gt,(0,Le.Z)({className:Me,index:ht,component:"td",prefixCls:gn,record:null,dataIndex:null,align:an,colSpan:Hn,rowSpan:cn,render:function(){return xt}},vr))}var E=te(42244),re=["children"];function ne(Ne){var Me=Ne.children,ht=(0,E.Z)(Ne,re);return b.createElement("tr",ht,Me)}function le(Ne){var Me=Ne.children;return Me}le.Row=ne,le.Cell=ee;var ge=le;function Ee(Ne){var Me=Ne.children,ht=Ne.stickyOffsets,xt=Ne.flattenColumns,Tt=de(qe,"prefixCls"),Ut=xt.length-1,cn=xt[Ut],an=b.useMemo(function(){return{stickyOffsets:ht,flattenColumns:xt,scrollColumnIndex:cn!=null&&cn.scrollbar?Ut:null}},[cn,xt,Ut,ht]);return b.createElement(ae.Provider,{value:an},b.createElement("tfoot",{className:"".concat(Tt,"-summary")},Me))}var ze=rt(Ee),je=ge,Xe=te(29301),it=te(24514),pt=te(75152),He=te(26112);function et(Ne,Me,ht,xt,Tt,Ut,cn){Ne.push({record:Me,indent:ht,index:cn});var an=Ut(Me),pn=Tt==null?void 0:Tt.has(an);if(Me&&Array.isArray(Me[xt])&&pn)for(var gn=0;gn<Me[xt].length;gn+=1)et(Ne,Me[xt][gn],ht+1,xt,Tt,Ut,gn)}function $t(Ne,Me,ht,xt){var Tt=b.useMemo(function(){if(ht!=null&&ht.size){for(var Ut=[],cn=0;cn<(Ne==null?void 0:Ne.length);cn+=1){var an=Ne[cn];et(Ut,an,0,Me,ht,xt,cn)}return Ut}return Ne==null?void 0:Ne.map(function(pn,gn){return{record:pn,indent:0,index:gn}})},[Ne,Me,ht,xt]);return Tt}function Lt(Ne,Me,ht,xt){var Tt=de(qe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ut=Tt.flattenColumns,cn=Tt.expandableType,an=Tt.expandedKeys,pn=Tt.childrenColumnName,gn=Tt.onTriggerExpand,Mn=Tt.rowExpandable,In=Tt.onRow,Dn=Tt.expandRowByClick,xn=Tt.rowClassName,yn=cn==="nest",ur=cn==="row"&&(!Mn||Mn(Ne)),Hn=ur||yn,vr=an&&an.has(Me),fr=pn&&Ne&&Ne[pn],Er=(0,st.zX)(gn),yr=In==null?void 0:In(Ne,ht),Sr=yr==null?void 0:yr.onClick,Mr=function(wr){Dn&&Hn&&gn(Ne,wr);for(var br=arguments.length,Or=new Array(br>1?br-1:0),Qn=1;Qn<br;Qn++)Or[Qn-1]=arguments[Qn];Sr==null||Sr.apply(void 0,[wr].concat(Or))},Hr;typeof xn=="string"?Hr=xn:typeof xn=="function"&&(Hr=xn(Ne,ht,xt));var Ur=ot(Ut);return(0,lt.Z)((0,lt.Z)({},Tt),{},{columnsKey:Ur,nestExpandable:yn,expanded:vr,hasNestChildren:fr,record:Ne,onTriggerExpand:Er,rowSupportExpand:ur,expandable:Hn,rowProps:(0,lt.Z)((0,lt.Z)({},yr),{},{className:he()(Hr,yr==null?void 0:yr.className),onClick:Mr})})}function qt(Ne){var Me=Ne.prefixCls,ht=Ne.children,xt=Ne.component,Tt=Ne.cellComponent,Ut=Ne.className,cn=Ne.expanded,an=Ne.colSpan,pn=Ne.isEmpty,gn=de(qe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Mn=gn.scrollbarSize,In=gn.fixHeader,Dn=gn.fixColumn,xn=gn.componentWidth,yn=gn.horizonScroll,ur=ht;return(pn?yn&&xn:Dn)&&(ur=b.createElement("div",{style:{width:xn-(In&&!pn?Mn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Me,"-expanded-row-fixed")},ur)),b.createElement(xt,{className:Ut,style:{display:cn?null:"none"}},b.createElement(Gt,{component:Tt,prefixCls:Me,colSpan:an},ur))}var Nt=qt;function Mt(Ne){var Me=Ne.prefixCls,ht=Ne.record,xt=Ne.onExpand,Tt=Ne.expanded,Ut=Ne.expandable,cn="".concat(Me,"-row-expand-icon");if(!Ut)return b.createElement("span",{className:he()(cn,"".concat(Me,"-row-spaced"))});var an=function(gn){xt(ht,gn),gn.stopPropagation()};return b.createElement("span",{className:he()(cn,(0,Se.Z)((0,Se.Z)({},"".concat(Me,"-row-expanded"),Tt),"".concat(Me,"-row-collapsed"),!Tt)),onClick:an})}function Kt(Ne,Me,ht){var xt=[];function Tt(Ut){(Ut||[]).forEach(function(cn,an){xt.push(Me(cn,an)),Tt(cn[ht])})}return Tt(Ne),xt}function Jt(Ne,Me,ht,xt){return typeof Ne=="string"?Ne:typeof Ne=="function"?Ne(Me,ht,xt):""}function gt(Ne,Me,ht,xt,Tt){var Ut=Ne.record,cn=Ne.prefixCls,an=Ne.columnsKey,pn=Ne.fixedInfoList,gn=Ne.expandIconColumnIndex,Mn=Ne.nestExpandable,In=Ne.indentSize,Dn=Ne.expandIcon,xn=Ne.expanded,yn=Ne.hasNestChildren,ur=Ne.onTriggerExpand,Hn=an[ht],vr=pn[ht],fr;ht===(gn||0)&&Mn&&(fr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(In*xt,"px")},className:"".concat(cn,"-row-indent indent-level-").concat(xt)}),Dn({prefixCls:cn,expanded:xn,expandable:yn,record:Ut,onExpand:ur})));var Er;return Me.onCell&&(Er=Me.onCell(Ut,Tt)),{key:Hn,fixedInfo:vr,appendCellNode:fr,additionalCellProps:Er||{}}}function kt(Ne){var Me=Ne.className,ht=Ne.style,xt=Ne.record,Tt=Ne.index,Ut=Ne.renderIndex,cn=Ne.rowKey,an=Ne.indent,pn=an===void 0?0:an,gn=Ne.rowComponent,Mn=Ne.cellComponent,In=Ne.scopeCellComponent,Dn=Lt(xt,cn,Tt,pn),xn=Dn.prefixCls,yn=Dn.flattenColumns,ur=Dn.expandedRowClassName,Hn=Dn.expandedRowRender,vr=Dn.rowProps,fr=Dn.expanded,Er=Dn.rowSupportExpand,yr=b.useRef(!1);yr.current||(yr.current=fr);var Sr=Jt(ur,xt,Tt,pn),Mr=b.createElement(gn,(0,Le.Z)({},vr,{"data-row-key":cn,className:he()(Me,"".concat(xn,"-row"),"".concat(xn,"-row-level-").concat(pn),vr==null?void 0:vr.className,(0,Se.Z)({},Sr,pn>=1)),style:(0,lt.Z)((0,lt.Z)({},ht),vr==null?void 0:vr.style)}),yn.map(function(Ci,wr){var br=Ci.render,Or=Ci.dataIndex,Qn=Ci.className,$n=gt(Dn,Ci,wr,pn,Tt),Br=$n.key,jr=$n.fixedInfo,ei=$n.appendCellNode,Si=$n.additionalCellProps;return b.createElement(Gt,(0,Le.Z)({className:Qn,ellipsis:Ci.ellipsis,align:Ci.align,scope:Ci.rowScope,component:Ci.rowScope?In:Mn,prefixCls:xn,key:Br,record:xt,index:Tt,renderIndex:Ut,dataIndex:Or,render:br,shouldCellUpdate:Ci.shouldCellUpdate},jr,{appendNode:ei,additionalProps:Si}))})),Hr;if(Er&&(yr.current||fr)){var Ur=Hn(xt,Tt,pn+1,fr);Hr=b.createElement(Nt,{expanded:fr,className:he()("".concat(xn,"-expanded-row"),"".concat(xn,"-expanded-row-level-").concat(pn+1),Sr),prefixCls:xn,component:gn,cellComponent:Mn,colSpan:yn.length,isEmpty:!1},Ur)}return b.createElement(b.Fragment,null,Mr,Hr)}var nn=rt(kt);function vn(Ne){var Me=Ne.columnKey,ht=Ne.onColumnResize,xt=b.useRef();return(0,me.Z)(function(){xt.current&&ht(Me,xt.current.offsetWidth)},[]),b.createElement(Xe.Z,{data:Me},b.createElement("td",{ref:xt,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ct=te(29194);function wt(Ne){var Me=Ne.prefixCls,ht=Ne.columnsKey,xt=Ne.onColumnResize,Tt=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(Me,"-measure-row"),style:{height:0,fontSize:0},ref:Tt},b.createElement(Xe.Z.Collection,{onBatchResize:function(cn){(0,ct.Z)(Tt.current)&&cn.forEach(function(an){var pn=an.data,gn=an.size;xt(pn,gn.offsetWidth)})}},ht.map(function(Ut){return b.createElement(vn,{key:Ut,columnKey:Ut,onColumnResize:xt})})))}function Wt(Ne){var Me=Ne.data,ht=Ne.measureColumnWidth,xt=de(qe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Tt=xt.prefixCls,Ut=xt.getComponent,cn=xt.onColumnResize,an=xt.flattenColumns,pn=xt.getRowKey,gn=xt.expandedKeys,Mn=xt.childrenColumnName,In=xt.emptyNode,Dn=$t(Me,Mn,gn,pn),xn=b.useRef({renderWithProps:!1}),yn=Ut(["body","wrapper"],"tbody"),ur=Ut(["body","row"],"tr"),Hn=Ut(["body","cell"],"td"),vr=Ut(["body","cell"],"th"),fr;Me.length?fr=Dn.map(function(yr,Sr){var Mr=yr.record,Hr=yr.indent,Ur=yr.index,Ci=pn(Mr,Sr);return b.createElement(nn,{key:Ci,rowKey:Ci,record:Mr,index:Sr,renderIndex:Ur,rowComponent:ur,cellComponent:Hn,scopeCellComponent:vr,indent:Hr})}):fr=b.createElement(Nt,{expanded:!0,className:"".concat(Tt,"-placeholder"),prefixCls:Tt,component:ur,cellComponent:Hn,colSpan:an.length,isEmpty:!0},In);var Er=ot(an);return b.createElement(Dt.Provider,{value:xn.current},b.createElement(yn,{className:"".concat(Tt,"-tbody")},ht&&b.createElement(wt,{prefixCls:Tt,columnsKey:Er,onColumnResize:cn}),fr))}var on=rt(Wt),fn=["expandable"],Pn="RC_TABLE_INTERNAL_COL_DEFINE";function Vn(Ne){var Me=Ne.expandable,ht=(0,E.Z)(Ne,fn),xt;return"expandable"in Ne?xt=(0,lt.Z)((0,lt.Z)({},ht),Me):xt=ht,xt.showExpandColumn===!1&&(xt.expandIconColumnIndex=-1),xt}var Gn=["columnType"];function Bn(Ne){for(var Me=Ne.colWidths,ht=Ne.columns,xt=Ne.columCount,Tt=de(qe,["tableLayout"]),Ut=Tt.tableLayout,cn=[],an=xt||ht.length,pn=!1,gn=an-1;gn>=0;gn-=1){var Mn=Me[gn],In=ht&&ht[gn],Dn=void 0,xn=void 0;if(In&&(Dn=In[Pn],Ut==="auto"&&(xn=In.minWidth)),Mn||xn||Dn||pn){var yn=Dn||{},ur=yn.columnType,Hn=(0,E.Z)(yn,Gn);cn.unshift(b.createElement("col",(0,Le.Z)({key:gn,style:{width:Mn,minWidth:xn}},Hn))),pn=!0}}return b.createElement("colgroup",null,cn)}var Un=Bn,Rt=te(77654),Bt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function un(Ne,Me){return(0,b.useMemo)(function(){for(var ht=[],xt=0;xt<Me;xt+=1){var Tt=Ne[xt];if(Tt!==void 0)ht[xt]=Tt;else return null}return ht},[Ne.join("_"),Me])}var en=b.forwardRef(function(Ne,Me){var ht=Ne.className,xt=Ne.noData,Tt=Ne.columns,Ut=Ne.flattenColumns,cn=Ne.colWidths,an=Ne.columCount,pn=Ne.stickyOffsets,gn=Ne.direction,Mn=Ne.fixHeader,In=Ne.stickyTopOffset,Dn=Ne.stickyBottomOffset,xn=Ne.stickyClassName,yn=Ne.onScroll,ur=Ne.maxContentScroll,Hn=Ne.children,vr=(0,E.Z)(Ne,Bt),fr=de(qe,["prefixCls","scrollbarSize","isSticky","getComponent"]),Er=fr.prefixCls,yr=fr.scrollbarSize,Sr=fr.isSticky,Mr=fr.getComponent,Hr=Mr(["header","table"],"table"),Ur=Sr&&!Mn?0:yr,Ci=b.useRef(null),wr=b.useCallback(function(Si){(0,we.mH)(Me,Si),(0,we.mH)(Ci,Si)},[]);b.useEffect(function(){var Si;function Kr(so){var eo=so,qo=eo.currentTarget,No=eo.deltaX;No&&(yn({currentTarget:qo,scrollLeft:qo.scrollLeft+No}),so.preventDefault())}return(Si=Ci.current)===null||Si===void 0||Si.addEventListener("wheel",Kr,{passive:!1}),function(){var so;(so=Ci.current)===null||so===void 0||so.removeEventListener("wheel",Kr)}},[]);var br=b.useMemo(function(){return Ut.every(function(Si){return Si.width})},[Ut]),Or=Ut[Ut.length-1],Qn={fixed:Or?Or.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},$n=(0,b.useMemo)(function(){return Ur?[].concat((0,Rt.Z)(Tt),[Qn]):Tt},[Ur,Tt]),Br=(0,b.useMemo)(function(){return Ur?[].concat((0,Rt.Z)(Ut),[Qn]):Ut},[Ur,Ut]),jr=(0,b.useMemo)(function(){var Si=pn.right,Kr=pn.left;return(0,lt.Z)((0,lt.Z)({},pn),{},{left:gn==="rtl"?[].concat((0,Rt.Z)(Kr.map(function(so){return so+Ur})),[0]):Kr,right:gn==="rtl"?Si:[].concat((0,Rt.Z)(Si.map(function(so){return so+Ur})),[0]),isSticky:Sr})},[Ur,pn,Sr]),ei=un(cn,an);return b.createElement("div",{style:(0,lt.Z)({overflow:"hidden"},Sr?{top:In,bottom:Dn}:{}),ref:wr,className:he()(ht,(0,Se.Z)({},xn,!!xn))},b.createElement(Hr,{style:{tableLayout:"fixed",visibility:xt||ei?null:"hidden"}},(!xt||!ur||br)&&b.createElement(Un,{colWidths:ei?[].concat((0,Rt.Z)(ei),[Ur]):[],columCount:an+1,columns:Br}),Hn((0,lt.Z)((0,lt.Z)({},vr),{},{stickyOffsets:jr,columns:$n,flattenColumns:Br}))))}),Qt=b.memo(en),wn=function(Me){var ht=Me.cells,xt=Me.stickyOffsets,Tt=Me.flattenColumns,Ut=Me.rowComponent,cn=Me.cellComponent,an=Me.onHeaderRow,pn=Me.index,gn=de(qe,["prefixCls","direction"]),Mn=gn.prefixCls,In=gn.direction,Dn;an&&(Dn=an(ht.map(function(yn){return yn.column}),pn));var xn=ot(ht.map(function(yn){return yn.column}));return b.createElement(Ut,Dn,ht.map(function(yn,ur){var Hn=yn.column,vr=Pt(yn.colStart,yn.colEnd,Tt,xt,In),fr;return Hn&&Hn.onHeaderCell&&(fr=yn.column.onHeaderCell(Hn)),b.createElement(Gt,(0,Le.Z)({},yn,{scope:Hn.title?yn.colSpan>1?"colgroup":"col":null,ellipsis:Hn.ellipsis,align:Hn.align,component:cn,prefixCls:Mn,key:xn[ur]},vr,{additionalProps:fr,rowType:"header"}))}))},bn=wn;function kn(Ne){var Me=[];function ht(cn,an){var pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Me[pn]=Me[pn]||[];var gn=an,Mn=cn.filter(Boolean).map(function(In){var Dn={key:In.key,className:In.className||"",children:In.title,column:In,colStart:gn},xn=1,yn=In.children;return yn&&yn.length>0&&(xn=ht(yn,gn,pn+1).reduce(function(ur,Hn){return ur+Hn},0),Dn.hasSubColumns=!0),"colSpan"in In&&(xn=In.colSpan),"rowSpan"in In&&(Dn.rowSpan=In.rowSpan),Dn.colSpan=xn,Dn.colEnd=Dn.colStart+xn-1,Me[pn].push(Dn),gn+=xn,xn});return Mn}ht(Ne,0);for(var xt=Me.length,Tt=function(an){Me[an].forEach(function(pn){!("rowSpan"in pn)&&!pn.hasSubColumns&&(pn.rowSpan=xt-an)})},Ut=0;Ut<xt;Ut+=1)Tt(Ut);return Me}var Xn=function(Me){var ht=Me.stickyOffsets,xt=Me.columns,Tt=Me.flattenColumns,Ut=Me.onHeaderRow,cn=de(qe,["prefixCls","getComponent"]),an=cn.prefixCls,pn=cn.getComponent,gn=b.useMemo(function(){return kn(xt)},[xt]),Mn=pn(["header","wrapper"],"thead"),In=pn(["header","row"],"tr"),Dn=pn(["header","cell"],"th");return b.createElement(Mn,{className:"".concat(an,"-thead")},gn.map(function(xn,yn){var ur=b.createElement(bn,{key:yn,flattenColumns:Tt,cells:xn,stickyOffsets:ht,rowComponent:In,cellComponent:Dn,onHeaderRow:Ut,index:yn});return ur}))},zn=rt(Xn),Fn=te(11592);function nr(Ne){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Me=="number"?Me:Me.endsWith("%")?Ne*parseFloat(Me)/100:null}function tr(Ne,Me,ht){return b.useMemo(function(){if(Me&&Me>0){var xt=0,Tt=0;Ne.forEach(function(Dn){var xn=nr(Me,Dn.width);xn?xt+=xn:Tt+=1});var Ut=Math.max(Me,ht),cn=Math.max(Ut-xt,Tt),an=Tt,pn=cn/Tt,gn=0,Mn=Ne.map(function(Dn){var xn=(0,lt.Z)({},Dn),yn=nr(Me,xn.width);if(yn)xn.width=yn;else{var ur=Math.floor(pn);xn.width=an===1?cn:ur,cn-=ur,an-=1}return gn+=xn.width,xn});if(gn<Ut){var In=Ut/gn;cn=Ut,Mn.forEach(function(Dn,xn){var yn=Math.floor(Dn.width*In);Dn.width=xn===Mn.length-1?cn:yn,cn-=yn})}return[Mn,Math.max(gn,Ut)]}return[Ne,Me]},[Ne,Me,ht])}var Rr=["children"],Ir=["fixed"];function Sn(Ne){return(0,Fn.Z)(Ne).filter(function(Me){return b.isValidElement(Me)}).map(function(Me){var ht=Me.key,xt=Me.props,Tt=xt.children,Ut=(0,E.Z)(xt,Rr),cn=(0,lt.Z)({key:ht},Ut);return Tt&&(cn.children=Sn(Tt)),cn})}function Ln(Ne){return Ne.filter(function(Me){return Me&&(0,Ye.Z)(Me)==="object"&&!Me.hidden}).map(function(Me){var ht=Me.children;return ht&&ht.length>0?(0,lt.Z)((0,lt.Z)({},Me),{},{children:Ln(ht)}):Me})}function rr(Ne){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ne.filter(function(ht){return ht&&(0,Ye.Z)(ht)==="object"}).reduce(function(ht,xt,Tt){var Ut=xt.fixed,cn=Ut===!0?"left":Ut,an="".concat(Me,"-").concat(Tt),pn=xt.children;return pn&&pn.length>0?[].concat((0,Rt.Z)(ht),(0,Rt.Z)(rr(pn,an).map(function(gn){return(0,lt.Z)({fixed:cn},gn)}))):[].concat((0,Rt.Z)(ht),[(0,lt.Z)((0,lt.Z)({key:an},xt),{},{fixed:cn})])},[])}function ir(Ne){return Ne.map(function(Me){var ht=Me.fixed,xt=(0,E.Z)(Me,Ir),Tt=ht;return ht==="left"?Tt="right":ht==="right"&&(Tt="left"),(0,lt.Z)({fixed:Tt},xt)})}function Ot(Ne,Me){var ht=Ne.prefixCls,xt=Ne.columns,Tt=Ne.children,Ut=Ne.expandable,cn=Ne.expandedKeys,an=Ne.columnTitle,pn=Ne.getRowKey,gn=Ne.onTriggerExpand,Mn=Ne.expandIcon,In=Ne.rowExpandable,Dn=Ne.expandIconColumnIndex,xn=Ne.direction,yn=Ne.expandRowByClick,ur=Ne.columnWidth,Hn=Ne.fixed,vr=Ne.scrollWidth,fr=Ne.clientWidth,Er=b.useMemo(function(){var Or=xt||Sn(Tt)||[];return Ln(Or.slice())},[xt,Tt]),yr=b.useMemo(function(){if(Ut){var Or=Er.slice();if(!Or.includes(tt)){var Qn=Dn||0;Qn>=0&&(Qn||Hn==="left"||!Hn)&&Or.splice(Qn,0,tt),Hn==="right"&&Or.splice(Er.length,0,tt)}var $n=Or.indexOf(tt);Or=Or.filter(function(Si,Kr){return Si!==tt||Kr===$n});var Br=Er[$n],jr;Hn?jr=Hn:jr=Br?Br.fixed:null;var ei=(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},Pn,{className:"".concat(ht,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",an),"fixed",jr),"className","".concat(ht,"-row-expand-icon-cell")),"width",ur),"render",function(Kr,so,eo){var qo=pn(so,eo),No=cn.has(qo),Xo=In?In(so):!0,ra=Mn({prefixCls:ht,expanded:No,expandable:Xo,record:so,onExpand:gn});return yn?b.createElement("span",{onClick:function(go){return go.stopPropagation()}},ra):ra});return Or.map(function(Si){return Si===tt?ei:Si})}return Er.filter(function(Si){return Si!==tt})},[Ut,Er,pn,cn,Mn,xn]),Sr=b.useMemo(function(){var Or=yr;return Me&&(Or=Me(Or)),Or.length||(Or=[{render:function(){return null}}]),Or},[Me,yr,xn]),Mr=b.useMemo(function(){return xn==="rtl"?ir(rr(Sr)):rr(Sr)},[Sr,xn,vr]),Hr=b.useMemo(function(){for(var Or=-1,Qn=Mr.length-1;Qn>=0;Qn-=1){var $n=Mr[Qn].fixed;if($n==="left"||$n===!0){Or=Qn;break}}if(Or>=0)for(var Br=0;Br<=Or;Br+=1){var jr=Mr[Br].fixed;if(jr!=="left"&&jr!==!0)return!0}var ei=Mr.findIndex(function(so){var eo=so.fixed;return eo==="right"});if(ei>=0)for(var Si=ei;Si<Mr.length;Si+=1){var Kr=Mr[Si].fixed;if(Kr!=="right")return!0}return!1},[Mr]),Ur=tr(Mr,vr,fr),Ci=(0,Ue.Z)(Ur,2),wr=Ci[0],br=Ci[1];return[Sr,wr,br,Hr]}var _t=Ot;function vt(Ne,Me,ht){var xt=Vn(Ne),Tt=xt.expandIcon,Ut=xt.expandedRowKeys,cn=xt.defaultExpandedRowKeys,an=xt.defaultExpandAllRows,pn=xt.expandedRowRender,gn=xt.onExpand,Mn=xt.onExpandedRowsChange,In=xt.childrenColumnName,Dn=Tt||Mt,xn=In||"children",yn=b.useMemo(function(){return pn?"row":Ne.expandable&&Ne.internalHooks===pe&&Ne.expandable.__PARENT_RENDER_ICON__||Me.some(function(Sr){return Sr&&(0,Ye.Z)(Sr)==="object"&&Sr[xn]})?"nest":!1},[!!pn,Me]),ur=b.useState(function(){return cn||(an?Kt(Me,ht,xn):[])}),Hn=(0,Ue.Z)(ur,2),vr=Hn[0],fr=Hn[1],Er=b.useMemo(function(){return new Set(Ut||vr||[])},[Ut,vr]),yr=b.useCallback(function(Sr){var Mr=ht(Sr,Me.indexOf(Sr)),Hr,Ur=Er.has(Mr);Ur?(Er.delete(Mr),Hr=(0,Rt.Z)(Er)):Hr=[].concat((0,Rt.Z)(Er),[Mr]),fr(Hr),gn&&gn(!Ur,Sr),Mn&&Mn(Hr)},[ht,Er,Me,gn,Mn]);return[xt,yn,Er,Dn,xn,yr]}function Zt(Ne,Me,ht){var xt=Ne.map(function(Tt,Ut){return Pt(Ut,Ut,Ne,Me,ht)});return(0,ye.Z)(function(){return xt},[xt],function(Tt,Ut){return!(0,ve.Z)(Tt,Ut)})}function bt(Ne){var Me=(0,b.useRef)(Ne),ht=(0,b.useState)({}),xt=(0,Ue.Z)(ht,2),Tt=xt[1],Ut=(0,b.useRef)(null),cn=(0,b.useRef)([]);function an(pn){cn.current.push(pn);var gn=Promise.resolve();Ut.current=gn,gn.then(function(){if(Ut.current===gn){var Mn=cn.current,In=Me.current;cn.current=[],Mn.forEach(function(Dn){Me.current=Dn(Me.current)}),Ut.current=null,In!==Me.current&&Tt({})}})}return(0,b.useEffect)(function(){return function(){Ut.current=null}},[]),[Me.current,an]}function Ht(Ne){var Me=(0,b.useRef)(Ne||null),ht=(0,b.useRef)();function xt(){window.clearTimeout(ht.current)}function Tt(cn){Me.current=cn,xt(),ht.current=window.setTimeout(function(){Me.current=null,ht.current=void 0},100)}function Ut(){return Me.current}return(0,b.useEffect)(function(){return xt},[]),[Tt,Ut]}function nt(){var Ne=b.useState(-1),Me=(0,Ue.Z)(Ne,2),ht=Me[0],xt=Me[1],Tt=b.useState(-1),Ut=(0,Ue.Z)(Tt,2),cn=Ut[0],an=Ut[1],pn=b.useCallback(function(gn,Mn){xt(gn),an(Mn)},[]);return[ht,cn,pn]}var Xt=te(47273),tn=(0,Xt.Z)()?window:null;function dn(Ne,Me){var ht=(0,Ye.Z)(Ne)==="object"?Ne:{},xt=ht.offsetHeader,Tt=xt===void 0?0:xt,Ut=ht.offsetSummary,cn=Ut===void 0?0:Ut,an=ht.offsetScroll,pn=an===void 0?0:an,gn=ht.getContainer,Mn=gn===void 0?function(){return tn}:gn,In=Mn()||tn,Dn=!!Ne;return b.useMemo(function(){return{isSticky:Dn,stickyClassName:Dn?"".concat(Me,"-sticky-holder"):"",offsetHeader:Tt,offsetSummary:cn,offsetScroll:pn,container:In}},[Dn,pn,Tt,cn,Me,In])}function Vt(Ne,Me,ht){var xt=(0,b.useMemo)(function(){var Tt=Me.length,Ut=function(gn,Mn,In){for(var Dn=[],xn=0,yn=gn;yn!==Mn;yn+=In)Dn.push(xn),Me[yn].fixed&&(xn+=Ne[yn]||0);return Dn},cn=Ut(0,Tt,1),an=Ut(Tt-1,-1,-1).reverse();return ht==="rtl"?{left:an,right:cn}:{left:cn,right:an}},[Ne,Me,ht]);return xt}var jt=Vt;function Yt(Ne){var Me=Ne.className,ht=Ne.children;return b.createElement("div",{className:Me},ht)}var ln=Yt,Wn=te(8224),Rn=te(16089),Kn=te(76846);function kr(Ne){var Me=(0,Kn.bn)(Ne),ht=Me.getBoundingClientRect(),xt=document.documentElement;return{left:ht.left+(window.pageXOffset||xt.scrollLeft)-(xt.clientLeft||document.body.clientLeft||0),top:ht.top+(window.pageYOffset||xt.scrollTop)-(xt.clientTop||document.body.clientTop||0)}}var Zr=function(Me,ht){var xt,Tt,Ut=Me.scrollBodyRef,cn=Me.onScroll,an=Me.offsetScroll,pn=Me.container,gn=Me.direction,Mn=de(qe,"prefixCls"),In=((xt=Ut.current)===null||xt===void 0?void 0:xt.scrollWidth)||0,Dn=((Tt=Ut.current)===null||Tt===void 0?void 0:Tt.clientWidth)||0,xn=In&&Dn*(Dn/In),yn=b.useRef(),ur=bt({scrollLeft:0,isHiddenScrollBar:!0}),Hn=(0,Ue.Z)(ur,2),vr=Hn[0],fr=Hn[1],Er=b.useRef({delta:0,x:0}),yr=b.useState(!1),Sr=(0,Ue.Z)(yr,2),Mr=Sr[0],Hr=Sr[1],Ur=b.useRef(null);b.useEffect(function(){return function(){Rn.Z.cancel(Ur.current)}},[]);var Ci=function(){Hr(!1)},wr=function(Br){Br.persist(),Er.current.delta=Br.pageX-vr.scrollLeft,Er.current.x=0,Hr(!0),Br.preventDefault()},br=function(Br){var jr,ei=Br||((jr=window)===null||jr===void 0?void 0:jr.event),Si=ei.buttons;if(!Mr||Si===0){Mr&&Hr(!1);return}var Kr=Er.current.x+Br.pageX-Er.current.x-Er.current.delta,so=gn==="rtl";Kr=Math.max(so?xn-Dn:0,Math.min(so?0:Dn-xn,Kr));var eo=!so||Math.abs(Kr)+Math.abs(xn)<Dn;eo&&(cn({scrollLeft:Kr/Dn*(In+2)}),Er.current.x=Br.pageX)},Or=function(){Rn.Z.cancel(Ur.current),Ur.current=(0,Rn.Z)(function(){if(Ut.current){var Br=kr(Ut.current).top,jr=Br+Ut.current.offsetHeight,ei=pn===window?document.documentElement.scrollTop+window.innerHeight:kr(pn).top+pn.clientHeight;jr-(0,pt.Z)()<=ei||Br>=ei-an?fr(function(Si){return(0,lt.Z)((0,lt.Z)({},Si),{},{isHiddenScrollBar:!0})}):fr(function(Si){return(0,lt.Z)((0,lt.Z)({},Si),{},{isHiddenScrollBar:!1})})}})},Qn=function(Br){fr(function(jr){return(0,lt.Z)((0,lt.Z)({},jr),{},{scrollLeft:Br/In*Dn||0})})};return b.useImperativeHandle(ht,function(){return{setScrollLeft:Qn,checkScrollBarVisible:Or}}),b.useEffect(function(){var $n=(0,Wn.Z)(document.body,"mouseup",Ci,!1),Br=(0,Wn.Z)(document.body,"mousemove",br,!1);return Or(),function(){$n.remove(),Br.remove()}},[xn,Mr]),b.useEffect(function(){if(Ut.current){for(var $n=[],Br=(0,Kn.bn)(Ut.current);Br;)$n.push(Br),Br=Br.parentElement;return $n.forEach(function(jr){return jr.addEventListener("scroll",Or,!1)}),window.addEventListener("resize",Or,!1),window.addEventListener("scroll",Or,!1),pn.addEventListener("scroll",Or,!1),function(){$n.forEach(function(jr){return jr.removeEventListener("scroll",Or)}),window.removeEventListener("resize",Or),window.removeEventListener("scroll",Or),pn.removeEventListener("scroll",Or)}}},[pn]),b.useEffect(function(){vr.isHiddenScrollBar||fr(function($n){var Br=Ut.current;return Br?(0,lt.Z)((0,lt.Z)({},$n),{},{scrollLeft:Br.scrollLeft/Br.scrollWidth*Br.clientWidth}):$n})},[vr.isHiddenScrollBar]),In<=Dn||!xn||vr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,pt.Z)(),width:Dn,bottom:an},className:"".concat(Mn,"-sticky-scroll")},b.createElement("div",{onMouseDown:wr,ref:yn,className:he()("".concat(Mn,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(Mn,"-sticky-scroll-bar-active"),Mr)),style:{width:"".concat(xn,"px"),transform:"translate3d(".concat(vr.scrollLeft,"px, 0, 0)")}}))},_r=b.forwardRef(Zr);function Pr(Ne){return null}var gr=Pr;function Ar(Ne){return null}var Vr=Ar,ni="rc-table",ri=[],ai={};function Dr(){return"No Data"}function Jr(Ne,Me){var ht=(0,lt.Z)({rowKey:"key",prefixCls:ni,emptyText:Dr},Ne),xt=ht.prefixCls,Tt=ht.className,Ut=ht.rowClassName,cn=ht.style,an=ht.data,pn=ht.rowKey,gn=ht.scroll,Mn=ht.tableLayout,In=ht.direction,Dn=ht.title,xn=ht.footer,yn=ht.summary,ur=ht.caption,Hn=ht.id,vr=ht.showHeader,fr=ht.components,Er=ht.emptyText,yr=ht.onRow,Sr=ht.onHeaderRow,Mr=ht.onScroll,Hr=ht.internalHooks,Ur=ht.transformColumns,Ci=ht.internalRefs,wr=ht.tailor,br=ht.getContainerWidth,Or=ht.sticky,Qn=ht.rowHoverable,$n=Qn===void 0?!0:Qn,Br=an||ri,jr=!!Br.length,ei=Hr===pe,Si=b.useCallback(function(Go,Qo){return(0,Ct.Z)(fr,Go)||Qo},[fr]),Kr=b.useMemo(function(){return typeof pn=="function"?pn:function(Go){var Qo=Go&&Go[pn];return Qo}},[pn]),so=Si(["body"]),eo=nt(),qo=(0,Ue.Z)(eo,3),No=qo[0],Xo=qo[1],ra=qo[2],oa=vt(ht,Br,Kr),go=(0,Ue.Z)(oa,6),po=go[0],ma=go[1],pa=go[2],Ii=go[3],no=go[4],Di=go[5],ci=gn==null?void 0:gn.x,Do=b.useState(0),Zo=(0,Ue.Z)(Do,2),aa=Zo[0],Ho=Zo[1],va=_t((0,lt.Z)((0,lt.Z)((0,lt.Z)({},ht),po),{},{expandable:!!po.expandedRowRender,columnTitle:po.columnTitle,expandedKeys:pa,getRowKey:Kr,onTriggerExpand:Di,expandIcon:Ii,expandIconColumnIndex:po.expandIconColumnIndex,direction:In,scrollWidth:ei&&wr&&typeof ci=="number"?ci:null,clientWidth:aa}),ei?Ur:null),ca=(0,Ue.Z)(va,4),Ti=ca[0],Ui=ca[1],jo=ca[2],$o=ca[3],_o=jo!=null?jo:ci,Sa=b.useMemo(function(){return{columns:Ti,flattenColumns:Ui}},[Ti,Ui]),la=b.useRef(),Na=b.useRef(),ia=b.useRef(),Po=b.useRef();b.useImperativeHandle(Me,function(){return{nativeElement:la.current,scrollTo:function(Qo){var sl;if(ia.current instanceof HTMLElement){var Il=Qo.index,ul=Qo.top,Ps=Qo.key;if(Et(ul)){var ls;(ls=ia.current)===null||ls===void 0||ls.scrollTo({top:ul})}else{var ql,Bs=Ps!=null?Ps:Kr(Br[Il]);(ql=ia.current.querySelector('[data-row-key="'.concat(Bs,'"]')))===null||ql===void 0||ql.scrollIntoView()}}else(sl=ia.current)!==null&&sl!==void 0&&sl.scrollTo&&ia.current.scrollTo(Qo)}}});var na=b.useRef(),sa=b.useState(!1),Ca=(0,Ue.Z)(sa,2),ga=Ca[0],Mo=Ca[1],fa=b.useState(!1),Uo=(0,Ue.Z)(fa,2),Ra=Uo[0],wa=Uo[1],Va=b.useState(new Map),$a=(0,Ue.Z)(Va,2),wl=$a[0],ua=$a[1],Jl=ot(Ui),Ka=Jl.map(function(Go){return wl.get(Go)}),hl=b.useMemo(function(){return Ka},[Ka.join("_")]),al=jt(hl,Ui,In),ro=gn&&zt(gn.y),Pi=gn&&zt(_o)||!!po.fixed,ya=Pi&&Ui.some(function(Go){var Qo=Go.fixed;return Qo}),_a=b.useRef(),yl=dn(Or,xt),Nl=yl.isSticky,ws=yl.offsetHeader,Es=yl.offsetSummary,Ls=yl.offsetScroll,Yo=yl.stickyClassName,wo=yl.container,ui=b.useMemo(function(){return yn==null?void 0:yn(Br)},[yn,Br]),Yi=(ro||Nl)&&b.isValidElement(ui)&&ui.type===ge&&ui.props.fixed,Io,Ba,Qa;ro&&(Ba={overflowY:jr?"scroll":"auto",maxHeight:gn.y}),Pi&&(Io={overflowX:"auto"},ro||(Ba={overflowY:"hidden"}),Qa={width:_o===!0?"auto":_o,minWidth:"100%"});var Ua=b.useCallback(function(Go,Qo){ua(function(sl){if(sl.get(Go)!==Qo){var Il=new Map(sl);return Il.set(Go,Qo),Il}return sl})},[]),Hl=Ht(null),ll=(0,Ue.Z)(Hl,2),As=ll[0],qs=ll[1];function Ns(Go,Qo){Qo&&(typeof Qo=="function"?Qo(Go):Qo.scrollLeft!==Go&&(Qo.scrollLeft=Go,Qo.scrollLeft!==Go&&setTimeout(function(){Qo.scrollLeft=Go},0)))}var ms=(0,Pe.Z)(function(Go){var Qo=Go.currentTarget,sl=Go.scrollLeft,Il=In==="rtl",ul=typeof sl=="number"?sl:Qo.scrollLeft,Ps=Qo||ai;if(!qs()||qs()===Ps){var ls;As(Ps),Ns(ul,Na.current),Ns(ul,ia.current),Ns(ul,na.current),Ns(ul,(ls=_a.current)===null||ls===void 0?void 0:ls.setScrollLeft)}var ql=Qo||Na.current;if(ql){var Bs=ei&&wr&&typeof _o=="number"?_o:ql.scrollWidth,du=ql.clientWidth;if(Bs===du){Mo(!1),wa(!1);return}Il?(Mo(-ul<Bs-du),wa(-ul>0)):(Mo(ul>0),wa(ul<Bs-du))}}),Us=(0,Pe.Z)(function(Go){ms(Go),Mr==null||Mr(Go)}),ps=function(){if(Pi&&ia.current){var Qo;ms({currentTarget:(0,Kn.bn)(ia.current),scrollLeft:(Qo=ia.current)===null||Qo===void 0?void 0:Qo.scrollLeft})}else Mo(!1),wa(!1)},eu=function(Qo){var sl,Il=Qo.width;(sl=_a.current)===null||sl===void 0||sl.checkScrollBarVisible();var ul=la.current?la.current.offsetWidth:Il;ei&&br&&la.current&&(ul=br(la.current,ul)||ul),ul!==aa&&(ps(),Ho(ul))},Ys=b.useRef(!1);b.useEffect(function(){Ys.current&&ps()},[Pi,an,Ti.length]),b.useEffect(function(){Ys.current=!0},[]);var tu=b.useState(0),pu=(0,Ue.Z)(tu,2),as=pu[0],nu=pu[1],Su=b.useState(!0),ru=(0,Ue.Z)(Su,2),Rs=ru[0],wu=ru[1];(0,me.Z)(function(){(!wr||!ei)&&(ia.current instanceof Element?nu((0,pt.o)(ia.current).width):nu((0,pt.o)(Po.current).width)),wu((0,it.G)("position","sticky"))},[]),b.useEffect(function(){ei&&Ci&&(Ci.body.current=ia.current)});var Eu=b.useCallback(function(Go){return b.createElement(b.Fragment,null,b.createElement(zn,Go),Yi==="top"&&b.createElement(ze,Go,ui))},[Yi,ui]),zs=b.useCallback(function(Go){return b.createElement(ze,Go,ui)},[ui]),iu=Si(["table"],"table"),Zs=b.useMemo(function(){return Mn||(ya?_o==="max-content"?"auto":"fixed":ro||Nl||Ui.some(function(Go){var Qo=Go.ellipsis;return Qo})?"fixed":"auto")},[ro,ya,Ui,Mn,Nl]),ou,Ws={colWidths:hl,columCount:Ui.length,stickyOffsets:al,onHeaderRow:Sr,fixHeader:ro,scroll:gn},au=b.useMemo(function(){return jr?null:typeof Er=="function"?Er():Er},[jr,Er]),vu=b.createElement(on,{data:Br,measureColumnWidth:ro||Pi||Nl}),lu=b.createElement(Un,{colWidths:Ui.map(function(Go){var Qo=Go.width;return Qo}),columns:Ui}),su=ur!=null?b.createElement("caption",{className:"".concat(xt,"-caption")},ur):void 0,Au=(0,He.Z)(ht,{data:!0}),Gs=(0,He.Z)(ht,{aria:!0});if(ro||Nl){var vs;typeof so=="function"?(vs=so(Br,{scrollbarSize:as,ref:ia,onScroll:ms}),Ws.colWidths=Ui.map(function(Go,Qo){var sl=Go.width,Il=Qo===Ui.length-1?sl-as:sl;return typeof Il=="number"&&!Number.isNaN(Il)?Il:0})):vs=b.createElement("div",{style:(0,lt.Z)((0,lt.Z)({},Io),Ba),onScroll:Us,ref:ia,className:he()("".concat(xt,"-body"))},b.createElement(iu,(0,Le.Z)({style:(0,lt.Z)((0,lt.Z)({},Qa),{},{tableLayout:Zs})},Gs),su,lu,vu,!Yi&&ui&&b.createElement(ze,{stickyOffsets:al,flattenColumns:Ui},ui)));var Ds=(0,lt.Z)((0,lt.Z)((0,lt.Z)({noData:!Br.length,maxContentScroll:Pi&&_o==="max-content"},Ws),Sa),{},{direction:In,stickyClassName:Yo,onScroll:ms});ou=b.createElement(b.Fragment,null,vr!==!1&&b.createElement(Qt,(0,Le.Z)({},Ds,{stickyTopOffset:ws,className:"".concat(xt,"-header"),ref:Na}),Eu),vs,Yi&&Yi!=="top"&&b.createElement(Qt,(0,Le.Z)({},Ds,{stickyBottomOffset:Es,className:"".concat(xt,"-summary"),ref:na}),zs),Nl&&ia.current&&ia.current instanceof Element&&b.createElement(_r,{ref:_a,offsetScroll:Ls,scrollBodyRef:ia,onScroll:ms,container:wo,direction:In}))}else ou=b.createElement("div",{style:(0,lt.Z)((0,lt.Z)({},Io),Ba),className:he()("".concat(xt,"-content")),onScroll:ms,ref:ia},b.createElement(iu,(0,Le.Z)({style:(0,lt.Z)((0,lt.Z)({},Qa),{},{tableLayout:Zs})},Gs),su,lu,vr!==!1&&b.createElement(zn,(0,Le.Z)({},Ws,Sa)),vu,ui&&b.createElement(ze,{stickyOffsets:al,flattenColumns:Ui},ui)));var uu=b.createElement("div",(0,Le.Z)({className:he()(xt,Tt,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(xt,"-rtl"),In==="rtl"),"".concat(xt,"-ping-left"),ga),"".concat(xt,"-ping-right"),Ra),"".concat(xt,"-layout-fixed"),Mn==="fixed"),"".concat(xt,"-fixed-header"),ro),"".concat(xt,"-fixed-column"),ya),"".concat(xt,"-fixed-column-gapped"),ya&&$o),"".concat(xt,"-scroll-horizontal"),Pi),"".concat(xt,"-has-fix-left"),Ui[0]&&Ui[0].fixed),"".concat(xt,"-has-fix-right"),Ui[Ui.length-1]&&Ui[Ui.length-1].fixed==="right")),style:cn,id:Hn,ref:la},Au),Dn&&b.createElement(ln,{className:"".concat(xt,"-title")},Dn(Br)),b.createElement("div",{ref:Po,className:"".concat(xt,"-container")},ou),xn&&b.createElement(ln,{className:"".concat(xt,"-footer")},xn(Br)));Pi&&(uu=b.createElement(Xe.Z,{onResize:eu},uu));var cu=Zt(Ui,al,In),Du=b.useMemo(function(){return{scrollX:_o,prefixCls:xt,getComponent:Si,scrollbarSize:as,direction:In,fixedInfoList:cu,isSticky:Nl,supportSticky:Rs,componentWidth:aa,fixHeader:ro,fixColumn:ya,horizonScroll:Pi,tableLayout:Zs,rowClassName:Ut,expandedRowClassName:po.expandedRowClassName,expandIcon:Ii,expandableType:ma,expandRowByClick:po.expandRowByClick,expandedRowRender:po.expandedRowRender,onTriggerExpand:Di,expandIconColumnIndex:po.expandIconColumnIndex,indentSize:po.indentSize,allColumnsFixedLeft:Ui.every(function(Go){return Go.fixed==="left"}),emptyNode:au,columns:Ti,flattenColumns:Ui,onColumnResize:Ua,hoverStartRow:No,hoverEndRow:Xo,onHover:ra,rowExpandable:po.rowExpandable,onRow:yr,getRowKey:Kr,expandedKeys:pa,childrenColumnName:no,rowHoverable:$n}},[_o,xt,Si,as,In,cu,Nl,Rs,aa,ro,ya,Pi,Zs,Ut,po.expandedRowClassName,Ii,ma,po.expandRowByClick,po.expandedRowRender,Di,po.expandIconColumnIndex,po.indentSize,au,Ti,Ui,Ua,No,Xo,ra,po.rowExpandable,yr,Kr,pa,no,$n]);return b.createElement(qe.Provider,{value:Du},uu)}var $r=b.forwardRef(Jr);function Ri(Ne){return Ze($r,Ne)}var Hi=Ri();Hi.EXPAND_COLUMN=tt,Hi.INTERNAL_HOOKS=pe,Hi.Column=gr,Hi.ColumnGroup=Vr,Hi.Summary=je;var zi=Hi,Zi=te(48911),Ji=be(null),Ei=be(null);function ki(Ne,Me,ht){var xt=Me||1;return ht[Ne+xt]-(ht[Ne]||0)}function fi(Ne){var Me=Ne.rowInfo,ht=Ne.column,xt=Ne.colIndex,Tt=Ne.indent,Ut=Ne.index,cn=Ne.component,an=Ne.renderIndex,pn=Ne.record,gn=Ne.style,Mn=Ne.className,In=Ne.inverse,Dn=Ne.getHeight,xn=ht.render,yn=ht.dataIndex,ur=ht.className,Hn=ht.width,vr=de(Ei,["columnsOffset"]),fr=vr.columnsOffset,Er=gt(Me,ht,xt,Tt,Ut),yr=Er.key,Sr=Er.fixedInfo,Mr=Er.appendCellNode,Hr=Er.additionalCellProps,Ur=Hr.style,Ci=Hr.colSpan,wr=Ci===void 0?1:Ci,br=Hr.rowSpan,Or=br===void 0?1:br,Qn=xt-1,$n=ki(Qn,wr,fr),Br=wr>1?Hn-$n:0,jr=(0,lt.Z)((0,lt.Z)((0,lt.Z)({},Ur),gn),{},{flex:"0 0 ".concat($n,"px"),width:"".concat($n,"px"),marginRight:Br,pointerEvents:"auto"}),ei=b.useMemo(function(){return In?Or<=1:wr===0||Or===0||Or>1},[Or,wr,In]);ei?jr.visibility="hidden":In&&(jr.height=Dn==null?void 0:Dn(Or));var Si=ei?function(){return null}:xn,Kr={};return(Or===0||wr===0)&&(Kr.rowSpan=1,Kr.colSpan=1),b.createElement(Gt,(0,Le.Z)({className:he()(ur,Mn),ellipsis:ht.ellipsis,align:ht.align,scope:ht.rowScope,component:cn,prefixCls:Me.prefixCls,key:yr,record:pn,index:Ut,renderIndex:an,dataIndex:yn,render:Si,shouldCellUpdate:ht.shouldCellUpdate},Sr,{appendNode:Mr,additionalProps:(0,lt.Z)((0,lt.Z)({},Hr),{},{style:jr},Kr)}))}var $i=fi,oo=["data","index","className","rowKey","style","extra","getHeight"],Ro=b.forwardRef(function(Ne,Me){var ht=Ne.data,xt=Ne.index,Tt=Ne.className,Ut=Ne.rowKey,cn=Ne.style,an=Ne.extra,pn=Ne.getHeight,gn=(0,E.Z)(Ne,oo),Mn=ht.record,In=ht.indent,Dn=ht.index,xn=de(qe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),yn=xn.scrollX,ur=xn.flattenColumns,Hn=xn.prefixCls,vr=xn.fixColumn,fr=xn.componentWidth,Er=de(Ji,["getComponent"]),yr=Er.getComponent,Sr=Lt(Mn,Ut,xt,In),Mr=yr(["body","row"],"div"),Hr=yr(["body","cell"],"div"),Ur=Sr.rowSupportExpand,Ci=Sr.expanded,wr=Sr.rowProps,br=Sr.expandedRowRender,Or=Sr.expandedRowClassName,Qn;if(Ur&&Ci){var $n=br(Mn,xt,In+1,Ci),Br=Jt(Or,Mn,xt,In),jr={};vr&&(jr={style:(0,Se.Z)({},"--virtual-width","".concat(fr,"px"))});var ei="".concat(Hn,"-expanded-row-cell");Qn=b.createElement(Mr,{className:he()("".concat(Hn,"-expanded-row"),"".concat(Hn,"-expanded-row-level-").concat(In+1),Br)},b.createElement(Gt,{component:Hr,prefixCls:Hn,className:he()(ei,(0,Se.Z)({},"".concat(ei,"-fixed"),vr)),additionalProps:jr},$n))}var Si=(0,lt.Z)((0,lt.Z)({},cn),{},{width:yn});an&&(Si.position="absolute",Si.pointerEvents="none");var Kr=b.createElement(Mr,(0,Le.Z)({},wr,gn,{"data-row-key":Ut,ref:Ur?null:Me,className:he()(Tt,"".concat(Hn,"-row"),wr==null?void 0:wr.className,(0,Se.Z)({},"".concat(Hn,"-row-extra"),an)),style:(0,lt.Z)((0,lt.Z)({},Si),wr==null?void 0:wr.style)}),ur.map(function(so,eo){return b.createElement($i,{key:eo,component:Hr,rowInfo:Sr,column:so,colIndex:eo,indent:In,index:xt,renderIndex:Dn,record:Mn,inverse:an,getHeight:pn})}));return Ur?b.createElement("div",{ref:Me},Kr,Qn):Kr}),fo=rt(Ro),bo=fo,co=b.forwardRef(function(Ne,Me){var ht=Ne.data,xt=Ne.onScroll,Tt=de(qe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Ut=Tt.flattenColumns,cn=Tt.onColumnResize,an=Tt.getRowKey,pn=Tt.expandedKeys,gn=Tt.prefixCls,Mn=Tt.childrenColumnName,In=Tt.scrollX,Dn=Tt.direction,xn=de(Ji),yn=xn.sticky,ur=xn.scrollY,Hn=xn.listItemHeight,vr=xn.getComponent,fr=xn.onScroll,Er=b.useRef(),yr=$t(ht,Mn,pn,an),Sr=b.useMemo(function(){var Qn=0;return Ut.map(function($n){var Br=$n.width,jr=$n.key;return Qn+=Br,[jr,Br,Qn]})},[Ut]),Mr=b.useMemo(function(){return Sr.map(function(Qn){return Qn[2]})},[Sr]);b.useEffect(function(){Sr.forEach(function(Qn){var $n=(0,Ue.Z)(Qn,2),Br=$n[0],jr=$n[1];cn(Br,jr)})},[Sr]),b.useImperativeHandle(Me,function(){var Qn,$n={scrollTo:function(jr){var ei;(ei=Er.current)===null||ei===void 0||ei.scrollTo(jr)},nativeElement:(Qn=Er.current)===null||Qn===void 0?void 0:Qn.nativeElement};return Object.defineProperty($n,"scrollLeft",{get:function(){var jr;return((jr=Er.current)===null||jr===void 0?void 0:jr.getScrollInfo().x)||0},set:function(jr){var ei;(ei=Er.current)===null||ei===void 0||ei.scrollTo({left:jr})}}),$n});var Hr=function($n,Br){var jr,ei=(jr=yr[Br])===null||jr===void 0?void 0:jr.record,Si=$n.onCell;if(Si){var Kr,so=Si(ei,Br);return(Kr=so==null?void 0:so.rowSpan)!==null&&Kr!==void 0?Kr:1}return 1},Ur=function($n){var Br=$n.start,jr=$n.end,ei=$n.getSize,Si=$n.offsetY;if(jr<0)return null;for(var Kr=Ut.filter(function(Ii){return Hr(Ii,Br)===0}),so=Br,eo=function(no){if(Kr=Kr.filter(function(Di){return Hr(Di,no)===0}),!Kr.length)return so=no,1},qo=Br;qo>=0&&!eo(qo);qo-=1);for(var No=Ut.filter(function(Ii){return Hr(Ii,jr)!==1}),Xo=jr,ra=function(no){if(No=No.filter(function(Di){return Hr(Di,no)!==1}),!No.length)return Xo=Math.max(no-1,jr),1},oa=jr;oa<yr.length&&!ra(oa);oa+=1);for(var go=[],po=function(no){var Di=yr[no];if(!Di)return 1;Ut.some(function(ci){return Hr(ci,no)>1})&&go.push(no)},ma=so;ma<=Xo;ma+=1)po(ma);var pa=go.map(function(Ii){var no=yr[Ii],Di=an(no.record,Ii),ci=function(aa){var Ho=Ii+aa-1,va=an(yr[Ho].record,Ho),ca=ei(Di,va);return ca.bottom-ca.top},Do=ei(Di);return b.createElement(bo,{key:Ii,data:no,rowKey:Di,index:Ii,style:{top:-Si+Do.top},extra:!0,getHeight:ci})});return pa},Ci=b.useMemo(function(){return{columnsOffset:Mr}},[Mr]),wr="".concat(gn,"-tbody"),br=vr(["body","wrapper"]),Or={};return yn&&(Or.position="sticky",Or.bottom=0,(0,Ye.Z)(yn)==="object"&&yn.offsetScroll&&(Or.bottom=yn.offsetScroll)),b.createElement(Ei.Provider,{value:Ci},b.createElement(Zi.Z,{fullHeight:!1,ref:Er,prefixCls:"".concat(wr,"-virtual"),styles:{horizontalScrollBar:Or},className:wr,height:ur,itemHeight:Hn||24,data:yr,itemKey:function($n){return an($n.record)},component:br,scrollWidth:In,direction:Dn,onVirtualScroll:function($n){var Br,jr=$n.x;xt({currentTarget:(Br=Er.current)===null||Br===void 0?void 0:Br.nativeElement,scrollLeft:jr})},onScroll:fr,extraRender:Ur},function(Qn,$n,Br){var jr=an(Qn.record,$n);return b.createElement(bo,{data:Qn,rowKey:jr,index:$n,style:Br.style})}))}),yo=rt(co),Bi=yo,Ai=function(Me,ht){var xt=ht.ref,Tt=ht.onScroll;return b.createElement(Bi,{ref:xt,data:Me,onScroll:Tt})};function Gr(Ne,Me){var ht=Ne.data,xt=Ne.columns,Tt=Ne.scroll,Ut=Ne.sticky,cn=Ne.prefixCls,an=cn===void 0?ni:cn,pn=Ne.className,gn=Ne.listItemHeight,Mn=Ne.components,In=Ne.onScroll,Dn=Tt||{},xn=Dn.x,yn=Dn.y;typeof xn!="number"&&(xn=1),typeof yn!="number"&&(yn=500);var ur=(0,st.zX)(function(fr,Er){return(0,Ct.Z)(Mn,fr)||Er}),Hn=(0,st.zX)(In),vr=b.useMemo(function(){return{sticky:Ut,scrollY:yn,listItemHeight:gn,getComponent:ur,onScroll:Hn}},[Ut,yn,gn,ur,Hn]);return b.createElement(Ji.Provider,{value:vr},b.createElement(zi,(0,Le.Z)({},Ne,{className:he()(pn,"".concat(an,"-virtual")),scroll:(0,lt.Z)((0,lt.Z)({},Tt),{},{x:xn}),components:(0,lt.Z)((0,lt.Z)({},Mn),{},{body:ht!=null&&ht.length?Ai:void 0}),columns:xt,internalHooks:pe,tailor:!0,ref:Me})))}var jn=b.forwardRef(Gr);function lr(Ne){return Ze(jn,Ne)}var cr=lr(),Jn=null,qr=Ne=>null,_n=Ne=>null,Cr=te(84105),zr=te(82661),ji=te(34643),vo=te(34061),ao=te(18929);function Fo(Ne){const[Me,ht]=(0,b.useState)(null);return[(0,b.useCallback)((Ut,cn,an)=>{const pn=Me!=null?Me:Ut,gn=Math.min(pn||0,Ut),Mn=Math.max(pn||0,Ut),In=cn.slice(gn,Mn+1).map(yn=>Ne(yn)),Dn=In.some(yn=>!an.has(yn)),xn=[];return In.forEach(yn=>{Dn?(an.has(yn)||xn.push(yn),an.add(yn)):(an.delete(yn),xn.push(yn))}),ht(Dn?Mn:null),xn},[Me]),Ut=>{ht(Ut)}]}var Eo=te(32383),Co=te(62673),To=te(75727),Oo=te(47889);const ko={},ha="SELECT_ALL",Aa="SELECT_INVERT",xa="SELECT_NONE",Ia=[],Da=(Ne,Me)=>{let ht=[];return(Me||[]).forEach(xt=>{ht.push(xt),xt&&typeof xt=="object"&&Ne in xt&&(ht=[].concat((0,Rt.Z)(ht),(0,Rt.Z)(Da(Ne,xt[Ne]))))}),ht};var Mi=(Ne,Me)=>{const{preserveSelectedRowKeys:ht,selectedRowKeys:xt,defaultSelectedRowKeys:Tt,getCheckboxProps:Ut,onChange:cn,onSelect:an,onSelectAll:pn,onSelectInvert:gn,onSelectNone:Mn,onSelectMultiple:In,columnWidth:Dn,type:xn,selections:yn,fixed:ur,renderCell:Hn,hideSelectAll:vr,checkStrictly:fr=!0}=Me||{},{prefixCls:Er,data:yr,pageData:Sr,getRecordByKey:Mr,getRowKey:Hr,expandType:Ur,childrenColumnName:Ci,locale:wr,getPopupContainer:br}=Ne,Or=(0,Eo.ln)("Table"),[Qn,$n]=Fo(Ii=>Ii),[Br,jr]=(0,ao.Z)(xt||Tt||Ia,{value:xt}),ei=b.useRef(new Map),Si=(0,b.useCallback)(Ii=>{if(ht){const no=new Map;Ii.forEach(Di=>{let ci=Mr(Di);!ci&&ei.current.has(Di)&&(ci=ei.current.get(Di)),no.set(Di,ci)}),ei.current=no}},[Mr,ht]);b.useEffect(()=>{Si(Br)},[Br]);const Kr=(0,b.useMemo)(()=>Da(Ci,Sr),[Ci,Sr]),{keyEntities:so}=(0,b.useMemo)(()=>{if(fr)return{keyEntities:null};let Ii=yr;if(ht){const no=new Set(Kr.map((ci,Do)=>Hr(ci,Do))),Di=Array.from(ei.current).reduce((ci,Do)=>{let[Zo,aa]=Do;return no.has(Zo)?ci:ci.concat(aa)},[]);Ii=[].concat((0,Rt.Z)(Ii),(0,Rt.Z)(Di))}return(0,vo.I8)(Ii,{externalGetKey:Hr,childrenPropName:Ci})},[yr,Hr,fr,Ci,ht,Kr]),eo=(0,b.useMemo)(()=>{const Ii=new Map;return Kr.forEach((no,Di)=>{const ci=Hr(no,Di),Do=(Ut?Ut(no):null)||{};Ii.set(ci,Do)}),Ii},[Kr,Hr,Ut]),qo=(0,b.useCallback)(Ii=>{const no=Hr(Ii);let Di;return eo.has(no)?Di=eo.get(Hr(Ii)):Di=Ut?Ut(Ii):void 0,!!(Di!=null&&Di.disabled)},[eo,Hr]),[No,Xo]=(0,b.useMemo)(()=>{if(fr)return[Br||[],[]];const{checkedKeys:Ii,halfCheckedKeys:no}=(0,ji.S)(Br,!0,so,qo);return[Ii||[],no]},[Br,fr,so,qo]),ra=(0,b.useMemo)(()=>{const Ii=xn==="radio"?No.slice(0,1):No;return new Set(Ii)},[No,xn]),oa=(0,b.useMemo)(()=>xn==="radio"?new Set:new Set(Xo),[Xo,xn]);b.useEffect(()=>{Me||jr(Ia)},[!!Me]);const go=(0,b.useCallback)((Ii,no)=>{let Di,ci;Si(Ii),ht?(Di=Ii,ci=Ii.map(Do=>ei.current.get(Do))):(Di=[],ci=[],Ii.forEach(Do=>{const Zo=Mr(Do);Zo!==void 0&&(Di.push(Do),ci.push(Zo))})),jr(Di),cn==null||cn(Di,ci,{type:no})},[jr,Mr,cn,ht]),po=(0,b.useCallback)((Ii,no,Di,ci)=>{if(an){const Do=Di.map(Zo=>Mr(Zo));an(Mr(Ii),no,Do,ci)}go(Di,"single")},[an,Mr,go]),ma=(0,b.useMemo)(()=>!yn||vr?null:(yn===!0?[ha,Aa,xa]:yn).map(no=>no===ha?{key:"all",text:wr.selectionAll,onSelect(){go(yr.map((Di,ci)=>Hr(Di,ci)).filter(Di=>{const ci=eo.get(Di);return!(ci!=null&&ci.disabled)||ra.has(Di)}),"all")}}:no===Aa?{key:"invert",text:wr.selectInvert,onSelect(){const Di=new Set(ra);Sr.forEach((Do,Zo)=>{const aa=Hr(Do,Zo),Ho=eo.get(aa);Ho!=null&&Ho.disabled||(Di.has(aa)?Di.delete(aa):Di.add(aa))});const ci=Array.from(Di);gn&&(Or.deprecated(!1,"onSelectInvert","onChange"),gn(ci)),go(ci,"invert")}}:no===xa?{key:"none",text:wr.selectNone,onSelect(){Mn==null||Mn(),go(Array.from(ra).filter(Di=>{const ci=eo.get(Di);return ci==null?void 0:ci.disabled}),"none")}}:no).map(no=>Object.assign(Object.assign({},no),{onSelect:function(){for(var Di,ci,Do=arguments.length,Zo=new Array(Do),aa=0;aa<Do;aa++)Zo[aa]=arguments[aa];(ci=no.onSelect)===null||ci===void 0||(Di=ci).call.apply(Di,[no].concat(Zo)),$n(null)}})),[yn,ra,Sr,Hr,gn,go]);return[(0,b.useCallback)(Ii=>{var no;if(!Me)return Ii.filter(Po=>Po!==ko);let Di=(0,Rt.Z)(Ii);const ci=new Set(ra),Do=Kr.map(Hr).filter(Po=>!eo.get(Po).disabled),Zo=Do.every(Po=>ci.has(Po)),aa=Do.some(Po=>ci.has(Po)),Ho=()=>{const Po=[];Zo?Do.forEach(sa=>{ci.delete(sa),Po.push(sa)}):Do.forEach(sa=>{ci.has(sa)||(ci.add(sa),Po.push(sa))});const na=Array.from(ci);pn==null||pn(!Zo,na.map(sa=>Mr(sa)),Po.map(sa=>Mr(sa))),go(na,"all"),$n(null)};let va,ca;if(xn!=="radio"){let Po;if(ma){const Mo={getPopupContainer:br,items:ma.map((fa,Uo)=>{const{key:Ra,text:wa,onSelect:Va}=fa;return{key:Ra!=null?Ra:Uo,onClick:()=>{Va==null||Va(Do)},label:wa}})};Po=b.createElement("div",{className:`${Er}-selection-extra`},b.createElement(To.Z,{menu:Mo,getPopupContainer:br},b.createElement("span",null,b.createElement(Cr.Z,null))))}const na=Kr.map((Mo,fa)=>{const Uo=Hr(Mo,fa),Ra=eo.get(Uo)||{};return Object.assign({checked:ci.has(Uo)},Ra)}).filter(Mo=>{let{disabled:fa}=Mo;return fa}),sa=!!na.length&&na.length===Kr.length,Ca=sa&&na.every(Mo=>{let{checked:fa}=Mo;return fa}),ga=sa&&na.some(Mo=>{let{checked:fa}=Mo;return fa});ca=b.createElement(Co.default,{checked:sa?Ca:!!Kr.length&&Zo,indeterminate:sa?!Ca&&ga:!Zo&&aa,onChange:Ho,disabled:Kr.length===0||sa,"aria-label":Po?"Custom selection":"Select all",skipGroup:!0}),va=!vr&&b.createElement("div",{className:`${Er}-selection`},ca,Po)}let Ti;xn==="radio"?Ti=(Po,na,sa)=>{const Ca=Hr(na,sa),ga=ci.has(Ca),Mo=eo.get(Ca);return{node:b.createElement(Oo.ZP,Object.assign({},Mo,{checked:ga,onClick:fa=>{var Uo;fa.stopPropagation(),(Uo=Mo==null?void 0:Mo.onClick)===null||Uo===void 0||Uo.call(Mo,fa)},onChange:fa=>{var Uo;ci.has(Ca)||po(Ca,!0,[Ca],fa.nativeEvent),(Uo=Mo==null?void 0:Mo.onChange)===null||Uo===void 0||Uo.call(Mo,fa)}})),checked:ga}}:Ti=(Po,na,sa)=>{var Ca;const ga=Hr(na,sa),Mo=ci.has(ga),fa=oa.has(ga),Uo=eo.get(ga);let Ra;return Ur==="nest"?Ra=fa:Ra=(Ca=Uo==null?void 0:Uo.indeterminate)!==null&&Ca!==void 0?Ca:fa,{node:b.createElement(Co.default,Object.assign({},Uo,{indeterminate:Ra,checked:Mo,skipGroup:!0,onClick:wa=>{var Va;wa.stopPropagation(),(Va=Uo==null?void 0:Uo.onClick)===null||Va===void 0||Va.call(Uo,wa)},onChange:wa=>{var Va;const{nativeEvent:$a}=wa,{shiftKey:wl}=$a,ua=Do.findIndex(Ka=>Ka===ga),Jl=No.some(Ka=>Do.includes(Ka));if(wl&&fr&&Jl){const Ka=Qn(ua,Do,ci),hl=Array.from(ci);In==null||In(!Mo,hl.map(al=>Mr(al)),Ka.map(al=>Mr(al))),go(hl,"multiple")}else{const Ka=No;if(fr){const hl=Mo?(0,zr._5)(Ka,ga):(0,zr.L0)(Ka,ga);po(ga,!Mo,hl,$a)}else{const hl=(0,ji.S)([].concat((0,Rt.Z)(Ka),[ga]),!0,so,qo),{checkedKeys:al,halfCheckedKeys:ro}=hl;let Pi=al;if(Mo){const ya=new Set(al);ya.delete(ga),Pi=(0,ji.S)(Array.from(ya),{checked:!1,halfCheckedKeys:ro},so,qo).checkedKeys}po(ga,!Mo,Pi,$a)}}$n(Mo?null:ua),(Va=Uo==null?void 0:Uo.onChange)===null||Va===void 0||Va.call(Uo,wa)}})),checked:Mo}};const Ui=(Po,na,sa)=>{const{node:Ca,checked:ga}=Ti(Po,na,sa);return Hn?Hn(ga,na,sa,Ca):Ca};if(!Di.includes(ko))if(Di.findIndex(Po=>{var na;return((na=Po[Pn])===null||na===void 0?void 0:na.columnType)==="EXPAND_COLUMN"})===0){const[Po,...na]=Di;Di=[Po,ko].concat((0,Rt.Z)(na))}else Di=[ko].concat((0,Rt.Z)(Di));const jo=Di.indexOf(ko);Di=Di.filter((Po,na)=>Po!==ko||na===jo);const $o=Di[jo-1],_o=Di[jo+1];let Sa=ur;Sa===void 0&&((_o==null?void 0:_o.fixed)!==void 0?Sa=_o.fixed:($o==null?void 0:$o.fixed)!==void 0&&(Sa=$o.fixed)),Sa&&$o&&((no=$o[Pn])===null||no===void 0?void 0:no.columnType)==="EXPAND_COLUMN"&&$o.fixed===void 0&&($o.fixed=Sa);const la=he()(`${Er}-selection-col`,{[`${Er}-selection-col-with-dropdown`]:yn&&xn==="checkbox"}),Na=()=>Me!=null&&Me.columnTitle?typeof Me.columnTitle=="function"?Me.columnTitle(ca):Me.columnTitle:va,ia={fixed:Sa,width:Dn,className:`${Er}-selection-column`,title:Na(),render:Ui,onCell:Me.onCell,[Pn]:{className:la}};return Di.map(Po=>Po===ko?ia:Po)},[Hr,Kr,Me,No,ra,oa,Dn,ma,Ur,eo,In,po,qo]),ra]},ea=te(2738);function ta(Ne,Me){return Ne._antProxy=Ne._antProxy||{},Object.keys(Me).forEach(ht=>{if(!(ht in Ne._antProxy)){const xt=Ne[ht];Ne._antProxy[ht]=xt,Ne[ht]=Me[ht]}}),Ne}function Xi(Ne,Me){return(0,b.useImperativeHandle)(Ne,()=>{const ht=Me(),{nativeElement:xt}=ht;return typeof Proxy!="undefined"?new Proxy(xt,{get(Tt,Ut){return ht[Ut]?ht[Ut]:Reflect.get(Tt,Ut)}}):ta(xt,ht)})}var Wo=te(83010),Jo=te(48755),ho=te(38406),zo=te(83397),Bo=te(31756),Ta=te(13783),rl=te(85981),Za=te(31709),Fa=te(29787),Yl=te(57700);function jl(Ne){return Me=>{const{prefixCls:ht,onExpand:xt,record:Tt,expanded:Ut,expandable:cn}=Me,an=`${ht}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:pn=>{xt(Tt,pn),pn.stopPropagation()},className:he()(an,{[`${an}-spaced`]:!cn,[`${an}-expanded`]:cn&&Ut,[`${an}-collapsed`]:cn&&!Ut}),"aria-label":Ut?Ne.collapse:Ne.expand,"aria-expanded":Ut})}}var qi=jl;function xo(Ne){return(ht,xt)=>{const Tt=ht.querySelector(`.${Ne}-container`);let Ut=xt;if(Tt){const cn=getComputedStyle(Tt),an=parseInt(cn.borderLeftWidth,10),pn=parseInt(cn.borderRightWidth,10);Ut=xt-an-pn}return Ut}}const _i=(Ne,Me)=>"key"in Ne&&Ne.key!==void 0&&Ne.key!==null?Ne.key:Ne.dataIndex?Array.isArray(Ne.dataIndex)?Ne.dataIndex.join("."):Ne.dataIndex:Me;function to(Ne,Me){return Me?`${Me}-${Ne}`:`${Ne}`}const Lo=(Ne,Me)=>typeof Ne=="function"?Ne(Me):Ne,da=(Ne,Me)=>{const ht=Lo(Ne,Me);return Object.prototype.toString.call(ht)==="[object Object]"?"":ht};var Cl={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"},Ga=Cl,Wa=te(7657),Pa=function(Me,ht){return b.createElement(Wa.Z,(0,Le.Z)({},Me,{ref:ht,icon:Ga}))},pl=b.forwardRef(Pa),Al=pl,el=te(9981),Dl=te(40192);function Ao(Ne){const Me=b.useRef(Ne),ht=(0,Dl.Z)();return[()=>Me.current,xt=>{Me.current=xt,ht()}]}var xl=te(7939),Vl=te(584),us=te(93041),ys=te(78857),il=te(18287),zl=te(47472),vl=te(49397),Gl=Ne=>{const{value:Me,filterSearch:ht,tablePrefixCls:xt,locale:Tt,onChange:Ut}=Ne;return ht?b.createElement("div",{className:`${xt}-filter-dropdown-search`},b.createElement(vl.Z,{prefix:b.createElement(zl.Z,null),placeholder:Tt.filterSearchPlaceholder,onChange:Ut,value:Me,htmlSize:1,className:`${xt}-filter-dropdown-search-input`})):null},cs=te(10228);const ts=Ne=>{const{keyCode:Me}=Ne;Me===cs.Z.ENTER&&Ne.stopPropagation()};var ds=b.forwardRef((Ne,Me)=>b.createElement("div",{className:Ne.className,onClick:ht=>ht.stopPropagation(),onKeyDown:ts,ref:Me},Ne.children));function gl(Ne){let Me=[];return(Ne||[]).forEach(ht=>{let{value:xt,children:Tt}=ht;Me.push(xt),Tt&&(Me=[].concat((0,Rt.Z)(Me),(0,Rt.Z)(gl(Tt))))}),Me}function Xl(Ne){return Ne.some(Me=>{let{children:ht}=Me;return ht})}function ns(Ne,Me){return typeof Me=="string"||typeof Me=="number"?Me==null?void 0:Me.toString().toLowerCase().includes(Ne.trim().toLowerCase()):!1}function bs(Ne){let{filters:Me,prefixCls:ht,filteredKeys:xt,filterMultiple:Tt,searchValue:Ut,filterSearch:cn}=Ne;return Me.map((an,pn)=>{const gn=String(an.value);if(an.children)return{key:gn||pn,label:an.text,popupClassName:`${ht}-dropdown-submenu`,children:bs({filters:an.children,prefixCls:ht,filteredKeys:xt,filterMultiple:Tt,searchValue:Ut,filterSearch:cn})};const Mn=Tt?Co.default:Oo.ZP,In={key:an.value!==void 0?gn:pn,label:b.createElement(b.Fragment,null,b.createElement(Mn,{checked:xt.includes(gn)}),b.createElement("span",null,an.text))};return Ut.trim()?typeof cn=="function"?cn(Ut,an)?In:null:ns(Ut,an.text)?In:null:In})}function $l(Ne){return Ne||[]}var Cs=Ne=>{var Me,ht,xt,Tt;const{tablePrefixCls:Ut,prefixCls:cn,column:an,dropdownPrefixCls:pn,columnKey:gn,filterOnClose:Mn,filterMultiple:In,filterMode:Dn="menu",filterSearch:xn=!1,filterState:yn,triggerFilter:ur,locale:Hn,children:vr,getPopupContainer:fr,rootClassName:Er}=Ne,{filterResetToDefaultFilteredValue:yr,defaultFilteredValue:Sr,filterDropdownProps:Mr={},filterDropdownOpen:Hr,filterDropdownVisible:Ur,onFilterDropdownVisibleChange:Ci,onFilterDropdownOpenChange:wr}=an,[br,Or]=b.useState(!1),Qn=!!(yn&&(!((Me=yn.filteredKeys)===null||Me===void 0)&&Me.length||yn.forceFiltered)),$n=Ti=>{var Ui;Or(Ti),(Ui=Mr.onOpenChange)===null||Ui===void 0||Ui.call(Mr,Ti),wr==null||wr(Ti),Ci==null||Ci(Ti)},Br=(Tt=(xt=(ht=Mr.open)!==null&&ht!==void 0?ht:Hr)!==null&&xt!==void 0?xt:Ur)!==null&&Tt!==void 0?Tt:br,jr=yn==null?void 0:yn.filteredKeys,[ei,Si]=Ao($l(jr)),Kr=Ti=>{let{selectedKeys:Ui}=Ti;Si(Ui)},so=(Ti,Ui)=>{let{node:jo,checked:$o}=Ui;Kr(In?{selectedKeys:Ti}:{selectedKeys:$o&&jo.key?[jo.key]:[]})};b.useEffect(()=>{br&&Kr({selectedKeys:$l(jr)})},[jr]);const[eo,qo]=b.useState([]),No=Ti=>{qo(Ti)},[Xo,ra]=b.useState(""),oa=Ti=>{const{value:Ui}=Ti.target;ra(Ui)};b.useEffect(()=>{br||ra("")},[br]);const go=Ti=>{const Ui=Ti!=null&&Ti.length?Ti:null;if(Ui===null&&(!yn||!yn.filteredKeys)||(0,ve.Z)(Ui,yn==null?void 0:yn.filteredKeys,!0))return null;ur({column:an,key:gn,filteredKeys:Ui})},po=()=>{$n(!1),go(ei())},ma=function(){let{confirm:Ti,closeDropdown:Ui}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ti&&go([]),Ui&&$n(!1),ra(""),Si(yr?(Sr||[]).map(jo=>String(jo)):[])},pa=function(){let{closeDropdown:Ti}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ti&&$n(!1),go(ei())},Ii=(Ti,Ui)=>{Ui.source==="trigger"&&(Ti&&jr!==void 0&&Si($l(jr)),$n(Ti),!Ti&&!an.filterDropdown&&Mn&&po())},no=he()({[`${pn}-menu-without-submenu`]:!Xl(an.filters||[])}),Di=Ti=>{if(Ti.target.checked){const Ui=gl(an==null?void 0:an.filters).map(jo=>String(jo));Si(Ui)}else Si([])},ci=Ti=>{let{filters:Ui}=Ti;return(Ui||[]).map((jo,$o)=>{const _o=String(jo.value),Sa={title:jo.text,key:jo.value!==void 0?_o:String($o)};return jo.children&&(Sa.children=ci({filters:jo.children})),Sa})},Do=Ti=>{var Ui;return Object.assign(Object.assign({},Ti),{text:Ti.title,value:Ti.key,children:((Ui=Ti.children)===null||Ui===void 0?void 0:Ui.map(jo=>Do(jo)))||[]})};let Zo;const{direction:aa,renderEmpty:Ho}=b.useContext(Jo.E_);if(typeof an.filterDropdown=="function")Zo=an.filterDropdown({prefixCls:`${pn}-custom`,setSelectedKeys:Ti=>Kr({selectedKeys:Ti}),selectedKeys:ei(),confirm:pa,clearFilters:ma,filters:an.filters,visible:Br,close:()=>{$n(!1)}});else if(an.filterDropdown)Zo=an.filterDropdown;else{const Ti=ei()||[],Ui=()=>{var $o,_o;const Sa=($o=Ho==null?void 0:Ho("Table.filter"))!==null&&$o!==void 0?$o:b.createElement(Vl.Z,{image:Vl.Z.PRESENTED_IMAGE_SIMPLE,description:Hn.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((an.filters||[]).length===0)return Sa;if(Dn==="tree")return b.createElement(b.Fragment,null,b.createElement(Gl,{filterSearch:xn,value:Xo,onChange:oa,tablePrefixCls:Ut,locale:Hn}),b.createElement("div",{className:`${Ut}-filter-dropdown-tree`},In?b.createElement(Co.default,{checked:Ti.length===gl(an.filters).length,indeterminate:Ti.length>0&&Ti.length<gl(an.filters).length,className:`${Ut}-filter-dropdown-checkall`,onChange:Di},(_o=Hn==null?void 0:Hn.filterCheckall)!==null&&_o!==void 0?_o:Hn==null?void 0:Hn.filterCheckAll):null,b.createElement(il.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:In,checkStrictly:!In,className:`${pn}-menu`,onCheck:so,checkedKeys:Ti,selectedKeys:Ti,showIcon:!1,treeData:ci({filters:an.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Xo.trim()?ia=>typeof xn=="function"?xn(Xo,Do(ia)):ns(Xo,ia.title):void 0})));const la=bs({filters:an.filters||[],filterSearch:xn,prefixCls:cn,filteredKeys:ei(),filterMultiple:In,searchValue:Xo}),Na=la.every(ia=>ia===null);return b.createElement(b.Fragment,null,b.createElement(Gl,{filterSearch:xn,value:Xo,onChange:oa,tablePrefixCls:Ut,locale:Hn}),Na?Sa:b.createElement(us.default,{selectable:!0,multiple:In,prefixCls:`${pn}-menu`,className:no,onSelect:Kr,onDeselect:Kr,selectedKeys:Ti,getPopupContainer:fr,openKeys:eo,onOpenChange:No,items:la}))},jo=()=>yr?(0,ve.Z)((Sr||[]).map($o=>String($o)),Ti,!0):Ti.length===0;Zo=b.createElement(b.Fragment,null,Ui(),b.createElement("div",{className:`${cn}-dropdown-btns`},b.createElement(xl.ZP,{type:"link",size:"small",disabled:jo(),onClick:()=>ma()},Hn.filterReset),b.createElement(xl.ZP,{type:"primary",size:"small",onClick:po},Hn.filterConfirm)))}an.filterDropdown&&(Zo=b.createElement(ys.J,{selectable:void 0},Zo)),Zo=b.createElement(ds,{className:`${cn}-dropdown`},Zo);const va=()=>{let Ti;return typeof an.filterIcon=="function"?Ti=an.filterIcon(Qn):an.filterIcon?Ti=an.filterIcon:Ti=b.createElement(Al,null),b.createElement("span",{role:"button",tabIndex:-1,className:he()(`${cn}-trigger`,{active:Qn}),onClick:Ui=>{Ui.stopPropagation()}},Ti)},ca=(0,el.Z)({trigger:["click"],placement:aa==="rtl"?"bottomLeft":"bottomRight",children:va(),getPopupContainer:fr},Object.assign(Object.assign({},Mr),{rootClassName:he()(Er,Mr.rootClassName),open:Br,onOpenChange:Ii,dropdownRender:()=>typeof(Mr==null?void 0:Mr.dropdownRender)=="function"?Mr.dropdownRender(Zo):Zo}));return b.createElement("div",{className:`${cn}-column`},b.createElement("span",{className:`${Ut}-column-title`},vr),b.createElement(To.Z,Object.assign({},ca)))};const Kl=(Ne,Me,ht)=>{let xt=[];return(Ne||[]).forEach((Tt,Ut)=>{var cn;const an=to(Ut,ht);if(Tt.filters||"filterDropdown"in Tt||"onFilter"in Tt)if("filteredValue"in Tt){let pn=Tt.filteredValue;"filterDropdown"in Tt||(pn=(cn=pn==null?void 0:pn.map(String))!==null&&cn!==void 0?cn:pn),xt.push({column:Tt,key:_i(Tt,an),filteredKeys:pn,forceFiltered:Tt.filtered})}else xt.push({column:Tt,key:_i(Tt,an),filteredKeys:Me&&Tt.defaultFilteredValue?Tt.defaultFilteredValue:void 0,forceFiltered:Tt.filtered});"children"in Tt&&(xt=[].concat((0,Rt.Z)(xt),(0,Rt.Z)(Kl(Tt.children,Me,an))))}),xt};function Ha(Ne,Me,ht,xt,Tt,Ut,cn,an,pn){return ht.map((gn,Mn)=>{const In=to(Mn,an),{filterOnClose:Dn=!0,filterMultiple:xn=!0,filterMode:yn,filterSearch:ur}=gn;let Hn=gn;if(Hn.filters||Hn.filterDropdown){const vr=_i(Hn,In),fr=xt.find(Er=>{let{key:yr}=Er;return vr===yr});Hn=Object.assign(Object.assign({},Hn),{title:Er=>b.createElement(Cs,{tablePrefixCls:Ne,prefixCls:`${Ne}-filter`,dropdownPrefixCls:Me,column:Hn,columnKey:vr,filterState:fr,filterOnClose:Dn,filterMultiple:xn,filterMode:yn,filterSearch:ur,triggerFilter:Ut,locale:Tt,getPopupContainer:cn,rootClassName:pn},Lo(gn.title,Er))})}return"children"in Hn&&(Hn=Object.assign(Object.assign({},Hn),{children:Ha(Ne,Me,Hn.children,xt,Tt,Ut,cn,In,pn)})),Hn})}const Ko=Ne=>{const Me={};return Ne.forEach(ht=>{let{key:xt,filteredKeys:Tt,column:Ut}=ht;const cn=xt,{filters:an,filterDropdown:pn}=Ut;if(pn)Me[cn]=Tt||null;else if(Array.isArray(Tt)){const gn=gl(an);Me[cn]=gn.filter(Mn=>Tt.includes(String(Mn)))}else Me[cn]=null}),Me},So=(Ne,Me,ht)=>Me.reduce((Tt,Ut)=>{const{column:{onFilter:cn,filters:an},filteredKeys:pn}=Ut;return cn&&pn&&pn.length?Tt.map(gn=>Object.assign({},gn)).filter(gn=>pn.some(Mn=>{const In=gl(an),Dn=In.findIndex(yn=>String(yn)===String(Mn)),xn=Dn!==-1?In[Dn]:Mn;return gn[ht]&&(gn[ht]=So(gn[ht],Me,ht)),cn(xn,gn)})):Tt},Ne),ka=Ne=>Ne.flatMap(Me=>"children"in Me?[Me].concat((0,Rt.Z)(ka(Me.children||[]))):[Me]);var Oa=Ne=>{const{prefixCls:Me,dropdownPrefixCls:ht,mergedColumns:xt,onFilterChange:Tt,getPopupContainer:Ut,locale:cn,rootClassName:an}=Ne,pn=(0,Eo.ln)("Table"),gn=b.useMemo(()=>ka(xt||[]),[xt]),[Mn,In]=b.useState(()=>Kl(gn,!0)),Dn=b.useMemo(()=>{const Hn=Kl(gn,!1);if(Hn.length===0)return Hn;let vr=!0,fr=!0;if(Hn.forEach(Er=>{let{filteredKeys:yr}=Er;yr!==void 0?vr=!1:fr=!1}),vr){const Er=(gn||[]).map((yr,Sr)=>_i(yr,to(Sr)));return Mn.filter(yr=>{let{key:Sr}=yr;return Er.includes(Sr)}).map(yr=>{const Sr=gn[Er.findIndex(Mr=>Mr===yr.key)];return Object.assign(Object.assign({},yr),{column:Object.assign(Object.assign({},yr.column),Sr),forceFiltered:Sr.filtered})})}return Hn},[gn,Mn]),xn=b.useMemo(()=>Ko(Dn),[Dn]),yn=Hn=>{const vr=Dn.filter(fr=>{let{key:Er}=fr;return Er!==Hn.key});vr.push(Hn),In(vr),Tt(Ko(vr),vr)};return[Hn=>Ha(Me,ht,Hn,Dn,cn,yn,Ut,void 0,an),Dn,xn]},Pl=(Ne,Me,ht)=>{const xt=b.useRef({});function Tt(Ut){var cn;if(!xt.current||xt.current.data!==Ne||xt.current.childrenColumnName!==Me||xt.current.getRowKey!==ht){let pn=function(gn){gn.forEach((Mn,In)=>{const Dn=ht(Mn,In);an.set(Dn,Mn),Mn&&typeof Mn=="object"&&Me in Mn&&pn(Mn[Me]||[])})};const an=new Map;pn(Ne),xt.current={data:Ne,childrenColumnName:Me,kvMap:an,getRowKey:ht}}return(cn=xt.current.kvMap)===null||cn===void 0?void 0:cn.get(Ut)}return[Tt]},Sl=function(Ne,Me){var ht={};for(var xt in Ne)Object.prototype.hasOwnProperty.call(Ne,xt)&&Me.indexOf(xt)<0&&(ht[xt]=Ne[xt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,xt=Object.getOwnPropertySymbols(Ne);Tt<xt.length;Tt++)Me.indexOf(xt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,xt[Tt])&&(ht[xt[Tt]]=Ne[xt[Tt]]);return ht};const Ml=10;function ol(Ne,Me){const ht={current:Ne.current,pageSize:Ne.pageSize};return Object.keys(Me&&typeof Me=="object"?Me:{}).forEach(Tt=>{const Ut=Ne[Tt];typeof Ut!="function"&&(ht[Tt]=Ut)}),ht}function fl(Ne,Me,ht){const xt=ht&&typeof ht=="object"?ht:{},{total:Tt=0}=xt,Ut=Sl(xt,["total"]),[cn,an]=(0,b.useState)(()=>({current:"defaultCurrent"in Ut?Ut.defaultCurrent:1,pageSize:"defaultPageSize"in Ut?Ut.defaultPageSize:Ml})),pn=(0,el.Z)(cn,Ut,{total:Tt>0?Tt:Ne}),gn=Math.ceil((Tt||Ne)/pn.pageSize);pn.current>gn&&(pn.current=gn||1);const Mn=(Dn,xn)=>{an({current:Dn!=null?Dn:1,pageSize:xn||pn.pageSize})},In=(Dn,xn)=>{var yn;ht&&((yn=ht.onChange)===null||yn===void 0||yn.call(ht,Dn,xn)),Mn(Dn,xn),Me(Dn,xn||(pn==null?void 0:pn.pageSize))};return ht===!1?[{},()=>{}]:[Object.assign(Object.assign({},pn),{onChange:In}),Mn]}var Bl=fl,Ul=te(89489),Os=te(59477),ks=te(25399);const rs="ascend",Zl="descend",Tl=Ne=>typeof Ne.sorter=="object"&&typeof Ne.sorter.multiple=="number"?Ne.sorter.multiple:!1,Xa=Ne=>typeof Ne=="function"?Ne:Ne&&typeof Ne=="object"&&Ne.compare?Ne.compare:!1,Wl=(Ne,Me)=>Me?Ne[Ne.indexOf(Me)+1]:Ne[0],Ll=(Ne,Me,ht)=>{let xt=[];const Tt=(Ut,cn)=>{xt.push({column:Ut,key:_i(Ut,cn),multiplePriority:Tl(Ut),sortOrder:Ut.sortOrder})};return(Ne||[]).forEach((Ut,cn)=>{const an=to(cn,ht);Ut.children?("sortOrder"in Ut&&Tt(Ut,an),xt=[].concat((0,Rt.Z)(xt),(0,Rt.Z)(Ll(Ut.children,Me,an)))):Ut.sorter&&("sortOrder"in Ut?Tt(Ut,an):Me&&Ut.defaultSortOrder&&xt.push({column:Ut,key:_i(Ut,an),multiplePriority:Tl(Ut),sortOrder:Ut.defaultSortOrder}))}),xt},xs=(Ne,Me,ht,xt,Tt,Ut,cn,an)=>(Me||[]).map((gn,Mn)=>{const In=to(Mn,an);let Dn=gn;if(Dn.sorter){const xn=Dn.sortDirections||Tt,yn=Dn.showSorterTooltip===void 0?cn:Dn.showSorterTooltip,ur=_i(Dn,In),Hn=ht.find(Ci=>{let{key:wr}=Ci;return wr===ur}),vr=Hn?Hn.sortOrder:null,fr=Wl(xn,vr);let Er;if(gn.sortIcon)Er=gn.sortIcon({sortOrder:vr});else{const Ci=xn.includes(rs)&&b.createElement(Os.Z,{className:he()(`${Ne}-column-sorter-up`,{active:vr===rs})}),wr=xn.includes(Zl)&&b.createElement(Ul.Z,{className:he()(`${Ne}-column-sorter-down`,{active:vr===Zl})});Er=b.createElement("span",{className:he()(`${Ne}-column-sorter`,{[`${Ne}-column-sorter-full`]:!!(Ci&&wr)})},b.createElement("span",{className:`${Ne}-column-sorter-inner`,"aria-hidden":"true"},Ci,wr))}const{cancelSort:yr,triggerAsc:Sr,triggerDesc:Mr}=Ut||{};let Hr=yr;fr===Zl?Hr=Mr:fr===rs&&(Hr=Sr);const Ur=typeof yn=="object"?Object.assign({title:Hr},yn):{title:Hr};Dn=Object.assign(Object.assign({},Dn),{className:he()(Dn.className,{[`${Ne}-column-sort`]:vr}),title:Ci=>{const wr=`${Ne}-column-sorters`,br=b.createElement("span",{className:`${Ne}-column-title`},Lo(gn.title,Ci)),Or=b.createElement("div",{className:wr},br,Er);return yn?typeof yn!="boolean"&&(yn==null?void 0:yn.target)==="sorter-icon"?b.createElement("div",{className:`${wr} ${Ne}-column-sorters-tooltip-target-sorter`},br,b.createElement(ks.Z,Object.assign({},Ur),Er)):b.createElement(ks.Z,Object.assign({},Ur),Or):Or},onHeaderCell:Ci=>{var wr;const br=((wr=gn.onHeaderCell)===null||wr===void 0?void 0:wr.call(gn,Ci))||{},Or=br.onClick,Qn=br.onKeyDown;br.onClick=jr=>{xt({column:gn,key:ur,sortOrder:fr,multiplePriority:Tl(gn)}),Or==null||Or(jr)},br.onKeyDown=jr=>{jr.keyCode===cs.Z.ENTER&&(xt({column:gn,key:ur,sortOrder:fr,multiplePriority:Tl(gn)}),Qn==null||Qn(jr))};const $n=da(gn.title,{}),Br=$n==null?void 0:$n.toString();return vr&&(br["aria-sort"]=vr==="ascend"?"ascending":"descending"),br["aria-label"]=Br||"",br.className=he()(br.className,`${Ne}-column-has-sorters`),br.tabIndex=0,gn.ellipsis&&(br.title=($n!=null?$n:"").toString()),br}})}return"children"in Dn&&(Dn=Object.assign(Object.assign({},Dn),{children:xs(Ne,Dn.children,ht,xt,Tt,Ut,cn,In)})),Dn}),Vs=Ne=>{const{column:Me,sortOrder:ht}=Ne;return{column:Me,order:ht,field:Me.dataIndex,columnKey:Me.key}},Ss=Ne=>{const Me=Ne.filter(ht=>{let{sortOrder:xt}=ht;return xt}).map(Vs);if(Me.length===0&&Ne.length){const ht=Ne.length-1;return Object.assign(Object.assign({},Vs(Ne[ht])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Me.length<=1?Me[0]||{}:Me},_l=(Ne,Me,ht)=>{const xt=Me.slice().sort((cn,an)=>an.multiplePriority-cn.multiplePriority),Tt=Ne.slice(),Ut=xt.filter(cn=>{let{column:{sorter:an},sortOrder:pn}=cn;return Xa(an)&&pn});return Ut.length?Tt.sort((cn,an)=>{for(let pn=0;pn<Ut.length;pn+=1){const gn=Ut[pn],{column:{sorter:Mn},sortOrder:In}=gn,Dn=Xa(Mn);if(Dn&&In){const xn=Dn(cn,an,In);if(xn!==0)return In===rs?xn:-xn}}return 0}).map(cn=>{const an=cn[ht];return an?Object.assign(Object.assign({},cn),{[ht]:_l(an,Me,ht)}):cn}):Tt};var Ks=Ne=>{const{prefixCls:Me,mergedColumns:ht,sortDirections:xt,tableLocale:Tt,showSorterTooltip:Ut,onSorterChange:cn}=Ne,[an,pn]=b.useState(Ll(ht,!0)),gn=(ur,Hn)=>{const vr=[];return ur.forEach((fr,Er)=>{const yr=to(Er,Hn);if(vr.push(_i(fr,yr)),Array.isArray(fr.children)){const Sr=gn(fr.children,yr);vr.push.apply(vr,(0,Rt.Z)(Sr))}}),vr},Mn=b.useMemo(()=>{let ur=!0;const Hn=Ll(ht,!1);if(!Hn.length){const yr=gn(ht);return an.filter(Sr=>{let{key:Mr}=Sr;return yr.includes(Mr)})}const vr=[];function fr(yr){ur?vr.push(yr):vr.push(Object.assign(Object.assign({},yr),{sortOrder:null}))}let Er=null;return Hn.forEach(yr=>{Er===null?(fr(yr),yr.sortOrder&&(yr.multiplePriority===!1?ur=!1:Er=!0)):(Er&&yr.multiplePriority!==!1||(ur=!1),fr(yr))}),vr},[ht,an]),In=b.useMemo(()=>{var ur,Hn;const vr=Mn.map(fr=>{let{column:Er,sortOrder:yr}=fr;return{column:Er,order:yr}});return{sortColumns:vr,sortColumn:(ur=vr[0])===null||ur===void 0?void 0:ur.column,sortOrder:(Hn=vr[0])===null||Hn===void 0?void 0:Hn.order}},[Mn]),Dn=ur=>{let Hn;ur.multiplePriority===!1||!Mn.length||Mn[0].multiplePriority===!1?Hn=[ur]:Hn=[].concat((0,Rt.Z)(Mn.filter(vr=>{let{key:fr}=vr;return fr!==ur.key})),[ur]),pn(Hn),cn(Ss(Hn),Hn)};return[ur=>xs(Me,ur,Mn,Dn,xt,Tt,Ut),Mn,In,()=>Ss(Mn)]};const hs=(Ne,Me)=>Ne.map(xt=>{const Tt=Object.assign({},xt);return Tt.title=Lo(xt.title,Me),"children"in Tt&&(Tt.children=hs(Tt.children,Me)),Tt});var Ms=Ne=>[b.useCallback(ht=>hs(ht,Ne),[Ne])],Ts=Ri((Ne,Me)=>{const{_renderTimes:ht}=Ne,{_renderTimes:xt}=Me;return ht!==xt}),is=lr((Ne,Me)=>{const{_renderTimes:ht}=Ne,{_renderTimes:xt}=Me;return ht!==xt}),Qi=te(36237),os=te(17835),ue=te(63356),We=te(16931),at=te(51636),At=Ne=>{const{componentCls:Me,lineWidth:ht,lineType:xt,tableBorderColor:Tt,tableHeaderBg:Ut,tablePaddingVertical:cn,tablePaddingHorizontal:an,calc:pn}=Ne,gn=`${(0,Qi.unit)(ht)} ${xt} ${Tt}`,Mn=(In,Dn,xn)=>({[`&${Me}-${In}`]:{[`> ${Me}-container`]:{[`> ${Me}-content, > ${Me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(pn(Dn).mul(-1).equal())}
|
|
|
${(0,Qi.unit)(pn(pn(xn).add(ht)).mul(-1).equal())}`}}}}}});return{[`${Me}-wrapper`]:{[`${Me}${Me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Me}-title`]:{border:gn,borderBottom:0},[`> ${Me}-container`]:{borderInlineStart:gn,borderTop:gn,[`
|
|
|
> ${Me}-content,
|
|
|
> ${Me}-header,
|
|
|
> ${Me}-body,
|
|
|
> ${Me}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:gn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:gn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Me}-cell-fix-right-first::after`]:{borderInlineEnd:gn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Me}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(pn(cn).mul(-1).equal())} ${(0,Qi.unit)(pn(pn(an).add(ht)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:ht,bottom:0,borderInlineEnd:gn,content:'""'}}}}}},[`&${Me}-scroll-horizontal`]:{[`> ${Me}-container > ${Me}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Me}-expanded-row,
|
|
|
> tr${Me}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Mn("middle",Ne.tablePaddingVerticalMiddle,Ne.tablePaddingHorizontalMiddle)),Mn("small",Ne.tablePaddingVerticalSmall,Ne.tablePaddingHorizontalSmall)),{[`> ${Me}-footer`]:{border:gn,borderTop:0}}),[`${Me}-cell`]:{[`${Me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Qi.unit)(ht)} 0 ${(0,Qi.unit)(ht)} ${Ut}`}},[`${Me}-bordered ${Me}-cell-scrollbar`]:{borderInlineEnd:gn}}}},Cn=Ne=>{const{componentCls:Me}=Ne;return{[`${Me}-wrapper`]:{[`${Me}-cell-ellipsis`]:Object.assign(Object.assign({},ue.vS),{wordBreak:"keep-all",[`
|
|
|
&${Me}-cell-fix-left-last,
|
|
|
&${Me}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${Me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zn=Ne=>{const{componentCls:Me}=Ne;return{[`${Me}-wrapper`]:{[`${Me}-tbody > tr${Me}-placeholder`]:{textAlign:"center",color:Ne.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ne.colorBgContainer}}}}},An=Ne=>{const{componentCls:Me,antCls:ht,motionDurationSlow:xt,lineWidth:Tt,paddingXS:Ut,lineType:cn,tableBorderColor:an,tableExpandIconBg:pn,tableExpandColumnWidth:gn,borderRadius:Mn,tablePaddingVertical:In,tablePaddingHorizontal:Dn,tableExpandedRowBg:xn,paddingXXS:yn,expandIconMarginTop:ur,expandIconSize:Hn,expandIconHalfInner:vr,expandIconScale:fr,calc:Er}=Ne,yr=`${(0,Qi.unit)(Tt)} ${cn} ${an}`,Sr=Er(yn).sub(Tt).equal();return{[`${Me}-wrapper`]:{[`${Me}-expand-icon-col`]:{width:gn},[`${Me}-row-expand-icon-cell`]:{textAlign:"center",[`${Me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Me}-row-indent`]:{height:1,float:"left"},[`${Me}-row-expand-icon`]:Object.assign(Object.assign({},(0,ue.Nd)(Ne)),{position:"relative",float:"left",width:Hn,height:Hn,color:"inherit",lineHeight:(0,Qi.unit)(Hn),background:pn,border:yr,borderRadius:Mn,transform:`scale(${fr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${xt} ease-out`,content:'""'},"&::before":{top:vr,insetInlineEnd:Sr,insetInlineStart:Sr,height:Tt},"&::after":{top:Sr,bottom:Sr,insetInlineStart:vr,width:Tt,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"}}),[`${Me}-row-indent + ${Me}-row-expand-icon`]:{marginTop:ur,marginInlineEnd:Ut},[`tr${Me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:xn}},[`${ht}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Me}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Qi.unit)(Er(In).mul(-1).equal())} ${(0,Qi.unit)(Er(Dn).mul(-1).equal())}`,padding:`${(0,Qi.unit)(In)} ${(0,Qi.unit)(Dn)}`}}}},sr=Ne=>{const{componentCls:Me,antCls:ht,iconCls:xt,tableFilterDropdownWidth:Tt,tableFilterDropdownSearchWidth:Ut,paddingXXS:cn,paddingXS:an,colorText:pn,lineWidth:gn,lineType:Mn,tableBorderColor:In,headerIconColor:Dn,fontSizeSM:xn,tablePaddingHorizontal:yn,borderRadius:ur,motionDurationSlow:Hn,colorTextDescription:vr,colorPrimary:fr,tableHeaderFilterActiveBg:Er,colorTextDisabled:yr,tableFilterDropdownBg:Sr,tableFilterDropdownHeight:Mr,controlItemBgHover:Hr,controlItemBgActive:Ur,boxShadowSecondary:Ci,filterDropdownMenuBg:wr,calc:br}=Ne,Or=`${ht}-dropdown`,Qn=`${Me}-filter-dropdown`,$n=`${ht}-tree`,Br=`${(0,Qi.unit)(gn)} ${Mn} ${In}`;return[{[`${Me}-wrapper`]:{[`${Me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:br(cn).mul(-1).equal(),marginInline:`${(0,Qi.unit)(cn)} ${(0,Qi.unit)(br(yn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Qi.unit)(cn)}`,color:Dn,fontSize:xn,borderRadius:ur,cursor:"pointer",transition:`all ${Hn}`,"&:hover":{color:vr,background:Er},"&.active":{color:fr}}}},{[`${ht}-dropdown`]:{[Qn]:Object.assign(Object.assign({},(0,ue.Wf)(Ne)),{minWidth:Tt,backgroundColor:Sr,borderRadius:ur,boxShadow:Ci,overflow:"hidden",[`${Or}-menu`]:{maxHeight:Mr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:wr,"&:empty::after":{display:"block",padding:`${(0,Qi.unit)(an)} 0`,color:yr,fontSize:xn,textAlign:"center",content:'"Not Found"'}},[`${Qn}-tree`]:{paddingBlock:`${(0,Qi.unit)(an)} 0`,paddingInline:an,[$n]:{padding:0},[`${$n}-treenode ${$n}-node-content-wrapper:hover`]:{backgroundColor:Hr},[`${$n}-treenode-checkbox-checked ${$n}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ur}}},[`${Qn}-search`]:{padding:an,borderBottom:Br,"&-input":{input:{minWidth:Ut},[xt]:{color:yr}}},[`${Qn}-checkall`]:{width:"100%",marginBottom:cn,marginInlineStart:cn},[`${Qn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Qi.unit)(br(an).sub(gn).equal())} ${(0,Qi.unit)(an)}`,overflow:"hidden",borderTop:Br}})}},{[`${ht}-dropdown ${Qn}, ${Qn}-submenu`]:{[`${ht}-checkbox-wrapper + span`]:{paddingInlineStart:an,color:pn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},er=Ne=>{const{componentCls:Me,lineWidth:ht,colorSplit:xt,motionDurationSlow:Tt,zIndexTableFixed:Ut,tableBg:cn,zIndexTableSticky:an,calc:pn}=Ne,gn=xt;return{[`${Me}-wrapper`]:{[`
|
|
|
${Me}-cell-fix-left,
|
|
|
${Me}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:Ut,background:cn},[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:pn(ht).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},[`${Me}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:pn(ht).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},[`${Me}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:pn(an).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Tt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Me}-ping-left`]:{[`&:not(${Me}-has-fix-left) ${Me}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${gn}`},[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${gn}`},[`${Me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Me}-ping-right`]:{[`&:not(${Me}-has-fix-right) ${Me}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${gn}`},[`
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${gn}`}},[`${Me}-fixed-column-gapped`]:{[`
|
|
|
${Me}-cell-fix-left-first::after,
|
|
|
${Me}-cell-fix-left-last::after,
|
|
|
${Me}-cell-fix-right-first::after,
|
|
|
${Me}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},hr=Ne=>{const{componentCls:Me,antCls:ht,margin:xt}=Ne;return{[`${Me}-wrapper`]:{[`${Me}-pagination${ht}-pagination`]:{margin:`${(0,Qi.unit)(xt)} 0`},[`${Me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ne.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Yr=Ne=>{const{componentCls:Me,tableRadius:ht}=Ne;return{[`${Me}-wrapper`]:{[Me]:{[`${Me}-title, ${Me}-header`]:{borderRadius:`${(0,Qi.unit)(ht)} ${(0,Qi.unit)(ht)} 0 0`},[`${Me}-title + ${Me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Me}-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:ht,borderStartEndRadius:ht,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ht},"> *:last-child":{borderStartEndRadius:ht}}},"&-footer":{borderRadius:`0 0 ${(0,Qi.unit)(ht)} ${(0,Qi.unit)(ht)}`}}}}},xr=Ne=>{const{componentCls:Me}=Ne;return{[`${Me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Me}-pagination-left`]:{justifyContent:"flex-end"},[`${Me}-pagination-right`]:{justifyContent:"flex-start"},[`${Me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Me}-row-indent`]:{float:"right"}}}}},Fr=Ne=>{const{componentCls:Me,antCls:ht,iconCls:xt,fontSizeIcon:Tt,padding:Ut,paddingXS:cn,headerIconColor:an,headerIconHoverColor:pn,tableSelectionColumnWidth:gn,tableSelectedRowBg:Mn,tableSelectedRowHoverBg:In,tableRowHoverBg:Dn,tablePaddingHorizontal:xn,calc:yn}=Ne;return{[`${Me}-wrapper`]:{[`${Me}-selection-col`]:{width:gn,[`&${Me}-selection-col-with-dropdown`]:{width:yn(gn).add(Tt).add(yn(Ut).div(4)).equal()}},[`${Me}-bordered ${Me}-selection-col`]:{width:yn(gn).add(yn(cn).mul(2)).equal(),[`&${Me}-selection-col-with-dropdown`]:{width:yn(gn).add(Tt).add(yn(Ut).div(4)).add(yn(cn).mul(2)).equal()}},[`
|
|
|
table tr th${Me}-selection-column,
|
|
|
table tr td${Me}-selection-column,
|
|
|
${Me}-selection-column
|
|
|
`]:{paddingInlineEnd:Ne.paddingXS,paddingInlineStart:Ne.paddingXS,textAlign:"center",[`${ht}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Me}-selection-column${Me}-cell-fix-left`]:{zIndex:yn(Ne.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ne.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Qi.unit)(yn(xn).div(4).equal()),[xt]:{color:an,fontSize:Tt,verticalAlign:"baseline","&:hover":{color:pn}}},[`${Me}-tbody`]:{[`${Me}-row`]:{[`&${Me}-row-selected`]:{[`> ${Me}-cell`]:{background:Mn,"&-row-hover":{background:In}}},[`> ${Me}-cell-row-hover`]:{background:Dn}}}}}},Fi=Ne=>{const{componentCls:Me,tableExpandColumnWidth:ht,calc:xt}=Ne,Tt=(Ut,cn,an,pn)=>({[`${Me}${Me}-${Ut}`]:{fontSize:pn,[`
|
|
|
${Me}-title,
|
|
|
${Me}-footer,
|
|
|
${Me}-cell,
|
|
|
${Me}-thead > tr > th,
|
|
|
${Me}-tbody > tr > th,
|
|
|
${Me}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Qi.unit)(cn)} ${(0,Qi.unit)(an)}`},[`${Me}-filter-trigger`]:{marginInlineEnd:(0,Qi.unit)(xt(an).div(2).mul(-1).equal())},[`${Me}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(xt(cn).mul(-1).equal())} ${(0,Qi.unit)(xt(an).mul(-1).equal())}`},[`${Me}-tbody`]:{[`${Me}-wrapper:only-child ${Me}`]:{marginBlock:(0,Qi.unit)(xt(cn).mul(-1).equal()),marginInline:`${(0,Qi.unit)(xt(ht).sub(an).equal())} ${(0,Qi.unit)(xt(an).mul(-1).equal())}`}},[`${Me}-selection-extra`]:{paddingInlineStart:(0,Qi.unit)(xt(an).div(4).equal())}}});return{[`${Me}-wrapper`]:Object.assign(Object.assign({},Tt("middle",Ne.tablePaddingVerticalMiddle,Ne.tablePaddingHorizontalMiddle,Ne.tableFontSizeMiddle)),Tt("small",Ne.tablePaddingVerticalSmall,Ne.tablePaddingHorizontalSmall,Ne.tableFontSizeSmall))}},yi=Ne=>{const{componentCls:Me,marginXXS:ht,fontSizeIcon:xt,headerIconColor:Tt,headerIconHoverColor:Ut}=Ne;return{[`${Me}-wrapper`]:{[`${Me}-thead th${Me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ne.motionDurationSlow}, left 0s`,"&:hover":{background:Ne.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ne.colorPrimary},[`
|
|
|
&${Me}-cell-fix-left:hover,
|
|
|
&${Me}-cell-fix-right:hover
|
|
|
`]:{background:Ne.tableFixedHeaderSortActiveBg}},[`${Me}-thead th${Me}-column-sort`]:{background:Ne.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Me}-column-sort`]:{background:Ne.tableBodySortBg},[`${Me}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Me}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Me}-column-sorter`]:{marginInlineStart:ht,color:Tt,fontSize:0,transition:`color ${Ne.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:xt,"&.active":{color:Ne.colorPrimary}},[`${Me}-column-sorter-up + ${Me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Me}-column-sorters:hover ${Me}-column-sorter`]:{color:Ut}}}},Li=Ne=>{const{componentCls:Me,opacityLoading:ht,tableScrollThumbBg:xt,tableScrollThumbBgHover:Tt,tableScrollThumbSize:Ut,tableScrollBg:cn,zIndexTableSticky:an,stickyScrollBarBorderRadius:pn,lineWidth:gn,lineType:Mn,tableBorderColor:In}=Ne,Dn=`${(0,Qi.unit)(gn)} ${Mn} ${In}`;return{[`${Me}-wrapper`]:{[`${Me}-sticky`]:{"&-holder":{position:"sticky",zIndex:an,background:Ne.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Qi.unit)(Ut)} !important`,zIndex:an,display:"flex",alignItems:"center",background:cn,borderTop:Dn,opacity:ht,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ut,backgroundColor:xt,borderRadius:pn,transition:`all ${Ne.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Tt}}}}}}},ii=Ne=>{const{componentCls:Me,lineWidth:ht,tableBorderColor:xt,calc:Tt}=Ne,Ut=`${(0,Qi.unit)(ht)} ${Ne.lineType} ${xt}`;return{[`${Me}-wrapper`]:{[`${Me}-summary`]:{position:"relative",zIndex:Ne.zIndexTableFixed,background:Ne.tableBg,"> tr":{"> th, > td":{borderBottom:Ut}}},[`div${Me}-summary`]:{boxShadow:`0 ${(0,Qi.unit)(Tt(ht).mul(-1).equal())} 0 ${xt}`}}}},si=Ne=>{const{componentCls:Me,motionDurationMid:ht,lineWidth:xt,lineType:Tt,tableBorderColor:Ut,calc:cn}=Ne,an=`${(0,Qi.unit)(xt)} ${Tt} ${Ut}`,pn=`${Me}-expanded-row-cell`;return{[`${Me}-wrapper`]:{[`${Me}-tbody-virtual`]:{[`${Me}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${Me}-row,
|
|
|
& > div:not(${Me}-row) > ${Me}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Me}-cell`]:{borderBottom:an,transition:`background ${ht}`},[`${Me}-expanded-row`]:{[`${pn}${pn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Qi.unit)(xt)})`,borderInlineEnd:"none"}}},[`${Me}-bordered`]:{[`${Me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:an,position:"absolute"},[`${Me}-cell`]:{borderInlineEnd:an,[`&${Me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:cn(xt).mul(-1).equal(),borderInlineStart:an}}},[`&${Me}-virtual`]:{[`${Me}-placeholder ${Me}-cell`]:{borderInlineEnd:an,borderBottom:an}}}}}};const li=Ne=>{const{componentCls:Me,fontWeightStrong:ht,tablePaddingVertical:xt,tablePaddingHorizontal:Tt,tableExpandColumnWidth:Ut,lineWidth:cn,lineType:an,tableBorderColor:pn,tableFontSize:gn,tableBg:Mn,tableRadius:In,tableHeaderTextColor:Dn,motionDurationMid:xn,tableHeaderBg:yn,tableHeaderCellSplitColor:ur,tableFooterTextColor:Hn,tableFooterBg:vr,calc:fr}=Ne,Er=`${(0,Qi.unit)(cn)} ${an} ${pn}`;return{[`${Me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ue.dF)()),{[Me]:Object.assign(Object.assign({},(0,ue.Wf)(Ne)),{fontSize:gn,background:Mn,borderRadius:`${(0,Qi.unit)(In)} ${(0,Qi.unit)(In)} 0 0`,scrollbarColor:`${Ne.tableScrollThumbBg} ${Ne.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Qi.unit)(In)} ${(0,Qi.unit)(In)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${Me}-cell,
|
|
|
${Me}-thead > tr > th,
|
|
|
${Me}-tbody > tr > th,
|
|
|
${Me}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Qi.unit)(xt)} ${(0,Qi.unit)(Tt)}`,overflowWrap:"break-word"},[`${Me}-title`]:{padding:`${(0,Qi.unit)(xt)} ${(0,Qi.unit)(Tt)}`},[`${Me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Dn,fontWeight:ht,textAlign:"start",background:yn,borderBottom:Er,transition:`background ${xn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Me}-selection-column):not(${Me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ur,transform:"translateY(-50%)",transition:`background-color ${xn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${xn}, border-color ${xn}`,borderBottom:Er,[`
|
|
|
> ${Me}-wrapper:only-child,
|
|
|
> ${Me}-expanded-row-fixed > ${Me}-wrapper:only-child
|
|
|
`]:{[Me]:{marginBlock:(0,Qi.unit)(fr(xt).mul(-1).equal()),marginInline:`${(0,Qi.unit)(fr(Ut).sub(Tt).equal())}
|
|
|
${(0,Qi.unit)(fr(Tt).mul(-1).equal())}`,[`${Me}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Dn,fontWeight:ht,textAlign:"start",background:yn,borderBottom:Er,transition:`background ${xn} ease`}}},[`${Me}-footer`]:{padding:`${(0,Qi.unit)(xt)} ${(0,Qi.unit)(Tt)}`,color:Hn,background:vr}})}},Vi=Ne=>{const{colorFillAlter:Me,colorBgContainer:ht,colorTextHeading:xt,colorFillSecondary:Tt,colorFillContent:Ut,controlItemBgActive:cn,controlItemBgActiveHover:an,padding:pn,paddingSM:gn,paddingXS:Mn,colorBorderSecondary:In,borderRadiusLG:Dn,controlHeight:xn,colorTextPlaceholder:yn,fontSize:ur,fontSizeSM:Hn,lineHeight:vr,lineWidth:fr,colorIcon:Er,colorIconHover:yr,opacityLoading:Sr,controlInteractiveSize:Mr}=Ne,Hr=new os.FastColor(Tt).onBackground(ht).toHexString(),Ur=new os.FastColor(Ut).onBackground(ht).toHexString(),Ci=new os.FastColor(Me).onBackground(ht).toHexString(),wr=new os.FastColor(Er),br=new os.FastColor(yr),Or=Mr/2-fr,Qn=Or*2+fr*3;return{headerBg:Ci,headerColor:xt,headerSortActiveBg:Hr,headerSortHoverBg:Ur,bodySortBg:Ci,rowHoverBg:Ci,rowSelectedBg:cn,rowSelectedHoverBg:an,rowExpandedBg:Me,cellPaddingBlock:pn,cellPaddingInline:pn,cellPaddingBlockMD:gn,cellPaddingInlineMD:Mn,cellPaddingBlockSM:Mn,cellPaddingInlineSM:Mn,borderColor:In,headerBorderRadius:Dn,footerBg:Ci,footerColor:xt,cellFontSize:ur,cellFontSizeMD:ur,cellFontSizeSM:ur,headerSplitColor:In,fixedHeaderSortActiveBg:Hr,headerFilterHoverBg:Ut,filterDropdownMenuBg:ht,filterDropdownBg:ht,expandIconBg:ht,selectionColumnWidth:xn,stickyScrollBarBg:yn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(ur*vr-fr*3)/2-Math.ceil((Hn*1.4-fr*3)/2),headerIconColor:wr.clone().setA(wr.a*Sr).toRgbString(),headerIconHoverColor:br.clone().setA(br.a*Sr).toRgbString(),expandIconHalfInner:Or,expandIconSize:Qn,expandIconScale:Mr/Qn}},Ni=2;var vi=(0,We.I$)("Table",Ne=>{const{colorTextHeading:Me,colorSplit:ht,colorBgContainer:xt,controlInteractiveSize:Tt,headerBg:Ut,headerColor:cn,headerSortActiveBg:an,headerSortHoverBg:pn,bodySortBg:gn,rowHoverBg:Mn,rowSelectedBg:In,rowSelectedHoverBg:Dn,rowExpandedBg:xn,cellPaddingBlock:yn,cellPaddingInline:ur,cellPaddingBlockMD:Hn,cellPaddingInlineMD:vr,cellPaddingBlockSM:fr,cellPaddingInlineSM:Er,borderColor:yr,footerBg:Sr,footerColor:Mr,headerBorderRadius:Hr,cellFontSize:Ur,cellFontSizeMD:Ci,cellFontSizeSM:wr,headerSplitColor:br,fixedHeaderSortActiveBg:Or,headerFilterHoverBg:Qn,filterDropdownBg:$n,expandIconBg:Br,selectionColumnWidth:jr,stickyScrollBarBg:ei,calc:Si}=Ne,Kr=(0,at.mergeToken)(Ne,{tableFontSize:Ur,tableBg:xt,tableRadius:Hr,tablePaddingVertical:yn,tablePaddingHorizontal:ur,tablePaddingVerticalMiddle:Hn,tablePaddingHorizontalMiddle:vr,tablePaddingVerticalSmall:fr,tablePaddingHorizontalSmall:Er,tableBorderColor:yr,tableHeaderTextColor:cn,tableHeaderBg:Ut,tableFooterTextColor:Mr,tableFooterBg:Sr,tableHeaderCellSplitColor:br,tableHeaderSortBg:an,tableHeaderSortHoverBg:pn,tableBodySortBg:gn,tableFixedHeaderSortActiveBg:Or,tableHeaderFilterActiveBg:Qn,tableFilterDropdownBg:$n,tableRowHoverBg:Mn,tableSelectedRowBg:In,tableSelectedRowHoverBg:Dn,zIndexTableFixed:Ni,zIndexTableSticky:Si(Ni).add(1).equal({unit:!1}),tableFontSizeMiddle:Ci,tableFontSizeSmall:wr,tableSelectionColumnWidth:jr,tableExpandIconBg:Br,tableExpandColumnWidth:Si(Tt).add(Si(Ne.padding).mul(2)).equal(),tableExpandedRowBg:xn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ei,tableScrollThumbBgHover:Me,tableScrollBg:ht});return[li(Kr),hr(Kr),ii(Kr),yi(Kr),sr(Kr),At(Kr),Yr(Kr),An(Kr),ii(Kr),Zn(Kr),Fr(Kr),er(Kr),Li(Kr),Cn(Kr),Fi(Kr),xr(Kr),si(Kr)]},Vi,{unitless:{expandIconScale:!0}});const wi=[],oi=(Ne,Me)=>{var ht,xt;const{prefixCls:Tt,className:Ut,rootClassName:cn,style:an,size:pn,bordered:gn,dropdownPrefixCls:Mn,dataSource:In,pagination:Dn,rowSelection:xn,rowKey:yn="key",rowClassName:ur,columns:Hn,children:vr,childrenColumnName:fr,onChange:Er,getPopupContainer:yr,loading:Sr,expandIcon:Mr,expandable:Hr,expandedRowRender:Ur,expandIconColumnIndex:Ci,indentSize:wr,scroll:br,sortDirections:Or,locale:Qn,showSorterTooltip:$n={target:"full-header"},virtual:Br}=Ne,jr=(0,Eo.ln)("Table"),ei=b.useMemo(()=>Hn||Sn(vr),[Hn,vr]),Si=b.useMemo(()=>ei.some(ui=>ui.responsive),[ei]),Kr=(0,Ta.Z)(Si),so=b.useMemo(()=>{const ui=new Set(Object.keys(Kr).filter(Yi=>Kr[Yi]));return ei.filter(Yi=>!Yi.responsive||Yi.responsive.some(Io=>ui.has(Io)))},[ei,Kr]),eo=(0,ea.Z)(Ne,["className","style","columns"]),{locale:qo=rl.Z,direction:No,table:Xo,renderEmpty:ra,getPrefixCls:oa,getPopupContainer:go}=b.useContext(Jo.E_),po=(0,Bo.Z)(pn),ma=Object.assign(Object.assign({},qo.Table),Qn),pa=In||wi,Ii=oa("table",Tt),no=oa("dropdown",Mn),[,Di]=(0,Yl.ZP)(),ci=(0,zo.Z)(Ii),[Do,Zo,aa]=vi(Ii,ci),Ho=Object.assign(Object.assign({childrenColumnName:fr,expandIconColumnIndex:Ci},Hr),{expandIcon:(ht=Hr==null?void 0:Hr.expandIcon)!==null&&ht!==void 0?ht:(xt=Xo==null?void 0:Xo.expandable)===null||xt===void 0?void 0:xt.expandIcon}),{childrenColumnName:va="children"}=Ho,ca=b.useMemo(()=>pa.some(ui=>ui==null?void 0:ui[va])?"nest":Ur||Hr!=null&&Hr.expandedRowRender?"row":null,[pa]),Ti={body:b.useRef(null)},Ui=xo(Ii),jo=b.useRef(null),$o=b.useRef(null);Xi(Me,()=>Object.assign(Object.assign({},$o.current),{nativeElement:jo.current}));const _o=b.useMemo(()=>typeof yn=="function"?yn:ui=>ui==null?void 0:ui[yn],[yn]),[Sa]=Pl(pa,va,_o),la={},Na=function(ui,Yi){let Io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ba,Qa,Ua,Hl;const ll=Object.assign(Object.assign({},la),ui);Io&&((Ba=la.resetPagination)===null||Ba===void 0||Ba.call(la),!((Qa=ll.pagination)===null||Qa===void 0)&&Qa.current&&(ll.pagination.current=1),Dn&&((Ua=Dn.onChange)===null||Ua===void 0||Ua.call(Dn,1,(Hl=ll.pagination)===null||Hl===void 0?void 0:Hl.pageSize))),br&&br.scrollToFirstRowOnChange!==!1&&Ti.body.current&&(0,Wo.Z)(0,{getContainer:()=>Ti.body.current}),Er==null||Er(ll.pagination,ll.filters,ll.sorter,{currentDataSource:So(_l(pa,ll.sorterStates,va),ll.filterStates,va),action:Yi})},ia=(ui,Yi)=>{Na({sorter:ui,sorterStates:Yi},"sort",!1)},[Po,na,sa,Ca]=Ks({prefixCls:Ii,mergedColumns:so,onSorterChange:ia,sortDirections:Or||["ascend","descend"],tableLocale:ma,showSorterTooltip:$n}),ga=b.useMemo(()=>_l(pa,na,va),[pa,na]);la.sorter=Ca(),la.sorterStates=na;const Mo=(ui,Yi)=>{Na({filters:ui,filterStates:Yi},"filter",!0)},[fa,Uo,Ra]=Oa({prefixCls:Ii,locale:ma,dropdownPrefixCls:no,mergedColumns:so,onFilterChange:Mo,getPopupContainer:yr||go,rootClassName:he()(cn,ci)}),wa=So(ga,Uo,va);la.filters=Ra,la.filterStates=Uo;const Va=b.useMemo(()=>{const ui={};return Object.keys(Ra).forEach(Yi=>{Ra[Yi]!==null&&(ui[Yi]=Ra[Yi])}),Object.assign(Object.assign({},sa),{filters:ui})},[sa,Ra]),[$a]=Ms(Va),wl=(ui,Yi)=>{Na({pagination:Object.assign(Object.assign({},la.pagination),{current:ui,pageSize:Yi})},"paginate")},[ua,Jl]=Bl(wa.length,wl,Dn);la.pagination=Dn===!1?{}:ol(ua,Dn),la.resetPagination=Jl;const Ka=b.useMemo(()=>{if(Dn===!1||!ua.pageSize)return wa;const{current:ui=1,total:Yi,pageSize:Io=Ml}=ua;return wa.length<Yi?wa.length>Io?wa.slice((ui-1)*Io,ui*Io):wa:wa.slice((ui-1)*Io,ui*Io)},[!!Dn,wa,ua==null?void 0:ua.current,ua==null?void 0:ua.pageSize,ua==null?void 0:ua.total]),[hl,al]=Mi({prefixCls:Ii,data:wa,pageData:Ka,getRowKey:_o,getRecordByKey:Sa,expandType:ca,childrenColumnName:va,locale:ma,getPopupContainer:yr||go},xn),ro=(ui,Yi,Io)=>{let Ba;return typeof ur=="function"?Ba=he()(ur(ui,Yi,Io)):Ba=he()(ur),he()({[`${Ii}-row-selected`]:al.has(_o(ui,Yi))},Ba)};Ho.__PARENT_RENDER_ICON__=Ho.expandIcon,Ho.expandIcon=Ho.expandIcon||Mr||qi(ma),ca==="nest"&&Ho.expandIconColumnIndex===void 0?Ho.expandIconColumnIndex=xn?1:0:Ho.expandIconColumnIndex>0&&xn&&(Ho.expandIconColumnIndex-=1),typeof Ho.indentSize!="number"&&(Ho.indentSize=typeof wr=="number"?wr:15);const Pi=b.useCallback(ui=>$a(hl(fa(Po(ui)))),[Po,fa,hl]);let ya,_a;if(Dn!==!1&&(ua!=null&&ua.total)){let ui;ua.size?ui=ua.size:ui=po==="small"||po==="middle"?"small":void 0;const Yi=Qa=>b.createElement(Za.Z,Object.assign({},ua,{className:he()(`${Ii}-pagination ${Ii}-pagination-${Qa}`,ua.className),size:ui})),Io=No==="rtl"?"left":"right",{position:Ba}=ua;if(Ba!==null&&Array.isArray(Ba)){const Qa=Ba.find(ll=>ll.includes("top")),Ua=Ba.find(ll=>ll.includes("bottom")),Hl=Ba.every(ll=>`${ll}`=="none");!Qa&&!Ua&&!Hl&&(_a=Yi(Io)),Qa&&(ya=Yi(Qa.toLowerCase().replace("top",""))),Ua&&(_a=Yi(Ua.toLowerCase().replace("bottom","")))}else _a=Yi(Io)}let yl;typeof Sr=="boolean"?yl={spinning:Sr}:typeof Sr=="object"&&(yl=Object.assign({spinning:!0},Sr));const Nl=he()(aa,ci,`${Ii}-wrapper`,Xo==null?void 0:Xo.className,{[`${Ii}-wrapper-rtl`]:No==="rtl"},Ut,cn,Zo),ws=Object.assign(Object.assign({},Xo==null?void 0:Xo.style),an),Es=typeof(Qn==null?void 0:Qn.emptyText)!="undefined"?Qn.emptyText:(ra==null?void 0:ra("Table"))||b.createElement(ho.Z,{componentName:"Table"}),Ls=Br?is:Ts,Yo={},wo=b.useMemo(()=>{const{fontSize:ui,lineHeight:Yi,lineWidth:Io,padding:Ba,paddingXS:Qa,paddingSM:Ua}=Di,Hl=Math.floor(ui*Yi);switch(po){case"middle":return Ua*2+Hl+Io;case"small":return Qa*2+Hl+Io;default:return Ba*2+Hl+Io}},[Di,po]);return Br&&(Yo.listItemHeight=wo),Do(b.createElement("div",{ref:jo,className:Nl,style:ws},b.createElement(Fa.Z,Object.assign({spinning:!1},yl),ya,b.createElement(Ls,Object.assign({},Yo,eo,{ref:$o,columns:so,direction:No,expandable:Ho,prefixCls:Ii,className:he()({[`${Ii}-middle`]:po==="middle",[`${Ii}-small`]:po==="small",[`${Ii}-bordered`]:gn,[`${Ii}-empty`]:pa.length===0},aa,ci,Zo),data:Ka,rowKey:_o,rowClassName:ro,emptyText:Es,internalHooks:pe,internalRefs:Ti,transformColumns:Pi,getContainerWidth:Ui})),_a)))};var bi=b.forwardRef(oi);const gi=(Ne,Me)=>{const ht=b.useRef(0);return ht.current+=1,b.createElement(bi,Object.assign({},Ne,{ref:Me,_renderTimes:ht.current}))},Ki=b.forwardRef(gi);Ki.SELECTION_COLUMN=ko,Ki.EXPAND_COLUMN=tt,Ki.SELECTION_ALL=ha,Ki.SELECTION_INVERT=Aa,Ki.SELECTION_NONE=xa,Ki.Column=qr,Ki.ColumnGroup=_n,Ki.Summary=je;var lo=Ki,uo=lo},96599:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return he}});var b=te(59301),tt=te(92310),pe=te.n(tt),Ue=te(2738),Pe=te(29509),me=te(78776),ve=te(22703),fe=te(12919),be=te(48755),de=te(36237),Le=te(17835),we=te(63356),Te=te(51636),xe=te(16931);const Fe=ye=>{const{paddingXXS:Ct,lineWidth:Ke,tagPaddingHorizontal:yt,componentCls:Dt,calc:Ge}=ye,Ae=Ge(yt).sub(Ke).equal(),ot=Ge(Ct).sub(Ke).equal();return{[Dt]:Object.assign(Object.assign({},(0,we.Wf)(ye)),{display:"inline-block",height:"auto",marginInlineEnd:ye.marginXS,paddingInline:Ae,fontSize:ye.tagFontSize,lineHeight:ye.tagLineHeight,whiteSpace:"nowrap",background:ye.defaultBg,border:`${(0,de.unit)(ye.lineWidth)} ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadiusSM,opacity:1,transition:`all ${ye.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Dt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ye.defaultColor},[`${Dt}-close-icon`]:{marginInlineStart:ot,fontSize:ye.tagIconSize,color:ye.colorTextDescription,cursor:"pointer",transition:`all ${ye.motionDurationMid}`,"&:hover":{color:ye.colorTextHeading}},[`&${Dt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ye.iconCls}-close, ${ye.iconCls}-close:hover`]:{color:ye.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Dt}-checkable-checked):hover`]:{color:ye.colorPrimary,backgroundColor:ye.colorFillSecondary},"&:active, &-checked":{color:ye.colorTextLightSolid},"&-checked":{backgroundColor:ye.colorPrimary,"&:hover":{backgroundColor:ye.colorPrimaryHover}},"&:active":{backgroundColor:ye.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ye.iconCls} + span, > span + ${ye.iconCls}`]:{marginInlineStart:Ae}}),[`${Dt}-borderless`]:{borderColor:"transparent",background:ye.tagBorderlessBg}}},Ce=ye=>{const{lineWidth:Ct,fontSizeIcon:Ke,calc:yt}=ye,Dt=ye.fontSizeSM;return(0,Te.mergeToken)(ye,{tagFontSize:Dt,tagLineHeight:(0,de.unit)(yt(ye.lineHeightSM).mul(Dt).equal()),tagIconSize:yt(Ke).sub(yt(Ct).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ye.defaultBg})},De=ye=>({defaultBg:new Le.FastColor(ye.colorFillQuaternary).onBackground(ye.colorBgContainer).toHexString(),defaultColor:ye.colorText});var Be=(0,xe.I$)("Tag",ye=>{const Ct=Ce(ye);return Fe(Ct)},De),Ze=function(ye,Ct){var Ke={};for(var yt in ye)Object.prototype.hasOwnProperty.call(ye,yt)&&Ct.indexOf(yt)<0&&(Ke[yt]=ye[yt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,yt=Object.getOwnPropertySymbols(ye);Dt<yt.length;Dt++)Ct.indexOf(yt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(ye,yt[Dt])&&(Ke[yt[Dt]]=ye[yt[Dt]]);return Ke},ce=b.forwardRef((ye,Ct)=>{const{prefixCls:Ke,style:yt,className:Dt,checked:Ge,onChange:Ae,onClick:ot}=ye,zt=Ze(ye,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Et,tag:Oe}=b.useContext(be.E_),Je=Gt=>{Ae==null||Ae(!Ge),ot==null||ot(Gt)},dt=Et("tag",Ke),[It,st,Ft]=Be(dt),ft=pe()(dt,`${dt}-checkable`,{[`${dt}-checkable-checked`]:Ge},Oe==null?void 0:Oe.className,Dt,st,Ft);return It(b.createElement("span",Object.assign({},zt,{ref:Ct,style:Object.assign(Object.assign({},yt),Oe==null?void 0:Oe.style),className:ft,onClick:Je})))}),ke=te(93427);const qe=ye=>(0,ke.Z)(ye,(Ct,Ke)=>{let{textColor:yt,lightBorderColor:Dt,lightColor:Ge,darkColor:Ae}=Ke;return{[`${ye.componentCls}${ye.componentCls}-${Ct}`]:{color:yt,background:Ge,borderColor:Dt,"&-inverse":{color:ye.colorTextLightSolid,background:Ae,borderColor:Ae},[`&${ye.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _e=(0,xe.bk)(["Tag","preset"],ye=>{const Ct=Ce(ye);return qe(Ct)},De);function mt(ye){return typeof ye!="string"?ye:ye.charAt(0).toUpperCase()+ye.slice(1)}const Re=(ye,Ct,Ke)=>{const yt=mt(Ke);return{[`${ye.componentCls}${ye.componentCls}-${Ct}`]:{color:ye[`color${Ke}`],background:ye[`color${yt}Bg`],borderColor:ye[`color${yt}Border`],[`&${ye.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ye=(0,xe.bk)(["Tag","status"],ye=>{const Ct=Ce(ye);return[Re(Ct,"success","Success"),Re(Ct,"processing","Info"),Re(Ct,"error","Error"),Re(Ct,"warning","Warning")]},De),lt=function(ye,Ct){var Ke={};for(var yt in ye)Object.prototype.hasOwnProperty.call(ye,yt)&&Ct.indexOf(yt)<0&&(Ke[yt]=ye[yt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,yt=Object.getOwnPropertySymbols(ye);Dt<yt.length;Dt++)Ct.indexOf(yt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(ye,yt[Dt])&&(Ke[yt[Dt]]=ye[yt[Dt]]);return Ke};const Qe=b.forwardRef((ye,Ct)=>{const{prefixCls:Ke,className:yt,rootClassName:Dt,style:Ge,children:Ae,icon:ot,color:zt,onClose:Et,bordered:Oe=!0,visible:Je}=ye,dt=lt(ye,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:It,direction:st,tag:Ft}=b.useContext(be.E_),[ft,Gt]=b.useState(!0),Pt=(0,Ue.Z)(dt,["closeIcon","closable"]);b.useEffect(()=>{Je!==void 0&&Gt(Je)},[Je]);const oe=(0,Pe.o2)(zt),ae=(0,Pe.yT)(zt),ee=oe||ae,E=Object.assign(Object.assign({backgroundColor:zt&&!ee?zt:void 0},Ft==null?void 0:Ft.style),Ge),re=It("tag",Ke),[ne,le,ge]=Be(re),Ee=pe()(re,Ft==null?void 0:Ft.className,{[`${re}-${zt}`]:ee,[`${re}-has-color`]:zt&&!ee,[`${re}-hidden`]:!ft,[`${re}-rtl`]:st==="rtl",[`${re}-borderless`]:!Oe},yt,Dt,le,ge),ze=et=>{et.stopPropagation(),Et==null||Et(et),!et.defaultPrevented&&Gt(!1)},[,je]=(0,me.Z)((0,me.w)(ye),(0,me.w)(Ft),{closable:!1,closeIconRender:et=>{const $t=b.createElement("span",{className:`${re}-close-icon`,onClick:ze},et);return(0,ve.wm)(et,$t,Lt=>({onClick:qt=>{var Nt;(Nt=Lt==null?void 0:Lt.onClick)===null||Nt===void 0||Nt.call(Lt,qt),ze(qt)},className:pe()(Lt==null?void 0:Lt.className,`${re}-close-icon`)}))}}),Xe=typeof dt.onClick=="function"||Ae&&Ae.type==="a",it=ot||null,pt=it?b.createElement(b.Fragment,null,it,Ae&&b.createElement("span",null,Ae)):Ae,He=b.createElement("span",Object.assign({},Pt,{ref:Ct,className:Ee,style:E}),pt,je,oe&&b.createElement(_e,{key:"preset",prefixCls:re}),ae&&b.createElement(Ye,{key:"status",prefixCls:re}));return ne(Xe?b.createElement(fe.Z,{component:"Tag"},He):He)});Qe.CheckableTag=ce;var he=Qe},18287:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return Et}});var b=te(87632),tt=te(77654),pe=te(59301),Ue=te(52671),Pe=te(8657),me=te(60499),ve={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"},fe=ve,be=te(7657),de=function(Je,dt){return pe.createElement(be.Z,(0,me.Z)({},Je,{ref:dt,icon:fe}))},Le=pe.forwardRef(de),we=Le,Te=te(92310),xe=te.n(Te),Fe=te(82661),Ce=te(34061),De=te(48755),Be=te(56082),Ze=te(86641),rt=te(57700),ce=te(12425);const ke=4;function qe(Oe){const{dropPosition:Je,dropLevelOffset:dt,prefixCls:It,indent:st,direction:Ft="ltr"}=Oe,ft=Ft==="ltr"?"left":"right",Gt=Ft==="ltr"?"right":"left",Pt={[ft]:-dt*st+ke,[Gt]:0};switch(Je){case-1:Pt.top=-3;break;case 1:Pt.bottom=-3;break;default:Pt.bottom=-3,Pt[ft]=st+ke;break}return pe.createElement("div",{style:Pt,className:`${It}-drop-indicator`})}var _e=qe,mt=te(85278),Ye=pe.forwardRef((Oe,Je)=>{var dt;const{getPrefixCls:It,direction:st,virtual:Ft,tree:ft}=pe.useContext(De.E_),{prefixCls:Gt,className:Pt,showIcon:oe=!1,showLine:ae,switcherIcon:ee,switcherLoadingIcon:E,blockNode:re=!1,children:ne,checkable:le=!1,selectable:ge=!0,draggable:Ee,motion:ze,style:je}=Oe,Xe=It("tree",Gt),it=It(),pt=ze!=null?ze:Object.assign(Object.assign({},(0,Ze.Z)(it)),{motionAppear:!1}),He=Object.assign(Object.assign({},Oe),{checkable:le,selectable:ge,showIcon:oe,motion:pt,blockNode:re,showLine:!!ae,dropIndicatorRender:_e}),[et,$t,Lt]=(0,ce.ZP)(Xe),[,qt]=(0,rt.ZP)(),Nt=qt.paddingXS/2+(((dt=qt.Tree)===null||dt===void 0?void 0:dt.titleHeight)||qt.controlHeightSM),Mt=pe.useMemo(()=>{if(!Ee)return!1;let Jt={};switch(typeof Ee){case"function":Jt.nodeDraggable=Ee;break;case"object":Jt=Object.assign({},Ee);break;default:break}return Jt.icon!==!1&&(Jt.icon=Jt.icon||pe.createElement(Be.Z,null)),Jt},[Ee]),Kt=Jt=>pe.createElement(mt.Z,{prefixCls:Xe,switcherIcon:ee,switcherLoadingIcon:E,treeNodeProps:Jt,showLine:ae});return et(pe.createElement(b.ZP,Object.assign({itemHeight:Nt,ref:Je,virtual:Ft},He,{style:Object.assign(Object.assign({},ft==null?void 0:ft.style),je),prefixCls:Xe,className:xe()({[`${Xe}-icon-hide`]:!oe,[`${Xe}-block-node`]:re,[`${Xe}-unselectable`]:!ge,[`${Xe}-rtl`]:st==="rtl"},ft==null?void 0:ft.className,Pt,$t,Lt),direction:st,checkable:le&&pe.createElement("span",{className:`${Xe}-checkbox-inner`}),selectable:ge,switcherIcon:Kt,draggable:Mt}),ne))});const lt=0,Se=1,Qe=2;function he(Oe,Je,dt){const{key:It,children:st}=dt;function Ft(ft){const Gt=ft[It],Pt=ft[st];Je(Gt,ft)!==!1&&he(Pt||[],Je,dt)}Oe.forEach(Ft)}function ye(Oe){let{treeData:Je,expandedKeys:dt,startKey:It,endKey:st,fieldNames:Ft}=Oe;const ft=[];let Gt=lt;if(It&&It===st)return[It];if(!It||!st)return[];function Pt(oe){return oe===It||oe===st}return he(Je,oe=>{if(Gt===Qe)return!1;if(Pt(oe)){if(ft.push(oe),Gt===lt)Gt=Se;else if(Gt===Se)return Gt=Qe,!1}else Gt===Se&&ft.push(oe);return dt.includes(oe)},(0,Ce.w$)(Ft)),ft}function Ct(Oe,Je,dt){const It=(0,tt.Z)(Je),st=[];return he(Oe,(Ft,ft)=>{const Gt=It.indexOf(Ft);return Gt!==-1&&(st.push(ft),It.splice(Gt,1)),!!It.length},(0,Ce.w$)(dt)),st}var Ke=function(Oe,Je){var dt={};for(var It in Oe)Object.prototype.hasOwnProperty.call(Oe,It)&&Je.indexOf(It)<0&&(dt[It]=Oe[It]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,It=Object.getOwnPropertySymbols(Oe);st<It.length;st++)Je.indexOf(It[st])<0&&Object.prototype.propertyIsEnumerable.call(Oe,It[st])&&(dt[It[st]]=Oe[It[st]]);return dt};function yt(Oe){const{isLeaf:Je,expanded:dt}=Oe;return Je?pe.createElement(Ue.Z,null):dt?pe.createElement(Pe.Z,null):pe.createElement(we,null)}function Dt(Oe){let{treeData:Je,children:dt}=Oe;return Je||(0,Ce.zn)(dt)}const Ge=(Oe,Je)=>{var{defaultExpandAll:dt,defaultExpandParent:It,defaultExpandedKeys:st}=Oe,Ft=Ke(Oe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ft=pe.useRef(null),Gt=pe.useRef(null),Pt=()=>{const{keyEntities:et}=(0,Ce.I8)(Dt(Ft));let $t;return dt?$t=Object.keys(et):It?$t=(0,Fe.r7)(Ft.expandedKeys||st||[],et):$t=Ft.expandedKeys||st||[],$t},[oe,ae]=pe.useState(Ft.selectedKeys||Ft.defaultSelectedKeys||[]),[ee,E]=pe.useState(()=>Pt());pe.useEffect(()=>{"selectedKeys"in Ft&&ae(Ft.selectedKeys)},[Ft.selectedKeys]),pe.useEffect(()=>{"expandedKeys"in Ft&&E(Ft.expandedKeys)},[Ft.expandedKeys]);const re=(et,$t)=>{var Lt;return"expandedKeys"in Ft||E(et),(Lt=Ft.onExpand)===null||Lt===void 0?void 0:Lt.call(Ft,et,$t)},ne=(et,$t)=>{var Lt;const{multiple:qt,fieldNames:Nt}=Ft,{node:Mt,nativeEvent:Kt}=$t,{key:Jt=""}=Mt,gt=Dt(Ft),kt=Object.assign(Object.assign({},$t),{selected:!0}),nn=(Kt==null?void 0:Kt.ctrlKey)||(Kt==null?void 0:Kt.metaKey),vn=Kt==null?void 0:Kt.shiftKey;let ct;qt&&nn?(ct=et,ft.current=Jt,Gt.current=ct,kt.selectedNodes=Ct(gt,ct,Nt)):qt&&vn?(ct=Array.from(new Set([].concat((0,tt.Z)(Gt.current||[]),(0,tt.Z)(ye({treeData:gt,expandedKeys:ee,startKey:Jt,endKey:ft.current,fieldNames:Nt}))))),kt.selectedNodes=Ct(gt,ct,Nt)):(ct=[Jt],ft.current=Jt,Gt.current=ct,kt.selectedNodes=Ct(gt,ct,Nt)),(Lt=Ft.onSelect)===null||Lt===void 0||Lt.call(Ft,ct,kt),"selectedKeys"in Ft||ae(ct)},{getPrefixCls:le,direction:ge}=pe.useContext(De.E_),{prefixCls:Ee,className:ze,showIcon:je=!0,expandAction:Xe="click"}=Ft,it=Ke(Ft,["prefixCls","className","showIcon","expandAction"]),pt=le("tree",Ee),He=xe()(`${pt}-directory`,{[`${pt}-directory-rtl`]:ge==="rtl"},ze);return pe.createElement(Ye,Object.assign({icon:yt,ref:Je,blockNode:!0},it,{showIcon:je,expandAction:Xe,prefixCls:pt,className:He,expandedKeys:ee,selectedKeys:oe,onSelect:ne,onExpand:re}))};var ot=pe.forwardRef(Ge);const zt=Ye;zt.DirectoryTree=ot,zt.TreeNode=b.OF;var Et=zt},12425:function(Tn,sn,te){"use strict";te.d(sn,{ZP:function(){return Fe},Yk:function(){return we},TM:function(){return Te}});var b=te(36237),tt=te(36170),pe=te(63356),Ue=te(34961),Pe=te(51636),me=te(16931);const ve=Ce=>{let{treeCls:De,treeNodeCls:Be,directoryNodeSelectedBg:Ze,directoryNodeSelectedColor:rt,motionDurationMid:ce,borderRadius:ke,controlItemBgHover:qe}=Ce;return{[`${De}${De}-directory ${Be}`]:{[`${De}-node-content-wrapper`]:{position:"static",[`> *:not(${De}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${ce}`,content:'""',borderRadius:ke},"&:hover:before":{background:qe}},[`${De}-switcher, ${De}-checkbox, ${De}-draggable-icon`]:{zIndex:1},"&-selected":{[`${De}-switcher, ${De}-draggable-icon`]:{color:rt},[`${De}-node-content-wrapper`]:{color:rt,background:"transparent","&:before, &:hover:before":{background:Ze}}}}}},fe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),be=(Ce,De)=>({[`.${Ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${De.motionDurationSlow}`}}}),de=(Ce,De)=>({[`.${Ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:De.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(De.lineWidthBold)} solid ${De.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Le=(Ce,De)=>{const{treeCls:Be,treeNodeCls:Ze,treeNodePadding:rt,titleHeight:ce,indentSize:ke,nodeSelectedBg:qe,nodeHoverBg:_e,colorTextQuaternary:mt,controlItemBgActiveDisabled:Re}=De;return{[Be]:Object.assign(Object.assign({},(0,pe.Wf)(De)),{background:De.colorBgContainer,borderRadius:De.borderRadius,transition:`background-color ${De.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Be}-rtl ${Be}-switcher_close ${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Be}-active-focused)`]:Object.assign({},(0,pe.oN)(De)),[`${Be}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Be}-block-node`]:{[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-node-content-wrapper`]:{flex:"auto"},[`${Ze}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${De.colorPrimary}`,opacity:0,animationName:fe,animationDuration:De.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:De.borderRadius}}},[Ze]:{display:"flex",alignItems:"flex-start",marginBottom:rt,lineHeight:(0,b.unit)(ce),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:rt},[`&-disabled ${Be}-node-content-wrapper`]:{color:De.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Be}-checkbox-disabled + ${Be}-node-selected,&${Ze}-disabled${Ze}-selected ${Be}-node-content-wrapper`]:{backgroundColor:Re},[`${Be}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ze}-disabled)`]:{[`${Be}-node-content-wrapper`]:{"&:hover":{color:De.nodeHoverColor}}},[`&-active ${Be}-node-content-wrapper`]:{background:De.controlItemBgHover},[`&:not(${Ze}-disabled).filter-node ${Be}-title`]:{color:De.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Be}-draggable-icon`]:{flexShrink:0,width:ce,textAlign:"center",visibility:"visible",color:mt},[`&${Ze}-disabled ${Be}-draggable-icon`]:{visibility:"hidden"}}},[`${Be}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ke}},[`${Be}-draggable-icon`]:{visibility:"hidden"},[`${Be}-switcher, ${Be}-checkbox`]:{marginInlineEnd:De.calc(De.calc(ce).sub(De.controlInteractiveSize)).div(2).equal()},[`${Be}-switcher`]:Object.assign(Object.assign({},be(Ce,De)),{position:"relative",flex:"none",alignSelf:"stretch",width:ce,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${De.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:ce,height:ce,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:De.borderRadius,transition:`all ${De.motionDurationSlow}`},[`&:not(${Be}-switcher-noop):hover:before`]:{backgroundColor:De.colorBgTextHover},[`&_close ${Be}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:De.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:De.calc(ce).div(2).equal(),bottom:De.calc(rt).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${De.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:De.calc(De.calc(ce).div(2).equal()).mul(.8).equal(),height:De.calc(ce).div(2).equal(),borderBottom:`1px solid ${De.colorBorder}`,content:'""'}}}),[`${Be}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:ce,paddingBlock:0,paddingInline:De.paddingXS,background:"transparent",borderRadius:De.borderRadius,cursor:"pointer",transition:`all ${De.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},de(Ce,De)),{"&:hover":{backgroundColor:_e},[`&${Be}-node-selected`]:{color:De.nodeSelectedColor,backgroundColor:qe},[`${Be}-iconEle`]:{display:"inline-block",width:ce,height:ce,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Be}-unselectable ${Be}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ze}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${De.colorPrimary}`},"&-show-line":{[`${Be}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:De.calc(ce).div(2).equal(),bottom:De.calc(rt).mul(-1).equal(),borderInlineEnd:`1px solid ${De.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Be}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ze}-leaf-last ${Be}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(De.calc(ce).div(2).equal())} !important`}})}},we=function(Ce,De){let Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ze=`.${Ce}`,rt=`${Ze}-treenode`,ce=De.calc(De.paddingXS).div(2).equal(),ke=(0,Pe.mergeToken)(De,{treeCls:Ze,treeNodeCls:rt,treeNodePadding:ce});return[Le(Ce,ke),Be&&ve(ke)].filter(Boolean)},Te=Ce=>{const{controlHeightSM:De,controlItemBgHover:Be,controlItemBgActive:Ze}=Ce,rt=De;return{titleHeight:rt,indentSize:rt,nodeHoverBg:Be,nodeHoverColor:Ce.colorText,nodeSelectedBg:Ze,nodeSelectedColor:Ce.colorText}},xe=Ce=>{const{colorTextLightSolid:De,colorPrimary:Be}=Ce;return Object.assign(Object.assign({},Te(Ce)),{directoryNodeSelectedColor:De,directoryNodeSelectedBg:Be})};var Fe=(0,me.I$)("Tree",(Ce,De)=>{let{prefixCls:Be}=De;return[{[Ce.componentCls]:(0,tt.C2)(`${Be}-checkbox`,Ce)},we(Be,Ce),(0,Ue.Z)(Ce)]},xe)},85278:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return De}});var b=te(59301),tt=te(60499),pe={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"},Ue=pe,Pe=te(7657),me=function(Ze,rt){return b.createElement(Pe.Z,(0,tt.Z)({},Ze,{ref:rt,icon:Ue}))},ve=b.forwardRef(me),fe=ve,be=te(52671),de=te(58617),Le=te(15075),we=te(43531),Te=te(92310),xe=te.n(Te),Fe=te(22703),De=Be=>{const{prefixCls:Ze,switcherIcon:rt,treeNodeProps:ce,showLine:ke,switcherLoadingIcon:qe}=Be,{isLeaf:_e,expanded:mt,loading:Re}=ce;if(Re)return b.isValidElement(qe)?qe:b.createElement(de.Z,{className:`${Ze}-switcher-loading-icon`});let Ye;if(ke&&typeof ke=="object"&&(Ye=ke.showLeafIcon),_e){if(!ke)return null;if(typeof Ye!="boolean"&&Ye){const Qe=typeof Ye=="function"?Ye(ce):Ye,he=`${Ze}-switcher-line-custom-icon`;return b.isValidElement(Qe)?(0,Fe.Tm)(Qe,{className:xe()(Qe.props.className||"",he)}):Qe}return Ye?b.createElement(be.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement("span",{className:`${Ze}-switcher-leaf-line`})}const lt=`${Ze}-switcher-icon`,Se=typeof rt=="function"?rt(ce):rt;return b.isValidElement(Se)?(0,Fe.Tm)(Se,{className:xe()(Se.props.className||"",lt)}):Se!==void 0?Se:ke?mt?b.createElement(Le.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(we.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(fe,{className:lt})}},94968:function(Tn,sn,te){"use strict";te.d(sn,{default:function(){return Ht}});var b=te(59301),tt=te(77654),pe=te(4676),Ue=te(92310),Pe=te.n(Ue),me=te(60499),ve=te(38705),fe=te(17212),be=te(15793),de=te(39153),Le=te(55401),we=te(18642),Te=te(85899),xe=te(42244),Fe=te(43749),Ce=te(73001),De=te(11576),Be=te(26112),Ze=te(48736),rt=function(nt,Xt){if(nt&&Xt){var tn=Array.isArray(Xt)?Xt:Xt.split(","),dn=nt.name||"",Vt=nt.type||"",jt=Vt.replace(/\/.*$/,"");return tn.some(function(Yt){var ln=Yt.trim();if(/^\*(\/\*)?$/.test(Yt))return!0;if(ln.charAt(0)==="."){var Wn=dn.toLowerCase(),Rn=ln.toLowerCase(),Kn=[Rn];return(Rn===".jpg"||Rn===".jpeg")&&(Kn=[".jpg",".jpeg"]),Kn.some(function(kr){return Wn.endsWith(kr)})}return/\/\*$/.test(ln)?jt===ln.replace(/\/.*$/,""):Vt===ln?!0:/^\w+$/.test(ln)?((0,Ze.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ln,"'.Skip for check.")),!0):!1})}return!0};function ce(nt,Xt){var tn="cannot ".concat(nt.method," ").concat(nt.action," ").concat(Xt.status,"'"),dn=new Error(tn);return dn.status=Xt.status,dn.method=nt.method,dn.url=nt.action,dn}function ke(nt){var Xt=nt.responseText||nt.response;if(!Xt)return Xt;try{return JSON.parse(Xt)}catch(tn){return Xt}}function qe(nt){var Xt=new XMLHttpRequest;nt.onProgress&&Xt.upload&&(Xt.upload.onprogress=function(jt){jt.total>0&&(jt.percent=jt.loaded/jt.total*100),nt.onProgress(jt)});var tn=new FormData;nt.data&&Object.keys(nt.data).forEach(function(Vt){var jt=nt.data[Vt];if(Array.isArray(jt)){jt.forEach(function(Yt){tn.append("".concat(Vt,"[]"),Yt)});return}tn.append(Vt,jt)}),nt.file instanceof Blob?tn.append(nt.filename,nt.file,nt.file.name):tn.append(nt.filename,nt.file),Xt.onerror=function(jt){nt.onError(jt)},Xt.onload=function(){return Xt.status<200||Xt.status>=300?nt.onError(ce(nt,Xt),ke(Xt)):nt.onSuccess(ke(Xt),Xt)},Xt.open(nt.method,nt.action,!0),nt.withCredentials&&"withCredentials"in Xt&&(Xt.withCredentials=!0);var dn=nt.headers||{};return dn["X-Requested-With"]!==null&&Xt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(dn).forEach(function(Vt){dn[Vt]!==null&&Xt.setRequestHeader(Vt,dn[Vt])}),Xt.send(tn),{abort:function(){Xt.abort()}}}var _e=function(){var nt=(0,De.Z)((0,Ce.Z)().mark(function Xt(tn,dn){var Vt,jt,Yt,ln,Wn,Rn,Kn,kr;return(0,Ce.Z)().wrap(function(_r){for(;;)switch(_r.prev=_r.next){case 0:Rn=function(){return Rn=(0,De.Z)((0,Ce.Z)().mark(function gr(Ar){return(0,Ce.Z)().wrap(function(ni){for(;;)switch(ni.prev=ni.next){case 0:return ni.abrupt("return",new Promise(function(ri){Ar.file(function(ai){dn(ai)?(Ar.fullPath&&!ai.webkitRelativePath&&(Object.defineProperties(ai,{webkitRelativePath:{writable:!0}}),ai.webkitRelativePath=Ar.fullPath.replace(/^\//,""),Object.defineProperties(ai,{webkitRelativePath:{writable:!1}})),ri(ai)):ri(null)})}));case 1:case"end":return ni.stop()}},gr)})),Rn.apply(this,arguments)},Wn=function(gr){return Rn.apply(this,arguments)},ln=function(){return ln=(0,De.Z)((0,Ce.Z)().mark(function gr(Ar){var Vr,ni,ri,ai,Dr;return(0,Ce.Z)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:Vr=Ar.createReader(),ni=[];case 2:return $r.next=5,new Promise(function(Ri){Vr.readEntries(Ri,function(){return Ri([])})});case 5:if(ri=$r.sent,ai=ri.length,ai){$r.next=9;break}return $r.abrupt("break",12);case 9:for(Dr=0;Dr<ai;Dr++)ni.push(ri[Dr]);$r.next=2;break;case 12:return $r.abrupt("return",ni);case 13:case"end":return $r.stop()}},gr)})),ln.apply(this,arguments)},Yt=function(gr){return ln.apply(this,arguments)},Vt=[],jt=[],tn.forEach(function(Pr){return jt.push(Pr.webkitGetAsEntry())}),Kn=function(){var Pr=(0,De.Z)((0,Ce.Z)().mark(function gr(Ar,Vr){var ni,ri;return(0,Ce.Z)().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:if(Ar){Dr.next=2;break}return Dr.abrupt("return");case 2:if(Ar.path=Vr||"",!Ar.isFile){Dr.next=10;break}return Dr.next=6,Wn(Ar);case 6:ni=Dr.sent,ni&&Vt.push(ni),Dr.next=15;break;case 10:if(!Ar.isDirectory){Dr.next=15;break}return Dr.next=13,Yt(Ar);case 13:ri=Dr.sent,jt.push.apply(jt,(0,tt.Z)(ri));case 15:case"end":return Dr.stop()}},gr)}));return function(Ar,Vr){return Pr.apply(this,arguments)}}(),kr=0;case 9:if(!(kr<jt.length)){_r.next=15;break}return _r.next=12,Kn(jt[kr]);case 12:kr++,_r.next=9;break;case 15:return _r.abrupt("return",Vt);case 16:case"end":return _r.stop()}},Xt)}));return function(tn,dn){return nt.apply(this,arguments)}}(),mt=_e,Re=+new Date,Ye=0;function lt(){return"rc-upload-".concat(Re,"-").concat(++Ye)}var Se=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Qe=function(nt){(0,de.Z)(tn,nt);var Xt=(0,Le.Z)(tn);function tn(){var dn;(0,ve.Z)(this,tn);for(var Vt=arguments.length,jt=new Array(Vt),Yt=0;Yt<Vt;Yt++)jt[Yt]=arguments[Yt];return dn=Xt.call.apply(Xt,[this].concat(jt)),(0,we.Z)((0,be.Z)(dn),"state",{uid:lt()}),(0,we.Z)((0,be.Z)(dn),"reqs",{}),(0,we.Z)((0,be.Z)(dn),"fileInput",void 0),(0,we.Z)((0,be.Z)(dn),"_isMounted",void 0),(0,we.Z)((0,be.Z)(dn),"onChange",function(ln){var Wn=dn.props,Rn=Wn.accept,Kn=Wn.directory,kr=ln.target.files,Zr=(0,tt.Z)(kr).filter(function(_r){return!Kn||rt(_r,Rn)});dn.uploadFiles(Zr),dn.reset()}),(0,we.Z)((0,be.Z)(dn),"onClick",function(ln){var Wn=dn.fileInput;if(Wn){var Rn=ln.target,Kn=dn.props.onClick;if(Rn&&Rn.tagName==="BUTTON"){var kr=Wn.parentNode;kr.focus(),Rn.blur()}Wn.click(),Kn&&Kn(ln)}}),(0,we.Z)((0,be.Z)(dn),"onKeyDown",function(ln){ln.key==="Enter"&&dn.onClick(ln)}),(0,we.Z)((0,be.Z)(dn),"onFileDrop",function(){var ln=(0,De.Z)((0,Ce.Z)().mark(function Wn(Rn){var Kn,kr,Zr;return(0,Ce.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:if(Kn=dn.props.multiple,Rn.preventDefault(),Rn.type!=="dragover"){Pr.next=4;break}return Pr.abrupt("return");case 4:if(!dn.props.directory){Pr.next=11;break}return Pr.next=7,mt(Array.prototype.slice.call(Rn.dataTransfer.items),function(gr){return rt(gr,dn.props.accept)});case 7:kr=Pr.sent,dn.uploadFiles(kr),Pr.next=14;break;case 11:Zr=(0,tt.Z)(Rn.dataTransfer.files).filter(function(gr){return rt(gr,dn.props.accept)}),Kn===!1&&(Zr=Zr.slice(0,1)),dn.uploadFiles(Zr);case 14:case"end":return Pr.stop()}},Wn)}));return function(Wn){return ln.apply(this,arguments)}}()),(0,we.Z)((0,be.Z)(dn),"uploadFiles",function(ln){var Wn=(0,tt.Z)(ln),Rn=Wn.map(function(Kn){return Kn.uid=lt(),dn.processFile(Kn,Wn)});Promise.all(Rn).then(function(Kn){var kr=dn.props.onBatchStart;kr==null||kr(Kn.map(function(Zr){var _r=Zr.origin,Pr=Zr.parsedFile;return{file:_r,parsedFile:Pr}})),Kn.filter(function(Zr){return Zr.parsedFile!==null}).forEach(function(Zr){dn.post(Zr)})})}),(0,we.Z)((0,be.Z)(dn),"processFile",function(){var ln=(0,De.Z)((0,Ce.Z)().mark(function Wn(Rn,Kn){var kr,Zr,_r,Pr,gr,Ar,Vr,ni,ri;return(0,Ce.Z)().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:if(kr=dn.props.beforeUpload,Zr=Rn,!kr){Dr.next=14;break}return Dr.prev=3,Dr.next=6,kr(Rn,Kn);case 6:Zr=Dr.sent,Dr.next=12;break;case 9:Dr.prev=9,Dr.t0=Dr.catch(3),Zr=!1;case 12:if(Zr!==!1){Dr.next=14;break}return Dr.abrupt("return",{origin:Rn,parsedFile:null,action:null,data:null});case 14:if(_r=dn.props.action,typeof _r!="function"){Dr.next=21;break}return Dr.next=18,_r(Rn);case 18:Pr=Dr.sent,Dr.next=22;break;case 21:Pr=_r;case 22:if(gr=dn.props.data,typeof gr!="function"){Dr.next=29;break}return Dr.next=26,gr(Rn);case 26:Ar=Dr.sent,Dr.next=30;break;case 29:Ar=gr;case 30:return Vr=((0,Fe.Z)(Zr)==="object"||typeof Zr=="string")&&Zr?Zr:Rn,Vr instanceof File?ni=Vr:ni=new File([Vr],Rn.name,{type:Rn.type}),ri=ni,ri.uid=Rn.uid,Dr.abrupt("return",{origin:Rn,data:Ar,parsedFile:ri,action:Pr});case 35:case"end":return Dr.stop()}},Wn,null,[[3,9]])}));return function(Wn,Rn){return ln.apply(this,arguments)}}()),(0,we.Z)((0,be.Z)(dn),"saveFileInput",function(ln){dn.fileInput=ln}),dn}return(0,fe.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Vt){var jt=this,Yt=Vt.data,ln=Vt.origin,Wn=Vt.action,Rn=Vt.parsedFile;if(this._isMounted){var Kn=this.props,kr=Kn.onStart,Zr=Kn.customRequest,_r=Kn.name,Pr=Kn.headers,gr=Kn.withCredentials,Ar=Kn.method,Vr=ln.uid,ni=Zr||qe,ri={action:Wn,filename:_r,data:Yt,file:Rn,headers:Pr,withCredentials:gr,method:Ar||"post",onProgress:function(Dr){var Jr=jt.props.onProgress;Jr==null||Jr(Dr,Rn)},onSuccess:function(Dr,Jr){var $r=jt.props.onSuccess;$r==null||$r(Dr,Rn,Jr),delete jt.reqs[Vr]},onError:function(Dr,Jr){var $r=jt.props.onError;$r==null||$r(Dr,Jr,Rn),delete jt.reqs[Vr]}};kr(ln),this.reqs[Vr]=ni(ri)}}},{key:"reset",value:function(){this.setState({uid:lt()})}},{key:"abort",value:function(Vt){var jt=this.reqs;if(Vt){var Yt=Vt.uid?Vt.uid:Vt;jt[Yt]&&jt[Yt].abort&&jt[Yt].abort(),delete jt[Yt]}else Object.keys(jt).forEach(function(ln){jt[ln]&&jt[ln].abort&&jt[ln].abort(),delete jt[ln]})}},{key:"render",value:function(){var Vt=this.props,jt=Vt.component,Yt=Vt.prefixCls,ln=Vt.className,Wn=Vt.classNames,Rn=Wn===void 0?{}:Wn,Kn=Vt.disabled,kr=Vt.id,Zr=Vt.name,_r=Vt.style,Pr=Vt.styles,gr=Pr===void 0?{}:Pr,Ar=Vt.multiple,Vr=Vt.accept,ni=Vt.capture,ri=Vt.children,ai=Vt.directory,Dr=Vt.openFileDialogOnClick,Jr=Vt.onMouseEnter,$r=Vt.onMouseLeave,Ri=Vt.hasControlInside,Hi=(0,xe.Z)(Vt,Se),zi=Pe()((0,we.Z)((0,we.Z)((0,we.Z)({},Yt,!0),"".concat(Yt,"-disabled"),Kn),ln,ln)),Zi=ai?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Ji=Kn?{}:{onClick:Dr?this.onClick:function(){},onKeyDown:Dr?this.onKeyDown:function(){},onMouseEnter:Jr,onMouseLeave:$r,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Ri?void 0:"0"};return b.createElement(jt,(0,me.Z)({},Ji,{className:zi,role:Ri?void 0:"button",style:_r}),b.createElement("input",(0,me.Z)({},(0,Be.Z)(Hi,{aria:!0,data:!0}),{id:kr,name:Zr,disabled:Kn,type:"file",ref:this.saveFileInput,onClick:function(ki){return ki.stopPropagation()},key:this.state.uid,style:(0,Te.Z)({display:"none"},gr.input),className:Rn.input,accept:Vr},Zi,{multiple:Ar,onChange:this.onChange},ni!=null?{capture:ni}:{})),ri)}}]),tn}(b.Component),he=Qe;function ye(){}var Ct=function(nt){(0,de.Z)(tn,nt);var Xt=(0,Le.Z)(tn);function tn(){var dn;(0,ve.Z)(this,tn);for(var Vt=arguments.length,jt=new Array(Vt),Yt=0;Yt<Vt;Yt++)jt[Yt]=arguments[Yt];return dn=Xt.call.apply(Xt,[this].concat(jt)),(0,we.Z)((0,be.Z)(dn),"uploader",void 0),(0,we.Z)((0,be.Z)(dn),"saveUploader",function(ln){dn.uploader=ln}),dn}return(0,fe.Z)(tn,[{key:"abort",value:function(Vt){this.uploader.abort(Vt)}},{key:"render",value:function(){return b.createElement(he,(0,me.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(b.Component);(0,we.Z)(Ct,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ye,onError:ye,onSuccess:ye,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Ke=Ct,yt=Ke,Dt=te(18929),Ge=te(48755),Ae=te(2171),ot=te(9017),zt=te(85981),Et=te(63356),Oe=te(34961),Je=te(16931),dt=te(51636),It=te(36237),Ft=nt=>{const{componentCls:Xt,iconCls:tn}=nt;return{[`${Xt}-wrapper`]:{[`${Xt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:nt.colorFillAlter,border:`${(0,It.unit)(nt.lineWidth)} dashed ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,cursor:"pointer",transition:`border-color ${nt.motionDurationSlow}`,[Xt]:{padding:nt.padding},[`${Xt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:nt.borderRadiusLG,"&:focus-visible":{outline:`${(0,It.unit)(nt.lineWidthFocus)} solid ${nt.colorPrimaryBorder}`}},[`${Xt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Xt}-disabled):hover,
|
|
|
&-hover:not(${Xt}-disabled)
|
|
|
`]:{borderColor:nt.colorPrimaryHover},[`p${Xt}-drag-icon`]:{marginBottom:nt.margin,[tn]:{color:nt.colorPrimary,fontSize:nt.uploadThumbnailSize}},[`p${Xt}-text`]:{margin:`0 0 ${(0,It.unit)(nt.marginXXS)}`,color:nt.colorTextHeading,fontSize:nt.fontSizeLG},[`p${Xt}-hint`]:{color:nt.colorTextDescription,fontSize:nt.fontSize},[`&${Xt}-disabled`]:{[`p${Xt}-drag-icon ${tn},
|
|
|
p${Xt}-text,
|
|
|
p${Xt}-hint
|
|
|
`]:{color:nt.colorTextDisabled}}}}}},Gt=nt=>{const{componentCls:Xt,iconCls:tn,fontSize:dn,lineHeight:Vt,calc:jt}=nt,Yt=`${Xt}-list-item`,ln=`${Yt}-actions`,Wn=`${Yt}-action`;return{[`${Xt}-wrapper`]:{[`${Xt}-list`]:Object.assign(Object.assign({},(0,Et.dF)()),{lineHeight:nt.lineHeight,[Yt]:{position:"relative",height:jt(nt.lineHeight).mul(dn).equal(),marginTop:nt.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${nt.motionDurationSlow}`,borderRadius:nt.borderRadiusSM,"&:hover":{backgroundColor:nt.controlItemBgHover},[`${Yt}-name`]:Object.assign(Object.assign({},Et.vS),{padding:`0 ${(0,It.unit)(nt.paddingXS)}`,lineHeight:Vt,flex:"auto",transition:`all ${nt.motionDurationSlow}`}),[ln]:{whiteSpace:"nowrap",[Wn]:{opacity:0},[tn]:{color:nt.actionsColor,transition:`all ${nt.motionDurationSlow}`},[`
|
|
|
${Wn}:focus-visible,
|
|
|
&.picture ${Wn}
|
|
|
`]:{opacity:1}},[`${Xt}-icon ${tn}`]:{color:nt.colorTextDescription,fontSize:dn},[`${Yt}-progress`]:{position:"absolute",bottom:nt.calc(nt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:jt(dn).add(nt.paddingXS).equal(),fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Yt}:hover ${Wn}`]:{opacity:1},[`${Yt}-error`]:{color:nt.colorError,[`${Yt}-name, ${Xt}-icon ${tn}`]:{color:nt.colorError},[ln]:{[`${tn}, ${tn}:hover`]:{color:nt.colorError},[Wn]:{opacity:1}}},[`${Xt}-list-item-container`]:{transition:`opacity ${nt.motionDurationSlow}, height ${nt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Pt=te(99495),ae=nt=>{const{componentCls:Xt}=nt,tn=new It.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:nt.calc(nt.marginXS).div(-2).equal()}}),dn=new It.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:nt.calc(nt.marginXS).div(-2).equal()}}),Vt=`${Xt}-animate-inline`;return[{[`${Xt}-wrapper`]:{[`${Vt}-appear, ${Vt}-enter, ${Vt}-leave`]:{animationDuration:nt.motionDurationSlow,animationTimingFunction:nt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Vt}-appear, ${Vt}-enter`]:{animationName:tn},[`${Vt}-leave`]:{animationName:dn}}},{[`${Xt}-wrapper`]:(0,Pt.J$)(nt)},tn,dn]},ee=te(68361);const E=nt=>{const{componentCls:Xt,iconCls:tn,uploadThumbnailSize:dn,uploadProgressOffset:Vt,calc:jt}=nt,Yt=`${Xt}-list`,ln=`${Yt}-item`;return{[`${Xt}-wrapper`]:{[`
|
|
|
${Yt}${Yt}-picture,
|
|
|
${Yt}${Yt}-picture-card,
|
|
|
${Yt}${Yt}-picture-circle
|
|
|
`]:{[ln]:{position:"relative",height:jt(dn).add(jt(nt.lineWidth).mul(2)).add(jt(nt.paddingXS).mul(2)).equal(),padding:nt.paddingXS,border:`${(0,It.unit)(nt.lineWidth)} ${nt.lineType} ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,"&:hover":{background:"transparent"},[`${ln}-thumbnail`]:Object.assign(Object.assign({},Et.vS),{width:dn,height:dn,lineHeight:(0,It.unit)(jt(dn).add(nt.paddingSM).equal()),textAlign:"center",flex:"none",[tn]:{fontSize:nt.fontSizeHeading2,color:nt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ln}-progress`]:{bottom:Vt,width:`calc(100% - ${(0,It.unit)(jt(nt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:jt(dn).add(nt.paddingXS).equal()}},[`${ln}-error`]:{borderColor:nt.colorError,[`${ln}-thumbnail ${tn}`]:{[`svg path[fill='${ee.blue[0]}']`]:{fill:nt.colorErrorBg},[`svg path[fill='${ee.blue.primary}']`]:{fill:nt.colorError}}},[`${ln}-uploading`]:{borderStyle:"dashed",[`${ln}-name`]:{marginBottom:Vt}}},[`${Yt}${Yt}-picture-circle ${ln}`]:{[`&, &::before, ${ln}-thumbnail`]:{borderRadius:"50%"}}}}},re=nt=>{const{componentCls:Xt,iconCls:tn,fontSizeLG:dn,colorTextLightSolid:Vt,calc:jt}=nt,Yt=`${Xt}-list`,ln=`${Yt}-item`,Wn=nt.uploadPicCardSize;return{[`
|
|
|
${Xt}-wrapper${Xt}-picture-card-wrapper,
|
|
|
${Xt}-wrapper${Xt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,Et.dF)()),{display:"block",[`${Xt}${Xt}-select`]:{width:Wn,height:Wn,textAlign:"center",verticalAlign:"top",backgroundColor:nt.colorFillAlter,border:`${(0,It.unit)(nt.lineWidth)} dashed ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,cursor:"pointer",transition:`border-color ${nt.motionDurationSlow}`,[`> ${Xt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Xt}-disabled):hover`]:{borderColor:nt.colorPrimary}},[`${Yt}${Yt}-picture-card, ${Yt}${Yt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:nt.marginXS,marginInlineEnd:nt.marginXS}},"@supports (gap: 1px)":{gap:nt.marginXS},[`${Yt}-item-container`]:{display:"inline-block",width:Wn,height:Wn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[ln]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,It.unit)(jt(nt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,It.unit)(jt(nt.paddingXS).mul(2).equal())})`,backgroundColor:nt.colorBgMask,opacity:0,transition:`all ${nt.motionDurationSlow}`,content:'" "'}},[`${ln}:hover`]:{[`&::before, ${ln}-actions`]:{opacity:1}},[`${ln}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${nt.motionDurationSlow}`,[`
|
|
|
${tn}-eye,
|
|
|
${tn}-download,
|
|
|
${tn}-delete
|
|
|
`]:{zIndex:10,width:dn,margin:`0 ${(0,It.unit)(nt.marginXXS)}`,fontSize:dn,cursor:"pointer",transition:`all ${nt.motionDurationSlow}`,color:Vt,"&:hover":{color:Vt},svg:{verticalAlign:"baseline"}}},[`${ln}-thumbnail, ${ln}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ln}-name`]:{display:"none",textAlign:"center"},[`${ln}-file + ${ln}-name`]:{position:"absolute",bottom:nt.margin,display:"block",width:`calc(100% - ${(0,It.unit)(jt(nt.paddingXS).mul(2).equal())})`},[`${ln}-uploading`]:{[`&${ln}`]:{backgroundColor:nt.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${ln}-progress`]:{bottom:nt.marginXL,width:`calc(100% - ${(0,It.unit)(jt(nt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Xt}-wrapper${Xt}-picture-circle-wrapper`]:{[`${Xt}${Xt}-select`]:{borderRadius:"50%"}}}};var le=nt=>{const{componentCls:Xt}=nt;return{[`${Xt}-rtl`]:{direction:"rtl"}}};const ge=nt=>{const{componentCls:Xt,colorTextDisabled:tn}=nt;return{[`${Xt}-wrapper`]:Object.assign(Object.assign({},(0,Et.Wf)(nt)),{[Xt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Xt}-select`]:{display:"inline-block"},[`${Xt}-hidden`]:{display:"none"},[`${Xt}-disabled`]:{color:tn,cursor:"not-allowed"}})}},Ee=nt=>({actionsColor:nt.colorTextDescription});var ze=(0,Je.I$)("Upload",nt=>{const{fontSizeHeading3:Xt,fontHeight:tn,lineWidth:dn,controlHeightLG:Vt,calc:jt}=nt,Yt=(0,dt.mergeToken)(nt,{uploadThumbnailSize:jt(Xt).mul(2).equal(),uploadProgressOffset:jt(jt(tn).div(2)).add(dn).equal(),uploadPicCardSize:jt(Vt).mul(2.55).equal()});return[ge(Yt),Ft(Yt),E(Yt),re(Yt),Gt(Yt),ae(Yt),le(Yt),(0,Oe.Z)(Yt)]},Ee),je={icon:function(Xt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Xt}}]}},name:"file",theme:"twotone"},Xe=je,it=te(7657),pt=function(Xt,tn){return b.createElement(it.Z,(0,me.Z)({},Xt,{ref:tn,icon:Xe}))},He=b.forwardRef(pt),et=He,$t=te(58617),Lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},qt=Lt,Nt=function(Xt,tn){return b.createElement(it.Z,(0,me.Z)({},Xt,{ref:tn,icon:qt}))},Mt=b.forwardRef(Nt),Kt=Mt,Jt={icon:function(Xt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Xt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Xt}}]}},name:"picture",theme:"twotone"},gt=Jt,kt=function(Xt,tn){return b.createElement(it.Z,(0,me.Z)({},Xt,{ref:tn,icon:gt}))},nn=b.forwardRef(kt),vn=nn,ct=te(77900),wt=te(2738),Wt=te(40192),on=te(86641),fn=te(22703),Pn=te(7939);function Vn(nt){return Object.assign(Object.assign({},nt),{lastModified:nt.lastModified,lastModifiedDate:nt.lastModifiedDate,name:nt.name,size:nt.size,type:nt.type,uid:nt.uid,percent:0,originFileObj:nt})}function Gn(nt,Xt){const tn=(0,tt.Z)(Xt),dn=tn.findIndex(Vt=>{let{uid:jt}=Vt;return jt===nt.uid});return dn===-1?tn.push(nt):tn[dn]=nt,tn}function Bn(nt,Xt){const tn=nt.uid!==void 0?"uid":"name";return Xt.filter(dn=>dn[tn]===nt[tn])[0]}function Un(nt,Xt){const tn=nt.uid!==void 0?"uid":"name",dn=Xt.filter(Vt=>Vt[tn]!==nt[tn]);return dn.length===Xt.length?null:dn}const Rt=function(){const Xt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),dn=Xt[Xt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(dn)||[""])[0]},Bt=nt=>nt.indexOf("image/")===0,un=nt=>{if(nt.type&&!nt.thumbUrl)return Bt(nt.type);const Xt=nt.thumbUrl||nt.url||"",tn=Rt(Xt);return/^data:image\//.test(Xt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(Xt)||tn)},en=200;function Qt(nt){return new Promise(Xt=>{if(!nt.type||!Bt(nt.type)){Xt("");return}const tn=document.createElement("canvas");tn.width=en,tn.height=en,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${en}px; height: ${en}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const dn=tn.getContext("2d"),Vt=new Image;if(Vt.onload=()=>{const{width:jt,height:Yt}=Vt;let ln=en,Wn=en,Rn=0,Kn=0;jt>Yt?(Wn=Yt*(en/jt),Kn=-(Wn-ln)/2):(ln=jt*(en/Yt),Rn=-(ln-Wn)/2),dn.drawImage(Vt,Rn,Kn,ln,Wn);const kr=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(Vt.src),Xt(kr)},Vt.crossOrigin="anonymous",nt.type.startsWith("image/svg+xml")){const jt=new FileReader;jt.onload=()=>{jt.result&&typeof jt.result=="string"&&(Vt.src=jt.result)},jt.readAsDataURL(nt)}else if(nt.type.startsWith("image/gif")){const jt=new FileReader;jt.onload=()=>{jt.result&&Xt(jt.result)},jt.readAsDataURL(nt)}else Vt.src=window.URL.createObjectURL(nt)})}var wn=te(26227),bn=te(41464),kn=te(15277),Xn=te(89787),zn=te(25399),nr=b.forwardRef((nt,Xt)=>{let{prefixCls:tn,className:dn,style:Vt,locale:jt,listType:Yt,file:ln,items:Wn,progress:Rn,iconRender:Kn,actionIconRender:kr,itemRender:Zr,isImgUrl:_r,showPreviewIcon:Pr,showRemoveIcon:gr,showDownloadIcon:Ar,previewIcon:Vr,removeIcon:ni,downloadIcon:ri,extra:ai,onPreview:Dr,onDownload:Jr,onClose:$r}=nt;var Ri,Hi;const{status:zi}=ln,[Zi,Ji]=b.useState(zi);b.useEffect(()=>{zi!=="removed"&&Ji(zi)},[zi]);const[Ei,ki]=b.useState(!1);b.useEffect(()=>{const _n=setTimeout(()=>{ki(!0)},300);return()=>{clearTimeout(_n)}},[]);const fi=Kn(ln);let $i=b.createElement("div",{className:`${tn}-icon`},fi);if(Yt==="picture"||Yt==="picture-card"||Yt==="picture-circle")if(Zi==="uploading"||!ln.thumbUrl&&!ln.url){const _n=Pe()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:Zi!=="uploading"});$i=b.createElement("div",{className:_n},fi)}else{const _n=_r!=null&&_r(ln)?b.createElement("img",{src:ln.thumbUrl||ln.url,alt:ln.name,className:`${tn}-list-item-image`,crossOrigin:ln.crossOrigin}):fi,Cr=Pe()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:_r&&!_r(ln)});$i=b.createElement("a",{className:Cr,onClick:zr=>Dr(ln,zr),href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer"},_n)}const oo=Pe()(`${tn}-list-item`,`${tn}-list-item-${Zi}`),Ro=typeof ln.linkProps=="string"?JSON.parse(ln.linkProps):ln.linkProps,fo=(typeof gr=="function"?gr(ln):gr)?kr((typeof ni=="function"?ni(ln):ni)||b.createElement(wn.Z,null),()=>$r(ln),tn,jt.removeFile,!0):null,bo=(typeof Ar=="function"?Ar(ln):Ar)&&Zi==="done"?kr((typeof ri=="function"?ri(ln):ri)||b.createElement(bn.Z,null),()=>Jr(ln),tn,jt.downloadFile):null,co=Yt!=="picture-card"&&Yt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Pe()(`${tn}-list-item-actions`,{picture:Yt==="picture"})},bo,fo),yo=typeof ai=="function"?ai(ln):ai,Bi=yo&&b.createElement("span",{className:`${tn}-list-item-extra`},yo),Ai=Pe()(`${tn}-list-item-name`),Gr=ln.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ai,title:ln.name},Ro,{href:ln.url,onClick:_n=>Dr(ln,_n)}),ln.name,Bi):b.createElement("span",{key:"view",className:Ai,onClick:_n=>Dr(ln,_n),title:ln.name},ln.name,Bi),jn=(typeof Pr=="function"?Pr(ln):Pr)&&(ln.url||ln.thumbUrl)?b.createElement("a",{href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:_n=>Dr(ln,_n),title:jt.previewFile},typeof Vr=="function"?Vr(ln):Vr||b.createElement(kn.Z,null)):null,lr=(Yt==="picture-card"||Yt==="picture-circle")&&Zi!=="uploading"&&b.createElement("span",{className:`${tn}-list-item-actions`},jn,Zi==="done"&&bo,fo),{getPrefixCls:cr}=b.useContext(Ge.E_),Jn=cr(),Wr=b.createElement("div",{className:oo},$i,Gr,co,lr,Ei&&b.createElement(ct.default,{motionName:`${Jn}-fade`,visible:Zi==="uploading",motionDeadline:2e3},_n=>{let{className:Cr}=_n;const zr="percent"in ln?b.createElement(Xn.Z,Object.assign({},Rn,{type:"line",percent:ln.percent,"aria-label":ln["aria-label"],"aria-labelledby":ln["aria-labelledby"]})):null;return b.createElement("div",{className:Pe()(`${tn}-list-item-progress`,Cr)},zr)})),qr=ln.response&&typeof ln.response=="string"?ln.response:((Ri=ln.error)===null||Ri===void 0?void 0:Ri.statusText)||((Hi=ln.error)===null||Hi===void 0?void 0:Hi.message)||jt.uploadError,or=Zi==="error"?b.createElement(zn.Z,{title:qr,getPopupContainer:_n=>_n.parentNode},Wr):Wr;return b.createElement("div",{className:Pe()(`${tn}-list-item-container`,dn),style:Vt,ref:Xt},Zr?Zr(or,ln,Wn,{download:Jr.bind(null,ln),preview:Dr.bind(null,ln),remove:$r.bind(null,ln)}):or)});const tr=(nt,Xt)=>{const{listType:tn="text",previewFile:dn=Qt,onPreview:Vt,onDownload:jt,onRemove:Yt,locale:ln,iconRender:Wn,isImageUrl:Rn=un,prefixCls:Kn,items:kr=[],showPreviewIcon:Zr=!0,showRemoveIcon:_r=!0,showDownloadIcon:Pr=!1,removeIcon:gr,previewIcon:Ar,downloadIcon:Vr,extra:ni,progress:ri={size:[-1,2],showInfo:!1},appendAction:ai,appendActionVisible:Dr=!0,itemRender:Jr,disabled:$r}=nt,Ri=(0,Wt.Z)(),[Hi,zi]=b.useState(!1),Zi=["picture-card","picture-circle"].includes(tn);b.useEffect(()=>{tn.startsWith("picture")&&(kr||[]).forEach(Bi=>{!(Bi.originFileObj instanceof File||Bi.originFileObj instanceof Blob)||Bi.thumbUrl!==void 0||(Bi.thumbUrl="",dn==null||dn(Bi.originFileObj).then(Ai=>{Bi.thumbUrl=Ai||"",Ri()}))})},[tn,kr,dn]),b.useEffect(()=>{zi(!0)},[]);const Ji=(Bi,Ai)=>{if(Vt)return Ai==null||Ai.preventDefault(),Vt(Bi)},Ei=Bi=>{typeof jt=="function"?jt(Bi):Bi.url&&window.open(Bi.url)},ki=Bi=>{Yt==null||Yt(Bi)},fi=Bi=>{if(Wn)return Wn(Bi,tn);const Ai=Bi.status==="uploading";if(tn.startsWith("picture")){const Gr=tn==="picture"?b.createElement($t.Z,null):ln.uploading,jn=Rn!=null&&Rn(Bi)?b.createElement(vn,null):b.createElement(et,null);return Ai?Gr:jn}return Ai?b.createElement($t.Z,null):b.createElement(Kt,null)},$i=(Bi,Ai,Gr,jn,lr)=>{const cr={type:"text",size:"small",title:jn,onClick:Jn=>{var Wr,qr;Ai(),b.isValidElement(Bi)&&((qr=(Wr=Bi.props).onClick)===null||qr===void 0||qr.call(Wr,Jn))},className:`${Gr}-list-item-action`};return lr&&(cr.disabled=$r),b.isValidElement(Bi)?b.createElement(Pn.ZP,Object.assign({},cr,{icon:(0,fn.Tm)(Bi,Object.assign(Object.assign({},Bi.props),{onClick:()=>{}}))})):b.createElement(Pn.ZP,Object.assign({},cr),b.createElement("span",null,Bi))};b.useImperativeHandle(Xt,()=>({handlePreview:Ji,handleDownload:Ei}));const{getPrefixCls:oo}=b.useContext(Ge.E_),Ro=oo("upload",Kn),fo=oo(),bo=Pe()(`${Ro}-list`,`${Ro}-list-${tn}`),co=b.useMemo(()=>(0,wt.Z)((0,on.Z)(fo),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[fo]),yo=Object.assign(Object.assign({},Zi?{}:co),{motionDeadline:2e3,motionName:`${Ro}-${Zi?"animate-inline":"animate"}`,keys:(0,tt.Z)(kr.map(Bi=>({key:Bi.uid,file:Bi}))),motionAppear:Hi});return b.createElement("div",{className:bo},b.createElement(ct.CSSMotionList,Object.assign({},yo,{component:!1}),Bi=>{let{key:Ai,file:Gr,className:jn,style:lr}=Bi;return b.createElement(nr,{key:Ai,locale:ln,prefixCls:Ro,className:jn,style:lr,file:Gr,items:kr,progress:ri,listType:tn,isImgUrl:Rn,showPreviewIcon:Zr,showRemoveIcon:_r,showDownloadIcon:Pr,removeIcon:gr,previewIcon:Ar,downloadIcon:Vr,extra:ni,iconRender:fi,actionIconRender:$i,itemRender:Jr,onPreview:Ji,onDownload:Ei,onClose:ki})}),ai&&b.createElement(ct.default,Object.assign({},yo,{visible:Dr,forceRender:!0}),Bi=>{let{className:Ai,style:Gr}=Bi;return(0,fn.Tm)(ai,jn=>({className:Pe()(jn.className,Ai),style:Object.assign(Object.assign(Object.assign({},Gr),{pointerEvents:Ai?"none":void 0}),jn.style)}))}))};var Ir=b.forwardRef(tr),Sn=function(nt,Xt,tn,dn){function Vt(jt){return jt instanceof tn?jt:new tn(function(Yt){Yt(jt)})}return new(tn||(tn=Promise))(function(jt,Yt){function ln(Kn){try{Rn(dn.next(Kn))}catch(kr){Yt(kr)}}function Wn(Kn){try{Rn(dn.throw(Kn))}catch(kr){Yt(kr)}}function Rn(Kn){Kn.done?jt(Kn.value):Vt(Kn.value).then(ln,Wn)}Rn((dn=dn.apply(nt,Xt||[])).next())})};const Ln=`__LIST_IGNORE_${Date.now()}__`,rr=(nt,Xt)=>{const{fileList:tn,defaultFileList:dn,onRemove:Vt,showUploadList:jt=!0,listType:Yt="text",onPreview:ln,onDownload:Wn,onChange:Rn,onDrop:Kn,previewFile:kr,disabled:Zr,locale:_r,iconRender:Pr,isImageUrl:gr,progress:Ar,prefixCls:Vr,className:ni,type:ri="select",children:ai,style:Dr,itemRender:Jr,maxCount:$r,data:Ri={},multiple:Hi=!1,hasControlInside:zi=!0,action:Zi="",accept:Ji="",supportServerRender:Ei=!0,rootClassName:ki}=nt,fi=b.useContext(Ae.Z),$i=Zr!=null?Zr:fi,[oo,Ro]=(0,Dt.Z)(dn||[],{value:tn,postState:Xi=>Xi!=null?Xi:[]}),[fo,bo]=b.useState("drop"),co=b.useRef(null),yo=b.useRef(null);b.useMemo(()=>{const Xi=Date.now();(tn||[]).forEach((Wo,Jo)=>{!Wo.uid&&!Object.isFrozen(Wo)&&(Wo.uid=`__AUTO__${Xi}_${Jo}__`)})},[tn]);const Bi=(Xi,Wo,Jo)=>{let ho=(0,tt.Z)(Wo),zo=!1;$r===1?ho=ho.slice(-1):$r&&(zo=ho.length>$r,ho=ho.slice(0,$r)),(0,pe.flushSync)(()=>{Ro(ho)});const Bo={file:Xi,fileList:ho};Jo&&(Bo.event=Jo),(!zo||Xi.status==="removed"||ho.some(Ta=>Ta.uid===Xi.uid))&&(0,pe.flushSync)(()=>{Rn==null||Rn(Bo)})},Ai=(Xi,Wo)=>Sn(void 0,void 0,void 0,function*(){const{beforeUpload:Jo,transformFile:ho}=nt;let zo=Xi;if(Jo){const Bo=yield Jo(Xi,Wo);if(Bo===!1)return!1;if(delete Xi[Ln],Bo===Ln)return Object.defineProperty(Xi,Ln,{value:!0,configurable:!0}),!1;typeof Bo=="object"&&Bo&&(zo=Bo)}return ho&&(zo=yield ho(zo)),zo}),Gr=Xi=>{const Wo=Xi.filter(zo=>!zo.file[Ln]);if(!Wo.length)return;const Jo=Wo.map(zo=>Vn(zo.file));let ho=(0,tt.Z)(oo);Jo.forEach(zo=>{ho=Gn(zo,ho)}),Jo.forEach((zo,Bo)=>{let Ta=zo;if(Wo[Bo].parsedFile)zo.status="uploading";else{const{originFileObj:rl}=zo;let Za;try{Za=new File([rl],rl.name,{type:rl.type})}catch(Fa){Za=new Blob([rl],{type:rl.type}),Za.name=rl.name,Za.lastModifiedDate=new Date,Za.lastModified=new Date().getTime()}Za.uid=zo.uid,Ta=Za}Bi(Ta,ho)})},jn=(Xi,Wo,Jo)=>{try{typeof Xi=="string"&&(Xi=JSON.parse(Xi))}catch(Bo){}if(!Bn(Wo,oo))return;const ho=Vn(Wo);ho.status="done",ho.percent=100,ho.response=Xi,ho.xhr=Jo;const zo=Gn(ho,oo);Bi(ho,zo)},lr=(Xi,Wo)=>{if(!Bn(Wo,oo))return;const Jo=Vn(Wo);Jo.status="uploading",Jo.percent=Xi.percent;const ho=Gn(Jo,oo);Bi(Jo,ho,Xi)},cr=(Xi,Wo,Jo)=>{if(!Bn(Jo,oo))return;const ho=Vn(Jo);ho.error=Xi,ho.response=Wo,ho.status="error";const zo=Gn(ho,oo);Bi(ho,zo)},Jn=Xi=>{let Wo;Promise.resolve(typeof Vt=="function"?Vt(Xi):Vt).then(Jo=>{var ho;if(Jo===!1)return;const zo=Un(Xi,oo);zo&&(Wo=Object.assign(Object.assign({},Xi),{status:"removed"}),oo==null||oo.forEach(Bo=>{const Ta=Wo.uid!==void 0?"uid":"name";Bo[Ta]===Wo[Ta]&&!Object.isFrozen(Bo)&&(Bo.status="removed")}),(ho=co.current)===null||ho===void 0||ho.abort(Wo),Bi(Wo,zo))})},Wr=Xi=>{bo(Xi.type),Xi.type==="drop"&&(Kn==null||Kn(Xi))};b.useImperativeHandle(Xt,()=>({onBatchStart:Gr,onSuccess:jn,onProgress:lr,onError:cr,fileList:oo,upload:co.current,nativeElement:yo.current}));const{getPrefixCls:qr,direction:or,upload:_n}=b.useContext(Ge.E_),Cr=qr("upload",Vr),zr=Object.assign(Object.assign({onBatchStart:Gr,onError:cr,onProgress:lr,onSuccess:jn},nt),{data:Ri,multiple:Hi,action:Zi,accept:Ji,supportServerRender:Ei,prefixCls:Cr,disabled:$i,beforeUpload:Ai,onChange:void 0,hasControlInside:zi});delete zr.className,delete zr.style,(!ai||$i)&&delete zr.id;const ji=`${Cr}-wrapper`,[vo,ao,Fo]=ze(Cr,ji),[Eo]=(0,ot.Z)("Upload",zt.Z.Upload),{showRemoveIcon:Co,showPreviewIcon:To,showDownloadIcon:Oo,removeIcon:ko,previewIcon:ha,downloadIcon:Aa,extra:xa}=typeof jt=="boolean"?{}:jt,Ia=typeof Co=="undefined"?!$i:Co,Da=(Xi,Wo)=>jt?b.createElement(Ir,{prefixCls:Cr,listType:Yt,items:oo,previewFile:kr,onPreview:ln,onDownload:Wn,onRemove:Jn,showRemoveIcon:Ia,showPreviewIcon:To,showDownloadIcon:Oo,removeIcon:ko,previewIcon:ha,downloadIcon:Aa,iconRender:Pr,extra:xa,locale:Object.assign(Object.assign({},Eo),_r),isImageUrl:gr,progress:Ar,appendAction:Xi,appendActionVisible:Wo,itemRender:Jr,disabled:$i}):Xi,Gi=Pe()(ji,ni,ki,ao,Fo,_n==null?void 0:_n.className,{[`${Cr}-rtl`]:or==="rtl",[`${Cr}-picture-card-wrapper`]:Yt==="picture-card",[`${Cr}-picture-circle-wrapper`]:Yt==="picture-circle"}),Mi=Object.assign(Object.assign({},_n==null?void 0:_n.style),Dr);if(ri==="drag"){const Xi=Pe()(ao,Cr,`${Cr}-drag`,{[`${Cr}-drag-uploading`]:oo.some(Wo=>Wo.status==="uploading"),[`${Cr}-drag-hover`]:fo==="dragover",[`${Cr}-disabled`]:$i,[`${Cr}-rtl`]:or==="rtl"});return vo(b.createElement("span",{className:Gi,ref:yo},b.createElement("div",{className:Xi,style:Mi,onDrop:Wr,onDragOver:Wr,onDragLeave:Wr},b.createElement(yt,Object.assign({},zr,{ref:co,className:`${Cr}-btn`}),b.createElement("div",{className:`${Cr}-drag-container`},ai))),Da()))}const ea=Pe()(Cr,`${Cr}-select`,{[`${Cr}-disabled`]:$i,[`${Cr}-hidden`]:!ai}),ta=b.createElement("div",{className:ea},b.createElement(yt,Object.assign({},zr,{ref:co})));return vo(Yt==="picture-card"||Yt==="picture-circle"?b.createElement("span",{className:Gi,ref:yo},Da(ta,!!ai)):b.createElement("span",{className:Gi,ref:yo},ta,Da()))};var Ot=b.forwardRef(rr),_t=function(nt,Xt){var tn={};for(var dn in nt)Object.prototype.hasOwnProperty.call(nt,dn)&&Xt.indexOf(dn)<0&&(tn[dn]=nt[dn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,dn=Object.getOwnPropertySymbols(nt);Vt<dn.length;Vt++)Xt.indexOf(dn[Vt])<0&&Object.prototype.propertyIsEnumerable.call(nt,dn[Vt])&&(tn[dn[Vt]]=nt[dn[Vt]]);return tn},Zt=b.forwardRef((nt,Xt)=>{var{style:tn,height:dn,hasControlInside:Vt=!1}=nt,jt=_t(nt,["style","height","hasControlInside"]);return b.createElement(Ot,Object.assign({ref:Xt,hasControlInside:Vt},jt,{type:"drag",style:Object.assign(Object.assign({},tn),{height:dn})}))});const bt=Ot;bt.Dragger=Zt,bt.LIST_IGNORE=Ln;var Ht=bt},86251:function(Tn,sn){"use strict";sn.byteLength=ve,sn.toByteArray=be,sn.fromByteArray=we;for(var te=[],b=[],tt=typeof Uint8Array!="undefined"?Uint8Array:Array,pe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=0,Pe=pe.length;Ue<Pe;++Ue)te[Ue]=pe[Ue],b[pe.charCodeAt(Ue)]=Ue;b[45]=62,b[95]=63;function me(Te){var xe=Te.length;if(xe%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Fe=Te.indexOf("=");Fe===-1&&(Fe=xe);var Ce=Fe===xe?0:4-Fe%4;return[Fe,Ce]}function ve(Te){var xe=me(Te),Fe=xe[0],Ce=xe[1];return(Fe+Ce)*3/4-Ce}function fe(Te,xe,Fe){return(xe+Fe)*3/4-Fe}function be(Te){var xe,Fe=me(Te),Ce=Fe[0],De=Fe[1],Be=new tt(fe(Te,Ce,De)),Ze=0,rt=De>0?Ce-4:Ce,ce;for(ce=0;ce<rt;ce+=4)xe=b[Te.charCodeAt(ce)]<<18|b[Te.charCodeAt(ce+1)]<<12|b[Te.charCodeAt(ce+2)]<<6|b[Te.charCodeAt(ce+3)],Be[Ze++]=xe>>16&255,Be[Ze++]=xe>>8&255,Be[Ze++]=xe&255;return De===2&&(xe=b[Te.charCodeAt(ce)]<<2|b[Te.charCodeAt(ce+1)]>>4,Be[Ze++]=xe&255),De===1&&(xe=b[Te.charCodeAt(ce)]<<10|b[Te.charCodeAt(ce+1)]<<4|b[Te.charCodeAt(ce+2)]>>2,Be[Ze++]=xe>>8&255,Be[Ze++]=xe&255),Be}function de(Te){return te[Te>>18&63]+te[Te>>12&63]+te[Te>>6&63]+te[Te&63]}function Le(Te,xe,Fe){for(var Ce,De=[],Be=xe;Be<Fe;Be+=3)Ce=(Te[Be]<<16&16711680)+(Te[Be+1]<<8&65280)+(Te[Be+2]&255),De.push(de(Ce));return De.join("")}function we(Te){for(var xe,Fe=Te.length,Ce=Fe%3,De=[],Be=16383,Ze=0,rt=Fe-Ce;Ze<rt;Ze+=Be)De.push(Le(Te,Ze,Ze+Be>rt?rt:Ze+Be));return Ce===1?(xe=Te[Fe-1],De.push(te[xe>>2]+te[xe<<4&63]+"==")):Ce===2&&(xe=(Te[Fe-2]<<8)+Te[Fe-1],De.push(te[xe>>10]+te[xe>>4&63]+te[xe<<2&63]+"=")),De.join("")}},19208:function(Tn,sn,te){"use strict";var b;var tt=te(86251),pe=te(67467),Ue=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;sn.lW=fe,b=Ze,sn.h2=50;var Pe=2147483647;b=Pe,fe.TYPED_ARRAY_SUPPORT=me(),!fe.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 me(){try{var ee=new Uint8Array(1),E={foo:function(){return 42}};return Object.setPrototypeOf(E,Uint8Array.prototype),Object.setPrototypeOf(ee,E),ee.foo()===42}catch(re){return!1}}Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.buffer}}),Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.byteOffset}});function ve(ee){if(ee>Pe)throw new RangeError('The value "'+ee+'" is invalid for option "size"');var E=new Uint8Array(ee);return Object.setPrototypeOf(E,fe.prototype),E}function fe(ee,E,re){if(typeof ee=="number"){if(typeof E=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return we(ee)}return be(ee,E,re)}fe.poolSize=8192;function be(ee,E,re){if(typeof ee=="string")return Te(ee,E);if(ArrayBuffer.isView(ee))return Fe(ee);if(ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ee);if(Pt(ee,ArrayBuffer)||ee&&Pt(ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Pt(ee,SharedArrayBuffer)||ee&&Pt(ee.buffer,SharedArrayBuffer)))return Ce(ee,E,re);if(typeof ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ne=ee.valueOf&&ee.valueOf();if(ne!=null&&ne!==ee)return fe.from(ne,E,re);var le=De(ee);if(le)return le;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ee[Symbol.toPrimitive]=="function")return fe.from(ee[Symbol.toPrimitive]("string"),E,re);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ee)}fe.from=function(ee,E,re){return be(ee,E,re)},Object.setPrototypeOf(fe.prototype,Uint8Array.prototype),Object.setPrototypeOf(fe,Uint8Array);function de(ee){if(typeof ee!="number")throw new TypeError('"size" argument must be of type number');if(ee<0)throw new RangeError('The value "'+ee+'" is invalid for option "size"')}function Le(ee,E,re){return de(ee),ee<=0?ve(ee):E!==void 0?typeof re=="string"?ve(ee).fill(E,re):ve(ee).fill(E):ve(ee)}fe.alloc=function(ee,E,re){return Le(ee,E,re)};function we(ee){return de(ee),ve(ee<0?0:Be(ee)|0)}fe.allocUnsafe=function(ee){return we(ee)},fe.allocUnsafeSlow=function(ee){return we(ee)};function Te(ee,E){if((typeof E!="string"||E==="")&&(E="utf8"),!fe.isEncoding(E))throw new TypeError("Unknown encoding: "+E);var re=rt(ee,E)|0,ne=ve(re),le=ne.write(ee,E);return le!==re&&(ne=ne.slice(0,le)),ne}function xe(ee){for(var E=ee.length<0?0:Be(ee.length)|0,re=ve(E),ne=0;ne<E;ne+=1)re[ne]=ee[ne]&255;return re}function Fe(ee){if(Pt(ee,Uint8Array)){var E=new Uint8Array(ee);return Ce(E.buffer,E.byteOffset,E.byteLength)}return xe(ee)}function Ce(ee,E,re){if(E<0||ee.byteLength<E)throw new RangeError('"offset" is outside of buffer bounds');if(ee.byteLength<E+(re||0))throw new RangeError('"length" is outside of buffer bounds');var ne;return E===void 0&&re===void 0?ne=new Uint8Array(ee):re===void 0?ne=new Uint8Array(ee,E):ne=new Uint8Array(ee,E,re),Object.setPrototypeOf(ne,fe.prototype),ne}function De(ee){if(fe.isBuffer(ee)){var E=Be(ee.length)|0,re=ve(E);return re.length===0||ee.copy(re,0,0,E),re}if(ee.length!==void 0)return typeof ee.length!="number"||oe(ee.length)?ve(0):xe(ee);if(ee.type==="Buffer"&&Array.isArray(ee.data))return xe(ee.data)}function Be(ee){if(ee>=Pe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pe.toString(16)+" bytes");return ee|0}function Ze(ee){return+ee!=ee&&(ee=0),fe.alloc(+ee)}fe.isBuffer=function(E){return E!=null&&E._isBuffer===!0&&E!==fe.prototype},fe.compare=function(E,re){if(Pt(E,Uint8Array)&&(E=fe.from(E,E.offset,E.byteLength)),Pt(re,Uint8Array)&&(re=fe.from(re,re.offset,re.byteLength)),!fe.isBuffer(E)||!fe.isBuffer(re))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(E===re)return 0;for(var ne=E.length,le=re.length,ge=0,Ee=Math.min(ne,le);ge<Ee;++ge)if(E[ge]!==re[ge]){ne=E[ge],le=re[ge];break}return ne<le?-1:le<ne?1:0},fe.isEncoding=function(E){switch(String(E).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},fe.concat=function(E,re){if(!Array.isArray(E))throw new TypeError('"list" argument must be an Array of Buffers');if(E.length===0)return fe.alloc(0);var ne;if(re===void 0)for(re=0,ne=0;ne<E.length;++ne)re+=E[ne].length;var le=fe.allocUnsafe(re),ge=0;for(ne=0;ne<E.length;++ne){var Ee=E[ne];if(Pt(Ee,Uint8Array))ge+Ee.length>le.length?fe.from(Ee).copy(le,ge):Uint8Array.prototype.set.call(le,Ee,ge);else if(fe.isBuffer(Ee))Ee.copy(le,ge);else throw new TypeError('"list" argument must be an Array of Buffers');ge+=Ee.length}return le};function rt(ee,E){if(fe.isBuffer(ee))return ee.length;if(ArrayBuffer.isView(ee)||Pt(ee,ArrayBuffer))return ee.byteLength;if(typeof ee!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ee);var re=ee.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&re===0)return 0;for(var le=!1;;)switch(E){case"ascii":case"latin1":case"binary":return re;case"utf8":case"utf-8":return It(ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re*2;case"hex":return re>>>1;case"base64":return ft(ee).length;default:if(le)return ne?-1:It(ee).length;E=(""+E).toLowerCase(),le=!0}}fe.byteLength=rt;function ce(ee,E,re){var ne=!1;if((E===void 0||E<0)&&(E=0),E>this.length||((re===void 0||re>this.length)&&(re=this.length),re<=0)||(re>>>=0,E>>>=0,re<=E))return"";for(ee||(ee="utf8");;)switch(ee){case"hex":return Dt(this,E,re);case"utf8":case"utf-8":return he(this,E,re);case"ascii":return Ke(this,E,re);case"latin1":case"binary":return yt(this,E,re);case"base64":return Qe(this,E,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,E,re);default:if(ne)throw new TypeError("Unknown encoding: "+ee);ee=(ee+"").toLowerCase(),ne=!0}}fe.prototype._isBuffer=!0;function ke(ee,E,re){var ne=ee[E];ee[E]=ee[re],ee[re]=ne}fe.prototype.swap16=function(){var E=this.length;if(E%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var re=0;re<E;re+=2)ke(this,re,re+1);return this},fe.prototype.swap32=function(){var E=this.length;if(E%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var re=0;re<E;re+=4)ke(this,re,re+3),ke(this,re+1,re+2);return this},fe.prototype.swap64=function(){var E=this.length;if(E%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var re=0;re<E;re+=8)ke(this,re,re+7),ke(this,re+1,re+6),ke(this,re+2,re+5),ke(this,re+3,re+4);return this},fe.prototype.toString=function(){var E=this.length;return E===0?"":arguments.length===0?he(this,0,E):ce.apply(this,arguments)},fe.prototype.toLocaleString=fe.prototype.toString,fe.prototype.equals=function(E){if(!fe.isBuffer(E))throw new TypeError("Argument must be a Buffer");return this===E?!0:fe.compare(this,E)===0},fe.prototype.inspect=function(){var E="",re=sn.h2;return E=this.toString("hex",0,re).replace(/(.{2})/g,"$1 ").trim(),this.length>re&&(E+=" ... "),"<Buffer "+E+">"},Ue&&(fe.prototype[Ue]=fe.prototype.inspect),fe.prototype.compare=function(E,re,ne,le,ge){if(Pt(E,Uint8Array)&&(E=fe.from(E,E.offset,E.byteLength)),!fe.isBuffer(E))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof E);if(re===void 0&&(re=0),ne===void 0&&(ne=E?E.length:0),le===void 0&&(le=0),ge===void 0&&(ge=this.length),re<0||ne>E.length||le<0||ge>this.length)throw new RangeError("out of range index");if(le>=ge&&re>=ne)return 0;if(le>=ge)return-1;if(re>=ne)return 1;if(re>>>=0,ne>>>=0,le>>>=0,ge>>>=0,this===E)return 0;for(var Ee=ge-le,ze=ne-re,je=Math.min(Ee,ze),Xe=this.slice(le,ge),it=E.slice(re,ne),pt=0;pt<je;++pt)if(Xe[pt]!==it[pt]){Ee=Xe[pt],ze=it[pt];break}return Ee<ze?-1:ze<Ee?1:0};function qe(ee,E,re,ne,le){if(ee.length===0)return-1;if(typeof re=="string"?(ne=re,re=0):re>2147483647?re=2147483647:re<-2147483648&&(re=-2147483648),re=+re,oe(re)&&(re=le?0:ee.length-1),re<0&&(re=ee.length+re),re>=ee.length){if(le)return-1;re=ee.length-1}else if(re<0)if(le)re=0;else return-1;if(typeof E=="string"&&(E=fe.from(E,ne)),fe.isBuffer(E))return E.length===0?-1:_e(ee,E,re,ne,le);if(typeof E=="number")return E=E&255,typeof Uint8Array.prototype.indexOf=="function"?le?Uint8Array.prototype.indexOf.call(ee,E,re):Uint8Array.prototype.lastIndexOf.call(ee,E,re):_e(ee,[E],re,ne,le);throw new TypeError("val must be string, number or Buffer")}function _e(ee,E,re,ne,le){var ge=1,Ee=ee.length,ze=E.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(ee.length<2||E.length<2)return-1;ge=2,Ee/=2,ze/=2,re/=2}function je(et,$t){return ge===1?et[$t]:et.readUInt16BE($t*ge)}var Xe;if(le){var it=-1;for(Xe=re;Xe<Ee;Xe++)if(je(ee,Xe)===je(E,it===-1?0:Xe-it)){if(it===-1&&(it=Xe),Xe-it+1===ze)return it*ge}else it!==-1&&(Xe-=Xe-it),it=-1}else for(re+ze>Ee&&(re=Ee-ze),Xe=re;Xe>=0;Xe--){for(var pt=!0,He=0;He<ze;He++)if(je(ee,Xe+He)!==je(E,He)){pt=!1;break}if(pt)return Xe}return-1}fe.prototype.includes=function(E,re,ne){return this.indexOf(E,re,ne)!==-1},fe.prototype.indexOf=function(E,re,ne){return qe(this,E,re,ne,!0)},fe.prototype.lastIndexOf=function(E,re,ne){return qe(this,E,re,ne,!1)};function mt(ee,E,re,ne){re=Number(re)||0;var le=ee.length-re;ne?(ne=Number(ne),ne>le&&(ne=le)):ne=le;var ge=E.length;ne>ge/2&&(ne=ge/2);for(var Ee=0;Ee<ne;++Ee){var ze=parseInt(E.substr(Ee*2,2),16);if(oe(ze))return Ee;ee[re+Ee]=ze}return Ee}function Re(ee,E,re,ne){return Gt(It(E,ee.length-re),ee,re,ne)}function Ye(ee,E,re,ne){return Gt(st(E),ee,re,ne)}function lt(ee,E,re,ne){return Gt(ft(E),ee,re,ne)}function Se(ee,E,re,ne){return Gt(Ft(E,ee.length-re),ee,re,ne)}fe.prototype.write=function(E,re,ne,le){if(re===void 0)le="utf8",ne=this.length,re=0;else if(ne===void 0&&typeof re=="string")le=re,ne=this.length,re=0;else if(isFinite(re))re=re>>>0,isFinite(ne)?(ne=ne>>>0,le===void 0&&(le="utf8")):(le=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ge=this.length-re;if((ne===void 0||ne>ge)&&(ne=ge),E.length>0&&(ne<0||re<0)||re>this.length)throw new RangeError("Attempt to write outside buffer bounds");le||(le="utf8");for(var Ee=!1;;)switch(le){case"hex":return mt(this,E,re,ne);case"utf8":case"utf-8":return Re(this,E,re,ne);case"ascii":case"latin1":case"binary":return Ye(this,E,re,ne);case"base64":return lt(this,E,re,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,E,re,ne);default:if(Ee)throw new TypeError("Unknown encoding: "+le);le=(""+le).toLowerCase(),Ee=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Qe(ee,E,re){return E===0&&re===ee.length?tt.fromByteArray(ee):tt.fromByteArray(ee.slice(E,re))}function he(ee,E,re){re=Math.min(ee.length,re);for(var ne=[],le=E;le<re;){var ge=ee[le],Ee=null,ze=ge>239?4:ge>223?3:ge>191?2:1;if(le+ze<=re){var je,Xe,it,pt;switch(ze){case 1:ge<128&&(Ee=ge);break;case 2:je=ee[le+1],(je&192)===128&&(pt=(ge&31)<<6|je&63,pt>127&&(Ee=pt));break;case 3:je=ee[le+1],Xe=ee[le+2],(je&192)===128&&(Xe&192)===128&&(pt=(ge&15)<<12|(je&63)<<6|Xe&63,pt>2047&&(pt<55296||pt>57343)&&(Ee=pt));break;case 4:je=ee[le+1],Xe=ee[le+2],it=ee[le+3],(je&192)===128&&(Xe&192)===128&&(it&192)===128&&(pt=(ge&15)<<18|(je&63)<<12|(Xe&63)<<6|it&63,pt>65535&&pt<1114112&&(Ee=pt))}}Ee===null?(Ee=65533,ze=1):Ee>65535&&(Ee-=65536,ne.push(Ee>>>10&1023|55296),Ee=56320|Ee&1023),ne.push(Ee),le+=ze}return Ct(ne)}var ye=4096;function Ct(ee){var E=ee.length;if(E<=ye)return String.fromCharCode.apply(String,ee);for(var re="",ne=0;ne<E;)re+=String.fromCharCode.apply(String,ee.slice(ne,ne+=ye));return re}function Ke(ee,E,re){var ne="";re=Math.min(ee.length,re);for(var le=E;le<re;++le)ne+=String.fromCharCode(ee[le]&127);return ne}function yt(ee,E,re){var ne="";re=Math.min(ee.length,re);for(var le=E;le<re;++le)ne+=String.fromCharCode(ee[le]);return ne}function Dt(ee,E,re){var ne=ee.length;(!E||E<0)&&(E=0),(!re||re<0||re>ne)&&(re=ne);for(var le="",ge=E;ge<re;++ge)le+=ae[ee[ge]];return le}function Ge(ee,E,re){for(var ne=ee.slice(E,re),le="",ge=0;ge<ne.length-1;ge+=2)le+=String.fromCharCode(ne[ge]+ne[ge+1]*256);return le}fe.prototype.slice=function(E,re){var ne=this.length;E=~~E,re=re===void 0?ne:~~re,E<0?(E+=ne,E<0&&(E=0)):E>ne&&(E=ne),re<0?(re+=ne,re<0&&(re=0)):re>ne&&(re=ne),re<E&&(re=E);var le=this.subarray(E,re);return Object.setPrototypeOf(le,fe.prototype),le};function Ae(ee,E,re){if(ee%1!==0||ee<0)throw new RangeError("offset is not uint");if(ee+E>re)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(E,re,ne){E=E>>>0,re=re>>>0,ne||Ae(E,re,this.length);for(var le=this[E],ge=1,Ee=0;++Ee<re&&(ge*=256);)le+=this[E+Ee]*ge;return le},fe.prototype.readUintBE=fe.prototype.readUIntBE=function(E,re,ne){E=E>>>0,re=re>>>0,ne||Ae(E,re,this.length);for(var le=this[E+--re],ge=1;re>0&&(ge*=256);)le+=this[E+--re]*ge;return le},fe.prototype.readUint8=fe.prototype.readUInt8=function(E,re){return E=E>>>0,re||Ae(E,1,this.length),this[E]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(E,re){return E=E>>>0,re||Ae(E,2,this.length),this[E]|this[E+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(E,re){return E=E>>>0,re||Ae(E,2,this.length),this[E]<<8|this[E+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),(this[E]|this[E+1]<<8|this[E+2]<<16)+this[E+3]*16777216},fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),this[E]*16777216+(this[E+1]<<16|this[E+2]<<8|this[E+3])},fe.prototype.readIntLE=function(E,re,ne){E=E>>>0,re=re>>>0,ne||Ae(E,re,this.length);for(var le=this[E],ge=1,Ee=0;++Ee<re&&(ge*=256);)le+=this[E+Ee]*ge;return ge*=128,le>=ge&&(le-=Math.pow(2,8*re)),le},fe.prototype.readIntBE=function(E,re,ne){E=E>>>0,re=re>>>0,ne||Ae(E,re,this.length);for(var le=re,ge=1,Ee=this[E+--le];le>0&&(ge*=256);)Ee+=this[E+--le]*ge;return ge*=128,Ee>=ge&&(Ee-=Math.pow(2,8*re)),Ee},fe.prototype.readInt8=function(E,re){return E=E>>>0,re||Ae(E,1,this.length),this[E]&128?(255-this[E]+1)*-1:this[E]},fe.prototype.readInt16LE=function(E,re){E=E>>>0,re||Ae(E,2,this.length);var ne=this[E]|this[E+1]<<8;return ne&32768?ne|4294901760:ne},fe.prototype.readInt16BE=function(E,re){E=E>>>0,re||Ae(E,2,this.length);var ne=this[E+1]|this[E]<<8;return ne&32768?ne|4294901760:ne},fe.prototype.readInt32LE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),this[E]|this[E+1]<<8|this[E+2]<<16|this[E+3]<<24},fe.prototype.readInt32BE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),this[E]<<24|this[E+1]<<16|this[E+2]<<8|this[E+3]},fe.prototype.readFloatLE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),pe.read(this,E,!0,23,4)},fe.prototype.readFloatBE=function(E,re){return E=E>>>0,re||Ae(E,4,this.length),pe.read(this,E,!1,23,4)},fe.prototype.readDoubleLE=function(E,re){return E=E>>>0,re||Ae(E,8,this.length),pe.read(this,E,!0,52,8)},fe.prototype.readDoubleBE=function(E,re){return E=E>>>0,re||Ae(E,8,this.length),pe.read(this,E,!1,52,8)};function ot(ee,E,re,ne,le,ge){if(!fe.isBuffer(ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(E>le||E<ge)throw new RangeError('"value" argument is out of bounds');if(re+ne>ee.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(E,re,ne,le){if(E=+E,re=re>>>0,ne=ne>>>0,!le){var ge=Math.pow(2,8*ne)-1;ot(this,E,re,ne,ge,0)}var Ee=1,ze=0;for(this[re]=E&255;++ze<ne&&(Ee*=256);)this[re+ze]=E/Ee&255;return re+ne},fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(E,re,ne,le){if(E=+E,re=re>>>0,ne=ne>>>0,!le){var ge=Math.pow(2,8*ne)-1;ot(this,E,re,ne,ge,0)}var Ee=ne-1,ze=1;for(this[re+Ee]=E&255;--Ee>=0&&(ze*=256);)this[re+Ee]=E/ze&255;return re+ne},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,1,255,0),this[re]=E&255,re+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,2,65535,0),this[re]=E&255,this[re+1]=E>>>8,re+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,2,65535,0),this[re]=E>>>8,this[re+1]=E&255,re+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,4,4294967295,0),this[re+3]=E>>>24,this[re+2]=E>>>16,this[re+1]=E>>>8,this[re]=E&255,re+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,4,4294967295,0),this[re]=E>>>24,this[re+1]=E>>>16,this[re+2]=E>>>8,this[re+3]=E&255,re+4},fe.prototype.writeIntLE=function(E,re,ne,le){if(E=+E,re=re>>>0,!le){var ge=Math.pow(2,8*ne-1);ot(this,E,re,ne,ge-1,-ge)}var Ee=0,ze=1,je=0;for(this[re]=E&255;++Ee<ne&&(ze*=256);)E<0&&je===0&&this[re+Ee-1]!==0&&(je=1),this[re+Ee]=(E/ze>>0)-je&255;return re+ne},fe.prototype.writeIntBE=function(E,re,ne,le){if(E=+E,re=re>>>0,!le){var ge=Math.pow(2,8*ne-1);ot(this,E,re,ne,ge-1,-ge)}var Ee=ne-1,ze=1,je=0;for(this[re+Ee]=E&255;--Ee>=0&&(ze*=256);)E<0&&je===0&&this[re+Ee+1]!==0&&(je=1),this[re+Ee]=(E/ze>>0)-je&255;return re+ne},fe.prototype.writeInt8=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,1,127,-128),E<0&&(E=255+E+1),this[re]=E&255,re+1},fe.prototype.writeInt16LE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,2,32767,-32768),this[re]=E&255,this[re+1]=E>>>8,re+2},fe.prototype.writeInt16BE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,2,32767,-32768),this[re]=E>>>8,this[re+1]=E&255,re+2},fe.prototype.writeInt32LE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,4,2147483647,-2147483648),this[re]=E&255,this[re+1]=E>>>8,this[re+2]=E>>>16,this[re+3]=E>>>24,re+4},fe.prototype.writeInt32BE=function(E,re,ne){return E=+E,re=re>>>0,ne||ot(this,E,re,4,2147483647,-2147483648),E<0&&(E=4294967295+E+1),this[re]=E>>>24,this[re+1]=E>>>16,this[re+2]=E>>>8,this[re+3]=E&255,re+4};function zt(ee,E,re,ne,le,ge){if(re+ne>ee.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("Index out of range")}function Et(ee,E,re,ne,le){return E=+E,re=re>>>0,le||zt(ee,E,re,4,34028234663852886e22,-34028234663852886e22),pe.write(ee,E,re,ne,23,4),re+4}fe.prototype.writeFloatLE=function(E,re,ne){return Et(this,E,re,!0,ne)},fe.prototype.writeFloatBE=function(E,re,ne){return Et(this,E,re,!1,ne)};function Oe(ee,E,re,ne,le){return E=+E,re=re>>>0,le||zt(ee,E,re,8,17976931348623157e292,-17976931348623157e292),pe.write(ee,E,re,ne,52,8),re+8}fe.prototype.writeDoubleLE=function(E,re,ne){return Oe(this,E,re,!0,ne)},fe.prototype.writeDoubleBE=function(E,re,ne){return Oe(this,E,re,!1,ne)},fe.prototype.copy=function(E,re,ne,le){if(!fe.isBuffer(E))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!le&&le!==0&&(le=this.length),re>=E.length&&(re=E.length),re||(re=0),le>0&&le<ne&&(le=ne),le===ne||E.length===0||this.length===0)return 0;if(re<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("sourceEnd out of bounds");le>this.length&&(le=this.length),E.length-re<le-ne&&(le=E.length-re+ne);var ge=le-ne;return this===E&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(re,ne,le):Uint8Array.prototype.set.call(E,this.subarray(ne,le),re),ge},fe.prototype.fill=function(E,re,ne,le){if(typeof E=="string"){if(typeof re=="string"?(le=re,re=0,ne=this.length):typeof ne=="string"&&(le=ne,ne=this.length),le!==void 0&&typeof le!="string")throw new TypeError("encoding must be a string");if(typeof le=="string"&&!fe.isEncoding(le))throw new TypeError("Unknown encoding: "+le);if(E.length===1){var ge=E.charCodeAt(0);(le==="utf8"&&ge<128||le==="latin1")&&(E=ge)}}else typeof E=="number"?E=E&255:typeof E=="boolean"&&(E=Number(E));if(re<0||this.length<re||this.length<ne)throw new RangeError("Out of range index");if(ne<=re)return this;re=re>>>0,ne=ne===void 0?this.length:ne>>>0,E||(E=0);var Ee;if(typeof E=="number")for(Ee=re;Ee<ne;++Ee)this[Ee]=E;else{var ze=fe.isBuffer(E)?E:fe.from(E,le),je=ze.length;if(je===0)throw new TypeError('The value "'+E+'" is invalid for argument "value"');for(Ee=0;Ee<ne-re;++Ee)this[Ee+re]=ze[Ee%je]}return this};var Je=/[^+/0-9A-Za-z-_]/g;function dt(ee){if(ee=ee.split("=")[0],ee=ee.trim().replace(Je,""),ee.length<2)return"";for(;ee.length%4!==0;)ee=ee+"=";return ee}function It(ee,E){E=E||1/0;for(var re,ne=ee.length,le=null,ge=[],Ee=0;Ee<ne;++Ee){if(re=ee.charCodeAt(Ee),re>55295&&re<57344){if(!le){if(re>56319){(E-=3)>-1&&ge.push(239,191,189);continue}else if(Ee+1===ne){(E-=3)>-1&&ge.push(239,191,189);continue}le=re;continue}if(re<56320){(E-=3)>-1&&ge.push(239,191,189),le=re;continue}re=(le-55296<<10|re-56320)+65536}else le&&(E-=3)>-1&&ge.push(239,191,189);if(le=null,re<128){if((E-=1)<0)break;ge.push(re)}else if(re<2048){if((E-=2)<0)break;ge.push(re>>6|192,re&63|128)}else if(re<65536){if((E-=3)<0)break;ge.push(re>>12|224,re>>6&63|128,re&63|128)}else if(re<1114112){if((E-=4)<0)break;ge.push(re>>18|240,re>>12&63|128,re>>6&63|128,re&63|128)}else throw new Error("Invalid code point")}return ge}function st(ee){for(var E=[],re=0;re<ee.length;++re)E.push(ee.charCodeAt(re)&255);return E}function Ft(ee,E){for(var re,ne,le,ge=[],Ee=0;Ee<ee.length&&!((E-=2)<0);++Ee)re=ee.charCodeAt(Ee),ne=re>>8,le=re%256,ge.push(le),ge.push(ne);return ge}function ft(ee){return tt.toByteArray(dt(ee))}function Gt(ee,E,re,ne){for(var le=0;le<ne&&!(le+re>=E.length||le>=ee.length);++le)E[le+re]=ee[le];return le}function Pt(ee,E){return ee instanceof E||ee!=null&&ee.constructor!=null&&ee.constructor.name!=null&&ee.constructor.name===E.name}function oe(ee){return ee!==ee}var ae=function(){for(var ee="0123456789abcdef",E=new Array(256),re=0;re<16;++re)for(var ne=re*16,le=0;le<16;++le)E[ne+le]=ee[re]+ee[le];return E}()},99498:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){b.defineOption("placeholder","",function(fe,be,de){var Le=de&&de!=b.Init;if(be&&!Le)fe.on("blur",Pe),fe.on("change",me),fe.on("swapDoc",me),b.on(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose=function(){Ue(fe)}),me(fe);else if(!be&&Le){fe.off("blur",Pe),fe.off("change",me),fe.off("swapDoc",me),b.off(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose),tt(fe);var we=fe.getWrapperElement();we.className=we.className.replace(" CodeMirror-empty","")}be&&!fe.hasFocus()&&Pe(fe)});function tt(fe){fe.state.placeholder&&(fe.state.placeholder.parentNode.removeChild(fe.state.placeholder),fe.state.placeholder=null)}function pe(fe){tt(fe);var be=fe.state.placeholder=document.createElement("pre");be.style.cssText="height: 0; overflow: visible",be.style.direction=fe.getOption("direction"),be.className="CodeMirror-placeholder CodeMirror-line-like";var de=fe.getOption("placeholder");typeof de=="string"&&(de=document.createTextNode(de)),be.appendChild(de),fe.display.lineSpace.insertBefore(be,fe.display.lineSpace.firstChild)}function Ue(fe){setTimeout(function(){var be=!1,de=fe.getInputField();de.nodeName=="TEXTAREA"?be=!de.value:fe.lineCount()==1&&(be=!/[^\u200b]/.test(de.querySelector(".CodeMirror-line").textContent)),be?pe(fe):tt(fe)},20)}function Pe(fe){ve(fe)&&pe(fe)}function me(fe){var be=fe.getWrapperElement(),de=ve(fe);be.className=be.className.replace(" CodeMirror-empty","")+(de?" CodeMirror-empty":""),de?pe(fe):tt(fe)}function ve(fe){return fe.lineCount()===1&&fe.getLine(0)===""}})},25717:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){var tt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},pe=b.Pos;b.defineOption("autoCloseBrackets",!1,function(Fe,Ce,De){De&&De!=b.Init&&(Fe.removeKeyMap(Pe),Fe.state.closeBrackets=null),Ce&&(me(Ue(Ce,"pairs")),Fe.state.closeBrackets=Ce,Fe.addKeyMap(Pe))});function Ue(Fe,Ce){return Ce=="pairs"&&typeof Fe=="string"?Fe:typeof Fe=="object"&&Fe[Ce]!=null?Fe[Ce]:tt[Ce]}var Pe={Backspace:be,Enter:de};function me(Fe){for(var Ce=0;Ce<Fe.length;Ce++){var De=Fe.charAt(Ce),Be="'"+De+"'";Pe[Be]||(Pe[Be]=ve(De))}}me(tt.pairs+"`");function ve(Fe){return function(Ce){return we(Ce,Fe)}}function fe(Fe){var Ce=Fe.state.closeBrackets;if(!Ce||Ce.override)return Ce;var De=Fe.getModeAt(Fe.getCursor());return De.closeBrackets||Ce}function be(Fe){var Ce=fe(Fe);if(!Ce||Fe.getOption("disableInput"))return b.Pass;for(var De=Ue(Ce,"pairs"),Be=Fe.listSelections(),Ze=0;Ze<Be.length;Ze++){if(!Be[Ze].empty())return b.Pass;var rt=Te(Fe,Be[Ze].head);if(!rt||De.indexOf(rt)%2!=0)return b.Pass}for(var Ze=Be.length-1;Ze>=0;Ze--){var ce=Be[Ze].head;Fe.replaceRange("",pe(ce.line,ce.ch-1),pe(ce.line,ce.ch+1),"+delete")}}function de(Fe){var Ce=fe(Fe),De=Ce&&Ue(Ce,"explode");if(!De||Fe.getOption("disableInput"))return b.Pass;for(var Be=Fe.listSelections(),Ze=0;Ze<Be.length;Ze++){if(!Be[Ze].empty())return b.Pass;var rt=Te(Fe,Be[Ze].head);if(!rt||De.indexOf(rt)%2!=0)return b.Pass}Fe.operation(function(){var ce=Fe.lineSeparator()||`
|
|
|
`;Fe.replaceSelection(ce+ce,null),Fe.execCommand("goCharLeft"),Be=Fe.listSelections();for(var ke=0;ke<Be.length;ke++){var qe=Be[ke].head.line;Fe.indentLine(qe,null,!0),Fe.indentLine(qe+1,null,!0)}})}function Le(Fe){var Ce=b.cmpPos(Fe.anchor,Fe.head)>0;return{anchor:new pe(Fe.anchor.line,Fe.anchor.ch+(Ce?-1:1)),head:new pe(Fe.head.line,Fe.head.ch+(Ce?1:-1))}}function we(Fe,Ce){var De=fe(Fe);if(!De||Fe.getOption("disableInput"))return b.Pass;var Be=Ue(De,"pairs"),Ze=Be.indexOf(Ce);if(Ze==-1)return b.Pass;for(var rt=Ue(De,"closeBefore"),ce=Ue(De,"triples"),ke=Be.charAt(Ze+1)==Ce,qe=Fe.listSelections(),_e=Ze%2==0,mt,Re=0;Re<qe.length;Re++){var Ye=qe[Re],lt=Ye.head,Se,Qe=Fe.getRange(lt,pe(lt.line,lt.ch+1));if(_e&&!Ye.empty())Se="surround";else if((ke||!_e)&&Qe==Ce)ke&&xe(Fe,lt)?Se="both":ce.indexOf(Ce)>=0&&Fe.getRange(lt,pe(lt.line,lt.ch+3))==Ce+Ce+Ce?Se="skipThree":Se="skip";else if(ke&<.ch>1&&ce.indexOf(Ce)>=0&&Fe.getRange(pe(lt.line,lt.ch-2),lt)==Ce+Ce){if(lt.ch>2&&/\bstring/.test(Fe.getTokenTypeAt(pe(lt.line,lt.ch-2))))return b.Pass;Se="addFour"}else if(ke){var he=lt.ch==0?" ":Fe.getRange(pe(lt.line,lt.ch-1),lt);if(!b.isWordChar(Qe)&&he!=Ce&&!b.isWordChar(he))Se="both";else return b.Pass}else if(_e&&(Qe.length===0||/\s/.test(Qe)||rt.indexOf(Qe)>-1))Se="both";else return b.Pass;if(!mt)mt=Se;else if(mt!=Se)return b.Pass}var ye=Ze%2?Be.charAt(Ze-1):Ce,Ct=Ze%2?Ce:Be.charAt(Ze+1);Fe.operation(function(){if(mt=="skip")Fe.execCommand("goCharRight");else if(mt=="skipThree")for(var Ke=0;Ke<3;Ke++)Fe.execCommand("goCharRight");else if(mt=="surround"){for(var yt=Fe.getSelections(),Ke=0;Ke<yt.length;Ke++)yt[Ke]=ye+yt[Ke]+Ct;Fe.replaceSelections(yt,"around"),yt=Fe.listSelections().slice();for(var Ke=0;Ke<yt.length;Ke++)yt[Ke]=Le(yt[Ke]);Fe.setSelections(yt)}else mt=="both"?(Fe.replaceSelection(ye+Ct,null),Fe.triggerElectric(ye+Ct),Fe.execCommand("goCharLeft")):mt=="addFour"&&(Fe.replaceSelection(ye+ye+ye+ye,"before"),Fe.execCommand("goCharRight"))})}function Te(Fe,Ce){var De=Fe.getRange(pe(Ce.line,Ce.ch-1),pe(Ce.line,Ce.ch+1));return De.length==2?De:null}function xe(Fe,Ce){var De=Fe.getTokenAt(pe(Ce.line,Ce.ch+1));return/\bstring/.test(De.type)&&De.start==Ce.ch&&(Ce.ch==0||!/\bstring/.test(Fe.getTokenTypeAt(Ce)))}})},6313:function(Tn,sn,te){(function(b){b(te(89780),te(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(be,de,Le){if(Le!=b.Init&&Le&&be.removeKeyMap("autoCloseTags"),!!de){var we={name:"autoCloseTags"};(typeof de!="object"||de.whenClosing!==!1)&&(we["'/'"]=function(Te){return me(Te)}),(typeof de!="object"||de.whenOpening!==!1)&&(we["'>'"]=function(Te){return Ue(Te)}),be.addKeyMap(we)}});var tt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],pe=["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 Ue(be){if(be.getOption("disableInput"))return b.Pass;for(var de=be.listSelections(),Le=[],we=be.getOption("autoCloseTags"),Te=0;Te<de.length;Te++){if(!de[Te].empty())return b.Pass;var xe=de[Te].head,Fe=be.getTokenAt(xe),Ce=b.innerMode(be.getMode(),Fe.state),De=Ce.state,Be=Ce.mode.xmlCurrentTag&&Ce.mode.xmlCurrentTag(De),Ze=Be&&Be.name;if(!Ze)return b.Pass;var rt=Ce.mode.configuration=="html",ce=typeof we=="object"&&we.dontCloseTags||rt&&tt,ke=typeof we=="object"&&we.indentTags||rt&&pe;Fe.end>xe.ch&&(Ze=Ze.slice(0,Ze.length-Fe.end+xe.ch));var qe=Ze.toLowerCase();if(!Ze||Fe.type=="string"&&(Fe.end!=xe.ch||!/[\"\']/.test(Fe.string.charAt(Fe.string.length-1))||Fe.string.length==1)||Fe.type=="tag"&&Be.close||Fe.string.indexOf("/")==xe.ch-Fe.start-1||ce&&ve(ce,qe)>-1||fe(be,Ce.mode.xmlCurrentContext&&Ce.mode.xmlCurrentContext(De)||[],Ze,xe,!0))return b.Pass;var _e=typeof we=="object"&&we.emptyTags;if(_e&&ve(_e,Ze)>-1){Le[Te]={text:"/>",newPos:b.Pos(xe.line,xe.ch+2)};continue}var mt=ke&&ve(ke,qe)>-1;Le[Te]={indent:mt,text:">"+(mt?`
|
|
|
|
|
|
`:"")+"</"+Ze+">",newPos:mt?b.Pos(xe.line+1,0):b.Pos(xe.line,xe.ch+1)}}for(var Re=typeof we=="object"&&we.dontIndentOnAutoClose,Te=de.length-1;Te>=0;Te--){var Ye=Le[Te];be.replaceRange(Ye.text,de[Te].head,de[Te].anchor,"+insert");var lt=be.listSelections().slice(0);lt[Te]={head:Ye.newPos,anchor:Ye.newPos},be.setSelections(lt),!Re&&Ye.indent&&(be.indentLine(Ye.newPos.line,null,!0),be.indentLine(Ye.newPos.line+1,null,!0))}}function Pe(be,de){for(var Le=be.listSelections(),we=[],Te=de?"/":"</",xe=be.getOption("autoCloseTags"),Fe=typeof xe=="object"&&xe.dontIndentOnSlash,Ce=0;Ce<Le.length;Ce++){if(!Le[Ce].empty())return b.Pass;var De=Le[Ce].head,Be=be.getTokenAt(De),Ze=b.innerMode(be.getMode(),Be.state),rt=Ze.state;if(de&&(Be.type=="string"||Be.string.charAt(0)!="<"||Be.start!=De.ch-1))return b.Pass;var ce,ke=Ze.mode.name!="xml"&&be.getMode().name=="htmlmixed";if(ke&&Ze.mode.name=="javascript")ce=Te+"script";else if(ke&&Ze.mode.name=="css")ce=Te+"style";else{var qe=Ze.mode.xmlCurrentContext&&Ze.mode.xmlCurrentContext(rt);if(!qe||qe.length&&fe(be,qe,qe[qe.length-1],De))return b.Pass;ce=Te+qe[qe.length-1]}be.getLine(De.line).charAt(Be.end)!=">"&&(ce+=">"),we[Ce]=ce}if(be.replaceSelections(we),Le=be.listSelections(),!Fe)for(var Ce=0;Ce<Le.length;Ce++)(Ce==Le.length-1||Le[Ce].head.line<Le[Ce+1].head.line)&&be.indentLine(Le[Ce].head.line)}function me(be){return be.getOption("disableInput")?b.Pass:Pe(be,!0)}b.commands.closeTag=function(be){return Pe(be)};function ve(be,de){if(be.indexOf)return be.indexOf(de);for(var Le=0,we=be.length;Le<we;++Le)if(be[Le]==de)return Le;return-1}function fe(be,de,Le,we,Te){if(!b.scanForClosingTag)return!1;var xe=Math.min(be.lastLine()+1,we.line+500),Fe=b.scanForClosingTag(be,we,null,xe);if(!Fe||Fe.tag!=Le)return!1;for(var Ce=Te?1:0,De=de.length-1;De>=0&&de[De]==Le;De--)++Ce;we=Fe.to;for(var De=1;De<Ce;De++){var Be=b.scanForClosingTag(be,we,null,xe);if(!Be||Be.tag!=Le)return!1;we=Be.to}return!0}})},32855:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){"use strict";var tt=b.Pos;function pe(De,Be){return De.line-Be.line||De.ch-Be.ch}var Ue="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Pe=Ue+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",me=new RegExp("<(/?)(["+Ue+"]["+Pe+"]*)","g");function ve(De,Be,Ze,rt){this.line=Be,this.ch=Ze,this.cm=De,this.text=De.getLine(Be),this.min=rt?Math.max(rt.from,De.firstLine()):De.firstLine(),this.max=rt?Math.min(rt.to-1,De.lastLine()):De.lastLine()}function fe(De,Be){var Ze=De.cm.getTokenTypeAt(tt(De.line,Be));return Ze&&/\btag\b/.test(Ze)}function be(De){if(!(De.line>=De.max))return De.ch=0,De.text=De.cm.getLine(++De.line),!0}function de(De){if(!(De.line<=De.min))return De.text=De.cm.getLine(--De.line),De.ch=De.text.length,!0}function Le(De){for(;;){var Be=De.text.indexOf(">",De.ch);if(Be==-1){if(be(De))continue;return}if(!fe(De,Be+1)){De.ch=Be+1;continue}var Ze=De.text.lastIndexOf("/",Be),rt=Ze>-1&&!/\S/.test(De.text.slice(Ze+1,Be));return De.ch=Be+1,rt?"selfClose":"regular"}}function we(De){for(;;){var Be=De.ch?De.text.lastIndexOf("<",De.ch-1):-1;if(Be==-1){if(de(De))continue;return}if(!fe(De,Be+1)){De.ch=Be;continue}me.lastIndex=Be,De.ch=Be;var Ze=me.exec(De.text);if(Ze&&Ze.index==Be)return Ze}}function Te(De){for(;;){me.lastIndex=De.ch;var Be=me.exec(De.text);if(!Be){if(be(De))continue;return}if(!fe(De,Be.index+1)){De.ch=Be.index+1;continue}return De.ch=Be.index+Be[0].length,Be}}function xe(De){for(;;){var Be=De.ch?De.text.lastIndexOf(">",De.ch-1):-1;if(Be==-1){if(de(De))continue;return}if(!fe(De,Be+1)){De.ch=Be;continue}var Ze=De.text.lastIndexOf("/",Be),rt=Ze>-1&&!/\S/.test(De.text.slice(Ze+1,Be));return De.ch=Be+1,rt?"selfClose":"regular"}}function Fe(De,Be){for(var Ze=[];;){var rt=Te(De),ce,ke=De.line,qe=De.ch-(rt?rt[0].length:0);if(!rt||!(ce=Le(De)))return;if(ce!="selfClose")if(rt[1]){for(var _e=Ze.length-1;_e>=0;--_e)if(Ze[_e]==rt[2]){Ze.length=_e;break}if(_e<0&&(!Be||Be==rt[2]))return{tag:rt[2],from:tt(ke,qe),to:tt(De.line,De.ch)}}else Ze.push(rt[2])}}function Ce(De,Be){for(var Ze=[];;){var rt=xe(De);if(!rt)return;if(rt=="selfClose"){we(De);continue}var ce=De.line,ke=De.ch,qe=we(De);if(!qe)return;if(qe[1])Ze.push(qe[2]);else{for(var _e=Ze.length-1;_e>=0;--_e)if(Ze[_e]==qe[2]){Ze.length=_e;break}if(_e<0&&(!Be||Be==qe[2]))return{tag:qe[2],from:tt(De.line,De.ch),to:tt(ce,ke)}}}}b.registerHelper("fold","xml",function(De,Be){for(var Ze=new ve(De,Be.line,0);;){var rt=Te(Ze);if(!rt||Ze.line!=Be.line)return;var ce=Le(Ze);if(!ce)return;if(!rt[1]&&ce!="selfClose"){var ke=tt(Ze.line,Ze.ch),qe=Fe(Ze,rt[2]);return qe&&pe(qe.from,ke)>0?{from:ke,to:qe.from}:null}}}),b.findMatchingTag=function(De,Be,Ze){var rt=new ve(De,Be.line,Be.ch,Ze);if(!(rt.text.indexOf(">")==-1&&rt.text.indexOf("<")==-1)){var ce=Le(rt),ke=ce&&tt(rt.line,rt.ch),qe=ce&&we(rt);if(!(!ce||!qe||pe(rt,Be)>0)){var _e={from:tt(rt.line,rt.ch),to:ke,tag:qe[2]};return ce=="selfClose"?{open:_e,close:null,at:"open"}:qe[1]?{open:Ce(rt,qe[2]),close:_e,at:"close"}:(rt=new ve(De,ke.line,ke.ch,Ze),{open:_e,close:Fe(rt,qe[2]),at:"open"})}}},b.findEnclosingTag=function(De,Be,Ze,rt){for(var ce=new ve(De,Be.line,Be.ch,Ze);;){var ke=Ce(ce,rt);if(!ke)break;var qe=new ve(De,Be.line,Be.ch,Ze),_e=Fe(qe,ke.tag);if(_e)return{open:ke,close:_e}}},b.scanForClosingTag=function(De,Be,Ze,rt){var ce=new ve(De,Be.line,Be.ch,rt?{from:0,to:rt}:null);return Fe(ce,Ze)}})},89780:function(Tn){(function(sn,te){Tn.exports=te()})(this,function(){"use strict";var sn=navigator.userAgent,te=navigator.platform,b=/gecko\/\d/i.test(sn),tt=/MSIE \d/.test(sn),pe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(sn),Ue=/Edge\/(\d+)/.exec(sn),Pe=tt||pe||Ue,me=Pe&&(tt?document.documentMode||6:+(Ue||pe)[1]),ve=!Ue&&/WebKit\//.test(sn),fe=ve&&/Qt\/\d+\.\d+/.test(sn),be=!Ue&&/Chrome\//.test(sn),de=/Opera\//.test(sn),Le=/Apple Computer/.test(navigator.vendor),we=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(sn),Te=/PhantomJS/.test(sn),xe=!Ue&&/AppleWebKit/.test(sn)&&/Mobile\/\w+/.test(sn),Fe=/Android/.test(sn),Ce=xe||Fe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(sn),De=xe||/Mac/.test(te),Be=/\bCrOS\b/.test(sn),Ze=/win/i.test(te),rt=de&&sn.match(/Version\/(\d*\.\d*)/);rt&&(rt=Number(rt[1])),rt&&rt>=15&&(de=!1,ve=!0);var ce=De&&(fe||de&&(rt==null||rt<12.11)),ke=b||Pe&&me>=9;function qe(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var _e=function(a,y){var z=a.className,x=qe(y).exec(z);if(x){var ie=z.slice(x.index+x[0].length);a.className=z.slice(0,x.index)+(ie?x[1]+ie:"")}};function mt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Re(a,y){return mt(a).appendChild(y)}function Ye(a,y,z,x){var ie=document.createElement(a);if(z&&(ie.className=z),x&&(ie.style.cssText=x),typeof y=="string")ie.appendChild(document.createTextNode(y));else if(y)for(var se=0;se<y.length;++se)ie.appendChild(y[se]);return ie}function lt(a,y,z,x){var ie=Ye(a,y,z,x);return ie.setAttribute("role","presentation"),ie}var Se;document.createRange?Se=function(a,y,z,x){var ie=document.createRange();return ie.setEnd(x||a,z),ie.setStart(a,y),ie}:Se=function(a,y,z){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(ie){return x}return x.collapse(!0),x.moveEnd("character",z),x.moveStart("character",y),x};function Qe(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function he(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function ye(a,y){var z=a.className;qe(y).test(z)||(a.className+=(z?" ":"")+y)}function Ct(a,y){for(var z=a.split(" "),x=0;x<z.length;x++)z[x]&&!qe(z[x]).test(y)&&(y+=" "+z[x]);return y}var Ke=function(a){a.select()};xe?Ke=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Pe&&(Ke=function(a){try{a.select()}catch(y){}});function yt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Dt(a,y,z){y||(y={});for(var x in a)a.hasOwnProperty(x)&&(z!==!1||!y.hasOwnProperty(x))&&(y[x]=a[x]);return y}function Ge(a,y,z,x,ie){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var se=x||0,Ie=ie||0;;){var Ve=a.indexOf(" ",se);if(Ve<0||Ve>=y)return Ie+(y-se);Ie+=Ve-se,Ie+=z-Ie%z,se=Ve+1}}var Ae=function(){this.id=null,this.f=null,this.time=0,this.handler=yt(this.onTimeout,this)};Ae.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Ae.prototype.set=function(a,y){this.f=y;var z=+new Date+a;(!this.id||z<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=z)};function ot(a,y){for(var z=0;z<a.length;++z)if(a[z]==y)return z;return-1}var zt=50,Et={toString:function(){return"CodeMirror.Pass"}},Oe={scroll:!1},Je={origin:"*mouse"},dt={origin:"+move"};function It(a,y,z){for(var x=0,ie=0;;){var se=a.indexOf(" ",x);se==-1&&(se=a.length);var Ie=se-x;if(se==a.length||ie+Ie>=y)return x+Math.min(Ie,y-ie);if(ie+=se-x,ie+=z-ie%z,x=se+1,ie>=y)return x}}var st=[""];function Ft(a){for(;st.length<=a;)st.push(ft(st)+" ");return st[a]}function ft(a){return a[a.length-1]}function Gt(a,y){for(var z=[],x=0;x<a.length;x++)z[x]=y(a[x],x);return z}function Pt(a,y,z){for(var x=0,ie=z(y);x<a.length&&z(a[x])<=ie;)x++;a.splice(x,0,y)}function oe(){}function ae(a,y){var z;return Object.create?z=Object.create(a):(oe.prototype=a,z=new oe),y&&Dt(y,z),z}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function E(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ee.test(a))}function re(a,y){return y?y.source.indexOf("\\w")>-1&&E(a)?!0:y.test(a):E(a)}function ne(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var le=/[\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 ge(a){return a.charCodeAt(0)>=768&&le.test(a)}function Ee(a,y,z){for(;(z<0?y>0:y<a.length)&&ge(a.charAt(y));)y+=z;return y}function ze(a,y,z){for(var x=y>z?-1:1;;){if(y==z)return y;var ie=(y+z)/2,se=x<0?Math.ceil(ie):Math.floor(ie);if(se==y)return a(se)?y:z;a(se)?z=se:y=se+x}}function je(a,y,z,x){if(!a)return x(y,z,"ltr",0);for(var ie=!1,se=0;se<a.length;++se){var Ie=a[se];(Ie.from<z&&Ie.to>y||y==z&&Ie.to==y)&&(x(Math.max(Ie.from,y),Math.min(Ie.to,z),Ie.level==1?"rtl":"ltr",se),ie=!0)}ie||x(y,z,"ltr")}var Xe=null;function it(a,y,z){var x;Xe=null;for(var ie=0;ie<a.length;++ie){var se=a[ie];if(se.from<y&&se.to>y)return ie;se.to==y&&(se.from!=se.to&&z=="before"?x=ie:Xe=ie),se.from==y&&(se.from!=se.to&&z!="before"?x=ie:Xe=ie)}return x!=null?x:Xe}var pt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function z(ut){return ut<=247?a.charAt(ut):1424<=ut&&ut<=1524?"R":1536<=ut&&ut<=1785?y.charAt(ut-1536):1774<=ut&&ut<=2220?"r":8192<=ut&&ut<=8203?"w":ut==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,se=/[LRr]/,Ie=/[Lb1n]/,Ve=/[1n]/;function $e(ut,rn,mn){this.level=ut,this.from=rn,this.to=mn}return function(ut,rn){var mn=rn=="ltr"?"L":"R";if(ut.length==0||rn=="ltr"&&!x.test(ut))return!1;for(var Nn=ut.length,On=[],pr=0;pr<Nn;++pr)On.push(z(ut.charCodeAt(pr)));for(var Lr=0,ti=mn;Lr<Nn;++Lr){var hi=On[Lr];hi=="m"?On[Lr]=ti:ti=hi}for(var Oi=0,mi=mn;Oi<Nn;++Oi){var Wi=On[Oi];Wi=="1"&&mi=="r"?On[Oi]="n":se.test(Wi)&&(mi=Wi,Wi=="r"&&(On[Oi]="R"))}for(var mo=1,io=On[0];mo<Nn-1;++mo){var Vo=On[mo];Vo=="+"&&io=="1"&&On[mo+1]=="1"?On[mo]="1":Vo==","&&io==On[mo+1]&&(io=="1"||io=="n")&&(On[mo]=io),io=Vo}for(var Ea=0;Ea<Nn;++Ea){var cl=On[Ea];if(cl==",")On[Ea]="N";else if(cl=="%"){var za=void 0;for(za=Ea+1;za<Nn&&On[za]=="%";++za);for(var Rl=Ea&&On[Ea-1]=="!"||za<Nn&&On[za]=="1"?"1":"N",Fl=Ea;Fl<za;++Fl)On[Fl]=Rl;Ea=za-1}}for(var Ja=0,Ol=mn;Ja<Nn;++Ja){var ml=On[Ja];Ol=="L"&&ml=="1"?On[Ja]="L":se.test(ml)&&(Ol=ml)}for(var nl=0;nl<Nn;++nl)if(ie.test(On[nl])){var qa=void 0;for(qa=nl+1;qa<Nn&&ie.test(On[qa]);++qa);for(var ja=(nl?On[nl-1]:mn)=="L",kl=(qa<Nn?On[qa]:mn)=="L",_s=ja==kl?ja?"L":"R":mn,Is=nl;Is<qa;++Is)On[Is]=_s;nl=qa-1}for(var bl=[],ss,dl=0;dl<Nn;)if(Ie.test(On[dl])){var Fu=dl;for(++dl;dl<Nn&&Ie.test(On[dl]);++dl);bl.push(new $e(0,Fu,dl))}else{var gs=dl,Hs=bl.length,js=rn=="rtl"?1:0;for(++dl;dl<Nn&&On[dl]!="L";++dl);for(var El=gs;El<dl;)if(Ve.test(On[El])){gs<El&&(bl.splice(Hs,0,new $e(1,gs,El)),Hs+=js);var Qs=El;for(++El;El<dl&&Ve.test(On[El]);++El);bl.splice(Hs,0,new $e(2,Qs,El)),Hs+=js,gs=El}else++El;gs<dl&&bl.splice(Hs,0,new $e(1,gs,dl))}return rn=="ltr"&&(bl[0].level==1&&(ss=ut.match(/^\s+/))&&(bl[0].from=ss[0].length,bl.unshift(new $e(0,0,ss[0].length))),ft(bl).level==1&&(ss=ut.match(/\s+$/))&&(ft(bl).to-=ss[0].length,bl.push(new $e(0,Nn-ss[0].length,Nn)))),rn=="rtl"?bl.reverse():bl}}();function He(a,y){var z=a.order;return z==null&&(z=a.order=pt(a.text,y)),z}var et=[],$t=function(a,y,z){if(a.addEventListener)a.addEventListener(y,z,!1);else if(a.attachEvent)a.attachEvent("on"+y,z);else{var x=a._handlers||(a._handlers={});x[y]=(x[y]||et).concat(z)}};function Lt(a,y){return a._handlers&&a._handlers[y]||et}function qt(a,y,z){if(a.removeEventListener)a.removeEventListener(y,z,!1);else if(a.detachEvent)a.detachEvent("on"+y,z);else{var x=a._handlers,ie=x&&x[y];if(ie){var se=ot(ie,z);se>-1&&(x[y]=ie.slice(0,se).concat(ie.slice(se+1)))}}}function Nt(a,y){var z=Lt(a,y);if(z.length)for(var x=Array.prototype.slice.call(arguments,2),ie=0;ie<z.length;++ie)z[ie].apply(null,x)}function Mt(a,y,z){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Nt(a,z||y.type,a,y),vn(y)||y.codemirrorIgnore}function Kt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var z=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<y.length;++x)ot(z,y[x])==-1&&z.push(y[x])}function Jt(a,y){return Lt(a,y).length>0}function gt(a){a.prototype.on=function(y,z){$t(this,y,z)},a.prototype.off=function(y,z){qt(this,y,z)}}function kt(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 ct(a){kt(a),nn(a)}function wt(a){return a.target||a.srcElement}function Wt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),De&&a.ctrlKey&&y==1&&(y=3),y}var on=function(){if(Pe&&me<9)return!1;var a=Ye("div");return"draggable"in a||"dragDrop"in a}(),fn;function Pn(a){if(fn==null){var y=Ye("span","\u200B");Re(a,Ye("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(fn=y.offsetWidth<=1&&y.offsetHeight>2&&!(Pe&&me<8))}var z=fn?Ye("span","\u200B"):Ye("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return z.setAttribute("cm-text",""),z}var Vn;function Gn(a){if(Vn!=null)return Vn;var y=Re(a,document.createTextNode("A\u062EA")),z=Se(y,0,1).getBoundingClientRect(),x=Se(y,1,2).getBoundingClientRect();return mt(a),!z||z.left==z.right?!1:Vn=x.right-z.right<3}var Bn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,z=[],x=a.length;y<=x;){var ie=a.indexOf(`
|
|
|
`,y);ie==-1&&(ie=a.length);var se=a.slice(y,a.charAt(ie-1)=="\r"?ie-1:ie),Ie=se.indexOf("\r");Ie!=-1?(z.push(se.slice(0,Ie)),y+=Ie+1):(z.push(se),y=ie+1)}return z}:function(a){return a.split(/\r\n?|\n/)},Un=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(z){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Rt=function(){var a=Ye("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Bt=null;function un(a){if(Bt!=null)return Bt;var y=Re(a,Ye("span","x")),z=y.getBoundingClientRect(),x=Se(y,0,1).getBoundingClientRect();return Bt=Math.abs(z.left-x.left)>1}var en={},Qt={};function wn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),en[a]=y}function bn(a,y){Qt[a]=y}function kn(a){if(typeof a=="string"&&Qt.hasOwnProperty(a))a=Qt[a];else if(a&&typeof a.name=="string"&&Qt.hasOwnProperty(a.name)){var y=Qt[a.name];typeof y=="string"&&(y={name:y}),a=ae(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return kn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return kn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Xn(a,y){y=kn(y);var z=en[y.name];if(!z)return Xn(a,"text/plain");var x=z(a,y);if(zn.hasOwnProperty(y.name)){var ie=zn[y.name];for(var se in ie)ie.hasOwnProperty(se)&&(x.hasOwnProperty(se)&&(x["_"+se]=x[se]),x[se]=ie[se])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var Ie in y.modeProps)x[Ie]=y.modeProps[Ie];return x}var zn={};function Fn(a,y){var z=zn.hasOwnProperty(a)?zn[a]:zn[a]={};Dt(y,z)}function nr(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var z={};for(var x in y){var ie=y[x];ie instanceof Array&&(ie=ie.concat([])),z[x]=ie}return z}function tr(a,y){for(var z;a.innerMode&&(z=a.innerMode(y),!(!z||z.mode==a));)y=z.state,a=z.mode;return z||{mode:a,state:y}}function Rr(a,y,z){return a.startState?a.startState(y,z):!0}var Ir=function(a,y,z){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=z};Ir.prototype.eol=function(){return this.pos>=this.string.length},Ir.prototype.sol=function(){return this.pos==this.lineStart},Ir.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ir.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ir.prototype.eat=function(a){var y=this.string.charAt(this.pos),z;if(typeof a=="string"?z=y==a:z=y&&(a.test?a.test(y):a(y)),z)return++this.pos,y},Ir.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Ir.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ir.prototype.skipToEnd=function(){this.pos=this.string.length},Ir.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Ir.prototype.backUp=function(a){this.pos-=a},Ir.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ge(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ge(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.indentation=function(){return Ge(this.string,null,this.tabSize)-(this.lineStart?Ge(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.match=function(a,y,z){if(typeof a=="string"){var x=function(Ie){return z?Ie.toLowerCase():Ie},ie=this.string.substr(this.pos,a.length);if(x(ie)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var se=this.string.slice(this.pos).match(a);return se&&se.index>0?null:(se&&y!==!1&&(this.pos+=se[0].length),se)}},Ir.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ir.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Ir.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Ir.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Sn(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var z=a;!z.lines;)for(var x=0;;++x){var ie=z.children[x],se=ie.chunkSize();if(y<se){z=ie;break}y-=se}return z.lines[y]}function Ln(a,y,z){var x=[],ie=y.line;return a.iter(y.line,z.line+1,function(se){var Ie=se.text;ie==z.line&&(Ie=Ie.slice(0,z.ch)),ie==y.line&&(Ie=Ie.slice(y.ch)),x.push(Ie),++ie}),x}function rr(a,y,z){var x=[];return a.iter(y,z,function(ie){x.push(ie.text)}),x}function ir(a,y){var z=y-a.height;if(z)for(var x=a;x;x=x.parent)x.height+=z}function Ot(a){if(a.parent==null)return null;for(var y=a.parent,z=ot(y.lines,a),x=y.parent;x;y=x,x=x.parent)for(var ie=0;x.children[ie]!=y;++ie)z+=x.children[ie].chunkSize();return z+y.first}function _t(a,y){var z=a.first;e:do{for(var x=0;x<a.children.length;++x){var ie=a.children[x],se=ie.height;if(y<se){a=ie;continue e}y-=se,z+=ie.chunkSize()}return z}while(!a.lines);for(var Ie=0;Ie<a.lines.length;++Ie){var Ve=a.lines[Ie],$e=Ve.height;if(y<$e)break;y-=$e}return z+Ie}function vt(a,y){return y>=a.first&&y<a.first+a.size}function Zt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function bt(a,y,z){if(z===void 0&&(z=null),!(this instanceof bt))return new bt(a,y,z);this.line=a,this.ch=y,this.sticky=z}function Ht(a,y){return a.line-y.line||a.ch-y.ch}function nt(a,y){return a.sticky==y.sticky&&Ht(a,y)==0}function Xt(a){return bt(a.line,a.ch)}function tn(a,y){return Ht(a,y)<0?y:a}function dn(a,y){return Ht(a,y)<0?a:y}function Vt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function jt(a,y){if(y.line<a.first)return bt(a.first,0);var z=a.first+a.size-1;return y.line>z?bt(z,Sn(a,z).text.length):Yt(y,Sn(a,y.line).text.length)}function Yt(a,y){var z=a.ch;return z==null||z>y?bt(a.line,y):z<0?bt(a.line,0):a}function ln(a,y){for(var z=[],x=0;x<y.length;x++)z[x]=jt(a,y[x]);return z}var Wn=function(a,y){this.state=a,this.lookAhead=y},Rn=function(a,y,z,x){this.state=y,this.doc=a,this.line=z,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Rn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Rn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Rn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Rn.fromSaved=function(a,y,z){return y instanceof Wn?new Rn(a,nr(a.mode,y.state),z,y.lookAhead):new Rn(a,nr(a.mode,y),z)},Rn.prototype.save=function(a){var y=a!==!1?nr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Wn(y,this.maxLookAhead):y};function Kn(a,y,z,x){var ie=[a.state.modeGen],se={};ri(a,y.text,a.doc.mode,z,function(ut,rn){return ie.push(ut,rn)},se,x);for(var Ie=z.state,Ve=function(ut){z.baseTokens=ie;var rn=a.state.overlays[ut],mn=1,Nn=0;z.state=!0,ri(a,y.text,rn.mode,z,function(On,pr){for(var Lr=mn;Nn<On;){var ti=ie[mn];ti>On&&ie.splice(mn,1,On,ie[mn+1],ti),mn+=2,Nn=Math.min(On,ti)}if(pr)if(rn.opaque)ie.splice(Lr,mn-Lr,On,"overlay "+pr),mn=Lr+2;else for(;Lr<mn;Lr+=2){var hi=ie[Lr+1];ie[Lr+1]=(hi?hi+" ":"")+"overlay "+pr}},se),z.state=Ie,z.baseTokens=null,z.baseTokenPos=1},$e=0;$e<a.state.overlays.length;++$e)Ve($e);return{styles:ie,classes:se.bgClass||se.textClass?se:null}}function kr(a,y,z){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=Zr(a,Ot(y)),ie=y.text.length>a.options.maxHighlightLength&&nr(a.doc.mode,x.state),se=Kn(a,y,x);ie&&(x.state=ie),y.stateAfter=x.save(!ie),y.styles=se.styles,se.classes?y.styleClasses=se.classes:y.styleClasses&&(y.styleClasses=null),z===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Zr(a,y,z){var x=a.doc,ie=a.display;if(!x.mode.startState)return new Rn(x,!0,y);var se=ai(a,y,z),Ie=se>x.first&&Sn(x,se-1).stateAfter,Ve=Ie?Rn.fromSaved(x,Ie,se):new Rn(x,Rr(x.mode),se);return x.iter(se,y,function($e){_r(a,$e.text,Ve);var ut=Ve.line;$e.stateAfter=ut==y-1||ut%5==0||ut>=ie.viewFrom&&ut<ie.viewTo?Ve.save():null,Ve.nextLine()}),z&&(x.modeFrontier=Ve.line),Ve}function _r(a,y,z,x){var ie=a.doc.mode,se=new Ir(y,a.options.tabSize,z);for(se.start=se.pos=x||0,y==""&&Pr(ie,z.state);!se.eol();)gr(ie,se,z.state),se.start=se.pos}function Pr(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var z=tr(a,y);if(z.mode.blankLine)return z.mode.blankLine(z.state)}}function gr(a,y,z,x){for(var ie=0;ie<10;ie++){x&&(x[0]=tr(a,z).mode);var se=a.token(y,z);if(y.pos>y.start)return se}throw new Error("Mode "+a.name+" failed to advance stream.")}var Ar=function(a,y,z){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=z};function Vr(a,y,z,x){var ie=a.doc,se=ie.mode,Ie;y=jt(ie,y);var Ve=Sn(ie,y.line),$e=Zr(a,y.line,z),ut=new Ir(Ve.text,a.options.tabSize,$e),rn;for(x&&(rn=[]);(x||ut.pos<y.ch)&&!ut.eol();)ut.start=ut.pos,Ie=gr(se,ut,$e.state),x&&rn.push(new Ar(ut,Ie,nr(ie.mode,$e.state)));return x?rn:new Ar(ut,Ie,$e.state)}function ni(a,y){if(a)for(;;){var z=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!z)break;a=a.slice(0,z.index)+a.slice(z.index+z[0].length);var x=z[1]?"bgClass":"textClass";y[x]==null?y[x]=z[2]:new RegExp("(?:^|\\s)"+z[2]+"(?:$|\\s)").test(y[x])||(y[x]+=" "+z[2])}return a}function ri(a,y,z,x,ie,se,Ie){var Ve=z.flattenSpans;Ve==null&&(Ve=a.options.flattenSpans);var $e=0,ut=null,rn=new Ir(y,a.options.tabSize,x),mn,Nn=a.options.addModeClass&&[null];for(y==""&&ni(Pr(z,x.state),se);!rn.eol();){if(rn.pos>a.options.maxHighlightLength?(Ve=!1,Ie&&_r(a,y,x,rn.pos),rn.pos=y.length,mn=null):mn=ni(gr(z,rn,x.state,Nn),se),Nn){var On=Nn[0].name;On&&(mn="m-"+(mn?On+" "+mn:On))}if(!Ve||ut!=mn){for(;$e<rn.start;)$e=Math.min(rn.start,$e+5e3),ie($e,ut);ut=mn}rn.start=rn.pos}for(;$e<rn.pos;){var pr=Math.min(rn.pos,$e+5e3);ie(pr,ut),$e=pr}}function ai(a,y,z){for(var x,ie,se=a.doc,Ie=z?-1:y-(a.doc.mode.innerMode?1e3:100),Ve=y;Ve>Ie;--Ve){if(Ve<=se.first)return se.first;var $e=Sn(se,Ve-1),ut=$e.stateAfter;if(ut&&(!z||Ve+(ut instanceof Wn?ut.lookAhead:0)<=se.modeFrontier))return Ve;var rn=Ge($e.text,null,a.options.tabSize);(ie==null||x>rn)&&(ie=Ve-1,x=rn)}return ie}function Dr(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var z=a.first,x=y-1;x>z;x--){var ie=Sn(a,x).stateAfter;if(ie&&(!(ie instanceof Wn)||x+ie.lookAhead<y)){z=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,z)}}var Jr=!1,$r=!1;function Ri(){Jr=!0}function Hi(){$r=!0}function zi(a,y,z){this.marker=a,this.from=y,this.to=z}function Zi(a,y){if(a)for(var z=0;z<a.length;++z){var x=a[z];if(x.marker==y)return x}}function Ji(a,y){for(var z,x=0;x<a.length;++x)a[x]!=y&&(z||(z=[])).push(a[x]);return z}function Ei(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function ki(a,y,z){var x;if(a)for(var ie=0;ie<a.length;++ie){var se=a[ie],Ie=se.marker,Ve=se.from==null||(Ie.inclusiveLeft?se.from<=y:se.from<y);if(Ve||se.from==y&&Ie.type=="bookmark"&&(!z||!se.marker.insertLeft)){var $e=se.to==null||(Ie.inclusiveRight?se.to>=y:se.to>y);(x||(x=[])).push(new zi(Ie,se.from,$e?null:se.to))}}return x}function fi(a,y,z){var x;if(a)for(var ie=0;ie<a.length;++ie){var se=a[ie],Ie=se.marker,Ve=se.to==null||(Ie.inclusiveRight?se.to>=y:se.to>y);if(Ve||se.from==y&&Ie.type=="bookmark"&&(!z||se.marker.insertLeft)){var $e=se.from==null||(Ie.inclusiveLeft?se.from<=y:se.from<y);(x||(x=[])).push(new zi(Ie,$e?null:se.from-y,se.to==null?null:se.to-y))}}return x}function $i(a,y){if(y.full)return null;var z=vt(a,y.from.line)&&Sn(a,y.from.line).markedSpans,x=vt(a,y.to.line)&&Sn(a,y.to.line).markedSpans;if(!z&&!x)return null;var ie=y.from.ch,se=y.to.ch,Ie=Ht(y.from,y.to)==0,Ve=ki(z,ie,Ie),$e=fi(x,se,Ie),ut=y.text.length==1,rn=ft(y.text).length+(ut?ie:0);if(Ve)for(var mn=0;mn<Ve.length;++mn){var Nn=Ve[mn];if(Nn.to==null){var On=Zi($e,Nn.marker);On?ut&&(Nn.to=On.to==null?null:On.to+rn):Nn.to=ie}}if($e)for(var pr=0;pr<$e.length;++pr){var Lr=$e[pr];if(Lr.to!=null&&(Lr.to+=rn),Lr.from==null){var ti=Zi(Ve,Lr.marker);ti||(Lr.from=rn,ut&&(Ve||(Ve=[])).push(Lr))}else Lr.from+=rn,ut&&(Ve||(Ve=[])).push(Lr)}Ve&&(Ve=oo(Ve)),$e&&$e!=Ve&&($e=oo($e));var hi=[Ve];if(!ut){var Oi=y.text.length-2,mi;if(Oi>0&&Ve)for(var Wi=0;Wi<Ve.length;++Wi)Ve[Wi].to==null&&(mi||(mi=[])).push(new zi(Ve[Wi].marker,null,null));for(var mo=0;mo<Oi;++mo)hi.push(mi);hi.push($e)}return hi}function oo(a){for(var y=0;y<a.length;++y){var z=a[y];z.from!=null&&z.from==z.to&&z.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Ro(a,y,z){var x=null;if(a.iter(y.line,z.line+1,function(On){if(On.markedSpans)for(var pr=0;pr<On.markedSpans.length;++pr){var Lr=On.markedSpans[pr].marker;Lr.readOnly&&(!x||ot(x,Lr)==-1)&&(x||(x=[])).push(Lr)}}),!x)return null;for(var ie=[{from:y,to:z}],se=0;se<x.length;++se)for(var Ie=x[se],Ve=Ie.find(0),$e=0;$e<ie.length;++$e){var ut=ie[$e];if(!(Ht(ut.to,Ve.from)<0||Ht(ut.from,Ve.to)>0)){var rn=[$e,1],mn=Ht(ut.from,Ve.from),Nn=Ht(ut.to,Ve.to);(mn<0||!Ie.inclusiveLeft&&!mn)&&rn.push({from:ut.from,to:Ve.from}),(Nn>0||!Ie.inclusiveRight&&!Nn)&&rn.push({from:Ve.to,to:ut.to}),ie.splice.apply(ie,rn),$e+=rn.length-3}}return ie}function fo(a){var y=a.markedSpans;if(y){for(var z=0;z<y.length;++z)y[z].marker.detachLine(a);a.markedSpans=null}}function bo(a,y){if(y){for(var z=0;z<y.length;++z)y[z].marker.attachLine(a);a.markedSpans=y}}function co(a){return a.inclusiveLeft?-1:0}function yo(a){return a.inclusiveRight?1:0}function Bi(a,y){var z=a.lines.length-y.lines.length;if(z!=0)return z;var x=a.find(),ie=y.find(),se=Ht(x.from,ie.from)||co(a)-co(y);if(se)return-se;var Ie=Ht(x.to,ie.to)||yo(a)-yo(y);return Ie||y.id-a.id}function Ai(a,y){var z=$r&&a.markedSpans,x;if(z)for(var ie=void 0,se=0;se<z.length;++se)ie=z[se],ie.marker.collapsed&&(y?ie.from:ie.to)==null&&(!x||Bi(x,ie.marker)<0)&&(x=ie.marker);return x}function Gr(a){return Ai(a,!0)}function jn(a){return Ai(a,!1)}function lr(a,y){var z=$r&&a.markedSpans,x;if(z)for(var ie=0;ie<z.length;++ie){var se=z[ie];se.marker.collapsed&&(se.from==null||se.from<y)&&(se.to==null||se.to>y)&&(!x||Bi(x,se.marker)<0)&&(x=se.marker)}return x}function cr(a,y,z,x,ie){var se=Sn(a,y),Ie=$r&&se.markedSpans;if(Ie)for(var Ve=0;Ve<Ie.length;++Ve){var $e=Ie[Ve];if($e.marker.collapsed){var ut=$e.marker.find(0),rn=Ht(ut.from,z)||co($e.marker)-co(ie),mn=Ht(ut.to,x)||yo($e.marker)-yo(ie);if(!(rn>=0&&mn<=0||rn<=0&&mn>=0)&&(rn<=0&&($e.marker.inclusiveRight&&ie.inclusiveLeft?Ht(ut.to,z)>=0:Ht(ut.to,z)>0)||rn>=0&&($e.marker.inclusiveRight&&ie.inclusiveLeft?Ht(ut.from,x)<=0:Ht(ut.from,x)<0)))return!0}}}function Jn(a){for(var y;y=Gr(a);)a=y.find(-1,!0).line;return a}function Wr(a){for(var y;y=jn(a);)a=y.find(1,!0).line;return a}function qr(a){for(var y,z;y=jn(a);)a=y.find(1,!0).line,(z||(z=[])).push(a);return z}function or(a,y){var z=Sn(a,y),x=Jn(z);return z==x?y:Ot(x)}function _n(a,y){if(y>a.lastLine())return y;var z=Sn(a,y),x;if(!Cr(a,z))return y;for(;x=jn(z);)z=x.find(1,!0).line;return Ot(z)+1}function Cr(a,y){var z=$r&&y.markedSpans;if(z){for(var x=void 0,ie=0;ie<z.length;++ie)if(x=z[ie],!!x.marker.collapsed){if(x.from==null)return!0;if(!x.marker.widgetNode&&x.from==0&&x.marker.inclusiveLeft&&zr(a,y,x))return!0}}}function zr(a,y,z){if(z.to==null){var x=z.marker.find(1,!0);return zr(a,x.line,Zi(x.line.markedSpans,z.marker))}if(z.marker.inclusiveRight&&z.to==y.text.length)return!0;for(var ie=void 0,se=0;se<y.markedSpans.length;++se)if(ie=y.markedSpans[se],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==z.to&&(ie.to==null||ie.to!=z.from)&&(ie.marker.inclusiveLeft||z.marker.inclusiveRight)&&zr(a,y,ie))return!0}function ji(a){a=Jn(a);for(var y=0,z=a.parent,x=0;x<z.lines.length;++x){var ie=z.lines[x];if(ie==a)break;y+=ie.height}for(var se=z.parent;se;z=se,se=z.parent)for(var Ie=0;Ie<se.children.length;++Ie){var Ve=se.children[Ie];if(Ve==z)break;y+=Ve.height}return y}function vo(a){if(a.height==0)return 0;for(var y=a.text.length,z,x=a;z=Gr(x);){var ie=z.find(0,!0);x=ie.from.line,y+=ie.from.ch-ie.to.ch}for(x=a;z=jn(x);){var se=z.find(0,!0);y-=x.text.length-se.from.ch,x=se.to.line,y+=x.text.length-se.to.ch}return y}function ao(a){var y=a.display,z=a.doc;y.maxLine=Sn(z,z.first),y.maxLineLength=vo(y.maxLine),y.maxLineChanged=!0,z.iter(function(x){var ie=vo(x);ie>y.maxLineLength&&(y.maxLineLength=ie,y.maxLine=x)})}var Fo=function(a,y,z){this.text=a,bo(this,y),this.height=z?z(this):1};Fo.prototype.lineNo=function(){return Ot(this)},gt(Fo);function Eo(a,y,z,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),fo(a),bo(a,z);var ie=x?x(a):1;ie!=a.height&&ir(a,ie)}function Co(a){a.parent=null,fo(a)}var To={},Oo={};function ko(a,y){if(!a||/^\s*$/.test(a))return null;var z=y.addModeClass?Oo:To;return z[a]||(z[a]=a.replace(/\S+/g,"cm-$&"))}function ha(a,y){var z=lt("span",null,null,ve?"padding-right: .1px":null),x={pre:lt("pre",[z],"CodeMirror-line"),content:z,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ie=0;ie<=(y.rest?y.rest.length:0);ie++){var se=ie?y.rest[ie-1]:y.line,Ie=void 0;x.pos=0,x.addToken=xa,Gn(a.display.measure)&&(Ie=He(se,a.doc.direction))&&(x.addToken=Da(x.addToken,Ie)),x.map=[];var Ve=y!=a.display.externalMeasured&&Ot(se);Mi(se,x,kr(a,se,Ve)),se.styleClasses&&(se.styleClasses.bgClass&&(x.bgClass=Ct(se.styleClasses.bgClass,x.bgClass||"")),se.styleClasses.textClass&&(x.textClass=Ct(se.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Pn(a.display.measure))),ie==0?(y.measure.map=x.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(x.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(ve){var $e=x.content.lastChild;(/\bcm-tab\b/.test($e.className)||$e.querySelector&&$e.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return Nt(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Ct(x.pre.className,x.textClass||"")),x}function Aa(a){var y=Ye("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function xa(a,y,z,x,ie,se,Ie){if(y){var Ve=a.splitSpaces?Ia(y,a.trailingSpace):y,$e=a.cm.state.specialChars,ut=!1,rn;if(!$e.test(y))a.col+=y.length,rn=document.createTextNode(Ve),a.map.push(a.pos,a.pos+y.length,rn),Pe&&me<9&&(ut=!0),a.pos+=y.length;else{rn=document.createDocumentFragment();for(var mn=0;;){$e.lastIndex=mn;var Nn=$e.exec(y),On=Nn?Nn.index-mn:y.length-mn;if(On){var pr=document.createTextNode(Ve.slice(mn,mn+On));Pe&&me<9?rn.appendChild(Ye("span",[pr])):rn.appendChild(pr),a.map.push(a.pos,a.pos+On,pr),a.col+=On,a.pos+=On}if(!Nn)break;mn+=On+1;var Lr=void 0;if(Nn[0]==" "){var ti=a.cm.options.tabSize,hi=ti-a.col%ti;Lr=rn.appendChild(Ye("span",Ft(hi),"cm-tab")),Lr.setAttribute("role","presentation"),Lr.setAttribute("cm-text"," "),a.col+=hi}else Nn[0]=="\r"||Nn[0]==`
|
|
|
`?(Lr=rn.appendChild(Ye("span",Nn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Lr.setAttribute("cm-text",Nn[0]),a.col+=1):(Lr=a.cm.options.specialCharPlaceholder(Nn[0]),Lr.setAttribute("cm-text",Nn[0]),Pe&&me<9?rn.appendChild(Ye("span",[Lr])):rn.appendChild(Lr),a.col+=1);a.map.push(a.pos,a.pos+1,Lr),a.pos++}}if(a.trailingSpace=Ve.charCodeAt(y.length-1)==32,z||x||ie||ut||se||Ie){var Oi=z||"";x&&(Oi+=x),ie&&(Oi+=ie);var mi=Ye("span",[rn],Oi,se);if(Ie)for(var Wi in Ie)Ie.hasOwnProperty(Wi)&&Wi!="style"&&Wi!="class"&&mi.setAttribute(Wi,Ie[Wi]);return a.content.appendChild(mi)}a.content.appendChild(rn)}}function Ia(a,y){if(a.length>1&&!/ /.test(a))return a;for(var z=y,x="",ie=0;ie<a.length;ie++){var se=a.charAt(ie);se==" "&&z&&(ie==a.length-1||a.charCodeAt(ie+1)==32)&&(se="\xA0"),x+=se,z=se==" "}return x}function Da(a,y){return function(z,x,ie,se,Ie,Ve,$e){ie=ie?ie+" cm-force-border":"cm-force-border";for(var ut=z.pos,rn=ut+x.length;;){for(var mn=void 0,Nn=0;Nn<y.length&&(mn=y[Nn],!(mn.to>ut&&mn.from<=ut));Nn++);if(mn.to>=rn)return a(z,x,ie,se,Ie,Ve,$e);a(z,x.slice(0,mn.to-ut),ie,se,null,Ve,$e),se=null,x=x.slice(mn.to-ut),ut=mn.to}}}function Gi(a,y,z,x){var ie=!x&&z.widgetNode;ie&&a.map.push(a.pos,a.pos+y,ie),!x&&a.cm.display.input.needsContentAttribute&&(ie||(ie=a.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",z.id)),ie&&(a.cm.display.input.setUneditable(ie),a.content.appendChild(ie)),a.pos+=y,a.trailingSpace=!1}function Mi(a,y,z){var x=a.markedSpans,ie=a.text,se=0;if(!x){for(var Ie=1;Ie<z.length;Ie+=2)y.addToken(y,ie.slice(se,se=z[Ie]),ko(z[Ie+1],y.cm.options));return}for(var Ve=ie.length,$e=0,ut=1,rn="",mn,Nn,On=0,pr,Lr,ti,hi,Oi;;){if(On==$e){pr=Lr=ti=Nn="",Oi=null,hi=null,On=1/0;for(var mi=[],Wi=void 0,mo=0;mo<x.length;++mo){var io=x[mo],Vo=io.marker;if(Vo.type=="bookmark"&&io.from==$e&&Vo.widgetNode)mi.push(Vo);else if(io.from<=$e&&(io.to==null||io.to>$e||Vo.collapsed&&io.to==$e&&io.from==$e)){if(io.to!=null&&io.to!=$e&&On>io.to&&(On=io.to,Lr=""),Vo.className&&(pr+=" "+Vo.className),Vo.css&&(Nn=(Nn?Nn+";":"")+Vo.css),Vo.startStyle&&io.from==$e&&(ti+=" "+Vo.startStyle),Vo.endStyle&&io.to==On&&(Wi||(Wi=[])).push(Vo.endStyle,io.to),Vo.title&&((Oi||(Oi={})).title=Vo.title),Vo.attributes)for(var Ea in Vo.attributes)(Oi||(Oi={}))[Ea]=Vo.attributes[Ea];Vo.collapsed&&(!hi||Bi(hi.marker,Vo)<0)&&(hi=io)}else io.from>$e&&On>io.from&&(On=io.from)}if(Wi)for(var cl=0;cl<Wi.length;cl+=2)Wi[cl+1]==On&&(Lr+=" "+Wi[cl]);if(!hi||hi.from==$e)for(var za=0;za<mi.length;++za)Gi(y,0,mi[za]);if(hi&&(hi.from||0)==$e){if(Gi(y,(hi.to==null?Ve+1:hi.to)-$e,hi.marker,hi.from==null),hi.to==null)return;hi.to==$e&&(hi=!1)}}if($e>=Ve)break;for(var Rl=Math.min(Ve,On);;){if(rn){var Fl=$e+rn.length;if(!hi){var Ja=Fl>Rl?rn.slice(0,Rl-$e):rn;y.addToken(y,Ja,mn?mn+pr:pr,ti,$e+Ja.length==On?Lr:"",Nn,Oi)}if(Fl>=Rl){rn=rn.slice(Rl-$e),$e=Rl;break}$e=Fl,ti=""}rn=ie.slice(se,se=z[ut++]),mn=ko(z[ut++],y.cm.options)}}}function ea(a,y,z){this.line=y,this.rest=qr(y),this.size=this.rest?Ot(ft(this.rest))-z+1:1,this.node=this.text=null,this.hidden=Cr(a,y)}function ta(a,y,z){for(var x=[],ie,se=y;se<z;se=ie){var Ie=new ea(a.doc,Sn(a.doc,se),se);ie=se+Ie.size,x.push(Ie)}return x}var Xi=null;function Wo(a){Xi?Xi.ops.push(a):a.ownsGroup=Xi={ops:[a],delayedCallbacks:[]}}function Jo(a){var y=a.delayedCallbacks,z=0;do{for(;z<y.length;z++)y[z].call(null);for(var x=0;x<a.ops.length;x++){var ie=a.ops[x];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(z<y.length)}function ho(a,y){var z=a.ownsGroup;if(z)try{Jo(z)}finally{Xi=null,y(z)}}var zo=null;function Bo(a,y){var z=Lt(a,y);if(z.length){var x=Array.prototype.slice.call(arguments,2),ie;Xi?ie=Xi.delayedCallbacks:zo?ie=zo:(ie=zo=[],setTimeout(Ta,0));for(var se=function(Ve){ie.push(function(){return z[Ve].apply(null,x)})},Ie=0;Ie<z.length;++Ie)se(Ie)}}function Ta(){var a=zo;zo=null;for(var y=0;y<a.length;++y)a[y]()}function rl(a,y,z,x){for(var ie=0;ie<y.changes.length;ie++){var se=y.changes[ie];se=="text"?jl(a,y):se=="gutter"?xo(a,y,z,x):se=="class"?qi(a,y):se=="widget"&&_i(a,y,x)}y.changes=null}function Za(a){return a.node==a.text&&(a.node=Ye("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Pe&&me<8&&(a.node.style.zIndex=2)),a.node}function Fa(a,y){var z=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(z&&(z+=" CodeMirror-linebackground"),y.background)z?y.background.className=z:(y.background.parentNode.removeChild(y.background),y.background=null);else if(z){var x=Za(y);y.background=x.insertBefore(Ye("div",null,z),x.firstChild),a.display.input.setUneditable(y.background)}}function Yl(a,y){var z=a.display.externalMeasured;return z&&z.line==y.line?(a.display.externalMeasured=null,y.measure=z.measure,z.built):ha(a,y)}function jl(a,y){var z=y.text.className,x=Yl(a,y);y.text==y.node&&(y.node=x.pre),y.text.parentNode.replaceChild(x.pre,y.text),y.text=x.pre,x.bgClass!=y.bgClass||x.textClass!=y.textClass?(y.bgClass=x.bgClass,y.textClass=x.textClass,qi(a,y)):z&&(y.text.className=z)}function qi(a,y){Fa(a,y),y.line.wrapClass?Za(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var z=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=z||""}function xo(a,y,z,x){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ie=Za(y);y.gutterBackground=Ye("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px; width: "+x.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ie.insertBefore(y.gutterBackground,y.text)}var se=y.line.gutterMarkers;if(a.options.lineNumbers||se){var Ie=Za(y),Ve=y.gutter=Ye("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Ve),Ie.insertBefore(Ve,y.text),y.line.gutterClass&&(Ve.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!se||!se["CodeMirror-linenumbers"])&&(y.lineNumber=Ve.appendChild(Ye("div",Zt(a.options,z),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),se)for(var $e=0;$e<a.display.gutterSpecs.length;++$e){var ut=a.display.gutterSpecs[$e].className,rn=se.hasOwnProperty(ut)&&se[ut];rn&&Ve.appendChild(Ye("div",[rn],"CodeMirror-gutter-elt","left: "+x.gutterLeft[ut]+"px; width: "+x.gutterWidth[ut]+"px"))}}}function _i(a,y,z){y.alignable&&(y.alignable=null);for(var x=qe("CodeMirror-linewidget"),ie=y.node.firstChild,se=void 0;ie;ie=se)se=ie.nextSibling,x.test(ie.className)&&y.node.removeChild(ie);Lo(a,y,z)}function to(a,y,z,x){var ie=Yl(a,y);return y.text=y.node=ie.pre,ie.bgClass&&(y.bgClass=ie.bgClass),ie.textClass&&(y.textClass=ie.textClass),qi(a,y),xo(a,y,z,x),Lo(a,y,x),y.node}function Lo(a,y,z){if(da(a,y.line,y,z,!0),y.rest)for(var x=0;x<y.rest.length;x++)da(a,y.rest[x],y,z,!1)}function da(a,y,z,x,ie){if(y.widgets)for(var se=Za(z),Ie=0,Ve=y.widgets;Ie<Ve.length;++Ie){var $e=Ve[Ie],ut=Ye("div",[$e.node],"CodeMirror-linewidget"+($e.className?" "+$e.className:""));$e.handleMouseEvents||ut.setAttribute("cm-ignore-events","true"),Cl($e,ut,z,x),a.display.input.setUneditable(ut),ie&&$e.above?se.insertBefore(ut,z.gutter||z.text):se.appendChild(ut),Bo($e,"redraw")}}function Cl(a,y,z,x){if(a.noHScroll){(z.alignable||(z.alignable=[])).push(y);var ie=x.wrapperWidth;y.style.left=x.fixedPos+"px",a.coverGutter||(ie-=x.gutterTotalWidth,y.style.paddingLeft=x.gutterTotalWidth+"px"),y.style.width=ie+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-x.gutterTotalWidth+"px"))}function Ga(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Qe(document.body,a.node)){var z="position: relative;";a.coverGutter&&(z+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(z+="width: "+y.display.wrapper.clientWidth+"px;"),Re(y.display.measure,Ye("div",[a.node],null,z))}return a.height=a.node.parentNode.offsetHeight}function Wa(a,y){for(var z=wt(y);z!=a.wrapper;z=z.parentNode)if(!z||z.nodeType==1&&z.getAttribute("cm-ignore-events")=="true"||z.parentNode==a.sizer&&z!=a.mover)return!0}function Pa(a){return a.lineSpace.offsetTop}function pl(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Al(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Re(a.measure,Ye("pre","x","CodeMirror-line-like")),z=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,x={left:parseInt(z.paddingLeft),right:parseInt(z.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function el(a){return zt-a.display.nativeBarWidth}function Dl(a){return a.display.scroller.clientWidth-el(a)-a.display.barWidth}function Ao(a){return a.display.scroller.clientHeight-el(a)-a.display.barHeight}function xl(a,y,z){var x=a.options.lineWrapping,ie=x&&Dl(a);if(!y.measure.heights||x&&y.measure.width!=ie){var se=y.measure.heights=[];if(x){y.measure.width=ie;for(var Ie=y.text.firstChild.getClientRects(),Ve=0;Ve<Ie.length-1;Ve++){var $e=Ie[Ve],ut=Ie[Ve+1];Math.abs($e.bottom-ut.bottom)>2&&se.push(($e.bottom+ut.top)/2-z.top)}}se.push(z.bottom-z.top)}}function Vl(a,y,z){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;x<a.rest.length;x++)if(a.rest[x]==y)return{map:a.measure.maps[x],cache:a.measure.caches[x]};for(var ie=0;ie<a.rest.length;ie++)if(Ot(a.rest[ie])>z)return{map:a.measure.maps[ie],cache:a.measure.caches[ie],before:!0}}function us(a,y){y=Jn(y);var z=Ot(y),x=a.display.externalMeasured=new ea(a.doc,y,z);x.lineN=z;var ie=x.built=ha(a,x);return x.text=ie.pre,Re(a.display.lineMeasure,ie.pre),x}function ys(a,y,z,x){return vl(a,zl(a,y),z,x)}function il(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[Tl(a,y)];var z=a.display.externalMeasured;if(z&&y>=z.lineN&&y<z.lineN+z.size)return z}function zl(a,y){var z=Ot(y),x=il(a,z);x&&!x.text?x=null:x&&x.changes&&(rl(a,x,z,Ul(a)),a.curOp.forceUpdate=!0),x||(x=us(a,y));var ie=Vl(x,y,z);return{line:y,view:x,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function vl(a,y,z,x,ie){y.before&&(z=-1);var se=z+(x||""),Ie;return y.cache.hasOwnProperty(se)?Ie=y.cache[se]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(xl(a,y.view,y.rect),y.hasHeights=!0),Ie=ts(a,y,z,x),Ie.bogus||(y.cache[se]=Ie)),{left:Ie.left,right:Ie.right,top:ie?Ie.rtop:Ie.top,bottom:ie?Ie.rbottom:Ie.bottom}}var Fs={left:0,right:0,top:0,bottom:0};function Gl(a,y,z){for(var x,ie,se,Ie,Ve,$e,ut=0;ut<a.length;ut+=3)if(Ve=a[ut],$e=a[ut+1],y<Ve?(ie=0,se=1,Ie="left"):y<$e?(ie=y-Ve,se=ie+1):(ut==a.length-3||y==$e&&a[ut+3]>y)&&(se=$e-Ve,ie=se-1,y>=$e&&(Ie="right")),ie!=null){if(x=a[ut+2],Ve==$e&&z==(x.insertLeft?"left":"right")&&(Ie=z),z=="left"&&ie==0)for(;ut&&a[ut-2]==a[ut-3]&&a[ut-1].insertLeft;)x=a[(ut-=3)+2],Ie="left";if(z=="right"&&ie==$e-Ve)for(;ut<a.length-3&&a[ut+3]==a[ut+4]&&!a[ut+5].insertLeft;)x=a[(ut+=3)+2],Ie="right";break}return{node:x,start:ie,end:se,collapse:Ie,coverStart:Ve,coverEnd:$e}}function cs(a,y){var z=Fs;if(y=="left")for(var x=0;x<a.length&&(z=a[x]).left==z.right;x++);else for(var ie=a.length-1;ie>=0&&(z=a[ie]).left==z.right;ie--);return z}function ts(a,y,z,x){var ie=Gl(y.map,z,x),se=ie.node,Ie=ie.start,Ve=ie.end,$e=ie.collapse,ut;if(se.nodeType==3){for(var rn=0;rn<4;rn++){for(;Ie&&ge(y.line.text.charAt(ie.coverStart+Ie));)--Ie;for(;ie.coverStart+Ve<ie.coverEnd&&ge(y.line.text.charAt(ie.coverStart+Ve));)++Ve;if(Pe&&me<9&&Ie==0&&Ve==ie.coverEnd-ie.coverStart?ut=se.parentNode.getBoundingClientRect():ut=cs(Se(se,Ie,Ve).getClientRects(),x),ut.left||ut.right||Ie==0)break;Ve=Ie,Ie=Ie-1,$e="right"}Pe&&me<11&&(ut=Js(a.display.measure,ut))}else{Ie>0&&($e=x="right");var mn;a.options.lineWrapping&&(mn=se.getClientRects()).length>1?ut=mn[x=="right"?mn.length-1:0]:ut=se.getBoundingClientRect()}if(Pe&&me<9&&!Ie&&(!ut||!ut.left&&!ut.right)){var Nn=se.parentNode.getClientRects()[0];Nn?ut={left:Nn.left,right:Nn.left+Bl(a.display),top:Nn.top,bottom:Nn.bottom}:ut=Fs}for(var On=ut.top-y.rect.top,pr=ut.bottom-y.rect.top,Lr=(On+pr)/2,ti=y.view.measure.heights,hi=0;hi<ti.length-1&&!(Lr<ti[hi]);hi++);var Oi=hi?ti[hi-1]:0,mi=ti[hi],Wi={left:($e=="right"?ut.right:ut.left)-y.rect.left,right:($e=="left"?ut.left:ut.right)-y.rect.left,top:Oi,bottom:mi};return!ut.left&&!ut.right&&(Wi.bogus=!0),a.options.singleCursorHeightPerLine||(Wi.rtop=On,Wi.rbottom=pr),Wi}function Js(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!un(a))return y;var z=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*z,right:y.right*z,top:y.top*x,bottom:y.bottom*x}}function ds(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function gl(a){a.display.externalMeasure=null,mt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)ds(a.display.view[y])}function Xl(a){gl(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function ns(){return be&&Fe?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function bs(){return be&&Fe?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function $l(a){var y=0;if(a.widgets)for(var z=0;z<a.widgets.length;++z)a.widgets[z].above&&(y+=Ga(a.widgets[z]));return y}function fs(a,y,z,x,ie){if(!ie){var se=$l(y);z.top+=se,z.bottom+=se}if(x=="line")return z;x||(x="local");var Ie=ji(y);if(x=="local"?Ie+=Pa(a.display):Ie-=a.display.viewOffset,x=="page"||x=="window"){var Ve=a.display.lineSpace.getBoundingClientRect();Ie+=Ve.top+(x=="window"?0:bs());var $e=Ve.left+(x=="window"?0:ns());z.left+=$e,z.right+=$e}return z.top+=Ie,z.bottom+=Ie,z}function Cs(a,y,z){if(z=="div")return y;var x=y.left,ie=y.top;if(z=="page")x-=ns(),ie-=bs();else if(z=="local"||!z){var se=a.display.sizer.getBoundingClientRect();x+=se.left,ie+=se.top}var Ie=a.display.lineSpace.getBoundingClientRect();return{left:x-Ie.left,top:ie-Ie.top}}function Kl(a,y,z,x,ie){return x||(x=Sn(a.doc,y.line)),fs(a,x,ys(a,x,y.ch,ie),z)}function Ha(a,y,z,x,ie,se){x=x||Sn(a.doc,y.line),ie||(ie=zl(a,x));function Ie(pr,Lr){var ti=vl(a,ie,pr,Lr?"right":"left",se);return Lr?ti.left=ti.right:ti.right=ti.left,fs(a,x,ti,z)}var Ve=He(x,a.doc.direction),$e=y.ch,ut=y.sticky;if($e>=x.text.length?($e=x.text.length,ut="before"):$e<=0&&($e=0,ut="after"),!Ve)return Ie(ut=="before"?$e-1:$e,ut=="before");function rn(pr,Lr,ti){var hi=Ve[Lr],Oi=hi.level==1;return Ie(ti?pr-1:pr,Oi!=ti)}var mn=it(Ve,$e,ut),Nn=Xe,On=rn($e,mn,ut=="before");return Nn!=null&&(On.other=rn($e,Nn,ut!="before")),On}function Ko(a,y){var z=0;y=jt(a.doc,y),a.options.lineWrapping||(z=Bl(a.display)*y.ch);var x=Sn(a.doc,y.line),ie=ji(x)+Pa(a.display);return{left:z,right:z,top:ie,bottom:ie+x.height}}function So(a,y,z,x,ie){var se=bt(a,y,z);return se.xRel=ie,x&&(se.outside=x),se}function ka(a,y,z){var x=a.doc;if(z+=a.display.viewOffset,z<0)return So(x.first,0,null,-1,-1);var ie=_t(x,z),se=x.first+x.size-1;if(ie>se)return So(x.first+x.size-1,Sn(x,se).text.length,null,1,1);y<0&&(y=0);for(var Ie=Sn(x,ie);;){var Ve=Pl(a,Ie,ie,y,z),$e=lr(Ie,Ve.ch+(Ve.xRel>0||Ve.outside>0?1:0));if(!$e)return Ve;var ut=$e.find(1);if(ut.line==ie)return ut;Ie=Sn(x,ie=ut.line)}}function tl(a,y,z,x){x-=$l(y);var ie=y.text.length,se=ze(function(Ie){return vl(a,z,Ie-1).bottom<=x},ie,0);return ie=ze(function(Ie){return vl(a,z,Ie).top>x},se,ie),{begin:se,end:ie}}function Oa(a,y,z,x){z||(z=zl(a,y));var ie=fs(a,y,vl(a,z,x),"line").top;return tl(a,y,z,ie)}function La(a,y,z,x){return a.bottom<=z?!1:a.top>z?!0:(x?a.left:a.right)>y}function Pl(a,y,z,x,ie){ie-=ji(y);var se=zl(a,y),Ie=$l(y),Ve=0,$e=y.text.length,ut=!0,rn=He(y,a.doc.direction);if(rn){var mn=(a.options.lineWrapping?Ml:Sl)(a,y,z,se,rn,x,ie);ut=mn.level!=1,Ve=ut?mn.from:mn.to-1,$e=ut?mn.to:mn.from-1}var Nn=null,On=null,pr=ze(function(mo){var io=vl(a,se,mo);return io.top+=Ie,io.bottom+=Ie,La(io,x,ie,!1)?(io.top<=ie&&io.left<=x&&(Nn=mo,On=io),!0):!1},Ve,$e),Lr,ti,hi=!1;if(On){var Oi=x-On.left<On.right-x,mi=Oi==ut;pr=Nn+(mi?0:1),ti=mi?"after":"before",Lr=Oi?On.left:On.right}else{!ut&&(pr==$e||pr==Ve)&&pr++,ti=pr==0?"after":pr==y.text.length?"before":vl(a,se,pr-(ut?1:0)).bottom+Ie<=ie==ut?"after":"before";var Wi=Ha(a,bt(z,pr,ti),"line",y,se);Lr=Wi.left,hi=ie<Wi.top?-1:ie>=Wi.bottom?1:0}return pr=Ee(y.text,pr,1),So(z,pr,ti,hi,x-Lr)}function Sl(a,y,z,x,ie,se,Ie){var Ve=ze(function(mn){var Nn=ie[mn],On=Nn.level!=1;return La(Ha(a,bt(z,On?Nn.to:Nn.from,On?"before":"after"),"line",y,x),se,Ie,!0)},0,ie.length-1),$e=ie[Ve];if(Ve>0){var ut=$e.level!=1,rn=Ha(a,bt(z,ut?$e.from:$e.to,ut?"after":"before"),"line",y,x);La(rn,se,Ie,!0)&&rn.top>Ie&&($e=ie[Ve-1])}return $e}function Ml(a,y,z,x,ie,se,Ie){var Ve=tl(a,y,x,Ie),$e=Ve.begin,ut=Ve.end;/\s/.test(y.text.charAt(ut-1))&&ut--;for(var rn=null,mn=null,Nn=0;Nn<ie.length;Nn++){var On=ie[Nn];if(!(On.from>=ut||On.to<=$e)){var pr=On.level!=1,Lr=vl(a,x,pr?Math.min(ut,On.to)-1:Math.max($e,On.from)).right,ti=Lr<se?se-Lr+1e9:Lr-se;(!rn||mn>ti)&&(rn=On,mn=ti)}}return rn||(rn=ie[ie.length-1]),rn.from<$e&&(rn={from:$e,to:rn.to,level:rn.level}),rn.to>ut&&(rn={from:rn.from,to:ut,level:rn.level}),rn}var ol;function fl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(ol==null){ol=Ye("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)ol.appendChild(document.createTextNode("x")),ol.appendChild(Ye("br"));ol.appendChild(document.createTextNode("x"))}Re(a.measure,ol);var z=ol.offsetHeight/50;return z>3&&(a.cachedTextHeight=z),mt(a.measure),z||1}function Bl(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ye("span","xxxxxxxxxx"),z=Ye("pre",[y],"CodeMirror-line-like");Re(a.measure,z);var x=y.getBoundingClientRect(),ie=(x.right-x.left)/10;return ie>2&&(a.cachedCharWidth=ie),ie||10}function Ul(a){for(var y=a.display,z={},x={},ie=y.gutters.clientLeft,se=y.gutters.firstChild,Ie=0;se;se=se.nextSibling,++Ie){var Ve=a.display.gutterSpecs[Ie].className;z[Ve]=se.offsetLeft+se.clientLeft+ie,x[Ve]=se.clientWidth}return{fixedPos:Os(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:z,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function Os(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function ks(a){var y=fl(a.display),z=a.options.lineWrapping,x=z&&Math.max(5,a.display.scroller.clientWidth/Bl(a.display)-3);return function(ie){if(Cr(a.doc,ie))return 0;var se=0;if(ie.widgets)for(var Ie=0;Ie<ie.widgets.length;Ie++)ie.widgets[Ie].height&&(se+=ie.widgets[Ie].height);return z?se+(Math.ceil(ie.text.length/x)||1)*y:se+y}}function rs(a){var y=a.doc,z=ks(a);y.iter(function(x){var ie=z(x);ie!=x.height&&ir(x,ie)})}function Zl(a,y,z,x){var ie=a.display;if(!z&&wt(y).getAttribute("cm-not-content")=="true")return null;var se,Ie,Ve=ie.lineSpace.getBoundingClientRect();try{se=y.clientX-Ve.left,Ie=y.clientY-Ve.top}catch(mn){return null}var $e=ka(a,se,Ie),ut;if(x&&$e.xRel>0&&(ut=Sn(a.doc,$e.line).text).length==$e.ch){var rn=Ge(ut,ut.length,a.options.tabSize)-ut.length;$e=bt($e.line,Math.max(0,Math.round((se-Al(a.display).left)/Bl(a.display))-rn))}return $e}function Tl(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var z=a.display.view,x=0;x<z.length;x++)if(y-=z[x].size,y<0)return x}function Xa(a,y,z,x){y==null&&(y=a.doc.first),z==null&&(z=a.doc.first+a.doc.size),x||(x=0);var ie=a.display;if(x&&z<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>y)&&(ie.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ie.viewTo)$r&&or(a.doc,y)<ie.viewTo&&Ll(a);else if(z<=ie.viewFrom)$r&&_n(a.doc,z+x)>ie.viewFrom?Ll(a):(ie.viewFrom+=x,ie.viewTo+=x);else if(y<=ie.viewFrom&&z>=ie.viewTo)Ll(a);else if(y<=ie.viewFrom){var se=xs(a,z,z+x,1);se?(ie.view=ie.view.slice(se.index),ie.viewFrom=se.lineN,ie.viewTo+=x):Ll(a)}else if(z>=ie.viewTo){var Ie=xs(a,y,y,-1);Ie?(ie.view=ie.view.slice(0,Ie.index),ie.viewTo=Ie.lineN):Ll(a)}else{var Ve=xs(a,y,y,-1),$e=xs(a,z,z+x,1);Ve&&$e?(ie.view=ie.view.slice(0,Ve.index).concat(ta(a,Ve.lineN,$e.lineN)).concat(ie.view.slice($e.index)),ie.viewTo+=x):Ll(a)}var ut=ie.externalMeasured;ut&&(z<ut.lineN?ut.lineN+=x:y<ut.lineN+ut.size&&(ie.externalMeasured=null))}function Wl(a,y,z){a.curOp.viewChanged=!0;var x=a.display,ie=a.display.externalMeasured;if(ie&&y>=ie.lineN&&y<ie.lineN+ie.size&&(x.externalMeasured=null),!(y<x.viewFrom||y>=x.viewTo)){var se=x.view[Tl(a,y)];if(se.node!=null){var Ie=se.changes||(se.changes=[]);ot(Ie,z)==-1&&Ie.push(z)}}}function Ll(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function xs(a,y,z,x){var ie=Tl(a,y),se,Ie=a.display.view;if(!$r||z==a.doc.first+a.doc.size)return{index:ie,lineN:z};for(var Ve=a.display.viewFrom,$e=0;$e<ie;$e++)Ve+=Ie[$e].size;if(Ve!=y){if(x>0){if(ie==Ie.length-1)return null;se=Ve+Ie[ie].size-y,ie++}else se=Ve-y;y+=se,z+=se}for(;or(a.doc,z)!=z;){if(ie==(x<0?0:Ie.length-1))return null;z+=x*Ie[ie-(x<0?1:0)].size,ie+=x}return{index:ie,lineN:z}}function Vs(a,y,z){var x=a.display,ie=x.view;ie.length==0||y>=x.viewTo||z<=x.viewFrom?(x.view=ta(a,y,z),x.viewFrom=y):(x.viewFrom>y?x.view=ta(a,y,x.viewFrom).concat(x.view):x.viewFrom<y&&(x.view=x.view.slice(Tl(a,y))),x.viewFrom=y,x.viewTo<z?x.view=x.view.concat(ta(a,x.viewTo,z)):x.viewTo>z&&(x.view=x.view.slice(0,Tl(a,z)))),x.viewTo=z}function Ss(a){for(var y=a.display.view,z=0,x=0;x<y.length;x++){var ie=y[x];!ie.hidden&&(!ie.node||ie.changes)&&++z}return z}function _l(a){a.display.input.showSelection(a.display.input.prepareSelection())}function hu(a,y){y===void 0&&(y=!0);for(var z=a.doc,x={},ie=x.cursors=document.createDocumentFragment(),se=x.selection=document.createDocumentFragment(),Ie=0;Ie<z.sel.ranges.length;Ie++)if(!(!y&&Ie==z.sel.primIndex)){var Ve=z.sel.ranges[Ie];if(!(Ve.from().line>=a.display.viewTo||Ve.to().line<a.display.viewFrom)){var $e=Ve.empty();($e||a.options.showCursorWhenSelecting)&&Ks(a,Ve.head,ie),$e||xu(a,Ve,se)}}return x}function Ks(a,y,z){var x=Ha(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ie=z.appendChild(Ye("div","\xA0","CodeMirror-cursor"));if(ie.style.left=x.left+"px",ie.style.top=x.top+"px",ie.style.height=Math.max(0,x.bottom-x.top)*a.options.cursorHeight+"px",x.other){var se=z.appendChild(Ye("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));se.style.display="",se.style.left=x.other.left+"px",se.style.top=x.other.top+"px",se.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function hs(a,y){return a.top-y.top||a.left-y.left}function xu(a,y,z){var x=a.display,ie=a.doc,se=document.createDocumentFragment(),Ie=Al(a.display),Ve=Ie.left,$e=Math.max(x.sizerWidth,Dl(a)-x.sizer.offsetLeft)-Ie.right,ut=ie.direction=="ltr";function rn(mi,Wi,mo,io){Wi<0&&(Wi=0),Wi=Math.round(Wi),io=Math.round(io),se.appendChild(Ye("div",null,"CodeMirror-selected","position: absolute; left: "+mi+`px;
|
|
|
top: `+Wi+"px; width: "+(mo==null?$e-mi:mo)+`px;
|
|
|
height: `+(io-Wi)+"px"))}function mn(mi,Wi,mo){var io=Sn(ie,mi),Vo=io.text.length,Ea,cl;function za(Ja,Ol){return Kl(a,bt(mi,Ja),"div",io,Ol)}function Rl(Ja,Ol,ml){var nl=Oa(a,io,null,Ja),qa=Ol=="ltr"==(ml=="after")?"left":"right",ja=ml=="after"?nl.begin:nl.end-(/\s/.test(io.text.charAt(nl.end-1))?2:1);return za(ja,qa)[qa]}var Fl=He(io,ie.direction);return je(Fl,Wi||0,mo==null?Vo:mo,function(Ja,Ol,ml,nl){var qa=ml=="ltr",ja=za(Ja,qa?"left":"right"),kl=za(Ol-1,qa?"right":"left"),_s=Wi==null&&Ja==0,Is=mo==null&&Ol==Vo,bl=nl==0,ss=!Fl||nl==Fl.length-1;if(kl.top-ja.top<=3){var dl=(ut?_s:Is)&&bl,Fu=(ut?Is:_s)&&ss,gs=dl?Ve:(qa?ja:kl).left,Hs=Fu?$e:(qa?kl:ja).right;rn(gs,ja.top,Hs-gs,ja.bottom)}else{var js,El,Qs,Ou;qa?(js=ut&&_s&&bl?Ve:ja.left,El=ut?$e:Rl(Ja,ml,"before"),Qs=ut?Ve:Rl(Ol,ml,"after"),Ou=ut&&Is&&ss?$e:kl.right):(js=ut?Rl(Ja,ml,"before"):Ve,El=!ut&&_s&&bl?$e:ja.right,Qs=!ut&&Is&&ss?Ve:kl.left,Ou=ut?Rl(Ol,ml,"after"):$e),rn(js,ja.top,El-js,ja.bottom),ja.bottom<kl.top&&rn(Ve,ja.bottom,null,kl.top),rn(Qs,kl.top,Ou-Qs,kl.bottom)}(!Ea||hs(ja,Ea)<0)&&(Ea=ja),hs(kl,Ea)<0&&(Ea=kl),(!cl||hs(ja,cl)<0)&&(cl=ja),hs(kl,cl)<0&&(cl=kl)}),{start:Ea,end:cl}}var Nn=y.from(),On=y.to();if(Nn.line==On.line)mn(Nn.line,Nn.ch,On.ch);else{var pr=Sn(ie,Nn.line),Lr=Sn(ie,On.line),ti=Jn(pr)==Jn(Lr),hi=mn(Nn.line,Nn.ch,ti?pr.text.length+1:null).end,Oi=mn(On.line,ti?0:null,On.ch).start;ti&&(hi.top<Oi.top-2?(rn(hi.right,hi.top,null,hi.bottom),rn(Ve,Oi.top,Oi.left,Oi.bottom)):rn(hi.right,hi.top,Oi.left-hi.right,hi.bottom)),hi.bottom<Oi.top&&rn(Ve,hi.bottom,null,Oi.top)}z.appendChild(se)}function Ms(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var z=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||is(a),y.cursorDiv.style.visibility=(z=!z)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function mu(a){a.state.focused||(a.display.input.focus(),Ql(a))}function Ts(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,is(a))},100)}function Ql(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Nt(a,"focus",a,y),a.state.focused=!0,ye(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),ve&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ms(a))}function is(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Nt(a,"blur",a,y),a.state.focused=!1,_e(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Qi(a){for(var y=a.display,z=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var ie=y.view[x],se=a.options.lineWrapping,Ie=void 0,Ve=0;if(!ie.hidden){if(Pe&&me<8){var $e=ie.node.offsetTop+ie.node.offsetHeight;Ie=$e-z,z=$e}else{var ut=ie.node.getBoundingClientRect();Ie=ut.bottom-ut.top,!se&&ie.text.firstChild&&(Ve=ie.text.firstChild.getBoundingClientRect().right-ut.left-1)}var rn=ie.line.height-Ie;if((rn>.005||rn<-.005)&&(ir(ie.line,Ie),os(ie.line),ie.rest))for(var mn=0;mn<ie.rest.length;mn++)os(ie.rest[mn]);if(Ve>a.display.sizerWidth){var Nn=Math.ceil(Ve/Bl(a.display));Nn>a.display.maxLineLength&&(a.display.maxLineLength=Nn,a.display.maxLine=ie.line,a.display.maxLineChanged=!0)}}}}function os(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var z=a.widgets[y],x=z.node.parentNode;x&&(z.height=x.offsetHeight)}}function ue(a,y,z){var x=z&&z.top!=null?Math.max(0,z.top):a.scroller.scrollTop;x=Math.floor(x-Pa(a));var ie=z&&z.bottom!=null?z.bottom:x+a.wrapper.clientHeight,se=_t(y,x),Ie=_t(y,ie);if(z&&z.ensure){var Ve=z.ensure.from.line,$e=z.ensure.to.line;Ve<se?(se=Ve,Ie=_t(y,ji(Sn(y,Ve))+a.wrapper.clientHeight)):Math.min($e,y.lastLine())>=Ie&&(se=_t(y,ji(Sn(y,$e))-a.wrapper.clientHeight),Ie=$e)}return{from:se,to:Math.max(Ie,se+1)}}function We(a,y){if(!Mt(a,"scrollCursorIntoView")){var z=a.display,x=z.sizer.getBoundingClientRect(),ie=null;if(y.top+x.top<0?ie=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!Te){var se=Ye("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-z.viewOffset-Pa(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+el(a)+z.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(se),se.scrollIntoView(ie),a.display.lineSpace.removeChild(se)}}}function at(a,y,z,x){x==null&&(x=0);var ie;!a.options.lineWrapping&&y==z&&(y=y.ch?bt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,z=y.sticky=="before"?bt(y.line,y.ch+1,"before"):y);for(var se=0;se<5;se++){var Ie=!1,Ve=Ha(a,y),$e=!z||z==y?Ve:Ha(a,z);ie={left:Math.min(Ve.left,$e.left),top:Math.min(Ve.top,$e.top)-x,right:Math.max(Ve.left,$e.left),bottom:Math.max(Ve.bottom,$e.bottom)+x};var ut=At(a,ie),rn=a.doc.scrollTop,mn=a.doc.scrollLeft;if(ut.scrollTop!=null&&(qn(a,ut.scrollTop),Math.abs(a.doc.scrollTop-rn)>1&&(Ie=!0)),ut.scrollLeft!=null&&(ar(a,ut.scrollLeft),Math.abs(a.doc.scrollLeft-mn)>1&&(Ie=!0)),!Ie)break}return ie}function St(a,y){var z=At(a,y);z.scrollTop!=null&&qn(a,z.scrollTop),z.scrollLeft!=null&&ar(a,z.scrollLeft)}function At(a,y){var z=a.display,x=fl(a.display);y.top<0&&(y.top=0);var ie=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:z.scroller.scrollTop,se=Ao(a),Ie={};y.bottom-y.top>se&&(y.bottom=y.top+se);var Ve=a.doc.height+pl(z),$e=y.top<x,ut=y.bottom>Ve-x;if(y.top<ie)Ie.scrollTop=$e?0:y.top;else if(y.bottom>ie+se){var rn=Math.min(y.top,(ut?Ve:y.bottom)-se);rn!=ie&&(Ie.scrollTop=rn)}var mn=a.options.fixedGutter?0:z.gutters.offsetWidth,Nn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:z.scroller.scrollLeft-mn,On=Dl(a)-z.gutters.offsetWidth,pr=y.right-y.left>On;return pr&&(y.right=y.left+On),y.left<10?Ie.scrollLeft=0:y.left<Nn?Ie.scrollLeft=Math.max(0,y.left+mn-(pr?0:10)):y.right>On+Nn-3&&(Ie.scrollLeft=y.right+(pr?0:10)-On),Ie}function hn(a,y){y!=null&&(Yn(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Cn(a){Yn(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function En(a,y,z){(y!=null||z!=null)&&Yn(a),y!=null&&(a.curOp.scrollLeft=y),z!=null&&(a.curOp.scrollTop=z)}function Zn(a,y){Yn(a),a.curOp.scrollToPos=y}function Yn(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var z=Ko(a,y.from),x=Ko(a,y.to);An(a,z,x,y.margin)}}function An(a,y,z,x){var ie=At(a,{left:Math.min(y.left,z.left),top:Math.min(y.top,z.top)-x,right:Math.max(y.right,z.right),bottom:Math.max(y.bottom,z.bottom)+x});En(a,ie.scrollLeft,ie.scrollTop)}function qn(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||lo(a,{top:y}),sr(a,y,!0),b&&lo(a),Vi(a,100))}function sr(a,y,z){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!z)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function ar(a,y,z,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((z?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,ht(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function er(a){var y=a.display,z=y.gutters.offsetWidth,x=Math.round(a.doc.height+pl(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?z:0,docHeight:x,scrollHeight:x+el(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:z}}var dr=function(a,y,z){this.cm=z;var x=this.vert=Ye("div",[Ye("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=Ye("div",[Ye("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ie.tabIndex=-1,a(x),a(ie),$t(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),$t(ie,"scroll",function(){ie.clientWidth&&y(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Pe&&me<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};dr.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,z=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(z){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var ie=a.viewHeight-(y?x:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=z?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var se=a.viewWidth-a.barLeft-(z?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+se)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:z?x:0,bottom:y?x:0}},dr.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},dr.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},dr.prototype.zeroWidthHack=function(){var a=De&&!we?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ae,this.disableVert=new Ae},dr.prototype.enableZeroWidthBar=function(a,y,z){a.style.pointerEvents="auto";function x(){var ie=a.getBoundingClientRect(),se=z=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);se!=a?a.style.pointerEvents="none":y.set(1e3,x)}y.set(1e3,x)},dr.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var hr=function(){};hr.prototype.update=function(){return{bottom:0,right:0}},hr.prototype.setScrollLeft=function(){},hr.prototype.setScrollTop=function(){},hr.prototype.clear=function(){};function mr(a,y){y||(y=er(a));var z=a.display.barWidth,x=a.display.barHeight;Yr(a,y);for(var ie=0;ie<4&&z!=a.display.barWidth||x!=a.display.barHeight;ie++)z!=a.display.barWidth&&a.options.lineWrapping&&Qi(a),Yr(a,er(a)),z=a.display.barWidth,x=a.display.barHeight}function Yr(a,y){var z=a.display,x=z.scrollbars.update(y);z.sizer.style.paddingRight=(z.barWidth=x.right)+"px",z.sizer.style.paddingBottom=(z.barHeight=x.bottom)+"px",z.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(z.scrollbarFiller.style.display="block",z.scrollbarFiller.style.height=x.bottom+"px",z.scrollbarFiller.style.width=x.right+"px"):z.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(z.gutterFiller.style.display="block",z.gutterFiller.style.height=x.bottom+"px",z.gutterFiller.style.width=y.gutterWidth+"px"):z.gutterFiller.style.display=""}var Tr={native:dr,null:hr};function xr(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&_e(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Tr[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),$t(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,z){z=="horizontal"?ar(a,y):qn(a,y)},a),a.display.scrollbars.addClass&&ye(a.display.wrapper,a.display.scrollbars.addClass)}var Qr=0;function Fr(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:++Qr},Wo(a.curOp)}function Nr(a){var y=a.curOp;y&&ho(y,function(z){for(var x=0;x<z.ops.length;x++)z.ops[x].cm.curOp=null;Fi(z)})}function Fi(a){for(var y=a.ops,z=0;z<y.length;z++)pi(y[z]);for(var x=0;x<y.length;x++)yi(y[x]);for(var ie=0;ie<y.length;ie++)di(y[ie]);for(var se=0;se<y.length;se++)Li(y[se]);for(var Ie=0;Ie<y.length;Ie++)xi(y[Ie])}function pi(a){var y=a.cm,z=y.display;wi(y),a.updateMaxLine&&ao(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<z.viewFrom||a.scrollToPos.to.line>=z.viewTo)||z.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new vi(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function yi(a){a.updatedDisplay=a.mustUpdate&&gi(a.cm,a.update)}function di(a){var y=a.cm,z=y.display;a.updatedDisplay&&Qi(y),a.barMeasure=er(y),z.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ys(y,z.maxLine,z.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(z.scroller.clientWidth,z.sizer.offsetLeft+a.adjustWidthTo+el(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,z.sizer.offsetLeft+a.adjustWidthTo-Dl(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=z.input.prepareSelection())}function Li(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&ar(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var z=a.focus&&a.focus==he();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,z),(a.updatedDisplay||a.startHeight!=y.doc.height)&&mr(y,a.barMeasure),a.updatedDisplay&&Me(y,a.barMeasure),a.selectionChanged&&Ms(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),z&&mu(a.cm)}function xi(a){var y=a.cm,z=y.display,x=y.doc;if(a.updatedDisplay&&Ki(y,a.update),z.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(z.wheelStartX=z.wheelStartY=null),a.scrollTop!=null&&sr(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&ar(y,a.scrollLeft,!0,!0),a.scrollToPos){var ie=at(y,jt(x,a.scrollToPos.from),jt(x,a.scrollToPos.to),a.scrollToPos.margin);We(y,ie)}var se=a.maybeHiddenMarkers,Ie=a.maybeUnhiddenMarkers;if(se)for(var Ve=0;Ve<se.length;++Ve)se[Ve].lines.length||Nt(se[Ve],"hide");if(Ie)for(var $e=0;$e<Ie.length;++$e)Ie[$e].lines.length&&Nt(Ie[$e],"unhide");z.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Nt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ii(a,y){if(a.curOp)return y();Fr(a);try{return y()}finally{Nr(a)}}function Xr(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Fr(a);try{return y.apply(a,arguments)}finally{Nr(a)}}}function si(a){return function(){if(this.curOp)return a.apply(this,arguments);Fr(this);try{return a.apply(this,arguments)}finally{Nr(this)}}}function li(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Fr(y);try{return a.apply(this,arguments)}finally{Nr(y)}}}function Vi(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,yt(Ni,a))}function Ni(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var z=+new Date+a.options.workTime,x=Zr(a,y.highlightFrontier),ie=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(se){if(x.line>=a.display.viewFrom){var Ie=se.styles,Ve=se.text.length>a.options.maxHighlightLength?nr(y.mode,x.state):null,$e=Kn(a,se,x,!0);Ve&&(x.state=Ve),se.styles=$e.styles;var ut=se.styleClasses,rn=$e.classes;rn?se.styleClasses=rn:ut&&(se.styleClasses=null);for(var mn=!Ie||Ie.length!=se.styles.length||ut!=rn&&(!ut||!rn||ut.bgClass!=rn.bgClass||ut.textClass!=rn.textClass),Nn=0;!mn&&Nn<Ie.length;++Nn)mn=Ie[Nn]!=se.styles[Nn];mn&&ie.push(x.line),se.stateAfter=x.save(),x.nextLine()}else se.text.length<=a.options.maxHighlightLength&&_r(a,se.text,x),se.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>z)return Vi(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),ie.length&&ii(a,function(){for(var se=0;se<ie.length;se++)Wl(a,ie[se],"text")})}}var vi=function(a,y,z){var x=a.display;this.viewport=y,this.visible=ue(x,a.doc,y),this.editorIsHidden=!x.wrapper.offsetWidth,this.wrapperHeight=x.wrapper.clientHeight,this.wrapperWidth=x.wrapper.clientWidth,this.oldDisplayWidth=Dl(a),this.force=z,this.dims=Ul(a),this.events=[]};vi.prototype.signal=function(a,y){Jt(a,y)&&this.events.push(arguments)},vi.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Nt.apply(null,this.events[a])};function wi(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=el(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=el(a)+"px",y.scrollbarsClipped=!0)}function oi(a){if(a.hasFocus())return null;var y=he();if(!y||!Qe(a.display.lineDiv,y))return null;var z={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&Qe(a.display.lineDiv,x.anchorNode)&&(z.anchorNode=x.anchorNode,z.anchorOffset=x.anchorOffset,z.focusNode=x.focusNode,z.focusOffset=x.focusOffset)}return z}function bi(a){if(!(!a||!a.activeElt||a.activeElt==he())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Qe(document.body,a.anchorNode)&&Qe(document.body,a.focusNode))){var y=window.getSelection(),z=document.createRange();z.setEnd(a.anchorNode,a.anchorOffset),z.collapse(!1),y.removeAllRanges(),y.addRange(z),y.extend(a.focusNode,a.focusOffset)}}function gi(a,y){var z=a.display,x=a.doc;if(y.editorIsHidden)return Ll(a),!1;if(!y.force&&y.visible.from>=z.viewFrom&&y.visible.to<=z.viewTo&&(z.updateLineNumbers==null||z.updateLineNumbers>=z.viewTo)&&z.renderedView==z.view&&Ss(a)==0)return!1;xt(a)&&(Ll(a),y.dims=Ul(a));var ie=x.first+x.size,se=Math.max(y.visible.from-a.options.viewportMargin,x.first),Ie=Math.min(ie,y.visible.to+a.options.viewportMargin);z.viewFrom<se&&se-z.viewFrom<20&&(se=Math.max(x.first,z.viewFrom)),z.viewTo>Ie&&z.viewTo-Ie<20&&(Ie=Math.min(ie,z.viewTo)),$r&&(se=or(a.doc,se),Ie=_n(a.doc,Ie));var Ve=se!=z.viewFrom||Ie!=z.viewTo||z.lastWrapHeight!=y.wrapperHeight||z.lastWrapWidth!=y.wrapperWidth;Vs(a,se,Ie),z.viewOffset=ji(Sn(a.doc,z.viewFrom)),a.display.mover.style.top=z.viewOffset+"px";var $e=Ss(a);if(!Ve&&$e==0&&!y.force&&z.renderedView==z.view&&(z.updateLineNumbers==null||z.updateLineNumbers>=z.viewTo))return!1;var ut=oi(a);return $e>4&&(z.lineDiv.style.display="none"),uo(a,z.updateLineNumbers,y.dims),$e>4&&(z.lineDiv.style.display=""),z.renderedView=z.view,bi(ut),mt(z.cursorDiv),mt(z.selectionDiv),z.gutters.style.height=z.sizer.style.minHeight=0,Ve&&(z.lastWrapHeight=y.wrapperHeight,z.lastWrapWidth=y.wrapperWidth,Vi(a,400)),z.updateLineNumbers=null,!0}function Ki(a,y){for(var z=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==Dl(a)){if(z&&z.top!=null&&(z={top:Math.min(a.doc.height+pl(a.display)-Ao(a),z.top)}),y.visible=ue(a.display,a.doc,z),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=ue(a.display,a.doc,z));if(!gi(a,y))break;Qi(a);var ie=er(a);_l(a),mr(a,ie),Me(a,ie),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function lo(a,y){var z=new vi(a,y);if(gi(a,z)){Qi(a),Ki(a,z);var x=er(a);_l(a),mr(a,x),Me(a,x),z.finish()}}function uo(a,y,z){var x=a.display,ie=a.options.lineNumbers,se=x.lineDiv,Ie=se.firstChild;function Ve(pr){var Lr=pr.nextSibling;return ve&&De&&a.display.currentWheelTarget==pr?pr.style.display="none":pr.parentNode.removeChild(pr),Lr}for(var $e=x.view,ut=x.viewFrom,rn=0;rn<$e.length;rn++){var mn=$e[rn];if(!mn.hidden)if(!mn.node||mn.node.parentNode!=se){var Nn=to(a,mn,ut,z);se.insertBefore(Nn,Ie)}else{for(;Ie!=mn.node;)Ie=Ve(Ie);var On=ie&&y!=null&&y<=ut&&mn.lineNumber;mn.changes&&(ot(mn.changes,"gutter")>-1&&(On=!1),rl(a,mn,ut,z)),On&&(mt(mn.lineNumber),mn.lineNumber.appendChild(document.createTextNode(Zt(a.options,ut)))),Ie=mn.node.nextSibling}ut+=mn.size}for(;Ie;)Ie=Ve(Ie)}function Ne(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function Me(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+el(a)+"px"}function ht(a){var y=a.display,z=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=Os(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ie=y.gutters.offsetWidth,se=x+"px",Ie=0;Ie<z.length;Ie++)if(!z[Ie].hidden){a.options.fixedGutter&&(z[Ie].gutter&&(z[Ie].gutter.style.left=se),z[Ie].gutterBackground&&(z[Ie].gutterBackground.style.left=se));var Ve=z[Ie].alignable;if(Ve)for(var $e=0;$e<Ve.length;$e++)Ve[$e].style.left=se}a.options.fixedGutter&&(y.gutters.style.left=x+ie+"px")}}function xt(a){if(!a.options.lineNumbers)return!1;var y=a.doc,z=Zt(a.options,y.first+y.size-1),x=a.display;if(z.length!=x.lineNumChars){var ie=x.measure.appendChild(Ye("div",[Ye("div",z)],"CodeMirror-linenumber CodeMirror-gutter-elt")),se=ie.firstChild.offsetWidth,Ie=ie.offsetWidth-se;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(se,x.lineGutter.offsetWidth-Ie)+1,x.lineNumWidth=x.lineNumInnerWidth+Ie,x.lineNumChars=x.lineNumInnerWidth?z.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",Ne(a.display),!0}return!1}function Tt(a,y){for(var z=[],x=!1,ie=0;ie<a.length;ie++){var se=a[ie],Ie=null;if(typeof se!="string"&&(Ie=se.style,se=se.className),se=="CodeMirror-linenumbers")if(y)x=!0;else continue;z.push({className:se,style:Ie})}return y&&!x&&z.push({className:"CodeMirror-linenumbers",style:null}),z}function Ut(a){var y=a.gutters,z=a.gutterSpecs;mt(y),a.lineGutter=null;for(var x=0;x<z.length;++x){var ie=z[x],se=ie.className,Ie=ie.style,Ve=y.appendChild(Ye("div",null,"CodeMirror-gutter "+se));Ie&&(Ve.style.cssText=Ie),se=="CodeMirror-linenumbers"&&(a.lineGutter=Ve,Ve.style.width=(a.lineNumWidth||1)+"px")}y.style.display=z.length?"":"none",Ne(a)}function cn(a){Ut(a.display),Xa(a),ht(a)}function an(a,y,z,x){var ie=this;this.input=z,ie.scrollbarFiller=Ye("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=Ye("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=lt("div",null,"CodeMirror-code"),ie.selectionDiv=Ye("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=Ye("div",null,"CodeMirror-cursors"),ie.measure=Ye("div",null,"CodeMirror-measure"),ie.lineMeasure=Ye("div",null,"CodeMirror-measure"),ie.lineSpace=lt("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var se=lt("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=Ye("div",[se],null,"position: relative"),ie.sizer=Ye("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=Ye("div",null,null,"position: absolute; height: "+zt+"px; width: 1px;"),ie.gutters=Ye("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=Ye("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=Ye("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),Pe&&me<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!ve&&!(b&&Ce)&&(ie.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ie.wrapper):a(ie.wrapper)),ie.viewFrom=ie.viewTo=y.first,ie.reportedViewFrom=ie.reportedViewTo=y.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=Tt(x.gutters,x.lineNumbers),Ut(ie),z.init(ie)}var pn=0,gn=null;Pe?gn=-.53:b?gn=15:be?gn=-.7:Le&&(gn=-1/3);function Mn(a){var y=a.wheelDeltaX,z=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),z==null&&a.detail&&a.axis==a.VERTICAL_AXIS?z=a.detail:z==null&&(z=a.wheelDelta),{x:y,y:z}}function In(a){var y=Mn(a);return y.x*=gn,y.y*=gn,y}function Dn(a,y){var z=Mn(y),x=z.x,ie=z.y,se=a.display,Ie=se.scroller,Ve=Ie.scrollWidth>Ie.clientWidth,$e=Ie.scrollHeight>Ie.clientHeight;if(x&&Ve||ie&&$e){if(ie&&De&&ve){e:for(var ut=y.target,rn=se.view;ut!=Ie;ut=ut.parentNode)for(var mn=0;mn<rn.length;mn++)if(rn[mn].node==ut){a.display.currentWheelTarget=ut;break e}}if(x&&!b&&!de&&gn!=null){ie&&$e&&qn(a,Math.max(0,Ie.scrollTop+ie*gn)),ar(a,Math.max(0,Ie.scrollLeft+x*gn)),(!ie||ie&&$e)&&kt(y),se.wheelStartX=null;return}if(ie&&gn!=null){var Nn=ie*gn,On=a.doc.scrollTop,pr=On+se.wrapper.clientHeight;Nn<0?On=Math.max(0,On+Nn-50):pr=Math.min(a.doc.height,pr+Nn+50),lo(a,{top:On,bottom:pr})}pn<20&&(se.wheelStartX==null?(se.wheelStartX=Ie.scrollLeft,se.wheelStartY=Ie.scrollTop,se.wheelDX=x,se.wheelDY=ie,setTimeout(function(){if(se.wheelStartX!=null){var Lr=Ie.scrollLeft-se.wheelStartX,ti=Ie.scrollTop-se.wheelStartY,hi=ti&&se.wheelDY&&ti/se.wheelDY||Lr&&se.wheelDX&&Lr/se.wheelDX;se.wheelStartX=se.wheelStartY=null,hi&&(gn=(gn*pn+hi)/(pn+1),++pn)}},200)):(se.wheelDX+=x,se.wheelDY+=ie))}}var xn=function(a,y){this.ranges=a,this.primIndex=y};xn.prototype.primary=function(){return this.ranges[this.primIndex]},xn.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var z=this.ranges[y],x=a.ranges[y];if(!nt(z.anchor,x.anchor)||!nt(z.head,x.head))return!1}return!0},xn.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new yn(Xt(this.ranges[y].anchor),Xt(this.ranges[y].head));return new xn(a,this.primIndex)},xn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},xn.prototype.contains=function(a,y){y||(y=a);for(var z=0;z<this.ranges.length;z++){var x=this.ranges[z];if(Ht(y,x.from())>=0&&Ht(a,x.to())<=0)return z}return-1};var yn=function(a,y){this.anchor=a,this.head=y};yn.prototype.from=function(){return dn(this.anchor,this.head)},yn.prototype.to=function(){return tn(this.anchor,this.head)},yn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ur(a,y,z){var x=a&&a.options.selectionsMayTouch,ie=y[z];y.sort(function(Nn,On){return Ht(Nn.from(),On.from())}),z=ot(y,ie);for(var se=1;se<y.length;se++){var Ie=y[se],Ve=y[se-1],$e=Ht(Ve.to(),Ie.from());if(x&&!Ie.empty()?$e>0:$e>=0){var ut=dn(Ve.from(),Ie.from()),rn=tn(Ve.to(),Ie.to()),mn=Ve.empty()?Ie.from()==Ie.head:Ve.from()==Ve.head;se<=z&&--z,y.splice(--se,2,new yn(mn?rn:ut,mn?ut:rn))}}return new xn(y,z)}function Hn(a,y){return new xn([new yn(a,y||a)],0)}function vr(a){return a.text?bt(a.from.line+a.text.length-1,ft(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function fr(a,y){if(Ht(a,y.from)<0)return a;if(Ht(a,y.to)<=0)return vr(y);var z=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=vr(y).ch-y.to.ch),bt(z,x)}function Er(a,y){for(var z=[],x=0;x<a.sel.ranges.length;x++){var ie=a.sel.ranges[x];z.push(new yn(fr(ie.anchor,y),fr(ie.head,y)))}return ur(a.cm,z,a.sel.primIndex)}function yr(a,y,z){return a.line==y.line?bt(z.line,a.ch-y.ch+z.ch):bt(z.line+(a.line-y.line),a.ch)}function Sr(a,y,z){for(var x=[],ie=bt(a.first,0),se=ie,Ie=0;Ie<y.length;Ie++){var Ve=y[Ie],$e=yr(Ve.from,ie,se),ut=yr(vr(Ve),ie,se);if(ie=Ve.to,se=ut,z=="around"){var rn=a.sel.ranges[Ie],mn=Ht(rn.head,rn.anchor)<0;x[Ie]=new yn(mn?ut:$e,mn?$e:ut)}else x[Ie]=new yn($e,$e)}return new xn(x,a.sel.primIndex)}function Mr(a){a.doc.mode=Xn(a.options,a.doc.modeOption),Hr(a)}function Hr(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,Vi(a,100),a.state.modeGen++,a.curOp&&Xa(a)}function Ur(a,y){return y.from.ch==0&&y.to.ch==0&&ft(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Ci(a,y,z,x){function ie(Oi){return z?z[Oi]:null}function se(Oi,mi,Wi){Eo(Oi,mi,Wi,x),Bo(Oi,"change",Oi,y)}function Ie(Oi,mi){for(var Wi=[],mo=Oi;mo<mi;++mo)Wi.push(new Fo(ut[mo],ie(mo),x));return Wi}var Ve=y.from,$e=y.to,ut=y.text,rn=Sn(a,Ve.line),mn=Sn(a,$e.line),Nn=ft(ut),On=ie(ut.length-1),pr=$e.line-Ve.line;if(y.full)a.insert(0,Ie(0,ut.length)),a.remove(ut.length,a.size-ut.length);else if(Ur(a,y)){var Lr=Ie(0,ut.length-1);se(mn,mn.text,On),pr&&a.remove(Ve.line,pr),Lr.length&&a.insert(Ve.line,Lr)}else if(rn==mn)if(ut.length==1)se(rn,rn.text.slice(0,Ve.ch)+Nn+rn.text.slice($e.ch),On);else{var ti=Ie(1,ut.length-1);ti.push(new Fo(Nn+rn.text.slice($e.ch),On,x)),se(rn,rn.text.slice(0,Ve.ch)+ut[0],ie(0)),a.insert(Ve.line+1,ti)}else if(ut.length==1)se(rn,rn.text.slice(0,Ve.ch)+ut[0]+mn.text.slice($e.ch),ie(0)),a.remove(Ve.line+1,pr);else{se(rn,rn.text.slice(0,Ve.ch)+ut[0],ie(0)),se(mn,Nn+mn.text.slice($e.ch),On);var hi=Ie(1,ut.length-1);pr>1&&a.remove(Ve.line+1,pr-1),a.insert(Ve.line+1,hi)}Bo(a,"change",a,y)}function wr(a,y,z){function x(ie,se,Ie){if(ie.linked)for(var Ve=0;Ve<ie.linked.length;++Ve){var $e=ie.linked[Ve];if($e.doc!=se){var ut=Ie&&$e.sharedHist;z&&!ut||(y($e.doc,ut),x($e.doc,ie,ut))}}}x(a,null,!0)}function br(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,rs(a),Mr(a),Or(a),a.options.lineWrapping||ao(a),a.options.mode=y.modeOption,Xa(a)}function Or(a){(a.doc.direction=="rtl"?ye:_e)(a.display.lineDiv,"CodeMirror-rtl")}function Qn(a){ii(a,function(){Or(a),Xa(a)})}function $n(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Br(a,y){var z={from:Xt(y.from),to:vr(y),text:Ln(a,y.from,y.to)};return qo(a,z,y.from.line,y.to.line+1),wr(a,function(x){return qo(x,z,y.from.line,y.to.line+1)},!0),z}function jr(a){for(;a.length;){var y=ft(a);if(y.ranges)a.pop();else break}}function ei(a,y){if(y)return jr(a.done),ft(a.done);if(a.done.length&&!ft(a.done).ranges)return ft(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ft(a.done)}function Si(a,y,z,x){var ie=a.history;ie.undone.length=0;var se=+new Date,Ie,Ve;if((ie.lastOp==x||ie.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ie.lastModTime>se-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(Ie=ei(ie,ie.lastOp==x)))Ve=ft(Ie.changes),Ht(y.from,y.to)==0&&Ht(y.from,Ve.to)==0?Ve.to=vr(y):Ie.changes.push(Br(a,y));else{var $e=ft(ie.done);for((!$e||!$e.ranges)&&eo(a.sel,ie.done),Ie={changes:[Br(a,y)],generation:ie.generation},ie.done.push(Ie);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(z),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=se,ie.lastOp=ie.lastSelOp=x,ie.lastOrigin=ie.lastSelOrigin=y.origin,Ve||Nt(a,"historyAdded")}function Kr(a,y,z,x){var ie=y.charAt(0);return ie=="*"||ie=="+"&&z.ranges.length==x.ranges.length&&z.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function so(a,y,z,x){var ie=a.history,se=x&&x.origin;z==ie.lastSelOp||se&&ie.lastSelOrigin==se&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==se||Kr(a,se,ft(ie.done),y))?ie.done[ie.done.length-1]=y:eo(y,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=se,ie.lastSelOp=z,x&&x.clearRedo!==!1&&jr(ie.undone)}function eo(a,y){var z=ft(y);z&&z.ranges&&z.equals(a)||y.push(a)}function qo(a,y,z,x){var ie=y["spans_"+a.id],se=0;a.iter(Math.max(a.first,z),Math.min(a.first+a.size,x),function(Ie){Ie.markedSpans&&((ie||(ie=y["spans_"+a.id]={}))[se]=Ie.markedSpans),++se})}function No(a){if(!a)return null;for(var y,z=0;z<a.length;++z)a[z].marker.explicitlyCleared?y||(y=a.slice(0,z)):y&&y.push(a[z]);return y?y.length?y:null:a}function Xo(a,y){var z=y["spans_"+a.id];if(!z)return null;for(var x=[],ie=0;ie<y.text.length;++ie)x.push(No(z[ie]));return x}function ra(a,y){var z=Xo(a,y),x=$i(a,y);if(!z)return x;if(!x)return z;for(var ie=0;ie<z.length;++ie){var se=z[ie],Ie=x[ie];if(se&&Ie)e:for(var Ve=0;Ve<Ie.length;++Ve){for(var $e=Ie[Ve],ut=0;ut<se.length;++ut)if(se[ut].marker==$e.marker)continue e;se.push($e)}else Ie&&(z[ie]=Ie)}return z}function oa(a,y,z){for(var x=[],ie=0;ie<a.length;++ie){var se=a[ie];if(se.ranges){x.push(z?xn.prototype.deepCopy.call(se):se);continue}var Ie=se.changes,Ve=[];x.push({changes:Ve});for(var $e=0;$e<Ie.length;++$e){var ut=Ie[$e],rn=void 0;if(Ve.push({from:ut.from,to:ut.to,text:ut.text}),y)for(var mn in ut)(rn=mn.match(/^spans_(\d+)$/))&&ot(y,Number(rn[1]))>-1&&(ft(Ve)[mn]=ut[mn],delete ut[mn])}}return x}function go(a,y,z,x){if(x){var ie=a.anchor;if(z){var se=Ht(y,ie)<0;se!=Ht(z,ie)<0?(ie=y,y=z):se!=Ht(y,z)<0&&(y=z)}return new yn(ie,y)}else return new yn(z||y,y)}function po(a,y,z,x,ie){ie==null&&(ie=a.cm&&(a.cm.display.shift||a.extend)),ci(a,new xn([go(a.sel.primary(),y,z,ie)],0),x)}function ma(a,y,z){for(var x=[],ie=a.cm&&(a.cm.display.shift||a.extend),se=0;se<a.sel.ranges.length;se++)x[se]=go(a.sel.ranges[se],y[se],null,ie);var Ie=ur(a.cm,x,a.sel.primIndex);ci(a,Ie,z)}function pa(a,y,z,x){var ie=a.sel.ranges.slice(0);ie[y]=z,ci(a,ur(a.cm,ie,a.sel.primIndex),x)}function Ii(a,y,z,x){ci(a,Hn(y,z),x)}function no(a,y,z){var x={ranges:y.ranges,update:function(ie){this.ranges=[];for(var se=0;se<ie.length;se++)this.ranges[se]=new yn(jt(a,ie[se].anchor),jt(a,ie[se].head))},origin:z&&z.origin};return Nt(a,"beforeSelectionChange",a,x),a.cm&&Nt(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?ur(a.cm,x.ranges,x.ranges.length-1):y}function Di(a,y,z){var x=a.history.done,ie=ft(x);ie&&ie.ranges?(x[x.length-1]=y,Do(a,y,z)):ci(a,y,z)}function ci(a,y,z){Do(a,y,z),so(a,a.sel,a.cm?a.cm.curOp.id:NaN,z)}function Do(a,y,z){(Jt(a,"beforeSelectionChange")||a.cm&&Jt(a.cm,"beforeSelectionChange"))&&(y=no(a,y,z));var x=z&&z.bias||(Ht(y.primary().head,a.sel.primary().head)<0?-1:1);Zo(a,Ho(a,y,x,!0)),!(z&&z.scroll===!1)&&a.cm&&Cn(a.cm)}function Zo(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Kt(a.cm)),Bo(a,"cursorActivity",a))}function aa(a){Zo(a,Ho(a,a.sel,null,!1))}function Ho(a,y,z,x){for(var ie,se=0;se<y.ranges.length;se++){var Ie=y.ranges[se],Ve=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[se],$e=ca(a,Ie.anchor,Ve&&Ve.anchor,z,x),ut=ca(a,Ie.head,Ve&&Ve.head,z,x);(ie||$e!=Ie.anchor||ut!=Ie.head)&&(ie||(ie=y.ranges.slice(0,se)),ie[se]=new yn($e,ut))}return ie?ur(a.cm,ie,y.primIndex):y}function va(a,y,z,x,ie){var se=Sn(a,y.line);if(se.markedSpans)for(var Ie=0;Ie<se.markedSpans.length;++Ie){var Ve=se.markedSpans[Ie],$e=Ve.marker,ut="selectLeft"in $e?!$e.selectLeft:$e.inclusiveLeft,rn="selectRight"in $e?!$e.selectRight:$e.inclusiveRight;if((Ve.from==null||(ut?Ve.from<=y.ch:Ve.from<y.ch))&&(Ve.to==null||(rn?Ve.to>=y.ch:Ve.to>y.ch))){if(ie&&(Nt($e,"beforeCursorEnter"),$e.explicitlyCleared))if(se.markedSpans){--Ie;continue}else break;if(!$e.atomic)continue;if(z){var mn=$e.find(x<0?1:-1),Nn=void 0;if((x<0?rn:ut)&&(mn=Ti(a,mn,-x,mn&&mn.line==y.line?se:null)),mn&&mn.line==y.line&&(Nn=Ht(mn,z))&&(x<0?Nn<0:Nn>0))return va(a,mn,y,x,ie)}var On=$e.find(x<0?-1:1);return(x<0?ut:rn)&&(On=Ti(a,On,x,On.line==y.line?se:null)),On?va(a,On,y,x,ie):null}}return y}function ca(a,y,z,x,ie){var se=x||1,Ie=va(a,y,z,se,ie)||!ie&&va(a,y,z,se,!0)||va(a,y,z,-se,ie)||!ie&&va(a,y,z,-se,!0);return Ie||(a.cantEdit=!0,bt(a.first,0))}function Ti(a,y,z,x){return z<0&&y.ch==0?y.line>a.first?jt(a,bt(y.line-1)):null:z>0&&y.ch==(x||Sn(a,y.line)).text.length?y.line<a.first+a.size-1?bt(y.line+1,0):null:new bt(y.line,y.ch+z)}function Ui(a){a.setSelection(bt(a.firstLine(),0),bt(a.lastLine()),Oe)}function jo(a,y,z){var x={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return x.canceled=!0}};return z&&(x.update=function(ie,se,Ie,Ve){ie&&(x.from=jt(a,ie)),se&&(x.to=jt(a,se)),Ie&&(x.text=Ie),Ve!==void 0&&(x.origin=Ve)}),Nt(a,"beforeChange",a,x),a.cm&&Nt(a.cm,"beforeChange",a.cm,x),x.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:x.from,to:x.to,text:x.text,origin:x.origin}}function $o(a,y,z){if(a.cm){if(!a.cm.curOp)return Xr(a.cm,$o)(a,y,z);if(a.cm.state.suppressEdits)return}if(!((Jt(a,"beforeChange")||a.cm&&Jt(a.cm,"beforeChange"))&&(y=jo(a,y,!0),!y))){var x=Jr&&!z&&Ro(a,y.from,y.to);if(x)for(var ie=x.length-1;ie>=0;--ie)_o(a,{from:x[ie].from,to:x[ie].to,text:ie?[""]:y.text,origin:y.origin});else _o(a,y)}}function _o(a,y){if(!(y.text.length==1&&y.text[0]==""&&Ht(y.from,y.to)==0)){var z=Er(a,y);Si(a,y,z,a.cm?a.cm.curOp.id:NaN),Na(a,y,z,$i(a,y));var x=[];wr(a,function(ie,se){!se&&ot(x,ie.history)==-1&&(Ca(ie.history,y),x.push(ie.history)),Na(ie,y,null,$i(ie,y))})}}function Sa(a,y,z){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!z)){for(var ie=a.history,se,Ie=a.sel,Ve=y=="undo"?ie.done:ie.undone,$e=y=="undo"?ie.undone:ie.done,ut=0;ut<Ve.length&&(se=Ve[ut],!(z?se.ranges&&!se.equals(a.sel):!se.ranges));ut++);if(ut!=Ve.length){for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(se=Ve.pop(),se.ranges){if(eo(se,$e),z&&!se.equals(a.sel)){ci(a,se,{clearRedo:!1});return}Ie=se}else if(x){Ve.push(se);return}else break;var rn=[];eo(Ie,$e),$e.push({changes:rn,generation:ie.generation}),ie.generation=se.generation||++ie.maxGeneration;for(var mn=Jt(a,"beforeChange")||a.cm&&Jt(a.cm,"beforeChange"),Nn=function(Lr){var ti=se.changes[Lr];if(ti.origin=y,mn&&!jo(a,ti,!1))return Ve.length=0,{};rn.push(Br(a,ti));var hi=Lr?Er(a,ti):ft(Ve);Na(a,ti,hi,ra(a,ti)),!Lr&&a.cm&&a.cm.scrollIntoView({from:ti.from,to:vr(ti)});var Oi=[];wr(a,function(mi,Wi){!Wi&&ot(Oi,mi.history)==-1&&(Ca(mi.history,ti),Oi.push(mi.history)),Na(mi,ti,null,ra(mi,ti))})},On=se.changes.length-1;On>=0;--On){var pr=Nn(On);if(pr)return pr.v}}}}function la(a,y){if(y!=0&&(a.first+=y,a.sel=new xn(Gt(a.sel.ranges,function(ie){return new yn(bt(ie.anchor.line+y,ie.anchor.ch),bt(ie.head.line+y,ie.head.ch))}),a.sel.primIndex),a.cm)){Xa(a.cm,a.first,a.first-y,y);for(var z=a.cm.display,x=z.viewFrom;x<z.viewTo;x++)Wl(a.cm,x,"gutter")}}function Na(a,y,z,x){if(a.cm&&!a.cm.curOp)return Xr(a.cm,Na)(a,y,z,x);if(y.to.line<a.first){la(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ie=y.text.length-1-(a.first-y.from.line);la(a,ie),y={from:bt(a.first,0),to:bt(y.to.line+ie,y.to.ch),text:[ft(y.text)],origin:y.origin}}var se=a.lastLine();y.to.line>se&&(y={from:y.from,to:bt(se,Sn(a,se).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Ln(a,y.from,y.to),z||(z=Er(a,y)),a.cm?ia(a.cm,y,x):Ci(a,y,x),Do(a,z,Oe),a.cantEdit&&ca(a,bt(a.firstLine(),0))&&(a.cantEdit=!1)}}function ia(a,y,z){var x=a.doc,ie=a.display,se=y.from,Ie=y.to,Ve=!1,$e=se.line;a.options.lineWrapping||($e=Ot(Jn(Sn(x,se.line))),x.iter($e,Ie.line+1,function(On){if(On==ie.maxLine)return Ve=!0,!0})),x.sel.contains(y.from,y.to)>-1&&Kt(a),Ci(x,y,z,ks(a)),a.options.lineWrapping||(x.iter($e,se.line+y.text.length,function(On){var pr=vo(On);pr>ie.maxLineLength&&(ie.maxLine=On,ie.maxLineLength=pr,ie.maxLineChanged=!0,Ve=!1)}),Ve&&(a.curOp.updateMaxLine=!0)),Dr(x,se.line),Vi(a,400);var ut=y.text.length-(Ie.line-se.line)-1;y.full?Xa(a):se.line==Ie.line&&y.text.length==1&&!Ur(a.doc,y)?Wl(a,se.line,"text"):Xa(a,se.line,Ie.line+1,ut);var rn=Jt(a,"changes"),mn=Jt(a,"change");if(mn||rn){var Nn={from:se,to:Ie,text:y.text,removed:y.removed,origin:y.origin};mn&&Bo(a,"change",a,Nn),rn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Nn)}a.display.selForContextMenu=null}function Po(a,y,z,x,ie){var se;x||(x=z),Ht(x,z)<0&&(se=[x,z],z=se[0],x=se[1]),typeof y=="string"&&(y=a.splitLines(y)),$o(a,{from:z,to:x,text:y,origin:ie})}function na(a,y,z,x){z<a.line?a.line+=x:y<a.line&&(a.line=y,a.ch=0)}function sa(a,y,z,x){for(var ie=0;ie<a.length;++ie){var se=a[ie],Ie=!0;if(se.ranges){se.copied||(se=a[ie]=se.deepCopy(),se.copied=!0);for(var Ve=0;Ve<se.ranges.length;Ve++)na(se.ranges[Ve].anchor,y,z,x),na(se.ranges[Ve].head,y,z,x);continue}for(var $e=0;$e<se.changes.length;++$e){var ut=se.changes[$e];if(z<ut.from.line)ut.from=bt(ut.from.line+x,ut.from.ch),ut.to=bt(ut.to.line+x,ut.to.ch);else if(y<=ut.to.line){Ie=!1;break}}Ie||(a.splice(0,ie+1),ie=0)}}function Ca(a,y){var z=y.from.line,x=y.to.line,ie=y.text.length-(x-z)-1;sa(a.done,z,x,ie),sa(a.undone,z,x,ie)}function ga(a,y,z,x){var ie=y,se=y;return typeof y=="number"?se=Sn(a,Vt(a,y)):ie=Ot(y),ie==null?null:(x(se,ie)&&a.cm&&Wl(a.cm,ie,z),se)}function Mo(a){this.lines=a,this.parent=null;for(var y=0,z=0;z<a.length;++z)a[z].parent=this,y+=a[z].height;this.height=y}Mo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var z=a,x=a+y;z<x;++z){var ie=this.lines[z];this.height-=ie.height,Co(ie),Bo(ie,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,z){this.height+=z,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var x=0;x<y.length;++x)y[x].parent=this},iterN:function(a,y,z){for(var x=a+y;a<x;++a)if(z(this.lines[a]))return!0}};function fa(a){this.children=a;for(var y=0,z=0,x=0;x<a.length;++x){var ie=a[x];y+=ie.chunkSize(),z+=ie.height,ie.parent=this}this.size=y,this.height=z,this.parent=null}fa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var z=0;z<this.children.length;++z){var x=this.children[z],ie=x.chunkSize();if(a<ie){var se=Math.min(y,ie-a),Ie=x.height;if(x.removeInner(a,se),this.height-=Ie-x.height,ie==se&&(this.children.splice(z--,1),x.parent=null),(y-=se)==0)break;a=0}else a-=ie}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Mo))){var Ve=[];this.collapse(Ve),this.children=[new Mo(Ve)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,z){this.size+=y.length,this.height+=z;for(var x=0;x<this.children.length;++x){var ie=this.children[x],se=ie.chunkSize();if(a<=se){if(ie.insertInner(a,y,z),ie.lines&&ie.lines.length>50){for(var Ie=ie.lines.length%25+25,Ve=Ie;Ve<ie.lines.length;){var $e=new Mo(ie.lines.slice(Ve,Ve+=25));ie.height-=$e.height,this.children.splice(++x,0,$e),$e.parent=this}ie.lines=ie.lines.slice(0,Ie),this.maybeSpill()}break}a-=se}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),z=new fa(y);if(a.parent){a.size-=z.size,a.height-=z.height;var ie=ot(a.parent.children,a);a.parent.children.splice(ie+1,0,z)}else{var x=new fa(a.children);x.parent=a,a.children=[x,z],a=x}z.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,z){for(var x=0;x<this.children.length;++x){var ie=this.children[x],se=ie.chunkSize();if(a<se){var Ie=Math.min(y,se-a);if(ie.iterN(a,Ie,z))return!0;if((y-=Ie)==0)break;a=0}else a-=se}}};var Uo=function(a,y,z){if(z)for(var x in z)z.hasOwnProperty(x)&&(this[x]=z[x]);this.doc=a,this.node=y};Uo.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,z=this.line,x=Ot(z);if(!(x==null||!y)){for(var ie=0;ie<y.length;++ie)y[ie]==this&&y.splice(ie--,1);y.length||(z.widgets=null);var se=Ga(this);ir(z,Math.max(0,z.height-se)),a&&(ii(a,function(){Ra(a,z,-se),Wl(a,x,"widget")}),Bo(a,"lineWidgetCleared",a,this,x))}},Uo.prototype.changed=function(){var a=this,y=this.height,z=this.doc.cm,x=this.line;this.height=null;var ie=Ga(this)-y;ie&&(Cr(this.doc,x)||ir(x,x.height+ie),z&&ii(z,function(){z.curOp.forceUpdate=!0,Ra(z,x,ie),Bo(z,"lineWidgetChanged",z,a,Ot(x))}))},gt(Uo);function Ra(a,y,z){ji(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&hn(a,z)}function wa(a,y,z,x){var ie=new Uo(a,z,x),se=a.cm;return se&&ie.noHScroll&&(se.display.alignWidgets=!0),ga(a,y,"widget",function(Ie){var Ve=Ie.widgets||(Ie.widgets=[]);if(ie.insertAt==null?Ve.push(ie):Ve.splice(Math.min(Ve.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=Ie,se&&!Cr(a,Ie)){var $e=ji(Ie)<a.scrollTop;ir(Ie,Ie.height+Ga(ie)),$e&&hn(se,ie.height),se.curOp.forceUpdate=!0}return!0}),se&&Bo(se,"lineWidgetAdded",se,ie,typeof y=="number"?y:Ot(y)),ie}var Va=0,$a=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Va};$a.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Fr(a),Jt(this,"clear")){var z=this.find();z&&Bo(this,"clear",z.from,z.to)}for(var x=null,ie=null,se=0;se<this.lines.length;++se){var Ie=this.lines[se],Ve=Zi(Ie.markedSpans,this);a&&!this.collapsed?Wl(a,Ot(Ie),"text"):a&&(Ve.to!=null&&(ie=Ot(Ie)),Ve.from!=null&&(x=Ot(Ie))),Ie.markedSpans=Ji(Ie.markedSpans,Ve),Ve.from==null&&this.collapsed&&!Cr(this.doc,Ie)&&a&&ir(Ie,fl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var $e=0;$e<this.lines.length;++$e){var ut=Jn(this.lines[$e]),rn=vo(ut);rn>a.display.maxLineLength&&(a.display.maxLine=ut,a.display.maxLineLength=rn,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&Xa(a,x,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&aa(a.doc)),a&&Bo(a,"markerCleared",a,this,x,ie),y&&Nr(a),this.parent&&this.parent.clear()}},$a.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var z,x,ie=0;ie<this.lines.length;++ie){var se=this.lines[ie],Ie=Zi(se.markedSpans,this);if(Ie.from!=null&&(z=bt(y?se:Ot(se),Ie.from),a==-1))return z;if(Ie.to!=null&&(x=bt(y?se:Ot(se),Ie.to),a==1))return x}return z&&{from:z,to:x}},$a.prototype.changed=function(){var a=this,y=this.find(-1,!0),z=this,x=this.doc.cm;!y||!x||ii(x,function(){var ie=y.line,se=Ot(y.line),Ie=il(x,se);if(Ie&&(ds(Ie),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!Cr(z.doc,ie)&&z.height!=null){var Ve=z.height;z.height=null;var $e=Ga(z)-Ve;$e&&ir(ie,ie.height+$e)}Bo(x,"markerChanged",x,a)})},$a.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||ot(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},$a.prototype.detachLine=function(a){if(this.lines.splice(ot(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},gt($a);function wl(a,y,z,x,ie){if(x&&x.shared)return Jl(a,y,z,x,ie);if(a.cm&&!a.cm.curOp)return Xr(a.cm,wl)(a,y,z,x,ie);var se=new $a(a,ie),Ie=Ht(y,z);if(x&&Dt(x,se,!1),Ie>0||Ie==0&&se.clearWhenEmpty!==!1)return se;if(se.replacedWith&&(se.collapsed=!0,se.widgetNode=lt("span",[se.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||se.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(se.widgetNode.insertLeft=!0)),se.collapsed){if(cr(a,y.line,y,z,se)||y.line!=z.line&&cr(a,z.line,y,z,se))throw new Error("Inserting collapsed marker partially overlapping an existing one");Hi()}se.addToHistory&&Si(a,{from:y,to:z,origin:"markText"},a.sel,NaN);var Ve=y.line,$e=a.cm,ut;if(a.iter(Ve,z.line+1,function(mn){$e&&se.collapsed&&!$e.options.lineWrapping&&Jn(mn)==$e.display.maxLine&&(ut=!0),se.collapsed&&Ve!=y.line&&ir(mn,0),Ei(mn,new zi(se,Ve==y.line?y.ch:null,Ve==z.line?z.ch:null)),++Ve}),se.collapsed&&a.iter(y.line,z.line+1,function(mn){Cr(a,mn)&&ir(mn,0)}),se.clearOnEnter&&$t(se,"beforeCursorEnter",function(){return se.clear()}),se.readOnly&&(Ri(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),se.collapsed&&(se.id=++Va,se.atomic=!0),$e){if(ut&&($e.curOp.updateMaxLine=!0),se.collapsed)Xa($e,y.line,z.line+1);else if(se.className||se.startStyle||se.endStyle||se.css||se.attributes||se.title)for(var rn=y.line;rn<=z.line;rn++)Wl($e,rn,"text");se.atomic&&aa($e.doc),Bo($e,"markerAdded",$e,se)}return se}var ua=function(a,y){this.markers=a,this.primary=y;for(var z=0;z<a.length;++z)a[z].parent=this};ua.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Bo(this,"clear")}},ua.prototype.find=function(a,y){return this.primary.find(a,y)},gt(ua);function Jl(a,y,z,x,ie){x=Dt(x),x.shared=!1;var se=[wl(a,y,z,x,ie)],Ie=se[0],Ve=x.widgetNode;return wr(a,function($e){Ve&&(x.widgetNode=Ve.cloneNode(!0)),se.push(wl($e,jt($e,y),jt($e,z),x,ie));for(var ut=0;ut<$e.linked.length;++ut)if($e.linked[ut].isParent)return;Ie=ft(se)}),new ua(se,Ie)}function Ka(a){return a.findMarks(bt(a.first,0),a.clipPos(bt(a.lastLine())),function(y){return y.parent})}function hl(a,y){for(var z=0;z<y.length;z++){var x=y[z],ie=x.find(),se=a.clipPos(ie.from),Ie=a.clipPos(ie.to);if(Ht(se,Ie)){var Ve=wl(a,se,Ie,x.primary,x.primary.type);x.markers.push(Ve),Ve.parent=x}}}function al(a){for(var y=function(x){var ie=a[x],se=[ie.primary.doc];wr(ie.primary.doc,function($e){return se.push($e)});for(var Ie=0;Ie<ie.markers.length;Ie++){var Ve=ie.markers[Ie];ot(se,Ve.doc)==-1&&(Ve.parent=null,ie.markers.splice(Ie--,1))}},z=0;z<a.length;z++)y(z)}var ro=0,Pi=function(a,y,z,x,ie){if(!(this instanceof Pi))return new Pi(a,y,z,x,ie);z==null&&(z=0),fa.call(this,[new Mo([new Fo("",null)])]),this.first=z,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=z;var se=bt(z,0);this.sel=Hn(se),this.history=new $n(null),this.id=++ro,this.modeOption=y,this.lineSep=x,this.direction=ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Ci(this,{from:se,to:se,text:a}),ci(this,Hn(se),Oe)};Pi.prototype=ae(fa.prototype,{constructor:Pi,iter:function(a,y,z){z?this.iterN(a-this.first,y-a,z):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var z=0,x=0;x<y.length;++x)z+=y[x].height;this.insertInner(a-this.first,y,z)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=rr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:li(function(a){var y=bt(this.first,0),z=this.first+this.size-1;$o(this,{from:y,to:bt(z,Sn(this,z).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&En(this.cm,0,0),ci(this,Hn(y),Oe)}),replaceRange:function(a,y,z,x){y=jt(this,y),z=z?jt(this,z):y,Po(this,a,y,z,x)},getRange:function(a,y,z){var x=Ln(this,jt(this,a),jt(this,y));return z===!1?x:x.join(z||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(vt(this,a))return Sn(this,a)},getLineNumber:function(a){return Ot(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Sn(this,a)),Jn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return jt(this,a)},getCursor:function(a){var y=this.sel.primary(),z;return a==null||a=="head"?z=y.head:a=="anchor"?z=y.anchor:a=="end"||a=="to"||a===!1?z=y.to():z=y.from(),z},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:li(function(a,y,z){Ii(this,jt(this,typeof a=="number"?bt(a,y||0):a),null,z)}),setSelection:li(function(a,y,z){Ii(this,jt(this,a),jt(this,y||a),z)}),extendSelection:li(function(a,y,z){po(this,jt(this,a),y&&jt(this,y),z)}),extendSelections:li(function(a,y){ma(this,ln(this,a),y)}),extendSelectionsBy:li(function(a,y){var z=Gt(this.sel.ranges,a);ma(this,ln(this,z),y)}),setSelections:li(function(a,y,z){if(a.length){for(var x=[],ie=0;ie<a.length;ie++)x[ie]=new yn(jt(this,a[ie].anchor),jt(this,a[ie].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),ci(this,ur(this.cm,x,y),z)}}),addSelection:li(function(a,y,z){var x=this.sel.ranges.slice(0);x.push(new yn(jt(this,a),jt(this,y||a))),ci(this,ur(this.cm,x,x.length-1),z)}),getSelection:function(a){for(var y=this.sel.ranges,z,x=0;x<y.length;x++){var ie=Ln(this,y[x].from(),y[x].to());z=z?z.concat(ie):ie}return a===!1?z:z.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],z=this.sel.ranges,x=0;x<z.length;x++){var ie=Ln(this,z[x].from(),z[x].to());a!==!1&&(ie=ie.join(a||this.lineSeparator())),y[x]=ie}return y},replaceSelection:function(a,y,z){for(var x=[],ie=0;ie<this.sel.ranges.length;ie++)x[ie]=a;this.replaceSelections(x,y,z||"+input")},replaceSelections:li(function(a,y,z){for(var x=[],ie=this.sel,se=0;se<ie.ranges.length;se++){var Ie=ie.ranges[se];x[se]={from:Ie.from(),to:Ie.to(),text:this.splitLines(a[se]),origin:z}}for(var Ve=y&&y!="end"&&Sr(this,x,y),$e=x.length-1;$e>=0;$e--)$o(this,x[$e]);Ve?Di(this,Ve):this.cm&&Cn(this.cm)}),undo:li(function(){Sa(this,"undo")}),redo:li(function(){Sa(this,"redo")}),undoSelection:li(function(){Sa(this,"undo",!0)}),redoSelection:li(function(){Sa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,z=0,x=0;x<a.done.length;x++)a.done[x].ranges||++y;for(var ie=0;ie<a.undone.length;ie++)a.undone[ie].ranges||++z;return{undo:y,redo:z}},clearHistory:function(){var a=this;this.history=new $n(this.history.maxGeneration),wr(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:oa(this.history.done),undone:oa(this.history.undone)}},setHistory:function(a){var y=this.history=new $n(this.history.maxGeneration);y.done=oa(a.done.slice(0),null,!0),y.undone=oa(a.undone.slice(0),null,!0)},setGutterMarker:li(function(a,y,z){return ga(this,a,"gutter",function(x){var ie=x.gutterMarkers||(x.gutterMarkers={});return ie[y]=z,!z&&ne(ie)&&(x.gutterMarkers=null),!0})}),clearGutter:li(function(a){var y=this;this.iter(function(z){z.gutterMarkers&&z.gutterMarkers[a]&&ga(y,z,"gutter",function(){return z.gutterMarkers[a]=null,ne(z.gutterMarkers)&&(z.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!vt(this,a)||(y=a,a=Sn(this,a),!a))return null}else if(y=Ot(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:li(function(a,y,z){return ga(this,a,y=="gutter"?"gutter":"class",function(x){var ie=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!x[ie])x[ie]=z;else{if(qe(z).test(x[ie]))return!1;x[ie]+=" "+z}return!0})}),removeLineClass:li(function(a,y,z){return ga(this,a,y=="gutter"?"gutter":"class",function(x){var ie=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",se=x[ie];if(se)if(z==null)x[ie]=null;else{var Ie=se.match(qe(z));if(!Ie)return!1;var Ve=Ie.index+Ie[0].length;x[ie]=se.slice(0,Ie.index)+(!Ie.index||Ve==se.length?"":" ")+se.slice(Ve)||null}else return!1;return!0})}),addLineWidget:li(function(a,y,z){return wa(this,a,y,z)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,z){return wl(this,jt(this,a),jt(this,y),z,z&&z.type||"range")},setBookmark:function(a,y){var z={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=jt(this,a),wl(this,a,a,z,"bookmark")},findMarksAt:function(a){a=jt(this,a);var y=[],z=Sn(this,a.line).markedSpans;if(z)for(var x=0;x<z.length;++x){var ie=z[x];(ie.from==null||ie.from<=a.ch)&&(ie.to==null||ie.to>=a.ch)&&y.push(ie.marker.parent||ie.marker)}return y},findMarks:function(a,y,z){a=jt(this,a),y=jt(this,y);var x=[],ie=a.line;return this.iter(a.line,y.line+1,function(se){var Ie=se.markedSpans;if(Ie)for(var Ve=0;Ve<Ie.length;Ve++){var $e=Ie[Ve];!($e.to!=null&&ie==a.line&&a.ch>=$e.to||$e.from==null&&ie!=a.line||$e.from!=null&&ie==y.line&&$e.from>=y.ch)&&(!z||z($e.marker))&&x.push($e.marker.parent||$e.marker)}++ie}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var z=y.markedSpans;if(z)for(var x=0;x<z.length;++x)z[x].from!=null&&a.push(z[x].marker)}),a},posFromIndex:function(a){var y,z=this.first,x=this.lineSeparator().length;return this.iter(function(ie){var se=ie.text.length+x;if(se>a)return y=a,!0;a-=se,++z}),jt(this,bt(z,y))},indexFromPos:function(a){a=jt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var z=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){y+=x.text.length+z}),y},copy:function(a){var y=new Pi(rr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,z=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<z&&(z=a.to);var x=new Pi(rr(this,y,z),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(x.history=this.history),(this.linked||(this.linked=[])).push({doc:x,sharedHist:a.sharedHist}),x.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],hl(x,Ka(this)),x},unlinkDoc:function(a){if(a instanceof Ma&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var z=this.linked[y];if(z.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),al(Ka(this));break}}if(a.history==this.history){var x=[a.id];wr(a,function(ie){return x.push(ie.id)},!0),a.history=new $n(null),a.history.done=oa(this.history.done,x),a.history.undone=oa(this.history.undone,x)}},iterLinkedDocs:function(a){wr(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Bn(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:li(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Qn(this.cm))})}),Pi.prototype.eachLine=Pi.prototype.iter;var ya=0;function _a(a){var y=this;if(ws(y),!(Mt(y,a)||Wa(y.display,a))){kt(a),Pe&&(ya=+new Date);var z=Zl(y,a,!0),x=a.dataTransfer.files;if(!(!z||y.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var ie=x.length,se=Array(ie),Ie=0,Ve=function(){++Ie==ie&&Xr(y,function(){z=jt(y.doc,z);var On={from:z,to:z,text:y.doc.splitLines(se.filter(function(pr){return pr!=null}).join(y.doc.lineSeparator())),origin:"paste"};$o(y.doc,On),Di(y.doc,Hn(jt(y.doc,z),jt(y.doc,vr(On))))})()},$e=function(On,pr){if(y.options.allowDropFileTypes&&ot(y.options.allowDropFileTypes,On.type)==-1){Ve();return}var Lr=new FileReader;Lr.onerror=function(){return Ve()},Lr.onload=function(){var ti=Lr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ti)){Ve();return}se[pr]=ti,Ve()},Lr.readAsText(On)},ut=0;ut<x.length;ut++)$e(x[ut],ut);else{if(y.state.draggingText&&y.doc.sel.contains(z)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var rn=a.dataTransfer.getData("Text");if(rn){var mn;if(y.state.draggingText&&!y.state.draggingText.copy&&(mn=y.listSelections()),Do(y.doc,Hn(z,z)),mn)for(var Nn=0;Nn<mn.length;++Nn)Po(y.doc,"",mn[Nn].anchor,mn[Nn].head,"drag");y.replaceSelection(rn,"around","paste"),y.display.input.focus()}}catch(On){}}}}function yl(a,y){if(Pe&&(!a.state.draggingText||+new Date-ya<100)){ct(y);return}if(!(Mt(a,y)||Wa(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Le)){var z=Ye("img",null,null,"position: fixed; left: 0; top: 0;");z.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",de&&(z.width=z.height=1,a.display.wrapper.appendChild(z),z._top=z.offsetTop),y.dataTransfer.setDragImage(z,0,0),de&&z.parentNode.removeChild(z)}}function Nl(a,y){var z=Zl(a,y);if(z){var x=document.createDocumentFragment();Ks(a,z,x),a.display.dragCursor||(a.display.dragCursor=Ye("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Re(a.display.dragCursor,x)}}function ws(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Es(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),z=[],x=0;x<y.length;x++){var ie=y[x].CodeMirror;ie&&z.push(ie)}z.length&&z[0].operation(function(){for(var se=0;se<z.length;se++)a(z[se])})}}var Ls=!1;function Yo(){Ls||(wo(),Ls=!0)}function wo(){var a;$t(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Es(ui)},100))}),$t(window,"blur",function(){return Es(is)})}function ui(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var Yi={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Io=0;Io<10;Io++)Yi[Io+48]=Yi[Io+96]=String(Io);for(var Ba=65;Ba<=90;Ba++)Yi[Ba]=String.fromCharCode(Ba);for(var Qa=1;Qa<=12;Qa++)Yi[Qa+111]=Yi[Qa+63235]="F"+Qa;var Ua={};Ua.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ua.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ua.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ua.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ua.default=De?Ua.macDefault:Ua.pcDefault;function Hl(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var z,x,ie,se,Ie=0;Ie<y.length-1;Ie++){var Ve=y[Ie];if(/^(cmd|meta|m)$/i.test(Ve))se=!0;else if(/^a(lt)?$/i.test(Ve))z=!0;else if(/^(c|ctrl|control)$/i.test(Ve))x=!0;else if(/^s(hift)?$/i.test(Ve))ie=!0;else throw new Error("Unrecognized modifier name: "+Ve)}return z&&(a="Alt-"+a),x&&(a="Ctrl-"+a),se&&(a="Cmd-"+a),ie&&(a="Shift-"+a),a}function ll(a){var y={};for(var z in a)if(a.hasOwnProperty(z)){var x=a[z];if(/^(name|fallthrough|(de|at)tach)$/.test(z))continue;if(x=="..."){delete a[z];continue}for(var ie=Gt(z.split(" "),Hl),se=0;se<ie.length;se++){var Ie=void 0,Ve=void 0;se==ie.length-1?(Ve=ie.join(" "),Ie=x):(Ve=ie.slice(0,se+1).join(" "),Ie="...");var $e=y[Ve];if(!$e)y[Ve]=Ie;else if($e!=Ie)throw new Error("Inconsistent bindings for "+Ve)}delete a[z]}for(var ut in y)a[ut]=y[ut];return a}function As(a,y,z,x){y=Us(y);var ie=y.call?y.call(a,x):y[a];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&z(ie))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return As(a,y.fallthrough,z,x);for(var se=0;se<y.fallthrough.length;se++){var Ie=As(a,y.fallthrough[se],z,x);if(Ie)return Ie}}}function qs(a){var y=typeof a=="string"?a:Yi[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Ns(a,y,z){var x=a;return y.altKey&&x!="Alt"&&(a="Alt-"+a),(ce?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(ce?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!z&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function ms(a,y){if(de&&a.keyCode==34&&a.char)return!1;var z=Yi[a.keyCode];return z==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(z=a.code),Ns(z,a,y))}function Us(a){return typeof a=="string"?Ua[a]:a}function ps(a,y){for(var z=a.doc.sel.ranges,x=[],ie=0;ie<z.length;ie++){for(var se=y(z[ie]);x.length&&Ht(se.from,ft(x).to)<=0;){var Ie=x.pop();if(Ht(Ie.from,se.from)<0){se.from=Ie.from;break}}x.push(se)}ii(a,function(){for(var Ve=x.length-1;Ve>=0;Ve--)Po(a.doc,"",x[Ve].from,x[Ve].to,"+delete");Cn(a)})}function eu(a,y,z){var x=Ee(a.text,y+z,z);return x<0||x>a.text.length?null:x}function Ys(a,y,z){var x=eu(a,y.ch,z);return x==null?null:new bt(y.line,x,z<0?"after":"before")}function tu(a,y,z,x,ie){if(a){y.doc.direction=="rtl"&&(ie=-ie);var se=He(z,y.doc.direction);if(se){var Ie=ie<0?ft(se):se[0],Ve=ie<0==(Ie.level==1),$e=Ve?"after":"before",ut;if(Ie.level>0||y.doc.direction=="rtl"){var rn=zl(y,z);ut=ie<0?z.text.length-1:0;var mn=vl(y,rn,ut).top;ut=ze(function(Nn){return vl(y,rn,Nn).top==mn},ie<0==(Ie.level==1)?Ie.from:Ie.to-1,ut),$e=="before"&&(ut=eu(z,ut,1))}else ut=ie<0?Ie.to:Ie.from;return new bt(x,ut,$e)}}return new bt(x,ie<0?z.text.length:0,ie<0?"before":"after")}function pu(a,y,z,x){var ie=He(y,a.doc.direction);if(!ie)return Ys(y,z,x);z.ch>=y.text.length?(z.ch=y.text.length,z.sticky="before"):z.ch<=0&&(z.ch=0,z.sticky="after");var se=it(ie,z.ch,z.sticky),Ie=ie[se];if(a.doc.direction=="ltr"&&Ie.level%2==0&&(x>0?Ie.to>z.ch:Ie.from<z.ch))return Ys(y,z,x);var Ve=function(hi,Oi){return eu(y,hi instanceof bt?hi.ch:hi,Oi)},$e,ut=function(hi){return a.options.lineWrapping?($e=$e||zl(a,y),Oa(a,y,$e,hi)):{begin:0,end:y.text.length}},rn=ut(z.sticky=="before"?Ve(z,-1):z.ch);if(a.doc.direction=="rtl"||Ie.level==1){var mn=Ie.level==1==x<0,Nn=Ve(z,mn?1:-1);if(Nn!=null&&(mn?Nn<=Ie.to&&Nn<=rn.end:Nn>=Ie.from&&Nn>=rn.begin)){var On=mn?"before":"after";return new bt(z.line,Nn,On)}}var pr=function(hi,Oi,mi){for(var Wi=function(Ea,cl){return cl?new bt(z.line,Ve(Ea,1),"before"):new bt(z.line,Ea,"after")};hi>=0&&hi<ie.length;hi+=Oi){var mo=ie[hi],io=Oi>0==(mo.level!=1),Vo=io?mi.begin:Ve(mi.end,-1);if(mo.from<=Vo&&Vo<mo.to||(Vo=io?mo.from:Ve(mo.to,-1),mi.begin<=Vo&&Vo<mi.end))return Wi(Vo,io)}},Lr=pr(se+x,x,rn);if(Lr)return Lr;var ti=x>0?rn.end:Ve(rn.begin,-1);return ti!=null&&!(x>0&&ti==y.text.length)&&(Lr=pr(x>0?0:ie.length-1,x,ut(ti)),Lr)?Lr:null}var as={selectAll:Ui,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Oe)},killLine:function(a){return ps(a,function(y){if(y.empty()){var z=Sn(a.doc,y.head.line).text.length;return y.head.ch==z&&y.head.line<a.lastLine()?{from:y.head,to:bt(y.head.line+1,0)}:{from:y.head,to:bt(y.head.line,z)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return ps(a,function(y){return{from:bt(y.from().line,0),to:jt(a.doc,bt(y.to().line+1,0))}})},delLineLeft:function(a){return ps(a,function(y){return{from:bt(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return ps(a,function(y){var z=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:z},"div");return{from:x,to:y.from()}})},delWrappedLineRight:function(a){return ps(a,function(y){var z=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:z},"div");return{from:y.from(),to:x}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(bt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(bt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return nu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return ru(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Su(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var z=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:z},"div")},dt)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var z=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:z},"div")},dt)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var z=a.cursorCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:z},"div");return x.ch<a.getLine(x.line).search(/\S/)?ru(a,y.head):x},dt)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],z=a.listSelections(),x=a.options.tabSize,ie=0;ie<z.length;ie++){var se=z[ie].from(),Ie=Ge(a.getLine(se.line),se.ch,x);y.push(Ft(x-Ie%x))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return ii(a,function(){for(var y=a.listSelections(),z=[],x=0;x<y.length;x++)if(y[x].empty()){var ie=y[x].head,se=Sn(a.doc,ie.line).text;if(se){if(ie.ch==se.length&&(ie=new bt(ie.line,ie.ch-1)),ie.ch>0)ie=new bt(ie.line,ie.ch+1),a.replaceRange(se.charAt(ie.ch-1)+se.charAt(ie.ch-2),bt(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>a.doc.first){var Ie=Sn(a.doc,ie.line-1).text;Ie&&(ie=new bt(ie.line,1),a.replaceRange(se.charAt(0)+a.doc.lineSeparator()+Ie.charAt(Ie.length-1),bt(ie.line-1,Ie.length-1),ie,"+transpose"))}}z.push(new yn(ie,ie))}a.setSelections(z)})},newlineAndIndent:function(a){return ii(a,function(){for(var y=a.listSelections(),z=y.length-1;z>=0;z--)a.replaceRange(a.doc.lineSeparator(),y[z].anchor,y[z].head,"+input");y=a.listSelections();for(var x=0;x<y.length;x++)a.indentLine(y[x].from().line,null,!0);Cn(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function nu(a,y){var z=Sn(a.doc,y),x=Jn(z);return x!=z&&(y=Ot(x)),tu(!0,a,x,y,1)}function Su(a,y){var z=Sn(a.doc,y),x=Wr(z);return x!=z&&(y=Ot(x)),tu(!0,a,z,y,-1)}function ru(a,y){var z=nu(a,y.line),x=Sn(a.doc,z.line),ie=He(x,a.doc.direction);if(!ie||ie[0].level==0){var se=Math.max(z.ch,x.text.search(/\S/)),Ie=y.line==z.line&&y.ch<=se&&y.ch;return bt(z.line,Ie?0:se,z.sticky)}return z}function Rs(a,y,z){if(typeof y=="string"&&(y=as[y],!y))return!1;a.display.input.ensurePolled();var x=a.display.shift,ie=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),z&&(a.display.shift=!1),ie=y(a)!=Et}finally{a.display.shift=x,a.state.suppressEdits=!1}return ie}function wu(a,y,z){for(var x=0;x<a.state.keyMaps.length;x++){var ie=As(y,a.state.keyMaps[x],z,a);if(ie)return ie}return a.options.extraKeys&&As(y,a.options.extraKeys,z,a)||As(y,a.options.keyMap,z,a)}var Eu=new Ae;function zs(a,y,z,x){var ie=a.state.keySeq;if(ie){if(qs(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Eu.set(50,function(){a.state.keySeq==ie&&(a.state.keySeq=null,a.display.input.reset())}),iu(a,ie+" "+y,z,x))return!0}return iu(a,y,z,x)}function iu(a,y,z,x){var ie=wu(a,y,x);return ie=="multi"&&(a.state.keySeq=y),ie=="handled"&&Bo(a,"keyHandled",a,y,z),(ie=="handled"||ie=="multi")&&(kt(z),Ms(a)),!!ie}function Zs(a,y){var z=ms(y,!0);return z?y.shiftKey&&!a.state.keySeq?zs(a,"Shift-"+z,y,function(x){return Rs(a,x,!0)})||zs(a,z,y,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return Rs(a,x)}):zs(a,z,y,function(x){return Rs(a,x)}):!1}function ou(a,y,z){return zs(a,"'"+z+"'",y,function(x){return Rs(a,x,!0)})}var Ws=null;function au(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=he(),!Mt(y,a))){Pe&&me<11&&a.keyCode==27&&(a.returnValue=!1);var z=a.keyCode;y.display.shift=z==16||a.shiftKey;var x=Zs(y,a);de&&(Ws=x?z:null,!x&&z==88&&!Rt&&(De?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!De&&!x&&z==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),z==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&vu(y)}}function vu(a){var y=a.display.lineDiv;ye(y,"CodeMirror-crosshair");function z(x){(x.keyCode==18||!x.altKey)&&(_e(y,"CodeMirror-crosshair"),qt(document,"keyup",z),qt(document,"mouseover",z))}$t(document,"keyup",z),$t(document,"mouseover",z)}function lu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Mt(this,a)}function su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Wa(y.display,a)||Mt(y,a)||a.ctrlKey&&!a.altKey||De&&a.metaKey)){var z=a.keyCode,x=a.charCode;if(de&&z==Ws){Ws=null,kt(a);return}if(!(de&&(!a.which||a.which<10)&&Zs(y,a))){var ie=String.fromCharCode(x==null?z:x);ie!="\b"&&(ou(y,a,ie)||y.display.input.onKeyPress(a))}}}var Au=400,Gs=function(a,y,z){this.time=a,this.pos=y,this.button=z};Gs.prototype.compare=function(a,y,z){return this.time+Au>a&&Ht(y,this.pos)==0&&z==this.button};var vs,Ds;function uu(a,y){var z=+new Date;return Ds&&Ds.compare(z,a,y)?(vs=Ds=null,"triple"):vs&&vs.compare(z,a,y)?(Ds=new Gs(z,a,y),vs=null,"double"):(vs=new Gs(z,a,y),Ds=null,"single")}function cu(a){var y=this,z=y.display;if(!(Mt(y,a)||z.activeTouch&&z.input.supportsTouch())){if(z.input.ensurePolled(),z.shift=a.shiftKey,Wa(z,a)){ve||(z.scroller.draggable=!1,setTimeout(function(){return z.scroller.draggable=!0},100));return}if(!ql(y,a)){var x=Zl(y,a),ie=Wt(a),se=x?uu(x,ie):"single";window.focus(),ie==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Du(y,ie,x,se,a))&&(ie==1?x?Qo(y,x,se,a):wt(a)==z.scroller&&kt(a):ie==2?(x&&po(y.doc,x),setTimeout(function(){return z.input.focus()},20)):ie==3&&(ke?y.display.input.onContextMenu(a):Ts(y)))}}}function Du(a,y,z,x,ie){var se="Click";return x=="double"?se="Double"+se:x=="triple"&&(se="Triple"+se),se=(y==1?"Left":y==2?"Middle":"Right")+se,zs(a,Ns(se,ie),ie,function(Ie){if(typeof Ie=="string"&&(Ie=as[Ie]),!Ie)return!1;var Ve=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ve=Ie(a,z)!=Et}finally{a.state.suppressEdits=!1}return Ve})}function Go(a,y,z){var x=a.getOption("configureMouse"),ie=x?x(a,y,z):{};if(ie.unit==null){var se=Be?z.shiftKey&&z.metaKey:z.altKey;ie.unit=se?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ie.extend==null||a.doc.extend)&&(ie.extend=a.doc.extend||z.shiftKey),ie.addNew==null&&(ie.addNew=De?z.metaKey:z.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(De?z.altKey:z.ctrlKey)),ie}function Qo(a,y,z,x){Pe?setTimeout(yt(mu,a),0):a.curOp.focus=he();var ie=Go(a,z,x),se=a.doc.sel,Ie;a.options.dragDrop&&on&&!a.isReadOnly()&&z=="single"&&(Ie=se.contains(y))>-1&&(Ht((Ie=se.ranges[Ie]).from(),y)<0||y.xRel>0)&&(Ht(Ie.to(),y)>0||y.xRel<0)?sl(a,x,y,ie):ul(a,x,y,ie)}function sl(a,y,z,x){var ie=a.display,se=!1,Ie=Xr(a,function(ut){ve&&(ie.scroller.draggable=!1),a.state.draggingText=!1,qt(ie.wrapper.ownerDocument,"mouseup",Ie),qt(ie.wrapper.ownerDocument,"mousemove",Ve),qt(ie.scroller,"dragstart",$e),qt(ie.scroller,"drop",Ie),se||(kt(ut),x.addNew||po(a.doc,z,null,null,x.extend),ve&&!Le||Pe&&me==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Ve=function(ut){se=se||Math.abs(y.clientX-ut.clientX)+Math.abs(y.clientY-ut.clientY)>=10},$e=function(){return se=!0};ve&&(ie.scroller.draggable=!0),a.state.draggingText=Ie,Ie.copy=!x.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),$t(ie.wrapper.ownerDocument,"mouseup",Ie),$t(ie.wrapper.ownerDocument,"mousemove",Ve),$t(ie.scroller,"dragstart",$e),$t(ie.scroller,"drop",Ie),Ts(a),setTimeout(function(){return ie.input.focus()},20)}function Il(a,y,z){if(z=="char")return new yn(y,y);if(z=="word")return a.findWordAt(y);if(z=="line")return new yn(bt(y.line,0),jt(a.doc,bt(y.line+1,0)));var x=z(a,y);return new yn(x.from,x.to)}function ul(a,y,z,x){var ie=a.display,se=a.doc;kt(y);var Ie,Ve,$e=se.sel,ut=$e.ranges;if(x.addNew&&!x.extend?(Ve=se.sel.contains(z),Ve>-1?Ie=ut[Ve]:Ie=new yn(z,z)):(Ie=se.sel.primary(),Ve=se.sel.primIndex),x.unit=="rectangle")x.addNew||(Ie=new yn(z,z)),z=Zl(a,y,!0,!0),Ve=-1;else{var rn=Il(a,z,x.unit);x.extend?Ie=go(Ie,rn.anchor,rn.head,x.extend):Ie=rn}x.addNew?Ve==-1?(Ve=ut.length,ci(se,ur(a,ut.concat([Ie]),Ve),{scroll:!1,origin:"*mouse"})):ut.length>1&&ut[Ve].empty()&&x.unit=="char"&&!x.extend?(ci(se,ur(a,ut.slice(0,Ve).concat(ut.slice(Ve+1)),0),{scroll:!1,origin:"*mouse"}),$e=se.sel):pa(se,Ve,Ie,Je):(Ve=0,ci(se,new xn([Ie],0),Je),$e=se.sel);var mn=z;function Nn(mi){if(Ht(mn,mi)!=0)if(mn=mi,x.unit=="rectangle"){for(var Wi=[],mo=a.options.tabSize,io=Ge(Sn(se,z.line).text,z.ch,mo),Vo=Ge(Sn(se,mi.line).text,mi.ch,mo),Ea=Math.min(io,Vo),cl=Math.max(io,Vo),za=Math.min(z.line,mi.line),Rl=Math.min(a.lastLine(),Math.max(z.line,mi.line));za<=Rl;za++){var Fl=Sn(se,za).text,Ja=It(Fl,Ea,mo);Ea==cl?Wi.push(new yn(bt(za,Ja),bt(za,Ja))):Fl.length>Ja&&Wi.push(new yn(bt(za,Ja),bt(za,It(Fl,cl,mo))))}Wi.length||Wi.push(new yn(z,z)),ci(se,ur(a,$e.ranges.slice(0,Ve).concat(Wi),Ve),{origin:"*mouse",scroll:!1}),a.scrollIntoView(mi)}else{var Ol=Ie,ml=Il(a,mi,x.unit),nl=Ol.anchor,qa;Ht(ml.anchor,nl)>0?(qa=ml.head,nl=dn(Ol.from(),ml.anchor)):(qa=ml.anchor,nl=tn(Ol.to(),ml.head));var ja=$e.ranges.slice(0);ja[Ve]=Ps(a,new yn(jt(se,nl),qa)),ci(se,ur(a,ja,Ve),Je)}}var On=ie.wrapper.getBoundingClientRect(),pr=0;function Lr(mi){var Wi=++pr,mo=Zl(a,mi,!0,x.unit=="rectangle");if(mo)if(Ht(mo,mn)!=0){a.curOp.focus=he(),Nn(mo);var io=ue(ie,se);(mo.line>=io.to||mo.line<io.from)&&setTimeout(Xr(a,function(){pr==Wi&&Lr(mi)}),150)}else{var Vo=mi.clientY<On.top?-20:mi.clientY>On.bottom?20:0;Vo&&setTimeout(Xr(a,function(){pr==Wi&&(ie.scroller.scrollTop+=Vo,Lr(mi))}),50)}}function ti(mi){a.state.selectingText=!1,pr=1/0,mi&&(kt(mi),ie.input.focus()),qt(ie.wrapper.ownerDocument,"mousemove",hi),qt(ie.wrapper.ownerDocument,"mouseup",Oi),se.history.lastSelOrigin=null}var hi=Xr(a,function(mi){mi.buttons===0||!Wt(mi)?ti(mi):Lr(mi)}),Oi=Xr(a,ti);a.state.selectingText=Oi,$t(ie.wrapper.ownerDocument,"mousemove",hi),$t(ie.wrapper.ownerDocument,"mouseup",Oi)}function Ps(a,y){var z=y.anchor,x=y.head,ie=Sn(a.doc,z.line);if(Ht(z,x)==0&&z.sticky==x.sticky)return y;var se=He(ie);if(!se)return y;var Ie=it(se,z.ch,z.sticky),Ve=se[Ie];if(Ve.from!=z.ch&&Ve.to!=z.ch)return y;var $e=Ie+(Ve.from==z.ch==(Ve.level!=1)?0:1);if($e==0||$e==se.length)return y;var ut;if(x.line!=z.line)ut=(x.line-z.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var rn=it(se,x.ch,x.sticky),mn=rn-Ie||(x.ch-z.ch)*(Ve.level==1?-1:1);rn==$e-1||rn==$e?ut=mn<0:ut=mn>0}var Nn=se[$e+(ut?-1:0)],On=ut==(Nn.level==1),pr=On?Nn.from:Nn.to,Lr=On?"after":"before";return z.ch==pr&&z.sticky==Lr?y:new yn(new bt(z.line,pr,Lr),x)}function ls(a,y,z,x){var ie,se;if(y.touches)ie=y.touches[0].clientX,se=y.touches[0].clientY;else try{ie=y.clientX,se=y.clientY}catch(Nn){return!1}if(ie>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&kt(y);var Ie=a.display,Ve=Ie.lineDiv.getBoundingClientRect();if(se>Ve.bottom||!Jt(a,z))return vn(y);se-=Ve.top-Ie.viewOffset;for(var $e=0;$e<a.display.gutterSpecs.length;++$e){var ut=Ie.gutters.childNodes[$e];if(ut&&ut.getBoundingClientRect().right>=ie){var rn=_t(a.doc,se),mn=a.display.gutterSpecs[$e];return Nt(a,z,a,rn,mn.className,y),vn(y)}}}function ql(a,y){return ls(a,y,"gutterClick",!0)}function Bs(a,y){Wa(a.display,y)||du(a,y)||Mt(a,y,"contextmenu")||ke||a.display.input.onContextMenu(y)}function du(a,y){return Jt(a,"gutterContextMenu")?ls(a,y,"gutterContextMenu",!1):!1}function ku(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Xl(a)}var Xs={toString:function(){return"CodeMirror.Init"}},Mu={},gu={};function ju(a){var y=a.optionHandlers;function z(x,ie,se,Ie){a.defaults[x]=ie,se&&(y[x]=Ie?function(Ve,$e,ut){ut!=Xs&&se(Ve,$e,ut)}:se)}a.defineOption=z,a.Init=Xs,z("value","",function(x,ie){return x.setValue(ie)},!0),z("mode",null,function(x,ie){x.doc.modeOption=ie,Mr(x)},!0),z("indentUnit",2,Mr,!0),z("indentWithTabs",!1),z("smartIndent",!0),z("tabSize",4,function(x){Hr(x),Xl(x),Xa(x)},!0),z("lineSeparator",null,function(x,ie){if(x.doc.lineSep=ie,!!ie){var se=[],Ie=x.doc.first;x.doc.iter(function($e){for(var ut=0;;){var rn=$e.text.indexOf(ie,ut);if(rn==-1)break;ut=rn+ie.length,se.push(bt(Ie,rn))}Ie++});for(var Ve=se.length-1;Ve>=0;Ve--)Po(x.doc,ie,se[Ve],bt(se[Ve].line,se[Ve].ch+ie.length))}}),z("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ie,se){x.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),se!=Xs&&x.refresh()}),z("specialCharPlaceholder",Aa,function(x){return x.refresh()},!0),z("electricChars",!0),z("inputStyle",Ce?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),z("spellcheck",!1,function(x,ie){return x.getInputField().spellcheck=ie},!0),z("autocorrect",!1,function(x,ie){return x.getInputField().autocorrect=ie},!0),z("autocapitalize",!1,function(x,ie){return x.getInputField().autocapitalize=ie},!0),z("rtlMoveVisually",!Ze),z("wholeLineUpdateBefore",!0),z("theme","default",function(x){ku(x),cn(x)},!0),z("keyMap","default",function(x,ie,se){var Ie=Us(ie),Ve=se!=Xs&&Us(se);Ve&&Ve.detach&&Ve.detach(x,Ie),Ie.attach&&Ie.attach(x,Ve||null)}),z("extraKeys",null),z("configureMouse",null),z("lineWrapping",!1,Ku,!0),z("gutters",[],function(x,ie){x.display.gutterSpecs=Tt(ie,x.options.lineNumbers),cn(x)},!0),z("fixedGutter",!0,function(x,ie){x.display.gutters.style.left=ie?Os(x.display)+"px":"0",x.refresh()},!0),z("coverGutterNextToScrollbar",!1,function(x){return mr(x)},!0),z("scrollbarStyle","native",function(x){xr(x),mr(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),z("lineNumbers",!1,function(x,ie){x.display.gutterSpecs=Tt(x.options.gutters,ie),cn(x)},!0),z("firstLineNumber",1,cn,!0),z("lineNumberFormatter",function(x){return x},cn,!0),z("showCursorWhenSelecting",!1,_l,!0),z("resetSelectionOnContextMenu",!0),z("lineWiseCopyCut",!0),z("pasteLinesPerSelection",!0),z("selectionsMayTouch",!1),z("readOnly",!1,function(x,ie){ie=="nocursor"&&(is(x),x.display.input.blur()),x.display.input.readOnlyChanged(ie)}),z("screenReaderLabel",null,function(x,ie){ie=ie===""?null:ie,x.display.input.screenReaderLabelChanged(ie)}),z("disableInput",!1,function(x,ie){ie||x.display.input.reset()},!0),z("dragDrop",!0,Vu),z("allowDropFileTypes",null),z("cursorBlinkRate",530),z("cursorScrollMargin",0),z("cursorHeight",1,_l,!0),z("singleCursorHeightPerLine",!0,_l,!0),z("workTime",100),z("workDelay",100),z("flattenSpans",!0,Hr,!0),z("addModeClass",!1,Hr,!0),z("pollInterval",100),z("undoDepth",200,function(x,ie){return x.doc.history.undoDepth=ie}),z("historyEventDelay",1250),z("viewportMargin",10,function(x){return x.refresh()},!0),z("maxHighlightLength",1e4,Hr,!0),z("moveInputWithCursor",!0,function(x,ie){ie||x.display.input.resetPosition()}),z("tabindex",null,function(x,ie){return x.display.input.getField().tabIndex=ie||""}),z("autofocus",null),z("direction","ltr",function(x,ie){return x.doc.setDirection(ie)},!0),z("phrases",null)}function Vu(a,y,z){var x=z&&z!=Xs;if(!y!=!x){var ie=a.display.dragFunctions,se=y?$t:qt;se(a.display.scroller,"dragstart",ie.start),se(a.display.scroller,"dragenter",ie.enter),se(a.display.scroller,"dragover",ie.over),se(a.display.scroller,"dragleave",ie.leave),se(a.display.scroller,"drop",ie.drop)}}function Ku(a){a.options.lineWrapping?(ye(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(_e(a.display.wrapper,"CodeMirror-wrap"),ao(a)),rs(a),Xa(a),Xl(a),setTimeout(function(){return mr(a)},100)}function Ma(a,y){var z=this;if(!(this instanceof Ma))return new Ma(a,y);this.options=y=y?Dt(y):{},Dt(Mu,y,!1);var x=y.value;typeof x=="string"?x=new Pi(x,y.mode,null,y.lineSeparator,y.direction):y.mode&&(x.modeOption=y.mode),this.doc=x;var ie=new Ma.inputStyles[y.inputStyle](this),se=this.display=new an(a,x,ie,y);se.wrapper.CodeMirror=this,ku(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xr(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 Ae,keySeq:null,specialChars:null},y.autofocus&&!Ce&&se.input.focus(),Pe&&me<11&&setTimeout(function(){return z.display.input.reset(!0)},20),Uu(this),Yo(),Fr(this),this.curOp.forceUpdate=!0,br(this,x),y.autofocus&&!Ce||this.hasFocus()?setTimeout(function(){z.hasFocus()&&!z.state.focused&&Ql(z)},20):is(this);for(var Ie in gu)gu.hasOwnProperty(Ie)&&gu[Ie](this,y[Ie],Xs);xt(this),y.finishInit&&y.finishInit(this);for(var Ve=0;Ve<Pu.length;++Ve)Pu[Ve](this);Nr(this),ve&&y.lineWrapping&&getComputedStyle(se.lineDiv).textRendering=="optimizelegibility"&&(se.lineDiv.style.textRendering="auto")}Ma.defaults=Mu,Ma.optionHandlers=gu;function Uu(a){var y=a.display;$t(y.scroller,"mousedown",Xr(a,cu)),Pe&&me<11?$t(y.scroller,"dblclick",Xr(a,function($e){if(!Mt(a,$e)){var ut=Zl(a,$e);if(!(!ut||ql(a,$e)||Wa(a.display,$e))){kt($e);var rn=a.findWordAt(ut);po(a.doc,rn.anchor,rn.head)}}})):$t(y.scroller,"dblclick",function($e){return Mt(a,$e)||kt($e)}),$t(y.scroller,"contextmenu",function($e){return Bs(a,$e)}),$t(y.input.getField(),"contextmenu",function($e){y.scroller.contains($e.target)||Bs(a,$e)});var z,x={end:0};function ie(){y.activeTouch&&(z=setTimeout(function(){return y.activeTouch=null},1e3),x=y.activeTouch,x.end=+new Date)}function se($e){if($e.touches.length!=1)return!1;var ut=$e.touches[0];return ut.radiusX<=1&&ut.radiusY<=1}function Ie($e,ut){if(ut.left==null)return!0;var rn=ut.left-$e.left,mn=ut.top-$e.top;return rn*rn+mn*mn>20*20}$t(y.scroller,"touchstart",function($e){if(!Mt(a,$e)&&!se($e)&&!ql(a,$e)){y.input.ensurePolled(),clearTimeout(z);var ut=+new Date;y.activeTouch={start:ut,moved:!1,prev:ut-x.end<=300?x:null},$e.touches.length==1&&(y.activeTouch.left=$e.touches[0].pageX,y.activeTouch.top=$e.touches[0].pageY)}}),$t(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),$t(y.scroller,"touchend",function($e){var ut=y.activeTouch;if(ut&&!Wa(y,$e)&&ut.left!=null&&!ut.moved&&new Date-ut.start<300){var rn=a.coordsChar(y.activeTouch,"page"),mn;!ut.prev||Ie(ut,ut.prev)?mn=new yn(rn,rn):!ut.prev.prev||Ie(ut,ut.prev.prev)?mn=a.findWordAt(rn):mn=new yn(bt(rn.line,0),jt(a.doc,bt(rn.line+1,0))),a.setSelection(mn.anchor,mn.head),a.focus(),kt($e)}ie()}),$t(y.scroller,"touchcancel",ie),$t(y.scroller,"scroll",function(){y.scroller.clientHeight&&(qn(a,y.scroller.scrollTop),ar(a,y.scroller.scrollLeft,!0),Nt(a,"scroll",a))}),$t(y.scroller,"mousewheel",function($e){return Dn(a,$e)}),$t(y.scroller,"DOMMouseScroll",function($e){return Dn(a,$e)}),$t(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function($e){Mt(a,$e)||ct($e)},over:function($e){Mt(a,$e)||(Nl(a,$e),ct($e))},start:function($e){return yl(a,$e)},drop:Xr(a,_a),leave:function($e){Mt(a,$e)||ws(a)}};var Ve=y.input.getField();$t(Ve,"keyup",function($e){return lu.call(a,$e)}),$t(Ve,"keydown",Xr(a,au)),$t(Ve,"keypress",Xr(a,su)),$t(Ve,"focus",function($e){return Ql(a,$e)}),$t(Ve,"blur",function($e){return is(a,$e)})}var Pu=[];Ma.defineInitHook=function(a){return Pu.push(a)};function fu(a,y,z,x){var ie=a.doc,se;z==null&&(z="add"),z=="smart"&&(ie.mode.indent?se=Zr(a,y).state:z="prev");var Ie=a.options.tabSize,Ve=Sn(ie,y),$e=Ge(Ve.text,null,Ie);Ve.stateAfter&&(Ve.stateAfter=null);var ut=Ve.text.match(/^\s*/)[0],rn;if(!x&&!/\S/.test(Ve.text))rn=0,z="not";else if(z=="smart"&&(rn=ie.mode.indent(se,Ve.text.slice(ut.length),Ve.text),rn==Et||rn>150)){if(!x)return;z="prev"}z=="prev"?y>ie.first?rn=Ge(Sn(ie,y-1).text,null,Ie):rn=0:z=="add"?rn=$e+a.options.indentUnit:z=="subtract"?rn=$e-a.options.indentUnit:typeof z=="number"&&(rn=$e+z),rn=Math.max(0,rn);var mn="",Nn=0;if(a.options.indentWithTabs)for(var On=Math.floor(rn/Ie);On;--On)Nn+=Ie,mn+=" ";if(Nn<rn&&(mn+=Ft(rn-Nn)),mn!=ut)return Po(ie,mn,bt(y,0),bt(y,ut.length),"+input"),Ve.stateAfter=null,!0;for(var pr=0;pr<ie.sel.ranges.length;pr++){var Lr=ie.sel.ranges[pr];if(Lr.head.line==y&&Lr.head.ch<ut.length){var ti=bt(y,ut.length);pa(ie,pr,new yn(ti,ti));break}}}var es=null;function yu(a){es=a}function Bu(a,y,z,x,ie){var se=a.doc;a.display.shift=!1,x||(x=se.sel);var Ie=+new Date-200,Ve=ie=="paste"||a.state.pasteIncoming>Ie,$e=Bn(y),ut=null;if(Ve&&x.ranges.length>1)if(es&&es.text.join(`
|
|
|
`)==y){if(x.ranges.length%es.text.length==0){ut=[];for(var rn=0;rn<es.text.length;rn++)ut.push(se.splitLines(es.text[rn]))}}else $e.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(ut=Gt($e,function(hi){return[hi]}));for(var mn=a.curOp.updateInput,Nn=x.ranges.length-1;Nn>=0;Nn--){var On=x.ranges[Nn],pr=On.from(),Lr=On.to();On.empty()&&(z&&z>0?pr=bt(pr.line,pr.ch-z):a.state.overwrite&&!Ve?Lr=bt(Lr.line,Math.min(Sn(se,Lr.line).text.length,Lr.ch+ft($e).length)):Ve&&es&&es.lineWise&&es.text.join(`
|
|
|
`)==$e.join(`
|
|
|
`)&&(pr=Lr=bt(pr.line,0)));var ti={from:pr,to:Lr,text:ut?ut[Nn%ut.length]:$e,origin:ie||(Ve?"paste":a.state.cutIncoming>Ie?"cut":"+input")};$o(a.doc,ti),Bo(a,"inputRead",a,ti)}y&&!Ve&&Lu(a,y),Cn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=mn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Tu(a,y){var z=a.clipboardData&&a.clipboardData.getData("Text");if(z)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&ii(y,function(){return Bu(y,z,0,null,"paste")}),!0}function Lu(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var z=a.doc.sel,x=z.ranges.length-1;x>=0;x--){var ie=z.ranges[x];if(!(ie.head.ch>100||x&&z.ranges[x-1].head.line==ie.head.line)){var se=a.getModeAt(ie.head),Ie=!1;if(se.electricChars){for(var Ve=0;Ve<se.electricChars.length;Ve++)if(y.indexOf(se.electricChars.charAt(Ve))>-1){Ie=fu(a,ie.head.line,"smart");break}}else se.electricInput&&se.electricInput.test(Sn(a.doc,ie.head.line).text.slice(0,ie.head.ch))&&(Ie=fu(a,ie.head.line,"smart"));Ie&&Bo(a,"electricInput",a,ie.head.line)}}}function Nu(a){for(var y=[],z=[],x=0;x<a.doc.sel.ranges.length;x++){var ie=a.doc.sel.ranges[x].head.line,se={anchor:bt(ie,0),head:bt(ie+1,0)};z.push(se),y.push(a.getRange(se.anchor,se.head))}return{text:y,ranges:z}}function Ru(a,y,z,x){a.setAttribute("autocorrect",z?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!y)}function zu(){var a=Ye("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ye("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ve?a.style.width="1000px":a.setAttribute("wrap","off"),xe&&(a.style.border="1px solid black"),Ru(a),y}function Yu(a){var y=a.optionHandlers,z=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,ie){var se=this.options,Ie=se[x];se[x]==ie&&x!="mode"||(se[x]=ie,y.hasOwnProperty(x)&&Xr(this,y[x])(this,ie,Ie),Nt(this,"optionChange",this,x))},getOption:function(x){return this.options[x]},getDoc:function(){return this.doc},addKeyMap:function(x,ie){this.state.keyMaps[ie?"push":"unshift"](Us(x))},removeKeyMap:function(x){for(var ie=this.state.keyMaps,se=0;se<ie.length;++se)if(ie[se]==x||ie[se].name==x)return ie.splice(se,1),!0},addOverlay:si(function(x,ie){var se=x.token?x:a.getMode(this.options,x);if(se.startState)throw new Error("Overlays may not be stateful.");Pt(this.state.overlays,{mode:se,modeSpec:x,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(Ie){return Ie.priority}),this.state.modeGen++,Xa(this)}),removeOverlay:si(function(x){for(var ie=this.state.overlays,se=0;se<ie.length;++se){var Ie=ie[se].modeSpec;if(Ie==x||typeof x=="string"&&Ie.name==x){ie.splice(se,1),this.state.modeGen++,Xa(this);return}}}),indentLine:si(function(x,ie,se){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),vt(this.doc,x)&&fu(this,x,ie,se)}),indentSelection:si(function(x){for(var ie=this.doc.sel.ranges,se=-1,Ie=0;Ie<ie.length;Ie++){var Ve=ie[Ie];if(Ve.empty())Ve.head.line>se&&(fu(this,Ve.head.line,x,!0),se=Ve.head.line,Ie==this.doc.sel.primIndex&&Cn(this));else{var $e=Ve.from(),ut=Ve.to(),rn=Math.max(se,$e.line);se=Math.min(this.lastLine(),ut.line-(ut.ch?0:1))+1;for(var mn=rn;mn<se;++mn)fu(this,mn,x);var Nn=this.doc.sel.ranges;$e.ch==0&&ie.length==Nn.length&&Nn[Ie].from().ch>0&&pa(this.doc,Ie,new yn($e,Nn[Ie].to()),Oe)}}}),getTokenAt:function(x,ie){return Vr(this,x,ie)},getLineTokens:function(x,ie){return Vr(this,bt(x),ie,!0)},getTokenTypeAt:function(x){x=jt(this.doc,x);var ie=kr(this,Sn(this.doc,x.line)),se=0,Ie=(ie.length-1)/2,Ve=x.ch,$e;if(Ve==0)$e=ie[2];else for(;;){var ut=se+Ie>>1;if((ut?ie[ut*2-1]:0)>=Ve)Ie=ut;else if(ie[ut*2+1]<Ve)se=ut+1;else{$e=ie[ut*2+2];break}}var rn=$e?$e.indexOf("overlay "):-1;return rn<0?$e:rn==0?null:$e.slice(0,rn-1)},getModeAt:function(x){var ie=this.doc.mode;return ie.innerMode?a.innerMode(ie,this.getTokenAt(x).state).mode:ie},getHelper:function(x,ie){return this.getHelpers(x,ie)[0]},getHelpers:function(x,ie){var se=[];if(!z.hasOwnProperty(ie))return se;var Ie=z[ie],Ve=this.getModeAt(x);if(typeof Ve[ie]=="string")Ie[Ve[ie]]&&se.push(Ie[Ve[ie]]);else if(Ve[ie])for(var $e=0;$e<Ve[ie].length;$e++){var ut=Ie[Ve[ie][$e]];ut&&se.push(ut)}else Ve.helperType&&Ie[Ve.helperType]?se.push(Ie[Ve.helperType]):Ie[Ve.name]&&se.push(Ie[Ve.name]);for(var rn=0;rn<Ie._global.length;rn++){var mn=Ie._global[rn];mn.pred(Ve,this)&&ot(se,mn.val)==-1&&se.push(mn.val)}return se},getStateAfter:function(x,ie){var se=this.doc;return x=Vt(se,x==null?se.first+se.size-1:x),Zr(this,x+1,ie).state},cursorCoords:function(x,ie){var se,Ie=this.doc.sel.primary();return x==null?se=Ie.head:typeof x=="object"?se=jt(this.doc,x):se=x?Ie.from():Ie.to(),Ha(this,se,ie||"page")},charCoords:function(x,ie){return Kl(this,jt(this.doc,x),ie||"page")},coordsChar:function(x,ie){return x=Cs(this,x,ie||"page"),ka(this,x.left,x.top)},lineAtHeight:function(x,ie){return x=Cs(this,{top:x,left:0},ie||"page").top,_t(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ie,se){var Ie=!1,Ve;if(typeof x=="number"){var $e=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>$e&&(x=$e,Ie=!0),Ve=Sn(this.doc,x)}else Ve=x;return fs(this,Ve,{top:0,left:0},ie||"page",se||Ie).top+(Ie?this.doc.height-ji(Ve):0)},defaultTextHeight:function(){return fl(this.display)},defaultCharWidth:function(){return Bl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,ie,se,Ie,Ve){var $e=this.display;x=Ha(this,jt(this.doc,x));var ut=x.bottom,rn=x.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),$e.sizer.appendChild(ie),Ie=="over")ut=x.top;else if(Ie=="above"||Ie=="near"){var mn=Math.max($e.wrapper.clientHeight,this.doc.height),Nn=Math.max($e.sizer.clientWidth,$e.lineSpace.clientWidth);(Ie=="above"||x.bottom+ie.offsetHeight>mn)&&x.top>ie.offsetHeight?ut=x.top-ie.offsetHeight:x.bottom+ie.offsetHeight<=mn&&(ut=x.bottom),rn+ie.offsetWidth>Nn&&(rn=Nn-ie.offsetWidth)}ie.style.top=ut+"px",ie.style.left=ie.style.right="",Ve=="right"?(rn=$e.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(Ve=="left"?rn=0:Ve=="middle"&&(rn=($e.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=rn+"px"),se&&St(this,{left:rn,top:ut,right:rn+ie.offsetWidth,bottom:ut+ie.offsetHeight})},triggerOnKeyDown:si(au),triggerOnKeyPress:si(su),triggerOnKeyUp:lu,triggerOnMouseDown:si(cu),execCommand:function(x){if(as.hasOwnProperty(x))return as[x].call(null,this)},triggerElectric:si(function(x){Lu(this,x)}),findPosH:function(x,ie,se,Ie){var Ve=1;ie<0&&(Ve=-1,ie=-ie);for(var $e=jt(this.doc,x),ut=0;ut<ie&&($e=Iu(this.doc,$e,Ve,se,Ie),!$e.hitSide);++ut);return $e},moveH:si(function(x,ie){var se=this;this.extendSelectionsBy(function(Ie){return se.display.shift||se.doc.extend||Ie.empty()?Iu(se.doc,Ie.head,x,ie,se.options.rtlMoveVisually):x<0?Ie.from():Ie.to()},dt)}),deleteH:si(function(x,ie){var se=this.doc.sel,Ie=this.doc;se.somethingSelected()?Ie.replaceSelection("",null,"+delete"):ps(this,function(Ve){var $e=Iu(Ie,Ve.head,x,ie,!1);return x<0?{from:$e,to:Ve.head}:{from:Ve.head,to:$e}})}),findPosV:function(x,ie,se,Ie){var Ve=1,$e=Ie;ie<0&&(Ve=-1,ie=-ie);for(var ut=jt(this.doc,x),rn=0;rn<ie;++rn){var mn=Ha(this,ut,"div");if($e==null?$e=mn.left:mn.left=$e,ut=Zu(this,mn,Ve,se),ut.hitSide)break}return ut},moveV:si(function(x,ie){var se=this,Ie=this.doc,Ve=[],$e=!this.display.shift&&!Ie.extend&&Ie.sel.somethingSelected();if(Ie.extendSelectionsBy(function(rn){if($e)return x<0?rn.from():rn.to();var mn=Ha(se,rn.head,"div");rn.goalColumn!=null&&(mn.left=rn.goalColumn),Ve.push(mn.left);var Nn=Zu(se,mn,x,ie);return ie=="page"&&rn==Ie.sel.primary()&&hn(se,Kl(se,Nn,"div").top-mn.top),Nn},dt),Ve.length)for(var ut=0;ut<Ie.sel.ranges.length;ut++)Ie.sel.ranges[ut].goalColumn=Ve[ut]}),findWordAt:function(x){var ie=this.doc,se=Sn(ie,x.line).text,Ie=x.ch,Ve=x.ch;if(se){var $e=this.getHelper(x,"wordChars");(x.sticky=="before"||Ve==se.length)&&Ie?--Ie:++Ve;for(var ut=se.charAt(Ie),rn=re(ut,$e)?function(mn){return re(mn,$e)}:/\s/.test(ut)?function(mn){return/\s/.test(mn)}:function(mn){return!/\s/.test(mn)&&!re(mn)};Ie>0&&rn(se.charAt(Ie-1));)--Ie;for(;Ve<se.length&&rn(se.charAt(Ve));)++Ve}return new yn(bt(x.line,Ie),bt(x.line,Ve))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ye(this.display.cursorDiv,"CodeMirror-overwrite"):_e(this.display.cursorDiv,"CodeMirror-overwrite"),Nt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==he()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:si(function(x,ie){En(this,x,ie)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-el(this)-this.display.barHeight,width:x.scrollWidth-el(this)-this.display.barWidth,clientHeight:Ao(this),clientWidth:Dl(this)}},scrollIntoView:si(function(x,ie){x==null?(x={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof x=="number"?x={from:bt(x,0),to:null}:x.from==null&&(x={from:x,to:null}),x.to||(x.to=x.from),x.margin=ie||0,x.from.line!=null?Zn(this,x):An(this,x.from,x.to,x.margin)}),setSize:si(function(x,ie){var se=this,Ie=function($e){return typeof $e=="number"||/^\d+$/.test(String($e))?$e+"px":$e};x!=null&&(this.display.wrapper.style.width=Ie(x)),ie!=null&&(this.display.wrapper.style.height=Ie(ie)),this.options.lineWrapping&&gl(this);var Ve=this.display.viewFrom;this.doc.iter(Ve,this.display.viewTo,function($e){if($e.widgets){for(var ut=0;ut<$e.widgets.length;ut++)if($e.widgets[ut].noHScroll){Wl(se,Ve,"widget");break}}++Ve}),this.curOp.forceUpdate=!0,Nt(this,"refresh",this)}),operation:function(x){return ii(this,x)},startOperation:function(){return Fr(this)},endOperation:function(){return Nr(this)},refresh:si(function(){var x=this.display.cachedTextHeight;Xa(this),this.curOp.forceUpdate=!0,Xl(this),En(this,this.doc.scrollLeft,this.doc.scrollTop),Ne(this.display),(x==null||Math.abs(x-fl(this.display))>.5||this.options.lineWrapping)&&rs(this),Nt(this,"refresh",this)}),swapDoc:si(function(x){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),br(this,x),Xl(this),this.display.input.reset(),En(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Bo(this,"swapDoc",this,ie),ie}),phrase:function(x){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,x)?ie[x]:x},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}},gt(a),a.registerHelper=function(x,ie,se){z.hasOwnProperty(x)||(z[x]=a[x]={_global:[]}),z[x][ie]=se},a.registerGlobalHelper=function(x,ie,se,Ie){a.registerHelper(x,ie,Ie),z[x]._global.push({pred:se,val:Ie})}}function Iu(a,y,z,x,ie){var se=y,Ie=z,Ve=Sn(a,y.line),$e=ie&&a.direction=="rtl"?-z:z;function ut(){var Oi=y.line+$e;return Oi<a.first||Oi>=a.first+a.size?!1:(y=new bt(Oi,y.ch,y.sticky),Ve=Sn(a,Oi))}function rn(Oi){var mi;if(x=="codepoint"){var Wi=Ve.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(Wi)?mi=null:mi=new bt(y.line,Math.max(0,Math.min(Ve.text.length,y.ch+z*(Wi>=55296&&Wi<56320?2:1))),-z)}else ie?mi=pu(a.cm,Ve,y,z):mi=Ys(Ve,y,z);if(mi==null)if(!Oi&&ut())y=tu(ie,a.cm,Ve,y.line,$e);else return!1;else y=mi;return!0}if(x=="char"||x=="codepoint")rn();else if(x=="column")rn(!0);else if(x=="word"||x=="group")for(var mn=null,Nn=x=="group",On=a.cm&&a.cm.getHelper(y,"wordChars"),pr=!0;!(z<0&&!rn(!pr));pr=!1){var Lr=Ve.text.charAt(y.ch)||`
|
|
|
`,ti=re(Lr,On)?"w":Nn&&Lr==`
|
|
|
`?"n":!Nn||/\s/.test(Lr)?null:"p";if(Nn&&!pr&&!ti&&(ti="s"),mn&&mn!=ti){z<0&&(z=1,rn(),y.sticky="after");break}if(ti&&(mn=ti),z>0&&!rn(!pr))break}var hi=ca(a,y,se,Ie,!0);return nt(se,hi)&&(hi.hitSide=!0),hi}function Zu(a,y,z,x){var ie=a.doc,se=y.left,Ie;if(x=="page"){var Ve=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),$e=Math.max(Ve-.5*fl(a.display),3);Ie=(z>0?y.bottom:y.top)+z*$e}else x=="line"&&(Ie=z>0?y.bottom+3:y.top-3);for(var ut;ut=ka(a,se,Ie),!!ut.outside;){if(z<0?Ie<=0:Ie>=ie.height){ut.hitSide=!0;break}Ie+=z*5}return ut}var ba=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ae,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ba.prototype.init=function(a){var y=this,z=this,x=z.cm,ie=z.div=a.lineDiv;Ru(ie,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function se(Ve){for(var $e=Ve.target;$e;$e=$e.parentNode){if($e==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test($e.className))break}return!1}$t(ie,"paste",function(Ve){!se(Ve)||Mt(x,Ve)||Tu(Ve,x)||me<=11&&setTimeout(Xr(x,function(){return y.updateFromDOM()}),20)}),$t(ie,"compositionstart",function(Ve){y.composing={data:Ve.data,done:!1}}),$t(ie,"compositionupdate",function(Ve){y.composing||(y.composing={data:Ve.data,done:!1})}),$t(ie,"compositionend",function(Ve){y.composing&&(Ve.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),$t(ie,"touchstart",function(){return z.forceCompositionEnd()}),$t(ie,"input",function(){y.composing||y.readFromDOMSoon()});function Ie(Ve){if(!(!se(Ve)||Mt(x,Ve))){if(x.somethingSelected())yu({lineWise:!1,text:x.getSelections()}),Ve.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var $e=Nu(x);yu({lineWise:!0,text:$e.text}),Ve.type=="cut"&&x.operation(function(){x.setSelections($e.ranges,0,Oe),x.replaceSelection("",null,"cut")})}else return;if(Ve.clipboardData){Ve.clipboardData.clearData();var ut=es.text.join(`
|
|
|
`);if(Ve.clipboardData.setData("Text",ut),Ve.clipboardData.getData("Text")==ut){Ve.preventDefault();return}}var rn=zu(),mn=rn.firstChild;x.display.lineSpace.insertBefore(rn,x.display.lineSpace.firstChild),mn.value=es.text.join(`
|
|
|
`);var Nn=document.activeElement;Ke(mn),setTimeout(function(){x.display.lineSpace.removeChild(rn),Nn.focus(),Nn==ie&&z.showPrimarySelection()},50)}}$t(ie,"copy",Ie),$t(ie,"cut",Ie)},ba.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},ba.prototype.prepareSelection=function(){var a=hu(this.cm,!1);return a.focus=document.activeElement==this.div,a},ba.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},ba.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ba.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,z=y.doc.sel.primary(),x=z.from(),ie=z.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||ie.line<y.display.viewFrom){a.removeAllRanges();return}var se=bu(y,a.anchorNode,a.anchorOffset),Ie=bu(y,a.focusNode,a.focusOffset);if(!(se&&!se.bad&&Ie&&!Ie.bad&&Ht(dn(se,Ie),x)==0&&Ht(tn(se,Ie),ie)==0)){var Ve=y.display.view,$e=x.line>=y.display.viewFrom&&Wu(y,x)||{node:Ve[0].measure.map[2],offset:0},ut=ie.line<y.display.viewTo&&Wu(y,ie);if(!ut){var rn=Ve[Ve.length-1].measure,mn=rn.maps?rn.maps[rn.maps.length-1]:rn.map;ut={node:mn[mn.length-1],offset:mn[mn.length-2]-mn[mn.length-3]}}if(!$e||!ut){a.removeAllRanges();return}var Nn=a.rangeCount&&a.getRangeAt(0),On;try{On=Se($e.node,$e.offset,ut.offset,ut.node)}catch(pr){}On&&(!b&&y.state.focused?(a.collapse($e.node,$e.offset),On.collapsed||(a.removeAllRanges(),a.addRange(On))):(a.removeAllRanges(),a.addRange(On)),Nn&&a.anchorNode==null?a.addRange(Nn):b&&this.startGracePeriod()),this.rememberSelection()}},ba.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},ba.prototype.showMultipleSelections=function(a){Re(this.cm.display.cursorDiv,a.cursors),Re(this.cm.display.selectionDiv,a.selection)},ba.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},ba.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Qe(this.div,y)},ba.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ba.prototype.blur=function(){this.div.blur()},ba.prototype.getField=function(){return this.div},ba.prototype.supportsTouch=function(){return!0},ba.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():ii(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},ba.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},ba.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Fe&&be&&this.cm.display.gutterSpecs.length&&Gu(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var z=bu(y,a.anchorNode,a.anchorOffset),x=bu(y,a.focusNode,a.focusOffset);z&&x&&ii(y,function(){ci(y.doc,Hn(z,x),Oe),(z.bad||x.bad)&&(y.curOp.selectionChanged=!0)})}}},ba.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,z=a.doc.sel.primary(),x=z.from(),ie=z.to();if(x.ch==0&&x.line>a.firstLine()&&(x=bt(x.line-1,Sn(a.doc,x.line-1).length)),ie.ch==Sn(a.doc,ie.line).text.length&&ie.line<a.lastLine()&&(ie=bt(ie.line+1,0)),x.line<y.viewFrom||ie.line>y.viewTo-1)return!1;var se,Ie,Ve;x.line==y.viewFrom||(se=Tl(a,x.line))==0?(Ie=Ot(y.view[0].line),Ve=y.view[0].node):(Ie=Ot(y.view[se].line),Ve=y.view[se-1].node.nextSibling);var $e=Tl(a,ie.line),ut,rn;if($e==y.view.length-1?(ut=y.viewTo-1,rn=y.lineDiv.lastChild):(ut=Ot(y.view[$e+1].line)-1,rn=y.view[$e+1].node.previousSibling),!Ve)return!1;for(var mn=a.doc.splitLines(Xu(a,Ve,rn,Ie,ut)),Nn=Ln(a.doc,bt(Ie,0),bt(ut,Sn(a.doc,ut).text.length));mn.length>1&&Nn.length>1;)if(ft(mn)==ft(Nn))mn.pop(),Nn.pop(),ut--;else if(mn[0]==Nn[0])mn.shift(),Nn.shift(),Ie++;else break;for(var On=0,pr=0,Lr=mn[0],ti=Nn[0],hi=Math.min(Lr.length,ti.length);On<hi&&Lr.charCodeAt(On)==ti.charCodeAt(On);)++On;for(var Oi=ft(mn),mi=ft(Nn),Wi=Math.min(Oi.length-(mn.length==1?On:0),mi.length-(Nn.length==1?On:0));pr<Wi&&Oi.charCodeAt(Oi.length-pr-1)==mi.charCodeAt(mi.length-pr-1);)++pr;if(mn.length==1&&Nn.length==1&&Ie==x.line)for(;On&&On>x.ch&&Oi.charCodeAt(Oi.length-pr-1)==mi.charCodeAt(mi.length-pr-1);)On--,pr++;mn[mn.length-1]=Oi.slice(0,Oi.length-pr).replace(/^\u200b+/,""),mn[0]=mn[0].slice(On).replace(/\u200b+$/,"");var mo=bt(Ie,On),io=bt(ut,Nn.length?ft(Nn).length-pr:0);if(mn.length>1||mn[0]||Ht(mo,io))return Po(a.doc,mn,mo,io,"+input"),!0},ba.prototype.ensurePolled=function(){this.forceCompositionEnd()},ba.prototype.reset=function(){this.forceCompositionEnd()},ba.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ba.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))},ba.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&ii(this.cm,function(){return Xa(a.cm)})},ba.prototype.setUneditable=function(a){a.contentEditable="false"},ba.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Xr(this.cm,Bu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},ba.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},ba.prototype.onContextMenu=function(){},ba.prototype.resetPosition=function(){},ba.prototype.needsContentAttribute=!0;function Wu(a,y){var z=il(a,y.line);if(!z||z.hidden)return null;var x=Sn(a.doc,y.line),ie=Vl(z,x,y.line),se=He(x,a.doc.direction),Ie="left";if(se){var Ve=it(se,y.ch);Ie=Ve%2?"right":"left"}var $e=Gl(ie.map,y.ch,Ie);return $e.offset=$e.collapse=="right"?$e.end:$e.start,$e}function Gu(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function $s(a,y){return y&&(a.bad=!0),a}function Xu(a,y,z,x,ie){var se="",Ie=!1,Ve=a.doc.lineSeparator(),$e=!1;function ut(On){return function(pr){return pr.id==On}}function rn(){Ie&&(se+=Ve,$e&&(se+=Ve),Ie=$e=!1)}function mn(On){On&&(rn(),se+=On)}function Nn(On){if(On.nodeType==1){var pr=On.getAttribute("cm-text");if(pr){mn(pr);return}var Lr=On.getAttribute("cm-marker"),ti;if(Lr){var hi=a.findMarks(bt(x,0),bt(ie+1,0),ut(+Lr));hi.length&&(ti=hi[0].find(0))&&mn(Ln(a.doc,ti.from,ti.to).join(Ve));return}if(On.getAttribute("contenteditable")=="false")return;var Oi=/^(pre|div|p|li|table|br)$/i.test(On.nodeName);if(!/^br$/i.test(On.nodeName)&&On.textContent.length==0)return;Oi&&rn();for(var mi=0;mi<On.childNodes.length;mi++)Nn(On.childNodes[mi]);/^(pre|p)$/i.test(On.nodeName)&&($e=!0),Oi&&(Ie=!0)}else On.nodeType==3&&mn(On.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Nn(y),y!=z;)y=y.nextSibling,$e=!1;return se}function bu(a,y,z){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[z],!x)return $s(a.clipPos(bt(a.display.viewTo-1)),!0);y=null,z=0}else for(x=y;;x=x.parentNode){if(!x||x==a.display.lineDiv)return null;if(x.parentNode&&x.parentNode==a.display.lineDiv)break}for(var ie=0;ie<a.display.view.length;ie++){var se=a.display.view[ie];if(se.node==x)return $u(se,y,z)}}function $u(a,y,z){var x=a.text.firstChild,ie=!1;if(!y||!Qe(x,y))return $s(bt(Ot(a.line),0),!0);if(y==x&&(ie=!0,y=x.childNodes[z],z=0,!y)){var se=a.rest?ft(a.rest):a.line;return $s(bt(Ot(se),se.text.length),ie)}var Ie=y.nodeType==3?y:null,Ve=y;for(!Ie&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(Ie=y.firstChild,z&&(z=Ie.nodeValue.length));Ve.parentNode!=x;)Ve=Ve.parentNode;var $e=a.measure,ut=$e.maps;function rn(ti,hi,Oi){for(var mi=-1;mi<(ut?ut.length:0);mi++)for(var Wi=mi<0?$e.map:ut[mi],mo=0;mo<Wi.length;mo+=3){var io=Wi[mo+2];if(io==ti||io==hi){var Vo=Ot(mi<0?a.line:a.rest[mi]),Ea=Wi[mo]+Oi;return(Oi<0||io!=ti)&&(Ea=Wi[mo+(Oi?1:0)]),bt(Vo,Ea)}}}var mn=rn(Ie,Ve,z);if(mn)return $s(mn,ie);for(var Nn=Ve.nextSibling,On=Ie?Ie.nodeValue.length-z:0;Nn;Nn=Nn.nextSibling){if(mn=rn(Nn,Nn.firstChild,0),mn)return $s(bt(mn.line,mn.ch-On),ie);On+=Nn.textContent.length}for(var pr=Ve.previousSibling,Lr=z;pr;pr=pr.previousSibling){if(mn=rn(pr,pr.firstChild,-1),mn)return $s(bt(mn.line,mn.ch+Lr),ie);Lr+=pr.textContent.length}}var Ya=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Ae,this.hasSelection=!1,this.composing=null};Ya.prototype.init=function(a){var y=this,z=this,x=this.cm;this.createField(a);var ie=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),xe&&(ie.style.width="0px"),$t(ie,"input",function(){Pe&&me>=9&&y.hasSelection&&(y.hasSelection=null),z.poll()}),$t(ie,"paste",function(Ie){Mt(x,Ie)||Tu(Ie,x)||(x.state.pasteIncoming=+new Date,z.fastPoll())});function se(Ie){if(!Mt(x,Ie)){if(x.somethingSelected())yu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var Ve=Nu(x);yu({lineWise:!0,text:Ve.text}),Ie.type=="cut"?x.setSelections(Ve.ranges,null,Oe):(z.prevInput="",ie.value=Ve.text.join(`
|
|
|
`),Ke(ie))}else return;Ie.type=="cut"&&(x.state.cutIncoming=+new Date)}}$t(ie,"cut",se),$t(ie,"copy",se),$t(a.scroller,"paste",function(Ie){if(!(Wa(a,Ie)||Mt(x,Ie))){if(!ie.dispatchEvent){x.state.pasteIncoming=+new Date,z.focus();return}var Ve=new Event("paste");Ve.clipboardData=Ie.clipboardData,ie.dispatchEvent(Ve)}}),$t(a.lineSpace,"selectstart",function(Ie){Wa(a,Ie)||kt(Ie)}),$t(ie,"compositionstart",function(){var Ie=x.getCursor("from");z.composing&&z.composing.range.clear(),z.composing={start:Ie,range:x.markText(Ie,x.getCursor("to"),{className:"CodeMirror-composing"})}}),$t(ie,"compositionend",function(){z.composing&&(z.poll(),z.composing.range.clear(),z.composing=null)})},Ya.prototype.createField=function(a){this.wrapper=zu(),this.textarea=this.wrapper.firstChild},Ya.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},Ya.prototype.prepareSelection=function(){var a=this.cm,y=a.display,z=a.doc,x=hu(a);if(a.options.moveInputWithCursor){var ie=Ha(a,z.sel.primary().head,"div"),se=y.wrapper.getBoundingClientRect(),Ie=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ie.top+Ie.top-se.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ie.left+Ie.left-se.left))}return x},Ya.prototype.showSelection=function(a){var y=this.cm,z=y.display;Re(z.cursorDiv,a.cursors),Re(z.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Ya.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var z=y.getSelection();this.textarea.value=z,y.state.focused&&Ke(this.textarea),Pe&&me>=9&&(this.hasSelection=z)}else a||(this.prevInput=this.textarea.value="",Pe&&me>=9&&(this.hasSelection=null))}},Ya.prototype.getField=function(){return this.textarea},Ya.prototype.supportsTouch=function(){return!1},Ya.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ce||he()!=this.textarea))try{this.textarea.focus()}catch(a){}},Ya.prototype.blur=function(){this.textarea.blur()},Ya.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ya.prototype.receivedFocus=function(){this.slowPoll()},Ya.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Ya.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function z(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,z)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,z)},Ya.prototype.poll=function(){var a=this,y=this.cm,z=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||Un(z)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ie=z.value;if(ie==x&&!y.somethingSelected())return!1;if(Pe&&me>=9&&this.hasSelection===ie||De&&/[\uf700-\uf7ff]/.test(ie))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var se=ie.charCodeAt(0);if(se==8203&&!x&&(x="\u200B"),se==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ie=0,Ve=Math.min(x.length,ie.length);Ie<Ve&&x.charCodeAt(Ie)==ie.charCodeAt(Ie);)++Ie;return ii(y,function(){Bu(y,ie.slice(Ie),x.length-Ie,null,a.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?z.value=a.prevInput="":a.prevInput=ie,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ya.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ya.prototype.onKeyPress=function(){Pe&&me>=9&&(this.hasSelection=null),this.fastPoll()},Ya.prototype.onContextMenu=function(a){var y=this,z=y.cm,x=z.display,ie=y.textarea;y.contextMenuPending&&y.contextMenuPending();var se=Zl(z,a),Ie=x.scroller.scrollTop;if(!se||de)return;var Ve=z.options.resetSelectionOnContextMenu;Ve&&z.doc.sel.contains(se)==-1&&Xr(z,ci)(z.doc,Hn(se),Oe);var $e=ie.style.cssText,ut=y.wrapper.style.cssText,rn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-rn.top-5)+"px; left: "+(a.clientX-rn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Pe?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var mn;ve&&(mn=window.scrollY),x.input.focus(),ve&&window.scrollTo(null,mn),x.input.reset(),z.somethingSelected()||(ie.value=y.prevInput=" "),y.contextMenuPending=On,x.selForContextMenu=z.doc.sel,clearTimeout(x.detectingSelectAll);function Nn(){if(ie.selectionStart!=null){var Lr=z.somethingSelected(),ti="\u200B"+(Lr?ie.value:"");ie.value="\u21DA",ie.value=ti,y.prevInput=Lr?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=ti.length,x.selForContextMenu=z.doc.sel}}function On(){if(y.contextMenuPending==On&&(y.contextMenuPending=!1,y.wrapper.style.cssText=ut,ie.style.cssText=$e,Pe&&me<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=Ie),ie.selectionStart!=null)){(!Pe||Pe&&me<9)&&Nn();var Lr=0,ti=function(){x.selForContextMenu==z.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&y.prevInput=="\u200B"?Xr(z,Ui)(z):Lr++<10?x.detectingSelectAll=setTimeout(ti,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(ti,200)}}if(Pe&&me>=9&&Nn(),ke){ct(a);var pr=function(){qt(window,"mouseup",pr),setTimeout(On,20)};$t(window,"mouseup",pr)}else setTimeout(On,50)},Ya.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},Ya.prototype.setUneditable=function(){},Ya.prototype.needsContentAttribute=!1;function _u(a,y){if(y=y?Dt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var z=he();y.autofocus=z==a||a.getAttribute("autofocus")!=null&&z==document.body}function x(){a.value=Ve.getValue()}var ie;if(a.form&&($t(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var se=a.form;ie=se.submit;try{var Ie=se.submit=function(){x(),se.submit=ie,se.submit(),se.submit=Ie}}catch($e){}}y.finishInit=function($e){$e.save=x,$e.getTextArea=function(){return a},$e.toTextArea=function(){$e.toTextArea=isNaN,x(),a.parentNode.removeChild($e.getWrapperElement()),a.style.display="",a.form&&(qt(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ie))}},a.style.display="none";var Ve=Ma(function($e){return a.parentNode.insertBefore($e,a.nextSibling)},y);return Ve}function Qu(a){a.off=qt,a.on=$t,a.wheelEventPixels=In,a.Doc=Pi,a.splitLines=Bn,a.countColumn=Ge,a.findColumn=It,a.isWordChar=E,a.Pass=Et,a.signal=Nt,a.Line=Fo,a.changeEnd=vr,a.scrollbarModel=Tr,a.Pos=bt,a.cmpPos=Ht,a.modes=en,a.mimeModes=Qt,a.resolveMode=kn,a.getMode=Xn,a.modeExtensions=zn,a.extendMode=Fn,a.copyState=nr,a.startState=Rr,a.innerMode=tr,a.commands=as,a.keyMap=Ua,a.keyName=ms,a.isModifierKey=qs,a.lookupKey=As,a.normalizeKeyMap=ll,a.StringStream=Ir,a.SharedTextMarker=ua,a.TextMarker=$a,a.LineWidget=Uo,a.e_preventDefault=kt,a.e_stopPropagation=nn,a.e_stop=ct,a.addClass=ye,a.contains=Qe,a.rmClass=_e,a.keyNames=Yi}ju(Ma),Yu(Ma);var Ju="iter insert remove copy getEditor constructor".split(" ");for(var Cu in Pi.prototype)Pi.prototype.hasOwnProperty(Cu)&&ot(Ju,Cu)<0&&(Ma.prototype[Cu]=function(a){return function(){return a.apply(this.doc,arguments)}}(Pi.prototype[Cu]));return gt(Pi),Ma.inputStyles={textarea:Ya,contenteditable:ba},Ma.defineMode=function(a){!Ma.defaults.mode&&a!="null"&&(Ma.defaults.mode=a),wn.apply(this,arguments)},Ma.defineMIME=bn,Ma.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ma.defineMIME("text/plain","null"),Ma.defineExtension=function(a,y){Ma.prototype[a]=y},Ma.defineDocExtension=function(a,y){Pi.prototype[a]=y},Ma.fromTextArea=_u,Qu(Ma),Ma.version="5.58.2",Ma})},25419:function(Tn,sn,te){(function(b){b(te(89780),te(15525),te(98101))})(function(b){"use strict";b.defineMode("markdown",function(tt,pe){var Ue=b.getMode(tt,"text/html"),Pe=Ue.name=="null";function me(Ge){if(b.findModeByName){var Ae=b.findModeByName(Ge);Ae&&(Ge=Ae.mime||Ae.mimes[0])}var ot=b.getMode(tt,Ge);return ot.name=="null"?null:ot}pe.highlightFormatting===void 0&&(pe.highlightFormatting=!1),pe.maxBlockquoteDepth===void 0&&(pe.maxBlockquoteDepth=0),pe.taskLists===void 0&&(pe.taskLists=!1),pe.strikethrough===void 0&&(pe.strikethrough=!1),pe.emoji===void 0&&(pe.emoji=!1),pe.fencedCodeBlockHighlighting===void 0&&(pe.fencedCodeBlockHighlighting=!0),pe.fencedCodeBlockDefaultMode===void 0&&(pe.fencedCodeBlockDefaultMode="text/plain"),pe.xml===void 0&&(pe.xml=!0),pe.tokenTypeOverrides===void 0&&(pe.tokenTypeOverrides={});var ve={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 fe in ve)ve.hasOwnProperty(fe)&&pe.tokenTypeOverrides[fe]&&(ve[fe]=pe.tokenTypeOverrides[fe]);var be=/^([*\-_])(?:\s*\1){2,}\s*$/,de=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Le=/^\[(x| )\](?=\s)/i,we=pe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Te=/^ {0,3}(?:\={1,}|-{2,})\s*$/,xe=/^[^#!\[\]*_\\<>` "'(~:]+/,Fe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ce=/^\s*\[[^\]]+?\]:.*$/,De=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Be=" ";function Ze(Ge,Ae,ot){return Ae.f=Ae.inline=ot,ot(Ge,Ae)}function rt(Ge,Ae,ot){return Ae.f=Ae.block=ot,ot(Ge,Ae)}function ce(Ge){return!Ge||!/\S/.test(Ge.string)}function ke(Ge){if(Ge.linkTitle=!1,Ge.linkHref=!1,Ge.linkText=!1,Ge.em=!1,Ge.strong=!1,Ge.strikethrough=!1,Ge.quote=0,Ge.indentedCode=!1,Ge.f==_e){var Ae=Pe;if(!Ae){var ot=b.innerMode(Ue,Ge.htmlState);Ae=ot.mode.name=="xml"&&ot.state.tagStart===null&&!ot.state.context&&ot.state.tokenize.isInText}Ae&&(Ge.f=lt,Ge.block=qe,Ge.htmlState=null)}return Ge.trailingSpace=0,Ge.trailingSpaceNewLine=!1,Ge.prevLine=Ge.thisLine,Ge.thisLine={stream:null},null}function qe(Ge,Ae){var ot=Ge.column()===Ae.indentation,zt=ce(Ae.prevLine.stream),Et=Ae.indentedCode,Oe=Ae.prevLine.hr,Je=Ae.list!==!1,dt=(Ae.listStack[Ae.listStack.length-1]||0)+3;Ae.indentedCode=!1;var It=Ae.indentation;if(Ae.indentationDiff===null&&(Ae.indentationDiff=Ae.indentation,Je)){for(Ae.list=null;It<Ae.listStack[Ae.listStack.length-1];)Ae.listStack.pop(),Ae.listStack.length?Ae.indentation=Ae.listStack[Ae.listStack.length-1]:Ae.list=!1;Ae.list!==!1&&(Ae.indentationDiff=It-Ae.listStack[Ae.listStack.length-1])}var st=!zt&&!Oe&&!Ae.prevLine.header&&(!Je||!Et)&&!Ae.prevLine.fencedCodeEnd,Ft=(Ae.list===!1||Oe||zt)&&Ae.indentation<=dt&&Ge.match(be),ft=null;if(Ae.indentationDiff>=4&&(Et||Ae.prevLine.fencedCodeEnd||Ae.prevLine.header||zt))return Ge.skipToEnd(),Ae.indentedCode=!0,ve.code;if(Ge.eatSpace())return null;if(ot&&Ae.indentation<=dt&&(ft=Ge.match(we))&&ft[1].length<=6)return Ae.quote=0,Ae.header=ft[1].length,Ae.thisLine.header=!0,pe.highlightFormatting&&(Ae.formatting="header"),Ae.f=Ae.inline,Re(Ae);if(Ae.indentation<=dt&&Ge.eat(">"))return Ae.quote=ot?1:Ae.quote+1,pe.highlightFormatting&&(Ae.formatting="quote"),Ge.eatSpace(),Re(Ae);if(!Ft&&!Ae.setext&&ot&&Ae.indentation<=dt&&(ft=Ge.match(de))){var Gt=ft[1]?"ol":"ul";return Ae.indentation=It+Ge.current().length,Ae.list=!0,Ae.quote=0,Ae.listStack.push(Ae.indentation),Ae.em=!1,Ae.strong=!1,Ae.code=!1,Ae.strikethrough=!1,pe.taskLists&&Ge.match(Le,!1)&&(Ae.taskList=!0),Ae.f=Ae.inline,pe.highlightFormatting&&(Ae.formatting=["list","list-"+Gt]),Re(Ae)}else{if(ot&&Ae.indentation<=dt&&(ft=Ge.match(Fe,!0)))return Ae.quote=0,Ae.fencedEndRE=new RegExp(ft[1]+"+ *$"),Ae.localMode=pe.fencedCodeBlockHighlighting&&me(ft[2]||pe.fencedCodeBlockDefaultMode),Ae.localMode&&(Ae.localState=b.startState(Ae.localMode)),Ae.f=Ae.block=mt,pe.highlightFormatting&&(Ae.formatting="code-block"),Ae.code=-1,Re(Ae);if(Ae.setext||(!st||!Je)&&!Ae.quote&&Ae.list===!1&&!Ae.code&&!Ft&&!Ce.test(Ge.string)&&(ft=Ge.lookAhead(1))&&(ft=ft.match(Te)))return Ae.setext?(Ae.header=Ae.setext,Ae.setext=0,Ge.skipToEnd(),pe.highlightFormatting&&(Ae.formatting="header")):(Ae.header=ft[0].charAt(0)=="="?1:2,Ae.setext=Ae.header),Ae.thisLine.header=!0,Ae.f=Ae.inline,Re(Ae);if(Ft)return Ge.skipToEnd(),Ae.hr=!0,Ae.thisLine.hr=!0,ve.hr;if(Ge.peek()==="[")return Ze(Ge,Ae,Ct)}return Ze(Ge,Ae,Ae.inline)}function _e(Ge,Ae){var ot=Ue.token(Ge,Ae.htmlState);if(!Pe){var zt=b.innerMode(Ue,Ae.htmlState);(zt.mode.name=="xml"&&zt.state.tagStart===null&&!zt.state.context&&zt.state.tokenize.isInText||Ae.md_inside&&Ge.current().indexOf(">")>-1)&&(Ae.f=lt,Ae.block=qe,Ae.htmlState=null)}return ot}function mt(Ge,Ae){var ot=Ae.listStack[Ae.listStack.length-1]||0,zt=Ae.indentation<ot,Et=ot+3;if(Ae.fencedEndRE&&Ae.indentation<=Et&&(zt||Ge.match(Ae.fencedEndRE))){pe.highlightFormatting&&(Ae.formatting="code-block");var Oe;return zt||(Oe=Re(Ae)),Ae.localMode=Ae.localState=null,Ae.block=qe,Ae.f=lt,Ae.fencedEndRE=null,Ae.code=0,Ae.thisLine.fencedCodeEnd=!0,zt?rt(Ge,Ae,Ae.block):Oe}else return Ae.localMode?Ae.localMode.token(Ge,Ae.localState):(Ge.skipToEnd(),ve.code)}function Re(Ge){var Ae=[];if(Ge.formatting){Ae.push(ve.formatting),typeof Ge.formatting=="string"&&(Ge.formatting=[Ge.formatting]);for(var ot=0;ot<Ge.formatting.length;ot++)Ae.push(ve.formatting+"-"+Ge.formatting[ot]),Ge.formatting[ot]==="header"&&Ae.push(ve.formatting+"-"+Ge.formatting[ot]+"-"+Ge.header),Ge.formatting[ot]==="quote"&&(!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=Ge.quote?Ae.push(ve.formatting+"-"+Ge.formatting[ot]+"-"+Ge.quote):Ae.push("error"))}if(Ge.taskOpen)return Ae.push("meta"),Ae.length?Ae.join(" "):null;if(Ge.taskClosed)return Ae.push("property"),Ae.length?Ae.join(" "):null;if(Ge.linkHref?Ae.push(ve.linkHref,"url"):(Ge.strong&&Ae.push(ve.strong),Ge.em&&Ae.push(ve.em),Ge.strikethrough&&Ae.push(ve.strikethrough),Ge.emoji&&Ae.push(ve.emoji),Ge.linkText&&Ae.push(ve.linkText),Ge.code&&Ae.push(ve.code),Ge.image&&Ae.push(ve.image),Ge.imageAltText&&Ae.push(ve.imageAltText,"link"),Ge.imageMarker&&Ae.push(ve.imageMarker)),Ge.header&&Ae.push(ve.header,ve.header+"-"+Ge.header),Ge.quote&&(Ae.push(ve.quote),!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=Ge.quote?Ae.push(ve.quote+"-"+Ge.quote):Ae.push(ve.quote+"-"+pe.maxBlockquoteDepth)),Ge.list!==!1){var zt=(Ge.listStack.length-1)%3;zt?zt===1?Ae.push(ve.list2):Ae.push(ve.list3):Ae.push(ve.list1)}return Ge.trailingSpaceNewLine?Ae.push("trailing-space-new-line"):Ge.trailingSpace&&Ae.push("trailing-space-"+(Ge.trailingSpace%2?"a":"b")),Ae.length?Ae.join(" "):null}function Ye(Ge,Ae){if(Ge.match(xe,!0))return Re(Ae)}function lt(Ge,Ae){var ot=Ae.text(Ge,Ae);if(typeof ot!="undefined")return ot;if(Ae.list)return Ae.list=null,Re(Ae);if(Ae.taskList){var zt=Ge.match(Le,!0)[1]===" ";return zt?Ae.taskOpen=!0:Ae.taskClosed=!0,pe.highlightFormatting&&(Ae.formatting="task"),Ae.taskList=!1,Re(Ae)}if(Ae.taskOpen=!1,Ae.taskClosed=!1,Ae.header&&Ge.match(/^#+$/,!0))return pe.highlightFormatting&&(Ae.formatting="header"),Re(Ae);var Et=Ge.next();if(Ae.linkTitle){Ae.linkTitle=!1;var Oe=Et;Et==="("&&(Oe=")"),Oe=(Oe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Je="^\\s*(?:[^"+Oe+"\\\\]+|\\\\\\\\|\\\\.)"+Oe;if(Ge.match(new RegExp(Je),!0))return ve.linkHref}if(Et==="`"){var dt=Ae.formatting;pe.highlightFormatting&&(Ae.formatting="code"),Ge.eatWhile("`");var It=Ge.current().length;if(Ae.code==0&&(!Ae.quote||It==1))return Ae.code=It,Re(Ae);if(It==Ae.code){var st=Re(Ae);return Ae.code=0,st}else return Ae.formatting=dt,Re(Ae)}else if(Ae.code)return Re(Ae);if(Et==="\\"&&(Ge.next(),pe.highlightFormatting)){var Ft=Re(Ae),ft=ve.formatting+"-escape";return Ft?Ft+" "+ft:ft}if(Et==="!"&&Ge.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ae.imageMarker=!0,Ae.image=!0,pe.highlightFormatting&&(Ae.formatting="image"),Re(Ae);if(Et==="["&&Ae.imageMarker&&Ge.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ae.imageMarker=!1,Ae.imageAltText=!0,pe.highlightFormatting&&(Ae.formatting="image"),Re(Ae);if(Et==="]"&&Ae.imageAltText){pe.highlightFormatting&&(Ae.formatting="image");var Ft=Re(Ae);return Ae.imageAltText=!1,Ae.image=!1,Ae.inline=Ae.f=Qe,Ft}if(Et==="["&&!Ae.image)return Ae.linkText&&Ge.match(/^.*?\]/)||(Ae.linkText=!0,pe.highlightFormatting&&(Ae.formatting="link")),Re(Ae);if(Et==="]"&&Ae.linkText){pe.highlightFormatting&&(Ae.formatting="link");var Ft=Re(Ae);return Ae.linkText=!1,Ae.inline=Ae.f=Ge.match(/\(.*?\)| ?\[.*?\]/,!1)?Qe:lt,Ft}if(Et==="<"&&Ge.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ae.f=Ae.inline=Se,pe.highlightFormatting&&(Ae.formatting="link");var Ft=Re(Ae);return Ft?Ft+=" ":Ft="",Ft+ve.linkInline}if(Et==="<"&&Ge.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ae.f=Ae.inline=Se,pe.highlightFormatting&&(Ae.formatting="link");var Ft=Re(Ae);return Ft?Ft+=" ":Ft="",Ft+ve.linkEmail}if(pe.xml&&Et==="<"&&Ge.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Gt=Ge.string.indexOf(">",Ge.pos);if(Gt!=-1){var Pt=Ge.string.substring(Ge.start,Gt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Pt)&&(Ae.md_inside=!0)}return Ge.backUp(1),Ae.htmlState=b.startState(Ue),rt(Ge,Ae,_e)}if(pe.xml&&Et==="<"&&Ge.match(/^\/\w*?>/))return Ae.md_inside=!1,"tag";if(Et==="*"||Et==="_"){for(var oe=1,ae=Ge.pos==1?" ":Ge.string.charAt(Ge.pos-2);oe<3&&Ge.eat(Et);)oe++;var ee=Ge.peek()||" ",E=!/\s/.test(ee)&&(!De.test(ee)||/\s/.test(ae)||De.test(ae)),re=!/\s/.test(ae)&&(!De.test(ae)||/\s/.test(ee)||De.test(ee)),ne=null,le=null;if(oe%2&&(!Ae.em&&E&&(Et==="*"||!re||De.test(ae))?ne=!0:Ae.em==Et&&re&&(Et==="*"||!E||De.test(ee))&&(ne=!1)),oe>1&&(!Ae.strong&&E&&(Et==="*"||!re||De.test(ae))?le=!0:Ae.strong==Et&&re&&(Et==="*"||!E||De.test(ee))&&(le=!1)),le!=null||ne!=null){pe.highlightFormatting&&(Ae.formatting=ne==null?"strong":le==null?"em":"strong em"),ne===!0&&(Ae.em=Et),le===!0&&(Ae.strong=Et);var st=Re(Ae);return ne===!1&&(Ae.em=!1),le===!1&&(Ae.strong=!1),st}}else if(Et===" "&&(Ge.eat("*")||Ge.eat("_"))){if(Ge.peek()===" ")return Re(Ae);Ge.backUp(1)}if(pe.strikethrough){if(Et==="~"&&Ge.eatWhile(Et)){if(Ae.strikethrough){pe.highlightFormatting&&(Ae.formatting="strikethrough");var st=Re(Ae);return Ae.strikethrough=!1,st}else if(Ge.match(/^[^\s]/,!1))return Ae.strikethrough=!0,pe.highlightFormatting&&(Ae.formatting="strikethrough"),Re(Ae)}else if(Et===" "&&Ge.match(/^~~/,!0)){if(Ge.peek()===" ")return Re(Ae);Ge.backUp(2)}}if(pe.emoji&&Et===":"&&Ge.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ae.emoji=!0,pe.highlightFormatting&&(Ae.formatting="emoji");var ge=Re(Ae);return Ae.emoji=!1,ge}return Et===" "&&(Ge.match(/^ +$/,!1)?Ae.trailingSpace++:Ae.trailingSpace&&(Ae.trailingSpaceNewLine=!0)),Re(Ae)}function Se(Ge,Ae){var ot=Ge.next();if(ot===">"){Ae.f=Ae.inline=lt,pe.highlightFormatting&&(Ae.formatting="link");var zt=Re(Ae);return zt?zt+=" ":zt="",zt+ve.linkInline}return Ge.match(/^[^>]+/,!0),ve.linkInline}function Qe(Ge,Ae){if(Ge.eatSpace())return null;var ot=Ge.next();return ot==="("||ot==="["?(Ae.f=Ae.inline=ye(ot==="("?")":"]"),pe.highlightFormatting&&(Ae.formatting="link-string"),Ae.linkHref=!0,Re(Ae)):"error"}var he={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ye(Ge){return function(Ae,ot){var zt=Ae.next();if(zt===Ge){ot.f=ot.inline=lt,pe.highlightFormatting&&(ot.formatting="link-string");var Et=Re(ot);return ot.linkHref=!1,Et}return Ae.match(he[Ge]),ot.linkHref=!0,Re(ot)}}function Ct(Ge,Ae){return Ge.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ae.f=Ke,Ge.next(),pe.highlightFormatting&&(Ae.formatting="link"),Ae.linkText=!0,Re(Ae)):Ze(Ge,Ae,lt)}function Ke(Ge,Ae){if(Ge.match(/^\]:/,!0)){Ae.f=Ae.inline=yt,pe.highlightFormatting&&(Ae.formatting="link");var ot=Re(Ae);return Ae.linkText=!1,ot}return Ge.match(/^([^\]\\]|\\.)+/,!0),ve.linkText}function yt(Ge,Ae){return Ge.eatSpace()?null:(Ge.match(/^[^\s]+/,!0),Ge.peek()===void 0?Ae.linkTitle=!0:Ge.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ae.f=Ae.inline=lt,ve.linkHref+" url")}var Dt={startState:function(){return{f:qe,prevLine:{stream:null},thisLine:{stream:null},block:qe,htmlState:null,indentation:0,inline:lt,text:Ye,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(Ge){return{f:Ge.f,prevLine:Ge.prevLine,thisLine:Ge.thisLine,block:Ge.block,htmlState:Ge.htmlState&&b.copyState(Ue,Ge.htmlState),indentation:Ge.indentation,localMode:Ge.localMode,localState:Ge.localMode?b.copyState(Ge.localMode,Ge.localState):null,inline:Ge.inline,text:Ge.text,formatting:!1,linkText:Ge.linkText,linkTitle:Ge.linkTitle,linkHref:Ge.linkHref,code:Ge.code,em:Ge.em,strong:Ge.strong,strikethrough:Ge.strikethrough,emoji:Ge.emoji,header:Ge.header,setext:Ge.setext,hr:Ge.hr,taskList:Ge.taskList,list:Ge.list,listStack:Ge.listStack.slice(0),quote:Ge.quote,indentedCode:Ge.indentedCode,trailingSpace:Ge.trailingSpace,trailingSpaceNewLine:Ge.trailingSpaceNewLine,md_inside:Ge.md_inside,fencedEndRE:Ge.fencedEndRE}},token:function(Ge,Ae){if(Ae.formatting=!1,Ge!=Ae.thisLine.stream){if(Ae.header=0,Ae.hr=!1,Ge.match(/^\s*$/,!0))return ke(Ae),null;if(Ae.prevLine=Ae.thisLine,Ae.thisLine={stream:Ge},Ae.taskList=!1,Ae.trailingSpace=0,Ae.trailingSpaceNewLine=!1,!Ae.localState&&(Ae.f=Ae.block,Ae.f!=_e)){var ot=Ge.match(/^\s*/,!0)[0].replace(/\t/g,Be).length;if(Ae.indentation=ot,Ae.indentationDiff=null,ot>0)return null}}return Ae.f(Ge,Ae)},innerMode:function(Ge){return Ge.block==_e?{state:Ge.htmlState,mode:Ue}:Ge.localState?{state:Ge.localState,mode:Ge.localMode}:{state:Ge,mode:Dt}},indent:function(Ge,Ae,ot){return Ge.block==_e&&Ue.indent?Ue.indent(Ge.htmlState,Ae,ot):Ge.localState&&Ge.localMode.indent?Ge.localMode.indent(Ge.localState,Ae,ot):b.Pass},blankLine:ke,getType:Re,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Dt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){"use strict";b.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 tt=0;tt<b.modeInfo.length;tt++){var pe=b.modeInfo[tt];pe.mimes&&(pe.mime=pe.mimes[0])}b.findModeByMIME=function(Ue){Ue=Ue.toLowerCase();for(var Pe=0;Pe<b.modeInfo.length;Pe++){var me=b.modeInfo[Pe];if(me.mime==Ue)return me;if(me.mimes){for(var ve=0;ve<me.mimes.length;ve++)if(me.mimes[ve]==Ue)return me}}if(/\+xml$/.test(Ue))return b.findModeByMIME("application/xml");if(/\+json$/.test(Ue))return b.findModeByMIME("application/json")},b.findModeByExtension=function(Ue){Ue=Ue.toLowerCase();for(var Pe=0;Pe<b.modeInfo.length;Pe++){var me=b.modeInfo[Pe];if(me.ext){for(var ve=0;ve<me.ext.length;ve++)if(me.ext[ve]==Ue)return me}}},b.findModeByFileName=function(Ue){for(var Pe=0;Pe<b.modeInfo.length;Pe++){var me=b.modeInfo[Pe];if(me.file&&me.file.test(Ue))return me}var ve=Ue.lastIndexOf("."),fe=ve>-1&&Ue.substring(ve+1,Ue.length);if(fe)return b.findModeByExtension(fe)},b.findModeByName=function(Ue){Ue=Ue.toLowerCase();for(var Pe=0;Pe<b.modeInfo.length;Pe++){var me=b.modeInfo[Pe];if(me.name.toLowerCase()==Ue)return me;if(me.alias){for(var ve=0;ve<me.alias.length;ve++)if(me.alias[ve].toLowerCase()==Ue)return me}}}})},67549:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){"use strict";b.defineMode("stex",function(tt,pe){"use strict";function Ue(xe,Fe){xe.cmdState.push(Fe)}function Pe(xe){return xe.cmdState.length>0?xe.cmdState[xe.cmdState.length-1]:null}function me(xe){var Fe=xe.cmdState.pop();Fe&&Fe.closeBracket()}function ve(xe){for(var Fe=xe.cmdState,Ce=Fe.length-1;Ce>=0;Ce--){var De=Fe[Ce];if(De.name!="DEFAULT")return De}return{styleIdentifier:function(){return null}}}function fe(xe,Fe,Ce){return function(){this.name=xe,this.bracketNo=0,this.style=Fe,this.styles=Ce,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var be={};be.importmodule=fe("importmodule","tag",["string","builtin"]),be.documentclass=fe("documentclass","tag",["","atom"]),be.usepackage=fe("usepackage","tag",["atom"]),be.begin=fe("begin","tag",["atom"]),be.end=fe("end","tag",["atom"]),be.label=fe("label","tag",["atom"]),be.ref=fe("ref","tag",["atom"]),be.eqref=fe("eqref","tag",["atom"]),be.cite=fe("cite","tag",["atom"]),be.bibitem=fe("bibitem","tag",["atom"]),be.Bibitem=fe("Bibitem","tag",["atom"]),be.RBibitem=fe("RBibitem","tag",["atom"]),be.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function de(xe,Fe){xe.f=Fe}function Le(xe,Fe){var Ce;if(xe.match(/^\\[a-zA-Z@]+/)){var De=xe.current().slice(1);return Ce=be.hasOwnProperty(De)?be[De]:be.DEFAULT,Ce=new Ce,Ue(Fe,Ce),de(Fe,Te),Ce.style}if(xe.match(/^\\[$&%#{}_]/)||xe.match(/^\\[,;!\/\\]/))return"tag";if(xe.match("\\["))return de(Fe,function(Ze,rt){return we(Ze,rt,"\\]")}),"keyword";if(xe.match("\\("))return de(Fe,function(Ze,rt){return we(Ze,rt,"\\)")}),"keyword";if(xe.match("$$"))return de(Fe,function(Ze,rt){return we(Ze,rt,"$$")}),"keyword";if(xe.match("$"))return de(Fe,function(Ze,rt){return we(Ze,rt,"$")}),"keyword";var Be=xe.next();if(Be=="%")return xe.skipToEnd(),"comment";if(Be=="}"||Be=="]"){if(Ce=Pe(Fe),Ce)Ce.closeBracket(Be),de(Fe,Te);else return"error";return"bracket"}else return Be=="{"||Be=="["?(Ce=be.DEFAULT,Ce=new Ce,Ue(Fe,Ce),"bracket"):/\d/.test(Be)?(xe.eatWhile(/[\w.%]/),"atom"):(xe.eatWhile(/[\w\-_]/),Ce=ve(Fe),Ce.name=="begin"&&(Ce.argument=xe.current()),Ce.styleIdentifier())}function we(xe,Fe,Ce){if(xe.eatSpace())return null;if(Ce&&xe.match(Ce))return de(Fe,Le),"keyword";if(xe.match(/^\\[a-zA-Z@]+/))return"tag";if(xe.match(/^[a-zA-Z]+/))return"variable-2";if(xe.match(/^\\[$&%#{}_]/)||xe.match(/^\\[,;!\/]/)||xe.match(/^[\^_&]/))return"tag";if(xe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(xe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var De=xe.next();return De=="{"||De=="}"||De=="["||De=="]"||De=="("||De==")"?"bracket":De=="%"?(xe.skipToEnd(),"comment"):"error"}function Te(xe,Fe){var Ce=xe.peek(),De;return Ce=="{"||Ce=="["?(De=Pe(Fe),De.openBracket(Ce),xe.eat(Ce),de(Fe,Le),"bracket"):/[ \t\r]/.test(Ce)?(xe.eat(Ce),null):(de(Fe,Le),me(Fe),Le(xe,Fe))}return{startState:function(){var xe=pe.inMathMode?function(Fe,Ce){return we(Fe,Ce)}:Le;return{cmdState:[],f:xe}},copyState:function(xe){return{cmdState:xe.cmdState.slice(),f:xe.f}},token:function(xe,Fe){return Fe.f(xe,Fe)},blankLine:function(xe){xe.f=Le,xe.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Tn,sn,te){(function(b){b(te(89780))})(function(b){"use strict";var tt={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},pe={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(Ue,Pe){var me=Ue.indentUnit,ve={},fe=Pe.htmlMode?tt:pe;for(var be in fe)ve[be]=fe[be];for(var be in Pe)ve[be]=Pe[be];var de,Le;function we(Se,Qe){function he(Ke){return Qe.tokenize=Ke,Ke(Se,Qe)}var ye=Se.next();if(ye=="<")return Se.eat("!")?Se.eat("[")?Se.match("CDATA[")?he(Fe("atom","]]>")):null:Se.match("--")?he(Fe("comment","-->")):Se.match("DOCTYPE",!0,!0)?(Se.eatWhile(/[\w\._\-]/),he(Ce(1))):null:Se.eat("?")?(Se.eatWhile(/[\w\._\-]/),Qe.tokenize=Fe("meta","?>"),"meta"):(de=Se.eat("/")?"closeTag":"openTag",Qe.tokenize=Te,"tag bracket");if(ye=="&"){var Ct;return Se.eat("#")?Se.eat("x")?Ct=Se.eatWhile(/[a-fA-F\d]/)&&Se.eat(";"):Ct=Se.eatWhile(/[\d]/)&&Se.eat(";"):Ct=Se.eatWhile(/[\w\.\-:]/)&&Se.eat(";"),Ct?"atom":"error"}else return Se.eatWhile(/[^&<]/),null}we.isInText=!0;function Te(Se,Qe){var he=Se.next();if(he==">"||he=="/"&&Se.eat(">"))return Qe.tokenize=we,de=he==">"?"endTag":"selfcloseTag","tag bracket";if(he=="=")return de="equals",null;if(he=="<"){Qe.tokenize=we,Qe.state=rt,Qe.tagName=Qe.tagStart=null;var ye=Qe.tokenize(Se,Qe);return ye?ye+" tag error":"tag error"}else return/[\'\"]/.test(he)?(Qe.tokenize=xe(he),Qe.stringStartCol=Se.column(),Qe.tokenize(Se,Qe)):(Se.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function xe(Se){var Qe=function(he,ye){for(;!he.eol();)if(he.next()==Se){ye.tokenize=Te;break}return"string"};return Qe.isInAttribute=!0,Qe}function Fe(Se,Qe){return function(he,ye){for(;!he.eol();){if(he.match(Qe)){ye.tokenize=we;break}he.next()}return Se}}function Ce(Se){return function(Qe,he){for(var ye;(ye=Qe.next())!=null;){if(ye=="<")return he.tokenize=Ce(Se+1),he.tokenize(Qe,he);if(ye==">")if(Se==1){he.tokenize=we;break}else return he.tokenize=Ce(Se-1),he.tokenize(Qe,he)}return"meta"}}function De(Se,Qe,he){this.prev=Se.context,this.tagName=Qe,this.indent=Se.indented,this.startOfLine=he,(ve.doNotIndent.hasOwnProperty(Qe)||Se.context&&Se.context.noIndent)&&(this.noIndent=!0)}function Be(Se){Se.context&&(Se.context=Se.context.prev)}function Ze(Se,Qe){for(var he;;){if(!Se.context||(he=Se.context.tagName,!ve.contextGrabbers.hasOwnProperty(he)||!ve.contextGrabbers[he].hasOwnProperty(Qe)))return;Be(Se)}}function rt(Se,Qe,he){return Se=="openTag"?(he.tagStart=Qe.column(),ce):Se=="closeTag"?ke:rt}function ce(Se,Qe,he){return Se=="word"?(he.tagName=Qe.current(),Le="tag",mt):ve.allowMissingTagName&&Se=="endTag"?(Le="tag bracket",mt(Se,Qe,he)):(Le="error",ce)}function ke(Se,Qe,he){if(Se=="word"){var ye=Qe.current();return he.context&&he.context.tagName!=ye&&ve.implicitlyClosed.hasOwnProperty(he.context.tagName)&&Be(he),he.context&&he.context.tagName==ye||ve.matchClosing===!1?(Le="tag",qe):(Le="tag error",_e)}else return ve.allowMissingTagName&&Se=="endTag"?(Le="tag bracket",qe(Se,Qe,he)):(Le="error",_e)}function qe(Se,Qe,he){return Se!="endTag"?(Le="error",qe):(Be(he),rt)}function _e(Se,Qe,he){return Le="error",qe(Se,Qe,he)}function mt(Se,Qe,he){if(Se=="word")return Le="attribute",Re;if(Se=="endTag"||Se=="selfcloseTag"){var ye=he.tagName,Ct=he.tagStart;return he.tagName=he.tagStart=null,Se=="selfcloseTag"||ve.autoSelfClosers.hasOwnProperty(ye)?Ze(he,ye):(Ze(he,ye),he.context=new De(he,ye,Ct==he.indented)),rt}return Le="error",mt}function Re(Se,Qe,he){return Se=="equals"?Ye:(ve.allowMissing||(Le="error"),mt(Se,Qe,he))}function Ye(Se,Qe,he){return Se=="string"?lt:Se=="word"&&ve.allowUnquoted?(Le="string",mt):(Le="error",mt(Se,Qe,he))}function lt(Se,Qe,he){return Se=="string"?lt:mt(Se,Qe,he)}return{startState:function(Se){var Qe={tokenize:we,state:rt,indented:Se||0,tagName:null,tagStart:null,context:null};return Se!=null&&(Qe.baseIndent=Se),Qe},token:function(Se,Qe){if(!Qe.tagName&&Se.sol()&&(Qe.indented=Se.indentation()),Se.eatSpace())return null;de=null;var he=Qe.tokenize(Se,Qe);return(he||de)&&he!="comment"&&(Le=null,Qe.state=Qe.state(de||he,Se,Qe),Le&&(he=Le=="error"?he+" error":Le)),he},indent:function(Se,Qe,he){var ye=Se.context;if(Se.tokenize.isInAttribute)return Se.tagStart==Se.indented?Se.stringStartCol+1:Se.indented+me;if(ye&&ye.noIndent)return b.Pass;if(Se.tokenize!=Te&&Se.tokenize!=we)return he?he.match(/^(\s*)/)[0].length:0;if(Se.tagName)return ve.multilineTagIndentPastTag!==!1?Se.tagStart+Se.tagName.length+2:Se.tagStart+me*(ve.multilineTagIndentFactor||1);if(ve.alignCDATA&&/<!\[CDATA\[/.test(Qe))return 0;var Ct=Qe&&/^<(\/)?([\w_:\.-]*)/.exec(Qe);if(Ct&&Ct[1])for(;ye;)if(ye.tagName==Ct[2]){ye=ye.prev;break}else if(ve.implicitlyClosed.hasOwnProperty(ye.tagName))ye=ye.prev;else break;else if(Ct)for(;ye;){var Ke=ve.contextGrabbers[ye.tagName];if(Ke&&Ke.hasOwnProperty(Ct[2]))ye=ye.prev;else break}for(;ye&&ye.prev&&!ye.startOfLine;)ye=ye.prev;return ye?ye.indent+me:Se.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ve.htmlMode?"html":"xml",helperType:ve.htmlMode?"html":"xml",skipAttribute:function(Se){Se.state==Ye&&(Se.state=mt)},xmlCurrentTag:function(Se){return Se.tagName?{name:Se.tagName,close:Se.type=="closeTag"}:null},xmlCurrentContext:function(Se){for(var Qe=[],he=Se.context;he;he=he.prev)he.tagName&&Qe.push(he.tagName);return Qe.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},67467:function(Tn,sn){sn.read=function(te,b,tt,pe,Ue){var Pe,me,ve=Ue*8-pe-1,fe=(1<<ve)-1,be=fe>>1,de=-7,Le=tt?Ue-1:0,we=tt?-1:1,Te=te[b+Le];for(Le+=we,Pe=Te&(1<<-de)-1,Te>>=-de,de+=ve;de>0;Pe=Pe*256+te[b+Le],Le+=we,de-=8);for(me=Pe&(1<<-de)-1,Pe>>=-de,de+=pe;de>0;me=me*256+te[b+Le],Le+=we,de-=8);if(Pe===0)Pe=1-be;else{if(Pe===fe)return me?NaN:(Te?-1:1)*(1/0);me=me+Math.pow(2,pe),Pe=Pe-be}return(Te?-1:1)*me*Math.pow(2,Pe-pe)},sn.write=function(te,b,tt,pe,Ue,Pe){var me,ve,fe,be=Pe*8-Ue-1,de=(1<<be)-1,Le=de>>1,we=Ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,Te=pe?0:Pe-1,xe=pe?1:-1,Fe=b<0||b===0&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(ve=isNaN(b)?1:0,me=de):(me=Math.floor(Math.log(b)/Math.LN2),b*(fe=Math.pow(2,-me))<1&&(me--,fe*=2),me+Le>=1?b+=we/fe:b+=we*Math.pow(2,1-Le),b*fe>=2&&(me++,fe/=2),me+Le>=de?(ve=0,me=de):me+Le>=1?(ve=(b*fe-1)*Math.pow(2,Ue),me=me+Le):(ve=b*Math.pow(2,Le-1)*Math.pow(2,Ue),me=0));Ue>=8;te[tt+Te]=ve&255,Te+=xe,ve/=256,Ue-=8);for(me=me<<Ue|ve,be+=Ue;be>0;te[tt+Te]=me&255,Te+=xe,me/=256,be-=8);te[tt+Te-xe]|=Fe*128}},86129:function(Tn,sn,te){var b=te(19208).lW,tt=te(97671);(function(pe){Tn.exports=pe()})(function(){return function pe(Ue,Pe,me){function ve(de,Le){if(!Pe[de]){if(!Ue[de]){var we=void 0;if(!Le&&we)return require(de,!0);if(fe)return fe(de,!0);var Te=new Error("Cannot find module '"+de+"'");throw Te.code="MODULE_NOT_FOUND",Te}var xe=Pe[de]={exports:{}};Ue[de][0].call(xe.exports,function(Fe){var Ce=Ue[de][1][Fe];return ve(Ce||Fe)},xe,xe.exports,pe,Ue,Pe,me)}return Pe[de].exports}for(var fe=void 0,be=0;be<me.length;be++)ve(me[be]);return ve}({1:[function(pe,Ue,Pe){"use strict";var me=pe("./utils"),ve=pe("./support"),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Pe.encode=function(be){for(var de,Le,we,Te,xe,Fe,Ce,De=[],Be=0,Ze=be.length,rt=Ze,ce=me.getTypeOf(be)!=="string";Be<be.length;)rt=Ze-Be,we=ce?(de=be[Be++],Le=Be<Ze?be[Be++]:0,Be<Ze?be[Be++]:0):(de=be.charCodeAt(Be++),Le=Be<Ze?be.charCodeAt(Be++):0,Be<Ze?be.charCodeAt(Be++):0),Te=de>>2,xe=(3&de)<<4|Le>>4,Fe=1<rt?(15&Le)<<2|we>>6:64,Ce=2<rt?63&we:64,De.push(fe.charAt(Te)+fe.charAt(xe)+fe.charAt(Fe)+fe.charAt(Ce));return De.join("")},Pe.decode=function(be){var de,Le,we,Te,xe,Fe,Ce=0,De=0,Be="data:";if(be.substr(0,Be.length)===Be)throw new Error("Invalid base64 input, it looks like a data url.");var Ze,rt=3*(be=be.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(be.charAt(be.length-1)===fe.charAt(64)&&rt--,be.charAt(be.length-2)===fe.charAt(64)&&rt--,rt%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Ze=ve.uint8array?new Uint8Array(0|rt):new Array(0|rt);Ce<be.length;)de=fe.indexOf(be.charAt(Ce++))<<2|(Te=fe.indexOf(be.charAt(Ce++)))>>4,Le=(15&Te)<<4|(xe=fe.indexOf(be.charAt(Ce++)))>>2,we=(3&xe)<<6|(Fe=fe.indexOf(be.charAt(Ce++))),Ze[De++]=de,xe!==64&&(Ze[De++]=Le),Fe!==64&&(Ze[De++]=we);return Ze}},{"./support":30,"./utils":32}],2:[function(pe,Ue,Pe){"use strict";var me=pe("./external"),ve=pe("./stream/DataWorker"),fe=pe("./stream/Crc32Probe"),be=pe("./stream/DataLengthProbe");function de(Le,we,Te,xe,Fe){this.compressedSize=Le,this.uncompressedSize=we,this.crc32=Te,this.compression=xe,this.compressedContent=Fe}de.prototype={getContentWorker:function(){var Le=new ve(me.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new be("data_length")),we=this;return Le.on("end",function(){if(this.streamInfo.data_length!==we.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Le},getCompressedWorker:function(){return new ve(me.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},de.createWorkerFrom=function(Le,we,Te){return Le.pipe(new fe).pipe(new be("uncompressedSize")).pipe(we.compressWorker(Te)).pipe(new be("compressedSize")).withStreamInfo("compression",we)},Ue.exports=de},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(pe,Ue,Pe){"use strict";var me=pe("./stream/GenericWorker");Pe.STORE={magic:"\0\0",compressWorker:function(){return new me("STORE compression")},uncompressWorker:function(){return new me("STORE decompression")}},Pe.DEFLATE=pe("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(pe,Ue,Pe){"use strict";var me=pe("./utils"),ve=function(){for(var fe,be=[],de=0;de<256;de++){fe=de;for(var Le=0;Le<8;Le++)fe=1&fe?3988292384^fe>>>1:fe>>>1;be[de]=fe}return be}();Ue.exports=function(fe,be){return fe!==void 0&&fe.length?me.getTypeOf(fe)!=="string"?function(de,Le,we,Te){var xe=ve,Fe=Te+we;de^=-1;for(var Ce=Te;Ce<Fe;Ce++)de=de>>>8^xe[255&(de^Le[Ce])];return-1^de}(0|be,fe,fe.length,0):function(de,Le,we,Te){var xe=ve,Fe=Te+we;de^=-1;for(var Ce=Te;Ce<Fe;Ce++)de=de>>>8^xe[255&(de^Le.charCodeAt(Ce))];return-1^de}(0|be,fe,fe.length,0):0}},{"./utils":32}],5:[function(pe,Ue,Pe){"use strict";Pe.base64=!1,Pe.binary=!1,Pe.dir=!1,Pe.createFolders=!0,Pe.date=null,Pe.compression=null,Pe.compressionOptions=null,Pe.comment=null,Pe.unixPermissions=null,Pe.dosPermissions=null},{}],6:[function(pe,Ue,Pe){"use strict";var me=null;me=typeof Promise!="undefined"?Promise:pe("lie"),Ue.exports={Promise:me}},{lie:37}],7:[function(pe,Ue,Pe){"use strict";var me=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",ve=pe("pako"),fe=pe("./utils"),be=pe("./stream/GenericWorker"),de=me?"uint8array":"array";function Le(we,Te){be.call(this,"FlateWorker/"+we),this._pako=null,this._pakoAction=we,this._pakoOptions=Te,this.meta={}}Pe.magic="\b\0",fe.inherits(Le,be),Le.prototype.processChunk=function(we){this.meta=we.meta,this._pako===null&&this._createPako(),this._pako.push(fe.transformTo(de,we.data),!1)},Le.prototype.flush=function(){be.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Le.prototype.cleanUp=function(){be.prototype.cleanUp.call(this),this._pako=null},Le.prototype._createPako=function(){this._pako=new ve[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var we=this;this._pako.onData=function(Te){we.push({data:Te,meta:we.meta})}},Pe.compressWorker=function(we){return new Le("Deflate",we)},Pe.uncompressWorker=function(){return new Le("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(pe,Ue,Pe){"use strict";function me(xe,Fe){var Ce,De="";for(Ce=0;Ce<Fe;Ce++)De+=String.fromCharCode(255&xe),xe>>>=8;return De}function ve(xe,Fe,Ce,De,Be,Ze){var rt,ce,ke=xe.file,qe=xe.compression,_e=Ze!==de.utf8encode,mt=fe.transformTo("string",Ze(ke.name)),Re=fe.transformTo("string",de.utf8encode(ke.name)),Ye=ke.comment,lt=fe.transformTo("string",Ze(Ye)),Se=fe.transformTo("string",de.utf8encode(Ye)),Qe=Re.length!==ke.name.length,he=Se.length!==Ye.length,ye="",Ct="",Ke="",yt=ke.dir,Dt=ke.date,Ge={crc32:0,compressedSize:0,uncompressedSize:0};Fe&&!Ce||(Ge.crc32=xe.crc32,Ge.compressedSize=xe.compressedSize,Ge.uncompressedSize=xe.uncompressedSize);var Ae=0;Fe&&(Ae|=8),_e||!Qe&&!he||(Ae|=2048);var ot=0,zt=0;yt&&(ot|=16),Be==="UNIX"?(zt=798,ot|=function(Oe,Je){var dt=Oe;return Oe||(dt=Je?16893:33204),(65535&dt)<<16}(ke.unixPermissions,yt)):(zt=20,ot|=function(Oe){return 63&(Oe||0)}(ke.dosPermissions)),rt=Dt.getUTCHours(),rt<<=6,rt|=Dt.getUTCMinutes(),rt<<=5,rt|=Dt.getUTCSeconds()/2,ce=Dt.getUTCFullYear()-1980,ce<<=4,ce|=Dt.getUTCMonth()+1,ce<<=5,ce|=Dt.getUTCDate(),Qe&&(Ct=me(1,1)+me(Le(mt),4)+Re,ye+="up"+me(Ct.length,2)+Ct),he&&(Ke=me(1,1)+me(Le(lt),4)+Se,ye+="uc"+me(Ke.length,2)+Ke);var Et="";return Et+=`
|
|
|
\0`,Et+=me(Ae,2),Et+=qe.magic,Et+=me(rt,2),Et+=me(ce,2),Et+=me(Ge.crc32,4),Et+=me(Ge.compressedSize,4),Et+=me(Ge.uncompressedSize,4),Et+=me(mt.length,2),Et+=me(ye.length,2),{fileRecord:we.LOCAL_FILE_HEADER+Et+mt+ye,dirRecord:we.CENTRAL_FILE_HEADER+me(zt,2)+Et+me(lt.length,2)+"\0\0\0\0"+me(ot,4)+me(De,4)+mt+ye+lt}}var fe=pe("../utils"),be=pe("../stream/GenericWorker"),de=pe("../utf8"),Le=pe("../crc32"),we=pe("../signature");function Te(xe,Fe,Ce,De){be.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Fe,this.zipPlatform=Ce,this.encodeFileName=De,this.streamFiles=xe,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fe.inherits(Te,be),Te.prototype.push=function(xe){var Fe=xe.meta.percent||0,Ce=this.entriesCount,De=this._sources.length;this.accumulate?this.contentBuffer.push(xe):(this.bytesWritten+=xe.data.length,be.prototype.push.call(this,{data:xe.data,meta:{currentFile:this.currentFile,percent:Ce?(Fe+100*(Ce-De-1))/Ce:100}}))},Te.prototype.openedSource=function(xe){this.currentSourceOffset=this.bytesWritten,this.currentFile=xe.file.name;var Fe=this.streamFiles&&!xe.file.dir;if(Fe){var Ce=ve(xe,Fe,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:Ce.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Te.prototype.closedSource=function(xe){this.accumulate=!1;var Fe=this.streamFiles&&!xe.file.dir,Ce=ve(xe,Fe,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(Ce.dirRecord),Fe)this.push({data:function(De){return we.DATA_DESCRIPTOR+me(De.crc32,4)+me(De.compressedSize,4)+me(De.uncompressedSize,4)}(xe),meta:{percent:100}});else for(this.push({data:Ce.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Te.prototype.flush=function(){for(var xe=this.bytesWritten,Fe=0;Fe<this.dirRecords.length;Fe++)this.push({data:this.dirRecords[Fe],meta:{percent:100}});var Ce=this.bytesWritten-xe,De=function(Be,Ze,rt,ce,ke){var qe=fe.transformTo("string",ke(ce));return we.CENTRAL_DIRECTORY_END+"\0\0\0\0"+me(Be,2)+me(Be,2)+me(Ze,4)+me(rt,4)+me(qe.length,2)+qe}(this.dirRecords.length,Ce,xe,this.zipComment,this.encodeFileName);this.push({data:De,meta:{percent:100}})},Te.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Te.prototype.registerPrevious=function(xe){this._sources.push(xe);var Fe=this;return xe.on("data",function(Ce){Fe.processChunk(Ce)}),xe.on("end",function(){Fe.closedSource(Fe.previous.streamInfo),Fe._sources.length?Fe.prepareNextSource():Fe.end()}),xe.on("error",function(Ce){Fe.error(Ce)}),this},Te.prototype.resume=function(){return!!be.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Te.prototype.error=function(xe){var Fe=this._sources;if(!be.prototype.error.call(this,xe))return!1;for(var Ce=0;Ce<Fe.length;Ce++)try{Fe[Ce].error(xe)}catch(De){}return!0},Te.prototype.lock=function(){be.prototype.lock.call(this);for(var xe=this._sources,Fe=0;Fe<xe.length;Fe++)xe[Fe].lock()},Ue.exports=Te},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(pe,Ue,Pe){"use strict";var me=pe("../compressions"),ve=pe("./ZipFileWorker");Pe.generateWorker=function(fe,be,de){var Le=new ve(be.streamFiles,de,be.platform,be.encodeFileName),we=0;try{fe.forEach(function(Te,xe){we++;var Fe=function(Ze,rt){var ce=Ze||rt,ke=me[ce];if(!ke)throw new Error(ce+" is not a valid compression method !");return ke}(xe.options.compression,be.compression),Ce=xe.options.compressionOptions||be.compressionOptions||{},De=xe.dir,Be=xe.date;xe._compressWorker(Fe,Ce).withStreamInfo("file",{name:Te,dir:De,date:Be,comment:xe.comment||"",unixPermissions:xe.unixPermissions,dosPermissions:xe.dosPermissions}).pipe(Le)}),Le.entriesCount=we}catch(Te){Le.error(Te)}return Le}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(pe,Ue,Pe){"use strict";function me(){if(!(this instanceof me))return new me;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var ve=new me;for(var fe in this)typeof this[fe]!="function"&&(ve[fe]=this[fe]);return ve}}(me.prototype=pe("./object")).loadAsync=pe("./load"),me.support=pe("./support"),me.defaults=pe("./defaults"),me.version="3.10.1",me.loadAsync=function(ve,fe){return new me().loadAsync(ve,fe)},me.external=pe("./external"),Ue.exports=me},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(pe,Ue,Pe){"use strict";var me=pe("./utils"),ve=pe("./external"),fe=pe("./utf8"),be=pe("./zipEntries"),de=pe("./stream/Crc32Probe"),Le=pe("./nodejsUtils");function we(Te){return new ve.Promise(function(xe,Fe){var Ce=Te.decompressed.getContentWorker().pipe(new de);Ce.on("error",function(De){Fe(De)}).on("end",function(){Ce.streamInfo.crc32!==Te.decompressed.crc32?Fe(new Error("Corrupted zip : CRC32 mismatch")):xe()}).resume()})}Ue.exports=function(Te,xe){var Fe=this;return xe=me.extend(xe||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fe.utf8decode}),Le.isNode&&Le.isStream(Te)?ve.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):me.prepareContent("the loaded zip file",Te,!0,xe.optimizedBinaryString,xe.base64).then(function(Ce){var De=new be(xe);return De.load(Ce),De}).then(function(Ce){var De=[ve.Promise.resolve(Ce)],Be=Ce.files;if(xe.checkCRC32)for(var Ze=0;Ze<Be.length;Ze++)De.push(we(Be[Ze]));return ve.Promise.all(De)}).then(function(Ce){for(var De=Ce.shift(),Be=De.files,Ze=0;Ze<Be.length;Ze++){var rt=Be[Ze],ce=rt.fileNameStr,ke=me.resolve(rt.fileNameStr);Fe.file(ke,rt.decompressed,{binary:!0,optimizedBinaryString:!0,date:rt.date,dir:rt.dir,comment:rt.fileCommentStr.length?rt.fileCommentStr:null,unixPermissions:rt.unixPermissions,dosPermissions:rt.dosPermissions,createFolders:xe.createFolders}),rt.dir||(Fe.file(ke).unsafeOriginalName=ce)}return De.zipComment.length&&(Fe.comment=De.zipComment),Fe})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(pe,Ue,Pe){"use strict";var me=pe("../utils"),ve=pe("../stream/GenericWorker");function fe(be,de){ve.call(this,"Nodejs stream input adapter for "+be),this._upstreamEnded=!1,this._bindStream(de)}me.inherits(fe,ve),fe.prototype._bindStream=function(be){var de=this;(this._stream=be).pause(),be.on("data",function(Le){de.push({data:Le,meta:{percent:0}})}).on("error",function(Le){de.isPaused?this.generatedError=Le:de.error(Le)}).on("end",function(){de.isPaused?de._upstreamEnded=!0:de.end()})},fe.prototype.pause=function(){return!!ve.prototype.pause.call(this)&&(this._stream.pause(),!0)},fe.prototype.resume=function(){return!!ve.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Ue.exports=fe},{"../stream/GenericWorker":28,"../utils":32}],13:[function(pe,Ue,Pe){"use strict";var me=pe("readable-stream").Readable;function ve(fe,be,de){me.call(this,be),this._helper=fe;var Le=this;fe.on("data",function(we,Te){Le.push(we)||Le._helper.pause(),de&&de(Te)}).on("error",function(we){Le.emit("error",we)}).on("end",function(){Le.push(null)})}pe("../utils").inherits(ve,me),ve.prototype._read=function(){this._helper.resume()},Ue.exports=ve},{"../utils":32,"readable-stream":16}],14:[function(pe,Ue,Pe){"use strict";Ue.exports={isNode:typeof b!="undefined",newBufferFrom:function(me,ve){if(b.from&&b.from!==Uint8Array.from)return b.from(me,ve);if(typeof me=="number")throw new Error('The "data" argument must not be a number');return new b(me,ve)},allocBuffer:function(me){if(b.alloc)return b.alloc(me);var ve=new b(me);return ve.fill(0),ve},isBuffer:function(me){return b.isBuffer(me)},isStream:function(me){return me&&typeof me.on=="function"&&typeof me.pause=="function"&&typeof me.resume=="function"}}},{}],15:[function(pe,Ue,Pe){"use strict";function me(ke,qe,_e){var mt,Re=fe.getTypeOf(qe),Ye=fe.extend(_e||{},Le);Ye.date=Ye.date||new Date,Ye.compression!==null&&(Ye.compression=Ye.compression.toUpperCase()),typeof Ye.unixPermissions=="string"&&(Ye.unixPermissions=parseInt(Ye.unixPermissions,8)),Ye.unixPermissions&&16384&Ye.unixPermissions&&(Ye.dir=!0),Ye.dosPermissions&&16&Ye.dosPermissions&&(Ye.dir=!0),Ye.dir&&(ke=Be(ke)),Ye.createFolders&&(mt=De(ke))&&Ze.call(this,mt,!0);var lt=Re==="string"&&Ye.binary===!1&&Ye.base64===!1;_e&&_e.binary!==void 0||(Ye.binary=!lt),(qe instanceof we&&qe.uncompressedSize===0||Ye.dir||!qe||qe.length===0)&&(Ye.base64=!1,Ye.binary=!0,qe="",Ye.compression="STORE",Re="string");var Se=null;Se=qe instanceof we||qe instanceof be?qe:Fe.isNode&&Fe.isStream(qe)?new Ce(ke,qe):fe.prepareContent(ke,qe,Ye.binary,Ye.optimizedBinaryString,Ye.base64);var Qe=new Te(ke,Se,Ye);this.files[ke]=Qe}var ve=pe("./utf8"),fe=pe("./utils"),be=pe("./stream/GenericWorker"),de=pe("./stream/StreamHelper"),Le=pe("./defaults"),we=pe("./compressedObject"),Te=pe("./zipObject"),xe=pe("./generate"),Fe=pe("./nodejsUtils"),Ce=pe("./nodejs/NodejsStreamInputAdapter"),De=function(ke){ke.slice(-1)==="/"&&(ke=ke.substring(0,ke.length-1));var qe=ke.lastIndexOf("/");return 0<qe?ke.substring(0,qe):""},Be=function(ke){return ke.slice(-1)!=="/"&&(ke+="/"),ke},Ze=function(ke,qe){return qe=qe!==void 0?qe:Le.createFolders,ke=Be(ke),this.files[ke]||me.call(this,ke,null,{dir:!0,createFolders:qe}),this.files[ke]};function rt(ke){return Object.prototype.toString.call(ke)==="[object RegExp]"}var ce={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(ke){var qe,_e,mt;for(qe in this.files)mt=this.files[qe],(_e=qe.slice(this.root.length,qe.length))&&qe.slice(0,this.root.length)===this.root&&ke(_e,mt)},filter:function(ke){var qe=[];return this.forEach(function(_e,mt){ke(_e,mt)&&qe.push(mt)}),qe},file:function(ke,qe,_e){if(arguments.length!==1)return ke=this.root+ke,me.call(this,ke,qe,_e),this;if(rt(ke)){var mt=ke;return this.filter(function(Ye,lt){return!lt.dir&&mt.test(Ye)})}var Re=this.files[this.root+ke];return Re&&!Re.dir?Re:null},folder:function(ke){if(!ke)return this;if(rt(ke))return this.filter(function(Re,Ye){return Ye.dir&&ke.test(Re)});var qe=this.root+ke,_e=Ze.call(this,qe),mt=this.clone();return mt.root=_e.name,mt},remove:function(ke){ke=this.root+ke;var qe=this.files[ke];if(qe||(ke.slice(-1)!=="/"&&(ke+="/"),qe=this.files[ke]),qe&&!qe.dir)delete this.files[ke];else for(var _e=this.filter(function(Re,Ye){return Ye.name.slice(0,ke.length)===ke}),mt=0;mt<_e.length;mt++)delete this.files[_e[mt].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(ke){var qe,_e={};try{if((_e=fe.extend(ke||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ve.utf8encode})).type=_e.type.toLowerCase(),_e.compression=_e.compression.toUpperCase(),_e.type==="binarystring"&&(_e.type="string"),!_e.type)throw new Error("No output type specified.");fe.checkSupport(_e.type),_e.platform!=="darwin"&&_e.platform!=="freebsd"&&_e.platform!=="linux"&&_e.platform!=="sunos"||(_e.platform="UNIX"),_e.platform==="win32"&&(_e.platform="DOS");var mt=_e.comment||this.comment||"";qe=xe.generateWorker(this,_e,mt)}catch(Re){(qe=new be("error")).error(Re)}return new de(qe,_e.type||"string",_e.mimeType)},generateAsync:function(ke,qe){return this.generateInternalStream(ke).accumulate(qe)},generateNodeStream:function(ke,qe){return(ke=ke||{}).type||(ke.type="nodebuffer"),this.generateInternalStream(ke).toNodejsStream(qe)}};Ue.exports=ce},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(pe,Ue,Pe){"use strict";Ue.exports=pe("stream")},{stream:void 0}],17:[function(pe,Ue,Pe){"use strict";var me=pe("./DataReader");function ve(fe){me.call(this,fe);for(var be=0;be<this.data.length;be++)fe[be]=255&fe[be]}pe("../utils").inherits(ve,me),ve.prototype.byteAt=function(fe){return this.data[this.zero+fe]},ve.prototype.lastIndexOfSignature=function(fe){for(var be=fe.charCodeAt(0),de=fe.charCodeAt(1),Le=fe.charCodeAt(2),we=fe.charCodeAt(3),Te=this.length-4;0<=Te;--Te)if(this.data[Te]===be&&this.data[Te+1]===de&&this.data[Te+2]===Le&&this.data[Te+3]===we)return Te-this.zero;return-1},ve.prototype.readAndCheckSignature=function(fe){var be=fe.charCodeAt(0),de=fe.charCodeAt(1),Le=fe.charCodeAt(2),we=fe.charCodeAt(3),Te=this.readData(4);return be===Te[0]&&de===Te[1]&&Le===Te[2]&&we===Te[3]},ve.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return[];var be=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,be},Ue.exports=ve},{"../utils":32,"./DataReader":18}],18:[function(pe,Ue,Pe){"use strict";var me=pe("../utils");function ve(fe){this.data=fe,this.length=fe.length,this.index=0,this.zero=0}ve.prototype={checkOffset:function(fe){this.checkIndex(this.index+fe)},checkIndex:function(fe){if(this.length<this.zero+fe||fe<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+fe+"). Corrupted zip ?")},setIndex:function(fe){this.checkIndex(fe),this.index=fe},skip:function(fe){this.setIndex(this.index+fe)},byteAt:function(){},readInt:function(fe){var be,de=0;for(this.checkOffset(fe),be=this.index+fe-1;be>=this.index;be--)de=(de<<8)+this.byteAt(be);return this.index+=fe,de},readString:function(fe){return me.transformTo("string",this.readData(fe))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var fe=this.readInt(4);return new Date(Date.UTC(1980+(fe>>25&127),(fe>>21&15)-1,fe>>16&31,fe>>11&31,fe>>5&63,(31&fe)<<1))}},Ue.exports=ve},{"../utils":32}],19:[function(pe,Ue,Pe){"use strict";var me=pe("./Uint8ArrayReader");function ve(fe){me.call(this,fe)}pe("../utils").inherits(ve,me),ve.prototype.readData=function(fe){this.checkOffset(fe);var be=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,be},Ue.exports=ve},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(pe,Ue,Pe){"use strict";var me=pe("./DataReader");function ve(fe){me.call(this,fe)}pe("../utils").inherits(ve,me),ve.prototype.byteAt=function(fe){return this.data.charCodeAt(this.zero+fe)},ve.prototype.lastIndexOfSignature=function(fe){return this.data.lastIndexOf(fe)-this.zero},ve.prototype.readAndCheckSignature=function(fe){return fe===this.readData(4)},ve.prototype.readData=function(fe){this.checkOffset(fe);var be=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,be},Ue.exports=ve},{"../utils":32,"./DataReader":18}],21:[function(pe,Ue,Pe){"use strict";var me=pe("./ArrayReader");function ve(fe){me.call(this,fe)}pe("../utils").inherits(ve,me),ve.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return new Uint8Array(0);var be=this.data.subarray(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,be},Ue.exports=ve},{"../utils":32,"./ArrayReader":17}],22:[function(pe,Ue,Pe){"use strict";var me=pe("../utils"),ve=pe("../support"),fe=pe("./ArrayReader"),be=pe("./StringReader"),de=pe("./NodeBufferReader"),Le=pe("./Uint8ArrayReader");Ue.exports=function(we){var Te=me.getTypeOf(we);return me.checkSupport(Te),Te!=="string"||ve.uint8array?Te==="nodebuffer"?new de(we):ve.uint8array?new Le(me.transformTo("uint8array",we)):new fe(me.transformTo("array",we)):new be(we)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(pe,Ue,Pe){"use strict";Pe.LOCAL_FILE_HEADER="PK",Pe.CENTRAL_FILE_HEADER="PK",Pe.CENTRAL_DIRECTORY_END="PK",Pe.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Pe.ZIP64_CENTRAL_DIRECTORY_END="PK",Pe.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(pe,Ue,Pe){"use strict";var me=pe("./GenericWorker"),ve=pe("../utils");function fe(be){me.call(this,"ConvertWorker to "+be),this.destType=be}ve.inherits(fe,me),fe.prototype.processChunk=function(be){this.push({data:ve.transformTo(this.destType,be.data),meta:be.meta})},Ue.exports=fe},{"../utils":32,"./GenericWorker":28}],25:[function(pe,Ue,Pe){"use strict";var me=pe("./GenericWorker"),ve=pe("../crc32");function fe(){me.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}pe("../utils").inherits(fe,me),fe.prototype.processChunk=function(be){this.streamInfo.crc32=ve(be.data,this.streamInfo.crc32||0),this.push(be)},Ue.exports=fe},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(pe,Ue,Pe){"use strict";var me=pe("../utils"),ve=pe("./GenericWorker");function fe(be){ve.call(this,"DataLengthProbe for "+be),this.propName=be,this.withStreamInfo(be,0)}me.inherits(fe,ve),fe.prototype.processChunk=function(be){if(be){var de=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=de+be.data.length}ve.prototype.processChunk.call(this,be)},Ue.exports=fe},{"../utils":32,"./GenericWorker":28}],27:[function(pe,Ue,Pe){"use strict";var me=pe("../utils"),ve=pe("./GenericWorker");function fe(be){ve.call(this,"DataWorker");var de=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,be.then(function(Le){de.dataIsReady=!0,de.data=Le,de.max=Le&&Le.length||0,de.type=me.getTypeOf(Le),de.isPaused||de._tickAndRepeat()},function(Le){de.error(Le)})}me.inherits(fe,ve),fe.prototype.cleanUp=function(){ve.prototype.cleanUp.call(this),this.data=null},fe.prototype.resume=function(){return!!ve.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,me.delay(this._tickAndRepeat,[],this)),!0)},fe.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(me.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},fe.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var be=null,de=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":be=this.data.substring(this.index,de);break;case"uint8array":be=this.data.subarray(this.index,de);break;case"array":case"nodebuffer":be=this.data.slice(this.index,de)}return this.index=de,this.push({data:be,meta:{percent:this.max?this.index/this.max*100:0}})},Ue.exports=fe},{"../utils":32,"./GenericWorker":28}],28:[function(pe,Ue,Pe){"use strict";function me(ve){this.name=ve||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}me.prototype={push:function(ve){this.emit("data",ve)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(ve){this.emit("error",ve)}return!0},error:function(ve){return!this.isFinished&&(this.isPaused?this.generatedError=ve:(this.isFinished=!0,this.emit("error",ve),this.previous&&this.previous.error(ve),this.cleanUp()),!0)},on:function(ve,fe){return this._listeners[ve].push(fe),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(ve,fe){if(this._listeners[ve])for(var be=0;be<this._listeners[ve].length;be++)this._listeners[ve][be].call(this,fe)},pipe:function(ve){return ve.registerPrevious(this)},registerPrevious:function(ve){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=ve.streamInfo,this.mergeStreamInfo(),this.previous=ve;var fe=this;return ve.on("data",function(be){fe.processChunk(be)}),ve.on("end",function(){fe.end()}),ve.on("error",function(be){fe.error(be)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var ve=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),ve=!0),this.previous&&this.previous.resume(),!ve},flush:function(){},processChunk:function(ve){this.push(ve)},withStreamInfo:function(ve,fe){return this.extraStreamInfo[ve]=fe,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var ve in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,ve)&&(this.streamInfo[ve]=this.extraStreamInfo[ve])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var ve="Worker "+this.name;return this.previous?this.previous+" -> "+ve:ve}},Ue.exports=me},{}],29:[function(pe,Ue,Pe){"use strict";var me=pe("../utils"),ve=pe("./ConvertWorker"),fe=pe("./GenericWorker"),be=pe("../base64"),de=pe("../support"),Le=pe("../external"),we=null;if(de.nodestream)try{we=pe("../nodejs/NodejsStreamOutputAdapter")}catch(Fe){}function Te(Fe,Ce){return new Le.Promise(function(De,Be){var Ze=[],rt=Fe._internalType,ce=Fe._outputType,ke=Fe._mimeType;Fe.on("data",function(qe,_e){Ze.push(qe),Ce&&Ce(_e)}).on("error",function(qe){Ze=[],Be(qe)}).on("end",function(){try{var qe=function(_e,mt,Re){switch(_e){case"blob":return me.newBlob(me.transformTo("arraybuffer",mt),Re);case"base64":return be.encode(mt);default:return me.transformTo(_e,mt)}}(ce,function(_e,mt){var Re,Ye=0,lt=null,Se=0;for(Re=0;Re<mt.length;Re++)Se+=mt[Re].length;switch(_e){case"string":return mt.join("");case"array":return Array.prototype.concat.apply([],mt);case"uint8array":for(lt=new Uint8Array(Se),Re=0;Re<mt.length;Re++)lt.set(mt[Re],Ye),Ye+=mt[Re].length;return lt;case"nodebuffer":return b.concat(mt);default:throw new Error("concat : unsupported type '"+_e+"'")}}(rt,Ze),ke);De(qe)}catch(_e){Be(_e)}Ze=[]}).resume()})}function xe(Fe,Ce,De){var Be=Ce;switch(Ce){case"blob":case"arraybuffer":Be="uint8array";break;case"base64":Be="string"}try{this._internalType=Be,this._outputType=Ce,this._mimeType=De,me.checkSupport(Be),this._worker=Fe.pipe(new ve(Be)),Fe.lock()}catch(Ze){this._worker=new fe("error"),this._worker.error(Ze)}}xe.prototype={accumulate:function(Fe){return Te(this,Fe)},on:function(Fe,Ce){var De=this;return Fe==="data"?this._worker.on(Fe,function(Be){Ce.call(De,Be.data,Be.meta)}):this._worker.on(Fe,function(){me.delay(Ce,arguments,De)}),this},resume:function(){return me.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Fe){if(me.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new we(this,{objectMode:this._outputType!=="nodebuffer"},Fe)}},Ue.exports=xe},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(pe,Ue,Pe){"use strict";if(Pe.base64=!0,Pe.array=!0,Pe.string=!0,Pe.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Pe.nodebuffer=typeof b!="undefined",Pe.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Pe.blob=!1;else{var me=new ArrayBuffer(0);try{Pe.blob=new Blob([me],{type:"application/zip"}).size===0}catch(fe){try{var ve=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);ve.append(me),Pe.blob=ve.getBlob("application/zip").size===0}catch(be){Pe.blob=!1}}}try{Pe.nodestream=!!pe("readable-stream").Readable}catch(fe){Pe.nodestream=!1}},{"readable-stream":16}],31:[function(pe,Ue,Pe){"use strict";for(var me=pe("./utils"),ve=pe("./support"),fe=pe("./nodejsUtils"),be=pe("./stream/GenericWorker"),de=new Array(256),Le=0;Le<256;Le++)de[Le]=252<=Le?6:248<=Le?5:240<=Le?4:224<=Le?3:192<=Le?2:1;de[254]=de[254]=1;function we(){be.call(this,"utf-8 decode"),this.leftOver=null}function Te(){be.call(this,"utf-8 encode")}Pe.utf8encode=function(xe){return ve.nodebuffer?fe.newBufferFrom(xe,"utf-8"):function(Fe){var Ce,De,Be,Ze,rt,ce=Fe.length,ke=0;for(Ze=0;Ze<ce;Ze++)(64512&(De=Fe.charCodeAt(Ze)))==55296&&Ze+1<ce&&(64512&(Be=Fe.charCodeAt(Ze+1)))==56320&&(De=65536+(De-55296<<10)+(Be-56320),Ze++),ke+=De<128?1:De<2048?2:De<65536?3:4;for(Ce=ve.uint8array?new Uint8Array(ke):new Array(ke),Ze=rt=0;rt<ke;Ze++)(64512&(De=Fe.charCodeAt(Ze)))==55296&&Ze+1<ce&&(64512&(Be=Fe.charCodeAt(Ze+1)))==56320&&(De=65536+(De-55296<<10)+(Be-56320),Ze++),De<128?Ce[rt++]=De:(De<2048?Ce[rt++]=192|De>>>6:(De<65536?Ce[rt++]=224|De>>>12:(Ce[rt++]=240|De>>>18,Ce[rt++]=128|De>>>12&63),Ce[rt++]=128|De>>>6&63),Ce[rt++]=128|63&De);return Ce}(xe)},Pe.utf8decode=function(xe){return ve.nodebuffer?me.transformTo("nodebuffer",xe).toString("utf-8"):function(Fe){var Ce,De,Be,Ze,rt=Fe.length,ce=new Array(2*rt);for(Ce=De=0;Ce<rt;)if((Be=Fe[Ce++])<128)ce[De++]=Be;else if(4<(Ze=de[Be]))ce[De++]=65533,Ce+=Ze-1;else{for(Be&=Ze===2?31:Ze===3?15:7;1<Ze&&Ce<rt;)Be=Be<<6|63&Fe[Ce++],Ze--;1<Ze?ce[De++]=65533:Be<65536?ce[De++]=Be:(Be-=65536,ce[De++]=55296|Be>>10&1023,ce[De++]=56320|1023&Be)}return ce.length!==De&&(ce.subarray?ce=ce.subarray(0,De):ce.length=De),me.applyFromCharCode(ce)}(xe=me.transformTo(ve.uint8array?"uint8array":"array",xe))},me.inherits(we,be),we.prototype.processChunk=function(xe){var Fe=me.transformTo(ve.uint8array?"uint8array":"array",xe.data);if(this.leftOver&&this.leftOver.length){if(ve.uint8array){var Ce=Fe;(Fe=new Uint8Array(Ce.length+this.leftOver.length)).set(this.leftOver,0),Fe.set(Ce,this.leftOver.length)}else Fe=this.leftOver.concat(Fe);this.leftOver=null}var De=function(Ze,rt){var ce;for((rt=rt||Ze.length)>Ze.length&&(rt=Ze.length),ce=rt-1;0<=ce&&(192&Ze[ce])==128;)ce--;return ce<0||ce===0?rt:ce+de[Ze[ce]]>rt?ce:rt}(Fe),Be=Fe;De!==Fe.length&&(ve.uint8array?(Be=Fe.subarray(0,De),this.leftOver=Fe.subarray(De,Fe.length)):(Be=Fe.slice(0,De),this.leftOver=Fe.slice(De,Fe.length))),this.push({data:Pe.utf8decode(Be),meta:xe.meta})},we.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Pe.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Pe.Utf8DecodeWorker=we,me.inherits(Te,be),Te.prototype.processChunk=function(xe){this.push({data:Pe.utf8encode(xe.data),meta:xe.meta})},Pe.Utf8EncodeWorker=Te},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(pe,Ue,Pe){"use strict";var me=pe("./support"),ve=pe("./base64"),fe=pe("./nodejsUtils"),be=pe("./external");function de(Ce){return Ce}function Le(Ce,De){for(var Be=0;Be<Ce.length;++Be)De[Be]=255&Ce.charCodeAt(Be);return De}pe("setimmediate"),Pe.newBlob=function(Ce,De){Pe.checkSupport("blob");try{return new Blob([Ce],{type:De})}catch(Ze){try{var Be=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Be.append(Ce),Be.getBlob(De)}catch(rt){throw new Error("Bug : can't construct the Blob.")}}};var we={stringifyByChunk:function(Ce,De,Be){var Ze=[],rt=0,ce=Ce.length;if(ce<=Be)return String.fromCharCode.apply(null,Ce);for(;rt<ce;)De==="array"||De==="nodebuffer"?Ze.push(String.fromCharCode.apply(null,Ce.slice(rt,Math.min(rt+Be,ce)))):Ze.push(String.fromCharCode.apply(null,Ce.subarray(rt,Math.min(rt+Be,ce)))),rt+=Be;return Ze.join("")},stringifyByChar:function(Ce){for(var De="",Be=0;Be<Ce.length;Be++)De+=String.fromCharCode(Ce[Be]);return De},applyCanBeUsed:{uint8array:function(){try{return me.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(Ce){return!1}}(),nodebuffer:function(){try{return me.nodebuffer&&String.fromCharCode.apply(null,fe.allocBuffer(1)).length===1}catch(Ce){return!1}}()}};function Te(Ce){var De=65536,Be=Pe.getTypeOf(Ce),Ze=!0;if(Be==="uint8array"?Ze=we.applyCanBeUsed.uint8array:Be==="nodebuffer"&&(Ze=we.applyCanBeUsed.nodebuffer),Ze)for(;1<De;)try{return we.stringifyByChunk(Ce,Be,De)}catch(rt){De=Math.floor(De/2)}return we.stringifyByChar(Ce)}function xe(Ce,De){for(var Be=0;Be<Ce.length;Be++)De[Be]=Ce[Be];return De}Pe.applyFromCharCode=Te;var Fe={};Fe.string={string:de,array:function(Ce){return Le(Ce,new Array(Ce.length))},arraybuffer:function(Ce){return Fe.string.uint8array(Ce).buffer},uint8array:function(Ce){return Le(Ce,new Uint8Array(Ce.length))},nodebuffer:function(Ce){return Le(Ce,fe.allocBuffer(Ce.length))}},Fe.array={string:Te,array:de,arraybuffer:function(Ce){return new Uint8Array(Ce).buffer},uint8array:function(Ce){return new Uint8Array(Ce)},nodebuffer:function(Ce){return fe.newBufferFrom(Ce)}},Fe.arraybuffer={string:function(Ce){return Te(new Uint8Array(Ce))},array:function(Ce){return xe(new Uint8Array(Ce),new Array(Ce.byteLength))},arraybuffer:de,uint8array:function(Ce){return new Uint8Array(Ce)},nodebuffer:function(Ce){return fe.newBufferFrom(new Uint8Array(Ce))}},Fe.uint8array={string:Te,array:function(Ce){return xe(Ce,new Array(Ce.length))},arraybuffer:function(Ce){return Ce.buffer},uint8array:de,nodebuffer:function(Ce){return fe.newBufferFrom(Ce)}},Fe.nodebuffer={string:Te,array:function(Ce){return xe(Ce,new Array(Ce.length))},arraybuffer:function(Ce){return Fe.nodebuffer.uint8array(Ce).buffer},uint8array:function(Ce){return xe(Ce,new Uint8Array(Ce.length))},nodebuffer:de},Pe.transformTo=function(Ce,De){if(De=De||"",!Ce)return De;Pe.checkSupport(Ce);var Be=Pe.getTypeOf(De);return Fe[Be][Ce](De)},Pe.resolve=function(Ce){for(var De=Ce.split("/"),Be=[],Ze=0;Ze<De.length;Ze++){var rt=De[Ze];rt==="."||rt===""&&Ze!==0&&Ze!==De.length-1||(rt===".."?Be.pop():Be.push(rt))}return Be.join("/")},Pe.getTypeOf=function(Ce){return typeof Ce=="string"?"string":Object.prototype.toString.call(Ce)==="[object Array]"?"array":me.nodebuffer&&fe.isBuffer(Ce)?"nodebuffer":me.uint8array&&Ce instanceof Uint8Array?"uint8array":me.arraybuffer&&Ce instanceof ArrayBuffer?"arraybuffer":void 0},Pe.checkSupport=function(Ce){if(!me[Ce.toLowerCase()])throw new Error(Ce+" is not supported by this platform")},Pe.MAX_VALUE_16BITS=65535,Pe.MAX_VALUE_32BITS=-1,Pe.pretty=function(Ce){var De,Be,Ze="";for(Be=0;Be<(Ce||"").length;Be++)Ze+="\\x"+((De=Ce.charCodeAt(Be))<16?"0":"")+De.toString(16).toUpperCase();return Ze},Pe.delay=function(Ce,De,Be){setImmediate(function(){Ce.apply(Be||null,De||[])})},Pe.inherits=function(Ce,De){function Be(){}Be.prototype=De.prototype,Ce.prototype=new Be},Pe.extend=function(){var Ce,De,Be={};for(Ce=0;Ce<arguments.length;Ce++)for(De in arguments[Ce])Object.prototype.hasOwnProperty.call(arguments[Ce],De)&&Be[De]===void 0&&(Be[De]=arguments[Ce][De]);return Be},Pe.prepareContent=function(Ce,De,Be,Ze,rt){return be.Promise.resolve(De).then(function(ce){return me.blob&&(ce instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(ce))!==-1)&&typeof FileReader!="undefined"?new be.Promise(function(ke,qe){var _e=new FileReader;_e.onload=function(mt){ke(mt.target.result)},_e.onerror=function(mt){qe(mt.target.error)},_e.readAsArrayBuffer(ce)}):ce}).then(function(ce){var ke=Pe.getTypeOf(ce);return ke?(ke==="arraybuffer"?ce=Pe.transformTo("uint8array",ce):ke==="string"&&(rt?ce=ve.decode(ce):Be&&Ze!==!0&&(ce=function(qe){return Le(qe,me.uint8array?new Uint8Array(qe.length):new Array(qe.length))}(ce))),ce):be.Promise.reject(new Error("Can't read the data of '"+Ce+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(pe,Ue,Pe){"use strict";var me=pe("./reader/readerFor"),ve=pe("./utils"),fe=pe("./signature"),be=pe("./zipEntry"),de=pe("./support");function Le(we){this.files=[],this.loadOptions=we}Le.prototype={checkSignature:function(we){if(!this.reader.readAndCheckSignature(we)){this.reader.index-=4;var Te=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ve.pretty(Te)+", expected "+ve.pretty(we)+")")}},isSignature:function(we,Te){var xe=this.reader.index;this.reader.setIndex(we);var Fe=this.reader.readString(4)===Te;return this.reader.setIndex(xe),Fe},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var we=this.reader.readData(this.zipCommentLength),Te=de.uint8array?"uint8array":"array",xe=ve.transformTo(Te,we);this.zipComment=this.loadOptions.decodeFileName(xe)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var we,Te,xe,Fe=this.zip64EndOfCentralSize-44;0<Fe;)we=this.reader.readInt(2),Te=this.reader.readInt(4),xe=this.reader.readData(Te),this.zip64ExtensibleData[we]={id:we,length:Te,value:xe}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var we,Te;for(we=0;we<this.files.length;we++)Te=this.files[we],this.reader.setIndex(Te.localHeaderOffset),this.checkSignature(fe.LOCAL_FILE_HEADER),Te.readLocalPart(this.reader),Te.handleUTF8(),Te.processAttributes()},readCentralDir:function(){var we;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fe.CENTRAL_FILE_HEADER);)(we=new be({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(we);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var we=this.reader.lastIndexOfSignature(fe.CENTRAL_DIRECTORY_END);if(we<0)throw this.isSignature(0,fe.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(we);var Te=we;if(this.checkSignature(fe.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ve.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ve.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ve.MAX_VALUE_16BITS||this.centralDirRecords===ve.MAX_VALUE_16BITS||this.centralDirSize===ve.MAX_VALUE_32BITS||this.centralDirOffset===ve.MAX_VALUE_32BITS){if(this.zip64=!0,(we=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(we),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fe.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var xe=this.centralDirOffset+this.centralDirSize;this.zip64&&(xe+=20,xe+=12+this.zip64EndOfCentralSize);var Fe=Te-xe;if(0<Fe)this.isSignature(Te,fe.CENTRAL_FILE_HEADER)||(this.reader.zero=Fe);else if(Fe<0)throw new Error("Corrupted zip: missing "+Math.abs(Fe)+" bytes.")},prepareReader:function(we){this.reader=me(we)},load:function(we){this.prepareReader(we),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Ue.exports=Le},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(pe,Ue,Pe){"use strict";var me=pe("./reader/readerFor"),ve=pe("./utils"),fe=pe("./compressedObject"),be=pe("./crc32"),de=pe("./utf8"),Le=pe("./compressions"),we=pe("./support");function Te(xe,Fe){this.options=xe,this.loadOptions=Fe}Te.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(xe){var Fe,Ce;if(xe.skip(22),this.fileNameLength=xe.readInt(2),Ce=xe.readInt(2),this.fileName=xe.readData(this.fileNameLength),xe.skip(Ce),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((Fe=function(De){for(var Be in Le)if(Object.prototype.hasOwnProperty.call(Le,Be)&&Le[Be].magic===De)return Le[Be];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+ve.pretty(this.compressionMethod)+" unknown (inner file : "+ve.transformTo("string",this.fileName)+")");this.decompressed=new fe(this.compressedSize,this.uncompressedSize,this.crc32,Fe,xe.readData(this.compressedSize))},readCentralPart:function(xe){this.versionMadeBy=xe.readInt(2),xe.skip(2),this.bitFlag=xe.readInt(2),this.compressionMethod=xe.readString(2),this.date=xe.readDate(),this.crc32=xe.readInt(4),this.compressedSize=xe.readInt(4),this.uncompressedSize=xe.readInt(4);var Fe=xe.readInt(2);if(this.extraFieldsLength=xe.readInt(2),this.fileCommentLength=xe.readInt(2),this.diskNumberStart=xe.readInt(2),this.internalFileAttributes=xe.readInt(2),this.externalFileAttributes=xe.readInt(4),this.localHeaderOffset=xe.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");xe.skip(Fe),this.readExtraFields(xe),this.parseZIP64ExtraField(xe),this.fileComment=xe.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var xe=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),xe==0&&(this.dosPermissions=63&this.externalFileAttributes),xe==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var xe=me(this.extraFields[1].value);this.uncompressedSize===ve.MAX_VALUE_32BITS&&(this.uncompressedSize=xe.readInt(8)),this.compressedSize===ve.MAX_VALUE_32BITS&&(this.compressedSize=xe.readInt(8)),this.localHeaderOffset===ve.MAX_VALUE_32BITS&&(this.localHeaderOffset=xe.readInt(8)),this.diskNumberStart===ve.MAX_VALUE_32BITS&&(this.diskNumberStart=xe.readInt(4))}},readExtraFields:function(xe){var Fe,Ce,De,Be=xe.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});xe.index+4<Be;)Fe=xe.readInt(2),Ce=xe.readInt(2),De=xe.readData(Ce),this.extraFields[Fe]={id:Fe,length:Ce,value:De};xe.setIndex(Be)},handleUTF8:function(){var xe=we.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=de.utf8decode(this.fileName),this.fileCommentStr=de.utf8decode(this.fileComment);else{var Fe=this.findExtraFieldUnicodePath();if(Fe!==null)this.fileNameStr=Fe;else{var Ce=ve.transformTo(xe,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(Ce)}var De=this.findExtraFieldUnicodeComment();if(De!==null)this.fileCommentStr=De;else{var Be=ve.transformTo(xe,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Be)}}},findExtraFieldUnicodePath:function(){var xe=this.extraFields[28789];if(xe){var Fe=me(xe.value);return Fe.readInt(1)!==1||be(this.fileName)!==Fe.readInt(4)?null:de.utf8decode(Fe.readData(xe.length-5))}return null},findExtraFieldUnicodeComment:function(){var xe=this.extraFields[25461];if(xe){var Fe=me(xe.value);return Fe.readInt(1)!==1||be(this.fileComment)!==Fe.readInt(4)?null:de.utf8decode(Fe.readData(xe.length-5))}return null}},Ue.exports=Te},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(pe,Ue,Pe){"use strict";function me(Fe,Ce,De){this.name=Fe,this.dir=De.dir,this.date=De.date,this.comment=De.comment,this.unixPermissions=De.unixPermissions,this.dosPermissions=De.dosPermissions,this._data=Ce,this._dataBinary=De.binary,this.options={compression:De.compression,compressionOptions:De.compressionOptions}}var ve=pe("./stream/StreamHelper"),fe=pe("./stream/DataWorker"),be=pe("./utf8"),de=pe("./compressedObject"),Le=pe("./stream/GenericWorker");me.prototype={internalStream:function(Fe){var Ce=null,De="string";try{if(!Fe)throw new Error("No output type specified.");var Be=(De=Fe.toLowerCase())==="string"||De==="text";De!=="binarystring"&&De!=="text"||(De="string"),Ce=this._decompressWorker();var Ze=!this._dataBinary;Ze&&!Be&&(Ce=Ce.pipe(new be.Utf8EncodeWorker)),!Ze&&Be&&(Ce=Ce.pipe(new be.Utf8DecodeWorker))}catch(rt){(Ce=new Le("error")).error(rt)}return new ve(Ce,De,"")},async:function(Fe,Ce){return this.internalStream(Fe).accumulate(Ce)},nodeStream:function(Fe,Ce){return this.internalStream(Fe||"nodebuffer").toNodejsStream(Ce)},_compressWorker:function(Fe,Ce){if(this._data instanceof de&&this._data.compression.magic===Fe.magic)return this._data.getCompressedWorker();var De=this._decompressWorker();return this._dataBinary||(De=De.pipe(new be.Utf8EncodeWorker)),de.createWorkerFrom(De,Fe,Ce)},_decompressWorker:function(){return this._data instanceof de?this._data.getContentWorker():this._data instanceof Le?this._data:new fe(this._data)}};for(var we=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Te=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},xe=0;xe<we.length;xe++)me.prototype[we[xe]]=Te;Ue.exports=me},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(pe,Ue,Pe){(function(me){"use strict";var ve,fe,be=me.MutationObserver||me.WebKitMutationObserver;if(be){var de=0,Le=new be(Fe),we=me.document.createTextNode("");Le.observe(we,{characterData:!0}),ve=function(){we.data=de=++de%2}}else if(me.setImmediate||me.MessageChannel===void 0)ve="document"in me&&"onreadystatechange"in me.document.createElement("script")?function(){var Ce=me.document.createElement("script");Ce.onreadystatechange=function(){Fe(),Ce.onreadystatechange=null,Ce.parentNode.removeChild(Ce),Ce=null},me.document.documentElement.appendChild(Ce)}:function(){setTimeout(Fe,0)};else{var Te=new me.MessageChannel;Te.port1.onmessage=Fe,ve=function(){Te.port2.postMessage(0)}}var xe=[];function Fe(){var Ce,De;fe=!0;for(var Be=xe.length;Be;){for(De=xe,xe=[],Ce=-1;++Ce<Be;)De[Ce]();Be=xe.length}fe=!1}Ue.exports=function(Ce){xe.push(Ce)!==1||fe||ve()}}).call(this,typeof te.g!="undefined"?te.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(pe,Ue,Pe){"use strict";var me=pe("immediate");function ve(){}var fe={},be=["REJECTED"],de=["FULFILLED"],Le=["PENDING"];function we(Be){if(typeof Be!="function")throw new TypeError("resolver must be a function");this.state=Le,this.queue=[],this.outcome=void 0,Be!==ve&&Ce(this,Be)}function Te(Be,Ze,rt){this.promise=Be,typeof Ze=="function"&&(this.onFulfilled=Ze,this.callFulfilled=this.otherCallFulfilled),typeof rt=="function"&&(this.onRejected=rt,this.callRejected=this.otherCallRejected)}function xe(Be,Ze,rt){me(function(){var ce;try{ce=Ze(rt)}catch(ke){return fe.reject(Be,ke)}ce===Be?fe.reject(Be,new TypeError("Cannot resolve promise with itself")):fe.resolve(Be,ce)})}function Fe(Be){var Ze=Be&&Be.then;if(Be&&(typeof Be=="object"||typeof Be=="function")&&typeof Ze=="function")return function(){Ze.apply(Be,arguments)}}function Ce(Be,Ze){var rt=!1;function ce(_e){rt||(rt=!0,fe.reject(Be,_e))}function ke(_e){rt||(rt=!0,fe.resolve(Be,_e))}var qe=De(function(){Ze(ke,ce)});qe.status==="error"&&ce(qe.value)}function De(Be,Ze){var rt={};try{rt.value=Be(Ze),rt.status="success"}catch(ce){rt.status="error",rt.value=ce}return rt}(Ue.exports=we).prototype.finally=function(Be){if(typeof Be!="function")return this;var Ze=this.constructor;return this.then(function(rt){return Ze.resolve(Be()).then(function(){return rt})},function(rt){return Ze.resolve(Be()).then(function(){throw rt})})},we.prototype.catch=function(Be){return this.then(null,Be)},we.prototype.then=function(Be,Ze){if(typeof Be!="function"&&this.state===de||typeof Ze!="function"&&this.state===be)return this;var rt=new this.constructor(ve);return this.state!==Le?xe(rt,this.state===de?Be:Ze,this.outcome):this.queue.push(new Te(rt,Be,Ze)),rt},Te.prototype.callFulfilled=function(Be){fe.resolve(this.promise,Be)},Te.prototype.otherCallFulfilled=function(Be){xe(this.promise,this.onFulfilled,Be)},Te.prototype.callRejected=function(Be){fe.reject(this.promise,Be)},Te.prototype.otherCallRejected=function(Be){xe(this.promise,this.onRejected,Be)},fe.resolve=function(Be,Ze){var rt=De(Fe,Ze);if(rt.status==="error")return fe.reject(Be,rt.value);var ce=rt.value;if(ce)Ce(Be,ce);else{Be.state=de,Be.outcome=Ze;for(var ke=-1,qe=Be.queue.length;++ke<qe;)Be.queue[ke].callFulfilled(Ze)}return Be},fe.reject=function(Be,Ze){Be.state=be,Be.outcome=Ze;for(var rt=-1,ce=Be.queue.length;++rt<ce;)Be.queue[rt].callRejected(Ze);return Be},we.resolve=function(Be){return Be instanceof this?Be:fe.resolve(new this(ve),Be)},we.reject=function(Be){var Ze=new this(ve);return fe.reject(Ze,Be)},we.all=function(Be){var Ze=this;if(Object.prototype.toString.call(Be)!=="[object Array]")return this.reject(new TypeError("must be an array"));var rt=Be.length,ce=!1;if(!rt)return this.resolve([]);for(var ke=new Array(rt),qe=0,_e=-1,mt=new this(ve);++_e<rt;)Re(Be[_e],_e);return mt;function Re(Ye,lt){Ze.resolve(Ye).then(function(Se){ke[lt]=Se,++qe!==rt||ce||(ce=!0,fe.resolve(mt,ke))},function(Se){ce||(ce=!0,fe.reject(mt,Se))})}},we.race=function(Be){var Ze=this;if(Object.prototype.toString.call(Be)!=="[object Array]")return this.reject(new TypeError("must be an array"));var rt=Be.length,ce=!1;if(!rt)return this.resolve([]);for(var ke=-1,qe=new this(ve);++ke<rt;)_e=Be[ke],Ze.resolve(_e).then(function(mt){ce||(ce=!0,fe.resolve(qe,mt))},function(mt){ce||(ce=!0,fe.reject(qe,mt))});var _e;return qe}},{immediate:36}],38:[function(pe,Ue,Pe){"use strict";var me={};(0,pe("./lib/utils/common").assign)(me,pe("./lib/deflate"),pe("./lib/inflate"),pe("./lib/zlib/constants")),Ue.exports=me},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(pe,Ue,Pe){"use strict";var me=pe("./zlib/deflate"),ve=pe("./utils/common"),fe=pe("./utils/strings"),be=pe("./zlib/messages"),de=pe("./zlib/zstream"),Le=Object.prototype.toString,we=0,Te=-1,xe=0,Fe=8;function Ce(Be){if(!(this instanceof Ce))return new Ce(Be);this.options=ve.assign({level:Te,method:Fe,chunkSize:16384,windowBits:15,memLevel:8,strategy:xe,to:""},Be||{});var Ze=this.options;Ze.raw&&0<Ze.windowBits?Ze.windowBits=-Ze.windowBits:Ze.gzip&&0<Ze.windowBits&&Ze.windowBits<16&&(Ze.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new de,this.strm.avail_out=0;var rt=me.deflateInit2(this.strm,Ze.level,Ze.method,Ze.windowBits,Ze.memLevel,Ze.strategy);if(rt!==we)throw new Error(be[rt]);if(Ze.header&&me.deflateSetHeader(this.strm,Ze.header),Ze.dictionary){var ce;if(ce=typeof Ze.dictionary=="string"?fe.string2buf(Ze.dictionary):Le.call(Ze.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Ze.dictionary):Ze.dictionary,(rt=me.deflateSetDictionary(this.strm,ce))!==we)throw new Error(be[rt]);this._dict_set=!0}}function De(Be,Ze){var rt=new Ce(Ze);if(rt.push(Be,!0),rt.err)throw rt.msg||be[rt.err];return rt.result}Ce.prototype.push=function(Be,Ze){var rt,ce,ke=this.strm,qe=this.options.chunkSize;if(this.ended)return!1;ce=Ze===~~Ze?Ze:Ze===!0?4:0,typeof Be=="string"?ke.input=fe.string2buf(Be):Le.call(Be)==="[object ArrayBuffer]"?ke.input=new Uint8Array(Be):ke.input=Be,ke.next_in=0,ke.avail_in=ke.input.length;do{if(ke.avail_out===0&&(ke.output=new ve.Buf8(qe),ke.next_out=0,ke.avail_out=qe),(rt=me.deflate(ke,ce))!==1&&rt!==we)return this.onEnd(rt),!(this.ended=!0);ke.avail_out!==0&&(ke.avail_in!==0||ce!==4&&ce!==2)||(this.options.to==="string"?this.onData(fe.buf2binstring(ve.shrinkBuf(ke.output,ke.next_out))):this.onData(ve.shrinkBuf(ke.output,ke.next_out)))}while((0<ke.avail_in||ke.avail_out===0)&&rt!==1);return ce===4?(rt=me.deflateEnd(this.strm),this.onEnd(rt),this.ended=!0,rt===we):ce!==2||(this.onEnd(we),!(ke.avail_out=0))},Ce.prototype.onData=function(Be){this.chunks.push(Be)},Ce.prototype.onEnd=function(Be){Be===we&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ve.flattenChunks(this.chunks)),this.chunks=[],this.err=Be,this.msg=this.strm.msg},Pe.Deflate=Ce,Pe.deflate=De,Pe.deflateRaw=function(Be,Ze){return(Ze=Ze||{}).raw=!0,De(Be,Ze)},Pe.gzip=function(Be,Ze){return(Ze=Ze||{}).gzip=!0,De(Be,Ze)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(pe,Ue,Pe){"use strict";var me=pe("./zlib/inflate"),ve=pe("./utils/common"),fe=pe("./utils/strings"),be=pe("./zlib/constants"),de=pe("./zlib/messages"),Le=pe("./zlib/zstream"),we=pe("./zlib/gzheader"),Te=Object.prototype.toString;function xe(Ce){if(!(this instanceof xe))return new xe(Ce);this.options=ve.assign({chunkSize:16384,windowBits:0,to:""},Ce||{});var De=this.options;De.raw&&0<=De.windowBits&&De.windowBits<16&&(De.windowBits=-De.windowBits,De.windowBits===0&&(De.windowBits=-15)),!(0<=De.windowBits&&De.windowBits<16)||Ce&&Ce.windowBits||(De.windowBits+=32),15<De.windowBits&&De.windowBits<48&&!(15&De.windowBits)&&(De.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Le,this.strm.avail_out=0;var Be=me.inflateInit2(this.strm,De.windowBits);if(Be!==be.Z_OK)throw new Error(de[Be]);this.header=new we,me.inflateGetHeader(this.strm,this.header)}function Fe(Ce,De){var Be=new xe(De);if(Be.push(Ce,!0),Be.err)throw Be.msg||de[Be.err];return Be.result}xe.prototype.push=function(Ce,De){var Be,Ze,rt,ce,ke,qe,_e=this.strm,mt=this.options.chunkSize,Re=this.options.dictionary,Ye=!1;if(this.ended)return!1;Ze=De===~~De?De:De===!0?be.Z_FINISH:be.Z_NO_FLUSH,typeof Ce=="string"?_e.input=fe.binstring2buf(Ce):Te.call(Ce)==="[object ArrayBuffer]"?_e.input=new Uint8Array(Ce):_e.input=Ce,_e.next_in=0,_e.avail_in=_e.input.length;do{if(_e.avail_out===0&&(_e.output=new ve.Buf8(mt),_e.next_out=0,_e.avail_out=mt),(Be=me.inflate(_e,be.Z_NO_FLUSH))===be.Z_NEED_DICT&&Re&&(qe=typeof Re=="string"?fe.string2buf(Re):Te.call(Re)==="[object ArrayBuffer]"?new Uint8Array(Re):Re,Be=me.inflateSetDictionary(this.strm,qe)),Be===be.Z_BUF_ERROR&&Ye===!0&&(Be=be.Z_OK,Ye=!1),Be!==be.Z_STREAM_END&&Be!==be.Z_OK)return this.onEnd(Be),!(this.ended=!0);_e.next_out&&(_e.avail_out!==0&&Be!==be.Z_STREAM_END&&(_e.avail_in!==0||Ze!==be.Z_FINISH&&Ze!==be.Z_SYNC_FLUSH)||(this.options.to==="string"?(rt=fe.utf8border(_e.output,_e.next_out),ce=_e.next_out-rt,ke=fe.buf2string(_e.output,rt),_e.next_out=ce,_e.avail_out=mt-ce,ce&&ve.arraySet(_e.output,_e.output,rt,ce,0),this.onData(ke)):this.onData(ve.shrinkBuf(_e.output,_e.next_out)))),_e.avail_in===0&&_e.avail_out===0&&(Ye=!0)}while((0<_e.avail_in||_e.avail_out===0)&&Be!==be.Z_STREAM_END);return Be===be.Z_STREAM_END&&(Ze=be.Z_FINISH),Ze===be.Z_FINISH?(Be=me.inflateEnd(this.strm),this.onEnd(Be),this.ended=!0,Be===be.Z_OK):Ze!==be.Z_SYNC_FLUSH||(this.onEnd(be.Z_OK),!(_e.avail_out=0))},xe.prototype.onData=function(Ce){this.chunks.push(Ce)},xe.prototype.onEnd=function(Ce){Ce===be.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ve.flattenChunks(this.chunks)),this.chunks=[],this.err=Ce,this.msg=this.strm.msg},Pe.Inflate=xe,Pe.inflate=Fe,Pe.inflateRaw=function(Ce,De){return(De=De||{}).raw=!0,Fe(Ce,De)},Pe.ungzip=Fe},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(pe,Ue,Pe){"use strict";var me=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Pe.assign=function(be){for(var de=Array.prototype.slice.call(arguments,1);de.length;){var Le=de.shift();if(Le){if(typeof Le!="object")throw new TypeError(Le+"must be non-object");for(var we in Le)Le.hasOwnProperty(we)&&(be[we]=Le[we])}}return be},Pe.shrinkBuf=function(be,de){return be.length===de?be:be.subarray?be.subarray(0,de):(be.length=de,be)};var ve={arraySet:function(be,de,Le,we,Te){if(de.subarray&&be.subarray)be.set(de.subarray(Le,Le+we),Te);else for(var xe=0;xe<we;xe++)be[Te+xe]=de[Le+xe]},flattenChunks:function(be){var de,Le,we,Te,xe,Fe;for(de=we=0,Le=be.length;de<Le;de++)we+=be[de].length;for(Fe=new Uint8Array(we),de=Te=0,Le=be.length;de<Le;de++)xe=be[de],Fe.set(xe,Te),Te+=xe.length;return Fe}},fe={arraySet:function(be,de,Le,we,Te){for(var xe=0;xe<we;xe++)be[Te+xe]=de[Le+xe]},flattenChunks:function(be){return[].concat.apply([],be)}};Pe.setTyped=function(be){be?(Pe.Buf8=Uint8Array,Pe.Buf16=Uint16Array,Pe.Buf32=Int32Array,Pe.assign(Pe,ve)):(Pe.Buf8=Array,Pe.Buf16=Array,Pe.Buf32=Array,Pe.assign(Pe,fe))},Pe.setTyped(me)},{}],42:[function(pe,Ue,Pe){"use strict";var me=pe("./common"),ve=!0,fe=!0;try{String.fromCharCode.apply(null,[0])}catch(we){ve=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(we){fe=!1}for(var be=new me.Buf8(256),de=0;de<256;de++)be[de]=252<=de?6:248<=de?5:240<=de?4:224<=de?3:192<=de?2:1;function Le(we,Te){if(Te<65537&&(we.subarray&&fe||!we.subarray&&ve))return String.fromCharCode.apply(null,me.shrinkBuf(we,Te));for(var xe="",Fe=0;Fe<Te;Fe++)xe+=String.fromCharCode(we[Fe]);return xe}be[254]=be[254]=1,Pe.string2buf=function(we){var Te,xe,Fe,Ce,De,Be=we.length,Ze=0;for(Ce=0;Ce<Be;Ce++)(64512&(xe=we.charCodeAt(Ce)))==55296&&Ce+1<Be&&(64512&(Fe=we.charCodeAt(Ce+1)))==56320&&(xe=65536+(xe-55296<<10)+(Fe-56320),Ce++),Ze+=xe<128?1:xe<2048?2:xe<65536?3:4;for(Te=new me.Buf8(Ze),Ce=De=0;De<Ze;Ce++)(64512&(xe=we.charCodeAt(Ce)))==55296&&Ce+1<Be&&(64512&(Fe=we.charCodeAt(Ce+1)))==56320&&(xe=65536+(xe-55296<<10)+(Fe-56320),Ce++),xe<128?Te[De++]=xe:(xe<2048?Te[De++]=192|xe>>>6:(xe<65536?Te[De++]=224|xe>>>12:(Te[De++]=240|xe>>>18,Te[De++]=128|xe>>>12&63),Te[De++]=128|xe>>>6&63),Te[De++]=128|63&xe);return Te},Pe.buf2binstring=function(we){return Le(we,we.length)},Pe.binstring2buf=function(we){for(var Te=new me.Buf8(we.length),xe=0,Fe=Te.length;xe<Fe;xe++)Te[xe]=we.charCodeAt(xe);return Te},Pe.buf2string=function(we,Te){var xe,Fe,Ce,De,Be=Te||we.length,Ze=new Array(2*Be);for(xe=Fe=0;xe<Be;)if((Ce=we[xe++])<128)Ze[Fe++]=Ce;else if(4<(De=be[Ce]))Ze[Fe++]=65533,xe+=De-1;else{for(Ce&=De===2?31:De===3?15:7;1<De&&xe<Be;)Ce=Ce<<6|63&we[xe++],De--;1<De?Ze[Fe++]=65533:Ce<65536?Ze[Fe++]=Ce:(Ce-=65536,Ze[Fe++]=55296|Ce>>10&1023,Ze[Fe++]=56320|1023&Ce)}return Le(Ze,Fe)},Pe.utf8border=function(we,Te){var xe;for((Te=Te||we.length)>we.length&&(Te=we.length),xe=Te-1;0<=xe&&(192&we[xe])==128;)xe--;return xe<0||xe===0?Te:xe+be[we[xe]]>Te?xe:Te}},{"./common":41}],43:[function(pe,Ue,Pe){"use strict";Ue.exports=function(me,ve,fe,be){for(var de=65535&me|0,Le=me>>>16&65535|0,we=0;fe!==0;){for(fe-=we=2e3<fe?2e3:fe;Le=Le+(de=de+ve[be++]|0)|0,--we;);de%=65521,Le%=65521}return de|Le<<16|0}},{}],44:[function(pe,Ue,Pe){"use strict";Ue.exports={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_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}},{}],45:[function(pe,Ue,Pe){"use strict";var me=function(){for(var ve,fe=[],be=0;be<256;be++){ve=be;for(var de=0;de<8;de++)ve=1&ve?3988292384^ve>>>1:ve>>>1;fe[be]=ve}return fe}();Ue.exports=function(ve,fe,be,de){var Le=me,we=de+be;ve^=-1;for(var Te=de;Te<we;Te++)ve=ve>>>8^Le[255&(ve^fe[Te])];return-1^ve}},{}],46:[function(pe,Ue,Pe){"use strict";var me,ve=pe("../utils/common"),fe=pe("./trees"),be=pe("./adler32"),de=pe("./crc32"),Le=pe("./messages"),we=0,Te=4,xe=0,Fe=-2,Ce=-1,De=4,Be=2,Ze=8,rt=9,ce=286,ke=30,qe=19,_e=2*ce+1,mt=15,Re=3,Ye=258,lt=Ye+Re+1,Se=42,Qe=113,he=1,ye=2,Ct=3,Ke=4;function yt(oe,ae){return oe.msg=Le[ae],ae}function Dt(oe){return(oe<<1)-(4<oe?9:0)}function Ge(oe){for(var ae=oe.length;0<=--ae;)oe[ae]=0}function Ae(oe){var ae=oe.state,ee=ae.pending;ee>oe.avail_out&&(ee=oe.avail_out),ee!==0&&(ve.arraySet(oe.output,ae.pending_buf,ae.pending_out,ee,oe.next_out),oe.next_out+=ee,ae.pending_out+=ee,oe.total_out+=ee,oe.avail_out-=ee,ae.pending-=ee,ae.pending===0&&(ae.pending_out=0))}function ot(oe,ae){fe._tr_flush_block(oe,0<=oe.block_start?oe.block_start:-1,oe.strstart-oe.block_start,ae),oe.block_start=oe.strstart,Ae(oe.strm)}function zt(oe,ae){oe.pending_buf[oe.pending++]=ae}function Et(oe,ae){oe.pending_buf[oe.pending++]=ae>>>8&255,oe.pending_buf[oe.pending++]=255&ae}function Oe(oe,ae){var ee,E,re=oe.max_chain_length,ne=oe.strstart,le=oe.prev_length,ge=oe.nice_match,Ee=oe.strstart>oe.w_size-lt?oe.strstart-(oe.w_size-lt):0,ze=oe.window,je=oe.w_mask,Xe=oe.prev,it=oe.strstart+Ye,pt=ze[ne+le-1],He=ze[ne+le];oe.prev_length>=oe.good_match&&(re>>=2),ge>oe.lookahead&&(ge=oe.lookahead);do if(ze[(ee=ae)+le]===He&&ze[ee+le-1]===pt&&ze[ee]===ze[ne]&&ze[++ee]===ze[ne+1]){ne+=2,ee++;do;while(ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ze[++ne]===ze[++ee]&&ne<it);if(E=Ye-(it-ne),ne=it-Ye,le<E){if(oe.match_start=ae,ge<=(le=E))break;pt=ze[ne+le-1],He=ze[ne+le]}}while((ae=Xe[ae&je])>Ee&&--re!=0);return le<=oe.lookahead?le:oe.lookahead}function Je(oe){var ae,ee,E,re,ne,le,ge,Ee,ze,je,Xe=oe.w_size;do{if(re=oe.window_size-oe.lookahead-oe.strstart,oe.strstart>=Xe+(Xe-lt)){for(ve.arraySet(oe.window,oe.window,Xe,Xe,0),oe.match_start-=Xe,oe.strstart-=Xe,oe.block_start-=Xe,ae=ee=oe.hash_size;E=oe.head[--ae],oe.head[ae]=Xe<=E?E-Xe:0,--ee;);for(ae=ee=Xe;E=oe.prev[--ae],oe.prev[ae]=Xe<=E?E-Xe:0,--ee;);re+=Xe}if(oe.strm.avail_in===0)break;if(le=oe.strm,ge=oe.window,Ee=oe.strstart+oe.lookahead,ze=re,je=void 0,je=le.avail_in,ze<je&&(je=ze),ee=je===0?0:(le.avail_in-=je,ve.arraySet(ge,le.input,le.next_in,je,Ee),le.state.wrap===1?le.adler=be(le.adler,ge,je,Ee):le.state.wrap===2&&(le.adler=de(le.adler,ge,je,Ee)),le.next_in+=je,le.total_in+=je,je),oe.lookahead+=ee,oe.lookahead+oe.insert>=Re)for(ne=oe.strstart-oe.insert,oe.ins_h=oe.window[ne],oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[ne+1])&oe.hash_mask;oe.insert&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[ne+Re-1])&oe.hash_mask,oe.prev[ne&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=ne,ne++,oe.insert--,!(oe.lookahead+oe.insert<Re)););}while(oe.lookahead<lt&&oe.strm.avail_in!==0)}function dt(oe,ae){for(var ee,E;;){if(oe.lookahead<lt){if(Je(oe),oe.lookahead<lt&&ae===we)return he;if(oe.lookahead===0)break}if(ee=0,oe.lookahead>=Re&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+Re-1])&oe.hash_mask,ee=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),ee!==0&&oe.strstart-ee<=oe.w_size-lt&&(oe.match_length=Oe(oe,ee)),oe.match_length>=Re)if(E=fe._tr_tally(oe,oe.strstart-oe.match_start,oe.match_length-Re),oe.lookahead-=oe.match_length,oe.match_length<=oe.max_lazy_match&&oe.lookahead>=Re){for(oe.match_length--;oe.strstart++,oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+Re-1])&oe.hash_mask,ee=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart,--oe.match_length!=0;);oe.strstart++}else oe.strstart+=oe.match_length,oe.match_length=0,oe.ins_h=oe.window[oe.strstart],oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+1])&oe.hash_mask;else E=fe._tr_tally(oe,0,oe.window[oe.strstart]),oe.lookahead--,oe.strstart++;if(E&&(ot(oe,!1),oe.strm.avail_out===0))return he}return oe.insert=oe.strstart<Re-1?oe.strstart:Re-1,ae===Te?(ot(oe,!0),oe.strm.avail_out===0?Ct:Ke):oe.last_lit&&(ot(oe,!1),oe.strm.avail_out===0)?he:ye}function It(oe,ae){for(var ee,E,re;;){if(oe.lookahead<lt){if(Je(oe),oe.lookahead<lt&&ae===we)return he;if(oe.lookahead===0)break}if(ee=0,oe.lookahead>=Re&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+Re-1])&oe.hash_mask,ee=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),oe.prev_length=oe.match_length,oe.prev_match=oe.match_start,oe.match_length=Re-1,ee!==0&&oe.prev_length<oe.max_lazy_match&&oe.strstart-ee<=oe.w_size-lt&&(oe.match_length=Oe(oe,ee),oe.match_length<=5&&(oe.strategy===1||oe.match_length===Re&&4096<oe.strstart-oe.match_start)&&(oe.match_length=Re-1)),oe.prev_length>=Re&&oe.match_length<=oe.prev_length){for(re=oe.strstart+oe.lookahead-Re,E=fe._tr_tally(oe,oe.strstart-1-oe.prev_match,oe.prev_length-Re),oe.lookahead-=oe.prev_length-1,oe.prev_length-=2;++oe.strstart<=re&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+Re-1])&oe.hash_mask,ee=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),--oe.prev_length!=0;);if(oe.match_available=0,oe.match_length=Re-1,oe.strstart++,E&&(ot(oe,!1),oe.strm.avail_out===0))return he}else if(oe.match_available){if((E=fe._tr_tally(oe,0,oe.window[oe.strstart-1]))&&ot(oe,!1),oe.strstart++,oe.lookahead--,oe.strm.avail_out===0)return he}else oe.match_available=1,oe.strstart++,oe.lookahead--}return oe.match_available&&(E=fe._tr_tally(oe,0,oe.window[oe.strstart-1]),oe.match_available=0),oe.insert=oe.strstart<Re-1?oe.strstart:Re-1,ae===Te?(ot(oe,!0),oe.strm.avail_out===0?Ct:Ke):oe.last_lit&&(ot(oe,!1),oe.strm.avail_out===0)?he:ye}function st(oe,ae,ee,E,re){this.good_length=oe,this.max_lazy=ae,this.nice_length=ee,this.max_chain=E,this.func=re}function Ft(){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=Ze,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 ve.Buf16(2*_e),this.dyn_dtree=new ve.Buf16(2*(2*ke+1)),this.bl_tree=new ve.Buf16(2*(2*qe+1)),Ge(this.dyn_ltree),Ge(this.dyn_dtree),Ge(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ve.Buf16(mt+1),this.heap=new ve.Buf16(2*ce+1),Ge(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ve.Buf16(2*ce+1),Ge(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ft(oe){var ae;return oe&&oe.state?(oe.total_in=oe.total_out=0,oe.data_type=Be,(ae=oe.state).pending=0,ae.pending_out=0,ae.wrap<0&&(ae.wrap=-ae.wrap),ae.status=ae.wrap?Se:Qe,oe.adler=ae.wrap===2?0:1,ae.last_flush=we,fe._tr_init(ae),xe):yt(oe,Fe)}function Gt(oe){var ae=ft(oe);return ae===xe&&function(ee){ee.window_size=2*ee.w_size,Ge(ee.head),ee.max_lazy_match=me[ee.level].max_lazy,ee.good_match=me[ee.level].good_length,ee.nice_match=me[ee.level].nice_length,ee.max_chain_length=me[ee.level].max_chain,ee.strstart=0,ee.block_start=0,ee.lookahead=0,ee.insert=0,ee.match_length=ee.prev_length=Re-1,ee.match_available=0,ee.ins_h=0}(oe.state),ae}function Pt(oe,ae,ee,E,re,ne){if(!oe)return Fe;var le=1;if(ae===Ce&&(ae=6),E<0?(le=0,E=-E):15<E&&(le=2,E-=16),re<1||rt<re||ee!==Ze||E<8||15<E||ae<0||9<ae||ne<0||De<ne)return yt(oe,Fe);E===8&&(E=9);var ge=new Ft;return(oe.state=ge).strm=oe,ge.wrap=le,ge.gzhead=null,ge.w_bits=E,ge.w_size=1<<ge.w_bits,ge.w_mask=ge.w_size-1,ge.hash_bits=re+7,ge.hash_size=1<<ge.hash_bits,ge.hash_mask=ge.hash_size-1,ge.hash_shift=~~((ge.hash_bits+Re-1)/Re),ge.window=new ve.Buf8(2*ge.w_size),ge.head=new ve.Buf16(ge.hash_size),ge.prev=new ve.Buf16(ge.w_size),ge.lit_bufsize=1<<re+6,ge.pending_buf_size=4*ge.lit_bufsize,ge.pending_buf=new ve.Buf8(ge.pending_buf_size),ge.d_buf=1*ge.lit_bufsize,ge.l_buf=3*ge.lit_bufsize,ge.level=ae,ge.strategy=ne,ge.method=ee,Gt(oe)}me=[new st(0,0,0,0,function(oe,ae){var ee=65535;for(ee>oe.pending_buf_size-5&&(ee=oe.pending_buf_size-5);;){if(oe.lookahead<=1){if(Je(oe),oe.lookahead===0&&ae===we)return he;if(oe.lookahead===0)break}oe.strstart+=oe.lookahead,oe.lookahead=0;var E=oe.block_start+ee;if((oe.strstart===0||oe.strstart>=E)&&(oe.lookahead=oe.strstart-E,oe.strstart=E,ot(oe,!1),oe.strm.avail_out===0)||oe.strstart-oe.block_start>=oe.w_size-lt&&(ot(oe,!1),oe.strm.avail_out===0))return he}return oe.insert=0,ae===Te?(ot(oe,!0),oe.strm.avail_out===0?Ct:Ke):(oe.strstart>oe.block_start&&(ot(oe,!1),oe.strm.avail_out),he)}),new st(4,4,8,4,dt),new st(4,5,16,8,dt),new st(4,6,32,32,dt),new st(4,4,16,16,It),new st(8,16,32,32,It),new st(8,16,128,128,It),new st(8,32,128,256,It),new st(32,128,258,1024,It),new st(32,258,258,4096,It)],Pe.deflateInit=function(oe,ae){return Pt(oe,ae,Ze,15,8,0)},Pe.deflateInit2=Pt,Pe.deflateReset=Gt,Pe.deflateResetKeep=ft,Pe.deflateSetHeader=function(oe,ae){return oe&&oe.state?oe.state.wrap!==2?Fe:(oe.state.gzhead=ae,xe):Fe},Pe.deflate=function(oe,ae){var ee,E,re,ne;if(!oe||!oe.state||5<ae||ae<0)return oe?yt(oe,Fe):Fe;if(E=oe.state,!oe.output||!oe.input&&oe.avail_in!==0||E.status===666&&ae!==Te)return yt(oe,oe.avail_out===0?-5:Fe);if(E.strm=oe,ee=E.last_flush,E.last_flush=ae,E.status===Se)if(E.wrap===2)oe.adler=0,zt(E,31),zt(E,139),zt(E,8),E.gzhead?(zt(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)),zt(E,255&E.gzhead.time),zt(E,E.gzhead.time>>8&255),zt(E,E.gzhead.time>>16&255),zt(E,E.gzhead.time>>24&255),zt(E,E.level===9?2:2<=E.strategy||E.level<2?4:0),zt(E,255&E.gzhead.os),E.gzhead.extra&&E.gzhead.extra.length&&(zt(E,255&E.gzhead.extra.length),zt(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(oe.adler=de(oe.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=69):(zt(E,0),zt(E,0),zt(E,0),zt(E,0),zt(E,0),zt(E,E.level===9?2:2<=E.strategy||E.level<2?4:0),zt(E,3),E.status=Qe);else{var le=Ze+(E.w_bits-8<<4)<<8;le|=(2<=E.strategy||E.level<2?0:E.level<6?1:E.level===6?2:3)<<6,E.strstart!==0&&(le|=32),le+=31-le%31,E.status=Qe,Et(E,le),E.strstart!==0&&(Et(E,oe.adler>>>16),Et(E,65535&oe.adler)),oe.adler=1}if(E.status===69)if(E.gzhead.extra){for(re=E.pending;E.gzindex<(65535&E.gzhead.extra.length)&&(E.pending!==E.pending_buf_size||(E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),Ae(oe),re=E.pending,E.pending!==E.pending_buf_size));)zt(E,255&E.gzhead.extra[E.gzindex]),E.gzindex++;E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),E.gzindex===E.gzhead.extra.length&&(E.gzindex=0,E.status=73)}else E.status=73;if(E.status===73)if(E.gzhead.name){re=E.pending;do{if(E.pending===E.pending_buf_size&&(E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),Ae(oe),re=E.pending,E.pending===E.pending_buf_size)){ne=1;break}ne=E.gzindex<E.gzhead.name.length?255&E.gzhead.name.charCodeAt(E.gzindex++):0,zt(E,ne)}while(ne!==0);E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),ne===0&&(E.gzindex=0,E.status=91)}else E.status=91;if(E.status===91)if(E.gzhead.comment){re=E.pending;do{if(E.pending===E.pending_buf_size&&(E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),Ae(oe),re=E.pending,E.pending===E.pending_buf_size)){ne=1;break}ne=E.gzindex<E.gzhead.comment.length?255&E.gzhead.comment.charCodeAt(E.gzindex++):0,zt(E,ne)}while(ne!==0);E.gzhead.hcrc&&E.pending>re&&(oe.adler=de(oe.adler,E.pending_buf,E.pending-re,re)),ne===0&&(E.status=103)}else E.status=103;if(E.status===103&&(E.gzhead.hcrc?(E.pending+2>E.pending_buf_size&&Ae(oe),E.pending+2<=E.pending_buf_size&&(zt(E,255&oe.adler),zt(E,oe.adler>>8&255),oe.adler=0,E.status=Qe)):E.status=Qe),E.pending!==0){if(Ae(oe),oe.avail_out===0)return E.last_flush=-1,xe}else if(oe.avail_in===0&&Dt(ae)<=Dt(ee)&&ae!==Te)return yt(oe,-5);if(E.status===666&&oe.avail_in!==0)return yt(oe,-5);if(oe.avail_in!==0||E.lookahead!==0||ae!==we&&E.status!==666){var ge=E.strategy===2?function(Ee,ze){for(var je;;){if(Ee.lookahead===0&&(Je(Ee),Ee.lookahead===0)){if(ze===we)return he;break}if(Ee.match_length=0,je=fe._tr_tally(Ee,0,Ee.window[Ee.strstart]),Ee.lookahead--,Ee.strstart++,je&&(ot(Ee,!1),Ee.strm.avail_out===0))return he}return Ee.insert=0,ze===Te?(ot(Ee,!0),Ee.strm.avail_out===0?Ct:Ke):Ee.last_lit&&(ot(Ee,!1),Ee.strm.avail_out===0)?he:ye}(E,ae):E.strategy===3?function(Ee,ze){for(var je,Xe,it,pt,He=Ee.window;;){if(Ee.lookahead<=Ye){if(Je(Ee),Ee.lookahead<=Ye&&ze===we)return he;if(Ee.lookahead===0)break}if(Ee.match_length=0,Ee.lookahead>=Re&&0<Ee.strstart&&(Xe=He[it=Ee.strstart-1])===He[++it]&&Xe===He[++it]&&Xe===He[++it]){pt=Ee.strstart+Ye;do;while(Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&Xe===He[++it]&&it<pt);Ee.match_length=Ye-(pt-it),Ee.match_length>Ee.lookahead&&(Ee.match_length=Ee.lookahead)}if(Ee.match_length>=Re?(je=fe._tr_tally(Ee,1,Ee.match_length-Re),Ee.lookahead-=Ee.match_length,Ee.strstart+=Ee.match_length,Ee.match_length=0):(je=fe._tr_tally(Ee,0,Ee.window[Ee.strstart]),Ee.lookahead--,Ee.strstart++),je&&(ot(Ee,!1),Ee.strm.avail_out===0))return he}return Ee.insert=0,ze===Te?(ot(Ee,!0),Ee.strm.avail_out===0?Ct:Ke):Ee.last_lit&&(ot(Ee,!1),Ee.strm.avail_out===0)?he:ye}(E,ae):me[E.level].func(E,ae);if(ge!==Ct&&ge!==Ke||(E.status=666),ge===he||ge===Ct)return oe.avail_out===0&&(E.last_flush=-1),xe;if(ge===ye&&(ae===1?fe._tr_align(E):ae!==5&&(fe._tr_stored_block(E,0,0,!1),ae===3&&(Ge(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),Ae(oe),oe.avail_out===0))return E.last_flush=-1,xe}return ae!==Te?xe:E.wrap<=0?1:(E.wrap===2?(zt(E,255&oe.adler),zt(E,oe.adler>>8&255),zt(E,oe.adler>>16&255),zt(E,oe.adler>>24&255),zt(E,255&oe.total_in),zt(E,oe.total_in>>8&255),zt(E,oe.total_in>>16&255),zt(E,oe.total_in>>24&255)):(Et(E,oe.adler>>>16),Et(E,65535&oe.adler)),Ae(oe),0<E.wrap&&(E.wrap=-E.wrap),E.pending!==0?xe:1)},Pe.deflateEnd=function(oe){var ae;return oe&&oe.state?(ae=oe.state.status)!==Se&&ae!==69&&ae!==73&&ae!==91&&ae!==103&&ae!==Qe&&ae!==666?yt(oe,Fe):(oe.state=null,ae===Qe?yt(oe,-3):xe):Fe},Pe.deflateSetDictionary=function(oe,ae){var ee,E,re,ne,le,ge,Ee,ze,je=ae.length;if(!oe||!oe.state||(ne=(ee=oe.state).wrap)===2||ne===1&&ee.status!==Se||ee.lookahead)return Fe;for(ne===1&&(oe.adler=be(oe.adler,ae,je,0)),ee.wrap=0,je>=ee.w_size&&(ne===0&&(Ge(ee.head),ee.strstart=0,ee.block_start=0,ee.insert=0),ze=new ve.Buf8(ee.w_size),ve.arraySet(ze,ae,je-ee.w_size,ee.w_size,0),ae=ze,je=ee.w_size),le=oe.avail_in,ge=oe.next_in,Ee=oe.input,oe.avail_in=je,oe.next_in=0,oe.input=ae,Je(ee);ee.lookahead>=Re;){for(E=ee.strstart,re=ee.lookahead-(Re-1);ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[E+Re-1])&ee.hash_mask,ee.prev[E&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=E,E++,--re;);ee.strstart=E,ee.lookahead=Re-1,Je(ee)}return ee.strstart+=ee.lookahead,ee.block_start=ee.strstart,ee.insert=ee.lookahead,ee.lookahead=0,ee.match_length=ee.prev_length=Re-1,ee.match_available=0,oe.next_in=ge,oe.input=Ee,oe.avail_in=le,ee.wrap=ne,xe},Pe.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(pe,Ue,Pe){"use strict";Ue.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(pe,Ue,Pe){"use strict";Ue.exports=function(me,ve){var fe,be,de,Le,we,Te,xe,Fe,Ce,De,Be,Ze,rt,ce,ke,qe,_e,mt,Re,Ye,lt,Se,Qe,he,ye;fe=me.state,be=me.next_in,he=me.input,de=be+(me.avail_in-5),Le=me.next_out,ye=me.output,we=Le-(ve-me.avail_out),Te=Le+(me.avail_out-257),xe=fe.dmax,Fe=fe.wsize,Ce=fe.whave,De=fe.wnext,Be=fe.window,Ze=fe.hold,rt=fe.bits,ce=fe.lencode,ke=fe.distcode,qe=(1<<fe.lenbits)-1,_e=(1<<fe.distbits)-1;e:do{rt<15&&(Ze+=he[be++]<<rt,rt+=8,Ze+=he[be++]<<rt,rt+=8),mt=ce[Ze&qe];t:for(;;){if(Ze>>>=Re=mt>>>24,rt-=Re,(Re=mt>>>16&255)===0)ye[Le++]=65535&mt;else{if(!(16&Re)){if(!(64&Re)){mt=ce[(65535&mt)+(Ze&(1<<Re)-1)];continue t}if(32&Re){fe.mode=12;break e}me.msg="invalid literal/length code",fe.mode=30;break e}Ye=65535&mt,(Re&=15)&&(rt<Re&&(Ze+=he[be++]<<rt,rt+=8),Ye+=Ze&(1<<Re)-1,Ze>>>=Re,rt-=Re),rt<15&&(Ze+=he[be++]<<rt,rt+=8,Ze+=he[be++]<<rt,rt+=8),mt=ke[Ze&_e];n:for(;;){if(Ze>>>=Re=mt>>>24,rt-=Re,!(16&(Re=mt>>>16&255))){if(!(64&Re)){mt=ke[(65535&mt)+(Ze&(1<<Re)-1)];continue n}me.msg="invalid distance code",fe.mode=30;break e}if(lt=65535&mt,rt<(Re&=15)&&(Ze+=he[be++]<<rt,(rt+=8)<Re&&(Ze+=he[be++]<<rt,rt+=8)),xe<(lt+=Ze&(1<<Re)-1)){me.msg="invalid distance too far back",fe.mode=30;break e}if(Ze>>>=Re,rt-=Re,(Re=Le-we)<lt){if(Ce<(Re=lt-Re)&&fe.sane){me.msg="invalid distance too far back",fe.mode=30;break e}if(Qe=Be,(Se=0)===De){if(Se+=Fe-Re,Re<Ye){for(Ye-=Re;ye[Le++]=Be[Se++],--Re;);Se=Le-lt,Qe=ye}}else if(De<Re){if(Se+=Fe+De-Re,(Re-=De)<Ye){for(Ye-=Re;ye[Le++]=Be[Se++],--Re;);if(Se=0,De<Ye){for(Ye-=Re=De;ye[Le++]=Be[Se++],--Re;);Se=Le-lt,Qe=ye}}}else if(Se+=De-Re,Re<Ye){for(Ye-=Re;ye[Le++]=Be[Se++],--Re;);Se=Le-lt,Qe=ye}for(;2<Ye;)ye[Le++]=Qe[Se++],ye[Le++]=Qe[Se++],ye[Le++]=Qe[Se++],Ye-=3;Ye&&(ye[Le++]=Qe[Se++],1<Ye&&(ye[Le++]=Qe[Se++]))}else{for(Se=Le-lt;ye[Le++]=ye[Se++],ye[Le++]=ye[Se++],ye[Le++]=ye[Se++],2<(Ye-=3););Ye&&(ye[Le++]=ye[Se++],1<Ye&&(ye[Le++]=ye[Se++]))}break}}break}}while(be<de&&Le<Te);be-=Ye=rt>>3,Ze&=(1<<(rt-=Ye<<3))-1,me.next_in=be,me.next_out=Le,me.avail_in=be<de?de-be+5:5-(be-de),me.avail_out=Le<Te?Te-Le+257:257-(Le-Te),fe.hold=Ze,fe.bits=rt}},{}],49:[function(pe,Ue,Pe){"use strict";var me=pe("../utils/common"),ve=pe("./adler32"),fe=pe("./crc32"),be=pe("./inffast"),de=pe("./inftrees"),Le=1,we=2,Te=0,xe=-2,Fe=1,Ce=852,De=592;function Be(Se){return(Se>>>24&255)+(Se>>>8&65280)+((65280&Se)<<8)+((255&Se)<<24)}function Ze(){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 me.Buf16(320),this.work=new me.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rt(Se){var Qe;return Se&&Se.state?(Qe=Se.state,Se.total_in=Se.total_out=Qe.total=0,Se.msg="",Qe.wrap&&(Se.adler=1&Qe.wrap),Qe.mode=Fe,Qe.last=0,Qe.havedict=0,Qe.dmax=32768,Qe.head=null,Qe.hold=0,Qe.bits=0,Qe.lencode=Qe.lendyn=new me.Buf32(Ce),Qe.distcode=Qe.distdyn=new me.Buf32(De),Qe.sane=1,Qe.back=-1,Te):xe}function ce(Se){var Qe;return Se&&Se.state?((Qe=Se.state).wsize=0,Qe.whave=0,Qe.wnext=0,rt(Se)):xe}function ke(Se,Qe){var he,ye;return Se&&Se.state?(ye=Se.state,Qe<0?(he=0,Qe=-Qe):(he=1+(Qe>>4),Qe<48&&(Qe&=15)),Qe&&(Qe<8||15<Qe)?xe:(ye.window!==null&&ye.wbits!==Qe&&(ye.window=null),ye.wrap=he,ye.wbits=Qe,ce(Se))):xe}function qe(Se,Qe){var he,ye;return Se?(ye=new Ze,(Se.state=ye).window=null,(he=ke(Se,Qe))!==Te&&(Se.state=null),he):xe}var _e,mt,Re=!0;function Ye(Se){if(Re){var Qe;for(_e=new me.Buf32(512),mt=new me.Buf32(32),Qe=0;Qe<144;)Se.lens[Qe++]=8;for(;Qe<256;)Se.lens[Qe++]=9;for(;Qe<280;)Se.lens[Qe++]=7;for(;Qe<288;)Se.lens[Qe++]=8;for(de(Le,Se.lens,0,288,_e,0,Se.work,{bits:9}),Qe=0;Qe<32;)Se.lens[Qe++]=5;de(we,Se.lens,0,32,mt,0,Se.work,{bits:5}),Re=!1}Se.lencode=_e,Se.lenbits=9,Se.distcode=mt,Se.distbits=5}function lt(Se,Qe,he,ye){var Ct,Ke=Se.state;return Ke.window===null&&(Ke.wsize=1<<Ke.wbits,Ke.wnext=0,Ke.whave=0,Ke.window=new me.Buf8(Ke.wsize)),ye>=Ke.wsize?(me.arraySet(Ke.window,Qe,he-Ke.wsize,Ke.wsize,0),Ke.wnext=0,Ke.whave=Ke.wsize):(ye<(Ct=Ke.wsize-Ke.wnext)&&(Ct=ye),me.arraySet(Ke.window,Qe,he-ye,Ct,Ke.wnext),(ye-=Ct)?(me.arraySet(Ke.window,Qe,he-ye,ye,0),Ke.wnext=ye,Ke.whave=Ke.wsize):(Ke.wnext+=Ct,Ke.wnext===Ke.wsize&&(Ke.wnext=0),Ke.whave<Ke.wsize&&(Ke.whave+=Ct))),0}Pe.inflateReset=ce,Pe.inflateReset2=ke,Pe.inflateResetKeep=rt,Pe.inflateInit=function(Se){return qe(Se,15)},Pe.inflateInit2=qe,Pe.inflate=function(Se,Qe){var he,ye,Ct,Ke,yt,Dt,Ge,Ae,ot,zt,Et,Oe,Je,dt,It,st,Ft,ft,Gt,Pt,oe,ae,ee,E,re=0,ne=new me.Buf8(4),le=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Se||!Se.state||!Se.output||!Se.input&&Se.avail_in!==0)return xe;(he=Se.state).mode===12&&(he.mode=13),yt=Se.next_out,Ct=Se.output,Ge=Se.avail_out,Ke=Se.next_in,ye=Se.input,Dt=Se.avail_in,Ae=he.hold,ot=he.bits,zt=Dt,Et=Ge,ae=Te;e:for(;;)switch(he.mode){case Fe:if(he.wrap===0){he.mode=13;break}for(;ot<16;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(2&he.wrap&&Ae===35615){ne[he.check=0]=255&Ae,ne[1]=Ae>>>8&255,he.check=fe(he.check,ne,2,0),ot=Ae=0,he.mode=2;break}if(he.flags=0,he.head&&(he.head.done=!1),!(1&he.wrap)||(((255&Ae)<<8)+(Ae>>8))%31){Se.msg="incorrect header check",he.mode=30;break}if((15&Ae)!=8){Se.msg="unknown compression method",he.mode=30;break}if(ot-=4,oe=8+(15&(Ae>>>=4)),he.wbits===0)he.wbits=oe;else if(oe>he.wbits){Se.msg="invalid window size",he.mode=30;break}he.dmax=1<<oe,Se.adler=he.check=1,he.mode=512&Ae?10:12,ot=Ae=0;break;case 2:for(;ot<16;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(he.flags=Ae,(255&he.flags)!=8){Se.msg="unknown compression method",he.mode=30;break}if(57344&he.flags){Se.msg="unknown header flags set",he.mode=30;break}he.head&&(he.head.text=Ae>>8&1),512&he.flags&&(ne[0]=255&Ae,ne[1]=Ae>>>8&255,he.check=fe(he.check,ne,2,0)),ot=Ae=0,he.mode=3;case 3:for(;ot<32;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.head&&(he.head.time=Ae),512&he.flags&&(ne[0]=255&Ae,ne[1]=Ae>>>8&255,ne[2]=Ae>>>16&255,ne[3]=Ae>>>24&255,he.check=fe(he.check,ne,4,0)),ot=Ae=0,he.mode=4;case 4:for(;ot<16;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.head&&(he.head.xflags=255&Ae,he.head.os=Ae>>8),512&he.flags&&(ne[0]=255&Ae,ne[1]=Ae>>>8&255,he.check=fe(he.check,ne,2,0)),ot=Ae=0,he.mode=5;case 5:if(1024&he.flags){for(;ot<16;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.length=Ae,he.head&&(he.head.extra_len=Ae),512&he.flags&&(ne[0]=255&Ae,ne[1]=Ae>>>8&255,he.check=fe(he.check,ne,2,0)),ot=Ae=0}else he.head&&(he.head.extra=null);he.mode=6;case 6:if(1024&he.flags&&(Dt<(Oe=he.length)&&(Oe=Dt),Oe&&(he.head&&(oe=he.head.extra_len-he.length,he.head.extra||(he.head.extra=new Array(he.head.extra_len)),me.arraySet(he.head.extra,ye,Ke,Oe,oe)),512&he.flags&&(he.check=fe(he.check,ye,Oe,Ke)),Dt-=Oe,Ke+=Oe,he.length-=Oe),he.length))break e;he.length=0,he.mode=7;case 7:if(2048&he.flags){if(Dt===0)break e;for(Oe=0;oe=ye[Ke+Oe++],he.head&&oe&&he.length<65536&&(he.head.name+=String.fromCharCode(oe)),oe&&Oe<Dt;);if(512&he.flags&&(he.check=fe(he.check,ye,Oe,Ke)),Dt-=Oe,Ke+=Oe,oe)break e}else he.head&&(he.head.name=null);he.length=0,he.mode=8;case 8:if(4096&he.flags){if(Dt===0)break e;for(Oe=0;oe=ye[Ke+Oe++],he.head&&oe&&he.length<65536&&(he.head.comment+=String.fromCharCode(oe)),oe&&Oe<Dt;);if(512&he.flags&&(he.check=fe(he.check,ye,Oe,Ke)),Dt-=Oe,Ke+=Oe,oe)break e}else he.head&&(he.head.comment=null);he.mode=9;case 9:if(512&he.flags){for(;ot<16;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(Ae!==(65535&he.check)){Se.msg="header crc mismatch",he.mode=30;break}ot=Ae=0}he.head&&(he.head.hcrc=he.flags>>9&1,he.head.done=!0),Se.adler=he.check=0,he.mode=12;break;case 10:for(;ot<32;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}Se.adler=he.check=Be(Ae),ot=Ae=0,he.mode=11;case 11:if(he.havedict===0)return Se.next_out=yt,Se.avail_out=Ge,Se.next_in=Ke,Se.avail_in=Dt,he.hold=Ae,he.bits=ot,2;Se.adler=he.check=1,he.mode=12;case 12:if(Qe===5||Qe===6)break e;case 13:if(he.last){Ae>>>=7&ot,ot-=7&ot,he.mode=27;break}for(;ot<3;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}switch(he.last=1&Ae,ot-=1,3&(Ae>>>=1)){case 0:he.mode=14;break;case 1:if(Ye(he),he.mode=20,Qe!==6)break;Ae>>>=2,ot-=2;break e;case 2:he.mode=17;break;case 3:Se.msg="invalid block type",he.mode=30}Ae>>>=2,ot-=2;break;case 14:for(Ae>>>=7&ot,ot-=7&ot;ot<32;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if((65535&Ae)!=(Ae>>>16^65535)){Se.msg="invalid stored block lengths",he.mode=30;break}if(he.length=65535&Ae,ot=Ae=0,he.mode=15,Qe===6)break e;case 15:he.mode=16;case 16:if(Oe=he.length){if(Dt<Oe&&(Oe=Dt),Ge<Oe&&(Oe=Ge),Oe===0)break e;me.arraySet(Ct,ye,Ke,Oe,yt),Dt-=Oe,Ke+=Oe,Ge-=Oe,yt+=Oe,he.length-=Oe;break}he.mode=12;break;case 17:for(;ot<14;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(he.nlen=257+(31&Ae),Ae>>>=5,ot-=5,he.ndist=1+(31&Ae),Ae>>>=5,ot-=5,he.ncode=4+(15&Ae),Ae>>>=4,ot-=4,286<he.nlen||30<he.ndist){Se.msg="too many length or distance symbols",he.mode=30;break}he.have=0,he.mode=18;case 18:for(;he.have<he.ncode;){for(;ot<3;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.lens[le[he.have++]]=7&Ae,Ae>>>=3,ot-=3}for(;he.have<19;)he.lens[le[he.have++]]=0;if(he.lencode=he.lendyn,he.lenbits=7,ee={bits:he.lenbits},ae=de(0,he.lens,0,19,he.lencode,0,he.work,ee),he.lenbits=ee.bits,ae){Se.msg="invalid code lengths set",he.mode=30;break}he.have=0,he.mode=19;case 19:for(;he.have<he.nlen+he.ndist;){for(;st=(re=he.lencode[Ae&(1<<he.lenbits)-1])>>>16&255,Ft=65535&re,!((It=re>>>24)<=ot);){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(Ft<16)Ae>>>=It,ot-=It,he.lens[he.have++]=Ft;else{if(Ft===16){for(E=It+2;ot<E;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(Ae>>>=It,ot-=It,he.have===0){Se.msg="invalid bit length repeat",he.mode=30;break}oe=he.lens[he.have-1],Oe=3+(3&Ae),Ae>>>=2,ot-=2}else if(Ft===17){for(E=It+3;ot<E;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}ot-=It,oe=0,Oe=3+(7&(Ae>>>=It)),Ae>>>=3,ot-=3}else{for(E=It+7;ot<E;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}ot-=It,oe=0,Oe=11+(127&(Ae>>>=It)),Ae>>>=7,ot-=7}if(he.have+Oe>he.nlen+he.ndist){Se.msg="invalid bit length repeat",he.mode=30;break}for(;Oe--;)he.lens[he.have++]=oe}}if(he.mode===30)break;if(he.lens[256]===0){Se.msg="invalid code -- missing end-of-block",he.mode=30;break}if(he.lenbits=9,ee={bits:he.lenbits},ae=de(Le,he.lens,0,he.nlen,he.lencode,0,he.work,ee),he.lenbits=ee.bits,ae){Se.msg="invalid literal/lengths set",he.mode=30;break}if(he.distbits=6,he.distcode=he.distdyn,ee={bits:he.distbits},ae=de(we,he.lens,he.nlen,he.ndist,he.distcode,0,he.work,ee),he.distbits=ee.bits,ae){Se.msg="invalid distances set",he.mode=30;break}if(he.mode=20,Qe===6)break e;case 20:he.mode=21;case 21:if(6<=Dt&&258<=Ge){Se.next_out=yt,Se.avail_out=Ge,Se.next_in=Ke,Se.avail_in=Dt,he.hold=Ae,he.bits=ot,be(Se,Et),yt=Se.next_out,Ct=Se.output,Ge=Se.avail_out,Ke=Se.next_in,ye=Se.input,Dt=Se.avail_in,Ae=he.hold,ot=he.bits,he.mode===12&&(he.back=-1);break}for(he.back=0;st=(re=he.lencode[Ae&(1<<he.lenbits)-1])>>>16&255,Ft=65535&re,!((It=re>>>24)<=ot);){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(st&&!(240&st)){for(ft=It,Gt=st,Pt=Ft;st=(re=he.lencode[Pt+((Ae&(1<<ft+Gt)-1)>>ft)])>>>16&255,Ft=65535&re,!(ft+(It=re>>>24)<=ot);){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}Ae>>>=ft,ot-=ft,he.back+=ft}if(Ae>>>=It,ot-=It,he.back+=It,he.length=Ft,st===0){he.mode=26;break}if(32&st){he.back=-1,he.mode=12;break}if(64&st){Se.msg="invalid literal/length code",he.mode=30;break}he.extra=15&st,he.mode=22;case 22:if(he.extra){for(E=he.extra;ot<E;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.length+=Ae&(1<<he.extra)-1,Ae>>>=he.extra,ot-=he.extra,he.back+=he.extra}he.was=he.length,he.mode=23;case 23:for(;st=(re=he.distcode[Ae&(1<<he.distbits)-1])>>>16&255,Ft=65535&re,!((It=re>>>24)<=ot);){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(!(240&st)){for(ft=It,Gt=st,Pt=Ft;st=(re=he.distcode[Pt+((Ae&(1<<ft+Gt)-1)>>ft)])>>>16&255,Ft=65535&re,!(ft+(It=re>>>24)<=ot);){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}Ae>>>=ft,ot-=ft,he.back+=ft}if(Ae>>>=It,ot-=It,he.back+=It,64&st){Se.msg="invalid distance code",he.mode=30;break}he.offset=Ft,he.extra=15&st,he.mode=24;case 24:if(he.extra){for(E=he.extra;ot<E;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}he.offset+=Ae&(1<<he.extra)-1,Ae>>>=he.extra,ot-=he.extra,he.back+=he.extra}if(he.offset>he.dmax){Se.msg="invalid distance too far back",he.mode=30;break}he.mode=25;case 25:if(Ge===0)break e;if(Oe=Et-Ge,he.offset>Oe){if((Oe=he.offset-Oe)>he.whave&&he.sane){Se.msg="invalid distance too far back",he.mode=30;break}Je=Oe>he.wnext?(Oe-=he.wnext,he.wsize-Oe):he.wnext-Oe,Oe>he.length&&(Oe=he.length),dt=he.window}else dt=Ct,Je=yt-he.offset,Oe=he.length;for(Ge<Oe&&(Oe=Ge),Ge-=Oe,he.length-=Oe;Ct[yt++]=dt[Je++],--Oe;);he.length===0&&(he.mode=21);break;case 26:if(Ge===0)break e;Ct[yt++]=he.length,Ge--,he.mode=21;break;case 27:if(he.wrap){for(;ot<32;){if(Dt===0)break e;Dt--,Ae|=ye[Ke++]<<ot,ot+=8}if(Et-=Ge,Se.total_out+=Et,he.total+=Et,Et&&(Se.adler=he.check=he.flags?fe(he.check,Ct,Et,yt-Et):ve(he.check,Ct,Et,yt-Et)),Et=Ge,(he.flags?Ae:Be(Ae))!==he.check){Se.msg="incorrect data check",he.mode=30;break}ot=Ae=0}he.mode=28;case 28:if(he.wrap&&he.flags){for(;ot<32;){if(Dt===0)break e;Dt--,Ae+=ye[Ke++]<<ot,ot+=8}if(Ae!==(4294967295&he.total)){Se.msg="incorrect length check",he.mode=30;break}ot=Ae=0}he.mode=29;case 29:ae=1;break e;case 30:ae=-3;break e;case 31:return-4;case 32:default:return xe}return Se.next_out=yt,Se.avail_out=Ge,Se.next_in=Ke,Se.avail_in=Dt,he.hold=Ae,he.bits=ot,(he.wsize||Et!==Se.avail_out&&he.mode<30&&(he.mode<27||Qe!==4))&<(Se,Se.output,Se.next_out,Et-Se.avail_out)?(he.mode=31,-4):(zt-=Se.avail_in,Et-=Se.avail_out,Se.total_in+=zt,Se.total_out+=Et,he.total+=Et,he.wrap&&Et&&(Se.adler=he.check=he.flags?fe(he.check,Ct,Et,Se.next_out-Et):ve(he.check,Ct,Et,Se.next_out-Et)),Se.data_type=he.bits+(he.last?64:0)+(he.mode===12?128:0)+(he.mode===20||he.mode===15?256:0),(zt==0&&Et===0||Qe===4)&&ae===Te&&(ae=-5),ae)},Pe.inflateEnd=function(Se){if(!Se||!Se.state)return xe;var Qe=Se.state;return Qe.window&&(Qe.window=null),Se.state=null,Te},Pe.inflateGetHeader=function(Se,Qe){var he;return Se&&Se.state&&2&(he=Se.state).wrap?((he.head=Qe).done=!1,Te):xe},Pe.inflateSetDictionary=function(Se,Qe){var he,ye=Qe.length;return Se&&Se.state?(he=Se.state).wrap!==0&&he.mode!==11?xe:he.mode===11&&ve(1,Qe,ye,0)!==he.check?-3:lt(Se,Qe,ye,ye)?(he.mode=31,-4):(he.havedict=1,Te):xe},Pe.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(pe,Ue,Pe){"use strict";var me=pe("../utils/common"),ve=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],fe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],be=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],de=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Ue.exports=function(Le,we,Te,xe,Fe,Ce,De,Be){var Ze,rt,ce,ke,qe,_e,mt,Re,Ye,lt=Be.bits,Se=0,Qe=0,he=0,ye=0,Ct=0,Ke=0,yt=0,Dt=0,Ge=0,Ae=0,ot=null,zt=0,Et=new me.Buf16(16),Oe=new me.Buf16(16),Je=null,dt=0;for(Se=0;Se<=15;Se++)Et[Se]=0;for(Qe=0;Qe<xe;Qe++)Et[we[Te+Qe]]++;for(Ct=lt,ye=15;1<=ye&&Et[ye]===0;ye--);if(ye<Ct&&(Ct=ye),ye===0)return Fe[Ce++]=20971520,Fe[Ce++]=20971520,Be.bits=1,0;for(he=1;he<ye&&Et[he]===0;he++);for(Ct<he&&(Ct=he),Se=Dt=1;Se<=15;Se++)if(Dt<<=1,(Dt-=Et[Se])<0)return-1;if(0<Dt&&(Le===0||ye!==1))return-1;for(Oe[1]=0,Se=1;Se<15;Se++)Oe[Se+1]=Oe[Se]+Et[Se];for(Qe=0;Qe<xe;Qe++)we[Te+Qe]!==0&&(De[Oe[we[Te+Qe]]++]=Qe);if(_e=Le===0?(ot=Je=De,19):Le===1?(ot=ve,zt-=257,Je=fe,dt-=257,256):(ot=be,Je=de,-1),Se=he,qe=Ce,yt=Qe=Ae=0,ce=-1,ke=(Ge=1<<(Ke=Ct))-1,Le===1&&852<Ge||Le===2&&592<Ge)return 1;for(;;){for(mt=Se-yt,Ye=De[Qe]<_e?(Re=0,De[Qe]):De[Qe]>_e?(Re=Je[dt+De[Qe]],ot[zt+De[Qe]]):(Re=96,0),Ze=1<<Se-yt,he=rt=1<<Ke;Fe[qe+(Ae>>yt)+(rt-=Ze)]=mt<<24|Re<<16|Ye|0,rt!==0;);for(Ze=1<<Se-1;Ae&Ze;)Ze>>=1;if(Ze!==0?(Ae&=Ze-1,Ae+=Ze):Ae=0,Qe++,--Et[Se]==0){if(Se===ye)break;Se=we[Te+De[Qe]]}if(Ct<Se&&(Ae&ke)!==ce){for(yt===0&&(yt=Ct),qe+=he,Dt=1<<(Ke=Se-yt);Ke+yt<ye&&!((Dt-=Et[Ke+yt])<=0);)Ke++,Dt<<=1;if(Ge+=1<<Ke,Le===1&&852<Ge||Le===2&&592<Ge)return 1;Fe[ce=Ae&ke]=Ct<<24|Ke<<16|qe-Ce|0}}return Ae!==0&&(Fe[qe+Ae]=Se-yt<<24|64<<16|0),Be.bits=Ct,0}},{"../utils/common":41}],51:[function(pe,Ue,Pe){"use strict";Ue.exports={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"}},{}],52:[function(pe,Ue,Pe){"use strict";var me=pe("../utils/common"),ve=0,fe=1;function be(re){for(var ne=re.length;0<=--ne;)re[ne]=0}var de=0,Le=29,we=256,Te=we+1+Le,xe=30,Fe=19,Ce=2*Te+1,De=15,Be=16,Ze=7,rt=256,ce=16,ke=17,qe=18,_e=[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],mt=[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],Re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],lt=new Array(2*(Te+2));be(lt);var Se=new Array(2*xe);be(Se);var Qe=new Array(512);be(Qe);var he=new Array(256);be(he);var ye=new Array(Le);be(ye);var Ct,Ke,yt,Dt=new Array(xe);function Ge(re,ne,le,ge,Ee){this.static_tree=re,this.extra_bits=ne,this.extra_base=le,this.elems=ge,this.max_length=Ee,this.has_stree=re&&re.length}function Ae(re,ne){this.dyn_tree=re,this.max_code=0,this.stat_desc=ne}function ot(re){return re<256?Qe[re]:Qe[256+(re>>>7)]}function zt(re,ne){re.pending_buf[re.pending++]=255&ne,re.pending_buf[re.pending++]=ne>>>8&255}function Et(re,ne,le){re.bi_valid>Be-le?(re.bi_buf|=ne<<re.bi_valid&65535,zt(re,re.bi_buf),re.bi_buf=ne>>Be-re.bi_valid,re.bi_valid+=le-Be):(re.bi_buf|=ne<<re.bi_valid&65535,re.bi_valid+=le)}function Oe(re,ne,le){Et(re,le[2*ne],le[2*ne+1])}function Je(re,ne){for(var le=0;le|=1&re,re>>>=1,le<<=1,0<--ne;);return le>>>1}function dt(re,ne,le){var ge,Ee,ze=new Array(De+1),je=0;for(ge=1;ge<=De;ge++)ze[ge]=je=je+le[ge-1]<<1;for(Ee=0;Ee<=ne;Ee++){var Xe=re[2*Ee+1];Xe!==0&&(re[2*Ee]=Je(ze[Xe]++,Xe))}}function It(re){var ne;for(ne=0;ne<Te;ne++)re.dyn_ltree[2*ne]=0;for(ne=0;ne<xe;ne++)re.dyn_dtree[2*ne]=0;for(ne=0;ne<Fe;ne++)re.bl_tree[2*ne]=0;re.dyn_ltree[2*rt]=1,re.opt_len=re.static_len=0,re.last_lit=re.matches=0}function st(re){8<re.bi_valid?zt(re,re.bi_buf):0<re.bi_valid&&(re.pending_buf[re.pending++]=re.bi_buf),re.bi_buf=0,re.bi_valid=0}function Ft(re,ne,le,ge){var Ee=2*ne,ze=2*le;return re[Ee]<re[ze]||re[Ee]===re[ze]&&ge[ne]<=ge[le]}function ft(re,ne,le){for(var ge=re.heap[le],Ee=le<<1;Ee<=re.heap_len&&(Ee<re.heap_len&&Ft(ne,re.heap[Ee+1],re.heap[Ee],re.depth)&&Ee++,!Ft(ne,ge,re.heap[Ee],re.depth));)re.heap[le]=re.heap[Ee],le=Ee,Ee<<=1;re.heap[le]=ge}function Gt(re,ne,le){var ge,Ee,ze,je,Xe=0;if(re.last_lit!==0)for(;ge=re.pending_buf[re.d_buf+2*Xe]<<8|re.pending_buf[re.d_buf+2*Xe+1],Ee=re.pending_buf[re.l_buf+Xe],Xe++,ge===0?Oe(re,Ee,ne):(Oe(re,(ze=he[Ee])+we+1,ne),(je=_e[ze])!==0&&Et(re,Ee-=ye[ze],je),Oe(re,ze=ot(--ge),le),(je=mt[ze])!==0&&Et(re,ge-=Dt[ze],je)),Xe<re.last_lit;);Oe(re,rt,ne)}function Pt(re,ne){var le,ge,Ee,ze=ne.dyn_tree,je=ne.stat_desc.static_tree,Xe=ne.stat_desc.has_stree,it=ne.stat_desc.elems,pt=-1;for(re.heap_len=0,re.heap_max=Ce,le=0;le<it;le++)ze[2*le]!==0?(re.heap[++re.heap_len]=pt=le,re.depth[le]=0):ze[2*le+1]=0;for(;re.heap_len<2;)ze[2*(Ee=re.heap[++re.heap_len]=pt<2?++pt:0)]=1,re.depth[Ee]=0,re.opt_len--,Xe&&(re.static_len-=je[2*Ee+1]);for(ne.max_code=pt,le=re.heap_len>>1;1<=le;le--)ft(re,ze,le);for(Ee=it;le=re.heap[1],re.heap[1]=re.heap[re.heap_len--],ft(re,ze,1),ge=re.heap[1],re.heap[--re.heap_max]=le,re.heap[--re.heap_max]=ge,ze[2*Ee]=ze[2*le]+ze[2*ge],re.depth[Ee]=(re.depth[le]>=re.depth[ge]?re.depth[le]:re.depth[ge])+1,ze[2*le+1]=ze[2*ge+1]=Ee,re.heap[1]=Ee++,ft(re,ze,1),2<=re.heap_len;);re.heap[--re.heap_max]=re.heap[1],function(He,et){var $t,Lt,qt,Nt,Mt,Kt,Jt=et.dyn_tree,gt=et.max_code,kt=et.stat_desc.static_tree,nn=et.stat_desc.has_stree,vn=et.stat_desc.extra_bits,ct=et.stat_desc.extra_base,wt=et.stat_desc.max_length,Wt=0;for(Nt=0;Nt<=De;Nt++)He.bl_count[Nt]=0;for(Jt[2*He.heap[He.heap_max]+1]=0,$t=He.heap_max+1;$t<Ce;$t++)wt<(Nt=Jt[2*Jt[2*(Lt=He.heap[$t])+1]+1]+1)&&(Nt=wt,Wt++),Jt[2*Lt+1]=Nt,gt<Lt||(He.bl_count[Nt]++,Mt=0,ct<=Lt&&(Mt=vn[Lt-ct]),Kt=Jt[2*Lt],He.opt_len+=Kt*(Nt+Mt),nn&&(He.static_len+=Kt*(kt[2*Lt+1]+Mt)));if(Wt!==0){do{for(Nt=wt-1;He.bl_count[Nt]===0;)Nt--;He.bl_count[Nt]--,He.bl_count[Nt+1]+=2,He.bl_count[wt]--,Wt-=2}while(0<Wt);for(Nt=wt;Nt!==0;Nt--)for(Lt=He.bl_count[Nt];Lt!==0;)gt<(qt=He.heap[--$t])||(Jt[2*qt+1]!==Nt&&(He.opt_len+=(Nt-Jt[2*qt+1])*Jt[2*qt],Jt[2*qt+1]=Nt),Lt--)}}(re,ne),dt(ze,pt,re.bl_count)}function oe(re,ne,le){var ge,Ee,ze=-1,je=ne[1],Xe=0,it=7,pt=4;for(je===0&&(it=138,pt=3),ne[2*(le+1)+1]=65535,ge=0;ge<=le;ge++)Ee=je,je=ne[2*(ge+1)+1],++Xe<it&&Ee===je||(Xe<pt?re.bl_tree[2*Ee]+=Xe:Ee!==0?(Ee!==ze&&re.bl_tree[2*Ee]++,re.bl_tree[2*ce]++):Xe<=10?re.bl_tree[2*ke]++:re.bl_tree[2*qe]++,ze=Ee,pt=(Xe=0)===je?(it=138,3):Ee===je?(it=6,3):(it=7,4))}function ae(re,ne,le){var ge,Ee,ze=-1,je=ne[1],Xe=0,it=7,pt=4;for(je===0&&(it=138,pt=3),ge=0;ge<=le;ge++)if(Ee=je,je=ne[2*(ge+1)+1],!(++Xe<it&&Ee===je)){if(Xe<pt)for(;Oe(re,Ee,re.bl_tree),--Xe!=0;);else Ee!==0?(Ee!==ze&&(Oe(re,Ee,re.bl_tree),Xe--),Oe(re,ce,re.bl_tree),Et(re,Xe-3,2)):Xe<=10?(Oe(re,ke,re.bl_tree),Et(re,Xe-3,3)):(Oe(re,qe,re.bl_tree),Et(re,Xe-11,7));ze=Ee,pt=(Xe=0)===je?(it=138,3):Ee===je?(it=6,3):(it=7,4)}}be(Dt);var ee=!1;function E(re,ne,le,ge){Et(re,(de<<1)+(ge?1:0),3),function(Ee,ze,je,Xe){st(Ee),Xe&&(zt(Ee,je),zt(Ee,~je)),me.arraySet(Ee.pending_buf,Ee.window,ze,je,Ee.pending),Ee.pending+=je}(re,ne,le,!0)}Pe._tr_init=function(re){ee||(function(){var ne,le,ge,Ee,ze,je=new Array(De+1);for(Ee=ge=0;Ee<Le-1;Ee++)for(ye[Ee]=ge,ne=0;ne<1<<_e[Ee];ne++)he[ge++]=Ee;for(he[ge-1]=Ee,Ee=ze=0;Ee<16;Ee++)for(Dt[Ee]=ze,ne=0;ne<1<<mt[Ee];ne++)Qe[ze++]=Ee;for(ze>>=7;Ee<xe;Ee++)for(Dt[Ee]=ze<<7,ne=0;ne<1<<mt[Ee]-7;ne++)Qe[256+ze++]=Ee;for(le=0;le<=De;le++)je[le]=0;for(ne=0;ne<=143;)lt[2*ne+1]=8,ne++,je[8]++;for(;ne<=255;)lt[2*ne+1]=9,ne++,je[9]++;for(;ne<=279;)lt[2*ne+1]=7,ne++,je[7]++;for(;ne<=287;)lt[2*ne+1]=8,ne++,je[8]++;for(dt(lt,Te+1,je),ne=0;ne<xe;ne++)Se[2*ne+1]=5,Se[2*ne]=Je(ne,5);Ct=new Ge(lt,_e,we+1,Te,De),Ke=new Ge(Se,mt,0,xe,De),yt=new Ge(new Array(0),Re,0,Fe,Ze)}(),ee=!0),re.l_desc=new Ae(re.dyn_ltree,Ct),re.d_desc=new Ae(re.dyn_dtree,Ke),re.bl_desc=new Ae(re.bl_tree,yt),re.bi_buf=0,re.bi_valid=0,It(re)},Pe._tr_stored_block=E,Pe._tr_flush_block=function(re,ne,le,ge){var Ee,ze,je=0;0<re.level?(re.strm.data_type===2&&(re.strm.data_type=function(Xe){var it,pt=4093624447;for(it=0;it<=31;it++,pt>>>=1)if(1&pt&&Xe.dyn_ltree[2*it]!==0)return ve;if(Xe.dyn_ltree[18]!==0||Xe.dyn_ltree[20]!==0||Xe.dyn_ltree[26]!==0)return fe;for(it=32;it<we;it++)if(Xe.dyn_ltree[2*it]!==0)return fe;return ve}(re)),Pt(re,re.l_desc),Pt(re,re.d_desc),je=function(Xe){var it;for(oe(Xe,Xe.dyn_ltree,Xe.l_desc.max_code),oe(Xe,Xe.dyn_dtree,Xe.d_desc.max_code),Pt(Xe,Xe.bl_desc),it=Fe-1;3<=it&&Xe.bl_tree[2*Ye[it]+1]===0;it--);return Xe.opt_len+=3*(it+1)+5+5+4,it}(re),Ee=re.opt_len+3+7>>>3,(ze=re.static_len+3+7>>>3)<=Ee&&(Ee=ze)):Ee=ze=le+5,le+4<=Ee&&ne!==-1?E(re,ne,le,ge):re.strategy===4||ze===Ee?(Et(re,2+(ge?1:0),3),Gt(re,lt,Se)):(Et(re,4+(ge?1:0),3),function(Xe,it,pt,He){var et;for(Et(Xe,it-257,5),Et(Xe,pt-1,5),Et(Xe,He-4,4),et=0;et<He;et++)Et(Xe,Xe.bl_tree[2*Ye[et]+1],3);ae(Xe,Xe.dyn_ltree,it-1),ae(Xe,Xe.dyn_dtree,pt-1)}(re,re.l_desc.max_code+1,re.d_desc.max_code+1,je+1),Gt(re,re.dyn_ltree,re.dyn_dtree)),It(re),ge&&st(re)},Pe._tr_tally=function(re,ne,le){return re.pending_buf[re.d_buf+2*re.last_lit]=ne>>>8&255,re.pending_buf[re.d_buf+2*re.last_lit+1]=255&ne,re.pending_buf[re.l_buf+re.last_lit]=255&le,re.last_lit++,ne===0?re.dyn_ltree[2*le]++:(re.matches++,ne--,re.dyn_ltree[2*(he[le]+we+1)]++,re.dyn_dtree[2*ot(ne)]++),re.last_lit===re.lit_bufsize-1},Pe._tr_align=function(re){Et(re,2,3),Oe(re,rt,lt),function(ne){ne.bi_valid===16?(zt(ne,ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0):8<=ne.bi_valid&&(ne.pending_buf[ne.pending++]=255&ne.bi_buf,ne.bi_buf>>=8,ne.bi_valid-=8)}(re)}},{"../utils/common":41}],53:[function(pe,Ue,Pe){"use strict";Ue.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(pe,Ue,Pe){(function(me){(function(ve,fe){"use strict";if(!ve.setImmediate){var be,de,Le,we,Te=1,xe={},Fe=!1,Ce=ve.document,De=Object.getPrototypeOf&&Object.getPrototypeOf(ve);De=De&&De.setTimeout?De:ve,be={}.toString.call(ve.process)==="[object process]"?function(ce){tt.nextTick(function(){Ze(ce)})}:function(){if(ve.postMessage&&!ve.importScripts){var ce=!0,ke=ve.onmessage;return ve.onmessage=function(){ce=!1},ve.postMessage("","*"),ve.onmessage=ke,ce}}()?(we="setImmediate$"+Math.random()+"$",ve.addEventListener?ve.addEventListener("message",rt,!1):ve.attachEvent("onmessage",rt),function(ce){ve.postMessage(we+ce,"*")}):ve.MessageChannel?((Le=new MessageChannel).port1.onmessage=function(ce){Ze(ce.data)},function(ce){Le.port2.postMessage(ce)}):Ce&&"onreadystatechange"in Ce.createElement("script")?(de=Ce.documentElement,function(ce){var ke=Ce.createElement("script");ke.onreadystatechange=function(){Ze(ce),ke.onreadystatechange=null,de.removeChild(ke),ke=null},de.appendChild(ke)}):function(ce){setTimeout(Ze,0,ce)},De.setImmediate=function(ce){typeof ce!="function"&&(ce=new Function(""+ce));for(var ke=new Array(arguments.length-1),qe=0;qe<ke.length;qe++)ke[qe]=arguments[qe+1];var _e={callback:ce,args:ke};return xe[Te]=_e,be(Te),Te++},De.clearImmediate=Be}function Be(ce){delete xe[ce]}function Ze(ce){if(Fe)setTimeout(Ze,0,ce);else{var ke=xe[ce];if(ke){Fe=!0;try{(function(qe){var _e=qe.callback,mt=qe.args;switch(mt.length){case 0:_e();break;case 1:_e(mt[0]);break;case 2:_e(mt[0],mt[1]);break;case 3:_e(mt[0],mt[1],mt[2]);break;default:_e.apply(fe,mt)}})(ke)}finally{Be(ce),Fe=!1}}}}function rt(ce){ce.source===ve&&typeof ce.data=="string"&&ce.data.indexOf(we)===0&&Ze(+ce.data.slice(we.length))}})(typeof self=="undefined"?me===void 0?this:me:self)}).call(this,typeof te.g!="undefined"?te.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(Tn,sn,te){"use strict";te.d(sn,{hP:function(){return Pt}});var b=function(oe,ae){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,E){ee.__proto__=E}||function(ee,E){for(var re in E)Object.prototype.hasOwnProperty.call(E,re)&&(ee[re]=E[re])})(oe,ae)};function tt(oe,ae){function ee(){this.constructor=oe}b(oe,ae),oe.prototype=ae===null?Object.create(ae):(ee.prototype=ae.prototype,new ee)}function pe(oe,ae,ee,E){return new(ee||(ee=Promise))(function(re,ne){function le(ze){try{Ee(E.next(ze))}catch(je){ne(je)}}function ge(ze){try{Ee(E.throw(ze))}catch(je){ne(je)}}function Ee(ze){var je;ze.done?re(ze.value):(je=ze.value,je instanceof ee?je:new ee(function(Xe){Xe(je)})).then(le,ge)}Ee((E=E.apply(oe,ae||[])).next())})}function Ue(oe,ae){var ee,E,re,ne,le={label:0,sent:function(){if(1&re[0])throw re[1];return re[1]},trys:[],ops:[]};return ne={next:ge(0),throw:ge(1),return:ge(2)},typeof Symbol=="function"&&(ne[Symbol.iterator]=function(){return this}),ne;function ge(Ee){return function(ze){return function(je){if(ee)throw new TypeError("Generator is already executing.");for(;le;)try{if(ee=1,E&&(re=2&je[0]?E.return:je[0]?E.throw||((re=E.return)&&re.call(E),0):E.next)&&!(re=re.call(E,je[1])).done)return re;switch(E=0,re&&(je=[2&je[0],re.value]),je[0]){case 0:case 1:re=je;break;case 4:return le.label++,{value:je[1],done:!1};case 5:le.label++,E=je[1],je=[0];continue;case 7:je=le.ops.pop(),le.trys.pop();continue;default:if(re=le.trys,!((re=re.length>0&&re[re.length-1])||je[0]!==6&&je[0]!==2)){le=0;continue}if(je[0]===3&&(!re||je[1]>re[0]&&je[1]<re[3])){le.label=je[1];break}if(je[0]===6&&le.label<re[1]){le.label=re[1],re=je;break}if(re&&le.label<re[2]){le.label=re[2],le.ops.push(je);break}re[2]&&le.ops.pop(),le.trys.pop();continue}je=ae.call(oe,le)}catch(Xe){je=[6,Xe],E=0}finally{ee=re=0}if(5&je[0])throw je[1];return{value:je[0]?je[1]:void 0,done:!0}}([Ee,ze])}}}function Pe(){for(var oe=0,ae=0,ee=arguments.length;ae<ee;ae++)oe+=arguments[ae].length;var E=Array(oe),re=0;for(ae=0;ae<ee;ae++)for(var ne=arguments[ae],le=0,ge=ne.length;le<ge;le++,re++)E[re]=ne[le];return E}var me=function(){function oe(){}return oe.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},oe.setAttributes=function(ae,ee){for(var E=0,re=ee;E<re.length;E++){var ne=re[E],le=ne[0],ge=ne[1];ae.setAttribute(le,ge)}},oe.createRect=function(ae,ee,E){var re=document.createElementNS("http://www.w3.org/2000/svg","rect");return re.setAttribute("width",ae.toString()),re.setAttribute("height",ee.toString()),E&&oe.setAttributes(re,E),re},oe.createLine=function(ae,ee,E,re,ne){var le=document.createElementNS("http://www.w3.org/2000/svg","line");return le.setAttribute("x1",ae.toString()),le.setAttribute("y1",ee.toString()),le.setAttribute("x2",E.toString()),le.setAttribute("y2",re.toString()),ne&&oe.setAttributes(le,ne),le},oe.createPolygon=function(ae,ee){var E=document.createElementNS("http://www.w3.org/2000/svg","polygon");return E.setAttribute("points",ae),ee&&oe.setAttributes(E,ee),E},oe.createCircle=function(ae,ee){var E=document.createElementNS("http://www.w3.org/2000/svg","circle");return E.setAttribute("cx",(ae/2).toString()),E.setAttribute("cy",(ae/2).toString()),E.setAttribute("r",ae.toString()),ee&&oe.setAttributes(E,ee),E},oe.createEllipse=function(ae,ee,E){var re=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return re.setAttribute("cx",(ae/2).toString()),re.setAttribute("cy",(ee/2).toString()),re.setAttribute("rx",(ae/2).toString()),re.setAttribute("ry",(ee/2).toString()),E&&oe.setAttributes(re,E),re},oe.createGroup=function(ae){var ee=document.createElementNS("http://www.w3.org/2000/svg","g");return ae&&oe.setAttributes(ee,ae),ee},oe.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},oe.createMarker=function(ae,ee,E,re,ne,le,ge){var Ee=document.createElementNS("http://www.w3.org/2000/svg","marker");return oe.setAttributes(Ee,[["id",ae],["orient",ee],["markerWidth",E.toString()],["markerHeight",re.toString()],["refX",ne.toString()],["refY",le.toString()]]),Ee.appendChild(ge),Ee},oe.createText=function(ae){var ee=document.createElementNS("http://www.w3.org/2000/svg","text");return ee.setAttribute("x","0"),ee.setAttribute("y","0"),ae&&oe.setAttributes(ee,ae),ee},oe.createTSpan=function(ae,ee){var E=document.createElementNS("http://www.w3.org/2000/svg","tspan");return E.textContent=ae,ee&&oe.setAttributes(E,ee),E},oe.createImage=function(ae){var ee=document.createElementNS("http://www.w3.org/2000/svg","image");return ae&&oe.setAttributes(ee,ae),ee},oe.createPoint=function(ae,ee){var E=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return E.x=ae,E.y=ee,E},oe.createPath=function(ae,ee){var E=document.createElementNS("http://www.w3.org/2000/svg","path");return E.setAttribute("d",ae),ee&&oe.setAttributes(E,ee),E},oe}(),ve=function(){function oe(){}return oe.addKey=function(ae){oe.key=ae},Object.defineProperty(oe,"isLicensed",{get:function(){return!!oe.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(oe.key)},enumerable:!1,configurable:!0}),oe}(),fe=function(){function oe(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return oe.prototype.rasterize=function(ae,ee,E){var re=this;return new Promise(function(ne){var le=E!==void 0?E:document.createElement("canvas");ae===null&&(re.markersOnly=!0,re.naturalSize=!1);var ge=document.createElementNS("http://www.w3.org/2000/svg","svg");ge.setAttribute("xmlns","http://www.w3.org/2000/svg"),ge.setAttribute("width",ee.width.baseVal.valueAsString),ge.setAttribute("height",ee.height.baseVal.valueAsString),ge.setAttribute("viewBox","0 0 "+ee.viewBox.baseVal.width.toString()+" "+ee.viewBox.baseVal.height.toString()),ge.innerHTML=ee.innerHTML,re.naturalSize===!0?(ge.width.baseVal.value=ae.naturalWidth,ge.height.baseVal.value=ae.naturalHeight):re.width!==void 0&&re.height!==void 0&&(ge.width.baseVal.value=re.width,ge.height.baseVal.value=re.height),le.width=ge.width.baseVal.value,le.height=ge.height.baseVal.value;var Ee=ge.outerHTML,ze=le.getContext("2d");re.markersOnly!==!0&&ze.drawImage(ae,0,0,le.width,le.height);var je=window.URL,Xe=new Image(le.width,le.height);Xe.setAttribute("crossOrigin","anonymous");var it=new Blob([Ee],{type:"image/svg+xml"}),pt=je.createObjectURL(it);Xe.onload=function(){ze.drawImage(Xe,0,0),je.revokeObjectURL(pt);var He=le.toDataURL(re.imageType,re.imageQuality);ne(He)},Xe.src=pt})},oe}(),be=function(){},de=function(){function oe(ae){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ae+"_"}return Object.defineProperty(oe.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),oe.prototype.addClass=function(ae){return this.styleSheet===void 0&&this.addStyleSheet(),ae.name=""+this.classNamePrefix+ae.localName,this.classes.push(ae),this.styleSheet.sheet.insertRule("."+ae.name+" {"+ae.style+"}",this.styleSheet.sheet.cssRules.length),ae},oe.prototype.addRule=function(ae){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ae),this.styleSheet.sheet.insertRule(ae.selector+" {"+ae.style+"}",this.styleSheet.sheet.cssRules.length)},oe.prototype.addStyleSheet=function(){var ae;this.styleSheet=document.createElement("style"),((ae=this.styleSheetRoot)!==null&&ae!==void 0?ae:document.head).appendChild(this.styleSheet),this.addRule(new Le("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Le("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Le("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new we("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new we("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},oe.prototype.removeStyleSheet=function(){var ae;this.styleSheet&&(((ae=this.styleSheetRoot)!==null&&ae!==void 0?ae:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},oe}(),Le=function(oe,ae){this.selector=oe,this.style=ae},we=function(oe,ae){this.localName=oe,this.style=ae},Te=function(){function oe(ae,ee,E,re,ne){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ae,this.displayMode=ee,this.markerItems=E,this.uiStyleSettings=re,this.styles=ne,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return oe.prototype.show=function(ae){var ee=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ae,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var E=document.createElement("div");E.className=this.toolbarBlockStyleClass.name,E.style.whiteSpace="nowrap",this.uiContainer.appendChild(E),this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(E,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ne){var le=document.createElement("div");le.className=""+ee.toolbarButtonStyleClass.name,le.setAttribute("data-type-name",ne.typeName),le.innerHTML=ne.icon,le.addEventListener("click",function(){ee.markerToolbarButtonClicked(le,ne)}),ee.buttons.push(le),ee.markerButtons.push(le)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var re=document.createElement("div");re.className=this.toolbarBlockStyleClass.name,re.style.whiteSpace="nowrap",re.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(re),this.addActionButton(re,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(re,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},oe.prototype.addButtonClickListener=function(ae){this.buttonClickListeners.push(ae)},oe.prototype.removeButtonClickListener=function(ae){this.buttonClickListeners.indexOf(ae)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ae),1)},oe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},oe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ae=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ee=0;ee<this.markerButtons.length;ee++)ee<ae||ee===ae&&this.markerButtons.length-1===ae?this.markerButtonBlock.appendChild(this.markerButtons[ee]):(ee===ae&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ee]))}},oe.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},oe.prototype.resetButtonStyles=function(){var ae=this;this.buttons.forEach(function(ee){ee.className=ee.className.replace(ae.uiStyleSettings.toolbarButtonStyleColorsClassName?ae.uiStyleSettings.toolbarButtonStyleColorsClassName:ae.toolbarButtonStyleColorsClass.name,"").trim(),ee.className=ee.className.replace(ae.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ae.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ae.toolbarActiveButtonStyleColorsClass.name,"").trim(),ee.className+=" "+(ae.uiStyleSettings.toolbarButtonStyleColorsClassName?ae.uiStyleSettings.toolbarButtonStyleColorsClassName:ae.toolbarButtonStyleColorsClass.name)})},oe.prototype.addActionButton=function(ae,ee,E){var re=this,ne=document.createElement("div");switch(ne.className=""+this.toolbarButtonStyleClass.name,ne.innerHTML=ee,ne.setAttribute("data-action",E),ne.addEventListener("click",function(){re.actionToolbarButtonClicked(ne,E)}),E){case"select":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ne.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ne.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ne.style.fill=this.uiStyleSettings.closeButtonColor}ae.appendChild(ne),this.buttons.push(ne)},oe.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new we("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new we("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new we("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new we("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new we("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ae=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new we("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ae)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ae)+`px;
|
|
|
padding: `+ae+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new we("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new we("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Le("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Le("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},oe.prototype.markerToolbarButtonClicked=function(ae,ee){this.setActiveButton(ae),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(E){return E("marker",ee)}),this.markerButtonOverflowBlock.style.display="none"},oe.prototype.actionToolbarButtonClicked=function(ae,ee){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(E){return E("action",ee)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},oe.prototype.setActiveButton=function(ae){this.resetButtonStyles(),ae.className=ae.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ae.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},oe.prototype.setActiveMarkerButton=function(ae){var ee=this.markerButtons.find(function(E){return E.getAttribute("data-type-name")===ae});ee&&this.setActiveButton(ee)},oe.prototype.setCurrentMarker=function(ae){var ee=this;this.currentMarker=ae,this.buttons.filter(function(E){return/delete|notes/.test(E.getAttribute("data-action"))}).forEach(function(E){ee.currentMarker===void 0?(E.style.fillOpacity="0.4",E.style.pointerEvents="none"):(E.style.fillOpacity="1",E.style.pointerEvents="all")})},oe}(),xe=function(){function oe(ae,ee,E,re){this.panels=[],this.panelButtons=[],this.markerjsContainer=ae,this.displayMode=ee,this.uiStyleSettings=E,this.styles=re,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return oe.prototype.addStyles=function(){var ae;this.toolboxStyleClass=this.styles.addClass(new we("toolbox",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
font-family: sans-serif;
|
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new we("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var ee=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new we("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new we("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new we("toolbox-panel-row",`
|
|
|
display: flex;
|
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
cursor: default;
|
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new we("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ae=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ae!==void 0?ae:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new we("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
|
|
|
padding: `+ee+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new we("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new we("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Le("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Le("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},oe.prototype.show=function(ae){var ee;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ae,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ee=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},oe.prototype.setPanelButtons=function(ae){var ee,E,re=this;this.panels=ae,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ee=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((E=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&E!==void 0?E:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ne){var le;ne.uiStyleSettings=re.uiStyleSettings;var ge=document.createElement("div");ge.className=re.toolboxButtonStyleClass.name+" "+((le=re.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&le!==void 0?le:re.toolboxButtonStyleColorsClass.name),ge.innerHTML=ne.icon,ge.title=ne.title,ge.addEventListener("click",function(){re.panelButtonClick(ne)}),re.panelButtons.push(ge),re.buttonRow.appendChild(ge)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},oe.prototype.panelButtonClick=function(ae){var ee=this,E=-1;if(ae!==this.activePanel){E=this.panels.indexOf(ae),this.panelRow.innerHTML="";var re=ae.getUi();re.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(re),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ae}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ee.displayMode==="inline"?ee.panelRow.style.display="none":ee.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ne,le){var ge,Ee;ne.className=ee.toolboxButtonStyleClass.name+" "+(le===E?""+((ge=ee.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ge!==void 0?ge:ee.toolboxActiveButtonStyleColorsClass.name):""+((Ee=ee.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ee!==void 0?Ee:ee.toolboxButtonStyleColorsClass.name))})},oe}(),Fe=function(oe,ae){this.title=oe,this.icon=ae},Ce=function(oe){function ae(ee,E,re,ne){var le=oe.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return le.colors=[],le.addTransparent=!1,le.colorBoxes=[],le.colors=E,le.currentColor=re,le.setCurrentColor=le.setCurrentColor.bind(le),le.getColorBox=le.getColorBox.bind(le),le}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");return E.style.overflow="hidden",E.style.whiteSpace="nowrap",this.colors.forEach(function(re){var ne=ee.getColorBox(re);E.appendChild(ne),ee.colorBoxes.push(ne)}),E},ae.prototype.getColorBox=function(ee){var E=this,re=this.uiStyleSettings.toolbarHeight/4,ne=this.uiStyleSettings.toolbarHeight-re,le=document.createElement("div");le.style.display="inline-block",le.style.boxSizing="content-box",le.style.width=ne-2+"px",le.style.height=ne-2+"px",le.style.padding="1px",le.style.marginRight="2px",le.style.marginBottom="2px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderRadius=(ne+2)/2+"px",le.style.borderColor=ee===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){E.setCurrentColor(ee,le)});var ge=document.createElement("div");return ge.style.display="inline-block",ge.style.width=ne-2+"px",ge.style.height=ne-2+"px",ge.style.backgroundColor=ee,ge.style.borderRadius=ne/2+"px",ee==="transparent"&&(ge.style.fill=this.uiStyleSettings.toolboxAccentColor,ge.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),le.appendChild(ge),le},ae.prototype.setCurrentColor=function(ee,E){var re=this;this.currentColor=ee,this.colorBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ee)},ae}(Fe),De=function(){function oe(ae,ee,E){this._state="new",this._isSelected=!1,this._container=ae,this._overlayContainer=ee,this.globalSettings=E,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(oe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),oe.prototype.ownsTarget=function(ae){return!1},Object.defineProperty(oe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),oe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},oe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},oe.prototype.pointerDown=function(ae,ee){},oe.prototype.dblClick=function(ae,ee){},oe.prototype.manipulate=function(ae){},oe.prototype.pointerUp=function(ae){this.stateChanged()},oe.prototype.dispose=function(){},oe.prototype.addMarkerVisualToContainer=function(ae){this.container.childNodes.length>0?this.container.insertBefore(ae,this.container.childNodes[0]):this.container.appendChild(ae)},oe.prototype.getState=function(){return{typeName:oe.typeName,state:this.state,notes:this.notes}},oe.prototype.restoreState=function(ae){this._state=ae.state,this.notes=ae.notes},oe.prototype.scale=function(ae,ee){},oe.prototype.colorChanged=function(ae){this.onColorChanged&&this.onColorChanged(ae),this.stateChanged()},oe.prototype.fillColorChanged=function(ae){this.onFillColorChanged&&this.onFillColorChanged(ae),this.stateChanged()},oe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ae=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ae.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ae)&&this.onStateChanged(this)}},oe.typeName="MarkerBase",oe}(),Be=function(){function oe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return oe.prototype.findGripByVisual=function(ae){return this.topLeft.ownsTarget(ae)?this.topLeft:this.topCenter.ownsTarget(ae)?this.topCenter:this.topRight.ownsTarget(ae)?this.topRight:this.centerLeft.ownsTarget(ae)?this.centerLeft:this.centerRight.ownsTarget(ae)?this.centerRight:this.bottomLeft.ownsTarget(ae)?this.bottomLeft:this.bottomCenter.ownsTarget(ae)?this.bottomCenter:this.bottomRight.ownsTarget(ae)?this.bottomRight:void 0},oe}(),Ze=function(){function oe(){this.GRIP_SIZE=10,this.visual=me.createGroup(),this.visual.appendChild(me.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(me.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return oe.prototype.ownsTarget=function(ae){return ae===this.visual||ae===this.visual.childNodes[0]||ae===this.visual.childNodes[1]},oe}(),rt=function(){function oe(){}return oe.toITransformMatrix=function(ae){return{a:ae.a,b:ae.b,c:ae.c,d:ae.d,e:ae.e,f:ae.f}},oe.toSVGMatrix=function(ae,ee){return ae.a=ee.a,ae.b=ee.b,ae.c=ee.c,ae.d=ee.d,ae.e=ee.e,ae.f=ee.f,ae},oe}(),ce=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.left=0,ne.top=0,ne.width=0,ne.height=0,ne.defaultSize={x:50,y:20},ne.offsetX=0,ne.offsetY=0,ne.rotationAngle=0,ne.CB_DISTANCE=10,ne._suppressMarkerCreateEvent=!1,ne.container.transform.baseVal.appendItem(me.createTransform()),ne.setupControlBox(),ne}return tt(ae,oe),Object.defineProperty(ae.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"visual",{get:function(){return this._visual},set:function(ee){this._visual=ee;var E=me.createTransform();this._visual.transform.baseVal.appendItem(E)},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(ee){return!!oe.prototype.ownsTarget.call(this,ee)||!!(this.controlGrips.findGripByVisual(ee)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ee))},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="new"&&(this.left=ee.x,this.top=ee.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var re=this.unrotatePoint(ee);if(this.manipulationStartX=re.x,this.manipulationStartY=re.y,this.offsetX=re.x-this.left,this.offsetY=re.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(E),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(E)){this.activeGrip=this.rotatorGrip;var ne=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ne.x-this.width/2,this.top=ne.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var le=this.container.transform.baseVal.getItem(0);le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(le,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ae.prototype.pointerUp=function(ee){var E=this.state;oe.prototype.pointerUp.call(this,ee),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ee),this._state="select",E==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ae.prototype.moveVisual=function(ee){this.visual.style.transform="translate("+ee.x+"px, "+ee.y+"px)"},ae.prototype.manipulate=function(ee){var E=this.unrotatePoint(ee);this.state==="creating"?this.resize(ee):this.state==="move"?(this.left=this.manipulationStartLeft+(E.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(E.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(E):this.state==="rotate"&&this.rotate(ee)},ae.prototype.resize=function(ee){var E=this.manipulationStartLeft,re=this.manipulationStartWidth,ne=this.manipulationStartTop,le=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:E=this.manipulationStartLeft+ee.x-this.manipulationStartX,re=this.manipulationStartWidth+this.manipulationStartLeft-E;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:re=this.manipulationStartWidth+ee.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ne=this.manipulationStartTop+ee.y-this.manipulationStartY,le=this.manipulationStartHeight+this.manipulationStartTop-ne;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:le=this.manipulationStartHeight+ee.y-this.manipulationStartY}re>=0?(this.left=E,this.width=re):(this.left=E+re,this.width=-re),le>=0?(this.top=ne,this.height=le):(this.top=ne+le,this.height=-le),this.setSize()},ae.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ae.prototype.rotate=function(ee){if(Math.abs(ee.x-this.centerX)>.1){var E=Math.sign(ee.x-this.centerX);this.rotationAngle=180*Math.atan((ee.y-this.centerY)/(ee.x-this.centerX))/Math.PI+90*E,this.applyRotation()}},ae.prototype.applyRotation=function(){var ee=this.container.transform.baseVal.getItem(0);ee.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ee,0)},ae.prototype.rotatePoint=function(ee){if(this.rotationAngle===0)return ee;var E=this.container.getCTM(),re=me.createPoint(ee.x,ee.y);return{x:(re=re.matrixTransform(E)).x,y:re.y}},ae.prototype.unrotatePoint=function(ee){if(this.rotationAngle===0)return ee;var E=this.container.getCTM();E=E.inverse();var re=me.createPoint(ee.x,ee.y);return{x:(re=re.matrixTransform(E)).x,y:re.y}},ae.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ae.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},ae.prototype.setupControlBox=function(){this.controlBox=me.createGroup();var ee=me.createTransform();ee.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ee),this.container.appendChild(this.controlBox),this.controlRect=me.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=me.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Be,this.addControlGrips(),this.controlBox.style.display="none"},ae.prototype.adjustControlBox=function(){var ee=this.controlBox.transform.baseVal.getItem(0);ee.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ee,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ae.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ae.prototype.createGrip=function(){var ee=new Ze;return ee.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(ee.visual),ee},ae.prototype.positionGrips=function(){var ee=this.controlGrips.topLeft.GRIP_SIZE,E=-ee/2,re=E,ne=(this.width+this.CB_DISTANCE)/2-ee/2,le=(this.height+this.CB_DISTANCE)/2-ee/2,ge=this.height+this.CB_DISTANCE-ee/2,Ee=this.width+this.CB_DISTANCE-ee/2;this.positionGrip(this.controlGrips.topLeft.visual,E,re),this.positionGrip(this.controlGrips.topCenter.visual,ne,re),this.positionGrip(this.controlGrips.topRight.visual,Ee,re),this.positionGrip(this.controlGrips.centerLeft.visual,E,le),this.positionGrip(this.controlGrips.centerRight.visual,Ee,le),this.positionGrip(this.controlGrips.bottomLeft.visual,E,ge),this.positionGrip(this.controlGrips.bottomCenter.visual,ne,ge),this.positionGrip(this.controlGrips.bottomRight.visual,Ee,ge),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ne,re-3*this.CB_DISTANCE)},ae.prototype.positionGrip=function(ee,E,re){var ne=ee.transform.baseVal.getItem(0);ne.setTranslate(E,re),ee.transform.baseVal.replaceItem(ne,0)},ae.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ae.prototype.showControlBox=function(){this.controlBox.style.display=""},ae.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:rt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:rt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee);var E=ee;this.left=E.left,this.top=E.top,this.width=E.width,this.height=E.height,this.rotationAngle=E.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(rt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,E.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(rt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,E.containerTransformMatrix))},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E);var re=this.rotatePoint({x:this.left,y:this.top}),ne=this.unrotatePoint({x:re.x*ee,y:re.y*E});this.left=ne.x,this.top=ne.y,this.width=this.width*ee,this.height=this.height*E,this.adjustControlBox()},ae}(De),ke=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},ae.prototype.createVisual=function(){this.visual=me.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ae.prototype.manipulate=function(ee){oe.prototype.manipulate.call(this,ee)},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),this.setSize()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ae.prototype.pointerUp=function(ee){oe.prototype.pointerUp.call(this,ee),this.setSize()},ae.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ae.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ae.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ae.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(ee){var E=ee;this.fillColor=E.fillColor,this.strokeColor=E.strokeColor,this.strokeWidth=E.strokeWidth,this.strokeDasharray=E.strokeDasharray,this.opacity=E.opacity,this.createVisual(),oe.prototype.restoreState.call(this,ee),this.setSize()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.setSize()},ae.title="Rectangle marker",ae}(ce),qe=function(oe){function ae(ee,E,re,ne){var le=oe.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return le.widths=[],le.widthBoxes=[],le.widths=E,le.currentWidth=re,le.setCurrentWidth=le.setCurrentWidth.bind(le),le}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");return E.style.display="flex",E.style.overflow="hidden",E.style.flexGrow="2",this.widths.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.flexGrow="2",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=re===ee.currentWidth?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentWidth(re,ne)}),E.appendChild(ne);var le=document.createElement("div");le.innerText=re.toString(),le.style.marginRight="5px",ne.appendChild(le);var ge=document.createElement("div");ge.style.minHeight="20px",ge.style.flexGrow="2",ge.style.display="flex",ge.style.alignItems="center";var Ee=document.createElement("hr");Ee.style.minWidth="20px",Ee.style.border="0px",Ee.style.borderTop=re+"px solid "+ee.uiStyleSettings.toolboxColor,Ee.style.flexGrow="2",ge.appendChild(Ee),ne.appendChild(ge),ee.widthBoxes.push(ne)}),E},ae.prototype.setCurrentWidth=function(ee,E){var re=this;this.currentWidth=ee,this.widthBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ae}(Fe),_e=function(oe){function ae(ee,E,re,ne){var le=oe.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return le.styles=[],le.styleBoxes=[],le.styles=E,le.currentStyle=re,le.setCurrentStyle=le.setCurrentStyle.bind(le),le}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");return E.style.display="flex",E.style.overflow="hidden",E.style.flexGrow="2",this.styles.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/ee.styles.length-5+"%",ne.style.borderColor=re===ee.currentStyle?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentStyle(re,ne)}),E.appendChild(ne);var le=document.createElement("div");le.style.minHeight="20px",le.style.flexGrow="2",le.style.overflow="hidden";var ge=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ee.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(re!==""?'stroke-dasharray="'+re+'"':"")+` />
|
|
|
</svg>`;le.innerHTML=ge,ne.appendChild(le),ee.styleBoxes.push(ne)}),E},ae.prototype.setCurrentStyle=function(ee,E){var re=this;this.currentStyle=ee,this.styleBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ae}(Fe),mt=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new Ce("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new _e("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return tt(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=oe.prototype.getState.call(this);return ee.typeName=ae.typeName,ee},ae.typeName="FrameMarker",ae.title="Frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ae}(ke),Re=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ye=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.x1=0,ne.y1=0,ne.x2=0,ne.y2=0,ne.defaultLength=50,ne.manipulationStartX=0,ne.manipulationStartY=0,ne.manipulationStartX1=0,ne.manipulationStartY1=0,ne.manipulationStartX2=0,ne.manipulationStartY2=0,ne.setupControlBox(),ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!!oe.prototype.ownsTarget.call(this,ee)||!(!this.grip1.ownsTarget(ee)&&!this.grip2.ownsTarget(ee))},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.manipulationStartX=ee.x,this.manipulationStartY=ee.y,this.state==="new"&&(this.x1=ee.x,this.y1=ee.y,this.x2=ee.x,this.y2=ee.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(E)?this.activeGrip=this.grip1:this.grip2.ownsTarget(E)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ae.prototype.pointerUp=function(ee){var E=this.state;oe.prototype.pointerUp.call(this,ee),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ee),this._state="select",E==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ae.prototype.adjustVisual=function(){},ae.prototype.manipulate=function(ee){this.state==="creating"?this.resize(ee):this.state==="move"?(this.x1=this.manipulationStartX1+ee.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ee.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ee.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ee.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ee)},ae.prototype.resize=function(ee){switch(this.activeGrip){case this.grip1:this.x1=ee.x,this.y1=ee.y;break;case this.grip2:case void 0:this.x2=ee.x,this.y2=ee.y}this.adjustVisual(),this.adjustControlBox()},ae.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ae.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},ae.prototype.setupControlBox=function(){this.controlBox=me.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ae.prototype.adjustControlBox=function(){this.positionGrips()},ae.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ae.prototype.createGrip=function(){var ee=new Ze;return ee.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(ee.visual),ee},ae.prototype.positionGrips=function(){var ee=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ee/2,this.y1-ee/2),this.positionGrip(this.grip2.visual,this.x2-ee/2,this.y2-ee/2)},ae.prototype.positionGrip=function(ee,E,re){var ne=ee.transform.baseVal.getItem(0);ne.setTranslate(E,re),ee.transform.baseVal.replaceItem(ne,0)},ae.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee);var E=ee;this.x1=E.x1,this.y1=E.y1,this.x2=E.x2,this.y2=E.y2},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.x1=this.x1*ee,this.y1=this.y1*E,this.x2=this.x2*ee,this.y2=this.y2*E,this.adjustVisual(),this.adjustControlBox()},ae}(De),lt=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new Ce("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new _e("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorLine&&ee!==this.visibleLine)},ae.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorLine=me.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=me.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ae.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),me.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ae.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},ae.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},ae.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee);var E=ee;this.strokeColor=E.strokeColor,this.strokeWidth=E.strokeWidth,this.strokeDasharray=E.strokeDasharray,this.createVisual(),this.adjustVisual()},ae.typeName="LineMarker",ae.title="Line marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ae}(Ye),Se=function(oe){function ae(ee,E,re,ne){var le=oe.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return le.fonts=[],le.fontBoxes=[],le.fonts=E,le.currentFont=re,le.setCurrentFont=le.setCurrentFont.bind(le),le}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");return E.style.overflow="hidden",E.style.flexGrow="2",this.fonts.forEach(function(re){var ne=document.createElement("div");ne.style.display="inline-block",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/ee.fonts.length-5+"%",ne.style.borderColor=re===ee.currentFont?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentFont(re,ne)}),E.appendChild(ne);var le=document.createElement("div");le.style.display="flex",le.style.minHeight="20px",le.style.flexGrow="2",le.style.fontFamily=re,le.style.overflow="hidden";var ge=document.createElement("div");ge.style.whiteSpace="nowrap",ge.style.overflow="hidden",ge.style.textOverflow="ellipsis",ge.innerHTML="The quick brown fox jumps over the lazy dog",le.appendChild(ge),ne.appendChild(le),ee.fontBoxes.push(ne)}),E},ae.prototype.setCurrentFont=function(ee,E){var re=this;this.currentFont=ee,this.fontBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ae}(Fe),Qe=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.color="transparent",ne.padding=5,ne.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ne.text=ne.DEFAULT_TEXT,ne.isMoved=!1,ne.color=re.defaultColor,ne.fontFamily=re.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setColor=ne.setColor.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.renderText=ne.renderText.bind(ne),ne.sizeText=ne.sizeText.bind(ne),ne.textEditDivClicked=ne.textEditDivClicked.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.setSize=ne.setSize.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.colorPanel=new Ce("Color",re.defaultColorSet,re.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){if(oe.prototype.ownsTarget.call(this,ee)||ee===this.visual||ee===this.textElement||ee===this.bgRectangle)return!0;var E=!1;return this.textElement.childNodes.forEach(function(re){re===ee&&(E=!0)}),E},ae.prototype.createVisual=function(){this.visual=me.createGroup(),this.bgRectangle=me.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=me.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.isMoved=!1,this.pointerDownPoint=ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ae.prototype.renderText=function(){var ee=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(E){ee.textElement.appendChild(me.createTSpan(E.trim()===""?" ":E.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ae.prototype.getTextScale=function(){var ee=this.textElement.getBBox(),E=1;if(ee.width>0&&ee.height>0){var re=(1*this.width-this.width*this.padding*2/100)/ee.width,ne=(1*this.height-this.height*this.padding*2/100)/ee.height;E=Math.min(re,ne)}return E},ae.prototype.getTextPosition=function(ee){var E=this.textElement.getBBox(),re=0,ne=0;return E.width>0&&E.height>0&&(re=(this.width-E.width*ee)/2,ne=this.height/2-E.height*ee/2),{x:re,y:ne}},ae.prototype.sizeText=function(){var ee=this.textElement.getBBox(),E=this.getTextScale(),re=this.getTextPosition(E);re.y-=ee.y*E,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+re.x+"px, "+re.y+"px) scale("+E+", "+E+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(re.x,re.y),this.textElement.transform.baseVal.getItem(1).setScale(E,E))},ae.prototype.manipulate=function(ee){oe.prototype.manipulate.call(this,ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ee.x-this.pointerDownPoint.x)>5||Math.abs(ee.y-this.pointerDownPoint.y)>5)},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),this.isMoved=!0,this.setSize(),this.sizeText()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ae.prototype.pointerUp=function(ee){var E=this.state;E==="creating"&&(this._suppressMarkerCreateEvent=!0),oe.prototype.pointerUp.call(this,ee),this.setSize(),(E==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ae.prototype.showTextEditor=function(){var ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(E){E.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var E=Number.parseFloat(ee.textEditor.style.fontSize);ee.textEditor.clientWidth>=Number.parseInt(ee.textEditor.style.maxWidth)&&E>.9;)E-=.1,ee.textEditor.style.fontSize=Math.max(E,.9)+"em"}),this.textEditor.addEventListener("keyup",function(E){E.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(E){if(E.clipboardData){var re=E.clipboardData.getData("text"),ne=window.getSelection();if(!ne.rangeCount)return!1;ne.deleteFromDocument(),ne.getRangeAt(0).insertNode(document.createTextNode(re)),E.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ee.textEditDivClicked(ee.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ae.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ee=this.getTextScale(),E=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),re=this.textElement.getBBox(),ne={x:re.width*ee,y:re.height*ee};E.x-=ne.x/2,E.y-=ne.y/2,this.textEditor.style.top=E.y+"px",this.textEditor.style.left=E.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-E.x+"px",this.textEditor.style.fontSize=Math.max(16*ee,12)+"px",this.textElement.style.display="none"}},ae.prototype.textEditDivClicked=function(ee){this.text=ee.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ae.prototype.select=function(){oe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ae.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),oe.prototype.deselect.call(this)},ae.prototype.dblClick=function(ee,E){oe.prototype.dblClick.call(this,ee,E),this.showTextEditor()},ae.prototype.setColor=function(ee){this.textElement&&me.setAttributes(this.textElement,[["fill",ee]]),this.color=ee,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ee)},ae.prototype.setFont=function(ee){this.textElement&&me.setAttributes(this.textElement,[["font-family",ee]]),this.fontFamily=ee,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ae.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ae.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){var E=ee;this.color=E.color,this.fontFamily=E.fontFamily,this.padding=E.padding,this.text=E.text,this.createVisual(),oe.prototype.restoreState.call(this,ee),this.setSize()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.setSize(),this.sizeText(),this.positionTextEditor()},ae.typeName="TextMarker",ae.title="Text marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ae}(ce),he=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.color="transparent",ne.lineWidth=3,ne.drawing=!1,ne.pixelRatio=1,ne.color=re.defaultColor,ne.lineWidth=re.defaultStrokeWidth,ne.pixelRatio=re.freehandPixelRatio,ne.setColor=ne.setColor.bind(ne),ne.addCanvas=ne.addCanvas.bind(ne),ne.finishCreation=ne.finishCreation.bind(ne),ne.setLineWidth=ne.setLineWidth.bind(ne),ne.colorPanel=new Ce("Color",re.defaultColorSet,re.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.lineWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.lineWidthPanel.onWidthChanged=ne.setLineWidth,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.drawingImage)},ae.prototype.createVisual=function(){this.visual=me.createGroup(),this.drawingImage=me.createImage(),this.visual.appendChild(this.drawingImage);var ee=me.createTransform();this.visual.transform.baseVal.appendItem(ee),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(ee,E){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ee.x,ee.y),this.drawing=!0):oe.prototype.pointerDown.call(this,ee,E)},ae.prototype.manipulate=function(ee){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ee.x,ee.y),this.canvasContext.stroke()):oe.prototype.manipulate.call(this,ee)},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ae.prototype.pointerUp=function(ee){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):oe.prototype.pointerUp.call(this,ee)},ae.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ae.prototype.select=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.select.call(this)},ae.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.deselect.call(this)},ae.prototype.finishCreation=function(){for(var ee=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),E=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],re=E[0],ne=E[1],le=E[2],ge=E[3],Ee=!1,ze=0;ze<this.canvasElement.height;ze++)for(var je=0;je<this.canvasElement.width;je++)ee.data[ze*this.canvasElement.width*4+4*je+3]>0&&(Ee=!0,ze<ne&&(ne=ze),je<re&&(re=je),ze>ge&&(ge=ze),je>le&&(le=je));if(Ee){this.left=re/this.pixelRatio,this.top=ne/this.pixelRatio,this.width=(le-re)/this.pixelRatio,this.height=(ge-ne)/this.pixelRatio;var Xe=document.createElement("canvas");Xe.width=le-re,Xe.height=ge-ne,Xe.getContext("2d").putImageData(this.canvasContext.getImageData(re,ne,le-re,ge-ne),0,0),this.drawingImgUrl=Xe.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ae.prototype.setDrawingImage=function(){me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ae.prototype.setColor=function(ee){this.color=ee,this.colorChanged(ee)},ae.prototype.setLineWidth=function(ee){this.lineWidth=ee},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({drawingImgUrl:this.drawingImgUrl},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){this.createVisual(),oe.prototype.restoreState.call(this,ee),this.drawingImgUrl=ee.drawingImgUrl,this.setDrawingImage()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.setDrawingImage()},ae.typeName="FreehandMarker",ae.title="Freehand marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ae}(ce),ye=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,re||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ne.typeBoxes=[],ne.currentType=E,ne.setCurrentType=ne.setCurrentType.bind(ne),ne}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");E.style.display="flex",E.style.overflow="hidden",E.style.flexGrow="2";for(var re=function(ge){var Ee="both";switch(ge){case 0:Ee="both";break;case 1:Ee="start";break;case 2:Ee="end";break;case 3:Ee="none"}var ze=document.createElement("div");if(ze.style.display="flex",ze.style.flexGrow="2",ze.style.alignItems="center",ze.style.justifyContent="space-between",ze.style.padding="5px",ze.style.borderWidth="2px",ze.style.borderStyle="solid",ze.style.borderColor=Ee===ne.currentType?ne.uiStyleSettings.toolboxAccentColor:"transparent",ze.addEventListener("click",function(){ee.setCurrentType(Ee,ze)}),E.appendChild(ze),Ee==="both"||Ee==="start"){var je=document.createElement("div");je.style.display="flex",je.style.alignItems="center",je.style.minHeight="20px",je.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,je.style.marginLeft="5px",ze.appendChild(je)}var Xe=document.createElement("div");Xe.style.display="flex",Xe.style.alignItems="center",Xe.style.minHeight="20px",Xe.style.flexGrow="2";var it=document.createElement("hr");if(it.style.minWidth="20px",it.style.border="0px",it.style.borderTop="3px solid "+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee"),it.style.flexGrow="2",Xe.appendChild(it),ze.appendChild(Xe),Ee==="both"||Ee==="end"){var pt=document.createElement("div");pt.style.display="flex",pt.style.alignItems="center",pt.style.minHeight="20px",pt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,pt.style.marginRight="5px",ze.appendChild(pt)}ne.typeBoxes.push(ze)},ne=this,le=0;le<4;le++)re(le);return E},ae.prototype.setCurrentType=function(ee,E){var re=this;this.currentType=ee,this.typeBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ae}(Fe),Ct=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.arrowType="end",ne.arrowBaseHeight=10,ne.arrowBaseWidth=10,ne.getArrowPoints=ne.getArrowPoints.bind(ne),ne.setArrowType=ne.setArrowType.bind(ne),ne.arrowTypePanel=new ye("Arrow type","end"),ne.arrowTypePanel.onArrowTypeChanged=ne.setArrowType,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.arrow1&&ee!==this.arrow2)},ae.prototype.getArrowPoints=function(ee,E){var re=this.arrowBaseWidth+2*this.strokeWidth,ne=this.arrowBaseHeight+2*this.strokeWidth;return ee-re/2+","+(E+ne/2)+" "+ee+","+(E-ne/2)+" "+(ee+re/2)+","+(E+ne/2)},ae.prototype.createTips=function(){this.arrow1=me.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=me.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow2)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="creating"&&this.createTips()},ae.prototype.adjustVisual=function(){if(oe.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",me.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),me.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ee=0;Math.abs(this.x1-this.x2)>.1&&(ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var E=this.arrow1.transform.baseVal.getItem(0);E.setRotate(ee,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(E,0);var re=this.arrow2.transform.baseVal.getItem(0);re.setRotate(ee+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(re,0)}},ae.prototype.setArrowType=function(ee){this.arrowType=ee,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({arrowType:this.arrowType},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee);var E=ee;this.arrowType=E.arrowType,this.createTips(),this.adjustVisual()},ae.typeName="ArrowMarker",ae.title="Arrow marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ae}(lt),Ke=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.fillColor=re.defaultFillColor,ne.strokeWidth=0,ne.fillPanel=new Ce("Color",re.defaultColorSet,re.defaultFillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne}return tt(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=oe.prototype.getState.call(this);return ee.typeName=ae.typeName,ee},ae.typeName="CoverMarker",ae.title="Cover marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ae}(ke),yt=function(oe){function ae(ee,E,re,ne){var le=oe.call(this,ee,ne||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return le.opacities=[],le.opacityBoxes=[],le.opacities=E,le.currentOpacity=re,le.setCurrentOpacity=le.setCurrentOpacity.bind(le),le}return tt(ae,oe),ae.prototype.getUi=function(){var ee=this,E=document.createElement("div");return E.style.display="flex",E.style.overflow="hidden",E.style.flexGrow="2",E.style.justifyContent="space-between",this.opacities.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="center",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=re===ee.currentOpacity?ee.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){ee.setCurrentOpacity(re,ne)}),E.appendChild(ne);var le=document.createElement("div");le.innerText=100*re+"%",ne.appendChild(le),ee.opacityBoxes.push(ne)}),E},ae.prototype.setCurrentOpacity=function(ee,E){var re=this;this.currentOpacity=ee,this.opacityBoxes.forEach(function(ne){ne.style.borderColor=ne===E?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ae}(Fe),Dt=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.setOpacity=ne.setOpacity.bind(ne),ne.fillColor=re.defaultHighlightColor,ne.strokeWidth=0,ne.opacity=re.defaultHighlightOpacity,ne.fillPanel=new Ce("Color",re.defaultColorSet,ne.fillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne.opacityPanel=new yt("Opacity",re.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return tt(ae,oe),ae.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=oe.prototype.getState.call(this);return ee.typeName=ae.typeName,ee},ae.typeName="HighlightMarker",ae.title="Highlight marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ae}(Ke),Ge='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Ae='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',ot=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.bgColor="transparent",ne.tipPosition={x:0,y:0},ne.tipBase1Position={x:0,y:0},ne.tipBase2Position={x:0,y:0},ne.tipMoving=!1,ne.color=re.defaultStrokeColor,ne.bgColor=re.defaultFillColor,ne.fontFamily=re.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setBgColor=ne.setBgColor.bind(ne),ne.getTipPoints=ne.getTipPoints.bind(ne),ne.positionTip=ne.positionTip.bind(ne),ne.setTipPoints=ne.setTipPoints.bind(ne),ne.colorPanel=new Ce("Text color",re.defaultColorSet,ne.color,Ge),ne.colorPanel.onColorChanged=ne.setColor,ne.bgColorPanel=new Ce("Fill color",re.defaultColorSet,ne.bgColor,Ae),ne.bgColorPanel.onColorChanged=ne.setBgColor,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.tipGrip=new Ze,ne.tipGrip.visual.transform.baseVal.appendItem(me.createTransform()),ne.controlBox.appendChild(ne.tipGrip.visual),ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return oe.prototype.ownsTarget.call(this,ee)||this.tipGrip.ownsTarget(ee)||this.tip===ee},ae.prototype.createTip=function(){me.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=me.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ae.prototype.pointerDown=function(ee,E){this.state==="new"&&oe.prototype.pointerDown.call(this,ee,E),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(E)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):oe.prototype.pointerDown.call(this,ee,E)},ae.prototype.pointerUp=function(ee){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,oe.prototype.pointerUp.call(this,ee);else{var E=this.state==="creating";oe.prototype.pointerUp.call(this,ee),this.setTipPoints(E),this.positionTip()}},ae.prototype.manipulate=function(ee){if(this.tipMoving){var E=this.unrotatePoint(ee);this.tipPosition={x:E.x-this.manipulationStartLeft,y:E.y-this.manipulationStartTop},this.positionTip()}else oe.prototype.manipulate.call(this,ee)},ae.prototype.setBgColor=function(ee){this.bgRectangle&&this.tip&&(me.setAttributes(this.bgRectangle,[["fill",ee]]),me.setAttributes(this.tip,[["fill",ee]])),this.bgColor=ee,this.fillColorChanged(ee)},ae.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ae.prototype.setTipPoints=function(ee){ee===void 0&&(ee=!1);var E=Math.min(this.height/2,15),re=this.height/5;ee&&(this.tipPosition={x:E+re/2,y:this.height+20});var ne=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(re=this.width/5,E=Math.min(this.width/2,15),this.tipBase1Position={x:E,y:0},this.tipBase2Position={x:E+re,y:0}):(this.tipBase1Position={x:0,y:E},this.tipBase2Position={x:0,y:E+re}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(re=this.width/5,E=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-E-re,y:0},this.tipBase2Position={x:this.width-E,y:0}):(this.tipBase1Position={x:this.width,y:E},this.tipBase2Position={x:this.width,y:E+re}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ne<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(re=this.width/5,E=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-E-re,y:this.height},this.tipBase2Position={x:this.width-E,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-E-re},this.tipBase2Position={x:this.width,y:this.height-E}):ne<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(re=this.width/5,E=Math.min(this.width/2,15),this.tipBase1Position={x:E,y:this.height},this.tipBase2Position={x:E+re,y:this.height}):(this.tipBase1Position={x:0,y:this.height-E},this.tipBase2Position={x:0,y:this.height-E-re})},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),this.positionTip()},ae.prototype.positionTip=function(){me.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ee=this.tipGrip.visual.transform.baseVal.getItem(0);ee.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ee,0)},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ae.prototype.select=function(){this.positionTip(),oe.prototype.select.call(this)},ae.prototype.getState=function(){var ee=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){var E=ee;this.bgColor=E.bgColor,this.tipPosition=E.tipPosition,oe.prototype.restoreState.call(this,ee),this.createTip(),this.setTipPoints()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.tipPosition={x:this.tipPosition.x*ee,y:this.tipPosition.y*E},this.positionTip()},ae.typeName="CalloutMarker",ae.title="Callout marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ae}(Qe),zt=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.fillColor=re.defaultFillColor,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.setOpacity=ne.setOpacity.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.strokePanel=new Ce("Line color",Pe(re.defaultColorSet,["transparent"]),re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ce("Fill color",Pe(re.defaultColorSet,["transparent"]),ne.fillColor,Ae),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new _e("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.opacityPanel=new yt("Opacity",re.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual)},ae.prototype.createVisual=function(){this.visual=me.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ae.prototype.manipulate=function(ee){oe.prototype.manipulate.call(this,ee)},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),this.setSize()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ae.prototype.pointerUp=function(ee){oe.prototype.pointerUp.call(this,ee),this.setSize()},ae.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ae.prototype.setFillColor=function(ee){this.fillColor=ee,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},ae.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ae.prototype.setOpacity=function(ee){this.opacity=ee,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){var E=ee;this.fillColor=E.fillColor,this.strokeColor=E.strokeColor,this.strokeWidth=E.strokeWidth,this.strokeDasharray=E.strokeDasharray,this.opacity=E.opacity,this.createVisual(),oe.prototype.restoreState.call(this,ee),this.setSize()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.setSize()},ae.typeName="EllipseMarker",ae.title="Ellipse marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ae}(ce),Et=function(oe){function ae(ee,E,re){return oe.call(this,ee,E,re)||this}return tt(ae,oe),Object.defineProperty(ae.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.tip1&&ee!==this.tip2)},ae.prototype.createTips=function(){this.tip1=me.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.tip1),this.tip2=me.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.tip2)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.state==="creating"&&this.createTips()},ae.prototype.adjustVisual=function(){if(oe.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(me.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var ee=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),E=this.tip1.transform.baseVal.getItem(0);E.setRotate(ee,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(E,0);var re=this.tip2.transform.baseVal.getItem(0);re.setRotate(ee+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(re,0)}},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=oe.prototype.getState.call(this);return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee),this.createTips(),this.adjustVisual()},ae.typeName="MeasurementMarker",ae.title="Measurement marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ae}(lt),Oe=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.strokePanel.colors=re.defaultColorSet,ne.fillColor="transparent",ne}return tt(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=oe.prototype.getState.call(this);return ee.typeName=ae.typeName,ee},ae.typeName="EllipseFrameMarker",ae.title="Ellipse frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ae}(zt),Je=function(){function oe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),oe.prototype.addUndoStep=function(ae){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ae)||(this.undoStack.push(ae),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ae)&&this.redoStack.splice(0,this.redoStack.length))},oe.prototype.replaceLastUndoStep=function(ae){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ae)},oe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},oe.prototype.undo=function(){if(this.undoStack.length>1){var ae=this.undoStack.pop();return ae!==void 0&&this.redoStack.push(ae),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},oe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},oe}(),dt=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.curveX=0,ne.curveY=0,ne.manipulationStartCurveX=0,ne.manipulationStartCurveY=0,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.positionGrips=ne.positionGrips.bind(ne),ne.addControlGrips=ne.addControlGrips.bind(ne),ne.adjustVisual=ne.adjustVisual.bind(ne),ne.setupControlBox=ne.setupControlBox.bind(ne),ne.resize=ne.resize.bind(ne),ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new Ce("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new _e("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.selectorCurve&&ee!==this.visibleCurve&&!this.curveGrip.ownsTarget(ee))},ae.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ae.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorCurve=me.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=me.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ee.x,this.curveY=ee.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(E)&&(this.activeGrip=this.curveGrip,this._state="resize")},ae.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),me.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ae.prototype.setupControlBox=function(){oe.prototype.setupControlBox.call(this),this.curveControlLine1=me.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=me.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ae.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,oe.prototype.addControlGrips.call(this)},ae.prototype.positionGrips=function(){oe.prototype.positionGrips.call(this);var ee=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ee/2,this.curveY-ee/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ae.prototype.manipulate=function(ee){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ee.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ee.y-this.manipulationStartY),oe.prototype.manipulate.call(this,ee)},ae.prototype.resize=function(ee){this.activeGrip===this.curveGrip&&(this.curveX=ee.x,this.curveY=ee.y),oe.prototype.resize.call(this,ee),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ae.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.adjustVisual(),this.colorChanged(ee)},ae.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.adjustVisual()},ae.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.adjustVisual()},ae.prototype.scale=function(ee,E){this.curveX=this.curveX*ee,this.curveY=this.curveY*E,oe.prototype.scale.call(this,ee,E)},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},oe.prototype.getState.call(this));return ee.typeName=ae.typeName,ee},ae.prototype.restoreState=function(ee){oe.prototype.restoreState.call(this,ee);var E=ee;this.strokeColor=E.strokeColor,this.strokeWidth=E.strokeWidth,this.strokeDasharray=E.strokeDasharray,this.curveX=E.curveX,this.curveY=E.curveY,this.createVisual(),this.adjustVisual()},ae.typeName="CurveMarker",ae.title="Curve marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ae}(Ye),It=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,E,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.textColor="transparent",ne.fontSize="1rem",ne.isMoved=!1,ne.captionText="Caption",ne.PADDING=5,ne.captionBoxWidth=0,ne.captionBoxHeight=0,ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.fillColor=re.defaultFillColor,ne.textColor=re.defaultStrokeColor,ne.fontFamily=re.defaultFontFamily,ne.fontSize=re.defaultCaptionFontSize,ne.captionText=re.defaultCaptionText,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.sizeCaption=ne.sizeCaption.bind(ne),ne.setCaptionText=ne.setCaptionText.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.finishTextEditing=ne.finishTextEditing.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.setTextColor=ne.setTextColor.bind(ne),ne.strokePanel=new Ce("Line color",Pe(re.defaultColorSet,["transparent"]),ne.strokeColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new Ce("Fill color",Pe(re.defaultColorSet,["transparent"]),ne.fillColor,Ae),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new qe("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new _e("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.textColorPanel=new Ce("Text color",re.defaultColorSet,ne.textColor,Ge),ne.textColorPanel.onColorChanged=ne.setTextColor,ne}return tt(ae,oe),ae.prototype.ownsTarget=function(ee){return!(!oe.prototype.ownsTarget.call(this,ee)&&ee!==this.visual&&ee!==this.frame&&ee!==this.captionBg&&ee!==this.captionElement)},ae.prototype.createVisual=function(){this.visual=me.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=me.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=me.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=me.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ae.prototype.setCaptionText=function(ee){this.captionText=ee,this.captionElement.textContent=this.captionText,this.sizeCaption()},ae.prototype.pointerDown=function(ee,E){oe.prototype.pointerDown.call(this,ee,E),this.isMoved=!1,this.pointerDownPoint=ee,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ee),this._state="creating")},ae.prototype.manipulate=function(ee){oe.prototype.manipulate.call(this,ee),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ee.x-this.pointerDownPoint.x)>5||Math.abs(ee.y-this.pointerDownPoint.y)>5)},ae.prototype.resize=function(ee){oe.prototype.resize.call(this,ee),this.setSize()},ae.prototype.sizeCaption=function(){var ee=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ee.width+2*this.PADDING,this.captionBoxHeight=ee.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),me.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),me.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ae.prototype.showTextEditor=function(){var ee=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(E){E.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(E){E.key==="Enter"&&ee.finishTextEditing(ee.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(E){E.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ee.finishTextEditing(ee.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ee.finishTextEditing(ee.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ae.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ae.prototype.finishTextEditing=function(ee){this.setCaptionText(ee.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ae.prototype.setFont=function(ee){this.captionElement&&me.setAttributes(this.captionElement,[["font-family",ee]]),this.fontFamily=ee,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ae.prototype.setTextColor=function(ee){this.captionElement&&me.setAttributes(this.captionElement,[["fill",ee]]),this.textColor=ee,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),me.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ae.prototype.pointerUp=function(ee){oe.prototype.pointerUp.call(this,ee),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ae.prototype.dblClick=function(ee,E){oe.prototype.dblClick.call(this,ee,E),this.showTextEditor()},ae.prototype.setStrokeColor=function(ee){this.strokeColor=ee,this.frame&&me.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ee),this.stateChanged()},ae.prototype.setFillColor=function(ee){this.fillColor=ee,this.captionBg&&me.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ee),this.stateChanged()},ae.prototype.setStrokeWidth=function(ee){this.strokeWidth=ee,this.frame&&me.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(ee){this.strokeDasharray=ee,this.frame&&me.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var ee=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},oe.prototype.getState.call(this));return ee.typeName=this.typeName,ee},ae.prototype.restoreState=function(ee){var E=ee;this.fillColor=E.fillColor,this.strokeColor=E.strokeColor,this.strokeWidth=E.strokeWidth,this.strokeDasharray=E.strokeDasharray,this.textColor=E.textColor,this.fontFamily=E.fontFamily,this.captionText=E.captionText,this.fontSize=E.fontSize,this.createVisual(),oe.prototype.restoreState.call(this,ee),this.setSize()},ae.prototype.scale=function(ee,E){oe.prototype.scale.call(this,ee,E),this.setSize()},ae.typeName="CaptionFrameMarker",ae.title="Caption frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ae}(ce),st=function(){function oe(ae,ee){ee===void 0&&(ee=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ae,this.cancelable=ee}return Object.defineProperty(oe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),oe.prototype.preventDefault=function(){this._defaultPrevented=!0},oe}(),Ft=function(oe){function ae(ee,E,re){var ne=oe.call(this,ee,!1)||this;return ne.dataUrl=E,ne.state=re,ne}return tt(ae,oe),ae}(st),ft=function(oe){function ae(ee,E,re){re===void 0&&(re=!1);var ne=oe.call(this,ee,re)||this;return ne.marker=E,ne}return tt(ae,oe),ae}(st),Gt=function(){function oe(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return oe.prototype.addEventListener=function(ae,ee){this[ae].push(ee)},oe.prototype.removeEventListener=function(ae,ee){var E=this[ae].indexOf(ee);E>-1&&this[ae].splice(E,1)},oe}(),Pt=function(){function oe(ae){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Re,this._isOpen=!1,this.undoRedoManager=new Je,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Gt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=oe.instanceCounter++,this.styles=new de(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ae,this.targetRoot=document.body,this.width=ae.clientWidth,this.height=ae.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(oe.prototype,"ALL_MARKER_TYPES",{get:function(){return[mt,he,Ct,Qe,Oe,zt,Dt,ot,Et,Ke,lt,dt,It]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[mt,he,Ct,Qe,zt,Dt,ot]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[mt,he,Ct,Qe,Dt]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ae){var ee=this;this._availableMarkerTypes.splice(0),ae.forEach(function(E){if(typeof E=="string"){var re=ee.ALL_MARKER_TYPES.find(function(ne){return ne.typeName===E});re!==void 0&&ee._availableMarkerTypes.push(re)}else ee._availableMarkerTypes.push(E)})},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ae){this._zoomLevel=ae,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),oe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ve.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},oe.prototype.show=function(){var ae=this;this.styles.styleSheetRoot===void 0&&be.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=be.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ee){return ee(new st(ae))})},oe.prototype.render=function(){return pe(this,void 0,void 0,function(){var ae;return Ue(this,function(ee){switch(ee.label){case 0:return this.setCurrentMarker(),(ae=new fe).naturalSize=this.renderAtNaturalSize,ae.imageType=this.renderImageType,ae.imageQuality=this.renderImageQuality,ae.markersOnly=this.renderMarkersOnly,ae.width=this.renderWidth,ae.height=this.renderHeight,[4,ae.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ee.sent(),[4,ae.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ee.sent()]}})})},oe.prototype.close=function(ae){var ee=this;if(ae===void 0&&(ae=!1),this.isOpen){var E=!1;ae||this.eventListeners.beforeclose.forEach(function(re){var ne=new st(ee,!0);re(ne),ne.defaultPrevented&&(E=!0)}),E||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(re){return re(new st(ee))}),this.detachEvents(),this._isOpen=!1)}},oe.prototype.addMarkersToToolbar=function(){for(var ae,ee=[],E=0;E<arguments.length;E++)ee[E]=arguments[E];(ae=this._availableMarkerTypes).push.apply(ae,ee)},oe.prototype.addRenderEventListener=function(ae){this.addEventListener("render",function(ee){ae(ee.dataUrl,ee.state)})},oe.prototype.removeRenderEventListener=function(ae){},oe.prototype.addCloseEventListener=function(ae){this.addEventListener("close",function(){ae()})},oe.prototype.removeCloseEventListener=function(ae){},oe.prototype.setupResizeObserver=function(){var ae=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ae.resize(ae.target.clientWidth,ae.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ae.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},oe.prototype.onPopupTargetResize=function(){var ae=1*this.target.clientWidth/this.target.clientHeight,ee=this.editorCanvas.clientWidth/ae>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ae:this.editorCanvas.clientWidth,E=ee<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ae;this.resize(ee,E)},oe.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},oe.prototype.resize=function(ae,ee){this._isResizing=!0;var E=ae/this.imageWidth,re=ee/this.imageHeight;this.imageWidth=Math.round(ae),this.imageHeight=Math.round(ee),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(E,re),this._isResizing=!1},oe.prototype.scaleMarkers=function(ae,ee){var E,re=this;this._currentMarker&&this._currentMarker instanceof Qe?this._currentMarker.scale(ae,ee):(E=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ne){ne!==re._currentMarker&&ne.scale(ae,ee)}),E!==void 0&&this.setCurrentMarker(E)},oe.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},oe.prototype.setTopLeft=function(){var ae=this.editingTarget.getBoundingClientRect(),ee=this.editorCanvas.getBoundingClientRect();this.left=ae.left-ee.left,this.top=ae.top-ee.top},oe.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},oe.prototype.addDefs=function(){for(var ae,ee=[],E=0;E<arguments.length;E++)ee[E]=arguments[E];this.defs=me.createDefs(),this.addDefsToImage(),(ae=this.defs).append.apply(ae,ee)},oe.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},oe.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},oe.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},oe.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},oe.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},oe.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},oe.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},oe.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ae=document.createElement("a");ae.href="https://markerjs.com/",ae.target="_blank",ae.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ae.title="Powered by marker.js",ae.style.display="grid",ae.style.alignItems="center",ae.style.justifyItems="center",ae.style.padding="3px",ae.style.width="20px",ae.style.height="20px",this.logoUI.appendChild(ae),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},oe.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},oe.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},oe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},oe.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ae=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ae+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Te(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new xe(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},oe.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},oe.prototype.removeMarker=function(ae){this.markerImage.removeChild(ae.container),this.markers.indexOf(ae)>-1&&this.markers.splice(this.markers.indexOf(ae),1),ae.dispose()},oe.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},oe.prototype.toolbarButtonClicked=function(ae,ee){if(ae==="marker"&&ee!==void 0)this.createNewMarker(ee);else if(ae==="action")switch(ee){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},oe.prototype.deleteSelectedMarker=function(){var ae=this;if(this._currentMarker!==void 0){var ee=!1;if(this.eventListeners.markerbeforedelete.forEach(function(re){var ne=new ft(ae,ae._currentMarker,!0);re(ne),ne.defaultPrevented&&(ee=!0)}),!ee){var E=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(re){return re(new ft(ae,E))})}}},oe.prototype.clear=function(){var ae=this,ee=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(le){var ge=new ft(ae,void 0,!0);le(ge),ge.defaultPrevented&&(ee=!0)}),!ee)){this.setCurrentMarker();for(var E=function(le){var ge=re.markers[le];re.setCurrentMarker(re.markers[le]),re._currentMarker.dispose(),re.markerImage.removeChild(re._currentMarker.container),re.markers.splice(re.markers.indexOf(re._currentMarker),1),re.eventListeners.markerdelete.forEach(function(Ee){return Ee(new ft(ae,ge))})},re=this,ne=this.markers.length-1;ne>=0;ne--)E(ne);this.addUndoStep()}},Object.defineProperty(oe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),oe.prototype.showNotesEditor=function(){var ae;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ae=this._currentMarker.notes)!==null&&ae!==void 0?ae:"",this.overlayContainer.appendChild(this.notesArea))},oe.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},oe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},oe.prototype.addUndoStep=function(){var ae=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ee=this.getState(),E=this.undoRedoManager.getLastUndoStep();if(!E||E.width===ee.width&&E.height===ee.height){var re=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ee),re<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ne){return ne(new st(ae))})}else this.undoRedoManager.replaceLastUndoStep(ee),this.eventListeners.statechange.forEach(function(ne){return ne(new st(ae))})}},oe.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},oe.prototype.undoStep=function(){var ae=this,ee=this.undoRedoManager.undo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(E){return E(new st(ae))}))},oe.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},oe.prototype.redoStep=function(){var ae=this,ee=this.undoRedoManager.redo();ee!==void 0&&(this.restoreState(ee),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(E){return E(new st(ae))}))},oe.prototype.stepZoom=function(){var ae=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ae<this.zoomSteps.length-1?this.zoomSteps[ae+1]:this.zoomSteps[0]},oe.prototype.panTo=function(ae){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ae.x,top:this.prevPanPoint.y-ae.y}),this.prevPanPoint=ae},oe.prototype.startRenderAndClose=function(){return pe(this,void 0,void 0,function(){var ae,ee,E=this;return Ue(this,function(re){switch(re.label){case 0:return[4,this.render()];case 1:return ae=re.sent(),ee=this.getState(),this.eventListeners.render.forEach(function(ne){return ne(new Ft(E,ae,ee))}),this.close(!0),[2]}})})},oe.prototype.getState=function(ae){ae===!0&&this.setCurrentMarker();var ee={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(E){return ee.markers.push(E.getState())}),ee},oe.prototype.restoreState=function(ae){var ee=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ae.markers.forEach(function(E){var re=ee._availableMarkerTypes.find(function(le){return le.typeName===E.typeName});if(re!==void 0){var ne=ee.addNewMarker(re);ne.restoreState(E),ee.markers.push(ne)}}),ae.width&&ae.height&&(ae.width!==this.imageWidth||ae.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ae.width,this.imageHeight/ae.height),this.eventListeners.restorestate.forEach(function(E){return E(new st(ee))})},oe.prototype.addNewMarker=function(ae){var ee=me.createGroup();return this.markerImage.appendChild(ee),new ae(ee,this.overlayContainer,this.settings)},oe.prototype.createNewMarker=function(ae){var ee,E=this;(ee=typeof ae=="string"?this._availableMarkerTypes.find(function(re){return re.typeName===ae}):ae)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ee),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(ee.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(re){return re(new ft(E,E._currentMarker))}))},oe.prototype.markerCreated=function(ae){var ee=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ae),this.setCurrentMarker(ae),ae instanceof he&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(he):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(E){return E(new ft(ee,ee._currentMarker))})},oe.prototype.colorChanged=function(ae){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ae,this.settings.defaultStrokeColor=ae)},oe.prototype.fillColorChanged=function(ae){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ae)},oe.prototype.markerStateChanged=function(ae){var ee=this;this.eventListeners.markerchange.forEach(function(E){return E(new ft(ee,ae))})},oe.prototype.setCurrentMarker=function(ae){var ee=this;this._currentMarker!==ae&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(E){return E(new ft(ee,ee._currentMarker))})),this._currentMarker=ae,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(E){return E(new ft(ee,ee._currentMarker))}))},oe.prototype.onPointerDown=function(ae){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ae.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ee=this.markers.find(function(E){return E.ownsTarget(ae.target)});ee!==void 0?(this.setCurrentMarker(ee),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ae.clientX,ae.clientY),ae.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ae.clientX,y:ae.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ae.clientX,ae.clientY))},oe.prototype.onDblClick=function(ae){if(this._isFocused||this.focus(),this.mode==="select"){var ee=this.markers.find(function(E){return E.ownsTarget(ae.target)});ee!==void 0&&ee!==this._currentMarker&&this.setCurrentMarker(ee),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ae.clientX,ae.clientY),ae.target):this.setCurrentMarker()}},oe.prototype.onPointerMove=function(ae){this.touchPoints!==1&&ae.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ae.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ae.clientX,ae.clientY)):this.zoomLevel>1&&this.panTo({x:ae.clientX,y:ae.clientY}))},oe.prototype.onPointerUp=function(ae){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ae.clientX,ae.clientY)),this.isDragging=!1,this.addUndoStep()},oe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},oe.prototype.onKeyUp=function(ae){this._currentMarker===void 0||this.notesArea!==void 0||ae.key!=="Delete"&&ae.key!=="Backspace"||this.deleteSelectedMarker()},oe.prototype.clientToLocalCoordinates=function(ae,ee){var E=this.markerImage.getBoundingClientRect();return{x:(ae-E.left)/this.zoomLevel,y:(ee-E.top)/this.zoomLevel}},oe.prototype.onWindowResize=function(){this.positionUI()},oe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ae=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ae+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},oe.prototype.addLicenseKey=function(ae){ve.addKey(ae)},oe.prototype.addEventListener=function(ae,ee){this.eventListeners.addEventListener(ae,ee)},oe.prototype.removeEventListener=function(ae,ee){this.eventListeners.removeEventListener(ae,ee)},oe.prototype.renderState=function(ae){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ae),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(oe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),oe.prototype.focus=function(){var ae=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ee){return ee(new st(ae))}))},oe.prototype.blur=function(){var ae=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ee){return ee(new st(ae))}))},oe.instanceCounter=0,oe}()},6551:function(Tn,sn,te){"use strict";te.d(sn,{ZP:function(){return ve}});var b=te(72190),tt=te(59301),pe=te(47273),Ue=0,Pe=(0,pe.Z)();function me(){var fe;return Pe?(fe=Ue,Ue+=1):fe="TEST_OR_SSR",fe}function ve(fe){var be=tt.useState(),de=(0,b.Z)(be,2),Le=de[0],we=de[1];return tt.useEffect(function(){we("rc_select_".concat(me()))},[]),fe||Le}},37463:function(Tn,sn,te){"use strict";te.d(sn,{Ac:function(){return Mt},Xo:function(){return Jt},Wx:function(){return kt},ZP:function(){return ir},lk:function(){return rt}});var b=te(60499),tt=te(77654),pe=te(18642),Ue=te(85899),Pe=te(72190),me=te(42244),ve=te(43749),fe=te(18929),be=te(48736),de=te(59301),Le=te(92310),we=te.n(Le),Te=te(34280),xe=te(49658),Fe=te(8654),Ce=function(_t){var vt=_t.className,Zt=_t.customizeIcon,bt=_t.customizeIconProps,Ht=_t.children,nt=_t.onMouseDown,Xt=_t.onClick,tn=typeof Zt=="function"?Zt(bt):Zt;return de.createElement("span",{className:vt,onMouseDown:function(Vt){Vt.preventDefault(),nt==null||nt(Vt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Xt,"aria-hidden":!0},tn!==void 0?tn:de.createElement("span",{className:we()(vt.split(/\s+/).map(function(dn){return"".concat(dn,"-icon")}))},Ht))},De=Ce,Be=function(_t,vt,Zt,bt,Ht){var nt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Xt=arguments.length>6?arguments[6]:void 0,tn=arguments.length>7?arguments[7]:void 0,dn=de.useMemo(function(){if((0,ve.Z)(bt)==="object")return bt.clearIcon;if(Ht)return Ht},[bt,Ht]),Vt=de.useMemo(function(){return!!(!nt&&bt&&(Zt.length||Xt)&&!(tn==="combobox"&&Xt===""))},[bt,nt,Zt.length,Xt,tn]);return{allowClear:Vt,clearIcon:de.createElement(De,{className:"".concat(_t,"-clear"),onMouseDown:vt,customizeIcon:dn},"\xD7")}},Ze=de.createContext(null);function rt(){return de.useContext(Ze)}function ce(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,_t=de.useState(!1),vt=(0,Pe.Z)(_t,2),Zt=vt[0],bt=vt[1],Ht=de.useRef(null),nt=function(){window.clearTimeout(Ht.current)};de.useEffect(function(){return nt},[]);var Xt=function(dn,Vt){nt(),Ht.current=window.setTimeout(function(){bt(dn),Vt&&Vt()},Ot)};return[Zt,Xt,nt]}function ke(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,_t=de.useRef(null),vt=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(vt.current)}},[]);function Zt(bt){(bt||_t.current===null)&&(_t.current=bt),window.clearTimeout(vt.current),vt.current=window.setTimeout(function(){_t.current=null},Ot)}return[function(){return _t.current},Zt]}function qe(Ot,_t,vt,Zt){var bt=de.useRef(null);bt.current={open:_t,triggerOpen:vt,customizedTrigger:Zt},de.useEffect(function(){function Ht(nt){var Xt;if(!((Xt=bt.current)!==null&&Xt!==void 0&&Xt.customizedTrigger)){var tn=nt.target;tn.shadowRoot&&nt.composed&&(tn=nt.composedPath()[0]||tn),bt.current.open&&Ot().filter(function(dn){return dn}).every(function(dn){return!dn.contains(tn)&&dn!==tn})&&bt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var _e=te(10228);function mt(Ot){return Ot&&![_e.Z.ESC,_e.Z.SHIFT,_e.Z.BACKSPACE,_e.Z.TAB,_e.Z.WIN_KEY,_e.Z.ALT,_e.Z.META,_e.Z.WIN_KEY_RIGHT,_e.Z.CTRL,_e.Z.SEMICOLON,_e.Z.EQUALS,_e.Z.CAPS_LOCK,_e.Z.CONTEXT_MENU,_e.Z.F1,_e.Z.F2,_e.Z.F3,_e.Z.F4,_e.Z.F5,_e.Z.F6,_e.Z.F7,_e.Z.F8,_e.Z.F9,_e.Z.F10,_e.Z.F11,_e.Z.F12].includes(Ot)}var Re=te(26112),Ye=te(83836);function lt(Ot,_t,vt){var Zt=(0,Ue.Z)((0,Ue.Z)({},Ot),vt?_t:{});return Object.keys(_t).forEach(function(bt){var Ht=_t[bt];typeof Ht=="function"&&(Zt[bt]=function(){for(var nt,Xt=arguments.length,tn=new Array(Xt),dn=0;dn<Xt;dn++)tn[dn]=arguments[dn];return Ht.apply(void 0,tn),(nt=Ot[bt])===null||nt===void 0?void 0:nt.call.apply(nt,[Ot].concat(tn))})}),Zt}var Se=lt,Qe=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],he=function(_t,vt){var Zt=_t.prefixCls,bt=_t.id,Ht=_t.inputElement,nt=_t.autoFocus,Xt=_t.autoComplete,tn=_t.editable,dn=_t.activeDescendantId,Vt=_t.value,jt=_t.open,Yt=_t.attrs,ln=(0,me.Z)(_t,Qe),Wn=Ht||de.createElement("input",null),Rn=Wn,Kn=Rn.ref,kr=Rn.props;return(0,be.Kp)(!("maxLength"in Wn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Wn=de.cloneElement(Wn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({type:"search"},Se(ln,kr,!0)),{},{id:bt,ref:(0,Fe.sQ)(vt,Kn),autoComplete:Xt||"off",autoFocus:nt,className:we()("".concat(Zt,"-selection-search-input"),kr==null?void 0:kr.className),role:"combobox","aria-expanded":jt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(bt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(bt,"_list"),"aria-activedescendant":jt?dn:void 0},Yt),{},{value:tn?Vt:"",readOnly:!tn,unselectable:tn?null:"on",style:(0,Ue.Z)((0,Ue.Z)({},kr.style),{},{opacity:tn?null:0})})),Wn},ye=de.forwardRef(he),Ct=ye;function Ke(Ot){return Array.isArray(Ot)?Ot:Ot!==void 0?[Ot]:[]}var yt=typeof window!="undefined"&&window.document&&window.document.documentElement,Dt=yt;function Ge(Ot){return Ot!=null}function Ae(Ot){return!Ot&&Ot!==0}function ot(Ot){return["string","number"].includes((0,ve.Z)(Ot))}function zt(Ot){var _t=void 0;return Ot&&(ot(Ot.title)?_t=Ot.title.toString():ot(Ot.label)&&(_t=Ot.label.toString())),_t}function Et(Ot,_t){Dt?de.useLayoutEffect(Ot,_t):de.useEffect(Ot,_t)}function Oe(Ot){var _t;return(_t=Ot.key)!==null&&_t!==void 0?_t:Ot.value}var Je=function(_t){_t.preventDefault(),_t.stopPropagation()},dt=function(_t){var vt=_t.id,Zt=_t.prefixCls,bt=_t.values,Ht=_t.open,nt=_t.searchValue,Xt=_t.autoClearSearchValue,tn=_t.inputRef,dn=_t.placeholder,Vt=_t.disabled,jt=_t.mode,Yt=_t.showSearch,ln=_t.autoFocus,Wn=_t.autoComplete,Rn=_t.activeDescendantId,Kn=_t.tabIndex,kr=_t.removeIcon,Zr=_t.maxTagCount,_r=_t.maxTagTextLength,Pr=_t.maxTagPlaceholder,gr=Pr===void 0?function(cr){return"+ ".concat(cr.length," ...")}:Pr,Ar=_t.tagRender,Vr=_t.onToggleOpen,ni=_t.onRemove,ri=_t.onInputChange,ai=_t.onInputPaste,Dr=_t.onInputKeyDown,Jr=_t.onInputMouseDown,$r=_t.onInputCompositionStart,Ri=_t.onInputCompositionEnd,Hi=_t.onInputBlur,zi=de.useRef(null),Zi=(0,de.useState)(0),Ji=(0,Pe.Z)(Zi,2),Ei=Ji[0],ki=Ji[1],fi=(0,de.useState)(!1),$i=(0,Pe.Z)(fi,2),oo=$i[0],Ro=$i[1],fo="".concat(Zt,"-selection"),bo=Ht||jt==="multiple"&&Xt===!1||jt==="tags"?nt:"",co=jt==="tags"||jt==="multiple"&&Xt===!1||Yt&&(Ht||oo);Et(function(){ki(zi.current.scrollWidth)},[bo]);var yo=function(Jn,Wr,qr,or,_n){return de.createElement("span",{title:zt(Jn),className:we()("".concat(fo,"-item"),(0,pe.Z)({},"".concat(fo,"-item-disabled"),qr))},de.createElement("span",{className:"".concat(fo,"-item-content")},Wr),or&&de.createElement(De,{className:"".concat(fo,"-item-remove"),onMouseDown:Je,onClick:_n,customizeIcon:kr},"\xD7"))},Bi=function(Jn,Wr,qr,or,_n,Cr){var zr=function(vo){Je(vo),Vr(!Ht)};return de.createElement("span",{onMouseDown:zr},Ar({label:Wr,value:Jn,disabled:qr,closable:or,onClose:_n,isMaxTag:!!Cr}))},Ai=function(Jn){var Wr=Jn.disabled,qr=Jn.label,or=Jn.value,_n=!Vt&&!Wr,Cr=qr;if(typeof _r=="number"&&(typeof qr=="string"||typeof qr=="number")){var zr=String(Cr);zr.length>_r&&(Cr="".concat(zr.slice(0,_r),"..."))}var ji=function(ao){ao&&ao.stopPropagation(),ni(Jn)};return typeof Ar=="function"?Bi(or,Cr,Wr,_n,ji):yo(Jn,Cr,Wr,_n,ji)},Gr=function(Jn){if(!bt.length)return null;var Wr=typeof gr=="function"?gr(Jn):gr;return typeof Ar=="function"?Bi(void 0,Wr,!1,!1,void 0,!0):yo({title:Wr},Wr,!1)},jn=de.createElement("div",{className:"".concat(fo,"-search"),style:{width:Ei},onFocus:function(){Ro(!0)},onBlur:function(){Ro(!1)}},de.createElement(Ct,{ref:tn,open:Ht,prefixCls:Zt,id:vt,inputElement:null,disabled:Vt,autoFocus:ln,autoComplete:Wn,editable:co,activeDescendantId:Rn,value:bo,onKeyDown:Dr,onMouseDown:Jr,onChange:ri,onPaste:ai,onCompositionStart:$r,onCompositionEnd:Ri,onBlur:Hi,tabIndex:Kn,attrs:(0,Re.Z)(_t,!0)}),de.createElement("span",{ref:zi,className:"".concat(fo,"-search-mirror"),"aria-hidden":!0},bo,"\xA0")),lr=de.createElement(Ye.Z,{prefixCls:"".concat(fo,"-overflow"),data:bt,renderItem:Ai,renderRest:Gr,suffix:jn,itemKey:Oe,maxCount:Zr});return de.createElement("span",{className:"".concat(fo,"-wrap")},lr,!bt.length&&!bo&&de.createElement("span",{className:"".concat(fo,"-placeholder")},dn))},It=dt,st=function(_t){var vt=_t.inputElement,Zt=_t.prefixCls,bt=_t.id,Ht=_t.inputRef,nt=_t.disabled,Xt=_t.autoFocus,tn=_t.autoComplete,dn=_t.activeDescendantId,Vt=_t.mode,jt=_t.open,Yt=_t.values,ln=_t.placeholder,Wn=_t.tabIndex,Rn=_t.showSearch,Kn=_t.searchValue,kr=_t.activeValue,Zr=_t.maxLength,_r=_t.onInputKeyDown,Pr=_t.onInputMouseDown,gr=_t.onInputChange,Ar=_t.onInputPaste,Vr=_t.onInputCompositionStart,ni=_t.onInputCompositionEnd,ri=_t.onInputBlur,ai=_t.title,Dr=de.useState(!1),Jr=(0,Pe.Z)(Dr,2),$r=Jr[0],Ri=Jr[1],Hi=Vt==="combobox",zi=Hi||Rn,Zi=Yt[0],Ji=Kn||"";Hi&&kr&&!$r&&(Ji=kr),de.useEffect(function(){Hi&&Ri(!1)},[Hi,kr]);var Ei=Vt!=="combobox"&&!jt&&!Rn?!1:!!Ji,ki=ai===void 0?zt(Zi):ai,fi=de.useMemo(function(){return Zi?null:de.createElement("span",{className:"".concat(Zt,"-selection-placeholder"),style:Ei?{visibility:"hidden"}:void 0},ln)},[Zi,Ei,ln,Zt]);return de.createElement("span",{className:"".concat(Zt,"-selection-wrap")},de.createElement("span",{className:"".concat(Zt,"-selection-search")},de.createElement(Ct,{ref:Ht,prefixCls:Zt,id:bt,open:jt,inputElement:vt,disabled:nt,autoFocus:Xt,autoComplete:tn,editable:zi,activeDescendantId:dn,value:Ji,onKeyDown:_r,onMouseDown:Pr,onChange:function(oo){Ri(!0),gr(oo)},onPaste:Ar,onCompositionStart:Vr,onCompositionEnd:ni,onBlur:ri,tabIndex:Wn,attrs:(0,Re.Z)(_t,!0),maxLength:Hi?Zr:void 0})),!Hi&&Zi?de.createElement("span",{className:"".concat(Zt,"-selection-item"),title:ki,style:Ei?{visibility:"hidden"}:void 0},Zi.label):null,fi)},Ft=st,ft=function(_t,vt){var Zt=(0,de.useRef)(null),bt=(0,de.useRef)(!1),Ht=_t.prefixCls,nt=_t.open,Xt=_t.mode,tn=_t.showSearch,dn=_t.tokenWithEnter,Vt=_t.disabled,jt=_t.prefix,Yt=_t.autoClearSearchValue,ln=_t.onSearch,Wn=_t.onSearchSubmit,Rn=_t.onToggleOpen,Kn=_t.onInputKeyDown,kr=_t.onInputBlur,Zr=_t.domRef;de.useImperativeHandle(vt,function(){return{focus:function(ki){Zt.current.focus(ki)},blur:function(){Zt.current.blur()}}});var _r=ke(0),Pr=(0,Pe.Z)(_r,2),gr=Pr[0],Ar=Pr[1],Vr=function(ki){var fi=ki.which,$i=Zt.current instanceof HTMLTextAreaElement;!$i&&nt&&(fi===_e.Z.UP||fi===_e.Z.DOWN)&&ki.preventDefault(),Kn&&Kn(ki),fi===_e.Z.ENTER&&Xt==="tags"&&!bt.current&&!nt&&(Wn==null||Wn(ki.target.value)),!($i&&!nt&&~[_e.Z.UP,_e.Z.DOWN,_e.Z.LEFT,_e.Z.RIGHT].indexOf(fi))&&mt(fi)&&Rn(!0)},ni=function(){Ar(!0)},ri=(0,de.useRef)(null),ai=function(ki){ln(ki,!0,bt.current)!==!1&&Rn(!0)},Dr=function(){bt.current=!0},Jr=function(ki){bt.current=!1,Xt!=="combobox"&&ai(ki.target.value)},$r=function(ki){var fi=ki.target.value;if(dn&&ri.current&&/[\r\n]/.test(ri.current)){var $i=ri.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");fi=fi.replace($i,ri.current)}ri.current=null,ai(fi)},Ri=function(ki){var fi=ki.clipboardData,$i=fi==null?void 0:fi.getData("text");ri.current=$i||""},Hi=function(ki){var fi=ki.target;if(fi!==Zt.current){var $i=document.body.style.msTouchAction!==void 0;$i?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},zi=function(ki){var fi=gr();ki.target!==Zt.current&&!fi&&!(Xt==="combobox"&&Vt)&&ki.preventDefault(),(Xt!=="combobox"&&(!tn||!fi)||!nt)&&(nt&&Yt!==!1&&ln("",!0,!1),Rn())},Zi={inputRef:Zt,onInputKeyDown:Vr,onInputMouseDown:ni,onInputChange:$r,onInputPaste:Ri,onInputCompositionStart:Dr,onInputCompositionEnd:Jr,onInputBlur:kr},Ji=Xt==="multiple"||Xt==="tags"?de.createElement(It,(0,b.Z)({},_t,Zi)):de.createElement(Ft,(0,b.Z)({},_t,Zi));return de.createElement("div",{ref:Zr,className:"".concat(Ht,"-selector"),onClick:Hi,onMouseDown:zi},jt&&de.createElement("div",{className:"".concat(Ht,"-prefix")},jt),Ji)},Gt=de.forwardRef(ft),Pt=Gt,oe=te(68196),ae=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ee=function(_t){var vt=_t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:vt,adjustY:1},htmlRegion:"scroll"}}},E=function(_t,vt){var Zt=_t.prefixCls,bt=_t.disabled,Ht=_t.visible,nt=_t.children,Xt=_t.popupElement,tn=_t.animation,dn=_t.transitionName,Vt=_t.dropdownStyle,jt=_t.dropdownClassName,Yt=_t.direction,ln=Yt===void 0?"ltr":Yt,Wn=_t.placement,Rn=_t.builtinPlacements,Kn=_t.dropdownMatchSelectWidth,kr=_t.dropdownRender,Zr=_t.dropdownAlign,_r=_t.getPopupContainer,Pr=_t.empty,gr=_t.getTriggerDOMNode,Ar=_t.onPopupVisibleChange,Vr=_t.onPopupMouseEnter,ni=(0,me.Z)(_t,ae),ri="".concat(Zt,"-dropdown"),ai=Xt;kr&&(ai=kr(Xt));var Dr=de.useMemo(function(){return Rn||ee(Kn)},[Rn,Kn]),Jr=tn?"".concat(ri,"-").concat(tn):dn,$r=typeof Kn=="number",Ri=de.useMemo(function(){return $r?null:Kn===!1?"minWidth":"width"},[Kn,$r]),Hi=Vt;$r&&(Hi=(0,Ue.Z)((0,Ue.Z)({},Hi),{},{width:Kn}));var zi=de.useRef(null);return de.useImperativeHandle(vt,function(){return{getPopupElement:function(){var Ji;return(Ji=zi.current)===null||Ji===void 0?void 0:Ji.popupElement}}}),de.createElement(oe.Z,(0,b.Z)({},ni,{showAction:Ar?["click"]:[],hideAction:Ar?["click"]:[],popupPlacement:Wn||(ln==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Dr,prefixCls:ri,popupTransitionName:Jr,popup:de.createElement("div",{onMouseEnter:Vr},ai),ref:zi,stretch:Ri,popupAlign:Zr,popupVisible:Ht,getPopupContainer:_r,popupClassName:we()(jt,(0,pe.Z)({},"".concat(ri,"-empty"),Pr)),popupStyle:Hi,getTriggerDOMNode:gr,onPopupVisibleChange:Ar}),nt)},re=de.forwardRef(E),ne=re,le=te(48745);function ge(Ot,_t){var vt=Ot.key,Zt;return"value"in Ot&&(Zt=Ot.value),vt!=null?vt:Zt!==void 0?Zt:"rc-index-key-".concat(_t)}function Ee(Ot){return typeof Ot!="undefined"&&!Number.isNaN(Ot)}function ze(Ot,_t){var vt=Ot||{},Zt=vt.label,bt=vt.value,Ht=vt.options,nt=vt.groupLabel,Xt=Zt||(_t?"children":"label");return{label:Xt,value:bt||"value",options:Ht||"options",groupLabel:nt||Xt}}function je(Ot){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=_t.fieldNames,Zt=_t.childrenAsData,bt=[],Ht=ze(vt,!1),nt=Ht.label,Xt=Ht.value,tn=Ht.options,dn=Ht.groupLabel;function Vt(jt,Yt){Array.isArray(jt)&&jt.forEach(function(ln){if(Yt||!(tn in ln)){var Wn=ln[Xt];bt.push({key:ge(ln,bt.length),groupOption:Yt,data:ln,label:ln[nt],value:Wn})}else{var Rn=ln[dn];Rn===void 0&&Zt&&(Rn=ln.label),bt.push({key:ge(ln,bt.length),group:!0,data:ln,label:Rn}),Vt(ln[tn],!0)}})}return Vt(Ot,!1),bt}function Xe(Ot){var _t=(0,Ue.Z)({},Ot);return"props"in _t||Object.defineProperty(_t,"props",{get:function(){return(0,be.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),_t}}),_t}var it=function(_t,vt,Zt){if(!vt||!vt.length)return null;var bt=!1,Ht=function Xt(tn,dn){var Vt=(0,le.Z)(dn),jt=Vt[0],Yt=Vt.slice(1);if(!jt)return[tn];var ln=tn.split(jt);return bt=bt||ln.length>1,ln.reduce(function(Wn,Rn){return[].concat((0,tt.Z)(Wn),(0,tt.Z)(Xt(Rn,Yt)))},[]).filter(Boolean)},nt=Ht(_t,vt);return bt?typeof Zt!="undefined"?nt.slice(0,Zt):nt:null},pt=de.createContext(null),He=pt;function et(Ot){var _t=Ot.visible,vt=Ot.values;if(!_t)return null;var Zt=50;return de.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(vt.slice(0,Zt).map(function(bt){var Ht=bt.label,nt=bt.value;return["number","string"].includes((0,ve.Z)(Ht))?Ht:nt}).join(", ")),vt.length>Zt?", ...":null)}var $t=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Lt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],qt=function(_t){return _t==="tags"||_t==="multiple"},Nt=de.forwardRef(function(Ot,_t){var vt,Zt=Ot.id,bt=Ot.prefixCls,Ht=Ot.className,nt=Ot.showSearch,Xt=Ot.tagRender,tn=Ot.direction,dn=Ot.omitDomProps,Vt=Ot.displayValues,jt=Ot.onDisplayValuesChange,Yt=Ot.emptyOptions,ln=Ot.notFoundContent,Wn=ln===void 0?"Not Found":ln,Rn=Ot.onClear,Kn=Ot.mode,kr=Ot.disabled,Zr=Ot.loading,_r=Ot.getInputElement,Pr=Ot.getRawInputElement,gr=Ot.open,Ar=Ot.defaultOpen,Vr=Ot.onDropdownVisibleChange,ni=Ot.activeValue,ri=Ot.onActiveValueChange,ai=Ot.activeDescendantId,Dr=Ot.searchValue,Jr=Ot.autoClearSearchValue,$r=Ot.onSearch,Ri=Ot.onSearchSplit,Hi=Ot.tokenSeparators,zi=Ot.allowClear,Zi=Ot.prefix,Ji=Ot.suffixIcon,Ei=Ot.clearIcon,ki=Ot.OptionList,fi=Ot.animation,$i=Ot.transitionName,oo=Ot.dropdownStyle,Ro=Ot.dropdownClassName,fo=Ot.dropdownMatchSelectWidth,bo=Ot.dropdownRender,co=Ot.dropdownAlign,yo=Ot.placement,Bi=Ot.builtinPlacements,Ai=Ot.getPopupContainer,Gr=Ot.showAction,jn=Gr===void 0?[]:Gr,lr=Ot.onFocus,cr=Ot.onBlur,Jn=Ot.onKeyUp,Wr=Ot.onKeyDown,qr=Ot.onMouseDown,or=(0,me.Z)(Ot,$t),_n=qt(Kn),Cr=(nt!==void 0?nt:_n)||Kn==="combobox",zr=(0,Ue.Z)({},or);Lt.forEach(function(Ko){delete zr[Ko]}),dn==null||dn.forEach(function(Ko){delete zr[Ko]});var ji=de.useState(!1),vo=(0,Pe.Z)(ji,2),ao=vo[0],Fo=vo[1];de.useEffect(function(){Fo((0,xe.Z)())},[]);var Eo=de.useRef(null),Co=de.useRef(null),To=de.useRef(null),Oo=de.useRef(null),ko=de.useRef(null),ha=de.useRef(!1),Aa=ce(),xa=(0,Pe.Z)(Aa,3),Ia=xa[0],Da=xa[1],Gi=xa[2];de.useImperativeHandle(_t,function(){var Ko,So;return{focus:(Ko=Oo.current)===null||Ko===void 0?void 0:Ko.focus,blur:(So=Oo.current)===null||So===void 0?void 0:So.blur,scrollTo:function(tl){var Oa;return(Oa=ko.current)===null||Oa===void 0?void 0:Oa.scrollTo(tl)},nativeElement:Eo.current||Co.current}});var Mi=de.useMemo(function(){var Ko;if(Kn!=="combobox")return Dr;var So=(Ko=Vt[0])===null||Ko===void 0?void 0:Ko.value;return typeof So=="string"||typeof So=="number"?String(So):""},[Dr,Kn,Vt]),ea=Kn==="combobox"&&typeof _r=="function"&&_r()||null,ta=typeof Pr=="function"&&Pr(),Xi=(0,Fe.x1)(Co,ta==null||(vt=ta.props)===null||vt===void 0?void 0:vt.ref),Wo=de.useState(!1),Jo=(0,Pe.Z)(Wo,2),ho=Jo[0],zo=Jo[1];(0,Te.Z)(function(){zo(!0)},[]);var Bo=(0,fe.Z)(!1,{defaultValue:Ar,value:gr}),Ta=(0,Pe.Z)(Bo,2),rl=Ta[0],Za=Ta[1],Fa=ho?rl:!1,Yl=!Wn&&Yt;(kr||Yl&&Fa&&Kn==="combobox")&&(Fa=!1);var jl=Yl?!1:Fa,qi=de.useCallback(function(Ko){var So=Ko!==void 0?Ko:!Fa;kr||(Za(So),Fa!==So&&(Vr==null||Vr(So)))},[kr,Fa,Za,Vr]),xo=de.useMemo(function(){return(Hi||[]).some(function(Ko){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ko)})},[Hi]),_i=de.useContext(He)||{},to=_i.maxCount,Lo=_i.rawValues,da=function(So,ka,tl){if(!(_n&&Ee(to)&&(Lo==null?void 0:Lo.size)>=to)){var Oa=!0,La=So;ri==null||ri(null);var Pl=it(So,Hi,Ee(to)?to-Lo.size:void 0),Sl=tl?null:Pl;return Kn!=="combobox"&&Sl&&(La="",Ri==null||Ri(Sl),qi(!1),Oa=!1),$r&&Mi!==La&&$r(La,{source:ka?"typing":"effect"}),Oa}},Cl=function(So){!So||!So.trim()||$r(So,{source:"submit"})};de.useEffect(function(){!Fa&&!_n&&Kn!=="combobox"&&da("",!1,!1)},[Fa]),de.useEffect(function(){rl&&kr&&Za(!1),kr&&!ha.current&&Da(!1)},[kr]);var Ga=ke(),Wa=(0,Pe.Z)(Ga,2),Pa=Wa[0],pl=Wa[1],Al=de.useRef(!1),el=function(So){var ka=Pa(),tl=So.key,Oa=tl==="Enter";if(Oa&&(Kn!=="combobox"&&So.preventDefault(),Fa||qi(!0)),pl(!!Mi),tl==="Backspace"&&!ka&&_n&&!Mi&&Vt.length){for(var La=(0,tt.Z)(Vt),Pl=null,Sl=La.length-1;Sl>=0;Sl-=1){var Ml=La[Sl];if(!Ml.disabled){La.splice(Sl,1),Pl=Ml;break}}Pl&&jt(La,{type:"remove",values:[Pl]})}for(var ol=arguments.length,fl=new Array(ol>1?ol-1:0),Bl=1;Bl<ol;Bl++)fl[Bl-1]=arguments[Bl];if(Fa&&(!Oa||!Al.current)){var Ul;Oa&&(Al.current=!0),(Ul=ko.current)===null||Ul===void 0||Ul.onKeyDown.apply(Ul,[So].concat(fl))}Wr==null||Wr.apply(void 0,[So].concat(fl))},Dl=function(So){for(var ka=arguments.length,tl=new Array(ka>1?ka-1:0),Oa=1;Oa<ka;Oa++)tl[Oa-1]=arguments[Oa];if(Fa){var La;(La=ko.current)===null||La===void 0||La.onKeyUp.apply(La,[So].concat(tl))}So.key==="Enter"&&(Al.current=!1),Jn==null||Jn.apply(void 0,[So].concat(tl))},Ao=function(So){var ka=Vt.filter(function(tl){return tl!==So});jt(ka,{type:"remove",values:[So]})},xl=function(){Al.current=!1},Vl=de.useRef(!1),us=function(){Da(!0),kr||(lr&&!Vl.current&&lr.apply(void 0,arguments),jn.includes("focus")&&qi(!0)),Vl.current=!0},ys=function(){ha.current=!0,Da(!1,function(){Vl.current=!1,ha.current=!1,qi(!1)}),!kr&&(Mi&&(Kn==="tags"?$r(Mi,{source:"submit"}):Kn==="multiple"&&$r("",{source:"blur"})),cr&&cr.apply(void 0,arguments))},il=[];de.useEffect(function(){return function(){il.forEach(function(Ko){return clearTimeout(Ko)}),il.splice(0,il.length)}},[]);var zl=function(So){var ka,tl=So.target,Oa=(ka=To.current)===null||ka===void 0?void 0:ka.getPopupElement();if(Oa&&Oa.contains(tl)){var La=setTimeout(function(){var ol=il.indexOf(La);if(ol!==-1&&il.splice(ol,1),Gi(),!ao&&!Oa.contains(document.activeElement)){var fl;(fl=Oo.current)===null||fl===void 0||fl.focus()}});il.push(La)}for(var Pl=arguments.length,Sl=new Array(Pl>1?Pl-1:0),Ml=1;Ml<Pl;Ml++)Sl[Ml-1]=arguments[Ml];qr==null||qr.apply(void 0,[So].concat(Sl))},vl=de.useState({}),Fs=(0,Pe.Z)(vl,2),Gl=Fs[1];function cs(){Gl({})}var ts;ta&&(ts=function(So){qi(So)}),qe(function(){var Ko;return[Eo.current,(Ko=To.current)===null||Ko===void 0?void 0:Ko.getPopupElement()]},jl,qi,!!ta);var Js=de.useMemo(function(){return(0,Ue.Z)((0,Ue.Z)({},Ot),{},{notFoundContent:Wn,open:Fa,triggerOpen:jl,id:Zt,showSearch:Cr,multiple:_n,toggleOpen:qi})},[Ot,Wn,jl,Fa,Zt,Cr,_n,qi]),ds=!!Ji||Zr,gl;ds&&(gl=de.createElement(De,{className:we()("".concat(bt,"-arrow"),(0,pe.Z)({},"".concat(bt,"-arrow-loading"),Zr)),customizeIcon:Ji,customizeIconProps:{loading:Zr,searchValue:Mi,open:Fa,focused:Ia,showSearch:Cr}}));var Xl=function(){var So;Rn==null||Rn(),(So=Oo.current)===null||So===void 0||So.focus(),jt([],{type:"clear",values:Vt}),da("",!1,!1)},ns=Be(bt,Xl,Vt,zi,Ei,kr,Mi,Kn),bs=ns.allowClear,$l=ns.clearIcon,fs=de.createElement(ki,{ref:ko}),Cs=we()(bt,Ht,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(bt,"-focused"),Ia),"".concat(bt,"-multiple"),_n),"".concat(bt,"-single"),!_n),"".concat(bt,"-allow-clear"),zi),"".concat(bt,"-show-arrow"),ds),"".concat(bt,"-disabled"),kr),"".concat(bt,"-loading"),Zr),"".concat(bt,"-open"),Fa),"".concat(bt,"-customize-input"),ea),"".concat(bt,"-show-search"),Cr)),Kl=de.createElement(ne,{ref:To,disabled:kr,prefixCls:bt,visible:jl,popupElement:fs,animation:fi,transitionName:$i,dropdownStyle:oo,dropdownClassName:Ro,direction:tn,dropdownMatchSelectWidth:fo,dropdownRender:bo,dropdownAlign:co,placement:yo,builtinPlacements:Bi,getPopupContainer:Ai,empty:Yt,getTriggerDOMNode:function(So){return Co.current||So},onPopupVisibleChange:ts,onPopupMouseEnter:cs},ta?de.cloneElement(ta,{ref:Xi}):de.createElement(Pt,(0,b.Z)({},Ot,{domRef:Co,prefixCls:bt,inputElement:ea,ref:Oo,id:Zt,prefix:Zi,showSearch:Cr,autoClearSearchValue:Jr,mode:Kn,activeDescendantId:ai,tagRender:Xt,values:Vt,open:Fa,onToggleOpen:qi,activeValue:ni,searchValue:Mi,onSearch:da,onSearchSubmit:Cl,onRemove:Ao,tokenWithEnter:xo,onInputBlur:xl}))),Ha;return ta?Ha=Kl:Ha=de.createElement("div",(0,b.Z)({className:Cs},zr,{ref:Eo,onMouseDown:zl,onKeyDown:el,onKeyUp:Dl,onFocus:us,onBlur:ys}),de.createElement(et,{visible:Ia&&!Fa,values:Vt}),Kl,gl,bs&&$l),de.createElement(Ze.Provider,{value:Js},Ha)}),Mt=Nt,Kt=function(){return null};Kt.isSelectOptGroup=!0;var Jt=Kt,gt=function(){return null};gt.isSelectOption=!0;var kt=gt,nn=te(80547),vn=te(2738),ct=te(48911);function wt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Wt=["disabled","title","children","style","className"];function on(Ot){return typeof Ot=="string"||typeof Ot=="number"}var fn=function(_t,vt){var Zt=rt(),bt=Zt.prefixCls,Ht=Zt.id,nt=Zt.open,Xt=Zt.multiple,tn=Zt.mode,dn=Zt.searchValue,Vt=Zt.toggleOpen,jt=Zt.notFoundContent,Yt=Zt.onPopupScroll,ln=de.useContext(He),Wn=ln.maxCount,Rn=ln.flattenOptions,Kn=ln.onActiveValue,kr=ln.defaultActiveFirstOption,Zr=ln.onSelect,_r=ln.menuItemSelectedIcon,Pr=ln.rawValues,gr=ln.fieldNames,Ar=ln.virtual,Vr=ln.direction,ni=ln.listHeight,ri=ln.listItemHeight,ai=ln.optionRender,Dr="".concat(bt,"-item"),Jr=(0,nn.Z)(function(){return Rn},[nt,Rn],function(Gr,jn){return jn[0]&&Gr[1]!==jn[1]}),$r=de.useRef(null),Ri=de.useMemo(function(){return Xt&&Ee(Wn)&&(Pr==null?void 0:Pr.size)>=Wn},[Xt,Wn,Pr==null?void 0:Pr.size]),Hi=function(jn){jn.preventDefault()},zi=function(jn){var lr;(lr=$r.current)===null||lr===void 0||lr.scrollTo(typeof jn=="number"?{index:jn}:jn)},Zi=de.useCallback(function(Gr){return tn==="combobox"?!1:Pr.has(Gr)},[tn,(0,tt.Z)(Pr).toString(),Pr.size]),Ji=function(jn){for(var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,cr=Jr.length,Jn=0;Jn<cr;Jn+=1){var Wr=(jn+Jn*lr+cr)%cr,qr=Jr[Wr]||{},or=qr.group,_n=qr.data;if(!or&&!(_n!=null&&_n.disabled)&&(Zi(_n.value)||!Ri))return Wr}return-1},Ei=de.useState(function(){return Ji(0)}),ki=(0,Pe.Z)(Ei,2),fi=ki[0],$i=ki[1],oo=function(jn){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;$i(jn);var cr={source:lr?"keyboard":"mouse"},Jn=Jr[jn];if(!Jn){Kn(null,-1,cr);return}Kn(Jn.value,jn,cr)};(0,de.useEffect)(function(){oo(kr!==!1?Ji(0):-1)},[Jr.length,dn]);var Ro=de.useCallback(function(Gr){return tn==="combobox"?String(Gr).toLowerCase()===dn.toLowerCase():Pr.has(Gr)},[tn,dn,(0,tt.Z)(Pr).toString(),Pr.size]);(0,de.useEffect)(function(){var Gr=setTimeout(function(){if(!Xt&&nt&&Pr.size===1){var lr=Array.from(Pr)[0],cr=Jr.findIndex(function(Jn){var Wr=Jn.data;return dn?String(Wr.value).startsWith(dn):Wr.value===lr});cr!==-1&&(oo(cr),zi(cr))}});if(nt){var jn;(jn=$r.current)===null||jn===void 0||jn.scrollTo(void 0)}return function(){return clearTimeout(Gr)}},[nt,dn]);var fo=function(jn){jn!==void 0&&Zr(jn,{selected:!Pr.has(jn)}),Xt||Vt(!1)};if(de.useImperativeHandle(vt,function(){return{onKeyDown:function(jn){var lr=jn.which,cr=jn.ctrlKey;switch(lr){case _e.Z.N:case _e.Z.P:case _e.Z.UP:case _e.Z.DOWN:{var Jn=0;if(lr===_e.Z.UP?Jn=-1:lr===_e.Z.DOWN?Jn=1:wt()&&cr&&(lr===_e.Z.N?Jn=1:lr===_e.Z.P&&(Jn=-1)),Jn!==0){var Wr=Ji(fi+Jn,Jn);zi(Wr),oo(Wr,!0)}break}case _e.Z.TAB:case _e.Z.ENTER:{var qr,or=Jr[fi];or&&!(or!=null&&(qr=or.data)!==null&&qr!==void 0&&qr.disabled)&&!Ri?fo(or.value):fo(void 0),nt&&jn.preventDefault();break}case _e.Z.ESC:Vt(!1),nt&&jn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(jn){zi(jn)}}}),Jr.length===0)return de.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Dr,"-empty"),onMouseDown:Hi},jt);var bo=Object.keys(gr).map(function(Gr){return gr[Gr]}),co=function(jn){return jn.label};function yo(Gr,jn){var lr=Gr.group;return{role:lr?"presentation":"option",id:"".concat(Ht,"_list_").concat(jn)}}var Bi=function(jn){var lr=Jr[jn];if(!lr)return null;var cr=lr.data||{},Jn=cr.value,Wr=lr.group,qr=(0,Re.Z)(cr,!0),or=co(lr);return lr?de.createElement("div",(0,b.Z)({"aria-label":typeof or=="string"&&!Wr?or:null},qr,{key:jn},yo(lr,jn),{"aria-selected":Ro(Jn)}),Jn):null},Ai={role:"listbox",id:"".concat(Ht,"_list")};return de.createElement(de.Fragment,null,Ar&&de.createElement("div",(0,b.Z)({},Ai,{style:{height:0,width:0,overflow:"hidden"}}),Bi(fi-1),Bi(fi),Bi(fi+1)),de.createElement(ct.Z,{itemKey:"key",ref:$r,data:Jr,height:ni,itemHeight:ri,fullHeight:!1,onMouseDown:Hi,onScroll:Yt,virtual:Ar,direction:Vr,innerProps:Ar?null:Ai},function(Gr,jn){var lr=Gr.group,cr=Gr.groupOption,Jn=Gr.data,Wr=Gr.label,qr=Gr.value,or=Jn.key;if(lr){var _n,Cr=(_n=Jn.title)!==null&&_n!==void 0?_n:on(Wr)?Wr.toString():void 0;return de.createElement("div",{className:we()(Dr,"".concat(Dr,"-group"),Jn.className),title:Cr},Wr!==void 0?Wr:or)}var zr=Jn.disabled,ji=Jn.title,vo=Jn.children,ao=Jn.style,Fo=Jn.className,Eo=(0,me.Z)(Jn,Wt),Co=(0,vn.Z)(Eo,bo),To=Zi(qr),Oo=zr||!To&&Ri,ko="".concat(Dr,"-option"),ha=we()(Dr,ko,Fo,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(ko,"-grouped"),cr),"".concat(ko,"-active"),fi===jn&&!Oo),"".concat(ko,"-disabled"),Oo),"".concat(ko,"-selected"),To)),Aa=co(Gr),xa=!_r||typeof _r=="function"||To,Ia=typeof Aa=="number"?Aa:Aa||qr,Da=on(Ia)?Ia.toString():void 0;return ji!==void 0&&(Da=ji),de.createElement("div",(0,b.Z)({},(0,Re.Z)(Co),Ar?{}:yo(Gr,jn),{"aria-selected":Ro(qr),className:ha,title:Da,onMouseMove:function(){fi===jn||Oo||oo(jn)},onClick:function(){Oo||fo(qr)},style:ao}),de.createElement("div",{className:"".concat(ko,"-content")},typeof ai=="function"?ai(Gr,{index:jn}):Ia),de.isValidElement(_r)||To,xa&&de.createElement(De,{className:"".concat(Dr,"-option-state"),customizeIcon:_r,customizeIconProps:{value:qr,disabled:Oo,isSelected:To}},To?"\u2713":null))}))},Pn=de.forwardRef(fn),Vn=Pn,Gn=function(Ot,_t){var vt=de.useRef({values:new Map,options:new Map}),Zt=de.useMemo(function(){var Ht=vt.current,nt=Ht.values,Xt=Ht.options,tn=Ot.map(function(jt){if(jt.label===void 0){var Yt;return(0,Ue.Z)((0,Ue.Z)({},jt),{},{label:(Yt=nt.get(jt.value))===null||Yt===void 0?void 0:Yt.label})}return jt}),dn=new Map,Vt=new Map;return tn.forEach(function(jt){dn.set(jt.value,jt),Vt.set(jt.value,_t.get(jt.value)||Xt.get(jt.value))}),vt.current.values=dn,vt.current.options=Vt,tn},[Ot,_t]),bt=de.useCallback(function(Ht){return _t.get(Ht)||vt.current.options.get(Ht)},[_t]);return[Zt,bt]};function Bn(Ot,_t){return Ke(Ot).join("").toUpperCase().includes(_t)}var Un=function(Ot,_t,vt,Zt,bt){return de.useMemo(function(){if(!vt||Zt===!1)return Ot;var Ht=_t.options,nt=_t.label,Xt=_t.value,tn=[],dn=typeof Zt=="function",Vt=vt.toUpperCase(),jt=dn?Zt:function(ln,Wn){return bt?Bn(Wn[bt],Vt):Wn[Ht]?Bn(Wn[nt!=="children"?nt:"label"],Vt):Bn(Wn[Xt],Vt)},Yt=dn?function(ln){return Xe(ln)}:function(ln){return ln};return Ot.forEach(function(ln){if(ln[Ht]){var Wn=jt(vt,Yt(ln));if(Wn)tn.push(ln);else{var Rn=ln[Ht].filter(function(Kn){return jt(vt,Yt(Kn))});Rn.length&&tn.push((0,Ue.Z)((0,Ue.Z)({},ln),{},(0,pe.Z)({},Ht,Rn)))}return}jt(vt,Yt(ln))&&tn.push(ln)}),tn},[Ot,Zt,bt,vt,_t])},Rt=te(6551),Bt=te(11592),un=["children","value"],en=["children"];function Qt(Ot){var _t=Ot,vt=_t.key,Zt=_t.props,bt=Zt.children,Ht=Zt.value,nt=(0,me.Z)(Zt,un);return(0,Ue.Z)({key:vt,value:Ht!==void 0?Ht:vt,children:bt},nt)}function wn(Ot){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Ot).map(function(vt,Zt){if(!de.isValidElement(vt)||!vt.type)return null;var bt=vt,Ht=bt.type.isSelectOptGroup,nt=bt.key,Xt=bt.props,tn=Xt.children,dn=(0,me.Z)(Xt,en);return _t||!Ht?Qt(vt):(0,Ue.Z)((0,Ue.Z)({key:"__RC_SELECT_GRP__".concat(nt===null?Zt:nt,"__"),label:nt},dn),{},{options:wn(tn)})}).filter(function(vt){return vt})}var bn=function(_t,vt,Zt,bt,Ht){return de.useMemo(function(){var nt=_t,Xt=!_t;Xt&&(nt=wn(vt));var tn=new Map,dn=new Map,Vt=function(ln,Wn,Rn){Rn&&typeof Rn=="string"&&ln.set(Wn[Rn],Wn)},jt=function Yt(ln){for(var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn=0;Rn<ln.length;Rn+=1){var Kn=ln[Rn];!Kn[Zt.options]||Wn?(tn.set(Kn[Zt.value],Kn),Vt(dn,Kn,Zt.label),Vt(dn,Kn,bt),Vt(dn,Kn,Ht)):Yt(Kn[Zt.options],!0)}};return jt(nt),{options:nt,valueOptions:tn,labelOptions:dn}},[_t,vt,Zt,bt,Ht])},kn=bn;function Xn(Ot){var _t=de.useRef();_t.current=Ot;var vt=de.useCallback(function(){return _t.current.apply(_t,arguments)},[]);return vt}function zn(Ot){var _t=Ot.mode,vt=Ot.options,Zt=Ot.children,bt=Ot.backfill,Ht=Ot.allowClear,nt=Ot.placeholder,Xt=Ot.getInputElement,tn=Ot.showSearch,dn=Ot.onSearch,Vt=Ot.defaultOpen,jt=Ot.autoFocus,Yt=Ot.labelInValue,ln=Ot.value,Wn=Ot.inputValue,Rn=Ot.optionLabelProp,Kn=isMultiple(_t),kr=tn!==void 0?tn:Kn||_t==="combobox",Zr=vt||convertChildrenToData(Zt);if(warning(_t!=="tags"||Zr.every(function(Ar){return!Ar.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),_t==="tags"||_t==="combobox"){var _r=Zr.some(function(Ar){return Ar.options?Ar.options.some(function(Vr){return typeof("value"in Vr?Vr.value:Vr.key)=="number"}):typeof("value"in Ar?Ar.value:Ar.key)=="number"});warning(!_r,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(_t!=="combobox"||!Rn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(_t==="combobox"||!bt,"`backfill` only works with `combobox` mode."),warning(_t==="combobox"||!Xt,"`getInputElement` only work with `combobox` mode."),noteOnce(_t!=="combobox"||!Xt||!Ht||!nt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),dn&&!kr&&_t!=="combobox"&&_t!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Vt||jt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ln!=null){var Pr=toArray(ln);warning(!Yt||Pr.every(function(Ar){return _typeof(Ar)==="object"&&("key"in Ar||"value"in Ar)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Kn||Array.isArray(ln),"`value` should be array when `mode` is `multiple` or `tags`")}if(Zt){var gr=null;toNodeArray(Zt).some(function(Ar){if(!React.isValidElement(Ar)||!Ar.type)return!1;var Vr=Ar,ni=Vr.type;if(ni.isSelectOption)return!1;if(ni.isSelectOptGroup){var ri=toNodeArray(Ar.props.children).every(function(ai){return!React.isValidElement(ai)||!Ar.type||ai.type.isSelectOption?!0:(gr=ai.type,!1)});return!ri}return gr=ni,!0}),gr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(gr.displayName||gr.name||gr,"`.")),warning(Wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Fn(Ot,_t){if(Ot){var vt=function Zt(bt){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nt=0;nt<bt.length;nt++){var Xt=bt[nt];if(Xt[_t==null?void 0:_t.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Xt[_t==null?void 0:_t.options])&&Zt(Xt[_t==null?void 0:_t.options],!0))break}};vt(Ot)}}var nr=null,tr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Rr=["inputValue"];function Ir(Ot){return!Ot||(0,ve.Z)(Ot)!=="object"}var Sn=de.forwardRef(function(Ot,_t){var vt=Ot.id,Zt=Ot.mode,bt=Ot.prefixCls,Ht=bt===void 0?"rc-select":bt,nt=Ot.backfill,Xt=Ot.fieldNames,tn=Ot.inputValue,dn=Ot.searchValue,Vt=Ot.onSearch,jt=Ot.autoClearSearchValue,Yt=jt===void 0?!0:jt,ln=Ot.onSelect,Wn=Ot.onDeselect,Rn=Ot.dropdownMatchSelectWidth,Kn=Rn===void 0?!0:Rn,kr=Ot.filterOption,Zr=Ot.filterSort,_r=Ot.optionFilterProp,Pr=Ot.optionLabelProp,gr=Ot.options,Ar=Ot.optionRender,Vr=Ot.children,ni=Ot.defaultActiveFirstOption,ri=Ot.menuItemSelectedIcon,ai=Ot.virtual,Dr=Ot.direction,Jr=Ot.listHeight,$r=Jr===void 0?200:Jr,Ri=Ot.listItemHeight,Hi=Ri===void 0?20:Ri,zi=Ot.labelRender,Zi=Ot.value,Ji=Ot.defaultValue,Ei=Ot.labelInValue,ki=Ot.onChange,fi=Ot.maxCount,$i=(0,me.Z)(Ot,tr),oo=(0,Rt.ZP)(vt),Ro=qt(Zt),fo=!!(!gr&&Vr),bo=de.useMemo(function(){return kr===void 0&&Zt==="combobox"?!1:kr},[kr,Zt]),co=de.useMemo(function(){return ze(Xt,fo)},[JSON.stringify(Xt),fo]),yo=(0,fe.Z)("",{value:dn!==void 0?dn:tn,postState:function(xo){return xo||""}}),Bi=(0,Pe.Z)(yo,2),Ai=Bi[0],Gr=Bi[1],jn=kn(gr,Vr,co,_r,Pr),lr=jn.valueOptions,cr=jn.labelOptions,Jn=jn.options,Wr=de.useCallback(function(qi){var xo=Ke(qi);return xo.map(function(_i){var to,Lo,da,Cl,Ga;if(Ir(_i))to=_i;else{var Wa;da=_i.key,Lo=_i.label,to=(Wa=_i.value)!==null&&Wa!==void 0?Wa:da}var Pa=lr.get(to);if(Pa){var pl;if(Lo===void 0&&(Lo=Pa==null?void 0:Pa[Pr||co.label]),da===void 0&&(da=(pl=Pa==null?void 0:Pa.key)!==null&&pl!==void 0?pl:to),Cl=Pa==null?void 0:Pa.disabled,Ga=Pa==null?void 0:Pa.title,0)var Al}return{label:Lo,value:to,key:da,disabled:Cl,title:Ga}})},[co,Pr,lr]),qr=(0,fe.Z)(Ji,{value:Zi}),or=(0,Pe.Z)(qr,2),_n=or[0],Cr=or[1],zr=de.useMemo(function(){var qi,xo=Ro&&_n===null?[]:_n,_i=Wr(xo);return Zt==="combobox"&&Ae((qi=_i[0])===null||qi===void 0?void 0:qi.value)?[]:_i},[_n,Wr,Zt,Ro]),ji=Gn(zr,lr),vo=(0,Pe.Z)(ji,2),ao=vo[0],Fo=vo[1],Eo=de.useMemo(function(){if(!Zt&&ao.length===1){var qi=ao[0];if(qi.value===null&&(qi.label===null||qi.label===void 0))return[]}return ao.map(function(xo){var _i;return(0,Ue.Z)((0,Ue.Z)({},xo),{},{label:(_i=typeof zi=="function"?zi(xo):xo.label)!==null&&_i!==void 0?_i:xo.value})})},[Zt,ao,zi]),Co=de.useMemo(function(){return new Set(ao.map(function(qi){return qi.value}))},[ao]);de.useEffect(function(){if(Zt==="combobox"){var qi,xo=(qi=ao[0])===null||qi===void 0?void 0:qi.value;Gr(Ge(xo)?String(xo):"")}},[ao]);var To=Xn(function(qi,xo){var _i=xo!=null?xo:qi;return(0,pe.Z)((0,pe.Z)({},co.value,qi),co.label,_i)}),Oo=de.useMemo(function(){if(Zt!=="tags")return Jn;var qi=(0,tt.Z)(Jn),xo=function(to){return lr.has(to)};return(0,tt.Z)(ao).sort(function(_i,to){return _i.value<to.value?-1:1}).forEach(function(_i){var to=_i.value;xo(to)||qi.push(To(to,_i.label))}),qi},[To,Jn,lr,ao,Zt]),ko=Un(Oo,co,Ai,bo,_r),ha=de.useMemo(function(){return Zt!=="tags"||!Ai||ko.some(function(qi){return qi[_r||"value"]===Ai})||ko.some(function(qi){return qi[co.value]===Ai})?ko:[To(Ai)].concat((0,tt.Z)(ko))},[To,_r,Zt,ko,Ai,co]),Aa=function qi(xo){var _i=(0,tt.Z)(xo).sort(function(to,Lo){return Zr(to,Lo,{searchValue:Ai})});return _i.map(function(to){return Array.isArray(to.options)?(0,Ue.Z)((0,Ue.Z)({},to),{},{options:to.options.length>0?qi(to.options):to.options}):to})},xa=de.useMemo(function(){return Zr?Aa(ha):ha},[ha,Zr,Ai]),Ia=de.useMemo(function(){return je(xa,{fieldNames:co,childrenAsData:fo})},[xa,co,fo]),Da=function(xo){var _i=Wr(xo);if(Cr(_i),ki&&(_i.length!==ao.length||_i.some(function(da,Cl){var Ga;return((Ga=ao[Cl])===null||Ga===void 0?void 0:Ga.value)!==(da==null?void 0:da.value)}))){var to=Ei?_i:_i.map(function(da){return da.value}),Lo=_i.map(function(da){return Xe(Fo(da.value))});ki(Ro?to:to[0],Ro?Lo:Lo[0])}},Gi=de.useState(null),Mi=(0,Pe.Z)(Gi,2),ea=Mi[0],ta=Mi[1],Xi=de.useState(0),Wo=(0,Pe.Z)(Xi,2),Jo=Wo[0],ho=Wo[1],zo=ni!==void 0?ni:Zt!=="combobox",Bo=de.useCallback(function(qi,xo){var _i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},to=_i.source,Lo=to===void 0?"keyboard":to;ho(xo),nt&&Zt==="combobox"&&qi!==null&&Lo==="keyboard"&&ta(String(qi))},[nt,Zt]),Ta=function(xo,_i,to){var Lo=function(){var Ao,xl=Fo(xo);return[Ei?{label:xl==null?void 0:xl[co.label],value:xo,key:(Ao=xl==null?void 0:xl.key)!==null&&Ao!==void 0?Ao:xo}:xo,Xe(xl)]};if(_i&&ln){var da=Lo(),Cl=(0,Pe.Z)(da,2),Ga=Cl[0],Wa=Cl[1];ln(Ga,Wa)}else if(!_i&&Wn&&to!=="clear"){var Pa=Lo(),pl=(0,Pe.Z)(Pa,2),Al=pl[0],el=pl[1];Wn(Al,el)}},rl=Xn(function(qi,xo){var _i,to=Ro?xo.selected:!0;to?_i=Ro?[].concat((0,tt.Z)(ao),[qi]):[qi]:_i=ao.filter(function(Lo){return Lo.value!==qi}),Da(_i),Ta(qi,to),Zt==="combobox"?ta(""):(!qt||Yt)&&(Gr(""),ta(""))}),Za=function(xo,_i){Da(xo);var to=_i.type,Lo=_i.values;(to==="remove"||to==="clear")&&Lo.forEach(function(da){Ta(da.value,!1,to)})},Fa=function(xo,_i){if(Gr(xo),ta(null),_i.source==="submit"){var to=(xo||"").trim();if(to){var Lo=Array.from(new Set([].concat((0,tt.Z)(Co),[to])));Da(Lo),Ta(to,!0),Gr("")}return}_i.source!=="blur"&&(Zt==="combobox"&&Da(xo),Vt==null||Vt(xo))},Yl=function(xo){var _i=xo;Zt!=="tags"&&(_i=xo.map(function(Lo){var da=cr.get(Lo);return da==null?void 0:da.value}).filter(function(Lo){return Lo!==void 0}));var to=Array.from(new Set([].concat((0,tt.Z)(Co),(0,tt.Z)(_i))));Da(to),to.forEach(function(Lo){Ta(Lo,!0)})},jl=de.useMemo(function(){var qi=ai!==!1&&Kn!==!1;return(0,Ue.Z)((0,Ue.Z)({},jn),{},{flattenOptions:Ia,onActiveValue:Bo,defaultActiveFirstOption:zo,onSelect:rl,menuItemSelectedIcon:ri,rawValues:Co,fieldNames:co,virtual:qi,direction:Dr,listHeight:$r,listItemHeight:Hi,childrenAsData:fo,maxCount:fi,optionRender:Ar})},[fi,jn,Ia,Bo,zo,rl,ri,Co,co,ai,Kn,Dr,$r,Hi,fo,Ar]);return de.createElement(He.Provider,{value:jl},de.createElement(Mt,(0,b.Z)({},$i,{id:oo,prefixCls:Ht,ref:_t,omitDomProps:Rr,mode:Zt,displayValues:Eo,onDisplayValuesChange:Za,direction:Dr,searchValue:Ai,onSearch:Fa,autoClearSearchValue:Yt,onSearchSplit:Yl,dropdownMatchSelectWidth:Kn,OptionList:Vn,emptyOptions:!Ia.length,activeValue:ea,activeDescendantId:"".concat(oo,"_list_").concat(Jo)})))}),Ln=Sn;Ln.Option=kt,Ln.OptGroup=Jt;var rr=Ln,ir=rr},22711:function(Tn,sn,te){"use strict";te.r(sn),te.d(sn,{ResizableTextArea:function(){return Se},default:function(){return Ct}});var b=te(60499),tt=te(18642),pe=te(85899),Ue=te(77654),Pe=te(72190),me=te(42244),ve=te(92310),fe=te.n(ve),be=te(36901),de=te(66003),Le=te(30292),we=te(18929),Te=te(59301),xe=te(43749),Fe=te(29301),Ce=te(34280),De=te(16089),Be=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,Ze=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],rt={},ce;function ke(Ke){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=Ke.getAttribute("id")||Ke.getAttribute("data-reactid")||Ke.getAttribute("name");if(yt&&rt[Dt])return rt[Dt];var Ge=window.getComputedStyle(Ke),Ae=Ge.getPropertyValue("box-sizing")||Ge.getPropertyValue("-moz-box-sizing")||Ge.getPropertyValue("-webkit-box-sizing"),ot=parseFloat(Ge.getPropertyValue("padding-bottom"))+parseFloat(Ge.getPropertyValue("padding-top")),zt=parseFloat(Ge.getPropertyValue("border-bottom-width"))+parseFloat(Ge.getPropertyValue("border-top-width")),Et=Ze.map(function(Je){return"".concat(Je,":").concat(Ge.getPropertyValue(Je))}).join(";"),Oe={sizingStyle:Et,paddingSize:ot,borderSize:zt,boxSizing:Ae};return yt&&Dt&&(rt[Dt]=Oe),Oe}function qe(Ke){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ce||(ce=document.createElement("textarea"),ce.setAttribute("tab-index","-1"),ce.setAttribute("aria-hidden","true"),ce.setAttribute("name","hiddenTextarea"),document.body.appendChild(ce)),Ke.getAttribute("wrap")?ce.setAttribute("wrap",Ke.getAttribute("wrap")):ce.removeAttribute("wrap");var Ae=ke(Ke,yt),ot=Ae.paddingSize,zt=Ae.borderSize,Et=Ae.boxSizing,Oe=Ae.sizingStyle;ce.setAttribute("style","".concat(Oe,";").concat(Be)),ce.value=Ke.value||Ke.placeholder||"";var Je=void 0,dt=void 0,It,st=ce.scrollHeight;if(Et==="border-box"?st+=zt:Et==="content-box"&&(st-=ot),Dt!==null||Ge!==null){ce.value=" ";var Ft=ce.scrollHeight-ot;Dt!==null&&(Je=Ft*Dt,Et==="border-box"&&(Je=Je+ot+zt),st=Math.max(Je,st)),Ge!==null&&(dt=Ft*Ge,Et==="border-box"&&(dt=dt+ot+zt),It=st>dt?"":"hidden",st=Math.min(dt,st))}var ft={height:st,overflowY:It,resize:"none"};return Je&&(ft.minHeight=Je),dt&&(ft.maxHeight=dt),ft}var _e=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],mt=0,Re=1,Ye=2,lt=Te.forwardRef(function(Ke,yt){var Dt=Ke,Ge=Dt.prefixCls,Ae=Dt.defaultValue,ot=Dt.value,zt=Dt.autoSize,Et=Dt.onResize,Oe=Dt.className,Je=Dt.style,dt=Dt.disabled,It=Dt.onChange,st=Dt.onInternalAutoSize,Ft=(0,me.Z)(Dt,_e),ft=(0,we.Z)(Ae,{value:ot,postState:function(kt){return kt!=null?kt:""}}),Gt=(0,Pe.Z)(ft,2),Pt=Gt[0],oe=Gt[1],ae=function(kt){oe(kt.target.value),It==null||It(kt)},ee=Te.useRef();Te.useImperativeHandle(yt,function(){return{textArea:ee.current}});var E=Te.useMemo(function(){return zt&&(0,xe.Z)(zt)==="object"?[zt.minRows,zt.maxRows]:[]},[zt]),re=(0,Pe.Z)(E,2),ne=re[0],le=re[1],ge=!!zt,Ee=function(){try{if(document.activeElement===ee.current){var kt=ee.current,nn=kt.selectionStart,vn=kt.selectionEnd,ct=kt.scrollTop;ee.current.setSelectionRange(nn,vn),ee.current.scrollTop=ct}}catch(wt){}},ze=Te.useState(Ye),je=(0,Pe.Z)(ze,2),Xe=je[0],it=je[1],pt=Te.useState(),He=(0,Pe.Z)(pt,2),et=He[0],$t=He[1],Lt=function(){it(mt)};(0,Ce.Z)(function(){ge&&Lt()},[ot,ne,le,ge]),(0,Ce.Z)(function(){if(Xe===mt)it(Re);else if(Xe===Re){var gt=qe(ee.current,!1,ne,le);it(Ye),$t(gt)}else Ee()},[Xe]);var qt=Te.useRef(),Nt=function(){De.Z.cancel(qt.current)},Mt=function(kt){Xe===Ye&&(Et==null||Et(kt),zt&&(Nt(),qt.current=(0,De.Z)(function(){Lt()})))};Te.useEffect(function(){return Nt},[]);var Kt=ge?et:null,Jt=(0,pe.Z)((0,pe.Z)({},Je),Kt);return(Xe===mt||Xe===Re)&&(Jt.overflowY="hidden",Jt.overflowX="hidden"),Te.createElement(Fe.Z,{onResize:Mt,disabled:!(zt||Et)},Te.createElement("textarea",(0,b.Z)({},Ft,{ref:ee,style:Jt,className:fe()(Ge,Oe,(0,tt.Z)({},"".concat(Ge,"-disabled"),dt)),disabled:dt,value:Pt,onChange:ae})))}),Se=lt,Qe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],he=Te.forwardRef(function(Ke,yt){var Dt,Ge=Ke.defaultValue,Ae=Ke.value,ot=Ke.onFocus,zt=Ke.onBlur,Et=Ke.onChange,Oe=Ke.allowClear,Je=Ke.maxLength,dt=Ke.onCompositionStart,It=Ke.onCompositionEnd,st=Ke.suffix,Ft=Ke.prefixCls,ft=Ft===void 0?"rc-textarea":Ft,Gt=Ke.showCount,Pt=Ke.count,oe=Ke.className,ae=Ke.style,ee=Ke.disabled,E=Ke.hidden,re=Ke.classNames,ne=Ke.styles,le=Ke.onResize,ge=Ke.onClear,Ee=Ke.onPressEnter,ze=Ke.readOnly,je=Ke.autoSize,Xe=Ke.onKeyDown,it=(0,me.Z)(Ke,Qe),pt=(0,we.Z)(Ge,{value:Ae,defaultValue:Ge}),He=(0,Pe.Z)(pt,2),et=He[0],$t=He[1],Lt=et==null?"":String(et),qt=Te.useState(!1),Nt=(0,Pe.Z)(qt,2),Mt=Nt[0],Kt=Nt[1],Jt=Te.useRef(!1),gt=Te.useState(null),kt=(0,Pe.Z)(gt,2),nn=kt[0],vn=kt[1],ct=(0,Te.useRef)(null),wt=(0,Te.useRef)(null),Wt=function(){var Ln;return(Ln=wt.current)===null||Ln===void 0?void 0:Ln.textArea},on=function(){Wt().focus()};(0,Te.useImperativeHandle)(yt,function(){var Sn;return{resizableTextArea:wt.current,focus:on,blur:function(){Wt().blur()},nativeElement:((Sn=ct.current)===null||Sn===void 0?void 0:Sn.nativeElement)||Wt()}}),(0,Te.useEffect)(function(){Kt(function(Sn){return!ee&&Sn})},[ee]);var fn=Te.useState(null),Pn=(0,Pe.Z)(fn,2),Vn=Pn[0],Gn=Pn[1];Te.useEffect(function(){if(Vn){var Sn;(Sn=Wt()).setSelectionRange.apply(Sn,(0,Ue.Z)(Vn))}},[Vn]);var Bn=(0,de.Z)(Pt,Gt),Un=(Dt=Bn.max)!==null&&Dt!==void 0?Dt:Je,Rt=Number(Un)>0,Bt=Bn.strategy(Lt),un=!!Un&&Bt>Un,en=function(Ln,rr){var ir=rr;!Jt.current&&Bn.exceedFormatter&&Bn.max&&Bn.strategy(rr)>Bn.max&&(ir=Bn.exceedFormatter(rr,{max:Bn.max}),rr!==ir&&Gn([Wt().selectionStart||0,Wt().selectionEnd||0])),$t(ir),(0,Le.rJ)(Ln.currentTarget,Ln,Et,ir)},Qt=function(Ln){Jt.current=!0,dt==null||dt(Ln)},wn=function(Ln){Jt.current=!1,en(Ln,Ln.currentTarget.value),It==null||It(Ln)},bn=function(Ln){en(Ln,Ln.target.value)},kn=function(Ln){Ln.key==="Enter"&&Ee&&Ee(Ln),Xe==null||Xe(Ln)},Xn=function(Ln){Kt(!0),ot==null||ot(Ln)},zn=function(Ln){Kt(!1),zt==null||zt(Ln)},Fn=function(Ln){$t(""),on(),(0,Le.rJ)(Wt(),Ln,Et)},nr=st,tr;Bn.show&&(Bn.showFormatter?tr=Bn.showFormatter({value:Lt,count:Bt,maxLength:Un}):tr="".concat(Bt).concat(Rt?" / ".concat(Un):""),nr=Te.createElement(Te.Fragment,null,nr,Te.createElement("span",{className:fe()("".concat(ft,"-data-count"),re==null?void 0:re.count),style:ne==null?void 0:ne.count},tr)));var Rr=function(Ln){var rr;le==null||le(Ln),(rr=Wt())!==null&&rr!==void 0&&rr.style.height&&vn(!0)},Ir=!je&&!Gt&&!Oe;return Te.createElement(be.BaseInput,{ref:ct,value:Lt,allowClear:Oe,handleReset:Fn,suffix:nr,prefixCls:ft,classNames:(0,pe.Z)((0,pe.Z)({},re),{},{affixWrapper:fe()(re==null?void 0:re.affixWrapper,(0,tt.Z)((0,tt.Z)({},"".concat(ft,"-show-count"),Gt),"".concat(ft,"-textarea-allow-clear"),Oe))}),disabled:ee,focused:Mt,className:fe()(oe,un&&"".concat(ft,"-out-of-range")),style:(0,pe.Z)((0,pe.Z)({},ae),nn&&!Ir?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tr=="string"?tr:void 0}},hidden:E,readOnly:ze,onClear:ge},Te.createElement(Se,(0,b.Z)({},it,{autoSize:je,maxLength:Je,onKeyDown:kn,onChange:bn,onFocus:Xn,onBlur:zn,onCompositionStart:Qt,onCompositionEnd:wn,className:fe()(re==null?void 0:re.textarea),style:(0,pe.Z)((0,pe.Z)({},ne==null?void 0:ne.textarea),{},{resize:ae==null?void 0:ae.resize}),disabled:ee,prefixCls:ft,onResize:Rr,ref:wt,readOnly:ze})))}),ye=he,Ct=ye},639:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return rt}});var b=te(60499),tt=te(18642),pe=te(85899),Ue=te(72190),Pe=te(42244),me=te(59301),ve=te(92310),fe=te.n(ve),be=te(26112),de=te(30699),Le=function(ke){for(var qe=ke.prefixCls,_e=ke.level,mt=ke.isStart,Re=ke.isEnd,Ye="".concat(qe,"-indent-unit"),lt=[],Se=0;Se<_e;Se+=1)lt.push(me.createElement("span",{key:Se,className:fe()(Ye,(0,tt.Z)((0,tt.Z)({},"".concat(Ye,"-start"),mt[Se]),"".concat(Ye,"-end"),Re[Se]))}));return me.createElement("span",{"aria-hidden":"true",className:"".concat(qe,"-indent")},lt)},we=me.memo(Le),Te=te(65065),xe=te(34061),Fe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Ce="open",De="close",Be="---",Ze=function(ke){var qe,_e,mt,Re=ke.eventKey,Ye=ke.className,lt=ke.style,Se=ke.dragOver,Qe=ke.dragOverGapTop,he=ke.dragOverGapBottom,ye=ke.isLeaf,Ct=ke.isStart,Ke=ke.isEnd,yt=ke.expanded,Dt=ke.selected,Ge=ke.checked,Ae=ke.halfChecked,ot=ke.loading,zt=ke.domRef,Et=ke.active,Oe=ke.data,Je=ke.onMouseMove,dt=ke.selectable,It=(0,Pe.Z)(ke,Fe),st=me.useContext(de.k),Ft=me.useContext(de.y),ft=me.useRef(null),Gt=me.useState(!1),Pt=(0,Ue.Z)(Gt,2),oe=Pt[0],ae=Pt[1],ee=!!(st.disabled||ke.disabled||(qe=Ft.nodeDisabled)!==null&&qe!==void 0&&qe.call(Ft,Oe)),E=me.useMemo(function(){return!st.checkable||ke.checkable===!1?!1:st.checkable},[st.checkable,ke.checkable]),re=function(Bt){ee||st.onNodeSelect(Bt,(0,xe.F)(ke))},ne=function(Bt){ee||!E||ke.disableCheckbox||st.onNodeCheck(Bt,(0,xe.F)(ke),!Ge)},le=me.useMemo(function(){return typeof dt=="boolean"?dt:st.selectable},[dt,st.selectable]),ge=function(Bt){st.onNodeClick(Bt,(0,xe.F)(ke)),le?re(Bt):ne(Bt)},Ee=function(Bt){st.onNodeDoubleClick(Bt,(0,xe.F)(ke))},ze=function(Bt){st.onNodeMouseEnter(Bt,(0,xe.F)(ke))},je=function(Bt){st.onNodeMouseLeave(Bt,(0,xe.F)(ke))},Xe=function(Bt){st.onNodeContextMenu(Bt,(0,xe.F)(ke))},it=me.useMemo(function(){return!!(st.draggable&&(!st.draggable.nodeDraggable||st.draggable.nodeDraggable(Oe)))},[st.draggable,Oe]),pt=function(Bt){Bt.stopPropagation(),ae(!0),st.onNodeDragStart(Bt,ke);try{Bt.dataTransfer.setData("text/plain","")}catch(un){}},He=function(Bt){Bt.preventDefault(),Bt.stopPropagation(),st.onNodeDragEnter(Bt,ke)},et=function(Bt){Bt.preventDefault(),Bt.stopPropagation(),st.onNodeDragOver(Bt,ke)},$t=function(Bt){Bt.stopPropagation(),st.onNodeDragLeave(Bt,ke)},Lt=function(Bt){Bt.stopPropagation(),ae(!1),st.onNodeDragEnd(Bt,ke)},qt=function(Bt){Bt.preventDefault(),Bt.stopPropagation(),ae(!1),st.onNodeDrop(Bt,ke)},Nt=function(Bt){ot||st.onNodeExpand(Bt,(0,xe.F)(ke))},Mt=me.useMemo(function(){var Rt=(0,Te.Z)(st.keyEntities,Re)||{},Bt=Rt.children;return!!(Bt||[]).length},[st.keyEntities,Re]),Kt=me.useMemo(function(){return ye===!1?!1:ye||!st.loadData&&!Mt||st.loadData&&ke.loaded&&!Mt},[ye,st.loadData,Mt,ke.loaded]);me.useEffect(function(){ot||typeof st.loadData=="function"&&yt&&!Kt&&!ke.loaded&&st.onNodeLoad((0,xe.F)(ke))},[ot,st.loadData,st.onNodeLoad,yt,Kt,ke]);var Jt=me.useMemo(function(){var Rt;return(Rt=st.draggable)!==null&&Rt!==void 0&&Rt.icon?me.createElement("span",{className:"".concat(st.prefixCls,"-draggable-icon")},st.draggable.icon):null},[st.draggable]),gt=function(Bt){var un=ke.switcherIcon||st.switcherIcon;return typeof un=="function"?un((0,pe.Z)((0,pe.Z)({},ke),{},{isLeaf:Bt})):un},kt=function(){if(Kt){var Bt=gt(!0);return Bt!==!1?me.createElement("span",{className:fe()("".concat(st.prefixCls,"-switcher"),"".concat(st.prefixCls,"-switcher-noop"))},Bt):null}var un=gt(!1);return un!==!1?me.createElement("span",{onClick:Nt,className:fe()("".concat(st.prefixCls,"-switcher"),"".concat(st.prefixCls,"-switcher_").concat(yt?Ce:De))},un):null},nn=me.useMemo(function(){if(!E)return null;var Rt=typeof E!="boolean"?E:null;return me.createElement("span",{className:fe()("".concat(st.prefixCls,"-checkbox"),(0,tt.Z)((0,tt.Z)((0,tt.Z)({},"".concat(st.prefixCls,"-checkbox-checked"),Ge),"".concat(st.prefixCls,"-checkbox-indeterminate"),!Ge&&Ae),"".concat(st.prefixCls,"-checkbox-disabled"),ee||ke.disableCheckbox)),onClick:ne,role:"checkbox","aria-checked":Ae?"mixed":Ge,"aria-disabled":ee||ke.disableCheckbox,"aria-label":"Select ".concat(typeof ke.title=="string"?ke.title:"tree node")},Rt)},[E,Ge,Ae,ee,ke.disableCheckbox,ke.title]),vn=me.useMemo(function(){return Kt?null:yt?Ce:De},[Kt,yt]),ct=me.useMemo(function(){return me.createElement("span",{className:fe()("".concat(st.prefixCls,"-iconEle"),"".concat(st.prefixCls,"-icon__").concat(vn||"docu"),(0,tt.Z)({},"".concat(st.prefixCls,"-icon_loading"),ot))})},[st.prefixCls,vn,ot]),wt=me.useMemo(function(){var Rt=!!st.draggable,Bt=!ke.disabled&&Rt&&st.dragOverNodeKey===Re;return Bt?st.dropIndicatorRender({dropPosition:st.dropPosition,dropLevelOffset:st.dropLevelOffset,indent:st.indent,prefixCls:st.prefixCls,direction:st.direction}):null},[st.dropPosition,st.dropLevelOffset,st.indent,st.prefixCls,st.direction,st.draggable,st.dragOverNodeKey,st.dropIndicatorRender]),Wt=me.useMemo(function(){var Rt=ke.title,Bt=Rt===void 0?Be:Rt,un="".concat(st.prefixCls,"-node-content-wrapper"),en;if(st.showIcon){var Qt=ke.icon||st.icon;en=Qt?me.createElement("span",{className:fe()("".concat(st.prefixCls,"-iconEle"),"".concat(st.prefixCls,"-icon__customize"))},typeof Qt=="function"?Qt(ke):Qt):ct}else st.loadData&&ot&&(en=ct);var wn;return typeof Bt=="function"?wn=Bt(Oe):st.titleRender?wn=st.titleRender(Oe):wn=Bt,me.createElement("span",{ref:ft,title:typeof Bt=="string"?Bt:"",className:fe()(un,"".concat(un,"-").concat(vn||"normal"),(0,tt.Z)({},"".concat(st.prefixCls,"-node-selected"),!ee&&(Dt||oe))),onMouseEnter:ze,onMouseLeave:je,onContextMenu:Xe,onClick:ge,onDoubleClick:Ee},en,me.createElement("span",{className:"".concat(st.prefixCls,"-title")},wn),wt)},[st.prefixCls,st.showIcon,ke,st.icon,ct,st.titleRender,Oe,vn,ze,je,Xe,ge,Ee]),on=(0,be.Z)(It,{aria:!0,data:!0}),fn=(0,Te.Z)(st.keyEntities,Re)||{},Pn=fn.level,Vn=Ke[Ke.length-1],Gn=!ee&&it,Bn=st.draggingNodeKey===Re,Un=dt!==void 0?{"aria-selected":!!dt}:void 0;return me.createElement("div",(0,b.Z)({ref:zt,role:"treeitem","aria-expanded":ye?void 0:yt,className:fe()(Ye,"".concat(st.prefixCls,"-treenode"),(mt={},(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)(mt,"".concat(st.prefixCls,"-treenode-disabled"),ee),"".concat(st.prefixCls,"-treenode-switcher-").concat(yt?"open":"close"),!ye),"".concat(st.prefixCls,"-treenode-checkbox-checked"),Ge),"".concat(st.prefixCls,"-treenode-checkbox-indeterminate"),Ae),"".concat(st.prefixCls,"-treenode-selected"),Dt),"".concat(st.prefixCls,"-treenode-loading"),ot),"".concat(st.prefixCls,"-treenode-active"),Et),"".concat(st.prefixCls,"-treenode-leaf-last"),Vn),"".concat(st.prefixCls,"-treenode-draggable"),it),"dragging",Bn),(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)(mt,"drop-target",st.dropTargetKey===Re),"drop-container",st.dropContainerKey===Re),"drag-over",!ee&&Se),"drag-over-gap-top",!ee&&Qe),"drag-over-gap-bottom",!ee&&he),"filter-node",(_e=st.filterTreeNode)===null||_e===void 0?void 0:_e.call(st,(0,xe.F)(ke))),"".concat(st.prefixCls,"-treenode-leaf"),Kt))),style:lt,draggable:Gn,onDragStart:Gn?pt:void 0,onDragEnter:it?He:void 0,onDragOver:it?et:void 0,onDragLeave:it?$t:void 0,onDrop:it?qt:void 0,onDragEnd:it?Lt:void 0,onMouseMove:Je},Un,on),me.createElement(we,{prefixCls:st.prefixCls,level:Pn,isStart:Ct,isEnd:Ke}),Jt,kt(),nn,Wt)};Ze.isTreeNode=1;var rt=Ze},30699:function(Tn,sn,te){"use strict";te.d(sn,{k:function(){return tt},y:function(){return pe}});var b=te(59301),tt=b.createContext(null),pe=b.createContext({})},87632:function(Tn,sn,te){"use strict";te.d(sn,{OF:function(){return Re.Z},y6:function(){return De.y},ZP:function(){return ee}});var b=te(60499),tt=te(43749),pe=te(85899),Ue=te(77654),Pe=te(38705),me=te(17212),ve=te(15793),fe=te(39153),be=te(55401),de=te(18642),Le=te(92310),we=te.n(Le),Te=te(10228),xe=te(26112),Fe=te(48736),Ce=te(59301),De=te(30699),Be=function(re){var ne=re.dropPosition,le=re.dropLevelOffset,ge=re.indent,Ee={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ne){case-1:Ee.top=0,Ee.left=-le*ge;break;case 1:Ee.bottom=0,Ee.left=-le*ge;break;case 0:Ee.bottom=0,Ee.left=ge;break}return Ce.createElement("div",{style:Ee})},Ze=Be;function rt(E){if(E==null)throw new TypeError("Cannot destructure "+E)}var ce=te(72190),ke=te(42244),qe=te(34280),_e=te(48911),mt=te(77900),Re=te(639);function Ye(E,re){var ne=Ce.useState(!1),le=(0,ce.Z)(ne,2),ge=le[0],Ee=le[1];(0,qe.Z)(function(){if(ge)return E(),function(){re()}},[ge]),(0,qe.Z)(function(){return Ee(!0),function(){Ee(!1)}},[])}var lt=Ye,Se=te(34061),Qe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=Ce.forwardRef(function(E,re){var ne=E.className,le=E.style,ge=E.motion,Ee=E.motionNodes,ze=E.motionType,je=E.onMotionStart,Xe=E.onMotionEnd,it=E.active,pt=E.treeNodeRequiredProps,He=(0,ke.Z)(E,Qe),et=Ce.useState(!0),$t=(0,ce.Z)(et,2),Lt=$t[0],qt=$t[1],Nt=Ce.useContext(De.k),Mt=Nt.prefixCls,Kt=Ee&&ze!=="hide";(0,qe.Z)(function(){Ee&&Kt!==Lt&&qt(Kt)},[Ee]);var Jt=function(){Ee&&je()},gt=Ce.useRef(!1),kt=function(){Ee&&!gt.current&&(gt.current=!0,Xe())};lt(Jt,kt);var nn=function(ct){Kt===ct&&kt()};return Ee?Ce.createElement(mt.default,(0,b.Z)({ref:re,visible:Lt},ge,{motionAppear:ze==="show",onVisibleChanged:nn}),function(vn,ct){var wt=vn.className,Wt=vn.style;return Ce.createElement("div",{ref:ct,className:we()("".concat(Mt,"-treenode-motion"),wt),style:Wt},Ee.map(function(on){var fn=Object.assign({},(rt(on.data),on.data)),Pn=on.title,Vn=on.key,Gn=on.isStart,Bn=on.isEnd;delete fn.children;var Un=(0,Se.H8)(Vn,pt);return Ce.createElement(Re.Z,(0,b.Z)({},fn,Un,{title:Pn,active:it,data:on.data,key:Vn,isStart:Gn,isEnd:Bn}))}))}):Ce.createElement(Re.Z,(0,b.Z)({domRef:re,className:ne,style:le},He,{active:it}))}),ye=he;function Ct(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ne=E.length,le=re.length;if(Math.abs(ne-le)!==1)return{add:!1,key:null};function ge(Ee,ze){var je=new Map;Ee.forEach(function(it){je.set(it,!0)});var Xe=ze.filter(function(it){return!je.has(it)});return Xe.length===1?Xe[0]:null}return ne<le?{add:!0,key:ge(E,re)}:{add:!1,key:ge(re,E)}}function Ke(E,re,ne){var le=E.findIndex(function(je){return je.key===ne}),ge=E[le+1],Ee=re.findIndex(function(je){return je.key===ne});if(ge){var ze=re.findIndex(function(je){return je.key===ge.key});return re.slice(Ee+1,ze)}return re.slice(Ee+1)}var yt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ge=function(){},Ae="RC_TREE_MOTION_".concat(Math.random()),ot={key:Ae},zt={key:Ae,level:0,index:0,pos:"0",node:ot,nodes:[ot]},Et={parent:null,children:[],pos:zt.pos,data:ot,title:null,key:Ae,isStart:[],isEnd:[]};function Oe(E,re,ne,le){return re===!1||!ne?E:E.slice(0,Math.ceil(ne/le)+1)}function Je(E){var re=E.key,ne=E.pos;return(0,Se.km)(re,ne)}function dt(E){for(var re=String(E.data.key),ne=E;ne.parent;)ne=ne.parent,re="".concat(ne.data.key," > ").concat(re);return re}var It=Ce.forwardRef(function(E,re){var ne=E.prefixCls,le=E.data,ge=E.selectable,Ee=E.checkable,ze=E.expandedKeys,je=E.selectedKeys,Xe=E.checkedKeys,it=E.loadedKeys,pt=E.loadingKeys,He=E.halfCheckedKeys,et=E.keyEntities,$t=E.disabled,Lt=E.dragging,qt=E.dragOverNodeKey,Nt=E.dropPosition,Mt=E.motion,Kt=E.height,Jt=E.itemHeight,gt=E.virtual,kt=E.scrollWidth,nn=E.focusable,vn=E.activeItem,ct=E.focused,wt=E.tabIndex,Wt=E.onKeyDown,on=E.onFocus,fn=E.onBlur,Pn=E.onActiveChange,Vn=E.onListChangeStart,Gn=E.onListChangeEnd,Bn=(0,ke.Z)(E,yt),Un=Ce.useRef(null),Rt=Ce.useRef(null);Ce.useImperativeHandle(re,function(){return{scrollTo:function(Xt){Un.current.scrollTo(Xt)},getIndentWidth:function(){return Rt.current.offsetWidth}}});var Bt=Ce.useState(ze),un=(0,ce.Z)(Bt,2),en=un[0],Qt=un[1],wn=Ce.useState(le),bn=(0,ce.Z)(wn,2),kn=bn[0],Xn=bn[1],zn=Ce.useState(le),Fn=(0,ce.Z)(zn,2),nr=Fn[0],tr=Fn[1],Rr=Ce.useState([]),Ir=(0,ce.Z)(Rr,2),Sn=Ir[0],Ln=Ir[1],rr=Ce.useState(null),ir=(0,ce.Z)(rr,2),Ot=ir[0],_t=ir[1],vt=Ce.useRef(le);vt.current=le;function Zt(){var nt=vt.current;Xn(nt),tr(nt),Ln([]),_t(null),Gn()}(0,qe.Z)(function(){Qt(ze);var nt=Ct(en,ze);if(nt.key!==null)if(nt.add){var Xt=kn.findIndex(function(ln){var Wn=ln.key;return Wn===nt.key}),tn=Oe(Ke(kn,le,nt.key),gt,Kt,Jt),dn=kn.slice();dn.splice(Xt+1,0,Et),tr(dn),Ln(tn),_t("show")}else{var Vt=le.findIndex(function(ln){var Wn=ln.key;return Wn===nt.key}),jt=Oe(Ke(le,kn,nt.key),gt,Kt,Jt),Yt=le.slice();Yt.splice(Vt+1,0,Et),tr(Yt),Ln(jt),_t("hide")}else kn!==le&&(Xn(le),tr(le))},[ze,le]),Ce.useEffect(function(){Lt||Zt()},[Lt]);var bt=Mt?nr:le,Ht={expandedKeys:ze,selectedKeys:je,loadedKeys:it,loadingKeys:pt,checkedKeys:Xe,halfCheckedKeys:He,dragOverNodeKey:qt,dropPosition:Nt,keyEntities:et};return Ce.createElement(Ce.Fragment,null,ct&&vn&&Ce.createElement("span",{style:Dt,"aria-live":"assertive"},dt(vn)),Ce.createElement("div",null,Ce.createElement("input",{style:Dt,disabled:nn===!1||$t,tabIndex:nn!==!1?wt:null,onKeyDown:Wt,onFocus:on,onBlur:fn,value:"",onChange:Ge,"aria-label":"for screen reader"})),Ce.createElement("div",{className:"".concat(ne,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ce.createElement("div",{className:"".concat(ne,"-indent")},Ce.createElement("div",{ref:Rt,className:"".concat(ne,"-indent-unit")}))),Ce.createElement(_e.Z,(0,b.Z)({},Bn,{data:bt,itemKey:Je,height:Kt,fullHeight:!1,virtual:gt,itemHeight:Jt,scrollWidth:kt,prefixCls:"".concat(ne,"-list"),ref:Un,role:"tree",onVisibleChange:function(Xt){Xt.every(function(tn){return Je(tn)!==Ae})&&Zt()}}),function(nt){var Xt=nt.pos,tn=Object.assign({},(rt(nt.data),nt.data)),dn=nt.title,Vt=nt.key,jt=nt.isStart,Yt=nt.isEnd,ln=(0,Se.km)(Vt,Xt);delete tn.key,delete tn.children;var Wn=(0,Se.H8)(ln,Ht);return Ce.createElement(ye,(0,b.Z)({},tn,Wn,{title:dn,active:!!vn&&Vt===vn.key,pos:Xt,data:nt.data,isStart:jt,isEnd:Yt,motion:Mt,motionNodes:Vt===Ae?Sn:null,motionType:Ot,onMotionStart:Vn,onMotionEnd:Zt,treeNodeRequiredProps:Ht,onMouseMove:function(){Pn(null)}}))}))}),st=It,Ft=te(82661),ft=te(34643),Gt=te(65065),Pt=10,oe=function(E){(0,fe.Z)(ne,E);var re=(0,be.Z)(ne);function ne(){var le;(0,Pe.Z)(this,ne);for(var ge=arguments.length,Ee=new Array(ge),ze=0;ze<ge;ze++)Ee[ze]=arguments[ze];return le=re.call.apply(re,[this].concat(Ee)),(0,de.Z)((0,ve.Z)(le),"destroyed",!1),(0,de.Z)((0,ve.Z)(le),"delayedDragEnterLogic",void 0),(0,de.Z)((0,ve.Z)(le),"loadingRetryTimes",{}),(0,de.Z)((0,ve.Z)(le),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Se.w$)()}),(0,de.Z)((0,ve.Z)(le),"dragStartMousePosition",null),(0,de.Z)((0,ve.Z)(le),"dragNodeProps",null),(0,de.Z)((0,ve.Z)(le),"currentMouseOverDroppableNodeKey",null),(0,de.Z)((0,ve.Z)(le),"listRef",Ce.createRef()),(0,de.Z)((0,ve.Z)(le),"onNodeDragStart",function(je,Xe){var it=le.state,pt=it.expandedKeys,He=it.keyEntities,et=le.props.onDragStart,$t=Xe.eventKey;le.dragNodeProps=Xe,le.dragStartMousePosition={x:je.clientX,y:je.clientY};var Lt=(0,Ft._5)(pt,$t);le.setState({draggingNodeKey:$t,dragChildrenKeys:(0,Ft.wA)($t,He),indent:le.listRef.current.getIndentWidth()}),le.setExpandedKeys(Lt),window.addEventListener("dragend",le.onWindowDragEnd),et==null||et({event:je,node:(0,Se.F)(Xe)})}),(0,de.Z)((0,ve.Z)(le),"onNodeDragEnter",function(je,Xe){var it=le.state,pt=it.expandedKeys,He=it.keyEntities,et=it.dragChildrenKeys,$t=it.flattenNodes,Lt=it.indent,qt=le.props,Nt=qt.onDragEnter,Mt=qt.onExpand,Kt=qt.allowDrop,Jt=qt.direction,gt=Xe.pos,kt=Xe.eventKey;if(le.currentMouseOverDroppableNodeKey!==kt&&(le.currentMouseOverDroppableNodeKey=kt),!le.dragNodeProps){le.resetDragState();return}var nn=(0,Ft.OM)(je,le.dragNodeProps,Xe,Lt,le.dragStartMousePosition,Kt,$t,He,pt,Jt),vn=nn.dropPosition,ct=nn.dropLevelOffset,wt=nn.dropTargetKey,Wt=nn.dropContainerKey,on=nn.dropTargetPos,fn=nn.dropAllowed,Pn=nn.dragOverNodeKey;if(et.includes(wt)||!fn){le.resetDragState();return}if(le.delayedDragEnterLogic||(le.delayedDragEnterLogic={}),Object.keys(le.delayedDragEnterLogic).forEach(function(Vn){clearTimeout(le.delayedDragEnterLogic[Vn])}),le.dragNodeProps.eventKey!==Xe.eventKey&&(je.persist(),le.delayedDragEnterLogic[gt]=window.setTimeout(function(){if(le.state.draggingNodeKey!==null){var Vn=(0,Ue.Z)(pt),Gn=(0,Gt.Z)(He,Xe.eventKey);Gn&&(Gn.children||[]).length&&(Vn=(0,Ft.L0)(pt,Xe.eventKey)),le.props.hasOwnProperty("expandedKeys")||le.setExpandedKeys(Vn),Mt==null||Mt(Vn,{node:(0,Se.F)(Xe),expanded:!0,nativeEvent:je.nativeEvent})}},800)),le.dragNodeProps.eventKey===wt&&ct===0){le.resetDragState();return}le.setState({dragOverNodeKey:Pn,dropPosition:vn,dropLevelOffset:ct,dropTargetKey:wt,dropContainerKey:Wt,dropTargetPos:on,dropAllowed:fn}),Nt==null||Nt({event:je,node:(0,Se.F)(Xe),expandedKeys:pt})}),(0,de.Z)((0,ve.Z)(le),"onNodeDragOver",function(je,Xe){var it=le.state,pt=it.dragChildrenKeys,He=it.flattenNodes,et=it.keyEntities,$t=it.expandedKeys,Lt=it.indent,qt=le.props,Nt=qt.onDragOver,Mt=qt.allowDrop,Kt=qt.direction;if(le.dragNodeProps){var Jt=(0,Ft.OM)(je,le.dragNodeProps,Xe,Lt,le.dragStartMousePosition,Mt,He,et,$t,Kt),gt=Jt.dropPosition,kt=Jt.dropLevelOffset,nn=Jt.dropTargetKey,vn=Jt.dropContainerKey,ct=Jt.dropTargetPos,wt=Jt.dropAllowed,Wt=Jt.dragOverNodeKey;pt.includes(nn)||!wt||(le.dragNodeProps.eventKey===nn&&kt===0?le.state.dropPosition===null&&le.state.dropLevelOffset===null&&le.state.dropTargetKey===null&&le.state.dropContainerKey===null&&le.state.dropTargetPos===null&&le.state.dropAllowed===!1&&le.state.dragOverNodeKey===null||le.resetDragState():gt===le.state.dropPosition&&kt===le.state.dropLevelOffset&&nn===le.state.dropTargetKey&&vn===le.state.dropContainerKey&&ct===le.state.dropTargetPos&&wt===le.state.dropAllowed&&Wt===le.state.dragOverNodeKey||le.setState({dropPosition:gt,dropLevelOffset:kt,dropTargetKey:nn,dropContainerKey:vn,dropTargetPos:ct,dropAllowed:wt,dragOverNodeKey:Wt}),Nt==null||Nt({event:je,node:(0,Se.F)(Xe)}))}}),(0,de.Z)((0,ve.Z)(le),"onNodeDragLeave",function(je,Xe){le.currentMouseOverDroppableNodeKey===Xe.eventKey&&!je.currentTarget.contains(je.relatedTarget)&&(le.resetDragState(),le.currentMouseOverDroppableNodeKey=null);var it=le.props.onDragLeave;it==null||it({event:je,node:(0,Se.F)(Xe)})}),(0,de.Z)((0,ve.Z)(le),"onWindowDragEnd",function(je){le.onNodeDragEnd(je,null,!0),window.removeEventListener("dragend",le.onWindowDragEnd)}),(0,de.Z)((0,ve.Z)(le),"onNodeDragEnd",function(je,Xe){var it=le.props.onDragEnd;le.setState({dragOverNodeKey:null}),le.cleanDragState(),it==null||it({event:je,node:(0,Se.F)(Xe)}),le.dragNodeProps=null,window.removeEventListener("dragend",le.onWindowDragEnd)}),(0,de.Z)((0,ve.Z)(le),"onNodeDrop",function(je,Xe){var it,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,He=le.state,et=He.dragChildrenKeys,$t=He.dropPosition,Lt=He.dropTargetKey,qt=He.dropTargetPos,Nt=He.dropAllowed;if(Nt){var Mt=le.props.onDrop;if(le.setState({dragOverNodeKey:null}),le.cleanDragState(),Lt!==null){var Kt=(0,pe.Z)((0,pe.Z)({},(0,Se.H8)(Lt,le.getTreeNodeRequiredProps())),{},{active:((it=le.getActiveItem())===null||it===void 0?void 0:it.key)===Lt,data:(0,Gt.Z)(le.state.keyEntities,Lt).node}),Jt=et.includes(Lt);(0,Fe.ZP)(!Jt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var gt=(0,Ft.yx)(qt),kt={event:je,node:(0,Se.F)(Kt),dragNode:le.dragNodeProps?(0,Se.F)(le.dragNodeProps):null,dragNodesKeys:[le.dragNodeProps.eventKey].concat(et),dropToGap:$t!==0,dropPosition:$t+Number(gt[gt.length-1])};pt||Mt==null||Mt(kt),le.dragNodeProps=null}}}),(0,de.Z)((0,ve.Z)(le),"cleanDragState",function(){var je=le.state.draggingNodeKey;je!==null&&le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),le.dragStartMousePosition=null,le.currentMouseOverDroppableNodeKey=null}),(0,de.Z)((0,ve.Z)(le),"triggerExpandActionExpand",function(je,Xe){var it=le.state,pt=it.expandedKeys,He=it.flattenNodes,et=Xe.expanded,$t=Xe.key,Lt=Xe.isLeaf;if(!(Lt||je.shiftKey||je.metaKey||je.ctrlKey)){var qt=He.filter(function(Mt){return Mt.key===$t})[0],Nt=(0,Se.F)((0,pe.Z)((0,pe.Z)({},(0,Se.H8)($t,le.getTreeNodeRequiredProps())),{},{data:qt.data}));le.setExpandedKeys(et?(0,Ft._5)(pt,$t):(0,Ft.L0)(pt,$t)),le.onNodeExpand(je,Nt)}}),(0,de.Z)((0,ve.Z)(le),"onNodeClick",function(je,Xe){var it=le.props,pt=it.onClick,He=it.expandAction;He==="click"&&le.triggerExpandActionExpand(je,Xe),pt==null||pt(je,Xe)}),(0,de.Z)((0,ve.Z)(le),"onNodeDoubleClick",function(je,Xe){var it=le.props,pt=it.onDoubleClick,He=it.expandAction;He==="doubleClick"&&le.triggerExpandActionExpand(je,Xe),pt==null||pt(je,Xe)}),(0,de.Z)((0,ve.Z)(le),"onNodeSelect",function(je,Xe){var it=le.state.selectedKeys,pt=le.state,He=pt.keyEntities,et=pt.fieldNames,$t=le.props,Lt=$t.onSelect,qt=$t.multiple,Nt=Xe.selected,Mt=Xe[et.key],Kt=!Nt;Kt?qt?it=(0,Ft.L0)(it,Mt):it=[Mt]:it=(0,Ft._5)(it,Mt);var Jt=it.map(function(gt){var kt=(0,Gt.Z)(He,gt);return kt?kt.node:null}).filter(Boolean);le.setUncontrolledState({selectedKeys:it}),Lt==null||Lt(it,{event:"select",selected:Kt,node:Xe,selectedNodes:Jt,nativeEvent:je.nativeEvent})}),(0,de.Z)((0,ve.Z)(le),"onNodeCheck",function(je,Xe,it){var pt=le.state,He=pt.keyEntities,et=pt.checkedKeys,$t=pt.halfCheckedKeys,Lt=le.props,qt=Lt.checkStrictly,Nt=Lt.onCheck,Mt=Xe.key,Kt,Jt={event:"check",node:Xe,checked:it,nativeEvent:je.nativeEvent};if(qt){var gt=it?(0,Ft.L0)(et,Mt):(0,Ft._5)(et,Mt),kt=(0,Ft._5)($t,Mt);Kt={checked:gt,halfChecked:kt},Jt.checkedNodes=gt.map(function(on){return(0,Gt.Z)(He,on)}).filter(Boolean).map(function(on){return on.node}),le.setUncontrolledState({checkedKeys:gt})}else{var nn=(0,ft.S)([].concat((0,Ue.Z)(et),[Mt]),!0,He),vn=nn.checkedKeys,ct=nn.halfCheckedKeys;if(!it){var wt=new Set(vn);wt.delete(Mt);var Wt=(0,ft.S)(Array.from(wt),{checked:!1,halfCheckedKeys:ct},He);vn=Wt.checkedKeys,ct=Wt.halfCheckedKeys}Kt=vn,Jt.checkedNodes=[],Jt.checkedNodesPositions=[],Jt.halfCheckedKeys=ct,vn.forEach(function(on){var fn=(0,Gt.Z)(He,on);if(fn){var Pn=fn.node,Vn=fn.pos;Jt.checkedNodes.push(Pn),Jt.checkedNodesPositions.push({node:Pn,pos:Vn})}}),le.setUncontrolledState({checkedKeys:vn},!1,{halfCheckedKeys:ct})}Nt==null||Nt(Kt,Jt)}),(0,de.Z)((0,ve.Z)(le),"onNodeLoad",function(je){var Xe,it=je.key,pt=le.state.keyEntities,He=(0,Gt.Z)(pt,it);if(!(He!=null&&(Xe=He.children)!==null&&Xe!==void 0&&Xe.length)){var et=new Promise(function($t,Lt){le.setState(function(qt){var Nt=qt.loadedKeys,Mt=Nt===void 0?[]:Nt,Kt=qt.loadingKeys,Jt=Kt===void 0?[]:Kt,gt=le.props,kt=gt.loadData,nn=gt.onLoad;if(!kt||Mt.includes(it)||Jt.includes(it))return null;var vn=kt(je);return vn.then(function(){var ct=le.state.loadedKeys,wt=(0,Ft.L0)(ct,it);nn==null||nn(wt,{event:"load",node:je}),le.setUncontrolledState({loadedKeys:wt}),le.setState(function(Wt){return{loadingKeys:(0,Ft._5)(Wt.loadingKeys,it)}}),$t()}).catch(function(ct){if(le.setState(function(Wt){return{loadingKeys:(0,Ft._5)(Wt.loadingKeys,it)}}),le.loadingRetryTimes[it]=(le.loadingRetryTimes[it]||0)+1,le.loadingRetryTimes[it]>=Pt){var wt=le.state.loadedKeys;(0,Fe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),le.setUncontrolledState({loadedKeys:(0,Ft.L0)(wt,it)}),$t()}Lt(ct)}),{loadingKeys:(0,Ft.L0)(Jt,it)}})});return et.catch(function(){}),et}}),(0,de.Z)((0,ve.Z)(le),"onNodeMouseEnter",function(je,Xe){var it=le.props.onMouseEnter;it==null||it({event:je,node:Xe})}),(0,de.Z)((0,ve.Z)(le),"onNodeMouseLeave",function(je,Xe){var it=le.props.onMouseLeave;it==null||it({event:je,node:Xe})}),(0,de.Z)((0,ve.Z)(le),"onNodeContextMenu",function(je,Xe){var it=le.props.onRightClick;it&&(je.preventDefault(),it({event:je,node:Xe}))}),(0,de.Z)((0,ve.Z)(le),"onFocus",function(){var je=le.props.onFocus;le.setState({focused:!0});for(var Xe=arguments.length,it=new Array(Xe),pt=0;pt<Xe;pt++)it[pt]=arguments[pt];je==null||je.apply(void 0,it)}),(0,de.Z)((0,ve.Z)(le),"onBlur",function(){var je=le.props.onBlur;le.setState({focused:!1}),le.onActiveChange(null);for(var Xe=arguments.length,it=new Array(Xe),pt=0;pt<Xe;pt++)it[pt]=arguments[pt];je==null||je.apply(void 0,it)}),(0,de.Z)((0,ve.Z)(le),"getTreeNodeRequiredProps",function(){var je=le.state,Xe=je.expandedKeys,it=je.selectedKeys,pt=je.loadedKeys,He=je.loadingKeys,et=je.checkedKeys,$t=je.halfCheckedKeys,Lt=je.dragOverNodeKey,qt=je.dropPosition,Nt=je.keyEntities;return{expandedKeys:Xe||[],selectedKeys:it||[],loadedKeys:pt||[],loadingKeys:He||[],checkedKeys:et||[],halfCheckedKeys:$t||[],dragOverNodeKey:Lt,dropPosition:qt,keyEntities:Nt}}),(0,de.Z)((0,ve.Z)(le),"setExpandedKeys",function(je){var Xe=le.state,it=Xe.treeData,pt=Xe.fieldNames,He=(0,Se.oH)(it,je,pt);le.setUncontrolledState({expandedKeys:je,flattenNodes:He},!0)}),(0,de.Z)((0,ve.Z)(le),"onNodeExpand",function(je,Xe){var it=le.state.expandedKeys,pt=le.state,He=pt.listChanging,et=pt.fieldNames,$t=le.props,Lt=$t.onExpand,qt=$t.loadData,Nt=Xe.expanded,Mt=Xe[et.key];if(!He){var Kt=it.includes(Mt),Jt=!Nt;if((0,Fe.ZP)(Nt&&Kt||!Nt&&!Kt,"Expand state not sync with index check"),it=Jt?(0,Ft.L0)(it,Mt):(0,Ft._5)(it,Mt),le.setExpandedKeys(it),Lt==null||Lt(it,{node:Xe,expanded:Jt,nativeEvent:je.nativeEvent}),Jt&&qt){var gt=le.onNodeLoad(Xe);gt&>.then(function(){var kt=(0,Se.oH)(le.state.treeData,it,et);le.setUncontrolledState({flattenNodes:kt})}).catch(function(){var kt=le.state.expandedKeys,nn=(0,Ft._5)(kt,Mt);le.setExpandedKeys(nn)})}}}),(0,de.Z)((0,ve.Z)(le),"onListChangeStart",function(){le.setUncontrolledState({listChanging:!0})}),(0,de.Z)((0,ve.Z)(le),"onListChangeEnd",function(){setTimeout(function(){le.setUncontrolledState({listChanging:!1})})}),(0,de.Z)((0,ve.Z)(le),"onActiveChange",function(je){var Xe=le.state.activeKey,it=le.props,pt=it.onActiveChange,He=it.itemScrollOffset,et=He===void 0?0:He;Xe!==je&&(le.setState({activeKey:je}),je!==null&&le.scrollTo({key:je,offset:et}),pt==null||pt(je))}),(0,de.Z)((0,ve.Z)(le),"getActiveItem",function(){var je=le.state,Xe=je.activeKey,it=je.flattenNodes;return Xe===null?null:it.find(function(pt){var He=pt.key;return He===Xe})||null}),(0,de.Z)((0,ve.Z)(le),"offsetActiveKey",function(je){var Xe=le.state,it=Xe.flattenNodes,pt=Xe.activeKey,He=it.findIndex(function(Lt){var qt=Lt.key;return qt===pt});He===-1&&je<0&&(He=it.length),He=(He+je+it.length)%it.length;var et=it[He];if(et){var $t=et.key;le.onActiveChange($t)}else le.onActiveChange(null)}),(0,de.Z)((0,ve.Z)(le),"onKeyDown",function(je){var Xe=le.state,it=Xe.activeKey,pt=Xe.expandedKeys,He=Xe.checkedKeys,et=Xe.fieldNames,$t=le.props,Lt=$t.onKeyDown,qt=$t.checkable,Nt=$t.selectable;switch(je.which){case Te.Z.UP:{le.offsetActiveKey(-1),je.preventDefault();break}case Te.Z.DOWN:{le.offsetActiveKey(1),je.preventDefault();break}}var Mt=le.getActiveItem();if(Mt&&Mt.data){var Kt=le.getTreeNodeRequiredProps(),Jt=Mt.data.isLeaf===!1||!!(Mt.data[et.children]||[]).length,gt=(0,Se.F)((0,pe.Z)((0,pe.Z)({},(0,Se.H8)(it,Kt)),{},{data:Mt.data,active:!0}));switch(je.which){case Te.Z.LEFT:{Jt&&pt.includes(it)?le.onNodeExpand({},gt):Mt.parent&&le.onActiveChange(Mt.parent.key),je.preventDefault();break}case Te.Z.RIGHT:{Jt&&!pt.includes(it)?le.onNodeExpand({},gt):Mt.children&&Mt.children.length&&le.onActiveChange(Mt.children[0].key),je.preventDefault();break}case Te.Z.ENTER:case Te.Z.SPACE:{qt&&!gt.disabled&>.checkable!==!1&&!gt.disableCheckbox?le.onNodeCheck({},gt,!He.includes(it)):!qt&&Nt&&!gt.disabled&>.selectable!==!1&&le.onNodeSelect({},gt);break}}}Lt==null||Lt(je)}),(0,de.Z)((0,ve.Z)(le),"setUncontrolledState",function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!le.destroyed){var pt=!1,He=!0,et={};Object.keys(je).forEach(function($t){if(le.props.hasOwnProperty($t)){He=!1;return}pt=!0,et[$t]=je[$t]}),pt&&(!Xe||He)&&le.setState((0,pe.Z)((0,pe.Z)({},et),it))}}),(0,de.Z)((0,ve.Z)(le),"scrollTo",function(je){le.listRef.current.scrollTo(je)}),le}return(0,me.Z)(ne,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ge=this.props,Ee=ge.activeKey,ze=ge.itemScrollOffset,je=ze===void 0?0:ze;Ee!==void 0&&Ee!==this.state.activeKey&&(this.setState({activeKey:Ee}),Ee!==null&&this.scrollTo({key:Ee,offset:je}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ge=this.state,Ee=ge.focused,ze=ge.flattenNodes,je=ge.keyEntities,Xe=ge.draggingNodeKey,it=ge.activeKey,pt=ge.dropLevelOffset,He=ge.dropContainerKey,et=ge.dropTargetKey,$t=ge.dropPosition,Lt=ge.dragOverNodeKey,qt=ge.indent,Nt=this.props,Mt=Nt.prefixCls,Kt=Nt.className,Jt=Nt.style,gt=Nt.showLine,kt=Nt.focusable,nn=Nt.tabIndex,vn=nn===void 0?0:nn,ct=Nt.selectable,wt=Nt.showIcon,Wt=Nt.icon,on=Nt.switcherIcon,fn=Nt.draggable,Pn=Nt.checkable,Vn=Nt.checkStrictly,Gn=Nt.disabled,Bn=Nt.motion,Un=Nt.loadData,Rt=Nt.filterTreeNode,Bt=Nt.height,un=Nt.itemHeight,en=Nt.scrollWidth,Qt=Nt.virtual,wn=Nt.titleRender,bn=Nt.dropIndicatorRender,kn=Nt.onContextMenu,Xn=Nt.onScroll,zn=Nt.direction,Fn=Nt.rootClassName,nr=Nt.rootStyle,tr=(0,xe.Z)(this.props,{aria:!0,data:!0}),Rr;fn&&((0,tt.Z)(fn)==="object"?Rr=fn:typeof fn=="function"?Rr={nodeDraggable:fn}:Rr={});var Ir={prefixCls:Mt,selectable:ct,showIcon:wt,icon:Wt,switcherIcon:on,draggable:Rr,draggingNodeKey:Xe,checkable:Pn,checkStrictly:Vn,disabled:Gn,keyEntities:je,dropLevelOffset:pt,dropContainerKey:He,dropTargetKey:et,dropPosition:$t,dragOverNodeKey:Lt,indent:qt,direction:zn,dropIndicatorRender:bn,loadData:Un,filterTreeNode:Rt,titleRender:wn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Ce.createElement(De.k.Provider,{value:Ir},Ce.createElement("div",{className:we()(Mt,Kt,Fn,(0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(Mt,"-show-line"),gt),"".concat(Mt,"-focused"),Ee),"".concat(Mt,"-active-focused"),it!==null)),style:nr},Ce.createElement(st,(0,b.Z)({ref:this.listRef,prefixCls:Mt,style:Jt,data:ze,disabled:Gn,selectable:ct,checkable:!!Pn,motion:Bn,dragging:Xe!==null,height:Bt,itemHeight:un,virtual:Qt,focusable:kt,focused:Ee,tabIndex:vn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:kn,onScroll:Xn,scrollWidth:en},this.getTreeNodeRequiredProps(),tr))))}}],[{key:"getDerivedStateFromProps",value:function(ge,Ee){var ze=Ee.prevProps,je={prevProps:ge};function Xe(vn){return!ze&&ge.hasOwnProperty(vn)||ze&&ze[vn]!==ge[vn]}var it,pt=Ee.fieldNames;if(Xe("fieldNames")&&(pt=(0,Se.w$)(ge.fieldNames),je.fieldNames=pt),Xe("treeData")?it=ge.treeData:Xe("children")&&((0,Fe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),it=(0,Se.zn)(ge.children)),it){je.treeData=it;var He=(0,Se.I8)(it,{fieldNames:pt});je.keyEntities=(0,pe.Z)((0,de.Z)({},Ae,zt),He.keyEntities)}var et=je.keyEntities||Ee.keyEntities;if(Xe("expandedKeys")||ze&&Xe("autoExpandParent"))je.expandedKeys=ge.autoExpandParent||!ze&&ge.defaultExpandParent?(0,Ft.r7)(ge.expandedKeys,et):ge.expandedKeys;else if(!ze&&ge.defaultExpandAll){var $t=(0,pe.Z)({},et);delete $t[Ae];var Lt=[];Object.keys($t).forEach(function(vn){var ct=$t[vn];ct.children&&ct.children.length&&Lt.push(ct.key)}),je.expandedKeys=Lt}else!ze&&ge.defaultExpandedKeys&&(je.expandedKeys=ge.autoExpandParent||ge.defaultExpandParent?(0,Ft.r7)(ge.defaultExpandedKeys,et):ge.defaultExpandedKeys);if(je.expandedKeys||delete je.expandedKeys,it||je.expandedKeys){var qt=(0,Se.oH)(it||Ee.treeData,je.expandedKeys||Ee.expandedKeys,pt);je.flattenNodes=qt}if(ge.selectable&&(Xe("selectedKeys")?je.selectedKeys=(0,Ft.BT)(ge.selectedKeys,ge):!ze&&ge.defaultSelectedKeys&&(je.selectedKeys=(0,Ft.BT)(ge.defaultSelectedKeys,ge))),ge.checkable){var Nt;if(Xe("checkedKeys")?Nt=(0,Ft.E6)(ge.checkedKeys)||{}:!ze&&ge.defaultCheckedKeys?Nt=(0,Ft.E6)(ge.defaultCheckedKeys)||{}:it&&(Nt=(0,Ft.E6)(ge.checkedKeys)||{checkedKeys:Ee.checkedKeys,halfCheckedKeys:Ee.halfCheckedKeys}),Nt){var Mt=Nt,Kt=Mt.checkedKeys,Jt=Kt===void 0?[]:Kt,gt=Mt.halfCheckedKeys,kt=gt===void 0?[]:gt;if(!ge.checkStrictly){var nn=(0,ft.S)(Jt,!0,et);Jt=nn.checkedKeys,kt=nn.halfCheckedKeys}je.checkedKeys=Jt,je.halfCheckedKeys=kt}}return Xe("loadedKeys")&&(je.loadedKeys=ge.loadedKeys),je}}]),ne}(Ce.Component);(0,de.Z)(oe,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ze,allowDrop:function(){return!0},expandAction:!1}),(0,de.Z)(oe,"TreeNode",Re.Z);var ae=oe,ee=ae},82661:function(Tn,sn,te){"use strict";te.d(sn,{BT:function(){return Ce},E6:function(){return Ze},L0:function(){return de},OM:function(){return Fe},_5:function(){return be},r7:function(){return rt},wA:function(){return we},yx:function(){return Le}});var b=te(77654),tt=te(43749),pe=te(48736),Ue=te(59301),Pe=te(639),me=te(65065),ve=te(34061),fe=null;function be(ce,ke){if(!ce)return[];var qe=ce.slice(),_e=qe.indexOf(ke);return _e>=0&&qe.splice(_e,1),qe}function de(ce,ke){var qe=(ce||[]).slice();return qe.indexOf(ke)===-1&&qe.push(ke),qe}function Le(ce){return ce.split("-")}function we(ce,ke){var qe=[],_e=(0,me.Z)(ke,ce);function mt(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Re.forEach(function(Ye){var lt=Ye.key,Se=Ye.children;qe.push(lt),mt(Se)})}return mt(_e.children),qe}function Te(ce){if(ce.parent){var ke=Le(ce.pos);return Number(ke[ke.length-1])===ce.parent.children.length-1}return!1}function xe(ce){var ke=Le(ce.pos);return Number(ke[ke.length-1])===0}function Fe(ce,ke,qe,_e,mt,Re,Ye,lt,Se,Qe){var he,ye=ce.clientX,Ct=ce.clientY,Ke=ce.target.getBoundingClientRect(),yt=Ke.top,Dt=Ke.height,Ge=(Qe==="rtl"?-1:1)*(((mt==null?void 0:mt.x)||0)-ye),Ae=(Ge-12)/_e,ot=Se.filter(function(ee){var E;return(E=lt[ee])===null||E===void 0||(E=E.children)===null||E===void 0?void 0:E.length}),zt=(0,me.Z)(lt,qe.eventKey);if(Ct<yt+Dt/2){var Et=Ye.findIndex(function(ee){return ee.key===zt.key}),Oe=Et<=0?0:Et-1,Je=Ye[Oe].key;zt=(0,me.Z)(lt,Je)}var dt=zt.key,It=zt,st=zt.key,Ft=0,ft=0;if(!ot.includes(dt))for(var Gt=0;Gt<Ae&&Te(zt);Gt+=1)zt=zt.parent,ft+=1;var Pt=ke.data,oe=zt.node,ae=!0;return xe(zt)&&zt.level===0&&Ct<yt+Dt/2&&Re({dragNode:Pt,dropNode:oe,dropPosition:-1})&&zt.key===qe.eventKey?Ft=-1:(It.children||[]).length&&ot.includes(st)?Re({dragNode:Pt,dropNode:oe,dropPosition:0})?Ft=0:ae=!1:ft===0?Ae>-1.5?Re({dragNode:Pt,dropNode:oe,dropPosition:1})?Ft=1:ae=!1:Re({dragNode:Pt,dropNode:oe,dropPosition:0})?Ft=0:Re({dragNode:Pt,dropNode:oe,dropPosition:1})?Ft=1:ae=!1:Re({dragNode:Pt,dropNode:oe,dropPosition:1})?Ft=1:ae=!1,{dropPosition:Ft,dropLevelOffset:ft,dropTargetKey:zt.key,dropTargetPos:zt.pos,dragOverNodeKey:st,dropContainerKey:Ft===0?null:((he=zt.parent)===null||he===void 0?void 0:he.key)||null,dropAllowed:ae}}function Ce(ce,ke){if(ce){var qe=ke.multiple;return qe?ce.slice():ce.length?[ce[0]]:ce}}var De=function(ke){return ke};function Be(ce,ke){if(!ce)return[];var qe=ke||{},_e=qe.processProps,mt=_e===void 0?De:_e,Re=Array.isArray(ce)?ce:[ce];return Re.map(function(Ye){var lt=Ye.children,Se=_objectWithoutProperties(Ye,fe),Qe=Be(lt,ke);return React.createElement(TreeNode,_extends({key:Se.key},mt(Se)),Qe)})}function Ze(ce){if(!ce)return null;var ke;if(Array.isArray(ce))ke={checkedKeys:ce,halfCheckedKeys:void 0};else if((0,tt.Z)(ce)==="object")ke={checkedKeys:ce.checked||void 0,halfCheckedKeys:ce.halfChecked||void 0};else return(0,pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ke}function rt(ce,ke){var qe=new Set;function _e(mt){if(!qe.has(mt)){var Re=(0,me.Z)(ke,mt);if(Re){qe.add(mt);var Ye=Re.parent,lt=Re.node;lt.disabled||Ye&&_e(Ye.key)}}}return(ce||[]).forEach(function(mt){_e(mt)}),(0,b.Z)(qe)}},34643:function(Tn,sn,te){"use strict";te.d(sn,{S:function(){return ve}});var b=te(48736),tt=te(65065);function pe(fe,be){var de=new Set;return fe.forEach(function(Le){be.has(Le)||de.add(Le)}),de}function Ue(fe){var be=fe||{},de=be.disabled,Le=be.disableCheckbox,we=be.checkable;return!!(de||Le)||we===!1}function Pe(fe,be,de,Le){for(var we=new Set(fe),Te=new Set,xe=0;xe<=de;xe+=1){var Fe=be.get(xe)||new Set;Fe.forEach(function(Ze){var rt=Ze.key,ce=Ze.node,ke=Ze.children,qe=ke===void 0?[]:ke;we.has(rt)&&!Le(ce)&&qe.filter(function(_e){return!Le(_e.node)}).forEach(function(_e){we.add(_e.key)})})}for(var Ce=new Set,De=de;De>=0;De-=1){var Be=be.get(De)||new Set;Be.forEach(function(Ze){var rt=Ze.parent,ce=Ze.node;if(!(Le(ce)||!Ze.parent||Ce.has(Ze.parent.key))){if(Le(Ze.parent.node)){Ce.add(rt.key);return}var ke=!0,qe=!1;(rt.children||[]).filter(function(_e){return!Le(_e.node)}).forEach(function(_e){var mt=_e.key,Re=we.has(mt);ke&&!Re&&(ke=!1),!qe&&(Re||Te.has(mt))&&(qe=!0)}),ke&&we.add(rt.key),qe&&Te.add(rt.key),Ce.add(rt.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(pe(Te,we))}}function me(fe,be,de,Le,we){for(var Te=new Set(fe),xe=new Set(be),Fe=0;Fe<=Le;Fe+=1){var Ce=de.get(Fe)||new Set;Ce.forEach(function(rt){var ce=rt.key,ke=rt.node,qe=rt.children,_e=qe===void 0?[]:qe;!Te.has(ce)&&!xe.has(ce)&&!we(ke)&&_e.filter(function(mt){return!we(mt.node)}).forEach(function(mt){Te.delete(mt.key)})})}xe=new Set;for(var De=new Set,Be=Le;Be>=0;Be-=1){var Ze=de.get(Be)||new Set;Ze.forEach(function(rt){var ce=rt.parent,ke=rt.node;if(!(we(ke)||!rt.parent||De.has(rt.parent.key))){if(we(rt.parent.node)){De.add(ce.key);return}var qe=!0,_e=!1;(ce.children||[]).filter(function(mt){return!we(mt.node)}).forEach(function(mt){var Re=mt.key,Ye=Te.has(Re);qe&&!Ye&&(qe=!1),!_e&&(Ye||xe.has(Re))&&(_e=!0)}),qe||Te.delete(ce.key),_e&&xe.add(ce.key),De.add(ce.key)}})}return{checkedKeys:Array.from(Te),halfCheckedKeys:Array.from(pe(xe,Te))}}function ve(fe,be,de,Le){var we=[],Te;Le?Te=Le:Te=Ue;var xe=new Set(fe.filter(function(Be){var Ze=!!(0,tt.Z)(de,Be);return Ze||we.push(Be),Ze})),Fe=new Map,Ce=0;Object.keys(de).forEach(function(Be){var Ze=de[Be],rt=Ze.level,ce=Fe.get(rt);ce||(ce=new Set,Fe.set(rt,ce)),ce.add(Ze),Ce=Math.max(Ce,rt)}),(0,b.ZP)(!we.length,"Tree missing follow keys: ".concat(we.slice(0,100).map(function(Be){return"'".concat(Be,"'")}).join(", ")));var De;return be===!0?De=Pe(xe,Fe,Ce,Te):De=me(xe,be.halfCheckedKeys,Fe,Ce,Te),De}},65065:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return b}});function b(tt,pe){return tt[pe]}},34061:function(Tn,sn,te){"use strict";te.d(sn,{F:function(){return rt},H8:function(){return Ze},I8:function(){return Be},km:function(){return we},oH:function(){return Ce},w$:function(){return Te},zn:function(){return Fe}});var b=te(43749),tt=te(77654),pe=te(85899),Ue=te(42244),Pe=te(11592),me=te(2738),ve=te(48736),fe=te(65065),be=["children"];function de(ce,ke){return"".concat(ce,"-").concat(ke)}function Le(ce){return ce&&ce.type&&ce.type.isTreeNode}function we(ce,ke){return ce!=null?ce:ke}function Te(ce){var ke=ce||{},qe=ke.title,_e=ke._title,mt=ke.key,Re=ke.children,Ye=qe||"title";return{title:Ye,_title:_e||[Ye],key:mt||"key",children:Re||"children"}}function xe(ce,ke){var qe=new Map;function _e(mt){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(mt||[]).forEach(function(Ye){var lt=Ye[ke.key],Se=Ye[ke.children];warning(lt!=null,"Tree node must have a certain key: [".concat(Re).concat(lt,"]"));var Qe=String(lt);warning(!qe.has(Qe)||lt===null||lt===void 0,"Same 'key' exist in the Tree: ".concat(Qe)),qe.set(Qe,!0),_e(Se,"".concat(Re).concat(Qe," > "))})}_e(ce)}function Fe(ce){function ke(qe){var _e=(0,Pe.Z)(qe);return _e.map(function(mt){if(!Le(mt))return(0,ve.ZP)(!mt,"Tree/TreeNode can only accept TreeNode as children."),null;var Re=mt.key,Ye=mt.props,lt=Ye.children,Se=(0,Ue.Z)(Ye,be),Qe=(0,pe.Z)({key:Re},Se),he=ke(lt);return he.length&&(Qe.children=he),Qe}).filter(function(mt){return mt})}return ke(ce)}function Ce(ce,ke,qe){var _e=Te(qe),mt=_e._title,Re=_e.key,Ye=_e.children,lt=new Set(ke===!0?[]:ke),Se=[];function Qe(he){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return he.map(function(Ct,Ke){for(var yt=de(ye?ye.pos:"0",Ke),Dt=we(Ct[Re],yt),Ge,Ae=0;Ae<mt.length;Ae+=1){var ot=mt[Ae];if(Ct[ot]!==void 0){Ge=Ct[ot];break}}var zt=Object.assign((0,me.Z)(Ct,[].concat((0,tt.Z)(mt),[Re,Ye])),{title:Ge,key:Dt,parent:ye,pos:yt,children:null,data:Ct,isStart:[].concat((0,tt.Z)(ye?ye.isStart:[]),[Ke===0]),isEnd:[].concat((0,tt.Z)(ye?ye.isEnd:[]),[Ke===he.length-1])});return Se.push(zt),ke===!0||lt.has(Dt)?zt.children=Qe(Ct[Ye]||[],zt):zt.children=[],zt})}return Qe(ce),Se}function De(ce,ke,qe){var _e={};(0,b.Z)(qe)==="object"?_e=qe:_e={externalGetKey:qe},_e=_e||{};var mt=_e,Re=mt.childrenPropName,Ye=mt.externalGetKey,lt=mt.fieldNames,Se=Te(lt),Qe=Se.key,he=Se.children,ye=Re||he,Ct;Ye?typeof Ye=="string"?Ct=function(Dt){return Dt[Ye]}:typeof Ye=="function"&&(Ct=function(Dt){return Ye(Dt)}):Ct=function(Dt,Ge){return we(Dt[Qe],Ge)};function Ke(yt,Dt,Ge,Ae){var ot=yt?yt[ye]:ce,zt=yt?de(Ge.pos,Dt):"0",Et=yt?[].concat((0,tt.Z)(Ae),[yt]):[];if(yt){var Oe=Ct(yt,zt),Je={node:yt,index:Dt,pos:zt,key:Oe,parentPos:Ge.node?Ge.pos:null,level:Ge.level+1,nodes:Et};ke(Je)}ot&&ot.forEach(function(dt,It){Ke(dt,It,{node:yt,pos:zt,level:Ge?Ge.level+1:-1},Et)})}Ke(null)}function Be(ce){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qe=ke.initWrapper,_e=ke.processEntity,mt=ke.onProcessFinished,Re=ke.externalGetKey,Ye=ke.childrenPropName,lt=ke.fieldNames,Se=arguments.length>2?arguments[2]:void 0,Qe=Re||Se,he={},ye={},Ct={posEntities:he,keyEntities:ye};return qe&&(Ct=qe(Ct)||Ct),De(ce,function(Ke){var yt=Ke.node,Dt=Ke.index,Ge=Ke.pos,Ae=Ke.key,ot=Ke.parentPos,zt=Ke.level,Et=Ke.nodes,Oe={node:yt,nodes:Et,index:Dt,key:Ae,pos:Ge,level:zt},Je=we(Ae,Ge);he[Ge]=Oe,ye[Je]=Oe,Oe.parent=he[ot],Oe.parent&&(Oe.parent.children=Oe.parent.children||[],Oe.parent.children.push(Oe)),_e&&_e(Oe,Ct)},{externalGetKey:Qe,childrenPropName:Ye,fieldNames:lt}),mt&&mt(Ct),Ct}function Ze(ce,ke){var qe=ke.expandedKeys,_e=ke.selectedKeys,mt=ke.loadedKeys,Re=ke.loadingKeys,Ye=ke.checkedKeys,lt=ke.halfCheckedKeys,Se=ke.dragOverNodeKey,Qe=ke.dropPosition,he=ke.keyEntities,ye=(0,fe.Z)(he,ce),Ct={eventKey:ce,expanded:qe.indexOf(ce)!==-1,selected:_e.indexOf(ce)!==-1,loaded:mt.indexOf(ce)!==-1,loading:Re.indexOf(ce)!==-1,checked:Ye.indexOf(ce)!==-1,halfChecked:lt.indexOf(ce)!==-1,pos:String(ye?ye.pos:""),dragOver:Se===ce&&Qe===0,dragOverGapTop:Se===ce&&Qe===-1,dragOverGapBottom:Se===ce&&Qe===1};return Ct}function rt(ce){var ke=ce.data,qe=ce.expanded,_e=ce.selected,mt=ce.checked,Re=ce.loaded,Ye=ce.loading,lt=ce.halfChecked,Se=ce.dragOver,Qe=ce.dragOverGapTop,he=ce.dragOverGapBottom,ye=ce.pos,Ct=ce.active,Ke=ce.eventKey,yt=(0,pe.Z)((0,pe.Z)({},ke),{},{expanded:qe,selected:_e,checked:mt,loaded:Re,loading:Ye,halfChecked:lt,dragOver:Se,dragOverGapTop:Qe,dragOverGapBottom:he,pos:ye,active:Ct,key:Ke});return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,ve.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ce}}),yt}},8224:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return tt}});var b=te(4676);function tt(pe,Ue,Pe,me){var ve=b.unstable_batchedUpdates?function(be){b.unstable_batchedUpdates(Pe,be)}:Pe;return pe!=null&&pe.addEventListener&&pe.addEventListener(Ue,ve,me),{remove:function(){pe!=null&&pe.removeEventListener&&pe.removeEventListener(Ue,ve,me)}}}},24514:function(Tn,sn,te){"use strict";te.d(sn,{G:function(){return Ue}});var b=te(47273),tt=function(me){if((0,b.Z)()&&window.document.documentElement){var ve=Array.isArray(me)?me:[me],fe=window.document.documentElement;return ve.some(function(be){return be in fe.style})}return!1},pe=function(me,ve){if(!tt(me))return!1;var fe=document.createElement("div"),be=fe.style[me];return fe.style[me]=ve,fe.style[me]!==be};function Ue(Pe,me){return!Array.isArray(Pe)&&me!==void 0?pe(Pe,me):tt(Pe)}},48911:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return Pt}});var b=te(60499),tt=te(43749),pe=te(85899),Ue=te(18642),Pe=te(72190),me=te(42244),ve=te(92310),fe=te.n(ve),be=te(29301),de=te(70425),Le=te(34280),we=te(59301),Te=te(4676),xe=we.forwardRef(function(oe,ae){var ee=oe.height,E=oe.offsetY,re=oe.offsetX,ne=oe.children,le=oe.prefixCls,ge=oe.onInnerResize,Ee=oe.innerProps,ze=oe.rtl,je=oe.extra,Xe={},it={display:"flex",flexDirection:"column"};return E!==void 0&&(Xe={height:ee,position:"relative",overflow:"hidden"},it=(0,pe.Z)((0,pe.Z)({},it),{},(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({transform:"translateY(".concat(E,"px)")},ze?"marginRight":"marginLeft",-re),"position","absolute"),"left",0),"right",0),"top",0))),we.createElement("div",{style:Xe},we.createElement(be.Z,{onResize:function(He){var et=He.offsetHeight;et&&ge&&ge()}},we.createElement("div",(0,b.Z)({style:it,className:fe()((0,Ue.Z)({},"".concat(le,"-holder-inner"),le)),ref:ae},Ee),ne,je)))});xe.displayName="Filler";var Fe=xe;function Ce(oe){var ae=oe.children,ee=oe.setRef,E=we.useCallback(function(re){ee(re)},[]);return we.cloneElement(ae,{ref:E})}function De(oe,ae,ee,E,re,ne,le,ge){var Ee=ge.getKey;return oe.slice(ae,ee+1).map(function(ze,je){var Xe=ae+je,it=le(ze,Xe,{style:{width:E},offsetX:re}),pt=Ee(ze);return we.createElement(Ce,{key:pt,setRef:function(et){return ne(ze,et)}},it)})}function Be(oe,ae,ee,E){var re=ee-oe,ne=ae-ee,le=Math.min(re,ne)*2;if(E<=le){var ge=Math.floor(E/2);return E%2?ee+ge+1:ee-ge}return re>ne?ee-(E-ne):ee+(E-re)}function Ze(oe,ae,ee){var E=oe.length,re=ae.length,ne,le;if(E===0&&re===0)return null;E<re?(ne=oe,le=ae):(ne=ae,le=oe);var ge={__EMPTY_ITEM__:!0};function Ee(He){return He!==void 0?ee(He):ge}for(var ze=null,je=Math.abs(E-re)!==1,Xe=0;Xe<le.length;Xe+=1){var it=Ee(ne[Xe]),pt=Ee(le[Xe]);if(it!==pt){ze=Xe,je=je||it!==Ee(le[Xe+1]);break}}return ze===null?null:{index:ze,multiple:je}}function rt(oe,ae,ee){var E=we.useState(oe),re=(0,Pe.Z)(E,2),ne=re[0],le=re[1],ge=we.useState(null),Ee=(0,Pe.Z)(ge,2),ze=Ee[0],je=Ee[1];return we.useEffect(function(){var Xe=Ze(ne||[],oe||[],ae);(Xe==null?void 0:Xe.index)!==void 0&&(ee==null||ee(Xe.index),je(oe[Xe.index])),le(oe)},[oe]),[ze]}var ce=te(16089),ke=(typeof navigator=="undefined"?"undefined":(0,tt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),qe=ke,_e=function(oe,ae,ee,E){var re=(0,we.useRef)(!1),ne=(0,we.useRef)(null);function le(){clearTimeout(ne.current),re.current=!0,ne.current=setTimeout(function(){re.current=!1},50)}var ge=(0,we.useRef)({top:oe,bottom:ae,left:ee,right:E});return ge.current.top=oe,ge.current.bottom=ae,ge.current.left=ee,ge.current.right=E,function(Ee,ze){var je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Xe=Ee?ze<0&&ge.current.left||ze>0&&ge.current.right:ze<0&&ge.current.top||ze>0&&ge.current.bottom;return je&&Xe?(clearTimeout(ne.current),re.current=!1):(!Xe||re.current)&&le(),!re.current&&Xe}};function mt(oe,ae,ee,E,re,ne,le){var ge=(0,we.useRef)(0),Ee=(0,we.useRef)(null),ze=(0,we.useRef)(null),je=(0,we.useRef)(!1),Xe=_e(ae,ee,E,re);function it(qt,Nt){if(ce.Z.cancel(Ee.current),!Xe(!1,Nt)){var Mt=qt;if(!Mt._virtualHandled)Mt._virtualHandled=!0;else return;ge.current+=Nt,ze.current=Nt,qe||Mt.preventDefault(),Ee.current=(0,ce.Z)(function(){var Kt=je.current?10:1;le(ge.current*Kt,!1),ge.current=0})}}function pt(qt,Nt){le(Nt,!0),qe||qt.preventDefault()}var He=(0,we.useRef)(null),et=(0,we.useRef)(null);function $t(qt){if(oe){ce.Z.cancel(et.current),et.current=(0,ce.Z)(function(){He.current=null},2);var Nt=qt.deltaX,Mt=qt.deltaY,Kt=qt.shiftKey,Jt=Nt,gt=Mt;(He.current==="sx"||!He.current&&Kt&&Mt&&!Nt)&&(Jt=Mt,gt=0,He.current="sx");var kt=Math.abs(Jt),nn=Math.abs(gt);He.current===null&&(He.current=ne&&kt>nn?"x":"y"),He.current==="y"?it(qt,gt):pt(qt,Jt)}}function Lt(qt){oe&&(je.current=qt.detail===ze.current)}return[$t,Lt]}function Re(oe,ae,ee,E){var re=we.useMemo(function(){return[new Map,[]]},[oe,ee.id,E]),ne=(0,Pe.Z)(re,2),le=ne[0],ge=ne[1],Ee=function(je){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,it=le.get(je),pt=le.get(Xe);if(it===void 0||pt===void 0)for(var He=oe.length,et=ge.length;et<He;et+=1){var $t,Lt=oe[et],qt=ae(Lt);le.set(qt,et);var Nt=($t=ee.get(qt))!==null&&$t!==void 0?$t:E;if(ge[et]=(ge[et-1]||0)+Nt,qt===je&&(it=et),qt===Xe&&(pt=et),it!==void 0&&pt!==void 0)break}return{top:ge[it-1]||0,bottom:ge[pt]}};return Ee}var Ye=te(38705),lt=te(17212),Se=function(){function oe(){(0,Ye.Z)(this,oe),(0,Ue.Z)(this,"maps",void 0),(0,Ue.Z)(this,"id",0),(0,Ue.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,lt.Z)(oe,[{key:"set",value:function(ee,E){this.diffRecords.set(ee,this.maps[ee]),this.maps[ee]=E,this.id+=1}},{key:"get",value:function(ee){return this.maps[ee]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),oe}(),Qe=Se;function he(oe){var ae=parseFloat(oe);return isNaN(ae)?0:ae}function ye(oe,ae,ee){var E=we.useState(0),re=(0,Pe.Z)(E,2),ne=re[0],le=re[1],ge=(0,we.useRef)(new Map),Ee=(0,we.useRef)(new Qe),ze=(0,we.useRef)(0);function je(){ze.current+=1}function Xe(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;je();var He=function(){var Lt=!1;ge.current.forEach(function(qt,Nt){if(qt&&qt.offsetParent){var Mt=qt.offsetHeight,Kt=getComputedStyle(qt),Jt=Kt.marginTop,gt=Kt.marginBottom,kt=he(Jt),nn=he(gt),vn=Mt+kt+nn;Ee.current.get(Nt)!==vn&&(Ee.current.set(Nt,vn),Lt=!0)}}),Lt&&le(function(qt){return qt+1})};if(pt)He();else{ze.current+=1;var et=ze.current;Promise.resolve().then(function(){et===ze.current&&He()})}}function it(pt,He){var et=oe(pt),$t=ge.current.get(et);He?(ge.current.set(et,He),Xe()):ge.current.delete(et),!$t!=!He&&(He?ae==null||ae(pt):ee==null||ee(pt))}return(0,we.useEffect)(function(){return je},[]),[it,Xe,Ee.current,ne]}var Ct=14/15;function Ke(oe,ae,ee){var E=(0,we.useRef)(!1),re=(0,we.useRef)(0),ne=(0,we.useRef)(0),le=(0,we.useRef)(null),ge=(0,we.useRef)(null),Ee,ze=function(pt){if(E.current){var He=Math.ceil(pt.touches[0].pageX),et=Math.ceil(pt.touches[0].pageY),$t=re.current-He,Lt=ne.current-et,qt=Math.abs($t)>Math.abs(Lt);qt?re.current=He:ne.current=et;var Nt=ee(qt,qt?$t:Lt,!1,pt);Nt&&pt.preventDefault(),clearInterval(ge.current),Nt&&(ge.current=setInterval(function(){qt?$t*=Ct:Lt*=Ct;var Mt=Math.floor(qt?$t:Lt);(!ee(qt,Mt,!0)||Math.abs(Mt)<=.1)&&clearInterval(ge.current)},16))}},je=function(){E.current=!1,Ee()},Xe=function(pt){Ee(),pt.touches.length===1&&!E.current&&(E.current=!0,re.current=Math.ceil(pt.touches[0].pageX),ne.current=Math.ceil(pt.touches[0].pageY),le.current=pt.target,le.current.addEventListener("touchmove",ze,{passive:!1}),le.current.addEventListener("touchend",je,{passive:!0}))};Ee=function(){le.current&&(le.current.removeEventListener("touchmove",ze),le.current.removeEventListener("touchend",je))},(0,Le.Z)(function(){return oe&&ae.current.addEventListener("touchstart",Xe,{passive:!0}),function(){var it;(it=ae.current)===null||it===void 0||it.removeEventListener("touchstart",Xe),Ee(),clearInterval(ge.current)}},[oe])}function yt(oe){return Math.floor(Math.pow(oe,.5))}function Dt(oe,ae){var ee="touches"in oe?oe.touches[0]:oe;return ee[ae?"pageX":"pageY"]-window[ae?"scrollX":"scrollY"]}function Ge(oe,ae,ee){we.useEffect(function(){var E=ae.current;if(oe&&E){var re=!1,ne,le,ge=function(){ce.Z.cancel(ne)},Ee=function it(){ge(),ne=(0,ce.Z)(function(){ee(le),it()})},ze=function(){re=!1,ge()},je=function(pt){if(!(pt.target.draggable||pt.button!==0)){var He=pt;He._virtualHandled||(He._virtualHandled=!0,re=!0)}},Xe=function(pt){if(re){var He=Dt(pt,!1),et=E.getBoundingClientRect(),$t=et.top,Lt=et.bottom;if(He<=$t){var qt=$t-He;le=-yt(qt),Ee()}else if(He>=Lt){var Nt=He-Lt;le=yt(Nt),Ee()}else ge()}};return E.addEventListener("mousedown",je),E.ownerDocument.addEventListener("mouseup",ze),E.ownerDocument.addEventListener("mousemove",Xe),E.ownerDocument.addEventListener("dragend",ze),function(){E.removeEventListener("mousedown",je),E.ownerDocument.removeEventListener("mouseup",ze),E.ownerDocument.removeEventListener("mousemove",Xe),E.ownerDocument.removeEventListener("dragend",ze),ge()}}},[oe])}var Ae=10;function ot(oe,ae,ee,E,re,ne,le,ge){var Ee=we.useRef(),ze=we.useState(null),je=(0,Pe.Z)(ze,2),Xe=je[0],it=je[1];return(0,Le.Z)(function(){if(Xe&&Xe.times<Ae){if(!oe.current){it(function(Bn){return(0,pe.Z)({},Bn)});return}ne();var pt=Xe.targetAlign,He=Xe.originAlign,et=Xe.index,$t=Xe.offset,Lt=oe.current.clientHeight,qt=!1,Nt=pt,Mt=null;if(Lt){for(var Kt=pt||He,Jt=0,gt=0,kt=0,nn=Math.min(ae.length-1,et),vn=0;vn<=nn;vn+=1){var ct=re(ae[vn]);gt=Jt;var wt=ee.get(ct);kt=gt+(wt===void 0?E:wt),Jt=kt}for(var Wt=Kt==="top"?$t:Lt-$t,on=nn;on>=0;on-=1){var fn=re(ae[on]),Pn=ee.get(fn);if(Pn===void 0){qt=!0;break}if(Wt-=Pn,Wt<=0)break}switch(Kt){case"top":Mt=gt-$t;break;case"bottom":Mt=kt-Lt+$t;break;default:{var Vn=oe.current.scrollTop,Gn=Vn+Lt;gt<Vn?Nt="top":kt>Gn&&(Nt="bottom")}}Mt!==null&&le(Mt),Mt!==Xe.lastTop&&(qt=!0)}qt&&it((0,pe.Z)((0,pe.Z)({},Xe),{},{times:Xe.times+1,targetAlign:Nt,lastTop:Mt}))}},[Xe,oe.current]),function(pt){if(pt==null){ge();return}if(ce.Z.cancel(Ee.current),typeof pt=="number")le(pt);else if(pt&&(0,tt.Z)(pt)==="object"){var He,et=pt.align;"index"in pt?He=pt.index:He=ae.findIndex(function(qt){return re(qt)===pt.key});var $t=pt.offset,Lt=$t===void 0?0:$t;it({times:0,index:He,offset:Lt,originAlign:et})}}}var zt=we.forwardRef(function(oe,ae){var ee=oe.prefixCls,E=oe.rtl,re=oe.scrollOffset,ne=oe.scrollRange,le=oe.onStartMove,ge=oe.onStopMove,Ee=oe.onScroll,ze=oe.horizontal,je=oe.spinSize,Xe=oe.containerSize,it=oe.style,pt=oe.thumbStyle,He=oe.showScrollBar,et=we.useState(!1),$t=(0,Pe.Z)(et,2),Lt=$t[0],qt=$t[1],Nt=we.useState(null),Mt=(0,Pe.Z)(Nt,2),Kt=Mt[0],Jt=Mt[1],gt=we.useState(null),kt=(0,Pe.Z)(gt,2),nn=kt[0],vn=kt[1],ct=!E,wt=we.useRef(),Wt=we.useRef(),on=we.useState(He),fn=(0,Pe.Z)(on,2),Pn=fn[0],Vn=fn[1],Gn=we.useRef(),Bn=function(){He===!0||He===!1||(clearTimeout(Gn.current),Vn(!0),Gn.current=setTimeout(function(){Vn(!1)},3e3))},Un=ne-Xe||0,Rt=Xe-je||0,Bt=we.useMemo(function(){if(re===0||Un===0)return 0;var Fn=re/Un;return Fn*Rt},[re,Un,Rt]),un=function(nr){nr.stopPropagation(),nr.preventDefault()},en=we.useRef({top:Bt,dragging:Lt,pageY:Kt,startTop:nn});en.current={top:Bt,dragging:Lt,pageY:Kt,startTop:nn};var Qt=function(nr){qt(!0),Jt(Dt(nr,ze)),vn(en.current.top),le(),nr.stopPropagation(),nr.preventDefault()};we.useEffect(function(){var Fn=function(Ir){Ir.preventDefault()},nr=wt.current,tr=Wt.current;return nr.addEventListener("touchstart",Fn,{passive:!1}),tr.addEventListener("touchstart",Qt,{passive:!1}),function(){nr.removeEventListener("touchstart",Fn),tr.removeEventListener("touchstart",Qt)}},[]);var wn=we.useRef();wn.current=Un;var bn=we.useRef();bn.current=Rt,we.useEffect(function(){if(Lt){var Fn,nr=function(Ir){var Sn=en.current,Ln=Sn.dragging,rr=Sn.pageY,ir=Sn.startTop;ce.Z.cancel(Fn);var Ot=wt.current.getBoundingClientRect(),_t=Xe/(ze?Ot.width:Ot.height);if(Ln){var vt=(Dt(Ir,ze)-rr)*_t,Zt=ir;!ct&&ze?Zt-=vt:Zt+=vt;var bt=wn.current,Ht=bn.current,nt=Ht?Zt/Ht:0,Xt=Math.ceil(nt*bt);Xt=Math.max(Xt,0),Xt=Math.min(Xt,bt),Fn=(0,ce.Z)(function(){Ee(Xt,ze)})}},tr=function(){qt(!1),ge()};return window.addEventListener("mousemove",nr,{passive:!0}),window.addEventListener("touchmove",nr,{passive:!0}),window.addEventListener("mouseup",tr,{passive:!0}),window.addEventListener("touchend",tr,{passive:!0}),function(){window.removeEventListener("mousemove",nr),window.removeEventListener("touchmove",nr),window.removeEventListener("mouseup",tr),window.removeEventListener("touchend",tr),ce.Z.cancel(Fn)}}},[Lt]),we.useEffect(function(){return Bn(),function(){clearTimeout(Gn.current)}},[re]),we.useImperativeHandle(ae,function(){return{delayHidden:Bn}});var kn="".concat(ee,"-scrollbar"),Xn={position:"absolute",visibility:Pn?null:"hidden"},zn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return ze?(Object.assign(Xn,{height:8,left:0,right:0,bottom:0}),Object.assign(zn,(0,Ue.Z)({height:"100%",width:je},ct?"left":"right",Bt))):(Object.assign(Xn,(0,Ue.Z)({width:8,top:0,bottom:0},ct?"right":"left",0)),Object.assign(zn,{width:"100%",height:je,top:Bt})),we.createElement("div",{ref:wt,className:fe()(kn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},"".concat(kn,"-horizontal"),ze),"".concat(kn,"-vertical"),!ze),"".concat(kn,"-visible"),Pn)),style:(0,pe.Z)((0,pe.Z)({},Xn),it),onMouseDown:un,onMouseMove:Bn},we.createElement("div",{ref:Wt,className:fe()("".concat(kn,"-thumb"),(0,Ue.Z)({},"".concat(kn,"-thumb-moving"),Lt)),style:(0,pe.Z)((0,pe.Z)({},zn),pt),onMouseDown:Qt}))}),Et=zt,Oe=20;function Je(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ee=oe/ae*oe;return isNaN(ee)&&(ee=0),ee=Math.max(ee,Oe),Math.floor(ee)}var dt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],It=[],st={overflowY:"auto",overflowAnchor:"none"};function Ft(oe,ae){var ee=oe.prefixCls,E=ee===void 0?"rc-virtual-list":ee,re=oe.className,ne=oe.height,le=oe.itemHeight,ge=oe.fullHeight,Ee=ge===void 0?!0:ge,ze=oe.style,je=oe.data,Xe=oe.children,it=oe.itemKey,pt=oe.virtual,He=oe.direction,et=oe.scrollWidth,$t=oe.component,Lt=$t===void 0?"div":$t,qt=oe.onScroll,Nt=oe.onVirtualScroll,Mt=oe.onVisibleChange,Kt=oe.innerProps,Jt=oe.extraRender,gt=oe.styles,kt=oe.showScrollBar,nn=kt===void 0?"optional":kt,vn=(0,me.Z)(oe,dt),ct=we.useCallback(function(jn){return typeof it=="function"?it(jn):jn==null?void 0:jn[it]},[it]),wt=ye(ct,null,null),Wt=(0,Pe.Z)(wt,4),on=Wt[0],fn=Wt[1],Pn=Wt[2],Vn=Wt[3],Gn=!!(pt!==!1&&ne&&le),Bn=we.useMemo(function(){return Object.values(Pn.maps).reduce(function(jn,lr){return jn+lr},0)},[Pn.id,Pn.maps]),Un=Gn&&je&&(Math.max(le*je.length,Bn)>ne||!!et),Rt=He==="rtl",Bt=fe()(E,(0,Ue.Z)({},"".concat(E,"-rtl"),Rt),re),un=je||It,en=(0,we.useRef)(),Qt=(0,we.useRef)(),wn=(0,we.useRef)(),bn=(0,we.useState)(0),kn=(0,Pe.Z)(bn,2),Xn=kn[0],zn=kn[1],Fn=(0,we.useState)(0),nr=(0,Pe.Z)(Fn,2),tr=nr[0],Rr=nr[1],Ir=(0,we.useState)(!1),Sn=(0,Pe.Z)(Ir,2),Ln=Sn[0],rr=Sn[1],ir=function(){rr(!0)},Ot=function(){rr(!1)},_t={getKey:ct};function vt(jn){zn(function(lr){var cr;typeof jn=="function"?cr=jn(lr):cr=jn;var Jn=ni(cr);return en.current.scrollTop=Jn,Jn})}var Zt=(0,we.useRef)({start:0,end:un.length}),bt=(0,we.useRef)(),Ht=rt(un,ct),nt=(0,Pe.Z)(Ht,1),Xt=nt[0];bt.current=Xt;var tn=we.useMemo(function(){if(!Gn)return{scrollHeight:void 0,start:0,end:un.length-1,offset:void 0};if(!Un){var jn;return{scrollHeight:((jn=Qt.current)===null||jn===void 0?void 0:jn.offsetHeight)||0,start:0,end:un.length-1,offset:void 0}}for(var lr=0,cr,Jn,Wr,qr=un.length,or=0;or<qr;or+=1){var _n=un[or],Cr=ct(_n),zr=Pn.get(Cr),ji=lr+(zr===void 0?le:zr);ji>=Xn&&cr===void 0&&(cr=or,Jn=lr),ji>Xn+ne&&Wr===void 0&&(Wr=or),lr=ji}return cr===void 0&&(cr=0,Jn=0,Wr=Math.ceil(ne/le)),Wr===void 0&&(Wr=un.length-1),Wr=Math.min(Wr+1,un.length-1),{scrollHeight:lr,start:cr,end:Wr,offset:Jn}},[Un,Gn,Xn,un,Vn,ne]),dn=tn.scrollHeight,Vt=tn.start,jt=tn.end,Yt=tn.offset;Zt.current.start=Vt,Zt.current.end=jt,we.useLayoutEffect(function(){var jn=Pn.getRecord();if(jn.size===1){var lr=Array.from(jn.keys())[0],cr=jn.get(lr),Jn=un[Vt];if(Jn&&cr===void 0){var Wr=ct(Jn);if(Wr===lr){var qr=Pn.get(lr),or=qr-le;vt(function(_n){return _n+or})}}}Pn.resetRecord()},[dn]);var ln=we.useState({width:0,height:ne}),Wn=(0,Pe.Z)(ln,2),Rn=Wn[0],Kn=Wn[1],kr=function(lr){Kn({width:lr.offsetWidth,height:lr.offsetHeight})},Zr=(0,we.useRef)(),_r=(0,we.useRef)(),Pr=we.useMemo(function(){return Je(Rn.width,et)},[Rn.width,et]),gr=we.useMemo(function(){return Je(Rn.height,dn)},[Rn.height,dn]),Ar=dn-ne,Vr=(0,we.useRef)(Ar);Vr.current=Ar;function ni(jn){var lr=jn;return Number.isNaN(Vr.current)||(lr=Math.min(lr,Vr.current)),lr=Math.max(lr,0),lr}var ri=Xn<=0,ai=Xn>=Ar,Dr=tr<=0,Jr=tr>=et,$r=_e(ri,ai,Dr,Jr),Ri=function(){return{x:Rt?-tr:tr,y:Xn}},Hi=(0,we.useRef)(Ri()),zi=(0,de.zX)(function(jn){if(Nt){var lr=(0,pe.Z)((0,pe.Z)({},Ri()),jn);(Hi.current.x!==lr.x||Hi.current.y!==lr.y)&&(Nt(lr),Hi.current=lr)}});function Zi(jn,lr){var cr=jn;lr?((0,Te.flushSync)(function(){Rr(cr)}),zi()):vt(cr)}function Ji(jn){var lr=jn.currentTarget.scrollTop;lr!==Xn&&vt(lr),qt==null||qt(jn),zi()}var Ei=function(lr){var cr=lr,Jn=et?et-Rn.width:0;return cr=Math.max(cr,0),cr=Math.min(cr,Jn),cr},ki=(0,de.zX)(function(jn,lr){lr?((0,Te.flushSync)(function(){Rr(function(cr){var Jn=cr+(Rt?-jn:jn);return Ei(Jn)})}),zi()):vt(function(cr){var Jn=cr+jn;return Jn})}),fi=mt(Gn,ri,ai,Dr,Jr,!!et,ki),$i=(0,Pe.Z)(fi,2),oo=$i[0],Ro=$i[1];Ke(Gn,en,function(jn,lr,cr,Jn){var Wr=Jn;return $r(jn,lr,cr)?!1:!Wr||!Wr._virtualHandled?(Wr&&(Wr._virtualHandled=!0),oo({preventDefault:function(){},deltaX:jn?lr:0,deltaY:jn?0:lr}),!0):!1}),Ge(Un,en,function(jn){vt(function(lr){return lr+jn})}),(0,Le.Z)(function(){function jn(cr){var Jn=ri&&cr.detail<0,Wr=ai&&cr.detail>0;Gn&&!Jn&&!Wr&&cr.preventDefault()}var lr=en.current;return lr.addEventListener("wheel",oo,{passive:!1}),lr.addEventListener("DOMMouseScroll",Ro,{passive:!0}),lr.addEventListener("MozMousePixelScroll",jn,{passive:!1}),function(){lr.removeEventListener("wheel",oo),lr.removeEventListener("DOMMouseScroll",Ro),lr.removeEventListener("MozMousePixelScroll",jn)}},[Gn,ri,ai]),(0,Le.Z)(function(){if(et){var jn=Ei(tr);Rr(jn),zi({x:jn})}},[Rn.width,et]);var fo=function(){var lr,cr;(lr=Zr.current)===null||lr===void 0||lr.delayHidden(),(cr=_r.current)===null||cr===void 0||cr.delayHidden()},bo=ot(en,un,Pn,le,ct,function(){return fn(!0)},vt,fo);we.useImperativeHandle(ae,function(){return{nativeElement:wn.current,getScrollInfo:Ri,scrollTo:function(lr){function cr(Jn){return Jn&&(0,tt.Z)(Jn)==="object"&&("left"in Jn||"top"in Jn)}cr(lr)?(lr.left!==void 0&&Rr(Ei(lr.left)),bo(lr.top)):bo(lr)}}}),(0,Le.Z)(function(){if(Mt){var jn=un.slice(Vt,jt+1);Mt(jn,un)}},[Vt,jt,un]);var co=Re(un,ct,Pn,le),yo=Jt==null?void 0:Jt({start:Vt,end:jt,virtual:Un,offsetX:tr,offsetY:Yt,rtl:Rt,getSize:co}),Bi=De(un,Vt,jt,et,tr,on,Xe,_t),Ai=null;ne&&(Ai=(0,pe.Z)((0,Ue.Z)({},Ee?"height":"maxHeight",ne),st),Gn&&(Ai.overflowY="hidden",et&&(Ai.overflowX="hidden"),Ln&&(Ai.pointerEvents="none")));var Gr={};return Rt&&(Gr.dir="rtl"),we.createElement("div",(0,b.Z)({ref:wn,style:(0,pe.Z)((0,pe.Z)({},ze),{},{position:"relative"}),className:Bt},Gr,vn),we.createElement(be.Z,{onResize:kr},we.createElement(Lt,{className:"".concat(E,"-holder"),style:Ai,ref:en,onScroll:Ji,onMouseEnter:fo},we.createElement(Fe,{prefixCls:E,height:dn,offsetX:tr,offsetY:Yt,scrollWidth:et,onInnerResize:fn,ref:Qt,innerProps:Kt,rtl:Rt,extra:yo},Bi))),Un&&dn>ne&&we.createElement(Et,{ref:Zr,prefixCls:E,scrollOffset:Xn,scrollRange:dn,rtl:Rt,onScroll:Zi,onStartMove:ir,onStopMove:Ot,spinSize:gr,containerSize:Rn.height,style:gt==null?void 0:gt.verticalScrollBar,thumbStyle:gt==null?void 0:gt.verticalScrollBarThumb,showScrollBar:nn}),Un&&et>Rn.width&&we.createElement(Et,{ref:_r,prefixCls:E,scrollOffset:tr,scrollRange:et,rtl:Rt,onScroll:Zi,onStartMove:ir,onStopMove:Ot,spinSize:Pr,containerSize:Rn.width,horizontal:!0,style:gt==null?void 0:gt.horizontalScrollBar,thumbStyle:gt==null?void 0:gt.horizontalScrollBarThumb,showScrollBar:nn}))}var ft=we.forwardRef(Ft);ft.displayName="List";var Gt=ft,Pt=Gt},25510:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOo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tyuuuNyO+eY3bez4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje1HJ59iyyy7jL362iy7//4HbM899rQHH3jIDj/kkHAMwJ9uucWOOPLwEEcz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l5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(Tn,sn,te){"use strict";te.d(sn,{Z:function(){return fe}});const b=be=>typeof be=="object"&&be!=null&&be.nodeType===1,tt=(be,de)=>(!de||be!=="hidden")&&be!=="visible"&&be!=="clip",pe=(be,de)=>{if(be.clientHeight<be.scrollHeight||be.clientWidth<be.scrollWidth){const Le=getComputedStyle(be,null);return tt(Le.overflowY,de)||tt(Le.overflowX,de)||(we=>{const Te=(xe=>{if(!xe.ownerDocument||!xe.ownerDocument.defaultView)return null;try{return xe.ownerDocument.defaultView.frameElement}catch(Fe){return null}})(we);return!!Te&&(Te.clientHeight<we.scrollHeight||Te.clientWidth<we.scrollWidth)})(be)}return!1},Ue=(be,de,Le,we,Te,xe,Fe,Ce)=>xe<be&&Fe>de||xe>be&&Fe<de?0:xe<=be&&Ce<=Le||Fe>=de&&Ce>=Le?xe-be-we:Fe>de&&Ce<Le||xe<be&&Ce>Le?Fe-de+Te:0,Pe=be=>{const de=be.parentElement;return de==null?be.getRootNode().host||null:de},me=(be,de)=>{var Le,we,Te,xe;if(typeof document=="undefined")return[];const{scrollMode:Fe,block:Ce,inline:De,boundary:Be,skipOverflowHiddenElements:Ze}=de,rt=typeof Be=="function"?Be:Et=>Et!==Be;if(!b(be))throw new TypeError("Invalid target");const ce=document.scrollingElement||document.documentElement,ke=[];let qe=be;for(;b(qe)&&rt(qe);){if(qe=Pe(qe),qe===ce){ke.push(qe);break}qe!=null&&qe===document.body&&pe(qe)&&!pe(document.documentElement)||qe!=null&&pe(qe,Ze)&&ke.push(qe)}const _e=(we=(Le=window.visualViewport)==null?void 0:Le.width)!=null?we:innerWidth,mt=(xe=(Te=window.visualViewport)==null?void 0:Te.height)!=null?xe:innerHeight,{scrollX:Re,scrollY:Ye}=window,{height:lt,width:Se,top:Qe,right:he,bottom:ye,left:Ct}=be.getBoundingClientRect(),{top:Ke,right:yt,bottom:Dt,left:Ge}=(Et=>{const Oe=window.getComputedStyle(Et);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(be);let Ae=Ce==="start"||Ce==="nearest"?Qe-Ke:Ce==="end"?ye+Dt:Qe+lt/2-Ke+Dt,ot=De==="center"?Ct+Se/2-Ge+yt:De==="end"?he+yt:Ct-Ge;const zt=[];for(let Et=0;Et<ke.length;Et++){const Oe=ke[Et],{height:Je,width:dt,top:It,right:st,bottom:Ft,left:ft}=Oe.getBoundingClientRect();if(Fe==="if-needed"&&Qe>=0&&Ct>=0&&ye<=mt&&he<=_e&&(Oe===ce&&!pe(Oe)||Qe>=It&&ye<=Ft&&Ct>=ft&&he<=st))return zt;const Gt=getComputedStyle(Oe),Pt=parseInt(Gt.borderLeftWidth,10),oe=parseInt(Gt.borderTopWidth,10),ae=parseInt(Gt.borderRightWidth,10),ee=parseInt(Gt.borderBottomWidth,10);let E=0,re=0;const ne="offsetWidth"in Oe?Oe.offsetWidth-Oe.clientWidth-Pt-ae:0,le="offsetHeight"in Oe?Oe.offsetHeight-Oe.clientHeight-oe-ee:0,ge="offsetWidth"in Oe?Oe.offsetWidth===0?0:dt/Oe.offsetWidth:0,Ee="offsetHeight"in Oe?Oe.offsetHeight===0?0:Je/Oe.offsetHeight:0;if(ce===Oe)E=Ce==="start"?Ae:Ce==="end"?Ae-mt:Ce==="nearest"?Ue(Ye,Ye+mt,mt,oe,ee,Ye+Ae,Ye+Ae+lt,lt):Ae-mt/2,re=De==="start"?ot:De==="center"?ot-_e/2:De==="end"?ot-_e:Ue(Re,Re+_e,_e,Pt,ae,Re+ot,Re+ot+Se,Se),E=Math.max(0,E+Ye),re=Math.max(0,re+Re);else{E=Ce==="start"?Ae-It-oe:Ce==="end"?Ae-Ft+ee+le:Ce==="nearest"?Ue(It,Ft,Je,oe,ee+le,Ae,Ae+lt,lt):Ae-(It+Je/2)+le/2,re=De==="start"?ot-ft-Pt:De==="center"?ot-(ft+dt/2)+ne/2:De==="end"?ot-st+ae+ne:Ue(ft,st,dt,Pt,ae+ne,ot,ot+Se,Se);const{scrollLeft:ze,scrollTop:je}=Oe;E=Ee===0?0:Math.max(0,Math.min(je+E/Ee,Oe.scrollHeight-Je/Ee+le)),re=ge===0?0:Math.max(0,Math.min(ze+re/ge,Oe.scrollWidth-dt/ge+ne)),Ae+=je-E,ot+=ze-re}zt.push({el:Oe,top:E,left:re})}return zt},ve=be=>be===!1?{block:"end",inline:"nearest"}:(de=>de===Object(de)&&Object.keys(de).length!==0)(be)?be:{block:"start",inline:"nearest"};function fe(be,de){if(!be.isConnected||!(Te=>{let xe=Te;for(;xe&&xe.parentNode;){if(xe.parentNode===document)return!0;xe=xe.parentNode instanceof ShadowRoot?xe.parentNode.host:xe.parentNode}return!1})(be))return;const Le=(Te=>{const xe=window.getComputedStyle(Te);return{top:parseFloat(xe.scrollMarginTop)||0,right:parseFloat(xe.scrollMarginRight)||0,bottom:parseFloat(xe.scrollMarginBottom)||0,left:parseFloat(xe.scrollMarginLeft)||0}})(be);if((Te=>typeof Te=="object"&&typeof Te.behavior=="function")(de))return de.behavior(me(be,de));const we=typeof de=="boolean"||de==null?void 0:de.behavior;for(const{el:Te,top:xe,left:Fe}of me(be,ve(de))){const Ce=xe-Le.top+Le.bottom,De=Fe-Le.left+Le.right;Te.scroll({top:Ce,left:De,behavior:we})}}}}]);
|