|
|
(self.webpackChunk=self.webpackChunk||[]).push([[4492],{89489:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},59477:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},40001:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},26227:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},49198:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},41464:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},87169:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},73331:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},15277:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},52671:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},8657:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},56082:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},33853:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},15075:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},43531:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},61485:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},47472:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},87395:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(60499),Me=z(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"},_e=pe,we=z(7657),Se=function(he,ut){return Me.createElement(we.Z,(0,b.Z)({},he,{ref:ut,icon:_e}))},Pe=Me.forwardRef(Se),Xe=Pe},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Tn,cn){"use strict";cn.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,cn){"use strict";cn.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={},cn="5.0",z={},b=null,Me=!1,pe=!1,_e=null,we=!1,Se=null,Pe=null,Xe=0;Xe<arguments.length;Xe++){var Ee=arguments[Xe];if(Ee!==null)switch(typeof Ee){case"number":cn=Ee.toFixed(1);break;case"string":Ee.match(new RegExp("^[0-9]\\.[0-9]+$"))?cn=Ee:_e=Ee;break;case"object":typeof Ee.is3D!="undefined"?b=Ee:z=Ee;break;case"boolean":Me=Ee,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},z.material_id!==void 0&&!pe&&(Me=!0)),_e!==null&&z.id===void 0&&(z.id=_e);var he="",ut="",Be=!1,bt=null,it=null,He=null,Fe=!1,Te=null,ot=null,Ct=null,tn=null,se=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var Ie=function(ge){return parseFloat(ge)>4?parseFloat(ge):5};Tn.setHTML5Codebase=function(ge,Re){Pe=ge,Yt(ge,Re)},Tn.setJavaCodebase=Tn.setJavaCodebaseVersion=Tn.isCompiledInstalled=Tn.setPreCompiledScriptPath=Tn.setPreCompiledResourcePath=function(){},Tn.setHTML5CodebaseVersion=function(ge,Re){var qe=parseFloat(ge);if(qe!==NaN&&qe<5){console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead.");return}Se=ge,be(ge,Re)},Tn.getHTML5CodebaseVersion=function(){return it},Tn.getParameters=function(){return z},Tn.setFontsCSSURL=function(ge){tn=ge},Tn.setGiacJSURL=function(ge){},Tn.setJNLPFile=function(ge){he=ge},Tn.setJNLPBaseDir=function(ge){},Tn.inject=function(){function ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",qe=z.id,Vt,rt=!1,Zt=0;Zt<arguments.length;Zt++){var st=arguments[Zt];typeof st=="string"?(st=st.toLowerCase(),st.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Re=st:qe=arguments[Zt]):typeof st=="boolean"?rt=st:st instanceof HTMLElement&&(Vt=st)}$t();function $t(){if(!we){setTimeout($t,200);return}Re=fn(Re);var Nt=Vt||document.getElementById(qe);if(!Nt){console.log("possibly bug on ajax loading? ");return}if(Tn.removeExistingApplet(Nt,!1),z.width===void 0&&Nt.clientWidth&&(z.width=Nt.clientWidth),z.height===void 0&&Nt.clientHeight&&(z.height=Nt.clientHeight),!(z.width&&z.height)&&Re==="html5"&&(delete z.width,delete z.height),bt=Re,Re==="screenshot")Ye(Nt,z);else{var le=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?le=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(le=(!dt()||ge())&&yt()),le?(bt="screenshot",Ft(Nt,z,rt,Re)):gt(Nt,z,rt)}}};function dt(){try{return window.self!==window.top}catch(ge){return!0}}function yt(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Tn.getViews=function(){return b},Tn.isJavaInstalled=function(){return!1};var kt=function(ge){var Re=function(Zt){var st=JSON.parse(Zt),$t=function(ne){return ne.type=="G"||ne.type=="E"},Nt=st.elements?st.elements.filter($t)[0]:st;if(!Nt||!Nt.url){qe();return}z.fileName=Nt.url,Ue(Nt.settings||{}),b.is3D=!0;var le="https://www.geogebra.org/images/";Tn.setPreviewImage(Te||Nt.previewUrl,le+"GeoGebra_loading.png",le+"applet_play.png"),ge()},qe=function(){z.onError&&z.onError(),ln("Error: Fetching material (id "+z.material_id+") failed.",z)},Vt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",rt="/materials/"+z.material_id+"?scope=basic";Ke("https://"+Vt+"/api/proxy.php?path="+encodeURIComponent(rt),Re,qe)};function Ue(ge){var Re=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(qe){ge[qe]=!!ge[qe]}),Re.forEach(function(qe){z[qe]===void 0&&ge[qe]!==void 0&&(z[qe]=ge[qe])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function Ke(ge,Re,qe){var Vt=new XMLHttpRequest;Vt.open("GET",ge),Vt.onload=function(){Re(Vt.responseText)},Vt.onerror=qe,Vt.send()}Tn.isHTML5Installed=function(){return!0},Tn.getLoadedAppletType=function(){return bt},Tn.setPreviewImage=function(ge,Re,qe){Te=ge,ot=Re,Ct=qe},Tn.removeExistingApplet=function(ge,Re){var qe;typeof ge=="string"&&(ge=document.getElementById(ge)),bt=null;var Vt=null;for(qe=0;qe<ge.childNodes.length;qe++){var rt=ge.childNodes[qe],Zt=rt.className;Zt==="applet_screenshot"?Re?(rt.style.display="block",bt="screenshot"):rt.style.display="none":Zt!=="applet_scaler prerender"&&(ge.removeChild(rt),Vt=Zt&&Zt.indexOf("appletParameters")!=-1?rt.id:null,qe--)}var st=z.id!==void 0?z.id:Vt,$t=window[st];$t&&typeof $t.getBase64=="function"&&($t.remove(),window[st]=null)},Tn.refreshHitPoints=function(){if(Ie(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ge=Tn.getAppletObject();return ge&&typeof ge.recalculateEnvironments=="function"?(ge.recalculateEnvironments(),!0):!1},Tn.startAnimation=function(){var ge=Tn.getAppletObject();return ge&&typeof ge.startAnimation=="function"?(ge.startAnimation(),!0):!1},Tn.stopAnimation=function(){var ge=Tn.getAppletObject();return ge&&typeof ge.stopAnimation=="function"?(ge.stopAnimation(),!0):!1},Tn.getAppletObject=function(){var ge=z.id!==void 0?z.id:"ggbApplet";return window[ge]},Tn.resize=function(){};var ct=function(ge,Re,qe){var Vt=document.createElement("param");Vt.setAttribute("name",Re),Vt.setAttribute("value",qe),ge.appendChild(Vt)},De=function(ge){return ge&&ge!=="false"},gt=function(ge,Re,qe){Ie(it)<=4.2&&(qe=!0);var Vt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==it||ggbHTML5LoadedCodebaseIsWebSimple&&!Fe)&&(Vt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var rt=document.createElement("div");rt.classList.add("appletParameters","notranslate");var Zt=Re.width,st=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(Ie(it)<=4.4)De(Re.showToolBar)&&(Re.height-=7),De(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&De(Re.showToolBar)&&(Re.width=605,Zt=605);else{var $t=100;(De(Re.showToolBar)||De(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),$t=De(Re.showMenuBar)?245:155),Zt<$t&&(Re.width=$t,Zt=$t)}rt.style.border="none",rt.style.display="inline-block";for(var Nt in Re)Re.hasOwnProperty(Nt)&&Nt!=="appletOnLoad"&&rt.setAttribute("data-param-"+Nt,Re[Nt]);tn&&rt.setAttribute("data-param-fontscssurl",tn),Tn.resize=function(){GGBAppletUtils.responsiveResize(ge,Re)},window.addEventListener("resize",function(ht){Tn.resize()});var le=typeof Re.appletOnLoad=="function"?Re.appletOnLoad:function(){};if(!qe&&Re.width!==void 0){Re.hasOwnProperty("showSplash")||rt.setAttribute("data-param-showSplash","false");var ne=ge.querySelector(".applet_scaler.prerender"),te=ne!==null;if(te)var ae=ne.querySelector(".ggb_preview");else{var ae=xt(Zt,st,Re.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=Zt+"px",ne.style.height=st+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Ie(it)>=5?(Re.appletOnLoad=function(ht){var Dt=ge.querySelector(".ggb_preview");Dt&&Dt.parentNode.removeChild(Dt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),le(ht)},te||ne.appendChild(ae)):rt.appendChild(ae),ne.appendChild(rt),te||ge.appendChild(ne),setTimeout(function(){Tn.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(rt),ge.appendChild(de),Re.appletOnLoad=function(ht){Tn.resize(),le(ht)}}function re(ht,Dt){Dt&&typeof Dt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ht,Dt.appletOnLoad):renderGGBElement(ht),ln("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Dt)}function ue(ht,Dt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ht,params:Dt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Oe){re(Oe.article,Oe.params)}),html5AppletsToProcess=null)},Ie(it)<5&&(ht.className+=" geogebraweb")):re(ht,Dt)}if(Vt){scriptLoadStarted=!0;for(var xe=0;xe<rt.childNodes.length;xe++){var tt=rt.childNodes[xe].tagName;tt==="TABLE"&&(rt.removeChild(rt.childNodes[xe]),xe--)}if(ggbHTML5LoadedScript!==null){var Ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ve!=null&&Ve.parentNode.removeChild(Ve)}var We=document.createElement("script"),lt=function(){ue(rt,Re)};We.src=ut+He,ggbHTML5LoadedCodebaseIsWebSimple=Fe,ggbHTML5LoadedCodebaseVersion=it,ggbHTML5LoadedScript=We.src,ln("GeoGebra HTML5 codebase loaded: '"+ut+"'.",Re),!Pe&&(!Se||Se=="5.0")?(Fe?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),lt()):ut.requirejs?__webpack_require__.e(4510).then(function(){var ht=[__webpack_require__(4510)];lt.apply(null,ht)}.bind(this)).catch(__webpack_require__.oe):(We.onload=lt,ge.appendChild(We))}else ue(rt,Re);Re.height=st,Re.width=Zt},Ye=function(ge,Re,qe){var Vt=xt(Re.width,Re.height,Re.borderColor,qe),rt=document.createElement("div");rt.style.position="relative",rt.style.display="block",rt.style.width=Re.width+"px",rt.style.height=Re.height+"px",rt.className="applet_screenshot applet_scaler"+(qe?" applet_screenshot_play":""),rt.appendChild(Vt);var Zt=GGBAppletUtils.getScale(Re,ge,qe);qe?(ge.appendChild(Ge()),window.GGBT_wsf_view||(ge.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(rt,"66%"),ge.appendChild(rt),Zt!==1&&!isNaN(Zt)&&(GGBAppletUtils.scaleElement(rt,Zt),rt.style.width=Re.width+"px",rt.style.height=Re.height+"px",rt.parentNode.style.width=Re.width*Zt+"px",rt.parentNode.style.height=Re.height*Zt+"px"),Tn.resize=function(){fe(ge,Vt,rt,qe)},window.addEventListener("resize",function(st){Tn.resize()}),Tn.resize()};function fe(ge,Re,qe,Vt){if(ge.contains(Re)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ge.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ge)}var rt=GGBAppletUtils.getScale(z,ge,Vt);qe.parentNode!==null&&(!isNaN(rt)&&rt!==1?(GGBAppletUtils.scaleElement(qe,rt),qe.parentNode.style.width=z.width*rt+"px",qe.parentNode.style.height=z.height*rt+"px"):(GGBAppletUtils.scaleElement(qe,1),qe.parentNode.style.width=z.width+"px",qe.parentNode.style.height=z.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ge),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Tn.onExitFullscreen=function(ge,Re){Re.appendChild(ge)};var Ft=function(ge,Re,qe,Vt){Ye(ge,Re,!0);for(var rt=function(){var $t=[];for(st=0;st<ge.childNodes.length;st++)$t.push(ge.childNodes[st]);if(window.GGBT_wsf_view){var Nt=window.GGBT_wsf_view.renderFullScreen(ge,Re.id),le=document.getElementById("fullscreencontainer"),ne=jQuery(ge).find(".fullscreencontent");ne.length>0?(Nt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(le).append(ne),window.dispatchEvent(new Event("resize"))):gt(Nt,Re,!1),window.GGBT_wsf_view.launchFullScreen(le)}else bt=Vt,gt(ge,Re,!1);if(!window.GGBT_wsf_view)for(st=0;st<$t.length;st++)ge.removeChild($t[st])},Zt=ge.getElementsByClassName("ggb_preview_play"),st=0;st<Zt.length;st++)Zt[st].addEventListener("click",rt,!1),Zt[st].addEventListener("ontouchstart",rt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ge),yt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ge=function(){var ge=document.createElement("div");if(ge.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Re='.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");}',qe=document.createElement("style");qe.styleSheet?qe.styleSheet.cssText=Re:qe.appendChild(document.createTextNode(Re)),document.getElementsByTagName("head")[0].appendChild(qe)}return ge},xt=function(ge,Re,qe,Vt){var rt=document.createElement("div");rt.className="ggb_preview",rt.style.position="absolute",rt.style.zIndex="90",rt.style.width=ge-2+"px",rt.style.height=Re-2+"px",rt.style.top="0px",rt.style.left="0px",rt.style.overflow="hidden",rt.style.backgroundColor="white";var Zt="lightgrey";qe!==void 0&&(qe==="none"?Zt="transparent":Zt=qe),rt.style.border="1px solid "+Zt;var st=document.createElement("img");if(st.style.position="relative",st.style.zIndex="1000",st.style.top="-1px",st.style.left="-1px",Te!==null&&st.setAttribute("src",Te),st.style.opacity=.7,ot!==null){var $t,Nt,le;if(!Vt){$t=document.createElement("img"),$t.style.position="absolute",$t.style.zIndex="1001",$t.style.opacity=1,st.style.opacity=.3,Nt=360,Nt>ge/4*3&&(Nt=ge/4*3),le=Nt/5.8,$t.setAttribute("src",ot),$t.setAttribute("width",Nt),$t.setAttribute("height",le);var ne=(ge-Nt)/2,te=(Re-le)/2;$t.style.left=ne+"px",$t.style.top=te+"px",rt.appendChild($t)}}return rt.appendChild(st),rt},fn=function(ge){return ge=ge.toLowerCase(),ge==="html5"||ge==="screenshot"?ge:"html5"},ke=["web","webSimple","web3d","tablet","tablet3d","phone"],be=function(ge,Re){if(it=ge,Re){Yt(it,!0);return}var qe=!Me;if(qe){var Vt=Ie(it);!isNaN(Vt)&&Vt<4.4&&(qe=!1)}var rt,Zt;window.location.protocol.substr(0,4)==="http"?rt=window.location.protocol:rt="http:";var st=it.indexOf("//");st>0?Zt=it:st===0?Zt=rt+it:Zt="https://www.geogebra.org/apps/5.2.814.0/";for(var $t in ke)if(it.slice(ke[$t].length*-1)===ke[$t]||it.slice((ke[$t].length+1)*-1)===ke[$t]+"/"){Yt(Zt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&qe&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!De(z.showToolBar)&&!De(z.showMenuBar)&&!De(z.showAlgebraInput)&&!De(z.enableRightClick)&&(!z.appName||z.appName=="classic")?Zt+="webSimple/":Zt+="web3d/",Yt(Zt,!1)},Yt=function(ge,Re){if(ge.requirejs){ut=ge;return}ge.slice(-1)!=="/"&&(ge+="/"),ut=ge,Re===null&&(Re=ge.indexOf("http")===-1),Be=Re,He="web.nocache.js",Fe=!1;var qe=ut.split("/");qe.length>1&&(!Re&&qe[qe.length-2]==="webSimple"?(He="webSimple.nocache.js",Fe=!0):ke.indexOf(qe[qe.length-2])>=0&&(He=qe[qe.length-2]+".nocache.js")),qe=ge.split("/"),it=qe[qe.length-3],it.substr(0,4)==="test"?it=it.substr(4,1)+"."+it.substr(5,1):(it.substr(0,3)==="war"||it.substr(0,4)==="beta")&&(it="5.0");var Vt=parseFloat(it);Vt!==NaN&&Vt<5&&ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Vt+" is deprecated. Using version latest instead."),be("5.0",Re))},ln=function(ge,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(ge)};z.material_id!==void 0?kt(Xt):Xt();function Xt(){var ge=cn;Se!==null?ge=Se:parseFloat(ge)<5&&(ge="5.0"),be(ge,!1),Pe!==null&&Yt(Pe,Be),we=!0}return Tn},GGBAppletUtils=function(){"use strict";function Tn(){return window.GGBT_wsf_edit!==void 0}function cn(we,Se){Se!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Se+","+Se+")",we.style.webkitTransform="scale("+Se+","+Se+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function z(we,Se,Pe,Xe,Ee,he){var ut=null;if(he!=null&&he!="")for(var Be=we.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+he+" ")>-1){ut=Be;break}else Be=Be.parentNode;var bt=0,it=0,He=0,Fe=0,Te=0,ot=0,Ct=0;if(ut)bt=ut.offsetWidth,it=Math.max(Xe?ut.offsetWidth:0,ut.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(bt=Math.min(window.innerWidth,document.documentElement.clientWidth),it=Math.min(window.innerHeight,document.documentElement.clientHeight),He=bt):(bt=window.innerWidth,it=window.innerHeight,He=window.innerWidth),we){var tn=we.getBoundingClientRect();tn.left>0&&tn.left<=bt&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(Te=bt-tn.width-tn.left,ot=He<=480?10:30):(ot=tn.left,Te=He<=480?10:30),Fe=ot+Te)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe=40,Ct=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Fe=0,Ct=40)}}return we&&((Pe===void 0||!Pe)&&Se>0&&Se+Fe<bt?bt=Se:bt-=Fe,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Pe===void 0||!Pe)&&(it-=Ct)),{width:bt,height:it}}function b(we,Se,Pe,Xe,Ee){if(we.isScreenshoGenerator)return 1;var he=Xe!==void 0&&Xe,ut=we.noScaleMargin!=null&&we.noScaleMargin,Be=function(se){return se&&se!=="false"},bt=Be(we.autoHeight),it=z(Se,we.width,Pe,bt,he&&window.GGBT_wsf_view||ut,Ee),He=parseInt(it.width),Fe=we.width,Te=we.height;if(Fe===void 0){var ot=Se.querySelector(".appletParameters");ot&&(Fe=ot.offsetWidth,Te=ot.offsetHeight)}var Ct=He/Fe,tn=he?1:it.height/Te;return Pe!==void 0&&!Pe&&(Ct=Math.min(1,Ct),tn=Math.min(1,tn)),Math.min(Ct,tn)}function Me(we,Se,Pe){var Xe=1,Ee,he=!1;if(we.hasOwnProperty("allowUpscale")&&(he=we.allowUpscale),we.hasOwnProperty("scale")&&(Xe=parseFloat(we.scale),(isNaN(Xe)||Xe===null||Xe===0)&&(Xe=1),Xe>1&&(he=!0)),Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(he=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Ee=b(we,Se,he,Pe,we.scaleContainerClass);else return Xe;return he&&(!we.hasOwnProperty("scale")||Xe===1)?Ee:Math.min(Xe,Ee)}function pe(we){var Se=Math.min(window.innerWidth,document.documentElement.clientWidth),Pe=Math.min(window.innerHeight,document.documentElement.clientHeight),Xe=we.getBoundingClientRect(),Ee=(Se-Xe.width)/2,he=(Pe-Xe.height)/2;he<0&&(he=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?we.style.left="40px":we.style.left=Ee+"px",we.style.top=he+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(he<40?we.style.top="40px":we.style.top=he+"px",we.style.left=Ee+"px")}function _e(we,Se){var Pe=we.querySelector(".appletParameters");if(Pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Se.id!==Pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(Pe.parentElement&&/fullscreen/.test(Pe.parentElement.className))return;var Xe=Me(Se,we);Tn()&&Pe.setAttribute("data-param-scale",Xe);for(var Ee=null,he=0;he<we.childNodes.length;he++)if(we.childNodes[he].className!==void 0&&we.childNodes[he].className.match(/^applet_scaler/)){Ee=we.childNodes[he];break}if(Ee!==null&&Ee.querySelector(".noscale")!==null)return;var ut=Se.id!==void 0?Se.id:"ggbApplet",Be=window[ut];(Be==null||!Be.recalculateEnvironments)&&Ee!==null&&!Ee.className.match(/fullscreen/)&&(Ee.parentNode.style.transform="",!isNaN(Xe)&&Xe!==1?(Ee.parentNode.style.width=Se.width*Xe+"px",Ee.parentNode.style.height=Se.height*Xe+"px",cn(Ee,Xe)):(cn(Ee,1),Ee.parentNode.style.width=Se.width+"px",Ee.parentNode.style.height=Se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&pe(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Pe).parents(".content-added-content"))}}return{responsiveResize:_e,isFlexibleWorksheetEditor:Tn,positionCenter:pe,getScale:Me,scaleElement:cn}}();__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,cn){}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 cn=s[L].bindings;s[L].bindings=function(){for(var z=cn?cn():{},b=Tn[webModule.__softPermutationId],Me=O;Me<b.length;Me++){var pe=b[Me];z[pe[O]]=pe[P]}return z}};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 cn=document.compatMode==U?V:W;t.write(cn+X),t.close()}}}function w(Tn){function cn(b){function Me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var pe=Me();if(pe){b();return}function _e(){if(!pe){if(!Me())return;pe=!0,b(),o.removeEventListener&&o.removeEventListener(Z,_e,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,_e,!1);var we=setInterval(function(){_e()},$)}function z(b){var Me=u(),pe=Me.body,_e=Me.createElement(_);_e.language=ab,_e.crossOrigin=W,_e.src=b,webModule.__errFn&&(_e.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),pe.appendChild(_e)}cn(function(){z(Tn)})}webModule.__startLoadingFragment=function(Tn){return C(Tn)},webModule.__installRunAsyncCode=function(Tn){var cn=u(),z=cn.body,b=cn.createElement(_);b.language=ab,b.text=Tn,z.appendChild(b),z.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 cn=c[Tn];return cn==null?null:cn},r=d,webModule.__errFn=e}function B(){function Tn(we){var Se=we.lastIndexOf(rb);Se==-1&&(Se=we.length);var Pe=we.indexOf(sb);Pe==-1&&(Pe=we.length);var Xe=we.lastIndexOf(tb,Math.min(Pe,Se));return Xe>=O?we.substring(O,Xe+P):W}function cn(we){if(!we.match(/^\w+:\/\//)){var Se=o.createElement(ub);Se.src=we+vb,we=Tn(Se.src)}return we}function z(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function b(){for(var we=o.getElementsByTagName(_),Se=O;Se<we.length;++Se)if(we[Se].src.indexOf(xb)!=-1)return Tn(we[Se].src);return W}function Me(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function pe(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var _e=z();return _e==W&&(_e=b()),_e==W&&(_e=Me()),_e==W&&pe()&&(_e=Tn(o.location.href)),_e=cn(_e),_e}function C(Tn){return Tn.match(/^\//)||Tn.match(/^[a-zA-Z]+:\/\//)?Tn:webModule.__moduleBase+Tn}function D(){var Tn=[],cn=O,z=[],b=[];function Me(we){var Se=b[we](),Pe=z[we];if(Se in Pe)return Se;var Xe=[];for(var Ee in Pe)Xe[Pe[Ee]]=Ee;throw r&&r(we,Xe,Se),null}if(__gwt_isKnownPropertyValue=function(we,Se){return Se in z[we]},webModule.__getPropMap=function(){var we={};for(var Se in z)z.hasOwnProperty(Se)&&(we[Se]=Me(Se));return we},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var pe;try{pe=Cb;var _e=pe.indexOf(Db);_e!=-1&&(cn=parseInt(pe.substring(_e+P),$),pe=pe.substring(O,_e))}catch(we){}return webModule.__softPermutationId=cn,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,cn,z){"use strict";z.d(cn,{Ax:function(){return _e},Ds:function(){return we},KI:function(){return Pe},SI:function(){return pe},f1:function(){return Me}});var b=z(14185);function Me(Xe){let Ee=!0;if(Xe.length>0){for(let he=0;he<Xe.length;he++)if(Xe[he].compile_success==0||!Xe[he].compile_success){Ee=!1;break}}else Ee=!1;return Ee}function pe(Xe,Ee=""){let he=[];for(let ut=0;ut<Xe.length;ut++){let Be=Xe[ut],bt=Ee?`${Ee}/${Be.name}`:`${Be.name}`;he.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:bt})}return he}function _e(Xe,Ee,he){for(let ut=0;ut<Xe.length;ut++){let Be=Xe[ut];if(Be.key===Ee){Be.children=he;break}Be.children&&_e(Be.children,Ee,he)}return Xe}function we(Xe,Ee,he){let ut;return function(){let Be=this,bt=arguments,it=function(){ut=null,he||Xe.apply(Be,bt)},He=he&&!ut;clearTimeout(ut),ut=setTimeout(it,Ee),He&&Xe.apply(Be,bt)}}const Se=!0,Pe=b.Z.API_SERVER},35139:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return bt}});var b=z(59301),Me=z(6767),pe=z(37568),_e={codeBox:"codeBox___WpkVl"},we=z(92310),Se=z.n(we),Pe=Object.defineProperty,Xe=(it,He,Fe)=>He in it?Pe(it,He,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):it[He]=Fe,Ee=(it,He,Fe)=>Xe(it,typeof He!="symbol"?He+"":He,Fe),he=(it,He,Fe)=>new Promise((Te,ot)=>{var Ct=Ie=>{try{se(Fe.next(Ie))}catch(dt){ot(dt)}},tn=Ie=>{try{se(Fe.throw(Ie))}catch(dt){ot(dt)}},se=Ie=>Ie.done?Te(Ie.value):Promise.resolve(Ie.value).then(Ct,tn);se((Fe=Fe.apply(it,He)).next())});class ut extends b.Component{constructor(He){super(He),Ee(this,"canvas"),Ee(this,"randomNum",(Fe,Te)=>Math.floor(Math.random()*(Te-Fe)+Fe)),Ee(this,"drawPic",()=>{this.randomCode()}),Ee(this,"reloadPic",()=>{this.drawPic()}),Ee(this,"changeCode",Fe=>{console.log(Fe.target.value,222),this.setState({value:Fe.target.value,showError:!1})}),Ee(this,"onVerify",()=>{let Fe;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(Fe=!0,Me.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(Fe=!0,Me.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(Fe=!1),this.setState({showError:Fe}),Fe}),this.canvas=b.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(He,Fe){const Te=this.randomNum(He,Fe),ot=this.randomNum(He,Fe),Ct=this.randomNum(He,Fe);return`rgb(${Te}, ${ot}, ${Ct})`}drawText(He,Fe,Te){He.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const ot=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);He.font=ot+"px SimHei";const Ct=10,tn=(this.state.contentWidth-40)/(this.state.code.length-1);let se=Ct;Te>0&&(se=Ct+Te*tn);let Ie=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);ot>40&&(Ie=40);const dt=this.randomNum(-10,10);He.translate(se,Ie),He.rotate(dt*Math.PI/180),He.fillText(Fe,0,0),He.rotate(-dt*Math.PI/180),He.translate(-se,-Ie)}drawLine(He){for(let Fe=0;Fe<1;Fe++)He.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),He.beginPath(),He.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),He.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),He.stroke()}drawDot(He){for(let Fe=0;Fe<100;Fe++)He.fillStyle=this.randomColor(0,255),He.beginPath(),He.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),He.fill()}randomCode(){let He="";const Fe="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let Te=0;Te<this.state.codeLength;Te++){const ot=Math.floor(Math.random()*57);He+=Fe[ot]}this.setState({code:He},()=>{const ot=this.canvas.current.getContext("2d");ot.textBaseline="bottom",ot.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),ot.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let Ct=0;Ct<this.state.code.length;Ct++)this.drawText(ot,this.state.code[Ct],Ct);this.drawLine(ot),this.drawDot(ot)})}render(){const{className:He,width:Fe=300}=this.props;return b.createElement("div",{className:Se()(_e.codeBox,He),style:{width:Fe}},b.createElement("aside",null,b.createElement(pe.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),b.createElement("div",null,b.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),b.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const Be=(it,He)=>{let Fe;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,He),React.createElement(ut,{ref:Te=>Fe=Te})),onOk:()=>he(void 0,null,function*(){if(Fe.onVerify())return Promise.reject();it()})})};var bt=ut},40254:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return ut}});var b=z(59301),Me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},pe=z(92310),_e=z.n(pe),we=z(29787),Se=z(2859),Pe=z(49317),Xe=z(76406),Ee=(Be,bt,it)=>new Promise((He,Fe)=>{var Te=tn=>{try{Ct(it.next(tn))}catch(se){Fe(se)}},ot=tn=>{try{Ct(it.throw(tn))}catch(se){Fe(se)}},Ct=tn=>tn.done?He(tn.value):Promise.resolve(tn.value).then(Te,ot);Ct((it=it.apply(Be,bt)).next())}),ut=({data:Be,className:bt,fullWidth:it,style:He={},onClose:Fe,onOk:Te,showFullTools:ot,noAssociationId:Ct})=>{const tn=(0,b.useRef)(null),se=(0,b.useRef)(null),Ie=(0,b.useRef)(null),dt=(0,b.useRef)(null),[yt,kt]=(0,b.useState)(!1),[Ue,Ke]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Ie.current||(Ie.current=document.createElement("style"),document.head.appendChild(Ie.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),Ie.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&ct()):(document.body.removeAttribute("data-custom"),Ie.current&&(document.head.removeChild(Ie.current),Ie.current=null)),()=>{document.body.removeAttribute("data-custom"),Ie.current&&(document.head.removeChild(Ie.current),Ie.current=null)}),[Be==null?void 0:Be.visible]);const ct=()=>Ee(void 0,null,function*(){kt(!0),Ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const fe=yield(0,Xe.ZJ)(Be==null?void 0:Be.src);tn.current.src="",tn.current.src=fe,tn.current.onload=function(){Ye()},kt(!1),Ke("")}),De=fe=>Ee(void 0,null,function*(){kt(!0),Ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ft=yield(0,Pe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:fe.dataUrl}});Ft!=null&&Ft.id&&!Ct?(yield(0,Pe.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ft==null?void 0:Ft.id,settings:JSON.stringify(fe.state)}})).status===0&&Te():Ft!=null&&Ft.id&&Te(Ft),kt(!1),Ke("")}),gt=()=>{const fe=document.querySelector('a[href="https://markerjs.com/"]');fe&&fe.parentNode&&(fe.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(Ge=>{const xt=document.querySelector(Ge.name);xt&&xt.setAttribute("title",Ge.title)})},Ye=()=>{se.current=new Se.hP(tn.current),se.current.targetRoot=dt.current,se.current.addEventListener("render",De),se.current.addEventListener("beforeclose",Fe),ot&&(se.current.availableMarkerTypes=se.current.ALL_MARKER_TYPES,se.current.uiStyleSettings.redoButtonVisible=!0,se.current.uiStyleSettings.notesButtonVisible=!0,se.current.uiStyleSettings.zoomButtonVisible=!0,se.current.uiStyleSettings.zoomOutButtonVisible=!0,se.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=se.current.uiStyleSettings,se.current.show(),Be!=null&&Be.snapshotData&&se.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),gt()},300)};return b.createElement(b.Fragment,null,(Be==null?void 0:Be.visible)&&b.createElement(we.Z,{spinning:yt,tip:Ue,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:dt,className:_e()(Me.imageDimensions,bt,it?Me.fullWidth:""),style:He},b.createElement("img",{className:Me.img,ref:tn}))))}},9057:function(Tn,cn,z){"use strict";var b=z(59301),Me=z(77019),pe=z(5269),_e=z(31691),we=z(7939),Se=z(35883),Pe=z(74501),Xe=z(48136),Ee=z(59301);const he=(0,b.forwardRef)(({callback:ut,showSaveButton:Be,value:bt=""},it)=>{const He=(0,b.useRef)(),Fe=[{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 "}]}]}],Te=[{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}`}]}]}],ot=se=>{He.current.setValue(He.current.getValue()+" "+se.value+" ")},Ct=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ee.createElement(Me.Z,{className:Pe.Z.lists,gutter:[10,10]},Fe.map((se,Ie)=>Ee.createElement(pe.Z,{flex:"110px",className:Pe.Z.item},Ee.createElement("div",null,Ee.createElement(Se.Z,{value:`$$${se.value}$$`}),se.name),Ee.createElement("div",{className:Pe.Z.children},se.children.map((dt,yt)=>Ee.createElement("div",{key:yt},Ee.createElement("h1",null,dt.name),Ee.createElement(Me.Z,{gutter:[10,10]},dt.data.map((kt,Ue)=>Ee.createElement(pe.Z,{key:Ue,onClick:()=>ot(kt),className:Pe.Z.diamond},Ee.createElement(Se.Z,{value:"`$$"+kt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ee.createElement(Me.Z,{className:Pe.Z.lists,gutter:[10,10]},Te.map((se,Ie)=>Ee.createElement(pe.Z,{flex:"110px",className:Pe.Z.item},Ee.createElement("div",null,Ee.createElement(Se.Z,{value:"`$$"+se.value+"$$`"}),se.name),Ee.createElement("div",{className:Pe.Z.children},se.children.map((dt,yt)=>Ee.createElement("div",{key:yt},dt.name&&Ee.createElement("h1",null,dt.name),Ee.createElement(Me.Z,{gutter:[10,10]},dt.data.map((kt,Ue)=>Ee.createElement(pe.Z,{key:Ue,onClick:()=>ot(kt),className:Pe.Z.diamond},Ee.createElement(Se.Z,{value:"`$$"+kt.value+"$$`"}))))))))))}],tn=()=>{var se=document.createElement("div");se.innerHTML=He.current.getValue();var Ie=se.innerText;return ut&&ut(Ie),Ie};return(0,b.useImperativeHandle)(it,()=>({getData:tn})),Ee.createElement("div",{className:Pe.Z.mathWrap},Ee.createElement(_e.default,{defaultActiveKey:"1",items:Ct}),Ee.createElement("math-field",{locale:"zh_cn",className:Pe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:He,style:{width:800,marginTop:30,fontSize:18}},bt||""),Be&&Ee.createElement("div",{className:Pe.Z.button},Ee.createElement(we.ZP,{size:"large",onClick:tn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});cn.Z=he},90736:function(Tn,cn,z){"use strict";var b=z(59301),Me=z(4977),pe=z(7939),_e=Object.defineProperty,we=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,he=(it,He,Fe)=>He in it?_e(it,He,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):it[He]=Fe,ut=(it,He)=>{for(var Fe in He||(He={}))Xe.call(He,Fe)&&he(it,Fe,He[Fe]);if(Pe)for(var Fe of Pe(He))Ee.call(He,Fe)&&he(it,Fe,He[Fe]);return it},Be=(it,He)=>we(it,Se(He));const bt=({img:it,buttonProps:He={},styles:Fe={},customText:Te,ButtonText:ot,ButtonClick:Ct,Buttonclass:tn,ButtonTwo:se,imgStyles:Ie,loading:dt=!1,className:yt=""})=>b.createElement("section",{className:`tc animated fadeIn ${yt}`,style:ut({color:"#999",margin:"100px auto",visibility:dt?"hidden":"visible"},Fe)},b.createElement("img",{src:it||Me,style:Be(ut({},Ie),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Te||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ot&&b.createElement(pe.ZP,ut({className:tn,onClick:Ct},He),ot),se&&se);cn.Z=bt},47026:function(Tn,cn,z){"use strict";z.d(cn,{Q:function(){return Se}});var b=z(59301),Me=z(82326),pe=z(47889),_e=z(4875),we=z(59301),Se=(Xe=>(Xe[Xe.Number=1]="Number",Xe[Xe.Percent=2]="Percent",Xe))(Se||{});const Pe=({value:Xe,onChange:Ee,disabled:he,hidePercentOption:ut=!1,percentType:Be="select"})=>{const bt=(0,b.useMemo)(()=>ut?1:2,[ut]),[it,He]=(0,b.useState)(bt);console.log(it);const Fe=ot=>Xe.type===1?`${ot}\u5206`:`${ot}%`,Te=(0,b.useCallback)(ot=>{if(it===1){const Ct=ot.replace("\u5206","");return isNaN(parseInt(Ct,10))?0:Ct}else return ot.replace("%","")},[it]);return(0,b.useEffect)(()=>{He(Xe.type)},[Xe]),we.createElement("div",{style:{display:"flex",alignItems:"center"}},Be=="select"&&we.createElement(Me.default,{size:"large",onChange:ot=>{He(ot),Ee({type:ot,inputValue:ot===1?5:20})},value:it||bt,style:{width:100},options:ut?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:he}),Be=="radio"&&we.createElement(pe.ZP.Group,{size:"large",onChange:ot=>{const Ct=ot.target.value;He(Ct),Ee({type:Ct,inputValue:Ct===1?5:20})},value:it||bt,disabled:he},!ut&&we.createElement(pe.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),we.createElement(pe.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Be=="radio"&&we.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Xe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),we.createElement(_e.Z,{size:"large",disabled:he,value:Xe.inputValue,style:{width:"120px"},parser:Te,addonAfter:Xe.type===1?"\u5206":"%",max:it===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ot=>{Ee({type:it,inputValue:ot})}}),Be=="radio"&&Xe.type==2&&we.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};cn.Z=Pe},86974:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return tn}});var b=z(59301),Me={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},pe=z(7939),_e=z(70557),we=z(34728),Se=z(25399),Pe=z(76406),Xe=z(84849),Ee=z(90736),he=z(14185),ut=z(52078),Be=z(59301),bt=Object.defineProperty,it=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Te=(se,Ie,dt)=>Ie in se?bt(se,Ie,{enumerable:!0,configurable:!0,writable:!0,value:dt}):se[Ie]=dt,ot=(se,Ie)=>{for(var dt in Ie||(Ie={}))He.call(Ie,dt)&&Te(se,dt,Ie[dt]);if(it)for(var dt of it(Ie))Fe.call(Ie,dt)&&Te(se,dt,Ie[dt]);return se},Ct=(se,Ie,dt)=>new Promise((yt,kt)=>{var Ue=De=>{try{ct(dt.next(De))}catch(gt){kt(gt)}},Ke=De=>{try{ct(dt.throw(De))}catch(gt){kt(gt)}},ct=De=>De.done?yt(De.value):Promise.resolve(De.value).then(Ue,Ke);ct((dt=dt.apply(se,Ie)).next())}),tn=({editOffice:se="view",data:Ie,issaver:dt,onSaver:yt,theme:kt,type:Ue,filename:Ke,monacoEditor:ct,className:De,style:gt,close:Ye,onClose:fe,hasMask:Ft,disabledDownload:Ge,onImgDimensions:xt,showNodata:fn,recordInfo:ke})=>{const[be,Yt]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ln,Xt]=(0,b.useState)(""),[ge,Re]=(0,b.useState)(),qe=window.ENV==="build"?"/react/build":"",Vt=location.host.startsWith("localhost")?he.Z.PROXY_SERVER:he.Z.API_SERVER,Zt=10*(1024*1024),st=(0,b.useRef)();Ie!=null&&Ie.startsWith("/api")&&Ue!=="txt"&&(Ie=he.Z.API_SERVER+Ie);const $t=de=>de.substring(de.lastIndexOf("/")+1).split(".").pop();Ke&&ct&&(ct.filename=Ke),(0,b.useEffect)(()=>{var de,re;const ue=(re=(de=document.cookie)==null?void 0:de.replace(/\s/g,""))==null?void 0:re.split(";");ue==null||ue.map(xe=>{let tt=xe.split("=");tt[0]==="_educoder_session"&&Xt(tt[1])})},[]),(0,b.useEffect)(()=>{Ue==="office"&&(Ie.indexOf("bigfilescdn.")>-1||Ie.indexOf("bigfiles1")>-1?Re({url:Ie,fileType:$t(Ie),model:Ie.indexOf("model=edit")?"edit":"view"}):Ie.indexOf("coze")>-1?Re({url:Ie,fileType:"doc",model:"view"}):le())},[Ue,Ie]);function Nt(de){return Ct(this,null,function*(){de.data.type==="pdfdata"&&(yt(de.data.data),window.removeEventListener("message",Nt,!1)),console.log("mess---:",de.data)})}const le=()=>Ct(void 0,null,function*(){console.log("data:",Ie);let de=Ie;Ie.startsWith("http")||(de=location.origin+de);let re=new URL(de).pathname.split("/").pop();const ue=yield(0,Xe.gJ)({attachment_id:re});ue.url=Vt+ue.url,Re(ue)}),ne=()=>{if(Ie.startsWith("http")||Ie.startsWith("blob:")){te();return}(0,Pe.Sv)(Ke||"educoder",Ie,Ke)},te=()=>{ke&&(0,ut.fc)({id:ke==null?void 0:ke.id,watch_type:1,course_id:ke==null?void 0:ke.course_id}),(0,Pe.Nd)(Ke||"educoder",decodeURIComponent(Ie))};(0,b.useEffect)(()=>(window.addEventListener("message",ae),()=>{window.removeEventListener("message",ae)}),[]);const ae=de=>{var re;((re=de==null?void 0:de.data)==null?void 0:re.type)==="closePop"&&fe()};return Be.createElement("div",{style:ot({},gt||{}),className:`${Ft&&Me.bgBlack} ${Ue?Me.wrp:"hide"}`},!!Ue&&Ye&&Be.createElement("div",{id:"closePop",className:Me.close,ref:st},!!xt&&Be.createElement(Se.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>st.current},Be.createElement("span",{onClick:()=>{fe(),xt()}},Be.createElement("i",{className:"icon-yulanpizhu"}))),!Ge&&window.parent===window&&Be.createElement(Se.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>st.current},Be.createElement("span",{onClick:te},Be.createElement("i",{className:"icon-quxiaozhiding"}))),dt&&Be.createElement(Se.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>st.current},Be.createElement("span",{className:"",onClick:()=>{const de=document.getElementById("pdfiframe");window.addEventListener("message",Nt,!1),setTimeout(()=>{de.contentWindow.postMessage("getData","*")},300)}},Be.createElement("i",{className:"icon-baocun"}))),Be.createElement(Se.Z,{title:"\u5173\u95ED",getPopupContainer:()=>st.current},Be.createElement("span",{className:"",onClick:()=>{fe()}},Be.createElement("i",{className:"icon-guanbi1"})))),Be.createElement("div",{className:`${Me[De]} ${De} ${Me.monaco} ${Ue==="txt"?"show":"hide"}`},Ue==="txt"&&Be.createElement(Be.Fragment,null,Be.createElement(we.ZP,ot({},ct)))),Ue==="audio"&&Be.createElement("audio",{controls:!0,src:`${(Ie==null?void 0:Ie.indexOf("http://"))>-1||(Ie==null?void 0:Ie.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Ie}`,autoPlay:!0}),Ue==="video"&&Be.createElement(Be.Fragment,null,(Ie==null?void 0:Ie.indexOf("http"))>-1?Be.createElement("video",{controls:!0,src:`${Ie}`,autoPlay:!0}):Be.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Ie}`,autoPlay:!0})),Ue==="office"&&ge&&Be.createElement("iframe",{src:`${qe}/office.html?key=${ge.key}&url=${btoa(ge.url)}&callbackUrl=${Vt+(ge.callbackUrl||"")}&fileType=${ge.fileType}&title=${ge.title||""}&model=${se}&officeServer=${he.Z.ONLYOFFICE}&disabledDownload=${!!Ge}`}),Ue==="html"&&Be.createElement("iframe",{src:Ie+"&disposition=inline"}),Ue==="pdf"&&Be.createElement("iframe",{id:"pdfiframe",src:`${qe}/js/pdf/index.html?filename=${Ke||"educoder.pdf"}&url=${encodeURIComponent(Ie)}&disabledDownload=${!!Ge}&model=${se}`}),Ue==="image"&&Be.createElement("img",{src:`${(Ie==null?void 0:Ie.indexOf("http://"))>-1||(Ie==null?void 0:Ie.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Ie}`}),(Ue==="other"||Ue==="download")&&Be.createElement(Be.Fragment,null,fn?Be.createElement(Ee.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Be.createElement(pe.ZP,{icon:Be.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:Ge},"\u4E0B\u8F7D")}):Be.createElement(pe.ZP,{type:"primary",size:"middle",onClick:ne,disabled:Ge},Be.createElement(_e.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Ue==="flowChart"&&Be.createElement("div",{className:"embed"},Be.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Ie||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Tn,cn,z){"use strict";z.d(cn,{z:function(){return ct},Z:function(){return De}});var b=z(59301),Me=z(46214),pe=z(20047),_e=z(64018),we=z(16471),Se=z(14185),Pe=z(76406),Xe=z(15342),Ee=z(44104),he=z(7939),ut=z(1012),Be=z(86974),bt=z(59301),He=({html:gt})=>{const Ye=(0,b.useRef)(null),fe=(0,b.useRef)(null),Ft=`.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 Ge=Ye.current.attachShadow({mode:"open"});fe.current=document.createElement("div"),fe.current.className="markdown-body",fe.current.innerHTML=gt,Ge.appendChild(fe.current);const xt=document.createElement("style");return xt.textContent=Ft,Ge.appendChild(xt),()=>{Ge.innerHTML=""}},[]),(0,b.useEffect)(()=>{fe.current&&(fe.current.innerHTML=gt)},[gt]),bt.createElement("div",{ref:Ye})};function Fe(gt){const Ye=["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"],fe=new RegExp(`\\b(${Ye.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ft=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return gt.replace(fe,"").replace(Ft,"").trim()}var Te={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},ot=Object.defineProperty,Ct=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Ie=(gt,Ye,fe)=>Ye in gt?ot(gt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:fe}):gt[Ye]=fe,dt=(gt,Ye)=>{for(var fe in Ye||(Ye={}))tn.call(Ye,fe)&&Ie(gt,fe,Ye[fe]);if(Ct)for(var fe of Ct(Ye))se.call(Ye,fe)&&Ie(gt,fe,Ye[fe]);return gt};const yt="@\u2581\u2581@",kt="@\u2581@",Ue=/<pre[^>]*>/g;function Ke(gt){let Ye=document.createElement("div");return Ye.innerHTML=gt,Ye.childNodes.length===0?"":Ye.childNodes[0].nodeValue}const ct=(gt,Ye)=>{gt=gt||"";const fe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ft=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ge=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,xt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ye?gt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(fe,(fn,ke,be,Yt,ln,Xt,ge)=>{const Re=ke||Yt||Xt,qe=be||ln||ge||"?";return Se.Z.API_SERVER+"/api/attachments/"+Re+qe+"&t="+(0,Pe.Jn)(Re,Date.now())+(fn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(gt=gt.replace(xt,(fn,ke,be,Yt,ln,Xt,ge)=>{const Re=ke||Yt||Xt,qe=be||ln||ge||"?";return Se.Z.API_SERVER+"/attachments/download/"+Re+qe+"&t="+(0,Pe.Jn)(Re,Date.now())+(fn.indexOf(")")>-1?")":"&")}).replace(fe,(fn,ke,be,Yt,ln,Xt,ge)=>{const Re=ke||Yt||Xt,qe=be||ln||ge||"?";return Se.Z.API_SERVER+"/api/attachments/"+Re+qe+"&t="+(0,Pe.Jn)(Re,Date.now())+(fn.indexOf(")")>-1?")":"&")}).replace(Ft,(fn,ke,be,Yt,ln)=>{const Xt=ke||Yt,ge=be||ln||"";return'"'+Se.Z.API_SERVER+"/api/attachments/"+Xt+ge+Xt+ge+"&t="+(0,Pe.Jn)(Xt,Date.now())}).replace(Ge,(fn,ke,be,Yt,ln)=>{const Xt=ke||Yt,ge=be||ln||"";return"("+Se.Z.API_SERVER+"/files/uploads/"+Xt+ge+Xt+ge+"&t="+(0,Pe.Jn)(Xt,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,`
|
|
|
`),gt)};var De=({value:gt="",edit:Ye=!1,className:fe,showTextOnly:Ft,showLines:Ge,style:xt={},stylesPrev:fn={},highlightKeywords:ke,showProgramFill:be,isProgramFill:Yt,disabledFill:ln=!1,programFillValue:Xt,openEditor:ge=()=>{},onFillChange:Re=rt=>{},onFillBlur:qe=()=>{},onFillFocus:Vt=()=>{}})=>{let rt=Fe(String(gt||""));const Zt=(0,b.useRef)(),st=(0,b.useRef)(),[$t,Nt]=(0,b.useState)(""),[le,ne]=(0,b.useState)("office"),[te,ae]=(0,b.useState)([]),de=(0,b.useRef)("a"+(0,ut.Z)()),re={},ue=at=>/<style[\s\S]*?>/i.test(at||""),xe=(at,pt,Gt)=>{const Je=document.createElement(at===kt?"input":"textarea");Je.style.width="100%",Je.style.height=at===kt?"40px":"151px",Je.rows=5,Je.spellcheck=!1,Je.name="edu-program-fill",Je.placeholder="\u8BF7\u8F93\u5165",Je.dataset.id=pt;const At=Object.keys(re).length;return re[At]=Je,`<span class="edu-program-fill-wrap ${at===kt?"":"show"}" style="width:${at===kt?"600px":"100%"}" title=${Gt||""}><span>${Je.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function tt(at){return at=at.replace(/!\[.*?\]\(.*?\)/g,""),at=at.replace(/\[.*?\]\(.*?\)/g,""),at=at.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),at=at.replace(/<embed.*?>/g,""),at=at.replace(/<img.*?>/g,""),at=at.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),at=at.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),at=at.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),at=at.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),at}const Ve=at=>!Ft&&ue(rt)?at:at.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(pt,Gt){let Je=Gt.replace(/(\n|\r)/g,"").split("}"),At=[];return Je.map(Jt=>{Jt!=""&&At.push(`.${de.current} ${Jt}`)}),`<style>${At.join("}")}</style>`}),We=(0,b.useMemo)(()=>{(0,pe.Iy)();try{const Je=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,At=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Jt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,an=/\(\/attachments\/download\//g;rt=rt.replace(an,"("+Se.Z.API_SERVER+"/attachments/download/").replace(Je,"("+Se.Z.API_SERVER+"/api/attachments/").replace(At,'"'+Se.Z.API_SERVER+"/api/attachments/").replace(Jt,'"'+Se.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,`
|
|
|
`),Zt.current.style.display="none"}catch(Je){}if(be){let Je=-1;return rt=rt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(At,Jt,an){var Le;return++Je,xe(At,Je,(Le=Xt==null?void 0:Xt[Je])==null?void 0:Le.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ve(rt||"")}</pre>`}let at=Ve(rt);at=(0,pe.ZP)(at);const pt=(0,pe.ez)();rt.match(/\[TOC\]/)&&(at=at.replace("<p>[TOC]</p>",(0,pe.Qv)()),(0,pe.Iy)()),at=at.replace(/(__special_katext_id_\d+__)/g,(Je,At)=>{const{type:Jt,expression:an}=pt[At];return(0,Xe.renderToString)(Ke(an)||"",{displayMode:Jt==="block",throwOnError:!1,output:"html"})}),at=at.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,pe.AL)();const Gt=document.createElement("div");if(Gt.innerHTML=at,Ft)return Gt.innerText;if(ke){const Je=ke.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Oe(Gt,Je),Gt.innerHTML}return setTimeout(()=>Rt(),500),Gt.innerHTML},[rt,ke]);(0,b.useEffect)(()=>{ze.current&&ze.current.querySelectorAll(["input","textarea"]).forEach(pt=>{pt.oninput=lt,pt.onblur=ht,pt.onfocus=Dt})},[te]),(0,b.useEffect)(()=>{var at,pt,Gt,Je,At;if(Xt!=null&&Xt.length)try{const Jt=ze.current.querySelectorAll(".edu-program-fill-score"),an=ze.current.querySelectorAll('[name="edu-program-fill"]');for(const[Le,Et]of an.entries())Et.value=((at=Xt==null?void 0:Xt[Le])==null?void 0:at.value)||"",((pt=Xt==null?void 0:Xt[Le])==null?void 0:pt.type)==="warning"?Et.className="program-fill-warning":((Gt=Xt==null?void 0:Xt[Le])==null?void 0:Gt.type)==="success"?Et.className="program-fill-success":Et.className="";for(const[Le,Et]of Jt.entries())Et.innerHTML=(Je=Xt==null?void 0:Xt[Le])!=null&&Je.score?`${(At=Xt==null?void 0:Xt[Le])==null?void 0:At.score}\u5206`:"";ae(Xt)}catch(Jt){console.log(Jt,"error")}},[Xt]);const lt=at=>{te[at.target.dataset.id]=te[at.target.dataset.id]||{},te[at.target.dataset.id].value=at.target.value,ae([...te]),Re(te,at.target.dataset.id)},ht=at=>{te[at.target.dataset.id]=te[at.target.dataset.id]||{},te[at.target.dataset.id].value=at.target.value,ae([...te]),qe(te,at.target.dataset.id)},Dt=at=>{te[at.target.dataset.id]=te[at.target.dataset.id]||{},te[at.target.dataset.id].value=at.target.value,ae([...te]),Vt(te,at.target.dataset.id)};function Oe(at,pt){return at.childNodes.forEach(Gt=>{var Je;if(Gt.childNodes.length>0)Oe(Gt,pt);else if(Gt.nodeName!=="IMG")if(Gt.innerHTML)Gt.innerHTML=(Je=Gt.innerHTML)==null?void 0:Je.replace(new RegExp(pt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const At=document.createElement("span");At.innerHTML=Gt.textContent.replace(new RegExp(pt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Gt.replaceWith(At)}})}const ze=(0,b.useRef)();pe.jb.WebkitLineClamp=Ge,Ge&&(xt=dt(dt({},xt),pe.jb));function on(at){let pt=at.target;if(pt.tagName.toUpperCase()==="A"){let Gt=pt.getAttribute("href");if(Gt.indexOf("office")>-1)at.preventDefault(),Nt(Gt),ne("office");else if(Gt.indexOf("application/pdf")>-1)at.preventDefault(),Nt(Gt),ne("pdf");else if(Gt.indexOf("text/html")>-1)at.preventDefault(),Nt(Gt),ne("html");else if(Gt.startsWith("#")){at.preventDefault();let Je=document.getElementById(Gt.replace("#",""));Je&&Je.scrollIntoView(!0)}}}const Rt=()=>{var at;const pt=(at=ze.current)==null?void 0:at.querySelectorAll("video");pt==null||pt.forEach(Gt=>{if(Gt.oncontextmenu=()=>!1,Gt.src.indexOf(".m3u8")>-1&&!Gt.canPlayType("application/vnd.apple.mpegurl")){if(we.ZP.isSupported()){var Je=new we.ZP;Je.loadSource(Gt.src),Je.attachMedia(Gt)}}})};(0,b.useEffect)(()=>{if(ze.current&&We&&We.match(Ue)&&window.PR.prettyPrint(),ze.current)return ze.current.addEventListener("click",on),()=>{var at;(at=ze.current)==null||at.removeEventListener("click",on),(0,pe.AL)(),(0,pe.Iy)()}},[We,ze.current,on]);const vn=at=>{at.target.nodeName==="IMG"&&at.target.className.indexOf("draw-flowchart")>-1?(Zt.current.style.zIndex=1,Zt.current.style.display="flex",Zt.current.style.width=at.target.clientWidth+"px",Zt.current.style.height=at.target.clientHeight+"px",Zt.current.style.top=at.target.offsetTop+"px",Zt.current.style.left=at.target.offsetLeft+"px",at.target.id&&(st.current=at.target.id)):Zt.current.style.display="none"},Bt=()=>{Zt.current.style.display="none"};return(0,b.useEffect)(()=>{var at;const pt=Gt=>{Gt.preventDefault(),Gt.clipboardData.setData("text",window.getSelection().toString())};return(at=ze.current)==null||at.addEventListener("copy",pt),()=>{var Gt;(Gt=ze.current)==null||Gt.removeEventListener("copy",pt)}},[ze.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:Bt},Ft&&b.createElement("div",{ref:ze,className:`${Te.mdBody} `},We),!Ft&&!ue(We)&&b.createElement("div",{ref:ze,style:dt({},xt),onMouseOver:vn,className:`${fe||""} ${ln?"disabled-fill":""} markdown-body ${Te.mdBody} ${de.current}`,dangerouslySetInnerHTML:{__html:We}}),!Ft&&ue(We)&&b.createElement(He,{html:We}),b.createElement("div",{ref:Zt,className:`${Te.button} ${Ye?"":Te.previewFlowChart}`},b.createElement(Ee.Z,null,b.createElement(he.ZP,{onClick:()=>{Ye?ge(st.current):(Nt(st.current),ne("flowChart"))}},Ye?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Be.Z,{close:!0,data:$t,type:$t!=null&&$t.length?le:"",style:dt({},fn),onClose:()=>Nt("")}))}},27878:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(59301),Me={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:"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UCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Se=(Ee,he,ut)=>new Promise((Be,bt)=>{var it=Te=>{try{Fe(ut.next(Te))}catch(ot){bt(ot)}},He=Te=>{try{Fe(ut.throw(Te))}catch(ot){bt(ot)}},Fe=Te=>Te.done?Be(Te.value):Promise.resolve(Te.value).then(it,He);Fe((ut=ut.apply(Ee,he)).next())}),Xe=({type:Ee,resdata:he,onok:ut,oktext:Be,okloading:bt})=>{const[it,He]=(0,b.useState)(!1),{can_copy_list:Fe,can_copy_num:Te,challenge_type:ot,course_data_list:Ct,no_copy_list:tn,no_copy_num:se,no_use_list:Ie,no_use_num:dt,repeat_shixun_num:yt,student_count:kt,total_num:Ue,use_num:Ke}=he;let ct=Te>0||Ee==="exercise";(0,b.useEffect)(()=>{(he==null?void 0:he.student_count)>0&&He(!0)},[he]),console.log("---11",bt),(0,b.useEffect)(()=>{bt||He(!1)},[bt]);const De=()=>{if(Ee==="exercise"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Me.orangeColor},Ke),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Me.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(Ee==="exercise"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Me.orangeColor},Ke),"\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:Me.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Me.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\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:Me.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Me.orangeColor},Ke),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Me.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:Me.orangeColor},kt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:Me.orangeColor},Ke)," \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:Me.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:Me.orangeColor},Ke),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:Me.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(Ee==="shixunpush"&&ot===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:Me.orangeColor},Ke),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Me.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixunpush"&&ot===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:Me.orangeColor},kt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:Me.orangeColor},Ke),"\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:Me.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},gt=()=>{if(Ee==="exercise"||Ee==="subject"||Ee==="exercisepush"||Ee==="shixunpush")return b.createElement("div",{style:{marginTop:20}},se>0&&b.createElement("div",null,b.createElement("span",{className:Me.flex},b.createElement("img",{src:we,style:{width:14}}),b.createElement("span",{className:Me.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:Me.statusbody},Ee==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:Me.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"),(Ee==="subject"||Ee==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ct&&b.createElement("span",{className:Me.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"),Ee==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ct&&b.createElement("span",{className:Me.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,tn==null?void 0:tn.map((Ye,fe)=>b.createElement("a",{href:`/shixuns/${Ye.identifier}/challenges`,target:"_blank"},"\u300A",Ye==null?void 0:Ye.name,"\u300B",fe+1!==se&&"\u3001"))))),Te>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:Me.flex},b.createElement("img",{src:_e,style:{width:14}}),b.createElement("span",{className:Me.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:Me.statusbody},Ee==="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"),(Ee==="subject"||Ee==="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"),Ee==="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,Fe==null?void 0:Fe.map((Ye,fe)=>b.createElement("a",{href:`/shixuns/${Ye.identifier}/challenges`,target:"_blank"},"\u300A",Ye==null?void 0:Ye.name,"\u300B",fe+1!==Te&&"\u3001"))))));if(Ee==="shixun")return b.createElement("div",{style:{marginTop:20}},Te>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:it,onCancel:()=>{He(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ct&&"none"}},zIndex:1003,confirmLoading:bt,okText:ct?Be:"\u6211\u77E5\u9053\u4E86",onOk:()=>Se(void 0,null,function*(){ct?yield ut([...Fe,...Ie]):He(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},De(),gt()))}},28267:function(Tn,cn,z){"use strict";z.d(cn,{h:function(){return se}});var b=z(59301),Me=z(82326),pe=z(28284),_e=z(7939),we=z(89780),Se=z.n(we),Pe=z(88319),Xe=z(94896),Ee=Object.defineProperty,he=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,He=(Ie,dt,yt)=>dt in Ie?Ee(Ie,dt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Ie[dt]=yt,Fe=(Ie,dt)=>{for(var yt in dt||(dt={}))bt.call(dt,yt)&&He(Ie,yt,dt[yt]);if(Be)for(var yt of Be(dt))it.call(dt,yt)&&He(Ie,yt,dt[yt]);return Ie},Te=(Ie,dt)=>he(Ie,ut(dt));const ot=Me.default.Option,Ct={labelCol:{span:4},wrapperCol:{span:20}},tn={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"]};cn.Z=({callback:Ie,onCancel:dt})=>{const[yt,kt]=(0,b.useState)("python");function Ue(ct){kt(tn[ct][1])}function Ke(ct){Ie(ct)}return b.createElement(pe.default,Te(Fe({},Ct),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ke,style:{width:500}}),b.createElement(pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(Me.default,{getPopupContainer:ct=>ct.parentNode,onChange:Ue},Object.keys(tn).map(ct=>b.createElement(ot,{key:ct,value:ct},tn[ct][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(se,{mode:yt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(_e.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(_e.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))};function se({value:Ie,onChange:dt,mode:yt,options:kt={}}){const Ue=(0,b.useRef)(),[Ke,ct]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ke){let De=function(gt){const Ye=gt.getValue();dt&&dt(Ye)};return Ke.on("change",De),()=>{Ke.off("change",De)}}},[Ke,dt]),(0,b.useEffect)(()=>{Ke&&Ke.setOption("mode",yt)},[Ke,yt]),(0,b.useEffect)(()=>{Ke&&(Ie!==Ke.getValue()||Ie==="")&&setTimeout(()=>{Ke.setValue(Ie||"")},300)},[Ke,Ie]),(0,b.useEffect)(()=>{if(Ue.current&&!Ke){const De=Se().fromTextArea(Ue.current,Fe({mode:yt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},kt));ct(De)}},[Ue.current,Ke]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Ue}))}},39116:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return jt}});var b=z(59301),Me=z(44283),pe=z(89780),_e=z.n(pe),we=z(76374),Se=z(88319),Pe=z(6313),Xe=z(25717),Ee=z(99498),he=z(25419),ut=z(67549),Be=z(35883),bt=({value:Ot="",className:bn,showTextOnly:pn,showLines:On,style:Qn={}})=>{const Hn=(0,b.useMemo)(()=>"",[Ot]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Hn}}))},it=Object.defineProperty,He=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,tn=(Ot,bn,pn)=>bn in Ot?it(Ot,bn,{enumerable:!0,configurable:!0,writable:!0,value:pn}):Ot[bn]=pn,se=(Ot,bn)=>{for(var pn in bn||(bn={}))ot.call(bn,pn)&&tn(Ot,pn,bn[pn]);if(Te)for(var pn of Te(bn))Ct.call(bn,pn)&&tn(Ot,pn,bn[pn]);return Ot},Ie=(Ot,bn)=>He(Ot,Fe(bn));let dt=[{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 yt({onActionCallback:Ot,title:bn,icon:pn,actionName:On,className:Qn="",children:Hn}){function Dn(){Ot(On)}return b.createElement("a",{title:bn,className:Qn,onClick:Dn},b.createElement("i",{className:`${pn}`}),Hn)}var kt=({watch:Ot,showNullButton:bn,showNullProgramButton:pn,onActionCallback:On,fullScreen:Qn,insertTemp:Hn,hidetoolBar:Dn,extraUse:ir})=>{const Fn=[...dt,{title:`${Ot?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ot?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Dn&&Fn.map((pr,Dr)=>b.createElement("li",{key:Dr},pr.actionName?b.createElement(yt,Ie(se({},pr),{onActionCallback:On})):b.createElement("span",{className:"v-line"}))),bn?b.createElement("li",null,b.createElement(yt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:On},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,pn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(yt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:On},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(yt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:On},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Hn&&b.createElement("li",null,b.createElement(yt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Hn}`,onActionCallback:On},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ir&&b.createElement("li",null,ir),b.createElement("li",{className:"btn-full-screen"},b.createElement(yt,{icon:`${Qn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Qn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:On})))},Ue=z(88487),Ke=z(28284),ct=z(37568),De=z(7939),gt=Object.defineProperty,Ye=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,fn=(Ot,bn,pn)=>bn in Ot?gt(Ot,bn,{enumerable:!0,configurable:!0,writable:!0,value:pn}):Ot[bn]=pn,ke=(Ot,bn)=>{for(var pn in bn||(bn={}))Ge.call(bn,pn)&&fn(Ot,pn,bn[pn]);if(Ft)for(var pn of Ft(bn))xt.call(bn,pn)&&fn(Ot,pn,bn[pn]);return Ot},be=(Ot,bn)=>Ye(Ot,fe(bn));const Yt={labelCol:{span:4},wrapperCol:{span:20}};var ln=({callback:Ot,onCancel:bn})=>{function pn(On){Ot(On)}return b.createElement(Ke.default,be(ke({},Yt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pn,style:{width:500}}),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(ct.default,null)),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(ct.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(De.ZP,{type:"ghost",onClick:bn},"\u53D6\u6D88")))},Xt=z(28267),ge=z(53332),Re=z(62957),qe=z(77019),Vt=z(40254),rt=z(59301),Zt=({callback:Ot,onCancel:bn})=>{const pn=document.createElement("canvas"),On=pn.getContext("2d");pn.width=1e3,pn.height=800,On.fillStyle="#ffffff",On.fillRect(0,0,pn.width,pn.height);const Qn=pn.toDataURL("image/png");return rt.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},rt.createElement(qe.Z,{style:{height:"100vh"}},rt.createElement(Vt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Qn,visible:!0,title:String(Date.now())},onOk:Hn=>{Ot({src:Hn.url})},onClose:bn})))},st=z(36207),$t=z(5269),Nt=z(6767),le={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=z(59301),ae=(0,b.forwardRef)(({onCancel:Ot,editImgId:bn,callback:pn},On)=>{let Qn=(0,b.useRef)(),Hn=(0,b.useRef)(),Dn=(0,b.useRef)(),ir=(0,b.useRef)(!1);const Fn=(0,b.useRef)(!1);console.log("ref:",On);const[pr,Dr]=(0,b.useState)(0),[xn,kn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Dr(1)},[]),(0,b.useImperativeHandle)(On,()=>({setHeight:kn})),ne.createElement("div",{ref:Fn,className:"body-overflow-initial"},ne.createElement(st.Z,{width:"100vw",height:xn,footer:null,closable:!0,placement:"bottom",open:!!pr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${le.drawerWrap}`,onClose:()=>{window.saveDrawData(nr=>{pn({src:`/api/attachments/${nr}`,id:nr})})},title:ne.createElement(qe.Z,{align:"middle"},ne.createElement($t.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement($t.Z,{onClick:()=>{kn(xn==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement($t.Z,{onClick:()=>{window.saveDrawData(nr=>{if(nr===null){Nt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Nt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),pn({src:`/api/attachments/${nr}`,id:nr,disabledClose:!0})})}},ne.createElement(De.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${bn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Hn})))}),de=z(14185),re=z(47889),ue=z(4875);const xe=re.ZP.Group,tt={margin:"0 8px"};var Ve=({callback:Ot,onCancel:bn})=>{function pn(On){Ot(On)}return b.createElement(Ke.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:pn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:tt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:tt},"\u884C\u6570"),b.createElement(Ke.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ue.Z,null)),b.createElement("span",{style:tt},"\u5217\u6570"),b.createElement(Ke.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ue.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:tt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ke.default.Item,{name:"align"},b.createElement(xe,null,b.createElement(re.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(re.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(re.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(re.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(De.ZP,{type:"ghost",onClick:bn},"\u53D6\u6D88")))},We=z(58755),lt=z(84915),ht=z.n(lt),Oe=(0,b.forwardRef)(({use3d:Ot,width:bn,height:pn,callback:On,showSaveButton:Qn},Hn)=>{const Dn=(0,b.useRef)(),ir=(0,b.useRef)(),[Fn,pr]=(0,b.useState)(!1),Dr=(0,b.useRef)({id:Dn,appName:"graphing",width:bn||1e3,height:pn||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)(()=>{ir.current=new(ht())(Dr.current,!0),window.onload=function(){ir.current.inject("applet_container")}},[]);const xn=()=>{var kn=window.ggbApplet.getPNGBase64(1,!0,72);return On&&On(kn),kn};return(0,b.useEffect)(()=>{Dr.current.appName=Fn?"3D":"graphing",ir.current.inject("applet_container")},[Fn]),(0,b.useEffect)(()=>{pr(Ot)},[Ot]),(0,b.useImperativeHandle)(Hn,()=>({getImgData:xn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dn}),b.createElement(qe.Z,{align:"middle"},b.createElement($t.Z,{flex:1},b.createElement(We.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Fn,onChange:kn=>pr(kn)})),b.createElement($t.Z,null,b.createElement(De.ZP,{size:"large",onClick:xn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ze=z(9057);const on="link",Rt="upload-image",vn="add-flowchart",Bt="draw-image",at="add-flowchart",pt="code-block",Gt="add-table",Je="------------",At={default:Je,left:`:${Je}`,center:`:${Je}:`,right:`${Je}:`};var Jt=z(79006),an=z(76406);function Le(){}let Et=0;const zt=1e4,rn="\u2581",yn="@\u2581\u2581@",Nn="@\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`,Xn=["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(Ot){return/^\d+$/.test(Ot)?`${Ot}px`:Ot}const wt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",mt={[wt+"-B"]:"bold",[wt+"-I"]:"italic"},qt={[on]:"\u6DFB\u52A0\u94FE\u63A5",[pt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Rt]:"\u6DFB\u52A0\u56FE\u7247",[Bt]:"\u6DFB\u52A0\u753B\u56FE",[vn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Gt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var jt=({defaultValue:Ot="",onChange:bn,width:pn="100%",height:On=400,miniToolbar:Qn=!1,isFocus:Hn=!1,watch:Dn,insertTemp:ir,mode:Fn="markdown",id:pr="markdown-editor-id",showResizeBar:Dr=!1,noStorage:xn=!1,showNullButton:kn=!1,showNullProgramButton:nr=!1,hidetoolBar:rr=!1,fullScreen:Pt=!1,onBlur:Ut,onCMBeforeChange:nt,onFullScreen:et,className:Qe="",disablePaste:Mt=!1,disabled:Ne=!1,disabledFill:Kt=!1,placeholder:Qt="",values:un="",extraUse:Tt,onAddBlank:Lt})=>{const[Wt,nn]=(0,b.useState)(null),[Wn,Zn]=(0,b.useState)(Ot),[Yn,Nr]=(0,b.useState)(Dn),[zr,Qr]=(0,b.useState)(Pt),[Fr,yr]=(0,b.useState)(""),[Pr,Vr]=(0,b.useState)(0),[ni,ri]=(0,b.useState)(On),[ai,Br]=(0,b.useState)(!1),[_r,$r]=(0,b.useState)(0),[Ri,Wi]=(0,b.useState)(0),Zi=(0,b.useRef)(),zi=(0,b.useRef)(),_i=(0,b.useRef)(),wi=(0,b.useRef)(),Mi=(0,b.useRef)(),fi=(0,b.useRef)(),$i=(0,Me.useDispatch)();(0,b.useEffect)(()=>{const or=window.scrollY||window.pageYOffset;Zn(un),Wt==null||Wt.setValue(un),window.scrollTo(0,or)},[un]),(0,b.useEffect)(()=>{et==null||et(zr)},[zr]),(0,b.useEffect)(()=>{if(Zi.current){let or=function(xr,Zr){var ji;if(Mt){Zr.preventDefault();return}const po=Zr.clipboardData;if(po){const ao=po.types.toString(),Io=po.items;if(ao==="Files"||po.types.indexOf("Files")>-1){if(Zr.preventDefault(),Fn=="stex")return;try{let wo=Io[1];((ji=Io[0])==null?void 0:ji.kind)==="file"&&(wo=Io[0]);const Co=wo.getAsFile(),Lo=Co.name.split(".").pop();(0,ge.I)(Co,Oo=>{var Mo,ha,Aa;Oo.id?((Mo=Co==null?void 0:Co.type)==null?void 0:Mo.indexOf("image"))>-1?Jn.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?Jn.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?Jn.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=${Co.type}&disposition=inline" target="_blank">${Co.name}</a>`):Xn.includes(Lo)?Jn.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=office&disposition=inline" target="_blank">${Co.name}</a>`):Jn.replaceSelection(`[${Co.name}](/api/attachments/${Oo.id}?type=${Oo.content_type})`):(Oo==null?void 0:Oo.status)===401&&(document.location.href="/user/login")})}catch(wo){Nt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Jn=_e().fromTextArea(Zi.current,{mode:Fn,lineNumbers:!Qn,lineWrapping:!0,value:Ot,autoCloseTags:!0,autoCloseBrackets:!0});return Jn.on("keyup",function(xr,Zr){Zr.keyCode===8&&(xr.getValue()==""?Jn.setOption("placeholder",Qt):Jn.setOption("placeholder",null))}),Jn.on("keydown",function(xr,Zr){if(Zr.keyCode===8){var ji=Ro(xr);ji&&Zr.preventDefault()}}),Hn&&Jn.focus(),Jn.on("paste",or),Ne&&Jn.on("beforeChange",function(xr,Zr){(Zr.origin==="paste"||Zr.origin==="+input")&&Zr.cancel()}),nn(Jn),()=>{Jn.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 Jn=new we.Z(xr=>{for(let Zr of xr)(Zr.target.offsetHeight>0||Zr.target.offsetWidth>0)&&(oo(),Wt.setSize("100%","100%"),Wt.refresh())});return Jn.observe(Zi.current.parentElement),Jn}if(Wt){const Jn=or();return()=>{var xr,Zr;(xr=Zi.current)!=null&&xr.parentElement&&Jn.unobserve((Zr=Zi.current)==null?void 0:Zr.parentElement)}}},[Wt,oo]),(0,b.useEffect)(()=>{if(Wt){let or=[];for(const[Jn,xr]of Object.entries(mt)){let Zr={[Jn]:()=>{fo(xr)}};or.push(Zr),Wt.addKeyMap(Zr)}return()=>{for(let Jn of or)Wt.removeKeyMap(Jn)}}},[Wt]),(0,b.useEffect)(()=>{Pt!==zr&&Qr(Pt)},[Pt]),(0,Jt.Z)(()=>{if(!xn&&Pr>0){let or=new Date().getTime(),Jn=window.sessionStorage.getItem(pr);or>=Pr+zt&&(!Jn||Jn!==Wn)&&(window.sessionStorage.setItem(pr,Wn),Br(!0))}},zt),(0,b.useEffect)(()=>{Nr(Dn)},[Wt,Dn]),(0,b.useEffect)(()=>{Wt&&Hn&&Wt.focus()},[Wt,Hn]),(0,b.useEffect)(()=>{if(Yn&&Wt){let or=function(xr){let Zr=xr.target;if(wi.current){let ji=Zr.scrollTop/Zr.scrollHeight;wi.current.scrollTop=wi.current.scrollHeight*ji}};const Jn=Wt.getScrollerElement();return Jn.addEventListener("scroll",or),()=>{Jn.removeEventListener("scroll",or)}}},[Wt,Yn]),(0,b.useEffect)(()=>{if(Wt&&nt){let or=function(Jn,xr){nt(Jn,xr)};return Wt.on("beforeChange",or),()=>{Wt.off("beforeChange",or)}}},[Wt,nt]),(0,b.useEffect)(()=>{if(Wt&&Ut){let or=function(){Ut(Wt.getValue())};return Wt.on("blur",or),()=>{Wt.off("blur",or)}}},[Wt,Ut]);function Ro(or,Jn){var xr=or.getDoc(),Zr=xr.getCursor(),ji=xr.getLine(Zr.line),po=ji.charAt(Zr.ch-1),ao=ji.lastIndexOf("@\u2581@",Zr.ch),Io=ji.lastIndexOf("@\u2581\u2581@",Zr.ch),wo=ao>Io?ao:Io,Co=ao>Io?3:4;if(yn.indexOf(po)===-1)return null;if(console.log("change1:",Jn,or,ji,Zr,wo,ao,Io,po),wo>=0&&Zr.ch-wo<5){var Lo=wo+Co;return xr.replaceRange("",{line:Zr.line,ch:wo},{line:Zr.line,ch:Lo}),{line:Zr.line,ch:Lo}}return null}(0,b.useEffect)(()=>{if(Wt){let or=function(Jn,xr){const Zr=Jn.getValue();Zn(Zr),Vr(new Date().getTime()),Jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),bn&&(nr?bn(Zr,lr(Zr)):bn(Zr))};return Wt.on("change",or),()=>{Wt.off("change",or)}}},[Wt,bn]),(0,b.useEffect)(()=>{if(Wt)if(Ot==null)Wt.setValue(""),Zn("");else{const or=window.scrollY||window.pageYOffset;Ot!==Wt.getValue()&&(Wt.setValue(Ot),Zn(Ot),Wt.setCursor(Ne?1:Wt.lineCount(),0),window.scrollTo(0,or))}},[Wt,Ot]);const fo=(0,b.useCallback)(or=>{const Jn=Wt.getCursor(),xr=Wt.getSelection();let Zr=xr.split(`
|
|
|
`);switch(or){case"bold":return Wt.replaceSelection("**"+xr+"**"),xr===""&&Wt.setCursor(Jn.line,Jn.ch+2),Wt.focus();case"italic":return Wt.replaceSelection("*"+xr+"*"),xr===""&&Wt.setCursor(Jn.line,Jn.ch+1),Wt.focus();case"code":return Wt.replaceSelection("`"+xr+"`"),xr===""&&Wt.setCursor(Jn.line,Jn.ch+1),Wt.focus();case"inline-latex":return(0,an.Ye)($i)?void 0:(yr("inline-latex"),Wt.focus());case"latex":return Wt.replaceSelection("```latex\n"+xr+"\n```"),Wt.setCursor(Jn.line+1,xr.length+1),Wt.focus();case"line-break":return Wt.replaceSelection(`<br/>
|
|
|
`),Wt.focus();case"list-ul":return xr===""?Wt.replaceSelection("- "+xr):Wt.replaceSelection(Zr.map(ji=>ji===""?"":`- ${ji}`).join(`
|
|
|
`)),Wt.focus();case"list-ol":return xr===""?Wt.replaceSelection("1. "+xr):Wt.replaceSelection(Zr.map((ji,po)=>ji===""?"":`${po+1}. ${ji}`).join(`
|
|
|
`)),Wt.focus();case"add-null-ch":Lt==null||Lt();return;case"add-signal":return xr===""&&Wt.setCursor(Jn.line,Jn.ch),Wt.replaceSelection(Nn),Wt.focus();case"add-multiple":return xr===""&&Wt.setCursor(Jn.line,Jn.ch),Wt.replaceSelection(yn),Wt.focus();case"inster-template-1":return xr===""&&Wt.setCursor(Jn.line,Jn.ch),Wt.replaceSelection(Vn),Wt.focus();case"eraser":return Wt.setValue(""),Wt.focus();case"trigger-watch":return Nr(!Yn),Wt.focus();case"trigger-full-screen":return Qr(!zr),Wt.focus();case on:yr(on);return;case pt:yr(pt);return;case Rt:yr(Rt);return;case Bt:yr(Bt);return;case"maths-latex":if((0,an.Ye)($i))return;yr("maths-latex");return;case vn:Mi.current="",sessionStorage.removeItem("file_id"),yr(vn);return;case Gt:yr(Gt);return;default:throw new Error}},[Wt,Yn,zr]),bo=(0,b.useCallback)((or,Jn)=>{var xr,Zr,ji,po,ao,Io;or!=null&&or.disabledClose||yr("");const{src:wo,alt:Co,id:Lo}=or||{};switch(Fr){case on:const{title:xa,link:Fa}=or;return Wt.replaceSelection(`[${xa}](${Fa})`),Wt.focus();case pt:const{language:Da,content:Gi}=or;return Wt.replaceSelection(["```"+Da,Gi,"```"].join(`
|
|
|
`)),Wt.focus();case"maths-latex":for(var Oo=atob(or),Mo=new Uint8Array(Oo.length),ha=0;ha<Oo.length;ha++)Mo[ha]=Oo.charCodeAt(ha);var Aa=new Blob([Mo],{type:"image/png"});return(0,ge.I)(Aa,ho=>{ho.id?Wt.replaceSelection(``):(ho==null?void 0:ho.status)===401&&(document.location.href="/user/login")}),Wt.focus();case"inline-latex":return(0,an.Ye)($i)?void 0:(Wt.replaceSelection("`$$"+or+"$$`"),Wt.focus());case at:return Lo?(Wt.getValue().indexOf(wo)===-1?Wt.replaceSelection(`<center><img id="${Lo}" width="80%" src="${wo}" class="draw-flowchart" alt="${Co||""}" /></center>`):document.getElementById(Lo).src=de.Z.API_SERVER+wo+"?t="+Date.now(),Wt.focus()):void 0;case Rt:case Bt:const Ni=Jn,ea=(ji=(Zr=(xr=Ni==null?void 0:Ni.name)==null?void 0:xr.split("."))==null?void 0:Zr.pop)==null?void 0:ji.call(Zr);return((po=Ni==null?void 0:Ni.type)==null?void 0:po.indexOf("image"))>-1||!(Ni!=null&&Ni.type)?Ni!=null&&Ni.align||Ni!=null&&Ni.width?Wt.replaceSelection(`<p style="text-align:${Ni.align||"initial"}"><img width="${Ni.width?Ni.width+"%":"initial"}" src="${wo}" alt="${Co||""}" /></p>`):Wt.replaceSelection(`<img width="100%" src="${wo}" alt="${Co||""}" />`):((ao=Ni==null?void 0:Ni.type)==null?void 0:ao.indexOf("video"))>-1?Wt.replaceSelection(`<video width="100%" controls src="${wo}"></video>`):((Io=Ni==null?void 0:Ni.type)==null?void 0:Io.indexOf("pdf"))>-1?Wt.replaceSelection(`<a href="${wo}?type=${Ni.type}&disposition=inline" target="_blank">${Ni.name}</a>`):Xn.includes(ea)?Wt.replaceSelection(`<a href="${wo}?type=office&disposition=inline" target="_blank">${Ni.name}</a>`):Wt.replaceSelection(`[${Ni.name}](${wo})`),Wt.focus();case Gt:const{row:ta,col:Xi,align:Ho}=or;let _o=`
|
|
|
`;for(let ho=0;ho<ta;ho++){let Zo=[],Bo=[];for(let La=0;La<Xi;La++)ho===1&&Bo.push(At[Ho]),Zo.push(" ");ho===1&&(_o+=`| ${Bo.join(" | ")} |
|
|
|
`),_o+=`| ${Zo.join(Xi===1?"":" | ")} |
|
|
|
`}return Wt.replaceSelection(_o+`
|
|
|
`),Wt.focus();default:throw new Error}},[Wt,Fr]),co=(0,b.useMemo)(()=>{switch(Fr){case on:return b.createElement(ln,{callback:bo,onCancel:yo});case pt:return b.createElement(Xt.Z,{callback:bo,onCancel:yo});case Rt:return b.createElement(ge.Z,{callback:bo,onCancel:yo});case vn:return b.createElement(ae,{editImgId:Mi.current,callback:bo,onCancel:yo});case Gt:return b.createElement(Ve,{callback:bo,onCancel:yo});case"maths-latex":return b.createElement(Oe,{showSaveButton:!0,callback:bo});case"inline-latex":return b.createElement(ze.Z,{showSaveButton:!0,callback:bo});default:return null}},[Fr]);function yo(){yr("")}(0,b.useEffect)(()=>{if(_i.current){let or=function(ao){ji=!0,po=ao.pageY},Jn=function(){ji=!1},xr=function(ao){if(ji){let Io=ao.pageY-po;Io<0&&(Io=0),Io>300&&(Io=300);let wo=On+Io+"px";ri(wo)}},Zr=_i.current,ji=!1,po=0;return Zr.addEventListener("mousedown",or),document.addEventListener("mousemove",xr),document.addEventListener("mouseup",Jn),()=>{Zr.removeEventListener("mousedown",or),document.removeEventListener("mousemove",xr),document.removeEventListener("mouseup",Jn)}}},[Wt,_i]),(0,b.useEffect)(()=>{ri(On)},[On]);const Bi=Bn(pn),Ai=Bn(ni),Gr={width:Bi,height:Ai},Un=(0,b.useMemo)(()=>{if(Pr){let or=new Date(Pr),Jn=or.getHours(),xr=or.getMinutes(),Zr=or.getSeconds();return Jn=Jn<10?"0"+Jn:Jn,xr=xr<10?"0"+xr:xr,Zr=Zr<10?"0"+Zr:Zr,`${Jn}:${xr}:${Zr}`}return 0},[Pr]),lr=or=>{const Jn=[];if(nr){let xr=-1;or=or.replace(/(@▁▁@|@▁@)/g,function(Zr,ji,po){Jn.push({multiLine:Zr!==Nn})})}return Jn};function cr(){window.sessionStorage.removeItem(pr),Br(!1),Vr(0)}function qn(){Br(!1),Vr(0),Wt.setValue(window.sessionStorage.getItem(pr))}(0,b.useEffect)(()=>{qt[Fr]&&Fr!==Bt&&Fr!==vn&&setTimeout(()=>{const or=document.getElementsByClassName("markdown-popup-form")[0],Jn=window.innerWidth/2-or.offsetWidth/2,xr=window.innerHeight/2-or.offsetHeight/2;$r(Jn),Wi(xr)},0)},[Fr]);const Hr=or=>{or.preventDefault();const Jn=or.clientX-_r,xr=or.clientY-Ri;document.body.onmousemove=Zr=>{let ji=Zr.clientX-Jn,po=Zr.clientY-xr;const ao=document.getElementsByClassName("markdown-popup-form")[0],Io=window.innerWidth-ao.offsetWidth,wo=window.innerHeight-ao.offsetHeight;ji=Math.max(0,Math.min(ji,Io)),po=Math.max(0,Math.min(po,wo)),qr(Zr.clientX,Zr.clientY,Jn,xr)&&($r(ji),Wi(po))},document.body.onmouseup=function(){document.body.onmousemove=null}},qr=(or,Jn,xr,Zr)=>{const ji=document.body.clientHeight,po=document.body.clientWidth;return or<20&&xr>or||or>po-20&&xr<or||Jn<20&&Zr>Jn||Jn>ji-20&&Zr<Jn?(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 ${Qe} ${Yn?"on-preview":""} ${Qn?"mini":""} ${zr?"full-screen":""}`,style:Gr},b.createElement(kt,{insertTemp:ir,watch:Yn,fullScreen:zr,showNullButton:kn,showNullProgramButton:nr,onActionCallback:fo,hidetoolBar:rr,extraUse:Tt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Zi,placeholder:Qt})),Yn?b.createElement("div",{ref:wi,className:"preview-container"},Fn==="stex"&&b.createElement(bt,{value:Wn}),Fn!=="stex"&&b.createElement(Be.Z,{edit:!0,disabledFill:Kt,showProgramFill:nr,value:Wn,openEditor:or=>{var Jn;Mi.current=or,(Jn=fi.current)==null||Jn.setHeight("100vh"),setTimeout(()=>{yr("add-flowchart")},150)}})):null))),Dr?b.createElement("a",{ref:_i,className:"editor-resize"}):null,Fr===Bt&&b.createElement(Zt,{callback:bo,onCancel:yo}),Fr===vn&&b.createElement(ae,{ref:fi,editImgId:Mi.current,callback:bo,onCancel:yo}),b.createElement(Ue.Z,null,qt[Fr]&&Fr!==Bt&&Fr!==vn?b.createElement(Re.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:_r,top:Ri},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Hr},qt[Fr]),open:!0,onCancel:yo,footer:null,destroyOnClose:!0,width:Fr===vn?"1200px":null,height:Fr===vn?"80vh":null,className:"markdown-popup-form"},co):null))}},53332:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return dt},I:function(){return kt}});var b=z(28284),Me=z(6767),pe=z(37568),_e=z(44104),we=z(4875),Se=z(47889),Pe=z(7939),Xe=z(23216),Ee=z(59301),he=z(59301),ut=Object.defineProperty,Be=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Te=(Ue,Ke,ct)=>Ke in Ue?ut(Ue,Ke,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ue[Ke]=ct,ot=(Ue,Ke)=>{for(var ct in Ke||(Ke={}))He.call(Ke,ct)&&Te(Ue,ct,Ke[ct]);if(it)for(var ct of it(Ke))Fe.call(Ke,ct)&&Te(Ue,ct,Ke[ct]);return Ue},Ct=(Ue,Ke)=>Be(Ue,bt(Ke));const{useForm:tn}=b.default,se={width:280,marginRight:10},Ie={labelCol:{span:5},wrapperCol:{span:19}};var dt=({callback:Ue,onCancel:Ke})=>{const[ct]=tn();let De=(0,Ee.useRef)();function gt(Ft){De.current.width=ct.getFieldValue("width"),De.current.align=ct.getFieldValue("align"),Ue(Ft,De.current)}function Ye(Ft,Ge){if(Ft.status===-1){Me.ZP.error(Ft.message);return}ct.setFieldsValue({src:`/api/attachments/${Ft.id}`,type:Ge.type})}function fe(Ft){let Ge=Ft.target.files[0];De.current=Ge,kt(Ge,Ye)}return he.createElement(b.default,Ct(ot({form:ct},Ie),{className:"upload-image-panel",onFinish:gt,style:{width:470,overflow:"hidden"}}),he.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},he.createElement("div",{className:"flex-container"},he.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},he.createElement(pe.default,{style:se})),he.createElement(yt,{onFileChange:fe}))),he.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},he.createElement(pe.default,{style:{width:264}})),he.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},he.createElement(_e.Z,null,he.createElement(b.default.Item,{name:"width",style:{margin:0}},he.createElement(we.Z,{style:{width:264}})),he.createElement("span",{className:"ml8"},"%"))),he.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},he.createElement(Se.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"}]})),he.createElement("aside",null,he.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},he.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Pe.ZP,{type:"default",onClick:Ke},"\u53D6\u6D88"))))};function yt({onFileChange:Ue}){return he.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",he.createElement("input",{type:"file",onChange:Ue}))}function kt(Ue,Ke){if(!Ue)throw new String("\u6CA1\u6709\u6587\u4EF6");let ct=new FormData;ct.append("editormd-image-file",Ue),ct.append("file_param_name","editormd-image-file"),ct.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(gt){Ke(JSON.parse(gt.target.responseText),Ue)},!1),De.addEventListener("error",function(gt){console.error(gt)},!1),De.open("POST",`${Xe.KI}/api/attachments.json`),De.send(ct)}},88487:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return pe}});var b=z(59301),Me=z(4676);class pe extends b.Component{constructor(we){super(we);const Se=window.document;this.node=Se.createElement("div"),Se.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,Me.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Tn,cn,z){"use strict";z.d(cn,{SV:function(){return Zt},ZP:function(){return rt}});var b=z(59301),Me=z(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"]},_e={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"]},we={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(`
|
|
|
`)}]},Se={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(`
|
|
|
`)}]},Pe={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 Xe=z(53184),Ee=z.n(Xe),he=(st,$t,Nt)=>new Promise((le,ne)=>{var te=re=>{try{de(Nt.next(re))}catch(ue){ne(ue)}},ae=re=>{try{de(Nt.throw(re))}catch(ue){ne(ue)}},de=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);de((Nt=Nt.apply(st,$t)).next())});const ut={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"]}},Be=(st,$t,Nt,le)=>{const ne=$t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Nt.lineNumber,endColumn:Nt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(ae=>({label:ae,kind:st.languages.CompletionItemKind.Text,insertText:ae,range:le}))},bt=(st,$t,Nt,le)=>{st.languages.registerCompletionItemProvider($t,{provideCompletionItems(ne,te){const ae=ne.getWordUntilPosition(te),de={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:ae.startColumn,endColumn:ae.endColumn},re=ne.getLineContent(te.lineNumber).substring(ae.startColumn-2,ae.endColumn);return{suggestions:[...Be(st,ne,te,de),...Nt.map(xe=>({label:xe,kind:st.languages.CompletionItemKind.Keyword,documentation:xe,insertText:xe,insertTextRules:st.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...le.map(xe=>({label:xe.label,kind:st.languages.CompletionItemKind.Snippet,documentation:xe.content,insertText:re.startsWith("#")?xe.content.replace(/#/,""):xe.content,insertTextRules:st.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}})};var it=st=>{ut.languages.forEach($t=>{st.languages.registerDocumentFormattingEditProvider($t,{provideDocumentFormattingEdits(Nt){return he(this,null,function*(){const le=Ee()(Nt.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:Nt.getFullModelRange(),text:le}]})}})}),bt(st,"java",_e.keywords,_e.quickKey),bt(st,"cpp",we.keywords,we.quickKey),bt(st,"c",pe.keywords,[]),bt(st,"python",Se.keywords,Se.quickKey),bt(st,"scala",Pe.keywords,Pe.quickKey)};const He="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Fe=Object.defineProperty,Te=(st,$t,Nt)=>$t in st?Fe(st,$t,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):st[$t]=Nt,ot=(st,$t,Nt)=>Te(st,typeof $t!="symbol"?$t+"":$t,Nt);const Ct=class Wu{constructor($t,Nt,le){this.placeholder=$t,this.editor=Nt,this.monaco=le,Nt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Wu.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)}};ot(Ct,"ID","editor.widget.placeholderHint");var se=Ct,Ie=z(96236),dt=z(6767),yt=z(25399),kt=z(78267),Ue=z(33156),Ke=z(56102),ct=Object.defineProperty,De=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Ge=(st,$t,Nt)=>$t in st?ct(st,$t,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):st[$t]=Nt,xt=(st,$t)=>{for(var Nt in $t||($t={}))fe.call($t,Nt)&&Ge(st,Nt,$t[Nt]);if(Ye)for(var Nt of Ye($t))Ft.call($t,Nt)&&Ge(st,Nt,$t[Nt]);return st},fn=(st,$t)=>De(st,gt($t)),ke=(st,$t)=>{var Nt={};for(var le in st)fe.call(st,le)&&$t.indexOf(le)<0&&(Nt[le]=st[le]);if(st!=null&&Ye)for(var le of Ye(st))$t.indexOf(le)<0&&Ft.call(st,le)&&(Nt[le]=st[le]);return Nt},be=(st,$t,Nt)=>new Promise((le,ne)=>{var te=re=>{try{de(Nt.next(re))}catch(ue){ne(ue)}},ae=re=>{try{de(Nt.throw(re))}catch(ue){ne(ue)}},de=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);de((Nt=Nt.apply(st,$t)).next())});function Yt(st){return/^\d+$/.test(st)?`${st}px`:st}function ln(){}let Xt=!1;const ge={"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 Re(st=[]){let $t=st;if(Array.isArray(st)){for(let Nt=0;Nt<st.length;Nt++){let le=ge[st[Nt]];if(le)return le}return $t[0]}return ge[$t]||$t}let qe=null;const Vt=()=>be(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(st){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",st)}});var rt=st=>{var $t=st,{width:Nt="100%",height:le="100%",value:ne,language:te="javascript",style:ae={},options:de={},overrideServices:re={},theme:ue="vs-dark",onEditBlur:xe,isCopy:tt=!1,onSave:Ve,autoHeight:We=!1,forbidCopy:lt=!1,forbidCopyTips:ht,onChange:Dt=ln,editorDidMount:Oe=ln,onFocus:ze=ln,onBreakPoint:on=ln,breakPointValue:Rt=[],filename:vn="educoder.txt",errorLine:Bt,errorContent:at="",highlightLine:pt,openBreakPoint:Gt=!1,placeholder:Je="",showMiniMap:At=!0}=$t,Jt=ke($t,["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 an=(0,b.useRef)(),Le=(0,b.useRef)({}),Et=(0,b.useRef)(),zt=(0,b.useRef)(),rn=(0,b.useRef)([]),yn=(0,b.useRef)(!1),Nn=(0,b.useRef)(),Vn=(0,b.useRef)(),Xn=(0,b.useRef)(!1),[Bn,jn]=(0,b.useState)(!1);function wt(){let xn;return an.current&&(xn=new Me.Z(kn=>{for(let nr of kn)(nr.target.offsetHeight>0||nr.target.offsetWidth>0)&&Le.current.instance.layout()}),xn.observe(an.current)),xn}function mt(){dt.ZP.warning({content:decodeURIComponent(ht||He),key:"monaco-editor-tip"})}const qt=()=>{let xn=Le.current.instance;if(ne!=null&&xn&&Bn){const kn=xn.getModel();kn&&ne!==kn.getValue()&&(Xt=!0,kn.setValue(ne),xn.layout(),Xt=!1)}};(0,b.useEffect)(()=>{const xn=Ue.Z.subscribe("formatDocument",kn=>{var nr;let rr=Le.current.instance;(nr=rr==null?void 0:rr.getAction)==null||nr.call(rr,"editor.action.formatDocument").run()});return window.updateMonacoValue=kn=>{Dt(kn)},xn},[]),(0,b.useEffect)(()=>{var xn;let kn=Le.current.instance;zt.current&&clearTimeout(zt.current),zt.current=setTimeout(()=>{qt()},500),ne&&(ne!=null&&ne.length)&&((xn=kn==null?void 0:kn.updateOptions)==null||xn.call(kn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,Bn,Le.current]),(0,b.useEffect)(()=>{if(Bt&&Le.current&&Le.current.instance){let kn=Le.current.instance;kn.changeViewZones(function(nr){var rr=document.createElement("div");rr.style.padding="10px 20px",rr.style.width="calc(100% - 20px)",rr.className="my-error-line-wrp",rr.innerHTML=at,nr.addZone({afterLineNumber:Bt||11,heightInLines:3,domNode:rr})});var xn={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}};kn.addOverlayWidget(xn),kn.revealPositionInCenter({lineNumber:20,column:1})}},[Bt,Le.current,Bn]);const jt=(xn="",kn)=>{if(!xn||xn.trim()==="")return!0;const rr=Le.current.instance.getModel().getLineTokens(kn);let Pt=!1;for(let Ut=0;Ut<2;Ut++)rr.getStandardTokenType(Ut)===1&&(Pt=!0);return Pt};(0,b.useEffect)(()=>{var xn;const kn=(xn=Le.current)==null?void 0:xn.instance;if(kn&&Bn&<){const nr=kn.onDidBlurEditorWidget(()=>{Xn.current=!1}),rr=kn.onDidFocusEditorText(()=>{Xn.current=!0});return()=>{nr.dispose(),rr.dispose()}}},[Le.current,Bn,lt]),(0,b.useEffect)(()=>{var xn;if((xn=Le.current)!=null&&xn.instance&&Bn&&Gt){let kn=Le.current.instance,nr=kn.getModel();if(!nr)return;(()=>{var Tt;let Lt=[],Wt=[];const nn=nr.getAllDecorations();for(let Zn of nn)Zn.options.className==="highlighted-line"&&(Lt.push((Tt=Zn==null?void 0:Zn.range)==null?void 0:Tt.startLineNumber),Wt.push(Zn==null?void 0:Zn.id));if(pt===Lt[0])return;nr.deltaDecorations(Wt,[]);const Wn=nr.getLineCount();pt&&pt<=Wn&&(kn.deltaDecorations([],[{range:new qe.Range(pt,1,pt,nr.getLineMaxColumn(pt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kn.revealLineInCenter(pt))})();const Pt=(Tt=!1)=>{var Lt;let Wt=[],nn=[];const Wn=nr.getAllDecorations();for(let Zn of Wn)Zn.options.linesDecorationsClassName==="breakpoints-select"&&(Wt.push((Lt=Zn==null?void 0:Zn.range)==null?void 0:Lt.startLineNumber),nn.push(Zn==null?void 0:Zn.id));if(Tt)return{lines:Wt,ids:nn};on(Wt)},Ut=Tt=>be(void 0,null,function*(){let Lt={range:new qe.Range(Tt,1,Tt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield nr.deltaDecorations([],[Lt]),Pt()}),nt=Tt=>be(void 0,null,function*(){let Lt=[];const Wt=kn.getLineDecorations(Tt);for(let nn of Wt)nn.options.linesDecorationsClassName==="breakpoints-select"&&Lt.push(nn.id);yield nr.deltaDecorations(Lt,[]),Pt()}),et=Tt=>{let Lt=kn.getLineDecorations(Tt);for(let Wt of Lt)if(Wt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,kt.isEqual)(Rt,Pt(!0).lines)){nr.deltaDecorations(Pt(!0).ids,[]);const Tt=Rt.map(Lt=>({range:new qe.Range(Lt,1,Lt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));nr.deltaDecorations([],Tt)}const Qe=kn.onDidChangeModelContent(Tt=>{let Lt=kn.getPosition();if(Lt){let Wt=Lt.lineNumber;clearTimeout(Vn.current),Vn.current=setTimeout(()=>{jt(nr.getLineContent(Wt),Wt)?nt(Wt):et(Wt)?(nt(Wt),Ut(Wt)):Pt()},100)}}),Mt=kn.onMouseDown(Tt=>{var Lt,Wt,nn;if(Tt.target.detail&&((nn=(Wt=(Lt=Tt.target)==null?void 0:Lt.element)==null?void 0:Wt.className)!=null&&nn.includes("line-numbers"))){let Wn=Tt.target.position.lineNumber;if(jt(nr.getLineContent(Wn),Wn))return;et(Wn)?nt(Wn):Ut(Wn)}}),Ne=Tt=>{let Lt={range:new qe.Range(Tt,1,Tt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};rn.current=kn.deltaDecorations(rn.current,[Lt])},Kt=()=>{rn.current=kn.deltaDecorations(rn.current,[])},Qt=kn.onMouseMove(Tt=>{var Lt,Wt,nn;if(Kt(),Tt.target.detail&&((nn=(Wt=(Lt=Tt.target)==null?void 0:Lt.element)==null?void 0:Wt.className)!=null&&nn.includes("line-numbers"))){let Wn=Tt.target.position.lineNumber;if(jt(nr.getLineContent(Wn),Wn))return;Ne(Wn)}}),un=kn.onMouseLeave(()=>{Kt()});return()=>{Qe.dispose(),Mt.dispose(),Qt.dispose(),un.dispose()}}},[Le.current,Bn,Rt,pt,Gt,te]),(0,b.useEffect)(()=>{var xn;(xn=Le.current)!=null&&xn.instance&&Gt&&Le.current.instance.setPosition({lineNumber:0,column:0})},[pt]);function Ot(){let xn=Le.current.instance;if(xn){const kn=xn.getSelection(),nr=Le.current.pastePos||{},rr=new qe.Range(nr.startLineNumber||kn.endLineNumber,nr.startColumn||kn.endColumn,nr.endLineNumber||kn.endLineNumber,nr.endColumn||kn.endColumn);setTimeout(()=>{xn.executeEdits("",[{range:rr,text:""}])},300)}}function bn(xn){(window.navigator.platform.match("Mac")?xn.metaKey:xn.ctrlKey)&&xn.keyCode==83&&(xn.preventDefault(),Ve())}const pn=()=>{if(We&&Le.current.instance){const xn=Le.current.instance.getContentHeight();pr(xn<le?le:xn)}else pr(le)};function On(xn){var kn=document.createEvent("MouseEvents");kn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),xn.dispatchEvent(kn)}const Qn=xn=>{if(!Xn.current)return;const{keyCode:kn,ctrlKey:nr,metaKey:rr,target:Pt,type:Ut}=xn;return(Ut==="paste"||(kn===67||kn===86)&&(rr||nr))&&Pt.nodeName==="TEXTAREA"&&(mt(),xn.preventDefault()),!1};function Hn(xn,kn){var nr=window.URL||window.webkitURL||window,rr=new Blob([kn]),Pt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Pt.href=nr.createObjectURL(rr),Pt.download=xn,On(Pt)}(0,b.useEffect)(()=>{pn()},[pn]),(0,b.useEffect)(()=>{an.current&&!Bn&&Promise.all([z.e(8909),z.e(5977)]).then(z.bind(z,71448)).then(xn=>{try{qe=xn,Le.current.instance=qe.editor.create(an.current,{value:ne,language:Re(te),theme:ue,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:At||!1}},re);const kn=Le.current.instance;let Pt=[...Ie.BH._menuItems].find(Qe=>Qe[0]._debugName=="EditorContext")[1],Ut=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],nt=(Qe,Mt)=>{var Ne,Kt;let Qt=Qe._first;do Mt.includes((Kt=(Ne=Qt.element)==null?void 0:Ne.command)==null?void 0:Kt.id)&&Qe._remove(Qt);while(Qt=Qt.next)};if(Oe(kn,qe),setTimeout(()=>{pn(),Le.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Hn(vn||"educoder.txt",kn.getValue())}})},500),Le.current.subscription=kn.onDidChangeModelContent(Qe=>{yn.current?clearTimeout(Nn.current):(pn(),Dt(kn.getValue(),Qe)),Nn.current=setTimeout(()=>{yn.current=!1},500)}),window.Monaco||it(qe,Re(te)),lt&&(nt(Pt,Ut),an.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Qn),window.removeEventListener("paste",Qn),window.addEventListener("keydown",Qn),window.addEventListener("paste",Qn)),window.Monaco=qe,xe&&kn.onDidBlurEditorWidget(()=>{xe(kn.getValue())}),ze&&kn.onDidFocusEditorText(()=>{lt&&Vt(),ze(kn.getValue())}),lt){Vt();try{kn.onDidPaste(Qe=>{const Mt=kn.getSelection(),Ne=Le.current.pastePos||{},Kt=new qe.Range(Ne.startLineNumber||Mt.endLineNumber,Ne.startColumn||Mt.endColumn,Ne.endLineNumber||Mt.endLineNumber,Ne.endColumn||Mt.endColumn);kn.executeEdits("",[{range:Qe.range,text:""}])})}catch(Qe){}}let et=wt();return Je&&typeof Je=="string"&&new se(Je,kn,qe),jn(!0),()=>{const Qe=Le.current.instance;Qe.dispose();const Mt=Qe.getModel();Mt&&Mt.dispose(),Le.current.subscription&&Le.current.subscription.dispose(),et.unobserve(an.current)}}catch(kn){}})},[]),(0,b.useEffect)(()=>{if(Le.current.instance&&Bn)return document.addEventListener("keydown",bn,!1),()=>{document.removeEventListener("keydown",bn)}},[Ve,Bn]),(0,b.useEffect)(()=>{let xn=Le.current.instance;if(xn&&Bn){let kn=Re(te);qe.editor.setModelLanguage(xn.getModel(),kn)}},[te,Bn]),(0,b.useEffect)(()=>{Le.current.instance&&Bn&&qe.editor.setTheme(ue)},[ue,Bn]),(0,b.useEffect)(()=>{let xn=Le.current.instance;Et.current=de,xn&&Bn&&(xn.updateOptions(xt({},de)),setTimeout(()=>{xn.getModel().updateOptions(xt({},de))},200))},[JSON.stringify(de),Bn]),(0,b.useEffect)(()=>{let xn=Le.current.instance;xn&&Bn&&xn.layout()},[Nt,le,Bn]);const[Dn,ir]=(0,b.useState)(Yt(Nt)),[Fn,pr]=(0,b.useState)(Yt(le)),Dr=fn(xt({},ae),{width:Dn,height:Fn,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:an,style:Dr,onFocus:()=>{lt&&Vt()}},tt&&b.createElement(Ke.CopyToClipboard,{text:ne,onCopy:()=>dt.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(yt.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 Zt({width:st="100%",height:$t="100%",original:Nt,modified:le,language:ne,options:te={}}){const ae=(0,b.useRef)(),[de,re]=(0,b.useState)(null);function ue(We){let lt;return ae.current&&(lt=new Me.Z(ht=>{for(let Dt of ht)(Dt.target.offsetHeight>0||Dt.target.offsetWidth>0)&&We.layout()}),lt.observe(ae.current)),lt}(0,b.useEffect)(()=>(ae.current&&Promise.all([z.e(8909),z.e(9404)]).then(z.bind(z,2550)).then(We=>{qe=We;const lt=qe.editor.createDiffEditor(ae.current,fn(xt({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},te),{wordWrap:!0}));re(lt);let ht=ue(lt);return()=>{lt.dispose();const Dt=lt.getModel();Dt&&Dt.dispose(),ht.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{de&&de.setModel({original:qe.editor.createModel(Nt,ne),modified:qe.editor.createModel(le,ne)})},[Nt,le,ne,de]);const xe=Yt(st),tt=Yt($t),Ve={width:xe,height:tt};return b.createElement("div",{className:"my-diff-editor",ref:ae,style:Ve})}},54077:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return ut}});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"},Me=z(29787),pe=z(25399),_e=z(89787),we=z(92310),Se=z.n(we),Pe=z(76406),Xe=z(90736),Ee=z(59301),ut=({className:Be,dataSource:bt=[],col:it=4,right:He,bottom:Fe=23,precision:Te=0,wrapWidth:ot=1200,trackEventItems:Ct,loading:tn,onRemove:se=()=>{},isCurrent:Ie=!0,showProgress:dt=!1,showAlias:yt=!1,category:kt="notDisplay",hiddenClick:Ue=()=>{}})=>{const Ke=Math.floor((ot-(it-1)*He)/it),ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return Ee.createElement(Me.Z,{spinning:tn},Ee.createElement("div",{className:Se()(b.list,Be)},!!(bt!=null&&bt.length)&&(bt==null?void 0:bt.map((De,gt)=>{var Ye,fe,Ft,Ge,xt,fn,ke;const{name:be,id:Yt,identifier:ln,featured:Xt,school_name:ge,image_url:Re,excellent:qe,is_plan:Vt}=De;return Ee.createElement("div",{key:Yt,className:Ie&&dt?b.wrapisCurrent:b.wrap,style:{width:Ke,marginRight:(1+gt)%it===0?0:He+Te,marginBottom:Fe}},Ee.createElement("a",{className:b.li,onClick:rt=>{rt.preventDefault(),rt.stopPropagation(),Ct&&(0,Pe.L9)([Ct]),(0,Pe.xg)(`/paths/${ln}`)}},Ee.createElement("div",{className:b.img},Ee.createElement("img",{className:b.cover,src:`${Re}`}),(Ye=De==null?void 0:De.subject_tags)==null?void 0:Ye.map((rt,Zt)=>{var st,$t;if(Zt===0){const le=(st=ct.find(ne=>ne.name==rt))==null?void 0:st.swclass;return Ee.createElement("span",{className:`sprite ${le} ${b.sign}`,style:{left:"-4px"}})}const Nt=($t=ct.find(le=>le.name==rt))==null?void 0:$t.ptclass;return Ee.createElement("span",{className:`sprite ${Nt} ${b.sign}`,style:{left:`${48+52*(Zt-1)+2*Zt}px`}})}),Ee.createElement("div",{className:b.tagsDom},Ee.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(De==null?void 0:De.excellent)&&Ee.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((fe=De==null?void 0:De.custom_tags)==null?void 0:fe.length)>0&&(De==null?void 0:De.custom_tags.map((rt,Zt)=>{var st;return Ee.createElement(pe.Z,{title:rt==null?void 0:rt.tag_name,key:Zt},Ee.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((st=De==null?void 0:De.custom_tags)==null?void 0:st.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Ee.createElement("span",{className:"multi-llipsis1e"},rt==null?void 0:rt.tag_name)))})))),kt=="hide"&&(De==null?void 0:De.studying)&&Ie&&Ee.createElement("div",{className:`${b.movebq} user-path-items`,onClick:rt=>{rt.stopPropagation(),se(De)}},Ee.createElement("i",{className:"iconfont icon-yichu1 font12"}),Ee.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(kt)&&Ie&&Ee.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:rt=>{rt.stopPropagation(),Ue(De)}},Ee.createElement("i",{className:`iconfont ${kt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Ee.createElement("span",null,kt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Ee.createElement("div",{className:b.name},Ee.createElement(pe.Z,{title:yt&&(De!=null&&De.excellent_alias_name)?Ee.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${be}`,Ee.createElement("br",null),Ee.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${De==null?void 0:De.excellent_alias_name}`)):be},Ee.createElement("span",{className:b.e},yt&&(De==null?void 0:De.excellent_alias_name)||be))),Ie&&dt&&((Ft=De==null?void 0:De.progress)==null?void 0:Ft.all_score)!=0&&Ee.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ee.createElement(_e.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ge=De==null?void 0:De.progress)==null?void 0:Ge.my_score)/((xt=De==null?void 0:De.progress)==null?void 0:xt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(fn=De==null?void 0:De.progress)==null?void 0:fn.my_score,"/",(ke=De==null?void 0:De.progress)==null?void 0:ke.all_score),(!Ie||!dt)&&Ee.createElement(pe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${ge}`},Ee.createElement("div",{className:b.unit},Ee.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),ge)),(!Ie||!dt)&&Ee.createElement("div",{className:b.tags},Ee.createElement("div",null,Ee.createElement(pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ee.createElement("span",null,Ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ee.createElement("span",null,De.stages_count))),Ee.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ee.createElement("span",null,Ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ee.createElement("span",null,De.members_count)))))))})),!bt.length&&Ee.createElement(Xe.Z,null)))}},70467:function(Tn,cn,z){"use strict";z.d(cn,{jL:function(){return _e},w9:function(){return be},QD:function(){return Rt},cQ:function(){return gt.Z},op:function(){return lt},O5:function(){return wt},_b:function(){return Je},t7:function(){return Te},Gi:function(){return qe},YG:function(){return ge},qp:function(){return he},vr:function(){return at},qE:function(){return Oe},Je:function(){return tn},wb:function(){return De},cq:function(){return Nt},tp:function(){return bt}});var b=z(59301),Me={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"},_e=({dataSource:mt=[],img:qt,imgWidth:jt=346,title:Ot,sunTitle:bn,bannerExtraContent:pn})=>b.createElement("div",{className:Me.banner},b.createElement("div",{className:Me.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Ot),b.createElement("span",null,bn)),mt.length>0&&b.createElement("div",{className:Me.btns},mt.map((On,Qn)=>b.createElement("div",{key:Qn,onClick:On.click},On.name,On.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),pn),qt&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:qt,width:jt}))),we={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"},Se=z(92310),Pe=z.n(Se),Xe=z(78267),he=({dataSource:mt=[],value:qt,onChange:jt,onTitleChange:Ot,className:bn,title:pn,titleWidth:On=41,style:Qn={},fontColor:Hn="#6A7283",showCount:Dn})=>{const[ir,Fn]=(0,b.useState)(1),[pr,Dr]=(0,b.useState)(!1),xn=(0,b.useRef)(null),kn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var nr;mt.length!==0&&(((nr=xn==null?void 0:xn.current)==null?void 0:nr.clientHeight)>97?Fn(1):Fn(0)),mt.length===0&&Fn(0),Dr(!1)},[mt]),b.createElement("div",{className:Pe()(we.row,bn,"fadeIn","animated"),style:Qn},b.createElement("div",{onClick:(0,Xe.throttle)(()=>Ot==null?void 0:Ot(),2e3),style:{width:On,marginTop:pr?12:4},className:`${we.title} ${Ot?"current":""}`},pn),b.createElement("div",{className:pr?`${we.tagsWrap} ${we.tagsBorderWrap}`:we.tagsWrap},b.createElement("div",{className:we.bar,ref:kn,style:ir>0?{height:ir===1?97:"auto",overflow:ir===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:we.tag,ref:xn},mt==null?void 0:mt.map(nr=>b.createElement("span",{onClick:()=>jt(nr.id),key:nr.id,style:{color:Hn},className:qt===nr.id?we.active:""},b.createElement("span",{title:nr.name,className:we.name},nr.name),!!Dn&&b.createElement("span",{className:we.num},nr.count))))),!!ir&&b.createElement(b.Fragment,null,ir===1?b.createElement("div",{onClick:()=>{var nr;Fn(2),((nr=xn==null?void 0:xn.current)==null?void 0:nr.clientHeight)>245?Dr(!0):Dr(!1)},className:we.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{kn.current.scrollTop=0,Fn(1),Dr(!1)},className:we.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ut={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"},bt=({dataSource:mt=[],value:qt,onChange:jt,className:Ot,style:bn={}})=>b.createElement("div",{style:bn,className:Pe()(ut.tabs,Ot)},mt.map(pn=>b.createElement("span",{onClick:()=>jt(pn.id),className:qt===pn.id?ut.active:"",key:pn.id},pn.name))),it={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"},He=z(37568),Te=({dataSource:mt=[],value:qt="",onChange:jt,onInputChange:Ot=()=>{},className:bn,style:pn={},placeholder:On,allowClear:Qn=!1})=>{var Hn;const[Dn,ir]=(0,b.useState)(""),[Fn,pr]=(0,b.useState)("");(0,b.useEffect)(()=>{var kn;let nr=qt;(kn=JSON.stringify(qt))!=null&&kn.includes("{")&&(ir(qt.id),nr=qt.value||"");try{pr(decodeURIComponent(nr||""))}catch(rr){pr(decodeURIComponent(nr||""))}},[qt]);const Dr=()=>{jt(encodeURIComponent(Fn),Dn||null)},xn=kn=>{kn!==Dn&&(ir(kn),jt(encodeURIComponent(Fn),kn))};return b.createElement("div",{className:Pe()(it.input,bn),style:pn},!!mt.length&&b.createElement("div",{className:it.dropdown},b.createElement("div",{className:it.text},(Hn=mt.find(kn=>kn.id===Dn))==null?void 0:Hn.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:it.b1}),b.createElement("b",{className:it.b2})),b.createElement("div",{className:it.menu},mt.map((kn,nr)=>b.createElement("div",{key:nr,onClick:()=>xn(kn.id)},kn.name)))),b.createElement(He.default,{onPressEnter:Dr,value:Fn,onChange:kn=>{pr(kn.target.value),Ot(encodeURIComponent(kn.target.value),Dn||null)},placeholder:On,variant:"borderless",allowClear:Qn,onClear:()=>jt("",Dn||null)}),b.createElement("i",{onClick:Dr,className:"iconfont icon-sousuo9 font14 current"}))},ot={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"},tn=({value:mt,onChange:qt,className:jt,total:Ot,pageSize:bn,style:pn={}})=>{const On=mt<2,Qn=mt>=Math.ceil(Ot/bn);return Ot<=bn?b.createElement(b.Fragment,null):b.createElement("div",{className:Pe()(ot.quickPager,jt),style:pn},b.createElement("div",{onClick:()=>{On||qt(mt-1,"prev")},className:On?ot.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Qn||qt(mt+1,"next")},className:Qn?ot.disabled:""},"\u4E0B\u4E00\u9875"))},se={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"},Ie=z(29787),dt=z(25399),yt=z(63139),kt=z(14185),Ue=z(76406),Ke=z(90736),De=({className:mt,dataSource:qt=[],col:jt=4,right:Ot,bottom:bn=23,precision:pn=0,wrapWidth:On=1200,trackEventItems:Qn,loading:Hn})=>{const Dn=Math.floor((On-(jt-1)*Ot)/jt);return b.createElement(Ie.Z,{spinning:Hn},b.createElement("div",{className:Pe()(se.list,mt)},!!qt.length&&qt.map((ir,Fn)=>{const{name:pr,id:Dr,identifier:xn,power:kn,cover_image_id:nr,pic:rr}=ir;return b.createElement("div",{className:se.wrap,key:Dr,style:{width:Dn,marginRight:(1+Fn)%jt===0?0:Ot+pn,marginBottom:bn}},b.createElement("a",{target:"_blank",href:`/shixuns/${xn}/challenges`,className:se.li,onClick:Pt=>{Pt.preventDefault(),Qn&&(0,Ue.L9)([Qn]),kn&&(0,Ue.xg)(`/shixuns/${xn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${rr}`}),ir.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${se.sign}`}),ir.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${se.sign}`}),ir.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${se.sign}`})),b.createElement("div",{className:se.name},b.createElement(dt.Z,{title:pr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},pr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(dt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,ir.challenges_count))),!!ir.myshixuns_count&&b.createElement(dt.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,ir.myshixuns_count))),b.createElement(dt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,ir.level))),b.createElement("div",{className:se.rate},b.createElement(yt.Z,{allowHalf:!0,disabled:!0,defaultValue:ir.score_info}),b.createElement("span",null,"\xA0",ir.score_info?`${ir.score_info}\u5206`:"5\u5206")))),!kn&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${kt.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")))}),!qt.length&&b.createElement(Ke.Z,null)))},gt=z(54077),Ye={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"},fe=z(62957),Ft=z(96599),Ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKF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pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",xt=z(59301),fn=(mt,qt,jt)=>new Promise((Ot,bn)=>{var pn=Hn=>{try{Qn(jt.next(Hn))}catch(Dn){bn(Dn)}},On=Hn=>{try{Qn(jt.throw(Hn))}catch(Dn){bn(Dn)}},Qn=Hn=>Hn.done?Ot(Hn.value):Promise.resolve(Hn.value).then(pn,On);Qn((jt=jt.apply(mt,qt)).next())}),be=({className:mt,dataSource:qt=[],col:jt=4,right:Ot,bottom:bn=23,precision:pn=0,wrapWidth:On=1200,trackEventItems:Qn,loading:Hn,category:Dn,hiddenClick:ir,handleVery:Fn=()=>!0,isCurrent:pr})=>{const[Dr,xn]=fe.default.useModal(),kn=Math.floor((On-(jt-1)*Ot)/jt),nr=rr=>fn(void 0,null,function*(){Dr.confirm({title:"\u7F6E\u9876",width:500,content:xt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",xt.createElement("span",{className:"c-blue"},"\u201C",rr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return xt.createElement(Ie.Z,{spinning:Hn},xn,xt.createElement("div",{className:Pe()(Ye.list,mt)},!!qt.length&&qt.map((rr,Pt)=>{const{subject_identifier:Ut,id:nt,identifier:et,power:Qe}=rr,Mt=rr.is_public!=0&&rr.is_public;return xt.createElement("div",{className:Ye.wrap,key:nt,style:{width:kn,marginRight:(1+Pt)%jt===0?0:Ot+pn,marginBottom:bn}},rr.homepage_show&&xt.createElement("div",{className:Ye.btnsTop},xt.createElement(Ft.default,{color:"red"},"\u7F6E\u9876")),xt.createElement("a",{className:Ye.li,onClick:Ne=>{Ne.preventDefault(),Fn(rr==null?void 0:rr.first_category_url)&&(Qn&&(0,Ue.L9)([Qn]),(0,Ue.xg)(rr.first_category_url))}},xt.createElement("div",{className:Ye.top},xt.createElement(dt.Z,{title:rr.name},xt.createElement("div",{className:Ye.name},rr.name)),xt.createElement("img",{className:Ye.img,src:kt.Z.IMG_SERVER+"/images/"+rr.avatar_url}),xt.createElement("div",{className:Ye.text,title:rr.creator},rr.creator),Ut&&xt.createElement("div",{className:Ye.btns},xt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),xt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Mt&&xt.createElement("div",{className:Ye.sign},"\u516C\u5F00"),pr&&xt.createElement("div",{className:Ye.hidden,onClick:Ne=>{Ne.stopPropagation(),ir(rr)}},xt.createElement("i",{className:`iconfont ${Dn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Dn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),xt.createElement("div",{className:Ye.bottom},rr.visits>0&&xt.createElement(dt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-liulanyan"}),xt.createElement("span",null,rr.visits))),rr.course_members_count>0&&xt.createElement(dt.Z,{title:"\u6210\u5458",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-chengyuan"}),rr.course_members_count)),rr.tasks_count>0&&xt.createElement(dt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},xt.createElement("span",null,xt.createElement("i",{className:"iconfont icon-zuoye"}),rr.tasks_count)),rr.is_end?xt.createElement("div",{style:{color:"#6B758B"}}):xt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!rr.is_accessible&&xt.createElement("div",{className:Ye.lockWrap},xt.createElement("img",{src:`${kt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),xt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!qt.length&&xt.createElement(Ke.Z,null)))},Yt={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"},ln=z(44283),ge=({dataSource:mt=[],value:qt,onChange:jt,className:Ot,style:bn={},tabBarExtraContent:pn})=>b.createElement("div",{className:Pe()(Yt.tabs,Ot),style:bn},b.createElement("div",{className:Yt.tabsWrap},mt.map((On,Qn)=>!(On!=null&&On.hide)&&b.createElement("aside",{className:Yt.tab,onClick:()=>{jt(On.id),On.link&&ln.history.push(On.link)},key:Qn},b.createElement("div",{className:qt===On.id?Yt.active:""},On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&b.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&b.createElement(dt.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",b.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),b.createElement("div",{className:Yt.tabBar},pn)),qe=({className:mt,style:qt={},children:jt})=>b.createElement("div",{className:Pe()(mt),style:qt},jt),Vt={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"},rt=z(75727),Zt=z(93041);const st=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Nt=({sortValue:mt,dropValue:qt,className:jt,onSort:Ot,onDrop:bn,dataSource:pn=st})=>{var On;return b.createElement("div",{className:Pe()(Vt.orderWrap,jt)},b.createElement(rt.Z,{dropdownRender:()=>b.createElement(Zt.default,null,pn.map((Qn,Hn)=>b.createElement(Zt.default.Item,{key:Hn,onClick:()=>bn(Qn.id)},Qn.name)))},b.createElement("span",{className:Vt.orderTextWrap},(On=pn.find(Qn=>qt===Qn.id))==null?void 0:On.name)),b.createElement("span",{className:Vt.orderIconWrap},b.createElement("span",{className:Vt.orderAsc},b.createElement("i",{className:mt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Vt.cursorPointer} ${Vt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Vt.cursorPointer}`,onClick:()=>Ot(mt==="asc"?"desc":"asc")})),b.createElement("span",{className:Vt.orderDesc},b.createElement("i",{className:mt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Vt.cursorPointer} ${Vt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Vt.cursorPointer}`,onClick:()=>Ot(mt==="asc"?"desc":"asc")}))))},le={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"},ne=z(7939),te=Object.defineProperty,ae=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ue=(mt,qt,jt)=>qt in mt?te(mt,qt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):mt[qt]=jt,xe=(mt,qt)=>{for(var jt in qt||(qt={}))de.call(qt,jt)&&ue(mt,jt,qt[jt]);if(ae)for(var jt of ae(qt))re.call(qt,jt)&&ue(mt,jt,qt[jt]);return mt},tt=(mt,qt)=>{var jt={};for(var Ot in mt)de.call(mt,Ot)&&qt.indexOf(Ot)<0&&(jt[Ot]=mt[Ot]);if(mt!=null&&ae)for(var Ot of ae(mt))qt.indexOf(Ot)<0&&re.call(mt,Ot)&&(jt[Ot]=mt[Ot]);return jt},Ve=(mt,qt,jt)=>new Promise((Ot,bn)=>{var pn=Hn=>{try{Qn(jt.next(Hn))}catch(Dn){bn(Dn)}},On=Hn=>{try{Qn(jt.throw(Hn))}catch(Dn){bn(Dn)}},Qn=Hn=>Hn.done?Ot(Hn.value):Promise.resolve(Hn.value).then(pn,On);Qn((jt=jt.apply(mt,qt)).next())}),lt=mt=>{var qt=mt,{className:jt,style:Ot,children:bn,loading:pn=!1,openLoading:On,onClick:Qn=()=>{},size:Hn="middle",shape:Dn="round"}=qt,ir=tt(qt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Fn,pr]=(0,b.useState)(!1);return b.createElement(ne.ZP,xe({onClick:(0,Xe.throttle)(Dr=>Ve(void 0,null,function*(){On&&pr(!0);try{yield Qn(Dr)}catch(xn){console.log("error",xn)}On&&pr(!1)}),2e3,{leading:!0,trailing:!1}),className:Pe()(le.btn,le[`${Hn}-${Dn}`],jt),style:Ot,size:Hn,shape:Dn,loading:Fn||pn},ir),bn)},ht={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"},Oe=({className:mt,style:qt,children:jt=null,onClick:Ot,title:bn})=>b.createElement("div",{className:Pe()(ht.head,mt),style:qt},b.createElement("span",{className:"primary-hover",onClick:Ot},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:bn},bn),b.createElement("div",{className:ht.node},jt)),ze={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"},Rt=({confirmShow:mt=!0,confirmTitle:qt,confirmClick:jt,cancelShow:Ot=!0,cancelTitle:bn,cancelClick:pn,className:On,style:Qn,confirmLoading:Hn=!1})=>b.createElement("div",{className:Pe()(ze.btns,On),style:Qn},mt&&b.createElement(ne.ZP,{loading:Hn,onClick:jt,type:"primary",className:ze.confirm},qt),Ot&&b.createElement(ne.ZP,{onClick:pn,className:ze.cancel},bn)),vn={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"},at=({className:mt,style:qt={},LeftContent:jt,children:Ot,RightContent:bn})=>b.createElement("div",{className:Pe()(vn.fixedBottom,mt),style:qt},b.createElement("div",{className:vn.wrap},b.createElement("div",{className:vn.left},jt),b.createElement("div",{className:vn.center},Ot),b.createElement("div",{className:vn.right},bn))),pt={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"},Je=({className:mt,style:qt={},dataSource:jt=[]})=>b.createElement("div",{className:Pe()(pt.crumbs,mt),style:qt},jt.map((Ot,bn)=>bn<jt.length-1?b.createElement(b.Fragment,{key:bn},Ot.path||Ot.onClick?b.createElement("span",{className:pt.hover,onClick:Ot!=null&&Ot.onClick?Ot.onClick:()=>ln.history.push(Ot.path)},Ot.name):b.createElement("span",null,Ot.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:bn,style:{color:"#5F6368"}},Ot.name))),At=z(11938),Jt=Object.defineProperty,an=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,yn=(mt,qt,jt)=>qt in mt?Jt(mt,qt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):mt[qt]=jt,Nn=(mt,qt)=>{for(var jt in qt||(qt={}))zt.call(qt,jt)&&yn(mt,jt,qt[jt]);if(Et)for(var jt of Et(qt))rn.call(qt,jt)&&yn(mt,jt,qt[jt]);return mt},Vn=(mt,qt)=>an(mt,Le(qt)),Xn=(mt,qt)=>{var jt={};for(var Ot in mt)zt.call(mt,Ot)&&qt.indexOf(Ot)<0&&(jt[Ot]=mt[Ot]);if(mt!=null&&Et)for(var Ot of Et(mt))qt.indexOf(Ot)<0&&rn.call(mt,Ot)&&(jt[Ot]=mt[Ot]);return jt};const{Countdown:Bn}=At.default;var wt=mt=>{var qt=mt,{onChange:jt}=qt,Ot=Xn(qt,["onChange"]);const[bn,pn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof bn=="number"&&bn>=0&&jt(bn)},[bn]);const On=Qn=>{const Hn=Math.floor(Qn/1e3);pn(Hn)};return b.createElement(Bn,Vn(Nn({},Ot),{onChange:On}))}},79006:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Me}});var b=z(59301);function Me(pe,_e){const we=(0,b.useRef)();(0,b.useEffect)(()=>{we.current=pe}),(0,b.useEffect)(()=>{function Se(){we.current()}if(_e!==null){let Pe=setInterval(Se,_e);return()=>clearInterval(Pe)}},[_e])}},28450:function(Tn,cn,z){"use strict";z.d(cn,{Q8:function(){return be},d0:function(){return Yt},w6:function(){return ke}});var b=z(59301),Me=z(24017),pe=z(82326),_e=z(6767),we=z(62957),Se=z(47889),Pe=z(77019),Xe=z(5269),Ee=z(25399),he=z(62673),ut=z(7939),Be=z(66649),bt=z.n(Be),it=z(15267),He=z(49317),Fe=z(78267),Te=z.n(Fe),ot=z(76406),Ct=z(90834),tn=z(44283),se=z(47026),Ie=z(24532),dt=z(44624),yt=z(27878),kt=z(66443),Ue=z(59301),Ke=Object.defineProperty,ct=Object.defineProperties,De=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Ft=(qe,Vt,rt)=>Vt in qe?Ke(qe,Vt,{enumerable:!0,configurable:!0,writable:!0,value:rt}):qe[Vt]=rt,Ge=(qe,Vt)=>{for(var rt in Vt||(Vt={}))Ye.call(Vt,rt)&&Ft(qe,rt,Vt[rt]);if(gt)for(var rt of gt(Vt))fe.call(Vt,rt)&&Ft(qe,rt,Vt[rt]);return qe},xt=(qe,Vt)=>ct(qe,De(Vt)),fn=(qe,Vt,rt)=>new Promise((Zt,st)=>{var $t=ne=>{try{le(rt.next(ne))}catch(te){st(te)}},Nt=ne=>{try{le(rt.throw(ne))}catch(te){st(te)}},le=ne=>ne.done?Zt(ne.value):Promise.resolve(ne.value).then($t,Nt);le((rt=rt.apply(qe,Vt)).next())});function ke(qe,Vt){const rt=[];for(let Zt=qe;Zt<Vt;Zt++)rt.push(Zt);return rt}const be=(qe,Vt,rt)=>{const Zt=qe<bt()().startOf("day"),st=qe>bt()(Vt).endOf("day"),$t=qe<bt()(rt).startOf("day");return Vt?rt?bt()()<=bt()(rt)?$t||st:Zt||st:qe&&Zt||st:rt&&bt()()<=bt()(rt)?$t:Zt},Yt=(qe,Vt)=>{const rt=parseInt(bt()(qe).format("HH")),Zt=parseInt(bt()().format("HH")),st=parseInt(bt()().format("mm"));if(!qe)return{disabledHours:()=>ke(0,Zt),disabledMinutes:()=>ke(0,st)};if(Vt){const $t=parseInt(bt()(Vt).format("HH")),Nt=parseInt(bt()(Vt).format("mm"));return bt()(qe).isSame(bt()(Vt),"day")?{disabledHours:()=>ke(0,$t),disabledMinutes:()=>rt<=$t?ke(0,Nt):[]}:void 0}if(bt()(qe).isSame(bt()(),"day"))return{disabledHours:()=>ke(0,Zt),disabledMinutes:()=>bt()(qe).isSame(bt()(),"hour")&&rt<=Zt?ke(0,st):[]}},ln=(qe,Vt)=>qe==null?void 0:qe.map(rt=>{var Zt;return(Zt=Vt==null?void 0:Vt.find(st=>st.value===rt))==null?void 0:Zt.id}),{RangePicker:Xt}=Me.default,{Option:ge}=pe.default,Re=({shixunHomeworks:qe,loading:Vt,dispatch:rt,classroomList:Zt,user:st})=>{var $t,Nt,le,ne,te,ae,de,re,ue;const xe=(0,tn.useParams)(),{workSetting:tt,workList:Ve,shixunWorkList:We,headerInfo:lt,changeData:ht}=qe,[Dt,Oe]=(0,b.useState)(!1),[ze,on]=(0,b.useState)(!1);let[Rt,vn]=(0,b.useState)([]),[Bt,at]=(0,b.useState)([]),[pt,Gt]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:se.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[Je,At]=(0,b.useState)({}),[Jt,an]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{vn([])},[]),(0,b.useEffect)(()=>{Oe(!(0,it.GJ)())},[(0,it.GJ)()]);const Le=()=>{rt({type:"shixunHomeworks/getWorkSetting",payload:Ge({},xe)})};(0,b.useEffect)(()=>{if(!(tt!=null&&tt.course_id))return;Object.keys(pt).map(function(mt){pt[mt]=tt[mt]}),(!pt.allow_late||!pt.unified_late)&&(pt.late_penalty=20,pt.penalty_type=se.Q.Percent),pt.unified_setting||(pt.unified_late=!1,pt.unified_anonymous_comment=!1,pt.unified_anonymous_appeal=!1),Rt=JSON.parse(JSON.stringify(tt.group_settings.map(mt=>xt(Ge({},mt),{group_name:[mt.group_name]})).filter(mt=>mt.publish_time!==null))),Bt=JSON.parse(JSON.stringify(tt.allow_late_settings.map(mt=>xt(Ge({},mt),{group_name:[mt.group_name]})).filter(mt=>mt.late_time!==null))),Gt(Ge({},pt));const wt=(0,ot.QE)((Rt==null?void 0:Rt.length)>0?Rt:[]);vn([...wt]),(Bt==null?void 0:Bt.length)<=0?at([{penalty_type:se.Q.Percent,late_penalty:20}]):at([...Bt])},[tt]);const Et=()=>fn(void 0,null,function*(){var wt,mt,qt,jt,Ot,bn,pn,On;if(((qt=(mt=(wt=st==null?void 0:st.userInfo)==null?void 0:wt.course)==null?void 0:mt.shixun_homework_info)==null?void 0:qt.shixun_homework_remaining_count)===0&&((Ot=(jt=qe==null?void 0:qe.headerInfo)==null?void 0:jt.homework_status)!=null&&Ot.includes("\u672A\u53D1\u5E03"))){(0,ot.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(pn=(bn=(0,it.eY)())==null?void 0:bn.course)==null?void 0:pn.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(((On=st==null?void 0:st.userInfo)==null?void 0:On.user_status)===2){(0,Ie.Rd)();return}const Qn=JSON.parse(JSON.stringify(pt));if(Qn.challenge_settings.filter(Dn=>!Dn.hide),Qn.categoryId=xe.categoryId,console.log(Rt),!pt.unified_setting)Rt=Rt==null?void 0:Rt.map(Dn=>{var ir;if(!Dn.publish_time||!Dn.end_time)throw _e.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(!Dn.group_name)throw _e.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Dn.group_name=typeof(Dn==null?void 0:Dn.group_name)=="string"?[Dn==null?void 0:Dn.group_name]:Dn==null?void 0:Dn.group_name,Dn.group_id=(ir=tt.group_settings)==null?void 0:ir.filter(Fn=>{var pr;return(pr=Dn==null?void 0:Dn.group_name)==null?void 0:pr.includes(Fn.group_name)}).map(Fn=>Fn.group_id||Fn.id).toString().split(","),Dn});else if(!pt.publish_time||!pt.end_time)throw _e.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(Qn.group_settings=Rt,pt.allow_late)if(pt.unified_late){if(pt.late_penalty===null||pt.late_penalty===void 0||pt.late_penalty<0||pt.late_penalty>100)throw _e.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(!pt.late_time)throw _e.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 Bt=Bt==null?void 0:Bt.map(Dn=>{var ir,Fn;if(Dn.late_penalty===null||Dn.late_penalty===void 0||Dn.late_penalty<0||Dn.late_penalty>100)throw _e.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(!Dn.late_time)throw _e.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(!Dn.group_name)throw _e.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Dn.group_name=typeof(Dn==null?void 0:Dn.group_name)=="string"?[Dn==null?void 0:Dn.group_name]:Dn==null?void 0:Dn.group_name,Dn.group_id=(Fn=(ir=Dn==null?void 0:Dn.group_name)==null?void 0:ir.map(pr=>{var Dr,xn;let kn=(xn=(Dr=tt.group_settings)==null?void 0:Dr.filter(nr=>(nr==null?void 0:nr.group_name)===pr))==null?void 0:xn[0];return kn==null?void 0:kn.group_id}))==null?void 0:Fn.toString().split(","),Dn}),Qn.allow_late_settings=Bt;let Hn=yield(0,kt.Tr)({homework_common_ids:[parseInt(xe.categoryId)],course_id:xe.coursesId,type:"homework_common"});(Hn==null?void 0:Hn.student_count)===0?zt(Qn):(an(Qn),At(Hn))}),zt=wt=>{if(wt.total_score===null){_e.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(wt!=null&&wt.work_efficiency&&wt.eff_score===null){_e.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const mt=wt.challenge_settings.reduce((Ot,bn)=>Ot+Number(bn.challenge_score),0),qt={shixun_evaluation:wt.shixun_evaluation,challenge_settings:wt.challenge_settings};let jt=()=>{var Ot;const bn=()=>fn(void 0,null,function*(){on(!0),(yield(0,He.ZP)(`/api/homework_commons/${xe.categoryId}/publish_setting.json`,{method:"post",body:Ge({},wt)})).status===0&&(_e.ZP.success("\u66F4\u65B0\u6210\u529F"),Le(),rt({type:"user/getUserInfo",payload:{course_id:xe.coursesId}}),rt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ge({},xe)})),on(!1)});!(0,Fe.isEqual)(ht,qt)&&!((Ot=lt==null?void 0:lt.homework_status)!=null&&Ot.includes("\u672A\u53D1\u5E03"))?we.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:bn}):bn()};tt!=null&&tt.high_resources_consume&&!(tt!=null&&tt.high_resources_consume_permission)?rt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:xe.coursesId,type:"shixun",type_id:xe.categoryId,name:tt.homework_name,fn:()=>{jt()}}}):jt()},rn=(wt,mt,qt="group_id")=>{var jt;return mt?mt.find(Ot=>Ot[qt]===wt):(jt=tt==null?void 0:tt.group_settings)==null?void 0:jt.find(Ot=>Ot.group_id[0]===wt)},yn=(tt==null?void 0:tt.allow_late)||(tt==null?void 0:tt.anonymous_comment),Nn=wt=>{var mt,qt;const jt=rn(wt,tt==null?void 0:tt.allow_late_settings,"id"),Ot=rn(wt,tt==null?void 0:tt.anonymous_comment_settings),bn=rn(wt);return(tt==null?void 0:tt.allow_late)&&jt&&bt()(jt==null?void 0:jt.late_time)<=bt()()||(tt==null?void 0:tt.anonymous_comment)&&Ot&&(Ot==null?void 0:Ot.evaluation_start)!==null||((qt=(bt()(bn==null?void 0:bn.end_time)<=bt()()&&((mt=tt==null?void 0:tt.allow_late_settings)==null?void 0:mt.filter(pn=>pn.group_id.includes(wt))))[0])==null?void 0:qt.late_time)!=null},Vn=(0,b.useMemo)(()=>(tt==null?void 0:tt.allow_late)||(tt==null?void 0:tt.all_group_late),[tt,lt]),Xn=tt==null?void 0:tt.anonymous_comment,Bn=wt=>{if(!wt)return!1;const mt=rn(wt,tt==null?void 0:tt.anonymous_comment_settings);return(tt==null?void 0:tt.anonymous_comment)&&mt&&(mt==null?void 0:mt.evaluation_start)!==null},jn=(wt,mt)=>{var qt,jt,Ot,bn,pn;wt!=null&&wt.group_id||(wt.group_id=ln(wt==null?void 0:wt.group_name,tt==null?void 0:tt.group_settings)),rt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:wt,index:mt,rangePickerDisabled:(jt=(qt=wt==null?void 0:wt.group_id)==null?void 0:qt[0])!=null&&jt.publish_time?Dt||(bt()()<=bt()((bn=rn((Ot=wt==null?void 0:wt.group_id)==null?void 0:Ot[0]))==null?void 0:bn.publish_time)?!1:[!0,Nn((pn=wt==null?void 0:wt.group_id)==null?void 0:pn[0])]):!1,disabledDate:tt==null?void 0:tt.course_end_date}})};return Ue.createElement("section",{className:Ct.Z.form},Ue.createElement("div",{className:Ct.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ue.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")),Ue.createElement("div",null,Ue.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ue.createElement(Se.ZP.Group,{disabled:Dt||!(($t=lt==null?void 0:lt.homework_status)!=null&&$t.includes("\u672A\u53D1\u5E03"))||(0,it.Rm)()&&!((Nt=Zt.AssistantObject.practice)!=null&&Nt.can_publish),value:pt.unified_setting,onChange:wt=>{var mt;if(!((mt=lt==null?void 0:lt.homework_status)!=null&&mt.includes("\u672A\u53D1\u5E03"))){_e.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(pt.unified_setting=!pt.unified_setting,pt.unified_setting||(pt.unified_late=!1,at([{late_penalty:5}])),Gt(Object.assign({},pt)),pt.unified_setting===!1&&Rt==""){vn(Rt.concat({}));return}pt.unified_setting&&(vn([]),at([{late_penalty:5}]))}},Ue.createElement(Se.ZP,{value:!0,disabled:Dt||!(tt!=null&&tt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ue.createElement(Se.ZP,{disabled:Dt||!((le=tt==null?void 0:tt.group_settings)!=null&&le.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ne=tt==null?void 0:tt.group_settings)==null?void 0:ne.length)===0&&Ue.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")),pt.unified_setting&&Ue.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ue.createElement(Pe.Z,{align:"middle"},Ue.createElement(Xe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ue.createElement(Xe.Z,{className:"ml10"},Ue.createElement(Me.default,{size:"large",disabled:Dt||!((te=lt==null?void 0:lt.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(ae=lt==null?void 0:lt.homework_status)!=null&&ae.includes("\u672A\u5F00\u59CB"))||(0,it.Rm)()&&!((de=Zt.AssistantObject.practice)!=null&&de.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:wt=>be(wt,tt==null?void 0:tt.course_end_date),disabledTime:wt=>Yt(wt),value:pt.publish_time?bt()(pt.publish_time):"",onChange:(wt,mt)=>{pt.publish_time=mt,(pt.end_time==""||!pt.end_time)&&pt.unified_setting&&(pt.end_time=bt()(wt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Gt(Object.assign({},pt))}}))),Ue.createElement(Pe.Z,{align:"middle",className:"pl30"},Ue.createElement(Xe.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ue.createElement(Xe.Z,{className:"ml10"},Ue.createElement(Me.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:bt()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(tt==null?void 0:tt.allow_late)&&(tt==null?void 0:tt.homework_status.includes("\u5DF2\u622A\u6B62"))||Dt||(tt==null?void 0:tt.allow_late)&&bt()()>=bt()(tt==null?void 0:tt.end_time)||(0,it.Rm)()&&!((re=Zt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:wt=>be(wt,tt==null?void 0:tt.course_end_date,pt.publish_time),disabledTime:wt=>Yt(wt,pt.publish_time),value:pt.end_time?bt()(pt.end_time):"",onChange:(wt,mt)=>{pt.end_time=mt,Gt(Object.assign({},pt))}})))),!pt.unified_setting&&(Rt==null?void 0:Rt.length)>0&&Ue.createElement(Pe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Rt&&Rt.map(function(wt,mt){var qt,jt,Ot,bn,pn,On,Qn;return Ue.createElement(Xe.Z,{span:24,key:mt},Ue.createElement(Pe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:mt==(Rt==null?void 0:Rt.length)-1?"0px":"10px"}},Ue.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",mt+1),Ue.createElement(pe.default,{disabled:Dt||((qt=lt==null?void 0:lt.homework_status)!=null&&qt.includes("\u672A\u53D1\u5E03")&&wt.id||bt()()<bt()(wt==null?void 0:wt.publish_time)?!1:!!(wt!=null&&wt.publish_time))||(0,it.Rm)()&&!((jt=Zt.AssistantObject.practice)!=null&&jt.can_publish),mode:"multiple",className:Ct.Z.multiple_select,style:{width:"250px"},value:wt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Hn=>{var Dn;if((0,it.Rm)()&&!((Dn=Zt.AssistantObject.practice)!=null&&Dn.can_publish)){_e.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[mt].group_name=Hn,Rt[mt].group_id=wt.group_id;const ir=(0,Fe.flattenDeep)(Rt.map(pr=>pr.group_name)),Fn=Bt.map(pr=>{let Dr=(pr==null?void 0:pr.group_name)||[];return xt(Ge({},pr),{group_name:(0,Fe.remove)(Dr,xn=>ir.includes(xn))})});at(Fn),vn(Rt.slice())},maxTagCount:4,maxTagPlaceholder:Hn=>Ue.createElement("div",{style:{cursor:"pointer"},onClick:()=>jn(wt,mt)},"+",Hn==null?void 0:Hn.length)},tt.group_settings&&tt.group_settings.map(function(Hn){if(!Rt.map(ir=>ir.group_name).flat().includes(Hn.group_name))return Ue.createElement(ge,{value:Hn.group_name,key:Hn.id},Hn.group_name)})),Ue.createElement("div",{className:"ml20"},Ue.createElement(Xt,{size:"large",ranges:{\u6B64\u523B:[wt.publish_time?bt()(wt.publish_time):bt()(),bt()()]},allowClear:!1,disabled:Dt||(bt()()<=bt()((bn=rn((Ot=wt==null?void 0:wt.group_id)==null?void 0:Ot[0]))==null?void 0:bn.publish_time)?!1:[!0,Nn((pn=wt==null?void 0:wt.group_id)==null?void 0:pn[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:Hn=>be(Hn,tt==null?void 0:tt.course_end_date),disabledTime:Hn=>Yt(Hn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[bt()((0,ot.U6)(),"HH:mm"),bt()((0,ot.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[wt.publish_time?bt()(wt.publish_time):void 0,wt.end_time?bt()(wt.end_time):void 0],onChange:(Hn,Dn)=>{var ir;if((0,it.Rm)()&&!((ir=Zt.AssistantObject.practice)!=null&&ir.can_publish)){_e.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[mt].publish_time=Dn[0],!wt.end_time&&Dn[0]?Rt[mt].end_time=bt()(Dn[0]).add(7,"days"):Rt[mt].end_time=Dn[1],vn([...Rt])},onCalendarChange:(Hn,Dn,ir)=>{if(Dn!=null&&Dn[0]&&!Dn[1]){const Fn=bt()(Dn[0]).add(7,"days");Rt[mt].publish_time=Dn[0],Rt[mt].end_time=Fn,vn([...Rt])}}})),!Dt&&Ue.createElement("div",{style:{display:"flex",width:"50px"}},((On=wt==null?void 0:wt.group_id)==null?void 0:On.length)>1&&Ue.createElement(Ee.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ue.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>jn(wt,mt)})),Rt.length<((Qn=tt==null?void 0:tt.group_settings)==null?void 0:Qn.length)&&Ue.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Hn;if((0,it.Rm)()&&!((Hn=Zt.AssistantObject.practice)!=null&&Hn.can_publish)){_e.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}vn(Rt.concat({}))}}),((wt==null?void 0:wt.publish_time)&&bt()()<bt()(wt==null?void 0:wt.publish_time)||!(wt!=null&&wt.publish_time))&&mt!=0&&Ue.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Hn=(0,Fe.cloneDeep)(Bt);Hn.forEach((Dn,ir)=>{Dn.group_name&&(Dn.group_name=Dn.group_name.filter(Fn=>{var pr;return!((pr=Rt[mt].group_name)!=null&&pr.includes(Fn))}))}),Rt=Rt.filter((Dn,ir)=>mt!==ir),at(Hn),vn(Rt.slice()),setTimeout(()=>vn(Rt.slice()),10)}}))))}))),Ue.createElement(Pe.Z,null,Ue.createElement(Xe.Z,null,Ue.createElement("div",{className:Ct.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ue.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"))),Ue.createElement(Xe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ue.createElement(he.default,{checked:pt.allow_late,disabled:Dt||Vn,onChange:wt=>{var mt;if((0,it.Rm)()&&!((mt=Zt.AssistantObject.practice)!=null&&mt.can_late)){_e.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}wt.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ue.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ue.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"),Ue.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ue.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"))}),pt.allow_late=!pt.allow_late,Bt==""&&at([{late_penalty:5}]),Gt(Object.assign({},pt))}},Ue.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(pt==null?void 0:pt.allow_late)&&Ue.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ue.createElement("div",{style:{display:"flex"}},Ue.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ue.createElement(Se.ZP.Group,{style:{marginLeft:"20px"},disabled:Dt||(tt==null?void 0:tt.anonymous_comment)||(tt==null?void 0:tt.allow_late),value:pt.unified_late,onChange:wt=>{var mt;if((0,it.Rm)()&&!((mt=Zt.AssistantObject.practice)!=null&&mt.can_late)){_e.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}pt.unified_late=wt.target.value,Bt==""&&!wt.target.value&&at([{penalty_type:se.Q.Percent,late_penalty:20}]),Gt(Ge({},pt))}},(pt==null?void 0:pt.unified_setting)&&Ue.createElement(Se.ZP,{value:!0,disabled:!(tt!=null&&tt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ue=tt==null?void 0:tt.group_settings)==null?void 0:ue.length)>0&&Ue.createElement(Se.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),pt!=null&&pt.unified_late?Ue.createElement(Ue.Fragment,null,Ue.createElement(Pe.Z,{align:"middle",style:{marginTop:"10px"}},Ue.createElement(Xe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ue.createElement(Xe.Z,{className:"ml20"},Ue.createElement(se.Z,{disabled:Dt||Xn,value:{type:pt.penalty_type,inputValue:pt.late_penalty},onChange:wt=>{var mt;if((0,it.Rm)()&&!((mt=Zt.AssistantObject.practice)!=null&&mt.can_late)){_e.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}Gt(xt(Ge({},pt),{late_penalty:wt.inputValue,penalty_type:wt.type}))}})),Ue.createElement(Xe.Z,{flex:"1",className:"ml5"},Ue.createElement("span",{className:"c-grey-c ml10"},pt.penalty_type===se.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)"))),Ue.createElement(Pe.Z,{align:"middle",style:{marginTop:"15px"}},Ue.createElement(Xe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ue.createElement(Xe.Z,{className:"ml20"},Ue.createElement(Me.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:bt()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Dt||Xn,value:pt.late_time?bt()(pt.late_time):"",disabledDate:wt=>be(wt,tt==null?void 0:tt.course_end_date),onChange:(wt,mt)=>{var qt;if((0,it.Rm)()&&!((qt=Zt.AssistantObject.practice)!=null&&qt.can_late)){_e.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}pt.late_time=mt,Gt(Object.assign({},pt))}})))):Bt.map(function(wt,mt){var qt;return Ue.createElement(Xe.Z,{span:24,key:mt},Ue.createElement(Pe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ue.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",mt+1),Ue.createElement(pe.default,{disabled:Dt||!((qt=lt==null?void 0:lt.homework_status)!=null&&qt.includes("\u672A\u53D1\u5E03"))&&wt.id||(tt==null?void 0:tt.anonymous_comment),mode:"multiple",className:Ct.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof wt.group_name=="string"?[wt.group_name]:wt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:jt=>{var Ot;if((0,it.Rm)()&&!((Ot=Zt.AssistantObject.practice)!=null&&Ot.can_late)){_e.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}Bt[mt].group_name=jt,Bt[mt].group_id=wt.group_id,at(Bt.slice())}},tt.group_settings&&tt.group_settings.map(function(jt){const Ot=Bt.map(pn=>pn.group_name).flat(),bn=Rt.map(pn=>pn.group_name).flat();if(pt!=null&&pt.unified_setting){if(!Ot.includes(jt.group_name))return Ue.createElement(ge,{value:jt.group_name,key:jt.id},jt.group_name)}else if(bn.includes(jt.group_name)&&!Ot.includes(jt.group_name))return Ue.createElement(ge,{value:jt.group_name,key:jt.id},jt.group_name)})),Ue.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ue.createElement(se.Z,{disabled:Dt||Bn(wt.id),value:{type:wt.penalty_type,inputValue:wt.late_penalty},onChange:jt=>{var Ot;if((0,it.Rm)()&&!((Ot=Zt.AssistantObject.practice)!=null&&Ot.can_late)){_e.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}Bt[mt].late_penalty=jt.inputValue,Bt[mt].penalty_type=jt.type,at([...Bt])}}),Ue.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ue.createElement(Me.default,{size:"large",disabled:Dt||Bn(wt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:bt()((0,ot.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:jt=>be(jt,tt==null?void 0:tt.course_end_date),format:"YYYY-MM-DD HH:mm",value:wt!=null&&wt.late_time?bt()(wt.late_time):void 0,onChange:(jt,Ot)=>{var bn;if((0,it.Rm)()&&!((bn=Zt.AssistantObject.practice)!=null&&bn.can_late)){_e.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}Bt[mt].late_time=Ot,at([...Bt])}}),!Dt&&Ue.createElement("div",{style:{display:"flex",width:"50px"}},Ue.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var jt;if((0,it.Rm)()&&!((jt=Zt.AssistantObject.practice)!=null&&jt.can_late)){_e.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}at(Bt.concat({penalty_type:se.Q.Percent,late_penalty:20}))}}),mt>0&&!wt.id&&Ue.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var jt;if((0,it.Rm)()&&!((jt=Zt.AssistantObject.practice)!=null&&jt.can_late)){_e.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}Bt=Bt.filter((Ot,bn)=>mt!==bn),at(Bt.slice()),setTimeout(()=>at(Bt.slice()),10)}}))))})),!Dt&&Ue.createElement(Ue.Fragment,null,Ue.createElement(ut.ZP,{type:"primary",size:"large",loading:ze,style:{width:"138px",marginTop:"30px"},onClick:()=>Et()},"\u4FDD\u5B58")),Ue.createElement(dt.Z,{onConfirm:(wt,mt)=>{Rt.splice(wt,0,...mt),Rt.splice(wt+mt.length,1);const qt=(0,ot.QE)([...Rt]);vn([...qt])}}),Ue.createElement(yt.Z,{resdata:Je,type:"shixun",okloading:ze,oktext:(Je==null?void 0:Je.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:wt=>fn(void 0,null,function*(){on(!0);let mt=yield(0,He.ZP)(`/api/courses/${xe.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(xe.categoryId)]}});on(!1),(mt==null?void 0:mt.status)===0&&zt(Jt)})}))};cn.ZP=(0,tn.connect)(({shixunHomeworks:qe,classroomList:Vt,loading:rt,user:Zt})=>({shixunHomeworks:qe,classroomList:Vt,loading:rt.effects,user:Zt}))(Re)},44624:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Te}});var b=z(59301),Me=z(44283),pe=z(24017),_e=z(62957),we=z(37568),Se=z(6767),Pe=z(77019),Xe=z(5269),Ee={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},he=z(66649),ut=z.n(he),Be=z(76406),bt=z(90736),it=z(59301);const{RangePicker:He}=pe.default,Fe=({dispatch:ot,classroomList:Ct,onConfirm:tn})=>{const[se,Ie]=(0,b.useState)([]),[dt,yt]=(0,b.useState)([]),[kt,Ue]=(0,b.useState)(""),[Ke,ct]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var Ye,fe,Ft,Ge;if(Ct.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Ye=Ct.actionTabs)==null?void 0:Ye.rangePickerDisabled),(fe=Ct.actionTabs)!=null&&fe.rangePickerDisabled?ct((Ft=Ct.actionTabs)==null?void 0:Ft.rangePickerDisabled):ct([!1,!1]);let xt=Ct.actionTabs.data,fn=(Ge=xt==null?void 0:xt.group_name)==null?void 0:Ge.map((ke,be)=>{var Yt;return{group_id:xt==null?void 0:xt.group_id[be],group_name:xt==null?void 0:xt.group_name[be],is_admin:xt==null?void 0:xt.is_admin,end_time:xt==null?void 0:xt.end_time,publish_time:Array.isArray(xt==null?void 0:xt.publish_time)?(Yt=xt==null?void 0:xt.publish_time)==null?void 0:Yt[0]:xt==null?void 0:xt.publish_time}});fn&&(Ie([...fn]),yt([...fn]))}},[Ct.actionTabs]);const De=()=>{ot({type:"classroomList/setActionTabs",payload:{}}),Ue("")},gt=Ye=>{if(Ye){const fe=dt==null?void 0:dt.filter(Ft=>{var Ge,xt;return(xt=(Ge=Ft==null?void 0:Ft.group_name)==null?void 0:Ge.toLowerCase())==null?void 0:xt.includes(Ye==null?void 0:Ye.toLowerCase())});Ie(fe)}else Ie(dt)};return it.createElement(_e.default,{width:980,title:it.createElement("div",{style:{fontWeight:"bold",display:"flex"}},it.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",it.createElement("span",{className:Ee.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")),it.createElement(we.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:kt,onChange:Ye=>{Ue(Ye.target.value.trim()),gt(Ye.target.value.trim())}})),centered:!0,maskClosable:!1,open:Ct.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>De(),onOk:()=>{var Ye;if(dt.some(Ft=>!Ft.end_time||!Ft.publish_time)){Se.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}tn((Ye=Ct.actionTabs)==null?void 0:Ye.index,dt),De()}},it.createElement("div",{className:Ee.modal_con},it.createElement(Pe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(se==null?void 0:se.length)>0?se.map(function(Ye,fe){return it.createElement(Xe.Z,{span:24,key:fe},it.createElement(Pe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:fe==(se==null?void 0:se.length)-1?"0px":"10px"}},it.createElement("div",{className:Ee.multiple_select,title:Ye==null?void 0:Ye.group_name},Ye==null?void 0:Ye.group_name),it.createElement("div",{className:"ml20"},it.createElement(He,{size:"large",allowClear:!1,disabled:Ke,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:Ft=>{var Ge;return(0,Be.Q8)(Ft,(Ge=Ct.actionTabs)==null?void 0:Ge.disabledDate)},disabledTime:Ft=>(0,Be.d0)(Ft),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ut()((0,Be.U6)(),"HH:mm"),ut()((0,Be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Ye==null?void 0:Ye.publish_time)&&[ut()(Ye==null?void 0:Ye.publish_time),Ye!=null&&Ye.end_time?ut()(Ye==null?void 0:Ye.end_time):void 0],onChange:(Ft,Ge)=>{se[fe].publish_time=Ge[0],se[fe].end_time=Ge[1],Ie([...se]),dt.forEach(xt=>{xt.group_id===(Ye==null?void 0:Ye.group_id)&&(xt.publish_time=Ge[0],xt.end_time=Ge[1])}),yt([...dt])},onCalendarChange:(Ft,Ge,xt)=>{if(Ge!=null&&Ge[0]&&!Ge[1]){const fn=ut()(Ge[0]).add(7,"days");se[fe].publish_time=Ge[0],se[fe].end_time=fn,Ie([...se]),dt.forEach(ke=>{ke.group_id===(Ye==null?void 0:Ye.group_id)&&(ke.publish_time=Ge[0],ke.end_time=fn)}),yt([...dt])}}})),Ke[0]?it.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):it.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{se.splice(fe,1),Ie([...se]),dt.forEach((Ft,Ge)=>{Ft.group_id===(Ye==null?void 0:Ye.group_id)&&dt.splice(Ge,1)}),yt([...dt])}})))}):it.createElement(bt.Z,null))))};var Te=(0,Me.connect)(({classroomList:ot})=>({classroomList:ot}))(Fe)},73169:function(Tn,cn,z){"use strict";z.r(cn),z.d(cn,{default:function(){return vn}});var b=z(59301),Me=z(44283),pe=z(458),_e={flex_box_center:"flex_box_center___Oy3Ur",flex_space_between:"flex_space_between___tSEQI",flex_box_vertical_center:"flex_box_vertical_center___ub8YO",flex_box_center_end:"flex_box_center_end___MdOG3",flex_box_column:"flex_box_column___yn_xj",wrap:"wrap___j5lSK",teacherList:"teacherList___eiRwI",list:"list___xa00z",top:"top___Cgsez",tag:"tag___J4aum",name:"name___tDF5G",num:"num___pHt23",check:"check___kslxc",center:"center___FWR7i",img:"img___xWZT8",col:"col___Wszet",bottom:"bottom___ErSvm"},we=z(25399),Se=z(62957),Pe=z(6767),Xe=z(70858),Ee=z(77019),he=z(29787),ut=z(31709),Be=z(82326),bt=z(70467),it=z(94601),He=z(49317),Fe=z(76406),Te=z(14185),ot=z(90736),Ct={flex_box_center:"flex_box_center___VCd4U",flex_space_between:"flex_space_between___PXXJc",flex_box_vertical_center:"flex_box_vertical_center___FvcHp",flex_box_center_end:"flex_box_center_end___faOk_",flex_box_column:"flex_box_column___hYdgW",wrap:"wrap___Lk1KU",des:"des___NrGnB",row:"row____lS7x",list:"list___PEHaz",actionBtns:"actionBtns___eC3BF",state:"state___PF2x0",tag:"tag___WyoKH",tag0:"tag0___HB3U8",tag1:"tag1___YmXRD",tag2:"tag2___l3QtF",tag3:"tag3___dBINp",name:"name___IBwDK"},tn=z(35883),se=z(15267),Ie=Object.defineProperty,dt=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,ct=(Bt,at,pt)=>at in Bt?Ie(Bt,at,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Bt[at]=pt,De=(Bt,at)=>{for(var pt in at||(at={}))Ue.call(at,pt)&&ct(Bt,pt,at[pt]);if(kt)for(var pt of kt(at))Ke.call(at,pt)&&ct(Bt,pt,at[pt]);return Bt},gt=(Bt,at)=>dt(Bt,yt(at)),Ye=(Bt,at,pt)=>new Promise((Gt,Je)=>{var At=Le=>{try{an(pt.next(Le))}catch(Et){Je(Et)}},Jt=Le=>{try{an(pt.throw(Le))}catch(Et){Je(Et)}},an=Le=>Le.done?Gt(Le.value):Promise.resolve(Le.value).then(At,Jt);an((pt=pt.apply(Bt,at)).next())}),Ft=({visible:Bt,data:at={},onSucceed:pt=()=>{},onClose:Gt=()=>{}})=>{var Je;const At=(0,Me.useParams)(),[Jt,an]=(0,b.useState)(!0),[Le,Et]=(0,b.useState)(1),[zt,rn]=(0,b.useState)(0),[yn,Nn]=(0,b.useState)([]),[Vn,Xn]=(0,b.useState)({page:1,per_page:20});(0,b.useEffect)(()=>{Bt&&((0,se.tu)()?(Bn(Vn),Et(at.tabs)):an(!1))},[Bt]),console.log(at,"data");const Bn=jt=>Ye(void 0,null,function*(){an(!0);const Ot=yield(0,He.ZP)(`/api/graduations/${At.id}/student_tasks/review_list.json`,{method:"get",params:gt(De({},jt),{task_id:at.id})});Ot.status===0&&(Nn((Ot==null?void 0:Ot.data)||[]),rn(Ot==null?void 0:Ot.count)),an(!1)}),jn=(jt,Ot)=>Ye(void 0,null,function*(){(yield(0,He.ZP)(`/api/graduations/${At.id}/${Ot==="\u901A\u8FC7"?"student_tasks":"student_tasks/not_pass"}.json`,{method:"post",body:{id:jt.id}})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bn(Vn),pt())}),wt=[{id:1,name:"\u8BFE\u9898\u8BE6\u60C5"},{id:2,name:"\u7533\u8BF7\u8BB0\u5F55"}],mt=[{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"name",ellipsis:!0,width:110,render:(jt,Ot)=>{var bn;return b.createElement("span",null,(bn=Ot==null?void 0:Ot.student)==null?void 0:bn.name)}},{title:"\u5B66\u53F7",dataIndex:"student_id",ellipsis:!0,width:140,render:(jt,Ot)=>{var bn;return b.createElement("span",null,((bn=Ot==null?void 0:Ot.student)==null?void 0:bn.student_id)||"--")}},{title:"\u4E13\u4E1A",dataIndex:"major",ellipsis:!0,render:(jt,Ot)=>b.createElement("span",{className:"c-grey-333"},jt)},{title:"\u9009\u9898\u5BA1\u6838\u72B6\u6001",dataIndex:"state",width:120,ellipsis:!0,render:jt=>b.createElement(b.Fragment,null,jt===0&&b.createElement("div",{className:Ct.tag0},"\u5F85\u5BA1\u6838"),jt===1&&b.createElement("div",{className:Ct.tag1},"\u5DF2\u901A\u8FC7"),jt===2&&b.createElement("div",{style:{color:"#E30000"},className:Ct.tag2},"\u5DF2\u9A73\u56DE"),jt===3&&b.createElement("div",{className:Ct.tag3},"\u5DF2\u64A4\u56DE"))},{title:"\u7533\u8BF7\u65F6\u95F4",width:190,dataIndex:"time",render:jt=>b.createElement("span",{style:{color:"#232B40"}},jt)},{title:b.createElement("span",null,"\u64CD\u4F5C"),dataIndex:"action",key:"action",align:"right",width:120,render:(jt,Ot)=>b.createElement("span",{className:Ct.actionBtns},Ot.state===0?b.createElement(b.Fragment,null,b.createElement("span",{onClick:()=>jn(Ot,"\u901A\u8FC7")},"\u901A\u8FC7"),b.createElement("span",{onClick:()=>jn(Ot,"\u9A73\u56DE"),className:"ml10"},"\u9A73\u56DE")):b.createElement(b.Fragment,null,b.createElement("b",null,"\u901A\u8FC7"),b.createElement("b",{className:"ml10"},"\u9A73\u56DE")))}],qt=(jt,Ot,bn)=>{Vn.page=jt==null?void 0:jt.current,Vn.per_page=jt==null?void 0:jt.pageSize,Xn(De({},Vn)),Bn(Vn)};return b.createElement(Se.default,{centered:!0,destroyOnClose:!0,onCancel:Gt,open:Bt,footer:null,title:(0,se.tu)()?b.createElement(bt.tp,{dataSource:wt,value:Le,onChange:jt=>Et(jt)}):"\u8BFE\u9898\u8BE6\u60C5",width:1e3,afterClose:()=>{Xn({page:1,per_page:20})}},b.createElement("div",{className:Ct.wrap},Le===1&&b.createElement("div",{className:Ct.des},b.createElement("div",{className:Ct.row,style:{alignItems:"center"}},b.createElement("span",null,"\u8BFE\u9898\u540D\u79F0"),b.createElement("span",{style:{maxWidth:(0,se.tu)()?"100%":"769px"},title:at.name},at.name||"--"),(0,se.h)()&&b.createElement("div",{className:Ct.state},at.state===0&&b.createElement("div",{className:Ct.tag0},"\u5F85\u5BA1\u6838"),at.state===1&&b.createElement("div",{className:Ct.tag1},"\u5DF2\u901A\u8FC7"),at.state===2&&b.createElement("div",{className:Ct.tag2},"\u5DF2\u9A73\u56DE"),at.state===3&&b.createElement("div",{className:Ct.tag3},"\u5DF2\u64A4\u56DE"))),b.createElement("div",{className:Ct.row},b.createElement("span",null,"\u6307\u5BFC\u8001\u5E08"),b.createElement("span",{title:at.teacher_names},at.teacher_names||"--")),b.createElement("div",{className:Ct.row},b.createElement("span",null,"\u8BFE\u9898\u9002\u5408\u4E13\u4E1A"),b.createElement("span",{title:at.major},at.major||"--")),b.createElement("div",{className:Ct.row},b.createElement("span",null,"\u8BFE\u9898\u6765\u6E90"),b.createElement("span",{title:at.source},at.source||"--")),b.createElement("div",{className:Ct.row},b.createElement("span",null,"\u8BFE\u9898\u5B66\u79D1\u65B9\u5411"),b.createElement("span",{title:at.direction},at.direction||"--")),b.createElement("div",{className:Ct.row},b.createElement("span",null,"\u8BFE\u9898\u4ECB\u7ECD"),b.createElement("span",null,at.description?b.createElement(tn.Z,{value:at.description}):"--")),b.createElement("div",{className:Ct.list},(Je=at==null?void 0:at.attachments)==null?void 0:Je.map((jt,Ot)=>b.createElement("div",{onClick:()=>{var bn;(0,Fe.Nd)("",`${Te.Z.API_SERVER}${(bn=jt==null?void 0:jt.url)==null?void 0:bn.replace("disposition=inline","")}`)}},jt.title)))),Le===2&&b.createElement(Xe.default,{dataSource:yn,bordered:!1,rowKey:jt=>jt.id,columns:mt,loading:Jt,scroll:{y:500},size:"large",onChange:qt,pagination:{pageSize:Vn.per_page,total:zt,current:Vn.page,showQuickJumper:!0,showSizeChanger:!0,hideOnSinglePage:!zt,size:"default",pageSizeOptions:["10","20","50","100","200"],showTotal:Fe.rU}}),b.createElement("div",{style:{height:"20px"}})))},Ge=z(19997),xt=z(35139),fn=Object.defineProperty,ke=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,ge=(Bt,at,pt)=>at in Bt?fn(Bt,at,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Bt[at]=pt,Re=(Bt,at)=>{for(var pt in at||(at={}))ln.call(at,pt)&&ge(Bt,pt,at[pt]);if(Yt)for(var pt of Yt(at))Xt.call(at,pt)&&ge(Bt,pt,at[pt]);return Bt},qe=(Bt,at)=>ke(Bt,be(at)),Vt=(Bt,at,pt)=>new Promise((Gt,Je)=>{var At=Le=>{try{an(pt.next(Le))}catch(Et){Je(Et)}},Jt=Le=>{try{an(pt.throw(Le))}catch(Et){Je(Et)}},an=Le=>Le.done?Gt(Le.value):Promise.resolve(Le.value).then(At,Jt);an((pt=pt.apply(Bt,at)).next())});const rt=({graduations:Bt,dispatch:at})=>{var pt;const Gt=(0,Me.useParams)(),[Je]=(0,Me.useSearchParams)(),[At,Jt]=(0,b.useState)(1),[an,Le]=(0,b.useState)(!1),[Et,zt]=(0,b.useState)(0),[rn,yn]=(0,b.useState)(0),[Nn,Vn]=(0,b.useState)([]),[Xn,Bn]=(0,b.useState)([]),[jn,wt]=(0,b.useState)({}),[mt,qt]=(0,b.useState)({}),[jt,Ot]=(0,b.useState)(!0),[bn,pn]=(0,b.useState)(!1),{menus:On}=Bt,Qn=(0,b.useRef)(null),Hn=Je!=null&&Je.get("state")?Number(Je==null?void 0:Je.get("state")):"",Dn=On.find(et=>et.clazz==="student_selection")||{},ir=On.find(et=>et.clazz==="student_selection")||1,[Fn,pr]=(0,b.useState)({keyword:"",status:Hn,page:1,per_page:20});(0,b.useEffect)(()=>{xn(Fn)},[At]);const Dr=[{id:"",name:"\u5168\u90E8"},{id:1,name:"\u8FBE\u6210\u53CC\u9009"},{id:0,name:"\u672A\u8FBE\u6210\u53CC\u9009"}],xn=et=>Vt(void 0,null,function*(){Le(!0);const Qe=yield(0,He.ZP)(`/api/graduations/${Gt==null?void 0:Gt.id}/${At===1?"graduation_tasks":"student_tasks/student_list"}.json`,{method:"get",params:et});Qe.status===0&&(Vn((Qe==null?void 0:Qe.data)||[]),zt(Qe==null?void 0:Qe.count),yn((Qe==null?void 0:Qe.total_count)||0)),Le(!1)}),kn=et=>{Fn.status=et,Fn.page=1,pr(Fn),xn(Fn)},nr=et=>{Fn.keyword=et,Fn.page=1,pr(Fn),xn(Fn)},rr=(et,Qe)=>{Fn.page=et,Fn.per_page=Qe,pr(Fn),xn(Fn)},Pt=[{title:"\u5B66\u751F\u59D3\u540D",dataIndex:"name",ellipsis:!0,width:100,render:(et,Qe)=>b.createElement(we.Z,{placement:"topLeft",title:et},b.createElement("span",null,et||"--"))},{title:"\u5B66\u53F7",ellipsis:!0,width:100,dataIndex:"student_id",render:et=>b.createElement(we.Z,{placement:"topLeft",title:et},b.createElement("span",null,et||"--"))},{title:"\u4E13\u4E1A",dataIndex:"major",ellipsis:!0,width:110,render:et=>b.createElement(we.Z,{placement:"topLeft",title:et},b.createElement("span",{className:"c-grey-666"},et||"--"))},{title:"\u8BFE\u9898\u540D\u79F0",ellipsis:!0,dataIndex:"graduation_tasks",render:et=>b.createElement(we.Z,{placement:"topLeft",title:et},b.createElement("span",null,et||"--"))},{title:"\u6307\u5BFC\u8001\u5E08",dataIndex:"teacher",ellipsis:!0,width:110,render:et=>b.createElement(we.Z,{placement:"topLeft",title:et},b.createElement("span",null,et||"--"))},{title:"\u53CC\u9009\u72B6\u6001",dataIndex:"status",width:90,render:et=>b.createElement(b.Fragment,null,et===0&&b.createElement("div",{style:{color:"#E30000"}},"\u672A\u8FBE\u6210\u53CC\u9009"),et===1&&b.createElement("div",null,"\u8FBE\u6210\u53CC\u9009"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",width:90,render:(et,Qe)=>b.createElement("span",{onClick:()=>Vt(void 0,null,function*(){Ot(!0),pn(2);const Mt=yield(0,He.ZP)(`/api/graduations/${Gt==null?void 0:Gt.id}/graduation_tasks.json`,{method:"get",params:{per_page:1e3,status:0,page:1}});Mt.status===0&&(Qe.status===0?Bn(Mt==null?void 0:Mt.data):Bn([{id:Qe.task_id,name:Qe.graduation_tasks},...Mt==null?void 0:Mt.data])),Ot(!1),qt(qe(Re({},Qe),{save_task_id:Qe.task_id}))}),className:"current font14 c-light-primary"},Qe.status===0?"\u5206\u914D\u8BFE\u9898":"\u53D8\u66F4\u8BFE\u9898")}],Ut=(et,Qe)=>Vt(void 0,null,function*(){et.stopPropagation(),Se.default.confirm({centered:!0,title:"\u63D0\u793A",icon:null,content:"\u786E\u8BA4\u53D6\u6D88\u53CC\u9009\uFF1F\u53D6\u6D88\u53CC\u9009\u540E\u5B66\u751F\u9700\u8981\u91CD\u65B0\u8FDB\u884C\u9009\u9898\uFF0C\u4E14\u5B66\u751F\u5728\u539F\u8BFE\u9898\u63D0\u4EA4\u7684\u6587\u6863\u5C06\u88AB\u6E05\u7A7A\u4E14\u65E0\u6CD5\u6062\u590D\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Vt(void 0,null,function*(){(yield(0,He.ZP)(`/api/graduations/${Gt.id}/student_tasks/${Qe.ger_id}.json`,{method:"delete"})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),xn(Fn))})})}),nt=()=>At===2?b.createElement(Xe.default,{columns:Pt,dataSource:Nn,pagination:!1,className:"mb30",style:{minHeight:500}}):b.createElement("div",{className:_e.teacherList},Nn.map(et=>{var Qe,Mt,Ne,Kt,Qt,un,Tt;return b.createElement("div",{onClick:()=>{wt(qe(Re({},et),{tabs:1})),pn(1)},className:_e.list,key:et.id},b.createElement("div",{className:_e.top},et.status===0&&b.createElement("div",{className:_e.tag},"\u672A\u8FBE\u6210\u53CC\u9009"),et.status===1&&b.createElement("div",{className:_e.tag,style:{borderColor:"#D6F7EF",color:"#01795D"}},"\u8FBE\u6210\u53CC\u9009"),b.createElement(we.Z,{title:et.name},b.createElement("div",{className:_e.name},et.name)),et.status===0&&!!(et!=null&&et.wait_review_count)&&b.createElement("div",{className:_e.num},(et==null?void 0:et.wait_review_count)>99?"99+":et==null?void 0:et.wait_review_count),b.createElement("div",{className:_e.check,onClick:Lt=>{Lt.stopPropagation(),wt(qe(Re({},et),{tabs:2})),pn(1)}},b.createElement("i",{className:"iconfont icon-HISTORY font14 mr5"}),"\u67E5\u770B\u9009\u9898\u7533\u8BF7")),et.status===1&&b.createElement("div",{className:_e.center},b.createElement("img",{className:_e.img,src:Te.Z.IMG_SERVER+"/images/"+((Qe=et==null?void 0:et.passed_student)==null?void 0:Qe.image_url)}),b.createElement("div",{className:_e.col},b.createElement("div",{className:"c-black",title:(Mt=et==null?void 0:et.passed_student)==null?void 0:Mt.name},(0,Fe.Pq)((Ne=et==null?void 0:et.passed_student)==null?void 0:Ne.name,6)),b.createElement("div",{className:"c-black"},((Kt=et==null?void 0:et.passed_student)==null?void 0:Kt.student_id)||"--")),b.createElement("div",{className:_e.col},b.createElement("div",null,"\u4E13\u4E1A"),b.createElement("div",{style:{maxWidth:112},title:(Qt=et==null?void 0:et.passed_student)==null?void 0:Qt.major,className:"c-grey-666 multi-llipsis1e"},((un=et==null?void 0:et.passed_student)==null?void 0:un.major)||"--")),b.createElement("div",{className:_e.col},b.createElement("div",null,"\u7533\u8BF7\u65F6\u95F4"),b.createElement("div",{className:"c-black"},((Tt=et==null?void 0:et.passed_student)==null?void 0:Tt.passed_time)||"--")),b.createElement("div",{className:_e.col},b.createElement("div",null,"\u9009\u9898\u5BA1\u6838\u72B6\u6001"),b.createElement("div",{className:"c-grey-333"},et==null?void 0:et.state_name)),b.createElement(bt.op,{onClick:Lt=>Ut(Lt,et),style:{marginLeft:"auto"}},"\u53D6\u6D88\u53CC\u9009")),b.createElement("div",{className:_e.bottom},b.createElement("div",{className:"mr30"},b.createElement("div",null,"\u6307\u5BFC\u8001\u5E08"),b.createElement("div",{style:{maxWidth:70},title:et==null?void 0:et.teacher_names},(et==null?void 0:et.teacher_names)||"--")),b.createElement("div",{className:"mr30"},b.createElement("div",null,"\u8BFE\u9898\u6765\u6E90"),b.createElement("div",{style:{maxWidth:100},title:et==null?void 0:et.source},(et==null?void 0:et.source)||"--")),b.createElement("div",null,b.createElement("div",null,"\u5B66\u79D1\u65B9\u5411"),b.createElement("div",{style:{maxWidth:180},title:et==null?void 0:et.direction},(et==null?void 0:et.direction)||"--"))))}));return b.createElement("div",{className:_e.wrap},b.createElement(it.Z,{style:{marginBottom:12},title:"\u5B66\u751F\u9009\u9898",status:Dn==null?void 0:Dn.status,startAt:Dn==null?void 0:Dn.start_at,endAt:Dn==null?void 0:Dn.end_at}),b.createElement(bt.YG,{value:At,tabBarExtraContent:(0,Fe.QB)(Dn==null?void 0:Dn.next_start_at)&&b.createElement(bt.op,{onClick:()=>{pn(3)}},b.createElement("i",{className:"iconfont icon-anquanshezhi font14 mr5"}),"\u5B66\u751F\u9009\u9898\u8BBE\u7F6E"),dataSource:[{id:1,name:"\u9009\u9898\u5217\u8868"},{id:2,name:"\u5B66\u751F\u5217\u8868"}],onChange:et=>{et!==At&&(Fn.page=1,Fn.keyword="",Fn.status="",Vn([]),zt(0),Jt(et))}}),!!rn&&b.createElement(Ee.Z,{align:"middle",justify:"space-between",style:{margin:"6px 0 14px 0"}},b.createElement(bt.qp,{title:"\u53CC\u9009\u72B6\u6001",className:"mt20",value:Fn.status,onChange:kn,dataSource:Dr,titleWidth:56}),b.createElement(bt.t7,{style:{width:329},placeholder:At===1?"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0/\u6307\u5BFC\u8001\u5E08\u8FDB\u884C\u641C\u7D22":"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0/\u5B66\u751F\u59D3\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",value:Fn.keyword,onChange:nr})),b.createElement(he.Z,{spinning:an},Nn.length?nt():b.createElement(ot.Z,{customText:!rn&&(At===1?b.createElement("span",null,"\u6682\u65E0\u9009\u9898\uFF0C\u8BF7\u5148\u5B8C\u6210",b.createElement(Me.Link,{to:`/graduations/${Gt.id}/topics`},"\u8BFE\u9898\u5F55\u5165")):b.createElement("span",null,"\u6682\u65E0\u5B66\u751F\uFF0C\u70B9\u51FB\u53BB",b.createElement(Me.Link,{to:`/graduations/${Gt.id}/students`},"\u9080\u8BF7\u5B66\u751F"),"\u52A0\u5165\u6BD5\u8BBE"))})),b.createElement(ut.Z,{current:Fn.page,showQuickJumper:!0,showSizeChanger:!0,hideOnSinglePage:!Et,pageSize:Fn.per_page,className:"mb30",pageSizeOptions:["10","20","50","100","200"],total:Et,showTotal:Fe.rU,onChange:rr}),b.createElement(Ft,{data:jn,visible:bn===1,onClose:()=>{pn(!1)},onSucceed:()=>{xn(Fn)}}),b.createElement(Se.default,{centered:!0,destroyOnClose:!0,onCancel:()=>pn(!1),open:bn===2,title:mt.status===0?"\u5206\u914D\u8BFE\u9898":"\u53D8\u66F4\u8BFE\u9898",width:520,afterClose:()=>{qt({})},onOk:()=>{const et=()=>Vt(void 0,null,function*(){(yield(0,He.ZP)(`/api/graduations/${Gt.id}/student_tasks/give_task.json`,{method:"post",body:{task_id:mt.task_id,student_id:mt.id}})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),xn(Fn),pn(!1))});if(mt.task_id!==mt.save_task_id&&mt.status===1){Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,cancelText:"\u53D6\u6D88",title:"\u53D8\u66F4\u8BFE\u9898",content:b.createElement("div",null,b.createElement("p",null,"\u8BE5\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002\u786E\u8BA4\u4E3A\u8BE5\u5B66\u751F\u53D8\u66F4\u8BFE\u9898\uFF1F\u53D8\u66F4\u540E\u5B66\u751F\u5728\u539F\u8BFE\u9898\u63D0\u4EA4\u7684\u6587\u6863\u5C06\u6E05\u7A7A\u4E14\u65E0\u6CD5\u6062\u590D\u3002"),b.createElement("div",null,"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\u786E\u8BA4\u53D8\u66F4"),b.createElement(xt.Z,{ref:Qe=>Qn.current=Qe})),onOk:et});return}et()}},b.createElement("div",{className:_e.modal},b.createElement(pe.Z,{loading:jt},b.createElement("div",{className:"mb10"},"\u8BFE\u9898"),b.createElement(Be.default,{showSearch:!0,size:"large",placeholder:"\u8BF7\u9009\u62E9\u8BFE\u9898",optionFilterProp:"children",value:mt.task_id,onChange:et=>{qt(qe(Re({},mt),{task_id:et}))},style:{width:"100%"}},Xn.map(et=>b.createElement(Be.default.Option,{value:et.id,key:et.id},et.name)))))),b.createElement(Ge.Z,{visible:bn===3,data:qe(Re({},Dn),{disabled_time:(pt=On==null?void 0:On[ir-1])==null?void 0:pt.end_at}),onClose:()=>pn(!1),onSuccess:()=>{pn(!1)}}))};var Zt=(0,Me.connect)(({graduations:Bt})=>({graduations:Bt}))(rt),st={flex_box_center:"flex_box_center___NXcIP",flex_space_between:"flex_space_between___Pebyg",flex_box_vertical_center:"flex_box_vertical_center___BQGzf",flex_box_center_end:"flex_box_center_end___zN8c6",flex_box_column:"flex_box_column___slo4Z",wrap:"wrap___Cl57w",tip:"tip___sGVnl",listWrap:"listWrap___OYoyC",list:"list___rT4Q_",left:"left___b7Ykx",state:"state___ZiQzs",tag:"tag___swdOn",tag0:"tag0___M6FYN",tag1:"tag1___Sg8yD",tag2:"tag2___iT8lP",tag3:"tag3___jqhO2",name:"name___BNDAZ",info:"info___pKNSG",time:"time___jyND5",right:"right___XT6Gh",btn:"btn___vKu7W"},$t={flex_box_center:"flex_box_center___F8QoL",flex_space_between:"flex_space_between___ixN8I",flex_box_vertical_center:"flex_box_vertical_center___lwi7z",flex_box_center_end:"flex_box_center_end___MtVph",flex_box_column:"flex_box_column___fn2Wu",wrap:"wrap___CkyzG",listWrap:"listWrap___d0chX",list:"list___S7Zml",top:"top___FxvYM",box:"box___kpIeL",name:"name___MGi0J",des:"des___VqXEd",check:"check___tTb0k",bottom:"bottom____2Rzh"},Nt=Object.defineProperty,le=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Bt,at,pt)=>at in Bt?Nt(Bt,at,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Bt[at]=pt,de=(Bt,at)=>{for(var pt in at||(at={}))ne.call(at,pt)&&ae(Bt,pt,at[pt]);if(le)for(var pt of le(at))te.call(at,pt)&&ae(Bt,pt,at[pt]);return Bt},re=(Bt,at,pt)=>new Promise((Gt,Je)=>{var At=Le=>{try{an(pt.next(Le))}catch(Et){Je(Et)}},Jt=Le=>{try{an(pt.throw(Le))}catch(Et){Je(Et)}},an=Le=>Le.done?Gt(Le.value):Promise.resolve(Le.value).then(At,Jt);an((pt=pt.apply(Bt,at)).next())}),xe=({visible:Bt,onSucceed:at=()=>{},onClose:pt=()=>{},onListClick:Gt})=>{const Je=(0,Me.useParams)(),[At,Jt]=(0,b.useState)(!0),[an,Le]=(0,b.useState)(0),[Et,zt]=(0,b.useState)([]),rn={keyword:"",page:1,per_page:20,status:0},[yn,Nn]=(0,b.useState)(de({},rn));(0,b.useEffect)(()=>{Bt&&Vn(yn)},[Bt]);const Vn=wt=>re(void 0,null,function*(){Jt(!0);const mt=yield(0,He.ZP)(`/api/graduations/${Je.id}/graduation_tasks.json`,{method:"get",params:wt});mt.status===0&&(zt((mt==null?void 0:mt.data)||[]),Le(mt==null?void 0:mt.count)),Jt(!1)}),Xn=wt=>{yn.keyword=wt,yn.page=1,Nn(yn),Vn(yn)},Bn=(wt,mt)=>{yn.page=wt,yn.per_page=mt,Nn(yn),Vn(yn)},jn=(wt,mt)=>re(void 0,null,function*(){wt.stopPropagation(),Se.default.confirm({centered:!0,title:"\u63D0\u793A",icon:null,content:"\u786E\u8BA4\u52A0\u5165\u8BE5\u8BFE\u9898\uFF1F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>re(void 0,null,function*(){(yield(0,He.ZP)(`/api/graduations/${Je.id}/student_tasks/${mt}.json`,{method:"put"})).status===0&&(Pe.ZP.success("\u7533\u8BF7\u6210\u529F"),at())})})});return b.createElement(Se.default,{centered:!0,destroyOnClose:!0,onCancel:pt,open:Bt,footer:null,title:"\u5B66\u751F\u9009\u9898",width:1e3,afterClose:()=>{Nn(de({},rn))}},b.createElement("div",{className:$t.wrap},b.createElement(bt.t7,{style:{width:329},placeholder:"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0/\u6307\u5BFC\u8001\u5E08\u8FDB\u884C\u641C\u7D22",value:yn.keyword,onChange:Xn,className:"mb20"}),b.createElement("div",{className:$t.listWrap},b.createElement(he.Z,{spinning:At},Et.length?Et.map(wt=>b.createElement("div",{onClick:()=>{Gt(wt)},className:$t.list,key:wt.id},b.createElement("div",{className:$t.top},b.createElement("div",{className:$t.box},b.createElement(we.Z,{title:wt.name},b.createElement("div",{className:$t.name},wt.name)),b.createElement("div",{className:$t.des},b.createElement(tn.Z,{showTextOnly:!0,showLines:2,value:wt.description||""}))),b.createElement("div",{className:$t.check},b.createElement(bt.op,{onClick:mt=>jn(mt,wt.id)},"\u7533\u8BF7\u8BE5\u8BFE\u9898"))),b.createElement("div",{className:$t.bottom},b.createElement("div",{className:"mr30"},b.createElement("div",null,"\u6307\u5BFC\u8001\u5E08"),b.createElement("div",{title:wt==null?void 0:wt.teacher_names,style:{maxWidth:70}},(wt==null?void 0:wt.teacher_names)||"--")),b.createElement("div",{className:"mr30"},b.createElement("div",null,"\u8BFE\u9898\u6765\u6E90"),b.createElement("div",{title:wt==null?void 0:wt.source,style:{maxWidth:100}},(wt==null?void 0:wt.source)||"--")),b.createElement("div",{className:"mr30"},b.createElement("div",null,"\u5B66\u79D1\u65B9\u5411"),b.createElement("div",{title:wt==null?void 0:wt.direction,style:{maxWidth:180}},(wt==null?void 0:wt.direction)||"--")),b.createElement("div",null,b.createElement("div",null,"\u9002\u7528\u4E13\u4E1A"),b.createElement("div",{title:wt==null?void 0:wt.major,style:{maxWidth:140}},(wt==null?void 0:wt.major)||"--"))))):b.createElement(ot.Z,{loading:At}))),b.createElement(ut.Z,{current:yn.page,hideOnSinglePage:!an,showQuickJumper:!0,className:"mb20",showSizeChanger:!0,pageSize:yn.per_page,pageSizeOptions:["10","20","50","100","200"],total:an,showTotal:Fe.rU,onChange:Bn})))},tt=Object.defineProperty,Ve=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ht=(Bt,at,pt)=>at in Bt?tt(Bt,at,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Bt[at]=pt,Dt=(Bt,at)=>{for(var pt in at||(at={}))We.call(at,pt)&&ht(Bt,pt,at[pt]);if(Ve)for(var pt of Ve(at))lt.call(at,pt)&&ht(Bt,pt,at[pt]);return Bt},Oe=(Bt,at,pt)=>new Promise((Gt,Je)=>{var At=Le=>{try{an(pt.next(Le))}catch(Et){Je(Et)}},Jt=Le=>{try{an(pt.throw(Le))}catch(Et){Je(Et)}},an=Le=>Le.done?Gt(Le.value):Promise.resolve(Le.value).then(At,Jt);an((pt=pt.apply(Bt,at)).next())});const ze=({graduations:Bt,dispatch:at})=>{const pt=(0,Me.useParams)(),[Gt]=(0,Me.useSearchParams)(),[Je,At]=(0,b.useState)(!1),[Jt,an]=(0,b.useState)(0),[Le,Et]=(0,b.useState)(0),[zt,rn]=(0,b.useState)([]),[yn,Nn]=(0,b.useState)({}),[Vn,Xn]=(0,b.useState)(!1),[Bn,jn]=(0,b.useState)(!1),wt=Gt!=null&&Gt.get("state")?Number(Gt==null?void 0:Gt.get("state")):"",[mt,qt]=(0,b.useState)({keyword:"",state:wt,page:1,per_page:20}),{menus:jt}=Bt,Ot=jt.find(Fn=>Fn.clazz==="student_selection")||{};(0,b.useEffect)(()=>{pn(mt)},[]);const bn=[{id:"",name:"\u5168\u90E8"},{id:0,name:"\u5F85\u5BA1\u6838"},{id:1,name:"\u5DF2\u901A\u8FC7"},{id:2,name:"\u5DF2\u9A73\u56DE"},{id:3,name:"\u5DF2\u64A4\u56DE"}],pn=Fn=>Oe(void 0,null,function*(){At(!0);const pr=yield(0,He.ZP)(`/api/graduations/${pt==null?void 0:pt.id}/student_tasks/checked_list.json`,{method:"get",params:Fn});pr.status===0&&(rn((pr==null?void 0:pr.data)||[]),an(pr==null?void 0:pr.count),Et(pr==null?void 0:pr.total_count)),At(!1)}),On=Fn=>{mt.state=Fn,mt.page=1,qt(mt),pn(mt)},Qn=(Fn,pr)=>{mt.page=Fn,mt.per_page=pr,qt(mt),pn(mt)},Hn=(Fn,pr)=>Oe(void 0,null,function*(){Fn.stopPropagation(),Se.default.confirm({centered:!0,title:"\u63D0\u793A",icon:null,content:pr.state===0?"\u786E\u8BA4\u64A4\u56DE\u8BE5\u8BFE\u9898\u7533\u8BF7\uFF1F":"\u786E\u8BA4\u53D6\u6D88\u53CC\u9009\uFF1F\u53D6\u6D88\u540E\u9700\u8981\u91CD\u65B0\u8FDB\u884C\u9009\u9898",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>Oe(void 0,null,function*(){(yield(0,He.ZP)(`/api/graduations/${pt.id}/student_tasks/${pr.id}.json`,{method:"delete"})).status===0&&(Pe.ZP.success("\u64CD\u4F5C\u6210\u529F"),pn(mt))})})}),Dn=()=>b.createElement("div",{className:st.listWrap},zt.map(Fn=>b.createElement("div",{onClick:()=>{Xn(!0),Nn(Dt({},Fn))},className:st.list,key:Fn.id},b.createElement("div",{className:st.left},b.createElement("div",{className:st.state},Fn.state===0&&b.createElement("div",{className:st.tag0},"\u5F85\u5BA1\u6838"),Fn.state===1&&b.createElement("div",{className:st.tag1},"\u5DF2\u901A\u8FC7"),Fn.state===2&&b.createElement("div",{className:st.tag2},"\u5DF2\u9A73\u56DE"),Fn.state===3&&b.createElement("div",{className:st.tag3},"\u5DF2\u64A4\u56DE"),b.createElement(we.Z,{title:Fn.name},b.createElement("div",{className:st.name},Fn.name))),b.createElement("div",{className:st.info},b.createElement("span",null,"\u6307\u5BFC\u8001\u5E08",b.createElement("span",{title:Fn.teacher_names},(0,Fe.Pq)(Fn.teacher_names,9))),b.createElement("span",null,"\u8BFE\u9898\u6765\u6E90",b.createElement("span",{title:Fn.source},(0,Fe.Pq)(Fn.source,9))),b.createElement("span",null,"\u5B66\u79D1\u65B9\u5411",b.createElement("span",{title:Fn.direction},(0,Fe.Pq)(Fn.direction,9)))),b.createElement("div",{className:st.time},"\u7533\u8BF7\u65F6\u95F4\xA0\xA0",Fn.time)),[0,1].includes(Ot==null?void 0:Ot.status)&&b.createElement("div",{className:st.right},Fn.state===0&&b.createElement("div",{onClick:pr=>Hn(pr,Fn),className:st.btn},"\u64A4\u56DE\u7533\u8BF7"),Fn.state===1&&b.createElement("div",{onClick:pr=>Hn(pr,Fn),className:st.btn},"\u53D6\u6D88\u53CC\u9009"))))),ir=!!zt.length;return b.createElement("div",{className:st.wrap},(Ot==null?void 0:Ot.status)===2&&b.createElement("div",{className:st.tip},b.createElement("i",{style:{paddingTop:2},className:"iconfont icon-weixiada font12 mr5"}),b.createElement("span",null,"\u9009\u9898\u9636\u6BB5\u5DF2\u7ED3\u675F\uFF0C\u82E5\u8981\u53D8\u66F4\u8BFE\u9898\u9700\u8054\u7CFB\u7BA1\u7406\u5458\u624B\u52A8\u8FDB\u884C\u53D8\u66F4")),b.createElement(it.Z,{style:{marginBottom:12},title:"\u5B66\u751F\u9009\u9898",status:Ot==null?void 0:Ot.status,startAt:Ot==null?void 0:Ot.start_at,endAt:Ot==null?void 0:Ot.end_at}),!!Le&&b.createElement(Ee.Z,{align:"middle",justify:"space-between"},b.createElement(bt.qp,{title:"\u5BA1\u6838\u72B6\u6001",className:"mt20",value:mt.state,onChange:On,dataSource:bn,titleWidth:56}),(Ot==null?void 0:Ot.status)!==2&&b.createElement(bt.op,{onClick:()=>jn(!0)},"\u70B9\u51FB\u9009\u9898")),b.createElement(he.Z,{spinning:Je},ir?Dn():b.createElement(ot.Z,{loading:Je,ButtonTwo:(Ot==null?void 0:Ot.status)!==2&&!Le&&b.createElement(bt.op,{onClick:()=>jn(!0)},"\u70B9\u51FB\u9009\u9898")})),b.createElement(ut.Z,{current:mt.page,hideOnSinglePage:!Jt,showSizeChanger:!0,showQuickJumper:!0,className:"mb20",pageSizeOptions:["10","20","50","100","200"],total:Jt,pageSize:mt.per_page,showTotal:Fe.rU,onChange:Qn}),b.createElement(xe,{onClose:()=>jn(!1),visible:Bn,onListClick:Fn=>{Nn(Dt({},Fn)),Xn(!0)},onSucceed:()=>{pn(mt),jn(!1)}}),b.createElement(Ft,{data:yn,visible:Vn,onClose:()=>Xn(!1),onSucceed:()=>{}}))};var on=(0,Me.connect)(({graduations:Bt})=>({graduations:Bt}))(ze);const Rt=({graduations:Bt,dispatch:at,loading:pt})=>b.createElement(pe.Z,{style:{margin:"20px 0 0 45px"},loading:pt.effects["graduations/getGraduationsDetails"]},(0,se.tu)()?b.createElement(Zt,null):b.createElement(on,null));var vn=(0,Me.connect)(({loading:Bt,graduations:at})=>({loading:Bt,graduations:at}))(Rt)},94601:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Ee}});var b=z(59301),Me={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=z(92310),_e=z.n(pe),we=z(81068),Se=z(66649),Pe=z.n(Se),Ee=({className:he,status:ut,style:Be={},startAt:bt,endAt:it,title:He})=>b.createElement("div",{className:_e()(Me.title,he),style:Be},b.createElement("b",null,He),b.createElement(we.Z,{className:"ml10",status:ut}),b.createElement("span",{className:Me.time},b.createElement("span",null,"\u5F00\u542F\u65F6\u95F4",b.createElement("span",{className:"ml10"},bt?Pe()(bt).format("YYYY-MM-DD HH:mm"):"--")),b.createElement("span",{className:"ml30"},"\u622A\u6B62\u65F6\u95F4",b.createElement("span",{className:"ml10"},it?Pe()(it).format("YYYY-MM-DD HH:mm"):"--"))))},19997:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return kt}});var b=z(59301),Me=z(6767),pe=z(94968),_e=z(62957),we=z(77019),Se=z(24017),Pe={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"},Xe=z(14185),Ee=z(44283),he=z(70467),ut=z(49317),Be=z(76406),bt=z(39116),it=z(66649),He=z.n(it),Fe=z(28450),Te=Object.defineProperty,ot=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,se=(Ue,Ke,ct)=>Ke in Ue?Te(Ue,Ke,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ue[Ke]=ct,Ie=(Ue,Ke)=>{for(var ct in Ke||(Ke={}))Ct.call(Ke,ct)&&se(Ue,ct,Ke[ct]);if(ot)for(var ct of ot(Ke))tn.call(Ke,ct)&&se(Ue,ct,Ke[ct]);return Ue},dt=(Ue,Ke,ct)=>new Promise((De,gt)=>{var Ye=Ge=>{try{Ft(ct.next(Ge))}catch(xt){gt(xt)}},fe=Ge=>{try{Ft(ct.throw(Ge))}catch(xt){gt(xt)}},Ft=Ge=>Ge.done?De(Ge.value):Promise.resolve(Ge.value).then(Ye,fe);Ft((ct=ct.apply(Ue,Ke)).next())}),kt=({visible:Ue,data:Ke,onClose:ct=()=>{},onSuccess:De=()=>{}})=>{const[gt,Ye]=(0,b.useState)([]),[fe,Ft]=(0,b.useState)(""),[Ge,xt]=(0,b.useState)(""),[fn,ke]=(0,b.useState)(""),[be,Yt]=(0,b.useState)(!1),ln=(0,Ee.useParams)();(0,b.useEffect)(()=>{var Nt;Ue&&(ke((Ke==null?void 0:Ke.description)||""),Ft((Ke==null?void 0:Ke.start_at)||""),xt((Ke==null?void 0:Ke.end_at)||""),Ye(((Nt=Ke==null?void 0:Ke.attachments)==null?void 0:Nt.map(le=>({name:le.name||le.title,status:"done",response:{id:le.id}})))||[]))},[Ue]);const Xt={multiple:!0,withCredentials:!0,fileList:gt,beforeUpload:Nt=>Nt.size/1024/1024>150?(Me.ZP.error(`\u300A${Nt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),pe.default.LIST_IGNORE):!0,action:`${Xe.Z.API_SERVER}/api/attachments.json`,onChange(Nt){Ye((0,Be.uD)(Nt))}},ge=()=>dt(void 0,null,function*(){if(!fe||!Ge){Me.ZP.warning(`\u8BF7\u9009\u62E9${rt}`);return}Yt(!0),console.log(gt,"fileList");const Nt=yield(0,ut.ZP)(`/api/graduations/${ln.id}/graduation_stages/${Ke.id}.json`,{method:"put",body:{start_at:fe,end_at:Ge,description:fn,attachment_ids:gt.map(le=>{var ne;return(ne=le==null?void 0:le.response)==null?void 0:ne.id})}});if((Nt==null?void 0:Nt.status)===0){Me.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,Ee.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:ln==null?void 0:ln.id}}),De();return}Yt(!1)});console.log(Ke,"data");const Re=[{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"}],qe=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],Vt=gt.some(Nt=>!(Nt!=null&&Nt.response)),{timeName:rt,text:Zt,width:st,key:$t}=(Re==null?void 0:Re.find(Nt=>Nt.key===(Ke==null?void 0:Ke.clazz)))||{};return b.createElement(_e.default,{centered:!0,destroyOnClose:!0,confirmLoading:be,okButtonProps:{disabled:Vt},onCancel:ct,onOk:ge,open:Ue,title:`${Ke.name}\u8BBE\u7F6E`,width:st,afterClose:()=>{Ye([]),Ft(""),ke(""),xt(""),Yt(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},b.createElement("div",{className:Pe.wrap},b.createElement("div",{className:Pe.label},b.createElement("span",null,"*"),rt),b.createElement(we.Z,{align:"middle",className:qe.includes($t)?"mb20":""},b.createElement(Se.default,{format:"YYYY-MM-DD HH:mm",value:fe?He()(fe):"",disabledDate:Nt=>(0,Fe.Q8)(Nt,"",Ke==null?void 0:Ke.disabled_time),disabledTime:Nt=>(0,Fe.d0)(Nt,Ke==null?void 0:Ke.disabled_time),showTime:{format:"HH:mm"},onChange:(Nt,le)=>{Ft(le)}}),b.createElement("span",{className:"ml10 mr10"},"\u81F3"),b.createElement(Se.default,{format:"YYYY-MM-DD HH:mm",value:Ge?He()(Ge):"",disabledDate:Nt=>(0,Fe.Q8)(Nt,"",Ke==null?void 0:Ke.disabled_time),disabledTime:Nt=>(0,Fe.d0)(Nt,Ke==null?void 0:Ke.disabled_time),showTime:{format:"HH:mm"},onChange:(Nt,le)=>{xt(le)}}),b.createElement("span",{className:`${$t==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},Zt)),qe.includes($t)&&b.createElement(b.Fragment,null,b.createElement("div",{className:Pe.label},"\u9636\u6BB5\u63CF\u8FF0"),b.createElement(bt.Z,{height:140,defaultValue:fn,onChange:Nt=>{ke(Nt)}}),b.createElement(pe.default,Ie({},Xt),b.createElement(we.Z,{align:"middle",className:"mt10"},b.createElement(he.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:Nt=>{Nt.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,cn,z){"use strict";z.d(cn,{Z:function(){return Se}});var b=z(59301),Me={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=z(92310),_e=z.n(pe),Se=({className:Pe,status:Xe})=>b.createElement(b.Fragment,null,Xe===0&&b.createElement("div",{className:_e()(Me.tag,Pe)},"\u672A\u5F00\u59CB"),Xe===1&&b.createElement("div",{className:_e()(Me.tag,Pe),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),Xe===2&&b.createElement("div",{className:_e()(Me.tag,Pe),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},20047:function(Tn,cn,z){"use strict";z.d(cn,{AL:function(){return se},Iy:function(){return ut},Qv:function(){return it},ez:function(){return tn},jb:function(){return Be}});var b=z(32834),Me=z.n(b),pe=z(11690),_e=z.n(pe);let we=1;function Se(Ue,Ke){const ct=Ue.match(/^(\s+)(?:```)/);if(ct===null)return Ke;const De=ct[1];return Ke.split(`
|
|
|
`).map(gt=>{const Ye=gt.match(/^\s+/);if(Ye===null)return gt;const[fe]=Ye;return fe.length>=De.length?gt.slice(De.length):gt}).join(`
|
|
|
`)}let Pe=[],Xe=["<ul>"];const Ee=new(Me()).Renderer,he=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function ut(){Pe.length=0,Xe=["<ul>"]}const Be={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function bt(Ue,Ke,ct,De){if(Ke>=Ue.length||Ue[Ke].level<=ct)return Ke;var gt=Ue[Ke];De.push("<li><a href='#"+we+gt.anchor+"'>"+gt.text+"</a>"),Ke++;var Ye=[];return Ke=bt(Ue,Ke,gt.level,Ye),Ye.length>0&&(De.push("<ul>"),Ye.forEach(function(fe){De.push(fe)}),De.push("</ul>")),De.push("</li>"),Ke=bt(Ue,Ke,ct,De),Ke}function it(){return bt(Pe,0,0,Xe),Xe.push("</ul>"),Xe.join("")}const He={heading(Ue){const Ke=he.exec(Ue);if(we+=1,Ke)return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:Ke[2]}},fences(Ue){const Ke=this.rules.block.fences.exec(Ue);if(Ke){const ct=Ke[0];let De=Se(ct,Ke[3]||"");const gt=Ke[2]?Ke[2].trim():Ke[2];if(["latex","katex","math"].indexOf(gt)>=0){const Ye=ot(),fe=De;De=Ye,Ct[Ye]={type:"block",expression:fe}}return{type:"code",raw:ct,lang:gt,text:De}}}},Fe=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Te=0;const ot=()=>`__special_katext_id_${Te++}__`;let Ct={};function tn(){return Ct}function se(){Te=0,Ct={}}function Ie(Ue){return Ue=Ue.replace(Fe,(Ke,ct)=>{const De=ot();return Ct[De]={type:"inline",expression:ct},De}),Ue}const dt=Ee.listitem;Ee.listitem=function(Ue){return dt(Ie(Ue))};const yt=Ee.paragraph;Ee.paragraph=function(Ue){return yt(Ie(Ue))};const kt=Ee.tablecell;Ee.tablecell=function(Ue,Ke){return kt(Ie(Ue),Ke)},Ee.code=function(Ue,Ke,ct){const De=(Ke||"").match(/\S*/)[0];return De?["latex","katex","math"].indexOf(De)>=0?`<p class='editormd-tex'>${Ue}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ke}">${ct?Ue:(0,pe.escape)(Ue,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ct?Ue:(0,pe.escape)(Ue,!0))+"</code></pre>"},Ee.heading=function(Ue,Ke,ct){let De=this.options.headerPrefix+ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Pe.push({anchor:De,level:Ke,text:Ue}),"<h"+Ke+' id="'+we+De+'">'+Ue+"</h"+Ke+">"},Me().setOptions({silent:!0,gfm:!0,pedantic:!1}),Me().use({tokenizer:He,renderer:Ee}),cn.ZP=Me()},24532:function(Tn,cn,z){"use strict";z.d(cn,{rX:function(){return Ie},pW:function(){return dt},gy:function(){return yt},xY:function(){return se},O5:function(){return tn},hs:function(){return Fe},tJ:function(){return it},o1:function(){return He},Rd:function(){return Ct}});var b=z(44283),Me=z(62957),pe=z(37285),_e=z(6767),we=z(15267),Se=z(76406),Pe=z(87169),Xe=z(25510),Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4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wPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",he=z.p+"static/newqrcode.a8740efb.png",ut=z(32637),Be=z(59301),bt=(kt,Ue,Ke)=>new Promise((ct,De)=>{var gt=Ft=>{try{fe(Ke.next(Ft))}catch(Ge){De(Ge)}},Ye=Ft=>{try{fe(Ke.throw(Ft))}catch(Ge){De(Ge)}},fe=Ft=>Ft.done?ct(Ft.value):Promise.resolve(Ft.value).then(gt,Ye);fe((Ke=Ke.apply(kt,Ue)).next())});const it=(kt,Ue=!1,Ke=!1,ct="",De=!1)=>!!(He(kt)&&Te(kt,Ue,Ke,ct,De)),He=kt=>(0,we.bg)()?!0:(kt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Fe=kt=>{var Ue,Ke,ct;const{user:De}=(0,b.getDvaApp)()._store.getState();(0,we.bg)()&&!((Ke=(Ue=De==null?void 0:De.userInfo)==null?void 0:Ue.course)!=null&&Ke.course_public)&&!((ct=De==null?void 0:De.userInfo)!=null&&ct.profile_completed)&&kt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Te=(kt,Ue=!1,Ke=!0,ct="",De=!1)=>{var gt;const{user:Ye}=(0,b.getDvaApp)()._store.getState();return(gt=Ye.userInfo)!=null&>.profile_completed?!0:(Ke?kt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ct,isCurrentPage:De}}):Me.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,Se.xg)("/account/profile/edit"),ot()}}),!1)},ot=()=>{Me.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()}})},Ct=()=>{Me.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Be.createElement("div",{style:{textAlign:"center"}},Be.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"),Be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ut}),Be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},tn=()=>{var kt;const{user:Ue}=(0,b.getDvaApp)()._store.getState();return(kt=Ue.userInfo)!=null&&kt.professional_certification?!0:(Me.default.confirm({title:"\u63D0\u793A",centered:!0,content:Be.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,Se.xg)("/account/certification")}}),!1)},se=()=>(0,we.V9)()?!0:(Me.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Be.createElement("img",{src:he,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Ie=(kt,Ue)=>kt?!0:(Me.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("p",null,Ue||"\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"),Be.createElement("div",{style:{marginLeft:"110px"}},Be.createElement("img",{src:Ee,width:200}),Be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Se.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),dt=kt=>{Me.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,Be.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"),Be.createElement(pe.Z,null),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.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 ",Be.createElement("a",null,kt),"\u5929\u3002"),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.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")),Be.createElement("div",{style:{textAlign:"center",marginTop:30}},Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},yt=(kt,Ue="")=>{const{shixunsDetail:{detail:Ke}}=(0,b.getDvaApp)()._store.getState();if((Ke==null?void 0:Ke.public)===2||(Ke==null?void 0:Ke.public)===1||(Ke==null?void 0:Ke.shixun_status)===3){let ct="";return(Ke==null?void 0:Ke.public)===2&&(ct="\u5DF2\u516C\u5F00"),(Ke==null?void 0:Ke.public)===1&&(ct="\u5F85\u5BA1\u6838"),(Ke==null?void 0:Ke.shixun_status)===3&&(ct="\u5DF2\u5173\u95ED"),Me.default.info({centered:!0,icon:Be.createElement(Pe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ct,"\uFF0C",Ue,"\u3002"),Be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Xe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ke==null?void 0:Ke.shixun_status)===2?(Me.default.confirm({centered:!0,icon:Be.createElement(Pe.Z,null),title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ue,"\u3002"),Be.createElement("br",null),Be.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:()=>{Me.default.confirm({width:440,centered:!0,icon:Be.createElement(Pe.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:()=>bt(void 0,null,function*(){(yield kt({type:"shixunsDetail/cancelRelease",payload:{id:Ke==null?void 0:Ke.identifier}})).status!==401&&(_e.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),kt({type:"shixunsDetail/getShixunsDetail",payload:{id:Ke==null?void 0:Ke.identifier}}),kt({type:"practiceSetting/getCommonData",payload:{id:Ke==null?void 0:Ke.identifier}}))})})}}),!0):!1}},9981:function(Tn,cn){"use strict";const z=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me<arguments.length;Me++){const pe=Me<0||arguments.length<=Me?void 0:arguments[Me];pe&&Object.keys(pe).forEach(_e=>{const we=pe[_e];we!==void 0&&(b[_e]=we)})}return b};cn.Z=z},86013:function(Tn,cn,z){"use strict";var b=z(59301),Me=z(19248);const pe=_e=>{let we;return typeof _e=="object"&&(_e!=null&&_e.clearIcon)?we=_e:_e&&(we={clearIcon:b.createElement(Me.Z,null)}),we};cn.Z=pe},97224:function(Tn,cn,z){"use strict";z.d(cn,{F:function(){return b}});function b(pe){return pe!=null&&pe===pe.window}const Me=pe=>{var _e,we;if(typeof window=="undefined")return 0;let Se=0;return b(pe)?Se=pe.pageYOffset:pe instanceof Document?Se=pe.documentElement.scrollTop:(pe instanceof HTMLElement||pe)&&(Se=pe.scrollTop),pe&&!b(pe)&&typeof Se!="number"&&(Se=(we=((_e=pe.ownerDocument)!==null&&_e!==void 0?_e:pe).documentElement)===null||we===void 0?void 0:we.scrollTop),Se};cn.Z=Me},83010:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return _e}});var b=z(16089);function Me(we,Se,Pe,Xe){const Ee=Pe-Se;return we/=Xe/2,we<1?Ee/2*we*we*we+Se:Ee/2*((we-=2)*we*we+2)+Se}var pe=z(97224);function _e(we){let Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Pe=()=>window,callback:Xe,duration:Ee=450}=Se,he=Pe(),ut=(0,pe.Z)(he),Be=Date.now(),bt=()=>{const He=Date.now()-Be,Fe=Me(He>Ee?Ee:He,ut,we,Ee);(0,pe.F)(he)?he.scrollTo(window.pageXOffset,Fe):he instanceof Document||he.constructor.name==="HTMLDocument"?he.documentElement.scrollTop=Fe:he.scrollTop=Fe,He<Ee?(0,b.Z)(bt):typeof Xe=="function"&&Xe()};(0,b.Z)(bt)}},62673:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return Ue}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(16632),we=z(8654),Se=z(12919),Pe=z(63872),Xe=z(48755),Ee=z(2171),he=z(83397),ut=z(56553),bt=b.createContext(null),it=z(36170),He=z(74632),Fe=function(Ke,ct){var De={};for(var gt in Ke)Object.prototype.hasOwnProperty.call(Ke,gt)&&ct.indexOf(gt)<0&&(De[gt]=Ke[gt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,gt=Object.getOwnPropertySymbols(Ke);Ye<gt.length;Ye++)ct.indexOf(gt[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ke,gt[Ye])&&(De[gt[Ye]]=Ke[gt[Ye]]);return De};const Te=(Ke,ct)=>{var De;const{prefixCls:gt,className:Ye,rootClassName:fe,children:Ft,indeterminate:Ge=!1,style:xt,onMouseEnter:fn,onMouseLeave:ke,skipGroup:be=!1,disabled:Yt}=Ke,ln=Fe(Ke,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Xt,direction:ge,checkbox:Re}=b.useContext(Xe.E_),qe=b.useContext(bt),{isFormItemInput:Vt}=b.useContext(ut.aM),rt=b.useContext(Ee.Z),Zt=(De=(qe==null?void 0:qe.disabled)||Yt)!==null&&De!==void 0?De:rt,st=b.useRef(ln.value),$t=b.useRef(null),Nt=(0,we.sQ)(ct,$t);b.useEffect(()=>{qe==null||qe.registerValue(ln.value)},[]),b.useEffect(()=>{if(!be)return ln.value!==st.current&&(qe==null||qe.cancelValue(st.current),qe==null||qe.registerValue(ln.value),st.current=ln.value),()=>qe==null?void 0:qe.cancelValue(ln.value)},[ln.value]),b.useEffect(()=>{var We;!((We=$t.current)===null||We===void 0)&&We.input&&($t.current.input.indeterminate=Ge)},[Ge]);const le=Xt("checkbox",gt),ne=(0,he.Z)(le),[te,ae,de]=(0,it.ZP)(le,ne),re=Object.assign({},ln);qe&&!be&&(re.onChange=function(){ln.onChange&&ln.onChange.apply(ln,arguments),qe.toggleOption&&qe.toggleOption({label:Ft,value:ln.value})},re.name=qe.name,re.checked=qe.value.includes(ln.value));const ue=pe()(`${le}-wrapper`,{[`${le}-rtl`]:ge==="rtl",[`${le}-wrapper-checked`]:re.checked,[`${le}-wrapper-disabled`]:Zt,[`${le}-wrapper-in-form-item`]:Vt},Re==null?void 0:Re.className,Ye,fe,de,ne,ae),xe=pe()({[`${le}-indeterminate`]:Ge},Pe.A,ae),[tt,Ve]=(0,He.Z)(re.onClick);return te(b.createElement(Se.Z,{component:"Checkbox",disabled:Zt},b.createElement("label",{className:ue,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),xt),onMouseEnter:fn,onMouseLeave:ke,onClick:tt},b.createElement(_e.Z,Object.assign({},re,{onClick:Ve,prefixCls:le,className:xe,disabled:Zt,ref:Nt})),Ft!==void 0&&b.createElement("span",{className:`${le}-label`},Ft))))};var Ct=b.forwardRef(Te),tn=z(77654),se=z(2738),Ie=function(Ke,ct){var De={};for(var gt in Ke)Object.prototype.hasOwnProperty.call(Ke,gt)&&ct.indexOf(gt)<0&&(De[gt]=Ke[gt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,gt=Object.getOwnPropertySymbols(Ke);Ye<gt.length;Ye++)ct.indexOf(gt[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Ke,gt[Ye])&&(De[gt[Ye]]=Ke[gt[Ye]]);return De},yt=b.forwardRef((Ke,ct)=>{const{defaultValue:De,children:gt,options:Ye=[],prefixCls:fe,className:Ft,rootClassName:Ge,style:xt,onChange:fn}=Ke,ke=Ie(Ke,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:be,direction:Yt}=b.useContext(Xe.E_),[ln,Xt]=b.useState(ke.value||De||[]),[ge,Re]=b.useState([]);b.useEffect(()=>{"value"in ke&&Xt(ke.value||[])},[ke.value]);const qe=b.useMemo(()=>Ye.map(xe=>typeof xe=="string"||typeof xe=="number"?{label:xe,value:xe}:xe),[Ye]),Vt=xe=>{Re(tt=>tt.filter(Ve=>Ve!==xe))},rt=xe=>{Re(tt=>[].concat((0,tn.Z)(tt),[xe]))},Zt=xe=>{const tt=ln.indexOf(xe.value),Ve=(0,tn.Z)(ln);tt===-1?Ve.push(xe.value):Ve.splice(tt,1),"value"in ke||Xt(Ve),fn==null||fn(Ve.filter(We=>ge.includes(We)).sort((We,lt)=>{const ht=qe.findIndex(Oe=>Oe.value===We),Dt=qe.findIndex(Oe=>Oe.value===lt);return ht-Dt}))},st=be("checkbox",fe),$t=`${st}-group`,Nt=(0,he.Z)(st),[le,ne,te]=(0,it.ZP)(st,Nt),ae=(0,se.Z)(ke,["value","disabled"]),de=Ye.length?qe.map(xe=>b.createElement(Ct,{prefixCls:st,key:xe.value.toString(),disabled:"disabled"in xe?xe.disabled:ke.disabled,value:xe.value,checked:ln.includes(xe.value),onChange:xe.onChange,className:`${$t}-item`,style:xe.style,title:xe.title,id:xe.id,required:xe.required},xe.label)):gt,re={toggleOption:Zt,value:ln,disabled:ke.disabled,name:ke.name,registerValue:rt,cancelValue:Vt},ue=pe()($t,{[`${$t}-rtl`]:Yt==="rtl"},Ft,Ge,te,Nt,ne);return le(b.createElement("div",Object.assign({className:ue,style:xt},ae,{ref:ct}),b.createElement(bt.Provider,{value:re},de)))});const kt=Ct;kt.Group=yt,kt.__ANT_CHECKBOX=!0;var Ue=kt},36170:function(Tn,cn,z){"use strict";z.d(cn,{C2:function(){return Se}});var b=z(36237),Me=z(63356),pe=z(51636),_e=z(16931);const we=Pe=>{const{checkboxCls:Xe}=Pe,Ee=`${Xe}-wrapper`;return[{[`${Xe}-group`]:Object.assign(Object.assign({},(0,Me.Wf)(Pe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Pe.marginXS,[`> ${Pe.antCls}-row`]:{flex:1}}),[Ee]:Object.assign(Object.assign({},(0,Me.Wf)(Pe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ee}`]:{marginInlineStart:0},[`&${Ee}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Xe]:Object.assign(Object.assign({},(0,Me.Wf)(Pe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Pe.borderRadiusSM,alignSelf:"center",[`${Xe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Xe}-inner`]:Object.assign({},(0,Me.oN)(Pe))},[`${Xe}-inner`]:{boxSizing:"border-box",display:"block",width:Pe.checkboxSize,height:Pe.checkboxSize,direction:"ltr",backgroundColor:Pe.colorBgContainer,border:`${(0,b.unit)(Pe.lineWidth)} ${Pe.lineType} ${Pe.colorBorder}`,borderRadius:Pe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Pe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Pe.calc(Pe.checkboxSize).div(14).mul(5).equal(),height:Pe.calc(Pe.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(Pe.lineWidthBold)} solid ${Pe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Pe.motionDurationFast} ${Pe.motionEaseInBack}, opacity ${Pe.motionDurationFast}`}},"& + span":{paddingInlineStart:Pe.paddingXS,paddingInlineEnd:Pe.paddingXS}})},{[`
|
|
|
${Ee}:not(${Ee}-disabled),
|
|
|
${Xe}:not(${Xe}-disabled)
|
|
|
`]:{[`&:hover ${Xe}-inner`]:{borderColor:Pe.colorPrimary}},[`${Ee}:not(${Ee}-disabled)`]:{[`&:hover ${Xe}-checked:not(${Xe}-disabled) ${Xe}-inner`]:{backgroundColor:Pe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Xe}-checked:not(${Xe}-disabled):after`]:{borderColor:Pe.colorPrimaryHover}}},{[`${Xe}-checked`]:{[`${Xe}-inner`]:{backgroundColor:Pe.colorPrimary,borderColor:Pe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Pe.motionDurationMid} ${Pe.motionEaseOutBack} ${Pe.motionDurationFast}`}}},[`
|
|
|
${Ee}-checked:not(${Ee}-disabled),
|
|
|
${Xe}-checked:not(${Xe}-disabled)
|
|
|
`]:{[`&:hover ${Xe}-inner`]:{backgroundColor:Pe.colorPrimaryHover,borderColor:"transparent"}}},{[Xe]:{"&-indeterminate":{[`${Xe}-inner`]:{backgroundColor:`${Pe.colorBgContainer} !important`,borderColor:`${Pe.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Pe.calc(Pe.fontSizeLG).div(2).equal(),height:Pe.calc(Pe.fontSizeLG).div(2).equal(),backgroundColor:Pe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Xe}-inner`]:{backgroundColor:`${Pe.colorBgContainer} !important`,borderColor:`${Pe.colorPrimary} !important`}}}},{[`${Ee}-disabled`]:{cursor:"not-allowed"},[`${Xe}-disabled`]:{[`&, ${Xe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Xe}-inner`]:{background:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,"&:after":{borderColor:Pe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Pe.colorTextDisabled},[`&${Xe}-indeterminate ${Xe}-inner::after`]:{background:Pe.colorTextDisabled}}}]};function Se(Pe,Xe){const Ee=(0,pe.mergeToken)(Xe,{checkboxCls:`.${Pe}`,checkboxSize:Xe.controlInteractiveSize});return[we(Ee)]}cn.ZP=(0,_e.I$)("Checkbox",(Pe,Xe)=>{let{prefixCls:Ee}=Xe;return[Se(Ee,Pe)]})},38406:function(Tn,cn,z){"use strict";var b=z(59301),Me=z(48755),pe=z(584);const _e=we=>{const{componentName:Se}=we,{getPrefixCls:Pe}=(0,b.useContext)(Me.E_),Xe=Pe("empty");switch(Se){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:`${Xe}-small`});case"Table.filter":return null;default:return b.createElement(pe.Z,null)}};cn.Z=_e},24017:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return os}});var b=z(66649),Me=z.n(b),pe=z(9007),_e=z.n(pe),we=z(50991),Se=z.n(we),Pe=z(9084),Xe=z.n(Pe),Ee=z(58626),he=z.n(Ee),ut=z(13477),Be=z.n(ut),bt=z(64796),it=z.n(bt);Me().extend(it()),Me().extend(Be()),Me().extend(_e()),Me().extend(Se()),Me().extend(Xe()),Me().extend(he()),Me().extend(function(oe,ye){var Ze=ye.prototype,vt=Ze.format;Ze.format=function(dn){var Sn=(dn||"").replace("Wo","wo");return vt.bind(this)(Sn)}});var He={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"},Fe=function(ye){var Ze=He[ye];return Ze||ye.split("_")[0]},Te=function(){},ot={getNow:function(){var ye=Me()();return typeof ye.tz=="function"?ye.tz():ye},getFixedDate:function(ye){return Me()(ye,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ye){return ye.endOf("month")},getWeekDay:function(ye){var Ze=ye.locale("en");return Ze.weekday()+Ze.localeData().firstDayOfWeek()},getYear:function(ye){return ye.year()},getMonth:function(ye){return ye.month()},getDate:function(ye){return ye.date()},getHour:function(ye){return ye.hour()},getMinute:function(ye){return ye.minute()},getSecond:function(ye){return ye.second()},getMillisecond:function(ye){return ye.millisecond()},addYear:function(ye,Ze){return ye.add(Ze,"year")},addMonth:function(ye,Ze){return ye.add(Ze,"month")},addDate:function(ye,Ze){return ye.add(Ze,"day")},setYear:function(ye,Ze){return ye.year(Ze)},setMonth:function(ye,Ze){return ye.month(Ze)},setDate:function(ye,Ze){return ye.date(Ze)},setHour:function(ye,Ze){return ye.hour(Ze)},setMinute:function(ye,Ze){return ye.minute(Ze)},setSecond:function(ye,Ze){return ye.second(Ze)},setMillisecond:function(ye,Ze){return ye.millisecond(Ze)},isAfter:function(ye,Ze){return ye.isAfter(Ze)},isValidate:function(ye){return ye.isValid()},locale:{getWeekFirstDay:function(ye){return Me()().locale(Fe(ye)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ye,Ze){return Ze.locale(Fe(ye)).weekday(0)},getWeek:function(ye,Ze){return Ze.locale(Fe(ye)).week()},getShortWeekDays:function(ye){return Me()().locale(Fe(ye)).localeData().weekdaysMin()},getShortMonths:function(ye){return Me()().locale(Fe(ye)).localeData().monthsShort()},format:function(ye,Ze,vt){return Ze.locale(Fe(ye)).format(vt)},parse:function(ye,Ze,vt){for(var St=Fe(ye),dn=0;dn<vt.length;dn+=1){var Sn=vt[dn],wn=Ze;if(Sn.includes("wo")||Sn.includes("Wo")){for(var zn=wn.split("-")[0],Gn=wn.split("-")[1],An=Me()(zn,"YYYY").startOf("year").locale(St),er=0;er<=52;er+=1){var sr=An.add(er,"week");if(sr.format("Wo")===Gn)return sr}return Te(),null}var ar=Me()(wn,Sn,!0).locale(St);if(ar.isValid())return ar}return Ze&&Te(),null}}},Ct=ot,tn=z(45915),se=z(59301),Ie=z(60499),dt={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"},yt=dt,kt=z(7657),Ue=function(ye,Ze){return se.createElement(kt.Z,(0,Ie.Z)({},ye,{ref:Ze,icon:yt}))},Ke=se.forwardRef(Ue),ct=Ke,De={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"},gt=De,Ye=function(ye,Ze){return se.createElement(kt.Z,(0,Ie.Z)({},ye,{ref:Ze,icon:gt}))},fe=se.forwardRef(Ye),Ft=fe,Ge={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"},xt=Ge,fn=function(ye,Ze){return se.createElement(kt.Z,(0,Ie.Z)({},ye,{ref:Ze,icon:xt}))},ke=se.forwardRef(fn),be=ke,Yt=z(92310),ln=z.n(Yt),Xt=z(77654),ge=z(85899),Re=z(72190),qe=z(70425),Vt=z(34280),rt=z(2738),Zt=z(26112),st=z(48736),$t=z(18642),Nt=z(68196);function le(oe,ye){return oe!==void 0?oe:ye?"bottomRight":"bottomLeft"}var ne=se.createContext(null),te=ne,ae={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 de(oe){var ye=oe.popupElement,Ze=oe.popupStyle,vt=oe.popupClassName,St=oe.popupAlign,dn=oe.transitionName,Sn=oe.getPopupContainer,wn=oe.children,zn=oe.range,Gn=oe.placement,An=oe.builtinPlacements,er=An===void 0?ae:An,sr=oe.direction,ar=oe.visible,tr=oe.onClose,dr=se.useContext(te),hr=dr.prefixCls,mr="".concat(hr,"-dropdown"),Yr=le(Gn,sr==="rtl");return se.createElement(Nt.Z,{showAction:[],hideAction:["click"],popupPlacement:Yr,builtinPlacements:er,prefixCls:mr,popupTransitionName:dn,popup:ye,popupAlign:St,popupVisible:ar,popupClassName:ln()(vt,(0,$t.Z)((0,$t.Z)({},"".concat(mr,"-range"),zn),"".concat(mr,"-rtl"),sr==="rtl")),popupStyle:Ze,stretch:"minWidth",getPopupContainer:Sn,onPopupVisibleChange:function(Sr){Sr||tr()}},wn)}var re=de;function ue(oe,ye){for(var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",vt=String(oe);vt.length<ye;)vt="".concat(Ze).concat(vt);return vt}function xe(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function tt(oe,ye,Ze){var vt=(0,Xt.Z)(oe);return vt[ye]=Ze,vt}function Ve(oe,ye){var Ze={},vt=ye||Object.keys(oe);return vt.forEach(function(St){oe[St]!==void 0&&(Ze[St]=oe[St])}),Ze}function We(oe,ye,Ze){if(Ze)return Ze;switch(oe){case"time":return ye.fieldTimeFormat;case"datetime":return ye.fieldDateTimeFormat;case"month":return ye.fieldMonthFormat;case"year":return ye.fieldYearFormat;case"quarter":return ye.fieldQuarterFormat;case"week":return ye.fieldWeekFormat;default:return ye.fieldDateFormat}}function lt(oe,ye,Ze){var vt=Ze!==void 0?Ze:ye[ye.length-1],St=ye.find(function(dn){return oe[dn]});return vt!==St?oe[St]:void 0}function ht(oe){return Ve(oe,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function Dt(oe,ye,Ze,vt){var St=se.useMemo(function(){return oe||function(Sn,wn){var zn=Sn;return ye&&wn.type==="date"?ye(zn,wn.today):Ze&&wn.type==="month"?Ze(zn,wn.locale):wn.originNode}},[oe,Ze,ye]),dn=se.useCallback(function(Sn,wn){return St(Sn,(0,ge.Z)((0,ge.Z)({},wn),{},{range:vt}))},[St,vt]);return dn}function Oe(oe,ye){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],vt=se.useState([!1,!1]),St=(0,Re.Z)(vt,2),dn=St[0],Sn=St[1],wn=function(An,er){Sn(function(sr){return tt(sr,er,An)})},zn=se.useMemo(function(){return dn.map(function(Gn,An){if(Gn)return!0;var er=oe[An];return er?!!(!Ze[An]&&!er||er&&ye(er,{activeIndex:An})):!1})},[oe,dn,ye,Ze]);return[zn,wn]}function ze(oe,ye,Ze,vt,St){var dn="",Sn=[];return oe&&Sn.push(St?"hh":"HH"),ye&&Sn.push("mm"),Ze&&Sn.push("ss"),dn=Sn.join(":"),vt&&(dn+=".SSS"),St&&(dn+=" A"),dn}function on(oe,ye,Ze,vt,St,dn){var Sn=oe.fieldDateTimeFormat,wn=oe.fieldDateFormat,zn=oe.fieldTimeFormat,Gn=oe.fieldMonthFormat,An=oe.fieldYearFormat,er=oe.fieldWeekFormat,sr=oe.fieldQuarterFormat,ar=oe.yearFormat,tr=oe.cellYearFormat,dr=oe.cellQuarterFormat,hr=oe.dayFormat,mr=oe.cellDateFormat,Yr=ze(ye,Ze,vt,St,dn);return(0,ge.Z)((0,ge.Z)({},oe),{},{fieldDateTimeFormat:Sn||"YYYY-MM-DD ".concat(Yr),fieldDateFormat:wn||"YYYY-MM-DD",fieldTimeFormat:zn||Yr,fieldMonthFormat:Gn||"YYYY-MM",fieldYearFormat:An||"YYYY",fieldWeekFormat:er||"gggg-wo",fieldQuarterFormat:sr||"YYYY-[Q]Q",yearFormat:ar||"YYYY",cellYearFormat:tr||"YYYY",cellQuarterFormat:dr||"[Q]Q",cellDateFormat:mr||hr||"D"})}function Rt(oe,ye){var Ze=ye.showHour,vt=ye.showMinute,St=ye.showSecond,dn=ye.showMillisecond,Sn=ye.use12Hours;return se.useMemo(function(){return on(oe,Ze,vt,St,dn,Sn)},[oe,Ze,vt,St,dn,Sn])}var vn=z(43749);function Bt(oe,ye,Ze){return Ze!=null?Ze:ye.some(function(vt){return oe.includes(vt)})}var at=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function pt(oe){var ye=Ve(oe,at),Ze=oe.format,vt=oe.picker,St=null;return Ze&&(St=Ze,Array.isArray(St)&&(St=St[0]),St=(0,vn.Z)(St)==="object"?St.format:St),vt==="time"&&(ye.format=St),[ye,St]}function Gt(oe){return oe&&typeof oe=="string"}function Je(oe,ye,Ze,vt){return[oe,ye,Ze,vt].some(function(St){return St!==void 0})}function At(oe,ye,Ze,vt,St){var dn=ye,Sn=Ze,wn=vt;if(!oe&&!dn&&!Sn&&!wn&&!St)dn=!0,Sn=!0,wn=!0;else if(oe){var zn,Gn,An,er=[dn,Sn,wn].some(function(tr){return tr===!1}),sr=[dn,Sn,wn].some(function(tr){return tr===!0}),ar=er?!0:!sr;dn=(zn=dn)!==null&&zn!==void 0?zn:ar,Sn=(Gn=Sn)!==null&&Gn!==void 0?Gn:ar,wn=(An=wn)!==null&&An!==void 0?An:ar}return[dn,Sn,wn,St]}function Jt(oe){var ye=oe.showTime,Ze=pt(oe),vt=(0,Re.Z)(Ze,2),St=vt[0],dn=vt[1],Sn=ye&&(0,vn.Z)(ye)==="object"?ye:{},wn=(0,ge.Z)((0,ge.Z)({defaultOpenValue:Sn.defaultOpenValue||Sn.defaultValue},St),Sn),zn=wn.showMillisecond,Gn=wn.showHour,An=wn.showMinute,er=wn.showSecond,sr=Je(Gn,An,er,zn),ar=At(sr,Gn,An,er,zn),tr=(0,Re.Z)(ar,3);return Gn=tr[0],An=tr[1],er=tr[2],[wn,(0,ge.Z)((0,ge.Z)({},wn),{},{showHour:Gn,showMinute:An,showSecond:er,showMillisecond:zn}),wn.format,dn]}function an(oe,ye,Ze,vt,St){var dn=oe==="time";if(oe==="datetime"||dn){for(var Sn=vt,wn=We(oe,St,null),zn=wn,Gn=[ye,Ze],An=0;An<Gn.length;An+=1){var er=xe(Gn[An])[0];if(Gt(er)){zn=er;break}}var sr=Sn.showHour,ar=Sn.showMinute,tr=Sn.showSecond,dr=Sn.showMillisecond,hr=Sn.use12Hours,mr=Bt(zn,["a","A","LT","LLL","LTS"],hr),Yr=Je(sr,ar,tr,dr);Yr||(sr=Bt(zn,["H","h","k","LT","LLL"]),ar=Bt(zn,["m","LT","LLL"]),tr=Bt(zn,["s","LTS"]),dr=Bt(zn,["SSS"]));var kr=At(Yr,sr,ar,tr,dr),Sr=(0,Re.Z)(kr,3);sr=Sr[0],ar=Sr[1],tr=Sr[2];var Jr=ye||ze(sr,ar,tr,dr,mr);return(0,ge.Z)((0,ge.Z)({},Sn),{},{format:Jr,showHour:sr,showMinute:ar,showSecond:tr,showMillisecond:dr,use12Hours:mr})}return null}function Le(oe,ye,Ze){if(ye===!1)return null;var vt=ye&&(0,vn.Z)(ye)==="object"?ye:{};return vt.clearIcon||Ze||se.createElement("span",{className:"".concat(oe,"-clear-btn")})}var Et=7;function zt(oe,ye,Ze){return!oe&&!ye||oe===ye?!0:!oe||!ye?!1:Ze()}function rn(oe,ye,Ze){return zt(ye,Ze,function(){var vt=Math.floor(oe.getYear(ye)/10),St=Math.floor(oe.getYear(Ze)/10);return vt===St})}function yn(oe,ye,Ze){return zt(ye,Ze,function(){return oe.getYear(ye)===oe.getYear(Ze)})}function Nn(oe,ye){var Ze=Math.floor(oe.getMonth(ye)/3);return Ze+1}function Vn(oe,ye,Ze){return zt(ye,Ze,function(){return yn(oe,ye,Ze)&&Nn(oe,ye)===Nn(oe,Ze)})}function Xn(oe,ye,Ze){return zt(ye,Ze,function(){return yn(oe,ye,Ze)&&oe.getMonth(ye)===oe.getMonth(Ze)})}function Bn(oe,ye,Ze){return zt(ye,Ze,function(){return yn(oe,ye,Ze)&&Xn(oe,ye,Ze)&&oe.getDate(ye)===oe.getDate(Ze)})}function jn(oe,ye,Ze){return zt(ye,Ze,function(){return oe.getHour(ye)===oe.getHour(Ze)&&oe.getMinute(ye)===oe.getMinute(Ze)&&oe.getSecond(ye)===oe.getSecond(Ze)})}function wt(oe,ye,Ze){return zt(ye,Ze,function(){return Bn(oe,ye,Ze)&&jn(oe,ye,Ze)&&oe.getMillisecond(ye)===oe.getMillisecond(Ze)})}function mt(oe,ye,Ze,vt){return zt(Ze,vt,function(){var St=oe.locale.getWeekFirstDate(ye,Ze),dn=oe.locale.getWeekFirstDate(ye,vt);return yn(oe,St,dn)&&oe.locale.getWeek(ye,Ze)===oe.locale.getWeek(ye,vt)})}function qt(oe,ye,Ze,vt,St){switch(St){case"date":return Bn(oe,Ze,vt);case"week":return mt(oe,ye.locale,Ze,vt);case"month":return Xn(oe,Ze,vt);case"quarter":return Vn(oe,Ze,vt);case"year":return yn(oe,Ze,vt);case"decade":return rn(oe,Ze,vt);case"time":return jn(oe,Ze,vt);default:return wt(oe,Ze,vt)}}function jt(oe,ye,Ze,vt){return!ye||!Ze||!vt?!1:oe.isAfter(vt,ye)&&oe.isAfter(Ze,vt)}function Ot(oe,ye,Ze,vt,St){return qt(oe,ye,Ze,vt,St)?!0:oe.isAfter(Ze,vt)}function bn(oe,ye,Ze){var vt=ye.locale.getWeekFirstDay(oe),St=ye.setDate(Ze,1),dn=ye.getWeekDay(St),Sn=ye.addDate(St,vt-dn);return ye.getMonth(Sn)===ye.getMonth(Ze)&&ye.getDate(Sn)>1&&(Sn=ye.addDate(Sn,-7)),Sn}function pn(oe,ye){var Ze=ye.generateConfig,vt=ye.locale,St=ye.format;return oe?typeof St=="function"?St(oe):Ze.locale.format(vt.locale,oe,St):""}function On(oe,ye,Ze){var vt=ye,St=["getHour","getMinute","getSecond","getMillisecond"],dn=["setHour","setMinute","setSecond","setMillisecond"];return dn.forEach(function(Sn,wn){Ze?vt=oe[Sn](vt,oe[St[wn]](Ze)):vt=oe[Sn](vt,0)}),vt}function Qn(oe,ye,Ze,vt,St){var dn=(0,qe.zX)(function(Sn,wn){return!!(Ze&&Ze(Sn,wn)||vt&&oe.isAfter(vt,Sn)&&!qt(oe,ye,vt,Sn,wn.type)||St&&oe.isAfter(Sn,St)&&!qt(oe,ye,St,Sn,wn.type))});return dn}function Hn(oe,ye,Ze){return se.useMemo(function(){var vt=We(oe,ye,Ze),St=xe(vt),dn=St[0],Sn=(0,vn.Z)(dn)==="object"&&dn.type==="mask"?dn.format:null;return[St.map(function(wn){return typeof wn=="string"||typeof wn=="function"?wn:wn.format}),Sn]},[oe,ye,Ze])}function Dn(oe,ye,Ze){return typeof oe[0]=="function"||Ze?!0:ye}function ir(oe,ye,Ze,vt){var St=(0,qe.zX)(function(dn,Sn){var wn=(0,ge.Z)({type:ye},Sn);if(delete wn.activeIndex,!oe.isValidate(dn)||Ze&&Ze(dn,wn))return!0;if((ye==="date"||ye==="time")&&vt){var zn,Gn=Sn&&Sn.activeIndex===1?"end":"start",An=((zn=vt.disabledTime)===null||zn===void 0?void 0:zn.call(vt,dn,Gn,{from:wn.from}))||{},er=An.disabledHours,sr=An.disabledMinutes,ar=An.disabledSeconds,tr=An.disabledMilliseconds,dr=vt.disabledHours,hr=vt.disabledMinutes,mr=vt.disabledSeconds,Yr=er||dr,kr=sr||hr,Sr=ar||mr,Jr=oe.getHour(dn),Or=oe.getMinute(dn),Rr=oe.getSecond(dn),Ii=oe.getMillisecond(dn);if(Yr&&Yr().includes(Jr)||kr&&kr(Jr).includes(Or)||Sr&&Sr(Jr,Or).includes(Rr)||tr&&tr(Jr,Or,Rr).includes(Ii))return!0}return!1});return St}function Fn(oe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ze=se.useMemo(function(){var vt=oe&&xe(oe);return ye&&vt&&(vt[1]=vt[1]||vt[0]),vt},[oe,ye]);return Ze}function pr(oe,ye){var Ze=oe.generateConfig,vt=oe.locale,St=oe.picker,dn=St===void 0?"date":St,Sn=oe.prefixCls,wn=Sn===void 0?"rc-picker":Sn,zn=oe.styles,Gn=zn===void 0?{}:zn,An=oe.classNames,er=An===void 0?{}:An,sr=oe.order,ar=sr===void 0?!0:sr,tr=oe.components,dr=tr===void 0?{}:tr,hr=oe.inputRender,mr=oe.allowClear,Yr=oe.clearIcon,kr=oe.needConfirm,Sr=oe.multiple,Jr=oe.format,Or=oe.inputReadOnly,Rr=oe.disabledDate,Ii=oe.minDate,vi=oe.maxDate,yi=oe.showTime,di=oe.value,ki=oe.defaultValue,xi=oe.pickerValue,ii=oe.defaultPickerValue,Xr=Fn(di),si=Fn(ki),li=Fn(xi),Vi=Fn(ii),Ti=dn==="date"&&yi?"datetime":dn,pi=Ti==="time"||Ti==="datetime",Ei=pi||Sr,oi=kr!=null?kr:pi,bi=Jt(oe),gi=(0,Re.Z)(bi,4),Ki=gi[0],lo=gi[1],uo=gi[2],ve=gi[3],me=Rt(vt,lo),$e=se.useMemo(function(){return an(Ti,uo,ve,Ki,me)},[Ti,uo,ve,Ki,me]),ft=se.useMemo(function(){return(0,ge.Z)((0,ge.Z)({},oe),{},{prefixCls:wn,locale:me,picker:dn,styles:Gn,classNames:er,order:ar,components:(0,ge.Z)({input:hr},dr),clearIcon:Le(wn,mr,Yr),showTime:$e,value:Xr,defaultValue:si,pickerValue:li,defaultPickerValue:Vi},ye==null?void 0:ye())},[oe]),It=Hn(Ti,me,Jr),Ht=(0,Re.Z)(It,2),sn=Ht[0],en=Ht[1],mn=Dn(sn,Or,Sr),gn=Qn(Ze,vt,Rr,Ii,vi),Ln=ir(Ze,dn,gn,$e),In=se.useMemo(function(){return(0,ge.Z)((0,ge.Z)({},ft),{},{needConfirm:oi,inputReadOnly:mn,disabledDate:gn})},[ft,oi,mn,gn]);return[In,Ti,Ei,sn,en,Ln]}var Dr=z(16089);function xn(oe,ye,Ze){var vt=(0,qe.C8)(ye,{value:oe}),St=(0,Re.Z)(vt,2),dn=St[0],Sn=St[1],wn=se.useRef(oe),zn=se.useRef(),Gn=function(){Dr.Z.cancel(zn.current)},An=(0,qe.zX)(function(){Sn(wn.current),Ze&&dn!==wn.current&&Ze(wn.current)}),er=(0,qe.zX)(function(sr,ar){Gn(),wn.current=sr,sr||ar?An():zn.current=(0,Dr.Z)(An)});return se.useEffect(function(){return Gn},[]),[dn,er]}function kn(oe,ye){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],vt=arguments.length>3?arguments[3]:void 0,St=Ze.every(function(An){return An})?!1:oe,dn=xn(St,ye||!1,vt),Sn=(0,Re.Z)(dn,2),wn=Sn[0],zn=Sn[1];function Gn(An){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!er.inherit||wn)&&zn(An,er.force)}return[wn,Gn]}function nr(oe){var ye=se.useRef();return se.useImperativeHandle(oe,function(){var Ze;return{nativeElement:(Ze=ye.current)===null||Ze===void 0?void 0:Ze.nativeElement,focus:function(St){var dn;(dn=ye.current)===null||dn===void 0||dn.focus(St)},blur:function(){var St;(St=ye.current)===null||St===void 0||St.blur()}}}),ye}function rr(oe,ye){return se.useMemo(function(){return oe||(ye?((0,st.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ye).map(function(Ze){var vt=(0,Re.Z)(Ze,2),St=vt[0],dn=vt[1];return{label:St,value:dn}})):[])},[oe,ye])}function Pt(oe,ye){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,vt=se.useRef(ye);vt.current=ye,(0,Vt.o)(function(){if(oe)vt.current(oe);else{var St=(0,Dr.Z)(function(){vt.current(oe)},Ze);return function(){Dr.Z.cancel(St)}}},[oe])}function Ut(oe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,vt=se.useState(0),St=(0,Re.Z)(vt,2),dn=St[0],Sn=St[1],wn=se.useState(!1),zn=(0,Re.Z)(wn,2),Gn=zn[0],An=zn[1],er=se.useRef([]),sr=se.useRef(null),ar=se.useRef(null),tr=function(Sr){sr.current=Sr},dr=function(Sr){return sr.current===Sr},hr=function(Sr){An(Sr)},mr=function(Sr){return Sr&&(ar.current=Sr),ar.current},Yr=function(Sr){var Jr=er.current,Or=new Set(Jr.filter(function(Ii){return Sr[Ii]||ye[Ii]})),Rr=Jr[Jr.length-1]===0?1:0;return Or.size>=2||oe[Rr]?null:Rr};return Pt(Gn||Ze,function(){Gn||(er.current=[],tr(null))}),se.useEffect(function(){Gn&&er.current.push(dn)},[Gn,dn]),[Gn,hr,mr,dn,Sn,Yr,er.current,tr,dr]}function nt(oe,ye,Ze,vt,St,dn){var Sn=Ze[Ze.length-1],wn=function(Gn,An){var er=(0,Re.Z)(oe,2),sr=er[0],ar=er[1],tr=(0,ge.Z)((0,ge.Z)({},An),{},{from:lt(oe,Ze)});return Sn===1&&ye[0]&&sr&&!qt(vt,St,sr,Gn,tr.type)&&vt.isAfter(sr,Gn)||Sn===0&&ye[1]&&ar&&!qt(vt,St,ar,Gn,tr.type)&&vt.isAfter(Gn,ar)?!0:dn==null?void 0:dn(Gn,tr)};return wn}function et(oe,ye,Ze,vt){switch(ye){case"date":case"week":return oe.addMonth(Ze,vt);case"month":case"quarter":return oe.addYear(Ze,vt);case"year":return oe.addYear(Ze,vt*10);case"decade":return oe.addYear(Ze,vt*100);default:return Ze}}var Qe=[];function Mt(oe,ye,Ze,vt,St,dn,Sn,wn){var zn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Qe,Gn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Qe,An=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Qe,er=arguments.length>11?arguments[11]:void 0,sr=arguments.length>12?arguments[12]:void 0,ar=arguments.length>13?arguments[13]:void 0,tr=Sn==="time",dr=dn||0,hr=function(li){var Vi=oe.getNow();return tr&&(Vi=On(oe,Vi)),zn[li]||Ze[li]||Vi},mr=(0,Re.Z)(Gn,2),Yr=mr[0],kr=mr[1],Sr=(0,qe.C8)(function(){return hr(0)},{value:Yr}),Jr=(0,Re.Z)(Sr,2),Or=Jr[0],Rr=Jr[1],Ii=(0,qe.C8)(function(){return hr(1)},{value:kr}),vi=(0,Re.Z)(Ii,2),yi=vi[0],di=vi[1],ki=se.useMemo(function(){var si=[Or,yi][dr];return tr?si:On(oe,si,An[dr])},[tr,Or,yi,dr,oe,An]),xi=function(li){var Vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",Ti=[Rr,di][dr];Ti(li);var pi=[Or,yi];pi[dr]=li,er&&(!qt(oe,ye,Or,pi[0],Sn)||!qt(oe,ye,yi,pi[1],Sn))&&er(pi,{source:Vi,range:dr===1?"end":"start",mode:vt})},ii=function(li,Vi){if(wn){var Ti={date:"month",week:"month",month:"year",quarter:"year"},pi=Ti[Sn];if(pi&&!qt(oe,ye,li,Vi,pi))return et(oe,Sn,Vi,-1);if(Sn==="year"&&li){var Ei=Math.floor(oe.getYear(li)/10),oi=Math.floor(oe.getYear(Vi)/10);if(Ei!==oi)return et(oe,Sn,Vi,-1)}}return Vi},Xr=se.useRef(null);return(0,Vt.Z)(function(){if(St&&!zn[dr]){var si=tr?null:oe.getNow();if(Xr.current!==null&&Xr.current!==dr?si=[Or,yi][dr^1]:Ze[dr]?si=dr===0?Ze[0]:ii(Ze[0],Ze[1]):Ze[dr^1]&&(si=Ze[dr^1]),si){sr&&oe.isAfter(sr,si)&&(si=sr);var li=wn?et(oe,Sn,si,1):si;ar&&oe.isAfter(li,ar)&&(si=wn?et(oe,Sn,ar,-1):ar),xi(si,"reset")}}},[St,dr,Ze[dr]]),se.useEffect(function(){St?Xr.current=dr:Xr.current=null},[St,dr]),(0,Vt.Z)(function(){St&&zn&&zn[dr]&&xi(zn[dr],"reset")},[St,dr]),[ki,xi]}function Ne(oe,ye){var Ze=se.useRef(oe),vt=se.useState({}),St=(0,Re.Z)(vt,2),dn=St[1],Sn=function(Gn){return Gn&&ye!==void 0?ye:Ze.current},wn=function(Gn){Ze.current=Gn,dn({})};return[Sn,wn,Sn(!0)]}var Kt=[];function Qt(oe,ye,Ze){var vt=function(Sn){return Sn.map(function(wn){return pn(wn,{generateConfig:oe,locale:ye,format:Ze[0]})})},St=function(Sn,wn){for(var zn=Math.max(Sn.length,wn.length),Gn=-1,An=0;An<zn;An+=1){var er=Sn[An]||null,sr=wn[An]||null;if(er!==sr&&!wt(oe,er,sr)){Gn=An;break}}return[Gn<0,Gn!==0]};return[vt,St]}function un(oe,ye){return(0,Xt.Z)(oe).sort(function(Ze,vt){return ye.isAfter(Ze,vt)?1:-1})}function Tt(oe){var ye=Ne(oe),Ze=(0,Re.Z)(ye,2),vt=Ze[0],St=Ze[1],dn=(0,qe.zX)(function(){St(oe)});return se.useEffect(function(){dn()},[oe]),[vt,St]}function Lt(oe,ye,Ze,vt,St,dn,Sn,wn,zn){var Gn=(0,qe.C8)(dn,{value:Sn}),An=(0,Re.Z)(Gn,2),er=An[0],sr=An[1],ar=er||Kt,tr=Tt(ar),dr=(0,Re.Z)(tr,2),hr=dr[0],mr=dr[1],Yr=Qt(oe,ye,Ze),kr=(0,Re.Z)(Yr,2),Sr=kr[0],Jr=kr[1],Or=(0,qe.zX)(function(Ii){var vi=(0,Xt.Z)(Ii);if(vt)for(var yi=0;yi<2;yi+=1)vi[yi]=vi[yi]||null;else St&&(vi=un(vi.filter(function(si){return si}),oe));var di=Jr(hr(),vi),ki=(0,Re.Z)(di,2),xi=ki[0],ii=ki[1];if(!xi&&(mr(vi),wn)){var Xr=Sr(vi);wn(vi,Xr,{range:ii?"end":"start"})}}),Rr=function(){zn&&zn(hr())};return[ar,sr,hr,Or,Rr]}function Wt(oe,ye,Ze,vt,St,dn,Sn,wn,zn,Gn){var An=oe.generateConfig,er=oe.locale,sr=oe.picker,ar=oe.onChange,tr=oe.allowEmpty,dr=oe.order,hr=dn.some(function(xi){return xi})?!1:dr,mr=Qt(An,er,Sn),Yr=(0,Re.Z)(mr,2),kr=Yr[0],Sr=Yr[1],Jr=Ne(ye),Or=(0,Re.Z)(Jr,2),Rr=Or[0],Ii=Or[1],vi=(0,qe.zX)(function(){Ii(ye)});se.useEffect(function(){vi()},[ye]);var yi=(0,qe.zX)(function(xi){var ii=xi===null,Xr=(0,Xt.Z)(xi||Rr());if(ii)for(var si=Math.max(dn.length,Xr.length),li=0;li<si;li+=1)dn[li]||(Xr[li]=null);hr&&Xr[0]&&Xr[1]&&(Xr=un(Xr,An)),St(Xr);var Vi=Xr,Ti=(0,Re.Z)(Vi,2),pi=Ti[0],Ei=Ti[1],oi=!pi,bi=!Ei,gi=tr?(!oi||tr[0])&&(!bi||tr[1]):!0,Ki=!dr||oi||bi||qt(An,er,pi,Ei,sr)||An.isAfter(Ei,pi),lo=(dn[0]||!pi||!Gn(pi,{activeIndex:0}))&&(dn[1]||!Ei||!Gn(Ei,{from:pi,activeIndex:1})),uo=ii||gi&&Ki&&lo;if(uo){Ze(Xr);var ve=Sr(Xr,ye),me=(0,Re.Z)(ve,1),$e=me[0];ar&&!$e&&ar(ii&&Xr.every(function(ft){return!ft})?null:Xr,kr(Xr))}return uo}),di=(0,qe.zX)(function(xi,ii){var Xr=tt(Rr(),xi,vt()[xi]);Ii(Xr),ii&&yi()}),ki=!wn&&!zn;return Pt(!ki,function(){ki&&(yi(),St(ye),vi())},2),[di,yi]}function nn(oe,ye,Ze,vt,St){return ye!=="date"&&ye!=="time"?!1:Ze!==void 0?Ze:vt!==void 0?vt:!St&&(oe==="date"||oe==="time")}var Wn=z(29301);function Zn(oe,ye,Ze,vt,St,dn){var Sn=oe;function wn(er,sr,ar){var tr=dn[er](Sn),dr=ar.find(function(kr){return kr.value===tr});if(!dr||dr.disabled){var hr=ar.filter(function(kr){return!kr.disabled}),mr=(0,Xt.Z)(hr).reverse(),Yr=mr.find(function(kr){return kr.value<=tr})||hr[0];Yr&&(tr=Yr.value,Sn=dn[sr](Sn,tr))}return tr}var zn=wn("getHour","setHour",ye()),Gn=wn("getMinute","setMinute",Ze(zn)),An=wn("getSecond","setSecond",vt(zn,Gn));return wn("getMillisecond","setMillisecond",St(zn,Gn,An)),Sn}function Yn(){return[]}function Nr(oe,ye){for(var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],dn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Sn=[],wn=Ze>=1?Ze|0:1,zn=oe;zn<=ye;zn+=wn){var Gn=St.includes(zn);(!Gn||!vt)&&Sn.push({label:ue(zn,dn),value:zn,disabled:Gn})}return Sn}function zr(oe){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ze=arguments.length>2?arguments[2]:void 0,vt=ye||{},St=vt.use12Hours,dn=vt.hourStep,Sn=dn===void 0?1:dn,wn=vt.minuteStep,zn=wn===void 0?1:wn,Gn=vt.secondStep,An=Gn===void 0?1:Gn,er=vt.millisecondStep,sr=er===void 0?100:er,ar=vt.hideDisabledOptions,tr=vt.disabledTime,dr=vt.disabledHours,hr=vt.disabledMinutes,mr=vt.disabledSeconds,Yr=se.useMemo(function(){return Ze||oe.getNow()},[Ze,oe]);if(0)var kr,Sr,Jr;var Or=se.useCallback(function(Ei){var oi=(tr==null?void 0:tr(Ei))||{};return[oi.disabledHours||dr||Yn,oi.disabledMinutes||hr||Yn,oi.disabledSeconds||mr||Yn,oi.disabledMilliseconds||Yn]},[tr,dr,hr,mr]),Rr=se.useMemo(function(){return Or(Yr)},[Yr,Or]),Ii=(0,Re.Z)(Rr,4),vi=Ii[0],yi=Ii[1],di=Ii[2],ki=Ii[3],xi=se.useCallback(function(Ei,oi,bi,gi){var Ki=Nr(0,23,Sn,ar,Ei()),lo=St?Ki.map(function($e){return(0,ge.Z)((0,ge.Z)({},$e),{},{label:ue($e.value%12||12,2)})}):Ki,uo=function(ft){return Nr(0,59,zn,ar,oi(ft))},ve=function(ft,It){return Nr(0,59,An,ar,bi(ft,It))},me=function(ft,It,Ht){return Nr(0,999,sr,ar,gi(ft,It,Ht),3)};return[lo,uo,ve,me]},[ar,Sn,St,sr,zn,An]),ii=se.useMemo(function(){return xi(vi,yi,di,ki)},[xi,vi,yi,di,ki]),Xr=(0,Re.Z)(ii,4),si=Xr[0],li=Xr[1],Vi=Xr[2],Ti=Xr[3],pi=function(oi,bi){var gi=function(){return si},Ki=li,lo=Vi,uo=Ti;if(bi){var ve=Or(bi),me=(0,Re.Z)(ve,4),$e=me[0],ft=me[1],It=me[2],Ht=me[3],sn=xi($e,ft,It,Ht),en=(0,Re.Z)(sn,4),mn=en[0],gn=en[1],Ln=en[2],In=en[3];gi=function(){return mn},Ki=gn,lo=Ln,uo=In}var Pn=Zn(oi,gi,Ki,lo,uo,oe);return Pn};return[pi,si,li,Vi,Ti]}function Qr(oe){var ye=oe.mode,Ze=oe.internalMode,vt=oe.renderExtraFooter,St=oe.showNow,dn=oe.showTime,Sn=oe.onSubmit,wn=oe.onNow,zn=oe.invalid,Gn=oe.needConfirm,An=oe.generateConfig,er=oe.disabledDate,sr=se.useContext(te),ar=sr.prefixCls,tr=sr.locale,dr=sr.button,hr=dr===void 0?"button":dr,mr=An.getNow(),Yr=zr(An,dn,mr),kr=(0,Re.Z)(Yr,1),Sr=kr[0],Jr=vt==null?void 0:vt(ye),Or=er(mr,{type:ye}),Rr=function(){if(!Or){var ii=Sr(mr);wn(ii)}},Ii="".concat(ar,"-now"),vi="".concat(Ii,"-btn"),yi=St&&se.createElement("li",{className:Ii},se.createElement("a",{className:ln()(vi,Or&&"".concat(vi,"-disabled")),"aria-disabled":Or,onClick:Rr},Ze==="date"?tr.today:tr.now)),di=Gn&&se.createElement("li",{className:"".concat(ar,"-ok")},se.createElement(hr,{disabled:zn,onClick:Sn},tr.ok)),ki=(yi||di)&&se.createElement("ul",{className:"".concat(ar,"-ranges")},yi,di);return!Jr&&!ki?null:se.createElement("div",{className:"".concat(ar,"-footer")},Jr&&se.createElement("div",{className:"".concat(ar,"-footer-extra")},Jr),ki)}function Fr(oe,ye,Ze){function vt(St,dn){var Sn=St.findIndex(function(zn){return qt(oe,ye,zn,dn,Ze)});if(Sn===-1)return[].concat((0,Xt.Z)(St),[dn]);var wn=(0,Xt.Z)(St);return wn.splice(Sn,1),wn}return vt}var yr=se.createContext(null);function Pr(){return se.useContext(yr)}function Vr(oe,ye){var Ze=oe.prefixCls,vt=oe.generateConfig,St=oe.locale,dn=oe.disabledDate,Sn=oe.minDate,wn=oe.maxDate,zn=oe.cellRender,Gn=oe.hoverValue,An=oe.hoverRangeValue,er=oe.onHover,sr=oe.values,ar=oe.pickerValue,tr=oe.onSelect,dr=oe.prevIcon,hr=oe.nextIcon,mr=oe.superPrevIcon,Yr=oe.superNextIcon,kr=vt.getNow(),Sr={now:kr,values:sr,pickerValue:ar,prefixCls:Ze,disabledDate:dn,minDate:Sn,maxDate:wn,cellRender:zn,hoverValue:Gn,hoverRangeValue:An,onHover:er,locale:St,generateConfig:vt,onSelect:tr,panelType:ye,prevIcon:dr,nextIcon:hr,superPrevIcon:mr,superNextIcon:Yr};return[Sr,kr]}var ni=se.createContext({});function ri(oe){for(var ye=oe.rowNum,Ze=oe.colNum,vt=oe.baseDate,St=oe.getCellDate,dn=oe.prefixColumn,Sn=oe.rowClassName,wn=oe.titleFormat,zn=oe.getCellText,Gn=oe.getCellClassName,An=oe.headerCells,er=oe.cellSelection,sr=er===void 0?!0:er,ar=oe.disabledDate,tr=Pr(),dr=tr.prefixCls,hr=tr.panelType,mr=tr.now,Yr=tr.disabledDate,kr=tr.cellRender,Sr=tr.onHover,Jr=tr.hoverValue,Or=tr.hoverRangeValue,Rr=tr.generateConfig,Ii=tr.values,vi=tr.locale,yi=tr.onSelect,di=ar||Yr,ki="".concat(dr,"-cell"),xi=se.useContext(ni),ii=xi.onCellDblClick,Xr=function(bi){return Ii.some(function(gi){return gi&&qt(Rr,vi,bi,gi,hr)})},si=[],li=0;li<ye;li+=1){for(var Vi=[],Ti=void 0,pi=function(){var bi=li*Ze+Ei,gi=St(vt,bi),Ki=di==null?void 0:di(gi,{type:hr});Ei===0&&(Ti=gi,dn&&Vi.push(dn(Ti)));var lo=!1,uo=!1,ve=!1;if(sr&&Or){var me=(0,Re.Z)(Or,2),$e=me[0],ft=me[1];lo=jt(Rr,$e,ft,gi),uo=qt(Rr,vi,gi,$e,hr),ve=qt(Rr,vi,gi,ft,hr)}var It=wn?pn(gi,{locale:vi,format:wn,generateConfig:Rr}):void 0,Ht=se.createElement("div",{className:"".concat(ki,"-inner")},zn(gi));Vi.push(se.createElement("td",{key:Ei,title:It,className:ln()(ki,(0,ge.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(ki,"-disabled"),Ki),"".concat(ki,"-hover"),(Jr||[]).some(function(sn){return qt(Rr,vi,gi,sn,hr)})),"".concat(ki,"-in-range"),lo&&!uo&&!ve),"".concat(ki,"-range-start"),uo),"".concat(ki,"-range-end"),ve),"".concat(dr,"-cell-selected"),!Or&&hr!=="week"&&Xr(gi)),Gn(gi))),onClick:function(){Ki||yi(gi)},onDoubleClick:function(){!Ki&&ii&&ii()},onMouseEnter:function(){Ki||Sr==null||Sr(gi)},onMouseLeave:function(){Ki||Sr==null||Sr(null)}},kr?kr(gi,{prefixCls:dr,originNode:Ht,today:mr,type:hr,locale:vi}):Ht))},Ei=0;Ei<Ze;Ei+=1)pi();si.push(se.createElement("tr",{key:li,className:Sn==null?void 0:Sn(Ti)},Vi))}return se.createElement("div",{className:"".concat(dr,"-body")},se.createElement("table",{className:"".concat(dr,"-content")},An&&se.createElement("thead",null,se.createElement("tr",null,An)),se.createElement("tbody",null,si)))}var ai={visibility:"hidden"};function Br(oe){var ye=oe.offset,Ze=oe.superOffset,vt=oe.onChange,St=oe.getStart,dn=oe.getEnd,Sn=oe.children,wn=Pr(),zn=wn.prefixCls,Gn=wn.prevIcon,An=Gn===void 0?"\u2039":Gn,er=wn.nextIcon,sr=er===void 0?"\u203A":er,ar=wn.superPrevIcon,tr=ar===void 0?"\xAB":ar,dr=wn.superNextIcon,hr=dr===void 0?"\xBB":dr,mr=wn.minDate,Yr=wn.maxDate,kr=wn.generateConfig,Sr=wn.locale,Jr=wn.pickerValue,Or=wn.panelType,Rr="".concat(zn,"-header"),Ii=se.useContext(ni),vi=Ii.hidePrev,yi=Ii.hideNext,di=Ii.hideHeader,ki=se.useMemo(function(){if(!mr||!ye||!dn)return!1;var oi=dn(ye(-1,Jr));return!Ot(kr,Sr,oi,mr,Or)},[mr,ye,Jr,dn,kr,Sr,Or]),xi=se.useMemo(function(){if(!mr||!Ze||!dn)return!1;var oi=dn(Ze(-1,Jr));return!Ot(kr,Sr,oi,mr,Or)},[mr,Ze,Jr,dn,kr,Sr,Or]),ii=se.useMemo(function(){if(!Yr||!ye||!St)return!1;var oi=St(ye(1,Jr));return!Ot(kr,Sr,Yr,oi,Or)},[Yr,ye,Jr,St,kr,Sr,Or]),Xr=se.useMemo(function(){if(!Yr||!Ze||!St)return!1;var oi=St(Ze(1,Jr));return!Ot(kr,Sr,Yr,oi,Or)},[Yr,Ze,Jr,St,kr,Sr,Or]),si=function(bi){ye&&vt(ye(bi,Jr))},li=function(bi){Ze&&vt(Ze(bi,Jr))};if(di)return null;var Vi="".concat(Rr,"-prev-btn"),Ti="".concat(Rr,"-next-btn"),pi="".concat(Rr,"-super-prev-btn"),Ei="".concat(Rr,"-super-next-btn");return se.createElement("div",{className:Rr},Ze&&se.createElement("button",{type:"button","aria-label":Sr.previousYear,onClick:function(){return li(-1)},tabIndex:-1,className:ln()(pi,xi&&"".concat(pi,"-disabled")),disabled:xi,style:vi?ai:{}},tr),ye&&se.createElement("button",{type:"button","aria-label":Sr.previousMonth,onClick:function(){return si(-1)},tabIndex:-1,className:ln()(Vi,ki&&"".concat(Vi,"-disabled")),disabled:ki,style:vi?ai:{}},An),se.createElement("div",{className:"".concat(Rr,"-view")},Sn),ye&&se.createElement("button",{type:"button","aria-label":Sr.nextMonth,onClick:function(){return si(1)},tabIndex:-1,className:ln()(Ti,ii&&"".concat(Ti,"-disabled")),disabled:ii,style:yi?ai:{}},sr),Ze&&se.createElement("button",{type:"button","aria-label":Sr.nextYear,onClick:function(){return li(1)},tabIndex:-1,className:ln()(Ei,Xr&&"".concat(Ei,"-disabled")),disabled:Xr,style:yi?ai:{}},hr))}var _r=Br;function $r(oe){var ye=oe.prefixCls,Ze=oe.panelName,vt=Ze===void 0?"date":Ze,St=oe.locale,dn=oe.generateConfig,Sn=oe.pickerValue,wn=oe.onPickerValueChange,zn=oe.onModeChange,Gn=oe.mode,An=Gn===void 0?"date":Gn,er=oe.disabledDate,sr=oe.onSelect,ar=oe.onHover,tr=oe.showWeek,dr="".concat(ye,"-").concat(vt,"-panel"),hr="".concat(ye,"-cell"),mr=An==="week",Yr=Vr(oe,An),kr=(0,Re.Z)(Yr,2),Sr=kr[0],Jr=kr[1],Or=dn.locale.getWeekFirstDay(St.locale),Rr=dn.setDate(Sn,1),Ii=bn(St.locale,dn,Rr),vi=dn.getMonth(Sn),yi=tr===void 0?mr:tr,di=yi?function(oi){var bi=er==null?void 0:er(oi,{type:"week"});return se.createElement("td",{key:"week",className:ln()(hr,"".concat(hr,"-week"),(0,$t.Z)({},"".concat(hr,"-disabled"),bi)),onClick:function(){bi||sr(oi)},onMouseEnter:function(){bi||ar==null||ar(oi)},onMouseLeave:function(){bi||ar==null||ar(null)}},se.createElement("div",{className:"".concat(hr,"-inner")},dn.locale.getWeek(St.locale,oi)))}:null,ki=[],xi=St.shortWeekDays||(dn.locale.getShortWeekDays?dn.locale.getShortWeekDays(St.locale):[]);di&&ki.push(se.createElement("th",{key:"empty"},se.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},St.week)));for(var ii=0;ii<Et;ii+=1)ki.push(se.createElement("th",{key:ii},xi[(ii+Or)%Et]));var Xr=function(bi,gi){return dn.addDate(bi,gi)},si=function(bi){return pn(bi,{locale:St,format:St.cellDateFormat,generateConfig:dn})},li=function(bi){var gi=(0,$t.Z)((0,$t.Z)({},"".concat(ye,"-cell-in-view"),Xn(dn,bi,Sn)),"".concat(ye,"-cell-today"),Bn(dn,bi,Jr));return gi},Vi=St.shortMonths||(dn.locale.getShortMonths?dn.locale.getShortMonths(St.locale):[]),Ti=se.createElement("button",{type:"button","aria-label":St.yearSelect,key:"year",onClick:function(){zn("year",Sn)},tabIndex:-1,className:"".concat(ye,"-year-btn")},pn(Sn,{locale:St,format:St.yearFormat,generateConfig:dn})),pi=se.createElement("button",{type:"button","aria-label":St.monthSelect,key:"month",onClick:function(){zn("month",Sn)},tabIndex:-1,className:"".concat(ye,"-month-btn")},St.monthFormat?pn(Sn,{locale:St,format:St.monthFormat,generateConfig:dn}):Vi[vi]),Ei=St.monthBeforeYear?[pi,Ti]:[Ti,pi];return se.createElement(yr.Provider,{value:Sr},se.createElement("div",{className:ln()(dr,tr&&"".concat(dr,"-show-week"))},se.createElement(_r,{offset:function(bi){return dn.addMonth(Sn,bi)},superOffset:function(bi){return dn.addYear(Sn,bi)},onChange:wn,getStart:function(bi){return dn.setDate(bi,1)},getEnd:function(bi){var gi=dn.setDate(bi,1);return gi=dn.addMonth(gi,1),dn.addDate(gi,-1)}},Ei),se.createElement(ri,(0,Ie.Z)({titleFormat:St.fieldDateFormat},oe,{colNum:Et,rowNum:6,baseDate:Ii,headerCells:ki,getCellDate:Xr,getCellText:si,getCellClassName:li,prefixColumn:di,cellSelection:!mr}))))}var Ri=z(29194),Wi=1/3;function Zi(oe,ye){var Ze=se.useRef(!1),vt=se.useRef(null),St=se.useRef(null),dn=function(){return Ze.current},Sn=function(){Dr.Z.cancel(vt.current),Ze.current=!1},wn=se.useRef(),zn=function(){var er=oe.current;if(St.current=null,wn.current=0,er){var sr=er.querySelector('[data-value="'.concat(ye,'"]')),ar=er.querySelector("li"),tr=function dr(){Sn(),Ze.current=!0,wn.current+=1;var hr=er.scrollTop,mr=ar.offsetTop,Yr=sr.offsetTop,kr=Yr-mr;if(Yr===0&&sr!==ar||!(0,Ri.Z)(er)){wn.current<=5&&(vt.current=(0,Dr.Z)(dr));return}var Sr=hr+(kr-hr)*Wi,Jr=Math.abs(kr-Sr);if(St.current!==null&&St.current<Jr){Sn();return}if(St.current=Jr,Jr<=1){er.scrollTop=kr,Sn();return}er.scrollTop=Sr,vt.current=(0,Dr.Z)(dr)};sr&&ar&&tr()}},Gn=(0,qe.zX)(zn);return[Gn,Sn,dn]}var zi=300;function _i(oe){return oe.map(function(ye){var Ze=ye.value,vt=ye.label,St=ye.disabled;return[Ze,vt,St].join(",")}).join(";")}function wi(oe){var ye=oe.units,Ze=oe.value,vt=oe.optionalValue,St=oe.type,dn=oe.onChange,Sn=oe.onHover,wn=oe.onDblClick,zn=oe.changeOnScroll,Gn=Pr(),An=Gn.prefixCls,er=Gn.cellRender,sr=Gn.now,ar=Gn.locale,tr="".concat(An,"-time-panel"),dr="".concat(An,"-time-panel-cell"),hr=se.useRef(null),mr=se.useRef(),Yr=function(){clearTimeout(mr.current)},kr=Zi(hr,Ze!=null?Ze:vt),Sr=(0,Re.Z)(kr,3),Jr=Sr[0],Or=Sr[1],Rr=Sr[2];(0,Vt.Z)(function(){return Jr(),Yr(),function(){Or(),Yr()}},[Ze,vt,_i(ye)]);var Ii=function(di){Yr();var ki=di.target;!Rr()&&zn&&(mr.current=setTimeout(function(){var xi=hr.current,ii=xi.querySelector("li").offsetTop,Xr=Array.from(xi.querySelectorAll("li")),si=Xr.map(function(Ei){return Ei.offsetTop-ii}),li=si.map(function(Ei,oi){return ye[oi].disabled?Number.MAX_SAFE_INTEGER:Math.abs(Ei-ki.scrollTop)}),Vi=Math.min.apply(Math,(0,Xt.Z)(li)),Ti=li.findIndex(function(Ei){return Ei===Vi}),pi=ye[Ti];pi&&!pi.disabled&&dn(pi.value)},zi))},vi="".concat(tr,"-column");return se.createElement("ul",{className:vi,ref:hr,"data-type":St,onScroll:Ii},ye.map(function(yi){var di=yi.label,ki=yi.value,xi=yi.disabled,ii=se.createElement("div",{className:"".concat(dr,"-inner")},di);return se.createElement("li",{key:ki,className:ln()(dr,(0,$t.Z)((0,$t.Z)({},"".concat(dr,"-selected"),Ze===ki),"".concat(dr,"-disabled"),xi)),onClick:function(){xi||dn(ki)},onDoubleClick:function(){!xi&&wn&&wn()},onMouseEnter:function(){Sn(ki)},onMouseLeave:function(){Sn(null)},"data-value":ki},er?er(ki,{prefixCls:An,originNode:ii,today:sr,type:"time",subType:St,locale:ar}):ii)}))}function Mi(oe){return oe<12}function fi(oe){var ye=oe.showHour,Ze=oe.showMinute,vt=oe.showSecond,St=oe.showMillisecond,dn=oe.use12Hours,Sn=oe.changeOnScroll,wn=Pr(),zn=wn.prefixCls,Gn=wn.values,An=wn.generateConfig,er=wn.locale,sr=wn.onSelect,ar=wn.onHover,tr=ar===void 0?function(){}:ar,dr=wn.pickerValue,hr=(Gn==null?void 0:Gn[0])||null,mr=se.useContext(ni),Yr=mr.onCellDblClick,kr=zr(An,oe,hr),Sr=(0,Re.Z)(kr,5),Jr=Sr[0],Or=Sr[1],Rr=Sr[2],Ii=Sr[3],vi=Sr[4],yi=function($n){var Ir=hr&&An[$n](hr),jr=dr&&An[$n](dr);return[Ir,jr]},di=yi("getHour"),ki=(0,Re.Z)(di,2),xi=ki[0],ii=ki[1],Xr=yi("getMinute"),si=(0,Re.Z)(Xr,2),li=si[0],Vi=si[1],Ti=yi("getSecond"),pi=(0,Re.Z)(Ti,2),Ei=pi[0],oi=pi[1],bi=yi("getMillisecond"),gi=(0,Re.Z)(bi,2),Ki=gi[0],lo=gi[1],uo=xi===null?null:Mi(xi)?"am":"pm",ve=se.useMemo(function(){return dn?Mi(xi)?Or.filter(function(_n){return Mi(_n.value)}):Or.filter(function(_n){return!Mi(_n.value)}):Or},[xi,Or,dn]),me=function($n,Ir){var jr,ei=$n.filter(function(Si){return!Si.disabled});return Ir!=null?Ir:ei==null||(jr=ei[0])===null||jr===void 0?void 0:jr.value},$e=me(Or,xi),ft=se.useMemo(function(){return Rr($e)},[Rr,$e]),It=me(ft,li),Ht=se.useMemo(function(){return Ii($e,It)},[Ii,$e,It]),sn=me(Ht,Ei),en=se.useMemo(function(){return vi($e,It,sn)},[vi,$e,It,sn]),mn=me(en,Ki),gn=se.useMemo(function(){if(!dn)return[];var _n=An.getNow(),$n=An.setHour(_n,6),Ir=An.setHour(_n,18),jr=function(Si,Kr){var so=er.cellMeridiemFormat;return so?pn(Si,{generateConfig:An,locale:er,format:so}):Kr};return[{label:jr($n,"AM"),value:"am",disabled:Or.every(function(ei){return ei.disabled||!Mi(ei.value)})},{label:jr(Ir,"PM"),value:"pm",disabled:Or.every(function(ei){return ei.disabled||Mi(ei.value)})}]},[Or,dn,An,er]),Ln=function($n){var Ir=Jr($n);sr(Ir)},In=se.useMemo(function(){var _n=hr||dr||An.getNow(),$n=function(jr){return jr!=null};return $n(xi)?(_n=An.setHour(_n,xi),_n=An.setMinute(_n,li),_n=An.setSecond(_n,Ei),_n=An.setMillisecond(_n,Ki)):$n(ii)?(_n=An.setHour(_n,ii),_n=An.setMinute(_n,Vi),_n=An.setSecond(_n,oi),_n=An.setMillisecond(_n,lo)):$n($e)&&(_n=An.setHour(_n,$e),_n=An.setMinute(_n,It),_n=An.setSecond(_n,sn),_n=An.setMillisecond(_n,mn)),_n},[hr,dr,xi,li,Ei,Ki,$e,It,sn,mn,ii,Vi,oi,lo,An]),Pn=function($n,Ir){return $n===null?null:An[Ir](In,$n)},En=function($n){return Pn($n,"setHour")},Cn=function($n){return Pn($n,"setMinute")},ur=function($n){return Pn($n,"setSecond")},Kn=function($n){return Pn($n,"setMillisecond")},gr=function($n){return $n===null?null:$n==="am"&&!Mi(xi)?An.setHour(In,xi-12):$n==="pm"&&Mi(xi)?An.setHour(In,xi+12):In},fr=function($n){Ln(En($n))},Ar=function($n){Ln(Cn($n))},br=function($n){Ln(ur($n))},Er=function($n){Ln(Kn($n))},Lr=function($n){Ln(gr($n))},Wr=function($n){tr(En($n))},Ur=function($n){tr(Cn($n))},Ci=function($n){tr(ur($n))},wr=function($n){tr(Kn($n))},Cr=function($n){tr(gr($n))},Mr={onDblClick:Yr,changeOnScroll:Sn};return se.createElement("div",{className:"".concat(zn,"-content")},ye&&se.createElement(wi,(0,Ie.Z)({units:ve,value:xi,optionalValue:ii,type:"hour",onChange:fr,onHover:Wr},Mr)),Ze&&se.createElement(wi,(0,Ie.Z)({units:ft,value:li,optionalValue:Vi,type:"minute",onChange:Ar,onHover:Ur},Mr)),vt&&se.createElement(wi,(0,Ie.Z)({units:Ht,value:Ei,optionalValue:oi,type:"second",onChange:br,onHover:Ci},Mr)),St&&se.createElement(wi,(0,Ie.Z)({units:en,value:Ki,optionalValue:lo,type:"millisecond",onChange:Er,onHover:wr},Mr)),dn&&se.createElement(wi,(0,Ie.Z)({units:gn,value:uo,type:"meridiem",onChange:Lr,onHover:Cr},Mr)))}function $i(oe){var ye=oe.prefixCls,Ze=oe.value,vt=oe.locale,St=oe.generateConfig,dn=oe.showTime,Sn=dn||{},wn=Sn.format,zn="".concat(ye,"-time-panel"),Gn=Vr(oe,"time"),An=(0,Re.Z)(Gn,1),er=An[0];return se.createElement(yr.Provider,{value:er},se.createElement("div",{className:ln()(zn)},se.createElement(_r,null,Ze?pn(Ze,{locale:vt,format:wn,generateConfig:St}):"\xA0"),se.createElement(fi,dn)))}function oo(oe){var ye=oe.prefixCls,Ze=oe.generateConfig,vt=oe.showTime,St=oe.onSelect,dn=oe.value,Sn=oe.pickerValue,wn=oe.onHover,zn="".concat(ye,"-datetime-panel"),Gn=zr(Ze,vt),An=(0,Re.Z)(Gn,1),er=An[0],sr=function(hr){return dn?On(Ze,hr,dn):On(Ze,hr,Sn)},ar=function(hr){wn==null||wn(hr&&sr(hr))},tr=function(hr){var mr=sr(hr);St(er(mr,mr))};return se.createElement("div",{className:zn},se.createElement($r,(0,Ie.Z)({},oe,{onSelect:tr,onHover:ar})),se.createElement($i,oe))}function Ro(oe){var ye=oe.prefixCls,Ze=oe.locale,vt=oe.generateConfig,St=oe.pickerValue,dn=oe.disabledDate,Sn=oe.onPickerValueChange,wn="".concat(ye,"-decade-panel"),zn=Vr(oe,"decade"),Gn=(0,Re.Z)(zn,1),An=Gn[0],er=function(Or){var Rr=Math.floor(vt.getYear(Or)/100)*100;return vt.setYear(Or,Rr)},sr=function(Or){var Rr=er(Or);return vt.addYear(Rr,99)},ar=er(St),tr=sr(St),dr=vt.addYear(ar,-10),hr=function(Or,Rr){return vt.addYear(Or,Rr*10)},mr=function(Or){var Rr=Ze.cellYearFormat,Ii=pn(Or,{locale:Ze,format:Rr,generateConfig:vt}),vi=pn(vt.addYear(Or,9),{locale:Ze,format:Rr,generateConfig:vt});return"".concat(Ii,"-").concat(vi)},Yr=function(Or){return(0,$t.Z)({},"".concat(ye,"-cell-in-view"),rn(vt,Or,ar)||rn(vt,Or,tr)||jt(vt,ar,tr,Or))},kr=dn?function(Jr,Or){var Rr=vt.setDate(Jr,1),Ii=vt.setMonth(Rr,0),vi=vt.setYear(Ii,Math.floor(vt.getYear(Ii)/10)*10),yi=vt.addYear(vi,10),di=vt.addDate(yi,-1);return dn(vi,Or)&&dn(di,Or)}:null,Sr="".concat(pn(ar,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}),"-").concat(pn(tr,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}));return se.createElement(yr.Provider,{value:An},se.createElement("div",{className:wn},se.createElement(_r,{superOffset:function(Or){return vt.addYear(St,Or*100)},onChange:Sn,getStart:er,getEnd:sr},Sr),se.createElement(ri,(0,Ie.Z)({},oe,{disabledDate:kr,colNum:3,rowNum:4,baseDate:dr,getCellDate:hr,getCellText:mr,getCellClassName:Yr}))))}function fo(oe){var ye=oe.prefixCls,Ze=oe.locale,vt=oe.generateConfig,St=oe.pickerValue,dn=oe.disabledDate,Sn=oe.onPickerValueChange,wn=oe.onModeChange,zn="".concat(ye,"-month-panel"),Gn=Vr(oe,"month"),An=(0,Re.Z)(Gn,1),er=An[0],sr=vt.setMonth(St,0),ar=Ze.shortMonths||(vt.locale.getShortMonths?vt.locale.getShortMonths(Ze.locale):[]),tr=function(Sr,Jr){return vt.addMonth(Sr,Jr)},dr=function(Sr){var Jr=vt.getMonth(Sr);return Ze.monthFormat?pn(Sr,{locale:Ze,format:Ze.monthFormat,generateConfig:vt}):ar[Jr]},hr=function(){return(0,$t.Z)({},"".concat(ye,"-cell-in-view"),!0)},mr=dn?function(kr,Sr){var Jr=vt.setDate(kr,1),Or=vt.setMonth(Jr,vt.getMonth(Jr)+1),Rr=vt.addDate(Or,-1);return dn(Jr,Sr)&&dn(Rr,Sr)}:null,Yr=se.createElement("button",{type:"button",key:"year","aria-label":Ze.yearSelect,onClick:function(){wn("year")},tabIndex:-1,className:"".concat(ye,"-year-btn")},pn(St,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}));return se.createElement(yr.Provider,{value:er},se.createElement("div",{className:zn},se.createElement(_r,{superOffset:function(Sr){return vt.addYear(St,Sr)},onChange:Sn,getStart:function(Sr){return vt.setMonth(Sr,0)},getEnd:function(Sr){return vt.setMonth(Sr,11)}},Yr),se.createElement(ri,(0,Ie.Z)({},oe,{disabledDate:mr,titleFormat:Ze.fieldMonthFormat,colNum:3,rowNum:4,baseDate:sr,getCellDate:tr,getCellText:dr,getCellClassName:hr}))))}function bo(oe){var ye=oe.prefixCls,Ze=oe.locale,vt=oe.generateConfig,St=oe.pickerValue,dn=oe.onPickerValueChange,Sn=oe.onModeChange,wn="".concat(ye,"-quarter-panel"),zn=Vr(oe,"quarter"),Gn=(0,Re.Z)(zn,1),An=Gn[0],er=vt.setMonth(St,0),sr=function(mr,Yr){return vt.addMonth(mr,Yr*3)},ar=function(mr){return pn(mr,{locale:Ze,format:Ze.cellQuarterFormat,generateConfig:vt})},tr=function(){return(0,$t.Z)({},"".concat(ye,"-cell-in-view"),!0)},dr=se.createElement("button",{type:"button",key:"year","aria-label":Ze.yearSelect,onClick:function(){Sn("year")},tabIndex:-1,className:"".concat(ye,"-year-btn")},pn(St,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}));return se.createElement(yr.Provider,{value:An},se.createElement("div",{className:wn},se.createElement(_r,{superOffset:function(mr){return vt.addYear(St,mr)},onChange:dn,getStart:function(mr){return vt.setMonth(mr,0)},getEnd:function(mr){return vt.setMonth(mr,11)}},dr),se.createElement(ri,(0,Ie.Z)({},oe,{titleFormat:Ze.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:er,getCellDate:sr,getCellText:ar,getCellClassName:tr}))))}function co(oe){var ye=oe.prefixCls,Ze=oe.generateConfig,vt=oe.locale,St=oe.value,dn=oe.hoverValue,Sn=oe.hoverRangeValue,wn=vt.locale,zn="".concat(ye,"-week-panel-row"),Gn=function(er){var sr={};if(Sn){var ar=(0,Re.Z)(Sn,2),tr=ar[0],dr=ar[1],hr=mt(Ze,wn,tr,er),mr=mt(Ze,wn,dr,er);sr["".concat(zn,"-range-start")]=hr,sr["".concat(zn,"-range-end")]=mr,sr["".concat(zn,"-range-hover")]=!hr&&!mr&&jt(Ze,tr,dr,er)}return dn&&(sr["".concat(zn,"-hover")]=dn.some(function(Yr){return mt(Ze,wn,er,Yr)})),ln()(zn,(0,$t.Z)({},"".concat(zn,"-selected"),!Sn&&mt(Ze,wn,St,er)),sr)};return se.createElement($r,(0,Ie.Z)({},oe,{mode:"week",panelName:"week",rowClassName:Gn}))}function yo(oe){var ye=oe.prefixCls,Ze=oe.locale,vt=oe.generateConfig,St=oe.pickerValue,dn=oe.disabledDate,Sn=oe.onPickerValueChange,wn=oe.onModeChange,zn="".concat(ye,"-year-panel"),Gn=Vr(oe,"year"),An=(0,Re.Z)(Gn,1),er=An[0],sr=function(Rr){var Ii=Math.floor(vt.getYear(Rr)/10)*10;return vt.setYear(Rr,Ii)},ar=function(Rr){var Ii=sr(Rr);return vt.addYear(Ii,9)},tr=sr(St),dr=ar(St),hr=vt.addYear(tr,-1),mr=function(Rr,Ii){return vt.addYear(Rr,Ii)},Yr=function(Rr){return pn(Rr,{locale:Ze,format:Ze.cellYearFormat,generateConfig:vt})},kr=function(Rr){return(0,$t.Z)({},"".concat(ye,"-cell-in-view"),yn(vt,Rr,tr)||yn(vt,Rr,dr)||jt(vt,tr,dr,Rr))},Sr=dn?function(Or,Rr){var Ii=vt.setMonth(Or,0),vi=vt.setDate(Ii,1),yi=vt.addYear(vi,1),di=vt.addDate(yi,-1);return dn(vi,Rr)&&dn(di,Rr)}:null,Jr=se.createElement("button",{type:"button",key:"decade","aria-label":Ze.decadeSelect,onClick:function(){wn("decade")},tabIndex:-1,className:"".concat(ye,"-decade-btn")},pn(tr,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}),"-",pn(dr,{locale:Ze,format:Ze.yearFormat,generateConfig:vt}));return se.createElement(yr.Provider,{value:er},se.createElement("div",{className:zn},se.createElement(_r,{superOffset:function(Rr){return vt.addYear(St,Rr*10)},onChange:Sn,getStart:sr,getEnd:ar},Jr),se.createElement(ri,(0,Ie.Z)({},oe,{disabledDate:Sr,titleFormat:Ze.fieldYearFormat,colNum:3,rowNum:4,baseDate:hr,getCellDate:mr,getCellText:Yr,getCellClassName:kr}))))}var Bi={date:$r,datetime:oo,week:co,month:fo,quarter:bo,year:yo,decade:Ro,time:$i};function Ai(oe,ye){var Ze,vt=oe.locale,St=oe.generateConfig,dn=oe.direction,Sn=oe.prefixCls,wn=oe.tabIndex,zn=wn===void 0?0:wn,Gn=oe.multiple,An=oe.defaultValue,er=oe.value,sr=oe.onChange,ar=oe.onSelect,tr=oe.defaultPickerValue,dr=oe.pickerValue,hr=oe.onPickerValueChange,mr=oe.mode,Yr=oe.onPanelChange,kr=oe.picker,Sr=kr===void 0?"date":kr,Jr=oe.showTime,Or=oe.hoverValue,Rr=oe.hoverRangeValue,Ii=oe.cellRender,vi=oe.dateRender,yi=oe.monthCellRender,di=oe.components,ki=di===void 0?{}:di,xi=oe.hideHeader,ii=((Ze=se.useContext(te))===null||Ze===void 0?void 0:Ze.prefixCls)||Sn||"rc-picker",Xr=se.useRef();se.useImperativeHandle(ye,function(){return{nativeElement:Xr.current}});var si=Jt(oe),li=(0,Re.Z)(si,4),Vi=li[0],Ti=li[1],pi=li[2],Ei=li[3],oi=Rt(vt,Ti),bi=Sr==="date"&&Jr?"datetime":Sr,gi=se.useMemo(function(){return an(bi,pi,Ei,Vi,oi)},[bi,pi,Ei,Vi,oi]),Ki=St.getNow(),lo=(0,qe.C8)(Sr,{value:mr,postState:function(Cr){return Cr||"date"}}),uo=(0,Re.Z)(lo,2),ve=uo[0],me=uo[1],$e=ve==="date"&&gi?"datetime":ve,ft=Fr(St,vt,bi),It=(0,qe.C8)(An,{value:er}),Ht=(0,Re.Z)(It,2),sn=Ht[0],en=Ht[1],mn=se.useMemo(function(){var wr=xe(sn).filter(function(Cr){return Cr});return Gn?wr:wr.slice(0,1)},[sn,Gn]),gn=(0,qe.zX)(function(wr){en(wr),sr&&(wr===null||mn.length!==wr.length||mn.some(function(Cr,Mr){return!qt(St,vt,Cr,wr[Mr],bi)}))&&(sr==null||sr(Gn?wr:wr[0]))}),Ln=(0,qe.zX)(function(wr){if(ar==null||ar(wr),ve===Sr){var Cr=Gn?ft(mn,wr):[wr];gn(Cr)}}),In=(0,qe.C8)(tr||mn[0]||Ki,{value:dr}),Pn=(0,Re.Z)(In,2),En=Pn[0],Cn=Pn[1];se.useEffect(function(){mn[0]&&!dr&&Cn(mn[0])},[mn[0]]);var ur=function(Cr,Mr){Yr==null||Yr(Cr||dr,Mr||ve)},Kn=function(Cr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Cn(Cr),hr==null||hr(Cr),Mr&&ur(Cr)},gr=function(Cr,Mr){me(Cr),Mr&&Kn(Mr),ur(Mr,Cr)},fr=function(Cr){if(Ln(Cr),Kn(Cr),ve!==Sr){var Mr=["decade","year"],_n=[].concat(Mr,["month"]),$n={quarter:[].concat(Mr,["quarter"]),week:[].concat((0,Xt.Z)(_n),["week"]),date:[].concat((0,Xt.Z)(_n),["date"])},Ir=$n[Sr]||_n,jr=Ir.indexOf(ve),ei=Ir[jr+1];ei&&gr(ei,Cr)}},Ar=se.useMemo(function(){var wr,Cr;if(Array.isArray(Rr)){var Mr=(0,Re.Z)(Rr,2);wr=Mr[0],Cr=Mr[1]}else wr=Rr;return!wr&&!Cr?null:(wr=wr||Cr,Cr=Cr||wr,St.isAfter(wr,Cr)?[Cr,wr]:[wr,Cr])},[Rr,St]),br=Dt(Ii,vi,yi),Er=ki[$e]||Bi[$e]||$r,Lr=se.useContext(ni),Wr=se.useMemo(function(){return(0,ge.Z)((0,ge.Z)({},Lr),{},{hideHeader:xi})},[Lr,xi]),Ur="".concat(ii,"-panel"),Ci=Ve(oe,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return se.createElement(ni.Provider,{value:Wr},se.createElement("div",{ref:Xr,tabIndex:zn,className:ln()(Ur,(0,$t.Z)({},"".concat(Ur,"-rtl"),dn==="rtl"))},se.createElement(Er,(0,Ie.Z)({},Ci,{showTime:gi,prefixCls:ii,locale:oi,generateConfig:St,onModeChange:gr,pickerValue:En,onPickerValueChange:function(Cr){Kn(Cr,!0)},value:mn[0],onSelect:fr,values:mn,cellRender:br,hoverRangeValue:Ar,hoverValue:Or}))))}var Gr=se.memo(se.forwardRef(Ai)),Un=Gr;function lr(oe){var ye=oe.picker,Ze=oe.multiplePanel,vt=oe.pickerValue,St=oe.onPickerValueChange,dn=oe.needConfirm,Sn=oe.onSubmit,wn=oe.range,zn=oe.hoverValue,Gn=se.useContext(te),An=Gn.prefixCls,er=Gn.generateConfig,sr=se.useCallback(function(Yr,kr){return et(er,ye,Yr,kr)},[er,ye]),ar=se.useMemo(function(){return sr(vt,1)},[vt,sr]),tr=function(kr){St(sr(kr,-1))},dr={onCellDblClick:function(){dn&&Sn()}},hr=ye==="time",mr=(0,ge.Z)((0,ge.Z)({},oe),{},{hoverValue:null,hoverRangeValue:null,hideHeader:hr});return wn?mr.hoverRangeValue=zn:mr.hoverValue=zn,Ze?se.createElement("div",{className:"".concat(An,"-panels")},se.createElement(ni.Provider,{value:(0,ge.Z)((0,ge.Z)({},dr),{},{hideNext:!0})},se.createElement(Un,mr)),se.createElement(ni.Provider,{value:(0,ge.Z)((0,ge.Z)({},dr),{},{hidePrev:!0})},se.createElement(Un,(0,Ie.Z)({},mr,{pickerValue:ar,onPickerValueChange:tr})))):se.createElement(ni.Provider,{value:(0,ge.Z)({},dr)},se.createElement(Un,mr))}function cr(oe){return typeof oe=="function"?oe():oe}function qn(oe){var ye=oe.prefixCls,Ze=oe.presets,vt=oe.onClick,St=oe.onHover;return Ze.length?se.createElement("div",{className:"".concat(ye,"-presets")},se.createElement("ul",null,Ze.map(function(dn,Sn){var wn=dn.label,zn=dn.value;return se.createElement("li",{key:Sn,onClick:function(){vt(cr(zn))},onMouseEnter:function(){St(cr(zn))},onMouseLeave:function(){St(null)}},wn)}))):null}function Hr(oe){var ye=oe.panelRender,Ze=oe.internalMode,vt=oe.picker,St=oe.showNow,dn=oe.range,Sn=oe.multiple,wn=oe.activeInfo,zn=wn===void 0?[0,0,0]:wn,Gn=oe.presets,An=oe.onPresetHover,er=oe.onPresetSubmit,sr=oe.onFocus,ar=oe.onBlur,tr=oe.onPanelMouseDown,dr=oe.direction,hr=oe.value,mr=oe.onSelect,Yr=oe.isInvalid,kr=oe.defaultOpenValue,Sr=oe.onOk,Jr=oe.onSubmit,Or=se.useContext(te),Rr=Or.prefixCls,Ii="".concat(Rr,"-panel"),vi=dr==="rtl",yi=se.useRef(null),di=se.useRef(null),ki=se.useState(0),xi=(0,Re.Z)(ki,2),ii=xi[0],Xr=xi[1],si=se.useState(0),li=(0,Re.Z)(si,2),Vi=li[0],Ti=li[1],pi=se.useState(0),Ei=(0,Re.Z)(pi,2),oi=Ei[0],bi=Ei[1],gi=function(fr){fr.width&&Xr(fr.width)},Ki=(0,Re.Z)(zn,3),lo=Ki[0],uo=Ki[1],ve=Ki[2],me=se.useState(0),$e=(0,Re.Z)(me,2),ft=$e[0],It=$e[1];se.useEffect(function(){It(10)},[lo]),se.useEffect(function(){if(dn&&di.current){var gr,fr=((gr=yi.current)===null||gr===void 0?void 0:gr.offsetWidth)||0,Ar=di.current.getBoundingClientRect();if(!Ar.height||Ar.right<0){It(function(Wr){return Math.max(0,Wr-1)});return}var br=(vi?uo-fr:lo)-Ar.left;if(bi(br),ii&&ii<ve){var Er=vi?Ar.right-(uo-fr+ii):lo+fr-Ar.left-ii,Lr=Math.max(0,Er);Ti(Lr)}else Ti(0)}},[ft,vi,ii,lo,uo,ve,dn]);function Ht(gr){return gr.filter(function(fr){return fr})}var sn=se.useMemo(function(){return Ht(xe(hr))},[hr]),en=vt==="time"&&!sn.length,mn=se.useMemo(function(){return en?Ht([kr]):sn},[en,sn,kr]),gn=en?kr:sn,Ln=se.useMemo(function(){return mn.length?mn.some(function(gr){return Yr(gr)}):!0},[mn,Yr]),In=function(){en&&mr(kr),Sr(),Jr()},Pn=se.createElement("div",{className:"".concat(Rr,"-panel-layout")},se.createElement(qn,{prefixCls:Rr,presets:Gn,onClick:er,onHover:An}),se.createElement("div",null,se.createElement(lr,(0,Ie.Z)({},oe,{value:gn})),se.createElement(Qr,(0,Ie.Z)({},oe,{showNow:Sn?!1:St,invalid:Ln,onSubmit:In}))));ye&&(Pn=ye(Pn));var En="".concat(Ii,"-container"),Cn="marginLeft",ur="marginRight",Kn=se.createElement("div",{onMouseDown:tr,tabIndex:-1,className:ln()(En,"".concat(Rr,"-").concat(Ze,"-panel-container")),style:(0,$t.Z)((0,$t.Z)({},vi?ur:Cn,Vi),vi?Cn:ur,"auto"),onFocus:sr,onBlur:ar},Pn);return dn&&(Kn=se.createElement("div",{onMouseDown:tr,ref:di,className:ln()("".concat(Rr,"-range-wrapper"),"".concat(Rr,"-").concat(vt,"-range-wrapper"))},se.createElement("div",{ref:yi,className:"".concat(Rr,"-range-arrow"),style:{left:oi}}),se.createElement(Wn.Z,{onResize:gi},Kn))),Kn}var qr=z(42244);function or(oe,ye){var Ze=oe.format,vt=oe.maskFormat,St=oe.generateConfig,dn=oe.locale,Sn=oe.preserveInvalidOnBlur,wn=oe.inputReadOnly,zn=oe.required,Gn=oe["aria-required"],An=oe.onSubmit,er=oe.onFocus,sr=oe.onBlur,ar=oe.onInputChange,tr=oe.onInvalid,dr=oe.open,hr=oe.onOpenChange,mr=oe.onKeyDown,Yr=oe.onChange,kr=oe.activeHelp,Sr=oe.name,Jr=oe.autoComplete,Or=oe.id,Rr=oe.value,Ii=oe.invalid,vi=oe.placeholder,yi=oe.disabled,di=oe.activeIndex,ki=oe.allHelp,xi=oe.picker,ii=function(oi,bi){var gi=St.locale.parse(dn.locale,oi,[bi]);return gi&&St.isValidate(gi)?gi:null},Xr=Ze[0],si=se.useCallback(function(Ei){return pn(Ei,{locale:dn,format:Xr,generateConfig:St})},[dn,St,Xr]),li=se.useMemo(function(){return Rr.map(si)},[Rr,si]),Vi=se.useMemo(function(){var Ei=xi==="time"?8:10,oi=typeof Xr=="function"?Xr(St.getNow()).length:Xr.length;return Math.max(Ei,oi)+2},[Xr,xi,St]),Ti=function(oi){for(var bi=0;bi<Ze.length;bi+=1){var gi=Ze[bi];if(typeof gi=="string"){var Ki=ii(oi,gi);if(Ki)return Ki}}return!1},pi=function(oi){function bi(lo){return oi!==void 0?lo[oi]:lo}var gi=(0,Zt.Z)(oe,{aria:!0,data:!0}),Ki=(0,ge.Z)((0,ge.Z)({},gi),{},{format:vt,validateFormat:function(uo){return!!Ti(uo)},preserveInvalidOnBlur:Sn,readOnly:wn,required:zn,"aria-required":Gn,name:Sr,autoComplete:Jr,size:Vi,id:bi(Or),value:bi(li)||"",invalid:bi(Ii),placeholder:bi(vi),active:di===oi,helped:ki||kr&&di===oi,disabled:bi(yi),onFocus:function(uo){er(uo,oi)},onBlur:function(uo){sr(uo,oi)},onSubmit:An,onChange:function(uo){ar();var ve=Ti(uo);if(ve){tr(!1,oi),Yr(ve,oi);return}tr(!!uo,oi)},onHelp:function(){hr(!0,{index:oi})},onKeyDown:function(uo){var ve=!1;if(mr==null||mr(uo,function(){ve=!0}),!uo.defaultPrevented&&!ve)switch(uo.key){case"Escape":hr(!1,{index:oi});break;case"Enter":dr||hr(!0);break}}},ye==null?void 0:ye({valueTexts:li}));return Object.keys(Ki).forEach(function(lo){Ki[lo]===void 0&&delete Ki[lo]}),Ki};return[pi,si]}var Jn=["onMouseEnter","onMouseLeave"];function xr(oe){return se.useMemo(function(){return Ve(oe,Jn)},[oe])}var Zr=["icon","type"],ji=["onClear"];function po(oe){var ye=oe.icon,Ze=oe.type,vt=(0,qr.Z)(oe,Zr),St=se.useContext(te),dn=St.prefixCls;return ye?se.createElement("span",(0,Ie.Z)({className:"".concat(dn,"-").concat(Ze)},vt),ye):null}function ao(oe){var ye=oe.onClear,Ze=(0,qr.Z)(oe,ji);return se.createElement(po,(0,Ie.Z)({},Ze,{type:"clear",role:"button",onMouseDown:function(St){St.preventDefault()},onClick:function(St){St.stopPropagation(),ye()}}))}var Io=z(38705),wo=z(17212),Co=["YYYY","MM","DD","HH","mm","ss","SSS"],Lo="\u9867",Oo=function(){function oe(ye){(0,Io.Z)(this,oe),(0,$t.Z)(this,"format",void 0),(0,$t.Z)(this,"maskFormat",void 0),(0,$t.Z)(this,"cells",void 0),(0,$t.Z)(this,"maskCells",void 0),this.format=ye;var Ze=Co.map(function(wn){return"(".concat(wn,")")}).join("|"),vt=new RegExp(Ze,"g");this.maskFormat=ye.replace(vt,function(wn){return Lo.repeat(wn.length)});var St=new RegExp("(".concat(Co.join("|"),")")),dn=(ye.split(St)||[]).filter(function(wn){return wn}),Sn=0;this.cells=dn.map(function(wn){var zn=Co.includes(wn),Gn=Sn,An=Sn+wn.length;return Sn=An,{text:wn,mask:zn,start:Gn,end:An}}),this.maskCells=this.cells.filter(function(wn){return wn.mask})}return(0,wo.Z)(oe,[{key:"getSelection",value:function(Ze){var vt=this.maskCells[Ze]||{},St=vt.start,dn=vt.end;return[St||0,dn||0]}},{key:"match",value:function(Ze){for(var vt=0;vt<this.maskFormat.length;vt+=1){var St=this.maskFormat[vt],dn=Ze[vt];if(!dn||St!==Lo&&St!==dn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Ze){for(var vt=Number.MAX_SAFE_INTEGER,St=0,dn=0;dn<this.maskCells.length;dn+=1){var Sn=this.maskCells[dn],wn=Sn.start,zn=Sn.end;if(Ze>=wn&&Ze<=zn)return dn;var Gn=Math.min(Math.abs(Ze-wn),Math.abs(Ze-zn));Gn<vt&&(vt=Gn,St=dn)}return St}}]),oe}();function Mo(oe){var ye={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 ye[oe]}var ha=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],Aa=se.forwardRef(function(oe,ye){var Ze=oe.active,vt=oe.showActiveCls,St=vt===void 0?!0:vt,dn=oe.suffixIcon,Sn=oe.format,wn=oe.validateFormat,zn=oe.onChange,Gn=oe.onInput,An=oe.helped,er=oe.onHelp,sr=oe.onSubmit,ar=oe.onKeyDown,tr=oe.preserveInvalidOnBlur,dr=tr===void 0?!1:tr,hr=oe.invalid,mr=oe.clearIcon,Yr=(0,qr.Z)(oe,ha),kr=oe.value,Sr=oe.onFocus,Jr=oe.onBlur,Or=oe.onMouseUp,Rr=se.useContext(te),Ii=Rr.prefixCls,vi=Rr.input,yi=vi===void 0?"input":vi,di="".concat(Ii,"-input"),ki=se.useState(!1),xi=(0,Re.Z)(ki,2),ii=xi[0],Xr=xi[1],si=se.useState(kr),li=(0,Re.Z)(si,2),Vi=li[0],Ti=li[1],pi=se.useState(""),Ei=(0,Re.Z)(pi,2),oi=Ei[0],bi=Ei[1],gi=se.useState(null),Ki=(0,Re.Z)(gi,2),lo=Ki[0],uo=Ki[1],ve=se.useState(null),me=(0,Re.Z)(ve,2),$e=me[0],ft=me[1],It=Vi||"";se.useEffect(function(){Ti(kr)},[kr]);var Ht=se.useRef(),sn=se.useRef();se.useImperativeHandle(ye,function(){return{nativeElement:Ht.current,inputElement:sn.current,focus:function(Cr){sn.current.focus(Cr)},blur:function(){sn.current.blur()}}});var en=se.useMemo(function(){return new Oo(Sn||"")},[Sn]),mn=se.useMemo(function(){return An?[0,0]:en.getSelection(lo)},[en,lo,An]),gn=(0,Re.Z)(mn,2),Ln=gn[0],In=gn[1],Pn=function(Cr){Cr&&Cr!==Sn&&Cr!==kr&&er()},En=(0,qe.zX)(function(wr){wn(wr)&&zn(wr),Ti(wr),Pn(wr)}),Cn=function(Cr){if(!Sn){var Mr=Cr.target.value;Pn(Mr),Ti(Mr),zn(Mr)}},ur=function(Cr){var Mr=Cr.clipboardData.getData("text");wn(Mr)&&En(Mr)},Kn=se.useRef(!1),gr=function(){Kn.current=!0},fr=function(Cr){var Mr=Cr.target,_n=Mr.selectionStart,$n=en.getMaskCellIndex(_n);uo($n),ft({}),Or==null||Or(Cr),Kn.current=!1},Ar=function(Cr){Xr(!0),uo(0),bi(""),Sr(Cr)},br=function(Cr){Jr(Cr)},Er=function(Cr){Xr(!1),br(Cr)};Pt(Ze,function(){!Ze&&!dr&&Ti(kr)});var Lr=function(Cr){Cr.key==="Enter"&&wn(It)&&sr(),ar==null||ar(Cr)},Wr=function(Cr){Lr(Cr);var Mr=Cr.key,_n=null,$n=null,Ir=In-Ln,jr=Sn.slice(Ln,In),ei=function(eo){uo(function(qo){var To=qo+eo;return To=Math.max(To,0),To=Math.min(To,en.size()-1),To})},Si=function(eo){var qo=Mo(jr),To=(0,Re.Z)(qo,3),Xo=To[0],ra=To[1],oa=To[2],go=It.slice(Ln,In),vo=Number(go);if(isNaN(vo))return String(oa||(eo>0?Xo:ra));var ma=vo+eo,va=ra-Xo+1;return String(Xo+(va+ma-Xo)%va)};switch(Mr){case"Backspace":case"Delete":_n="",$n=jr;break;case"ArrowLeft":_n="",ei(-1);break;case"ArrowRight":_n="",ei(1);break;case"ArrowUp":_n="",$n=Si(1);break;case"ArrowDown":_n="",$n=Si(-1);break;default:isNaN(Number(Mr))||(_n=oi+Mr,$n=_n);break}if(_n!==null&&(bi(_n),_n.length>=Ir&&(ei(1),bi(""))),$n!==null){var Kr=It.slice(0,Ln)+ue($n,Ir)+It.slice(In);En(Kr.slice(0,Sn.length))}ft({})},Ur=se.useRef();(0,Vt.Z)(function(){if(!(!ii||!Sn||Kn.current)){if(!en.match(It)){En(Sn);return}return sn.current.setSelectionRange(Ln,In),Ur.current=(0,Dr.Z)(function(){sn.current.setSelectionRange(Ln,In)}),function(){Dr.Z.cancel(Ur.current)}}},[en,Sn,ii,It,lo,Ln,In,$e,En]);var Ci=Sn?{onFocus:Ar,onBlur:Er,onKeyDown:Wr,onMouseDown:gr,onMouseUp:fr,onPaste:ur}:{};return se.createElement("div",{ref:Ht,className:ln()(di,(0,$t.Z)((0,$t.Z)({},"".concat(di,"-active"),Ze&&St),"".concat(di,"-placeholder"),An))},se.createElement(yi,(0,Ie.Z)({ref:sn,"aria-invalid":hr,autoComplete:"off"},Yr,{onKeyDown:Lr,onBlur:br},Ci,{value:It,onChange:Cn})),se.createElement(po,{type:"suffix",icon:dn}),mr)}),xa=Aa,Fa=["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(oe,ye){var Ze=oe.id,vt=oe.prefix,St=oe.clearIcon,dn=oe.suffixIcon,Sn=oe.separator,wn=Sn===void 0?"~":Sn,zn=oe.activeIndex,Gn=oe.activeHelp,An=oe.allHelp,er=oe.focused,sr=oe.onFocus,ar=oe.onBlur,tr=oe.onKeyDown,dr=oe.locale,hr=oe.generateConfig,mr=oe.placeholder,Yr=oe.className,kr=oe.style,Sr=oe.onClick,Jr=oe.onClear,Or=oe.value,Rr=oe.onChange,Ii=oe.onSubmit,vi=oe.onInputChange,yi=oe.format,di=oe.maskFormat,ki=oe.preserveInvalidOnBlur,xi=oe.onInvalid,ii=oe.disabled,Xr=oe.invalid,si=oe.inputReadOnly,li=oe.direction,Vi=oe.onOpenChange,Ti=oe.onActiveInfo,pi=oe.placement,Ei=oe.onMouseDown,oi=oe.required,bi=oe["aria-required"],gi=oe.autoFocus,Ki=oe.tabIndex,lo=(0,qr.Z)(oe,Fa),uo=li==="rtl",ve=se.useContext(te),me=ve.prefixCls,$e=se.useMemo(function(){if(typeof Ze=="string")return[Ze];var br=Ze||{};return[br.start,br.end]},[Ze]),ft=se.useRef(),It=se.useRef(),Ht=se.useRef(),sn=function(Er){var Lr;return(Lr=[It,Ht][Er])===null||Lr===void 0?void 0:Lr.current};se.useImperativeHandle(ye,function(){return{nativeElement:ft.current,focus:function(Er){if((0,vn.Z)(Er)==="object"){var Lr,Wr=Er||{},Ur=Wr.index,Ci=Ur===void 0?0:Ur,wr=(0,qr.Z)(Wr,Da);(Lr=sn(Ci))===null||Lr===void 0||Lr.focus(wr)}else{var Cr;(Cr=sn(Er!=null?Er:0))===null||Cr===void 0||Cr.focus()}},blur:function(){var Er,Lr;(Er=sn(0))===null||Er===void 0||Er.blur(),(Lr=sn(1))===null||Lr===void 0||Lr.blur()}}});var en=xr(lo),mn=se.useMemo(function(){return Array.isArray(mr)?mr:[mr,mr]},[mr]),gn=or((0,ge.Z)((0,ge.Z)({},oe),{},{id:$e,placeholder:mn})),Ln=(0,Re.Z)(gn,1),In=Ln[0],Pn=se.useState({position:"absolute",width:0}),En=(0,Re.Z)(Pn,2),Cn=En[0],ur=En[1],Kn=(0,qe.zX)(function(){var br=sn(zn);if(br){var Er=br.nativeElement.getBoundingClientRect(),Lr=ft.current.getBoundingClientRect(),Wr=Er.left-Lr.left;ur(function(Ur){return(0,ge.Z)((0,ge.Z)({},Ur),{},{width:Er.width,left:Wr})}),Ti([Er.left,Er.right,Lr.width])}});se.useEffect(function(){Kn()},[zn]);var gr=St&&(Or[0]&&!ii[0]||Or[1]&&!ii[1]),fr=gi&&!ii[0],Ar=gi&&!fr&&!ii[1];return se.createElement(Wn.Z,{onResize:Kn},se.createElement("div",(0,Ie.Z)({},en,{className:ln()(me,"".concat(me,"-range"),(0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(me,"-focused"),er),"".concat(me,"-disabled"),ii.every(function(br){return br})),"".concat(me,"-invalid"),Xr.some(function(br){return br})),"".concat(me,"-rtl"),uo),Yr),style:kr,ref:ft,onClick:Sr,onMouseDown:function(Er){var Lr=Er.target;Lr!==It.current.inputElement&&Lr!==Ht.current.inputElement&&Er.preventDefault(),Ei==null||Ei(Er)}}),vt&&se.createElement("div",{className:"".concat(me,"-prefix")},vt),se.createElement(xa,(0,Ie.Z)({ref:It},In(0),{autoFocus:fr,tabIndex:Ki,"date-range":"start"})),se.createElement("div",{className:"".concat(me,"-range-separator")},wn),se.createElement(xa,(0,Ie.Z)({ref:Ht},In(1),{autoFocus:Ar,tabIndex:Ki,"date-range":"end"})),se.createElement("div",{className:"".concat(me,"-active-bar"),style:Cn}),se.createElement(po,{type:"suffix",icon:dn}),gr&&se.createElement(ao,{icon:St,onClear:Jr})))}var Ni=se.forwardRef(Gi),ea=Ni;function ta(oe,ye){var Ze=oe!=null?oe:ye;return Array.isArray(Ze)?Ze:[Ze,Ze]}function Xi(oe){return oe===1?"end":"start"}function Ho(oe,ye){var Ze=pr(oe,function(){var Yo=oe.disabled,Eo=oe.allowEmpty,ui=ta(Yo,!1),Yi=ta(Eo,!1);return{disabled:ui,allowEmpty:Yi}}),vt=(0,Re.Z)(Ze,6),St=vt[0],dn=vt[1],Sn=vt[2],wn=vt[3],zn=vt[4],Gn=vt[5],An=St.prefixCls,er=St.styles,sr=St.classNames,ar=St.defaultValue,tr=St.value,dr=St.needConfirm,hr=St.onKeyDown,mr=St.disabled,Yr=St.allowEmpty,kr=St.disabledDate,Sr=St.minDate,Jr=St.maxDate,Or=St.defaultOpen,Rr=St.open,Ii=St.onOpenChange,vi=St.locale,yi=St.generateConfig,di=St.picker,ki=St.showNow,xi=St.showToday,ii=St.showTime,Xr=St.mode,si=St.onPanelChange,li=St.onCalendarChange,Vi=St.onOk,Ti=St.defaultPickerValue,pi=St.pickerValue,Ei=St.onPickerValueChange,oi=St.inputReadOnly,bi=St.suffixIcon,gi=St.onFocus,Ki=St.onBlur,lo=St.presets,uo=St.ranges,ve=St.components,me=St.cellRender,$e=St.dateRender,ft=St.monthCellRender,It=St.onClick,Ht=nr(ye),sn=kn(Rr,Or,mr,Ii),en=(0,Re.Z)(sn,2),mn=en[0],gn=en[1],Ln=function(Eo,ui){(mr.some(function(Yi){return!Yi})||!Eo)&&gn(Eo,ui)},In=Lt(yi,vi,wn,!0,!1,ar,tr,li,Vi),Pn=(0,Re.Z)(In,5),En=Pn[0],Cn=Pn[1],ur=Pn[2],Kn=Pn[3],gr=Pn[4],fr=ur(),Ar=Ut(mr,Yr,mn),br=(0,Re.Z)(Ar,9),Er=br[0],Lr=br[1],Wr=br[2],Ur=br[3],Ci=br[4],wr=br[5],Cr=br[6],Mr=br[7],_n=br[8],$n=function(Eo,ui){Lr(!0),gi==null||gi(Eo,{range:Xi(ui!=null?ui:Ur)})},Ir=function(Eo,ui){Lr(!1),Ki==null||Ki(Eo,{range:Xi(ui!=null?ui:Ur)})},jr=se.useMemo(function(){if(!ii)return null;var Yo=ii.disabledTime,Eo=Yo?function(ui){var Yi=Xi(Ur),Fo=lt(fr,Cr,Ur);return Yo(ui,Yi,{from:Fo})}:void 0;return(0,ge.Z)((0,ge.Z)({},ii),{},{disabledTime:Eo})},[ii,Ur,fr,Cr]),ei=(0,qe.C8)([di,di],{value:Xr}),Si=(0,Re.Z)(ei,2),Kr=Si[0],so=Si[1],eo=Kr[Ur]||di,qo=eo==="date"&&jr?"datetime":eo,To=qo===di&&qo!=="time",Xo=nn(di,eo,ki,xi,!0),ra=Wt(St,En,Cn,ur,Kn,mr,wn,Er,mn,Gn),oa=(0,Re.Z)(ra,2),go=oa[0],vo=oa[1],ma=nt(fr,mr,Cr,yi,vi,kr),va=Oe(fr,Gn,Yr),Fi=(0,Re.Z)(va,2),no=Fi[0],Di=Fi[1],ci=Mt(yi,vi,fr,Kr,mn,Ur,dn,To,Ti,pi,jr==null?void 0:jr.defaultOpenValue,Ei,Sr,Jr),Do=(0,Re.Z)(ci,2),zo=Do[0],aa=Do[1],Wo=(0,qe.zX)(function(Yo,Eo,ui){var Yi=tt(Kr,Ur,Eo);if((Yi[0]!==Kr[0]||Yi[1]!==Kr[1])&&so(Yi),si&&ui!==!1){var Fo=(0,Xt.Z)(fr);Yo&&(Fo[Ur]=Yo),si(Fo,Yi)}}),pa=function(Eo,ui){return tt(fr,ui,Eo)},ca=function(Eo,ui){var Yi=fr;Eo&&(Yi=pa(Eo,Ur)),Mr(Ur);var Fo=wr(Yi);Kn(Yi),go(Ur,Fo===null),Fo===null?Ln(!1,{force:!0}):ui||Ht.current.focus({index:Fo})},Li=function(Eo){var ui,Yi=Eo.target.getRootNode();if(!Ht.current.nativeElement.contains((ui=Yi.activeElement)!==null&&ui!==void 0?ui:document.activeElement)){var Fo=mr.findIndex(function(Ba){return!Ba});Fo>=0&&Ht.current.focus({index:Fo})}Ln(!0),It==null||It(Eo)},Ui=function(){vo(null),Ln(!1,{force:!0})},jo=se.useState(null),$o=(0,Re.Z)(jo,2),Qo=$o[0],Sa=$o[1],la=se.useState(null),Ta=(0,Re.Z)(la,2),ia=Ta[0],Po=Ta[1],na=se.useMemo(function(){return ia||fr},[fr,ia]);se.useEffect(function(){mn||Po(null)},[mn]);var sa=se.useState([0,0,0]),Ca=(0,Re.Z)(sa,2),ga=Ca[0],No=Ca[1],fa=rr(lo,uo),Uo=function(Eo){Po(Eo),Sa("preset")},Ra=function(Eo){var ui=vo(Eo);ui&&Ln(!1,{force:!0})},Ea=function(Eo){ca(Eo)},Va=function(Eo){Po(Eo?pa(Eo,Ur):null),Sa("cell")},$a=function(Eo){Ln(!0),$n(Eo)},El=function(){Wr("panel")},ua=function(Eo){var ui=tt(fr,Ur,Eo);Kn(ui),!dr&&!Sn&&dn===qo&&ca(Eo)},_l=function(){Ln(!1)},Ka=Dt(me,$e,ft,Xi(Ur)),hl=fr[Ur]||null,al=(0,qe.zX)(function(Yo){return Gn(Yo,{activeIndex:Ur})}),ro=se.useMemo(function(){var Yo=(0,Zt.Z)(St,!1),Eo=(0,rt.Z)(St,[].concat((0,Xt.Z)(Object.keys(Yo)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Eo},[St]),Pi=se.createElement(Hr,(0,Ie.Z)({},ro,{showNow:Xo,showTime:jr,range:!0,multiplePanel:To,activeInfo:ga,disabledDate:ma,onFocus:$a,onBlur:Ir,onPanelMouseDown:El,picker:di,mode:eo,internalMode:qo,onPanelChange:Wo,format:zn,value:hl,isInvalid:al,onChange:null,onSelect:ua,pickerValue:zo,defaultOpenValue:xe(ii==null?void 0:ii.defaultOpenValue)[Ur],onPickerValueChange:aa,hoverValue:na,onHover:Va,needConfirm:dr,onSubmit:ca,onOk:gr,presets:fa,onPresetHover:Uo,onPresetSubmit:Ra,onNow:Ea,cellRender:Ka})),ya=function(Eo,ui){var Yi=pa(Eo,ui);Kn(Yi)},Qa=function(){Wr("input")},yl=function(Eo,ui){var Yi=Cr.length,Fo=Cr[Yi-1];if(Yi&&Fo!==ui&&dr&&!Yr[Fo]&&!_n(Fo)&&fr[Fo]){Ht.current.focus({index:Fo});return}Wr("input"),Ln(!0,{inherit:!0}),Ur!==ui&&mn&&!dr&&Sn&&ca(null,!0),Ci(ui),$n(Eo,ui)},Tl=function(Eo,ui){if(Ln(!1),!dr&&Wr()==="input"){var Yi=wr(fr);go(Ur,Yi===null)}Ir(Eo,ui)},Es=function(Eo,ui){Eo.key==="Tab"&&ca(null,!0),hr==null||hr(Eo,ui)},ws=se.useMemo(function(){return{prefixCls:An,locale:vi,generateConfig:yi,button:ve.button,input:ve.input}},[An,vi,yi,ve.button,ve.input]);if((0,Vt.Z)(function(){mn&&Ur!==void 0&&Wo(null,di,!1)},[mn,Ur,di]),(0,Vt.Z)(function(){var Yo=Wr();!mn&&Yo==="input"&&(Ln(!1),ca(null,!0)),!mn&&Sn&&!dr&&Yo==="panel"&&(Ln(!0),ca())},[mn]),0)var ks;return se.createElement(te.Provider,{value:ws},se.createElement(re,(0,Ie.Z)({},ht(St),{popupElement:Pi,popupStyle:er.popup,popupClassName:sr.popup,visible:mn,onClose:_l,range:!0}),se.createElement(ea,(0,Ie.Z)({},St,{ref:Ht,suffixIcon:bi,activeIndex:Er||mn?Ur:null,activeHelp:!!ia,allHelp:!!ia&&Qo==="preset",focused:Er,onFocus:yl,onBlur:Tl,onKeyDown:Es,onSubmit:ca,value:na,maskFormat:zn,onChange:ya,onInputChange:Qa,format:wn,inputReadOnly:oi,disabled:mr,open:mn,onOpenChange:Ln,onClick:Li,onClear:Ui,invalid:no,onInvalid:Di,onActiveInfo:No}))))}var _o=se.forwardRef(Ho),ho=_o,Zo=z(83836);function Bo(oe){var ye=oe.prefixCls,Ze=oe.value,vt=oe.onRemove,St=oe.removeIcon,dn=St===void 0?"\xD7":St,Sn=oe.formatDate,wn=oe.disabled,zn=oe.maxTagCount,Gn=oe.placeholder,An="".concat(ye,"-selector"),er="".concat(ye,"-selection"),sr="".concat(er,"-overflow");function ar(hr,mr){return se.createElement("span",{className:ln()("".concat(er,"-item")),title:typeof hr=="string"?hr:null},se.createElement("span",{className:"".concat(er,"-item-content")},hr),!wn&&mr&&se.createElement("span",{onMouseDown:function(kr){kr.preventDefault()},onClick:mr,className:"".concat(er,"-item-remove")},dn))}function tr(hr){var mr=Sn(hr),Yr=function(Sr){Sr&&Sr.stopPropagation(),vt(hr)};return ar(mr,Yr)}function dr(hr){var mr="+ ".concat(hr.length," ...");return ar(mr)}return se.createElement("div",{className:An},se.createElement(Zo.Z,{prefixCls:sr,data:Ze,renderItem:tr,renderRest:dr,itemKey:function(mr){return Sn(mr)},maxCount:zn}),!Ze.length&&se.createElement("span",{className:"".concat(ye,"-selection-placeholder")},Gn))}var La=["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(oe,ye){var Ze=oe.id,vt=oe.open,St=oe.prefix,dn=oe.clearIcon,Sn=oe.suffixIcon,wn=oe.activeHelp,zn=oe.allHelp,Gn=oe.focused,An=oe.onFocus,er=oe.onBlur,sr=oe.onKeyDown,ar=oe.locale,tr=oe.generateConfig,dr=oe.placeholder,hr=oe.className,mr=oe.style,Yr=oe.onClick,kr=oe.onClear,Sr=oe.internalPicker,Jr=oe.value,Or=oe.onChange,Rr=oe.onSubmit,Ii=oe.onInputChange,vi=oe.multiple,yi=oe.maxTagCount,di=oe.format,ki=oe.maskFormat,xi=oe.preserveInvalidOnBlur,ii=oe.onInvalid,Xr=oe.disabled,si=oe.invalid,li=oe.inputReadOnly,Vi=oe.direction,Ti=oe.onOpenChange,pi=oe.onMouseDown,Ei=oe.required,oi=oe["aria-required"],bi=oe.autoFocus,gi=oe.tabIndex,Ki=oe.removeIcon,lo=(0,qr.Z)(oe,La),uo=Vi==="rtl",ve=se.useContext(te),me=ve.prefixCls,$e=se.useRef(),ft=se.useRef();se.useImperativeHandle(ye,function(){return{nativeElement:$e.current,focus:function(Cn){var ur;(ur=ft.current)===null||ur===void 0||ur.focus(Cn)},blur:function(){var Cn;(Cn=ft.current)===null||Cn===void 0||Cn.blur()}}});var It=xr(lo),Ht=function(Cn){Or([Cn])},sn=function(Cn){var ur=Jr.filter(function(Kn){return Kn&&!qt(tr,ar,Kn,Cn,Sr)});Or(ur),vt||Rr()},en=or((0,ge.Z)((0,ge.Z)({},oe),{},{onChange:Ht}),function(En){var Cn=En.valueTexts;return{value:Cn[0]||"",active:Gn}}),mn=(0,Re.Z)(en,2),gn=mn[0],Ln=mn[1],In=!!(dn&&Jr.length&&!Xr),Pn=vi?se.createElement(se.Fragment,null,se.createElement(Bo,{prefixCls:me,value:Jr,onRemove:sn,formatDate:Ln,maxTagCount:yi,disabled:Xr,removeIcon:Ki,placeholder:dr}),se.createElement("input",{className:"".concat(me,"-multiple-input"),value:Jr.map(Ln).join(","),ref:ft,readOnly:!0,autoFocus:bi,tabIndex:gi}),se.createElement(po,{type:"suffix",icon:Sn}),In&&se.createElement(ao,{icon:dn,onClear:kr})):se.createElement(xa,(0,Ie.Z)({ref:ft},gn(),{autoFocus:bi,tabIndex:gi,suffixIcon:Sn,clearIcon:In&&se.createElement(ao,{icon:dn,onClear:kr}),showActiveCls:!1}));return se.createElement("div",(0,Ie.Z)({},It,{className:ln()(me,(0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)((0,$t.Z)({},"".concat(me,"-multiple"),vi),"".concat(me,"-focused"),Gn),"".concat(me,"-disabled"),Xr),"".concat(me,"-invalid"),si),"".concat(me,"-rtl"),uo),hr),style:mr,ref:$e,onClick:Yr,onMouseDown:function(Cn){var ur,Kn=Cn.target;Kn!==((ur=ft.current)===null||ur===void 0?void 0:ur.inputElement)&&Cn.preventDefault(),pi==null||pi(Cn)}}),St&&se.createElement("div",{className:"".concat(me,"-prefix")},St),Pn)}var za=se.forwardRef(rl),Ia=za;function Yl(oe,ye){var Ze=pr(oe),vt=(0,Re.Z)(Ze,6),St=vt[0],dn=vt[1],Sn=vt[2],wn=vt[3],zn=vt[4],Gn=vt[5],An=St,er=An.prefixCls,sr=An.styles,ar=An.classNames,tr=An.order,dr=An.defaultValue,hr=An.value,mr=An.needConfirm,Yr=An.onChange,kr=An.onKeyDown,Sr=An.disabled,Jr=An.disabledDate,Or=An.minDate,Rr=An.maxDate,Ii=An.defaultOpen,vi=An.open,yi=An.onOpenChange,di=An.locale,ki=An.generateConfig,xi=An.picker,ii=An.showNow,Xr=An.showToday,si=An.showTime,li=An.mode,Vi=An.onPanelChange,Ti=An.onCalendarChange,pi=An.onOk,Ei=An.multiple,oi=An.defaultPickerValue,bi=An.pickerValue,gi=An.onPickerValueChange,Ki=An.inputReadOnly,lo=An.suffixIcon,uo=An.removeIcon,ve=An.onFocus,me=An.onBlur,$e=An.presets,ft=An.components,It=An.cellRender,Ht=An.dateRender,sn=An.monthCellRender,en=An.onClick,mn=nr(ye);function gn(ro){return ro===null?null:Ei?ro:ro[0]}var Ln=Fr(ki,di,dn),In=kn(vi,Ii,[Sr],yi),Pn=(0,Re.Z)(In,2),En=Pn[0],Cn=Pn[1],ur=function(Pi,ya,Qa){if(Ti){var yl=(0,ge.Z)({},Qa);delete yl.range,Ti(gn(Pi),gn(ya),yl)}},Kn=function(Pi){pi==null||pi(gn(Pi))},gr=Lt(ki,di,wn,!1,tr,dr,hr,ur,Kn),fr=(0,Re.Z)(gr,5),Ar=fr[0],br=fr[1],Er=fr[2],Lr=fr[3],Wr=fr[4],Ur=Er(),Ci=Ut([Sr]),wr=(0,Re.Z)(Ci,4),Cr=wr[0],Mr=wr[1],_n=wr[2],$n=wr[3],Ir=function(Pi){Mr(!0),ve==null||ve(Pi,{})},jr=function(Pi){Mr(!1),me==null||me(Pi,{})},ei=(0,qe.C8)(xi,{value:li}),Si=(0,Re.Z)(ei,2),Kr=Si[0],so=Si[1],eo=Kr==="date"&&si?"datetime":Kr,qo=nn(xi,Kr,ii,Xr),To=Yr&&function(ro,Pi){Yr(gn(ro),gn(Pi))},Xo=Wt((0,ge.Z)((0,ge.Z)({},St),{},{onChange:To}),Ar,br,Er,Lr,[],wn,Cr,En,Gn),ra=(0,Re.Z)(Xo,2),oa=ra[1],go=Oe(Ur,Gn),vo=(0,Re.Z)(go,2),ma=vo[0],va=vo[1],Fi=se.useMemo(function(){return ma.some(function(ro){return ro})},[ma]),no=function(Pi,ya){if(gi){var Qa=(0,ge.Z)((0,ge.Z)({},ya),{},{mode:ya.mode[0]});delete Qa.range,gi(Pi[0],Qa)}},Di=Mt(ki,di,Ur,[Kr],En,$n,dn,!1,oi,bi,xe(si==null?void 0:si.defaultOpenValue),no,Or,Rr),ci=(0,Re.Z)(Di,2),Do=ci[0],zo=ci[1],aa=(0,qe.zX)(function(ro,Pi,ya){if(so(Pi),Vi&&ya!==!1){var Qa=ro||Ur[Ur.length-1];Vi(Qa,Pi)}}),Wo=function(){oa(Er()),Cn(!1,{force:!0})},pa=function(Pi){!Sr&&!mn.current.nativeElement.contains(document.activeElement)&&mn.current.focus(),Cn(!0),en==null||en(Pi)},ca=function(){oa(null),Cn(!1,{force:!0})},Li=se.useState(null),Ui=(0,Re.Z)(Li,2),jo=Ui[0],$o=Ui[1],Qo=se.useState(null),Sa=(0,Re.Z)(Qo,2),la=Sa[0],Ta=Sa[1],ia=se.useMemo(function(){var ro=[la].concat((0,Xt.Z)(Ur)).filter(function(Pi){return Pi});return Ei?ro:ro.slice(0,1)},[Ur,la,Ei]),Po=se.useMemo(function(){return!Ei&&la?[la]:Ur.filter(function(ro){return ro})},[Ur,la,Ei]);se.useEffect(function(){En||Ta(null)},[En]);var na=rr($e),sa=function(Pi){Ta(Pi),$o("preset")},Ca=function(Pi){var ya=Ei?Ln(Er(),Pi):[Pi],Qa=oa(ya);Qa&&!Ei&&Cn(!1,{force:!0})},ga=function(Pi){Ca(Pi)},No=function(Pi){Ta(Pi),$o("cell")},fa=function(Pi){Cn(!0),Ir(Pi)},Uo=function(Pi){if(_n("panel"),!(Ei&&eo!==xi)){var ya=Ei?Ln(Er(),Pi):[Pi];Lr(ya),!mr&&!Sn&&dn===eo&&Wo()}},Ra=function(){Cn(!1)},Ea=Dt(It,Ht,sn),Va=se.useMemo(function(){var ro=(0,Zt.Z)(St,!1),Pi=(0,rt.Z)(St,[].concat((0,Xt.Z)(Object.keys(ro)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,ge.Z)((0,ge.Z)({},Pi),{},{multiple:St.multiple})},[St]),$a=se.createElement(Hr,(0,Ie.Z)({},Va,{showNow:qo,showTime:si,disabledDate:Jr,onFocus:fa,onBlur:jr,picker:xi,mode:Kr,internalMode:eo,onPanelChange:aa,format:zn,value:Ur,isInvalid:Gn,onChange:null,onSelect:Uo,pickerValue:Do,defaultOpenValue:si==null?void 0:si.defaultOpenValue,onPickerValueChange:zo,hoverValue:ia,onHover:No,needConfirm:mr,onSubmit:Wo,onOk:Wr,presets:na,onPresetHover:sa,onPresetSubmit:Ca,onNow:ga,cellRender:Ea})),El=function(Pi){Lr(Pi)},ua=function(){_n("input")},_l=function(Pi){_n("input"),Cn(!0,{inherit:!0}),Ir(Pi)},Ka=function(Pi){Cn(!1),jr(Pi)},hl=function(Pi,ya){Pi.key==="Tab"&&Wo(),kr==null||kr(Pi,ya)},al=se.useMemo(function(){return{prefixCls:er,locale:di,generateConfig:ki,button:ft.button,input:ft.input}},[er,di,ki,ft.button,ft.input]);return(0,Vt.Z)(function(){En&&$n!==void 0&&aa(null,xi,!1)},[En,$n,xi]),(0,Vt.Z)(function(){var ro=_n();!En&&ro==="input"&&(Cn(!1),Wo()),!En&&Sn&&!mr&&ro==="panel"&&Wo()},[En]),se.createElement(te.Provider,{value:al},se.createElement(re,(0,Ie.Z)({},ht(St),{popupElement:$a,popupStyle:sr.popup,popupClassName:ar.popup,visible:En,onClose:Ra}),se.createElement(Ia,(0,Ie.Z)({},St,{ref:mn,suffixIcon:lo,removeIcon:uo,activeHelp:!!la,allHelp:!!la&&jo==="preset",focused:Cr,onFocus:_l,onBlur:Ka,onKeyDown:hl,onSubmit:Wo,value:Po,maskFormat:zn,onChange:El,onInputChange:ua,internalPicker:dn,format:wn,inputReadOnly:Ki,disabled:Sr,open:En,onOpenChange:Cn,onClick:pa,onClear:ca,invalid:Fi,onInvalid:function(Pi){va(Pi,0)}}))))}var jl=se.forwardRef(Yl),qi=jl,xo=qi,Qi=z(62487),to=z(75030),ko=z(82855),da=z(48755),Cl=z(2171),Ga=z(83397),Ha=z(31756),Pa=z(56553),vl=z(24971),Al=z(9017),el=z(70045),Dl=z(57428),Ao=z(36237),xl=z(53075),Vl=z(64910),us=z(63356),ys=z(56119),il=z(46e3),Zl=z(93873),pl=z(36305),Is=z(16931),Gl=z(51636),cs=z(26743);const ts=(oe,ye)=>{const{componentCls:Ze,controlHeight:vt}=oe,St=ye?`${Ze}-${ye}`:"",dn=(0,cs.gp)(oe);return[{[`${Ze}-multiple${St}`]:{paddingBlock:dn.containerPadding,paddingInlineStart:dn.basePadding,minHeight:vt,[`${Ze}-selection-item`]:{height:dn.itemHeight,lineHeight:(0,Ao.unit)(dn.itemLineHeight)}}}]};var ds=oe=>{const{componentCls:ye,calc:Ze,lineWidth:vt}=oe,St=(0,Gl.mergeToken)(oe,{fontHeight:oe.fontSize,selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS,controlHeight:oe.controlHeightSM}),dn=(0,Gl.mergeToken)(oe,{fontHeight:Ze(oe.multipleItemHeightLG).sub(Ze(vt).mul(2).equal()).equal(),fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius,controlHeight:oe.controlHeightLG});return[ts(St,"small"),ts(oe),ts(dn,"large"),{[`${ye}${ye}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${ye}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${ye}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:oe.colorTextPlaceholder,pointerEvents:"none"}}},(0,cs._z)(oe)),{[`${ye}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},gl=z(17835);const Xl=oe=>{const{pickerCellCls:ye,pickerCellInnerCls:Ze,cellHeight:vt,borderRadiusSM:St,motionDurationMid:dn,cellHoverBg:Sn,lineWidth:wn,lineType:zn,colorPrimary:Gn,cellActiveWithRangeBg:An,colorTextLightSolid:er,colorTextDisabled:sr,cellBgDisabled:ar,colorFillSecondary:tr}=oe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:vt,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Ze]:{position:"relative",zIndex:2,display:"inline-block",minWidth:vt,height:vt,lineHeight:(0,Ao.unit)(vt),borderRadius:St,transition:`background ${dn}`},[`&:hover:not(${ye}-in-view):not(${ye}-disabled),
|
|
|
&:hover:not(${ye}-selected):not(${ye}-range-start):not(${ye}-range-end):not(${ye}-disabled)`]:{[Ze]:{background:Sn}},[`&-in-view${ye}-today ${Ze}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Ao.unit)(wn)} ${zn} ${Gn}`,borderRadius:St,content:'""'}},[`&-in-view${ye}-in-range,
|
|
|
&-in-view${ye}-range-start,
|
|
|
&-in-view${ye}-range-end`]:{position:"relative",[`&:not(${ye}-disabled):before`]:{background:An}},[`&-in-view${ye}-selected,
|
|
|
&-in-view${ye}-range-start,
|
|
|
&-in-view${ye}-range-end`]:{[`&:not(${ye}-disabled) ${Ze}`]:{color:er,background:Gn},[`&${ye}-disabled ${Ze}`]:{background:tr}},[`&-in-view${ye}-range-start:not(${ye}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${ye}-range-end:not(${ye}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${ye}-range-start:not(${ye}-range-end) ${Ze}`]:{borderStartStartRadius:St,borderEndStartRadius:St,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ye}-range-end:not(${ye}-range-start) ${Ze}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:St,borderEndEndRadius:St},"&-disabled":{color:sr,cursor:"not-allowed",[Ze]:{background:"transparent"},"&::before":{background:ar}},[`&-disabled${ye}-today ${Ze}::before`]:{borderColor:sr}}},ns=oe=>{const{componentCls:ye,pickerCellCls:Ze,pickerCellInnerCls:vt,pickerYearMonthCellWidth:St,pickerControlIconSize:dn,cellWidth:Sn,paddingSM:wn,paddingXS:zn,paddingXXS:Gn,colorBgContainer:An,lineWidth:er,lineType:sr,borderRadiusLG:ar,colorPrimary:tr,colorTextHeading:dr,colorSplit:hr,pickerControlIconBorderWidth:mr,colorIcon:Yr,textHeight:kr,motionDurationMid:Sr,colorIconHover:Jr,fontWeightStrong:Or,cellHeight:Rr,pickerCellPaddingVertical:Ii,colorTextDisabled:vi,colorText:yi,fontSize:di,motionDurationSlow:ki,withoutTimeCellHeight:xi,pickerQuarterPanelContentHeight:ii,borderRadiusSM:Xr,colorTextLightSolid:si,cellHoverBg:li,timeColumnHeight:Vi,timeColumnWidth:Ti,timeCellHeight:pi,controlItemBgActive:Ei,marginXXS:oi,pickerDatePanelPaddingHorizontal:bi,pickerControlIconMargin:gi}=oe,Ki=oe.calc(Sn).mul(7).add(oe.calc(bi).mul(2)).equal();return{[ye]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:An,borderRadius:ar,outline:"none","&-focused":{borderColor:tr},"&-rtl":{[`${ye}-prev-icon,
|
|
|
${ye}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ye}-next-icon,
|
|
|
${ye}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${ye}-time-panel`]:{[`${ye}-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)(er)} ${sr} ${hr}`,"> *":{flex:"none"},button:{padding:0,color:Yr,lineHeight:(0,Ao.unit)(kr),background:"transparent",border:0,cursor:"pointer",transition:`color ${Sr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:di,"&:hover":{color:Jr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:Or,lineHeight:(0,Ao.unit)(kr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:zn},"&:hover":{color:tr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:dn,height:dn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:dn,height:dn,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:dn,height:dn,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:Rr,fontWeight:"normal"},th:{height:oe.calc(Rr).add(oe.calc(Ii).mul(2)).equal(),color:yi,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Ao.unit)(Ii)} 0`,color:vi,cursor:"pointer","&-in-view":{color:yi}},Xl(oe)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ye}-content`]:{height:oe.calc(xi).mul(4).equal()},[vt]:{padding:`0 ${(0,Ao.unit)(zn)}`}},"&-quarter-panel":{[`${ye}-content`]:{height:ii}},"&-decade-panel":{[vt]:{padding:`0 ${(0,Ao.unit)(oe.calc(zn).div(2).equal())}`},[`${ye}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ye}-body`]:{padding:`0 ${(0,Ao.unit)(zn)}`},[vt]:{width:St}},"&-date-panel":{[`${ye}-body`]:{padding:`${(0,Ao.unit)(zn)} ${(0,Ao.unit)(bi)}`},[`${ye}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${ye}-cell`]:{[`&:hover ${vt},
|
|
|
&-selected ${vt},
|
|
|
${vt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Sr}`},"&: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":{[`&${Ze}`]:{"&:before":{background:tr},[`&${ye}-cell-week`]:{color:new gl.FastColor(si).setA(.5).toHexString()},[vt]:{color:si}}},"&-range-hover td:before":{background:Ei}}},"&-week-panel, &-date-panel-show-week":{[`${ye}-body`]:{padding:`${(0,Ao.unit)(zn)} ${(0,Ao.unit)(wn)}`},[`${ye}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${ye}-time-panel`]:{borderInlineStart:`${(0,Ao.unit)(er)} ${sr} ${hr}`},[`${ye}-date-panel,
|
|
|
${ye}-time-panel`]:{transition:`opacity ${ki}`},"&-active":{[`${ye}-date-panel,
|
|
|
${ye}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${ye}-content`]:{display:"flex",flex:"auto",height:Vi},"&-column":{flex:"1 0 auto",width:Ti,margin:`${(0,Ao.unit)(Gn)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Sr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:oe.colorTextTertiary,borderRadius:oe.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${oe.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Ao.unit)(pi)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Ao.unit)(er)} ${sr} ${hr}`},"&-active":{background:new gl.FastColor(Ei).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ye}-time-panel-cell`]:{marginInline:oi,[`${ye}-time-panel-cell-inner`]:{display:"block",width:oe.calc(Ti).sub(oe.calc(oi).mul(2)).equal(),height:pi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:oe.calc(Ti).sub(pi).div(2).equal(),color:yi,lineHeight:(0,Ao.unit)(pi),borderRadius:Xr,cursor:"pointer",transition:`background ${Sr}`,"&:hover":{background:li}},"&-selected":{[`${ye}-time-panel-cell-inner`]:{background:Ei}},"&-disabled":{[`${ye}-time-panel-cell-inner`]:{color:vi,background:"transparent",cursor:"not-allowed"}}}}}}}}};var $l=oe=>{const{componentCls:ye,textHeight:Ze,lineWidth:vt,paddingSM:St,antCls:dn,colorPrimary:Sn,cellActiveWithRangeBg:wn,colorPrimaryBorder:zn,lineType:Gn,colorSplit:An}=oe;return{[`${ye}-dropdown`]:{[`${ye}-footer`]:{borderTop:`${(0,Ao.unit)(vt)} ${Gn} ${An}`,"&-extra":{padding:`0 ${(0,Ao.unit)(St)}`,lineHeight:(0,Ao.unit)(oe.calc(Ze).sub(oe.calc(vt).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Ao.unit)(vt)} ${Gn} ${An}`}}},[`${ye}-panels + ${ye}-footer ${ye}-ranges`]:{justifyContent:"space-between"},[`${ye}-ranges`]:{marginBlock:0,paddingInline:(0,Ao.unit)(St),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Ao.unit)(oe.calc(Ze).sub(oe.calc(vt).mul(2)).equal()),display:"inline-block"},[`${ye}-now-btn-disabled`]:{pointerEvents:"none",color:oe.colorTextDisabled},[`${ye}-preset > ${dn}-tag-blue`]:{color:Sn,background:wn,borderColor:zn,cursor:"pointer"},[`${ye}-ok`]:{paddingBlock:oe.calc(vt).mul(2).equal(),marginInlineStart:"auto"}}}}};const fs=oe=>{const{componentCls:ye,controlHeightLG:Ze,paddingXXS:vt,padding:St}=oe;return{pickerCellCls:`${ye}-cell`,pickerCellInnerCls:`${ye}-cell-inner`,pickerYearMonthCellWidth:oe.calc(Ze).mul(1.5).equal(),pickerQuarterPanelContentHeight:oe.calc(Ze).mul(1.4).equal(),pickerCellPaddingVertical:oe.calc(vt).add(oe.calc(vt).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:oe.calc(St).add(oe.calc(vt).div(2)).equal()}},Cs=oe=>{const{colorBgContainerDisabled:ye,controlHeight:Ze,controlHeightSM:vt,controlHeightLG:St,paddingXXS:dn,lineWidth:Sn}=oe,wn=dn*2,zn=Sn*2,Gn=Math.min(Ze-wn,Ze-zn),An=Math.min(vt-wn,vt-zn),er=Math.min(St-wn,St-zn);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(dn/2),cellHoverBg:oe.controlItemBgHover,cellActiveWithRangeBg:oe.controlItemBgActive,cellHoverWithRangeBg:new gl.FastColor(oe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new gl.FastColor(oe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ye,timeColumnWidth:St*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:vt*1.5,cellHeight:vt,textHeight:St,withoutTimeCellHeight:St*1.65,multipleItemBg:oe.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:Gn,multipleItemHeightSM:An,multipleItemHeightLG:er,multipleSelectorBgDisabled:ye,multipleItemColorDisabled:oe.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Kl=oe=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,Vl.T)(oe)),Cs(oe)),(0,pl.w)(oe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:oe.zIndexPopupBase+50});var Wa=z(39082),So=oe=>{const{componentCls:ye}=oe;return{[ye]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wa.qG)(oe)),(0,Wa.vc)(oe)),(0,Wa.H8)(oe)),(0,Wa.Mu)(oe)),{"&-outlined":{[`&${ye}-multiple ${ye}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Ao.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}},"&-filled":{[`&${ye}-multiple ${ye}-selection-item`]:{background:oe.colorBgContainer,border:`${(0,Ao.unit)(oe.lineWidth)} ${oe.lineType} ${oe.colorSplit}`}},"&-borderless":{[`&${ye}-multiple ${ye}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Ao.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}},"&-underlined":{[`&${ye}-multiple ${ye}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Ao.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}}}]}};const Ma=(oe,ye,Ze,vt)=>{const St=oe.calc(Ze).add(2).equal(),dn=oe.max(oe.calc(ye).sub(St).div(2).equal(),0),Sn=oe.max(oe.calc(ye).sub(St).sub(dn).equal(),0);return{padding:`${(0,Ao.unit)(dn)} ${(0,Ao.unit)(vt)} ${(0,Ao.unit)(Sn)}`}},tl=oe=>{const{componentCls:ye,colorError:Ze,colorWarning:vt}=oe;return{[`${ye}:not(${ye}-disabled):not([disabled])`]:{[`&${ye}-status-error`]:{[`${ye}-active-bar`]:{background:Ze}},[`&${ye}-status-warning`]:{[`${ye}-active-bar`]:{background:vt}}}}},Oa=oe=>{const{componentCls:ye,antCls:Ze,controlHeight:vt,paddingInline:St,lineWidth:dn,lineType:Sn,colorBorder:wn,borderRadius:zn,motionDurationMid:Gn,colorTextDisabled:An,colorTextPlaceholder:er,controlHeightLG:sr,fontSizeLG:ar,controlHeightSM:tr,paddingInlineSM:dr,paddingXS:hr,marginXS:mr,colorTextDescription:Yr,lineWidthBold:kr,colorPrimary:Sr,motionDurationSlow:Jr,zIndexPopup:Or,paddingXXS:Rr,sizePopupArrow:Ii,colorBgElevated:vi,borderRadiusLG:yi,boxShadowSecondary:di,borderRadiusSM:ki,colorSplit:xi,cellHoverBg:ii,presetsWidth:Xr,presetsMaxWidth:si,boxShadowPopoverArrow:li,fontHeight:Vi,fontHeightLG:Ti,lineHeightLG:pi}=oe;return[{[ye]:Object.assign(Object.assign(Object.assign({},(0,us.Wf)(oe)),Ma(oe,vt,Vi,St)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:zn,transition:`border ${Gn}, box-shadow ${Gn}, background ${Gn}`,[`${ye}-prefix`]:{flex:"0 0 auto",marginInlineEnd:oe.inputAffixPadding},[`${ye}-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:oe.fontSize,lineHeight:oe.lineHeight,transition:`all ${Gn}`},(0,xl.nz)(er)),{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:er}}},"&-large":Object.assign(Object.assign({},Ma(oe,sr,Ti,St)),{[`${ye}-input > input`]:{fontSize:ar,lineHeight:pi}}),"&-small":Object.assign({},Ma(oe,tr,Vi,dr)),[`${ye}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:oe.calc(hr).div(2).equal(),color:An,lineHeight:1,pointerEvents:"none",transition:`opacity ${Gn}, color ${Gn}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:mr}}},[`${ye}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:An,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Gn}, color ${Gn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Yr}},"&:hover":{[`${ye}-clear`]:{opacity:1},[`${ye}-suffix:not(:last-child)`]:{opacity:0}},[`${ye}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ar,color:An,fontSize:ar,verticalAlign:"top",cursor:"default",[`${ye}-focused &`]:{color:Yr},[`${ye}-range-separator &`]:{[`${ye}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ye}-active-bar`]:{bottom:oe.calc(dn).mul(-1).equal(),height:kr,background:Sr,opacity:0,transition:`all ${Jr} ease-out`,pointerEvents:"none"},[`&${ye}-focused`]:{[`${ye}-active-bar`]:{opacity:1}},[`${ye}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Ao.unit)(hr)}`,lineHeight:1}},"&-range, &-multiple":{[`${ye}-clear`]:{insetInlineEnd:St},[`&${ye}-small`]:{[`${ye}-clear`]:{insetInlineEnd:dr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,us.Wf)(oe)),ns(oe)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Or,[`&${ye}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${ye}-dropdown-placement-bottomLeft,
|
|
|
&${ye}-dropdown-placement-bottomRight`]:{[`${ye}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ye}-dropdown-placement-topLeft,
|
|
|
&${ye}-dropdown-placement-topRight`]:{[`${ye}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ze}-slide-up-appear, &${Ze}-slide-up-enter`]:{[`${ye}-range-arrow${ye}-range-arrow`]:{transition:"none"}},[`&${Ze}-slide-up-enter${Ze}-slide-up-enter-active${ye}-dropdown-placement-topLeft,
|
|
|
&${Ze}-slide-up-enter${Ze}-slide-up-enter-active${ye}-dropdown-placement-topRight,
|
|
|
&${Ze}-slide-up-appear${Ze}-slide-up-appear-active${ye}-dropdown-placement-topLeft,
|
|
|
&${Ze}-slide-up-appear${Ze}-slide-up-appear-active${ye}-dropdown-placement-topRight`]:{animationName:il.Qt},[`&${Ze}-slide-up-enter${Ze}-slide-up-enter-active${ye}-dropdown-placement-bottomLeft,
|
|
|
&${Ze}-slide-up-enter${Ze}-slide-up-enter-active${ye}-dropdown-placement-bottomRight,
|
|
|
&${Ze}-slide-up-appear${Ze}-slide-up-appear-active${ye}-dropdown-placement-bottomLeft,
|
|
|
&${Ze}-slide-up-appear${Ze}-slide-up-appear-active${ye}-dropdown-placement-bottomRight`]:{animationName:il.fJ},[`&${Ze}-slide-up-leave ${ye}-panel-container`]:{pointerEvents:"none"},[`&${Ze}-slide-up-leave${Ze}-slide-up-leave-active${ye}-dropdown-placement-topLeft,
|
|
|
&${Ze}-slide-up-leave${Ze}-slide-up-leave-active${ye}-dropdown-placement-topRight`]:{animationName:il.ly},[`&${Ze}-slide-up-leave${Ze}-slide-up-leave-active${ye}-dropdown-placement-bottomLeft,
|
|
|
&${Ze}-slide-up-leave${Ze}-slide-up-leave-active${ye}-dropdown-placement-bottomRight`]:{animationName:il.Uw},[`${ye}-panel > ${ye}-time-panel`]:{paddingTop:Rr},[`${ye}-range-wrapper`]:{display:"flex",position:"relative"},[`${ye}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:oe.calc(St).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Jr} ease-out`},(0,pl.W)(oe,vi,li)),{"&:before":{insetInlineStart:oe.calc(St).mul(1.5).equal()}}),[`${ye}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:vi,borderRadius:yi,boxShadow:di,transition:`margin ${Jr}`,display:"inline-block",pointerEvents:"auto",[`${ye}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ye}-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)(dn)} ${Sn} ${xi}`,li:Object.assign(Object.assign({},us.vS),{borderRadius:ki,paddingInline:hr,paddingBlock:oe.calc(tr).sub(Vi).div(2).equal(),cursor:"pointer",transition:`all ${Jr}`,"+ li":{marginTop:mr},"&:hover":{background:ii}})}},[`${ye}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${ye}-panel`]:{borderWidth:0}}},[`${ye}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ye}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:wn}}}}),"&-dropdown-range":{padding:`${(0,Ao.unit)(oe.calc(Ii).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ye}-separator`]:{transform:"scale(-1, 1)"},[`${ye}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,il.oN)(oe,"slide-up"),(0,il.oN)(oe,"slide-down"),(0,Zl.Fm)(oe,"move-up"),(0,Zl.Fm)(oe,"move-down")]};var ka=(0,Is.I$)("DatePicker",oe=>{const ye=(0,Gl.mergeToken)((0,Vl.e)(oe),fs(oe),{inputPaddingHorizontalBase:oe.calc(oe.paddingSM).sub(1).equal(),multipleSelectItemHeight:oe.multipleItemHeight,selectHeight:oe.controlHeight});return[$l(ye),Oa(ye),So(ye),tl(ye),ds(ye),(0,ys.c)(oe,{focusElCls:`${oe.componentCls}-focused`})]},Kl),Pl=z(68525);function Sl(oe,ye,Ze){return Ze!==void 0?Ze:ye==="year"&&oe.lang.yearPlaceholder?oe.lang.yearPlaceholder:ye==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.quarterPlaceholder:ye==="month"&&oe.lang.monthPlaceholder?oe.lang.monthPlaceholder:ye==="week"&&oe.lang.weekPlaceholder?oe.lang.weekPlaceholder:ye==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.placeholder:oe.lang.placeholder}function Nl(oe,ye,Ze){return Ze!==void 0?Ze:ye==="year"&&oe.lang.yearPlaceholder?oe.lang.rangeYearPlaceholder:ye==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.rangeQuarterPlaceholder:ye==="month"&&oe.lang.monthPlaceholder?oe.lang.rangeMonthPlaceholder:ye==="week"&&oe.lang.weekPlaceholder?oe.lang.rangeWeekPlaceholder:ye==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.rangePlaceholder:oe.lang.rangePlaceholder}function ol(oe,ye){const{allowClear:Ze=!0}=oe,{clearIcon:vt,removeIcon:St}=(0,Pl.Z)(Object.assign(Object.assign({},oe),{prefixCls:ye,componentName:"DatePicker"}));return[se.useMemo(()=>Ze===!1?!1:Object.assign({clearIcon:vt},Ze===!0?{}:Ze),[Ze,vt]),St]}const[fl,Bl]=["week","WeekPicker"],[Ul,Os]=["month","MonthPicker"],[Ms,rs]=["year","YearPicker"],[zl,Ll]=["quarter","QuarterPicker"],[Xa,Hl]=["time","TimePicker"];var kl=z(7939),Vs=oe=>se.createElement(kl.ZP,Object.assign({size:"small",type:"primary"},oe));function Ss(oe){return(0,se.useMemo)(()=>Object.assign({button:Vs},oe),[oe])}var Ql=function(oe,ye){var Ze={};for(var vt in oe)Object.prototype.hasOwnProperty.call(oe,vt)&&ye.indexOf(vt)<0&&(Ze[vt]=oe[vt]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,vt=Object.getOwnPropertySymbols(oe);St<vt.length;St++)ye.indexOf(vt[St])<0&&Object.prototype.propertyIsEnumerable.call(oe,vt[St])&&(Ze[vt[St]]=oe[vt[St]]);return Ze},Ks=oe=>(0,se.forwardRef)((Ze,vt)=>{var St;const{prefixCls:dn,getPopupContainer:Sn,components:wn,className:zn,style:Gn,placement:An,size:er,disabled:sr,bordered:ar=!0,placeholder:tr,popupClassName:dr,dropdownClassName:hr,status:mr,rootClassName:Yr,variant:kr,picker:Sr}=Ze,Jr=Ql(Ze,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Or=se.useRef(null),{getPrefixCls:Rr,direction:Ii,getPopupContainer:vi,rangePicker:yi}=(0,se.useContext)(da.E_),di=Rr("picker",dn),{compactSize:ki,compactItemClassnames:xi}=(0,el.ri)(di,Ii),ii=Rr(),[Xr,si]=(0,vl.Z)("rangePicker",kr,ar),li=(0,Ga.Z)(di),[Vi,Ti,pi]=ka(di,li),[Ei]=ol(Ze,di),oi=Ss(wn),bi=(0,Ha.Z)(sn=>{var en;return(en=er!=null?er:ki)!==null&&en!==void 0?en:sn}),gi=se.useContext(Cl.Z),Ki=sr!=null?sr:gi,lo=(0,se.useContext)(Pa.aM),{hasFeedback:uo,status:ve,feedbackIcon:me}=lo,$e=se.createElement(se.Fragment,null,Sr===Xa?se.createElement(Ft,null):se.createElement(ct,null),uo&&me);(0,se.useImperativeHandle)(vt,()=>Or.current);const[ft]=(0,Al.Z)("Calendar",Dl.Z),It=Object.assign(Object.assign({},ft),Ze.locale),[Ht]=(0,to.Cn)("DatePicker",(St=Ze.popupStyle)===null||St===void 0?void 0:St.zIndex);return Vi(se.createElement(Qi.Z,{space:!0},se.createElement(ho,Object.assign({separator:se.createElement("span",{"aria-label":"to",className:`${di}-separator`},se.createElement(be,null)),disabled:Ki,ref:Or,placement:An,placeholder:Nl(It,Sr,tr),suffixIcon:$e,prevIcon:se.createElement("span",{className:`${di}-prev-icon`}),nextIcon:se.createElement("span",{className:`${di}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${di}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${di}-super-next-icon`}),transitionName:`${ii}-slide-up`,picker:Sr},Jr,{className:ln()({[`${di}-${bi}`]:bi,[`${di}-${Xr}`]:si},(0,ko.Z)(di,(0,ko.F)(ve,mr),uo),Ti,xi,zn,yi==null?void 0:yi.className,pi,li,Yr),style:Object.assign(Object.assign({},yi==null?void 0:yi.style),Gn),locale:It.lang,prefixCls:di,getPopupContainer:Sn||vi,generateConfig:oe,components:oi,direction:Ii,classNames:{popup:ln()(Ti,dr||hr,pi,li,Yr)},styles:{popup:Object.assign(Object.assign({},Ze.popupStyle),{zIndex:Ht})},allowClear:Ei}))))}),hs=function(oe,ye){var Ze={};for(var vt in oe)Object.prototype.hasOwnProperty.call(oe,vt)&&ye.indexOf(vt)<0&&(Ze[vt]=oe[vt]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,vt=Object.getOwnPropertySymbols(oe);St<vt.length;St++)ye.indexOf(vt[St])<0&&Object.prototype.propertyIsEnumerable.call(oe,vt[St])&&(Ze[vt[St]]=oe[vt[St]]);return Ze},Ns=oe=>{const ye=(zn,Gn)=>{const An=Gn===Hl?"timePicker":"datePicker";return(0,se.forwardRef)((sr,ar)=>{var tr;const{prefixCls:dr,getPopupContainer:hr,components:mr,style:Yr,className:kr,rootClassName:Sr,size:Jr,bordered:Or,placement:Rr,placeholder:Ii,popupClassName:vi,dropdownClassName:yi,disabled:di,status:ki,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]:Ti}=(0,se.useContext)(da.E_),pi=si("picker",dr),{compactSize:Ei,compactItemClassnames:oi}=(0,el.ri)(pi,li),bi=se.useRef(null),[gi,Ki]=(0,vl.Z)("datePicker",xi,Or),lo=(0,Ga.Z)(pi),[uo,ve,me]=ka(pi,lo);(0,se.useImperativeHandle)(ar,()=>bi.current);const $e={showToday:!0},ft=zn||sr.picker,It=si(),{onSelect:Ht,multiple:sn}=Xr,en=Ht&&zn==="time"&&!sn,mn=(Wr,Ur,Ci)=>{ii==null||ii(Wr,Ur,Ci),en&&Ht(Wr)},[gn,Ln]=ol(sr,pi),In=Ss(mr),Pn=(0,Ha.Z)(Wr=>{var Ur;return(Ur=Jr!=null?Jr:Ei)!==null&&Ur!==void 0?Ur:Wr}),En=se.useContext(Cl.Z),Cn=di!=null?di:En,ur=(0,se.useContext)(Pa.aM),{hasFeedback:Kn,status:gr,feedbackIcon:fr}=ur,Ar=se.createElement(se.Fragment,null,ft==="time"?se.createElement(Ft,null):se.createElement(ct,null),Kn&&fr),[br]=(0,Al.Z)("DatePicker",Dl.Z),Er=Object.assign(Object.assign({},br),sr.locale),[Lr]=(0,to.Cn)("DatePicker",(tr=sr.popupStyle)===null||tr===void 0?void 0:tr.zIndex);return uo(se.createElement(Qi.Z,{space:!0},se.createElement(xo,Object.assign({ref:bi,placeholder:Sl(Er,ft,Ii),suffixIcon:Ar,placement:Rr,prevIcon:se.createElement("span",{className:`${pi}-prev-icon`}),nextIcon:se.createElement("span",{className:`${pi}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${pi}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${pi}-super-next-icon`}),transitionName:`${It}-slide-up`,picker:zn,onCalendarChange:mn},$e,Xr,{locale:Er.lang,className:ln()({[`${pi}-${Pn}`]:Pn,[`${pi}-${gi}`]:Ki},(0,ko.Z)(pi,(0,ko.F)(gr,ki),Kn),ve,oi,Ti==null?void 0:Ti.className,kr,me,lo,Sr),style:Object.assign(Object.assign({},Ti==null?void 0:Ti.style),Yr),prefixCls:pi,getPopupContainer:hr||Vi,generateConfig:oe,components:In,direction:li,disabled:Cn,classNames:{popup:ln()(ve,me,lo,Sr,vi||yi)},styles:{popup:Object.assign(Object.assign({},sr.popupStyle),{zIndex:Lr})},allowClear:gn,removeIcon:Ln}))))})},Ze=ye(),vt=ye(fl,Bl),St=ye(Ul,Os),dn=ye(Ms,rs),Sn=ye(zl,Ll),wn=ye(Xa,Hl);return{DatePicker:Ze,WeekPicker:vt,MonthPicker:St,YearPicker:dn,TimePicker:wn,QuarterPicker:Sn}},Ls=oe=>{const{DatePicker:ye,WeekPicker:Ze,MonthPicker:vt,YearPicker:St,TimePicker:dn,QuarterPicker:Sn}=Ns(oe),wn=Ks(oe),zn=ye;return zn.WeekPicker=Ze,zn.MonthPicker=vt,zn.YearPicker=St,zn.RangePicker=wn,zn.TimePicker=dn,zn.QuarterPicker=Sn,zn};const Jl=Ls(Ct),is=(0,tn.Z)(Jl,"popupAlign",void 0,"picker");Jl._InternalPanelDoNotUseOrYouWillBeFired=is;const Ji=(0,tn.Z)(Jl.RangePicker,"popupAlign",void 0,"picker");Jl._InternalRangePanelDoNotUseOrYouWillBeFired=Ji,Jl.generatePicker=Ls;var os=Jl},37285:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return it}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(48755),we=z(36237),Se=z(63356),Pe=z(16931),Xe=z(51636);const Ee=He=>{const{componentCls:Fe,sizePaddingEdgeHorizontal:Te,colorSplit:ot,lineWidth:Ct,textPaddingInline:tn,orientationMargin:se,verticalMarginInline:Ie}=He;return{[Fe]:Object.assign(Object.assign({},(0,Se.Wf)(He)),{borderBlockStart:`${(0,we.unit)(Ct)} solid ${ot}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Ie,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,we.unit)(Ct)} solid ${ot}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,we.unit)(He.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${Fe}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,we.unit)(He.dividerHorizontalWithTextGutterMargin)} 0`,color:He.colorTextHeading,fontWeight:500,fontSize:He.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ot}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,we.unit)(Ct)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Fe}-with-text-start`]:{"&::before":{width:`calc(${se} * 100%)`},"&::after":{width:`calc(100% - ${se} * 100%)`}},[`&-horizontal${Fe}-with-text-end`]:{"&::before":{width:`calc(100% - ${se} * 100%)`},"&::after":{width:`calc(${se} * 100%)`}},[`${Fe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:tn},"&-dashed":{background:"none",borderColor:ot,borderStyle:"dashed",borderWidth:`${(0,we.unit)(Ct)} 0 0`},[`&-horizontal${Fe}-with-text${Fe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Fe}-dashed`]:{borderInlineStartWidth:Ct,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:ot,borderStyle:"dotted",borderWidth:`${(0,we.unit)(Ct)} 0 0`},[`&-horizontal${Fe}-with-text${Fe}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${Fe}-dotted`]:{borderInlineStartWidth:Ct,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Fe}-with-text`]:{color:He.colorText,fontWeight:"normal",fontSize:He.fontSize},[`&-horizontal${Fe}-with-text-start${Fe}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Fe}-inner-text`]:{paddingInlineStart:Te}},[`&-horizontal${Fe}-with-text-end${Fe}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Fe}-inner-text`]:{paddingInlineEnd:Te}}})}},he=He=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:He.marginXS});var ut=(0,Pe.I$)("Divider",He=>{const Fe=(0,Xe.mergeToken)(He,{dividerHorizontalWithTextGutterMargin:He.margin,dividerHorizontalGutterMargin:He.marginLG,sizePaddingEdgeHorizontal:0});return[Ee(Fe)]},he,{unitless:{orientationMargin:!0}}),Be=function(He,Fe){var Te={};for(var ot in He)Object.prototype.hasOwnProperty.call(He,ot)&&Fe.indexOf(ot)<0&&(Te[ot]=He[ot]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ot=Object.getOwnPropertySymbols(He);Ct<ot.length;Ct++)Fe.indexOf(ot[Ct])<0&&Object.prototype.propertyIsEnumerable.call(He,ot[Ct])&&(Te[ot[Ct]]=He[ot[Ct]]);return Te},it=He=>{const{getPrefixCls:Fe,direction:Te,className:ot,style:Ct}=(0,_e.dj)("divider"),{prefixCls:tn,type:se="horizontal",orientation:Ie="center",orientationMargin:dt,className:yt,rootClassName:kt,children:Ue,dashed:Ke,variant:ct="solid",plain:De,style:gt}=He,Ye=Be(He,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),fe=Fe("divider",tn),[Ft,Ge,xt]=ut(fe),fn=!!Ue,ke=b.useMemo(()=>Ie==="left"?Te==="rtl"?"end":"start":Ie==="right"?Te==="rtl"?"start":"end":Ie,[Te,Ie]),be=ke==="start"&&dt!=null,Yt=ke==="end"&&dt!=null,ln=pe()(fe,ot,Ge,xt,`${fe}-${se}`,{[`${fe}-with-text`]:fn,[`${fe}-with-text-${ke}`]:fn,[`${fe}-dashed`]:!!Ke,[`${fe}-${ct}`]:ct!=="solid",[`${fe}-plain`]:!!De,[`${fe}-rtl`]:Te==="rtl",[`${fe}-no-default-orientation-margin-start`]:be,[`${fe}-no-default-orientation-margin-end`]:Yt},yt,kt),Xt=b.useMemo(()=>typeof dt=="number"?dt:/^\d+$/.test(dt)?Number(dt):dt,[dt]),ge={marginInlineStart:be?Xt:void 0,marginInlineEnd:Yt?Xt:void 0};return Ft(b.createElement("div",Object.assign({className:ln,style:Object.assign(Object.assign({},Ct),gt)},Ye,{role:"separator"}),Ue&&se!=="vertical"&&b.createElement("span",{className:`${fe}-inner-text`,style:ge},Ue)))}},36207:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return tt}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(85899),we=z(72190),Se=z(43403),Pe=z(34280),Xe=b.createContext(null),Ee=b.createContext({}),he=Xe,ut=z(18642),Be=z(60499),bt=z(77900),it=z(10228),He=z(26112),Fe=z(42244),Te=z(8654),ot=["prefixCls","className","containerRef"],Ct=function(We){var lt=We.prefixCls,ht=We.className,Dt=We.containerRef,Oe=(0,Fe.Z)(We,ot),ze=b.useContext(Ee),on=ze.panel,Rt=(0,Te.x1)(on,Dt);return b.createElement("div",(0,Be.Z)({className:pe()("".concat(lt,"-content"),ht),role:"dialog",ref:Rt},(0,He.Z)(We,{aria:!0}),{"aria-modal":"true"},Oe))},tn=Ct,se=z(48736);function Ie(Ve){return typeof Ve=="string"&&String(Number(Ve))===Ve?((0,se.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ve)):Ve}function dt(Ve){warning(!("wrapperClassName"in Ve),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ve.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var yt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function kt(Ve,We){var lt,ht,Dt,Oe=Ve.prefixCls,ze=Ve.open,on=Ve.placement,Rt=Ve.inline,vn=Ve.push,Bt=Ve.forceRender,at=Ve.autoFocus,pt=Ve.keyboard,Gt=Ve.classNames,Je=Ve.rootClassName,At=Ve.rootStyle,Jt=Ve.zIndex,an=Ve.className,Le=Ve.id,Et=Ve.style,zt=Ve.motion,rn=Ve.width,yn=Ve.height,Nn=Ve.children,Vn=Ve.mask,Xn=Ve.maskClosable,Bn=Ve.maskMotion,jn=Ve.maskClassName,wt=Ve.maskStyle,mt=Ve.afterOpenChange,qt=Ve.onClose,jt=Ve.onMouseEnter,Ot=Ve.onMouseOver,bn=Ve.onMouseLeave,pn=Ve.onClick,On=Ve.onKeyDown,Qn=Ve.onKeyUp,Hn=Ve.styles,Dn=Ve.drawerRender,ir=b.useRef(),Fn=b.useRef(),pr=b.useRef();b.useImperativeHandle(We,function(){return ir.current});var Dr=function(Lt){var Wt=Lt.keyCode,nn=Lt.shiftKey;switch(Wt){case it.Z.TAB:{if(Wt===it.Z.TAB){if(!nn&&document.activeElement===pr.current){var Wn;(Wn=Fn.current)===null||Wn===void 0||Wn.focus({preventScroll:!0})}else if(nn&&document.activeElement===Fn.current){var Zn;(Zn=pr.current)===null||Zn===void 0||Zn.focus({preventScroll:!0})}}break}case it.Z.ESC:{qt&&pt&&(Lt.stopPropagation(),qt(Lt));break}}};b.useEffect(function(){if(ze&&at){var Tt;(Tt=ir.current)===null||Tt===void 0||Tt.focus({preventScroll:!0})}},[ze]);var xn=b.useState(!1),kn=(0,we.Z)(xn,2),nr=kn[0],rr=kn[1],Pt=b.useContext(he),Ut;typeof vn=="boolean"?Ut=vn?{}:{distance:0}:Ut=vn||{};var nt=(lt=(ht=(Dt=Ut)===null||Dt===void 0?void 0:Dt.distance)!==null&&ht!==void 0?ht:Pt==null?void 0:Pt.pushDistance)!==null&<!==void 0?lt:180,et=b.useMemo(function(){return{pushDistance:nt,push:function(){rr(!0)},pull:function(){rr(!1)}}},[nt]);b.useEffect(function(){if(ze){var Tt;Pt==null||(Tt=Pt.push)===null||Tt===void 0||Tt.call(Pt)}else{var Lt;Pt==null||(Lt=Pt.pull)===null||Lt===void 0||Lt.call(Pt)}},[ze]),b.useEffect(function(){return function(){var Tt;Pt==null||(Tt=Pt.pull)===null||Tt===void 0||Tt.call(Pt)}},[]);var Qe=Vn&&b.createElement(bt.default,(0,Be.Z)({key:"mask"},Bn,{visible:ze}),function(Tt,Lt){var Wt=Tt.className,nn=Tt.style;return b.createElement("div",{className:pe()("".concat(Oe,"-mask"),Wt,Gt==null?void 0:Gt.mask,jn),style:(0,_e.Z)((0,_e.Z)((0,_e.Z)({},nn),wt),Hn==null?void 0:Hn.mask),onClick:Xn&&ze?qt:void 0,ref:Lt})}),Mt=typeof zt=="function"?zt(on):zt,Ne={};if(nr&&nt)switch(on){case"top":Ne.transform="translateY(".concat(nt,"px)");break;case"bottom":Ne.transform="translateY(".concat(-nt,"px)");break;case"left":Ne.transform="translateX(".concat(nt,"px)");break;default:Ne.transform="translateX(".concat(-nt,"px)");break}on==="left"||on==="right"?Ne.width=Ie(rn):Ne.height=Ie(yn);var Kt={onMouseEnter:jt,onMouseOver:Ot,onMouseLeave:bn,onClick:pn,onKeyDown:On,onKeyUp:Qn},Qt=b.createElement(bt.default,(0,Be.Z)({key:"panel"},Mt,{visible:ze,forceRender:Bt,onVisibleChanged:function(Lt){mt==null||mt(Lt)},removeOnLeave:!1,leavedClassName:"".concat(Oe,"-content-wrapper-hidden")}),function(Tt,Lt){var Wt=Tt.className,nn=Tt.style,Wn=b.createElement(tn,(0,Be.Z)({id:Le,containerRef:Lt,prefixCls:Oe,className:pe()(an,Gt==null?void 0:Gt.content),style:(0,_e.Z)((0,_e.Z)({},Et),Hn==null?void 0:Hn.content)},(0,He.Z)(Ve,{aria:!0}),Kt),Nn);return b.createElement("div",(0,Be.Z)({className:pe()("".concat(Oe,"-content-wrapper"),Gt==null?void 0:Gt.wrapper,Wt),style:(0,_e.Z)((0,_e.Z)((0,_e.Z)({},Ne),nn),Hn==null?void 0:Hn.wrapper)},(0,He.Z)(Ve,{data:!0})),Dn?Dn(Wn):Wn)}),un=(0,_e.Z)({},At);return Jt&&(un.zIndex=Jt),b.createElement(he.Provider,{value:et},b.createElement("div",{className:pe()(Oe,"".concat(Oe,"-").concat(on),Je,(0,ut.Z)((0,ut.Z)({},"".concat(Oe,"-open"),ze),"".concat(Oe,"-inline"),Rt)),style:un,tabIndex:-1,ref:ir,onKeyDown:Dr},Qe,b.createElement("div",{tabIndex:0,ref:Fn,style:yt,"aria-hidden":"true","data-sentinel":"start"}),Qt,b.createElement("div",{tabIndex:0,ref:pr,style:yt,"aria-hidden":"true","data-sentinel":"end"})))}var Ue=b.forwardRef(kt),Ke=Ue,ct=function(We){var lt=We.open,ht=lt===void 0?!1:lt,Dt=We.prefixCls,Oe=Dt===void 0?"rc-drawer":Dt,ze=We.placement,on=ze===void 0?"right":ze,Rt=We.autoFocus,vn=Rt===void 0?!0:Rt,Bt=We.keyboard,at=Bt===void 0?!0:Bt,pt=We.width,Gt=pt===void 0?378:pt,Je=We.mask,At=Je===void 0?!0:Je,Jt=We.maskClosable,an=Jt===void 0?!0:Jt,Le=We.getContainer,Et=We.forceRender,zt=We.afterOpenChange,rn=We.destroyOnClose,yn=We.onMouseEnter,Nn=We.onMouseOver,Vn=We.onMouseLeave,Xn=We.onClick,Bn=We.onKeyDown,jn=We.onKeyUp,wt=We.panelRef,mt=b.useState(!1),qt=(0,we.Z)(mt,2),jt=qt[0],Ot=qt[1],bn=b.useState(!1),pn=(0,we.Z)(bn,2),On=pn[0],Qn=pn[1];(0,Pe.Z)(function(){Qn(!0)},[]);var Hn=On?ht:!1,Dn=b.useRef(),ir=b.useRef();(0,Pe.Z)(function(){Hn&&(ir.current=document.activeElement)},[Hn]);var Fn=function(nr){var rr;if(Ot(nr),zt==null||zt(nr),!nr&&ir.current&&!((rr=Dn.current)!==null&&rr!==void 0&&rr.contains(ir.current))){var Pt;(Pt=ir.current)===null||Pt===void 0||Pt.focus({preventScroll:!0})}},pr=b.useMemo(function(){return{panel:wt}},[wt]);if(!Et&&!jt&&!Hn&&rn)return null;var Dr={onMouseEnter:yn,onMouseOver:Nn,onMouseLeave:Vn,onClick:Xn,onKeyDown:Bn,onKeyUp:jn},xn=(0,_e.Z)((0,_e.Z)({},We),{},{open:Hn,prefixCls:Oe,placement:on,autoFocus:vn,keyboard:at,width:Gt,mask:At,maskClosable:an,inline:Le===!1,afterOpenChange:Fn,ref:Dn},Dr);return b.createElement(Ee.Provider,{value:pr},b.createElement(Se.Z,{open:Hn||Et||jt,autoDestroy:!1,getContainer:Le,autoLock:At&&(Hn||jt)},b.createElement(Ke,xn)))},De=ct,gt=De,Ye=z(62487),fe=z(75030),Ft=z(86641),Ge=z(55743),xt=z(48755),fn=z(91190),ke=z(78776),be=z(458),ln=Ve=>{var We,lt;const{prefixCls:ht,title:Dt,footer:Oe,extra:ze,loading:on,onClose:Rt,headerStyle:vn,bodyStyle:Bt,footerStyle:at,children:pt,classNames:Gt,styles:Je}=Ve,At=(0,xt.dj)("drawer"),Jt=b.useCallback(rn=>b.createElement("button",{type:"button",onClick:Rt,"aria-label":"Close",className:`${ht}-close`},rn),[Rt]),[an,Le]=(0,ke.Z)((0,ke.w)(Ve),(0,ke.w)(At),{closable:!0,closeIconRender:Jt}),Et=b.useMemo(()=>{var rn,yn;return!Dt&&!an?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(rn=At.styles)===null||rn===void 0?void 0:rn.header),vn),Je==null?void 0:Je.header),className:pe()(`${ht}-header`,{[`${ht}-header-close-only`]:an&&!Dt&&!ze},(yn=At.classNames)===null||yn===void 0?void 0:yn.header,Gt==null?void 0:Gt.header)},b.createElement("div",{className:`${ht}-header-title`},Le,Dt&&b.createElement("div",{className:`${ht}-title`},Dt)),ze&&b.createElement("div",{className:`${ht}-extra`},ze))},[an,Le,ze,vn,ht,Dt]),zt=b.useMemo(()=>{var rn,yn;if(!Oe)return null;const Nn=`${ht}-footer`;return b.createElement("div",{className:pe()(Nn,(rn=At.classNames)===null||rn===void 0?void 0:rn.footer,Gt==null?void 0:Gt.footer),style:Object.assign(Object.assign(Object.assign({},(yn=At.styles)===null||yn===void 0?void 0:yn.footer),at),Je==null?void 0:Je.footer)},Oe)},[Oe,at,ht]);return b.createElement(b.Fragment,null,Et,b.createElement("div",{className:pe()(`${ht}-body`,Gt==null?void 0:Gt.body,(We=At.classNames)===null||We===void 0?void 0:We.body),style:Object.assign(Object.assign(Object.assign({},(lt=At.styles)===null||lt===void 0?void 0:lt.body),Bt),Je==null?void 0:Je.body)},on?b.createElement(be.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${ht}-body-skeleton`}):pt),zt)},Xt=z(36237),ge=z(63356),Re=z(16931),qe=z(51636);const Vt=Ve=>{const We="100%";return{left:`translateX(-${We})`,right:`translateX(${We})`,top:`translateY(-${We})`,bottom:`translateY(${We})`}[Ve]},rt=(Ve,We)=>({"&-enter, &-appear":Object.assign(Object.assign({},Ve),{"&-active":We}),"&-leave":Object.assign(Object.assign({},We),{"&-active":Ve})}),Zt=(Ve,We)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${We}`}}},rt({opacity:Ve},{opacity:1})),st=(Ve,We)=>[Zt(.7,We),rt({transform:Vt(Ve)},{transform:"none"})];var Nt=Ve=>{const{componentCls:We,motionDurationSlow:lt}=Ve;return{[We]:{[`${We}-mask-motion`]:Zt(0,lt),[`${We}-panel-motion`]:["left","right","top","bottom"].reduce((ht,Dt)=>Object.assign(Object.assign({},ht),{[`&-${Dt}`]:st(Dt,lt)}),{})}}};const le=Ve=>{const{borderRadiusSM:We,componentCls:lt,zIndexPopup:ht,colorBgMask:Dt,colorBgElevated:Oe,motionDurationSlow:ze,motionDurationMid:on,paddingXS:Rt,padding:vn,paddingLG:Bt,fontSizeLG:at,lineHeightLG:pt,lineWidth:Gt,lineType:Je,colorSplit:At,marginXS:Jt,colorIcon:an,colorIconHover:Le,colorBgTextHover:Et,colorBgTextActive:zt,colorText:rn,fontWeightStrong:yn,footerPaddingBlock:Nn,footerPaddingInline:Vn,calc:Xn}=Ve,Bn=`${lt}-content-wrapper`;return{[lt]:{position:"fixed",inset:0,zIndex:ht,pointerEvents:"none",color:rn,"&-pure":{position:"relative",background:Oe,display:"flex",flexDirection:"column",[`&${lt}-left`]:{boxShadow:Ve.boxShadowDrawerLeft},[`&${lt}-right`]:{boxShadow:Ve.boxShadowDrawerRight},[`&${lt}-top`]:{boxShadow:Ve.boxShadowDrawerUp},[`&${lt}-bottom`]:{boxShadow:Ve.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${lt}-mask`]:{position:"absolute",inset:0,zIndex:ht,background:Dt,pointerEvents:"auto"},[Bn]:{position:"absolute",zIndex:ht,maxWidth:"100vw",transition:`all ${ze}`,"&-hidden":{display:"none"}},[`&-left > ${Bn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ve.boxShadowDrawerLeft},[`&-right > ${Bn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ve.boxShadowDrawerRight},[`&-top > ${Bn}`]:{top:0,insetInline:0,boxShadow:Ve.boxShadowDrawerUp},[`&-bottom > ${Bn}`]:{bottom:0,insetInline:0,boxShadow:Ve.boxShadowDrawerDown},[`${lt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Oe,pointerEvents:"auto"},[`${lt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Xt.unit)(vn)} ${(0,Xt.unit)(Bt)}`,fontSize:at,lineHeight:pt,borderBottom:`${(0,Xt.unit)(Gt)} ${Je} ${At}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${lt}-extra`]:{flex:"none"},[`${lt}-close`]:Object.assign({display:"inline-flex",width:Xn(at).add(Rt).equal(),height:Xn(at).add(Rt).equal(),borderRadius:We,justifyContent:"center",alignItems:"center",marginInlineEnd:Jt,color:an,fontWeight:yn,fontSize:at,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${on}`,textRendering:"auto","&:hover":{color:Le,backgroundColor:Et,textDecoration:"none"},"&:active":{backgroundColor:zt}},(0,ge.Qy)(Ve)),[`${lt}-title`]:{flex:1,margin:0,fontWeight:Ve.fontWeightStrong,fontSize:at,lineHeight:pt},[`${lt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Bt,overflow:"auto",[`${lt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${lt}-footer`]:{flexShrink:0,padding:`${(0,Xt.unit)(Nn)} ${(0,Xt.unit)(Vn)}`,borderTop:`${(0,Xt.unit)(Gt)} ${Je} ${At}`},"&-rtl":{direction:"rtl"}}}},ne=Ve=>({zIndexPopup:Ve.zIndexPopupBase,footerPaddingBlock:Ve.paddingXS,footerPaddingInline:Ve.padding});var te=(0,Re.I$)("Drawer",Ve=>{const We=(0,qe.mergeToken)(Ve,{});return[le(We),Nt(We)]},ne),ae=function(Ve,We){var lt={};for(var ht in Ve)Object.prototype.hasOwnProperty.call(Ve,ht)&&We.indexOf(ht)<0&&(lt[ht]=Ve[ht]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,ht=Object.getOwnPropertySymbols(Ve);Dt<ht.length;Dt++)We.indexOf(ht[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,ht[Dt])&&(lt[ht[Dt]]=Ve[ht[Dt]]);return lt};const de=null,re={distance:180},ue=Ve=>{var We;const{rootClassName:lt,width:ht,height:Dt,size:Oe="default",mask:ze=!0,push:on=re,open:Rt,afterOpenChange:vn,onClose:Bt,prefixCls:at,getContainer:pt,style:Gt,className:Je,visible:At,afterVisibleChange:Jt,maskStyle:an,drawerStyle:Le,contentWrapperStyle:Et}=Ve,zt=ae(Ve,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:rn,getPrefixCls:yn,direction:Nn,className:Vn,style:Xn,classNames:Bn,styles:jn}=(0,xt.dj)("drawer"),wt=yn("drawer",at),[mt,qt,jt]=te(wt),Ot=pt===void 0&&rn?()=>rn(document.body):pt,bn=pe()({"no-mask":!ze,[`${wt}-rtl`]:Nn==="rtl"},lt,qt,jt),pn=b.useMemo(()=>ht!=null?ht:Oe==="large"?736:378,[ht,Oe]),On=b.useMemo(()=>Dt!=null?Dt:Oe==="large"?736:378,[Dt,Oe]),Qn={motionName:(0,Ft.m)(wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Hn=xn=>({motionName:(0,Ft.m)(wt,`panel-motion-${xn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Dn=(0,fn.H)(),[ir,Fn]=(0,fe.Cn)("Drawer",zt.zIndex),{classNames:pr={},styles:Dr={}}=zt;return mt(b.createElement(Ye.Z,{form:!0,space:!0},b.createElement(Ge.Z.Provider,{value:Fn},b.createElement(gt,Object.assign({prefixCls:wt,onClose:Bt,maskMotion:Qn,motion:Hn},zt,{classNames:{mask:pe()(pr.mask,Bn.mask),content:pe()(pr.content,Bn.content),wrapper:pe()(pr.wrapper,Bn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Dr.mask),an),jn.mask),content:Object.assign(Object.assign(Object.assign({},Dr.content),Le),jn.content),wrapper:Object.assign(Object.assign(Object.assign({},Dr.wrapper),Et),jn.wrapper)},open:Rt!=null?Rt:At,mask:ze,push:on,width:pn,height:On,style:Object.assign(Object.assign({},Xn),Gt),className:pe()(Vn,Je),rootClassName:bn,getContainer:Ot,afterOpenChange:vn!=null?vn:Jt,panelRef:Dn,zIndex:ir}),b.createElement(ln,Object.assign({prefixCls:wt},zt,{onClose:Bt}))))))},xe=Ve=>{const{prefixCls:We,style:lt,className:ht,placement:Dt="right"}=Ve,Oe=ae(Ve,["prefixCls","style","className","placement"]),{getPrefixCls:ze}=b.useContext(xt.E_),on=ze("drawer",We),[Rt,vn,Bt]=te(on),at=pe()(on,`${on}-pure`,`${on}-${Dt}`,vn,Bt,ht);return Rt(b.createElement("div",{className:at,style:lt},b.createElement(ln,Object.assign({prefixCls:on},Oe))))};ue._InternalPanelDoNotUseOrYouWillBeFired=xe;var tt=ue},19563:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xt}});var b=z(59301),Me=z(33853),pe=z(38819),_e=z(92310),we=z.n(_e),Se=z(96478),Pe=z(6089),Xe=z(18929),Ee=z(2738),he=z(75030),Be=ge=>typeof ge!="object"&&typeof ge!="function"||ge===null,bt=z(52838),it=z(45915),He=z(22703),Fe=z(32383),Te=z(55743),ot=z(48755),Ct=z(83397),tn=z(93041),se=z(78857),Ie=z(57700),dt=z(36237),yt=z(63356),kt=z(46e3),Ue=z(93873),Ke=z(34925),ct=z(37645),De=z(36305),gt=z(16931),Ye=z(51636),Ft=ge=>{const{componentCls:Re,menuCls:qe,colorError:Vt,colorTextLightSolid:rt}=ge,Zt=`${qe}-item`;return{[`${Re}, ${Re}-menu-submenu`]:{[`${qe} ${Zt}`]:{[`&${Zt}-danger:not(${Zt}-disabled)`]:{color:Vt,"&:hover":{color:rt,backgroundColor:Vt}}}}}};const Ge=ge=>{const{componentCls:Re,menuCls:qe,zIndexPopup:Vt,dropdownArrowDistance:rt,sizePopupArrow:Zt,antCls:st,iconCls:$t,motionDurationMid:Nt,paddingBlock:le,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:ae,fontSizeIcon:de,controlPaddingHorizontal:re,colorBgElevated:ue}=ge;return[{[Re]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Vt,display:"block","&::before":{position:"absolute",insetBlock:ge.calc(Zt).div(2).sub(rt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${st}-btn`]:{[`& > ${$t}-down, & > ${st}-btn-icon > ${$t}-down`]:{fontSize:de}},[`${Re}-wrap`]:{position:"relative",[`${st}-btn > ${$t}-down`]:{fontSize:de},[`${$t}-down::before`]:{transition:`transform ${Nt}`}},[`${Re}-wrap-open`]:{[`${$t}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${st}-slide-down-enter${st}-slide-down-enter-active${Re}-placement-bottomLeft,
|
|
|
&${st}-slide-down-appear${st}-slide-down-appear-active${Re}-placement-bottomLeft,
|
|
|
&${st}-slide-down-enter${st}-slide-down-enter-active${Re}-placement-bottom,
|
|
|
&${st}-slide-down-appear${st}-slide-down-appear-active${Re}-placement-bottom,
|
|
|
&${st}-slide-down-enter${st}-slide-down-enter-active${Re}-placement-bottomRight,
|
|
|
&${st}-slide-down-appear${st}-slide-down-appear-active${Re}-placement-bottomRight`]:{animationName:kt.fJ},[`&${st}-slide-up-enter${st}-slide-up-enter-active${Re}-placement-topLeft,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Re}-placement-topLeft,
|
|
|
&${st}-slide-up-enter${st}-slide-up-enter-active${Re}-placement-top,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Re}-placement-top,
|
|
|
&${st}-slide-up-enter${st}-slide-up-enter-active${Re}-placement-topRight,
|
|
|
&${st}-slide-up-appear${st}-slide-up-appear-active${Re}-placement-topRight`]:{animationName:kt.Qt},[`&${st}-slide-down-leave${st}-slide-down-leave-active${Re}-placement-bottomLeft,
|
|
|
&${st}-slide-down-leave${st}-slide-down-leave-active${Re}-placement-bottom,
|
|
|
&${st}-slide-down-leave${st}-slide-down-leave-active${Re}-placement-bottomRight`]:{animationName:kt.Uw},[`&${st}-slide-up-leave${st}-slide-up-leave-active${Re}-placement-topLeft,
|
|
|
&${st}-slide-up-leave${st}-slide-up-leave-active${Re}-placement-top,
|
|
|
&${st}-slide-up-leave${st}-slide-up-leave-active${Re}-placement-topRight`]:{animationName:kt.ly}}},(0,ct.ZP)(ge,ue,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Re} ${qe}`]:{position:"relative",margin:0},[`${qe}-submenu-popup`]:{position:"absolute",zIndex:Vt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Re}, ${Re}-menu-submenu`]:Object.assign(Object.assign({},(0,yt.Wf)(ge)),{[qe]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:ue,backgroundClip:"padding-box",borderRadius:ge.borderRadiusLG,outline:"none",boxShadow:ge.boxShadowSecondary},(0,yt.Qy)(ge)),{"&:empty":{padding:0,boxShadow:"none"},[`${qe}-item-group-title`]:{padding:`${(0,dt.unit)(le)} ${(0,dt.unit)(re)}`,color:ge.colorTextDescription,transition:`all ${Nt}`},[`${qe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${qe}-item-icon`]:{minWidth:ne,marginInlineEnd:ge.marginXS,fontSize:ge.fontSizeSM},[`${qe}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Nt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${qe}-item-extra`]:{paddingInlineStart:ge.padding,marginInlineStart:"auto",fontSize:ge.fontSizeSM,color:ge.colorTextDescription}},[`${qe}-item, ${qe}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,dt.unit)(le)} ${(0,dt.unit)(re)}`,color:ge.colorText,fontWeight:"normal",fontSize:ne,lineHeight:ge.lineHeight,cursor:"pointer",transition:`all ${Nt}`,borderRadius:ge.borderRadiusSM,"&:hover, &-active":{backgroundColor:ge.controlItemBgHover}},(0,yt.Qy)(ge)),{"&-selected":{color:ge.colorPrimary,backgroundColor:ge.controlItemBgActive,"&:hover, &-active":{backgroundColor:ge.controlItemBgActiveHover}},"&-disabled":{color:ae,cursor:"not-allowed","&:hover":{color:ae,backgroundColor:ue,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,dt.unit)(ge.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:ge.colorSplit},[`${Re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ge.paddingXS,[`${Re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ge.colorTextDescription,fontSize:de,fontStyle:"normal"}}}),[`${qe}-item-group-list`]:{margin:`0 ${(0,dt.unit)(ge.marginXS)}`,padding:0,listStyle:"none"},[`${qe}-submenu-title`]:{paddingInlineEnd:ge.calc(re).add(ge.fontSizeSM).equal()},[`${qe}-submenu-vertical`]:{position:"relative"},[`${qe}-submenu${qe}-submenu-disabled ${Re}-menu-submenu-title`]:{[`&, ${Re}-menu-submenu-arrow-icon`]:{color:ae,backgroundColor:ue,cursor:"not-allowed"}},[`${qe}-submenu-selected ${Re}-menu-submenu-title`]:{color:ge.colorPrimary}})})},[(0,kt.oN)(ge,"slide-up"),(0,kt.oN)(ge,"slide-down"),(0,Ue.Fm)(ge,"move-up"),(0,Ue.Fm)(ge,"move-down"),(0,Ke._y)(ge,"zoom-big")]]},xt=ge=>Object.assign(Object.assign({zIndexPopup:ge.zIndexPopupBase+50,paddingBlock:(ge.controlHeight-ge.fontSize*ge.lineHeight)/2},(0,ct.wZ)({contentRadius:ge.borderRadiusLG,limitVerticalRadius:!0})),(0,De.w)(ge));var fn=(0,gt.I$)("Dropdown",ge=>{const{marginXXS:Re,sizePopupArrow:qe,paddingXXS:Vt,componentCls:rt}=ge,Zt=(0,Ye.mergeToken)(ge,{menuCls:`${rt}-menu`,dropdownArrowDistance:ge.calc(qe).div(2).add(Re).equal(),dropdownEdgeChildPadding:Vt});return[Ge(Zt),Ft(Zt)]},xt,{resetStyle:!1});const ke=null,be=ge=>{var Re;const{menu:qe,arrow:Vt,prefixCls:rt,children:Zt,trigger:st,disabled:$t,dropdownRender:Nt,getPopupContainer:le,overlayClassName:ne,rootClassName:te,overlayStyle:ae,open:de,onOpenChange:re,visible:ue,onVisibleChange:xe,mouseEnterDelay:tt=.15,mouseLeaveDelay:Ve=.1,autoAdjustOverflow:We=!0,placement:lt="",overlay:ht,transitionName:Dt}=ge,{getPopupContainer:Oe,getPrefixCls:ze,direction:on,dropdown:Rt}=b.useContext(ot.E_),vn=(0,Fe.ln)("Dropdown"),Bt=b.useMemo(()=>{const Ot=ze();return Dt!==void 0?Dt:lt.includes("top")?`${Ot}-slide-down`:`${Ot}-slide-up`},[ze,lt,Dt]),at=b.useMemo(()=>lt?lt.includes("Center")?lt.slice(0,lt.indexOf("Center")):lt:on==="rtl"?"bottomRight":"bottomLeft",[lt,on]),pt=ze("dropdown",rt),Gt=(0,Ct.Z)(pt),[Je,At,Jt]=fn(pt,Gt),[,an]=(0,Ie.ZP)(),Le=b.Children.only(Be(Zt)?b.createElement("span",null,Zt):Zt),Et=(0,He.Tm)(Le,{className:we()(`${pt}-trigger`,{[`${pt}-rtl`]:on==="rtl"},Le.props.className),disabled:(Re=Le.props.disabled)!==null&&Re!==void 0?Re:$t}),zt=$t?[]:st,rn=!!(zt!=null&&zt.includes("contextMenu")),[yn,Nn]=(0,Xe.Z)(!1,{value:de!=null?de:ue}),Vn=(0,Pe.Z)(Ot=>{re==null||re(Ot,{source:"trigger"}),xe==null||xe(Ot),Nn(Ot)}),Xn=we()(ne,te,At,Jt,Gt,Rt==null?void 0:Rt.className,{[`${pt}-rtl`]:on==="rtl"}),Bn=(0,bt.Z)({arrowPointAtCenter:typeof Vt=="object"&&Vt.pointAtCenter,autoAdjustOverflow:We,offset:an.marginXXS,arrowWidth:Vt?an.sizePopupArrow:0,borderRadius:an.borderRadius}),jn=b.useCallback(()=>{qe!=null&&qe.selectable&&(qe!=null&&qe.multiple)||(re==null||re(!1,{source:"menu"}),Nn(!1))},[qe==null?void 0:qe.selectable,qe==null?void 0:qe.multiple]),wt=()=>{let Ot;return qe!=null&&qe.items?Ot=b.createElement(tn.default,Object.assign({},qe)):typeof ht=="function"?Ot=ht():Ot=ht,Nt&&(Ot=Nt(Ot)),Ot=b.Children.only(typeof Ot=="string"?b.createElement("span",null,Ot):Ot),b.createElement(se.J,{prefixCls:`${pt}-menu`,rootClassName:we()(Jt,Gt),expandIcon:b.createElement("span",{className:`${pt}-menu-submenu-arrow`},on==="rtl"?b.createElement(Me.Z,{className:`${pt}-menu-submenu-arrow-icon`}):b.createElement(pe.Z,{className:`${pt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jn,validator:bn=>{let{mode:pn}=bn}},Ot)},[mt,qt]=(0,he.Cn)("Dropdown",ae==null?void 0:ae.zIndex);let jt=b.createElement(Se.Z,Object.assign({alignPoint:rn},(0,Ee.Z)(ge,["rootClassName"]),{mouseEnterDelay:tt,mouseLeaveDelay:Ve,visible:yn,builtinPlacements:Bn,arrow:!!Vt,overlayClassName:Xn,prefixCls:pt,getPopupContainer:le||Oe,transitionName:Bt,trigger:zt,overlay:wt,placement:at,onVisibleChange:Vn,overlayStyle:Object.assign(Object.assign(Object.assign({},Rt==null?void 0:Rt.style),ae),{zIndex:mt})}),Et);return mt&&(jt=b.createElement(Te.Z.Provider,{value:qt},jt)),Je(jt)},Yt=(0,it.Z)(be,"align",void 0,"dropdown",ge=>ge),ln=ge=>b.createElement(Yt,Object.assign({},ge),b.createElement("span",null));be._InternalPanelDoNotUseOrYouWillBeFired=ln;var Xt=be},75727:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return it}});var b=z(19563),Me=z(59301),pe=z(18785),_e=z(92310),we=z.n(_e),Se=z(7939),Pe=z(48755),Xe=z(44104),Ee=z(70045),he=function(He,Fe){var Te={};for(var ot in He)Object.prototype.hasOwnProperty.call(He,ot)&&Fe.indexOf(ot)<0&&(Te[ot]=He[ot]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ot=Object.getOwnPropertySymbols(He);Ct<ot.length;Ct++)Fe.indexOf(ot[Ct])<0&&Object.prototype.propertyIsEnumerable.call(He,ot[Ct])&&(Te[ot[Ct]]=He[ot[Ct]]);return Te};const ut=He=>{const{getPopupContainer:Fe,getPrefixCls:Te,direction:ot}=Me.useContext(Pe.E_),{prefixCls:Ct,type:tn="default",danger:se,disabled:Ie,loading:dt,onClick:yt,htmlType:kt,children:Ue,className:Ke,menu:ct,arrow:De,autoFocus:gt,overlay:Ye,trigger:fe,align:Ft,open:Ge,onOpenChange:xt,placement:fn,getPopupContainer:ke,href:be,icon:Yt=Me.createElement(pe.Z,null),title:ln,buttonsRender:Xt=tt=>tt,mouseEnterDelay:ge,mouseLeaveDelay:Re,overlayClassName:qe,overlayStyle:Vt,destroyPopupOnHide:rt,dropdownRender:Zt}=He,st=he(He,["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"]),$t=Te("dropdown",Ct),Nt=`${$t}-button`,le={menu:ct,arrow:De,autoFocus:gt,align:Ft,disabled:Ie,trigger:Ie?[]:fe,onOpenChange:xt,getPopupContainer:ke||Fe,mouseEnterDelay:ge,mouseLeaveDelay:Re,overlayClassName:qe,overlayStyle:Vt,destroyPopupOnHide:rt,dropdownRender:Zt},{compactSize:ne,compactItemClassnames:te}=(0,Ee.ri)($t,ot),ae=we()(Nt,te,Ke);"overlay"in He&&(le.overlay=Ye),"open"in He&&(le.open=Ge),"placement"in He?le.placement=fn:le.placement=ot==="rtl"?"bottomLeft":"bottomRight";const de=Me.createElement(Se.ZP,{type:tn,danger:se,disabled:Ie,loading:dt,onClick:yt,htmlType:kt,href:be,title:ln},Ue),re=Me.createElement(Se.ZP,{type:tn,danger:se,icon:Yt}),[ue,xe]=Xt([de,re]);return Me.createElement(Xe.Z.Compact,Object.assign({className:ae,size:ne,block:!0},st),ue,Me.createElement(b.Z,Object.assign({},le),xe))};ut.__ANT_BUTTON=!0;var Be=ut;const bt=b.Z;bt.Button=Be;var it=bt},584:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return tn}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(9017),we=z(17835),Se=z(57700),Xe=()=>{const[,se]=(0,Se.ZP)(),[Ie]=(0,_e.Z)("Empty"),yt=new we.FastColor(se.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:yt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Ie==null?void 0:Ie.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"}))))},he=()=>{const[,se]=(0,Se.ZP)(),[Ie]=(0,_e.Z)("Empty"),{colorFill:dt,colorFillTertiary:yt,colorFillQuaternary:kt,colorBgContainer:Ue}=se,{borderColor:Ke,shadowColor:ct,contentColor:De}=(0,b.useMemo)(()=>({borderColor:new we.FastColor(dt).onBackground(Ue).toHexString(),shadowColor:new we.FastColor(yt).onBackground(Ue).toHexString(),contentColor:new we.FastColor(kt).onBackground(Ue).toHexString()}),[dt,yt,kt,Ue]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Ie==null?void 0:Ie.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:ct,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Ke},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:De}))))},ut=z(16931),Be=z(51636);const bt=se=>{const{componentCls:Ie,margin:dt,marginXS:yt,marginXL:kt,fontSize:Ue,lineHeight:Ke}=se;return{[Ie]:{marginInline:yt,fontSize:Ue,lineHeight:Ke,textAlign:"center",[`${Ie}-image`]:{height:se.emptyImgHeight,marginBottom:yt,opacity:se.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Ie}-description`]:{color:se.colorTextDescription},[`${Ie}-footer`]:{marginTop:dt},"&-normal":{marginBlock:kt,color:se.colorTextDescription,[`${Ie}-description`]:{color:se.colorTextDescription},[`${Ie}-image`]:{height:se.emptyImgHeightMD}},"&-small":{marginBlock:yt,color:se.colorTextDescription,[`${Ie}-image`]:{height:se.emptyImgHeightSM}}}}};var it=(0,ut.I$)("Empty",se=>{const{componentCls:Ie,controlHeightLG:dt,calc:yt}=se,kt=(0,Be.mergeToken)(se,{emptyImgCls:`${Ie}-img`,emptyImgHeight:yt(dt).mul(2.5).equal(),emptyImgHeightMD:dt,emptyImgHeightSM:yt(dt).mul(.875).equal()});return[bt(kt)]}),He=z(48755),Fe=function(se,Ie){var dt={};for(var yt in se)Object.prototype.hasOwnProperty.call(se,yt)&&Ie.indexOf(yt)<0&&(dt[yt]=se[yt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,yt=Object.getOwnPropertySymbols(se);kt<yt.length;kt++)Ie.indexOf(yt[kt])<0&&Object.prototype.propertyIsEnumerable.call(se,yt[kt])&&(dt[yt[kt]]=se[yt[kt]]);return dt};const Te=b.createElement(Xe,null),ot=b.createElement(he,null),Ct=se=>{const{className:Ie,rootClassName:dt,prefixCls:yt,image:kt=Te,description:Ue,children:Ke,imageStyle:ct,style:De,classNames:gt,styles:Ye}=se,fe=Fe(se,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ft,direction:Ge,className:xt,style:fn,classNames:ke,styles:be}=(0,He.dj)("empty"),Yt=Ft("empty",yt),[ln,Xt,ge]=it(Yt),[Re]=(0,_e.Z)("Empty"),qe=typeof Ue!="undefined"?Ue:Re==null?void 0:Re.description,Vt=typeof qe=="string"?qe:"empty";let rt=null;return typeof kt=="string"?rt=b.createElement("img",{alt:Vt,src:kt}):rt=kt,ln(b.createElement("div",Object.assign({className:pe()(Xt,ge,Yt,xt,{[`${Yt}-normal`]:kt===ot,[`${Yt}-rtl`]:Ge==="rtl"},Ie,dt,ke.root,gt==null?void 0:gt.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},be.root),fn),Ye==null?void 0:Ye.root),De)},fe),b.createElement("div",{className:pe()(`${Yt}-image`,ke.image,gt==null?void 0:gt.image),style:Object.assign(Object.assign(Object.assign({},ct),be.image),Ye==null?void 0:Ye.image)},rt),qe&&b.createElement("div",{className:pe()(`${Yt}-description`,ke.description,gt==null?void 0:gt.description),style:Object.assign(Object.assign({},be.description),Ye==null?void 0:Ye.description)},qe),Ke&&b.createElement("div",{className:pe()(`${Yt}-footer`,ke.footer,gt==null?void 0:gt.footer),style:Object.assign(Object.assign({},be.footer),Ye==null?void 0:Ye.footer)},Ke)))};Ct.PRESENTED_IMAGE_DEFAULT=Te,Ct.PRESENTED_IMAGE_SIMPLE=ot;var tn=Ct},28284:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return Ut}});var b=z(56553),Me=z(77654),pe=z(59301),_e=z(92310),we=z.n(_e),Se=z(77900),Pe=z(86641),Xe=z(83397);function Ee(nt){const[et,Qe]=pe.useState(nt);return pe.useEffect(()=>{const Mt=setTimeout(()=>{Qe(nt)},nt.length?0:10);return()=>{clearTimeout(Mt)}},[nt]),et}var he=z(36237),ut=z(63356),Be=z(34925),bt=z(34961),it=z(51636),He=z(16931),Te=nt=>{const{componentCls:et}=nt,Qe=`${et}-show-help`,Mt=`${et}-show-help-item`;return{[Qe]:{transition:`opacity ${nt.motionDurationFast} ${nt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Mt]:{overflow:"hidden",transition:`height ${nt.motionDurationFast} ${nt.motionEaseInOut},
|
|
|
opacity ${nt.motionDurationFast} ${nt.motionEaseInOut},
|
|
|
transform ${nt.motionDurationFast} ${nt.motionEaseInOut} !important`,[`&${Mt}-appear, &${Mt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Mt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ot=nt=>({legend:{display:"block",width:"100%",marginBottom:nt.marginLG,padding:0,color:nt.colorTextDescription,fontSize:nt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,he.unit)(nt.lineWidth)} ${nt.lineType} ${nt.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,he.unit)(nt.controlOutlineWidth)} ${nt.controlOutline}`},output:{display:"block",paddingTop:15,color:nt.colorText,fontSize:nt.fontSize,lineHeight:nt.lineHeight}}),Ct=(nt,et)=>{const{formItemCls:Qe}=nt;return{[Qe]:{[`${Qe}-label > label`]:{height:et},[`${Qe}-control-input`]:{minHeight:et}}}},tn=nt=>{const{componentCls:et}=nt;return{[nt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(nt)),ot(nt)),{[`${et}-text`]:{display:"inline-block",paddingInlineEnd:nt.paddingSM},"&-small":Object.assign({},Ct(nt,nt.controlHeightSM)),"&-large":Object.assign({},Ct(nt,nt.controlHeightLG))})}},se=nt=>{const{formItemCls:et,iconCls:Qe,rootPrefixCls:Mt,antCls:Ne,labelRequiredMarkColor:Kt,labelColor:Qt,labelFontSize:un,labelHeight:Tt,labelColonMarginInlineStart:Lt,labelColonMarginInlineEnd:Wt,itemMarginBottom:nn}=nt;return{[et]:Object.assign(Object.assign({},(0,ut.Wf)(nt)),{marginBottom:nn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${Ne}-row`]:{display:"none"},"&-has-warning":{[`${et}-split`]:{color:nt.colorError}},"&-has-error":{[`${et}-split`]:{color:nt.colorWarning}},[`${et}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:nt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Tt,color:Qt,fontSize:un,[`> ${Qe}`]:{fontSize:nt.fontSize,verticalAlign:"top"},[`&${et}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:nt.marginXXS,color:Kt,fontSize:nt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${et}-required-mark-hidden, &${et}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${et}-optional`]:{display:"inline-block",marginInlineStart:nt.marginXXS,color:nt.colorTextDescription,[`&${et}-required-mark-hidden`]:{display:"none"}},[`${et}-tooltip`]:{color:nt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:nt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Lt,marginInlineEnd:Wt},[`&${et}-no-colon::after`]:{content:'"\\a0"'}}},[`${et}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Mt}-col-'"]):not([class*="' ${Mt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:nt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[et]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:nt.colorTextDescription,fontSize:nt.fontSize,lineHeight:nt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:nt.controlHeightSM,transition:`color ${nt.motionDurationMid} ${nt.motionEaseOut}`},"&-explain":{"&-error":{color:nt.colorError},"&-warning":{color:nt.colorWarning}}},[`&-with-help ${et}-explain`]:{height:"auto",opacity:1},[`${et}-feedback-icon`]:{fontSize:nt.fontSize,textAlign:"center",visibility:"visible",animationName:Be.kr,animationDuration:nt.motionDurationMid,animationTimingFunction:nt.motionEaseOutBack,pointerEvents:"none","&-success":{color:nt.colorSuccess},"&-error":{color:nt.colorError},"&-warning":{color:nt.colorWarning},"&-validating":{color:nt.colorPrimary}}})}},Ie=(nt,et)=>{const{formItemCls:Qe}=nt;return{[`${et}-horizontal`]:{[`${Qe}-label`]:{flexGrow:0},[`${Qe}-control`]:{flex:"1 1 0",minWidth:0},[`${Qe}-label[class$='-24'], ${Qe}-label[class*='-24 ']`]:{[`& + ${Qe}-control`]:{minWidth:"unset"}}}}},dt=nt=>{const{componentCls:et,formItemCls:Qe,inlineItemMarginBottom:Mt}=nt;return{[`${et}-inline`]:{display:"flex",flexWrap:"wrap",[Qe]:{flex:"none",marginInlineEnd:nt.margin,marginBottom:Mt,"&-row":{flexWrap:"nowrap"},[`> ${Qe}-label,
|
|
|
> ${Qe}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Qe}-label`]:{flex:"none"},[`${et}-text`]:{display:"inline-block"},[`${Qe}-has-feedback`]:{display:"inline-block"}}}}},yt=nt=>({padding:nt.verticalLabelPadding,margin:nt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),kt=nt=>{const{componentCls:et,formItemCls:Qe,rootPrefixCls:Mt}=nt;return{[`${Qe} ${Qe}-label`]:yt(nt),[`${et}:not(${et}-inline)`]:{[Qe]:{flexWrap:"wrap",[`${Qe}-label, ${Qe}-control`]:{[`&:not([class*=" ${Mt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ue=nt=>{const{componentCls:et,formItemCls:Qe,antCls:Mt}=nt;return{[`${et}-vertical`]:{[`${Qe}:not(${Qe}-horizontal)`]:{[`${Qe}-row`]:{flexDirection:"column"},[`${Qe}-label > label`]:{height:"auto"},[`${Qe}-control`]:{width:"100%"},[`${Qe}-label,
|
|
|
${Mt}-col-24${Qe}-label,
|
|
|
${Mt}-col-xl-24${Qe}-label`]:yt(nt)}},[`@media (max-width: ${(0,he.unit)(nt.screenXSMax)})`]:[kt(nt),{[et]:{[`${Qe}:not(${Qe}-horizontal)`]:{[`${Mt}-col-xs-24${Qe}-label`]:yt(nt)}}}],[`@media (max-width: ${(0,he.unit)(nt.screenSMMax)})`]:{[et]:{[`${Qe}:not(${Qe}-horizontal)`]:{[`${Mt}-col-sm-24${Qe}-label`]:yt(nt)}}},[`@media (max-width: ${(0,he.unit)(nt.screenMDMax)})`]:{[et]:{[`${Qe}:not(${Qe}-horizontal)`]:{[`${Mt}-col-md-24${Qe}-label`]:yt(nt)}}},[`@media (max-width: ${(0,he.unit)(nt.screenLGMax)})`]:{[et]:{[`${Qe}:not(${Qe}-horizontal)`]:{[`${Mt}-col-lg-24${Qe}-label`]:yt(nt)}}}}},Ke=nt=>{const{formItemCls:et,antCls:Qe}=nt;return{[`${et}-vertical`]:{[`${et}-row`]:{flexDirection:"column"},[`${et}-label > label`]:{height:"auto"},[`${et}-control`]:{width:"100%"}},[`${et}-vertical ${et}-label,
|
|
|
${Qe}-col-24${et}-label,
|
|
|
${Qe}-col-xl-24${et}-label`]:yt(nt),[`@media (max-width: ${(0,he.unit)(nt.screenXSMax)})`]:[kt(nt),{[et]:{[`${Qe}-col-xs-24${et}-label`]:yt(nt)}}],[`@media (max-width: ${(0,he.unit)(nt.screenSMMax)})`]:{[et]:{[`${Qe}-col-sm-24${et}-label`]:yt(nt)}},[`@media (max-width: ${(0,he.unit)(nt.screenMDMax)})`]:{[et]:{[`${Qe}-col-md-24${et}-label`]:yt(nt)}},[`@media (max-width: ${(0,he.unit)(nt.screenLGMax)})`]:{[et]:{[`${Qe}-col-lg-24${et}-label`]:yt(nt)}}}},ct=nt=>({labelRequiredMarkColor:nt.colorError,labelColor:nt.colorTextHeading,labelFontSize:nt.fontSize,labelHeight:nt.controlHeight,labelColonMarginInlineStart:nt.marginXXS/2,labelColonMarginInlineEnd:nt.marginXS,itemMarginBottom:nt.marginLG,verticalLabelPadding:`0 0 ${nt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),De=(nt,et)=>(0,it.mergeToken)(nt,{formItemCls:`${nt.componentCls}-item`,rootPrefixCls:et});var gt=(0,He.I$)("Form",(nt,et)=>{let{rootPrefixCls:Qe}=et;const Mt=De(nt,Qe);return[tn(Mt),se(Mt),Te(Mt),Ie(Mt,Mt.componentCls),Ie(Mt,Mt.formItemCls),dt(Mt),Ue(Mt),Ke(Mt),(0,bt.Z)(Mt),Be.kr]},ct,{order:-1e3});const Ye=[];function fe(nt,et,Qe){let Mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof nt=="string"?nt:`${et}-${Mt}`,error:nt,errorStatus:Qe}}var Ge=nt=>{let{help:et,helpStatus:Qe,errors:Mt=Ye,warnings:Ne=Ye,className:Kt,fieldId:Qt,onVisibleChanged:un}=nt;const{prefixCls:Tt}=pe.useContext(b.Rk),Lt=`${Tt}-item-explain`,Wt=(0,Xe.Z)(Tt),[nn,Wn,Zn]=gt(Tt,Wt),Yn=pe.useMemo(()=>(0,Pe.Z)(Tt),[Tt]),Nr=Ee(Mt),zr=Ee(Ne),Qr=pe.useMemo(()=>et!=null?[fe(et,"help",Qe)]:[].concat((0,Me.Z)(Nr.map((Pr,Vr)=>fe(Pr,"error","error",Vr))),(0,Me.Z)(zr.map((Pr,Vr)=>fe(Pr,"warning","warning",Vr)))),[et,Qe,Nr,zr]),Fr=pe.useMemo(()=>{const Pr={};return Qr.forEach(Vr=>{let{key:ni}=Vr;Pr[ni]=(Pr[ni]||0)+1}),Qr.map((Vr,ni)=>Object.assign(Object.assign({},Vr),{key:Pr[Vr.key]>1?`${Vr.key}-fallback-${ni}`:Vr.key}))},[Qr]),yr={};return Qt&&(yr.id=`${Qt}_help`),nn(pe.createElement(Se.default,{motionDeadline:Yn.motionDeadline,motionName:`${Tt}-show-help`,visible:!!Fr.length,onVisibleChanged:un},Pr=>{const{className:Vr,style:ni}=Pr;return pe.createElement("div",Object.assign({},yr,{className:we()(Lt,Vr,Zn,Wt,Kt,Wn),style:ni}),pe.createElement(Se.CSSMotionList,Object.assign({keys:Fr},(0,Pe.Z)(Tt),{motionName:`${Tt}-show-help-item`,component:!1}),ri=>{const{key:ai,error:Br,errorStatus:_r,className:$r,style:Ri}=ri;return pe.createElement("div",{key:ai,className:we()($r,{[`${Lt}-${_r}`]:_r}),style:Ri},Br)}))}))},xt=z(69180),fn=z(48755),ke=z(2171),be=z(31756),Yt=z(23069),ln=z(76846),Xt=z(16722);const ge=["parentNode"],Re="form_item";function qe(nt){return nt===void 0||nt===!1?[]:Array.isArray(nt)?nt:[nt]}function Vt(nt,et){if(!nt.length)return;const Qe=nt.join("_");return et?`${et}_${Qe}`:ge.includes(Qe)?`${Re}_${Qe}`:Qe}function rt(nt,et,Qe,Mt,Ne,Kt){let Qt=Mt;return Kt!==void 0?Qt=Kt:Qe.validating?Qt="validating":nt.length?Qt="error":et.length?Qt="warning":(Qe.touched||Ne&&Qe.validated)&&(Qt="success"),Qt}var Zt=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe};function st(nt){return qe(nt).join("_")}function $t(nt,et){const Qe=et.getFieldInstance(nt),Mt=(0,ln.bn)(Qe);if(Mt)return Mt;const Ne=Vt(qe(nt),et.__INTERNAL__.name);if(Ne)return document.getElementById(Ne)}function Nt(nt){const[et]=(0,xt.useForm)(),Qe=pe.useRef({}),Mt=pe.useMemo(()=>nt!=null?nt:Object.assign(Object.assign({},et),{__INTERNAL__:{itemRef:Ne=>Kt=>{const Qt=st(Ne);Kt?Qe.current[Qt]=Kt:delete Qe.current[Qt]}},scrollToField:function(Ne){let Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Qt}=Kt,un=Zt(Kt,["focus"]),Tt=$t(Ne,Mt);Tt&&((0,Xt.Z)(Tt,Object.assign({scrollMode:"if-needed",block:"nearest"},un)),Qt&&Mt.focusField(Ne))},focusField:Ne=>{var Kt,Qt;const un=Mt.getFieldInstance(Ne);typeof(un==null?void 0:un.focus)=="function"?un.focus():(Qt=(Kt=$t(Ne,Mt))===null||Kt===void 0?void 0:Kt.focus)===null||Qt===void 0||Qt.call(Kt)},getFieldInstance:Ne=>{const Kt=st(Ne);return Qe.current[Kt]}}),[nt,et]);return[Mt]}var le=z(98350),ne=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe};const te=(nt,et)=>{const Qe=pe.useContext(ke.Z),{getPrefixCls:Mt,direction:Ne,requiredMark:Kt,colon:Qt,scrollToFirstError:un,className:Tt,style:Lt}=(0,fn.dj)("form"),{prefixCls:Wt,className:nn,rootClassName:Wn,size:Zn,disabled:Yn=Qe,form:Nr,colon:zr,labelAlign:Qr,labelWrap:Fr,labelCol:yr,wrapperCol:Pr,hideRequiredMark:Vr,layout:ni="horizontal",scrollToFirstError:ri,requiredMark:ai,onFinishFailed:Br,name:_r,style:$r,feedbackIcons:Ri,variant:Wi}=nt,Zi=ne(nt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),zi=(0,be.Z)(Zn),_i=pe.useContext(le.Z),wi=pe.useMemo(()=>ai!==void 0?ai:Vr?!1:Kt!==void 0?Kt:!0,[Vr,ai,Kt]),Mi=zr!=null?zr:Qt,fi=Mt("form",Wt),$i=(0,Xe.Z)(fi),[oo,Ro,fo]=gt(fi,$i),bo=we()(fi,`${fi}-${ni}`,{[`${fi}-hide-required-mark`]:wi===!1,[`${fi}-rtl`]:Ne==="rtl",[`${fi}-${zi}`]:zi},fo,$i,Ro,Tt,nn,Wn),[co]=Nt(Nr),{__INTERNAL__:yo}=co;yo.name=_r;const Bi=pe.useMemo(()=>({name:_r,labelAlign:Qr,labelCol:yr,labelWrap:Fr,wrapperCol:Pr,vertical:ni==="vertical",colon:Mi,requiredMark:wi,itemRef:yo.itemRef,form:co,feedbackIcons:Ri}),[_r,Qr,yr,Pr,ni,Mi,wi,co,Ri]),Ai=pe.useRef(null);pe.useImperativeHandle(et,()=>{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 qn={block:"nearest"};typeof lr=="object"&&(qn=Object.assign(Object.assign({},qn),lr)),co.scrollToField(cr,qn)}},Un=lr=>{if(Br==null||Br(lr),lr.errorFields.length){const cr=lr.errorFields[0].name;if(ri!==void 0){Gr(ri,cr);return}un!==void 0&&Gr(un,cr)}};return oo(pe.createElement(b.pg.Provider,{value:Wi},pe.createElement(ke.n,{disabled:Yn},pe.createElement(Yt.Z.Provider,{value:zi},pe.createElement(b.RV,{validateMessages:_i},pe.createElement(b.q3.Provider,{value:Bi},pe.createElement(xt.default,Object.assign({id:_r},Zi,{name:_r,onFinishFailed:Un,form:co,ref:Ai,style:Object.assign(Object.assign({},Lt),$r),className:bo}))))))))};var de=pe.forwardRef(te),re=z(41799),ue=z(8654),xe=z(22703),tt=z(32383),Ve=z(11592);function We(nt){if(typeof nt=="function")return nt;const et=(0,Ve.Z)(nt);return et.length<=1?et[0]:et}const lt=()=>{const{status:nt,errors:et=[],warnings:Qe=[]}=pe.useContext(b.aM);return{status:nt,errors:et,warnings:Qe}};lt.Context=b.aM;var ht=lt,Dt=z(16089);function Oe(nt){const[et,Qe]=pe.useState(nt),Mt=pe.useRef(null),Ne=pe.useRef([]),Kt=pe.useRef(!1);pe.useEffect(()=>(Kt.current=!1,()=>{Kt.current=!0,Dt.Z.cancel(Mt.current),Mt.current=null}),[]);function Qt(un){Kt.current||(Mt.current===null&&(Ne.current=[],Mt.current=(0,Dt.Z)(()=>{Mt.current=null,Qe(Tt=>{let Lt=Tt;return Ne.current.forEach(Wt=>{Lt=Wt(Lt)}),Lt})})),Ne.current.push(un))}return[et,Qt]}function ze(){const{itemRef:nt}=pe.useContext(b.q3),et=pe.useRef({});function Qe(Mt,Ne){const Kt=Ne&&typeof Ne=="object"&&(0,ue.C4)(Ne),Qt=Mt.join("_");return(et.current.name!==Qt||et.current.originRef!==Kt)&&(et.current.name=Qt,et.current.originRef=Kt,et.current.ref=(0,ue.sQ)(nt(Mt),Kt)),et.current.ref}return Qe}var on=z(29194),Rt=z(34280),vn=z(2738),Bt=z(65970),at=z(70425),pt=z(5472);const Gt=nt=>{const{formItemCls:et}=nt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${et}-control`]:{display:"flex"}}}};var Je=(0,He.bk)(["Form","item-item"],(nt,et)=>{let{rootPrefixCls:Qe}=et;const Mt=De(nt,Qe);return[Gt(Mt)]}),At=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe};const Jt=24;var Le=nt=>{const{prefixCls:et,status:Qe,labelCol:Mt,wrapperCol:Ne,children:Kt,errors:Qt,warnings:un,_internalItemRender:Tt,extra:Lt,help:Wt,fieldId:nn,marginBottom:Wn,onErrorVisibleChanged:Zn,label:Yn}=nt,Nr=`${et}-item`,zr=pe.useContext(b.q3),Qr=pe.useMemo(()=>{let Zi=Object.assign({},Ne||zr.wrapperCol||{});return Yn===null&&!Mt&&!Ne&&zr.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(_i=>{const wi=_i?[_i]:[],Mi=(0,at.U2)(zr.labelCol,wi),fi=typeof Mi=="object"?Mi:{},$i=(0,at.U2)(Zi,wi),oo=typeof $i=="object"?$i:{};"span"in fi&&!("offset"in oo)&&fi.span<Jt&&(Zi=(0,at.t8)(Zi,[].concat(wi,["offset"]),fi.span))}),Zi},[Ne,zr]),Fr=we()(`${Nr}-control`,Qr.className),yr=pe.useMemo(()=>{const{labelCol:Zi,wrapperCol:zi}=zr;return At(zr,["labelCol","wrapperCol"])},[zr]),Pr=pe.useRef(null),[Vr,ni]=pe.useState(0);(0,Rt.Z)(()=>{Lt&&Pr.current?ni(Pr.current.clientHeight):ni(0)},[Lt]);const ri=pe.createElement("div",{className:`${Nr}-control-input`},pe.createElement("div",{className:`${Nr}-control-input-content`},Kt)),ai=pe.useMemo(()=>({prefixCls:et,status:Qe}),[et,Qe]),Br=Wn!==null||Qt.length||un.length?pe.createElement(b.Rk.Provider,{value:ai},pe.createElement(Ge,{fieldId:nn,errors:Qt,warnings:un,help:Wt,helpStatus:Qe,className:`${Nr}-explain-connected`,onVisibleChanged:Zn})):null,_r={};nn&&(_r.id=`${nn}_extra`);const $r=Lt?pe.createElement("div",Object.assign({},_r,{className:`${Nr}-extra`,ref:Pr}),Lt):null,Ri=Br||$r?pe.createElement("div",{className:`${Nr}-additional`,style:Wn?{minHeight:Wn+Vr}:{}},Br,$r):null,Wi=Tt&&Tt.mark==="pro_table_render"&&Tt.render?Tt.render(nt,{input:ri,errorList:Br,extra:$r}):pe.createElement(pe.Fragment,null,ri,Ri);return pe.createElement(b.q3.Provider,{value:yr},pe.createElement(pt.Z,Object.assign({},Qr,{className:Fr}),Wi),pe.createElement(Je,{prefixCls:et}))},Et=z(61485),zt=z(9017),rn=z(85981),yn=z(25399),Nn=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe};function Vn(nt){return nt?typeof nt=="object"&&!pe.isValidElement(nt)?nt:{title:nt}:null}var Bn=nt=>{let{prefixCls:et,label:Qe,htmlFor:Mt,labelCol:Ne,labelAlign:Kt,colon:Qt,required:un,requiredMark:Tt,tooltip:Lt,vertical:Wt}=nt;var nn;const[Wn]=(0,zt.Z)("Form"),{labelAlign:Zn,labelCol:Yn,labelWrap:Nr,colon:zr}=pe.useContext(b.q3);if(!Qe)return null;const Qr=Ne||Yn||{},Fr=Kt||Zn,yr=`${et}-item-label`,Pr=we()(yr,Fr==="left"&&`${yr}-left`,Qr.className,{[`${yr}-wrap`]:!!Nr});let Vr=Qe;const ni=Qt===!0||zr!==!1&&Qt!==!1;ni&&!Wt&&typeof Qe=="string"&&Qe.trim()&&(Vr=Qe.replace(/[:|:]\s*$/,""));const ai=Vn(Lt);if(ai){const{icon:Zi=pe.createElement(Et.Z,null)}=ai,zi=Nn(ai,["icon"]),_i=pe.createElement(yn.Z,Object.assign({},zi),pe.cloneElement(Zi,{className:`${et}-item-tooltip`,title:"",onClick:wi=>{wi.preventDefault()},tabIndex:null}));Vr=pe.createElement(pe.Fragment,null,Vr,_i)}const Br=Tt==="optional",_r=typeof Tt=="function",$r=Tt===!1;_r?Vr=Tt(Vr,{required:!!un}):Br&&!un&&(Vr=pe.createElement(pe.Fragment,null,Vr,pe.createElement("span",{className:`${et}-item-optional`,title:""},(Wn==null?void 0:Wn.optional)||((nn=rn.Z.Form)===null||nn===void 0?void 0:nn.optional))));let Ri;$r?Ri="hidden":(Br||_r)&&(Ri="optional");const Wi=we()({[`${et}-item-required`]:un,[`${et}-item-required-mark-${Ri}`]:Ri,[`${et}-item-no-colon`]:!ni});return pe.createElement(pt.Z,Object.assign({},Qr,{className:Pr}),pe.createElement("label",{htmlFor:Mt,className:Wi,title:typeof Qe=="string"?Qe:""},Vr))},jn=z(29679),wt=z(19248),mt=z(96512),qt=z(58617);const jt={success:jn.Z,warning:mt.Z,error:wt.Z,validating:qt.Z};function Ot(nt){let{children:et,errors:Qe,warnings:Mt,hasFeedback:Ne,validateStatus:Kt,prefixCls:Qt,meta:un,noStyle:Tt}=nt;const Lt=`${Qt}-item`,{feedbackIcons:Wt}=pe.useContext(b.q3),nn=rt(Qe,Mt,un,null,!!Ne,Kt),{isFormItemInput:Wn,status:Zn,hasFeedback:Yn,feedbackIcon:Nr}=pe.useContext(b.aM),zr=pe.useMemo(()=>{var Qr;let Fr;if(Ne){const Pr=Ne!==!0&&Ne.icons||Wt,Vr=nn&&((Qr=Pr==null?void 0:Pr({status:nn,errors:Qe,warnings:Mt}))===null||Qr===void 0?void 0:Qr[nn]),ni=nn&&jt[nn];Fr=Vr!==!1&&ni?pe.createElement("span",{className:we()(`${Lt}-feedback-icon`,`${Lt}-feedback-icon-${nn}`)},Vr||pe.createElement(ni,null)):null}const yr={status:nn||"",errors:Qe,warnings:Mt,hasFeedback:!!Ne,feedbackIcon:Fr,isFormItemInput:!0};return Tt&&(yr.status=(nn!=null?nn:Zn)||"",yr.isFormItemInput=Wn,yr.hasFeedback=!!(Ne!=null?Ne:Yn),yr.feedbackIcon=Ne!==void 0?yr.feedbackIcon:Nr),yr},[nn,Ne,Tt,Wn,Zn]);return pe.createElement(b.aM.Provider,{value:zr},et)}var bn=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe};function pn(nt){const{prefixCls:et,className:Qe,rootClassName:Mt,style:Ne,help:Kt,errors:Qt,warnings:un,validateStatus:Tt,meta:Lt,hasFeedback:Wt,hidden:nn,children:Wn,fieldId:Zn,required:Yn,isRequired:Nr,onSubItemMetaChange:zr,layout:Qr}=nt,Fr=bn(nt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),yr=`${et}-item`,{requiredMark:Pr,vertical:Vr}=pe.useContext(b.q3),ni=Vr||Qr==="vertical",ri=pe.useRef(null),ai=Ee(Qt),Br=Ee(un),_r=Kt!=null,$r=!!(_r||Qt.length||un.length),Ri=!!ri.current&&(0,on.Z)(ri.current),[Wi,Zi]=pe.useState(null);(0,Rt.Z)(()=>{if($r&&ri.current){const fi=getComputedStyle(ri.current);Zi(parseInt(fi.marginBottom,10))}},[$r,Ri]);const zi=fi=>{fi||Zi(null)},wi=function(){let fi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $i=fi?ai:Lt.errors,oo=fi?Br:Lt.warnings;return rt($i,oo,Lt,"",!!Wt,Tt)}(),Mi=we()(yr,Qe,Mt,{[`${yr}-with-help`]:_r||ai.length||Br.length,[`${yr}-has-feedback`]:wi&&Wt,[`${yr}-has-success`]:wi==="success",[`${yr}-has-warning`]:wi==="warning",[`${yr}-has-error`]:wi==="error",[`${yr}-is-validating`]:wi==="validating",[`${yr}-hidden`]:nn,[`${yr}-${Qr}`]:Qr});return pe.createElement("div",{className:Mi,style:Ne,ref:ri},pe.createElement(Bt.Z,Object.assign({className:`${yr}-row`},(0,vn.Z)(Fr,["_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:Zn},nt,{requiredMark:Pr,required:Yn!=null?Yn:Nr,prefixCls:et,vertical:ni})),pe.createElement(Le,Object.assign({},nt,Lt,{errors:ai,warnings:Br,prefixCls:et,status:wi,help:Kt,marginBottom:Wi,onErrorVisibleChanged:zi}),pe.createElement(b.qI.Provider,{value:zr},pe.createElement(Ot,{prefixCls:et,meta:Lt,errors:Lt.errors,warnings:Lt.warnings,hasFeedback:Wt,validateStatus:wi},Wn)))),!!Wi&&pe.createElement("div",{className:`${yr}-margin-offset`,style:{marginBottom:-Wi}}))}const On="__SPLIT__",Qn=null;function Hn(nt,et){const Qe=Object.keys(nt),Mt=Object.keys(et);return Qe.length===Mt.length&&Qe.every(Ne=>{const Kt=nt[Ne],Qt=et[Ne];return Kt===Qt||typeof Kt=="function"||typeof Qt=="function"})}const Dn=pe.memo(nt=>{let{children:et}=nt;return et},(nt,et)=>Hn(nt.control,et.control)&&nt.update===et.update&&nt.childProps.length===et.childProps.length&&nt.childProps.every((Qe,Mt)=>Qe===et.childProps[Mt]));function ir(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Fn(nt){const{name:et,noStyle:Qe,className:Mt,dependencies:Ne,prefixCls:Kt,shouldUpdate:Qt,rules:un,children:Tt,required:Lt,label:Wt,messageVariables:nn,trigger:Wn="onChange",validateTrigger:Zn,hidden:Yn,help:Nr,layout:zr}=nt,{getPrefixCls:Qr}=pe.useContext(fn.E_),{name:Fr}=pe.useContext(b.q3),yr=We(Tt),Pr=typeof yr=="function",Vr=pe.useContext(b.qI),{validateTrigger:ni}=pe.useContext(xt.FieldContext),ri=Zn!==void 0?Zn:ni,ai=et!=null,Br=Qr("form",Kt),_r=(0,Xe.Z)(Br),[$r,Ri,Wi]=gt(Br,_r),Zi=(0,tt.ln)("Form.Item"),zi=pe.useContext(xt.ListContext),_i=pe.useRef(null),[wi,Mi]=Oe({}),[fi,$i]=(0,re.Z)(()=>ir()),oo=Ai=>{const Gr=zi==null?void 0:zi.getKey(Ai.name);if($i(Ai.destroy?ir():Ai,!0),Qe&&Nr!==!1&&Vr){let Un=Ai.name;if(Ai.destroy)Un=_i.current||Un;else if(Gr!==void 0){const[lr,cr]=Gr;Un=[lr].concat((0,Me.Z)(cr)),_i.current=Un}Vr(Ai,Un)}},Ro=(Ai,Gr)=>{Mi(Un=>{const lr=Object.assign({},Un),qn=[].concat((0,Me.Z)(Ai.name.slice(0,-1)),(0,Me.Z)(Gr)).join(On);return Ai.destroy?delete lr[qn]:lr[qn]=Ai,lr})},[fo,bo]=pe.useMemo(()=>{const Ai=(0,Me.Z)(fi.errors),Gr=(0,Me.Z)(fi.warnings);return Object.values(wi).forEach(Un=>{Ai.push.apply(Ai,(0,Me.Z)(Un.errors||[])),Gr.push.apply(Gr,(0,Me.Z)(Un.warnings||[]))}),[Ai,Gr]},[wi,fi.errors,fi.warnings]),co=ze();function yo(Ai,Gr,Un){return Qe&&!Yn?pe.createElement(Ot,{prefixCls:Br,hasFeedback:nt.hasFeedback,validateStatus:nt.validateStatus,meta:fi,errors:fo,warnings:bo,noStyle:!0},Ai):pe.createElement(pn,Object.assign({key:"row"},nt,{className:we()(Mt,Wi,_r,Ri),prefixCls:Br,fieldId:Gr,isRequired:Un,errors:fo,warnings:bo,meta:fi,onSubItemMetaChange:Ro,layout:zr}),Ai)}if(!ai&&!Pr&&!Ne)return $r(yo(yr));let Bi={};return typeof Wt=="string"?Bi.label=Wt:et&&(Bi.label=String(et)),nn&&(Bi=Object.assign(Object.assign({},Bi),nn)),$r(pe.createElement(xt.Field,Object.assign({},nt,{messageVariables:Bi,trigger:Wn,validateTrigger:ri,onMetaChange:oo}),(Ai,Gr,Un)=>{const lr=qe(et).length&&Gr?Gr.name:[],cr=Vt(lr,Fr),qn=Lt!==void 0?Lt:!!(un!=null&&un.some(or=>{if(or&&typeof or=="object"&&or.required&&!or.warningOnly)return!0;if(typeof or=="function"){const Jn=or(Un);return(Jn==null?void 0:Jn.required)&&!(Jn!=null&&Jn.warningOnly)}return!1})),Hr=Object.assign({},Ai);let qr=null;if(Array.isArray(yr)&&ai)qr=yr;else if(!(Pr&&(!(Qt||Ne)||ai))){if(!(Ne&&!Pr&&!ai))if(pe.isValidElement(yr)){const or=Object.assign(Object.assign({},yr.props),Hr);if(or.id||(or.id=cr),Nr||fo.length>0||bo.length>0||nt.extra){const Zr=[];(Nr||fo.length>0)&&Zr.push(`${cr}_help`),nt.extra&&Zr.push(`${cr}_extra`),or["aria-describedby"]=Zr.join(" ")}fo.length>0&&(or["aria-invalid"]="true"),qn&&(or["aria-required"]="true"),(0,ue.Yr)(yr)&&(or.ref=co(lr,yr)),new Set([].concat((0,Me.Z)(qe(Wn)),(0,Me.Z)(qe(ri)))).forEach(Zr=>{or[Zr]=function(){for(var ji,po,ao,Io,wo,Co=arguments.length,Lo=new Array(Co),Oo=0;Oo<Co;Oo++)Lo[Oo]=arguments[Oo];(ao=Hr[Zr])===null||ao===void 0||(ji=ao).call.apply(ji,[Hr].concat(Lo)),(wo=(Io=yr.props)[Zr])===null||wo===void 0||(po=wo).call.apply(po,[Io].concat(Lo))}});const xr=[or["aria-required"],or["aria-invalid"],or["aria-describedby"]];qr=pe.createElement(Dn,{control:Hr,update:yr,childProps:xr},(0,xe.Tm)(yr,or))}else Pr&&(Qt||Ne)&&!ai?qr=yr(Un):qr=yr}return yo(qr,cr,qn)}))}const pr=Fn;pr.useStatus=ht;var Dr=pr,xn=function(nt,et){var Qe={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&et.indexOf(Mt)<0&&(Qe[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Mt=Object.getOwnPropertySymbols(nt);Ne<Mt.length;Ne++)et.indexOf(Mt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ne])&&(Qe[Mt[Ne]]=nt[Mt[Ne]]);return Qe},nr=nt=>{var{prefixCls:et,children:Qe}=nt,Mt=xn(nt,["prefixCls","children"]);const{getPrefixCls:Ne}=pe.useContext(fn.E_),Kt=Ne("form",et),Qt=pe.useMemo(()=>({prefixCls:Kt,status:"error"}),[Kt]);return pe.createElement(xt.List,Object.assign({},Mt),(un,Tt,Lt)=>pe.createElement(b.Rk.Provider,{value:Qt},Qe(un.map(Wt=>Object.assign(Object.assign({},Wt),{fieldKey:Wt.key})),Tt,{errors:Lt.errors,warnings:Lt.warnings})))};function rr(){const{form:nt}=pe.useContext(b.q3);return nt}const Pt=de;Pt.Item=Dr,Pt.List=nr,Pt.ErrorList=Ge,Pt.useForm=Nt,Pt.useFormInstance=rr,Pt.useWatch=xt.useWatch,Pt.Provider=b.RV,Pt.create=()=>{};var Ut=Pt},4875:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return an}});var b=z(59301),Me=z(84105),pe=z(87395),_e=z(92310),we=z.n(_e),Se=z(60499),Pe=z(18642),Xe=z(43749),Ee=z(72190),he=z(42244),ut=z(38705),Be=z(17212);function bt(){return typeof BigInt=="function"}function it(Le){return!Le&&Le!==0&&!Number.isNaN(Le)||!String(Le).trim()}function He(Le){var Et=Le.trim(),zt=Et.startsWith("-");zt&&(Et=Et.slice(1)),Et=Et.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Et.startsWith(".")&&(Et="0".concat(Et));var rn=Et||"0",yn=rn.split("."),Nn=yn[0]||"0",Vn=yn[1]||"0";Nn==="0"&&Vn==="0"&&(zt=!1);var Xn=zt?"-":"";return{negative:zt,negativeStr:Xn,trimStr:rn,integerStr:Nn,decimalStr:Vn,fullStr:"".concat(Xn).concat(rn)}}function Fe(Le){var Et=String(Le);return!Number.isNaN(Number(Et))&&Et.includes("e")}function Te(Le){var Et=String(Le);if(Fe(Le)){var zt=Number(Et.slice(Et.indexOf("e-")+2)),rn=Et.match(/\.(\d+)/);return rn!=null&&rn[1]&&(zt+=rn[1].length),zt}return Et.includes(".")&&Ct(Et)?Et.length-Et.indexOf(".")-1:0}function ot(Le){var Et=String(Le);if(Fe(Le)){if(Le>Number.MAX_SAFE_INTEGER)return String(bt()?BigInt(Le).toString():Number.MAX_SAFE_INTEGER);if(Le<Number.MIN_SAFE_INTEGER)return String(bt()?BigInt(Le).toString():Number.MIN_SAFE_INTEGER);Et=Le.toFixed(Te(Et))}return He(Et).fullStr}function Ct(Le){return typeof Le=="number"?!Number.isNaN(Le):Le?/^\s*-?\d+(\.\d+)?\s*$/.test(Le)||/^\s*-?\d+\.\s*$/.test(Le)||/^\s*-?\.\d+\s*$/.test(Le):!1}var tn=function(){function Le(Et){if((0,ut.Z)(this,Le),(0,Pe.Z)(this,"origin",""),(0,Pe.Z)(this,"negative",void 0),(0,Pe.Z)(this,"integer",void 0),(0,Pe.Z)(this,"decimal",void 0),(0,Pe.Z)(this,"decimalLen",void 0),(0,Pe.Z)(this,"empty",void 0),(0,Pe.Z)(this,"nan",void 0),it(Et)){this.empty=!0;return}if(this.origin=String(Et),Et==="-"||Number.isNaN(Et)){this.nan=!0;return}var zt=Et;if(Fe(zt)&&(zt=Number(zt)),zt=typeof zt=="string"?zt:ot(zt),Ct(zt)){var rn=He(zt);this.negative=rn.negative;var yn=rn.trimStr.split(".");this.integer=BigInt(yn[0]);var Nn=yn[1]||"0";this.decimal=BigInt(Nn),this.decimalLen=Nn.length}else this.nan=!0}return(0,Be.Z)(Le,[{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(zt){var rn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(zt,"0"));return BigInt(rn)}},{key:"negate",value:function(){var zt=new Le(this.toString());return zt.negative=!zt.negative,zt}},{key:"cal",value:function(zt,rn,yn){var Nn=Math.max(this.getDecimalStr().length,zt.getDecimalStr().length),Vn=this.alignDecimal(Nn),Xn=zt.alignDecimal(Nn),Bn=rn(Vn,Xn).toString(),jn=yn(Nn),wt=He(Bn),mt=wt.negativeStr,qt=wt.trimStr,jt="".concat(mt).concat(qt.padStart(jn+1,"0"));return new Le("".concat(jt.slice(0,-jn),".").concat(jt.slice(-jn)))}},{key:"add",value:function(zt){if(this.isInvalidate())return new Le(zt);var rn=new Le(zt);return rn.isInvalidate()?this:this.cal(rn,function(yn,Nn){return yn+Nn},function(yn){return yn})}},{key:"multi",value:function(zt){var rn=new Le(zt);return this.isInvalidate()||rn.isInvalidate()?new Le(NaN):this.cal(rn,function(yn,Nn){return yn*Nn},function(yn){return yn*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(zt){return this.toString()===(zt==null?void 0:zt.toString())}},{key:"lessEquals",value:function(zt){return this.add(zt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return zt?this.isInvalidate()?"":He("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Le}(),se=function(){function Le(Et){if((0,ut.Z)(this,Le),(0,Pe.Z)(this,"origin",""),(0,Pe.Z)(this,"number",void 0),(0,Pe.Z)(this,"empty",void 0),it(Et)){this.empty=!0;return}this.origin=String(Et),this.number=Number(Et)}return(0,Be.Z)(Le,[{key:"negate",value:function(){return new Le(-this.toNumber())}},{key:"add",value:function(zt){if(this.isInvalidate())return new Le(zt);var rn=Number(zt);if(Number.isNaN(rn))return this;var yn=this.number+rn;if(yn>Number.MAX_SAFE_INTEGER)return new Le(Number.MAX_SAFE_INTEGER);if(yn<Number.MIN_SAFE_INTEGER)return new Le(Number.MIN_SAFE_INTEGER);var Nn=Math.max(Te(this.number),Te(rn));return new Le(yn.toFixed(Nn))}},{key:"multi",value:function(zt){var rn=Number(zt);if(this.isInvalidate()||Number.isNaN(rn))return new Le(NaN);var yn=this.number*rn;if(yn>Number.MAX_SAFE_INTEGER)return new Le(Number.MAX_SAFE_INTEGER);if(yn<Number.MIN_SAFE_INTEGER)return new Le(Number.MIN_SAFE_INTEGER);var Nn=Math.max(Te(this.number),Te(rn));return new Le(yn.toFixed(Nn))}},{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(zt){return this.toNumber()===(zt==null?void 0:zt.toNumber())}},{key:"lessEquals",value:function(zt){return this.add(zt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return zt?this.isInvalidate()?"":ot(this.number):this.origin}}]),Le}();function Ie(Le){return bt()?new tn(Le):new se(Le)}function dt(Le,Et,zt){var rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Le==="")return"";var yn=He(Le),Nn=yn.negativeStr,Vn=yn.integerStr,Xn=yn.decimalStr,Bn="".concat(Et).concat(Xn),jn="".concat(Nn).concat(Vn);if(zt>=0){var wt=Number(Xn[zt]);if(wt>=5&&!rn){var mt=Ie(Le).add("".concat(Nn,"0.").concat("0".repeat(zt)).concat(10-wt));return dt(mt.toString(),Et,zt,rn)}return zt===0?jn:"".concat(jn).concat(Et).concat(Xn.padEnd(zt,"0").slice(0,zt))}return Bn===".0"?jn:"".concat(jn).concat(Bn)}var yt=Ie,kt=z(36901),Ue=z(34280);function Ke(Le,Et){return typeof Proxy!="undefined"&&Le?new Proxy(Le,{get:function(rn,yn){if(Et[yn])return Et[yn];var Nn=rn[yn];return typeof Nn=="function"?Nn.bind(rn):Nn}}):Le}var ct=z(8654),De=z(48736);function gt(Le,Et){var zt=(0,b.useRef)(null);function rn(){try{var Nn=Le.selectionStart,Vn=Le.selectionEnd,Xn=Le.value,Bn=Xn.substring(0,Nn),jn=Xn.substring(Vn);zt.current={start:Nn,end:Vn,value:Xn,beforeTxt:Bn,afterTxt:jn}}catch(wt){}}function yn(){if(Le&&zt.current&&Et)try{var Nn=Le.value,Vn=zt.current,Xn=Vn.beforeTxt,Bn=Vn.afterTxt,jn=Vn.start,wt=Nn.length;if(Nn.startsWith(Xn))wt=Xn.length;else if(Nn.endsWith(Bn))wt=Nn.length-zt.current.afterTxt.length;else{var mt=Xn[jn-1],qt=Nn.indexOf(mt,jn-1);qt!==-1&&(wt=qt+1)}Le.setSelectionRange(wt,wt)}catch(jt){(0,De.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(jt.message))}}return[rn,yn]}var Ye=z(49658),fe=function(){var Et=(0,b.useState)(!1),zt=(0,Ee.Z)(Et,2),rn=zt[0],yn=zt[1];return(0,Ue.Z)(function(){yn((0,Ye.Z)())},[]),rn},Ft=fe,Ge=z(16089),xt=200,fn=600;function ke(Le){var Et=Le.prefixCls,zt=Le.upNode,rn=Le.downNode,yn=Le.upDisabled,Nn=Le.downDisabled,Vn=Le.onStep,Xn=b.useRef(),Bn=b.useRef([]),jn=b.useRef();jn.current=Vn;var wt=function(){clearTimeout(Xn.current)},mt=function(Hn,Dn){Hn.preventDefault(),wt(),jn.current(Dn);function ir(){jn.current(Dn),Xn.current=setTimeout(ir,xt)}Xn.current=setTimeout(ir,fn)};b.useEffect(function(){return function(){wt(),Bn.current.forEach(function(Qn){return Ge.Z.cancel(Qn)})}},[]);var qt=Ft();if(qt)return null;var jt="".concat(Et,"-handler"),Ot=we()(jt,"".concat(jt,"-up"),(0,Pe.Z)({},"".concat(jt,"-up-disabled"),yn)),bn=we()(jt,"".concat(jt,"-down"),(0,Pe.Z)({},"".concat(jt,"-down-disabled"),Nn)),pn=function(){return Bn.current.push((0,Ge.Z)(wt))},On={unselectable:"on",role:"button",onMouseUp:pn,onMouseLeave:pn};return b.createElement("div",{className:"".concat(jt,"-wrap")},b.createElement("span",(0,Se.Z)({},On,{onMouseDown:function(Hn){mt(Hn,!0)},"aria-label":"Increase Value","aria-disabled":yn,className:Ot}),zt||b.createElement("span",{unselectable:"on",className:"".concat(Et,"-handler-up-inner")})),b.createElement("span",(0,Se.Z)({},On,{onMouseDown:function(Hn){mt(Hn,!1)},"aria-label":"Decrease Value","aria-disabled":Nn,className:bn}),rn||b.createElement("span",{unselectable:"on",className:"".concat(Et,"-handler-down-inner")})))}function be(Le){var Et=typeof Le=="number"?ot(Le):He(Le).fullStr,zt=Et.includes(".");return zt?He(Et.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Le+"0"}var Yt=z(30292),ln=function(){var Le=(0,b.useRef)(0),Et=function(){Ge.Z.cancel(Le.current)};return(0,b.useEffect)(function(){return Et},[]),function(zt){Et(),Le.current=(0,Ge.Z)(function(){zt()})}},Xt=["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"],ge=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Re=function(Et,zt){return Et||zt.isEmpty()?zt.toString():zt.toNumber()},qe=function(Et){var zt=yt(Et);return zt.isInvalidate()?null:zt},Vt=b.forwardRef(function(Le,Et){var zt=Le.prefixCls,rn=Le.className,yn=Le.style,Nn=Le.min,Vn=Le.max,Xn=Le.step,Bn=Xn===void 0?1:Xn,jn=Le.defaultValue,wt=Le.value,mt=Le.disabled,qt=Le.readOnly,jt=Le.upHandler,Ot=Le.downHandler,bn=Le.keyboard,pn=Le.changeOnWheel,On=pn===void 0?!1:pn,Qn=Le.controls,Hn=Qn===void 0?!0:Qn,Dn=Le.classNames,ir=Le.stringMode,Fn=Le.parser,pr=Le.formatter,Dr=Le.precision,xn=Le.decimalSeparator,kn=Le.onChange,nr=Le.onInput,rr=Le.onPressEnter,Pt=Le.onStep,Ut=Le.changeOnBlur,nt=Ut===void 0?!0:Ut,et=Le.domRef,Qe=(0,he.Z)(Le,Xt),Mt="".concat(zt,"-input"),Ne=b.useRef(null),Kt=b.useState(!1),Qt=(0,Ee.Z)(Kt,2),un=Qt[0],Tt=Qt[1],Lt=b.useRef(!1),Wt=b.useRef(!1),nn=b.useRef(!1),Wn=b.useState(function(){return yt(wt!=null?wt:jn)}),Zn=(0,Ee.Z)(Wn,2),Yn=Zn[0],Nr=Zn[1];function zr(cr){wt===void 0&&Nr(cr)}var Qr=b.useCallback(function(cr,qn){if(!qn)return Dr>=0?Dr:Math.max(Te(cr),Te(Bn))},[Dr,Bn]),Fr=b.useCallback(function(cr){var qn=String(cr);if(Fn)return Fn(qn);var Hr=qn;return xn&&(Hr=Hr.replace(xn,".")),Hr.replace(/[^\w.-]+/g,"")},[Fn,xn]),yr=b.useRef(""),Pr=b.useCallback(function(cr,qn){if(pr)return pr(cr,{userTyping:qn,input:String(yr.current)});var Hr=typeof cr=="number"?ot(cr):cr;if(!qn){var qr=Qr(Hr,qn);if(Ct(Hr)&&(xn||qr>=0)){var or=xn||".";Hr=dt(Hr,or,qr)}}return Hr},[pr,Qr,xn]),Vr=b.useState(function(){var cr=jn!=null?jn:wt;return Yn.isInvalidate()&&["string","number"].includes((0,Xe.Z)(cr))?Number.isNaN(cr)?"":cr:Pr(Yn.toString(),!1)}),ni=(0,Ee.Z)(Vr,2),ri=ni[0],ai=ni[1];yr.current=ri;function Br(cr,qn){ai(Pr(cr.isInvalidate()?cr.toString(!1):cr.toString(!qn),qn))}var _r=b.useMemo(function(){return qe(Vn)},[Vn,Dr]),$r=b.useMemo(function(){return qe(Nn)},[Nn,Dr]),Ri=b.useMemo(function(){return!_r||!Yn||Yn.isInvalidate()?!1:_r.lessEquals(Yn)},[_r,Yn]),Wi=b.useMemo(function(){return!$r||!Yn||Yn.isInvalidate()?!1:Yn.lessEquals($r)},[$r,Yn]),Zi=gt(Ne.current,un),zi=(0,Ee.Z)(Zi,2),_i=zi[0],wi=zi[1],Mi=function(qn){return _r&&!qn.lessEquals(_r)?_r:$r&&!$r.lessEquals(qn)?$r:null},fi=function(qn){return!Mi(qn)},$i=function(qn,Hr){var qr=qn,or=fi(qr)||qr.isEmpty();if(!qr.isEmpty()&&!Hr&&(qr=Mi(qr)||qr,or=!0),!qt&&!mt&&or){var Jn=qr.toString(),xr=Qr(Jn,Hr);return xr>=0&&(qr=yt(dt(Jn,".",xr)),fi(qr)||(qr=yt(dt(Jn,".",xr,!0)))),qr.equals(Yn)||(zr(qr),kn==null||kn(qr.isEmpty()?null:Re(ir,qr)),wt===void 0&&Br(qr,Hr)),qr}return Yn},oo=ln(),Ro=function cr(qn){if(_i(),yr.current=qn,ai(qn),!Wt.current){var Hr=Fr(qn),qr=yt(Hr);qr.isNaN()||$i(qr,!0)}nr==null||nr(qn),oo(function(){var or=qn;Fn||(or=qn.replace(/。/g,".")),or!==qn&&cr(or)})},fo=function(){Wt.current=!0},bo=function(){Wt.current=!1,Ro(Ne.current.value)},co=function(qn){Ro(qn.target.value)},yo=function(qn){var Hr;if(!(qn&&Ri||!qn&&Wi)){Lt.current=!1;var qr=yt(nn.current?be(Bn):Bn);qn||(qr=qr.negate());var or=(Yn||yt(0)).add(qr.toString()),Jn=$i(or,!1);Pt==null||Pt(Re(ir,Jn),{offset:nn.current?be(Bn):Bn,type:qn?"up":"down"}),(Hr=Ne.current)===null||Hr===void 0||Hr.focus()}},Bi=function(qn){var Hr=yt(Fr(ri)),qr;Hr.isNaN()?qr=$i(Yn,qn):qr=$i(Hr,qn),wt!==void 0?Br(Yn,!1):qr.isNaN()||Br(qr,!1)},Ai=function(){Lt.current=!0},Gr=function(qn){var Hr=qn.key,qr=qn.shiftKey;Lt.current=!0,nn.current=qr,Hr==="Enter"&&(Wt.current||(Lt.current=!1),Bi(!1),rr==null||rr(qn)),bn!==!1&&!Wt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Hr)&&(yo(Hr==="Up"||Hr==="ArrowUp"),qn.preventDefault())},Un=function(){Lt.current=!1,nn.current=!1};b.useEffect(function(){if(On&&un){var cr=function(qr){yo(qr.deltaY<0),qr.preventDefault()},qn=Ne.current;if(qn)return qn.addEventListener("wheel",cr,{passive:!1}),function(){return qn.removeEventListener("wheel",cr)}}});var lr=function(){nt&&Bi(!1),Tt(!1),Lt.current=!1};return(0,Ue.o)(function(){Yn.isInvalidate()||Br(Yn,!1)},[Dr,pr]),(0,Ue.o)(function(){var cr=yt(wt);Nr(cr);var qn=yt(Fr(ri));(!cr.equals(qn)||!Lt.current||pr)&&Br(cr,Lt.current)},[wt]),(0,Ue.o)(function(){pr&&wi()},[ri]),b.createElement("div",{ref:et,className:we()(zt,rn,(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},"".concat(zt,"-focused"),un),"".concat(zt,"-disabled"),mt),"".concat(zt,"-readonly"),qt),"".concat(zt,"-not-a-number"),Yn.isNaN()),"".concat(zt,"-out-of-range"),!Yn.isInvalidate()&&!fi(Yn))),style:yn,onFocus:function(){Tt(!0)},onBlur:lr,onKeyDown:Gr,onKeyUp:Un,onCompositionStart:fo,onCompositionEnd:bo,onBeforeInput:Ai},Hn&&b.createElement(ke,{prefixCls:zt,upNode:jt,downNode:Ot,upDisabled:Ri,downDisabled:Wi,onStep:yo}),b.createElement("div",{className:"".concat(Mt,"-wrap")},b.createElement("input",(0,Se.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Nn,"aria-valuemax":Vn,"aria-valuenow":Yn.isInvalidate()?null:Yn.toString(),step:Bn},Qe,{ref:(0,ct.sQ)(Ne,Et),className:Mt,value:ri,onChange:co,disabled:mt,readOnly:qt}))))}),rt=b.forwardRef(function(Le,Et){var zt=Le.disabled,rn=Le.style,yn=Le.prefixCls,Nn=yn===void 0?"rc-input-number":yn,Vn=Le.value,Xn=Le.prefix,Bn=Le.suffix,jn=Le.addonBefore,wt=Le.addonAfter,mt=Le.className,qt=Le.classNames,jt=(0,he.Z)(Le,ge),Ot=b.useRef(null),bn=b.useRef(null),pn=b.useRef(null),On=function(Hn){pn.current&&(0,Yt.nH)(pn.current,Hn)};return b.useImperativeHandle(Et,function(){return Ke(pn.current,{focus:On,nativeElement:Ot.current.nativeElement||bn.current})}),b.createElement(kt.BaseInput,{className:mt,triggerFocus:On,prefixCls:Nn,value:Vn,disabled:zt,style:rn,prefix:Xn,suffix:Bn,addonAfter:wt,addonBefore:jn,classNames:qt,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Ot},b.createElement(Vt,(0,Se.Z)({prefixCls:Nn,disabled:zt,ref:pn,domRef:bn,className:qt==null?void 0:qt.input},jt)))}),Zt=rt,st=Zt,$t=z(62487),Nt=z(82855),le=z(48755),ne=z(60840),te=z(2171),ae=z(83397),de=z(31756),re=z(56553),ue=z(24971),xe=z(70045),tt=z(36237),Ve=z(53075),We=z(64910),lt=z(39082),ht=z(63356),Dt=z(56119),Oe=z(16931),ze=z(51636),on=z(17835);const Rt=Le=>{var Et;const zt=(Et=Le.handleVisible)!==null&&Et!==void 0?Et:"auto",rn=Le.controlHeightSM-Le.lineWidth*2;return Object.assign(Object.assign({},(0,We.T)(Le)),{controlWidth:90,handleWidth:rn,handleFontSize:Le.fontSize/2,handleVisible:zt,handleActiveBg:Le.colorFillAlter,handleBg:Le.colorBgContainer,filledHandleBg:new on.FastColor(Le.colorFillSecondary).onBackground(Le.colorBgContainer).toHexString(),handleHoverColor:Le.colorPrimary,handleBorderColor:Le.colorBorder,handleOpacity:zt===!0?1:0,handleVisibleWidth:zt===!0?rn:0})},vn=(Le,Et)=>{let{componentCls:zt,borderRadiusSM:rn,borderRadiusLG:yn}=Le;const Nn=Et==="lg"?yn:rn;return{[`&-${Et}`]:{[`${zt}-handler-wrap`]:{borderStartEndRadius:Nn,borderEndEndRadius:Nn},[`${zt}-handler-up`]:{borderStartEndRadius:Nn},[`${zt}-handler-down`]:{borderEndEndRadius:Nn}}}},Bt=Le=>{const{componentCls:Et,lineWidth:zt,lineType:rn,borderRadius:yn,inputFontSizeSM:Nn,inputFontSizeLG:Vn,controlHeightLG:Xn,controlHeightSM:Bn,colorError:jn,paddingInlineSM:wt,paddingBlockSM:mt,paddingBlockLG:qt,paddingInlineLG:jt,colorTextDescription:Ot,motionDurationMid:bn,handleHoverColor:pn,handleOpacity:On,paddingInline:Qn,paddingBlock:Hn,handleBg:Dn,handleActiveBg:ir,colorTextDisabled:Fn,borderRadiusSM:pr,borderRadiusLG:Dr,controlWidth:xn,handleBorderColor:kn,filledHandleBg:nr,lineHeightLG:rr,calc:Pt}=Le;return[{[Et]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(Le)),(0,Ve.ik)(Le)),{display:"inline-block",width:xn,margin:0,padding:0,borderRadius:yn}),(0,lt.qG)(Le,{[`${Et}-handler-wrap`]:{background:Dn,[`${Et}-handler-down`]:{borderBlockStart:`${(0,tt.unit)(zt)} ${rn} ${kn}`}}})),(0,lt.H8)(Le,{[`${Et}-handler-wrap`]:{background:nr,[`${Et}-handler-down`]:{borderBlockStart:`${(0,tt.unit)(zt)} ${rn} ${kn}`}},"&:focus-within":{[`${Et}-handler-wrap`]:{background:Dn}}})),(0,lt.vc)(Le,{[`${Et}-handler-wrap`]:{background:Dn,[`${Et}-handler-down`]:{borderBlockStart:`${(0,tt.unit)(zt)} ${rn} ${kn}`}}})),(0,lt.Mu)(Le)),{"&-rtl":{direction:"rtl",[`${Et}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Vn,lineHeight:rr,borderRadius:Dr,[`input${Et}-input`]:{height:Pt(Xn).sub(Pt(zt).mul(2)).equal(),padding:`${(0,tt.unit)(qt)} ${(0,tt.unit)(jt)}`}},"&-sm":{padding:0,fontSize:Nn,borderRadius:pr,[`input${Et}-input`]:{height:Pt(Bn).sub(Pt(zt).mul(2)).equal(),padding:`${(0,tt.unit)(mt)} ${(0,tt.unit)(wt)}`}},"&-out-of-range":{[`${Et}-input-wrap`]:{input:{color:jn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(Le)),(0,Ve.s7)(Le)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Et}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Et}-group-addon`]:{borderRadius:Dr,fontSize:Le.fontSizeLG}},"&-sm":{[`${Et}-group-addon`]:{borderRadius:pr}}},(0,lt.ir)(Le)),(0,lt.S5)(Le)),{[`&:not(${Et}-compact-first-item):not(${Et}-compact-last-item)${Et}-compact-item`]:{[`${Et}, ${Et}-group-addon`]:{borderRadius:0}},[`&:not(${Et}-compact-last-item)${Et}-compact-first-item`]:{[`${Et}, ${Et}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Et}-compact-first-item)${Et}-compact-last-item`]:{[`${Et}, ${Et}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Et}-input`]:{cursor:"not-allowed"},[Et]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(Le)),{width:"100%",padding:`${(0,tt.unit)(Hn)} ${(0,tt.unit)(Qn)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:yn,outline:0,transition:`all ${bn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Ve.nz)(Le.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Et}-handler-wrap, &-focused ${Et}-handler-wrap`]:{width:Le.handleWidth,opacity:1}})},{[Et]:Object.assign(Object.assign(Object.assign({[`${Et}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Le.handleVisibleWidth,opacity:On,height:"100%",borderStartStartRadius:0,borderStartEndRadius:yn,borderEndEndRadius:yn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${bn}`,overflow:"hidden",[`${Et}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Et}-handler-up-inner,
|
|
|
${Et}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:Le.handleFontSize}}},[`${Et}-handler`]:{height:"50%",overflow:"hidden",color:Ot,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,tt.unit)(zt)} ${rn} ${kn}`,transition:`all ${bn} linear`,"&:active":{background:ir},"&:hover":{height:"60%",[`
|
|
|
${Et}-handler-up-inner,
|
|
|
${Et}-handler-down-inner
|
|
|
`]:{color:pn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ht.Ro)()),{color:Ot,transition:`all ${bn} linear`,userSelect:"none"})},[`${Et}-handler-up`]:{borderStartEndRadius:yn},[`${Et}-handler-down`]:{borderEndEndRadius:yn}},vn(Le,"lg")),vn(Le,"sm")),{"&-disabled, &-readonly":{[`${Et}-handler-wrap`]:{display:"none"},[`${Et}-input`]:{color:"inherit"}},[`
|
|
|
${Et}-handler-up-disabled,
|
|
|
${Et}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Et}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Et}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Fn}})}]},at=Le=>{const{componentCls:Et,paddingBlock:zt,paddingInline:rn,inputAffixPadding:yn,controlWidth:Nn,borderRadiusLG:Vn,borderRadiusSM:Xn,paddingInlineLG:Bn,paddingInlineSM:jn,paddingBlockLG:wt,paddingBlockSM:mt,motionDurationMid:qt}=Le;return{[`${Et}-affix-wrapper`]:Object.assign(Object.assign({[`input${Et}-input`]:{padding:`${(0,tt.unit)(zt)} 0`}},(0,Ve.ik)(Le)),{position:"relative",display:"inline-flex",alignItems:"center",width:Nn,padding:0,paddingInlineStart:rn,"&-lg":{borderRadius:Vn,paddingInlineStart:Bn,[`input${Et}-input`]:{padding:`${(0,tt.unit)(wt)} 0`}},"&-sm":{borderRadius:Xn,paddingInlineStart:jn,[`input${Et}-input`]:{padding:`${(0,tt.unit)(mt)} 0`}},[`&:not(${Et}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Et}-disabled`]:{background:"transparent"},[`> div${Et}`]:{width:"100%",border:"none",outline:"none",[`&${Et}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Et}-handler-wrap`]:{zIndex:2},[Et]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:yn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:rn,marginInlineStart:yn,transition:`margin ${qt}`}},[`&:hover ${Et}-handler-wrap, &-focused ${Et}-handler-wrap`]:{width:Le.handleWidth,opacity:1},[`&:not(${Et}-affix-wrapper-without-controls):hover ${Et}-suffix`]:{marginInlineEnd:Le.calc(Le.handleWidth).add(rn).equal()}})}};var pt=(0,Oe.I$)("InputNumber",Le=>{const Et=(0,ze.mergeToken)(Le,(0,We.e)(Le));return[Bt(Et),at(Et),(0,Dt.c)(Et)]},Rt,{unitless:{handleOpacity:!0}}),Gt=function(Le,Et){var zt={};for(var rn in Le)Object.prototype.hasOwnProperty.call(Le,rn)&&Et.indexOf(rn)<0&&(zt[rn]=Le[rn]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,rn=Object.getOwnPropertySymbols(Le);yn<rn.length;yn++)Et.indexOf(rn[yn])<0&&Object.prototype.propertyIsEnumerable.call(Le,rn[yn])&&(zt[rn[yn]]=Le[rn[yn]]);return zt};const Je=b.forwardRef((Le,Et)=>{const{getPrefixCls:zt,direction:rn}=b.useContext(le.E_),yn=b.useRef(null);b.useImperativeHandle(Et,()=>yn.current);const{className:Nn,rootClassName:Vn,size:Xn,disabled:Bn,prefixCls:jn,addonBefore:wt,addonAfter:mt,prefix:qt,suffix:jt,bordered:Ot,readOnly:bn,status:pn,controls:On,variant:Qn}=Le,Hn=Gt(Le,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Dn=zt("input-number",jn),ir=(0,ae.Z)(Dn),[Fn,pr,Dr]=pt(Dn,ir),{compactSize:xn,compactItemClassnames:kn}=(0,xe.ri)(Dn,rn);let nr=b.createElement(pe.Z,{className:`${Dn}-handler-up-inner`}),rr=b.createElement(Me.Z,{className:`${Dn}-handler-down-inner`});const Pt=typeof On=="boolean"?On:void 0;typeof On=="object"&&(nr=typeof On.upIcon=="undefined"?nr:b.createElement("span",{className:`${Dn}-handler-up-inner`},On.upIcon),rr=typeof On.downIcon=="undefined"?rr:b.createElement("span",{className:`${Dn}-handler-down-inner`},On.downIcon));const{hasFeedback:Ut,status:nt,isFormItemInput:et,feedbackIcon:Qe}=b.useContext(re.aM),Mt=(0,Nt.F)(nt,pn),Ne=(0,de.Z)(Zn=>{var Yn;return(Yn=Xn!=null?Xn:xn)!==null&&Yn!==void 0?Yn:Zn}),Kt=b.useContext(te.Z),Qt=Bn!=null?Bn:Kt,[un,Tt]=(0,ue.Z)("inputNumber",Qn,Ot),Lt=Ut&&b.createElement(b.Fragment,null,Qe),Wt=we()({[`${Dn}-lg`]:Ne==="large",[`${Dn}-sm`]:Ne==="small",[`${Dn}-rtl`]:rn==="rtl",[`${Dn}-in-form-item`]:et},pr),nn=`${Dn}-group`,Wn=b.createElement(st,Object.assign({ref:yn,disabled:Qt,className:we()(Dr,ir,Nn,Vn,kn),upHandler:nr,downHandler:rr,prefixCls:Dn,readOnly:bn,controls:Pt,prefix:qt,suffix:Lt||jt,addonBefore:wt&&b.createElement($t.Z,{form:!0,space:!0},wt),addonAfter:mt&&b.createElement($t.Z,{form:!0,space:!0},mt),classNames:{input:Wt,variant:we()({[`${Dn}-${un}`]:Tt},(0,Nt.Z)(Dn,Mt,Ut)),affixWrapper:we()({[`${Dn}-affix-wrapper-sm`]:Ne==="small",[`${Dn}-affix-wrapper-lg`]:Ne==="large",[`${Dn}-affix-wrapper-rtl`]:rn==="rtl",[`${Dn}-affix-wrapper-without-controls`]:On===!1||Qt},pr),wrapper:we()({[`${nn}-rtl`]:rn==="rtl"},pr),groupWrapper:we()({[`${Dn}-group-wrapper-sm`]:Ne==="small",[`${Dn}-group-wrapper-lg`]:Ne==="large",[`${Dn}-group-wrapper-rtl`]:rn==="rtl",[`${Dn}-group-wrapper-${un}`]:Tt},(0,Nt.Z)(`${Dn}-group-wrapper`,Mt,Ut),pr)}},Hn));return Fn(Wn)}),At=Je,Jt=Le=>b.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Je,Object.assign({},Le)));At._InternalPanelDoNotUseOrYouWillBeFired=Jt;var an=At},49397:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return se}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(36901),we=z(8654),Se=z(62487),Pe=z(86013),Xe=z(82855),Ee=z(48755),he=z(2171),ut=z(83397),Be=z(31756),bt=z(56553),it=z(24971),He=z(70045),Fe=z(23826),Te=z(53075);function ot(Ie){return!!(Ie.prefix||Ie.suffix||Ie.allowClear||Ie.showCount)}var Ct=function(Ie,dt){var yt={};for(var kt in Ie)Object.prototype.hasOwnProperty.call(Ie,kt)&&dt.indexOf(kt)<0&&(yt[kt]=Ie[kt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,kt=Object.getOwnPropertySymbols(Ie);Ue<kt.length;Ue++)dt.indexOf(kt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Ie,kt[Ue])&&(yt[kt[Ue]]=Ie[kt[Ue]]);return yt},se=(0,b.forwardRef)((Ie,dt)=>{const{prefixCls:yt,bordered:kt=!0,status:Ue,size:Ke,disabled:ct,onBlur:De,onFocus:gt,suffix:Ye,allowClear:fe,addonAfter:Ft,addonBefore:Ge,className:xt,style:fn,styles:ke,rootClassName:be,onChange:Yt,classNames:ln,variant:Xt}=Ie,ge=Ct(Ie,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Re,direction:qe,allowClear:Vt,autoComplete:rt,className:Zt,style:st,classNames:$t,styles:Nt}=(0,Ee.dj)("input"),le=Re("input",yt),ne=(0,b.useRef)(null),te=(0,ut.Z)(le),[ae,de,re]=(0,Te.TI)(le,be),[ue]=(0,Te.ZP)(le,te),{compactSize:xe,compactItemClassnames:tt}=(0,He.ri)(le,qe),Ve=(0,Be.Z)(an=>{var Le;return(Le=Ke!=null?Ke:xe)!==null&&Le!==void 0?Le:an}),We=b.useContext(he.Z),lt=ct!=null?ct:We,{status:ht,hasFeedback:Dt,feedbackIcon:Oe}=(0,b.useContext)(bt.aM),ze=(0,Xe.F)(ht,Ue),on=ot(Ie)||!!Dt,Rt=(0,b.useRef)(on),vn=(0,Fe.Z)(ne,!0),Bt=an=>{vn(),De==null||De(an)},at=an=>{vn(),gt==null||gt(an)},pt=an=>{vn(),Yt==null||Yt(an)},Gt=(Dt||Ye)&&b.createElement(b.Fragment,null,Ye,Dt&&Oe),Je=(0,Pe.Z)(fe!=null?fe:Vt),[At,Jt]=(0,it.Z)("input",Xt,kt);return ae(ue(b.createElement(_e.default,Object.assign({ref:(0,we.sQ)(dt,ne),prefixCls:le,autoComplete:rt},ge,{disabled:lt,onBlur:Bt,onFocus:at,style:Object.assign(Object.assign({},st),fn),styles:Object.assign(Object.assign({},Nt),ke),suffix:Gt,allowClear:Je,className:pe()(xt,be,re,te,tt,Zt),onChange:pt,addonBefore:Ge&&b.createElement(Se.Z,{form:!0,space:!0},Ge),addonAfter:Ft&&b.createElement(Se.Z,{form:!0,space:!0},Ft),classNames:Object.assign(Object.assign(Object.assign({},ln),$t),{input:pe()({[`${le}-sm`]:Ve==="small",[`${le}-lg`]:Ve==="large",[`${le}-rtl`]:qe==="rtl"},ln==null?void 0:ln.input,$t.input,de),variant:pe()({[`${le}-${At}`]:Jt},(0,Xe.Z)(le,ze)),affixWrapper:pe()({[`${le}-affix-wrapper-sm`]:Ve==="small",[`${le}-affix-wrapper-lg`]:Ve==="large",[`${le}-affix-wrapper-rtl`]:qe==="rtl"},de),wrapper:pe()({[`${le}-group-rtl`]:qe==="rtl"},de),groupWrapper:pe()({[`${le}-group-wrapper-sm`]:Ve==="small",[`${le}-group-wrapper-lg`]:Ve==="large",[`${le}-group-wrapper-rtl`]:qe==="rtl",[`${le}-group-wrapper-${At}`]:Jt},(0,Xe.Z)(`${le}-group-wrapper`,ze,Dt),de)})}))))})},79809:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return dt}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(22711),we=z(86013),Se=z(82855),Pe=z(48755),Xe=z(2171),Ee=z(83397),he=z(31756),ut=z(56553),Be=z(24971),bt=z(70045),it=z(30292),He=z(53075),Fe=z(16931),Te=z(51636),ot=z(64910);const Ct=yt=>{const{componentCls:kt,paddingLG:Ue}=yt,Ke=`${kt}-textarea`;return{[`textarea${kt}`]:{maxWidth:"100%",height:"auto",minHeight:yt.controlHeight,lineHeight:yt.lineHeight,verticalAlign:"bottom",transition:`all ${yt.motionDurationSlow}`,resize:"vertical",[`&${kt}-mouse-active`]:{transition:`all ${yt.motionDurationSlow}, height 0s, width 0s`}},[`${kt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ke]:{position:"relative","&-show-count":{[`> ${kt}`]:{height:"100%"},[`${kt}-data-count`]:{position:"absolute",bottom:yt.calc(yt.fontSize).mul(yt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:yt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${kt},
|
|
|
&-affix-wrapper${Ke}-has-feedback ${kt}
|
|
|
`]:{paddingInlineEnd:Ue},[`&-affix-wrapper${kt}-affix-wrapper`]:{padding:0,[`> textarea${kt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:yt.calc(yt.controlHeight).sub(yt.calc(yt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${kt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${kt}-clear-icon`]:{position:"absolute",insetInlineEnd:yt.paddingInline,insetBlockStart:yt.paddingXS},[`${Ke}-suffix`]:{position:"absolute",top:0,insetInlineEnd:yt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${kt}-affix-wrapper-sm`]:{[`${kt}-suffix`]:{[`${kt}-clear-icon`]:{insetInlineEnd:yt.paddingInlineSM}}}}}};var tn=(0,Fe.I$)(["Input","TextArea"],yt=>{const kt=(0,Te.mergeToken)(yt,(0,ot.e)(yt));return[Ct(kt)]},ot.T,{resetFont:!1}),se=function(yt,kt){var Ue={};for(var Ke in yt)Object.prototype.hasOwnProperty.call(yt,Ke)&&kt.indexOf(Ke)<0&&(Ue[Ke]=yt[Ke]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Ke=Object.getOwnPropertySymbols(yt);ct<Ke.length;ct++)kt.indexOf(Ke[ct])<0&&Object.prototype.propertyIsEnumerable.call(yt,Ke[ct])&&(Ue[Ke[ct]]=yt[Ke[ct]]);return Ue},dt=(0,b.forwardRef)((yt,kt)=>{var Ue;const{prefixCls:Ke,bordered:ct=!0,size:De,disabled:gt,status:Ye,allowClear:fe,classNames:Ft,rootClassName:Ge,className:xt,style:fn,styles:ke,variant:be,showCount:Yt,onMouseDown:ln,onResize:Xt}=yt,ge=se(yt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Re,direction:qe,allowClear:Vt,autoComplete:rt,className:Zt,style:st,classNames:$t,styles:Nt}=(0,Pe.dj)("textArea"),le=b.useContext(Xe.Z),ne=gt!=null?gt:le,{status:te,hasFeedback:ae,feedbackIcon:de}=b.useContext(ut.aM),re=(0,Se.F)(te,Ye),ue=b.useRef(null);b.useImperativeHandle(kt,()=>{var Jt;return{resizableTextArea:(Jt=ue.current)===null||Jt===void 0?void 0:Jt.resizableTextArea,focus:an=>{var Le,Et;(0,it.nH)((Et=(Le=ue.current)===null||Le===void 0?void 0:Le.resizableTextArea)===null||Et===void 0?void 0:Et.textArea,an)},blur:()=>{var an;return(an=ue.current)===null||an===void 0?void 0:an.blur()}}});const xe=Re("input",Ke),tt=(0,Ee.Z)(xe),[Ve,We,lt]=(0,He.TI)(xe,Ge),[ht]=tn(xe,tt),{compactSize:Dt,compactItemClassnames:Oe}=(0,bt.ri)(xe,qe),ze=(0,he.Z)(Jt=>{var an;return(an=De!=null?De:Dt)!==null&&an!==void 0?an:Jt}),[on,Rt]=(0,Be.Z)("textArea",be,ct),vn=(0,we.Z)(fe!=null?fe:Vt),[Bt,at]=b.useState(!1),[pt,Gt]=b.useState(!1),Je=Jt=>{at(!0),ln==null||ln(Jt);const an=()=>{at(!1),document.removeEventListener("mouseup",an)};document.addEventListener("mouseup",an)},At=Jt=>{var an,Le;if(Xt==null||Xt(Jt),Bt&&typeof getComputedStyle=="function"){const Et=(Le=(an=ue.current)===null||an===void 0?void 0:an.nativeElement)===null||Le===void 0?void 0:Le.querySelector("textarea");Et&&getComputedStyle(Et).resize==="both"&&Gt(!0)}};return Ve(ht(b.createElement(_e.default,Object.assign({autoComplete:rt},ge,{style:Object.assign(Object.assign({},st),fn),styles:Object.assign(Object.assign({},Nt),ke),disabled:ne,allowClear:vn,className:pe()(lt,tt,xt,Ge,Oe,Zt,pt&&`${xe}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ft),$t),{textarea:pe()({[`${xe}-sm`]:ze==="small",[`${xe}-lg`]:ze==="large"},We,Ft==null?void 0:Ft.textarea,$t.textarea,Bt&&`${xe}-mouse-active`),variant:pe()({[`${xe}-${on}`]:Rt},(0,Se.Z)(xe,re)),affixWrapper:pe()(`${xe}-textarea-affix-wrapper`,{[`${xe}-affix-wrapper-rtl`]:qe==="rtl",[`${xe}-affix-wrapper-sm`]:ze==="small",[`${xe}-affix-wrapper-lg`]:ze==="large",[`${xe}-textarea-show-count`]:Yt||((Ue=yt.count)===null||Ue===void 0?void 0:Ue.show)},We)}),prefixCls:xe,suffix:ae&&b.createElement("span",{className:`${xe}-textarea-suffix`},de),showCount:Yt,ref:ue,onResize:At,onMouseDown:Je}))))})},23826:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Me}});var b=z(59301);function Me(pe,_e){const we=(0,b.useRef)([]),Se=()=>{we.current.push(setTimeout(()=>{var Pe,Xe,Ee,he;!((Pe=pe.current)===null||Pe===void 0)&&Pe.input&&((Xe=pe.current)===null||Xe===void 0?void 0:Xe.input.getAttribute("type"))==="password"&&(!((Ee=pe.current)===null||Ee===void 0)&&Ee.input.hasAttribute("value"))&&((he=pe.current)===null||he===void 0||he.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(_e&&Se(),()=>we.current.forEach(Pe=>{Pe&&clearTimeout(Pe)})),[]),Se}},37568:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return $t}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(48755),we=z(56553),Se=z(53075),Xe=Nt=>{const{getPrefixCls:le,direction:ne}=(0,b.useContext)(_e.E_),{prefixCls:te,className:ae}=Nt,de=le("input-group",te),re=le("input"),[ue,xe,tt]=(0,Se.ZP)(re),Ve=pe()(de,tt,{[`${de}-lg`]:Nt.size==="large",[`${de}-sm`]:Nt.size==="small",[`${de}-compact`]:Nt.compact,[`${de}-rtl`]:ne==="rtl"},xe,ae),We=(0,b.useContext)(we.aM),lt=(0,b.useMemo)(()=>Object.assign(Object.assign({},We),{isFormItemInput:!1}),[We]);return ue(b.createElement("span",{className:Ve,style:Nt.style,onMouseEnter:Nt.onMouseEnter,onMouseLeave:Nt.onMouseLeave,onFocus:Nt.onFocus,onBlur:Nt.onBlur},b.createElement(we.aM.Provider,{value:lt},Nt.children)))},Ee=z(49397),he=z(77654),ut=z(6089),Be=z(26112),bt=z(82855),it=z(31756),He=z(16931),Fe=z(51636),Te=z(64910);const ot=Nt=>{const{componentCls:le,paddingXS:ne}=Nt;return{[le]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${le}-input`]:{textAlign:"center",paddingInline:Nt.paddingXXS},[`&${le}-sm ${le}-input`]:{paddingInline:Nt.calc(Nt.paddingXXS).div(2).equal()},[`&${le}-lg ${le}-input`]:{paddingInline:Nt.paddingXS}}}};var Ct=(0,He.I$)(["Input","OTP"],Nt=>{const le=(0,Fe.mergeToken)(Nt,(0,Te.e)(Nt));return[ot(le)]},Te.T),tn=z(16089),se=function(Nt,le){var ne={};for(var te in Nt)Object.prototype.hasOwnProperty.call(Nt,te)&&le.indexOf(te)<0&&(ne[te]=Nt[te]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Nt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Nt,te[ae])&&(ne[te[ae]]=Nt[te[ae]]);return ne},dt=b.forwardRef((Nt,le)=>{const{value:ne,onChange:te,onActiveChange:ae,index:de,mask:re}=Nt,ue=se(Nt,["value","onChange","onActiveChange","index","mask"]),xe=ne&&typeof re=="string"?re:ne,tt=Dt=>{te(de,Dt.target.value)},Ve=b.useRef(null);b.useImperativeHandle(le,()=>Ve.current);const We=()=>{(0,tn.Z)(()=>{var Dt;const Oe=(Dt=Ve.current)===null||Dt===void 0?void 0:Dt.input;document.activeElement===Oe&&Oe&&Oe.select()})},lt=Dt=>{const{key:Oe,ctrlKey:ze,metaKey:on}=Dt;Oe==="ArrowLeft"?ae(de-1):Oe==="ArrowRight"?ae(de+1):Oe==="z"&&(ze||on)&&Dt.preventDefault(),We()},ht=Dt=>{Dt.key==="Backspace"&&!ne&&ae(de-1),We()};return b.createElement(Ee.Z,Object.assign({type:re===!0?"password":"text"},ue,{ref:Ve,value:xe,onInput:tt,onFocus:We,onKeyDown:lt,onKeyUp:ht,onMouseDown:We,onMouseUp:We}))}),yt=function(Nt,le){var ne={};for(var te in Nt)Object.prototype.hasOwnProperty.call(Nt,te)&&le.indexOf(te)<0&&(ne[te]=Nt[te]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Nt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Nt,te[ae])&&(ne[te[ae]]=Nt[te[ae]]);return ne};function kt(Nt){return(Nt||"").split("")}const Ue=Nt=>{const{index:le,prefixCls:ne,separator:te}=Nt,ae=typeof te=="function"?te(le):te;return ae?b.createElement("span",{className:`${ne}-separator`},ae):null};var ct=b.forwardRef((Nt,le)=>{const{prefixCls:ne,length:te=6,size:ae,defaultValue:de,value:re,onChange:ue,formatter:xe,separator:tt,variant:Ve,disabled:We,status:lt,autoFocus:ht,mask:Dt,type:Oe,onInput:ze,inputMode:on}=Nt,Rt=yt(Nt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:vn,direction:Bt}=b.useContext(_e.E_),at=vn("otp",ne),pt=(0,Be.Z)(Rt,{aria:!0,data:!0,attr:!0}),[Gt,Je,At]=Ct(at),Jt=(0,it.Z)(qt=>ae!=null?ae:qt),an=b.useContext(we.aM),Le=(0,bt.F)(an.status,lt),Et=b.useMemo(()=>Object.assign(Object.assign({},an),{status:Le,hasFeedback:!1,feedbackIcon:null}),[an,Le]),zt=b.useRef(null),rn=b.useRef({});b.useImperativeHandle(le,()=>({focus:()=>{var qt;(qt=rn.current[0])===null||qt===void 0||qt.focus()},blur:()=>{var qt;for(let jt=0;jt<te;jt+=1)(qt=rn.current[jt])===null||qt===void 0||qt.blur()},nativeElement:zt.current}));const yn=qt=>xe?xe(qt):qt,[Nn,Vn]=b.useState(()=>kt(yn(de||"")));b.useEffect(()=>{re!==void 0&&Vn(kt(re))},[re]);const Xn=(0,ut.Z)(qt=>{Vn(qt),ze&&ze(qt),ue&&qt.length===te&&qt.every(jt=>jt)&&qt.some((jt,Ot)=>Nn[Ot]!==jt)&&ue(qt.join(""))}),Bn=(0,ut.Z)((qt,jt)=>{let Ot=(0,he.Z)(Nn);for(let pn=0;pn<qt;pn+=1)Ot[pn]||(Ot[pn]="");jt.length<=1?Ot[qt]=jt:Ot=Ot.slice(0,qt).concat(kt(jt)),Ot=Ot.slice(0,te);for(let pn=Ot.length-1;pn>=0&&!Ot[pn];pn-=1)Ot.pop();const bn=yn(Ot.map(pn=>pn||" ").join(""));return Ot=kt(bn).map((pn,On)=>pn===" "&&!Ot[On]?Ot[On]:pn),Ot}),jn=(qt,jt)=>{var Ot;const bn=Bn(qt,jt),pn=Math.min(qt+jt.length,te-1);pn!==qt&&bn[qt]!==void 0&&((Ot=rn.current[pn])===null||Ot===void 0||Ot.focus()),Xn(bn)},wt=qt=>{var jt;(jt=rn.current[qt])===null||jt===void 0||jt.focus()},mt={variant:Ve,disabled:We,status:Le,mask:Dt,type:Oe,inputMode:on};return Gt(b.createElement("div",Object.assign({},pt,{ref:zt,className:pe()(at,{[`${at}-sm`]:Jt==="small",[`${at}-lg`]:Jt==="large",[`${at}-rtl`]:Bt==="rtl"},At,Je)}),b.createElement(we.aM.Provider,{value:Et},Array.from({length:te}).map((qt,jt)=>{const Ot=`otp-${jt}`,bn=Nn[jt]||"";return b.createElement(b.Fragment,{key:Ot},b.createElement(dt,Object.assign({ref:pn=>{rn.current[jt]=pn},index:jt,size:Jt,htmlSize:1,className:`${at}-input`,onChange:jn,value:bn,onActiveChange:wt,autoFocus:jt===0&&ht},mt)),jt<te-1&&b.createElement(Ue,{separator:tt,index:jt,prefixCls:at}))}))))}),De=z(73331),gt=z(15277),Ye=z(2738),fe=z(8654),Ft=z(2171),Ge=z(23826),xt=function(Nt,le){var ne={};for(var te in Nt)Object.prototype.hasOwnProperty.call(Nt,te)&&le.indexOf(te)<0&&(ne[te]=Nt[te]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Nt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Nt,te[ae])&&(ne[te[ae]]=Nt[te[ae]]);return ne};const fn=Nt=>Nt?b.createElement(gt.Z,null):b.createElement(De.Z,null),ke={click:"onClick",hover:"onMouseOver"};var Yt=b.forwardRef((Nt,le)=>{const{disabled:ne,action:te="click",visibilityToggle:ae=!0,iconRender:de=fn}=Nt,re=b.useContext(Ft.Z),ue=ne!=null?ne:re,xe=typeof ae=="object"&&ae.visible!==void 0,[tt,Ve]=(0,b.useState)(()=>xe?ae.visible:!1),We=(0,b.useRef)(null);b.useEffect(()=>{xe&&Ve(ae.visible)},[xe,ae]);const lt=(0,Ge.Z)(We),ht=()=>{var Jt;if(ue)return;tt&<();const an=!tt;Ve(an),typeof ae=="object"&&((Jt=ae.onVisibleChange)===null||Jt===void 0||Jt.call(ae,an))},Dt=Jt=>{const an=ke[te]||"",Le=de(tt),Et={[an]:ht,className:`${Jt}-icon`,key:"passwordIcon",onMouseDown:zt=>{zt.preventDefault()},onMouseUp:zt=>{zt.preventDefault()}};return b.cloneElement(b.isValidElement(Le)?Le:b.createElement("span",null,Le),Et)},{className:Oe,prefixCls:ze,inputPrefixCls:on,size:Rt}=Nt,vn=xt(Nt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Bt}=b.useContext(_e.E_),at=Bt("input",on),pt=Bt("input-password",ze),Gt=ae&&Dt(pt),Je=pe()(pt,Oe,{[`${pt}-${Rt}`]:!!Rt}),At=Object.assign(Object.assign({},(0,Ye.Z)(vn,["suffix","iconRender","visibilityToggle"])),{type:tt?"text":"password",className:Je,prefixCls:at,suffix:Gt});return Rt&&(At.size=Rt),b.createElement(Ee.Z,Object.assign({ref:(0,fe.sQ)(le,We)},At))}),ln=z(47472),Xt=z(22703),ge=z(7939),Re=z(70045),qe=function(Nt,le){var ne={};for(var te in Nt)Object.prototype.hasOwnProperty.call(Nt,te)&&le.indexOf(te)<0&&(ne[te]=Nt[te]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Nt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Nt,te[ae])&&(ne[te[ae]]=Nt[te[ae]]);return ne},rt=b.forwardRef((Nt,le)=>{const{prefixCls:ne,inputPrefixCls:te,className:ae,size:de,suffix:re,enterButton:ue=!1,addonAfter:xe,loading:tt,disabled:Ve,onSearch:We,onChange:lt,onCompositionStart:ht,onCompositionEnd:Dt}=Nt,Oe=qe(Nt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ze,direction:on}=b.useContext(_e.E_),Rt=b.useRef(!1),vn=ze("input-search",ne),Bt=ze("input",te),{compactSize:at}=(0,Re.ri)(vn,on),pt=(0,it.Z)(jn=>{var wt;return(wt=de!=null?de:at)!==null&&wt!==void 0?wt:jn}),Gt=b.useRef(null),Je=jn=>{jn!=null&&jn.target&&jn.type==="click"&&We&&We(jn.target.value,jn,{source:"clear"}),lt==null||lt(jn)},At=jn=>{var wt;document.activeElement===((wt=Gt.current)===null||wt===void 0?void 0:wt.input)&&jn.preventDefault()},Jt=jn=>{var wt,mt;We&&We((mt=(wt=Gt.current)===null||wt===void 0?void 0:wt.input)===null||mt===void 0?void 0:mt.value,jn,{source:"input"})},an=jn=>{Rt.current||tt||Jt(jn)},Le=typeof ue=="boolean"?b.createElement(ln.Z,null):null,Et=`${vn}-button`;let zt;const rn=ue||{},yn=rn.type&&rn.type.__ANT_BUTTON===!0;yn||rn.type==="button"?zt=(0,Xt.Tm)(rn,Object.assign({onMouseDown:At,onClick:jn=>{var wt,mt;(mt=(wt=rn==null?void 0:rn.props)===null||wt===void 0?void 0:wt.onClick)===null||mt===void 0||mt.call(wt,jn),Jt(jn)},key:"enterButton"},yn?{className:Et,size:pt}:{})):zt=b.createElement(ge.ZP,{className:Et,type:ue?"primary":void 0,size:pt,disabled:Ve,key:"enterButton",onMouseDown:At,onClick:Jt,loading:tt,icon:Le},ue),xe&&(zt=[zt,(0,Xt.Tm)(xe,{key:"addonAfter"})]);const Nn=pe()(vn,{[`${vn}-rtl`]:on==="rtl",[`${vn}-${pt}`]:!!pt,[`${vn}-with-button`]:!!ue},ae),Vn=Object.assign(Object.assign({},Oe),{className:Nn,prefixCls:Bt,type:"search"}),Xn=jn=>{Rt.current=!0,ht==null||ht(jn)},Bn=jn=>{Rt.current=!1,Dt==null||Dt(jn)};return b.createElement(Ee.Z,Object.assign({ref:(0,fe.sQ)(Gt,le),onPressEnter:an},Vn,{size:pt,onCompositionStart:Xn,onCompositionEnd:Bn,addonAfter:zt,suffix:re,onChange:Je,disabled:Ve}))}),Zt=z(79809);const st=Ee.Z;st.Group=Xe,st.Search=rt,st.TextArea=Zt.Z,st.Password=Yt,st.OTP=ct;var $t=st},24303:function(Tn,cn,z){"use strict";z.d(cn,{D:function(){return yt},Z:function(){return Ke}});var b=z(59301),Me=z(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"},_e=pe,we=z(7657),Se=function(De,gt){return b.createElement(we.Z,(0,Me.Z)({},De,{ref:gt,icon:_e}))},Pe=b.forwardRef(Se),Xe=Pe,Ee=z(33853),he=z(38819),ut=z(92310),Be=z.n(ut),bt=z(2738),it=z(48755),He=z(6989),Fe=z(36237),Te=z(48923),ot=z(16931);const Ct=ct=>{const{componentCls:De,siderBg:gt,motionDurationMid:Ye,motionDurationSlow:fe,antCls:Ft,triggerHeight:Ge,triggerColor:xt,triggerBg:fn,headerHeight:ke,zeroTriggerWidth:be,zeroTriggerHeight:Yt,borderRadiusLG:ln,lightSiderBg:Xt,lightTriggerColor:ge,lightTriggerBg:Re,bodyBg:qe}=ct;return{[De]:{position:"relative",minWidth:0,background:gt,transition:`all ${Ye}, background 0s`,"&-has-trigger":{paddingBottom:Ge},"&-right":{order:1},[`${De}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ft}-menu${Ft}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${De}-children`]:{overflow:"hidden"},[`${De}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Ge,color:xt,lineHeight:(0,Fe.unit)(Ge),textAlign:"center",background:fn,cursor:"pointer",transition:`all ${Ye}`},[`${De}-zero-width-trigger`]:{position:"absolute",top:ke,insetInlineEnd:ct.calc(be).mul(-1).equal(),zIndex:1,width:be,height:Yt,color:xt,fontSize:ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:gt,borderRadius:`0 ${(0,Fe.unit)(ln)} ${(0,Fe.unit)(ln)} 0`,cursor:"pointer",transition:`background ${fe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${fe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ct.calc(be).mul(-1).equal(),borderRadius:`${(0,Fe.unit)(ln)} 0 0 ${(0,Fe.unit)(ln)}`}},"&-light":{background:Xt,[`${De}-trigger`]:{color:ge,background:Re},[`${De}-zero-width-trigger`]:{color:ge,background:Re,border:`1px solid ${qe}`,borderInlineStart:0}}}}};var tn=(0,ot.I$)(["Layout","Sider"],ct=>[Ct(ct)],Te.eh,{deprecatedTokens:Te.jn}),se=function(ct,De){var gt={};for(var Ye in ct)Object.prototype.hasOwnProperty.call(ct,Ye)&&De.indexOf(Ye)<0&&(gt[Ye]=ct[Ye]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Ye=Object.getOwnPropertySymbols(ct);fe<Ye.length;fe++)De.indexOf(Ye[fe])<0&&Object.prototype.propertyIsEnumerable.call(ct,Ye[fe])&&(gt[Ye[fe]]=ct[Ye[fe]]);return gt};const Ie={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},dt=ct=>!Number.isNaN(Number.parseFloat(ct))&&isFinite(ct),yt=b.createContext({}),kt=(()=>{let ct=0;return function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ct+=1,`${De}${ct}`}})();var Ke=b.forwardRef((ct,De)=>{const{prefixCls:gt,className:Ye,trigger:fe,children:Ft,defaultCollapsed:Ge=!1,theme:xt="dark",style:fn={},collapsible:ke=!1,reverseArrow:be=!1,width:Yt=200,collapsedWidth:ln=80,zeroWidthTriggerStyle:Xt,breakpoint:ge,onCollapse:Re,onBreakpoint:qe}=ct,Vt=se(ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:rt}=(0,b.useContext)(He.V),[Zt,st]=(0,b.useState)("collapsed"in ct?ct.collapsed:Ge),[$t,Nt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in ct&&st(ct.collapsed)},[ct.collapsed]);const le=(pt,Gt)=>{"collapsed"in ct||st(pt),Re==null||Re(pt,Gt)},{getPrefixCls:ne,direction:te}=(0,b.useContext)(it.E_),ae=ne("layout-sider",gt),[de,re,ue]=tn(ae),xe=(0,b.useRef)(null);xe.current=pt=>{Nt(pt.matches),qe==null||qe(pt.matches),Zt!==pt.matches&&le(pt.matches,"responsive")},(0,b.useEffect)(()=>{function pt(Je){return xe.current(Je)}let Gt;if(typeof window!="undefined"){const{matchMedia:Je}=window;if(Je&&ge&&ge in Ie){Gt=Je(`screen and (max-width: ${Ie[ge]})`);try{Gt.addEventListener("change",pt)}catch(At){Gt.addListener(pt)}pt(Gt)}}return()=>{try{Gt==null||Gt.removeEventListener("change",pt)}catch(Je){Gt==null||Gt.removeListener(pt)}}},[ge]),(0,b.useEffect)(()=>{const pt=kt("ant-sider-");return rt.addSider(pt),()=>rt.removeSider(pt)},[]);const tt=()=>{le(!Zt,"clickTrigger")},Ve=(0,bt.Z)(Vt,["collapsed"]),We=Zt?ln:Yt,lt=dt(We)?`${We}px`:String(We),ht=parseFloat(String(ln||0))===0?b.createElement("span",{onClick:tt,className:Be()(`${ae}-zero-width-trigger`,`${ae}-zero-width-trigger-${be?"right":"left"}`),style:Xt},fe||b.createElement(Xe,null)):null,Dt=te==="rtl"==!be,on={expanded:Dt?b.createElement(he.Z,null):b.createElement(Ee.Z,null),collapsed:Dt?b.createElement(Ee.Z,null):b.createElement(he.Z,null)}[Zt?"collapsed":"expanded"],Rt=fe!==null?ht||b.createElement("div",{className:`${ae}-trigger`,onClick:tt,style:{width:lt}},fe||on):null,vn=Object.assign(Object.assign({},fn),{flex:`0 0 ${lt}`,maxWidth:lt,minWidth:lt,width:lt}),Bt=Be()(ae,`${ae}-${xt}`,{[`${ae}-collapsed`]:!!Zt,[`${ae}-has-trigger`]:ke&&fe!==null&&!ht,[`${ae}-below`]:!!$t,[`${ae}-zero-width`]:parseFloat(lt)===0},Ye,re,ue),at=b.useMemo(()=>({siderCollapsed:Zt}),[Zt]);return de(b.createElement(yt.Provider,{value:at},b.createElement("aside",Object.assign({className:Bt},Ve,{style:vn,ref:De}),b.createElement("div",{className:`${ae}-children`},Ft),ke||$t&&ht?Rt:null)))})},6989:function(Tn,cn,z){"use strict";z.d(cn,{V:function(){return Me}});var b=z(59301);const Me=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Tn,cn,z){"use strict";z.d(cn,{eh:function(){return _e},jn:function(){return we}});var b=z(36237),Me=z(16931);const pe=Se=>{const{antCls:Pe,componentCls:Xe,colorText:Ee,footerBg:he,headerHeight:ut,headerPadding:Be,headerColor:bt,footerPadding:it,fontSize:He,bodyBg:Fe,headerBg:Te}=Se;return{[Xe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Fe,"&, *":{boxSizing:"border-box"},[`&${Xe}-has-sider`]:{flexDirection:"row",[`> ${Xe}, > ${Xe}-content`]:{width:0}},[`${Xe}-header, &${Xe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Xe}-header`]:{height:ut,padding:Be,color:bt,lineHeight:(0,b.unit)(ut),background:Te,[`${Pe}-menu`]:{lineHeight:"inherit"}},[`${Xe}-footer`]:{padding:it,color:Ee,fontSize:He,background:he},[`${Xe}-content`]:{flex:"auto",color:Ee,minHeight:0}}},_e=Se=>{const{colorBgLayout:Pe,controlHeight:Xe,controlHeightLG:Ee,colorText:he,controlHeightSM:ut,marginXXS:Be,colorTextLightSolid:bt,colorBgContainer:it}=Se,He=Ee*1.25;return{colorBgHeader:"#001529",colorBgBody:Pe,colorBgTrigger:"#002140",bodyBg:Pe,headerBg:"#001529",headerHeight:Xe*2,headerPadding:`0 ${He}px`,headerColor:he,footerPadding:`${ut}px ${He}px`,footerBg:Pe,siderBg:"#001529",triggerHeight:Ee+Be*2,triggerBg:"#002140",triggerColor:bt,zeroTriggerWidth:Ee,zeroTriggerHeight:Ee,lightSiderBg:it,lightTriggerBg:it,lightTriggerColor:he}},we=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];cn.ZP=(0,Me.I$)("Layout",Se=>[pe(Se)],_e,{deprecatedTokens:we})},78857:function(Tn,cn,z){"use strict";z.d(cn,{J:function(){return Se}});var b=z(59301),Me=z(8654),pe=z(62487),_e=function(Pe,Xe){var Ee={};for(var he in Pe)Object.prototype.hasOwnProperty.call(Pe,he)&&Xe.indexOf(he)<0&&(Ee[he]=Pe[he]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,he=Object.getOwnPropertySymbols(Pe);ut<he.length;ut++)Xe.indexOf(he[ut])<0&&Object.prototype.propertyIsEnumerable.call(Pe,he[ut])&&(Ee[he[ut]]=Pe[he[ut]]);return Ee};const we=b.createContext(null),Se=b.forwardRef((Pe,Xe)=>{const{children:Ee}=Pe,he=_e(Pe,["children"]),ut=b.useContext(we),Be=b.useMemo(()=>Object.assign(Object.assign({},ut),he),[ut,he.prefixCls,he.mode,he.selectable,he.rootClassName]),bt=(0,Me.t4)(Ee),it=(0,Me.x1)(Xe,bt?(0,Me.C4)(Ee):null);return b.createElement(we.Provider,{value:Be},b.createElement(pe.Z,{space:!0},bt?b.cloneElement(Ee,{ref:it}):Ee))});cn.Z=we},93041:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return de}});var b=z(59301),Me=z(28321),pe=z(24303),_e=z(18785),we=z(92310),Se=z.n(we),Pe=z(6089),Xe=z(2738),Ee=z(86641),he=z(22703),ut=z(48755),Be=z(83397),it=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),He=function(re,ue){var xe={};for(var tt in re)Object.prototype.hasOwnProperty.call(re,tt)&&ue.indexOf(tt)<0&&(xe[tt]=re[tt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,tt=Object.getOwnPropertySymbols(re);Ve<tt.length;Ve++)ue.indexOf(tt[Ve])<0&&Object.prototype.propertyIsEnumerable.call(re,tt[Ve])&&(xe[tt[Ve]]=re[tt[Ve]]);return xe},Te=re=>{const{prefixCls:ue,className:xe,dashed:tt}=re,Ve=He(re,["prefixCls","className","dashed"]),{getPrefixCls:We}=b.useContext(ut.E_),lt=We("menu",ue),ht=Se()({[`${lt}-item-divider-dashed`]:!!tt},xe);return b.createElement(Me.iz,Object.assign({className:ht},Ve))},ot=z(11592),Ct=z(25399),se=re=>{var ue;const{className:xe,children:tt,icon:Ve,title:We,danger:lt,extra:ht}=re,{prefixCls:Dt,firstLevel:Oe,direction:ze,disableMenuItemTitleTooltip:on,inlineCollapsed:Rt}=b.useContext(it),vn=At=>{const Jt=tt==null?void 0:tt[0],an=b.createElement("span",{className:Se()(`${Dt}-title-content`,{[`${Dt}-title-content-with-extra`]:!!ht||ht===0})},tt);return(!Ve||b.isValidElement(tt)&&tt.type==="span")&&tt&&At&&Oe&&typeof Jt=="string"?b.createElement("div",{className:`${Dt}-inline-collapsed-noicon`},Jt.charAt(0)):an},{siderCollapsed:Bt}=b.useContext(pe.D);let at=We;typeof We=="undefined"?at=Oe?tt:"":We===!1&&(at="");const pt={title:at};!Bt&&!Rt&&(pt.title=null,pt.open=!1);const Gt=(0,ot.Z)(tt).length;let Je=b.createElement(Me.ck,Object.assign({},(0,Xe.Z)(re,["title","icon","danger"]),{className:Se()({[`${Dt}-item-danger`]:lt,[`${Dt}-item-only-child`]:(Ve?Gt+1:Gt)===1},xe),title:typeof We=="string"?We:void 0}),(0,he.Tm)(Ve,{className:Se()(b.isValidElement(Ve)?(ue=Ve.props)===null||ue===void 0?void 0:ue.className:"",`${Dt}-item-icon`)}),vn(Rt));return on||(Je=b.createElement(Ct.Z,Object.assign({},pt,{placement:ze==="rtl"?"left":"right",classNames:{root:`${Dt}-inline-collapsed-tooltip`}}),Je)),Je},Ie=z(78857),dt=z(36237),yt=z(17835),kt=z(63356),Ue=z(34961),Ke=z(46e3),ct=z(34925),De=z(16931),gt=z(51636),fe=re=>{const{componentCls:ue,motionDurationSlow:xe,horizontalLineHeight:tt,colorSplit:Ve,lineWidth:We,lineType:lt,itemPaddingInline:ht}=re;return{[`${ue}-horizontal`]:{lineHeight:tt,border:0,borderBottom:`${(0,dt.unit)(We)} ${lt} ${Ve}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ue}-item, ${ue}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ht},[`> ${ue}-item:hover,
|
|
|
> ${ue}-item-active,
|
|
|
> ${ue}-submenu ${ue}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ue}-item, ${ue}-submenu-title`]:{transition:[`border-color ${xe}`,`background ${xe}`].join(",")},[`${ue}-submenu-arrow`]:{display:"none"}}}},Ge=re=>{let{componentCls:ue,menuArrowOffset:xe,calc:tt}=re;return{[`${ue}-rtl`]:{direction:"rtl"},[`${ue}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ue}-rtl${ue}-vertical,
|
|
|
${ue}-submenu-rtl ${ue}-vertical`]:{[`${ue}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(tt(xe).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,dt.unit)(xe)})`}}}}};const xt=re=>Object.assign({},(0,kt.oN)(re));var ke=(re,ue)=>{const{componentCls:xe,itemColor:tt,itemSelectedColor:Ve,subMenuItemSelectedColor:We,groupTitleColor:lt,itemBg:ht,subMenuItemBg:Dt,itemSelectedBg:Oe,activeBarHeight:ze,activeBarWidth:on,activeBarBorderWidth:Rt,motionDurationSlow:vn,motionEaseInOut:Bt,motionEaseOut:at,itemPaddingInline:pt,motionDurationMid:Gt,itemHoverColor:Je,lineType:At,colorSplit:Jt,itemDisabledColor:an,dangerItemColor:Le,dangerItemHoverColor:Et,dangerItemSelectedColor:zt,dangerItemActiveBg:rn,dangerItemSelectedBg:yn,popupBg:Nn,itemHoverBg:Vn,itemActiveBg:Xn,menuSubMenuBg:Bn,horizontalItemSelectedColor:jn,horizontalItemSelectedBg:wt,horizontalItemBorderRadius:mt,horizontalItemHoverBg:qt}=re;return{[`${xe}-${ue}, ${xe}-${ue} > ${xe}`]:{color:tt,background:ht,[`&${xe}-root:focus-visible`]:Object.assign({},xt(re)),[`${xe}-item`]:{"&-group-title, &-extra":{color:lt}},[`${xe}-submenu-selected > ${xe}-submenu-title`]:{color:We},[`${xe}-item, ${xe}-submenu-title`]:{color:tt,[`&:not(${xe}-item-disabled):focus-visible`]:Object.assign({},xt(re))},[`${xe}-item-disabled, ${xe}-submenu-disabled`]:{color:`${an} !important`},[`${xe}-item:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{[`&:hover, > ${xe}-submenu-title:hover`]:{color:Je}},[`&:not(${xe}-horizontal)`]:{[`${xe}-item:not(${xe}-item-selected)`]:{"&:hover":{backgroundColor:Vn},"&:active":{backgroundColor:Xn}},[`${xe}-submenu-title`]:{"&:hover":{backgroundColor:Vn},"&:active":{backgroundColor:Xn}}},[`${xe}-item-danger`]:{color:Le,[`&${xe}-item:hover`]:{[`&:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{color:Et}},[`&${xe}-item:active`]:{background:rn}},[`${xe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${xe}-item-selected`]:{color:Ve,[`&${xe}-item-danger`]:{color:zt},"a, a:hover":{color:"inherit"}},[`& ${xe}-item-selected`]:{backgroundColor:Oe,[`&${xe}-item-danger`]:{backgroundColor:yn}},[`&${xe}-submenu > ${xe}`]:{backgroundColor:Bn},[`&${xe}-popup > ${xe}`]:{backgroundColor:Nn},[`&${xe}-submenu-popup > ${xe}`]:{backgroundColor:Nn},[`&${xe}-horizontal`]:Object.assign(Object.assign({},ue==="dark"?{borderBottom:0}:{}),{[`> ${xe}-item, > ${xe}-submenu`]:{top:Rt,marginTop:re.calc(Rt).mul(-1).equal(),marginBottom:0,borderRadius:mt,"&::after":{position:"absolute",insetInline:pt,bottom:0,borderBottom:`${(0,dt.unit)(ze)} solid transparent`,transition:`border-color ${vn} ${Bt}`,content:'""'},"&:hover, &-active, &-open":{background:qt,"&::after":{borderBottomWidth:ze,borderBottomColor:jn}},"&-selected":{color:jn,backgroundColor:wt,"&:hover":{backgroundColor:wt},"&::after":{borderBottomWidth:ze,borderBottomColor:jn}}}}),[`&${xe}-root`]:{[`&${xe}-inline, &${xe}-vertical`]:{borderInlineEnd:`${(0,dt.unit)(Rt)} ${At} ${Jt}`}},[`&${xe}-inline`]:{[`${xe}-sub${xe}-inline`]:{background:Dt},[`${xe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,dt.unit)(on)} solid ${Ve}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Gt} ${at}`,`opacity ${Gt} ${at}`].join(","),content:'""'},[`&${xe}-item-danger`]:{"&::after":{borderInlineEndColor:zt}}},[`${xe}-selected, ${xe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Gt} ${Bt}`,`opacity ${Gt} ${Bt}`].join(",")}}}}}};const be=re=>{const{componentCls:ue,itemHeight:xe,itemMarginInline:tt,padding:Ve,menuArrowSize:We,marginXS:lt,itemMarginBlock:ht,itemWidth:Dt,itemPaddingInline:Oe}=re,ze=re.calc(We).add(Ve).add(lt).equal();return{[`${ue}-item`]:{position:"relative",overflow:"hidden"},[`${ue}-item, ${ue}-submenu-title`]:{height:xe,lineHeight:(0,dt.unit)(xe),paddingInline:Oe,overflow:"hidden",textOverflow:"ellipsis",marginInline:tt,marginBlock:ht,width:Dt},[`> ${ue}-item,
|
|
|
> ${ue}-submenu > ${ue}-submenu-title`]:{height:xe,lineHeight:(0,dt.unit)(xe)},[`${ue}-item-group-list ${ue}-submenu-title,
|
|
|
${ue}-submenu-title`]:{paddingInlineEnd:ze}}};var ln=re=>{const{componentCls:ue,iconCls:xe,itemHeight:tt,colorTextLightSolid:Ve,dropdownWidth:We,controlHeightLG:lt,motionEaseOut:ht,paddingXL:Dt,itemMarginInline:Oe,fontSizeLG:ze,motionDurationFast:on,motionDurationSlow:Rt,paddingXS:vn,boxShadowSecondary:Bt,collapsedWidth:at,collapsedIconSize:pt}=re,Gt={height:tt,lineHeight:(0,dt.unit)(tt),listStylePosition:"inside",listStyleType:"disc"};return[{[ue]:{"&-inline, &-vertical":Object.assign({[`&${ue}-root`]:{boxShadow:"none"}},be(re))},[`${ue}-submenu-popup`]:{[`${ue}-vertical`]:Object.assign(Object.assign({},be(re)),{boxShadow:Bt})}},{[`${ue}-submenu-popup ${ue}-vertical${ue}-sub`]:{minWidth:We,maxHeight:`calc(100vh - ${(0,dt.unit)(re.calc(lt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ue}-inline`]:{width:"100%",[`&${ue}-root`]:{[`${ue}-item, ${ue}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Rt}`,`background ${Rt}`,`padding ${on} ${ht}`].join(","),[`> ${ue}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ue}-sub${ue}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ue}-submenu > ${ue}-submenu-title`]:Gt,[`& ${ue}-item-group-title`]:{paddingInlineStart:Dt}},[`${ue}-item`]:Gt}},{[`${ue}-inline-collapsed`]:{width:at,[`&${ue}-root`]:{[`${ue}-item, ${ue}-submenu ${ue}-submenu-title`]:{[`> ${ue}-inline-collapsed-noicon`]:{fontSize:ze,textAlign:"center"}}},[`> ${ue}-item,
|
|
|
> ${ue}-item-group > ${ue}-item-group-list > ${ue}-item,
|
|
|
> ${ue}-item-group > ${ue}-item-group-list > ${ue}-submenu > ${ue}-submenu-title,
|
|
|
> ${ue}-submenu > ${ue}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,dt.unit)(re.calc(pt).div(2).equal())} - ${(0,dt.unit)(Oe)})`,textOverflow:"clip",[`
|
|
|
${ue}-submenu-arrow,
|
|
|
${ue}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${ue}-item-icon, ${xe}`]:{margin:0,fontSize:pt,lineHeight:(0,dt.unit)(tt),"+ span":{display:"inline-block",opacity:0}}},[`${ue}-item-icon, ${xe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ue}-item-icon, ${xe}`]:{display:"none"},"a, a:hover":{color:Ve}},[`${ue}-item-group-title`]:Object.assign(Object.assign({},kt.vS),{paddingInline:vn})}}]};const Xt=re=>{const{componentCls:ue,motionDurationSlow:xe,motionDurationMid:tt,motionEaseInOut:Ve,motionEaseOut:We,iconCls:lt,iconSize:ht,iconMarginInlineEnd:Dt}=re;return{[`${ue}-item, ${ue}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${xe}`,`background ${xe}`,`padding calc(${xe} + 0.1s) ${Ve}`].join(","),[`${ue}-item-icon, ${lt}`]:{minWidth:ht,fontSize:ht,transition:[`font-size ${tt} ${We}`,`margin ${xe} ${Ve}`,`color ${xe}`].join(","),"+ span":{marginInlineStart:Dt,opacity:1,transition:[`opacity ${xe} ${Ve}`,`margin ${xe}`,`color ${xe}`].join(",")}},[`${ue}-item-icon`]:Object.assign({},(0,kt.Ro)()),[`&${ue}-item-only-child`]:{[`> ${lt}, > ${ue}-item-icon`]:{marginInlineEnd:0}}},[`${ue}-item-disabled, ${ue}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${ue}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ge=re=>{const{componentCls:ue,motionDurationSlow:xe,motionEaseInOut:tt,borderRadius:Ve,menuArrowSize:We,menuArrowOffset:lt}=re;return{[`${ue}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:We,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${xe} ${tt}, opacity ${xe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(We).mul(.6).equal(),height:re.calc(We).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ve,transition:[`background ${xe} ${tt}`,`transform ${xe} ${tt}`,`top ${xe} ${tt}`,`color ${xe} ${tt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,dt.unit)(re.calc(lt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(lt)})`}}}}},Re=re=>{const{antCls:ue,componentCls:xe,fontSize:tt,motionDurationSlow:Ve,motionDurationMid:We,motionEaseInOut:lt,paddingXS:ht,padding:Dt,colorSplit:Oe,lineWidth:ze,zIndexPopup:on,borderRadiusLG:Rt,subMenuItemBorderRadius:vn,menuArrowSize:Bt,menuArrowOffset:at,lineType:pt,groupTitleLineHeight:Gt,groupTitleFontSize:Je}=re;return[{"":{[xe]:Object.assign(Object.assign({},(0,kt.dF)()),{"&-hidden":{display:"none"}})},[`${xe}-submenu-hidden`]:{display:"none"}},{[xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,kt.Wf)(re)),(0,kt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:tt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ve} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${xe}-item`]:{flex:"none"}},[`${xe}-item, ${xe}-submenu, ${xe}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${xe}-item-group-title`]:{padding:`${(0,dt.unit)(ht)} ${(0,dt.unit)(Dt)}`,fontSize:Je,lineHeight:Gt,transition:`all ${Ve}`},[`&-horizontal ${xe}-submenu`]:{transition:[`border-color ${Ve} ${lt}`,`background ${Ve} ${lt}`].join(",")},[`${xe}-submenu, ${xe}-submenu-inline`]:{transition:[`border-color ${Ve} ${lt}`,`background ${Ve} ${lt}`,`padding ${We} ${lt}`].join(",")},[`${xe}-submenu ${xe}-sub`]:{cursor:"initial",transition:[`background ${Ve} ${lt}`,`padding ${Ve} ${lt}`].join(",")},[`${xe}-title-content`]:{transition:`color ${Ve}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${ue}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${xe}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${xe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${xe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Oe,borderStyle:pt,borderWidth:0,borderTopWidth:ze,marginBlock:ze,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Xt(re)),{[`${xe}-item-group`]:{[`${xe}-item-group-list`]:{margin:0,padding:0,[`${xe}-item, ${xe}-submenu-title`]:{paddingInline:`${(0,dt.unit)(re.calc(tt).mul(2).equal())} ${(0,dt.unit)(Dt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:on,borderRadius:Rt,boxShadow:"none",transformOrigin:"0 0",[`&${xe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${xe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Rt},Xt(re)),ge(re)),{[`${xe}-item, ${xe}-submenu > ${xe}-submenu-title`]:{borderRadius:vn},[`${xe}-submenu-title::after`]:{transition:`transform ${Ve} ${lt}`}})},"\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:re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:re.paddingXS}}}),ge(re)),{[`&-inline-collapsed ${xe}-submenu-arrow,
|
|
|
&-inline ${xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(at)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,dt.unit)(re.calc(at).mul(-1).equal())})`}},[`${xe}-submenu-open${xe}-submenu-inline > ${xe}-submenu-title > ${xe}-submenu-arrow`]:{transform:`translateY(${(0,dt.unit)(re.calc(Bt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(re.calc(at).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,dt.unit)(at)})`}}})},{[`${ue}-layout-header`]:{[xe]:{lineHeight:"inherit"}}}]},qe=re=>{var ue,xe,tt;const{colorPrimary:Ve,colorError:We,colorTextDisabled:lt,colorErrorBg:ht,colorText:Dt,colorTextDescription:Oe,colorBgContainer:ze,colorFillAlter:on,colorFillContent:Rt,lineWidth:vn,lineWidthBold:Bt,controlItemBgActive:at,colorBgTextHover:pt,controlHeightLG:Gt,lineHeight:Je,colorBgElevated:At,marginXXS:Jt,padding:an,fontSize:Le,controlHeightSM:Et,fontSizeLG:zt,colorTextLightSolid:rn,colorErrorHover:yn}=re,Nn=(ue=re.activeBarWidth)!==null&&ue!==void 0?ue:0,Vn=(xe=re.activeBarBorderWidth)!==null&&xe!==void 0?xe:vn,Xn=(tt=re.itemMarginInline)!==null&&tt!==void 0?tt:re.marginXXS,Bn=new yt.FastColor(rn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:Dt,itemColor:Dt,colorItemTextHover:Dt,itemHoverColor:Dt,colorItemTextHoverHorizontal:Ve,horizontalItemHoverColor:Ve,colorGroupTitle:Oe,groupTitleColor:Oe,colorItemTextSelected:Ve,itemSelectedColor:Ve,subMenuItemSelectedColor:Ve,colorItemTextSelectedHorizontal:Ve,horizontalItemSelectedColor:Ve,colorItemBg:ze,itemBg:ze,colorItemBgHover:pt,itemHoverBg:pt,colorItemBgActive:Rt,itemActiveBg:at,colorSubItemBg:on,subMenuItemBg:on,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Nn,colorActiveBarHeight:Bt,activeBarHeight:Bt,colorActiveBarBorderSize:vn,activeBarBorderWidth:Vn,colorItemTextDisabled:lt,itemDisabledColor:lt,colorDangerItemText:We,dangerItemColor:We,colorDangerItemTextHover:We,dangerItemHoverColor:We,colorDangerItemTextSelected:We,dangerItemSelectedColor:We,colorDangerItemBgActive:ht,dangerItemActiveBg:ht,colorDangerItemBgSelected:ht,dangerItemSelectedBg:ht,itemMarginInline:Xn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Gt,groupTitleLineHeight:Je,collapsedWidth:Gt*2,popupBg:At,itemMarginBlock:Jt,itemPaddingInline:an,horizontalLineHeight:`${Gt*1.15}px`,iconSize:Le,iconMarginInlineEnd:Et-Le,collapsedIconSize:zt,groupTitleFontSize:Le,darkItemDisabledColor:new yt.FastColor(rn).setA(.25).toRgbString(),darkItemColor:Bn,darkDangerItemColor:We,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:rn,darkItemSelectedBg:Ve,darkDangerItemSelectedBg:We,darkItemHoverBg:"transparent",darkGroupTitleColor:Bn,darkItemHoverColor:rn,darkDangerItemHoverColor:yn,darkDangerItemSelectedColor:rn,darkDangerItemActiveBg:We,itemWidth:Nn?`calc(100% + ${Vn}px)`:`calc(100% - ${Xn*2}px)`}};var Vt=function(re){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,De.I$)("Menu",Ve=>{const{colorBgElevated:We,controlHeightLG:lt,fontSize:ht,darkItemColor:Dt,darkDangerItemColor:Oe,darkItemBg:ze,darkSubMenuItemBg:on,darkItemSelectedColor:Rt,darkItemSelectedBg:vn,darkDangerItemSelectedBg:Bt,darkItemHoverBg:at,darkGroupTitleColor:pt,darkItemHoverColor:Gt,darkItemDisabledColor:Je,darkDangerItemHoverColor:At,darkDangerItemSelectedColor:Jt,darkDangerItemActiveBg:an,popupBg:Le,darkPopupBg:Et}=Ve,zt=Ve.calc(ht).div(7).mul(5).equal(),rn=(0,gt.mergeToken)(Ve,{menuArrowSize:zt,menuHorizontalHeight:Ve.calc(lt).mul(1.15).equal(),menuArrowOffset:Ve.calc(zt).mul(.25).equal(),menuSubMenuBg:We,calc:Ve.calc,popupBg:Le}),yn=(0,gt.mergeToken)(rn,{itemColor:Dt,itemHoverColor:Gt,groupTitleColor:pt,itemSelectedColor:Rt,subMenuItemSelectedColor:Rt,itemBg:ze,popupBg:Et,subMenuItemBg:on,itemActiveBg:"transparent",itemSelectedBg:vn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:at,itemDisabledColor:Je,dangerItemColor:Oe,dangerItemHoverColor:At,dangerItemSelectedColor:Jt,dangerItemActiveBg:an,dangerItemSelectedBg:Bt,menuSubMenuBg:on,horizontalItemSelectedColor:Rt,horizontalItemSelectedBg:vn});return[Re(rn),fe(rn),ln(rn),ke(rn,"light"),ke(yn,"dark"),Ge(rn),(0,Ue.Z)(rn),(0,Ke.oN)(rn,"slide-up"),(0,Ke.oN)(rn,"slide-down"),(0,ct._y)(rn,"zoom-big")]},qe,{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:xe,unitless:{groupTitleLineHeight:!0}})(re,ue)},rt=z(75030),st=re=>{var ue;const{popupClassName:xe,icon:tt,title:Ve,theme:We}=re,lt=b.useContext(it),{prefixCls:ht,inlineCollapsed:Dt,theme:Oe}=lt,ze=(0,Me.Xl)();let on;if(!tt)on=Dt&&!ze.length&&Ve&&typeof Ve=="string"?b.createElement("div",{className:`${ht}-inline-collapsed-noicon`},Ve.charAt(0)):b.createElement("span",{className:`${ht}-title-content`},Ve);else{const Bt=b.isValidElement(Ve)&&Ve.type==="span";on=b.createElement(b.Fragment,null,(0,he.Tm)(tt,{className:Se()(b.isValidElement(tt)?(ue=tt.props)===null||ue===void 0?void 0:ue.className:"",`${ht}-item-icon`)}),Bt?Ve:b.createElement("span",{className:`${ht}-title-content`},Ve))}const Rt=b.useMemo(()=>Object.assign(Object.assign({},lt),{firstLevel:!1}),[lt]),[vn]=(0,rt.Cn)("Menu");return b.createElement(it.Provider,{value:Rt},b.createElement(Me.Wd,Object.assign({},(0,Xe.Z)(re,["icon"]),{title:on,popupClassName:Se()(ht,xe,`${ht}-${We||Oe}`),popupStyle:Object.assign({zIndex:vn},re.popupStyle)})))},$t=function(re,ue){var xe={};for(var tt in re)Object.prototype.hasOwnProperty.call(re,tt)&&ue.indexOf(tt)<0&&(xe[tt]=re[tt]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,tt=Object.getOwnPropertySymbols(re);Ve<tt.length;Ve++)ue.indexOf(tt[Ve])<0&&Object.prototype.propertyIsEnumerable.call(re,tt[Ve])&&(xe[tt[Ve]]=re[tt[Ve]]);return xe};function Nt(re){return re===null||re===!1}const le={item:se,submenu:st,divider:Te};var te=(0,b.forwardRef)((re,ue)=>{var xe;const tt=b.useContext(Ie.Z),Ve=tt||{},{getPrefixCls:We,getPopupContainer:lt,direction:ht,menu:Dt}=b.useContext(ut.E_),Oe=We(),{prefixCls:ze,className:on,style:Rt,theme:vn="light",expandIcon:Bt,_internalDisableMenuItemTitleTooltip:at,inlineCollapsed:pt,siderCollapsed:Gt,rootClassName:Je,mode:At,selectable:Jt,onClick:an,overflowedIndicatorPopupClassName:Le}=re,Et=$t(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),zt=(0,Xe.Z)(Et,["collapsedWidth"]);(xe=Ve.validator)===null||xe===void 0||xe.call(Ve,{mode:At});const rn=(0,Pe.Z)(function(){var pn;an==null||an.apply(void 0,arguments),(pn=Ve.onClick)===null||pn===void 0||pn.call(Ve)}),yn=Ve.mode||At,Nn=Jt!=null?Jt:Ve.selectable,Vn=pt!=null?pt:Gt,Xn={horizontal:{motionName:`${Oe}-slide-up`},inline:(0,Ee.Z)(Oe),other:{motionName:`${Oe}-zoom-big`}},Bn=We("menu",ze||Ve.prefixCls),jn=(0,Be.Z)(Bn),[wt,mt,qt]=Vt(Bn,jn,!tt),jt=Se()(`${Bn}-${vn}`,Dt==null?void 0:Dt.className,on),Ot=b.useMemo(()=>{var pn,On;if(typeof Bt=="function"||Nt(Bt))return Bt||null;if(typeof Ve.expandIcon=="function"||Nt(Ve.expandIcon))return Ve.expandIcon||null;if(typeof(Dt==null?void 0:Dt.expandIcon)=="function"||Nt(Dt==null?void 0:Dt.expandIcon))return(Dt==null?void 0:Dt.expandIcon)||null;const Qn=(pn=Bt!=null?Bt:Ve==null?void 0:Ve.expandIcon)!==null&&pn!==void 0?pn:Dt==null?void 0:Dt.expandIcon;return(0,he.Tm)(Qn,{className:Se()(`${Bn}-submenu-expand-icon`,b.isValidElement(Qn)?(On=Qn.props)===null||On===void 0?void 0:On.className:void 0)})},[Bt,Ve==null?void 0:Ve.expandIcon,Dt==null?void 0:Dt.expandIcon,Bn]),bn=b.useMemo(()=>({prefixCls:Bn,inlineCollapsed:Vn||!1,direction:ht,firstLevel:!0,theme:vn,mode:yn,disableMenuItemTitleTooltip:at}),[Bn,Vn,ht,at,vn]);return wt(b.createElement(Ie.Z.Provider,{value:null},b.createElement(it.Provider,{value:bn},b.createElement(Me.ZP,Object.assign({getPopupContainer:lt,overflowedIndicator:b.createElement(_e.Z,null),overflowedIndicatorPopupClassName:Se()(Bn,`${Bn}-${vn}`,Le),mode:yn,selectable:Nn,onClick:rn},zt,{inlineCollapsed:Vn,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),Rt),className:jt,prefixCls:Bn,direction:ht,defaultMotions:Xn,expandIcon:Ot,ref:ue,rootClassName:Se()(Je,mt,Ve.rootClassName,qt,jn),_internalComponents:le})))))});const ae=(0,b.forwardRef)((re,ue)=>{const xe=(0,b.useRef)(null),tt=b.useContext(pe.D);return(0,b.useImperativeHandle)(ue,()=>({menu:xe.current,focus:Ve=>{var We;(We=xe.current)===null||We===void 0||We.focus(Ve)}})),b.createElement(te,Object.assign({ref:xe},re,tt))});ae.Item=se,ae.SubMenu=st,ae.Divider=Te,ae.ItemGroup=Me.BW;var de=ae},31709:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Dt}});var b=z(59301),Me=z(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"},_e=pe,we=z(7657),Se=function(ze,on){return b.createElement(we.Z,(0,Me.Z)({},ze,{ref:on,icon:_e}))},Pe=b.forwardRef(Se),Xe=Pe,Ee=z(49198),he=z(33853),ut=z(38819),Be=z(92310),bt=z.n(Be),it=z(18642),He=z(43749),Fe=z(85899),Te=z(72190),ot=z(18929),Ct=z(10228),tn=z(26112),se=z(48736),Ie=z(17119),dt=[10,20,50,100],yt=function(ze){var on=ze.pageSizeOptions,Rt=on===void 0?dt:on,vn=ze.locale,Bt=ze.changeSize,at=ze.pageSize,pt=ze.goButton,Gt=ze.quickGo,Je=ze.rootPrefixCls,At=ze.disabled,Jt=ze.buildOptionText,an=ze.showSizeChanger,Le=ze.sizeChangerRender,Et=b.useState(""),zt=(0,Te.Z)(Et,2),rn=zt[0],yn=zt[1],Nn=function(){return!rn||Number.isNaN(rn)?void 0:Number(rn)},Vn=typeof Jt=="function"?Jt:function(bn){return"".concat(bn," ").concat(vn.items_per_page)},Xn=function(pn){yn(pn.target.value)},Bn=function(pn){pt||rn===""||(yn(""),!(pn.relatedTarget&&(pn.relatedTarget.className.indexOf("".concat(Je,"-item-link"))>=0||pn.relatedTarget.className.indexOf("".concat(Je,"-item"))>=0))&&(Gt==null||Gt(Nn())))},jn=function(pn){rn!==""&&(pn.keyCode===Ct.Z.ENTER||pn.type==="click")&&(yn(""),Gt==null||Gt(Nn()))},wt=function(){return Rt.some(function(pn){return pn.toString()===at.toString()})?Rt:Rt.concat([at]).sort(function(pn,On){var Qn=Number.isNaN(Number(pn))?0:Number(pn),Hn=Number.isNaN(Number(On))?0:Number(On);return Qn-Hn})},mt="".concat(Je,"-options");if(!an&&!Gt)return null;var qt=null,jt=null,Ot=null;return an&&Le&&(qt=Le({disabled:At,size:at,onSizeChange:function(pn){Bt==null||Bt(Number(pn))},"aria-label":vn.page_size,className:"".concat(mt,"-size-changer"),options:wt().map(function(bn){return{label:Vn(bn),value:bn}})})),Gt&&(pt&&(Ot=typeof pt=="boolean"?b.createElement("button",{type:"button",onClick:jn,onKeyUp:jn,disabled:At,className:"".concat(mt,"-quick-jumper-button")},vn.jump_to_confirm):b.createElement("span",{onClick:jn,onKeyUp:jn},pt)),jt=b.createElement("div",{className:"".concat(mt,"-quick-jumper")},vn.jump_to,b.createElement("input",{disabled:At,type:"text",value:rn,onChange:Xn,onKeyUp:jn,onBlur:Bn,"aria-label":vn.page}),vn.page,Ot)),b.createElement("li",{className:mt},qt,jt)},kt=yt,Ue=function(ze){var on=ze.rootPrefixCls,Rt=ze.page,vn=ze.active,Bt=ze.className,at=ze.showTitle,pt=ze.onClick,Gt=ze.onKeyPress,Je=ze.itemRender,At="".concat(on,"-item"),Jt=bt()(At,"".concat(At,"-").concat(Rt),(0,it.Z)((0,it.Z)({},"".concat(At,"-active"),vn),"".concat(At,"-disabled"),!Rt),Bt),an=function(){pt(Rt)},Le=function(rn){Gt(rn,pt,Rt)},Et=Je(Rt,"page",b.createElement("a",{rel:"nofollow"},Rt));return Et?b.createElement("li",{title:at?String(Rt):null,className:Jt,onClick:an,onKeyDown:Le,tabIndex:0},Et):null},Ke=Ue,ct=function(ze,on,Rt){return Rt};function De(){}function gt(Oe){var ze=Number(Oe);return typeof ze=="number"&&!Number.isNaN(ze)&&isFinite(ze)&&Math.floor(ze)===ze}function Ye(Oe,ze,on){var Rt=typeof Oe=="undefined"?ze:Oe;return Math.floor((on-1)/Rt)+1}var fe=function(ze){var on=ze.prefixCls,Rt=on===void 0?"rc-pagination":on,vn=ze.selectPrefixCls,Bt=vn===void 0?"rc-select":vn,at=ze.className,pt=ze.current,Gt=ze.defaultCurrent,Je=Gt===void 0?1:Gt,At=ze.total,Jt=At===void 0?0:At,an=ze.pageSize,Le=ze.defaultPageSize,Et=Le===void 0?10:Le,zt=ze.onChange,rn=zt===void 0?De:zt,yn=ze.hideOnSinglePage,Nn=ze.align,Vn=ze.showPrevNextJumpers,Xn=Vn===void 0?!0:Vn,Bn=ze.showQuickJumper,jn=ze.showLessItems,wt=ze.showTitle,mt=wt===void 0?!0:wt,qt=ze.onShowSizeChange,jt=qt===void 0?De:qt,Ot=ze.locale,bn=Ot===void 0?Ie.Z:Ot,pn=ze.style,On=ze.totalBoundaryShowSizeChanger,Qn=On===void 0?50:On,Hn=ze.disabled,Dn=ze.simple,ir=ze.showTotal,Fn=ze.showSizeChanger,pr=Fn===void 0?Jt>Qn:Fn,Dr=ze.sizeChangerRender,xn=ze.pageSizeOptions,kn=ze.itemRender,nr=kn===void 0?ct:kn,rr=ze.jumpPrevIcon,Pt=ze.jumpNextIcon,Ut=ze.prevIcon,nt=ze.nextIcon,et=b.useRef(null),Qe=(0,ot.Z)(10,{value:an,defaultValue:Et}),Mt=(0,Te.Z)(Qe,2),Ne=Mt[0],Kt=Mt[1],Qt=(0,ot.Z)(1,{value:pt,defaultValue:Je,postState:function(Ni){return Math.max(1,Math.min(Ni,Ye(void 0,Ne,Jt)))}}),un=(0,Te.Z)(Qt,2),Tt=un[0],Lt=un[1],Wt=b.useState(Tt),nn=(0,Te.Z)(Wt,2),Wn=nn[0],Zn=nn[1];(0,b.useEffect)(function(){Zn(Tt)},[Tt]);var Yn=rn!==De,Nr="current"in ze,zr=Math.max(1,Tt-(jn?3:5)),Qr=Math.min(Ye(void 0,Ne,Jt),Tt+(jn?3:5));function Fr(Gi,Ni){var ea=Gi||b.createElement("button",{type:"button","aria-label":Ni,className:"".concat(Rt,"-item-link")});return typeof Gi=="function"&&(ea=b.createElement(Gi,(0,Fe.Z)({},ze))),ea}function yr(Gi){var Ni=Gi.target.value,ea=Ye(void 0,Ne,Jt),ta;return Ni===""?ta=Ni:Number.isNaN(Number(Ni))?ta=Wn:Ni>=ea?ta=ea:ta=Number(Ni),ta}function Pr(Gi){return gt(Gi)&&Gi!==Tt&>(Jt)&&Jt>0}var Vr=Jt>Ne?Bn:!1;function ni(Gi){(Gi.keyCode===Ct.Z.UP||Gi.keyCode===Ct.Z.DOWN)&&Gi.preventDefault()}function ri(Gi){var Ni=yr(Gi);switch(Ni!==Wn&&Zn(Ni),Gi.keyCode){case Ct.Z.ENTER:_r(Ni);break;case Ct.Z.UP:_r(Ni-1);break;case Ct.Z.DOWN:_r(Ni+1);break;default:break}}function ai(Gi){_r(yr(Gi))}function Br(Gi){var Ni=Ye(Gi,Ne,Jt),ea=Tt>Ni&&Ni!==0?Ni:Tt;Kt(Gi),Zn(ea),jt==null||jt(Tt,Gi),Lt(ea),rn==null||rn(ea,Gi)}function _r(Gi){if(Pr(Gi)&&!Hn){var Ni=Ye(void 0,Ne,Jt),ea=Gi;return Gi>Ni?ea=Ni:Gi<1&&(ea=1),ea!==Wn&&Zn(ea),Lt(ea),rn==null||rn(ea,Ne),ea}return Tt}var $r=Tt>1,Ri=Tt<Ye(void 0,Ne,Jt);function Wi(){$r&&_r(Tt-1)}function Zi(){Ri&&_r(Tt+1)}function zi(){_r(zr)}function _i(){_r(Qr)}function wi(Gi,Ni){if(Gi.key==="Enter"||Gi.charCode===Ct.Z.ENTER||Gi.keyCode===Ct.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];Ni.apply(void 0,ta)}}function Mi(Gi){wi(Gi,Wi)}function fi(Gi){wi(Gi,Zi)}function $i(Gi){wi(Gi,zi)}function oo(Gi){wi(Gi,_i)}function Ro(Gi){var Ni=nr(Gi,"prev",Fr(Ut,"prev page"));return b.isValidElement(Ni)?b.cloneElement(Ni,{disabled:!$r}):Ni}function fo(Gi){var Ni=nr(Gi,"next",Fr(nt,"next page"));return b.isValidElement(Ni)?b.cloneElement(Ni,{disabled:!Ri}):Ni}function bo(Gi){(Gi.type==="click"||Gi.keyCode===Ct.Z.ENTER)&&_r(Wn)}var co=null,yo=(0,tn.Z)(ze,{aria:!0,data:!0}),Bi=ir&&b.createElement("li",{className:"".concat(Rt,"-total-text")},ir(Jt,[Jt===0?0:(Tt-1)*Ne+1,Tt*Ne>Jt?Jt:Tt*Ne])),Ai=null,Gr=Ye(void 0,Ne,Jt);if(yn&&Jt<=Ne)return null;var Un=[],lr={rootPrefixCls:Rt,onClick:_r,onKeyPress:wi,showTitle:mt,itemRender:nr,page:-1},cr=Tt-1>0?Tt-1:0,qn=Tt+1<Gr?Tt+1:Gr,Hr=Bn&&Bn.goButton,qr=(0,He.Z)(Dn)==="object"?Dn.readOnly:!Dn,or=Hr,Jn=null;Dn&&(Hr&&(typeof Hr=="boolean"?or=b.createElement("button",{type:"button",onClick:bo,onKeyUp:bo},bn.jump_to_confirm):or=b.createElement("span",{onClick:bo,onKeyUp:bo},Hr),or=b.createElement("li",{title:mt?"".concat(bn.jump_to).concat(Tt,"/").concat(Gr):null,className:"".concat(Rt,"-simple-pager")},or)),Jn=b.createElement("li",{title:mt?"".concat(Tt,"/").concat(Gr):null,className:"".concat(Rt,"-simple-pager")},qr?Wn:b.createElement("input",{type:"text","aria-label":bn.jump_to,value:Wn,disabled:Hn,onKeyDown:ni,onKeyUp:ri,onChange:ri,onBlur:ai,size:3}),b.createElement("span",{className:"".concat(Rt,"-slash")},"/"),Gr));var xr=jn?1:2;if(Gr<=3+xr*2){Gr||Un.push(b.createElement(Ke,(0,Me.Z)({},lr,{key:"noPager",page:1,className:"".concat(Rt,"-item-disabled")})));for(var Zr=1;Zr<=Gr;Zr+=1)Un.push(b.createElement(Ke,(0,Me.Z)({},lr,{key:Zr,page:Zr,active:Tt===Zr})))}else{var ji=jn?bn.prev_3:bn.prev_5,po=jn?bn.next_3:bn.next_5,ao=nr(zr,"jump-prev",Fr(rr,"prev page")),Io=nr(Qr,"jump-next",Fr(Pt,"next page"));Xn&&(co=ao?b.createElement("li",{title:mt?ji:null,key:"prev",onClick:zi,tabIndex:0,onKeyDown:$i,className:bt()("".concat(Rt,"-jump-prev"),(0,it.Z)({},"".concat(Rt,"-jump-prev-custom-icon"),!!rr))},ao):null,Ai=Io?b.createElement("li",{title:mt?po:null,key:"next",onClick:_i,tabIndex:0,onKeyDown:oo,className:bt()("".concat(Rt,"-jump-next"),(0,it.Z)({},"".concat(Rt,"-jump-next-custom-icon"),!!Pt))},Io):null);var wo=Math.max(1,Tt-xr),Co=Math.min(Tt+xr,Gr);Tt-1<=xr&&(Co=1+xr*2),Gr-Tt<=xr&&(wo=Gr-xr*2);for(var Lo=wo;Lo<=Co;Lo+=1)Un.push(b.createElement(Ke,(0,Me.Z)({},lr,{key:Lo,page:Lo,active:Tt===Lo})));if(Tt-1>=xr*2&&Tt!==3&&(Un[0]=b.cloneElement(Un[0],{className:bt()("".concat(Rt,"-item-after-jump-prev"),Un[0].props.className)}),Un.unshift(co)),Gr-Tt>=xr*2&&Tt!==Gr-2){var Oo=Un[Un.length-1];Un[Un.length-1]=b.cloneElement(Oo,{className:bt()("".concat(Rt,"-item-before-jump-next"),Oo.props.className)}),Un.push(Ai)}wo!==1&&Un.unshift(b.createElement(Ke,(0,Me.Z)({},lr,{key:1,page:1}))),Co!==Gr&&Un.push(b.createElement(Ke,(0,Me.Z)({},lr,{key:Gr,page:Gr})))}var Mo=Ro(cr);if(Mo){var ha=!$r||!Gr;Mo=b.createElement("li",{title:mt?bn.prev_page:null,onClick:Wi,tabIndex:ha?null:0,onKeyDown:Mi,className:bt()("".concat(Rt,"-prev"),(0,it.Z)({},"".concat(Rt,"-disabled"),ha)),"aria-disabled":ha},Mo)}var Aa=fo(qn);if(Aa){var xa,Fa;Dn?(xa=!Ri,Fa=$r?0:null):(xa=!Ri||!Gr,Fa=xa?null:0),Aa=b.createElement("li",{title:mt?bn.next_page:null,onClick:Zi,tabIndex:Fa,onKeyDown:fi,className:bt()("".concat(Rt,"-next"),(0,it.Z)({},"".concat(Rt,"-disabled"),xa)),"aria-disabled":xa},Aa)}var Da=bt()(Rt,at,(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},"".concat(Rt,"-start"),Nn==="start"),"".concat(Rt,"-center"),Nn==="center"),"".concat(Rt,"-end"),Nn==="end"),"".concat(Rt,"-simple"),Dn),"".concat(Rt,"-disabled"),Hn));return b.createElement("ul",(0,Me.Z)({className:Da,style:pn,ref:et},yo),Bi,Mo,Dn?Jn:Un,Aa,b.createElement(kt,{locale:bn,rootPrefixCls:Rt,disabled:Hn,selectPrefixCls:Bt,changeSize:Br,pageSize:Ne,pageSizeOptions:xn,quickGo:Vr?_r:null,goButton:or,showSizeChanger:pr,sizeChangerRender:Dr}))},Ft=fe,Ge=z(61852),xt=z(48755),fn=z(31756),ke=z(13783),be=z(9017),Yt=z(82326),ln=z(57700),Xt=z(36237),ge=z(53075),Re=z(64910),qe=z(39082),Vt=z(63356),rt=z(51636),Zt=z(16931);const st=Oe=>{const{componentCls:ze}=Oe;return{[`${ze}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ze}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ze}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ze}-disabled`]:{cursor:"not-allowed",[`${ze}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${ze}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ze}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ze}-simple-pager`]:{color:Oe.colorTextDisabled},[`${ze}-jump-prev, ${ze}-jump-next`]:{[`${ze}-item-link-icon`]:{opacity:0},[`${ze}-item-ellipsis`]:{opacity:1}}},[`&${ze}-simple`]:{[`${ze}-prev, ${ze}-next`]:{[`&${ze}-disabled ${ze}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$t=Oe=>{const{componentCls:ze}=Oe;return{[`&${ze}-mini ${ze}-total-text, &${ze}-mini ${ze}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:(0,Xt.unit)(Oe.itemSizeSM)},[`&${ze}-mini ${ze}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:(0,Xt.unit)(Oe.calc(Oe.itemSizeSM).sub(2).equal())},[`&${ze}-mini ${ze}-prev, &${ze}-mini ${ze}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:(0,Xt.unit)(Oe.itemSizeSM)},[`&${ze}-mini:not(${ze}-disabled)`]:{[`${ze}-prev, ${ze}-next`]:{[`&:hover ${ze}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ze}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ze}-disabled:hover ${ze}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${ze}-mini ${ze}-prev ${ze}-item-link,
|
|
|
&${ze}-mini ${ze}-next ${ze}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:(0,Xt.unit)(Oe.itemSizeSM)}},[`&${ze}-mini ${ze}-jump-prev, &${ze}-mini ${ze}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Xt.unit)(Oe.itemSizeSM)},[`&${ze}-mini ${ze}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:(0,Xt.unit)(Oe.itemSizeSM),input:Object.assign(Object.assign({},(0,ge.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},Nt=Oe=>{const{componentCls:ze}=Oe;return{[`
|
|
|
&${ze}-simple ${ze}-prev,
|
|
|
&${ze}-simple ${ze}-next
|
|
|
`]:{height:Oe.itemSizeSM,lineHeight:(0,Xt.unit)(Oe.itemSizeSM),verticalAlign:"top",[`${ze}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:(0,Xt.unit)(Oe.itemSizeSM)}}},[`&${ze}-simple ${ze}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Xt.unit)(Oe.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${(0,Xt.unit)(Oe.lineWidth)} ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${(0,Xt.unit)(Oe.inputOutlineOffset)} 0 ${(0,Xt.unit)(Oe.controlOutlineWidth)} ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},le=Oe=>{const{componentCls:ze}=Oe;return{[`${ze}-jump-prev, ${ze}-jump-next`]:{outline:0,[`${ze}-item-container`]:{position:"relative",[`${ze}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ze}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${ze}-item-link-icon`]:{opacity:1},[`${ze}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${ze}-prev,
|
|
|
${ze}-jump-prev,
|
|
|
${ze}-jump-next
|
|
|
`]:{marginInlineEnd:Oe.marginXS},[`
|
|
|
${ze}-prev,
|
|
|
${ze}-next,
|
|
|
${ze}-jump-prev,
|
|
|
${ze}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:(0,Xt.unit)(Oe.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${ze}-prev, ${ze}-next`]:{outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${ze}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Xt.unit)(Oe.lineWidth)} ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${ze}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${ze}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${ze}-disabled:hover`]:{[`${ze}-item-link`]:{backgroundColor:"transparent"}}},[`${ze}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${ze}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:(0,Xt.unit)(Oe.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,ge.ik)(Oe)),(0,qe.$U)(Oe,{borderColor:Oe.colorBorder,hoverBorderColor:Oe.colorPrimaryHover,activeBorderColor:Oe.colorPrimary,activeShadow:Oe.activeShadow})),{"&[disabled]":Object.assign({},(0,qe.Xy)(Oe)),width:Oe.calc(Oe.controlHeightLG).mul(1.25).equal(),height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},ne=Oe=>{const{componentCls:ze}=Oe;return{[`${ze}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:(0,Xt.unit)(Oe.calc(Oe.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Oe.itemBg,border:`${(0,Xt.unit)(Oe.lineWidth)} ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Xt.unit)(Oe.paginationItemPaddingInline)}`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ze}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},te=Oe=>{const{componentCls:ze}=Oe;return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Vt.Wf)(Oe)),{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:'""'},[`${ze}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:(0,Xt.unit)(Oe.calc(Oe.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Oe)),le(Oe)),Nt(Oe)),$t(Oe)),st(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${ze}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${ze}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},ae=Oe=>{const{componentCls:ze}=Oe;return{[`${ze}:not(${ze}-disabled)`]:{[`${ze}-item`]:Object.assign({},(0,Vt.Qy)(Oe)),[`${ze}-jump-prev, ${ze}-jump-next`]:{"&:focus-visible":Object.assign({[`${ze}-item-link-icon`]:{opacity:1},[`${ze}-item-ellipsis`]:{opacity:0}},(0,Vt.oN)(Oe))},[`${ze}-prev, ${ze}-next`]:{[`&:focus-visible ${ze}-item-link`]:Object.assign({},(0,Vt.oN)(Oe))}}}},de=Oe=>Object.assign({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Re.T)(Oe)),re=Oe=>(0,rt.mergeToken)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.calc(Oe.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Oe.calc(Oe.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Oe.calc(Oe.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Oe.calc(Oe.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Oe.marginSM,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Re.e)(Oe));var ue=(0,Zt.I$)("Pagination",Oe=>{const ze=re(Oe);return[te(ze),ae(ze)]},de);const xe=Oe=>{const{componentCls:ze}=Oe;return{[`${ze}${ze}-bordered${ze}-disabled:not(${ze}-mini)`]:{"&, &:hover":{[`${ze}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${ze}-item-link`]:{borderColor:Oe.colorBorder}},[`${ze}-item, ${ze}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${ze}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${ze}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${ze}-prev, ${ze}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${ze}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${ze}${ze}-bordered:not(${ze}-mini)`]:{[`${ze}-prev, ${ze}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${ze}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${ze}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${ze}-disabled`]:{[`${ze}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${ze}-item`]:{backgroundColor:Oe.itemBg,border:`${(0,Xt.unit)(Oe.lineWidth)} ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${ze}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}};var tt=(0,Zt.bk)(["Pagination","bordered"],Oe=>{const ze=re(Oe);return[xe(ze)]},de);function Ve(Oe){return(0,b.useMemo)(()=>typeof Oe=="boolean"?[Oe,{}]:Oe&&typeof Oe=="object"?[!0,Oe]:[void 0,void 0],[Oe])}var We=function(Oe,ze){var on={};for(var Rt in Oe)Object.prototype.hasOwnProperty.call(Oe,Rt)&&ze.indexOf(Rt)<0&&(on[Rt]=Oe[Rt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,Rt=Object.getOwnPropertySymbols(Oe);vn<Rt.length;vn++)ze.indexOf(Rt[vn])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Rt[vn])&&(on[Rt[vn]]=Oe[Rt[vn]]);return on},ht=Oe=>{const{align:ze,prefixCls:on,selectPrefixCls:Rt,className:vn,rootClassName:Bt,style:at,size:pt,locale:Gt,responsive:Je,showSizeChanger:At,selectComponentClass:Jt,pageSizeOptions:an}=Oe,Le=We(Oe,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Et}=(0,ke.Z)(Je),[,zt]=(0,ln.ZP)(),{getPrefixCls:rn,direction:yn,showSizeChanger:Nn,className:Vn,style:Xn}=(0,xt.dj)("pagination"),Bn=rn("pagination",on),[jn,wt,mt]=ue(Bn),qt=(0,fn.Z)(pt),jt=qt==="small"||!!(Et&&!qt&&Je),[Ot]=(0,be.Z)("Pagination",Ge.Z),bn=Object.assign(Object.assign({},Ot),Gt),[pn,On]=Ve(At),[Qn,Hn]=Ve(Nn),Dn=pn!=null?pn:Qn,ir=On!=null?On:Hn,Fn=Jt||Yt.default,pr=b.useMemo(()=>an?an.map(Pt=>Number(Pt)):void 0,[an]),Dr=Pt=>{var Ut;const{disabled:nt,size:et,onSizeChange:Qe,"aria-label":Mt,className:Ne,options:Kt}=Pt,{className:Qt,onChange:un}=ir||{},Tt=(Ut=Kt.find(Lt=>String(Lt.value)===String(et)))===null||Ut===void 0?void 0:Ut.value;return b.createElement(Fn,Object.assign({disabled:nt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Lt=>Lt.parentNode,"aria-label":Mt,options:Kt},ir,{value:Tt,onChange:(Lt,Wt)=>{Qe==null||Qe(Lt),un==null||un(Lt,Wt)},size:jt?"small":"middle",className:bt()(Ne,Qt)}))},xn=b.useMemo(()=>{const Pt=b.createElement("span",{className:`${Bn}-item-ellipsis`},"\u2022\u2022\u2022"),Ut=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},yn==="rtl"?b.createElement(ut.Z,null):b.createElement(he.Z,null)),nt=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},yn==="rtl"?b.createElement(he.Z,null):b.createElement(ut.Z,null)),et=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},yn==="rtl"?b.createElement(Ee.Z,{className:`${Bn}-item-link-icon`}):b.createElement(Xe,{className:`${Bn}-item-link-icon`}),Pt)),Qe=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},yn==="rtl"?b.createElement(Xe,{className:`${Bn}-item-link-icon`}):b.createElement(Ee.Z,{className:`${Bn}-item-link-icon`}),Pt));return{prevIcon:Ut,nextIcon:nt,jumpPrevIcon:et,jumpNextIcon:Qe}},[yn,Bn]),kn=rn("select",Rt),nr=bt()({[`${Bn}-${ze}`]:!!ze,[`${Bn}-mini`]:jt,[`${Bn}-rtl`]:yn==="rtl",[`${Bn}-bordered`]:zt.wireframe},Vn,vn,Bt,wt,mt),rr=Object.assign(Object.assign({},Xn),at);return jn(b.createElement(b.Fragment,null,zt.wireframe&&b.createElement(tt,{prefixCls:Bn}),b.createElement(Ft,Object.assign({},xn,Le,{style:rr,prefixCls:Bn,selectPrefixCls:kn,className:nr,locale:bn,pageSizeOptions:pr,showSizeChanger:Dn,sizeChangerRender:Dr}))))},Dt=ht},89787:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Gt}});var b=z(59301),Me=z(17835),pe=z(29679),_e=z(40001),we=z(19248),Se=z(99267),Pe=z(92310),Xe=z.n(Pe),Ee=z(2738),he=z(48755),ut=z(60499),Be=z(85899),bt=z(42244),it={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},He=function(){var At=(0,b.useRef)([]),Jt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var an=Date.now(),Le=!1;At.current.forEach(function(Et){if(Et){Le=!0;var zt=Et.style;zt.transitionDuration=".3s, .3s, .3s, .06s",Jt.current&&an-Jt.current<100&&(zt.transitionDuration="0s, 0s")}}),Le&&(Jt.current=Date.now())}),At.current},Fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Te=function(At){var Jt=(0,Be.Z)((0,Be.Z)({},it),At),an=Jt.className,Le=Jt.percent,Et=Jt.prefixCls,zt=Jt.strokeColor,rn=Jt.strokeLinecap,yn=Jt.strokeWidth,Nn=Jt.style,Vn=Jt.trailColor,Xn=Jt.trailWidth,Bn=Jt.transition,jn=(0,bt.Z)(Jt,Fe);delete jn.gapPosition;var wt=Array.isArray(Le)?Le:[Le],mt=Array.isArray(zt)?zt:[zt],qt=He(),jt=yn/2,Ot=100-yn/2,bn="M ".concat(rn==="round"?jt:0,",").concat(jt,`
|
|
|
L `).concat(rn==="round"?Ot:100,",").concat(jt),pn="0 0 100 ".concat(yn),On=0;return b.createElement("svg",(0,ut.Z)({className:Xe()("".concat(Et,"-line"),an),viewBox:pn,preserveAspectRatio:"none",style:Nn},jn),b.createElement("path",{className:"".concat(Et,"-line-trail"),d:bn,strokeLinecap:rn,stroke:Vn,strokeWidth:Xn||yn,fillOpacity:"0"}),wt.map(function(Qn,Hn){var Dn=1;switch(rn){case"round":Dn=1-yn/100;break;case"square":Dn=1-yn/2/100;break;default:Dn=1;break}var ir={strokeDasharray:"".concat(Qn*Dn,"px, 100px"),strokeDashoffset:"-".concat(On,"px"),transition:Bn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Fn=mt[Hn]||mt[mt.length-1];return On+=Qn,b.createElement("path",{key:Hn,className:"".concat(Et,"-line-path"),d:bn,strokeLinecap:rn,stroke:Fn,strokeWidth:yn,fillOpacity:"0",ref:function(Dr){qt[Hn]=Dr},style:ir})}))},ot=Te,Ct=z(43749),tn=z(72190),se=z(47273),Ie=0,dt=(0,se.Z)();function yt(){var Je;return dt?(Je=Ie,Ie+=1):Je="TEST_OR_SSR",Je}var kt=function(Je){var At=b.useState(),Jt=(0,tn.Z)(At,2),an=Jt[0],Le=Jt[1];return b.useEffect(function(){Le("rc_progress_".concat(yt()))},[]),Je||an},Ue=function(At){var Jt=At.bg,an=At.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Jt}},an)};function Ke(Je,At){return Object.keys(Je).map(function(Jt){var an=parseFloat(Jt),Le="".concat(Math.floor(an*At),"%");return"".concat(Je[Jt]," ").concat(Le)})}var ct=b.forwardRef(function(Je,At){var Jt=Je.prefixCls,an=Je.color,Le=Je.gradientId,Et=Je.radius,zt=Je.style,rn=Je.ptg,yn=Je.strokeLinecap,Nn=Je.strokeWidth,Vn=Je.size,Xn=Je.gapDegree,Bn=an&&(0,Ct.Z)(an)==="object",jn=Bn?"#FFF":void 0,wt=Vn/2,mt=b.createElement("circle",{className:"".concat(Jt,"-circle-path"),r:Et,cx:wt,cy:wt,stroke:jn,strokeLinecap:yn,strokeWidth:Nn,opacity:rn===0?0:1,style:zt,ref:At});if(!Bn)return mt;var qt="".concat(Le,"-conic"),jt=Xn?"".concat(180+Xn/2,"deg"):"0deg",Ot=Ke(an,(360-Xn)/360),bn=Ke(an,1),pn="conic-gradient(from ".concat(jt,", ").concat(Ot.join(", "),")"),On="linear-gradient(to ".concat(Xn?"bottom":"top",", ").concat(bn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:qt},mt),b.createElement("foreignObject",{x:0,y:0,width:Vn,height:Vn,mask:"url(#".concat(qt,")")},b.createElement(Ue,{bg:On},b.createElement(Ue,{bg:pn}))))}),De=ct,gt=100,Ye=function(At,Jt,an,Le,Et,zt,rn,yn,Nn,Vn){var Xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bn=an/100*360*((360-zt)/360),jn=zt===0?0:{bottom:0,top:180,left:90,right:-90}[rn],wt=(100-Le)/100*Jt;Nn==="round"&&Le!==100&&(wt+=Vn/2,wt>=Jt&&(wt=Jt-.01));var mt=gt/2;return{stroke:typeof yn=="string"?yn:void 0,strokeDasharray:"".concat(Jt,"px ").concat(At),strokeDashoffset:wt+Xn,transform:"rotate(".concat(Et+Bn+jn,"deg)"),transformOrigin:"".concat(mt,"px ").concat(mt,"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}},fe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ft(Je){var At=Je!=null?Je:[];return Array.isArray(At)?At:[At]}var Ge=function(At){var Jt=(0,Be.Z)((0,Be.Z)({},it),At),an=Jt.id,Le=Jt.prefixCls,Et=Jt.steps,zt=Jt.strokeWidth,rn=Jt.trailWidth,yn=Jt.gapDegree,Nn=yn===void 0?0:yn,Vn=Jt.gapPosition,Xn=Jt.trailColor,Bn=Jt.strokeLinecap,jn=Jt.style,wt=Jt.className,mt=Jt.strokeColor,qt=Jt.percent,jt=(0,bt.Z)(Jt,fe),Ot=gt/2,bn=kt(an),pn="".concat(bn,"-gradient"),On=Ot-zt/2,Qn=Math.PI*2*On,Hn=Nn>0?90+Nn/2:-90,Dn=Qn*((360-Nn)/360),ir=(0,Ct.Z)(Et)==="object"?Et:{count:Et,gap:2},Fn=ir.count,pr=ir.gap,Dr=Ft(qt),xn=Ft(mt),kn=xn.find(function(Qe){return Qe&&(0,Ct.Z)(Qe)==="object"}),nr=kn&&(0,Ct.Z)(kn)==="object",rr=nr?"butt":Bn,Pt=Ye(Qn,Dn,0,100,Hn,Nn,Vn,Xn,rr,zt),Ut=He(),nt=function(){var Mt=0;return Dr.map(function(Ne,Kt){var Qt=xn[Kt]||xn[xn.length-1],un=Ye(Qn,Dn,Mt,Ne,Hn,Nn,Vn,Qt,rr,zt);return Mt+=Ne,b.createElement(De,{key:Kt,color:Qt,ptg:Ne,radius:On,prefixCls:Le,gradientId:pn,style:un,strokeLinecap:rr,strokeWidth:zt,gapDegree:Nn,ref:function(Lt){Ut[Kt]=Lt},size:gt})}).reverse()},et=function(){var Mt=Math.round(Fn*(Dr[0]/100)),Ne=100/Fn,Kt=0;return new Array(Fn).fill(null).map(function(Qt,un){var Tt=un<=Mt-1?xn[0]:Xn,Lt=Tt&&(0,Ct.Z)(Tt)==="object"?"url(#".concat(pn,")"):void 0,Wt=Ye(Qn,Dn,Kt,Ne,Hn,Nn,Vn,Tt,"butt",zt,pr);return Kt+=(Dn-Wt.strokeDashoffset+pr)*100/Dn,b.createElement("circle",{key:un,className:"".concat(Le,"-circle-path"),r:On,cx:Ot,cy:Ot,stroke:Lt,strokeWidth:zt,opacity:1,style:Wt,ref:function(Wn){Ut[un]=Wn}})})};return b.createElement("svg",(0,ut.Z)({className:Xe()("".concat(Le,"-circle"),wt),viewBox:"0 0 ".concat(gt," ").concat(gt),style:jn,id:an,role:"presentation"},jt),!Fn&&b.createElement("circle",{className:"".concat(Le,"-circle-trail"),r:On,cx:Ot,cy:Ot,stroke:Xn,strokeLinecap:rr,strokeWidth:rn||zt,style:Pt}),Fn?et():nt())},xt=Ge,fn={Line:ot,Circle:xt},ke=z(25399),be=z(68361);function Yt(Je){return!Je||Je<0?0:Je>100?100:Je}function ln(Je){let{success:At,successPercent:Jt}=Je,an=Jt;return At&&"progress"in At&&(an=At.progress),At&&"percent"in At&&(an=At.percent),an}const Xt=Je=>{let{percent:At,success:Jt,successPercent:an}=Je;const Le=Yt(ln({success:Jt,successPercent:an}));return[Le,Yt(Yt(At)-Le)]},ge=Je=>{let{success:At={},strokeColor:Jt}=Je;const{strokeColor:an}=At;return[an||be.presetPrimaryColors.green,Jt||null]},Re=(Je,At,Jt)=>{var an,Le,Et,zt;let rn=-1,yn=-1;if(At==="step"){const Nn=Jt.steps,Vn=Jt.strokeWidth;typeof Je=="string"||typeof Je=="undefined"?(rn=Je==="small"?2:14,yn=Vn!=null?Vn:8):typeof Je=="number"?[rn,yn]=[Je,Je]:[rn=14,yn=8]=Array.isArray(Je)?Je:[Je.width,Je.height],rn*=Nn}else if(At==="line"){const Nn=Jt==null?void 0:Jt.strokeWidth;typeof Je=="string"||typeof Je=="undefined"?yn=Nn||(Je==="small"?6:8):typeof Je=="number"?[rn,yn]=[Je,Je]:[rn=-1,yn=8]=Array.isArray(Je)?Je:[Je.width,Je.height]}else(At==="circle"||At==="dashboard")&&(typeof Je=="string"||typeof Je=="undefined"?[rn,yn]=Je==="small"?[60,60]:[120,120]:typeof Je=="number"?[rn,yn]=[Je,Je]:Array.isArray(Je)&&(rn=(Le=(an=Je[0])!==null&&an!==void 0?an:Je[1])!==null&&Le!==void 0?Le:120,yn=(zt=(Et=Je[0])!==null&&Et!==void 0?Et:Je[1])!==null&&zt!==void 0?zt:120));return[rn,yn]},qe=3,Vt=Je=>qe/Je*100;var Zt=Je=>{const{prefixCls:At,trailColor:Jt=null,strokeLinecap:an="round",gapPosition:Le,gapDegree:Et,width:zt=120,type:rn,children:yn,success:Nn,size:Vn=zt,steps:Xn}=Je,[Bn,jn]=Re(Vn,"circle");let{strokeWidth:wt}=Je;wt===void 0&&(wt=Math.max(Vt(Bn),6));const mt={width:Bn,height:jn,fontSize:Bn*.15+6},qt=b.useMemo(()=>{if(Et||Et===0)return Et;if(rn==="dashboard")return 75},[Et,rn]),jt=Xt(Je),Ot=Le||rn==="dashboard"&&"bottom"||void 0,bn=Object.prototype.toString.call(Je.strokeColor)==="[object Object]",pn=ge({success:Nn,strokeColor:Je.strokeColor}),On=Xe()(`${At}-inner`,{[`${At}-circle-gradient`]:bn}),Qn=b.createElement(xt,{steps:Xn,percent:Xn?jt[1]:jt,strokeWidth:wt,trailWidth:wt,strokeColor:Xn?pn[1]:pn,strokeLinecap:an,trailColor:Jt,prefixCls:At,gapDegree:qt,gapPosition:Ot}),Hn=Bn<=20,Dn=b.createElement("div",{className:On,style:mt},Qn,!Hn&&yn);return Hn?b.createElement(ke.Z,{title:yn},Dn):Dn},st=z(36237),$t=z(63356),Nt=z(16931),le=z(51636);const ne="--progress-line-stroke-color",te="--progress-percent",ae=Je=>{const At=Je?"100%":"-100%";return new st.Keyframes(`antProgress${Je?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${At}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${At}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},de=Je=>{const{componentCls:At,iconCls:Jt}=Je;return{[At]:Object.assign(Object.assign({},(0,$t.Wf)(Je)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Je.fontSize},[`${At}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${At}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Je.remainingColor,borderRadius:Je.lineBorderRadius},[`${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:Je.defaultColor}},[`${At}-success-bg, ${At}-bg`]:{position:"relative",background:Je.defaultColor,borderRadius:Je.lineBorderRadius,transition:`all ${Je.motionDurationSlow} ${Je.motionEaseInOutCirc}`},[`${At}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${At}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Je.marginXXS}},[`${At}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${At}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${At}-text-inner`]:{color:Je.colorWhite,[`&${At}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${At}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Je.colorSuccess},[`${At}-text`]:{display:"inline-block",marginInlineStart:Je.marginXS,color:Je.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Jt]:{fontSize:Je.fontSize},[`&${At}-text-outer`]:{width:"max-content"},[`&${At}-text-outer${At}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Je.marginXS}},[`${At}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,st.unit)(Je.paddingXXS)}`,[`&${At}-text-start`]:{justifyContent:"start"},[`&${At}-text-end`]:{justifyContent:"end"}},[`&${At}-status-active`]:{[`${At}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Je.colorBgContainer,borderRadius:Je.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:Je.progressActiveMotionDuration,animationTimingFunction:Je.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${At}-rtl${At}-status-active`]:{[`${At}-bg::before`]:{animationName:ae(!0)}},[`&${At}-status-exception`]:{[`${At}-bg`]:{backgroundColor:Je.colorError},[`${At}-text`]:{color:Je.colorError}},[`&${At}-status-exception ${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:Je.colorError}},[`&${At}-status-success`]:{[`${At}-bg`]:{backgroundColor:Je.colorSuccess},[`${At}-text`]:{color:Je.colorSuccess}},[`&${At}-status-success ${At}-inner:not(${At}-circle-gradient)`]:{[`${At}-circle-path`]:{stroke:Je.colorSuccess}}})}},re=Je=>{const{componentCls:At,iconCls:Jt}=Je;return{[At]:{[`${At}-circle-trail`]:{stroke:Je.remainingColor},[`&${At}-circle ${At}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${At}-circle ${At}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Je.circleTextColor,fontSize:Je.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Jt]:{fontSize:Je.circleIconFontSize}},[`${At}-circle&-status-exception`]:{[`${At}-text`]:{color:Je.colorError}},[`${At}-circle&-status-success`]:{[`${At}-text`]:{color:Je.colorSuccess}}},[`${At}-inline-circle`]:{lineHeight:1,[`${At}-inner`]:{verticalAlign:"bottom"}}}},ue=Je=>{const{componentCls:At}=Je;return{[At]:{[`${At}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Je.progressStepMinWidth,marginInlineEnd:Je.progressStepMarginInlineEnd,backgroundColor:Je.remainingColor,transition:`all ${Je.motionDurationSlow}`,"&-active":{backgroundColor:Je.defaultColor}}}}}},xe=Je=>{const{componentCls:At,iconCls:Jt}=Je;return{[At]:{[`${At}-small&-line, ${At}-small&-line ${At}-text ${Jt}`]:{fontSize:Je.fontSizeSM}}}},tt=Je=>({circleTextColor:Je.colorText,defaultColor:Je.colorInfo,remainingColor:Je.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Je.fontSize/Je.fontSizeSM}em`});var Ve=(0,Nt.I$)("Progress",Je=>{const At=Je.calc(Je.marginXXS).div(2).equal(),Jt=(0,le.mergeToken)(Je,{progressStepMarginInlineEnd:At,progressStepMinWidth:At,progressActiveMotionDuration:"2.4s"});return[de(Jt),re(Jt),ue(Jt),xe(Jt)]},tt),We=function(Je,At){var Jt={};for(var an in Je)Object.prototype.hasOwnProperty.call(Je,an)&&At.indexOf(an)<0&&(Jt[an]=Je[an]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,an=Object.getOwnPropertySymbols(Je);Le<an.length;Le++)At.indexOf(an[Le])<0&&Object.prototype.propertyIsEnumerable.call(Je,an[Le])&&(Jt[an[Le]]=Je[an[Le]]);return Jt};const lt=Je=>{let At=[];return Object.keys(Je).forEach(Jt=>{const an=parseFloat(Jt.replace(/%/g,""));Number.isNaN(an)||At.push({key:an,value:Je[Jt]})}),At=At.sort((Jt,an)=>Jt.key-an.key),At.map(Jt=>{let{key:an,value:Le}=Jt;return`${Le} ${an}%`}).join(", ")},ht=(Je,At)=>{const{from:Jt=be.presetPrimaryColors.blue,to:an=be.presetPrimaryColors.blue,direction:Le=At==="rtl"?"to left":"to right"}=Je,Et=We(Je,["from","to","direction"]);if(Object.keys(Et).length!==0){const rn=lt(Et),yn=`linear-gradient(${Le}, ${rn})`;return{background:yn,[ne]:yn}}const zt=`linear-gradient(${Le}, ${Jt}, ${an})`;return{background:zt,[ne]:zt}};var Oe=Je=>{const{prefixCls:At,direction:Jt,percent:an,size:Le,strokeWidth:Et,strokeColor:zt,strokeLinecap:rn="round",children:yn,trailColor:Nn=null,percentPosition:Vn,success:Xn}=Je,{align:Bn,type:jn}=Vn,wt=zt&&typeof zt!="string"?ht(zt,Jt):{[ne]:zt,background:zt},mt=rn==="square"||rn==="butt"?0:void 0,qt=Le!=null?Le:[-1,Et||(Le==="small"?6:8)],[jt,Ot]=Re(qt,"line",{strokeWidth:Et}),bn={backgroundColor:Nn||void 0,borderRadius:mt},pn=Object.assign(Object.assign({width:`${Yt(an)}%`,height:Ot,borderRadius:mt},wt),{[te]:Yt(an)/100}),On=ln(Je),Qn={width:`${Yt(On)}%`,height:Ot,borderRadius:mt,backgroundColor:Xn==null?void 0:Xn.strokeColor},Hn={width:jt<0?"100%":jt},Dn=b.createElement("div",{className:`${At}-inner`,style:bn},b.createElement("div",{className:Xe()(`${At}-bg`,`${At}-bg-${jn}`),style:pn},jn==="inner"&&yn),On!==void 0&&b.createElement("div",{className:`${At}-success-bg`,style:Qn})),ir=jn==="outer"&&Bn==="start",Fn=jn==="outer"&&Bn==="end";return jn==="outer"&&Bn==="center"?b.createElement("div",{className:`${At}-layout-bottom`},Dn,yn):b.createElement("div",{className:`${At}-outer`,style:Hn},ir&&yn,Dn,Fn&&yn)},on=Je=>{const{size:At,steps:Jt,rounding:an=Math.round,percent:Le=0,strokeWidth:Et=8,strokeColor:zt,trailColor:rn=null,prefixCls:yn,children:Nn}=Je,Vn=an(Jt*(Le/100)),Xn=At==="small"?2:14,Bn=At!=null?At:[Xn,Et],[jn,wt]=Re(Bn,"step",{steps:Jt,strokeWidth:Et}),mt=jn/Jt,qt=Array.from({length:Jt});for(let jt=0;jt<Jt;jt++){const Ot=Array.isArray(zt)?zt[jt]:zt;qt[jt]=b.createElement("div",{key:jt,className:Xe()(`${yn}-steps-item`,{[`${yn}-steps-item-active`]:jt<=Vn-1}),style:{backgroundColor:jt<=Vn-1?Ot:rn,width:mt,height:wt}})}return b.createElement("div",{className:`${yn}-steps-outer`},qt,Nn)},Rt=function(Je,At){var Jt={};for(var an in Je)Object.prototype.hasOwnProperty.call(Je,an)&&At.indexOf(an)<0&&(Jt[an]=Je[an]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,an=Object.getOwnPropertySymbols(Je);Le<an.length;Le++)At.indexOf(an[Le])<0&&Object.prototype.propertyIsEnumerable.call(Je,an[Le])&&(Jt[an[Le]]=Je[an[Le]]);return Jt};const vn=null,Bt=["normal","exception","active","success"];var pt=b.forwardRef((Je,At)=>{const{prefixCls:Jt,className:an,rootClassName:Le,steps:Et,strokeColor:zt,percent:rn=0,size:yn="default",showInfo:Nn=!0,type:Vn="line",status:Xn,format:Bn,style:jn,percentPosition:wt={}}=Je,mt=Rt(Je,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:qt="end",type:jt="outer"}=wt,Ot=Array.isArray(zt)?zt[0]:zt,bn=typeof zt=="string"||Array.isArray(zt)?zt:void 0,pn=b.useMemo(()=>{if(Ot){const nt=typeof Ot=="string"?Ot:Object.values(Ot)[0];return new Me.FastColor(nt).isLight()}return!1},[zt]),On=b.useMemo(()=>{var nt,et;const Qe=ln(Je);return parseInt(Qe!==void 0?(nt=Qe!=null?Qe:0)===null||nt===void 0?void 0:nt.toString():(et=rn!=null?rn:0)===null||et===void 0?void 0:et.toString(),10)},[rn,Je.success,Je.successPercent]),Qn=b.useMemo(()=>!Bt.includes(Xn)&&On>=100?"success":Xn||"normal",[Xn,On]),{getPrefixCls:Hn,direction:Dn,progress:ir}=b.useContext(he.E_),Fn=Hn("progress",Jt),[pr,Dr,xn]=Ve(Fn),kn=Vn==="line",nr=kn&&!Et,rr=b.useMemo(()=>{if(!Nn)return null;const nt=ln(Je);let et;const Qe=Bn||(Ne=>`${Ne}%`),Mt=kn&&pn&&jt==="inner";return jt==="inner"||Bn||Qn!=="exception"&&Qn!=="success"?et=Qe(Yt(rn),Yt(nt)):Qn==="exception"?et=kn?b.createElement(we.Z,null):b.createElement(Se.Z,null):Qn==="success"&&(et=kn?b.createElement(pe.Z,null):b.createElement(_e.Z,null)),b.createElement("span",{className:Xe()(`${Fn}-text`,{[`${Fn}-text-bright`]:Mt,[`${Fn}-text-${qt}`]:nr,[`${Fn}-text-${jt}`]:nr}),title:typeof et=="string"?et:void 0},et)},[Nn,rn,On,Qn,Vn,Fn,Bn]);let Pt;Vn==="line"?Pt=Et?b.createElement(on,Object.assign({},Je,{strokeColor:bn,prefixCls:Fn,steps:typeof Et=="object"?Et.count:Et}),rr):b.createElement(Oe,Object.assign({},Je,{strokeColor:Ot,prefixCls:Fn,direction:Dn,percentPosition:{align:qt,type:jt}}),rr):(Vn==="circle"||Vn==="dashboard")&&(Pt=b.createElement(Zt,Object.assign({},Je,{strokeColor:Ot,prefixCls:Fn,progressStatus:Qn}),rr));const Ut=Xe()(Fn,`${Fn}-status-${Qn}`,{[`${Fn}-${Vn==="dashboard"&&"circle"||Vn}`]:Vn!=="line",[`${Fn}-inline-circle`]:Vn==="circle"&&Re(yn,"circle")[0]<=20,[`${Fn}-line`]:nr,[`${Fn}-line-align-${qt}`]:nr,[`${Fn}-line-position-${jt}`]:nr,[`${Fn}-steps`]:Et,[`${Fn}-show-info`]:Nn,[`${Fn}-${yn}`]:typeof yn=="string",[`${Fn}-rtl`]:Dn==="rtl"},ir==null?void 0:ir.className,an,Le,Dr,xn);return pr(b.createElement("div",Object.assign({ref:At,style:Object.assign(Object.assign({},ir==null?void 0:ir.style),jn),className:Ut,role:"progressbar","aria-valuenow":On,"aria-valuemin":0,"aria-valuemax":100},(0,Ee.Z)(mt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Pt))}),Gt=pt},63139:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xt}});var b=z(59301),Me=z(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"},_e=pe,we=z(7657),Se=function(Re,qe){return b.createElement(we.Z,(0,Me.Z)({},Re,{ref:qe,icon:_e}))},Pe=b.forwardRef(Se),Xe=Pe,Ee=z(92310),he=z.n(Ee),ut=z(18642),Be=z(72190),bt=z(42244),it=z(18929),He=z(10228),Fe=z(26112);function Te(ge,Re){var qe=ge.disabled,Vt=ge.prefixCls,rt=ge.character,Zt=ge.characterRender,st=ge.index,$t=ge.count,Nt=ge.value,le=ge.allowHalf,ne=ge.focused,te=ge.onHover,ae=ge.onClick,de=function(ht){te(ht,st)},re=function(ht){ae(ht,st)},ue=function(ht){ht.keyCode===He.Z.ENTER&&ae(ht,st)},xe=st+1,tt=new Set([Vt]);Nt===0&&st===0&&ne?tt.add("".concat(Vt,"-focused")):le&&Nt+.5>=xe&&Nt<xe?(tt.add("".concat(Vt,"-half")),tt.add("".concat(Vt,"-active")),ne&&tt.add("".concat(Vt,"-focused"))):(xe<=Nt?tt.add("".concat(Vt,"-full")):tt.add("".concat(Vt,"-zero")),xe===Nt&&ne&&tt.add("".concat(Vt,"-focused")));var Ve=typeof rt=="function"?rt(ge):rt,We=b.createElement("li",{className:he()(Array.from(tt)),ref:Re},b.createElement("div",{onClick:qe?null:re,onKeyDown:qe?null:ue,onMouseMove:qe?null:de,role:"radio","aria-checked":Nt>st?"true":"false","aria-posinset":st+1,"aria-setsize":$t,tabIndex:qe?-1:0},b.createElement("div",{className:"".concat(Vt,"-first")},Ve),b.createElement("div",{className:"".concat(Vt,"-second")},Ve)));return Zt&&(We=Zt(We,ge)),We}var ot=b.forwardRef(Te);function Ct(){var ge=b.useRef({});function Re(Vt){return ge.current[Vt]}function qe(Vt){return function(rt){ge.current[Vt]=rt}}return[Re,qe]}function tn(ge){var Re=ge.pageXOffset,qe="scrollLeft";if(typeof Re!="number"){var Vt=ge.document;Re=Vt.documentElement[qe],typeof Re!="number"&&(Re=Vt.body[qe])}return Re}function se(ge){var Re,qe,Vt=ge.ownerDocument,rt=Vt.body,Zt=Vt&&Vt.documentElement,st=ge.getBoundingClientRect();return Re=st.left,qe=st.top,Re-=Zt.clientLeft||rt.clientLeft||0,qe-=Zt.clientTop||rt.clientTop||0,{left:Re,top:qe}}function Ie(ge){var Re=se(ge),qe=ge.ownerDocument,Vt=qe.defaultView||qe.parentWindow;return Re.left+=tn(Vt),Re.left}var dt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function yt(ge,Re){var qe=ge.prefixCls,Vt=qe===void 0?"rc-rate":qe,rt=ge.className,Zt=ge.defaultValue,st=ge.value,$t=ge.count,Nt=$t===void 0?5:$t,le=ge.allowHalf,ne=le===void 0?!1:le,te=ge.allowClear,ae=te===void 0?!0:te,de=ge.keyboard,re=de===void 0?!0:de,ue=ge.character,xe=ue===void 0?"\u2605":ue,tt=ge.characterRender,Ve=ge.disabled,We=ge.direction,lt=We===void 0?"ltr":We,ht=ge.tabIndex,Dt=ht===void 0?0:ht,Oe=ge.autoFocus,ze=ge.onHoverChange,on=ge.onChange,Rt=ge.onFocus,vn=ge.onBlur,Bt=ge.onKeyDown,at=ge.onMouseLeave,pt=(0,bt.Z)(ge,dt),Gt=Ct(),Je=(0,Be.Z)(Gt,2),At=Je[0],Jt=Je[1],an=b.useRef(null),Le=function(){if(!Ve){var rr;(rr=an.current)===null||rr===void 0||rr.focus()}};b.useImperativeHandle(Re,function(){return{focus:Le,blur:function(){if(!Ve){var rr;(rr=an.current)===null||rr===void 0||rr.blur()}}}});var Et=(0,it.Z)(Zt||0,{value:st}),zt=(0,Be.Z)(Et,2),rn=zt[0],yn=zt[1],Nn=(0,it.Z)(null),Vn=(0,Be.Z)(Nn,2),Xn=Vn[0],Bn=Vn[1],jn=function(rr,Pt){var Ut=lt==="rtl",nt=rr+1;if(ne){var et=At(rr),Qe=Ie(et),Mt=et.clientWidth;(Ut&&Pt-Qe>Mt/2||!Ut&&Pt-Qe<Mt/2)&&(nt-=.5)}return nt},wt=function(rr){yn(rr),on==null||on(rr)},mt=b.useState(!1),qt=(0,Be.Z)(mt,2),jt=qt[0],Ot=qt[1],bn=function(){Ot(!0),Rt==null||Rt()},pn=function(){Ot(!1),vn==null||vn()},On=b.useState(null),Qn=(0,Be.Z)(On,2),Hn=Qn[0],Dn=Qn[1],ir=function(rr,Pt){var Ut=jn(Pt,rr.pageX);Ut!==Xn&&(Dn(Ut),Bn(null)),ze==null||ze(Ut)},Fn=function(rr){Ve||(Dn(null),Bn(null),ze==null||ze(void 0)),rr&&(at==null||at(rr))},pr=function(rr,Pt){var Ut=jn(Pt,rr.pageX),nt=!1;ae&&(nt=Ut===rn),Fn(),wt(nt?0:Ut),Bn(nt?Ut:null)},Dr=function(rr){var Pt=rr.keyCode,Ut=lt==="rtl",nt=ne?.5:1;re&&(Pt===He.Z.RIGHT&&rn<Nt&&!Ut?(wt(rn+nt),rr.preventDefault()):Pt===He.Z.LEFT&&rn>0&&!Ut||Pt===He.Z.RIGHT&&rn>0&&Ut?(wt(rn-nt),rr.preventDefault()):Pt===He.Z.LEFT&&rn<Nt&&Ut&&(wt(rn+nt),rr.preventDefault())),Bt==null||Bt(rr)};b.useEffect(function(){Oe&&!Ve&&Le()},[]);var xn=new Array(Nt).fill(0).map(function(nr,rr){return b.createElement(ot,{ref:Jt(rr),index:rr,count:Nt,disabled:Ve,prefixCls:"".concat(Vt,"-star"),allowHalf:ne,value:Hn===null?rn:Hn,onClick:pr,onHover:ir,key:nr||rr,character:xe,characterRender:tt,focused:jt})}),kn=he()(Vt,rt,(0,ut.Z)((0,ut.Z)({},"".concat(Vt,"-disabled"),Ve),"".concat(Vt,"-rtl"),lt==="rtl"));return b.createElement("ul",(0,Me.Z)({className:kn,onMouseLeave:Fn,tabIndex:Ve?-1:Dt,onFocus:Ve?null:bn,onBlur:Ve?null:pn,onKeyDown:Ve?null:Dr,ref:an},(0,Fe.Z)(pt,{aria:!0,data:!0,attr:!0})),xn)}var kt=b.forwardRef(yt),Ue=kt,Ke=z(48755),ct=z(25399),De=z(36237),gt=z(63356),Ye=z(16931),fe=z(51636);const Ft=ge=>{const{componentCls:Re}=ge;return{[`${Re}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ge.marginXS},"> div":{transition:`all ${ge.motionDurationMid}, outline 0s`,"&:hover":{transform:ge.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,De.unit)(ge.lineWidth)} dashed ${ge.starColor}`,transform:ge.starHoverScale}},"&-first, &-second":{color:ge.starBg,transition:`all ${ge.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Re}-star-first, &-half ${Re}-star-second`]:{opacity:1},[`&-half ${Re}-star-first, &-full ${Re}-star-second`]:{color:"inherit"}}}},Ge=ge=>({[`&-rtl${ge.componentCls}`]:{direction:"rtl"}}),xt=ge=>{const{componentCls:Re}=ge;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(ge)),{display:"inline-block",margin:0,padding:0,color:ge.starColor,fontSize:ge.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Re} ${Re}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ft(ge)),Ge(ge))}},fn=ge=>({starColor:ge.yellow6,starSize:ge.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ge.colorFillContent});var ke=(0,Ye.I$)("Rate",ge=>{const Re=(0,fe.mergeToken)(ge,{});return[xt(Re)]},fn),be=z(2171),Yt=function(ge,Re){var qe={};for(var Vt in ge)Object.prototype.hasOwnProperty.call(ge,Vt)&&Re.indexOf(Vt)<0&&(qe[Vt]=ge[Vt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Vt=Object.getOwnPropertySymbols(ge);rt<Vt.length;rt++)Re.indexOf(Vt[rt])<0&&Object.prototype.propertyIsEnumerable.call(ge,Vt[rt])&&(qe[Vt[rt]]=ge[Vt[rt]]);return qe},Xt=b.forwardRef((ge,Re)=>{const{prefixCls:qe,className:Vt,rootClassName:rt,style:Zt,tooltips:st,character:$t=b.createElement(Xe,null),disabled:Nt}=ge,le=Yt(ge,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(ht,Dt)=>{let{index:Oe}=Dt;return st?b.createElement(ct.Z,{title:st[Oe]},ht):ht},{getPrefixCls:te,direction:ae,rate:de}=b.useContext(Ke.E_),re=te("rate",qe),[ue,xe,tt]=ke(re),Ve=Object.assign(Object.assign({},de==null?void 0:de.style),Zt),We=b.useContext(be.Z),lt=Nt!=null?Nt:We;return ue(b.createElement(Ue,Object.assign({ref:Re,character:$t,characterRender:ne,disabled:lt},le,{className:he()(Vt,rt,xe,tt,de==null?void 0:de.className),style:Ve,prefixCls:re,direction:ae})))})},82326:function(Tn,cn,z){"use strict";var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(37463),we=z(2738),Se=z(75030),Pe=z(86641),Xe=z(45915),Ee=z(82855),he=z(48755),ut=z(38406),Be=z(2171),bt=z(83397),it=z(31756),He=z(56553),Fe=z(24971),Te=z(70045),ot=z(57700),Ct=z(1722),tn=z(90376),se=z(68525),Ie=z(90005),dt=function(ct,De){var gt={};for(var Ye in ct)Object.prototype.hasOwnProperty.call(ct,Ye)&&De.indexOf(Ye)<0&&(gt[Ye]=ct[Ye]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Ye=Object.getOwnPropertySymbols(ct);fe<Ye.length;fe++)De.indexOf(Ye[fe])<0&&Object.prototype.propertyIsEnumerable.call(ct,Ye[fe])&&(gt[Ye[fe]]=ct[Ye[fe]]);return gt};const yt="SECRET_COMBOBOX_MODE_DO_NOT_USE",kt=(ct,De)=>{var gt;const{prefixCls:Ye,bordered:fe,className:Ft,rootClassName:Ge,getPopupContainer:xt,popupClassName:fn,dropdownClassName:ke,listHeight:be=256,placement:Yt,listItemHeight:ln,size:Xt,disabled:ge,notFoundContent:Re,status:qe,builtinPlacements:Vt,dropdownMatchSelectWidth:rt,popupMatchSelectWidth:Zt,direction:st,style:$t,allowClear:Nt,variant:le,dropdownStyle:ne,transitionName:te,tagRender:ae,maxCount:de,prefix:re}=ct,ue=dt(ct,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:xe,getPrefixCls:tt,renderEmpty:Ve,direction:We,virtual:lt,popupMatchSelectWidth:ht,popupOverflow:Dt}=b.useContext(he.E_),Oe=(0,he.dj)("select"),[,ze]=(0,ot.ZP)(),on=ln!=null?ln:ze==null?void 0:ze.controlHeight,Rt=tt("select",Ye),vn=tt(),Bt=st!=null?st:We,{compactSize:at,compactItemClassnames:pt}=(0,Te.ri)(Rt,Bt),[Gt,Je]=(0,Fe.Z)("select",le,fe),At=(0,bt.Z)(Rt),[Jt,an,Le]=(0,tn.Z)(Rt,At),Et=b.useMemo(()=>{const{mode:Dr}=ct;if(Dr!=="combobox")return Dr===yt?"combobox":Dr},[ct.mode]),zt=Et==="multiple"||Et==="tags",rn=(0,Ie.Z)(ct.suffixIcon,ct.showArrow),yn=(gt=Zt!=null?Zt:rt)!==null&>!==void 0?gt:ht,{status:Nn,hasFeedback:Vn,isFormItemInput:Xn,feedbackIcon:Bn}=b.useContext(He.aM),jn=(0,Ee.F)(Nn,qe);let wt;Re!==void 0?wt=Re:Et==="combobox"?wt=null:wt=(Ve==null?void 0:Ve("Select"))||b.createElement(ut.Z,{componentName:"Select"});const{suffixIcon:mt,itemIcon:qt,removeIcon:jt,clearIcon:Ot}=(0,se.Z)(Object.assign(Object.assign({},ue),{multiple:zt,hasFeedback:Vn,feedbackIcon:Bn,showSuffixIcon:rn,prefixCls:Rt,componentName:"Select"})),bn=Nt===!0?{clearIcon:Ot}:Nt,pn=(0,we.Z)(ue,["suffixIcon","itemIcon"]),On=pe()(fn||ke,{[`${Rt}-dropdown-${Bt}`]:Bt==="rtl"},Ge,Le,At,an),Qn=(0,it.Z)(Dr=>{var xn;return(xn=Xt!=null?Xt:at)!==null&&xn!==void 0?xn:Dr}),Hn=b.useContext(Be.Z),Dn=ge!=null?ge:Hn,ir=pe()({[`${Rt}-lg`]:Qn==="large",[`${Rt}-sm`]:Qn==="small",[`${Rt}-rtl`]:Bt==="rtl",[`${Rt}-${Gt}`]:Je,[`${Rt}-in-form-item`]:Xn},(0,Ee.Z)(Rt,jn,Vn),pt,Oe.className,Ft,Ge,Le,At,an),Fn=b.useMemo(()=>Yt!==void 0?Yt:Bt==="rtl"?"bottomRight":"bottomLeft",[Yt,Bt]),[pr]=(0,Se.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return Jt(b.createElement(_e.ZP,Object.assign({ref:De,virtual:lt,showSearch:Oe.showSearch},pn,{style:Object.assign(Object.assign({},Oe.style),$t),dropdownMatchSelectWidth:yn,transitionName:(0,Pe.m)(vn,"slide-up",te),builtinPlacements:(0,Ct.Z)(Vt,Dt),listHeight:be,listItemHeight:on,mode:Et,prefixCls:Rt,placement:Fn,direction:Bt,prefix:re,suffixIcon:mt,menuItemSelectedIcon:qt,removeIcon:jt,allowClear:bn,notFoundContent:wt,className:ir,getPopupContainer:xt||xe,dropdownClassName:On,disabled:Dn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:pr}),maxCount:zt?de:void 0,tagRender:zt?ae:void 0})))},Ue=b.forwardRef(kt),Ke=(0,Xe.Z)(Ue,"dropdownAlign");Ue.SECRET_COMBOBOX_MODE_DO_NOT_USE=yt,Ue.Option=_e.Wx,Ue.OptGroup=_e.Xo,Ue._InternalPanelDoNotUseOrYouWillBeFired=Ke,cn.default=Ue},1722:function(Tn,cn){"use strict";const z=Me=>{const _e={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Me==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},_e),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},_e),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},_e),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},_e),{points:["br","tr"],offset:[0,-4]})}};function b(Me,pe){return Me||z(pe)}cn.Z=b},90376:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Ye}});var b=z(63356),Me=z(56119),pe=z(16931),_e=z(51636),we=z(46e3),Se=z(93873);const Pe=fe=>{const{optionHeight:Ft,optionFontSize:Ge,optionLineHeight:xt,optionPadding:fn}=fe;return{position:"relative",display:"block",minHeight:Ft,padding:fn,color:fe.colorText,fontWeight:"normal",fontSize:Ge,lineHeight:xt,boxSizing:"border-box"}};var Ee=fe=>{const{antCls:Ft,componentCls:Ge}=fe,xt=`${Ge}-item`,fn=`&${Ft}-slide-up-enter${Ft}-slide-up-enter-active`,ke=`&${Ft}-slide-up-appear${Ft}-slide-up-appear-active`,be=`&${Ft}-slide-up-leave${Ft}-slide-up-leave-active`,Yt=`${Ge}-dropdown-placement-`,ln=`${xt}-option-selected`;return[{[`${Ge}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(fe)),{position:"absolute",top:-9999,zIndex:fe.zIndexPopup,boxSizing:"border-box",padding:fe.paddingXXS,overflow:"hidden",fontSize:fe.fontSize,fontVariant:"initial",backgroundColor:fe.colorBgElevated,borderRadius:fe.borderRadiusLG,outline:"none",boxShadow:fe.boxShadowSecondary,[`
|
|
|
${fn}${Yt}bottomLeft,
|
|
|
${ke}${Yt}bottomLeft
|
|
|
`]:{animationName:we.fJ},[`
|
|
|
${fn}${Yt}topLeft,
|
|
|
${ke}${Yt}topLeft,
|
|
|
${fn}${Yt}topRight,
|
|
|
${ke}${Yt}topRight
|
|
|
`]:{animationName:we.Qt},[`${be}${Yt}bottomLeft`]:{animationName:we.Uw},[`
|
|
|
${be}${Yt}topLeft,
|
|
|
${be}${Yt}topRight
|
|
|
`]:{animationName:we.ly},"&-hidden":{display:"none"},[xt]:Object.assign(Object.assign({},Pe(fe)),{cursor:"pointer",transition:`background ${fe.motionDurationSlow} ease`,borderRadius:fe.borderRadiusSM,"&-group":{color:fe.colorTextDescription,fontSize:fe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${xt}-option-disabled)`]:{backgroundColor:fe.optionActiveBg},[`&-selected:not(${xt}-option-disabled)`]:{color:fe.optionSelectedColor,fontWeight:fe.optionSelectedFontWeight,backgroundColor:fe.optionSelectedBg,[`${xt}-option-state`]:{color:fe.colorPrimary}},"&-disabled":{[`&${xt}-option-selected`]:{backgroundColor:fe.colorBgContainerDisabled},color:fe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:fe.calc(fe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Pe(fe)),{color:fe.colorTextDisabled})}),[`${ln}:has(+ ${ln})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${ln}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,we.oN)(fe,"slide-up"),(0,we.oN)(fe,"slide-down"),(0,Se.Fm)(fe,"move-up"),(0,Se.Fm)(fe,"move-down")]},he=z(26743),ut=z(36237);function Be(fe,Ft){const{componentCls:Ge,inputPaddingHorizontalBase:xt,borderRadius:fn}=fe,ke=fe.calc(fe.controlHeight).sub(fe.calc(fe.lineWidth).mul(2)).equal(),be=Ft?`${Ge}-${Ft}`:"";return{[`${Ge}-single${be}`]:{fontSize:fe.fontSize,height:fe.controlHeight,[`${Ge}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(fe,!0)),{display:"flex",borderRadius:fn,flex:"1 1 auto",[`${Ge}-selection-wrap:after`]:{lineHeight:(0,ut.unit)(ke)},[`${Ge}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${Ge}-selection-item,
|
|
|
${Ge}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,ut.unit)(ke),transition:`all ${fe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Ge}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ge}-selection-item:empty:after`,`${Ge}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Ge}-show-arrow ${Ge}-selection-item,
|
|
|
&${Ge}-show-arrow ${Ge}-selection-search,
|
|
|
&${Ge}-show-arrow ${Ge}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:fe.showArrowPaddingInlineEnd},[`&${Ge}-open ${Ge}-selection-item`]:{color:fe.colorTextPlaceholder},[`&:not(${Ge}-customize-input)`]:{[`${Ge}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,ut.unit)(xt)}`,[`${Ge}-selection-search-input`]:{height:ke,fontSize:fe.fontSize},"&:after":{lineHeight:(0,ut.unit)(ke)}}},[`&${Ge}-customize-input`]:{[`${Ge}-selector`]:{"&:after":{display:"none"},[`${Ge}-selection-search`]:{position:"static",width:"100%"},[`${Ge}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,ut.unit)(xt)}`,"&:after":{display:"none"}}}}}}}function bt(fe){const{componentCls:Ft}=fe,Ge=fe.calc(fe.controlPaddingHorizontalSM).sub(fe.lineWidth).equal();return[Be(fe),Be((0,_e.mergeToken)(fe,{controlHeight:fe.controlHeightSM,borderRadius:fe.borderRadiusSM}),"sm"),{[`${Ft}-single${Ft}-sm`]:{[`&:not(${Ft}-customize-input)`]:{[`${Ft}-selector`]:{padding:`0 ${(0,ut.unit)(Ge)}`},[`&${Ft}-show-arrow ${Ft}-selection-search`]:{insetInlineEnd:fe.calc(Ge).add(fe.calc(fe.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Ft}-show-arrow ${Ft}-selection-item,
|
|
|
&${Ft}-show-arrow ${Ft}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:fe.calc(fe.fontSize).mul(1.5).equal()}}}},Be((0,_e.mergeToken)(fe,{controlHeight:fe.singleItemHeightLG,fontSize:fe.fontSizeLG,borderRadius:fe.borderRadiusLG}),"lg")]}const it=fe=>{const{fontSize:Ft,lineHeight:Ge,lineWidth:xt,controlHeight:fn,controlHeightSM:ke,controlHeightLG:be,paddingXXS:Yt,controlPaddingHorizontal:ln,zIndexPopupBase:Xt,colorText:ge,fontWeightStrong:Re,controlItemBgActive:qe,controlItemBgHover:Vt,colorBgContainer:rt,colorFillSecondary:Zt,colorBgContainerDisabled:st,colorTextDisabled:$t,colorPrimaryHover:Nt,colorPrimary:le,controlOutline:ne}=fe,te=Yt*2,ae=xt*2,de=Math.min(fn-te,fn-ae),re=Math.min(ke-te,ke-ae),ue=Math.min(be-te,be-ae);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Yt/2),zIndexPopup:Xt+50,optionSelectedColor:ge,optionSelectedFontWeight:Re,optionSelectedBg:qe,optionActiveBg:Vt,optionPadding:`${(fn-Ft*Ge)/2}px ${ln}px`,optionFontSize:Ft,optionLineHeight:Ge,optionHeight:fn,selectorBg:rt,clearBg:rt,singleItemHeightLG:be,multipleItemBg:Zt,multipleItemBorderColor:"transparent",multipleItemHeight:de,multipleItemHeightSM:re,multipleItemHeightLG:ue,multipleSelectorBgDisabled:st,multipleItemColorDisabled:$t,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(fe.fontSize*1.25),hoverBorderColor:Nt,activeBorderColor:le,activeOutlineColor:ne,selectAffixPadding:Yt}},He=(fe,Ft)=>{const{componentCls:Ge,antCls:xt,controlOutlineWidth:fn}=fe;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} ${Ft.borderColor}`,background:fe.selectorBg},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${xt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{borderColor:Ft.hoverBorderHover},[`${Ge}-focused& ${Ge}-selector`]:{borderColor:Ft.activeBorderColor,boxShadow:`0 0 0 ${(0,ut.unit)(fn)} ${Ft.activeOutlineColor}`,outline:0},[`${Ge}-prefix`]:{color:Ft.color}}}},Fe=(fe,Ft)=>({[`&${fe.componentCls}-status-${Ft.status}`]:Object.assign({},He(fe,Ft))}),Te=fe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},He(fe,{borderColor:fe.colorBorder,hoverBorderHover:fe.hoverBorderColor,activeBorderColor:fe.activeBorderColor,activeOutlineColor:fe.activeOutlineColor,color:fe.colorText})),Fe(fe,{status:"error",borderColor:fe.colorError,hoverBorderHover:fe.colorErrorHover,activeBorderColor:fe.colorError,activeOutlineColor:fe.colorErrorOutline,color:fe.colorError})),Fe(fe,{status:"warning",borderColor:fe.colorWarning,hoverBorderHover:fe.colorWarningHover,activeBorderColor:fe.colorWarning,activeOutlineColor:fe.colorWarningOutline,color:fe.colorWarning})),{[`&${fe.componentCls}-disabled`]:{[`&:not(${fe.componentCls}-customize-input) ${fe.componentCls}-selector`]:{background:fe.colorBgContainerDisabled,color:fe.colorTextDisabled}},[`&${fe.componentCls}-multiple ${fe.componentCls}-selection-item`]:{background:fe.multipleItemBg,border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} ${fe.multipleItemBorderColor}`}})}),ot=(fe,Ft)=>{const{componentCls:Ge,antCls:xt}=fe;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{background:Ft.bg,border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} transparent`,color:Ft.color},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${xt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{background:Ft.hoverBg},[`${Ge}-focused& ${Ge}-selector`]:{background:fe.selectorBg,borderColor:Ft.activeBorderColor,outline:0}}}},Ct=(fe,Ft)=>({[`&${fe.componentCls}-status-${Ft.status}`]:Object.assign({},ot(fe,Ft))}),tn=fe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ot(fe,{bg:fe.colorFillTertiary,hoverBg:fe.colorFillSecondary,activeBorderColor:fe.activeBorderColor,color:fe.colorText})),Ct(fe,{status:"error",bg:fe.colorErrorBg,hoverBg:fe.colorErrorBgHover,activeBorderColor:fe.colorError,color:fe.colorError})),Ct(fe,{status:"warning",bg:fe.colorWarningBg,hoverBg:fe.colorWarningBgHover,activeBorderColor:fe.colorWarning,color:fe.colorWarning})),{[`&${fe.componentCls}-disabled`]:{[`&:not(${fe.componentCls}-customize-input) ${fe.componentCls}-selector`]:{borderColor:fe.colorBorder,background:fe.colorBgContainerDisabled,color:fe.colorTextDisabled}},[`&${fe.componentCls}-multiple ${fe.componentCls}-selection-item`]:{background:fe.colorBgContainer,border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} ${fe.colorSplit}`}})}),se=fe=>({"&-borderless":{[`${fe.componentCls}-selector`]:{background:"transparent",border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} transparent`},[`&${fe.componentCls}-disabled`]:{[`&:not(${fe.componentCls}-customize-input) ${fe.componentCls}-selector`]:{color:fe.colorTextDisabled}},[`&${fe.componentCls}-multiple ${fe.componentCls}-selection-item`]:{background:fe.multipleItemBg,border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} ${fe.multipleItemBorderColor}`},[`&${fe.componentCls}-status-error`]:{[`${fe.componentCls}-prefix, ${fe.componentCls}-selection-item`]:{color:fe.colorError}},[`&${fe.componentCls}-status-warning`]:{[`${fe.componentCls}-prefix, ${fe.componentCls}-selection-item`]:{color:fe.colorWarning}}}}),Ie=(fe,Ft)=>{const{componentCls:Ge,antCls:xt}=fe;return{[`&:not(${Ge}-customize-input) ${Ge}-selector`]:{borderWidth:`0 0 ${(0,ut.unit)(fe.lineWidth)} 0`,borderStyle:`none none ${fe.lineType} none`,borderColor:Ft.borderColor,background:fe.selectorBg,borderRadius:0},[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${xt}-pagination-size-changer)`]:{[`&:hover ${Ge}-selector`]:{borderColor:Ft.hoverBorderHover},[`${Ge}-focused& ${Ge}-selector`]:{borderColor:Ft.activeBorderColor,outline:0},[`${Ge}-prefix`]:{color:Ft.color}}}},dt=(fe,Ft)=>({[`&${fe.componentCls}-status-${Ft.status}`]:Object.assign({},Ie(fe,Ft))}),yt=fe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ie(fe,{borderColor:fe.colorBorder,hoverBorderHover:fe.hoverBorderColor,activeBorderColor:fe.activeBorderColor,activeOutlineColor:fe.activeOutlineColor,color:fe.colorText})),dt(fe,{status:"error",borderColor:fe.colorError,hoverBorderHover:fe.colorErrorHover,activeBorderColor:fe.colorError,activeOutlineColor:fe.colorErrorOutline,color:fe.colorError})),dt(fe,{status:"warning",borderColor:fe.colorWarning,hoverBorderHover:fe.colorWarningHover,activeBorderColor:fe.colorWarning,activeOutlineColor:fe.colorWarningOutline,color:fe.colorWarning})),{[`&${fe.componentCls}-disabled`]:{[`&:not(${fe.componentCls}-customize-input) ${fe.componentCls}-selector`]:{color:fe.colorTextDisabled}},[`&${fe.componentCls}-multiple ${fe.componentCls}-selection-item`]:{background:fe.multipleItemBg,border:`${(0,ut.unit)(fe.lineWidth)} ${fe.lineType} ${fe.multipleItemBorderColor}`}})});var Ue=fe=>({[fe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Te(fe)),tn(fe)),se(fe)),yt(fe))});const Ke=fe=>{const{componentCls:Ft}=fe;return{position:"relative",transition:`all ${fe.motionDurationMid} ${fe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ft}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ft}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ct=fe=>{const{componentCls:Ft}=fe;return{[`${Ft}-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"}}}},De=fe=>{const{antCls:Ft,componentCls:Ge,inputPaddingHorizontalBase:xt,iconCls:fn}=fe;return{[Ge]:Object.assign(Object.assign({},(0,b.Wf)(fe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Ge}-customize-input) ${Ge}-selector`]:Object.assign(Object.assign({},Ke(fe)),ct(fe)),[`${Ge}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Ft}-typography`]:{display:"inline"}}),[`${Ge}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:fe.colorTextPlaceholder,pointerEvents:"none"}),[`${Ge}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:xt,height:fe.fontSizeIcon,marginTop:fe.calc(fe.fontSizeIcon).mul(-1).div(2).equal(),color:fe.colorTextQuaternary,fontSize:fe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${fe.motionDurationSlow} ease`,[fn]:{verticalAlign:"top",transition:`transform ${fe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ge}-suffix)`]:{pointerEvents:"auto"}},[`${Ge}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ge}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Ge}-prefix`]:{flex:"none",marginInlineEnd:fe.selectAffixPadding},[`${Ge}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:xt,zIndex:1,display:"inline-block",width:fe.fontSizeIcon,height:fe.fontSizeIcon,marginTop:fe.calc(fe.fontSizeIcon).mul(-1).div(2).equal(),color:fe.colorTextQuaternary,fontSize:fe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${fe.motionDurationMid} ease, opacity ${fe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:fe.colorTextTertiary}},[`&:hover ${Ge}-clear`]:{opacity:1,background:fe.colorBgBase,borderRadius:"50%"}}),[`${Ge}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Ge}-has-feedback`]:{[`${Ge}-clear`]:{insetInlineEnd:fe.calc(xt).add(fe.fontSize).add(fe.paddingXS).equal()}}}}}},gt=fe=>{const{componentCls:Ft}=fe;return[{[Ft]:{[`&${Ft}-in-form-item`]:{width:"100%"}}},De(fe),bt(fe),(0,he.ZP)(fe),Ee(fe),{[`${Ft}-rtl`]:{direction:"rtl"}},(0,Me.c)(fe,{borderElCls:`${Ft}-selector`,focusElCls:`${Ft}-focused`})]};var Ye=(0,pe.I$)("Select",(fe,Ft)=>{let{rootPrefixCls:Ge}=Ft;const xt=(0,_e.mergeToken)(fe,{rootPrefixCls:Ge,inputPaddingHorizontalBase:fe.calc(fe.paddingSM).sub(1).equal(),multipleSelectItemHeight:fe.multipleItemHeight,selectHeight:fe.controlHeight});return[gt(xt),Ue(xt)]},it,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Tn,cn,z){"use strict";z.d(cn,{_z:function(){return Se},gp:function(){return _e}});var b=z(36237),Me=z(63356),pe=z(51636);const _e=he=>{const{multipleSelectItemHeight:ut,paddingXXS:Be,lineWidth:bt,INTERNAL_FIXED_ITEM_MARGIN:it}=he,He=he.max(he.calc(Be).sub(bt).equal(),0),Fe=he.max(he.calc(He).sub(it).equal(),0);return{basePadding:He,containerPadding:Fe,itemHeight:(0,b.unit)(ut),itemLineHeight:(0,b.unit)(he.calc(ut).sub(he.calc(he.lineWidth).mul(2)).equal())}},we=he=>{const{multipleSelectItemHeight:ut,selectHeight:Be,lineWidth:bt}=he;return he.calc(Be).sub(ut).div(2).sub(bt).equal()},Se=he=>{const{componentCls:ut,iconCls:Be,borderRadiusSM:bt,motionDurationSlow:it,paddingXS:He,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:Te,colorIcon:ot,colorIconHover:Ct,INTERNAL_FIXED_ITEM_MARGIN:tn}=he;return{[`${ut}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${ut}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:tn,borderRadius:bt,cursor:"default",transition:`font-size ${it}, line-height ${it}, height ${it}`,marginInlineEnd:he.calc(tn).mul(2).equal(),paddingInlineStart:He,paddingInlineEnd:he.calc(He).div(2).equal(),[`${ut}-disabled&`]:{color:Fe,borderColor:Te,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:he.calc(He).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Me.Ro)()),{display:"inline-flex",alignItems:"center",color:ot,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Be}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ct}})}}}},Pe=(he,ut)=>{const{componentCls:Be,INTERNAL_FIXED_ITEM_MARGIN:bt}=he,it=`${Be}-selection-overflow`,He=he.multipleSelectItemHeight,Fe=we(he),Te=ut?`${Be}-${ut}`:"",ot=_e(he);return{[`${Be}-multiple${Te}`]:Object.assign(Object.assign({},Se(he)),{[`${Be}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:ot.basePadding,paddingBlock:ot.containerPadding,borderRadius:he.borderRadius,[`${Be}-disabled&`]:{background:he.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(bt)} 0`,lineHeight:(0,b.unit)(He),visibility:"hidden",content:'"\\a0"'}},[`${Be}-selection-item`]:{height:ot.itemHeight,lineHeight:(0,b.unit)(ot.itemLineHeight)},[`${Be}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(He),marginBlock:bt}},[`${Be}-prefix`]:{marginInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(ot.basePadding).equal()},[`${it}-item + ${it}-item,
|
|
|
${Be}-prefix + ${Be}-selection-wrap
|
|
|
`]:{[`${Be}-selection-search`]:{marginInlineStart:0},[`${Be}-selection-placeholder`]:{insetInlineStart:0}},[`${it}-item-suffix`]:{minHeight:ot.itemHeight,marginBlock:bt},[`${Be}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(Fe).equal(),"\n &-input,\n &-mirror\n ":{height:He,fontFamily:he.fontFamily,lineHeight:(0,b.unit)(He),transition:`all ${he.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Be}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:he.calc(he.inputPaddingHorizontalBase).sub(ot.basePadding).equal(),insetInlineEnd:he.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${he.motionDurationSlow}`}})}};function Xe(he,ut){const{componentCls:Be}=he,bt=ut?`${Be}-${ut}`:"",it={[`${Be}-multiple${bt}`]:{fontSize:he.fontSize,[`${Be}-selector`]:{[`${Be}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${Be}-show-arrow ${Be}-selector,
|
|
|
&${Be}-allow-clear ${Be}-selector
|
|
|
`]:{paddingInlineEnd:he.calc(he.fontSizeIcon).add(he.controlPaddingHorizontal).equal()}}};return[Pe(he,ut),it]}const Ee=he=>{const{componentCls:ut}=he,Be=(0,pe.mergeToken)(he,{selectHeight:he.controlHeightSM,multipleSelectItemHeight:he.multipleItemHeightSM,borderRadius:he.borderRadiusSM,borderRadiusSM:he.borderRadiusXS}),bt=(0,pe.mergeToken)(he,{fontSize:he.fontSizeLG,selectHeight:he.controlHeightLG,multipleSelectItemHeight:he.multipleItemHeightLG,borderRadius:he.borderRadiusLG,borderRadiusSM:he.borderRadius});return[Xe(he),Xe(Be,"sm"),{[`${ut}-multiple${ut}-sm`]:{[`${ut}-selection-placeholder`]:{insetInline:he.calc(he.controlPaddingHorizontalSM).sub(he.lineWidth).equal()},[`${ut}-selection-search`]:{marginInlineStart:2}}},Xe(bt,"lg")]};cn.ZP=Ee},68525:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});var b=z(59301),Me=z(40001),pe=z(19248),_e=z(99267),we=z(84105),Se=z(58617),Pe=z(47472);function Xe(Ee){let{suffixIcon:he,clearIcon:ut,menuItemSelectedIcon:Be,removeIcon:bt,loading:it,multiple:He,hasFeedback:Fe,prefixCls:Te,showSuffixIcon:ot,feedbackIcon:Ct,showArrow:tn,componentName:se}=Ee;const Ie=ut!=null?ut:b.createElement(pe.Z,null),dt=Ke=>he===null&&!Fe&&!tn?null:b.createElement(b.Fragment,null,ot!==!1&&Ke,Fe&&Ct);let yt=null;if(he!==void 0)yt=dt(he);else if(it)yt=dt(b.createElement(Se.Z,{spin:!0}));else{const Ke=`${Te}-suffix`;yt=ct=>{let{open:De,showSearch:gt}=ct;return dt(De&>?b.createElement(Pe.Z,{className:Ke}):b.createElement(we.Z,{className:Ke}))}}let kt=null;Be!==void 0?kt=Be:He?kt=b.createElement(Me.Z,null):kt=null;let Ue=null;return bt!==void 0?Ue=bt:Ue=b.createElement(_e.Z,null),{clearIcon:Ie,suffixIcon:yt,itemIcon:kt,removeIcon:Ue}}},90005:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return b}});function b(Me,pe){return pe!==void 0?pe:Me!==null}},11938:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return ct}});var b=z(59301),Me=z(40192),pe=z(22703),_e=z(92310),we=z.n(_e),Se=z(26112),Pe=z(48755),Xe=z(458),he=De=>{const{value:gt,formatter:Ye,precision:fe,decimalSeparator:Ft,groupSeparator:Ge="",prefixCls:xt}=De;let fn;if(typeof Ye=="function")fn=Ye(gt);else{const ke=String(gt),be=ke.match(/^(-?)(\d*)(\.(\d+))?$/);if(!be||ke==="-")fn=ke;else{const Yt=be[1];let ln=be[2]||"0",Xt=be[4]||"";ln=ln.replace(/\B(?=(\d{3})+(?!\d))/g,Ge),typeof fe=="number"&&(Xt=Xt.padEnd(fe,"0").slice(0,fe>0?fe:0)),Xt&&(Xt=`${Ft}${Xt}`),fn=[b.createElement("span",{key:"int",className:`${xt}-content-value-int`},Yt,ln),Xt&&b.createElement("span",{key:"decimal",className:`${xt}-content-value-decimal`},Xt)]}}return b.createElement("span",{className:`${xt}-content-value`},fn)},ut=z(63356),Be=z(16931),bt=z(51636);const it=De=>{const{componentCls:gt,marginXXS:Ye,padding:fe,colorTextDescription:Ft,titleFontSize:Ge,colorTextHeading:xt,contentFontSize:fn,fontFamily:ke}=De;return{[gt]:Object.assign(Object.assign({},(0,ut.Wf)(De)),{[`${gt}-title`]:{marginBottom:Ye,color:Ft,fontSize:Ge},[`${gt}-skeleton`]:{paddingTop:fe},[`${gt}-content`]:{color:xt,fontSize:fn,fontFamily:ke,[`${gt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${gt}-content-prefix, ${gt}-content-suffix`]:{display:"inline-block"},[`${gt}-content-prefix`]:{marginInlineEnd:Ye},[`${gt}-content-suffix`]:{marginInlineStart:Ye}}})}},He=De=>{const{fontSizeHeading3:gt,fontSize:Ye}=De;return{titleFontSize:Ye,contentFontSize:gt}};var Fe=(0,Be.I$)("Statistic",De=>{const gt=(0,bt.mergeToken)(De,{});return[it(gt)]},He),Te=function(De,gt){var Ye={};for(var fe in De)Object.prototype.hasOwnProperty.call(De,fe)&>.indexOf(fe)<0&&(Ye[fe]=De[fe]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,fe=Object.getOwnPropertySymbols(De);Ft<fe.length;Ft++)gt.indexOf(fe[Ft])<0&&Object.prototype.propertyIsEnumerable.call(De,fe[Ft])&&(Ye[fe[Ft]]=De[fe[Ft]]);return Ye},Ct=De=>{const{prefixCls:gt,className:Ye,rootClassName:fe,style:Ft,valueStyle:Ge,value:xt=0,title:fn,valueRender:ke,prefix:be,suffix:Yt,loading:ln=!1,formatter:Xt,precision:ge,decimalSeparator:Re=".",groupSeparator:qe=",",onMouseEnter:Vt,onMouseLeave:rt}=De,Zt=Te(De,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:st,direction:$t,className:Nt,style:le}=(0,Pe.dj)("statistic"),ne=st("statistic",gt),[te,ae,de]=Fe(ne),re=b.createElement(he,{decimalSeparator:Re,groupSeparator:qe,prefixCls:ne,formatter:Xt,precision:ge,value:xt}),ue=we()(ne,{[`${ne}-rtl`]:$t==="rtl"},Nt,Ye,fe,ae,de),xe=(0,Se.Z)(Zt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},xe,{className:ue,style:Object.assign(Object.assign({},le),Ft),onMouseEnter:Vt,onMouseLeave:rt}),fn&&b.createElement("div",{className:`${ne}-title`},fn),b.createElement(Xe.Z,{paragraph:!1,loading:ln,className:`${ne}-skeleton`},b.createElement("div",{style:Ge,className:`${ne}-content`},be&&b.createElement("span",{className:`${ne}-content-prefix`},be),ke?ke(re):re,Yt&&b.createElement("span",{className:`${ne}-content-suffix`},Yt)))))};const tn=[["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 se(De,gt){let Ye=De;const fe=/\[[^\]]*]/g,Ft=(gt.match(fe)||[]).map(ke=>ke.slice(1,-1)),Ge=gt.replace(fe,"[]"),xt=tn.reduce((ke,be)=>{let[Yt,ln]=be;if(ke.includes(Yt)){const Xt=Math.floor(Ye/ln);return Ye-=Xt*ln,ke.replace(new RegExp(`${Yt}+`,"g"),ge=>{const Re=ge.length;return Xt.toString().padStart(Re,"0")})}return ke},Ge);let fn=0;return xt.replace(fe,()=>{const ke=Ft[fn];return fn+=1,ke})}function Ie(De,gt){const{format:Ye=""}=gt,fe=new Date(De).getTime(),Ft=Date.now(),Ge=Math.max(fe-Ft,0);return se(Ge,Ye)}var dt=function(De,gt){var Ye={};for(var fe in De)Object.prototype.hasOwnProperty.call(De,fe)&>.indexOf(fe)<0&&(Ye[fe]=De[fe]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,fe=Object.getOwnPropertySymbols(De);Ft<fe.length;Ft++)gt.indexOf(fe[Ft])<0&&Object.prototype.propertyIsEnumerable.call(De,fe[Ft])&&(Ye[fe[Ft]]=De[fe[Ft]]);return Ye};const yt=1e3/30;function kt(De){return new Date(De).getTime()}const Ue=De=>{const{value:gt,format:Ye="HH:mm:ss",onChange:fe,onFinish:Ft}=De,Ge=dt(De,["value","format","onChange","onFinish"]),xt=(0,Me.Z)(),fn=b.useRef(null),ke=()=>{Ft==null||Ft(),fn.current&&(clearInterval(fn.current),fn.current=null)},be=()=>{const Xt=kt(gt);Xt>=Date.now()&&(fn.current=setInterval(()=>{xt(),fe==null||fe(Xt-Date.now()),Xt<Date.now()&&ke()},yt))};b.useEffect(()=>(be(),()=>{fn.current&&(clearInterval(fn.current),fn.current=null)}),[gt]);const Yt=(Xt,ge)=>Ie(Xt,Object.assign(Object.assign({},ge),{format:Ye})),ln=Xt=>(0,pe.Tm)(Xt,{title:void 0});return b.createElement(Ct,Object.assign({},Ge,{value:gt,valueRender:ln,formatter:Yt}))};var Ke=b.memo(Ue);Ct.Countdown=Ke;var ct=Ct},58755:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Ft}});var b=z(59301),Me=z(58617),pe=z(92310),_e=z.n(pe),we=z(60499),Se=z(18642),Pe=z(72190),Xe=z(42244),Ee=z(18929),he=z(10228),ut=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=b.forwardRef(function(Ge,xt){var fn,ke=Ge.prefixCls,be=ke===void 0?"rc-switch":ke,Yt=Ge.className,ln=Ge.checked,Xt=Ge.defaultChecked,ge=Ge.disabled,Re=Ge.loadingIcon,qe=Ge.checkedChildren,Vt=Ge.unCheckedChildren,rt=Ge.onClick,Zt=Ge.onChange,st=Ge.onKeyDown,$t=(0,Xe.Z)(Ge,ut),Nt=(0,Ee.Z)(!1,{value:ln,defaultValue:Xt}),le=(0,Pe.Z)(Nt,2),ne=le[0],te=le[1];function ae(xe,tt){var Ve=ne;return ge||(Ve=xe,te(Ve),Zt==null||Zt(Ve,tt)),Ve}function de(xe){xe.which===he.Z.LEFT?ae(!1,xe):xe.which===he.Z.RIGHT&&ae(!0,xe),st==null||st(xe)}function re(xe){var tt=ae(!ne,xe);rt==null||rt(tt,xe)}var ue=_e()(be,Yt,(fn={},(0,Se.Z)(fn,"".concat(be,"-checked"),ne),(0,Se.Z)(fn,"".concat(be,"-disabled"),ge),fn));return b.createElement("button",(0,we.Z)({},$t,{type:"button",role:"switch","aria-checked":ne,disabled:ge,className:ue,ref:xt,onKeyDown:de,onClick:re}),Re,b.createElement("span",{className:"".concat(be,"-inner")},b.createElement("span",{className:"".concat(be,"-inner-checked")},qe),b.createElement("span",{className:"".concat(be,"-inner-unchecked")},Vt)))});Be.displayName="Switch";var bt=Be,it=z(12919),He=z(48755),Fe=z(2171),Te=z(31756),ot=z(36237),Ct=z(17835),tn=z(63356),se=z(16931),Ie=z(51636);const dt=Ge=>{const{componentCls:xt,trackHeightSM:fn,trackPadding:ke,trackMinWidthSM:be,innerMinMarginSM:Yt,innerMaxMarginSM:ln,handleSizeSM:Xt,calc:ge}=Ge,Re=`${xt}-inner`,qe=(0,ot.unit)(ge(Xt).add(ge(ke).mul(2)).equal()),Vt=(0,ot.unit)(ge(ln).mul(2).equal());return{[xt]:{[`&${xt}-small`]:{minWidth:be,height:fn,lineHeight:(0,ot.unit)(fn),[`${xt}-inner`]:{paddingInlineStart:ln,paddingInlineEnd:Yt,[`${Re}-checked, ${Re}-unchecked`]:{minHeight:fn},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${qe} - ${Vt})`,marginInlineEnd:`calc(100% - ${qe} + ${Vt})`},[`${Re}-unchecked`]:{marginTop:ge(fn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${xt}-handle`]:{width:Xt,height:Xt},[`${xt}-loading-icon`]:{top:ge(ge(Xt).sub(Ge.switchLoadingIconSize)).div(2).equal(),fontSize:Ge.switchLoadingIconSize},[`&${xt}-checked`]:{[`${xt}-inner`]:{paddingInlineStart:Yt,paddingInlineEnd:ln,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${qe} + ${Vt})`,marginInlineEnd:`calc(-100% + ${qe} - ${Vt})`}},[`${xt}-handle`]:{insetInlineStart:`calc(100% - ${(0,ot.unit)(ge(Xt).add(ke).equal())})`}},[`&:not(${xt}-disabled):active`]:{[`&:not(${xt}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:ge(Ge.marginXXS).div(2).equal(),marginInlineEnd:ge(Ge.marginXXS).mul(-1).div(2).equal()}},[`&${xt}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:ge(Ge.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:ge(Ge.marginXXS).div(2).equal()}}}}}}},yt=Ge=>{const{componentCls:xt,handleSize:fn,calc:ke}=Ge;return{[xt]:{[`${xt}-loading-icon${Ge.iconCls}`]:{position:"relative",top:ke(ke(fn).sub(Ge.fontSize)).div(2).equal(),color:Ge.switchLoadingIconColor,verticalAlign:"top"},[`&${xt}-checked ${xt}-loading-icon`]:{color:Ge.switchColor}}}},kt=Ge=>{const{componentCls:xt,trackPadding:fn,handleBg:ke,handleShadow:be,handleSize:Yt,calc:ln}=Ge,Xt=`${xt}-handle`;return{[xt]:{[Xt]:{position:"absolute",top:fn,insetInlineStart:fn,width:Yt,height:Yt,transition:`all ${Ge.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ke,borderRadius:ln(Yt).div(2).equal(),boxShadow:be,transition:`all ${Ge.switchDuration} ease-in-out`,content:'""'}},[`&${xt}-checked ${Xt}`]:{insetInlineStart:`calc(100% - ${(0,ot.unit)(ln(Yt).add(fn).equal())})`},[`&:not(${xt}-disabled):active`]:{[`${Xt}::before`]:{insetInlineEnd:Ge.switchHandleActiveInset,insetInlineStart:0},[`&${xt}-checked ${Xt}::before`]:{insetInlineEnd:0,insetInlineStart:Ge.switchHandleActiveInset}}}}},Ue=Ge=>{const{componentCls:xt,trackHeight:fn,trackPadding:ke,innerMinMargin:be,innerMaxMargin:Yt,handleSize:ln,calc:Xt}=Ge,ge=`${xt}-inner`,Re=(0,ot.unit)(Xt(ln).add(Xt(ke).mul(2)).equal()),qe=(0,ot.unit)(Xt(Yt).mul(2).equal());return{[xt]:{[ge]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Yt,paddingInlineEnd:be,transition:`padding-inline-start ${Ge.switchDuration} ease-in-out, padding-inline-end ${Ge.switchDuration} ease-in-out`,[`${ge}-checked, ${ge}-unchecked`]:{display:"block",color:Ge.colorTextLightSolid,fontSize:Ge.fontSizeSM,transition:`margin-inline-start ${Ge.switchDuration} ease-in-out, margin-inline-end ${Ge.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:fn},[`${ge}-checked`]:{marginInlineStart:`calc(-100% + ${Re} - ${qe})`,marginInlineEnd:`calc(100% - ${Re} + ${qe})`},[`${ge}-unchecked`]:{marginTop:Xt(fn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${xt}-checked ${ge}`]:{paddingInlineStart:be,paddingInlineEnd:Yt,[`${ge}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ge}-unchecked`]:{marginInlineStart:`calc(100% - ${Re} + ${qe})`,marginInlineEnd:`calc(-100% + ${Re} - ${qe})`}},[`&:not(${xt}-disabled):active`]:{[`&:not(${xt}-checked) ${ge}`]:{[`${ge}-unchecked`]:{marginInlineStart:Xt(ke).mul(2).equal(),marginInlineEnd:Xt(ke).mul(-1).mul(2).equal()}},[`&${xt}-checked ${ge}`]:{[`${ge}-checked`]:{marginInlineStart:Xt(ke).mul(-1).mul(2).equal(),marginInlineEnd:Xt(ke).mul(2).equal()}}}}}},Ke=Ge=>{const{componentCls:xt,trackHeight:fn,trackMinWidth:ke}=Ge;return{[xt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tn.Wf)(Ge)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:ke,height:fn,lineHeight:(0,ot.unit)(fn),verticalAlign:"middle",background:Ge.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ge.motionDurationMid}`,userSelect:"none",[`&:hover:not(${xt}-disabled)`]:{background:Ge.colorTextTertiary}}),(0,tn.Qy)(Ge)),{[`&${xt}-checked`]:{background:Ge.switchColor,[`&:hover:not(${xt}-disabled)`]:{background:Ge.colorPrimaryHover}},[`&${xt}-loading, &${xt}-disabled`]:{cursor:"not-allowed",opacity:Ge.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${xt}-rtl`]:{direction:"rtl"}})}},ct=Ge=>{const{fontSize:xt,lineHeight:fn,controlHeight:ke,colorWhite:be}=Ge,Yt=xt*fn,ln=ke/2,Xt=2,ge=Yt-Xt*2,Re=ln-Xt*2;return{trackHeight:Yt,trackHeightSM:ln,trackMinWidth:ge*2+Xt*4,trackMinWidthSM:Re*2+Xt*2,trackPadding:Xt,handleBg:be,handleSize:ge,handleSizeSM:Re,handleShadow:`0 2px 4px 0 ${new Ct.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:ge/2,innerMaxMargin:ge+Xt+Xt*2,innerMinMarginSM:Re/2,innerMaxMarginSM:Re+Xt+Xt*2}};var De=(0,se.I$)("Switch",Ge=>{const xt=(0,Ie.mergeToken)(Ge,{switchDuration:Ge.motionDurationMid,switchColor:Ge.colorPrimary,switchDisabledOpacity:Ge.opacityLoading,switchLoadingIconSize:Ge.calc(Ge.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Ge.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ke(xt),Ue(xt),kt(xt),yt(xt),dt(xt)]},ct),gt=function(Ge,xt){var fn={};for(var ke in Ge)Object.prototype.hasOwnProperty.call(Ge,ke)&&xt.indexOf(ke)<0&&(fn[ke]=Ge[ke]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ke=Object.getOwnPropertySymbols(Ge);be<ke.length;be++)xt.indexOf(ke[be])<0&&Object.prototype.propertyIsEnumerable.call(Ge,ke[be])&&(fn[ke[be]]=Ge[ke[be]]);return fn};const fe=b.forwardRef((Ge,xt)=>{const{prefixCls:fn,size:ke,disabled:be,loading:Yt,className:ln,rootClassName:Xt,style:ge,checked:Re,value:qe,defaultChecked:Vt,defaultValue:rt,onChange:Zt}=Ge,st=gt(Ge,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[$t,Nt]=(0,Ee.Z)(!1,{value:Re!=null?Re:qe,defaultValue:Vt!=null?Vt:rt}),{getPrefixCls:le,direction:ne,switch:te}=b.useContext(He.E_),ae=b.useContext(Fe.Z),de=(be!=null?be:ae)||Yt,re=le("switch",fn),ue=b.createElement("div",{className:`${re}-handle`},Yt&&b.createElement(Me.Z,{className:`${re}-loading-icon`})),[xe,tt,Ve]=De(re),We=(0,Te.Z)(ke),lt=_e()(te==null?void 0:te.className,{[`${re}-small`]:We==="small",[`${re}-loading`]:Yt,[`${re}-rtl`]:ne==="rtl"},ln,Xt,tt,Ve),ht=Object.assign(Object.assign({},te==null?void 0:te.style),ge),Dt=function(){Nt(arguments.length<=0?void 0:arguments[0]),Zt==null||Zt.apply(void 0,arguments)};return xe(b.createElement(it.Z,{component:"Switch"},b.createElement(bt,Object.assign({},st,{checked:$t,onChange:Dt,prefixCls:re,className:lt,style:ht,disabled:de,ref:xt,loadingIcon:ue}))))});fe.__ANT_SWITCH=!0;var Ft=fe},70858:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return uo}});var b=z(59301),Me={},pe="rc-table-internal-hook",_e=z(72190),we=z(6089),Se=z(34280),Pe=z(13697),Xe=z(4676);function Ee(ve){var me=b.createContext(void 0),$e=function(It){var Ht=It.value,sn=It.children,en=b.useRef(Ht);en.current=Ht;var mn=b.useState(function(){return{getValue:function(){return en.current},listeners:new Set}}),gn=(0,_e.Z)(mn,1),Ln=gn[0];return(0,Se.Z)(function(){(0,Xe.unstable_batchedUpdates)(function(){Ln.listeners.forEach(function(In){In(Ht)})})},[Ht]),b.createElement(me.Provider,{value:Ln},sn)};return{Context:me,Provider:$e,defaultValue:ve}}function he(ve,me){var $e=(0,we.Z)(typeof me=="function"?me:function(In){if(me===void 0)return In;if(!Array.isArray(me))return In[me];var Pn={};return me.forEach(function(En){Pn[En]=In[En]}),Pn}),ft=b.useContext(ve==null?void 0:ve.Context),It=ft||{},Ht=It.listeners,sn=It.getValue,en=b.useRef();en.current=$e(ft?sn():ve==null?void 0:ve.defaultValue);var mn=b.useState({}),gn=(0,_e.Z)(mn,2),Ln=gn[1];return(0,Se.Z)(function(){if(!ft)return;function In(Pn){var En=$e(Pn);(0,Pe.Z)(en.current,En,!0)||Ln({})}return Ht.add(In),function(){Ht.delete(In)}},[ft]),en.current}var ut=z(60499),Be=z(8654);function bt(){var ve=b.createContext(null);function me(){return b.useContext(ve)}function $e(It,Ht){var sn=(0,Be.Yr)(It),en=function(gn,Ln){var In=sn?{ref:Ln}:{},Pn=b.useRef(0),En=b.useRef(gn),Cn=me();return Cn!==null?b.createElement(It,(0,ut.Z)({},gn,In)):((!Ht||Ht(En.current,gn))&&(Pn.current+=1),En.current=gn,b.createElement(ve.Provider,{value:Pn.current},b.createElement(It,(0,ut.Z)({},gn,In))))};return sn?b.forwardRef(en):en}function ft(It,Ht){var sn=(0,Be.Yr)(It),en=function(gn,Ln){var In=sn?{ref:Ln}:{};return me(),b.createElement(It,(0,ut.Z)({},gn,In))};return sn?b.memo(b.forwardRef(en),Ht):b.memo(en,Ht)}return{makeImmutable:$e,responseImmutable:ft,useImmutableMark:me}}var it=bt(),He=it.makeImmutable,Fe=it.responseImmutable,Te=it.useImmutableMark,ot=bt(),Ct=ot.makeImmutable,tn=ot.responseImmutable,se=ot.useImmutableMark,Ie=Ee(),dt=Ie;function yt(ve,me){var $e=React.useRef(0);$e.current+=1;var ft=React.useRef(ve),It=[];Object.keys(ve||{}).map(function(sn){var en;(ve==null?void 0:ve[sn])!==((en=ft.current)===null||en===void 0?void 0:en[sn])&&It.push(sn)}),ft.current=ve;var Ht=React.useRef([]);return It.length&&(Ht.current=It),React.useDebugValue($e.current),React.useDebugValue(Ht.current.join(", ")),me&&console.log("".concat(me,":"),$e.current,Ht.current),$e.current}var kt=null,Ue=null,Ke=z(43749),ct=z(85899),De=z(18642),gt=z(92310),Ye=z.n(gt),fe=z(80547),Ft=z(97938),Ge=z(48736),xt=b.createContext({renderWithProps:!1}),fn=xt,ke="RC_TABLE_KEY";function be(ve){return ve==null?[]:Array.isArray(ve)?ve:[ve]}function Yt(ve){var me=[],$e={};return ve.forEach(function(ft){for(var It=ft||{},Ht=It.key,sn=It.dataIndex,en=Ht||be(sn).join("-")||ke;$e[en];)en="".concat(en,"_next");$e[en]=!0,me.push(en)}),me}function ln(ve){return ve!=null}function Xt(ve){return typeof ve=="number"&&!Number.isNaN(ve)}function ge(ve){return ve&&(0,Ke.Z)(ve)==="object"&&!Array.isArray(ve)&&!b.isValidElement(ve)}function Re(ve,me,$e,ft,It,Ht){var sn=b.useContext(fn),en=se(),mn=(0,fe.Z)(function(){if(ln(ft))return[ft];var gn=me==null||me===""?[]:Array.isArray(me)?me:[me],Ln=(0,Ft.Z)(ve,gn),In=Ln,Pn=void 0;if(It){var En=It(Ln,ve,$e);ge(En)?(In=En.children,Pn=En.props,sn.renderWithProps=!0):In=En}return[In,Pn]},[en,ve,ft,me,It,$e],function(gn,Ln){if(Ht){var In=(0,_e.Z)(gn,2),Pn=In[1],En=(0,_e.Z)(Ln,2),Cn=En[1];return Ht(Cn,Pn)}return sn.renderWithProps?!0:!(0,Pe.Z)(gn,Ln,!0)});return mn}function qe(ve,me,$e,ft){var It=ve+me-1;return ve<=ft&&It>=$e}function Vt(ve,me){return he(dt,function($e){var ft=qe(ve,me||1,$e.hoverStartRow,$e.hoverEndRow);return[ft,$e.onHover]})}var rt=z(70425),Zt=function(me){var $e=me.ellipsis,ft=me.rowType,It=me.children,Ht,sn=$e===!0?{showTitle:!0}:$e;return sn&&(sn.showTitle||ft==="header")&&(typeof It=="string"||typeof It=="number"?Ht=It.toString():b.isValidElement(It)&&typeof It.props.children=="string"&&(Ht=It.props.children)),Ht};function st(ve){var me,$e,ft,It,Ht,sn,en,mn,gn=ve.component,Ln=ve.children,In=ve.ellipsis,Pn=ve.scope,En=ve.prefixCls,Cn=ve.className,ur=ve.align,Kn=ve.record,gr=ve.render,fr=ve.dataIndex,Ar=ve.renderIndex,br=ve.shouldCellUpdate,Er=ve.index,Lr=ve.rowType,Wr=ve.colSpan,Ur=ve.rowSpan,Ci=ve.fixLeft,wr=ve.fixRight,Cr=ve.firstFixLeft,Mr=ve.lastFixLeft,_n=ve.firstFixRight,$n=ve.lastFixRight,Ir=ve.appendNode,jr=ve.additionalProps,ei=jr===void 0?{}:jr,Si=ve.isSticky,Kr="".concat(En,"-cell"),so=he(dt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),eo=so.supportSticky,qo=so.allColumnsFixedLeft,To=so.rowHoverable,Xo=Re(Kn,fr,Ar,Ln,gr,br),ra=(0,_e.Z)(Xo,2),oa=ra[0],go=ra[1],vo={},ma=typeof Ci=="number"&&eo,va=typeof wr=="number"&&eo;ma&&(vo.position="sticky",vo.left=Ci),va&&(vo.position="sticky",vo.right=wr);var Fi=(me=($e=(ft=go==null?void 0:go.colSpan)!==null&&ft!==void 0?ft:ei.colSpan)!==null&&$e!==void 0?$e:Wr)!==null&&me!==void 0?me:1,no=(It=(Ht=(sn=go==null?void 0:go.rowSpan)!==null&&sn!==void 0?sn:ei.rowSpan)!==null&&Ht!==void 0?Ht:Ur)!==null&&It!==void 0?It:1,Di=Vt(Er,no),ci=(0,_e.Z)(Di,2),Do=ci[0],zo=ci[1],aa=(0,rt.zX)(function($o){var Qo;Kn&&zo(Er,Er+no-1),ei==null||(Qo=ei.onMouseEnter)===null||Qo===void 0||Qo.call(ei,$o)}),Wo=(0,rt.zX)(function($o){var Qo;Kn&&zo(-1,-1),ei==null||(Qo=ei.onMouseLeave)===null||Qo===void 0||Qo.call(ei,$o)});if(Fi===0||no===0)return null;var pa=(en=ei.title)!==null&&en!==void 0?en:Zt({rowType:Lr,ellipsis:In,children:oa}),ca=Ye()(Kr,Cn,(mn={},(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)(mn,"".concat(Kr,"-fix-left"),ma&&eo),"".concat(Kr,"-fix-left-first"),Cr&&eo),"".concat(Kr,"-fix-left-last"),Mr&&eo),"".concat(Kr,"-fix-left-all"),Mr&&qo&&eo),"".concat(Kr,"-fix-right"),va&&eo),"".concat(Kr,"-fix-right-first"),_n&&eo),"".concat(Kr,"-fix-right-last"),$n&&eo),"".concat(Kr,"-ellipsis"),In),"".concat(Kr,"-with-append"),Ir),"".concat(Kr,"-fix-sticky"),(ma||va)&&Si&&eo),(0,De.Z)(mn,"".concat(Kr,"-row-hover"),!go&&Do)),ei.className,go==null?void 0:go.className),Li={};ur&&(Li.textAlign=ur);var Ui=(0,ct.Z)((0,ct.Z)((0,ct.Z)((0,ct.Z)({},go==null?void 0:go.style),vo),Li),ei.style),jo=oa;return(0,Ke.Z)(jo)==="object"&&!Array.isArray(jo)&&!b.isValidElement(jo)&&(jo=null),In&&(Mr||_n)&&(jo=b.createElement("span",{className:"".concat(Kr,"-content")},jo)),b.createElement(gn,(0,ut.Z)({},go,ei,{className:ca,style:Ui,title:pa,scope:Pn,onMouseEnter:To?aa:void 0,onMouseLeave:To?Wo:void 0,colSpan:Fi!==1?Fi:null,rowSpan:no!==1?no:null}),Ir,jo)}var $t=b.memo(st);function Nt(ve,me,$e,ft,It){var Ht=$e[ve]||{},sn=$e[me]||{},en,mn;Ht.fixed==="left"?en=ft.left[It==="rtl"?me:ve]:sn.fixed==="right"&&(mn=ft.right[It==="rtl"?ve:me]);var gn=!1,Ln=!1,In=!1,Pn=!1,En=$e[me+1],Cn=$e[ve-1],ur=En&&!En.fixed||Cn&&!Cn.fixed||$e.every(function(br){return br.fixed==="left"});if(It==="rtl"){if(en!==void 0){var Kn=Cn&&Cn.fixed==="left";Pn=!Kn&&ur}else if(mn!==void 0){var gr=En&&En.fixed==="right";In=!gr&&ur}}else if(en!==void 0){var fr=En&&En.fixed==="left";gn=!fr&&ur}else if(mn!==void 0){var Ar=Cn&&Cn.fixed==="right";Ln=!Ar&&ur}return{fixLeft:en,fixRight:mn,lastFixLeft:gn,firstFixRight:Ln,lastFixRight:In,firstFixLeft:Pn,isSticky:ft.isSticky}}var le=b.createContext({}),ne=le;function te(ve){var me=ve.className,$e=ve.index,ft=ve.children,It=ve.colSpan,Ht=It===void 0?1:It,sn=ve.rowSpan,en=ve.align,mn=he(dt,["prefixCls","direction"]),gn=mn.prefixCls,Ln=mn.direction,In=b.useContext(ne),Pn=In.scrollColumnIndex,En=In.stickyOffsets,Cn=In.flattenColumns,ur=$e+Ht-1,Kn=ur+1===Pn?Ht+1:Ht,gr=Nt($e,$e+Kn-1,Cn,En,Ln);return b.createElement($t,(0,ut.Z)({className:me,index:$e,component:"td",prefixCls:gn,record:null,dataIndex:null,align:en,colSpan:Kn,rowSpan:sn,render:function(){return ft}},gr))}var ae=z(42244),de=["children"];function re(ve){var me=ve.children,$e=(0,ae.Z)(ve,de);return b.createElement("tr",$e,me)}function ue(ve){var me=ve.children;return me}ue.Row=re,ue.Cell=te;var xe=ue;function tt(ve){var me=ve.children,$e=ve.stickyOffsets,ft=ve.flattenColumns,It=he(dt,"prefixCls"),Ht=ft.length-1,sn=ft[Ht],en=b.useMemo(function(){return{stickyOffsets:$e,flattenColumns:ft,scrollColumnIndex:sn!=null&&sn.scrollbar?Ht:null}},[sn,ft,Ht,$e]);return b.createElement(ne.Provider,{value:en},b.createElement("tfoot",{className:"".concat(It,"-summary")},me))}var Ve=tn(tt),We=xe,lt=z(29301),ht=z(24514),Dt=z(75152),Oe=z(26112);function ze(ve,me,$e,ft,It,Ht,sn){ve.push({record:me,indent:$e,index:sn});var en=Ht(me),mn=It==null?void 0:It.has(en);if(me&&Array.isArray(me[ft])&&mn)for(var gn=0;gn<me[ft].length;gn+=1)ze(ve,me[ft][gn],$e+1,ft,It,Ht,gn)}function on(ve,me,$e,ft){var It=b.useMemo(function(){if($e!=null&&$e.size){for(var Ht=[],sn=0;sn<(ve==null?void 0:ve.length);sn+=1){var en=ve[sn];ze(Ht,en,0,me,$e,ft,sn)}return Ht}return ve==null?void 0:ve.map(function(mn,gn){return{record:mn,indent:0,index:gn}})},[ve,me,$e,ft]);return It}function Rt(ve,me,$e,ft){var It=he(dt,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ht=It.flattenColumns,sn=It.expandableType,en=It.expandedKeys,mn=It.childrenColumnName,gn=It.onTriggerExpand,Ln=It.rowExpandable,In=It.onRow,Pn=It.expandRowByClick,En=It.rowClassName,Cn=sn==="nest",ur=sn==="row"&&(!Ln||Ln(ve)),Kn=ur||Cn,gr=en&&en.has(me),fr=mn&&ve&&ve[mn],Ar=(0,rt.zX)(gn),br=In==null?void 0:In(ve,$e),Er=br==null?void 0:br.onClick,Lr=function(wr){Pn&&Kn&&gn(ve,wr);for(var Cr=arguments.length,Mr=new Array(Cr>1?Cr-1:0),_n=1;_n<Cr;_n++)Mr[_n-1]=arguments[_n];Er==null||Er.apply(void 0,[wr].concat(Mr))},Wr;typeof En=="string"?Wr=En:typeof En=="function"&&(Wr=En(ve,$e,ft));var Ur=Yt(Ht);return(0,ct.Z)((0,ct.Z)({},It),{},{columnsKey:Ur,nestExpandable:Cn,expanded:gr,hasNestChildren:fr,record:ve,onTriggerExpand:Ar,rowSupportExpand:ur,expandable:Kn,rowProps:(0,ct.Z)((0,ct.Z)({},br),{},{className:Ye()(Wr,br==null?void 0:br.className),onClick:Lr})})}function vn(ve){var me=ve.prefixCls,$e=ve.children,ft=ve.component,It=ve.cellComponent,Ht=ve.className,sn=ve.expanded,en=ve.colSpan,mn=ve.isEmpty,gn=he(dt,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ln=gn.scrollbarSize,In=gn.fixHeader,Pn=gn.fixColumn,En=gn.componentWidth,Cn=gn.horizonScroll,ur=$e;return(mn?Cn&&En:Pn)&&(ur=b.createElement("div",{style:{width:En-(In&&!mn?Ln:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},ur)),b.createElement(ft,{className:Ht,style:{display:sn?null:"none"}},b.createElement($t,{component:It,prefixCls:me,colSpan:en},ur))}var Bt=vn;function at(ve){var me=ve.prefixCls,$e=ve.record,ft=ve.onExpand,It=ve.expanded,Ht=ve.expandable,sn="".concat(me,"-row-expand-icon");if(!Ht)return b.createElement("span",{className:Ye()(sn,"".concat(me,"-row-spaced"))});var en=function(gn){ft($e,gn),gn.stopPropagation()};return b.createElement("span",{className:Ye()(sn,(0,De.Z)((0,De.Z)({},"".concat(me,"-row-expanded"),It),"".concat(me,"-row-collapsed"),!It)),onClick:en})}function pt(ve,me,$e){var ft=[];function It(Ht){(Ht||[]).forEach(function(sn,en){ft.push(me(sn,en)),It(sn[$e])})}return It(ve),ft}function Gt(ve,me,$e,ft){return typeof ve=="string"?ve:typeof ve=="function"?ve(me,$e,ft):""}function Je(ve,me,$e,ft,It){var Ht=ve.record,sn=ve.prefixCls,en=ve.columnsKey,mn=ve.fixedInfoList,gn=ve.expandIconColumnIndex,Ln=ve.nestExpandable,In=ve.indentSize,Pn=ve.expandIcon,En=ve.expanded,Cn=ve.hasNestChildren,ur=ve.onTriggerExpand,Kn=en[$e],gr=mn[$e],fr;$e===(gn||0)&&Ln&&(fr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(In*ft,"px")},className:"".concat(sn,"-row-indent indent-level-").concat(ft)}),Pn({prefixCls:sn,expanded:En,expandable:Cn,record:Ht,onExpand:ur})));var Ar;return me.onCell&&(Ar=me.onCell(Ht,It)),{key:Kn,fixedInfo:gr,appendCellNode:fr,additionalCellProps:Ar||{}}}function At(ve){var me=ve.className,$e=ve.style,ft=ve.record,It=ve.index,Ht=ve.renderIndex,sn=ve.rowKey,en=ve.indent,mn=en===void 0?0:en,gn=ve.rowComponent,Ln=ve.cellComponent,In=ve.scopeCellComponent,Pn=Rt(ft,sn,It,mn),En=Pn.prefixCls,Cn=Pn.flattenColumns,ur=Pn.expandedRowClassName,Kn=Pn.expandedRowRender,gr=Pn.rowProps,fr=Pn.expanded,Ar=Pn.rowSupportExpand,br=b.useRef(!1);br.current||(br.current=fr);var Er=Gt(ur,ft,It,mn),Lr=b.createElement(gn,(0,ut.Z)({},gr,{"data-row-key":sn,className:Ye()(me,"".concat(En,"-row"),"".concat(En,"-row-level-").concat(mn),gr==null?void 0:gr.className,(0,De.Z)({},Er,mn>=1)),style:(0,ct.Z)((0,ct.Z)({},$e),gr==null?void 0:gr.style)}),Cn.map(function(Ci,wr){var Cr=Ci.render,Mr=Ci.dataIndex,_n=Ci.className,$n=Je(Pn,Ci,wr,mn,It),Ir=$n.key,jr=$n.fixedInfo,ei=$n.appendCellNode,Si=$n.additionalCellProps;return b.createElement($t,(0,ut.Z)({className:_n,ellipsis:Ci.ellipsis,align:Ci.align,scope:Ci.rowScope,component:Ci.rowScope?In:Ln,prefixCls:En,key:Ir,record:ft,index:It,renderIndex:Ht,dataIndex:Mr,render:Cr,shouldCellUpdate:Ci.shouldCellUpdate},jr,{appendNode:ei,additionalProps:Si}))})),Wr;if(Ar&&(br.current||fr)){var Ur=Kn(ft,It,mn+1,fr);Wr=b.createElement(Bt,{expanded:fr,className:Ye()("".concat(En,"-expanded-row"),"".concat(En,"-expanded-row-level-").concat(mn+1),Er),prefixCls:En,component:gn,cellComponent:Ln,colSpan:Cn.length,isEmpty:!1},Ur)}return b.createElement(b.Fragment,null,Lr,Wr)}var Jt=tn(At);function an(ve){var me=ve.columnKey,$e=ve.onColumnResize,ft=b.useRef();return(0,Se.Z)(function(){ft.current&&$e(me,ft.current.offsetWidth)},[]),b.createElement(lt.Z,{data:me},b.createElement("td",{ref:ft,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Le=z(29194);function Et(ve){var me=ve.prefixCls,$e=ve.columnsKey,ft=ve.onColumnResize,It=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0},ref:It},b.createElement(lt.Z.Collection,{onBatchResize:function(sn){(0,Le.Z)(It.current)&&sn.forEach(function(en){var mn=en.data,gn=en.size;ft(mn,gn.offsetWidth)})}},$e.map(function(Ht){return b.createElement(an,{key:Ht,columnKey:Ht,onColumnResize:ft})})))}function zt(ve){var me=ve.data,$e=ve.measureColumnWidth,ft=he(dt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),It=ft.prefixCls,Ht=ft.getComponent,sn=ft.onColumnResize,en=ft.flattenColumns,mn=ft.getRowKey,gn=ft.expandedKeys,Ln=ft.childrenColumnName,In=ft.emptyNode,Pn=on(me,Ln,gn,mn),En=b.useRef({renderWithProps:!1}),Cn=Ht(["body","wrapper"],"tbody"),ur=Ht(["body","row"],"tr"),Kn=Ht(["body","cell"],"td"),gr=Ht(["body","cell"],"th"),fr;me.length?fr=Pn.map(function(br,Er){var Lr=br.record,Wr=br.indent,Ur=br.index,Ci=mn(Lr,Er);return b.createElement(Jt,{key:Ci,rowKey:Ci,record:Lr,index:Er,renderIndex:Ur,rowComponent:ur,cellComponent:Kn,scopeCellComponent:gr,indent:Wr})}):fr=b.createElement(Bt,{expanded:!0,className:"".concat(It,"-placeholder"),prefixCls:It,component:ur,cellComponent:Kn,colSpan:en.length,isEmpty:!0},In);var Ar=Yt(en);return b.createElement(fn.Provider,{value:En.current},b.createElement(Cn,{className:"".concat(It,"-tbody")},$e&&b.createElement(Et,{prefixCls:It,columnsKey:Ar,onColumnResize:sn}),fr))}var rn=tn(zt),yn=["expandable"],Nn="RC_TABLE_INTERNAL_COL_DEFINE";function Vn(ve){var me=ve.expandable,$e=(0,ae.Z)(ve,yn),ft;return"expandable"in ve?ft=(0,ct.Z)((0,ct.Z)({},$e),me):ft=$e,ft.showExpandColumn===!1&&(ft.expandIconColumnIndex=-1),ft}var Xn=["columnType"];function Bn(ve){for(var me=ve.colWidths,$e=ve.columns,ft=ve.columCount,It=he(dt,["tableLayout"]),Ht=It.tableLayout,sn=[],en=ft||$e.length,mn=!1,gn=en-1;gn>=0;gn-=1){var Ln=me[gn],In=$e&&$e[gn],Pn=void 0,En=void 0;if(In&&(Pn=In[Nn],Ht==="auto"&&(En=In.minWidth)),Ln||En||Pn||mn){var Cn=Pn||{},ur=Cn.columnType,Kn=(0,ae.Z)(Cn,Xn);sn.unshift(b.createElement("col",(0,ut.Z)({key:gn,style:{width:Ln,minWidth:En}},Kn))),mn=!0}}return b.createElement("colgroup",null,sn)}var jn=Bn,wt=z(77654),mt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qt(ve,me){return(0,b.useMemo)(function(){for(var $e=[],ft=0;ft<me;ft+=1){var It=ve[ft];if(It!==void 0)$e[ft]=It;else return null}return $e},[ve.join("_"),me])}var jt=b.forwardRef(function(ve,me){var $e=ve.className,ft=ve.noData,It=ve.columns,Ht=ve.flattenColumns,sn=ve.colWidths,en=ve.columCount,mn=ve.stickyOffsets,gn=ve.direction,Ln=ve.fixHeader,In=ve.stickyTopOffset,Pn=ve.stickyBottomOffset,En=ve.stickyClassName,Cn=ve.onScroll,ur=ve.maxContentScroll,Kn=ve.children,gr=(0,ae.Z)(ve,mt),fr=he(dt,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ar=fr.prefixCls,br=fr.scrollbarSize,Er=fr.isSticky,Lr=fr.getComponent,Wr=Lr(["header","table"],"table"),Ur=Er&&!Ln?0:br,Ci=b.useRef(null),wr=b.useCallback(function(Si){(0,Be.mH)(me,Si),(0,Be.mH)(Ci,Si)},[]);b.useEffect(function(){var Si;function Kr(so){var eo=so,qo=eo.currentTarget,To=eo.deltaX;To&&(Cn({currentTarget:qo,scrollLeft:qo.scrollLeft+To}),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 Cr=b.useMemo(function(){return Ht.every(function(Si){return Si.width})},[Ht]),Mr=Ht[Ht.length-1],_n={fixed:Mr?Mr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ar,"-cell-scrollbar")}}},$n=(0,b.useMemo)(function(){return Ur?[].concat((0,wt.Z)(It),[_n]):It},[Ur,It]),Ir=(0,b.useMemo)(function(){return Ur?[].concat((0,wt.Z)(Ht),[_n]):Ht},[Ur,Ht]),jr=(0,b.useMemo)(function(){var Si=mn.right,Kr=mn.left;return(0,ct.Z)((0,ct.Z)({},mn),{},{left:gn==="rtl"?[].concat((0,wt.Z)(Kr.map(function(so){return so+Ur})),[0]):Kr,right:gn==="rtl"?Si:[].concat((0,wt.Z)(Si.map(function(so){return so+Ur})),[0]),isSticky:Er})},[Ur,mn,Er]),ei=qt(sn,en);return b.createElement("div",{style:(0,ct.Z)({overflow:"hidden"},Er?{top:In,bottom:Pn}:{}),ref:wr,className:Ye()($e,(0,De.Z)({},En,!!En))},b.createElement(Wr,{style:{tableLayout:"fixed",visibility:ft||ei?null:"hidden"}},(!ft||!ur||Cr)&&b.createElement(jn,{colWidths:ei?[].concat((0,wt.Z)(ei),[Ur]):[],columCount:en+1,columns:Ir}),Kn((0,ct.Z)((0,ct.Z)({},gr),{},{stickyOffsets:jr,columns:$n,flattenColumns:Ir}))))}),Ot=b.memo(jt),bn=function(me){var $e=me.cells,ft=me.stickyOffsets,It=me.flattenColumns,Ht=me.rowComponent,sn=me.cellComponent,en=me.onHeaderRow,mn=me.index,gn=he(dt,["prefixCls","direction"]),Ln=gn.prefixCls,In=gn.direction,Pn;en&&(Pn=en($e.map(function(Cn){return Cn.column}),mn));var En=Yt($e.map(function(Cn){return Cn.column}));return b.createElement(Ht,Pn,$e.map(function(Cn,ur){var Kn=Cn.column,gr=Nt(Cn.colStart,Cn.colEnd,It,ft,In),fr;return Kn&&Kn.onHeaderCell&&(fr=Cn.column.onHeaderCell(Kn)),b.createElement($t,(0,ut.Z)({},Cn,{scope:Kn.title?Cn.colSpan>1?"colgroup":"col":null,ellipsis:Kn.ellipsis,align:Kn.align,component:sn,prefixCls:Ln,key:En[ur]},gr,{additionalProps:fr,rowType:"header"}))}))},pn=bn;function On(ve){var me=[];function $e(sn,en){var mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[mn]=me[mn]||[];var gn=en,Ln=sn.filter(Boolean).map(function(In){var Pn={key:In.key,className:In.className||"",children:In.title,column:In,colStart:gn},En=1,Cn=In.children;return Cn&&Cn.length>0&&(En=$e(Cn,gn,mn+1).reduce(function(ur,Kn){return ur+Kn},0),Pn.hasSubColumns=!0),"colSpan"in In&&(En=In.colSpan),"rowSpan"in In&&(Pn.rowSpan=In.rowSpan),Pn.colSpan=En,Pn.colEnd=Pn.colStart+En-1,me[mn].push(Pn),gn+=En,En});return Ln}$e(ve,0);for(var ft=me.length,It=function(en){me[en].forEach(function(mn){!("rowSpan"in mn)&&!mn.hasSubColumns&&(mn.rowSpan=ft-en)})},Ht=0;Ht<ft;Ht+=1)It(Ht);return me}var Qn=function(me){var $e=me.stickyOffsets,ft=me.columns,It=me.flattenColumns,Ht=me.onHeaderRow,sn=he(dt,["prefixCls","getComponent"]),en=sn.prefixCls,mn=sn.getComponent,gn=b.useMemo(function(){return On(ft)},[ft]),Ln=mn(["header","wrapper"],"thead"),In=mn(["header","row"],"tr"),Pn=mn(["header","cell"],"th");return b.createElement(Ln,{className:"".concat(en,"-thead")},gn.map(function(En,Cn){var ur=b.createElement(pn,{key:Cn,flattenColumns:It,cells:En,stickyOffsets:$e,rowComponent:In,cellComponent:Pn,onHeaderRow:Ht,index:Cn});return ur}))},Hn=tn(Qn),Dn=z(11592);function ir(ve){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?ve*parseFloat(me)/100:null}function Fn(ve,me,$e){return b.useMemo(function(){if(me&&me>0){var ft=0,It=0;ve.forEach(function(Pn){var En=ir(me,Pn.width);En?ft+=En:It+=1});var Ht=Math.max(me,$e),sn=Math.max(Ht-ft,It),en=It,mn=sn/It,gn=0,Ln=ve.map(function(Pn){var En=(0,ct.Z)({},Pn),Cn=ir(me,En.width);if(Cn)En.width=Cn;else{var ur=Math.floor(mn);En.width=en===1?sn:ur,sn-=ur,en-=1}return gn+=En.width,En});if(gn<Ht){var In=Ht/gn;sn=Ht,Ln.forEach(function(Pn,En){var Cn=Math.floor(Pn.width*In);Pn.width=En===Ln.length-1?sn:Cn,sn-=Cn})}return[Ln,Math.max(gn,Ht)]}return[ve,me]},[ve,me,$e])}var pr=["children"],Dr=["fixed"];function xn(ve){return(0,Dn.Z)(ve).filter(function(me){return b.isValidElement(me)}).map(function(me){var $e=me.key,ft=me.props,It=ft.children,Ht=(0,ae.Z)(ft,pr),sn=(0,ct.Z)({key:$e},Ht);return It&&(sn.children=xn(It)),sn})}function kn(ve){return ve.filter(function(me){return me&&(0,Ke.Z)(me)==="object"&&!me.hidden}).map(function(me){var $e=me.children;return $e&&$e.length>0?(0,ct.Z)((0,ct.Z)({},me),{},{children:kn($e)}):me})}function nr(ve){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ve.filter(function($e){return $e&&(0,Ke.Z)($e)==="object"}).reduce(function($e,ft,It){var Ht=ft.fixed,sn=Ht===!0?"left":Ht,en="".concat(me,"-").concat(It),mn=ft.children;return mn&&mn.length>0?[].concat((0,wt.Z)($e),(0,wt.Z)(nr(mn,en).map(function(gn){return(0,ct.Z)({fixed:sn},gn)}))):[].concat((0,wt.Z)($e),[(0,ct.Z)((0,ct.Z)({key:en},ft),{},{fixed:sn})])},[])}function rr(ve){return ve.map(function(me){var $e=me.fixed,ft=(0,ae.Z)(me,Dr),It=$e;return $e==="left"?It="right":$e==="right"&&(It="left"),(0,ct.Z)({fixed:It},ft)})}function Pt(ve,me){var $e=ve.prefixCls,ft=ve.columns,It=ve.children,Ht=ve.expandable,sn=ve.expandedKeys,en=ve.columnTitle,mn=ve.getRowKey,gn=ve.onTriggerExpand,Ln=ve.expandIcon,In=ve.rowExpandable,Pn=ve.expandIconColumnIndex,En=ve.direction,Cn=ve.expandRowByClick,ur=ve.columnWidth,Kn=ve.fixed,gr=ve.scrollWidth,fr=ve.clientWidth,Ar=b.useMemo(function(){var Mr=ft||xn(It)||[];return kn(Mr.slice())},[ft,It]),br=b.useMemo(function(){if(Ht){var Mr=Ar.slice();if(!Mr.includes(Me)){var _n=Pn||0;_n>=0&&(_n||Kn==="left"||!Kn)&&Mr.splice(_n,0,Me),Kn==="right"&&Mr.splice(Ar.length,0,Me)}var $n=Mr.indexOf(Me);Mr=Mr.filter(function(Si,Kr){return Si!==Me||Kr===$n});var Ir=Ar[$n],jr;Kn?jr=Kn:jr=Ir?Ir.fixed:null;var ei=(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},Nn,{className:"".concat($e,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",en),"fixed",jr),"className","".concat($e,"-row-expand-icon-cell")),"width",ur),"render",function(Kr,so,eo){var qo=mn(so,eo),To=sn.has(qo),Xo=In?In(so):!0,ra=Ln({prefixCls:$e,expanded:To,expandable:Xo,record:so,onExpand:gn});return Cn?b.createElement("span",{onClick:function(go){return go.stopPropagation()}},ra):ra});return Mr.map(function(Si){return Si===Me?ei:Si})}return Ar.filter(function(Si){return Si!==Me})},[Ht,Ar,mn,sn,Ln,En]),Er=b.useMemo(function(){var Mr=br;return me&&(Mr=me(Mr)),Mr.length||(Mr=[{render:function(){return null}}]),Mr},[me,br,En]),Lr=b.useMemo(function(){return En==="rtl"?rr(nr(Er)):nr(Er)},[Er,En,gr]),Wr=b.useMemo(function(){for(var Mr=-1,_n=Lr.length-1;_n>=0;_n-=1){var $n=Lr[_n].fixed;if($n==="left"||$n===!0){Mr=_n;break}}if(Mr>=0)for(var Ir=0;Ir<=Mr;Ir+=1){var jr=Lr[Ir].fixed;if(jr!=="left"&&jr!==!0)return!0}var ei=Lr.findIndex(function(so){var eo=so.fixed;return eo==="right"});if(ei>=0)for(var Si=ei;Si<Lr.length;Si+=1){var Kr=Lr[Si].fixed;if(Kr!=="right")return!0}return!1},[Lr]),Ur=Fn(Lr,gr,fr),Ci=(0,_e.Z)(Ur,2),wr=Ci[0],Cr=Ci[1];return[Er,wr,Cr,Wr]}var Ut=Pt;function nt(ve,me,$e){var ft=Vn(ve),It=ft.expandIcon,Ht=ft.expandedRowKeys,sn=ft.defaultExpandedRowKeys,en=ft.defaultExpandAllRows,mn=ft.expandedRowRender,gn=ft.onExpand,Ln=ft.onExpandedRowsChange,In=ft.childrenColumnName,Pn=It||at,En=In||"children",Cn=b.useMemo(function(){return mn?"row":ve.expandable&&ve.internalHooks===pe&&ve.expandable.__PARENT_RENDER_ICON__||me.some(function(Er){return Er&&(0,Ke.Z)(Er)==="object"&&Er[En]})?"nest":!1},[!!mn,me]),ur=b.useState(function(){return sn||(en?pt(me,$e,En):[])}),Kn=(0,_e.Z)(ur,2),gr=Kn[0],fr=Kn[1],Ar=b.useMemo(function(){return new Set(Ht||gr||[])},[Ht,gr]),br=b.useCallback(function(Er){var Lr=$e(Er,me.indexOf(Er)),Wr,Ur=Ar.has(Lr);Ur?(Ar.delete(Lr),Wr=(0,wt.Z)(Ar)):Wr=[].concat((0,wt.Z)(Ar),[Lr]),fr(Wr),gn&&gn(!Ur,Er),Ln&&Ln(Wr)},[$e,Ar,me,gn,Ln]);return[ft,Cn,Ar,Pn,En,br]}function et(ve,me,$e){var ft=ve.map(function(It,Ht){return Nt(Ht,Ht,ve,me,$e)});return(0,fe.Z)(function(){return ft},[ft],function(It,Ht){return!(0,Pe.Z)(It,Ht)})}function Qe(ve){var me=(0,b.useRef)(ve),$e=(0,b.useState)({}),ft=(0,_e.Z)($e,2),It=ft[1],Ht=(0,b.useRef)(null),sn=(0,b.useRef)([]);function en(mn){sn.current.push(mn);var gn=Promise.resolve();Ht.current=gn,gn.then(function(){if(Ht.current===gn){var Ln=sn.current,In=me.current;sn.current=[],Ln.forEach(function(Pn){me.current=Pn(me.current)}),Ht.current=null,In!==me.current&&It({})}})}return(0,b.useEffect)(function(){return function(){Ht.current=null}},[]),[me.current,en]}function Mt(ve){var me=(0,b.useRef)(ve||null),$e=(0,b.useRef)();function ft(){window.clearTimeout($e.current)}function It(sn){me.current=sn,ft(),$e.current=window.setTimeout(function(){me.current=null,$e.current=void 0},100)}function Ht(){return me.current}return(0,b.useEffect)(function(){return ft},[]),[It,Ht]}function Ne(){var ve=b.useState(-1),me=(0,_e.Z)(ve,2),$e=me[0],ft=me[1],It=b.useState(-1),Ht=(0,_e.Z)(It,2),sn=Ht[0],en=Ht[1],mn=b.useCallback(function(gn,Ln){ft(gn),en(Ln)},[]);return[$e,sn,mn]}var Kt=z(47273),Qt=(0,Kt.Z)()?window:null;function un(ve,me){var $e=(0,Ke.Z)(ve)==="object"?ve:{},ft=$e.offsetHeader,It=ft===void 0?0:ft,Ht=$e.offsetSummary,sn=Ht===void 0?0:Ht,en=$e.offsetScroll,mn=en===void 0?0:en,gn=$e.getContainer,Ln=gn===void 0?function(){return Qt}:gn,In=Ln()||Qt,Pn=!!ve;return b.useMemo(function(){return{isSticky:Pn,stickyClassName:Pn?"".concat(me,"-sticky-holder"):"",offsetHeader:It,offsetSummary:sn,offsetScroll:mn,container:In}},[Pn,mn,It,sn,me,In])}function Tt(ve,me,$e){var ft=(0,b.useMemo)(function(){var It=me.length,Ht=function(gn,Ln,In){for(var Pn=[],En=0,Cn=gn;Cn!==Ln;Cn+=In)Pn.push(En),me[Cn].fixed&&(En+=ve[Cn]||0);return Pn},sn=Ht(0,It,1),en=Ht(It-1,-1,-1).reverse();return $e==="rtl"?{left:en,right:sn}:{left:sn,right:en}},[ve,me,$e]);return ft}var Lt=Tt;function Wt(ve){var me=ve.className,$e=ve.children;return b.createElement("div",{className:me},$e)}var nn=Wt,Wn=z(8224),Zn=z(16089),Yn=z(76846);function Nr(ve){var me=(0,Yn.bn)(ve),$e=me.getBoundingClientRect(),ft=document.documentElement;return{left:$e.left+(window.pageXOffset||ft.scrollLeft)-(ft.clientLeft||document.body.clientLeft||0),top:$e.top+(window.pageYOffset||ft.scrollTop)-(ft.clientTop||document.body.clientTop||0)}}var zr=function(me,$e){var ft,It,Ht=me.scrollBodyRef,sn=me.onScroll,en=me.offsetScroll,mn=me.container,gn=me.direction,Ln=he(dt,"prefixCls"),In=((ft=Ht.current)===null||ft===void 0?void 0:ft.scrollWidth)||0,Pn=((It=Ht.current)===null||It===void 0?void 0:It.clientWidth)||0,En=In&&Pn*(Pn/In),Cn=b.useRef(),ur=Qe({scrollLeft:0,isHiddenScrollBar:!0}),Kn=(0,_e.Z)(ur,2),gr=Kn[0],fr=Kn[1],Ar=b.useRef({delta:0,x:0}),br=b.useState(!1),Er=(0,_e.Z)(br,2),Lr=Er[0],Wr=Er[1],Ur=b.useRef(null);b.useEffect(function(){return function(){Zn.Z.cancel(Ur.current)}},[]);var Ci=function(){Wr(!1)},wr=function(Ir){Ir.persist(),Ar.current.delta=Ir.pageX-gr.scrollLeft,Ar.current.x=0,Wr(!0),Ir.preventDefault()},Cr=function(Ir){var jr,ei=Ir||((jr=window)===null||jr===void 0?void 0:jr.event),Si=ei.buttons;if(!Lr||Si===0){Lr&&Wr(!1);return}var Kr=Ar.current.x+Ir.pageX-Ar.current.x-Ar.current.delta,so=gn==="rtl";Kr=Math.max(so?En-Pn:0,Math.min(so?0:Pn-En,Kr));var eo=!so||Math.abs(Kr)+Math.abs(En)<Pn;eo&&(sn({scrollLeft:Kr/Pn*(In+2)}),Ar.current.x=Ir.pageX)},Mr=function(){Zn.Z.cancel(Ur.current),Ur.current=(0,Zn.Z)(function(){if(Ht.current){var Ir=Nr(Ht.current).top,jr=Ir+Ht.current.offsetHeight,ei=mn===window?document.documentElement.scrollTop+window.innerHeight:Nr(mn).top+mn.clientHeight;jr-(0,Dt.Z)()<=ei||Ir>=ei-en?fr(function(Si){return(0,ct.Z)((0,ct.Z)({},Si),{},{isHiddenScrollBar:!0})}):fr(function(Si){return(0,ct.Z)((0,ct.Z)({},Si),{},{isHiddenScrollBar:!1})})}})},_n=function(Ir){fr(function(jr){return(0,ct.Z)((0,ct.Z)({},jr),{},{scrollLeft:Ir/In*Pn||0})})};return b.useImperativeHandle($e,function(){return{setScrollLeft:_n,checkScrollBarVisible:Mr}}),b.useEffect(function(){var $n=(0,Wn.Z)(document.body,"mouseup",Ci,!1),Ir=(0,Wn.Z)(document.body,"mousemove",Cr,!1);return Mr(),function(){$n.remove(),Ir.remove()}},[En,Lr]),b.useEffect(function(){if(Ht.current){for(var $n=[],Ir=(0,Yn.bn)(Ht.current);Ir;)$n.push(Ir),Ir=Ir.parentElement;return $n.forEach(function(jr){return jr.addEventListener("scroll",Mr,!1)}),window.addEventListener("resize",Mr,!1),window.addEventListener("scroll",Mr,!1),mn.addEventListener("scroll",Mr,!1),function(){$n.forEach(function(jr){return jr.removeEventListener("scroll",Mr)}),window.removeEventListener("resize",Mr),window.removeEventListener("scroll",Mr),mn.removeEventListener("scroll",Mr)}}},[mn]),b.useEffect(function(){gr.isHiddenScrollBar||fr(function($n){var Ir=Ht.current;return Ir?(0,ct.Z)((0,ct.Z)({},$n),{},{scrollLeft:Ir.scrollLeft/Ir.scrollWidth*Ir.clientWidth}):$n})},[gr.isHiddenScrollBar]),In<=Pn||!En||gr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,Dt.Z)(),width:Pn,bottom:en},className:"".concat(Ln,"-sticky-scroll")},b.createElement("div",{onMouseDown:wr,ref:Cn,className:Ye()("".concat(Ln,"-sticky-scroll-bar"),(0,De.Z)({},"".concat(Ln,"-sticky-scroll-bar-active"),Lr)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(gr.scrollLeft,"px, 0, 0)")}}))},Qr=b.forwardRef(zr);function Fr(ve){return null}var yr=Fr;function Pr(ve){return null}var Vr=Pr,ni="rc-table",ri=[],ai={};function Br(){return"No Data"}function _r(ve,me){var $e=(0,ct.Z)({rowKey:"key",prefixCls:ni,emptyText:Br},ve),ft=$e.prefixCls,It=$e.className,Ht=$e.rowClassName,sn=$e.style,en=$e.data,mn=$e.rowKey,gn=$e.scroll,Ln=$e.tableLayout,In=$e.direction,Pn=$e.title,En=$e.footer,Cn=$e.summary,ur=$e.caption,Kn=$e.id,gr=$e.showHeader,fr=$e.components,Ar=$e.emptyText,br=$e.onRow,Er=$e.onHeaderRow,Lr=$e.onScroll,Wr=$e.internalHooks,Ur=$e.transformColumns,Ci=$e.internalRefs,wr=$e.tailor,Cr=$e.getContainerWidth,Mr=$e.sticky,_n=$e.rowHoverable,$n=_n===void 0?!0:_n,Ir=en||ri,jr=!!Ir.length,ei=Wr===pe,Si=b.useCallback(function(Go,Jo){return(0,Ft.Z)(fr,Go)||Jo},[fr]),Kr=b.useMemo(function(){return typeof mn=="function"?mn:function(Go){var Jo=Go&&Go[mn];return Jo}},[mn]),so=Si(["body"]),eo=Ne(),qo=(0,_e.Z)(eo,3),To=qo[0],Xo=qo[1],ra=qo[2],oa=nt($e,Ir,Kr),go=(0,_e.Z)(oa,6),vo=go[0],ma=go[1],va=go[2],Fi=go[3],no=go[4],Di=go[5],ci=gn==null?void 0:gn.x,Do=b.useState(0),zo=(0,_e.Z)(Do,2),aa=zo[0],Wo=zo[1],pa=Ut((0,ct.Z)((0,ct.Z)((0,ct.Z)({},$e),vo),{},{expandable:!!vo.expandedRowRender,columnTitle:vo.columnTitle,expandedKeys:va,getRowKey:Kr,onTriggerExpand:Di,expandIcon:Fi,expandIconColumnIndex:vo.expandIconColumnIndex,direction:In,scrollWidth:ei&&wr&&typeof ci=="number"?ci:null,clientWidth:aa}),ei?Ur:null),ca=(0,_e.Z)(pa,4),Li=ca[0],Ui=ca[1],jo=ca[2],$o=ca[3],Qo=jo!=null?jo:ci,Sa=b.useMemo(function(){return{columns:Li,flattenColumns:Ui}},[Li,Ui]),la=b.useRef(),Ta=b.useRef(),ia=b.useRef(),Po=b.useRef();b.useImperativeHandle(me,function(){return{nativeElement:la.current,scrollTo:function(Jo){var sl;if(ia.current instanceof HTMLElement){var Fl=Jo.index,ul=Jo.top,Ps=Jo.key;if(Xt(ul)){var ls;(ls=ia.current)===null||ls===void 0||ls.scrollTo({top:ul})}else{var ql,Bs=Ps!=null?Ps:Kr(Ir[Fl]);(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(Jo)}}});var na=b.useRef(),sa=b.useState(!1),Ca=(0,_e.Z)(sa,2),ga=Ca[0],No=Ca[1],fa=b.useState(!1),Uo=(0,_e.Z)(fa,2),Ra=Uo[0],Ea=Uo[1],Va=b.useState(new Map),$a=(0,_e.Z)(Va,2),El=$a[0],ua=$a[1],_l=Yt(Ui),Ka=_l.map(function(Go){return El.get(Go)}),hl=b.useMemo(function(){return Ka},[Ka.join("_")]),al=Lt(hl,Ui,In),ro=gn&&ln(gn.y),Pi=gn&&ln(Qo)||!!vo.fixed,ya=Pi&&Ui.some(function(Go){var Jo=Go.fixed;return Jo}),Qa=b.useRef(),yl=un(Mr,ft),Tl=yl.isSticky,Es=yl.offsetHeader,ws=yl.offsetSummary,ks=yl.offsetScroll,Yo=yl.stickyClassName,Eo=yl.container,ui=b.useMemo(function(){return Cn==null?void 0:Cn(Ir)},[Cn,Ir]),Yi=(ro||Tl)&&b.isValidElement(ui)&&ui.type===xe&&ui.props.fixed,Fo,Ba,Ja;ro&&(Ba={overflowY:jr?"scroll":"auto",maxHeight:gn.y}),Pi&&(Fo={overflowX:"auto"},ro||(Ba={overflowY:"hidden"}),Ja={width:Qo===!0?"auto":Qo,minWidth:"100%"});var Ua=b.useCallback(function(Go,Jo){ua(function(sl){if(sl.get(Go)!==Jo){var Fl=new Map(sl);return Fl.set(Go,Jo),Fl}return sl})},[]),Wl=Mt(null),ll=(0,_e.Z)(Wl,2),As=ll[0],qs=ll[1];function Ts(Go,Jo){Jo&&(typeof Jo=="function"?Jo(Go):Jo.scrollLeft!==Go&&(Jo.scrollLeft=Go,Jo.scrollLeft!==Go&&setTimeout(function(){Jo.scrollLeft=Go},0)))}var ms=(0,we.Z)(function(Go){var Jo=Go.currentTarget,sl=Go.scrollLeft,Fl=In==="rtl",ul=typeof sl=="number"?sl:Jo.scrollLeft,Ps=Jo||ai;if(!qs()||qs()===Ps){var ls;As(Ps),Ts(ul,Ta.current),Ts(ul,ia.current),Ts(ul,na.current),Ts(ul,(ls=Qa.current)===null||ls===void 0?void 0:ls.setScrollLeft)}var ql=Jo||Ta.current;if(ql){var Bs=ei&&wr&&typeof Qo=="number"?Qo:ql.scrollWidth,du=ql.clientWidth;if(Bs===du){No(!1),Ea(!1);return}Fl?(No(-ul<Bs-du),Ea(-ul>0)):(No(ul>0),Ea(ul<Bs-du))}}),Us=(0,we.Z)(function(Go){ms(Go),Lr==null||Lr(Go)}),vs=function(){if(Pi&&ia.current){var Jo;ms({currentTarget:(0,Yn.bn)(ia.current),scrollLeft:(Jo=ia.current)===null||Jo===void 0?void 0:Jo.scrollLeft})}else No(!1),Ea(!1)},eu=function(Jo){var sl,Fl=Jo.width;(sl=Qa.current)===null||sl===void 0||sl.checkScrollBarVisible();var ul=la.current?la.current.offsetWidth:Fl;ei&&Cr&&la.current&&(ul=Cr(la.current,ul)||ul),ul!==aa&&(vs(),Wo(ul))},Ys=b.useRef(!1);b.useEffect(function(){Ys.current&&vs()},[Pi,en,Li.length]),b.useEffect(function(){Ys.current=!0},[]);var tu=b.useState(0),vu=(0,_e.Z)(tu,2),as=vu[0],nu=vu[1],Su=b.useState(!0),ru=(0,_e.Z)(Su,2),Rs=ru[0],Eu=ru[1];(0,Se.Z)(function(){(!wr||!ei)&&(ia.current instanceof Element?nu((0,Dt.o)(ia.current).width):nu((0,Dt.o)(Po.current).width)),Eu((0,ht.G)("position","sticky"))},[]),b.useEffect(function(){ei&&Ci&&(Ci.body.current=ia.current)});var wu=b.useCallback(function(Go){return b.createElement(b.Fragment,null,b.createElement(Hn,Go),Yi==="top"&&b.createElement(Ve,Go,ui))},[Yi,ui]),Zs=b.useCallback(function(Go){return b.createElement(Ve,Go,ui)},[ui]),iu=Si(["table"],"table"),zs=b.useMemo(function(){return Ln||(ya?Qo==="max-content"?"auto":"fixed":ro||Tl||Ui.some(function(Go){var Jo=Go.ellipsis;return Jo})?"fixed":"auto")},[ro,ya,Ui,Ln,Tl]),ou,Hs={colWidths:hl,columCount:Ui.length,stickyOffsets:al,onHeaderRow:Er,fixHeader:ro,scroll:gn},au=b.useMemo(function(){return jr?null:typeof Ar=="function"?Ar():Ar},[jr,Ar]),pu=b.createElement(rn,{data:Ir,measureColumnWidth:ro||Pi||Tl}),lu=b.createElement(jn,{colWidths:Ui.map(function(Go){var Jo=Go.width;return Jo}),columns:Ui}),su=ur!=null?b.createElement("caption",{className:"".concat(ft,"-caption")},ur):void 0,Au=(0,Oe.Z)($e,{data:!0}),Gs=(0,Oe.Z)($e,{aria:!0});if(ro||Tl){var ps;typeof so=="function"?(ps=so(Ir,{scrollbarSize:as,ref:ia,onScroll:ms}),Hs.colWidths=Ui.map(function(Go,Jo){var sl=Go.width,Fl=Jo===Ui.length-1?sl-as:sl;return typeof Fl=="number"&&!Number.isNaN(Fl)?Fl:0})):ps=b.createElement("div",{style:(0,ct.Z)((0,ct.Z)({},Fo),Ba),onScroll:Us,ref:ia,className:Ye()("".concat(ft,"-body"))},b.createElement(iu,(0,ut.Z)({style:(0,ct.Z)((0,ct.Z)({},Ja),{},{tableLayout:zs})},Gs),su,lu,pu,!Yi&&ui&&b.createElement(Ve,{stickyOffsets:al,flattenColumns:Ui},ui)));var Ds=(0,ct.Z)((0,ct.Z)((0,ct.Z)({noData:!Ir.length,maxContentScroll:Pi&&Qo==="max-content"},Hs),Sa),{},{direction:In,stickyClassName:Yo,onScroll:ms});ou=b.createElement(b.Fragment,null,gr!==!1&&b.createElement(Ot,(0,ut.Z)({},Ds,{stickyTopOffset:Es,className:"".concat(ft,"-header"),ref:Ta}),wu),ps,Yi&&Yi!=="top"&&b.createElement(Ot,(0,ut.Z)({},Ds,{stickyBottomOffset:ws,className:"".concat(ft,"-summary"),ref:na}),Zs),Tl&&ia.current&&ia.current instanceof Element&&b.createElement(Qr,{ref:Qa,offsetScroll:ks,scrollBodyRef:ia,onScroll:ms,container:Eo,direction:In}))}else ou=b.createElement("div",{style:(0,ct.Z)((0,ct.Z)({},Fo),Ba),className:Ye()("".concat(ft,"-content")),onScroll:ms,ref:ia},b.createElement(iu,(0,ut.Z)({style:(0,ct.Z)((0,ct.Z)({},Ja),{},{tableLayout:zs})},Gs),su,lu,gr!==!1&&b.createElement(Hn,(0,ut.Z)({},Hs,Sa)),pu,ui&&b.createElement(Ve,{stickyOffsets:al,flattenColumns:Ui},ui)));var uu=b.createElement("div",(0,ut.Z)({className:Ye()(ft,It,(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(ft,"-rtl"),In==="rtl"),"".concat(ft,"-ping-left"),ga),"".concat(ft,"-ping-right"),Ra),"".concat(ft,"-layout-fixed"),Ln==="fixed"),"".concat(ft,"-fixed-header"),ro),"".concat(ft,"-fixed-column"),ya),"".concat(ft,"-fixed-column-gapped"),ya&&$o),"".concat(ft,"-scroll-horizontal"),Pi),"".concat(ft,"-has-fix-left"),Ui[0]&&Ui[0].fixed),"".concat(ft,"-has-fix-right"),Ui[Ui.length-1]&&Ui[Ui.length-1].fixed==="right")),style:sn,id:Kn,ref:la},Au),Pn&&b.createElement(nn,{className:"".concat(ft,"-title")},Pn(Ir)),b.createElement("div",{ref:Po,className:"".concat(ft,"-container")},ou),En&&b.createElement(nn,{className:"".concat(ft,"-footer")},En(Ir)));Pi&&(uu=b.createElement(lt.Z,{onResize:eu},uu));var cu=et(Ui,al,In),Du=b.useMemo(function(){return{scrollX:Qo,prefixCls:ft,getComponent:Si,scrollbarSize:as,direction:In,fixedInfoList:cu,isSticky:Tl,supportSticky:Rs,componentWidth:aa,fixHeader:ro,fixColumn:ya,horizonScroll:Pi,tableLayout:zs,rowClassName:Ht,expandedRowClassName:vo.expandedRowClassName,expandIcon:Fi,expandableType:ma,expandRowByClick:vo.expandRowByClick,expandedRowRender:vo.expandedRowRender,onTriggerExpand:Di,expandIconColumnIndex:vo.expandIconColumnIndex,indentSize:vo.indentSize,allColumnsFixedLeft:Ui.every(function(Go){return Go.fixed==="left"}),emptyNode:au,columns:Li,flattenColumns:Ui,onColumnResize:Ua,hoverStartRow:To,hoverEndRow:Xo,onHover:ra,rowExpandable:vo.rowExpandable,onRow:br,getRowKey:Kr,expandedKeys:va,childrenColumnName:no,rowHoverable:$n}},[Qo,ft,Si,as,In,cu,Tl,Rs,aa,ro,ya,Pi,zs,Ht,vo.expandedRowClassName,Fi,ma,vo.expandRowByClick,vo.expandedRowRender,Di,vo.expandIconColumnIndex,vo.indentSize,au,Li,Ui,Ua,To,Xo,ra,vo.rowExpandable,br,Kr,va,no,$n]);return b.createElement(dt.Provider,{value:Du},uu)}var $r=b.forwardRef(_r);function Ri(ve){return Ct($r,ve)}var Wi=Ri();Wi.EXPAND_COLUMN=Me,Wi.INTERNAL_HOOKS=pe,Wi.Column=yr,Wi.ColumnGroup=Vr,Wi.Summary=We;var Zi=Wi,zi=z(48911),_i=Ee(null),wi=Ee(null);function Mi(ve,me,$e){var ft=me||1;return $e[ve+ft]-($e[ve]||0)}function fi(ve){var me=ve.rowInfo,$e=ve.column,ft=ve.colIndex,It=ve.indent,Ht=ve.index,sn=ve.component,en=ve.renderIndex,mn=ve.record,gn=ve.style,Ln=ve.className,In=ve.inverse,Pn=ve.getHeight,En=$e.render,Cn=$e.dataIndex,ur=$e.className,Kn=$e.width,gr=he(wi,["columnsOffset"]),fr=gr.columnsOffset,Ar=Je(me,$e,ft,It,Ht),br=Ar.key,Er=Ar.fixedInfo,Lr=Ar.appendCellNode,Wr=Ar.additionalCellProps,Ur=Wr.style,Ci=Wr.colSpan,wr=Ci===void 0?1:Ci,Cr=Wr.rowSpan,Mr=Cr===void 0?1:Cr,_n=ft-1,$n=Mi(_n,wr,fr),Ir=wr>1?Kn-$n:0,jr=(0,ct.Z)((0,ct.Z)((0,ct.Z)({},Ur),gn),{},{flex:"0 0 ".concat($n,"px"),width:"".concat($n,"px"),marginRight:Ir,pointerEvents:"auto"}),ei=b.useMemo(function(){return In?Mr<=1:wr===0||Mr===0||Mr>1},[Mr,wr,In]);ei?jr.visibility="hidden":In&&(jr.height=Pn==null?void 0:Pn(Mr));var Si=ei?function(){return null}:En,Kr={};return(Mr===0||wr===0)&&(Kr.rowSpan=1,Kr.colSpan=1),b.createElement($t,(0,ut.Z)({className:Ye()(ur,Ln),ellipsis:$e.ellipsis,align:$e.align,scope:$e.rowScope,component:sn,prefixCls:me.prefixCls,key:br,record:mn,index:Ht,renderIndex:en,dataIndex:Cn,render:Si,shouldCellUpdate:$e.shouldCellUpdate},Er,{appendNode:Lr,additionalProps:(0,ct.Z)((0,ct.Z)({},Wr),{},{style:jr},Kr)}))}var $i=fi,oo=["data","index","className","rowKey","style","extra","getHeight"],Ro=b.forwardRef(function(ve,me){var $e=ve.data,ft=ve.index,It=ve.className,Ht=ve.rowKey,sn=ve.style,en=ve.extra,mn=ve.getHeight,gn=(0,ae.Z)(ve,oo),Ln=$e.record,In=$e.indent,Pn=$e.index,En=he(dt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Cn=En.scrollX,ur=En.flattenColumns,Kn=En.prefixCls,gr=En.fixColumn,fr=En.componentWidth,Ar=he(_i,["getComponent"]),br=Ar.getComponent,Er=Rt(Ln,Ht,ft,In),Lr=br(["body","row"],"div"),Wr=br(["body","cell"],"div"),Ur=Er.rowSupportExpand,Ci=Er.expanded,wr=Er.rowProps,Cr=Er.expandedRowRender,Mr=Er.expandedRowClassName,_n;if(Ur&&Ci){var $n=Cr(Ln,ft,In+1,Ci),Ir=Gt(Mr,Ln,ft,In),jr={};gr&&(jr={style:(0,De.Z)({},"--virtual-width","".concat(fr,"px"))});var ei="".concat(Kn,"-expanded-row-cell");_n=b.createElement(Lr,{className:Ye()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(In+1),Ir)},b.createElement($t,{component:Wr,prefixCls:Kn,className:Ye()(ei,(0,De.Z)({},"".concat(ei,"-fixed"),gr)),additionalProps:jr},$n))}var Si=(0,ct.Z)((0,ct.Z)({},sn),{},{width:Cn});en&&(Si.position="absolute",Si.pointerEvents="none");var Kr=b.createElement(Lr,(0,ut.Z)({},wr,gn,{"data-row-key":Ht,ref:Ur?null:me,className:Ye()(It,"".concat(Kn,"-row"),wr==null?void 0:wr.className,(0,De.Z)({},"".concat(Kn,"-row-extra"),en)),style:(0,ct.Z)((0,ct.Z)({},Si),wr==null?void 0:wr.style)}),ur.map(function(so,eo){return b.createElement($i,{key:eo,component:Wr,rowInfo:Er,column:so,colIndex:eo,indent:In,index:ft,renderIndex:Pn,record:Ln,inverse:en,getHeight:mn})}));return Ur?b.createElement("div",{ref:me},Kr,_n):Kr}),fo=tn(Ro),bo=fo,co=b.forwardRef(function(ve,me){var $e=ve.data,ft=ve.onScroll,It=he(dt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Ht=It.flattenColumns,sn=It.onColumnResize,en=It.getRowKey,mn=It.expandedKeys,gn=It.prefixCls,Ln=It.childrenColumnName,In=It.scrollX,Pn=It.direction,En=he(_i),Cn=En.sticky,ur=En.scrollY,Kn=En.listItemHeight,gr=En.getComponent,fr=En.onScroll,Ar=b.useRef(),br=on($e,Ln,mn,en),Er=b.useMemo(function(){var _n=0;return Ht.map(function($n){var Ir=$n.width,jr=$n.key;return _n+=Ir,[jr,Ir,_n]})},[Ht]),Lr=b.useMemo(function(){return Er.map(function(_n){return _n[2]})},[Er]);b.useEffect(function(){Er.forEach(function(_n){var $n=(0,_e.Z)(_n,2),Ir=$n[0],jr=$n[1];sn(Ir,jr)})},[Er]),b.useImperativeHandle(me,function(){var _n,$n={scrollTo:function(jr){var ei;(ei=Ar.current)===null||ei===void 0||ei.scrollTo(jr)},nativeElement:(_n=Ar.current)===null||_n===void 0?void 0:_n.nativeElement};return Object.defineProperty($n,"scrollLeft",{get:function(){var jr;return((jr=Ar.current)===null||jr===void 0?void 0:jr.getScrollInfo().x)||0},set:function(jr){var ei;(ei=Ar.current)===null||ei===void 0||ei.scrollTo({left:jr})}}),$n});var Wr=function($n,Ir){var jr,ei=(jr=br[Ir])===null||jr===void 0?void 0:jr.record,Si=$n.onCell;if(Si){var Kr,so=Si(ei,Ir);return(Kr=so==null?void 0:so.rowSpan)!==null&&Kr!==void 0?Kr:1}return 1},Ur=function($n){var Ir=$n.start,jr=$n.end,ei=$n.getSize,Si=$n.offsetY;if(jr<0)return null;for(var Kr=Ht.filter(function(Fi){return Wr(Fi,Ir)===0}),so=Ir,eo=function(no){if(Kr=Kr.filter(function(Di){return Wr(Di,no)===0}),!Kr.length)return so=no,1},qo=Ir;qo>=0&&!eo(qo);qo-=1);for(var To=Ht.filter(function(Fi){return Wr(Fi,jr)!==1}),Xo=jr,ra=function(no){if(To=To.filter(function(Di){return Wr(Di,no)!==1}),!To.length)return Xo=Math.max(no-1,jr),1},oa=jr;oa<br.length&&!ra(oa);oa+=1);for(var go=[],vo=function(no){var Di=br[no];if(!Di)return 1;Ht.some(function(ci){return Wr(ci,no)>1})&&go.push(no)},ma=so;ma<=Xo;ma+=1)vo(ma);var va=go.map(function(Fi){var no=br[Fi],Di=en(no.record,Fi),ci=function(aa){var Wo=Fi+aa-1,pa=en(br[Wo].record,Wo),ca=ei(Di,pa);return ca.bottom-ca.top},Do=ei(Di);return b.createElement(bo,{key:Fi,data:no,rowKey:Di,index:Fi,style:{top:-Si+Do.top},extra:!0,getHeight:ci})});return va},Ci=b.useMemo(function(){return{columnsOffset:Lr}},[Lr]),wr="".concat(gn,"-tbody"),Cr=gr(["body","wrapper"]),Mr={};return Cn&&(Mr.position="sticky",Mr.bottom=0,(0,Ke.Z)(Cn)==="object"&&Cn.offsetScroll&&(Mr.bottom=Cn.offsetScroll)),b.createElement(wi.Provider,{value:Ci},b.createElement(zi.Z,{fullHeight:!1,ref:Ar,prefixCls:"".concat(wr,"-virtual"),styles:{horizontalScrollBar:Mr},className:wr,height:ur,itemHeight:Kn||24,data:br,itemKey:function($n){return en($n.record)},component:Cr,scrollWidth:In,direction:Pn,onVirtualScroll:function($n){var Ir,jr=$n.x;ft({currentTarget:(Ir=Ar.current)===null||Ir===void 0?void 0:Ir.nativeElement,scrollLeft:jr})},onScroll:fr,extraRender:Ur},function(_n,$n,Ir){var jr=en(_n.record,$n);return b.createElement(bo,{data:_n,rowKey:jr,index:$n,style:Ir.style})}))}),yo=tn(co),Bi=yo,Ai=function(me,$e){var ft=$e.ref,It=$e.onScroll;return b.createElement(Bi,{ref:ft,data:me,onScroll:It})};function Gr(ve,me){var $e=ve.data,ft=ve.columns,It=ve.scroll,Ht=ve.sticky,sn=ve.prefixCls,en=sn===void 0?ni:sn,mn=ve.className,gn=ve.listItemHeight,Ln=ve.components,In=ve.onScroll,Pn=It||{},En=Pn.x,Cn=Pn.y;typeof En!="number"&&(En=1),typeof Cn!="number"&&(Cn=500);var ur=(0,rt.zX)(function(fr,Ar){return(0,Ft.Z)(Ln,fr)||Ar}),Kn=(0,rt.zX)(In),gr=b.useMemo(function(){return{sticky:Ht,scrollY:Cn,listItemHeight:gn,getComponent:ur,onScroll:Kn}},[Ht,Cn,gn,ur,Kn]);return b.createElement(_i.Provider,{value:gr},b.createElement(Zi,(0,ut.Z)({},ve,{className:Ye()(mn,"".concat(en,"-virtual")),scroll:(0,ct.Z)((0,ct.Z)({},It),{},{x:En}),components:(0,ct.Z)((0,ct.Z)({},Ln),{},{body:$e!=null&&$e.length?Ai:void 0}),columns:ft,internalHooks:pe,tailor:!0,ref:me})))}var Un=b.forwardRef(Gr);function lr(ve){return Ct(Un,ve)}var cr=lr(),qn=null,qr=ve=>null,Jn=ve=>null,xr=z(84105),Zr=z(82661),ji=z(34643),po=z(34061),ao=z(18929);function Io(ve){const[me,$e]=(0,b.useState)(null);return[(0,b.useCallback)((Ht,sn,en)=>{const mn=me!=null?me:Ht,gn=Math.min(mn||0,Ht),Ln=Math.max(mn||0,Ht),In=sn.slice(gn,Ln+1).map(Cn=>ve(Cn)),Pn=In.some(Cn=>!en.has(Cn)),En=[];return In.forEach(Cn=>{Pn?(en.has(Cn)||En.push(Cn),en.add(Cn)):(en.delete(Cn),En.push(Cn))}),$e(Pn?Ln:null),En},[me]),Ht=>{$e(Ht)}]}var wo=z(32383),Co=z(62673),Lo=z(75727),Oo=z(47889);const Mo={},ha="SELECT_ALL",Aa="SELECT_INVERT",xa="SELECT_NONE",Fa=[],Da=(ve,me)=>{let $e=[];return(me||[]).forEach(ft=>{$e.push(ft),ft&&typeof ft=="object"&&ve in ft&&($e=[].concat((0,wt.Z)($e),(0,wt.Z)(Da(ve,ft[ve]))))}),$e};var Ni=(ve,me)=>{const{preserveSelectedRowKeys:$e,selectedRowKeys:ft,defaultSelectedRowKeys:It,getCheckboxProps:Ht,onChange:sn,onSelect:en,onSelectAll:mn,onSelectInvert:gn,onSelectNone:Ln,onSelectMultiple:In,columnWidth:Pn,type:En,selections:Cn,fixed:ur,renderCell:Kn,hideSelectAll:gr,checkStrictly:fr=!0}=me||{},{prefixCls:Ar,data:br,pageData:Er,getRecordByKey:Lr,getRowKey:Wr,expandType:Ur,childrenColumnName:Ci,locale:wr,getPopupContainer:Cr}=ve,Mr=(0,wo.ln)("Table"),[_n,$n]=Io(Fi=>Fi),[Ir,jr]=(0,ao.Z)(ft||It||Fa,{value:ft}),ei=b.useRef(new Map),Si=(0,b.useCallback)(Fi=>{if($e){const no=new Map;Fi.forEach(Di=>{let ci=Lr(Di);!ci&&ei.current.has(Di)&&(ci=ei.current.get(Di)),no.set(Di,ci)}),ei.current=no}},[Lr,$e]);b.useEffect(()=>{Si(Ir)},[Ir]);const Kr=(0,b.useMemo)(()=>Da(Ci,Er),[Ci,Er]),{keyEntities:so}=(0,b.useMemo)(()=>{if(fr)return{keyEntities:null};let Fi=br;if($e){const no=new Set(Kr.map((ci,Do)=>Wr(ci,Do))),Di=Array.from(ei.current).reduce((ci,Do)=>{let[zo,aa]=Do;return no.has(zo)?ci:ci.concat(aa)},[]);Fi=[].concat((0,wt.Z)(Fi),(0,wt.Z)(Di))}return(0,po.I8)(Fi,{externalGetKey:Wr,childrenPropName:Ci})},[br,Wr,fr,Ci,$e,Kr]),eo=(0,b.useMemo)(()=>{const Fi=new Map;return Kr.forEach((no,Di)=>{const ci=Wr(no,Di),Do=(Ht?Ht(no):null)||{};Fi.set(ci,Do)}),Fi},[Kr,Wr,Ht]),qo=(0,b.useCallback)(Fi=>{const no=Wr(Fi);let Di;return eo.has(no)?Di=eo.get(Wr(Fi)):Di=Ht?Ht(Fi):void 0,!!(Di!=null&&Di.disabled)},[eo,Wr]),[To,Xo]=(0,b.useMemo)(()=>{if(fr)return[Ir||[],[]];const{checkedKeys:Fi,halfCheckedKeys:no}=(0,ji.S)(Ir,!0,so,qo);return[Fi||[],no]},[Ir,fr,so,qo]),ra=(0,b.useMemo)(()=>{const Fi=En==="radio"?To.slice(0,1):To;return new Set(Fi)},[To,En]),oa=(0,b.useMemo)(()=>En==="radio"?new Set:new Set(Xo),[Xo,En]);b.useEffect(()=>{me||jr(Fa)},[!!me]);const go=(0,b.useCallback)((Fi,no)=>{let Di,ci;Si(Fi),$e?(Di=Fi,ci=Fi.map(Do=>ei.current.get(Do))):(Di=[],ci=[],Fi.forEach(Do=>{const zo=Lr(Do);zo!==void 0&&(Di.push(Do),ci.push(zo))})),jr(Di),sn==null||sn(Di,ci,{type:no})},[jr,Lr,sn,$e]),vo=(0,b.useCallback)((Fi,no,Di,ci)=>{if(en){const Do=Di.map(zo=>Lr(zo));en(Lr(Fi),no,Do,ci)}go(Di,"single")},[en,Lr,go]),ma=(0,b.useMemo)(()=>!Cn||gr?null:(Cn===!0?[ha,Aa,xa]:Cn).map(no=>no===ha?{key:"all",text:wr.selectionAll,onSelect(){go(br.map((Di,ci)=>Wr(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);Er.forEach((Do,zo)=>{const aa=Wr(Do,zo),Wo=eo.get(aa);Wo!=null&&Wo.disabled||(Di.has(aa)?Di.delete(aa):Di.add(aa))});const ci=Array.from(Di);gn&&(Mr.deprecated(!1,"onSelectInvert","onChange"),gn(ci)),go(ci,"invert")}}:no===xa?{key:"none",text:wr.selectNone,onSelect(){Ln==null||Ln(),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)}})),[Cn,ra,Er,Wr,gn,go]);return[(0,b.useCallback)(Fi=>{var no;if(!me)return Fi.filter(Po=>Po!==Mo);let Di=(0,wt.Z)(Fi);const ci=new Set(ra),Do=Kr.map(Wr).filter(Po=>!eo.get(Po).disabled),zo=Do.every(Po=>ci.has(Po)),aa=Do.some(Po=>ci.has(Po)),Wo=()=>{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);mn==null||mn(!zo,na.map(sa=>Lr(sa)),Po.map(sa=>Lr(sa))),go(na,"all"),$n(null)};let pa,ca;if(En!=="radio"){let Po;if(ma){const No={getPopupContainer:Cr,items:ma.map((fa,Uo)=>{const{key:Ra,text:Ea,onSelect:Va}=fa;return{key:Ra!=null?Ra:Uo,onClick:()=>{Va==null||Va(Do)},label:Ea}})};Po=b.createElement("div",{className:`${Ar}-selection-extra`},b.createElement(Lo.Z,{menu:No,getPopupContainer:Cr},b.createElement("span",null,b.createElement(xr.Z,null))))}const na=Kr.map((No,fa)=>{const Uo=Wr(No,fa),Ra=eo.get(Uo)||{};return Object.assign({checked:ci.has(Uo)},Ra)}).filter(No=>{let{disabled:fa}=No;return fa}),sa=!!na.length&&na.length===Kr.length,Ca=sa&&na.every(No=>{let{checked:fa}=No;return fa}),ga=sa&&na.some(No=>{let{checked:fa}=No;return fa});ca=b.createElement(Co.default,{checked:sa?Ca:!!Kr.length&&zo,indeterminate:sa?!Ca&&ga:!zo&&aa,onChange:Wo,disabled:Kr.length===0||sa,"aria-label":Po?"Custom selection":"Select all",skipGroup:!0}),pa=!gr&&b.createElement("div",{className:`${Ar}-selection`},ca,Po)}let Li;En==="radio"?Li=(Po,na,sa)=>{const Ca=Wr(na,sa),ga=ci.has(Ca),No=eo.get(Ca);return{node:b.createElement(Oo.ZP,Object.assign({},No,{checked:ga,onClick:fa=>{var Uo;fa.stopPropagation(),(Uo=No==null?void 0:No.onClick)===null||Uo===void 0||Uo.call(No,fa)},onChange:fa=>{var Uo;ci.has(Ca)||vo(Ca,!0,[Ca],fa.nativeEvent),(Uo=No==null?void 0:No.onChange)===null||Uo===void 0||Uo.call(No,fa)}})),checked:ga}}:Li=(Po,na,sa)=>{var Ca;const ga=Wr(na,sa),No=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:No,skipGroup:!0,onClick:Ea=>{var Va;Ea.stopPropagation(),(Va=Uo==null?void 0:Uo.onClick)===null||Va===void 0||Va.call(Uo,Ea)},onChange:Ea=>{var Va;const{nativeEvent:$a}=Ea,{shiftKey:El}=$a,ua=Do.findIndex(Ka=>Ka===ga),_l=To.some(Ka=>Do.includes(Ka));if(El&&fr&&_l){const Ka=_n(ua,Do,ci),hl=Array.from(ci);In==null||In(!No,hl.map(al=>Lr(al)),Ka.map(al=>Lr(al))),go(hl,"multiple")}else{const Ka=To;if(fr){const hl=No?(0,Zr._5)(Ka,ga):(0,Zr.L0)(Ka,ga);vo(ga,!No,hl,$a)}else{const hl=(0,ji.S)([].concat((0,wt.Z)(Ka),[ga]),!0,so,qo),{checkedKeys:al,halfCheckedKeys:ro}=hl;let Pi=al;if(No){const ya=new Set(al);ya.delete(ga),Pi=(0,ji.S)(Array.from(ya),{checked:!1,halfCheckedKeys:ro},so,qo).checkedKeys}vo(ga,!No,Pi,$a)}}$n(No?null:ua),(Va=Uo==null?void 0:Uo.onChange)===null||Va===void 0||Va.call(Uo,Ea)}})),checked:No}};const Ui=(Po,na,sa)=>{const{node:Ca,checked:ga}=Li(Po,na,sa);return Kn?Kn(ga,na,sa,Ca):Ca};if(!Di.includes(Mo))if(Di.findIndex(Po=>{var na;return((na=Po[Nn])===null||na===void 0?void 0:na.columnType)==="EXPAND_COLUMN"})===0){const[Po,...na]=Di;Di=[Po,Mo].concat((0,wt.Z)(na))}else Di=[Mo].concat((0,wt.Z)(Di));const jo=Di.indexOf(Mo);Di=Di.filter((Po,na)=>Po!==Mo||na===jo);const $o=Di[jo-1],Qo=Di[jo+1];let Sa=ur;Sa===void 0&&((Qo==null?void 0:Qo.fixed)!==void 0?Sa=Qo.fixed:($o==null?void 0:$o.fixed)!==void 0&&(Sa=$o.fixed)),Sa&&$o&&((no=$o[Nn])===null||no===void 0?void 0:no.columnType)==="EXPAND_COLUMN"&&$o.fixed===void 0&&($o.fixed=Sa);const la=Ye()(`${Ar}-selection-col`,{[`${Ar}-selection-col-with-dropdown`]:Cn&&En==="checkbox"}),Ta=()=>me!=null&&me.columnTitle?typeof me.columnTitle=="function"?me.columnTitle(ca):me.columnTitle:pa,ia={fixed:Sa,width:Pn,className:`${Ar}-selection-column`,title:Ta(),render:Ui,onCell:me.onCell,[Nn]:{className:la}};return Di.map(Po=>Po===Mo?ia:Po)},[Wr,Kr,me,To,ra,oa,Pn,ma,Ur,eo,In,vo,qo]),ra]},ea=z(2738);function ta(ve,me){return ve._antProxy=ve._antProxy||{},Object.keys(me).forEach($e=>{if(!($e in ve._antProxy)){const ft=ve[$e];ve._antProxy[$e]=ft,ve[$e]=me[$e]}}),ve}function Xi(ve,me){return(0,b.useImperativeHandle)(ve,()=>{const $e=me(),{nativeElement:ft}=$e;return typeof Proxy!="undefined"?new Proxy(ft,{get(It,Ht){return $e[Ht]?$e[Ht]:Reflect.get(It,Ht)}}):ta(ft,$e)})}var Ho=z(83010),_o=z(48755),ho=z(38406),Zo=z(83397),Bo=z(31756),La=z(13783),rl=z(85981),za=z(31709),Ia=z(29787),Yl=z(57700);function jl(ve){return me=>{const{prefixCls:$e,onExpand:ft,record:It,expanded:Ht,expandable:sn}=me,en=`${$e}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:mn=>{ft(It,mn),mn.stopPropagation()},className:Ye()(en,{[`${en}-spaced`]:!sn,[`${en}-expanded`]:sn&&Ht,[`${en}-collapsed`]:sn&&!Ht}),"aria-label":Ht?ve.collapse:ve.expand,"aria-expanded":Ht})}}var qi=jl;function xo(ve){return($e,ft)=>{const It=$e.querySelector(`.${ve}-container`);let Ht=ft;if(It){const sn=getComputedStyle(It),en=parseInt(sn.borderLeftWidth,10),mn=parseInt(sn.borderRightWidth,10);Ht=ft-en-mn}return Ht}}const Qi=(ve,me)=>"key"in ve&&ve.key!==void 0&&ve.key!==null?ve.key:ve.dataIndex?Array.isArray(ve.dataIndex)?ve.dataIndex.join("."):ve.dataIndex:me;function to(ve,me){return me?`${me}-${ve}`:`${ve}`}const ko=(ve,me)=>typeof ve=="function"?ve(me):ve,da=(ve,me)=>{const $e=ko(ve,me);return Object.prototype.toString.call($e)==="[object Object]"?"":$e};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,Ha=z(7657),Pa=function(me,$e){return b.createElement(Ha.Z,(0,ut.Z)({},me,{ref:$e,icon:Ga}))},vl=b.forwardRef(Pa),Al=vl,el=z(9981),Dl=z(40192);function Ao(ve){const me=b.useRef(ve),$e=(0,Dl.Z)();return[()=>me.current,ft=>{me.current=ft,$e()}]}var xl=z(7939),Vl=z(584),us=z(93041),ys=z(78857),il=z(18287),Zl=z(47472),pl=z(49397),Gl=ve=>{const{value:me,filterSearch:$e,tablePrefixCls:ft,locale:It,onChange:Ht}=ve;return $e?b.createElement("div",{className:`${ft}-filter-dropdown-search`},b.createElement(pl.Z,{prefix:b.createElement(Zl.Z,null),placeholder:It.filterSearchPlaceholder,onChange:Ht,value:me,htmlSize:1,className:`${ft}-filter-dropdown-search-input`})):null},cs=z(10228);const ts=ve=>{const{keyCode:me}=ve;me===cs.Z.ENTER&&ve.stopPropagation()};var ds=b.forwardRef((ve,me)=>b.createElement("div",{className:ve.className,onClick:$e=>$e.stopPropagation(),onKeyDown:ts,ref:me},ve.children));function gl(ve){let me=[];return(ve||[]).forEach($e=>{let{value:ft,children:It}=$e;me.push(ft),It&&(me=[].concat((0,wt.Z)(me),(0,wt.Z)(gl(It))))}),me}function Xl(ve){return ve.some(me=>{let{children:$e}=me;return $e})}function ns(ve,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(ve.trim().toLowerCase()):!1}function bs(ve){let{filters:me,prefixCls:$e,filteredKeys:ft,filterMultiple:It,searchValue:Ht,filterSearch:sn}=ve;return me.map((en,mn)=>{const gn=String(en.value);if(en.children)return{key:gn||mn,label:en.text,popupClassName:`${$e}-dropdown-submenu`,children:bs({filters:en.children,prefixCls:$e,filteredKeys:ft,filterMultiple:It,searchValue:Ht,filterSearch:sn})};const Ln=It?Co.default:Oo.ZP,In={key:en.value!==void 0?gn:mn,label:b.createElement(b.Fragment,null,b.createElement(Ln,{checked:ft.includes(gn)}),b.createElement("span",null,en.text))};return Ht.trim()?typeof sn=="function"?sn(Ht,en)?In:null:ns(Ht,en.text)?In:null:In})}function $l(ve){return ve||[]}var Cs=ve=>{var me,$e,ft,It;const{tablePrefixCls:Ht,prefixCls:sn,column:en,dropdownPrefixCls:mn,columnKey:gn,filterOnClose:Ln,filterMultiple:In,filterMode:Pn="menu",filterSearch:En=!1,filterState:Cn,triggerFilter:ur,locale:Kn,children:gr,getPopupContainer:fr,rootClassName:Ar}=ve,{filterResetToDefaultFilteredValue:br,defaultFilteredValue:Er,filterDropdownProps:Lr={},filterDropdownOpen:Wr,filterDropdownVisible:Ur,onFilterDropdownVisibleChange:Ci,onFilterDropdownOpenChange:wr}=en,[Cr,Mr]=b.useState(!1),_n=!!(Cn&&(!((me=Cn.filteredKeys)===null||me===void 0)&&me.length||Cn.forceFiltered)),$n=Li=>{var Ui;Mr(Li),(Ui=Lr.onOpenChange)===null||Ui===void 0||Ui.call(Lr,Li),wr==null||wr(Li),Ci==null||Ci(Li)},Ir=(It=(ft=($e=Lr.open)!==null&&$e!==void 0?$e:Wr)!==null&&ft!==void 0?ft:Ur)!==null&&It!==void 0?It:Cr,jr=Cn==null?void 0:Cn.filteredKeys,[ei,Si]=Ao($l(jr)),Kr=Li=>{let{selectedKeys:Ui}=Li;Si(Ui)},so=(Li,Ui)=>{let{node:jo,checked:$o}=Ui;Kr(In?{selectedKeys:Li}:{selectedKeys:$o&&jo.key?[jo.key]:[]})};b.useEffect(()=>{Cr&&Kr({selectedKeys:$l(jr)})},[jr]);const[eo,qo]=b.useState([]),To=Li=>{qo(Li)},[Xo,ra]=b.useState(""),oa=Li=>{const{value:Ui}=Li.target;ra(Ui)};b.useEffect(()=>{Cr||ra("")},[Cr]);const go=Li=>{const Ui=Li!=null&&Li.length?Li:null;if(Ui===null&&(!Cn||!Cn.filteredKeys)||(0,Pe.Z)(Ui,Cn==null?void 0:Cn.filteredKeys,!0))return null;ur({column:en,key:gn,filteredKeys:Ui})},vo=()=>{$n(!1),go(ei())},ma=function(){let{confirm:Li,closeDropdown:Ui}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Li&&go([]),Ui&&$n(!1),ra(""),Si(br?(Er||[]).map(jo=>String(jo)):[])},va=function(){let{closeDropdown:Li}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Li&&$n(!1),go(ei())},Fi=(Li,Ui)=>{Ui.source==="trigger"&&(Li&&jr!==void 0&&Si($l(jr)),$n(Li),!Li&&!en.filterDropdown&&Ln&&vo())},no=Ye()({[`${mn}-menu-without-submenu`]:!Xl(en.filters||[])}),Di=Li=>{if(Li.target.checked){const Ui=gl(en==null?void 0:en.filters).map(jo=>String(jo));Si(Ui)}else Si([])},ci=Li=>{let{filters:Ui}=Li;return(Ui||[]).map((jo,$o)=>{const Qo=String(jo.value),Sa={title:jo.text,key:jo.value!==void 0?Qo:String($o)};return jo.children&&(Sa.children=ci({filters:jo.children})),Sa})},Do=Li=>{var Ui;return Object.assign(Object.assign({},Li),{text:Li.title,value:Li.key,children:((Ui=Li.children)===null||Ui===void 0?void 0:Ui.map(jo=>Do(jo)))||[]})};let zo;const{direction:aa,renderEmpty:Wo}=b.useContext(_o.E_);if(typeof en.filterDropdown=="function")zo=en.filterDropdown({prefixCls:`${mn}-custom`,setSelectedKeys:Li=>Kr({selectedKeys:Li}),selectedKeys:ei(),confirm:va,clearFilters:ma,filters:en.filters,visible:Ir,close:()=>{$n(!1)}});else if(en.filterDropdown)zo=en.filterDropdown;else{const Li=ei()||[],Ui=()=>{var $o,Qo;const Sa=($o=Wo==null?void 0:Wo("Table.filter"))!==null&&$o!==void 0?$o:b.createElement(Vl.Z,{image:Vl.Z.PRESENTED_IMAGE_SIMPLE,description:Kn.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((en.filters||[]).length===0)return Sa;if(Pn==="tree")return b.createElement(b.Fragment,null,b.createElement(Gl,{filterSearch:En,value:Xo,onChange:oa,tablePrefixCls:Ht,locale:Kn}),b.createElement("div",{className:`${Ht}-filter-dropdown-tree`},In?b.createElement(Co.default,{checked:Li.length===gl(en.filters).length,indeterminate:Li.length>0&&Li.length<gl(en.filters).length,className:`${Ht}-filter-dropdown-checkall`,onChange:Di},(Qo=Kn==null?void 0:Kn.filterCheckall)!==null&&Qo!==void 0?Qo:Kn==null?void 0:Kn.filterCheckAll):null,b.createElement(il.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:In,checkStrictly:!In,className:`${mn}-menu`,onCheck:so,checkedKeys:Li,selectedKeys:Li,showIcon:!1,treeData:ci({filters:en.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Xo.trim()?ia=>typeof En=="function"?En(Xo,Do(ia)):ns(Xo,ia.title):void 0})));const la=bs({filters:en.filters||[],filterSearch:En,prefixCls:sn,filteredKeys:ei(),filterMultiple:In,searchValue:Xo}),Ta=la.every(ia=>ia===null);return b.createElement(b.Fragment,null,b.createElement(Gl,{filterSearch:En,value:Xo,onChange:oa,tablePrefixCls:Ht,locale:Kn}),Ta?Sa:b.createElement(us.default,{selectable:!0,multiple:In,prefixCls:`${mn}-menu`,className:no,onSelect:Kr,onDeselect:Kr,selectedKeys:Li,getPopupContainer:fr,openKeys:eo,onOpenChange:To,items:la}))},jo=()=>br?(0,Pe.Z)((Er||[]).map($o=>String($o)),Li,!0):Li.length===0;zo=b.createElement(b.Fragment,null,Ui(),b.createElement("div",{className:`${sn}-dropdown-btns`},b.createElement(xl.ZP,{type:"link",size:"small",disabled:jo(),onClick:()=>ma()},Kn.filterReset),b.createElement(xl.ZP,{type:"primary",size:"small",onClick:vo},Kn.filterConfirm)))}en.filterDropdown&&(zo=b.createElement(ys.J,{selectable:void 0},zo)),zo=b.createElement(ds,{className:`${sn}-dropdown`},zo);const pa=()=>{let Li;return typeof en.filterIcon=="function"?Li=en.filterIcon(_n):en.filterIcon?Li=en.filterIcon:Li=b.createElement(Al,null),b.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${sn}-trigger`,{active:_n}),onClick:Ui=>{Ui.stopPropagation()}},Li)},ca=(0,el.Z)({trigger:["click"],placement:aa==="rtl"?"bottomLeft":"bottomRight",children:pa(),getPopupContainer:fr},Object.assign(Object.assign({},Lr),{rootClassName:Ye()(Ar,Lr.rootClassName),open:Ir,onOpenChange:Fi,dropdownRender:()=>typeof(Lr==null?void 0:Lr.dropdownRender)=="function"?Lr.dropdownRender(zo):zo}));return b.createElement("div",{className:`${sn}-column`},b.createElement("span",{className:`${Ht}-column-title`},gr),b.createElement(Lo.Z,Object.assign({},ca)))};const Kl=(ve,me,$e)=>{let ft=[];return(ve||[]).forEach((It,Ht)=>{var sn;const en=to(Ht,$e);if(It.filters||"filterDropdown"in It||"onFilter"in It)if("filteredValue"in It){let mn=It.filteredValue;"filterDropdown"in It||(mn=(sn=mn==null?void 0:mn.map(String))!==null&&sn!==void 0?sn:mn),ft.push({column:It,key:Qi(It,en),filteredKeys:mn,forceFiltered:It.filtered})}else ft.push({column:It,key:Qi(It,en),filteredKeys:me&&It.defaultFilteredValue?It.defaultFilteredValue:void 0,forceFiltered:It.filtered});"children"in It&&(ft=[].concat((0,wt.Z)(ft),(0,wt.Z)(Kl(It.children,me,en))))}),ft};function Wa(ve,me,$e,ft,It,Ht,sn,en,mn){return $e.map((gn,Ln)=>{const In=to(Ln,en),{filterOnClose:Pn=!0,filterMultiple:En=!0,filterMode:Cn,filterSearch:ur}=gn;let Kn=gn;if(Kn.filters||Kn.filterDropdown){const gr=Qi(Kn,In),fr=ft.find(Ar=>{let{key:br}=Ar;return gr===br});Kn=Object.assign(Object.assign({},Kn),{title:Ar=>b.createElement(Cs,{tablePrefixCls:ve,prefixCls:`${ve}-filter`,dropdownPrefixCls:me,column:Kn,columnKey:gr,filterState:fr,filterOnClose:Pn,filterMultiple:En,filterMode:Cn,filterSearch:ur,triggerFilter:Ht,locale:It,getPopupContainer:sn,rootClassName:mn},ko(gn.title,Ar))})}return"children"in Kn&&(Kn=Object.assign(Object.assign({},Kn),{children:Wa(ve,me,Kn.children,ft,It,Ht,sn,In,mn)})),Kn})}const Ko=ve=>{const me={};return ve.forEach($e=>{let{key:ft,filteredKeys:It,column:Ht}=$e;const sn=ft,{filters:en,filterDropdown:mn}=Ht;if(mn)me[sn]=It||null;else if(Array.isArray(It)){const gn=gl(en);me[sn]=gn.filter(Ln=>It.includes(String(Ln)))}else me[sn]=null}),me},So=(ve,me,$e)=>me.reduce((It,Ht)=>{const{column:{onFilter:sn,filters:en},filteredKeys:mn}=Ht;return sn&&mn&&mn.length?It.map(gn=>Object.assign({},gn)).filter(gn=>mn.some(Ln=>{const In=gl(en),Pn=In.findIndex(Cn=>String(Cn)===String(Ln)),En=Pn!==-1?In[Pn]:Ln;return gn[$e]&&(gn[$e]=So(gn[$e],me,$e)),sn(En,gn)})):It},ve),Ma=ve=>ve.flatMap(me=>"children"in me?[me].concat((0,wt.Z)(Ma(me.children||[]))):[me]);var Oa=ve=>{const{prefixCls:me,dropdownPrefixCls:$e,mergedColumns:ft,onFilterChange:It,getPopupContainer:Ht,locale:sn,rootClassName:en}=ve,mn=(0,wo.ln)("Table"),gn=b.useMemo(()=>Ma(ft||[]),[ft]),[Ln,In]=b.useState(()=>Kl(gn,!0)),Pn=b.useMemo(()=>{const Kn=Kl(gn,!1);if(Kn.length===0)return Kn;let gr=!0,fr=!0;if(Kn.forEach(Ar=>{let{filteredKeys:br}=Ar;br!==void 0?gr=!1:fr=!1}),gr){const Ar=(gn||[]).map((br,Er)=>Qi(br,to(Er)));return Ln.filter(br=>{let{key:Er}=br;return Ar.includes(Er)}).map(br=>{const Er=gn[Ar.findIndex(Lr=>Lr===br.key)];return Object.assign(Object.assign({},br),{column:Object.assign(Object.assign({},br.column),Er),forceFiltered:Er.filtered})})}return Kn},[gn,Ln]),En=b.useMemo(()=>Ko(Pn),[Pn]),Cn=Kn=>{const gr=Pn.filter(fr=>{let{key:Ar}=fr;return Ar!==Kn.key});gr.push(Kn),In(gr),It(Ko(gr),gr)};return[Kn=>Wa(me,$e,Kn,Pn,sn,Cn,Ht,void 0,en),Pn,En]},Pl=(ve,me,$e)=>{const ft=b.useRef({});function It(Ht){var sn;if(!ft.current||ft.current.data!==ve||ft.current.childrenColumnName!==me||ft.current.getRowKey!==$e){let mn=function(gn){gn.forEach((Ln,In)=>{const Pn=$e(Ln,In);en.set(Pn,Ln),Ln&&typeof Ln=="object"&&me in Ln&&mn(Ln[me]||[])})};const en=new Map;mn(ve),ft.current={data:ve,childrenColumnName:me,kvMap:en,getRowKey:$e}}return(sn=ft.current.kvMap)===null||sn===void 0?void 0:sn.get(Ht)}return[It]},Sl=function(ve,me){var $e={};for(var ft in ve)Object.prototype.hasOwnProperty.call(ve,ft)&&me.indexOf(ft)<0&&($e[ft]=ve[ft]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,ft=Object.getOwnPropertySymbols(ve);It<ft.length;It++)me.indexOf(ft[It])<0&&Object.prototype.propertyIsEnumerable.call(ve,ft[It])&&($e[ft[It]]=ve[ft[It]]);return $e};const Nl=10;function ol(ve,me){const $e={current:ve.current,pageSize:ve.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(It=>{const Ht=ve[It];typeof Ht!="function"&&($e[It]=Ht)}),$e}function fl(ve,me,$e){const ft=$e&&typeof $e=="object"?$e:{},{total:It=0}=ft,Ht=Sl(ft,["total"]),[sn,en]=(0,b.useState)(()=>({current:"defaultCurrent"in Ht?Ht.defaultCurrent:1,pageSize:"defaultPageSize"in Ht?Ht.defaultPageSize:Nl})),mn=(0,el.Z)(sn,Ht,{total:It>0?It:ve}),gn=Math.ceil((It||ve)/mn.pageSize);mn.current>gn&&(mn.current=gn||1);const Ln=(Pn,En)=>{en({current:Pn!=null?Pn:1,pageSize:En||mn.pageSize})},In=(Pn,En)=>{var Cn;$e&&((Cn=$e.onChange)===null||Cn===void 0||Cn.call($e,Pn,En)),Ln(Pn,En),me(Pn,En||(mn==null?void 0:mn.pageSize))};return $e===!1?[{},()=>{}]:[Object.assign(Object.assign({},mn),{onChange:In}),Ln]}var Bl=fl,Ul=z(89489),Os=z(59477),Ms=z(25399);const rs="ascend",zl="descend",Ll=ve=>typeof ve.sorter=="object"&&typeof ve.sorter.multiple=="number"?ve.sorter.multiple:!1,Xa=ve=>typeof ve=="function"?ve:ve&&typeof ve=="object"&&ve.compare?ve.compare:!1,Hl=(ve,me)=>me?ve[ve.indexOf(me)+1]:ve[0],kl=(ve,me,$e)=>{let ft=[];const It=(Ht,sn)=>{ft.push({column:Ht,key:Qi(Ht,sn),multiplePriority:Ll(Ht),sortOrder:Ht.sortOrder})};return(ve||[]).forEach((Ht,sn)=>{const en=to(sn,$e);Ht.children?("sortOrder"in Ht&&It(Ht,en),ft=[].concat((0,wt.Z)(ft),(0,wt.Z)(kl(Ht.children,me,en)))):Ht.sorter&&("sortOrder"in Ht?It(Ht,en):me&&Ht.defaultSortOrder&&ft.push({column:Ht,key:Qi(Ht,en),multiplePriority:Ll(Ht),sortOrder:Ht.defaultSortOrder}))}),ft},xs=(ve,me,$e,ft,It,Ht,sn,en)=>(me||[]).map((gn,Ln)=>{const In=to(Ln,en);let Pn=gn;if(Pn.sorter){const En=Pn.sortDirections||It,Cn=Pn.showSorterTooltip===void 0?sn:Pn.showSorterTooltip,ur=Qi(Pn,In),Kn=$e.find(Ci=>{let{key:wr}=Ci;return wr===ur}),gr=Kn?Kn.sortOrder:null,fr=Hl(En,gr);let Ar;if(gn.sortIcon)Ar=gn.sortIcon({sortOrder:gr});else{const Ci=En.includes(rs)&&b.createElement(Os.Z,{className:Ye()(`${ve}-column-sorter-up`,{active:gr===rs})}),wr=En.includes(zl)&&b.createElement(Ul.Z,{className:Ye()(`${ve}-column-sorter-down`,{active:gr===zl})});Ar=b.createElement("span",{className:Ye()(`${ve}-column-sorter`,{[`${ve}-column-sorter-full`]:!!(Ci&&wr)})},b.createElement("span",{className:`${ve}-column-sorter-inner`,"aria-hidden":"true"},Ci,wr))}const{cancelSort:br,triggerAsc:Er,triggerDesc:Lr}=Ht||{};let Wr=br;fr===zl?Wr=Lr:fr===rs&&(Wr=Er);const Ur=typeof Cn=="object"?Object.assign({title:Wr},Cn):{title:Wr};Pn=Object.assign(Object.assign({},Pn),{className:Ye()(Pn.className,{[`${ve}-column-sort`]:gr}),title:Ci=>{const wr=`${ve}-column-sorters`,Cr=b.createElement("span",{className:`${ve}-column-title`},ko(gn.title,Ci)),Mr=b.createElement("div",{className:wr},Cr,Ar);return Cn?typeof Cn!="boolean"&&(Cn==null?void 0:Cn.target)==="sorter-icon"?b.createElement("div",{className:`${wr} ${ve}-column-sorters-tooltip-target-sorter`},Cr,b.createElement(Ms.Z,Object.assign({},Ur),Ar)):b.createElement(Ms.Z,Object.assign({},Ur),Mr):Mr},onHeaderCell:Ci=>{var wr;const Cr=((wr=gn.onHeaderCell)===null||wr===void 0?void 0:wr.call(gn,Ci))||{},Mr=Cr.onClick,_n=Cr.onKeyDown;Cr.onClick=jr=>{ft({column:gn,key:ur,sortOrder:fr,multiplePriority:Ll(gn)}),Mr==null||Mr(jr)},Cr.onKeyDown=jr=>{jr.keyCode===cs.Z.ENTER&&(ft({column:gn,key:ur,sortOrder:fr,multiplePriority:Ll(gn)}),_n==null||_n(jr))};const $n=da(gn.title,{}),Ir=$n==null?void 0:$n.toString();return gr&&(Cr["aria-sort"]=gr==="ascend"?"ascending":"descending"),Cr["aria-label"]=Ir||"",Cr.className=Ye()(Cr.className,`${ve}-column-has-sorters`),Cr.tabIndex=0,gn.ellipsis&&(Cr.title=($n!=null?$n:"").toString()),Cr}})}return"children"in Pn&&(Pn=Object.assign(Object.assign({},Pn),{children:xs(ve,Pn.children,$e,ft,It,Ht,sn,In)})),Pn}),Vs=ve=>{const{column:me,sortOrder:$e}=ve;return{column:me,order:$e,field:me.dataIndex,columnKey:me.key}},Ss=ve=>{const me=ve.filter($e=>{let{sortOrder:ft}=$e;return ft}).map(Vs);if(me.length===0&&ve.length){const $e=ve.length-1;return Object.assign(Object.assign({},Vs(ve[$e])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return me.length<=1?me[0]||{}:me},Ql=(ve,me,$e)=>{const ft=me.slice().sort((sn,en)=>en.multiplePriority-sn.multiplePriority),It=ve.slice(),Ht=ft.filter(sn=>{let{column:{sorter:en},sortOrder:mn}=sn;return Xa(en)&&mn});return Ht.length?It.sort((sn,en)=>{for(let mn=0;mn<Ht.length;mn+=1){const gn=Ht[mn],{column:{sorter:Ln},sortOrder:In}=gn,Pn=Xa(Ln);if(Pn&&In){const En=Pn(sn,en,In);if(En!==0)return In===rs?En:-En}}return 0}).map(sn=>{const en=sn[$e];return en?Object.assign(Object.assign({},sn),{[$e]:Ql(en,me,$e)}):sn}):It};var Ks=ve=>{const{prefixCls:me,mergedColumns:$e,sortDirections:ft,tableLocale:It,showSorterTooltip:Ht,onSorterChange:sn}=ve,[en,mn]=b.useState(kl($e,!0)),gn=(ur,Kn)=>{const gr=[];return ur.forEach((fr,Ar)=>{const br=to(Ar,Kn);if(gr.push(Qi(fr,br)),Array.isArray(fr.children)){const Er=gn(fr.children,br);gr.push.apply(gr,(0,wt.Z)(Er))}}),gr},Ln=b.useMemo(()=>{let ur=!0;const Kn=kl($e,!1);if(!Kn.length){const br=gn($e);return en.filter(Er=>{let{key:Lr}=Er;return br.includes(Lr)})}const gr=[];function fr(br){ur?gr.push(br):gr.push(Object.assign(Object.assign({},br),{sortOrder:null}))}let Ar=null;return Kn.forEach(br=>{Ar===null?(fr(br),br.sortOrder&&(br.multiplePriority===!1?ur=!1:Ar=!0)):(Ar&&br.multiplePriority!==!1||(ur=!1),fr(br))}),gr},[$e,en]),In=b.useMemo(()=>{var ur,Kn;const gr=Ln.map(fr=>{let{column:Ar,sortOrder:br}=fr;return{column:Ar,order:br}});return{sortColumns:gr,sortColumn:(ur=gr[0])===null||ur===void 0?void 0:ur.column,sortOrder:(Kn=gr[0])===null||Kn===void 0?void 0:Kn.order}},[Ln]),Pn=ur=>{let Kn;ur.multiplePriority===!1||!Ln.length||Ln[0].multiplePriority===!1?Kn=[ur]:Kn=[].concat((0,wt.Z)(Ln.filter(gr=>{let{key:fr}=gr;return fr!==ur.key})),[ur]),mn(Kn),sn(Ss(Kn),Kn)};return[ur=>xs(me,ur,Ln,Pn,ft,It,Ht),Ln,In,()=>Ss(Ln)]};const hs=(ve,me)=>ve.map(ft=>{const It=Object.assign({},ft);return It.title=ko(ft.title,me),"children"in It&&(It.children=hs(It.children,me)),It});var Ns=ve=>[b.useCallback($e=>hs($e,ve),[ve])],Ls=Ri((ve,me)=>{const{_renderTimes:$e}=ve,{_renderTimes:ft}=me;return $e!==ft}),is=lr((ve,me)=>{const{_renderTimes:$e}=ve,{_renderTimes:ft}=me;return $e!==ft}),Ji=z(36237),os=z(17835),oe=z(63356),ye=z(16931),Ze=z(51636),St=ve=>{const{componentCls:me,lineWidth:$e,lineType:ft,tableBorderColor:It,tableHeaderBg:Ht,tablePaddingVertical:sn,tablePaddingHorizontal:en,calc:mn}=ve,gn=`${(0,Ji.unit)($e)} ${ft} ${It}`,Ln=(In,Pn,En)=>({[`&${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,Ji.unit)(mn(Pn).mul(-1).equal())}
|
|
|
${(0,Ji.unit)(mn(mn(En).add($e)).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,Ji.unit)(mn(sn).mul(-1).equal())} ${(0,Ji.unit)(mn(mn(en).add($e)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:$e,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}}}}}},Ln("middle",ve.tablePaddingVerticalMiddle,ve.tablePaddingHorizontalMiddle)),Ln("small",ve.tablePaddingVerticalSmall,ve.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:gn,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Ji.unit)($e)} 0 ${(0,Ji.unit)($e)} ${Ht}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:gn}}}},Sn=ve=>{const{componentCls:me}=ve;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},oe.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=ve=>{const{componentCls:me}=ve;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:ve.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ve.colorBgContainer}}}}},An=ve=>{const{componentCls:me,antCls:$e,motionDurationSlow:ft,lineWidth:It,paddingXS:Ht,lineType:sn,tableBorderColor:en,tableExpandIconBg:mn,tableExpandColumnWidth:gn,borderRadius:Ln,tablePaddingVertical:In,tablePaddingHorizontal:Pn,tableExpandedRowBg:En,paddingXXS:Cn,expandIconMarginTop:ur,expandIconSize:Kn,expandIconHalfInner:gr,expandIconScale:fr,calc:Ar}=ve,br=`${(0,Ji.unit)(It)} ${sn} ${en}`,Er=Ar(Cn).sub(It).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,oe.Nd)(ve)),{position:"relative",float:"left",width:Kn,height:Kn,color:"inherit",lineHeight:(0,Ji.unit)(Kn),background:mn,border:br,borderRadius:Ln,transform:`scale(${fr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ft} ease-out`,content:'""'},"&::before":{top:gr,insetInlineEnd:Er,insetInlineStart:Er,height:It},"&::after":{top:Er,bottom:Er,insetInlineStart:gr,width:It,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:Ht},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:En}},[`${$e}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Ji.unit)(Ar(In).mul(-1).equal())} ${(0,Ji.unit)(Ar(Pn).mul(-1).equal())}`,padding:`${(0,Ji.unit)(In)} ${(0,Ji.unit)(Pn)}`}}}},sr=ve=>{const{componentCls:me,antCls:$e,iconCls:ft,tableFilterDropdownWidth:It,tableFilterDropdownSearchWidth:Ht,paddingXXS:sn,paddingXS:en,colorText:mn,lineWidth:gn,lineType:Ln,tableBorderColor:In,headerIconColor:Pn,fontSizeSM:En,tablePaddingHorizontal:Cn,borderRadius:ur,motionDurationSlow:Kn,colorTextDescription:gr,colorPrimary:fr,tableHeaderFilterActiveBg:Ar,colorTextDisabled:br,tableFilterDropdownBg:Er,tableFilterDropdownHeight:Lr,controlItemBgHover:Wr,controlItemBgActive:Ur,boxShadowSecondary:Ci,filterDropdownMenuBg:wr,calc:Cr}=ve,Mr=`${$e}-dropdown`,_n=`${me}-filter-dropdown`,$n=`${$e}-tree`,Ir=`${(0,Ji.unit)(gn)} ${Ln} ${In}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Cr(sn).mul(-1).equal(),marginInline:`${(0,Ji.unit)(sn)} ${(0,Ji.unit)(Cr(Cn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Ji.unit)(sn)}`,color:Pn,fontSize:En,borderRadius:ur,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{color:gr,background:Ar},"&.active":{color:fr}}}},{[`${$e}-dropdown`]:{[_n]:Object.assign(Object.assign({},(0,oe.Wf)(ve)),{minWidth:It,backgroundColor:Er,borderRadius:ur,boxShadow:Ci,overflow:"hidden",[`${Mr}-menu`]:{maxHeight:Lr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:wr,"&:empty::after":{display:"block",padding:`${(0,Ji.unit)(en)} 0`,color:br,fontSize:En,textAlign:"center",content:'"Not Found"'}},[`${_n}-tree`]:{paddingBlock:`${(0,Ji.unit)(en)} 0`,paddingInline:en,[$n]:{padding:0},[`${$n}-treenode ${$n}-node-content-wrapper:hover`]:{backgroundColor:Wr},[`${$n}-treenode-checkbox-checked ${$n}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ur}}},[`${_n}-search`]:{padding:en,borderBottom:Ir,"&-input":{input:{minWidth:Ht},[ft]:{color:br}}},[`${_n}-checkall`]:{width:"100%",marginBottom:sn,marginInlineStart:sn},[`${_n}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Ji.unit)(Cr(en).sub(gn).equal())} ${(0,Ji.unit)(en)}`,overflow:"hidden",borderTop:Ir}})}},{[`${$e}-dropdown ${_n}, ${_n}-submenu`]:{[`${$e}-checkbox-wrapper + span`]:{paddingInlineStart:en,color:mn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tr=ve=>{const{componentCls:me,lineWidth:$e,colorSplit:ft,motionDurationSlow:It,zIndexTableFixed:Ht,tableBg:sn,zIndexTableSticky:en,calc:mn}=ve,gn=ft;return{[`${me}-wrapper`]:{[`
|
|
|
${me}-cell-fix-left,
|
|
|
${me}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:Ht,background:sn},[`
|
|
|
${me}-cell-fix-left-first::after,
|
|
|
${me}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:mn($e).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${It}`,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:mn($e).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${It}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:mn(en).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${It}`,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=ve=>{const{componentCls:me,antCls:$e,margin:ft}=ve;return{[`${me}-wrapper`]:{[`${me}-pagination${$e}-pagination`]:{margin:`${(0,Ji.unit)(ft)} 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ve.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Yr=ve=>{const{componentCls:me,tableRadius:$e}=ve;return{[`${me}-wrapper`]:{[me]:{[`${me}-title, ${me}-header`]:{borderRadius:`${(0,Ji.unit)($e)} ${(0,Ji.unit)($e)} 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:$e,borderStartEndRadius:$e,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:$e},"> *:last-child":{borderStartEndRadius:$e}}},"&-footer":{borderRadius:`0 0 ${(0,Ji.unit)($e)} ${(0,Ji.unit)($e)}`}}}}},Sr=ve=>{const{componentCls:me}=ve;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"}}}}},Or=ve=>{const{componentCls:me,antCls:$e,iconCls:ft,fontSizeIcon:It,padding:Ht,paddingXS:sn,headerIconColor:en,headerIconHoverColor:mn,tableSelectionColumnWidth:gn,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:In,tableRowHoverBg:Pn,tablePaddingHorizontal:En,calc:Cn}=ve;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:gn,[`&${me}-selection-col-with-dropdown`]:{width:Cn(gn).add(It).add(Cn(Ht).div(4)).equal()}},[`${me}-bordered ${me}-selection-col`]:{width:Cn(gn).add(Cn(sn).mul(2)).equal(),[`&${me}-selection-col-with-dropdown`]:{width:Cn(gn).add(It).add(Cn(Ht).div(4)).add(Cn(sn).mul(2)).equal()}},[`
|
|
|
table tr th${me}-selection-column,
|
|
|
table tr td${me}-selection-column,
|
|
|
${me}-selection-column
|
|
|
`]:{paddingInlineEnd:ve.paddingXS,paddingInlineStart:ve.paddingXS,textAlign:"center",[`${$e}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:Cn(ve.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 ${ve.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Ji.unit)(Cn(En).div(4).equal()),[ft]:{color:en,fontSize:It,verticalAlign:"baseline","&:hover":{color:mn}}},[`${me}-tbody`]:{[`${me}-row`]:{[`&${me}-row-selected`]:{[`> ${me}-cell`]:{background:Ln,"&-row-hover":{background:In}}},[`> ${me}-cell-row-hover`]:{background:Pn}}}}}},Ii=ve=>{const{componentCls:me,tableExpandColumnWidth:$e,calc:ft}=ve,It=(Ht,sn,en,mn)=>({[`${me}${me}-${Ht}`]:{fontSize:mn,[`
|
|
|
${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,Ji.unit)(sn)} ${(0,Ji.unit)(en)}`},[`${me}-filter-trigger`]:{marginInlineEnd:(0,Ji.unit)(ft(en).div(2).mul(-1).equal())},[`${me}-expanded-row-fixed`]:{margin:`${(0,Ji.unit)(ft(sn).mul(-1).equal())} ${(0,Ji.unit)(ft(en).mul(-1).equal())}`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:(0,Ji.unit)(ft(sn).mul(-1).equal()),marginInline:`${(0,Ji.unit)(ft($e).sub(en).equal())} ${(0,Ji.unit)(ft(en).mul(-1).equal())}`}},[`${me}-selection-extra`]:{paddingInlineStart:(0,Ji.unit)(ft(en).div(4).equal())}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},It("middle",ve.tablePaddingVerticalMiddle,ve.tablePaddingHorizontalMiddle,ve.tableFontSizeMiddle)),It("small",ve.tablePaddingVerticalSmall,ve.tablePaddingHorizontalSmall,ve.tableFontSizeSmall))}},yi=ve=>{const{componentCls:me,marginXXS:$e,fontSizeIcon:ft,headerIconColor:It,headerIconHoverColor:Ht}=ve;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ve.motionDurationSlow}, left 0s`,"&:hover":{background:ve.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ve.colorPrimary},[`
|
|
|
&${me}-cell-fix-left:hover,
|
|
|
&${me}-cell-fix-right:hover
|
|
|
`]:{background:ve.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:ve.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:ve.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:$e,color:It,fontSize:0,transition:`color ${ve.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ft,"&.active":{color:ve.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:Ht}}}},ki=ve=>{const{componentCls:me,opacityLoading:$e,tableScrollThumbBg:ft,tableScrollThumbBgHover:It,tableScrollThumbSize:Ht,tableScrollBg:sn,zIndexTableSticky:en,stickyScrollBarBorderRadius:mn,lineWidth:gn,lineType:Ln,tableBorderColor:In}=ve,Pn=`${(0,Ji.unit)(gn)} ${Ln} ${In}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:en,background:ve.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Ji.unit)(Ht)} !important`,zIndex:en,display:"flex",alignItems:"center",background:sn,borderTop:Pn,opacity:$e,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ht,backgroundColor:ft,borderRadius:mn,transition:`all ${ve.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:It}}}}}}},ii=ve=>{const{componentCls:me,lineWidth:$e,tableBorderColor:ft,calc:It}=ve,Ht=`${(0,Ji.unit)($e)} ${ve.lineType} ${ft}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ve.zIndexTableFixed,background:ve.tableBg,"> tr":{"> th, > td":{borderBottom:Ht}}},[`div${me}-summary`]:{boxShadow:`0 ${(0,Ji.unit)(It($e).mul(-1).equal())} 0 ${ft}`}}}},si=ve=>{const{componentCls:me,motionDurationMid:$e,lineWidth:ft,lineType:It,tableBorderColor:Ht,calc:sn}=ve,en=`${(0,Ji.unit)(ft)} ${It} ${Ht}`,mn=`${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:en,transition:`background ${$e}`},[`${me}-expanded-row`]:{[`${mn}${mn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Ji.unit)(ft)})`,borderInlineEnd:"none"}}},[`${me}-bordered`]:{[`${me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:en,position:"absolute"},[`${me}-cell`]:{borderInlineEnd:en,[`&${me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:sn(ft).mul(-1).equal(),borderInlineStart:en}}},[`&${me}-virtual`]:{[`${me}-placeholder ${me}-cell`]:{borderInlineEnd:en,borderBottom:en}}}}}};const li=ve=>{const{componentCls:me,fontWeightStrong:$e,tablePaddingVertical:ft,tablePaddingHorizontal:It,tableExpandColumnWidth:Ht,lineWidth:sn,lineType:en,tableBorderColor:mn,tableFontSize:gn,tableBg:Ln,tableRadius:In,tableHeaderTextColor:Pn,motionDurationMid:En,tableHeaderBg:Cn,tableHeaderCellSplitColor:ur,tableFooterTextColor:Kn,tableFooterBg:gr,calc:fr}=ve,Ar=`${(0,Ji.unit)(sn)} ${en} ${mn}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,oe.dF)()),{[me]:Object.assign(Object.assign({},(0,oe.Wf)(ve)),{fontSize:gn,background:Ln,borderRadius:`${(0,Ji.unit)(In)} ${(0,Ji.unit)(In)} 0 0`,scrollbarColor:`${ve.tableScrollThumbBg} ${ve.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Ji.unit)(In)} ${(0,Ji.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,Ji.unit)(ft)} ${(0,Ji.unit)(It)}`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${(0,Ji.unit)(ft)} ${(0,Ji.unit)(It)}`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Pn,fontWeight:$e,textAlign:"start",background:Cn,borderBottom:Ar,transition:`background ${En} 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 ${En}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${En}, border-color ${En}`,borderBottom:Ar,[`
|
|
|
> ${me}-wrapper:only-child,
|
|
|
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
|
|
|
`]:{[me]:{marginBlock:(0,Ji.unit)(fr(ft).mul(-1).equal()),marginInline:`${(0,Ji.unit)(fr(Ht).sub(It).equal())}
|
|
|
${(0,Ji.unit)(fr(It).mul(-1).equal())}`,[`${me}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Pn,fontWeight:$e,textAlign:"start",background:Cn,borderBottom:Ar,transition:`background ${En} ease`}}},[`${me}-footer`]:{padding:`${(0,Ji.unit)(ft)} ${(0,Ji.unit)(It)}`,color:Kn,background:gr}})}},Vi=ve=>{const{colorFillAlter:me,colorBgContainer:$e,colorTextHeading:ft,colorFillSecondary:It,colorFillContent:Ht,controlItemBgActive:sn,controlItemBgActiveHover:en,padding:mn,paddingSM:gn,paddingXS:Ln,colorBorderSecondary:In,borderRadiusLG:Pn,controlHeight:En,colorTextPlaceholder:Cn,fontSize:ur,fontSizeSM:Kn,lineHeight:gr,lineWidth:fr,colorIcon:Ar,colorIconHover:br,opacityLoading:Er,controlInteractiveSize:Lr}=ve,Wr=new os.FastColor(It).onBackground($e).toHexString(),Ur=new os.FastColor(Ht).onBackground($e).toHexString(),Ci=new os.FastColor(me).onBackground($e).toHexString(),wr=new os.FastColor(Ar),Cr=new os.FastColor(br),Mr=Lr/2-fr,_n=Mr*2+fr*3;return{headerBg:Ci,headerColor:ft,headerSortActiveBg:Wr,headerSortHoverBg:Ur,bodySortBg:Ci,rowHoverBg:Ci,rowSelectedBg:sn,rowSelectedHoverBg:en,rowExpandedBg:me,cellPaddingBlock:mn,cellPaddingInline:mn,cellPaddingBlockMD:gn,cellPaddingInlineMD:Ln,cellPaddingBlockSM:Ln,cellPaddingInlineSM:Ln,borderColor:In,headerBorderRadius:Pn,footerBg:Ci,footerColor:ft,cellFontSize:ur,cellFontSizeMD:ur,cellFontSizeSM:ur,headerSplitColor:In,fixedHeaderSortActiveBg:Wr,headerFilterHoverBg:Ht,filterDropdownMenuBg:$e,filterDropdownBg:$e,expandIconBg:$e,selectionColumnWidth:En,stickyScrollBarBg:Cn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(ur*gr-fr*3)/2-Math.ceil((Kn*1.4-fr*3)/2),headerIconColor:wr.clone().setA(wr.a*Er).toRgbString(),headerIconHoverColor:Cr.clone().setA(Cr.a*Er).toRgbString(),expandIconHalfInner:Mr,expandIconSize:_n,expandIconScale:Lr/_n}},Ti=2;var pi=(0,ye.I$)("Table",ve=>{const{colorTextHeading:me,colorSplit:$e,colorBgContainer:ft,controlInteractiveSize:It,headerBg:Ht,headerColor:sn,headerSortActiveBg:en,headerSortHoverBg:mn,bodySortBg:gn,rowHoverBg:Ln,rowSelectedBg:In,rowSelectedHoverBg:Pn,rowExpandedBg:En,cellPaddingBlock:Cn,cellPaddingInline:ur,cellPaddingBlockMD:Kn,cellPaddingInlineMD:gr,cellPaddingBlockSM:fr,cellPaddingInlineSM:Ar,borderColor:br,footerBg:Er,footerColor:Lr,headerBorderRadius:Wr,cellFontSize:Ur,cellFontSizeMD:Ci,cellFontSizeSM:wr,headerSplitColor:Cr,fixedHeaderSortActiveBg:Mr,headerFilterHoverBg:_n,filterDropdownBg:$n,expandIconBg:Ir,selectionColumnWidth:jr,stickyScrollBarBg:ei,calc:Si}=ve,Kr=(0,Ze.mergeToken)(ve,{tableFontSize:Ur,tableBg:ft,tableRadius:Wr,tablePaddingVertical:Cn,tablePaddingHorizontal:ur,tablePaddingVerticalMiddle:Kn,tablePaddingHorizontalMiddle:gr,tablePaddingVerticalSmall:fr,tablePaddingHorizontalSmall:Ar,tableBorderColor:br,tableHeaderTextColor:sn,tableHeaderBg:Ht,tableFooterTextColor:Lr,tableFooterBg:Er,tableHeaderCellSplitColor:Cr,tableHeaderSortBg:en,tableHeaderSortHoverBg:mn,tableBodySortBg:gn,tableFixedHeaderSortActiveBg:Mr,tableHeaderFilterActiveBg:_n,tableFilterDropdownBg:$n,tableRowHoverBg:Ln,tableSelectedRowBg:In,tableSelectedRowHoverBg:Pn,zIndexTableFixed:Ti,zIndexTableSticky:Si(Ti).add(1).equal({unit:!1}),tableFontSizeMiddle:Ci,tableFontSizeSmall:wr,tableSelectionColumnWidth:jr,tableExpandIconBg:Ir,tableExpandColumnWidth:Si(It).add(Si(ve.padding).mul(2)).equal(),tableExpandedRowBg:En,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ei,tableScrollThumbBgHover:me,tableScrollBg:$e});return[li(Kr),hr(Kr),ii(Kr),yi(Kr),sr(Kr),St(Kr),Yr(Kr),An(Kr),ii(Kr),zn(Kr),Or(Kr),tr(Kr),ki(Kr),Sn(Kr),Ii(Kr),Sr(Kr),si(Kr)]},Vi,{unitless:{expandIconScale:!0}});const Ei=[],oi=(ve,me)=>{var $e,ft;const{prefixCls:It,className:Ht,rootClassName:sn,style:en,size:mn,bordered:gn,dropdownPrefixCls:Ln,dataSource:In,pagination:Pn,rowSelection:En,rowKey:Cn="key",rowClassName:ur,columns:Kn,children:gr,childrenColumnName:fr,onChange:Ar,getPopupContainer:br,loading:Er,expandIcon:Lr,expandable:Wr,expandedRowRender:Ur,expandIconColumnIndex:Ci,indentSize:wr,scroll:Cr,sortDirections:Mr,locale:_n,showSorterTooltip:$n={target:"full-header"},virtual:Ir}=ve,jr=(0,wo.ln)("Table"),ei=b.useMemo(()=>Kn||xn(gr),[Kn,gr]),Si=b.useMemo(()=>ei.some(ui=>ui.responsive),[ei]),Kr=(0,La.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(Fo=>ui.has(Fo)))},[ei,Kr]),eo=(0,ea.Z)(ve,["className","style","columns"]),{locale:qo=rl.Z,direction:To,table:Xo,renderEmpty:ra,getPrefixCls:oa,getPopupContainer:go}=b.useContext(_o.E_),vo=(0,Bo.Z)(mn),ma=Object.assign(Object.assign({},qo.Table),_n),va=In||Ei,Fi=oa("table",It),no=oa("dropdown",Ln),[,Di]=(0,Yl.ZP)(),ci=(0,Zo.Z)(Fi),[Do,zo,aa]=pi(Fi,ci),Wo=Object.assign(Object.assign({childrenColumnName:fr,expandIconColumnIndex:Ci},Wr),{expandIcon:($e=Wr==null?void 0:Wr.expandIcon)!==null&&$e!==void 0?$e:(ft=Xo==null?void 0:Xo.expandable)===null||ft===void 0?void 0:ft.expandIcon}),{childrenColumnName:pa="children"}=Wo,ca=b.useMemo(()=>va.some(ui=>ui==null?void 0:ui[pa])?"nest":Ur||Wr!=null&&Wr.expandedRowRender?"row":null,[va]),Li={body:b.useRef(null)},Ui=xo(Fi),jo=b.useRef(null),$o=b.useRef(null);Xi(me,()=>Object.assign(Object.assign({},$o.current),{nativeElement:jo.current}));const Qo=b.useMemo(()=>typeof Cn=="function"?Cn:ui=>ui==null?void 0:ui[Cn],[Cn]),[Sa]=Pl(va,pa,Qo),la={},Ta=function(ui,Yi){let Fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ba,Ja,Ua,Wl;const ll=Object.assign(Object.assign({},la),ui);Fo&&((Ba=la.resetPagination)===null||Ba===void 0||Ba.call(la),!((Ja=ll.pagination)===null||Ja===void 0)&&Ja.current&&(ll.pagination.current=1),Pn&&((Ua=Pn.onChange)===null||Ua===void 0||Ua.call(Pn,1,(Wl=ll.pagination)===null||Wl===void 0?void 0:Wl.pageSize))),Cr&&Cr.scrollToFirstRowOnChange!==!1&&Li.body.current&&(0,Ho.Z)(0,{getContainer:()=>Li.body.current}),Ar==null||Ar(ll.pagination,ll.filters,ll.sorter,{currentDataSource:So(Ql(va,ll.sorterStates,pa),ll.filterStates,pa),action:Yi})},ia=(ui,Yi)=>{Ta({sorter:ui,sorterStates:Yi},"sort",!1)},[Po,na,sa,Ca]=Ks({prefixCls:Fi,mergedColumns:so,onSorterChange:ia,sortDirections:Mr||["ascend","descend"],tableLocale:ma,showSorterTooltip:$n}),ga=b.useMemo(()=>Ql(va,na,pa),[va,na]);la.sorter=Ca(),la.sorterStates=na;const No=(ui,Yi)=>{Ta({filters:ui,filterStates:Yi},"filter",!0)},[fa,Uo,Ra]=Oa({prefixCls:Fi,locale:ma,dropdownPrefixCls:no,mergedColumns:so,onFilterChange:No,getPopupContainer:br||go,rootClassName:Ye()(sn,ci)}),Ea=So(ga,Uo,pa);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]=Ns(Va),El=(ui,Yi)=>{Ta({pagination:Object.assign(Object.assign({},la.pagination),{current:ui,pageSize:Yi})},"paginate")},[ua,_l]=Bl(Ea.length,El,Pn);la.pagination=Pn===!1?{}:ol(ua,Pn),la.resetPagination=_l;const Ka=b.useMemo(()=>{if(Pn===!1||!ua.pageSize)return Ea;const{current:ui=1,total:Yi,pageSize:Fo=Nl}=ua;return Ea.length<Yi?Ea.length>Fo?Ea.slice((ui-1)*Fo,ui*Fo):Ea:Ea.slice((ui-1)*Fo,ui*Fo)},[!!Pn,Ea,ua==null?void 0:ua.current,ua==null?void 0:ua.pageSize,ua==null?void 0:ua.total]),[hl,al]=Ni({prefixCls:Fi,data:Ea,pageData:Ka,getRowKey:Qo,getRecordByKey:Sa,expandType:ca,childrenColumnName:pa,locale:ma,getPopupContainer:br||go},En),ro=(ui,Yi,Fo)=>{let Ba;return typeof ur=="function"?Ba=Ye()(ur(ui,Yi,Fo)):Ba=Ye()(ur),Ye()({[`${Fi}-row-selected`]:al.has(Qo(ui,Yi))},Ba)};Wo.__PARENT_RENDER_ICON__=Wo.expandIcon,Wo.expandIcon=Wo.expandIcon||Lr||qi(ma),ca==="nest"&&Wo.expandIconColumnIndex===void 0?Wo.expandIconColumnIndex=En?1:0:Wo.expandIconColumnIndex>0&&En&&(Wo.expandIconColumnIndex-=1),typeof Wo.indentSize!="number"&&(Wo.indentSize=typeof wr=="number"?wr:15);const Pi=b.useCallback(ui=>$a(hl(fa(Po(ui)))),[Po,fa,hl]);let ya,Qa;if(Pn!==!1&&(ua!=null&&ua.total)){let ui;ua.size?ui=ua.size:ui=vo==="small"||vo==="middle"?"small":void 0;const Yi=Ja=>b.createElement(za.Z,Object.assign({},ua,{className:Ye()(`${Fi}-pagination ${Fi}-pagination-${Ja}`,ua.className),size:ui})),Fo=To==="rtl"?"left":"right",{position:Ba}=ua;if(Ba!==null&&Array.isArray(Ba)){const Ja=Ba.find(ll=>ll.includes("top")),Ua=Ba.find(ll=>ll.includes("bottom")),Wl=Ba.every(ll=>`${ll}`=="none");!Ja&&!Ua&&!Wl&&(Qa=Yi(Fo)),Ja&&(ya=Yi(Ja.toLowerCase().replace("top",""))),Ua&&(Qa=Yi(Ua.toLowerCase().replace("bottom","")))}else Qa=Yi(Fo)}let yl;typeof Er=="boolean"?yl={spinning:Er}:typeof Er=="object"&&(yl=Object.assign({spinning:!0},Er));const Tl=Ye()(aa,ci,`${Fi}-wrapper`,Xo==null?void 0:Xo.className,{[`${Fi}-wrapper-rtl`]:To==="rtl"},Ht,sn,zo),Es=Object.assign(Object.assign({},Xo==null?void 0:Xo.style),en),ws=typeof(_n==null?void 0:_n.emptyText)!="undefined"?_n.emptyText:(ra==null?void 0:ra("Table"))||b.createElement(ho.Z,{componentName:"Table"}),ks=Ir?is:Ls,Yo={},Eo=b.useMemo(()=>{const{fontSize:ui,lineHeight:Yi,lineWidth:Fo,padding:Ba,paddingXS:Ja,paddingSM:Ua}=Di,Wl=Math.floor(ui*Yi);switch(vo){case"middle":return Ua*2+Wl+Fo;case"small":return Ja*2+Wl+Fo;default:return Ba*2+Wl+Fo}},[Di,vo]);return Ir&&(Yo.listItemHeight=Eo),Do(b.createElement("div",{ref:jo,className:Tl,style:Es},b.createElement(Ia.Z,Object.assign({spinning:!1},yl),ya,b.createElement(ks,Object.assign({},Yo,eo,{ref:$o,columns:so,direction:To,expandable:Wo,prefixCls:Fi,className:Ye()({[`${Fi}-middle`]:vo==="middle",[`${Fi}-small`]:vo==="small",[`${Fi}-bordered`]:gn,[`${Fi}-empty`]:va.length===0},aa,ci,zo),data:Ka,rowKey:Qo,rowClassName:ro,emptyText:ws,internalHooks:pe,internalRefs:Li,transformColumns:Pi,getContainerWidth:Ui})),Qa)))};var bi=b.forwardRef(oi);const gi=(ve,me)=>{const $e=b.useRef(0);return $e.current+=1,b.createElement(bi,Object.assign({},ve,{ref:me,_renderTimes:$e.current}))},Ki=b.forwardRef(gi);Ki.SELECTION_COLUMN=Mo,Ki.EXPAND_COLUMN=Me,Ki.SELECTION_ALL=ha,Ki.SELECTION_INVERT=Aa,Ki.SELECTION_NONE=xa,Ki.Column=qr,Ki.ColumnGroup=Jn,Ki.Summary=We;var lo=Ki,uo=lo},96599:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return Ye}});var b=z(59301),Me=z(92310),pe=z.n(Me),_e=z(2738),we=z(29509),Se=z(78776),Pe=z(22703),Xe=z(12919),Ee=z(48755),he=z(36237),ut=z(17835),Be=z(63356),bt=z(51636),it=z(16931);const He=fe=>{const{paddingXXS:Ft,lineWidth:Ge,tagPaddingHorizontal:xt,componentCls:fn,calc:ke}=fe,be=ke(xt).sub(Ge).equal(),Yt=ke(Ft).sub(Ge).equal();return{[fn]:Object.assign(Object.assign({},(0,Be.Wf)(fe)),{display:"inline-block",height:"auto",marginInlineEnd:fe.marginXS,paddingInline:be,fontSize:fe.tagFontSize,lineHeight:fe.tagLineHeight,whiteSpace:"nowrap",background:fe.defaultBg,border:`${(0,he.unit)(fe.lineWidth)} ${fe.lineType} ${fe.colorBorder}`,borderRadius:fe.borderRadiusSM,opacity:1,transition:`all ${fe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${fn}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:fe.defaultColor},[`${fn}-close-icon`]:{marginInlineStart:Yt,fontSize:fe.tagIconSize,color:fe.colorTextDescription,cursor:"pointer",transition:`all ${fe.motionDurationMid}`,"&:hover":{color:fe.colorTextHeading}},[`&${fn}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${fe.iconCls}-close, ${fe.iconCls}-close:hover`]:{color:fe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${fn}-checkable-checked):hover`]:{color:fe.colorPrimary,backgroundColor:fe.colorFillSecondary},"&:active, &-checked":{color:fe.colorTextLightSolid},"&-checked":{backgroundColor:fe.colorPrimary,"&:hover":{backgroundColor:fe.colorPrimaryHover}},"&:active":{backgroundColor:fe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${fe.iconCls} + span, > span + ${fe.iconCls}`]:{marginInlineStart:be}}),[`${fn}-borderless`]:{borderColor:"transparent",background:fe.tagBorderlessBg}}},Fe=fe=>{const{lineWidth:Ft,fontSizeIcon:Ge,calc:xt}=fe,fn=fe.fontSizeSM;return(0,bt.mergeToken)(fe,{tagFontSize:fn,tagLineHeight:(0,he.unit)(xt(fe.lineHeightSM).mul(fn).equal()),tagIconSize:xt(Ge).sub(xt(Ft).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:fe.defaultBg})},Te=fe=>({defaultBg:new ut.FastColor(fe.colorFillQuaternary).onBackground(fe.colorBgContainer).toHexString(),defaultColor:fe.colorText});var ot=(0,it.I$)("Tag",fe=>{const Ft=Fe(fe);return He(Ft)},Te),Ct=function(fe,Ft){var Ge={};for(var xt in fe)Object.prototype.hasOwnProperty.call(fe,xt)&&Ft.indexOf(xt)<0&&(Ge[xt]=fe[xt]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,xt=Object.getOwnPropertySymbols(fe);fn<xt.length;fn++)Ft.indexOf(xt[fn])<0&&Object.prototype.propertyIsEnumerable.call(fe,xt[fn])&&(Ge[xt[fn]]=fe[xt[fn]]);return Ge},se=b.forwardRef((fe,Ft)=>{const{prefixCls:Ge,style:xt,className:fn,checked:ke,onChange:be,onClick:Yt}=fe,ln=Ct(fe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Xt,tag:ge}=b.useContext(Ee.E_),Re=$t=>{be==null||be(!ke),Yt==null||Yt($t)},qe=Xt("tag",Ge),[Vt,rt,Zt]=ot(qe),st=pe()(qe,`${qe}-checkable`,{[`${qe}-checkable-checked`]:ke},ge==null?void 0:ge.className,fn,rt,Zt);return Vt(b.createElement("span",Object.assign({},ln,{ref:Ft,style:Object.assign(Object.assign({},xt),ge==null?void 0:ge.style),className:st,onClick:Re})))}),Ie=z(93427);const dt=fe=>(0,Ie.Z)(fe,(Ft,Ge)=>{let{textColor:xt,lightBorderColor:fn,lightColor:ke,darkColor:be}=Ge;return{[`${fe.componentCls}${fe.componentCls}-${Ft}`]:{color:xt,background:ke,borderColor:fn,"&-inverse":{color:fe.colorTextLightSolid,background:be,borderColor:be},[`&${fe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var yt=(0,it.bk)(["Tag","preset"],fe=>{const Ft=Fe(fe);return dt(Ft)},Te);function kt(fe){return typeof fe!="string"?fe:fe.charAt(0).toUpperCase()+fe.slice(1)}const Ue=(fe,Ft,Ge)=>{const xt=kt(Ge);return{[`${fe.componentCls}${fe.componentCls}-${Ft}`]:{color:fe[`color${Ge}`],background:fe[`color${xt}Bg`],borderColor:fe[`color${xt}Border`],[`&${fe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ke=(0,it.bk)(["Tag","status"],fe=>{const Ft=Fe(fe);return[Ue(Ft,"success","Success"),Ue(Ft,"processing","Info"),Ue(Ft,"error","Error"),Ue(Ft,"warning","Warning")]},Te),ct=function(fe,Ft){var Ge={};for(var xt in fe)Object.prototype.hasOwnProperty.call(fe,xt)&&Ft.indexOf(xt)<0&&(Ge[xt]=fe[xt]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,xt=Object.getOwnPropertySymbols(fe);fn<xt.length;fn++)Ft.indexOf(xt[fn])<0&&Object.prototype.propertyIsEnumerable.call(fe,xt[fn])&&(Ge[xt[fn]]=fe[xt[fn]]);return Ge};const gt=b.forwardRef((fe,Ft)=>{const{prefixCls:Ge,className:xt,rootClassName:fn,style:ke,children:be,icon:Yt,color:ln,onClose:Xt,bordered:ge=!0,visible:Re}=fe,qe=ct(fe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Vt,direction:rt,tag:Zt}=b.useContext(Ee.E_),[st,$t]=b.useState(!0),Nt=(0,_e.Z)(qe,["closeIcon","closable"]);b.useEffect(()=>{Re!==void 0&&$t(Re)},[Re]);const le=(0,we.o2)(ln),ne=(0,we.yT)(ln),te=le||ne,ae=Object.assign(Object.assign({backgroundColor:ln&&!te?ln:void 0},Zt==null?void 0:Zt.style),ke),de=Vt("tag",Ge),[re,ue,xe]=ot(de),tt=pe()(de,Zt==null?void 0:Zt.className,{[`${de}-${ln}`]:te,[`${de}-has-color`]:ln&&!te,[`${de}-hidden`]:!st,[`${de}-rtl`]:rt==="rtl",[`${de}-borderless`]:!ge},xt,fn,ue,xe),Ve=ze=>{ze.stopPropagation(),Xt==null||Xt(ze),!ze.defaultPrevented&&$t(!1)},[,We]=(0,Se.Z)((0,Se.w)(fe),(0,Se.w)(Zt),{closable:!1,closeIconRender:ze=>{const on=b.createElement("span",{className:`${de}-close-icon`,onClick:Ve},ze);return(0,Pe.wm)(ze,on,Rt=>({onClick:vn=>{var Bt;(Bt=Rt==null?void 0:Rt.onClick)===null||Bt===void 0||Bt.call(Rt,vn),Ve(vn)},className:pe()(Rt==null?void 0:Rt.className,`${de}-close-icon`)}))}}),lt=typeof qe.onClick=="function"||be&&be.type==="a",ht=Yt||null,Dt=ht?b.createElement(b.Fragment,null,ht,be&&b.createElement("span",null,be)):be,Oe=b.createElement("span",Object.assign({},Nt,{ref:Ft,className:tt,style:ae}),Dt,We,le&&b.createElement(yt,{key:"preset",prefixCls:de}),ne&&b.createElement(Ke,{key:"status",prefixCls:de}));return re(lt?b.createElement(Xe.Z,{component:"Tag"},Oe):Oe)});gt.CheckableTag=se;var Ye=gt},18287:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return Xt}});var b=z(87632),Me=z(77654),pe=z(59301),_e=z(52671),we=z(8657),Se=z(60499),Pe={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"},Xe=Pe,Ee=z(7657),he=function(Re,qe){return pe.createElement(Ee.Z,(0,Se.Z)({},Re,{ref:qe,icon:Xe}))},ut=pe.forwardRef(he),Be=ut,bt=z(92310),it=z.n(bt),He=z(82661),Fe=z(34061),Te=z(48755),ot=z(56082),Ct=z(86641),tn=z(57700),se=z(12425);const Ie=4;function dt(ge){const{dropPosition:Re,dropLevelOffset:qe,prefixCls:Vt,indent:rt,direction:Zt="ltr"}=ge,st=Zt==="ltr"?"left":"right",$t=Zt==="ltr"?"right":"left",Nt={[st]:-qe*rt+Ie,[$t]:0};switch(Re){case-1:Nt.top=-3;break;case 1:Nt.bottom=-3;break;default:Nt.bottom=-3,Nt[st]=rt+Ie;break}return pe.createElement("div",{style:Nt,className:`${Vt}-drop-indicator`})}var yt=dt,kt=z(85278),Ke=pe.forwardRef((ge,Re)=>{var qe;const{getPrefixCls:Vt,direction:rt,virtual:Zt,tree:st}=pe.useContext(Te.E_),{prefixCls:$t,className:Nt,showIcon:le=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:ae,blockNode:de=!1,children:re,checkable:ue=!1,selectable:xe=!0,draggable:tt,motion:Ve,style:We}=ge,lt=Vt("tree",$t),ht=Vt(),Dt=Ve!=null?Ve:Object.assign(Object.assign({},(0,Ct.Z)(ht)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},ge),{checkable:ue,selectable:xe,showIcon:le,motion:Dt,blockNode:de,showLine:!!ne,dropIndicatorRender:yt}),[ze,on,Rt]=(0,se.ZP)(lt),[,vn]=(0,tn.ZP)(),Bt=vn.paddingXS/2+(((qe=vn.Tree)===null||qe===void 0?void 0:qe.titleHeight)||vn.controlHeightSM),at=pe.useMemo(()=>{if(!tt)return!1;let Gt={};switch(typeof tt){case"function":Gt.nodeDraggable=tt;break;case"object":Gt=Object.assign({},tt);break;default:break}return Gt.icon!==!1&&(Gt.icon=Gt.icon||pe.createElement(ot.Z,null)),Gt},[tt]),pt=Gt=>pe.createElement(kt.Z,{prefixCls:lt,switcherIcon:te,switcherLoadingIcon:ae,treeNodeProps:Gt,showLine:ne});return ze(pe.createElement(b.ZP,Object.assign({itemHeight:Bt,ref:Re,virtual:Zt},Oe,{style:Object.assign(Object.assign({},st==null?void 0:st.style),We),prefixCls:lt,className:it()({[`${lt}-icon-hide`]:!le,[`${lt}-block-node`]:de,[`${lt}-unselectable`]:!xe,[`${lt}-rtl`]:rt==="rtl"},st==null?void 0:st.className,Nt,on,Rt),direction:rt,checkable:ue&&pe.createElement("span",{className:`${lt}-checkbox-inner`}),selectable:xe,switcherIcon:pt,draggable:at}),re))});const ct=0,De=1,gt=2;function Ye(ge,Re,qe){const{key:Vt,children:rt}=qe;function Zt(st){const $t=st[Vt],Nt=st[rt];Re($t,st)!==!1&&Ye(Nt||[],Re,qe)}ge.forEach(Zt)}function fe(ge){let{treeData:Re,expandedKeys:qe,startKey:Vt,endKey:rt,fieldNames:Zt}=ge;const st=[];let $t=ct;if(Vt&&Vt===rt)return[Vt];if(!Vt||!rt)return[];function Nt(le){return le===Vt||le===rt}return Ye(Re,le=>{if($t===gt)return!1;if(Nt(le)){if(st.push(le),$t===ct)$t=De;else if($t===De)return $t=gt,!1}else $t===De&&st.push(le);return qe.includes(le)},(0,Fe.w$)(Zt)),st}function Ft(ge,Re,qe){const Vt=(0,Me.Z)(Re),rt=[];return Ye(ge,(Zt,st)=>{const $t=Vt.indexOf(Zt);return $t!==-1&&(rt.push(st),Vt.splice($t,1)),!!Vt.length},(0,Fe.w$)(qe)),rt}var Ge=function(ge,Re){var qe={};for(var Vt in ge)Object.prototype.hasOwnProperty.call(ge,Vt)&&Re.indexOf(Vt)<0&&(qe[Vt]=ge[Vt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Vt=Object.getOwnPropertySymbols(ge);rt<Vt.length;rt++)Re.indexOf(Vt[rt])<0&&Object.prototype.propertyIsEnumerable.call(ge,Vt[rt])&&(qe[Vt[rt]]=ge[Vt[rt]]);return qe};function xt(ge){const{isLeaf:Re,expanded:qe}=ge;return Re?pe.createElement(_e.Z,null):qe?pe.createElement(we.Z,null):pe.createElement(Be,null)}function fn(ge){let{treeData:Re,children:qe}=ge;return Re||(0,Fe.zn)(qe)}const ke=(ge,Re)=>{var{defaultExpandAll:qe,defaultExpandParent:Vt,defaultExpandedKeys:rt}=ge,Zt=Ge(ge,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const st=pe.useRef(null),$t=pe.useRef(null),Nt=()=>{const{keyEntities:ze}=(0,Fe.I8)(fn(Zt));let on;return qe?on=Object.keys(ze):Vt?on=(0,He.r7)(Zt.expandedKeys||rt||[],ze):on=Zt.expandedKeys||rt||[],on},[le,ne]=pe.useState(Zt.selectedKeys||Zt.defaultSelectedKeys||[]),[te,ae]=pe.useState(()=>Nt());pe.useEffect(()=>{"selectedKeys"in Zt&&ne(Zt.selectedKeys)},[Zt.selectedKeys]),pe.useEffect(()=>{"expandedKeys"in Zt&&ae(Zt.expandedKeys)},[Zt.expandedKeys]);const de=(ze,on)=>{var Rt;return"expandedKeys"in Zt||ae(ze),(Rt=Zt.onExpand)===null||Rt===void 0?void 0:Rt.call(Zt,ze,on)},re=(ze,on)=>{var Rt;const{multiple:vn,fieldNames:Bt}=Zt,{node:at,nativeEvent:pt}=on,{key:Gt=""}=at,Je=fn(Zt),At=Object.assign(Object.assign({},on),{selected:!0}),Jt=(pt==null?void 0:pt.ctrlKey)||(pt==null?void 0:pt.metaKey),an=pt==null?void 0:pt.shiftKey;let Le;vn&&Jt?(Le=ze,st.current=Gt,$t.current=Le,At.selectedNodes=Ft(Je,Le,Bt)):vn&&an?(Le=Array.from(new Set([].concat((0,Me.Z)($t.current||[]),(0,Me.Z)(fe({treeData:Je,expandedKeys:te,startKey:Gt,endKey:st.current,fieldNames:Bt}))))),At.selectedNodes=Ft(Je,Le,Bt)):(Le=[Gt],st.current=Gt,$t.current=Le,At.selectedNodes=Ft(Je,Le,Bt)),(Rt=Zt.onSelect)===null||Rt===void 0||Rt.call(Zt,Le,At),"selectedKeys"in Zt||ne(Le)},{getPrefixCls:ue,direction:xe}=pe.useContext(Te.E_),{prefixCls:tt,className:Ve,showIcon:We=!0,expandAction:lt="click"}=Zt,ht=Ge(Zt,["prefixCls","className","showIcon","expandAction"]),Dt=ue("tree",tt),Oe=it()(`${Dt}-directory`,{[`${Dt}-directory-rtl`]:xe==="rtl"},Ve);return pe.createElement(Ke,Object.assign({icon:xt,ref:Re,blockNode:!0},ht,{showIcon:We,expandAction:lt,prefixCls:Dt,className:Oe,expandedKeys:te,selectedKeys:le,onSelect:re,onExpand:de}))};var Yt=pe.forwardRef(ke);const ln=Ke;ln.DirectoryTree=Yt,ln.TreeNode=b.OF;var Xt=ln},12425:function(Tn,cn,z){"use strict";z.d(cn,{ZP:function(){return He},Yk:function(){return Be},TM:function(){return bt}});var b=z(36237),Me=z(36170),pe=z(63356),_e=z(34961),we=z(51636),Se=z(16931);const Pe=Fe=>{let{treeCls:Te,treeNodeCls:ot,directoryNodeSelectedBg:Ct,directoryNodeSelectedColor:tn,motionDurationMid:se,borderRadius:Ie,controlItemBgHover:dt}=Fe;return{[`${Te}${Te}-directory ${ot}`]:{[`${Te}-node-content-wrapper`]:{position:"static",[`> *:not(${Te}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${se}`,content:'""',borderRadius:Ie},"&:hover:before":{background:dt}},[`${Te}-switcher, ${Te}-checkbox, ${Te}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Te}-switcher, ${Te}-draggable-icon`]:{color:tn},[`${Te}-node-content-wrapper`]:{color:tn,background:"transparent","&:before, &:hover:before":{background:Ct}}}}}},Xe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ee=(Fe,Te)=>({[`.${Fe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Te.motionDurationSlow}`}}}),he=(Fe,Te)=>({[`.${Fe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Te.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Te.lineWidthBold)} solid ${Te.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ut=(Fe,Te)=>{const{treeCls:ot,treeNodeCls:Ct,treeNodePadding:tn,titleHeight:se,indentSize:Ie,nodeSelectedBg:dt,nodeHoverBg:yt,colorTextQuaternary:kt,controlItemBgActiveDisabled:Ue}=Te;return{[ot]:Object.assign(Object.assign({},(0,pe.Wf)(Te)),{background:Te.colorBgContainer,borderRadius:Te.borderRadius,transition:`background-color ${Te.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${ot}-rtl ${ot}-switcher_close ${ot}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${ot}-active-focused)`]:Object.assign({},(0,pe.oN)(Te)),[`${ot}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ot}-block-node`]:{[`${ot}-list-holder-inner`]:{alignItems:"stretch",[`${ot}-node-content-wrapper`]:{flex:"auto"},[`${Ct}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Te.colorPrimary}`,opacity:0,animationName:Xe,animationDuration:Te.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Te.borderRadius}}},[Ct]:{display:"flex",alignItems:"flex-start",marginBottom:tn,lineHeight:(0,b.unit)(se),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:tn},[`&-disabled ${ot}-node-content-wrapper`]:{color:Te.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${ot}-checkbox-disabled + ${ot}-node-selected,&${Ct}-disabled${Ct}-selected ${ot}-node-content-wrapper`]:{backgroundColor:Ue},[`${ot}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ct}-disabled)`]:{[`${ot}-node-content-wrapper`]:{"&:hover":{color:Te.nodeHoverColor}}},[`&-active ${ot}-node-content-wrapper`]:{background:Te.controlItemBgHover},[`&:not(${Ct}-disabled).filter-node ${ot}-title`]:{color:Te.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${ot}-draggable-icon`]:{flexShrink:0,width:se,textAlign:"center",visibility:"visible",color:kt},[`&${Ct}-disabled ${ot}-draggable-icon`]:{visibility:"hidden"}}},[`${ot}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Ie}},[`${ot}-draggable-icon`]:{visibility:"hidden"},[`${ot}-switcher, ${ot}-checkbox`]:{marginInlineEnd:Te.calc(Te.calc(se).sub(Te.controlInteractiveSize)).div(2).equal()},[`${ot}-switcher`]:Object.assign(Object.assign({},Ee(Fe,Te)),{position:"relative",flex:"none",alignSelf:"stretch",width:se,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Te.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:se,height:se,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Te.borderRadius,transition:`all ${Te.motionDurationSlow}`},[`&:not(${ot}-switcher-noop):hover:before`]:{backgroundColor:Te.colorBgTextHover},[`&_close ${ot}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Te.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Te.calc(se).div(2).equal(),bottom:Te.calc(tn).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Te.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Te.calc(Te.calc(se).div(2).equal()).mul(.8).equal(),height:Te.calc(se).div(2).equal(),borderBottom:`1px solid ${Te.colorBorder}`,content:'""'}}}),[`${ot}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:se,paddingBlock:0,paddingInline:Te.paddingXS,background:"transparent",borderRadius:Te.borderRadius,cursor:"pointer",transition:`all ${Te.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},he(Fe,Te)),{"&:hover":{backgroundColor:yt},[`&${ot}-node-selected`]:{color:Te.nodeSelectedColor,backgroundColor:dt},[`${ot}-iconEle`]:{display:"inline-block",width:se,height:se,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${ot}-unselectable ${ot}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ct}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Te.colorPrimary}`},"&-show-line":{[`${ot}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Te.calc(se).div(2).equal(),bottom:Te.calc(tn).mul(-1).equal(),borderInlineEnd:`1px solid ${Te.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${ot}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ct}-leaf-last ${ot}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Te.calc(se).div(2).equal())} !important`}})}},Be=function(Fe,Te){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ct=`.${Fe}`,tn=`${Ct}-treenode`,se=Te.calc(Te.paddingXS).div(2).equal(),Ie=(0,we.mergeToken)(Te,{treeCls:Ct,treeNodeCls:tn,treeNodePadding:se});return[ut(Fe,Ie),ot&&Pe(Ie)].filter(Boolean)},bt=Fe=>{const{controlHeightSM:Te,controlItemBgHover:ot,controlItemBgActive:Ct}=Fe,tn=Te;return{titleHeight:tn,indentSize:tn,nodeHoverBg:ot,nodeHoverColor:Fe.colorText,nodeSelectedBg:Ct,nodeSelectedColor:Fe.colorText}},it=Fe=>{const{colorTextLightSolid:Te,colorPrimary:ot}=Fe;return Object.assign(Object.assign({},bt(Fe)),{directoryNodeSelectedColor:Te,directoryNodeSelectedBg:ot})};var He=(0,Se.I$)("Tree",(Fe,Te)=>{let{prefixCls:ot}=Te;return[{[Fe.componentCls]:(0,Me.C2)(`${ot}-checkbox`,Fe)},Be(ot,Fe),(0,_e.Z)(Fe)]},it)},85278:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Te}});var b=z(59301),Me=z(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"},_e=pe,we=z(7657),Se=function(Ct,tn){return b.createElement(we.Z,(0,Me.Z)({},Ct,{ref:tn,icon:_e}))},Pe=b.forwardRef(Se),Xe=Pe,Ee=z(52671),he=z(58617),ut=z(15075),Be=z(43531),bt=z(92310),it=z.n(bt),He=z(22703),Te=ot=>{const{prefixCls:Ct,switcherIcon:tn,treeNodeProps:se,showLine:Ie,switcherLoadingIcon:dt}=ot,{isLeaf:yt,expanded:kt,loading:Ue}=se;if(Ue)return b.isValidElement(dt)?dt:b.createElement(he.Z,{className:`${Ct}-switcher-loading-icon`});let Ke;if(Ie&&typeof Ie=="object"&&(Ke=Ie.showLeafIcon),yt){if(!Ie)return null;if(typeof Ke!="boolean"&&Ke){const gt=typeof Ke=="function"?Ke(se):Ke,Ye=`${Ct}-switcher-line-custom-icon`;return b.isValidElement(gt)?(0,He.Tm)(gt,{className:it()(gt.props.className||"",Ye)}):gt}return Ke?b.createElement(Ee.Z,{className:`${Ct}-switcher-line-icon`}):b.createElement("span",{className:`${Ct}-switcher-leaf-line`})}const ct=`${Ct}-switcher-icon`,De=typeof tn=="function"?tn(se):tn;return b.isValidElement(De)?(0,He.Tm)(De,{className:it()(De.props.className||"",ct)}):De!==void 0?De:Ie?kt?b.createElement(ut.Z,{className:`${Ct}-switcher-line-icon`}):b.createElement(Be.Z,{className:`${Ct}-switcher-line-icon`}):b.createElement(Xe,{className:ct})}},94968:function(Tn,cn,z){"use strict";z.d(cn,{default:function(){return Mt}});var b=z(59301),Me=z(77654),pe=z(4676),_e=z(92310),we=z.n(_e),Se=z(60499),Pe=z(38705),Xe=z(17212),Ee=z(15793),he=z(39153),ut=z(55401),Be=z(18642),bt=z(85899),it=z(42244),He=z(43749),Fe=z(73001),Te=z(11576),ot=z(26112),Ct=z(48736),tn=function(Ne,Kt){if(Ne&&Kt){var Qt=Array.isArray(Kt)?Kt:Kt.split(","),un=Ne.name||"",Tt=Ne.type||"",Lt=Tt.replace(/\/.*$/,"");return Qt.some(function(Wt){var nn=Wt.trim();if(/^\*(\/\*)?$/.test(Wt))return!0;if(nn.charAt(0)==="."){var Wn=un.toLowerCase(),Zn=nn.toLowerCase(),Yn=[Zn];return(Zn===".jpg"||Zn===".jpeg")&&(Yn=[".jpg",".jpeg"]),Yn.some(function(Nr){return Wn.endsWith(Nr)})}return/\/\*$/.test(nn)?Lt===nn.replace(/\/.*$/,""):Tt===nn?!0:/^\w+$/.test(nn)?((0,Ct.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(nn,"'.Skip for check.")),!0):!1})}return!0};function se(Ne,Kt){var Qt="cannot ".concat(Ne.method," ").concat(Ne.action," ").concat(Kt.status,"'"),un=new Error(Qt);return un.status=Kt.status,un.method=Ne.method,un.url=Ne.action,un}function Ie(Ne){var Kt=Ne.responseText||Ne.response;if(!Kt)return Kt;try{return JSON.parse(Kt)}catch(Qt){return Kt}}function dt(Ne){var Kt=new XMLHttpRequest;Ne.onProgress&&Kt.upload&&(Kt.upload.onprogress=function(Lt){Lt.total>0&&(Lt.percent=Lt.loaded/Lt.total*100),Ne.onProgress(Lt)});var Qt=new FormData;Ne.data&&Object.keys(Ne.data).forEach(function(Tt){var Lt=Ne.data[Tt];if(Array.isArray(Lt)){Lt.forEach(function(Wt){Qt.append("".concat(Tt,"[]"),Wt)});return}Qt.append(Tt,Lt)}),Ne.file instanceof Blob?Qt.append(Ne.filename,Ne.file,Ne.file.name):Qt.append(Ne.filename,Ne.file),Kt.onerror=function(Lt){Ne.onError(Lt)},Kt.onload=function(){return Kt.status<200||Kt.status>=300?Ne.onError(se(Ne,Kt),Ie(Kt)):Ne.onSuccess(Ie(Kt),Kt)},Kt.open(Ne.method,Ne.action,!0),Ne.withCredentials&&"withCredentials"in Kt&&(Kt.withCredentials=!0);var un=Ne.headers||{};return un["X-Requested-With"]!==null&&Kt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(un).forEach(function(Tt){un[Tt]!==null&&Kt.setRequestHeader(Tt,un[Tt])}),Kt.send(Qt),{abort:function(){Kt.abort()}}}var yt=function(){var Ne=(0,Te.Z)((0,Fe.Z)().mark(function Kt(Qt,un){var Tt,Lt,Wt,nn,Wn,Zn,Yn,Nr;return(0,Fe.Z)().wrap(function(Qr){for(;;)switch(Qr.prev=Qr.next){case 0:Zn=function(){return Zn=(0,Te.Z)((0,Fe.Z)().mark(function yr(Pr){return(0,Fe.Z)().wrap(function(ni){for(;;)switch(ni.prev=ni.next){case 0:return ni.abrupt("return",new Promise(function(ri){Pr.file(function(ai){un(ai)?(Pr.fullPath&&!ai.webkitRelativePath&&(Object.defineProperties(ai,{webkitRelativePath:{writable:!0}}),ai.webkitRelativePath=Pr.fullPath.replace(/^\//,""),Object.defineProperties(ai,{webkitRelativePath:{writable:!1}})),ri(ai)):ri(null)})}));case 1:case"end":return ni.stop()}},yr)})),Zn.apply(this,arguments)},Wn=function(yr){return Zn.apply(this,arguments)},nn=function(){return nn=(0,Te.Z)((0,Fe.Z)().mark(function yr(Pr){var Vr,ni,ri,ai,Br;return(0,Fe.Z)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:Vr=Pr.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(Br=0;Br<ai;Br++)ni.push(ri[Br]);$r.next=2;break;case 12:return $r.abrupt("return",ni);case 13:case"end":return $r.stop()}},yr)})),nn.apply(this,arguments)},Wt=function(yr){return nn.apply(this,arguments)},Tt=[],Lt=[],Qt.forEach(function(Fr){return Lt.push(Fr.webkitGetAsEntry())}),Yn=function(){var Fr=(0,Te.Z)((0,Fe.Z)().mark(function yr(Pr,Vr){var ni,ri;return(0,Fe.Z)().wrap(function(Br){for(;;)switch(Br.prev=Br.next){case 0:if(Pr){Br.next=2;break}return Br.abrupt("return");case 2:if(Pr.path=Vr||"",!Pr.isFile){Br.next=10;break}return Br.next=6,Wn(Pr);case 6:ni=Br.sent,ni&&Tt.push(ni),Br.next=15;break;case 10:if(!Pr.isDirectory){Br.next=15;break}return Br.next=13,Wt(Pr);case 13:ri=Br.sent,Lt.push.apply(Lt,(0,Me.Z)(ri));case 15:case"end":return Br.stop()}},yr)}));return function(Pr,Vr){return Fr.apply(this,arguments)}}(),Nr=0;case 9:if(!(Nr<Lt.length)){Qr.next=15;break}return Qr.next=12,Yn(Lt[Nr]);case 12:Nr++,Qr.next=9;break;case 15:return Qr.abrupt("return",Tt);case 16:case"end":return Qr.stop()}},Kt)}));return function(Qt,un){return Ne.apply(this,arguments)}}(),kt=yt,Ue=+new Date,Ke=0;function ct(){return"rc-upload-".concat(Ue,"-").concat(++Ke)}var De=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],gt=function(Ne){(0,he.Z)(Qt,Ne);var Kt=(0,ut.Z)(Qt);function Qt(){var un;(0,Pe.Z)(this,Qt);for(var Tt=arguments.length,Lt=new Array(Tt),Wt=0;Wt<Tt;Wt++)Lt[Wt]=arguments[Wt];return un=Kt.call.apply(Kt,[this].concat(Lt)),(0,Be.Z)((0,Ee.Z)(un),"state",{uid:ct()}),(0,Be.Z)((0,Ee.Z)(un),"reqs",{}),(0,Be.Z)((0,Ee.Z)(un),"fileInput",void 0),(0,Be.Z)((0,Ee.Z)(un),"_isMounted",void 0),(0,Be.Z)((0,Ee.Z)(un),"onChange",function(nn){var Wn=un.props,Zn=Wn.accept,Yn=Wn.directory,Nr=nn.target.files,zr=(0,Me.Z)(Nr).filter(function(Qr){return!Yn||tn(Qr,Zn)});un.uploadFiles(zr),un.reset()}),(0,Be.Z)((0,Ee.Z)(un),"onClick",function(nn){var Wn=un.fileInput;if(Wn){var Zn=nn.target,Yn=un.props.onClick;if(Zn&&Zn.tagName==="BUTTON"){var Nr=Wn.parentNode;Nr.focus(),Zn.blur()}Wn.click(),Yn&&Yn(nn)}}),(0,Be.Z)((0,Ee.Z)(un),"onKeyDown",function(nn){nn.key==="Enter"&&un.onClick(nn)}),(0,Be.Z)((0,Ee.Z)(un),"onFileDrop",function(){var nn=(0,Te.Z)((0,Fe.Z)().mark(function Wn(Zn){var Yn,Nr,zr;return(0,Fe.Z)().wrap(function(Fr){for(;;)switch(Fr.prev=Fr.next){case 0:if(Yn=un.props.multiple,Zn.preventDefault(),Zn.type!=="dragover"){Fr.next=4;break}return Fr.abrupt("return");case 4:if(!un.props.directory){Fr.next=11;break}return Fr.next=7,kt(Array.prototype.slice.call(Zn.dataTransfer.items),function(yr){return tn(yr,un.props.accept)});case 7:Nr=Fr.sent,un.uploadFiles(Nr),Fr.next=14;break;case 11:zr=(0,Me.Z)(Zn.dataTransfer.files).filter(function(yr){return tn(yr,un.props.accept)}),Yn===!1&&(zr=zr.slice(0,1)),un.uploadFiles(zr);case 14:case"end":return Fr.stop()}},Wn)}));return function(Wn){return nn.apply(this,arguments)}}()),(0,Be.Z)((0,Ee.Z)(un),"uploadFiles",function(nn){var Wn=(0,Me.Z)(nn),Zn=Wn.map(function(Yn){return Yn.uid=ct(),un.processFile(Yn,Wn)});Promise.all(Zn).then(function(Yn){var Nr=un.props.onBatchStart;Nr==null||Nr(Yn.map(function(zr){var Qr=zr.origin,Fr=zr.parsedFile;return{file:Qr,parsedFile:Fr}})),Yn.filter(function(zr){return zr.parsedFile!==null}).forEach(function(zr){un.post(zr)})})}),(0,Be.Z)((0,Ee.Z)(un),"processFile",function(){var nn=(0,Te.Z)((0,Fe.Z)().mark(function Wn(Zn,Yn){var Nr,zr,Qr,Fr,yr,Pr,Vr,ni,ri;return(0,Fe.Z)().wrap(function(Br){for(;;)switch(Br.prev=Br.next){case 0:if(Nr=un.props.beforeUpload,zr=Zn,!Nr){Br.next=14;break}return Br.prev=3,Br.next=6,Nr(Zn,Yn);case 6:zr=Br.sent,Br.next=12;break;case 9:Br.prev=9,Br.t0=Br.catch(3),zr=!1;case 12:if(zr!==!1){Br.next=14;break}return Br.abrupt("return",{origin:Zn,parsedFile:null,action:null,data:null});case 14:if(Qr=un.props.action,typeof Qr!="function"){Br.next=21;break}return Br.next=18,Qr(Zn);case 18:Fr=Br.sent,Br.next=22;break;case 21:Fr=Qr;case 22:if(yr=un.props.data,typeof yr!="function"){Br.next=29;break}return Br.next=26,yr(Zn);case 26:Pr=Br.sent,Br.next=30;break;case 29:Pr=yr;case 30:return Vr=((0,He.Z)(zr)==="object"||typeof zr=="string")&&zr?zr:Zn,Vr instanceof File?ni=Vr:ni=new File([Vr],Zn.name,{type:Zn.type}),ri=ni,ri.uid=Zn.uid,Br.abrupt("return",{origin:Zn,data:Pr,parsedFile:ri,action:Fr});case 35:case"end":return Br.stop()}},Wn,null,[[3,9]])}));return function(Wn,Zn){return nn.apply(this,arguments)}}()),(0,Be.Z)((0,Ee.Z)(un),"saveFileInput",function(nn){un.fileInput=nn}),un}return(0,Xe.Z)(Qt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Tt){var Lt=this,Wt=Tt.data,nn=Tt.origin,Wn=Tt.action,Zn=Tt.parsedFile;if(this._isMounted){var Yn=this.props,Nr=Yn.onStart,zr=Yn.customRequest,Qr=Yn.name,Fr=Yn.headers,yr=Yn.withCredentials,Pr=Yn.method,Vr=nn.uid,ni=zr||dt,ri={action:Wn,filename:Qr,data:Wt,file:Zn,headers:Fr,withCredentials:yr,method:Pr||"post",onProgress:function(Br){var _r=Lt.props.onProgress;_r==null||_r(Br,Zn)},onSuccess:function(Br,_r){var $r=Lt.props.onSuccess;$r==null||$r(Br,Zn,_r),delete Lt.reqs[Vr]},onError:function(Br,_r){var $r=Lt.props.onError;$r==null||$r(Br,_r,Zn),delete Lt.reqs[Vr]}};Nr(nn),this.reqs[Vr]=ni(ri)}}},{key:"reset",value:function(){this.setState({uid:ct()})}},{key:"abort",value:function(Tt){var Lt=this.reqs;if(Tt){var Wt=Tt.uid?Tt.uid:Tt;Lt[Wt]&&Lt[Wt].abort&&Lt[Wt].abort(),delete Lt[Wt]}else Object.keys(Lt).forEach(function(nn){Lt[nn]&&Lt[nn].abort&&Lt[nn].abort(),delete Lt[nn]})}},{key:"render",value:function(){var Tt=this.props,Lt=Tt.component,Wt=Tt.prefixCls,nn=Tt.className,Wn=Tt.classNames,Zn=Wn===void 0?{}:Wn,Yn=Tt.disabled,Nr=Tt.id,zr=Tt.name,Qr=Tt.style,Fr=Tt.styles,yr=Fr===void 0?{}:Fr,Pr=Tt.multiple,Vr=Tt.accept,ni=Tt.capture,ri=Tt.children,ai=Tt.directory,Br=Tt.openFileDialogOnClick,_r=Tt.onMouseEnter,$r=Tt.onMouseLeave,Ri=Tt.hasControlInside,Wi=(0,it.Z)(Tt,De),Zi=we()((0,Be.Z)((0,Be.Z)((0,Be.Z)({},Wt,!0),"".concat(Wt,"-disabled"),Yn),nn,nn)),zi=ai?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_i=Yn?{}:{onClick:Br?this.onClick:function(){},onKeyDown:Br?this.onKeyDown:function(){},onMouseEnter:_r,onMouseLeave:$r,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Ri?void 0:"0"};return b.createElement(Lt,(0,Se.Z)({},_i,{className:Zi,role:Ri?void 0:"button",style:Qr}),b.createElement("input",(0,Se.Z)({},(0,ot.Z)(Wi,{aria:!0,data:!0}),{id:Nr,name:zr,disabled:Yn,type:"file",ref:this.saveFileInput,onClick:function(Mi){return Mi.stopPropagation()},key:this.state.uid,style:(0,bt.Z)({display:"none"},yr.input),className:Zn.input,accept:Vr},zi,{multiple:Pr,onChange:this.onChange},ni!=null?{capture:ni}:{})),ri)}}]),Qt}(b.Component),Ye=gt;function fe(){}var Ft=function(Ne){(0,he.Z)(Qt,Ne);var Kt=(0,ut.Z)(Qt);function Qt(){var un;(0,Pe.Z)(this,Qt);for(var Tt=arguments.length,Lt=new Array(Tt),Wt=0;Wt<Tt;Wt++)Lt[Wt]=arguments[Wt];return un=Kt.call.apply(Kt,[this].concat(Lt)),(0,Be.Z)((0,Ee.Z)(un),"uploader",void 0),(0,Be.Z)((0,Ee.Z)(un),"saveUploader",function(nn){un.uploader=nn}),un}return(0,Xe.Z)(Qt,[{key:"abort",value:function(Tt){this.uploader.abort(Tt)}},{key:"render",value:function(){return b.createElement(Ye,(0,Se.Z)({},this.props,{ref:this.saveUploader}))}}]),Qt}(b.Component);(0,Be.Z)(Ft,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:fe,onError:fe,onSuccess:fe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Ge=Ft,xt=Ge,fn=z(18929),ke=z(48755),be=z(2171),Yt=z(9017),ln=z(85981),Xt=z(63356),ge=z(34961),Re=z(16931),qe=z(51636),Vt=z(36237),Zt=Ne=>{const{componentCls:Kt,iconCls:Qt}=Ne;return{[`${Kt}-wrapper`]:{[`${Kt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ne.colorFillAlter,border:`${(0,Vt.unit)(Ne.lineWidth)} dashed ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ne.motionDurationSlow}`,[Kt]:{padding:Ne.padding},[`${Kt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Ne.borderRadiusLG,"&:focus-visible":{outline:`${(0,Vt.unit)(Ne.lineWidthFocus)} solid ${Ne.colorPrimaryBorder}`}},[`${Kt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Kt}-disabled):hover,
|
|
|
&-hover:not(${Kt}-disabled)
|
|
|
`]:{borderColor:Ne.colorPrimaryHover},[`p${Kt}-drag-icon`]:{marginBottom:Ne.margin,[Qt]:{color:Ne.colorPrimary,fontSize:Ne.uploadThumbnailSize}},[`p${Kt}-text`]:{margin:`0 0 ${(0,Vt.unit)(Ne.marginXXS)}`,color:Ne.colorTextHeading,fontSize:Ne.fontSizeLG},[`p${Kt}-hint`]:{color:Ne.colorTextDescription,fontSize:Ne.fontSize},[`&${Kt}-disabled`]:{[`p${Kt}-drag-icon ${Qt},
|
|
|
p${Kt}-text,
|
|
|
p${Kt}-hint
|
|
|
`]:{color:Ne.colorTextDisabled}}}}}},$t=Ne=>{const{componentCls:Kt,iconCls:Qt,fontSize:un,lineHeight:Tt,calc:Lt}=Ne,Wt=`${Kt}-list-item`,nn=`${Wt}-actions`,Wn=`${Wt}-action`;return{[`${Kt}-wrapper`]:{[`${Kt}-list`]:Object.assign(Object.assign({},(0,Xt.dF)()),{lineHeight:Ne.lineHeight,[Wt]:{position:"relative",height:Lt(Ne.lineHeight).mul(un).equal(),marginTop:Ne.marginXS,fontSize:un,display:"flex",alignItems:"center",transition:`background-color ${Ne.motionDurationSlow}`,borderRadius:Ne.borderRadiusSM,"&:hover":{backgroundColor:Ne.controlItemBgHover},[`${Wt}-name`]:Object.assign(Object.assign({},Xt.vS),{padding:`0 ${(0,Vt.unit)(Ne.paddingXS)}`,lineHeight:Tt,flex:"auto",transition:`all ${Ne.motionDurationSlow}`}),[nn]:{whiteSpace:"nowrap",[Wn]:{opacity:0},[Qt]:{color:Ne.actionsColor,transition:`all ${Ne.motionDurationSlow}`},[`
|
|
|
${Wn}:focus-visible,
|
|
|
&.picture ${Wn}
|
|
|
`]:{opacity:1}},[`${Kt}-icon ${Qt}`]:{color:Ne.colorTextDescription,fontSize:un},[`${Wt}-progress`]:{position:"absolute",bottom:Ne.calc(Ne.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Lt(un).add(Ne.paddingXS).equal(),fontSize:un,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Wt}:hover ${Wn}`]:{opacity:1},[`${Wt}-error`]:{color:Ne.colorError,[`${Wt}-name, ${Kt}-icon ${Qt}`]:{color:Ne.colorError},[nn]:{[`${Qt}, ${Qt}:hover`]:{color:Ne.colorError},[Wn]:{opacity:1}}},[`${Kt}-list-item-container`]:{transition:`opacity ${Ne.motionDurationSlow}, height ${Ne.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Nt=z(99495),ne=Ne=>{const{componentCls:Kt}=Ne,Qt=new Vt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Ne.calc(Ne.marginXS).div(-2).equal()}}),un=new Vt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Ne.calc(Ne.marginXS).div(-2).equal()}}),Tt=`${Kt}-animate-inline`;return[{[`${Kt}-wrapper`]:{[`${Tt}-appear, ${Tt}-enter, ${Tt}-leave`]:{animationDuration:Ne.motionDurationSlow,animationTimingFunction:Ne.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Tt}-appear, ${Tt}-enter`]:{animationName:Qt},[`${Tt}-leave`]:{animationName:un}}},{[`${Kt}-wrapper`]:(0,Nt.J$)(Ne)},Qt,un]},te=z(68361);const ae=Ne=>{const{componentCls:Kt,iconCls:Qt,uploadThumbnailSize:un,uploadProgressOffset:Tt,calc:Lt}=Ne,Wt=`${Kt}-list`,nn=`${Wt}-item`;return{[`${Kt}-wrapper`]:{[`
|
|
|
${Wt}${Wt}-picture,
|
|
|
${Wt}${Wt}-picture-card,
|
|
|
${Wt}${Wt}-picture-circle
|
|
|
`]:{[nn]:{position:"relative",height:Lt(un).add(Lt(Ne.lineWidth).mul(2)).add(Lt(Ne.paddingXS).mul(2)).equal(),padding:Ne.paddingXS,border:`${(0,Vt.unit)(Ne.lineWidth)} ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusLG,"&:hover":{background:"transparent"},[`${nn}-thumbnail`]:Object.assign(Object.assign({},Xt.vS),{width:un,height:un,lineHeight:(0,Vt.unit)(Lt(un).add(Ne.paddingSM).equal()),textAlign:"center",flex:"none",[Qt]:{fontSize:Ne.fontSizeHeading2,color:Ne.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${nn}-progress`]:{bottom:Tt,width:`calc(100% - ${(0,Vt.unit)(Lt(Ne.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Lt(un).add(Ne.paddingXS).equal()}},[`${nn}-error`]:{borderColor:Ne.colorError,[`${nn}-thumbnail ${Qt}`]:{[`svg path[fill='${te.blue[0]}']`]:{fill:Ne.colorErrorBg},[`svg path[fill='${te.blue.primary}']`]:{fill:Ne.colorError}}},[`${nn}-uploading`]:{borderStyle:"dashed",[`${nn}-name`]:{marginBottom:Tt}}},[`${Wt}${Wt}-picture-circle ${nn}`]:{[`&, &::before, ${nn}-thumbnail`]:{borderRadius:"50%"}}}}},de=Ne=>{const{componentCls:Kt,iconCls:Qt,fontSizeLG:un,colorTextLightSolid:Tt,calc:Lt}=Ne,Wt=`${Kt}-list`,nn=`${Wt}-item`,Wn=Ne.uploadPicCardSize;return{[`
|
|
|
${Kt}-wrapper${Kt}-picture-card-wrapper,
|
|
|
${Kt}-wrapper${Kt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,Xt.dF)()),{display:"block",[`${Kt}${Kt}-select`]:{width:Wn,height:Wn,textAlign:"center",verticalAlign:"top",backgroundColor:Ne.colorFillAlter,border:`${(0,Vt.unit)(Ne.lineWidth)} dashed ${Ne.colorBorder}`,borderRadius:Ne.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ne.motionDurationSlow}`,[`> ${Kt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Kt}-disabled):hover`]:{borderColor:Ne.colorPrimary}},[`${Wt}${Wt}-picture-card, ${Wt}${Wt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Ne.marginXS,marginInlineEnd:Ne.marginXS}},"@supports (gap: 1px)":{gap:Ne.marginXS},[`${Wt}-item-container`]:{display:"inline-block",width:Wn,height:Wn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[nn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Vt.unit)(Lt(Ne.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Vt.unit)(Lt(Ne.paddingXS).mul(2).equal())})`,backgroundColor:Ne.colorBgMask,opacity:0,transition:`all ${Ne.motionDurationSlow}`,content:'" "'}},[`${nn}:hover`]:{[`&::before, ${nn}-actions`]:{opacity:1}},[`${nn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ne.motionDurationSlow}`,[`
|
|
|
${Qt}-eye,
|
|
|
${Qt}-download,
|
|
|
${Qt}-delete
|
|
|
`]:{zIndex:10,width:un,margin:`0 ${(0,Vt.unit)(Ne.marginXXS)}`,fontSize:un,cursor:"pointer",transition:`all ${Ne.motionDurationSlow}`,color:Tt,"&:hover":{color:Tt},svg:{verticalAlign:"baseline"}}},[`${nn}-thumbnail, ${nn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${nn}-name`]:{display:"none",textAlign:"center"},[`${nn}-file + ${nn}-name`]:{position:"absolute",bottom:Ne.margin,display:"block",width:`calc(100% - ${(0,Vt.unit)(Lt(Ne.paddingXS).mul(2).equal())})`},[`${nn}-uploading`]:{[`&${nn}`]:{backgroundColor:Ne.colorFillAlter},[`&::before, ${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{display:"none"}},[`${nn}-progress`]:{bottom:Ne.marginXL,width:`calc(100% - ${(0,Vt.unit)(Lt(Ne.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Kt}-wrapper${Kt}-picture-circle-wrapper`]:{[`${Kt}${Kt}-select`]:{borderRadius:"50%"}}}};var ue=Ne=>{const{componentCls:Kt}=Ne;return{[`${Kt}-rtl`]:{direction:"rtl"}}};const xe=Ne=>{const{componentCls:Kt,colorTextDisabled:Qt}=Ne;return{[`${Kt}-wrapper`]:Object.assign(Object.assign({},(0,Xt.Wf)(Ne)),{[Kt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Kt}-select`]:{display:"inline-block"},[`${Kt}-hidden`]:{display:"none"},[`${Kt}-disabled`]:{color:Qt,cursor:"not-allowed"}})}},tt=Ne=>({actionsColor:Ne.colorTextDescription});var Ve=(0,Re.I$)("Upload",Ne=>{const{fontSizeHeading3:Kt,fontHeight:Qt,lineWidth:un,controlHeightLG:Tt,calc:Lt}=Ne,Wt=(0,qe.mergeToken)(Ne,{uploadThumbnailSize:Lt(Kt).mul(2).equal(),uploadProgressOffset:Lt(Lt(Qt).div(2)).add(un).equal(),uploadPicCardSize:Lt(Tt).mul(2.55).equal()});return[xe(Wt),Zt(Wt),ae(Wt),de(Wt),$t(Wt),ne(Wt),ue(Wt),(0,ge.Z)(Wt)]},tt),We={icon:function(Kt,Qt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Qt}},{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:Kt}}]}},name:"file",theme:"twotone"},lt=We,ht=z(7657),Dt=function(Kt,Qt){return b.createElement(ht.Z,(0,Se.Z)({},Kt,{ref:Qt,icon:lt}))},Oe=b.forwardRef(Dt),ze=Oe,on=z(58617),Rt={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"},vn=Rt,Bt=function(Kt,Qt){return b.createElement(ht.Z,(0,Se.Z)({},Kt,{ref:Qt,icon:vn}))},at=b.forwardRef(Bt),pt=at,Gt={icon:function(Kt,Qt){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:Kt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Qt}},{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:Qt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Qt}},{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:Kt}}]}},name:"picture",theme:"twotone"},Je=Gt,At=function(Kt,Qt){return b.createElement(ht.Z,(0,Se.Z)({},Kt,{ref:Qt,icon:Je}))},Jt=b.forwardRef(At),an=Jt,Le=z(77900),Et=z(2738),zt=z(40192),rn=z(86641),yn=z(22703),Nn=z(7939);function Vn(Ne){return Object.assign(Object.assign({},Ne),{lastModified:Ne.lastModified,lastModifiedDate:Ne.lastModifiedDate,name:Ne.name,size:Ne.size,type:Ne.type,uid:Ne.uid,percent:0,originFileObj:Ne})}function Xn(Ne,Kt){const Qt=(0,Me.Z)(Kt),un=Qt.findIndex(Tt=>{let{uid:Lt}=Tt;return Lt===Ne.uid});return un===-1?Qt.push(Ne):Qt[un]=Ne,Qt}function Bn(Ne,Kt){const Qt=Ne.uid!==void 0?"uid":"name";return Kt.filter(un=>un[Qt]===Ne[Qt])[0]}function jn(Ne,Kt){const Qt=Ne.uid!==void 0?"uid":"name",un=Kt.filter(Tt=>Tt[Qt]!==Ne[Qt]);return un.length===Kt.length?null:un}const wt=function(){const Kt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),un=Kt[Kt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(un)||[""])[0]},mt=Ne=>Ne.indexOf("image/")===0,qt=Ne=>{if(Ne.type&&!Ne.thumbUrl)return mt(Ne.type);const Kt=Ne.thumbUrl||Ne.url||"",Qt=wt(Kt);return/^data:image\//.test(Kt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Qt)?!0:!(/^data:/.test(Kt)||Qt)},jt=200;function Ot(Ne){return new Promise(Kt=>{if(!Ne.type||!mt(Ne.type)){Kt("");return}const Qt=document.createElement("canvas");Qt.width=jt,Qt.height=jt,Qt.style.cssText=`position: fixed; left: 0; top: 0; width: ${jt}px; height: ${jt}px; z-index: 9999; display: none;`,document.body.appendChild(Qt);const un=Qt.getContext("2d"),Tt=new Image;if(Tt.onload=()=>{const{width:Lt,height:Wt}=Tt;let nn=jt,Wn=jt,Zn=0,Yn=0;Lt>Wt?(Wn=Wt*(jt/Lt),Yn=-(Wn-nn)/2):(nn=Lt*(jt/Wt),Zn=-(nn-Wn)/2),un.drawImage(Tt,Zn,Yn,nn,Wn);const Nr=Qt.toDataURL();document.body.removeChild(Qt),window.URL.revokeObjectURL(Tt.src),Kt(Nr)},Tt.crossOrigin="anonymous",Ne.type.startsWith("image/svg+xml")){const Lt=new FileReader;Lt.onload=()=>{Lt.result&&typeof Lt.result=="string"&&(Tt.src=Lt.result)},Lt.readAsDataURL(Ne)}else if(Ne.type.startsWith("image/gif")){const Lt=new FileReader;Lt.onload=()=>{Lt.result&&Kt(Lt.result)},Lt.readAsDataURL(Ne)}else Tt.src=window.URL.createObjectURL(Ne)})}var bn=z(26227),pn=z(41464),On=z(15277),Qn=z(89787),Hn=z(25399),ir=b.forwardRef((Ne,Kt)=>{let{prefixCls:Qt,className:un,style:Tt,locale:Lt,listType:Wt,file:nn,items:Wn,progress:Zn,iconRender:Yn,actionIconRender:Nr,itemRender:zr,isImgUrl:Qr,showPreviewIcon:Fr,showRemoveIcon:yr,showDownloadIcon:Pr,previewIcon:Vr,removeIcon:ni,downloadIcon:ri,extra:ai,onPreview:Br,onDownload:_r,onClose:$r}=Ne;var Ri,Wi;const{status:Zi}=nn,[zi,_i]=b.useState(Zi);b.useEffect(()=>{Zi!=="removed"&&_i(Zi)},[Zi]);const[wi,Mi]=b.useState(!1);b.useEffect(()=>{const Jn=setTimeout(()=>{Mi(!0)},300);return()=>{clearTimeout(Jn)}},[]);const fi=Yn(nn);let $i=b.createElement("div",{className:`${Qt}-icon`},fi);if(Wt==="picture"||Wt==="picture-card"||Wt==="picture-circle")if(zi==="uploading"||!nn.thumbUrl&&!nn.url){const Jn=we()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:zi!=="uploading"});$i=b.createElement("div",{className:Jn},fi)}else{const Jn=Qr!=null&&Qr(nn)?b.createElement("img",{src:nn.thumbUrl||nn.url,alt:nn.name,className:`${Qt}-list-item-image`,crossOrigin:nn.crossOrigin}):fi,xr=we()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:Qr&&!Qr(nn)});$i=b.createElement("a",{className:xr,onClick:Zr=>Br(nn,Zr),href:nn.url||nn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Jn)}const oo=we()(`${Qt}-list-item`,`${Qt}-list-item-${zi}`),Ro=typeof nn.linkProps=="string"?JSON.parse(nn.linkProps):nn.linkProps,fo=(typeof yr=="function"?yr(nn):yr)?Nr((typeof ni=="function"?ni(nn):ni)||b.createElement(bn.Z,null),()=>$r(nn),Qt,Lt.removeFile,!0):null,bo=(typeof Pr=="function"?Pr(nn):Pr)&&zi==="done"?Nr((typeof ri=="function"?ri(nn):ri)||b.createElement(pn.Z,null),()=>_r(nn),Qt,Lt.downloadFile):null,co=Wt!=="picture-card"&&Wt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:we()(`${Qt}-list-item-actions`,{picture:Wt==="picture"})},bo,fo),yo=typeof ai=="function"?ai(nn):ai,Bi=yo&&b.createElement("span",{className:`${Qt}-list-item-extra`},yo),Ai=we()(`${Qt}-list-item-name`),Gr=nn.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ai,title:nn.name},Ro,{href:nn.url,onClick:Jn=>Br(nn,Jn)}),nn.name,Bi):b.createElement("span",{key:"view",className:Ai,onClick:Jn=>Br(nn,Jn),title:nn.name},nn.name,Bi),Un=(typeof Fr=="function"?Fr(nn):Fr)&&(nn.url||nn.thumbUrl)?b.createElement("a",{href:nn.url||nn.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Jn=>Br(nn,Jn),title:Lt.previewFile},typeof Vr=="function"?Vr(nn):Vr||b.createElement(On.Z,null)):null,lr=(Wt==="picture-card"||Wt==="picture-circle")&&zi!=="uploading"&&b.createElement("span",{className:`${Qt}-list-item-actions`},Un,zi==="done"&&bo,fo),{getPrefixCls:cr}=b.useContext(ke.E_),qn=cr(),Hr=b.createElement("div",{className:oo},$i,Gr,co,lr,wi&&b.createElement(Le.default,{motionName:`${qn}-fade`,visible:zi==="uploading",motionDeadline:2e3},Jn=>{let{className:xr}=Jn;const Zr="percent"in nn?b.createElement(Qn.Z,Object.assign({},Zn,{type:"line",percent:nn.percent,"aria-label":nn["aria-label"],"aria-labelledby":nn["aria-labelledby"]})):null;return b.createElement("div",{className:we()(`${Qt}-list-item-progress`,xr)},Zr)})),qr=nn.response&&typeof nn.response=="string"?nn.response:((Ri=nn.error)===null||Ri===void 0?void 0:Ri.statusText)||((Wi=nn.error)===null||Wi===void 0?void 0:Wi.message)||Lt.uploadError,or=zi==="error"?b.createElement(Hn.Z,{title:qr,getPopupContainer:Jn=>Jn.parentNode},Hr):Hr;return b.createElement("div",{className:we()(`${Qt}-list-item-container`,un),style:Tt,ref:Kt},zr?zr(or,nn,Wn,{download:_r.bind(null,nn),preview:Br.bind(null,nn),remove:$r.bind(null,nn)}):or)});const Fn=(Ne,Kt)=>{const{listType:Qt="text",previewFile:un=Ot,onPreview:Tt,onDownload:Lt,onRemove:Wt,locale:nn,iconRender:Wn,isImageUrl:Zn=qt,prefixCls:Yn,items:Nr=[],showPreviewIcon:zr=!0,showRemoveIcon:Qr=!0,showDownloadIcon:Fr=!1,removeIcon:yr,previewIcon:Pr,downloadIcon:Vr,extra:ni,progress:ri={size:[-1,2],showInfo:!1},appendAction:ai,appendActionVisible:Br=!0,itemRender:_r,disabled:$r}=Ne,Ri=(0,zt.Z)(),[Wi,Zi]=b.useState(!1),zi=["picture-card","picture-circle"].includes(Qt);b.useEffect(()=>{Qt.startsWith("picture")&&(Nr||[]).forEach(Bi=>{!(Bi.originFileObj instanceof File||Bi.originFileObj instanceof Blob)||Bi.thumbUrl!==void 0||(Bi.thumbUrl="",un==null||un(Bi.originFileObj).then(Ai=>{Bi.thumbUrl=Ai||"",Ri()}))})},[Qt,Nr,un]),b.useEffect(()=>{Zi(!0)},[]);const _i=(Bi,Ai)=>{if(Tt)return Ai==null||Ai.preventDefault(),Tt(Bi)},wi=Bi=>{typeof Lt=="function"?Lt(Bi):Bi.url&&window.open(Bi.url)},Mi=Bi=>{Wt==null||Wt(Bi)},fi=Bi=>{if(Wn)return Wn(Bi,Qt);const Ai=Bi.status==="uploading";if(Qt.startsWith("picture")){const Gr=Qt==="picture"?b.createElement(on.Z,null):nn.uploading,Un=Zn!=null&&Zn(Bi)?b.createElement(an,null):b.createElement(ze,null);return Ai?Gr:Un}return Ai?b.createElement(on.Z,null):b.createElement(pt,null)},$i=(Bi,Ai,Gr,Un,lr)=>{const cr={type:"text",size:"small",title:Un,onClick:qn=>{var Hr,qr;Ai(),b.isValidElement(Bi)&&((qr=(Hr=Bi.props).onClick)===null||qr===void 0||qr.call(Hr,qn))},className:`${Gr}-list-item-action`};return lr&&(cr.disabled=$r),b.isValidElement(Bi)?b.createElement(Nn.ZP,Object.assign({},cr,{icon:(0,yn.Tm)(Bi,Object.assign(Object.assign({},Bi.props),{onClick:()=>{}}))})):b.createElement(Nn.ZP,Object.assign({},cr),b.createElement("span",null,Bi))};b.useImperativeHandle(Kt,()=>({handlePreview:_i,handleDownload:wi}));const{getPrefixCls:oo}=b.useContext(ke.E_),Ro=oo("upload",Yn),fo=oo(),bo=we()(`${Ro}-list`,`${Ro}-list-${Qt}`),co=b.useMemo(()=>(0,Et.Z)((0,rn.Z)(fo),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[fo]),yo=Object.assign(Object.assign({},zi?{}:co),{motionDeadline:2e3,motionName:`${Ro}-${zi?"animate-inline":"animate"}`,keys:(0,Me.Z)(Nr.map(Bi=>({key:Bi.uid,file:Bi}))),motionAppear:Wi});return b.createElement("div",{className:bo},b.createElement(Le.CSSMotionList,Object.assign({},yo,{component:!1}),Bi=>{let{key:Ai,file:Gr,className:Un,style:lr}=Bi;return b.createElement(ir,{key:Ai,locale:nn,prefixCls:Ro,className:Un,style:lr,file:Gr,items:Nr,progress:ri,listType:Qt,isImgUrl:Zn,showPreviewIcon:zr,showRemoveIcon:Qr,showDownloadIcon:Fr,removeIcon:yr,previewIcon:Pr,downloadIcon:Vr,extra:ni,iconRender:fi,actionIconRender:$i,itemRender:_r,onPreview:_i,onDownload:wi,onClose:Mi})}),ai&&b.createElement(Le.default,Object.assign({},yo,{visible:Br,forceRender:!0}),Bi=>{let{className:Ai,style:Gr}=Bi;return(0,yn.Tm)(ai,Un=>({className:we()(Un.className,Ai),style:Object.assign(Object.assign(Object.assign({},Gr),{pointerEvents:Ai?"none":void 0}),Un.style)}))}))};var Dr=b.forwardRef(Fn),xn=function(Ne,Kt,Qt,un){function Tt(Lt){return Lt instanceof Qt?Lt:new Qt(function(Wt){Wt(Lt)})}return new(Qt||(Qt=Promise))(function(Lt,Wt){function nn(Yn){try{Zn(un.next(Yn))}catch(Nr){Wt(Nr)}}function Wn(Yn){try{Zn(un.throw(Yn))}catch(Nr){Wt(Nr)}}function Zn(Yn){Yn.done?Lt(Yn.value):Tt(Yn.value).then(nn,Wn)}Zn((un=un.apply(Ne,Kt||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,nr=(Ne,Kt)=>{const{fileList:Qt,defaultFileList:un,onRemove:Tt,showUploadList:Lt=!0,listType:Wt="text",onPreview:nn,onDownload:Wn,onChange:Zn,onDrop:Yn,previewFile:Nr,disabled:zr,locale:Qr,iconRender:Fr,isImageUrl:yr,progress:Pr,prefixCls:Vr,className:ni,type:ri="select",children:ai,style:Br,itemRender:_r,maxCount:$r,data:Ri={},multiple:Wi=!1,hasControlInside:Zi=!0,action:zi="",accept:_i="",supportServerRender:wi=!0,rootClassName:Mi}=Ne,fi=b.useContext(be.Z),$i=zr!=null?zr:fi,[oo,Ro]=(0,fn.Z)(un||[],{value:Qt,postState:Xi=>Xi!=null?Xi:[]}),[fo,bo]=b.useState("drop"),co=b.useRef(null),yo=b.useRef(null);b.useMemo(()=>{const Xi=Date.now();(Qt||[]).forEach((Ho,_o)=>{!Ho.uid&&!Object.isFrozen(Ho)&&(Ho.uid=`__AUTO__${Xi}_${_o}__`)})},[Qt]);const Bi=(Xi,Ho,_o)=>{let ho=(0,Me.Z)(Ho),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};_o&&(Bo.event=_o),(!Zo||Xi.status==="removed"||ho.some(La=>La.uid===Xi.uid))&&(0,pe.flushSync)(()=>{Zn==null||Zn(Bo)})},Ai=(Xi,Ho)=>xn(void 0,void 0,void 0,function*(){const{beforeUpload:_o,transformFile:ho}=Ne;let Zo=Xi;if(_o){const Bo=yield _o(Xi,Ho);if(Bo===!1)return!1;if(delete Xi[kn],Bo===kn)return Object.defineProperty(Xi,kn,{value:!0,configurable:!0}),!1;typeof Bo=="object"&&Bo&&(Zo=Bo)}return ho&&(Zo=yield ho(Zo)),Zo}),Gr=Xi=>{const Ho=Xi.filter(Zo=>!Zo.file[kn]);if(!Ho.length)return;const _o=Ho.map(Zo=>Vn(Zo.file));let ho=(0,Me.Z)(oo);_o.forEach(Zo=>{ho=Xn(Zo,ho)}),_o.forEach((Zo,Bo)=>{let La=Zo;if(Ho[Bo].parsedFile)Zo.status="uploading";else{const{originFileObj:rl}=Zo;let za;try{za=new File([rl],rl.name,{type:rl.type})}catch(Ia){za=new Blob([rl],{type:rl.type}),za.name=rl.name,za.lastModifiedDate=new Date,za.lastModified=new Date().getTime()}za.uid=Zo.uid,La=za}Bi(La,ho)})},Un=(Xi,Ho,_o)=>{try{typeof Xi=="string"&&(Xi=JSON.parse(Xi))}catch(Bo){}if(!Bn(Ho,oo))return;const ho=Vn(Ho);ho.status="done",ho.percent=100,ho.response=Xi,ho.xhr=_o;const Zo=Xn(ho,oo);Bi(ho,Zo)},lr=(Xi,Ho)=>{if(!Bn(Ho,oo))return;const _o=Vn(Ho);_o.status="uploading",_o.percent=Xi.percent;const ho=Xn(_o,oo);Bi(_o,ho,Xi)},cr=(Xi,Ho,_o)=>{if(!Bn(_o,oo))return;const ho=Vn(_o);ho.error=Xi,ho.response=Ho,ho.status="error";const Zo=Xn(ho,oo);Bi(ho,Zo)},qn=Xi=>{let Ho;Promise.resolve(typeof Tt=="function"?Tt(Xi):Tt).then(_o=>{var ho;if(_o===!1)return;const Zo=jn(Xi,oo);Zo&&(Ho=Object.assign(Object.assign({},Xi),{status:"removed"}),oo==null||oo.forEach(Bo=>{const La=Ho.uid!==void 0?"uid":"name";Bo[La]===Ho[La]&&!Object.isFrozen(Bo)&&(Bo.status="removed")}),(ho=co.current)===null||ho===void 0||ho.abort(Ho),Bi(Ho,Zo))})},Hr=Xi=>{bo(Xi.type),Xi.type==="drop"&&(Yn==null||Yn(Xi))};b.useImperativeHandle(Kt,()=>({onBatchStart:Gr,onSuccess:Un,onProgress:lr,onError:cr,fileList:oo,upload:co.current,nativeElement:yo.current}));const{getPrefixCls:qr,direction:or,upload:Jn}=b.useContext(ke.E_),xr=qr("upload",Vr),Zr=Object.assign(Object.assign({onBatchStart:Gr,onError:cr,onProgress:lr,onSuccess:Un},Ne),{data:Ri,multiple:Wi,action:zi,accept:_i,supportServerRender:wi,prefixCls:xr,disabled:$i,beforeUpload:Ai,onChange:void 0,hasControlInside:Zi});delete Zr.className,delete Zr.style,(!ai||$i)&&delete Zr.id;const ji=`${xr}-wrapper`,[po,ao,Io]=Ve(xr,ji),[wo]=(0,Yt.Z)("Upload",ln.Z.Upload),{showRemoveIcon:Co,showPreviewIcon:Lo,showDownloadIcon:Oo,removeIcon:Mo,previewIcon:ha,downloadIcon:Aa,extra:xa}=typeof Lt=="boolean"?{}:Lt,Fa=typeof Co=="undefined"?!$i:Co,Da=(Xi,Ho)=>Lt?b.createElement(Dr,{prefixCls:xr,listType:Wt,items:oo,previewFile:Nr,onPreview:nn,onDownload:Wn,onRemove:qn,showRemoveIcon:Fa,showPreviewIcon:Lo,showDownloadIcon:Oo,removeIcon:Mo,previewIcon:ha,downloadIcon:Aa,iconRender:Fr,extra:xa,locale:Object.assign(Object.assign({},wo),Qr),isImageUrl:yr,progress:Pr,appendAction:Xi,appendActionVisible:Ho,itemRender:_r,disabled:$i}):Xi,Gi=we()(ji,ni,Mi,ao,Io,Jn==null?void 0:Jn.className,{[`${xr}-rtl`]:or==="rtl",[`${xr}-picture-card-wrapper`]:Wt==="picture-card",[`${xr}-picture-circle-wrapper`]:Wt==="picture-circle"}),Ni=Object.assign(Object.assign({},Jn==null?void 0:Jn.style),Br);if(ri==="drag"){const Xi=we()(ao,xr,`${xr}-drag`,{[`${xr}-drag-uploading`]:oo.some(Ho=>Ho.status==="uploading"),[`${xr}-drag-hover`]:fo==="dragover",[`${xr}-disabled`]:$i,[`${xr}-rtl`]:or==="rtl"});return po(b.createElement("span",{className:Gi,ref:yo},b.createElement("div",{className:Xi,style:Ni,onDrop:Hr,onDragOver:Hr,onDragLeave:Hr},b.createElement(xt,Object.assign({},Zr,{ref:co,className:`${xr}-btn`}),b.createElement("div",{className:`${xr}-drag-container`},ai))),Da()))}const ea=we()(xr,`${xr}-select`,{[`${xr}-disabled`]:$i,[`${xr}-hidden`]:!ai}),ta=b.createElement("div",{className:ea},b.createElement(xt,Object.assign({},Zr,{ref:co})));return po(Wt==="picture-card"||Wt==="picture-circle"?b.createElement("span",{className:Gi,ref:yo},Da(ta,!!ai)):b.createElement("span",{className:Gi,ref:yo},ta,Da()))};var Pt=b.forwardRef(nr),Ut=function(Ne,Kt){var Qt={};for(var un in Ne)Object.prototype.hasOwnProperty.call(Ne,un)&&Kt.indexOf(un)<0&&(Qt[un]=Ne[un]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,un=Object.getOwnPropertySymbols(Ne);Tt<un.length;Tt++)Kt.indexOf(un[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,un[Tt])&&(Qt[un[Tt]]=Ne[un[Tt]]);return Qt},et=b.forwardRef((Ne,Kt)=>{var{style:Qt,height:un,hasControlInside:Tt=!1}=Ne,Lt=Ut(Ne,["style","height","hasControlInside"]);return b.createElement(Pt,Object.assign({ref:Kt,hasControlInside:Tt},Lt,{type:"drag",style:Object.assign(Object.assign({},Qt),{height:un})}))});const Qe=Pt;Qe.Dragger=et,Qe.LIST_IGNORE=kn;var Mt=Qe},99498:function(Tn,cn,z){(function(b){b(z(89780))})(function(b){b.defineOption("placeholder","",function(Xe,Ee,he){var ut=he&&he!=b.Init;if(Ee&&!ut)Xe.on("blur",we),Xe.on("change",Se),Xe.on("swapDoc",Se),b.on(Xe.getInputField(),"compositionupdate",Xe.state.placeholderCompose=function(){_e(Xe)}),Se(Xe);else if(!Ee&&ut){Xe.off("blur",we),Xe.off("change",Se),Xe.off("swapDoc",Se),b.off(Xe.getInputField(),"compositionupdate",Xe.state.placeholderCompose),Me(Xe);var Be=Xe.getWrapperElement();Be.className=Be.className.replace(" CodeMirror-empty","")}Ee&&!Xe.hasFocus()&&we(Xe)});function Me(Xe){Xe.state.placeholder&&(Xe.state.placeholder.parentNode.removeChild(Xe.state.placeholder),Xe.state.placeholder=null)}function pe(Xe){Me(Xe);var Ee=Xe.state.placeholder=document.createElement("pre");Ee.style.cssText="height: 0; overflow: visible",Ee.style.direction=Xe.getOption("direction"),Ee.className="CodeMirror-placeholder CodeMirror-line-like";var he=Xe.getOption("placeholder");typeof he=="string"&&(he=document.createTextNode(he)),Ee.appendChild(he),Xe.display.lineSpace.insertBefore(Ee,Xe.display.lineSpace.firstChild)}function _e(Xe){setTimeout(function(){var Ee=!1,he=Xe.getInputField();he.nodeName=="TEXTAREA"?Ee=!he.value:Xe.lineCount()==1&&(Ee=!/[^\u200b]/.test(he.querySelector(".CodeMirror-line").textContent)),Ee?pe(Xe):Me(Xe)},20)}function we(Xe){Pe(Xe)&&pe(Xe)}function Se(Xe){var Ee=Xe.getWrapperElement(),he=Pe(Xe);Ee.className=Ee.className.replace(" CodeMirror-empty","")+(he?" CodeMirror-empty":""),he?pe(Xe):Me(Xe)}function Pe(Xe){return Xe.lineCount()===1&&Xe.getLine(0)===""}})},25717:function(Tn,cn,z){(function(b){b(z(89780))})(function(b){var Me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},pe=b.Pos;b.defineOption("autoCloseBrackets",!1,function(He,Fe,Te){Te&&Te!=b.Init&&(He.removeKeyMap(we),He.state.closeBrackets=null),Fe&&(Se(_e(Fe,"pairs")),He.state.closeBrackets=Fe,He.addKeyMap(we))});function _e(He,Fe){return Fe=="pairs"&&typeof He=="string"?He:typeof He=="object"&&He[Fe]!=null?He[Fe]:Me[Fe]}var we={Backspace:Ee,Enter:he};function Se(He){for(var Fe=0;Fe<He.length;Fe++){var Te=He.charAt(Fe),ot="'"+Te+"'";we[ot]||(we[ot]=Pe(Te))}}Se(Me.pairs+"`");function Pe(He){return function(Fe){return Be(Fe,He)}}function Xe(He){var Fe=He.state.closeBrackets;if(!Fe||Fe.override)return Fe;var Te=He.getModeAt(He.getCursor());return Te.closeBrackets||Fe}function Ee(He){var Fe=Xe(He);if(!Fe||He.getOption("disableInput"))return b.Pass;for(var Te=_e(Fe,"pairs"),ot=He.listSelections(),Ct=0;Ct<ot.length;Ct++){if(!ot[Ct].empty())return b.Pass;var tn=bt(He,ot[Ct].head);if(!tn||Te.indexOf(tn)%2!=0)return b.Pass}for(var Ct=ot.length-1;Ct>=0;Ct--){var se=ot[Ct].head;He.replaceRange("",pe(se.line,se.ch-1),pe(se.line,se.ch+1),"+delete")}}function he(He){var Fe=Xe(He),Te=Fe&&_e(Fe,"explode");if(!Te||He.getOption("disableInput"))return b.Pass;for(var ot=He.listSelections(),Ct=0;Ct<ot.length;Ct++){if(!ot[Ct].empty())return b.Pass;var tn=bt(He,ot[Ct].head);if(!tn||Te.indexOf(tn)%2!=0)return b.Pass}He.operation(function(){var se=He.lineSeparator()||`
|
|
|
`;He.replaceSelection(se+se,null),He.execCommand("goCharLeft"),ot=He.listSelections();for(var Ie=0;Ie<ot.length;Ie++){var dt=ot[Ie].head.line;He.indentLine(dt,null,!0),He.indentLine(dt+1,null,!0)}})}function ut(He){var Fe=b.cmpPos(He.anchor,He.head)>0;return{anchor:new pe(He.anchor.line,He.anchor.ch+(Fe?-1:1)),head:new pe(He.head.line,He.head.ch+(Fe?1:-1))}}function Be(He,Fe){var Te=Xe(He);if(!Te||He.getOption("disableInput"))return b.Pass;var ot=_e(Te,"pairs"),Ct=ot.indexOf(Fe);if(Ct==-1)return b.Pass;for(var tn=_e(Te,"closeBefore"),se=_e(Te,"triples"),Ie=ot.charAt(Ct+1)==Fe,dt=He.listSelections(),yt=Ct%2==0,kt,Ue=0;Ue<dt.length;Ue++){var Ke=dt[Ue],ct=Ke.head,De,gt=He.getRange(ct,pe(ct.line,ct.ch+1));if(yt&&!Ke.empty())De="surround";else if((Ie||!yt)&>==Fe)Ie&&it(He,ct)?De="both":se.indexOf(Fe)>=0&&He.getRange(ct,pe(ct.line,ct.ch+3))==Fe+Fe+Fe?De="skipThree":De="skip";else if(Ie&&ct.ch>1&&se.indexOf(Fe)>=0&&He.getRange(pe(ct.line,ct.ch-2),ct)==Fe+Fe){if(ct.ch>2&&/\bstring/.test(He.getTokenTypeAt(pe(ct.line,ct.ch-2))))return b.Pass;De="addFour"}else if(Ie){var Ye=ct.ch==0?" ":He.getRange(pe(ct.line,ct.ch-1),ct);if(!b.isWordChar(gt)&&Ye!=Fe&&!b.isWordChar(Ye))De="both";else return b.Pass}else if(yt&&(gt.length===0||/\s/.test(gt)||tn.indexOf(gt)>-1))De="both";else return b.Pass;if(!kt)kt=De;else if(kt!=De)return b.Pass}var fe=Ct%2?ot.charAt(Ct-1):Fe,Ft=Ct%2?Fe:ot.charAt(Ct+1);He.operation(function(){if(kt=="skip")He.execCommand("goCharRight");else if(kt=="skipThree")for(var Ge=0;Ge<3;Ge++)He.execCommand("goCharRight");else if(kt=="surround"){for(var xt=He.getSelections(),Ge=0;Ge<xt.length;Ge++)xt[Ge]=fe+xt[Ge]+Ft;He.replaceSelections(xt,"around"),xt=He.listSelections().slice();for(var Ge=0;Ge<xt.length;Ge++)xt[Ge]=ut(xt[Ge]);He.setSelections(xt)}else kt=="both"?(He.replaceSelection(fe+Ft,null),He.triggerElectric(fe+Ft),He.execCommand("goCharLeft")):kt=="addFour"&&(He.replaceSelection(fe+fe+fe+fe,"before"),He.execCommand("goCharRight"))})}function bt(He,Fe){var Te=He.getRange(pe(Fe.line,Fe.ch-1),pe(Fe.line,Fe.ch+1));return Te.length==2?Te:null}function it(He,Fe){var Te=He.getTokenAt(pe(Fe.line,Fe.ch+1));return/\bstring/.test(Te.type)&&Te.start==Fe.ch&&(Fe.ch==0||!/\bstring/.test(He.getTokenTypeAt(Fe)))}})},6313:function(Tn,cn,z){(function(b){b(z(89780),z(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(Ee,he,ut){if(ut!=b.Init&&ut&&Ee.removeKeyMap("autoCloseTags"),!!he){var Be={name:"autoCloseTags"};(typeof he!="object"||he.whenClosing!==!1)&&(Be["'/'"]=function(bt){return Se(bt)}),(typeof he!="object"||he.whenOpening!==!1)&&(Be["'>'"]=function(bt){return _e(bt)}),Ee.addKeyMap(Be)}});var Me=["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 _e(Ee){if(Ee.getOption("disableInput"))return b.Pass;for(var he=Ee.listSelections(),ut=[],Be=Ee.getOption("autoCloseTags"),bt=0;bt<he.length;bt++){if(!he[bt].empty())return b.Pass;var it=he[bt].head,He=Ee.getTokenAt(it),Fe=b.innerMode(Ee.getMode(),He.state),Te=Fe.state,ot=Fe.mode.xmlCurrentTag&&Fe.mode.xmlCurrentTag(Te),Ct=ot&&ot.name;if(!Ct)return b.Pass;var tn=Fe.mode.configuration=="html",se=typeof Be=="object"&&Be.dontCloseTags||tn&&Me,Ie=typeof Be=="object"&&Be.indentTags||tn&&pe;He.end>it.ch&&(Ct=Ct.slice(0,Ct.length-He.end+it.ch));var dt=Ct.toLowerCase();if(!Ct||He.type=="string"&&(He.end!=it.ch||!/[\"\']/.test(He.string.charAt(He.string.length-1))||He.string.length==1)||He.type=="tag"&&ot.close||He.string.indexOf("/")==it.ch-He.start-1||se&&Pe(se,dt)>-1||Xe(Ee,Fe.mode.xmlCurrentContext&&Fe.mode.xmlCurrentContext(Te)||[],Ct,it,!0))return b.Pass;var yt=typeof Be=="object"&&Be.emptyTags;if(yt&&Pe(yt,Ct)>-1){ut[bt]={text:"/>",newPos:b.Pos(it.line,it.ch+2)};continue}var kt=Ie&&Pe(Ie,dt)>-1;ut[bt]={indent:kt,text:">"+(kt?`
|
|
|
|
|
|
`:"")+"</"+Ct+">",newPos:kt?b.Pos(it.line+1,0):b.Pos(it.line,it.ch+1)}}for(var Ue=typeof Be=="object"&&Be.dontIndentOnAutoClose,bt=he.length-1;bt>=0;bt--){var Ke=ut[bt];Ee.replaceRange(Ke.text,he[bt].head,he[bt].anchor,"+insert");var ct=Ee.listSelections().slice(0);ct[bt]={head:Ke.newPos,anchor:Ke.newPos},Ee.setSelections(ct),!Ue&&Ke.indent&&(Ee.indentLine(Ke.newPos.line,null,!0),Ee.indentLine(Ke.newPos.line+1,null,!0))}}function we(Ee,he){for(var ut=Ee.listSelections(),Be=[],bt=he?"/":"</",it=Ee.getOption("autoCloseTags"),He=typeof it=="object"&&it.dontIndentOnSlash,Fe=0;Fe<ut.length;Fe++){if(!ut[Fe].empty())return b.Pass;var Te=ut[Fe].head,ot=Ee.getTokenAt(Te),Ct=b.innerMode(Ee.getMode(),ot.state),tn=Ct.state;if(he&&(ot.type=="string"||ot.string.charAt(0)!="<"||ot.start!=Te.ch-1))return b.Pass;var se,Ie=Ct.mode.name!="xml"&&Ee.getMode().name=="htmlmixed";if(Ie&&Ct.mode.name=="javascript")se=bt+"script";else if(Ie&&Ct.mode.name=="css")se=bt+"style";else{var dt=Ct.mode.xmlCurrentContext&&Ct.mode.xmlCurrentContext(tn);if(!dt||dt.length&&Xe(Ee,dt,dt[dt.length-1],Te))return b.Pass;se=bt+dt[dt.length-1]}Ee.getLine(Te.line).charAt(ot.end)!=">"&&(se+=">"),Be[Fe]=se}if(Ee.replaceSelections(Be),ut=Ee.listSelections(),!He)for(var Fe=0;Fe<ut.length;Fe++)(Fe==ut.length-1||ut[Fe].head.line<ut[Fe+1].head.line)&&Ee.indentLine(ut[Fe].head.line)}function Se(Ee){return Ee.getOption("disableInput")?b.Pass:we(Ee,!0)}b.commands.closeTag=function(Ee){return we(Ee)};function Pe(Ee,he){if(Ee.indexOf)return Ee.indexOf(he);for(var ut=0,Be=Ee.length;ut<Be;++ut)if(Ee[ut]==he)return ut;return-1}function Xe(Ee,he,ut,Be,bt){if(!b.scanForClosingTag)return!1;var it=Math.min(Ee.lastLine()+1,Be.line+500),He=b.scanForClosingTag(Ee,Be,null,it);if(!He||He.tag!=ut)return!1;for(var Fe=bt?1:0,Te=he.length-1;Te>=0&&he[Te]==ut;Te--)++Fe;Be=He.to;for(var Te=1;Te<Fe;Te++){var ot=b.scanForClosingTag(Ee,Be,null,it);if(!ot||ot.tag!=ut)return!1;Be=ot.to}return!0}})},32855:function(Tn,cn,z){(function(b){b(z(89780))})(function(b){"use strict";var Me=b.Pos;function pe(Te,ot){return Te.line-ot.line||Te.ch-ot.ch}var _e="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",we=_e+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Se=new RegExp("<(/?)(["+_e+"]["+we+"]*)","g");function Pe(Te,ot,Ct,tn){this.line=ot,this.ch=Ct,this.cm=Te,this.text=Te.getLine(ot),this.min=tn?Math.max(tn.from,Te.firstLine()):Te.firstLine(),this.max=tn?Math.min(tn.to-1,Te.lastLine()):Te.lastLine()}function Xe(Te,ot){var Ct=Te.cm.getTokenTypeAt(Me(Te.line,ot));return Ct&&/\btag\b/.test(Ct)}function Ee(Te){if(!(Te.line>=Te.max))return Te.ch=0,Te.text=Te.cm.getLine(++Te.line),!0}function he(Te){if(!(Te.line<=Te.min))return Te.text=Te.cm.getLine(--Te.line),Te.ch=Te.text.length,!0}function ut(Te){for(;;){var ot=Te.text.indexOf(">",Te.ch);if(ot==-1){if(Ee(Te))continue;return}if(!Xe(Te,ot+1)){Te.ch=ot+1;continue}var Ct=Te.text.lastIndexOf("/",ot),tn=Ct>-1&&!/\S/.test(Te.text.slice(Ct+1,ot));return Te.ch=ot+1,tn?"selfClose":"regular"}}function Be(Te){for(;;){var ot=Te.ch?Te.text.lastIndexOf("<",Te.ch-1):-1;if(ot==-1){if(he(Te))continue;return}if(!Xe(Te,ot+1)){Te.ch=ot;continue}Se.lastIndex=ot,Te.ch=ot;var Ct=Se.exec(Te.text);if(Ct&&Ct.index==ot)return Ct}}function bt(Te){for(;;){Se.lastIndex=Te.ch;var ot=Se.exec(Te.text);if(!ot){if(Ee(Te))continue;return}if(!Xe(Te,ot.index+1)){Te.ch=ot.index+1;continue}return Te.ch=ot.index+ot[0].length,ot}}function it(Te){for(;;){var ot=Te.ch?Te.text.lastIndexOf(">",Te.ch-1):-1;if(ot==-1){if(he(Te))continue;return}if(!Xe(Te,ot+1)){Te.ch=ot;continue}var Ct=Te.text.lastIndexOf("/",ot),tn=Ct>-1&&!/\S/.test(Te.text.slice(Ct+1,ot));return Te.ch=ot+1,tn?"selfClose":"regular"}}function He(Te,ot){for(var Ct=[];;){var tn=bt(Te),se,Ie=Te.line,dt=Te.ch-(tn?tn[0].length:0);if(!tn||!(se=ut(Te)))return;if(se!="selfClose")if(tn[1]){for(var yt=Ct.length-1;yt>=0;--yt)if(Ct[yt]==tn[2]){Ct.length=yt;break}if(yt<0&&(!ot||ot==tn[2]))return{tag:tn[2],from:Me(Ie,dt),to:Me(Te.line,Te.ch)}}else Ct.push(tn[2])}}function Fe(Te,ot){for(var Ct=[];;){var tn=it(Te);if(!tn)return;if(tn=="selfClose"){Be(Te);continue}var se=Te.line,Ie=Te.ch,dt=Be(Te);if(!dt)return;if(dt[1])Ct.push(dt[2]);else{for(var yt=Ct.length-1;yt>=0;--yt)if(Ct[yt]==dt[2]){Ct.length=yt;break}if(yt<0&&(!ot||ot==dt[2]))return{tag:dt[2],from:Me(Te.line,Te.ch),to:Me(se,Ie)}}}}b.registerHelper("fold","xml",function(Te,ot){for(var Ct=new Pe(Te,ot.line,0);;){var tn=bt(Ct);if(!tn||Ct.line!=ot.line)return;var se=ut(Ct);if(!se)return;if(!tn[1]&&se!="selfClose"){var Ie=Me(Ct.line,Ct.ch),dt=He(Ct,tn[2]);return dt&&pe(dt.from,Ie)>0?{from:Ie,to:dt.from}:null}}}),b.findMatchingTag=function(Te,ot,Ct){var tn=new Pe(Te,ot.line,ot.ch,Ct);if(!(tn.text.indexOf(">")==-1&&tn.text.indexOf("<")==-1)){var se=ut(tn),Ie=se&&Me(tn.line,tn.ch),dt=se&&Be(tn);if(!(!se||!dt||pe(tn,ot)>0)){var yt={from:Me(tn.line,tn.ch),to:Ie,tag:dt[2]};return se=="selfClose"?{open:yt,close:null,at:"open"}:dt[1]?{open:Fe(tn,dt[2]),close:yt,at:"close"}:(tn=new Pe(Te,Ie.line,Ie.ch,Ct),{open:yt,close:He(tn,dt[2]),at:"open"})}}},b.findEnclosingTag=function(Te,ot,Ct,tn){for(var se=new Pe(Te,ot.line,ot.ch,Ct);;){var Ie=Fe(se,tn);if(!Ie)break;var dt=new Pe(Te,ot.line,ot.ch,Ct),yt=He(dt,Ie.tag);if(yt)return{open:Ie,close:yt}}},b.scanForClosingTag=function(Te,ot,Ct,tn){var se=new Pe(Te,ot.line,ot.ch,tn?{from:0,to:tn}:null);return He(se,Ct)}})},89780:function(Tn){(function(cn,z){Tn.exports=z()})(this,function(){"use strict";var cn=navigator.userAgent,z=navigator.platform,b=/gecko\/\d/i.test(cn),Me=/MSIE \d/.test(cn),pe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(cn),_e=/Edge\/(\d+)/.exec(cn),we=Me||pe||_e,Se=we&&(Me?document.documentMode||6:+(_e||pe)[1]),Pe=!_e&&/WebKit\//.test(cn),Xe=Pe&&/Qt\/\d+\.\d+/.test(cn),Ee=!_e&&/Chrome\//.test(cn),he=/Opera\//.test(cn),ut=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(cn),bt=/PhantomJS/.test(cn),it=!_e&&/AppleWebKit/.test(cn)&&/Mobile\/\w+/.test(cn),He=/Android/.test(cn),Fe=it||He||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(cn),Te=it||/Mac/.test(z),ot=/\bCrOS\b/.test(cn),Ct=/win/i.test(z),tn=he&&cn.match(/Version\/(\d*\.\d*)/);tn&&(tn=Number(tn[1])),tn&&tn>=15&&(he=!1,Pe=!0);var se=Te&&(Xe||he&&(tn==null||tn<12.11)),Ie=b||we&&Se>=9;function dt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var yt=function(a,y){var E=a.className,x=dt(y).exec(E);if(x){var ee=E.slice(x.index+x[0].length);a.className=E.slice(0,x.index)+(ee?x[1]+ee:"")}};function kt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Ue(a,y){return kt(a).appendChild(y)}function Ke(a,y,E,x){var ee=document.createElement(a);if(E&&(ee.className=E),x&&(ee.style.cssText=x),typeof y=="string")ee.appendChild(document.createTextNode(y));else if(y)for(var ie=0;ie<y.length;++ie)ee.appendChild(y[ie]);return ee}function ct(a,y,E,x){var ee=Ke(a,y,E,x);return ee.setAttribute("role","presentation"),ee}var De;document.createRange?De=function(a,y,E,x){var ee=document.createRange();return ee.setEnd(x||a,E),ee.setStart(a,y),ee}:De=function(a,y,E){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(ee){return x}return x.collapse(!0),x.moveEnd("character",E),x.moveStart("character",y),x};function gt(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 Ye(){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 fe(a,y){var E=a.className;dt(y).test(E)||(a.className+=(E?" ":"")+y)}function Ft(a,y){for(var E=a.split(" "),x=0;x<E.length;x++)E[x]&&!dt(E[x]).test(y)&&(y+=" "+E[x]);return y}var Ge=function(a){a.select()};it?Ge=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:we&&(Ge=function(a){try{a.select()}catch(y){}});function xt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function fn(a,y,E){y||(y={});for(var x in a)a.hasOwnProperty(x)&&(E!==!1||!y.hasOwnProperty(x))&&(y[x]=a[x]);return y}function ke(a,y,E,x,ee){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ie=x||0,ce=ee||0;;){var Ce=a.indexOf(" ",ie);if(Ce<0||Ce>=y)return ce+(y-ie);ce+=Ce-ie,ce+=E-ce%E,ie=Ce+1}}var be=function(){this.id=null,this.f=null,this.time=0,this.handler=xt(this.onTimeout,this)};be.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},be.prototype.set=function(a,y){this.f=y;var E=+new Date+a;(!this.id||E<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=E)};function Yt(a,y){for(var E=0;E<a.length;++E)if(a[E]==y)return E;return-1}var ln=50,Xt={toString:function(){return"CodeMirror.Pass"}},ge={scroll:!1},Re={origin:"*mouse"},qe={origin:"+move"};function Vt(a,y,E){for(var x=0,ee=0;;){var ie=a.indexOf(" ",x);ie==-1&&(ie=a.length);var ce=ie-x;if(ie==a.length||ee+ce>=y)return x+Math.min(ce,y-ee);if(ee+=ie-x,ee+=E-ee%E,x=ie+1,ee>=y)return x}}var rt=[""];function Zt(a){for(;rt.length<=a;)rt.push(st(rt)+" ");return rt[a]}function st(a){return a[a.length-1]}function $t(a,y){for(var E=[],x=0;x<a.length;x++)E[x]=y(a[x],x);return E}function Nt(a,y,E){for(var x=0,ee=E(y);x<a.length&&E(a[x])<=ee;)x++;a.splice(x,0,y)}function le(){}function ne(a,y){var E;return Object.create?E=Object.create(a):(le.prototype=a,E=new le),y&&fn(y,E),E}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function de(a,y){return y?y.source.indexOf("\\w")>-1&&ae(a)?!0:y.test(a):ae(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var ue=/[\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 xe(a){return a.charCodeAt(0)>=768&&ue.test(a)}function tt(a,y,E){for(;(E<0?y>0:y<a.length)&&xe(a.charAt(y));)y+=E;return y}function Ve(a,y,E){for(var x=y>E?-1:1;;){if(y==E)return y;var ee=(y+E)/2,ie=x<0?Math.ceil(ee):Math.floor(ee);if(ie==y)return a(ie)?y:E;a(ie)?E=ie:y=ie+x}}function We(a,y,E,x){if(!a)return x(y,E,"ltr",0);for(var ee=!1,ie=0;ie<a.length;++ie){var ce=a[ie];(ce.from<E&&ce.to>y||y==E&&ce.to==y)&&(x(Math.max(ce.from,y),Math.min(ce.to,E),ce.level==1?"rtl":"ltr",ie),ee=!0)}ee||x(y,E,"ltr")}var lt=null;function ht(a,y,E){var x;lt=null;for(var ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.from<y&&ie.to>y)return ee;ie.to==y&&(ie.from!=ie.to&&E=="before"?x=ee:lt=ee),ie.from==y&&(ie.from!=ie.to&&E!="before"?x=ee:lt=ee)}return x!=null?x:lt}var Dt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function E(je){return je<=247?a.charAt(je):1424<=je&&je<=1524?"R":1536<=je&&je<=1785?y.charAt(je-1536):1774<=je&&je<=2220?"r":8192<=je&&je<=8203?"w":je==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,ie=/[LRr]/,ce=/[Lb1n]/,Ce=/[1n]/;function Ae(je,_t,hn){this.level=je,this.from=_t,this.to=hn}return function(je,_t){var hn=_t=="ltr"?"L":"R";if(je.length==0||_t=="ltr"&&!x.test(je))return!1;for(var Rn=je.length,Mn=[],vr=0;vr<Rn;++vr)Mn.push(E(je.charCodeAt(vr)));for(var Tr=0,ti=hn;Tr<Rn;++Tr){var hi=Mn[Tr];hi=="m"?Mn[Tr]=ti:ti=hi}for(var Oi=0,mi=hn;Oi<Rn;++Oi){var Hi=Mn[Oi];Hi=="1"&&mi=="r"?Mn[Oi]="n":ie.test(Hi)&&(mi=Hi,Hi=="r"&&(Mn[Oi]="R"))}for(var mo=1,io=Mn[0];mo<Rn-1;++mo){var Vo=Mn[mo];Vo=="+"&&io=="1"&&Mn[mo+1]=="1"?Mn[mo]="1":Vo==","&&io==Mn[mo+1]&&(io=="1"||io=="n")&&(Mn[mo]=io),io=Vo}for(var wa=0;wa<Rn;++wa){var cl=Mn[wa];if(cl==",")Mn[wa]="N";else if(cl=="%"){var Za=void 0;for(Za=wa+1;Za<Rn&&Mn[Za]=="%";++Za);for(var Rl=wa&&Mn[wa-1]=="!"||Za<Rn&&Mn[Za]=="1"?"1":"N",Il=wa;Il<Za;++Il)Mn[Il]=Rl;wa=Za-1}}for(var _a=0,Ol=hn;_a<Rn;++_a){var ml=Mn[_a];Ol=="L"&&ml=="1"?Mn[_a]="L":ie.test(ml)&&(Ol=ml)}for(var nl=0;nl<Rn;++nl)if(ee.test(Mn[nl])){var qa=void 0;for(qa=nl+1;qa<Rn&&ee.test(Mn[qa]);++qa);for(var ja=(nl?Mn[nl-1]:hn)=="L",Ml=(qa<Rn?Mn[qa]:hn)=="L",Qs=ja==Ml?ja?"L":"R":hn,Fs=nl;Fs<qa;++Fs)Mn[Fs]=Qs;nl=qa-1}for(var bl=[],ss,dl=0;dl<Rn;)if(ce.test(Mn[dl])){var Iu=dl;for(++dl;dl<Rn&&ce.test(Mn[dl]);++dl);bl.push(new Ae(0,Iu,dl))}else{var gs=dl,Ws=bl.length,js=_t=="rtl"?1:0;for(++dl;dl<Rn&&Mn[dl]!="L";++dl);for(var wl=gs;wl<dl;)if(Ce.test(Mn[wl])){gs<wl&&(bl.splice(Ws,0,new Ae(1,gs,wl)),Ws+=js);var Js=wl;for(++wl;wl<dl&&Ce.test(Mn[wl]);++wl);bl.splice(Ws,0,new Ae(2,Js,wl)),Ws+=js,gs=wl}else++wl;gs<dl&&bl.splice(Ws,0,new Ae(1,gs,dl))}return _t=="ltr"&&(bl[0].level==1&&(ss=je.match(/^\s+/))&&(bl[0].from=ss[0].length,bl.unshift(new Ae(0,0,ss[0].length))),st(bl).level==1&&(ss=je.match(/\s+$/))&&(st(bl).to-=ss[0].length,bl.push(new Ae(0,Rn-ss[0].length,Rn)))),_t=="rtl"?bl.reverse():bl}}();function Oe(a,y){var E=a.order;return E==null&&(E=a.order=Dt(a.text,y)),E}var ze=[],on=function(a,y,E){if(a.addEventListener)a.addEventListener(y,E,!1);else if(a.attachEvent)a.attachEvent("on"+y,E);else{var x=a._handlers||(a._handlers={});x[y]=(x[y]||ze).concat(E)}};function Rt(a,y){return a._handlers&&a._handlers[y]||ze}function vn(a,y,E){if(a.removeEventListener)a.removeEventListener(y,E,!1);else if(a.detachEvent)a.detachEvent("on"+y,E);else{var x=a._handlers,ee=x&&x[y];if(ee){var ie=Yt(ee,E);ie>-1&&(x[y]=ee.slice(0,ie).concat(ee.slice(ie+1)))}}}function Bt(a,y){var E=Rt(a,y);if(E.length)for(var x=Array.prototype.slice.call(arguments,2),ee=0;ee<E.length;++ee)E[ee].apply(null,x)}function at(a,y,E){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Bt(a,E||y.type,a,y),an(y)||y.codemirrorIgnore}function pt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var E=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<y.length;++x)Yt(E,y[x])==-1&&E.push(y[x])}function Gt(a,y){return Rt(a,y).length>0}function Je(a){a.prototype.on=function(y,E){on(this,y,E)},a.prototype.off=function(y,E){vn(this,y,E)}}function At(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Jt(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function an(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Le(a){At(a),Jt(a)}function Et(a){return a.target||a.srcElement}function zt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Te&&a.ctrlKey&&y==1&&(y=3),y}var rn=function(){if(we&&Se<9)return!1;var a=Ke("div");return"draggable"in a||"dragDrop"in a}(),yn;function Nn(a){if(yn==null){var y=Ke("span","\u200B");Ue(a,Ke("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(yn=y.offsetWidth<=1&&y.offsetHeight>2&&!(we&&Se<8))}var E=yn?Ke("span","\u200B"):Ke("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return E.setAttribute("cm-text",""),E}var Vn;function Xn(a){if(Vn!=null)return Vn;var y=Ue(a,document.createTextNode("A\u062EA")),E=De(y,0,1).getBoundingClientRect(),x=De(y,1,2).getBoundingClientRect();return kt(a),!E||E.left==E.right?!1:Vn=x.right-E.right<3}var Bn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,E=[],x=a.length;y<=x;){var ee=a.indexOf(`
|
|
|
`,y);ee==-1&&(ee=a.length);var ie=a.slice(y,a.charAt(ee-1)=="\r"?ee-1:ee),ce=ie.indexOf("\r");ce!=-1?(E.push(ie.slice(0,ce)),y+=ce+1):(E.push(ie),y=ee+1)}return E}:function(a){return a.split(/\r\n?|\n/)},jn=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(E){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},wt=function(){var a=Ke("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),mt=null;function qt(a){if(mt!=null)return mt;var y=Ue(a,Ke("span","x")),E=y.getBoundingClientRect(),x=De(y,0,1).getBoundingClientRect();return mt=Math.abs(E.left-x.left)>1}var jt={},Ot={};function bn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),jt[a]=y}function pn(a,y){Ot[a]=y}function On(a){if(typeof a=="string"&&Ot.hasOwnProperty(a))a=Ot[a];else if(a&&typeof a.name=="string"&&Ot.hasOwnProperty(a.name)){var y=Ot[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return On("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return On("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Qn(a,y){y=On(y);var E=jt[y.name];if(!E)return Qn(a,"text/plain");var x=E(a,y);if(Hn.hasOwnProperty(y.name)){var ee=Hn[y.name];for(var ie in ee)ee.hasOwnProperty(ie)&&(x.hasOwnProperty(ie)&&(x["_"+ie]=x[ie]),x[ie]=ee[ie])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var ce in y.modeProps)x[ce]=y.modeProps[ce];return x}var Hn={};function Dn(a,y){var E=Hn.hasOwnProperty(a)?Hn[a]:Hn[a]={};fn(y,E)}function ir(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var E={};for(var x in y){var ee=y[x];ee instanceof Array&&(ee=ee.concat([])),E[x]=ee}return E}function Fn(a,y){for(var E;a.innerMode&&(E=a.innerMode(y),!(!E||E.mode==a));)y=E.state,a=E.mode;return E||{mode:a,state:y}}function pr(a,y,E){return a.startState?a.startState(y,E):!0}var Dr=function(a,y,E){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};Dr.prototype.eol=function(){return this.pos>=this.string.length},Dr.prototype.sol=function(){return this.pos==this.lineStart},Dr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Dr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Dr.prototype.eat=function(a){var y=this.string.charAt(this.pos),E;if(typeof a=="string"?E=y==a:E=y&&(a.test?a.test(y):a(y)),E)return++this.pos,y},Dr.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Dr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Dr.prototype.skipToEnd=function(){this.pos=this.string.length},Dr.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Dr.prototype.backUp=function(a){this.pos-=a},Dr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ke(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ke(this.string,this.lineStart,this.tabSize):0)},Dr.prototype.indentation=function(){return ke(this.string,null,this.tabSize)-(this.lineStart?ke(this.string,this.lineStart,this.tabSize):0)},Dr.prototype.match=function(a,y,E){if(typeof a=="string"){var x=function(ce){return E?ce.toLowerCase():ce},ee=this.string.substr(this.pos,a.length);if(x(ee)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var ie=this.string.slice(this.pos).match(a);return ie&&ie.index>0?null:(ie&&y!==!1&&(this.pos+=ie[0].length),ie)}},Dr.prototype.current=function(){return this.string.slice(this.start,this.pos)},Dr.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Dr.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Dr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function xn(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 E=a;!E.lines;)for(var x=0;;++x){var ee=E.children[x],ie=ee.chunkSize();if(y<ie){E=ee;break}y-=ie}return E.lines[y]}function kn(a,y,E){var x=[],ee=y.line;return a.iter(y.line,E.line+1,function(ie){var ce=ie.text;ee==E.line&&(ce=ce.slice(0,E.ch)),ee==y.line&&(ce=ce.slice(y.ch)),x.push(ce),++ee}),x}function nr(a,y,E){var x=[];return a.iter(y,E,function(ee){x.push(ee.text)}),x}function rr(a,y){var E=y-a.height;if(E)for(var x=a;x;x=x.parent)x.height+=E}function Pt(a){if(a.parent==null)return null;for(var y=a.parent,E=Yt(y.lines,a),x=y.parent;x;y=x,x=x.parent)for(var ee=0;x.children[ee]!=y;++ee)E+=x.children[ee].chunkSize();return E+y.first}function Ut(a,y){var E=a.first;e:do{for(var x=0;x<a.children.length;++x){var ee=a.children[x],ie=ee.height;if(y<ie){a=ee;continue e}y-=ie,E+=ee.chunkSize()}return E}while(!a.lines);for(var ce=0;ce<a.lines.length;++ce){var Ce=a.lines[ce],Ae=Ce.height;if(y<Ae)break;y-=Ae}return E+ce}function nt(a,y){return y>=a.first&&y<a.first+a.size}function et(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Qe(a,y,E){if(E===void 0&&(E=null),!(this instanceof Qe))return new Qe(a,y,E);this.line=a,this.ch=y,this.sticky=E}function Mt(a,y){return a.line-y.line||a.ch-y.ch}function Ne(a,y){return a.sticky==y.sticky&&Mt(a,y)==0}function Kt(a){return Qe(a.line,a.ch)}function Qt(a,y){return Mt(a,y)<0?y:a}function un(a,y){return Mt(a,y)<0?a:y}function Tt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Lt(a,y){if(y.line<a.first)return Qe(a.first,0);var E=a.first+a.size-1;return y.line>E?Qe(E,xn(a,E).text.length):Wt(y,xn(a,y.line).text.length)}function Wt(a,y){var E=a.ch;return E==null||E>y?Qe(a.line,y):E<0?Qe(a.line,0):a}function nn(a,y){for(var E=[],x=0;x<y.length;x++)E[x]=Lt(a,y[x]);return E}var Wn=function(a,y){this.state=a,this.lookAhead=y},Zn=function(a,y,E,x){this.state=y,this.doc=a,this.line=E,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Zn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Zn.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}},Zn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Zn.fromSaved=function(a,y,E){return y instanceof Wn?new Zn(a,ir(a.mode,y.state),E,y.lookAhead):new Zn(a,ir(a.mode,y),E)},Zn.prototype.save=function(a){var y=a!==!1?ir(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Wn(y,this.maxLookAhead):y};function Yn(a,y,E,x){var ee=[a.state.modeGen],ie={};ri(a,y.text,a.doc.mode,E,function(je,_t){return ee.push(je,_t)},ie,x);for(var ce=E.state,Ce=function(je){E.baseTokens=ee;var _t=a.state.overlays[je],hn=1,Rn=0;E.state=!0,ri(a,y.text,_t.mode,E,function(Mn,vr){for(var Tr=hn;Rn<Mn;){var ti=ee[hn];ti>Mn&&ee.splice(hn,1,Mn,ee[hn+1],ti),hn+=2,Rn=Math.min(Mn,ti)}if(vr)if(_t.opaque)ee.splice(Tr,hn-Tr,Mn,"overlay "+vr),hn=Tr+2;else for(;Tr<hn;Tr+=2){var hi=ee[Tr+1];ee[Tr+1]=(hi?hi+" ":"")+"overlay "+vr}},ie),E.state=ce,E.baseTokens=null,E.baseTokenPos=1},Ae=0;Ae<a.state.overlays.length;++Ae)Ce(Ae);return{styles:ee,classes:ie.bgClass||ie.textClass?ie:null}}function Nr(a,y,E){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=zr(a,Pt(y)),ee=y.text.length>a.options.maxHighlightLength&&ir(a.doc.mode,x.state),ie=Yn(a,y,x);ee&&(x.state=ee),y.stateAfter=x.save(!ee),y.styles=ie.styles,ie.classes?y.styleClasses=ie.classes:y.styleClasses&&(y.styleClasses=null),E===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function zr(a,y,E){var x=a.doc,ee=a.display;if(!x.mode.startState)return new Zn(x,!0,y);var ie=ai(a,y,E),ce=ie>x.first&&xn(x,ie-1).stateAfter,Ce=ce?Zn.fromSaved(x,ce,ie):new Zn(x,pr(x.mode),ie);return x.iter(ie,y,function(Ae){Qr(a,Ae.text,Ce);var je=Ce.line;Ae.stateAfter=je==y-1||je%5==0||je>=ee.viewFrom&&je<ee.viewTo?Ce.save():null,Ce.nextLine()}),E&&(x.modeFrontier=Ce.line),Ce}function Qr(a,y,E,x){var ee=a.doc.mode,ie=new Dr(y,a.options.tabSize,E);for(ie.start=ie.pos=x||0,y==""&&Fr(ee,E.state);!ie.eol();)yr(ee,ie,E.state),ie.start=ie.pos}function Fr(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var E=Fn(a,y);if(E.mode.blankLine)return E.mode.blankLine(E.state)}}function yr(a,y,E,x){for(var ee=0;ee<10;ee++){x&&(x[0]=Fn(a,E).mode);var ie=a.token(y,E);if(y.pos>y.start)return ie}throw new Error("Mode "+a.name+" failed to advance stream.")}var Pr=function(a,y,E){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=E};function Vr(a,y,E,x){var ee=a.doc,ie=ee.mode,ce;y=Lt(ee,y);var Ce=xn(ee,y.line),Ae=zr(a,y.line,E),je=new Dr(Ce.text,a.options.tabSize,Ae),_t;for(x&&(_t=[]);(x||je.pos<y.ch)&&!je.eol();)je.start=je.pos,ce=yr(ie,je,Ae.state),x&&_t.push(new Pr(je,ce,ir(ee.mode,Ae.state)));return x?_t:new Pr(je,ce,Ae.state)}function ni(a,y){if(a)for(;;){var E=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!E)break;a=a.slice(0,E.index)+a.slice(E.index+E[0].length);var x=E[1]?"bgClass":"textClass";y[x]==null?y[x]=E[2]:new RegExp("(?:^|\\s)"+E[2]+"(?:$|\\s)").test(y[x])||(y[x]+=" "+E[2])}return a}function ri(a,y,E,x,ee,ie,ce){var Ce=E.flattenSpans;Ce==null&&(Ce=a.options.flattenSpans);var Ae=0,je=null,_t=new Dr(y,a.options.tabSize,x),hn,Rn=a.options.addModeClass&&[null];for(y==""&&ni(Fr(E,x.state),ie);!_t.eol();){if(_t.pos>a.options.maxHighlightLength?(Ce=!1,ce&&Qr(a,y,x,_t.pos),_t.pos=y.length,hn=null):hn=ni(yr(E,_t,x.state,Rn),ie),Rn){var Mn=Rn[0].name;Mn&&(hn="m-"+(hn?Mn+" "+hn:Mn))}if(!Ce||je!=hn){for(;Ae<_t.start;)Ae=Math.min(_t.start,Ae+5e3),ee(Ae,je);je=hn}_t.start=_t.pos}for(;Ae<_t.pos;){var vr=Math.min(_t.pos,Ae+5e3);ee(vr,je),Ae=vr}}function ai(a,y,E){for(var x,ee,ie=a.doc,ce=E?-1:y-(a.doc.mode.innerMode?1e3:100),Ce=y;Ce>ce;--Ce){if(Ce<=ie.first)return ie.first;var Ae=xn(ie,Ce-1),je=Ae.stateAfter;if(je&&(!E||Ce+(je instanceof Wn?je.lookAhead:0)<=ie.modeFrontier))return Ce;var _t=ke(Ae.text,null,a.options.tabSize);(ee==null||x>_t)&&(ee=Ce-1,x=_t)}return ee}function Br(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var E=a.first,x=y-1;x>E;x--){var ee=xn(a,x).stateAfter;if(ee&&(!(ee instanceof Wn)||x+ee.lookAhead<y)){E=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,E)}}var _r=!1,$r=!1;function Ri(){_r=!0}function Wi(){$r=!0}function Zi(a,y,E){this.marker=a,this.from=y,this.to=E}function zi(a,y){if(a)for(var E=0;E<a.length;++E){var x=a[E];if(x.marker==y)return x}}function _i(a,y){for(var E,x=0;x<a.length;++x)a[x]!=y&&(E||(E=[])).push(a[x]);return E}function wi(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function Mi(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],ce=ie.marker,Ce=ie.from==null||(ce.inclusiveLeft?ie.from<=y:ie.from<y);if(Ce||ie.from==y&&ce.type=="bookmark"&&(!E||!ie.marker.insertLeft)){var Ae=ie.to==null||(ce.inclusiveRight?ie.to>=y:ie.to>y);(x||(x=[])).push(new Zi(ce,ie.from,Ae?null:ie.to))}}return x}function fi(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],ce=ie.marker,Ce=ie.to==null||(ce.inclusiveRight?ie.to>=y:ie.to>y);if(Ce||ie.from==y&&ce.type=="bookmark"&&(!E||ie.marker.insertLeft)){var Ae=ie.from==null||(ce.inclusiveLeft?ie.from<=y:ie.from<y);(x||(x=[])).push(new Zi(ce,Ae?null:ie.from-y,ie.to==null?null:ie.to-y))}}return x}function $i(a,y){if(y.full)return null;var E=nt(a,y.from.line)&&xn(a,y.from.line).markedSpans,x=nt(a,y.to.line)&&xn(a,y.to.line).markedSpans;if(!E&&!x)return null;var ee=y.from.ch,ie=y.to.ch,ce=Mt(y.from,y.to)==0,Ce=Mi(E,ee,ce),Ae=fi(x,ie,ce),je=y.text.length==1,_t=st(y.text).length+(je?ee:0);if(Ce)for(var hn=0;hn<Ce.length;++hn){var Rn=Ce[hn];if(Rn.to==null){var Mn=zi(Ae,Rn.marker);Mn?je&&(Rn.to=Mn.to==null?null:Mn.to+_t):Rn.to=ee}}if(Ae)for(var vr=0;vr<Ae.length;++vr){var Tr=Ae[vr];if(Tr.to!=null&&(Tr.to+=_t),Tr.from==null){var ti=zi(Ce,Tr.marker);ti||(Tr.from=_t,je&&(Ce||(Ce=[])).push(Tr))}else Tr.from+=_t,je&&(Ce||(Ce=[])).push(Tr)}Ce&&(Ce=oo(Ce)),Ae&&Ae!=Ce&&(Ae=oo(Ae));var hi=[Ce];if(!je){var Oi=y.text.length-2,mi;if(Oi>0&&Ce)for(var Hi=0;Hi<Ce.length;++Hi)Ce[Hi].to==null&&(mi||(mi=[])).push(new Zi(Ce[Hi].marker,null,null));for(var mo=0;mo<Oi;++mo)hi.push(mi);hi.push(Ae)}return hi}function oo(a){for(var y=0;y<a.length;++y){var E=a[y];E.from!=null&&E.from==E.to&&E.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Ro(a,y,E){var x=null;if(a.iter(y.line,E.line+1,function(Mn){if(Mn.markedSpans)for(var vr=0;vr<Mn.markedSpans.length;++vr){var Tr=Mn.markedSpans[vr].marker;Tr.readOnly&&(!x||Yt(x,Tr)==-1)&&(x||(x=[])).push(Tr)}}),!x)return null;for(var ee=[{from:y,to:E}],ie=0;ie<x.length;++ie)for(var ce=x[ie],Ce=ce.find(0),Ae=0;Ae<ee.length;++Ae){var je=ee[Ae];if(!(Mt(je.to,Ce.from)<0||Mt(je.from,Ce.to)>0)){var _t=[Ae,1],hn=Mt(je.from,Ce.from),Rn=Mt(je.to,Ce.to);(hn<0||!ce.inclusiveLeft&&!hn)&&_t.push({from:je.from,to:Ce.from}),(Rn>0||!ce.inclusiveRight&&!Rn)&&_t.push({from:Ce.to,to:je.to}),ee.splice.apply(ee,_t),Ae+=_t.length-3}}return ee}function fo(a){var y=a.markedSpans;if(y){for(var E=0;E<y.length;++E)y[E].marker.detachLine(a);a.markedSpans=null}}function bo(a,y){if(y){for(var E=0;E<y.length;++E)y[E].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 E=a.lines.length-y.lines.length;if(E!=0)return E;var x=a.find(),ee=y.find(),ie=Mt(x.from,ee.from)||co(a)-co(y);if(ie)return-ie;var ce=Mt(x.to,ee.to)||yo(a)-yo(y);return ce||y.id-a.id}function Ai(a,y){var E=$r&&a.markedSpans,x;if(E)for(var ee=void 0,ie=0;ie<E.length;++ie)ee=E[ie],ee.marker.collapsed&&(y?ee.from:ee.to)==null&&(!x||Bi(x,ee.marker)<0)&&(x=ee.marker);return x}function Gr(a){return Ai(a,!0)}function Un(a){return Ai(a,!1)}function lr(a,y){var E=$r&&a.markedSpans,x;if(E)for(var ee=0;ee<E.length;++ee){var ie=E[ee];ie.marker.collapsed&&(ie.from==null||ie.from<y)&&(ie.to==null||ie.to>y)&&(!x||Bi(x,ie.marker)<0)&&(x=ie.marker)}return x}function cr(a,y,E,x,ee){var ie=xn(a,y),ce=$r&&ie.markedSpans;if(ce)for(var Ce=0;Ce<ce.length;++Ce){var Ae=ce[Ce];if(Ae.marker.collapsed){var je=Ae.marker.find(0),_t=Mt(je.from,E)||co(Ae.marker)-co(ee),hn=Mt(je.to,x)||yo(Ae.marker)-yo(ee);if(!(_t>=0&&hn<=0||_t<=0&&hn>=0)&&(_t<=0&&(Ae.marker.inclusiveRight&&ee.inclusiveLeft?Mt(je.to,E)>=0:Mt(je.to,E)>0)||_t>=0&&(Ae.marker.inclusiveRight&&ee.inclusiveLeft?Mt(je.from,x)<=0:Mt(je.from,x)<0)))return!0}}}function qn(a){for(var y;y=Gr(a);)a=y.find(-1,!0).line;return a}function Hr(a){for(var y;y=Un(a);)a=y.find(1,!0).line;return a}function qr(a){for(var y,E;y=Un(a);)a=y.find(1,!0).line,(E||(E=[])).push(a);return E}function or(a,y){var E=xn(a,y),x=qn(E);return E==x?y:Pt(x)}function Jn(a,y){if(y>a.lastLine())return y;var E=xn(a,y),x;if(!xr(a,E))return y;for(;x=Un(E);)E=x.find(1,!0).line;return Pt(E)+1}function xr(a,y){var E=$r&&y.markedSpans;if(E){for(var x=void 0,ee=0;ee<E.length;++ee)if(x=E[ee],!!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,E){if(E.to==null){var x=E.marker.find(1,!0);return Zr(a,x.line,zi(x.line.markedSpans,E.marker))}if(E.marker.inclusiveRight&&E.to==y.text.length)return!0;for(var ee=void 0,ie=0;ie<y.markedSpans.length;++ie)if(ee=y.markedSpans[ie],ee.marker.collapsed&&!ee.marker.widgetNode&&ee.from==E.to&&(ee.to==null||ee.to!=E.from)&&(ee.marker.inclusiveLeft||E.marker.inclusiveRight)&&Zr(a,y,ee))return!0}function ji(a){a=qn(a);for(var y=0,E=a.parent,x=0;x<E.lines.length;++x){var ee=E.lines[x];if(ee==a)break;y+=ee.height}for(var ie=E.parent;ie;E=ie,ie=E.parent)for(var ce=0;ce<ie.children.length;++ce){var Ce=ie.children[ce];if(Ce==E)break;y+=Ce.height}return y}function po(a){if(a.height==0)return 0;for(var y=a.text.length,E,x=a;E=Gr(x);){var ee=E.find(0,!0);x=ee.from.line,y+=ee.from.ch-ee.to.ch}for(x=a;E=Un(x);){var ie=E.find(0,!0);y-=x.text.length-ie.from.ch,x=ie.to.line,y+=x.text.length-ie.to.ch}return y}function ao(a){var y=a.display,E=a.doc;y.maxLine=xn(E,E.first),y.maxLineLength=po(y.maxLine),y.maxLineChanged=!0,E.iter(function(x){var ee=po(x);ee>y.maxLineLength&&(y.maxLineLength=ee,y.maxLine=x)})}var Io=function(a,y,E){this.text=a,bo(this,y),this.height=E?E(this):1};Io.prototype.lineNo=function(){return Pt(this)},Je(Io);function wo(a,y,E,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),fo(a),bo(a,E);var ee=x?x(a):1;ee!=a.height&&rr(a,ee)}function Co(a){a.parent=null,fo(a)}var Lo={},Oo={};function Mo(a,y){if(!a||/^\s*$/.test(a))return null;var E=y.addModeClass?Oo:Lo;return E[a]||(E[a]=a.replace(/\S+/g,"cm-$&"))}function ha(a,y){var E=ct("span",null,null,Pe?"padding-right: .1px":null),x={pre:ct("pre",[E],"CodeMirror-line"),content:E,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ee=0;ee<=(y.rest?y.rest.length:0);ee++){var ie=ee?y.rest[ee-1]:y.line,ce=void 0;x.pos=0,x.addToken=xa,Xn(a.display.measure)&&(ce=Oe(ie,a.doc.direction))&&(x.addToken=Da(x.addToken,ce)),x.map=[];var Ce=y!=a.display.externalMeasured&&Pt(ie);Ni(ie,x,Nr(a,ie,Ce)),ie.styleClasses&&(ie.styleClasses.bgClass&&(x.bgClass=Ft(ie.styleClasses.bgClass,x.bgClass||"")),ie.styleClasses.textClass&&(x.textClass=Ft(ie.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Nn(a.display.measure))),ee==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(Pe){var Ae=x.content.lastChild;(/\bcm-tab\b/.test(Ae.className)||Ae.querySelector&&Ae.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return Bt(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Ft(x.pre.className,x.textClass||"")),x}function Aa(a){var y=Ke("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function xa(a,y,E,x,ee,ie,ce){if(y){var Ce=a.splitSpaces?Fa(y,a.trailingSpace):y,Ae=a.cm.state.specialChars,je=!1,_t;if(!Ae.test(y))a.col+=y.length,_t=document.createTextNode(Ce),a.map.push(a.pos,a.pos+y.length,_t),we&&Se<9&&(je=!0),a.pos+=y.length;else{_t=document.createDocumentFragment();for(var hn=0;;){Ae.lastIndex=hn;var Rn=Ae.exec(y),Mn=Rn?Rn.index-hn:y.length-hn;if(Mn){var vr=document.createTextNode(Ce.slice(hn,hn+Mn));we&&Se<9?_t.appendChild(Ke("span",[vr])):_t.appendChild(vr),a.map.push(a.pos,a.pos+Mn,vr),a.col+=Mn,a.pos+=Mn}if(!Rn)break;hn+=Mn+1;var Tr=void 0;if(Rn[0]==" "){var ti=a.cm.options.tabSize,hi=ti-a.col%ti;Tr=_t.appendChild(Ke("span",Zt(hi),"cm-tab")),Tr.setAttribute("role","presentation"),Tr.setAttribute("cm-text"," "),a.col+=hi}else Rn[0]=="\r"||Rn[0]==`
|
|
|
`?(Tr=_t.appendChild(Ke("span",Rn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Tr.setAttribute("cm-text",Rn[0]),a.col+=1):(Tr=a.cm.options.specialCharPlaceholder(Rn[0]),Tr.setAttribute("cm-text",Rn[0]),we&&Se<9?_t.appendChild(Ke("span",[Tr])):_t.appendChild(Tr),a.col+=1);a.map.push(a.pos,a.pos+1,Tr),a.pos++}}if(a.trailingSpace=Ce.charCodeAt(y.length-1)==32,E||x||ee||je||ie||ce){var Oi=E||"";x&&(Oi+=x),ee&&(Oi+=ee);var mi=Ke("span",[_t],Oi,ie);if(ce)for(var Hi in ce)ce.hasOwnProperty(Hi)&&Hi!="style"&&Hi!="class"&&mi.setAttribute(Hi,ce[Hi]);return a.content.appendChild(mi)}a.content.appendChild(_t)}}function Fa(a,y){if(a.length>1&&!/ /.test(a))return a;for(var E=y,x="",ee=0;ee<a.length;ee++){var ie=a.charAt(ee);ie==" "&&E&&(ee==a.length-1||a.charCodeAt(ee+1)==32)&&(ie="\xA0"),x+=ie,E=ie==" "}return x}function Da(a,y){return function(E,x,ee,ie,ce,Ce,Ae){ee=ee?ee+" cm-force-border":"cm-force-border";for(var je=E.pos,_t=je+x.length;;){for(var hn=void 0,Rn=0;Rn<y.length&&(hn=y[Rn],!(hn.to>je&&hn.from<=je));Rn++);if(hn.to>=_t)return a(E,x,ee,ie,ce,Ce,Ae);a(E,x.slice(0,hn.to-je),ee,ie,null,Ce,Ae),ie=null,x=x.slice(hn.to-je),je=hn.to}}}function Gi(a,y,E,x){var ee=!x&&E.widgetNode;ee&&a.map.push(a.pos,a.pos+y,ee),!x&&a.cm.display.input.needsContentAttribute&&(ee||(ee=a.content.appendChild(document.createElement("span"))),ee.setAttribute("cm-marker",E.id)),ee&&(a.cm.display.input.setUneditable(ee),a.content.appendChild(ee)),a.pos+=y,a.trailingSpace=!1}function Ni(a,y,E){var x=a.markedSpans,ee=a.text,ie=0;if(!x){for(var ce=1;ce<E.length;ce+=2)y.addToken(y,ee.slice(ie,ie=E[ce]),Mo(E[ce+1],y.cm.options));return}for(var Ce=ee.length,Ae=0,je=1,_t="",hn,Rn,Mn=0,vr,Tr,ti,hi,Oi;;){if(Mn==Ae){vr=Tr=ti=Rn="",Oi=null,hi=null,Mn=1/0;for(var mi=[],Hi=void 0,mo=0;mo<x.length;++mo){var io=x[mo],Vo=io.marker;if(Vo.type=="bookmark"&&io.from==Ae&&Vo.widgetNode)mi.push(Vo);else if(io.from<=Ae&&(io.to==null||io.to>Ae||Vo.collapsed&&io.to==Ae&&io.from==Ae)){if(io.to!=null&&io.to!=Ae&&Mn>io.to&&(Mn=io.to,Tr=""),Vo.className&&(vr+=" "+Vo.className),Vo.css&&(Rn=(Rn?Rn+";":"")+Vo.css),Vo.startStyle&&io.from==Ae&&(ti+=" "+Vo.startStyle),Vo.endStyle&&io.to==Mn&&(Hi||(Hi=[])).push(Vo.endStyle,io.to),Vo.title&&((Oi||(Oi={})).title=Vo.title),Vo.attributes)for(var wa in Vo.attributes)(Oi||(Oi={}))[wa]=Vo.attributes[wa];Vo.collapsed&&(!hi||Bi(hi.marker,Vo)<0)&&(hi=io)}else io.from>Ae&&Mn>io.from&&(Mn=io.from)}if(Hi)for(var cl=0;cl<Hi.length;cl+=2)Hi[cl+1]==Mn&&(Tr+=" "+Hi[cl]);if(!hi||hi.from==Ae)for(var Za=0;Za<mi.length;++Za)Gi(y,0,mi[Za]);if(hi&&(hi.from||0)==Ae){if(Gi(y,(hi.to==null?Ce+1:hi.to)-Ae,hi.marker,hi.from==null),hi.to==null)return;hi.to==Ae&&(hi=!1)}}if(Ae>=Ce)break;for(var Rl=Math.min(Ce,Mn);;){if(_t){var Il=Ae+_t.length;if(!hi){var _a=Il>Rl?_t.slice(0,Rl-Ae):_t;y.addToken(y,_a,hn?hn+vr:vr,ti,Ae+_a.length==Mn?Tr:"",Rn,Oi)}if(Il>=Rl){_t=_t.slice(Rl-Ae),Ae=Rl;break}Ae=Il,ti=""}_t=ee.slice(ie,ie=E[je++]),hn=Mo(E[je++],y.cm.options)}}}function ea(a,y,E){this.line=y,this.rest=qr(y),this.size=this.rest?Pt(st(this.rest))-E+1:1,this.node=this.text=null,this.hidden=xr(a,y)}function ta(a,y,E){for(var x=[],ee,ie=y;ie<E;ie=ee){var ce=new ea(a.doc,xn(a.doc,ie),ie);ee=ie+ce.size,x.push(ce)}return x}var Xi=null;function Ho(a){Xi?Xi.ops.push(a):a.ownsGroup=Xi={ops:[a],delayedCallbacks:[]}}function _o(a){var y=a.delayedCallbacks,E=0;do{for(;E<y.length;E++)y[E].call(null);for(var x=0;x<a.ops.length;x++){var ee=a.ops[x];if(ee.cursorActivityHandlers)for(;ee.cursorActivityCalled<ee.cursorActivityHandlers.length;)ee.cursorActivityHandlers[ee.cursorActivityCalled++].call(null,ee.cm)}}while(E<y.length)}function ho(a,y){var E=a.ownsGroup;if(E)try{_o(E)}finally{Xi=null,y(E)}}var Zo=null;function Bo(a,y){var E=Rt(a,y);if(E.length){var x=Array.prototype.slice.call(arguments,2),ee;Xi?ee=Xi.delayedCallbacks:Zo?ee=Zo:(ee=Zo=[],setTimeout(La,0));for(var ie=function(Ce){ee.push(function(){return E[Ce].apply(null,x)})},ce=0;ce<E.length;++ce)ie(ce)}}function La(){var a=Zo;Zo=null;for(var y=0;y<a.length;++y)a[y]()}function rl(a,y,E,x){for(var ee=0;ee<y.changes.length;ee++){var ie=y.changes[ee];ie=="text"?jl(a,y):ie=="gutter"?xo(a,y,E,x):ie=="class"?qi(a,y):ie=="widget"&&Qi(a,y,x)}y.changes=null}function za(a){return a.node==a.text&&(a.node=Ke("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),we&&Se<8&&(a.node.style.zIndex=2)),a.node}function Ia(a,y){var E=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(E&&(E+=" CodeMirror-linebackground"),y.background)E?y.background.className=E:(y.background.parentNode.removeChild(y.background),y.background=null);else if(E){var x=za(y);y.background=x.insertBefore(Ke("div",null,E),x.firstChild),a.display.input.setUneditable(y.background)}}function Yl(a,y){var E=a.display.externalMeasured;return E&&E.line==y.line?(a.display.externalMeasured=null,y.measure=E.measure,E.built):ha(a,y)}function jl(a,y){var E=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)):E&&(y.text.className=E)}function qi(a,y){Ia(a,y),y.line.wrapClass?za(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var E=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=E||""}function xo(a,y,E,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 ee=za(y);y.gutterBackground=Ke("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),ee.insertBefore(y.gutterBackground,y.text)}var ie=y.line.gutterMarkers;if(a.options.lineNumbers||ie){var ce=za(y),Ce=y.gutter=Ke("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Ce),ce.insertBefore(Ce,y.text),y.line.gutterClass&&(Ce.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(y.lineNumber=Ce.appendChild(Ke("div",et(a.options,E),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var Ae=0;Ae<a.display.gutterSpecs.length;++Ae){var je=a.display.gutterSpecs[Ae].className,_t=ie.hasOwnProperty(je)&&ie[je];_t&&Ce.appendChild(Ke("div",[_t],"CodeMirror-gutter-elt","left: "+x.gutterLeft[je]+"px; width: "+x.gutterWidth[je]+"px"))}}}function Qi(a,y,E){y.alignable&&(y.alignable=null);for(var x=dt("CodeMirror-linewidget"),ee=y.node.firstChild,ie=void 0;ee;ee=ie)ie=ee.nextSibling,x.test(ee.className)&&y.node.removeChild(ee);ko(a,y,E)}function to(a,y,E,x){var ee=Yl(a,y);return y.text=y.node=ee.pre,ee.bgClass&&(y.bgClass=ee.bgClass),ee.textClass&&(y.textClass=ee.textClass),qi(a,y),xo(a,y,E,x),ko(a,y,x),y.node}function ko(a,y,E){if(da(a,y.line,y,E,!0),y.rest)for(var x=0;x<y.rest.length;x++)da(a,y.rest[x],y,E,!1)}function da(a,y,E,x,ee){if(y.widgets)for(var ie=za(E),ce=0,Ce=y.widgets;ce<Ce.length;++ce){var Ae=Ce[ce],je=Ke("div",[Ae.node],"CodeMirror-linewidget"+(Ae.className?" "+Ae.className:""));Ae.handleMouseEvents||je.setAttribute("cm-ignore-events","true"),Cl(Ae,je,E,x),a.display.input.setUneditable(je),ee&&Ae.above?ie.insertBefore(je,E.gutter||E.text):ie.appendChild(je),Bo(Ae,"redraw")}}function Cl(a,y,E,x){if(a.noHScroll){(E.alignable||(E.alignable=[])).push(y);var ee=x.wrapperWidth;y.style.left=x.fixedPos+"px",a.coverGutter||(ee-=x.gutterTotalWidth,y.style.paddingLeft=x.gutterTotalWidth+"px"),y.style.width=ee+"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(!gt(document.body,a.node)){var E="position: relative;";a.coverGutter&&(E+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(E+="width: "+y.display.wrapper.clientWidth+"px;"),Ue(y.display.measure,Ke("div",[a.node],null,E))}return a.height=a.node.parentNode.offsetHeight}function Ha(a,y){for(var E=Et(y);E!=a.wrapper;E=E.parentNode)if(!E||E.nodeType==1&&E.getAttribute("cm-ignore-events")=="true"||E.parentNode==a.sizer&&E!=a.mover)return!0}function Pa(a){return a.lineSpace.offsetTop}function vl(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Al(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Ue(a.measure,Ke("pre","x","CodeMirror-line-like")),E=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,x={left:parseInt(E.paddingLeft),right:parseInt(E.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function el(a){return ln-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,E){var x=a.options.lineWrapping,ee=x&&Dl(a);if(!y.measure.heights||x&&y.measure.width!=ee){var ie=y.measure.heights=[];if(x){y.measure.width=ee;for(var ce=y.text.firstChild.getClientRects(),Ce=0;Ce<ce.length-1;Ce++){var Ae=ce[Ce],je=ce[Ce+1];Math.abs(Ae.bottom-je.bottom)>2&&ie.push((Ae.bottom+je.top)/2-E.top)}}ie.push(E.bottom-E.top)}}function Vl(a,y,E){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 ee=0;ee<a.rest.length;ee++)if(Pt(a.rest[ee])>E)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function us(a,y){y=qn(y);var E=Pt(y),x=a.display.externalMeasured=new ea(a.doc,y,E);x.lineN=E;var ee=x.built=ha(a,x);return x.text=ee.pre,Ue(a.display.lineMeasure,ee.pre),x}function ys(a,y,E,x){return pl(a,Zl(a,y),E,x)}function il(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[Ll(a,y)];var E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size)return E}function Zl(a,y){var E=Pt(y),x=il(a,E);x&&!x.text?x=null:x&&x.changes&&(rl(a,x,E,Ul(a)),a.curOp.forceUpdate=!0),x||(x=us(a,y));var ee=Vl(x,y,E);return{line:y,view:x,rect:null,map:ee.map,cache:ee.cache,before:ee.before,hasHeights:!1}}function pl(a,y,E,x,ee){y.before&&(E=-1);var ie=E+(x||""),ce;return y.cache.hasOwnProperty(ie)?ce=y.cache[ie]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(xl(a,y.view,y.rect),y.hasHeights=!0),ce=ts(a,y,E,x),ce.bogus||(y.cache[ie]=ce)),{left:ce.left,right:ce.right,top:ee?ce.rtop:ce.top,bottom:ee?ce.rbottom:ce.bottom}}var Is={left:0,right:0,top:0,bottom:0};function Gl(a,y,E){for(var x,ee,ie,ce,Ce,Ae,je=0;je<a.length;je+=3)if(Ce=a[je],Ae=a[je+1],y<Ce?(ee=0,ie=1,ce="left"):y<Ae?(ee=y-Ce,ie=ee+1):(je==a.length-3||y==Ae&&a[je+3]>y)&&(ie=Ae-Ce,ee=ie-1,y>=Ae&&(ce="right")),ee!=null){if(x=a[je+2],Ce==Ae&&E==(x.insertLeft?"left":"right")&&(ce=E),E=="left"&&ee==0)for(;je&&a[je-2]==a[je-3]&&a[je-1].insertLeft;)x=a[(je-=3)+2],ce="left";if(E=="right"&&ee==Ae-Ce)for(;je<a.length-3&&a[je+3]==a[je+4]&&!a[je+5].insertLeft;)x=a[(je+=3)+2],ce="right";break}return{node:x,start:ee,end:ie,collapse:ce,coverStart:Ce,coverEnd:Ae}}function cs(a,y){var E=Is;if(y=="left")for(var x=0;x<a.length&&(E=a[x]).left==E.right;x++);else for(var ee=a.length-1;ee>=0&&(E=a[ee]).left==E.right;ee--);return E}function ts(a,y,E,x){var ee=Gl(y.map,E,x),ie=ee.node,ce=ee.start,Ce=ee.end,Ae=ee.collapse,je;if(ie.nodeType==3){for(var _t=0;_t<4;_t++){for(;ce&&xe(y.line.text.charAt(ee.coverStart+ce));)--ce;for(;ee.coverStart+Ce<ee.coverEnd&&xe(y.line.text.charAt(ee.coverStart+Ce));)++Ce;if(we&&Se<9&&ce==0&&Ce==ee.coverEnd-ee.coverStart?je=ie.parentNode.getBoundingClientRect():je=cs(De(ie,ce,Ce).getClientRects(),x),je.left||je.right||ce==0)break;Ce=ce,ce=ce-1,Ae="right"}we&&Se<11&&(je=_s(a.display.measure,je))}else{ce>0&&(Ae=x="right");var hn;a.options.lineWrapping&&(hn=ie.getClientRects()).length>1?je=hn[x=="right"?hn.length-1:0]:je=ie.getBoundingClientRect()}if(we&&Se<9&&!ce&&(!je||!je.left&&!je.right)){var Rn=ie.parentNode.getClientRects()[0];Rn?je={left:Rn.left,right:Rn.left+Bl(a.display),top:Rn.top,bottom:Rn.bottom}:je=Is}for(var Mn=je.top-y.rect.top,vr=je.bottom-y.rect.top,Tr=(Mn+vr)/2,ti=y.view.measure.heights,hi=0;hi<ti.length-1&&!(Tr<ti[hi]);hi++);var Oi=hi?ti[hi-1]:0,mi=ti[hi],Hi={left:(Ae=="right"?je.right:je.left)-y.rect.left,right:(Ae=="left"?je.left:je.right)-y.rect.left,top:Oi,bottom:mi};return!je.left&&!je.right&&(Hi.bogus=!0),a.options.singleCursorHeightPerLine||(Hi.rtop=Mn,Hi.rbottom=vr),Hi}function _s(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!qt(a))return y;var E=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*E,right:y.right*E,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,kt(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 Ee&&He?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function bs(){return Ee&&He?-(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 E=0;E<a.widgets.length;++E)a.widgets[E].above&&(y+=Ga(a.widgets[E]));return y}function fs(a,y,E,x,ee){if(!ee){var ie=$l(y);E.top+=ie,E.bottom+=ie}if(x=="line")return E;x||(x="local");var ce=ji(y);if(x=="local"?ce+=Pa(a.display):ce-=a.display.viewOffset,x=="page"||x=="window"){var Ce=a.display.lineSpace.getBoundingClientRect();ce+=Ce.top+(x=="window"?0:bs());var Ae=Ce.left+(x=="window"?0:ns());E.left+=Ae,E.right+=Ae}return E.top+=ce,E.bottom+=ce,E}function Cs(a,y,E){if(E=="div")return y;var x=y.left,ee=y.top;if(E=="page")x-=ns(),ee-=bs();else if(E=="local"||!E){var ie=a.display.sizer.getBoundingClientRect();x+=ie.left,ee+=ie.top}var ce=a.display.lineSpace.getBoundingClientRect();return{left:x-ce.left,top:ee-ce.top}}function Kl(a,y,E,x,ee){return x||(x=xn(a.doc,y.line)),fs(a,x,ys(a,x,y.ch,ee),E)}function Wa(a,y,E,x,ee,ie){x=x||xn(a.doc,y.line),ee||(ee=Zl(a,x));function ce(vr,Tr){var ti=pl(a,ee,vr,Tr?"right":"left",ie);return Tr?ti.left=ti.right:ti.right=ti.left,fs(a,x,ti,E)}var Ce=Oe(x,a.doc.direction),Ae=y.ch,je=y.sticky;if(Ae>=x.text.length?(Ae=x.text.length,je="before"):Ae<=0&&(Ae=0,je="after"),!Ce)return ce(je=="before"?Ae-1:Ae,je=="before");function _t(vr,Tr,ti){var hi=Ce[Tr],Oi=hi.level==1;return ce(ti?vr-1:vr,Oi!=ti)}var hn=ht(Ce,Ae,je),Rn=lt,Mn=_t(Ae,hn,je=="before");return Rn!=null&&(Mn.other=_t(Ae,Rn,je!="before")),Mn}function Ko(a,y){var E=0;y=Lt(a.doc,y),a.options.lineWrapping||(E=Bl(a.display)*y.ch);var x=xn(a.doc,y.line),ee=ji(x)+Pa(a.display);return{left:E,right:E,top:ee,bottom:ee+x.height}}function So(a,y,E,x,ee){var ie=Qe(a,y,E);return ie.xRel=ee,x&&(ie.outside=x),ie}function Ma(a,y,E){var x=a.doc;if(E+=a.display.viewOffset,E<0)return So(x.first,0,null,-1,-1);var ee=Ut(x,E),ie=x.first+x.size-1;if(ee>ie)return So(x.first+x.size-1,xn(x,ie).text.length,null,1,1);y<0&&(y=0);for(var ce=xn(x,ee);;){var Ce=Pl(a,ce,ee,y,E),Ae=lr(ce,Ce.ch+(Ce.xRel>0||Ce.outside>0?1:0));if(!Ae)return Ce;var je=Ae.find(1);if(je.line==ee)return je;ce=xn(x,ee=je.line)}}function tl(a,y,E,x){x-=$l(y);var ee=y.text.length,ie=Ve(function(ce){return pl(a,E,ce-1).bottom<=x},ee,0);return ee=Ve(function(ce){return pl(a,E,ce).top>x},ie,ee),{begin:ie,end:ee}}function Oa(a,y,E,x){E||(E=Zl(a,y));var ee=fs(a,y,pl(a,E,x),"line").top;return tl(a,y,E,ee)}function ka(a,y,E,x){return a.bottom<=E?!1:a.top>E?!0:(x?a.left:a.right)>y}function Pl(a,y,E,x,ee){ee-=ji(y);var ie=Zl(a,y),ce=$l(y),Ce=0,Ae=y.text.length,je=!0,_t=Oe(y,a.doc.direction);if(_t){var hn=(a.options.lineWrapping?Nl:Sl)(a,y,E,ie,_t,x,ee);je=hn.level!=1,Ce=je?hn.from:hn.to-1,Ae=je?hn.to:hn.from-1}var Rn=null,Mn=null,vr=Ve(function(mo){var io=pl(a,ie,mo);return io.top+=ce,io.bottom+=ce,ka(io,x,ee,!1)?(io.top<=ee&&io.left<=x&&(Rn=mo,Mn=io),!0):!1},Ce,Ae),Tr,ti,hi=!1;if(Mn){var Oi=x-Mn.left<Mn.right-x,mi=Oi==je;vr=Rn+(mi?0:1),ti=mi?"after":"before",Tr=Oi?Mn.left:Mn.right}else{!je&&(vr==Ae||vr==Ce)&&vr++,ti=vr==0?"after":vr==y.text.length?"before":pl(a,ie,vr-(je?1:0)).bottom+ce<=ee==je?"after":"before";var Hi=Wa(a,Qe(E,vr,ti),"line",y,ie);Tr=Hi.left,hi=ee<Hi.top?-1:ee>=Hi.bottom?1:0}return vr=tt(y.text,vr,1),So(E,vr,ti,hi,x-Tr)}function Sl(a,y,E,x,ee,ie,ce){var Ce=Ve(function(hn){var Rn=ee[hn],Mn=Rn.level!=1;return ka(Wa(a,Qe(E,Mn?Rn.to:Rn.from,Mn?"before":"after"),"line",y,x),ie,ce,!0)},0,ee.length-1),Ae=ee[Ce];if(Ce>0){var je=Ae.level!=1,_t=Wa(a,Qe(E,je?Ae.from:Ae.to,je?"after":"before"),"line",y,x);ka(_t,ie,ce,!0)&&_t.top>ce&&(Ae=ee[Ce-1])}return Ae}function Nl(a,y,E,x,ee,ie,ce){var Ce=tl(a,y,x,ce),Ae=Ce.begin,je=Ce.end;/\s/.test(y.text.charAt(je-1))&&je--;for(var _t=null,hn=null,Rn=0;Rn<ee.length;Rn++){var Mn=ee[Rn];if(!(Mn.from>=je||Mn.to<=Ae)){var vr=Mn.level!=1,Tr=pl(a,x,vr?Math.min(je,Mn.to)-1:Math.max(Ae,Mn.from)).right,ti=Tr<ie?ie-Tr+1e9:Tr-ie;(!_t||hn>ti)&&(_t=Mn,hn=ti)}}return _t||(_t=ee[ee.length-1]),_t.from<Ae&&(_t={from:Ae,to:_t.to,level:_t.level}),_t.to>je&&(_t={from:_t.from,to:je,level:_t.level}),_t}var ol;function fl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(ol==null){ol=Ke("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)ol.appendChild(document.createTextNode("x")),ol.appendChild(Ke("br"));ol.appendChild(document.createTextNode("x"))}Ue(a.measure,ol);var E=ol.offsetHeight/50;return E>3&&(a.cachedTextHeight=E),kt(a.measure),E||1}function Bl(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ke("span","xxxxxxxxxx"),E=Ke("pre",[y],"CodeMirror-line-like");Ue(a.measure,E);var x=y.getBoundingClientRect(),ee=(x.right-x.left)/10;return ee>2&&(a.cachedCharWidth=ee),ee||10}function Ul(a){for(var y=a.display,E={},x={},ee=y.gutters.clientLeft,ie=y.gutters.firstChild,ce=0;ie;ie=ie.nextSibling,++ce){var Ce=a.display.gutterSpecs[ce].className;E[Ce]=ie.offsetLeft+ie.clientLeft+ee,x[Ce]=ie.clientWidth}return{fixedPos:Os(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:E,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function Os(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Ms(a){var y=fl(a.display),E=a.options.lineWrapping,x=E&&Math.max(5,a.display.scroller.clientWidth/Bl(a.display)-3);return function(ee){if(xr(a.doc,ee))return 0;var ie=0;if(ee.widgets)for(var ce=0;ce<ee.widgets.length;ce++)ee.widgets[ce].height&&(ie+=ee.widgets[ce].height);return E?ie+(Math.ceil(ee.text.length/x)||1)*y:ie+y}}function rs(a){var y=a.doc,E=Ms(a);y.iter(function(x){var ee=E(x);ee!=x.height&&rr(x,ee)})}function zl(a,y,E,x){var ee=a.display;if(!E&&Et(y).getAttribute("cm-not-content")=="true")return null;var ie,ce,Ce=ee.lineSpace.getBoundingClientRect();try{ie=y.clientX-Ce.left,ce=y.clientY-Ce.top}catch(hn){return null}var Ae=Ma(a,ie,ce),je;if(x&&Ae.xRel>0&&(je=xn(a.doc,Ae.line).text).length==Ae.ch){var _t=ke(je,je.length,a.options.tabSize)-je.length;Ae=Qe(Ae.line,Math.max(0,Math.round((ie-Al(a.display).left)/Bl(a.display))-_t))}return Ae}function Ll(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var E=a.display.view,x=0;x<E.length;x++)if(y-=E[x].size,y<0)return x}function Xa(a,y,E,x){y==null&&(y=a.doc.first),E==null&&(E=a.doc.first+a.doc.size),x||(x=0);var ee=a.display;if(x&&E<ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>y)&&(ee.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ee.viewTo)$r&&or(a.doc,y)<ee.viewTo&&kl(a);else if(E<=ee.viewFrom)$r&&Jn(a.doc,E+x)>ee.viewFrom?kl(a):(ee.viewFrom+=x,ee.viewTo+=x);else if(y<=ee.viewFrom&&E>=ee.viewTo)kl(a);else if(y<=ee.viewFrom){var ie=xs(a,E,E+x,1);ie?(ee.view=ee.view.slice(ie.index),ee.viewFrom=ie.lineN,ee.viewTo+=x):kl(a)}else if(E>=ee.viewTo){var ce=xs(a,y,y,-1);ce?(ee.view=ee.view.slice(0,ce.index),ee.viewTo=ce.lineN):kl(a)}else{var Ce=xs(a,y,y,-1),Ae=xs(a,E,E+x,1);Ce&&Ae?(ee.view=ee.view.slice(0,Ce.index).concat(ta(a,Ce.lineN,Ae.lineN)).concat(ee.view.slice(Ae.index)),ee.viewTo+=x):kl(a)}var je=ee.externalMeasured;je&&(E<je.lineN?je.lineN+=x:y<je.lineN+je.size&&(ee.externalMeasured=null))}function Hl(a,y,E){a.curOp.viewChanged=!0;var x=a.display,ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size&&(x.externalMeasured=null),!(y<x.viewFrom||y>=x.viewTo)){var ie=x.view[Ll(a,y)];if(ie.node!=null){var ce=ie.changes||(ie.changes=[]);Yt(ce,E)==-1&&ce.push(E)}}}function kl(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function xs(a,y,E,x){var ee=Ll(a,y),ie,ce=a.display.view;if(!$r||E==a.doc.first+a.doc.size)return{index:ee,lineN:E};for(var Ce=a.display.viewFrom,Ae=0;Ae<ee;Ae++)Ce+=ce[Ae].size;if(Ce!=y){if(x>0){if(ee==ce.length-1)return null;ie=Ce+ce[ee].size-y,ee++}else ie=Ce-y;y+=ie,E+=ie}for(;or(a.doc,E)!=E;){if(ee==(x<0?0:ce.length-1))return null;E+=x*ce[ee-(x<0?1:0)].size,ee+=x}return{index:ee,lineN:E}}function Vs(a,y,E){var x=a.display,ee=x.view;ee.length==0||y>=x.viewTo||E<=x.viewFrom?(x.view=ta(a,y,E),x.viewFrom=y):(x.viewFrom>y?x.view=ta(a,y,x.viewFrom).concat(x.view):x.viewFrom<y&&(x.view=x.view.slice(Ll(a,y))),x.viewFrom=y,x.viewTo<E?x.view=x.view.concat(ta(a,x.viewTo,E)):x.viewTo>E&&(x.view=x.view.slice(0,Ll(a,E)))),x.viewTo=E}function Ss(a){for(var y=a.display.view,E=0,x=0;x<y.length;x++){var ee=y[x];!ee.hidden&&(!ee.node||ee.changes)&&++E}return E}function Ql(a){a.display.input.showSelection(a.display.input.prepareSelection())}function hu(a,y){y===void 0&&(y=!0);for(var E=a.doc,x={},ee=x.cursors=document.createDocumentFragment(),ie=x.selection=document.createDocumentFragment(),ce=0;ce<E.sel.ranges.length;ce++)if(!(!y&&ce==E.sel.primIndex)){var Ce=E.sel.ranges[ce];if(!(Ce.from().line>=a.display.viewTo||Ce.to().line<a.display.viewFrom)){var Ae=Ce.empty();(Ae||a.options.showCursorWhenSelecting)&&Ks(a,Ce.head,ee),Ae||xu(a,Ce,ie)}}return x}function Ks(a,y,E){var x=Wa(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ee=E.appendChild(Ke("div","\xA0","CodeMirror-cursor"));if(ee.style.left=x.left+"px",ee.style.top=x.top+"px",ee.style.height=Math.max(0,x.bottom-x.top)*a.options.cursorHeight+"px",x.other){var ie=E.appendChild(Ke("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ie.style.display="",ie.style.left=x.other.left+"px",ie.style.top=x.other.top+"px",ie.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,E){var x=a.display,ee=a.doc,ie=document.createDocumentFragment(),ce=Al(a.display),Ce=ce.left,Ae=Math.max(x.sizerWidth,Dl(a)-x.sizer.offsetLeft)-ce.right,je=ee.direction=="ltr";function _t(mi,Hi,mo,io){Hi<0&&(Hi=0),Hi=Math.round(Hi),io=Math.round(io),ie.appendChild(Ke("div",null,"CodeMirror-selected","position: absolute; left: "+mi+`px;
|
|
|
top: `+Hi+"px; width: "+(mo==null?Ae-mi:mo)+`px;
|
|
|
height: `+(io-Hi)+"px"))}function hn(mi,Hi,mo){var io=xn(ee,mi),Vo=io.text.length,wa,cl;function Za(_a,Ol){return Kl(a,Qe(mi,_a),"div",io,Ol)}function Rl(_a,Ol,ml){var nl=Oa(a,io,null,_a),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 Il=Oe(io,ee.direction);return We(Il,Hi||0,mo==null?Vo:mo,function(_a,Ol,ml,nl){var qa=ml=="ltr",ja=Za(_a,qa?"left":"right"),Ml=Za(Ol-1,qa?"right":"left"),Qs=Hi==null&&_a==0,Fs=mo==null&&Ol==Vo,bl=nl==0,ss=!Il||nl==Il.length-1;if(Ml.top-ja.top<=3){var dl=(je?Qs:Fs)&&bl,Iu=(je?Fs:Qs)&&ss,gs=dl?Ce:(qa?ja:Ml).left,Ws=Iu?Ae:(qa?Ml:ja).right;_t(gs,ja.top,Ws-gs,ja.bottom)}else{var js,wl,Js,Ou;qa?(js=je&&Qs&&bl?Ce:ja.left,wl=je?Ae:Rl(_a,ml,"before"),Js=je?Ce:Rl(Ol,ml,"after"),Ou=je&&Fs&&ss?Ae:Ml.right):(js=je?Rl(_a,ml,"before"):Ce,wl=!je&&Qs&&bl?Ae:ja.right,Js=!je&&Fs&&ss?Ce:Ml.left,Ou=je?Rl(Ol,ml,"after"):Ae),_t(js,ja.top,wl-js,ja.bottom),ja.bottom<Ml.top&&_t(Ce,ja.bottom,null,Ml.top),_t(Js,Ml.top,Ou-Js,Ml.bottom)}(!wa||hs(ja,wa)<0)&&(wa=ja),hs(Ml,wa)<0&&(wa=Ml),(!cl||hs(ja,cl)<0)&&(cl=ja),hs(Ml,cl)<0&&(cl=Ml)}),{start:wa,end:cl}}var Rn=y.from(),Mn=y.to();if(Rn.line==Mn.line)hn(Rn.line,Rn.ch,Mn.ch);else{var vr=xn(ee,Rn.line),Tr=xn(ee,Mn.line),ti=qn(vr)==qn(Tr),hi=hn(Rn.line,Rn.ch,ti?vr.text.length+1:null).end,Oi=hn(Mn.line,ti?0:null,Mn.ch).start;ti&&(hi.top<Oi.top-2?(_t(hi.right,hi.top,null,hi.bottom),_t(Ce,Oi.top,Oi.left,Oi.bottom)):_t(hi.right,hi.top,Oi.left-hi.right,hi.bottom)),hi.bottom<Oi.top&&_t(Ce,hi.bottom,null,Oi.top)}E.appendChild(ie)}function Ns(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var E=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||is(a),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function mu(a){a.state.focused||(a.display.input.focus(),Jl(a))}function Ls(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,is(a))},100)}function Jl(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Bt(a,"focus",a,y),a.state.focused=!0,fe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Pe&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ns(a))}function is(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Bt(a,"blur",a,y),a.state.focused=!1,yt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ji(a){for(var y=a.display,E=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var ee=y.view[x],ie=a.options.lineWrapping,ce=void 0,Ce=0;if(!ee.hidden){if(we&&Se<8){var Ae=ee.node.offsetTop+ee.node.offsetHeight;ce=Ae-E,E=Ae}else{var je=ee.node.getBoundingClientRect();ce=je.bottom-je.top,!ie&&ee.text.firstChild&&(Ce=ee.text.firstChild.getBoundingClientRect().right-je.left-1)}var _t=ee.line.height-ce;if((_t>.005||_t<-.005)&&(rr(ee.line,ce),os(ee.line),ee.rest))for(var hn=0;hn<ee.rest.length;hn++)os(ee.rest[hn]);if(Ce>a.display.sizerWidth){var Rn=Math.ceil(Ce/Bl(a.display));Rn>a.display.maxLineLength&&(a.display.maxLineLength=Rn,a.display.maxLine=ee.line,a.display.maxLineChanged=!0)}}}}function os(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var E=a.widgets[y],x=E.node.parentNode;x&&(E.height=x.offsetHeight)}}function oe(a,y,E){var x=E&&E.top!=null?Math.max(0,E.top):a.scroller.scrollTop;x=Math.floor(x-Pa(a));var ee=E&&E.bottom!=null?E.bottom:x+a.wrapper.clientHeight,ie=Ut(y,x),ce=Ut(y,ee);if(E&&E.ensure){var Ce=E.ensure.from.line,Ae=E.ensure.to.line;Ce<ie?(ie=Ce,ce=Ut(y,ji(xn(y,Ce))+a.wrapper.clientHeight)):Math.min(Ae,y.lastLine())>=ce&&(ie=Ut(y,ji(xn(y,Ae))-a.wrapper.clientHeight),ce=Ae)}return{from:ie,to:Math.max(ce,ie+1)}}function ye(a,y){if(!at(a,"scrollCursorIntoView")){var E=a.display,x=E.sizer.getBoundingClientRect(),ee=null;if(y.top+x.top<0?ee=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(ee=!1),ee!=null&&!bt){var ie=Ke("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-E.viewOffset-Pa(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+el(a)+E.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ie),ie.scrollIntoView(ee),a.display.lineSpace.removeChild(ie)}}}function Ze(a,y,E,x){x==null&&(x=0);var ee;!a.options.lineWrapping&&y==E&&(y=y.ch?Qe(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,E=y.sticky=="before"?Qe(y.line,y.ch+1,"before"):y);for(var ie=0;ie<5;ie++){var ce=!1,Ce=Wa(a,y),Ae=!E||E==y?Ce:Wa(a,E);ee={left:Math.min(Ce.left,Ae.left),top:Math.min(Ce.top,Ae.top)-x,right:Math.max(Ce.left,Ae.left),bottom:Math.max(Ce.bottom,Ae.bottom)+x};var je=St(a,ee),_t=a.doc.scrollTop,hn=a.doc.scrollLeft;if(je.scrollTop!=null&&(er(a,je.scrollTop),Math.abs(a.doc.scrollTop-_t)>1&&(ce=!0)),je.scrollLeft!=null&&(ar(a,je.scrollLeft),Math.abs(a.doc.scrollLeft-hn)>1&&(ce=!0)),!ce)break}return ee}function vt(a,y){var E=St(a,y);E.scrollTop!=null&&er(a,E.scrollTop),E.scrollLeft!=null&&ar(a,E.scrollLeft)}function St(a,y){var E=a.display,x=fl(a.display);y.top<0&&(y.top=0);var ee=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:E.scroller.scrollTop,ie=Ao(a),ce={};y.bottom-y.top>ie&&(y.bottom=y.top+ie);var Ce=a.doc.height+vl(E),Ae=y.top<x,je=y.bottom>Ce-x;if(y.top<ee)ce.scrollTop=Ae?0:y.top;else if(y.bottom>ee+ie){var _t=Math.min(y.top,(je?Ce:y.bottom)-ie);_t!=ee&&(ce.scrollTop=_t)}var hn=a.options.fixedGutter?0:E.gutters.offsetWidth,Rn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:E.scroller.scrollLeft-hn,Mn=Dl(a)-E.gutters.offsetWidth,vr=y.right-y.left>Mn;return vr&&(y.right=y.left+Mn),y.left<10?ce.scrollLeft=0:y.left<Rn?ce.scrollLeft=Math.max(0,y.left+hn-(vr?0:10)):y.right>Mn+Rn-3&&(ce.scrollLeft=y.right+(vr?0:10)-Mn),ce}function dn(a,y){y!=null&&(Gn(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Sn(a){Gn(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function wn(a,y,E){(y!=null||E!=null)&&Gn(a),y!=null&&(a.curOp.scrollLeft=y),E!=null&&(a.curOp.scrollTop=E)}function zn(a,y){Gn(a),a.curOp.scrollToPos=y}function Gn(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var E=Ko(a,y.from),x=Ko(a,y.to);An(a,E,x,y.margin)}}function An(a,y,E,x){var ee=St(a,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-x,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+x});wn(a,ee.scrollLeft,ee.scrollTop)}function er(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,E){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!E)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function ar(a,y,E,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((E?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,$e(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function tr(a){var y=a.display,E=y.gutters.offsetWidth,x=Math.round(a.doc.height+vl(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?E:0,docHeight:x,scrollHeight:x+el(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var dr=function(a,y,E){this.cm=E;var x=this.vert=Ke("div",[Ke("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=Ke("div",[Ke("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ee.tabIndex=-1,a(x),a(ee),on(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),on(ee,"scroll",function(){ee.clientWidth&&y(ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,we&&Se<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};dr.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,E=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var ee=a.viewHeight-(y?x:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var ie=a.viewWidth-a.barLeft-(E?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ie)+"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:E?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=Te&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new be,this.disableVert=new be},dr.prototype.enableZeroWidthBar=function(a,y,E){a.style.pointerEvents="auto";function x(){var ee=a.getBoundingClientRect(),ie=E=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);ie!=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=tr(a));var E=a.display.barWidth,x=a.display.barHeight;Yr(a,y);for(var ee=0;ee<4&&E!=a.display.barWidth||x!=a.display.barHeight;ee++)E!=a.display.barWidth&&a.options.lineWrapping&&Ji(a),Yr(a,tr(a)),E=a.display.barWidth,x=a.display.barHeight}function Yr(a,y){var E=a.display,x=E.scrollbars.update(y);E.sizer.style.paddingRight=(E.barWidth=x.right)+"px",E.sizer.style.paddingBottom=(E.barHeight=x.bottom)+"px",E.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(E.scrollbarFiller.style.display="block",E.scrollbarFiller.style.height=x.bottom+"px",E.scrollbarFiller.style.width=x.right+"px"):E.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(E.gutterFiller.style.display="block",E.gutterFiller.style.height=x.bottom+"px",E.gutterFiller.style.width=y.gutterWidth+"px"):E.gutterFiller.style.display=""}var kr={native:dr,null:hr};function Sr(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&yt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new kr[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),on(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,E){E=="horizontal"?ar(a,y):er(a,y)},a),a.display.scrollbars.addClass&&fe(a.display.wrapper,a.display.scrollbars.addClass)}var Jr=0;function Or(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:++Jr},Ho(a.curOp)}function Rr(a){var y=a.curOp;y&&ho(y,function(E){for(var x=0;x<E.ops.length;x++)E.ops[x].cm.curOp=null;Ii(E)})}function Ii(a){for(var y=a.ops,E=0;E<y.length;E++)vi(y[E]);for(var x=0;x<y.length;x++)yi(y[x]);for(var ee=0;ee<y.length;ee++)di(y[ee]);for(var ie=0;ie<y.length;ie++)ki(y[ie]);for(var ce=0;ce<y.length;ce++)xi(y[ce])}function vi(a){var y=a.cm,E=y.display;Ei(y),a.updateMaxLine&&ao(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<E.viewFrom||a.scrollToPos.to.line>=E.viewTo)||E.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new pi(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,E=y.display;a.updatedDisplay&&Ji(y),a.barMeasure=tr(y),E.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ys(y,E.maxLine,E.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(E.scroller.clientWidth,E.sizer.offsetLeft+a.adjustWidthTo+el(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,E.sizer.offsetLeft+a.adjustWidthTo-Dl(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=E.input.prepareSelection())}function ki(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 E=a.focus&&a.focus==Ye();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,E),(a.updatedDisplay||a.startHeight!=y.doc.height)&&mr(y,a.barMeasure),a.updatedDisplay&&me(y,a.barMeasure),a.selectionChanged&&Ns(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),E&&mu(a.cm)}function xi(a){var y=a.cm,E=y.display,x=y.doc;if(a.updatedDisplay&&Ki(y,a.update),E.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(E.wheelStartX=E.wheelStartY=null),a.scrollTop!=null&&sr(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&ar(y,a.scrollLeft,!0,!0),a.scrollToPos){var ee=Ze(y,Lt(x,a.scrollToPos.from),Lt(x,a.scrollToPos.to),a.scrollToPos.margin);ye(y,ee)}var ie=a.maybeHiddenMarkers,ce=a.maybeUnhiddenMarkers;if(ie)for(var Ce=0;Ce<ie.length;++Ce)ie[Ce].lines.length||Bt(ie[Ce],"hide");if(ce)for(var Ae=0;Ae<ce.length;++Ae)ce[Ae].lines.length&&Bt(ce[Ae],"unhide");E.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Bt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ii(a,y){if(a.curOp)return y();Or(a);try{return y()}finally{Rr(a)}}function Xr(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Or(a);try{return y.apply(a,arguments)}finally{Rr(a)}}}function si(a){return function(){if(this.curOp)return a.apply(this,arguments);Or(this);try{return a.apply(this,arguments)}finally{Rr(this)}}}function li(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Or(y);try{return a.apply(this,arguments)}finally{Rr(y)}}}function Vi(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,xt(Ti,a))}function Ti(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var E=+new Date+a.options.workTime,x=zr(a,y.highlightFrontier),ee=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ie){if(x.line>=a.display.viewFrom){var ce=ie.styles,Ce=ie.text.length>a.options.maxHighlightLength?ir(y.mode,x.state):null,Ae=Yn(a,ie,x,!0);Ce&&(x.state=Ce),ie.styles=Ae.styles;var je=ie.styleClasses,_t=Ae.classes;_t?ie.styleClasses=_t:je&&(ie.styleClasses=null);for(var hn=!ce||ce.length!=ie.styles.length||je!=_t&&(!je||!_t||je.bgClass!=_t.bgClass||je.textClass!=_t.textClass),Rn=0;!hn&&Rn<ce.length;++Rn)hn=ce[Rn]!=ie.styles[Rn];hn&&ee.push(x.line),ie.stateAfter=x.save(),x.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&Qr(a,ie.text,x),ie.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>E)return Vi(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),ee.length&&ii(a,function(){for(var ie=0;ie<ee.length;ie++)Hl(a,ee[ie],"text")})}}var pi=function(a,y,E){var x=a.display;this.viewport=y,this.visible=oe(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=E,this.dims=Ul(a),this.events=[]};pi.prototype.signal=function(a,y){Gt(a,y)&&this.events.push(arguments)},pi.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Bt.apply(null,this.events[a])};function Ei(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=Ye();if(!y||!gt(a.display.lineDiv,y))return null;var E={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&>(a.display.lineDiv,x.anchorNode)&&(E.anchorNode=x.anchorNode,E.anchorOffset=x.anchorOffset,E.focusNode=x.focusNode,E.focusOffset=x.focusOffset)}return E}function bi(a){if(!(!a||!a.activeElt||a.activeElt==Ye())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&>(document.body,a.anchorNode)&>(document.body,a.focusNode))){var y=window.getSelection(),E=document.createRange();E.setEnd(a.anchorNode,a.anchorOffset),E.collapse(!1),y.removeAllRanges(),y.addRange(E),y.extend(a.focusNode,a.focusOffset)}}function gi(a,y){var E=a.display,x=a.doc;if(y.editorIsHidden)return kl(a),!1;if(!y.force&&y.visible.from>=E.viewFrom&&y.visible.to<=E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo)&&E.renderedView==E.view&&Ss(a)==0)return!1;ft(a)&&(kl(a),y.dims=Ul(a));var ee=x.first+x.size,ie=Math.max(y.visible.from-a.options.viewportMargin,x.first),ce=Math.min(ee,y.visible.to+a.options.viewportMargin);E.viewFrom<ie&&ie-E.viewFrom<20&&(ie=Math.max(x.first,E.viewFrom)),E.viewTo>ce&&E.viewTo-ce<20&&(ce=Math.min(ee,E.viewTo)),$r&&(ie=or(a.doc,ie),ce=Jn(a.doc,ce));var Ce=ie!=E.viewFrom||ce!=E.viewTo||E.lastWrapHeight!=y.wrapperHeight||E.lastWrapWidth!=y.wrapperWidth;Vs(a,ie,ce),E.viewOffset=ji(xn(a.doc,E.viewFrom)),a.display.mover.style.top=E.viewOffset+"px";var Ae=Ss(a);if(!Ce&&Ae==0&&!y.force&&E.renderedView==E.view&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo))return!1;var je=oi(a);return Ae>4&&(E.lineDiv.style.display="none"),uo(a,E.updateLineNumbers,y.dims),Ae>4&&(E.lineDiv.style.display=""),E.renderedView=E.view,bi(je),kt(E.cursorDiv),kt(E.selectionDiv),E.gutters.style.height=E.sizer.style.minHeight=0,Ce&&(E.lastWrapHeight=y.wrapperHeight,E.lastWrapWidth=y.wrapperWidth,Vi(a,400)),E.updateLineNumbers=null,!0}function Ki(a,y){for(var E=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==Dl(a)){if(E&&E.top!=null&&(E={top:Math.min(a.doc.height+vl(a.display)-Ao(a),E.top)}),y.visible=oe(a.display,a.doc,E),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=oe(a.display,a.doc,E));if(!gi(a,y))break;Ji(a);var ee=tr(a);Ql(a),mr(a,ee),me(a,ee),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 E=new pi(a,y);if(gi(a,E)){Ji(a),Ki(a,E);var x=tr(a);Ql(a),mr(a,x),me(a,x),E.finish()}}function uo(a,y,E){var x=a.display,ee=a.options.lineNumbers,ie=x.lineDiv,ce=ie.firstChild;function Ce(vr){var Tr=vr.nextSibling;return Pe&&Te&&a.display.currentWheelTarget==vr?vr.style.display="none":vr.parentNode.removeChild(vr),Tr}for(var Ae=x.view,je=x.viewFrom,_t=0;_t<Ae.length;_t++){var hn=Ae[_t];if(!hn.hidden)if(!hn.node||hn.node.parentNode!=ie){var Rn=to(a,hn,je,E);ie.insertBefore(Rn,ce)}else{for(;ce!=hn.node;)ce=Ce(ce);var Mn=ee&&y!=null&&y<=je&&hn.lineNumber;hn.changes&&(Yt(hn.changes,"gutter")>-1&&(Mn=!1),rl(a,hn,je,E)),Mn&&(kt(hn.lineNumber),hn.lineNumber.appendChild(document.createTextNode(et(a.options,je)))),ce=hn.node.nextSibling}je+=hn.size}for(;ce;)ce=Ce(ce)}function ve(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 $e(a){var y=a.display,E=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=Os(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ee=y.gutters.offsetWidth,ie=x+"px",ce=0;ce<E.length;ce++)if(!E[ce].hidden){a.options.fixedGutter&&(E[ce].gutter&&(E[ce].gutter.style.left=ie),E[ce].gutterBackground&&(E[ce].gutterBackground.style.left=ie));var Ce=E[ce].alignable;if(Ce)for(var Ae=0;Ae<Ce.length;Ae++)Ce[Ae].style.left=ie}a.options.fixedGutter&&(y.gutters.style.left=x+ee+"px")}}function ft(a){if(!a.options.lineNumbers)return!1;var y=a.doc,E=et(a.options,y.first+y.size-1),x=a.display;if(E.length!=x.lineNumChars){var ee=x.measure.appendChild(Ke("div",[Ke("div",E)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ie=ee.firstChild.offsetWidth,ce=ee.offsetWidth-ie;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(ie,x.lineGutter.offsetWidth-ce)+1,x.lineNumWidth=x.lineNumInnerWidth+ce,x.lineNumChars=x.lineNumInnerWidth?E.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",ve(a.display),!0}return!1}function It(a,y){for(var E=[],x=!1,ee=0;ee<a.length;ee++){var ie=a[ee],ce=null;if(typeof ie!="string"&&(ce=ie.style,ie=ie.className),ie=="CodeMirror-linenumbers")if(y)x=!0;else continue;E.push({className:ie,style:ce})}return y&&!x&&E.push({className:"CodeMirror-linenumbers",style:null}),E}function Ht(a){var y=a.gutters,E=a.gutterSpecs;kt(y),a.lineGutter=null;for(var x=0;x<E.length;++x){var ee=E[x],ie=ee.className,ce=ee.style,Ce=y.appendChild(Ke("div",null,"CodeMirror-gutter "+ie));ce&&(Ce.style.cssText=ce),ie=="CodeMirror-linenumbers"&&(a.lineGutter=Ce,Ce.style.width=(a.lineNumWidth||1)+"px")}y.style.display=E.length?"":"none",ve(a)}function sn(a){Ht(a.display),Xa(a),$e(a)}function en(a,y,E,x){var ee=this;this.input=E,ee.scrollbarFiller=Ke("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=Ke("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=ct("div",null,"CodeMirror-code"),ee.selectionDiv=Ke("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=Ke("div",null,"CodeMirror-cursors"),ee.measure=Ke("div",null,"CodeMirror-measure"),ee.lineMeasure=Ke("div",null,"CodeMirror-measure"),ee.lineSpace=ct("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var ie=ct("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=Ke("div",[ie],null,"position: relative"),ee.sizer=Ke("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=Ke("div",null,null,"position: absolute; height: "+ln+"px; width: 1px;"),ee.gutters=Ke("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=Ke("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=Ke("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),we&&Se<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!Pe&&!(b&&Fe)&&(ee.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ee.wrapper):a(ee.wrapper)),ee.viewFrom=ee.viewTo=y.first,ee.reportedViewFrom=ee.reportedViewTo=y.first,ee.view=[],ee.renderedView=null,ee.externalMeasured=null,ee.viewOffset=0,ee.lastWrapHeight=ee.lastWrapWidth=0,ee.updateLineNumbers=null,ee.nativeBarWidth=ee.barHeight=ee.barWidth=0,ee.scrollbarsClipped=!1,ee.lineNumWidth=ee.lineNumInnerWidth=ee.lineNumChars=null,ee.alignWidgets=!1,ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.maxLine=null,ee.maxLineLength=0,ee.maxLineChanged=!1,ee.wheelDX=ee.wheelDY=ee.wheelStartX=ee.wheelStartY=null,ee.shift=!1,ee.selForContextMenu=null,ee.activeTouch=null,ee.gutterSpecs=It(x.gutters,x.lineNumbers),Ht(ee),E.init(ee)}var mn=0,gn=null;we?gn=-.53:b?gn=15:Ee?gn=-.7:ut&&(gn=-1/3);function Ln(a){var y=a.wheelDeltaX,E=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),E==null&&a.detail&&a.axis==a.VERTICAL_AXIS?E=a.detail:E==null&&(E=a.wheelDelta),{x:y,y:E}}function In(a){var y=Ln(a);return y.x*=gn,y.y*=gn,y}function Pn(a,y){var E=Ln(y),x=E.x,ee=E.y,ie=a.display,ce=ie.scroller,Ce=ce.scrollWidth>ce.clientWidth,Ae=ce.scrollHeight>ce.clientHeight;if(x&&Ce||ee&&Ae){if(ee&&Te&&Pe){e:for(var je=y.target,_t=ie.view;je!=ce;je=je.parentNode)for(var hn=0;hn<_t.length;hn++)if(_t[hn].node==je){a.display.currentWheelTarget=je;break e}}if(x&&!b&&!he&&gn!=null){ee&&Ae&&er(a,Math.max(0,ce.scrollTop+ee*gn)),ar(a,Math.max(0,ce.scrollLeft+x*gn)),(!ee||ee&&Ae)&&At(y),ie.wheelStartX=null;return}if(ee&&gn!=null){var Rn=ee*gn,Mn=a.doc.scrollTop,vr=Mn+ie.wrapper.clientHeight;Rn<0?Mn=Math.max(0,Mn+Rn-50):vr=Math.min(a.doc.height,vr+Rn+50),lo(a,{top:Mn,bottom:vr})}mn<20&&(ie.wheelStartX==null?(ie.wheelStartX=ce.scrollLeft,ie.wheelStartY=ce.scrollTop,ie.wheelDX=x,ie.wheelDY=ee,setTimeout(function(){if(ie.wheelStartX!=null){var Tr=ce.scrollLeft-ie.wheelStartX,ti=ce.scrollTop-ie.wheelStartY,hi=ti&&ie.wheelDY&&ti/ie.wheelDY||Tr&&ie.wheelDX&&Tr/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,hi&&(gn=(gn*mn+hi)/(mn+1),++mn)}},200)):(ie.wheelDX+=x,ie.wheelDY+=ee))}}var En=function(a,y){this.ranges=a,this.primIndex=y};En.prototype.primary=function(){return this.ranges[this.primIndex]},En.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 E=this.ranges[y],x=a.ranges[y];if(!Ne(E.anchor,x.anchor)||!Ne(E.head,x.head))return!1}return!0},En.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Cn(Kt(this.ranges[y].anchor),Kt(this.ranges[y].head));return new En(a,this.primIndex)},En.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},En.prototype.contains=function(a,y){y||(y=a);for(var E=0;E<this.ranges.length;E++){var x=this.ranges[E];if(Mt(y,x.from())>=0&&Mt(a,x.to())<=0)return E}return-1};var Cn=function(a,y){this.anchor=a,this.head=y};Cn.prototype.from=function(){return un(this.anchor,this.head)},Cn.prototype.to=function(){return Qt(this.anchor,this.head)},Cn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ur(a,y,E){var x=a&&a.options.selectionsMayTouch,ee=y[E];y.sort(function(Rn,Mn){return Mt(Rn.from(),Mn.from())}),E=Yt(y,ee);for(var ie=1;ie<y.length;ie++){var ce=y[ie],Ce=y[ie-1],Ae=Mt(Ce.to(),ce.from());if(x&&!ce.empty()?Ae>0:Ae>=0){var je=un(Ce.from(),ce.from()),_t=Qt(Ce.to(),ce.to()),hn=Ce.empty()?ce.from()==ce.head:Ce.from()==Ce.head;ie<=E&&--E,y.splice(--ie,2,new Cn(hn?_t:je,hn?je:_t))}}return new En(y,E)}function Kn(a,y){return new En([new Cn(a,y||a)],0)}function gr(a){return a.text?Qe(a.from.line+a.text.length-1,st(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function fr(a,y){if(Mt(a,y.from)<0)return a;if(Mt(a,y.to)<=0)return gr(y);var E=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=gr(y).ch-y.to.ch),Qe(E,x)}function Ar(a,y){for(var E=[],x=0;x<a.sel.ranges.length;x++){var ee=a.sel.ranges[x];E.push(new Cn(fr(ee.anchor,y),fr(ee.head,y)))}return ur(a.cm,E,a.sel.primIndex)}function br(a,y,E){return a.line==y.line?Qe(E.line,a.ch-y.ch+E.ch):Qe(E.line+(a.line-y.line),a.ch)}function Er(a,y,E){for(var x=[],ee=Qe(a.first,0),ie=ee,ce=0;ce<y.length;ce++){var Ce=y[ce],Ae=br(Ce.from,ee,ie),je=br(gr(Ce),ee,ie);if(ee=Ce.to,ie=je,E=="around"){var _t=a.sel.ranges[ce],hn=Mt(_t.head,_t.anchor)<0;x[ce]=new Cn(hn?je:Ae,hn?Ae:je)}else x[ce]=new Cn(Ae,Ae)}return new En(x,a.sel.primIndex)}function Lr(a){a.doc.mode=Qn(a.options,a.doc.modeOption),Wr(a)}function Wr(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&&st(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Ci(a,y,E,x){function ee(Oi){return E?E[Oi]:null}function ie(Oi,mi,Hi){wo(Oi,mi,Hi,x),Bo(Oi,"change",Oi,y)}function ce(Oi,mi){for(var Hi=[],mo=Oi;mo<mi;++mo)Hi.push(new Io(je[mo],ee(mo),x));return Hi}var Ce=y.from,Ae=y.to,je=y.text,_t=xn(a,Ce.line),hn=xn(a,Ae.line),Rn=st(je),Mn=ee(je.length-1),vr=Ae.line-Ce.line;if(y.full)a.insert(0,ce(0,je.length)),a.remove(je.length,a.size-je.length);else if(Ur(a,y)){var Tr=ce(0,je.length-1);ie(hn,hn.text,Mn),vr&&a.remove(Ce.line,vr),Tr.length&&a.insert(Ce.line,Tr)}else if(_t==hn)if(je.length==1)ie(_t,_t.text.slice(0,Ce.ch)+Rn+_t.text.slice(Ae.ch),Mn);else{var ti=ce(1,je.length-1);ti.push(new Io(Rn+_t.text.slice(Ae.ch),Mn,x)),ie(_t,_t.text.slice(0,Ce.ch)+je[0],ee(0)),a.insert(Ce.line+1,ti)}else if(je.length==1)ie(_t,_t.text.slice(0,Ce.ch)+je[0]+hn.text.slice(Ae.ch),ee(0)),a.remove(Ce.line+1,vr);else{ie(_t,_t.text.slice(0,Ce.ch)+je[0],ee(0)),ie(hn,Rn+hn.text.slice(Ae.ch),Mn);var hi=ce(1,je.length-1);vr>1&&a.remove(Ce.line+1,vr-1),a.insert(Ce.line+1,hi)}Bo(a,"change",a,y)}function wr(a,y,E){function x(ee,ie,ce){if(ee.linked)for(var Ce=0;Ce<ee.linked.length;++Ce){var Ae=ee.linked[Ce];if(Ae.doc!=ie){var je=ce&&Ae.sharedHist;E&&!je||(y(Ae.doc,je),x(Ae.doc,ee,je))}}}x(a,null,!0)}function Cr(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,rs(a),Lr(a),Mr(a),a.options.lineWrapping||ao(a),a.options.mode=y.modeOption,Xa(a)}function Mr(a){(a.doc.direction=="rtl"?fe:yt)(a.display.lineDiv,"CodeMirror-rtl")}function _n(a){ii(a,function(){Mr(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 Ir(a,y){var E={from:Kt(y.from),to:gr(y),text:kn(a,y.from,y.to)};return qo(a,E,y.from.line,y.to.line+1),wr(a,function(x){return qo(x,E,y.from.line,y.to.line+1)},!0),E}function jr(a){for(;a.length;){var y=st(a);if(y.ranges)a.pop();else break}}function ei(a,y){if(y)return jr(a.done),st(a.done);if(a.done.length&&!st(a.done).ranges)return st(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),st(a.done)}function Si(a,y,E,x){var ee=a.history;ee.undone.length=0;var ie=+new Date,ce,Ce;if((ee.lastOp==x||ee.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ee.lastModTime>ie-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(ce=ei(ee,ee.lastOp==x)))Ce=st(ce.changes),Mt(y.from,y.to)==0&&Mt(y.from,Ce.to)==0?Ce.to=gr(y):ce.changes.push(Ir(a,y));else{var Ae=st(ee.done);for((!Ae||!Ae.ranges)&&eo(a.sel,ee.done),ce={changes:[Ir(a,y)],generation:ee.generation},ee.done.push(ce);ee.done.length>ee.undoDepth;)ee.done.shift(),ee.done[0].ranges||ee.done.shift()}ee.done.push(E),ee.generation=++ee.maxGeneration,ee.lastModTime=ee.lastSelTime=ie,ee.lastOp=ee.lastSelOp=x,ee.lastOrigin=ee.lastSelOrigin=y.origin,Ce||Bt(a,"historyAdded")}function Kr(a,y,E,x){var ee=y.charAt(0);return ee=="*"||ee=="+"&&E.ranges.length==x.ranges.length&&E.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function so(a,y,E,x){var ee=a.history,ie=x&&x.origin;E==ee.lastSelOp||ie&&ee.lastSelOrigin==ie&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==ie||Kr(a,ie,st(ee.done),y))?ee.done[ee.done.length-1]=y:eo(y,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=ie,ee.lastSelOp=E,x&&x.clearRedo!==!1&&jr(ee.undone)}function eo(a,y){var E=st(y);E&&E.ranges&&E.equals(a)||y.push(a)}function qo(a,y,E,x){var ee=y["spans_"+a.id],ie=0;a.iter(Math.max(a.first,E),Math.min(a.first+a.size,x),function(ce){ce.markedSpans&&((ee||(ee=y["spans_"+a.id]={}))[ie]=ce.markedSpans),++ie})}function To(a){if(!a)return null;for(var y,E=0;E<a.length;++E)a[E].marker.explicitlyCleared?y||(y=a.slice(0,E)):y&&y.push(a[E]);return y?y.length?y:null:a}function Xo(a,y){var E=y["spans_"+a.id];if(!E)return null;for(var x=[],ee=0;ee<y.text.length;++ee)x.push(To(E[ee]));return x}function ra(a,y){var E=Xo(a,y),x=$i(a,y);if(!E)return x;if(!x)return E;for(var ee=0;ee<E.length;++ee){var ie=E[ee],ce=x[ee];if(ie&&ce)e:for(var Ce=0;Ce<ce.length;++Ce){for(var Ae=ce[Ce],je=0;je<ie.length;++je)if(ie[je].marker==Ae.marker)continue e;ie.push(Ae)}else ce&&(E[ee]=ce)}return E}function oa(a,y,E){for(var x=[],ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.ranges){x.push(E?En.prototype.deepCopy.call(ie):ie);continue}var ce=ie.changes,Ce=[];x.push({changes:Ce});for(var Ae=0;Ae<ce.length;++Ae){var je=ce[Ae],_t=void 0;if(Ce.push({from:je.from,to:je.to,text:je.text}),y)for(var hn in je)(_t=hn.match(/^spans_(\d+)$/))&&Yt(y,Number(_t[1]))>-1&&(st(Ce)[hn]=je[hn],delete je[hn])}}return x}function go(a,y,E,x){if(x){var ee=a.anchor;if(E){var ie=Mt(y,ee)<0;ie!=Mt(E,ee)<0?(ee=y,y=E):ie!=Mt(y,E)<0&&(y=E)}return new Cn(ee,y)}else return new Cn(E||y,y)}function vo(a,y,E,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),ci(a,new En([go(a.sel.primary(),y,E,ee)],0),x)}function ma(a,y,E){for(var x=[],ee=a.cm&&(a.cm.display.shift||a.extend),ie=0;ie<a.sel.ranges.length;ie++)x[ie]=go(a.sel.ranges[ie],y[ie],null,ee);var ce=ur(a.cm,x,a.sel.primIndex);ci(a,ce,E)}function va(a,y,E,x){var ee=a.sel.ranges.slice(0);ee[y]=E,ci(a,ur(a.cm,ee,a.sel.primIndex),x)}function Fi(a,y,E,x){ci(a,Kn(y,E),x)}function no(a,y,E){var x={ranges:y.ranges,update:function(ee){this.ranges=[];for(var ie=0;ie<ee.length;ie++)this.ranges[ie]=new Cn(Lt(a,ee[ie].anchor),Lt(a,ee[ie].head))},origin:E&&E.origin};return Bt(a,"beforeSelectionChange",a,x),a.cm&&Bt(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?ur(a.cm,x.ranges,x.ranges.length-1):y}function Di(a,y,E){var x=a.history.done,ee=st(x);ee&&ee.ranges?(x[x.length-1]=y,Do(a,y,E)):ci(a,y,E)}function ci(a,y,E){Do(a,y,E),so(a,a.sel,a.cm?a.cm.curOp.id:NaN,E)}function Do(a,y,E){(Gt(a,"beforeSelectionChange")||a.cm&&Gt(a.cm,"beforeSelectionChange"))&&(y=no(a,y,E));var x=E&&E.bias||(Mt(y.primary().head,a.sel.primary().head)<0?-1:1);zo(a,Wo(a,y,x,!0)),!(E&&E.scroll===!1)&&a.cm&&Sn(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,pt(a.cm)),Bo(a,"cursorActivity",a))}function aa(a){zo(a,Wo(a,a.sel,null,!1))}function Wo(a,y,E,x){for(var ee,ie=0;ie<y.ranges.length;ie++){var ce=y.ranges[ie],Ce=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],Ae=ca(a,ce.anchor,Ce&&Ce.anchor,E,x),je=ca(a,ce.head,Ce&&Ce.head,E,x);(ee||Ae!=ce.anchor||je!=ce.head)&&(ee||(ee=y.ranges.slice(0,ie)),ee[ie]=new Cn(Ae,je))}return ee?ur(a.cm,ee,y.primIndex):y}function pa(a,y,E,x,ee){var ie=xn(a,y.line);if(ie.markedSpans)for(var ce=0;ce<ie.markedSpans.length;++ce){var Ce=ie.markedSpans[ce],Ae=Ce.marker,je="selectLeft"in Ae?!Ae.selectLeft:Ae.inclusiveLeft,_t="selectRight"in Ae?!Ae.selectRight:Ae.inclusiveRight;if((Ce.from==null||(je?Ce.from<=y.ch:Ce.from<y.ch))&&(Ce.to==null||(_t?Ce.to>=y.ch:Ce.to>y.ch))){if(ee&&(Bt(Ae,"beforeCursorEnter"),Ae.explicitlyCleared))if(ie.markedSpans){--ce;continue}else break;if(!Ae.atomic)continue;if(E){var hn=Ae.find(x<0?1:-1),Rn=void 0;if((x<0?_t:je)&&(hn=Li(a,hn,-x,hn&&hn.line==y.line?ie:null)),hn&&hn.line==y.line&&(Rn=Mt(hn,E))&&(x<0?Rn<0:Rn>0))return pa(a,hn,y,x,ee)}var Mn=Ae.find(x<0?-1:1);return(x<0?je:_t)&&(Mn=Li(a,Mn,x,Mn.line==y.line?ie:null)),Mn?pa(a,Mn,y,x,ee):null}}return y}function ca(a,y,E,x,ee){var ie=x||1,ce=pa(a,y,E,ie,ee)||!ee&&pa(a,y,E,ie,!0)||pa(a,y,E,-ie,ee)||!ee&&pa(a,y,E,-ie,!0);return ce||(a.cantEdit=!0,Qe(a.first,0))}function Li(a,y,E,x){return E<0&&y.ch==0?y.line>a.first?Lt(a,Qe(y.line-1)):null:E>0&&y.ch==(x||xn(a,y.line)).text.length?y.line<a.first+a.size-1?Qe(y.line+1,0):null:new Qe(y.line,y.ch+E)}function Ui(a){a.setSelection(Qe(a.firstLine(),0),Qe(a.lastLine()),ge)}function jo(a,y,E){var x={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return x.canceled=!0}};return E&&(x.update=function(ee,ie,ce,Ce){ee&&(x.from=Lt(a,ee)),ie&&(x.to=Lt(a,ie)),ce&&(x.text=ce),Ce!==void 0&&(x.origin=Ce)}),Bt(a,"beforeChange",a,x),a.cm&&Bt(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,E){if(a.cm){if(!a.cm.curOp)return Xr(a.cm,$o)(a,y,E);if(a.cm.state.suppressEdits)return}if(!((Gt(a,"beforeChange")||a.cm&&Gt(a.cm,"beforeChange"))&&(y=jo(a,y,!0),!y))){var x=_r&&!E&&Ro(a,y.from,y.to);if(x)for(var ee=x.length-1;ee>=0;--ee)Qo(a,{from:x[ee].from,to:x[ee].to,text:ee?[""]:y.text,origin:y.origin});else Qo(a,y)}}function Qo(a,y){if(!(y.text.length==1&&y.text[0]==""&&Mt(y.from,y.to)==0)){var E=Ar(a,y);Si(a,y,E,a.cm?a.cm.curOp.id:NaN),Ta(a,y,E,$i(a,y));var x=[];wr(a,function(ee,ie){!ie&&Yt(x,ee.history)==-1&&(Ca(ee.history,y),x.push(ee.history)),Ta(ee,y,null,$i(ee,y))})}}function Sa(a,y,E){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!E)){for(var ee=a.history,ie,ce=a.sel,Ce=y=="undo"?ee.done:ee.undone,Ae=y=="undo"?ee.undone:ee.done,je=0;je<Ce.length&&(ie=Ce[je],!(E?ie.ranges&&!ie.equals(a.sel):!ie.ranges));je++);if(je!=Ce.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(ie=Ce.pop(),ie.ranges){if(eo(ie,Ae),E&&!ie.equals(a.sel)){ci(a,ie,{clearRedo:!1});return}ce=ie}else if(x){Ce.push(ie);return}else break;var _t=[];eo(ce,Ae),Ae.push({changes:_t,generation:ee.generation}),ee.generation=ie.generation||++ee.maxGeneration;for(var hn=Gt(a,"beforeChange")||a.cm&&Gt(a.cm,"beforeChange"),Rn=function(Tr){var ti=ie.changes[Tr];if(ti.origin=y,hn&&!jo(a,ti,!1))return Ce.length=0,{};_t.push(Ir(a,ti));var hi=Tr?Ar(a,ti):st(Ce);Ta(a,ti,hi,ra(a,ti)),!Tr&&a.cm&&a.cm.scrollIntoView({from:ti.from,to:gr(ti)});var Oi=[];wr(a,function(mi,Hi){!Hi&&Yt(Oi,mi.history)==-1&&(Ca(mi.history,ti),Oi.push(mi.history)),Ta(mi,ti,null,ra(mi,ti))})},Mn=ie.changes.length-1;Mn>=0;--Mn){var vr=Rn(Mn);if(vr)return vr.v}}}}function la(a,y){if(y!=0&&(a.first+=y,a.sel=new En($t(a.sel.ranges,function(ee){return new Cn(Qe(ee.anchor.line+y,ee.anchor.ch),Qe(ee.head.line+y,ee.head.ch))}),a.sel.primIndex),a.cm)){Xa(a.cm,a.first,a.first-y,y);for(var E=a.cm.display,x=E.viewFrom;x<E.viewTo;x++)Hl(a.cm,x,"gutter")}}function Ta(a,y,E,x){if(a.cm&&!a.cm.curOp)return Xr(a.cm,Ta)(a,y,E,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 ee=y.text.length-1-(a.first-y.from.line);la(a,ee),y={from:Qe(a.first,0),to:Qe(y.to.line+ee,y.to.ch),text:[st(y.text)],origin:y.origin}}var ie=a.lastLine();y.to.line>ie&&(y={from:y.from,to:Qe(ie,xn(a,ie).text.length),text:[y.text[0]],origin:y.origin}),y.removed=kn(a,y.from,y.to),E||(E=Ar(a,y)),a.cm?ia(a.cm,y,x):Ci(a,y,x),Do(a,E,ge),a.cantEdit&&ca(a,Qe(a.firstLine(),0))&&(a.cantEdit=!1)}}function ia(a,y,E){var x=a.doc,ee=a.display,ie=y.from,ce=y.to,Ce=!1,Ae=ie.line;a.options.lineWrapping||(Ae=Pt(qn(xn(x,ie.line))),x.iter(Ae,ce.line+1,function(Mn){if(Mn==ee.maxLine)return Ce=!0,!0})),x.sel.contains(y.from,y.to)>-1&&pt(a),Ci(x,y,E,Ms(a)),a.options.lineWrapping||(x.iter(Ae,ie.line+y.text.length,function(Mn){var vr=po(Mn);vr>ee.maxLineLength&&(ee.maxLine=Mn,ee.maxLineLength=vr,ee.maxLineChanged=!0,Ce=!1)}),Ce&&(a.curOp.updateMaxLine=!0)),Br(x,ie.line),Vi(a,400);var je=y.text.length-(ce.line-ie.line)-1;y.full?Xa(a):ie.line==ce.line&&y.text.length==1&&!Ur(a.doc,y)?Hl(a,ie.line,"text"):Xa(a,ie.line,ce.line+1,je);var _t=Gt(a,"changes"),hn=Gt(a,"change");if(hn||_t){var Rn={from:ie,to:ce,text:y.text,removed:y.removed,origin:y.origin};hn&&Bo(a,"change",a,Rn),_t&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Rn)}a.display.selForContextMenu=null}function Po(a,y,E,x,ee){var ie;x||(x=E),Mt(x,E)<0&&(ie=[x,E],E=ie[0],x=ie[1]),typeof y=="string"&&(y=a.splitLines(y)),$o(a,{from:E,to:x,text:y,origin:ee})}function na(a,y,E,x){E<a.line?a.line+=x:y<a.line&&(a.line=y,a.ch=0)}function sa(a,y,E,x){for(var ee=0;ee<a.length;++ee){var ie=a[ee],ce=!0;if(ie.ranges){ie.copied||(ie=a[ee]=ie.deepCopy(),ie.copied=!0);for(var Ce=0;Ce<ie.ranges.length;Ce++)na(ie.ranges[Ce].anchor,y,E,x),na(ie.ranges[Ce].head,y,E,x);continue}for(var Ae=0;Ae<ie.changes.length;++Ae){var je=ie.changes[Ae];if(E<je.from.line)je.from=Qe(je.from.line+x,je.from.ch),je.to=Qe(je.to.line+x,je.to.ch);else if(y<=je.to.line){ce=!1;break}}ce||(a.splice(0,ee+1),ee=0)}}function Ca(a,y){var E=y.from.line,x=y.to.line,ee=y.text.length-(x-E)-1;sa(a.done,E,x,ee),sa(a.undone,E,x,ee)}function ga(a,y,E,x){var ee=y,ie=y;return typeof y=="number"?ie=xn(a,Tt(a,y)):ee=Pt(y),ee==null?null:(x(ie,ee)&&a.cm&&Hl(a.cm,ee,E),ie)}function No(a){this.lines=a,this.parent=null;for(var y=0,E=0;E<a.length;++E)a[E].parent=this,y+=a[E].height;this.height=y}No.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var E=a,x=a+y;E<x;++E){var ee=this.lines[E];this.height-=ee.height,Co(ee),Bo(ee,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,E){this.height+=E,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,E){for(var x=a+y;a<x;++a)if(E(this.lines[a]))return!0}};function fa(a){this.children=a;for(var y=0,E=0,x=0;x<a.length;++x){var ee=a[x];y+=ee.chunkSize(),E+=ee.height,ee.parent=this}this.size=y,this.height=E,this.parent=null}fa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var E=0;E<this.children.length;++E){var x=this.children[E],ee=x.chunkSize();if(a<ee){var ie=Math.min(y,ee-a),ce=x.height;if(x.removeInner(a,ie),this.height-=ce-x.height,ee==ie&&(this.children.splice(E--,1),x.parent=null),(y-=ie)==0)break;a=0}else a-=ee}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof No))){var Ce=[];this.collapse(Ce),this.children=[new No(Ce)],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,E){this.size+=y.length,this.height+=E;for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<=ie){if(ee.insertInner(a,y,E),ee.lines&&ee.lines.length>50){for(var ce=ee.lines.length%25+25,Ce=ce;Ce<ee.lines.length;){var Ae=new No(ee.lines.slice(Ce,Ce+=25));ee.height-=Ae.height,this.children.splice(++x,0,Ae),Ae.parent=this}ee.lines=ee.lines.slice(0,ce),this.maybeSpill()}break}a-=ie}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),E=new fa(y);if(a.parent){a.size-=E.size,a.height-=E.height;var ee=Yt(a.parent.children,a);a.parent.children.splice(ee+1,0,E)}else{var x=new fa(a.children);x.parent=a,a.children=[x,E],a=x}E.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,E){for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<ie){var ce=Math.min(y,ie-a);if(ee.iterN(a,ce,E))return!0;if((y-=ce)==0)break;a=0}else a-=ie}}};var Uo=function(a,y,E){if(E)for(var x in E)E.hasOwnProperty(x)&&(this[x]=E[x]);this.doc=a,this.node=y};Uo.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,E=this.line,x=Pt(E);if(!(x==null||!y)){for(var ee=0;ee<y.length;++ee)y[ee]==this&&y.splice(ee--,1);y.length||(E.widgets=null);var ie=Ga(this);rr(E,Math.max(0,E.height-ie)),a&&(ii(a,function(){Ra(a,E,-ie),Hl(a,x,"widget")}),Bo(a,"lineWidgetCleared",a,this,x))}},Uo.prototype.changed=function(){var a=this,y=this.height,E=this.doc.cm,x=this.line;this.height=null;var ee=Ga(this)-y;ee&&(xr(this.doc,x)||rr(x,x.height+ee),E&&ii(E,function(){E.curOp.forceUpdate=!0,Ra(E,x,ee),Bo(E,"lineWidgetChanged",E,a,Pt(x))}))},Je(Uo);function Ra(a,y,E){ji(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&dn(a,E)}function Ea(a,y,E,x){var ee=new Uo(a,E,x),ie=a.cm;return ie&&ee.noHScroll&&(ie.display.alignWidgets=!0),ga(a,y,"widget",function(ce){var Ce=ce.widgets||(ce.widgets=[]);if(ee.insertAt==null?Ce.push(ee):Ce.splice(Math.min(Ce.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=ce,ie&&!xr(a,ce)){var Ae=ji(ce)<a.scrollTop;rr(ce,ce.height+Ga(ee)),Ae&&dn(ie,ee.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Bo(ie,"lineWidgetAdded",ie,ee,typeof y=="number"?y:Pt(y)),ee}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&&Or(a),Gt(this,"clear")){var E=this.find();E&&Bo(this,"clear",E.from,E.to)}for(var x=null,ee=null,ie=0;ie<this.lines.length;++ie){var ce=this.lines[ie],Ce=zi(ce.markedSpans,this);a&&!this.collapsed?Hl(a,Pt(ce),"text"):a&&(Ce.to!=null&&(ee=Pt(ce)),Ce.from!=null&&(x=Pt(ce))),ce.markedSpans=_i(ce.markedSpans,Ce),Ce.from==null&&this.collapsed&&!xr(this.doc,ce)&&a&&rr(ce,fl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Ae=0;Ae<this.lines.length;++Ae){var je=qn(this.lines[Ae]),_t=po(je);_t>a.display.maxLineLength&&(a.display.maxLine=je,a.display.maxLineLength=_t,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&Xa(a,x,ee+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,ee),y&&Rr(a),this.parent&&this.parent.clear()}},$a.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var E,x,ee=0;ee<this.lines.length;++ee){var ie=this.lines[ee],ce=zi(ie.markedSpans,this);if(ce.from!=null&&(E=Qe(y?ie:Pt(ie),ce.from),a==-1))return E;if(ce.to!=null&&(x=Qe(y?ie:Pt(ie),ce.to),a==1))return x}return E&&{from:E,to:x}},$a.prototype.changed=function(){var a=this,y=this.find(-1,!0),E=this,x=this.doc.cm;!y||!x||ii(x,function(){var ee=y.line,ie=Pt(y.line),ce=il(x,ie);if(ce&&(ds(ce),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!xr(E.doc,ee)&&E.height!=null){var Ce=E.height;E.height=null;var Ae=Ga(E)-Ce;Ae&&rr(ee,ee.height+Ae)}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||Yt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},$a.prototype.detachLine=function(a){if(this.lines.splice(Yt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Je($a);function El(a,y,E,x,ee){if(x&&x.shared)return _l(a,y,E,x,ee);if(a.cm&&!a.cm.curOp)return Xr(a.cm,El)(a,y,E,x,ee);var ie=new $a(a,ee),ce=Mt(y,E);if(x&&fn(x,ie,!1),ce>0||ce==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=ct("span",[ie.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(cr(a,y.line,y,E,ie)||y.line!=E.line&&cr(a,E.line,y,E,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wi()}ie.addToHistory&&Si(a,{from:y,to:E,origin:"markText"},a.sel,NaN);var Ce=y.line,Ae=a.cm,je;if(a.iter(Ce,E.line+1,function(hn){Ae&&ie.collapsed&&!Ae.options.lineWrapping&&qn(hn)==Ae.display.maxLine&&(je=!0),ie.collapsed&&Ce!=y.line&&rr(hn,0),wi(hn,new Zi(ie,Ce==y.line?y.ch:null,Ce==E.line?E.ch:null)),++Ce}),ie.collapsed&&a.iter(y.line,E.line+1,function(hn){xr(a,hn)&&rr(hn,0)}),ie.clearOnEnter&&on(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(Ri(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++Va,ie.atomic=!0),Ae){if(je&&(Ae.curOp.updateMaxLine=!0),ie.collapsed)Xa(Ae,y.line,E.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var _t=y.line;_t<=E.line;_t++)Hl(Ae,_t,"text");ie.atomic&&aa(Ae.doc),Bo(Ae,"markerAdded",Ae,ie)}return ie}var ua=function(a,y){this.markers=a,this.primary=y;for(var E=0;E<a.length;++E)a[E].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)},Je(ua);function _l(a,y,E,x,ee){x=fn(x),x.shared=!1;var ie=[El(a,y,E,x,ee)],ce=ie[0],Ce=x.widgetNode;return wr(a,function(Ae){Ce&&(x.widgetNode=Ce.cloneNode(!0)),ie.push(El(Ae,Lt(Ae,y),Lt(Ae,E),x,ee));for(var je=0;je<Ae.linked.length;++je)if(Ae.linked[je].isParent)return;ce=st(ie)}),new ua(ie,ce)}function Ka(a){return a.findMarks(Qe(a.first,0),a.clipPos(Qe(a.lastLine())),function(y){return y.parent})}function hl(a,y){for(var E=0;E<y.length;E++){var x=y[E],ee=x.find(),ie=a.clipPos(ee.from),ce=a.clipPos(ee.to);if(Mt(ie,ce)){var Ce=El(a,ie,ce,x.primary,x.primary.type);x.markers.push(Ce),Ce.parent=x}}}function al(a){for(var y=function(x){var ee=a[x],ie=[ee.primary.doc];wr(ee.primary.doc,function(Ae){return ie.push(Ae)});for(var ce=0;ce<ee.markers.length;ce++){var Ce=ee.markers[ce];Yt(ie,Ce.doc)==-1&&(Ce.parent=null,ee.markers.splice(ce--,1))}},E=0;E<a.length;E++)y(E)}var ro=0,Pi=function(a,y,E,x,ee){if(!(this instanceof Pi))return new Pi(a,y,E,x,ee);E==null&&(E=0),fa.call(this,[new No([new Io("",null)])]),this.first=E,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=E;var ie=Qe(E,0);this.sel=Kn(ie),this.history=new $n(null),this.id=++ro,this.modeOption=y,this.lineSep=x,this.direction=ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Ci(this,{from:ie,to:ie,text:a}),ci(this,Kn(ie),ge)};Pi.prototype=ne(fa.prototype,{constructor:Pi,iter:function(a,y,E){E?this.iterN(a-this.first,y-a,E):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var E=0,x=0;x<y.length;++x)E+=y[x].height;this.insertInner(a-this.first,y,E)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=nr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:li(function(a){var y=Qe(this.first,0),E=this.first+this.size-1;$o(this,{from:y,to:Qe(E,xn(this,E).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&wn(this.cm,0,0),ci(this,Kn(y),ge)}),replaceRange:function(a,y,E,x){y=Lt(this,y),E=E?Lt(this,E):y,Po(this,a,y,E,x)},getRange:function(a,y,E){var x=kn(this,Lt(this,a),Lt(this,y));return E===!1?x:x.join(E||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(nt(this,a))return xn(this,a)},getLineNumber:function(a){return Pt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=xn(this,a)),qn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Lt(this,a)},getCursor:function(a){var y=this.sel.primary(),E;return a==null||a=="head"?E=y.head:a=="anchor"?E=y.anchor:a=="end"||a=="to"||a===!1?E=y.to():E=y.from(),E},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:li(function(a,y,E){Fi(this,Lt(this,typeof a=="number"?Qe(a,y||0):a),null,E)}),setSelection:li(function(a,y,E){Fi(this,Lt(this,a),Lt(this,y||a),E)}),extendSelection:li(function(a,y,E){vo(this,Lt(this,a),y&&Lt(this,y),E)}),extendSelections:li(function(a,y){ma(this,nn(this,a),y)}),extendSelectionsBy:li(function(a,y){var E=$t(this.sel.ranges,a);ma(this,nn(this,E),y)}),setSelections:li(function(a,y,E){if(a.length){for(var x=[],ee=0;ee<a.length;ee++)x[ee]=new Cn(Lt(this,a[ee].anchor),Lt(this,a[ee].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),ci(this,ur(this.cm,x,y),E)}}),addSelection:li(function(a,y,E){var x=this.sel.ranges.slice(0);x.push(new Cn(Lt(this,a),Lt(this,y||a))),ci(this,ur(this.cm,x,x.length-1),E)}),getSelection:function(a){for(var y=this.sel.ranges,E,x=0;x<y.length;x++){var ee=kn(this,y[x].from(),y[x].to());E=E?E.concat(ee):ee}return a===!1?E:E.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],E=this.sel.ranges,x=0;x<E.length;x++){var ee=kn(this,E[x].from(),E[x].to());a!==!1&&(ee=ee.join(a||this.lineSeparator())),y[x]=ee}return y},replaceSelection:function(a,y,E){for(var x=[],ee=0;ee<this.sel.ranges.length;ee++)x[ee]=a;this.replaceSelections(x,y,E||"+input")},replaceSelections:li(function(a,y,E){for(var x=[],ee=this.sel,ie=0;ie<ee.ranges.length;ie++){var ce=ee.ranges[ie];x[ie]={from:ce.from(),to:ce.to(),text:this.splitLines(a[ie]),origin:E}}for(var Ce=y&&y!="end"&&Er(this,x,y),Ae=x.length-1;Ae>=0;Ae--)$o(this,x[Ae]);Ce?Di(this,Ce):this.cm&&Sn(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,E=0,x=0;x<a.done.length;x++)a.done[x].ranges||++y;for(var ee=0;ee<a.undone.length;ee++)a.undone[ee].ranges||++E;return{undo:y,redo:E}},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,E){return ga(this,a,"gutter",function(x){var ee=x.gutterMarkers||(x.gutterMarkers={});return ee[y]=E,!E&&re(ee)&&(x.gutterMarkers=null),!0})}),clearGutter:li(function(a){var y=this;this.iter(function(E){E.gutterMarkers&&E.gutterMarkers[a]&&ga(y,E,"gutter",function(){return E.gutterMarkers[a]=null,re(E.gutterMarkers)&&(E.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!nt(this,a)||(y=a,a=xn(this,a),!a))return null}else if(y=Pt(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,E){return ga(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!x[ee])x[ee]=E;else{if(dt(E).test(x[ee]))return!1;x[ee]+=" "+E}return!0})}),removeLineClass:li(function(a,y,E){return ga(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ie=x[ee];if(ie)if(E==null)x[ee]=null;else{var ce=ie.match(dt(E));if(!ce)return!1;var Ce=ce.index+ce[0].length;x[ee]=ie.slice(0,ce.index)+(!ce.index||Ce==ie.length?"":" ")+ie.slice(Ce)||null}else return!1;return!0})}),addLineWidget:li(function(a,y,E){return Ea(this,a,y,E)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,E){return El(this,Lt(this,a),Lt(this,y),E,E&&E.type||"range")},setBookmark:function(a,y){var E={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Lt(this,a),El(this,a,a,E,"bookmark")},findMarksAt:function(a){a=Lt(this,a);var y=[],E=xn(this,a.line).markedSpans;if(E)for(var x=0;x<E.length;++x){var ee=E[x];(ee.from==null||ee.from<=a.ch)&&(ee.to==null||ee.to>=a.ch)&&y.push(ee.marker.parent||ee.marker)}return y},findMarks:function(a,y,E){a=Lt(this,a),y=Lt(this,y);var x=[],ee=a.line;return this.iter(a.line,y.line+1,function(ie){var ce=ie.markedSpans;if(ce)for(var Ce=0;Ce<ce.length;Ce++){var Ae=ce[Ce];!(Ae.to!=null&&ee==a.line&&a.ch>=Ae.to||Ae.from==null&&ee!=a.line||Ae.from!=null&&ee==y.line&&Ae.from>=y.ch)&&(!E||E(Ae.marker))&&x.push(Ae.marker.parent||Ae.marker)}++ee}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var E=y.markedSpans;if(E)for(var x=0;x<E.length;++x)E[x].from!=null&&a.push(E[x].marker)}),a},posFromIndex:function(a){var y,E=this.first,x=this.lineSeparator().length;return this.iter(function(ee){var ie=ee.text.length+x;if(ie>a)return y=a,!0;a-=ie,++E}),Lt(this,Qe(E,y))},indexFromPos:function(a){a=Lt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var E=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){y+=x.text.length+E}),y},copy:function(a){var y=new Pi(nr(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,E=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<E&&(E=a.to);var x=new Pi(nr(this,y,E),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 Na&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var E=this.linked[y];if(E.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(ee){return x.push(ee.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&&_n(this.cm))})}),Pi.prototype.eachLine=Pi.prototype.iter;var ya=0;function Qa(a){var y=this;if(Es(y),!(at(y,a)||Ha(y.display,a))){At(a),we&&(ya=+new Date);var E=zl(y,a,!0),x=a.dataTransfer.files;if(!(!E||y.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var ee=x.length,ie=Array(ee),ce=0,Ce=function(){++ce==ee&&Xr(y,function(){E=Lt(y.doc,E);var Mn={from:E,to:E,text:y.doc.splitLines(ie.filter(function(vr){return vr!=null}).join(y.doc.lineSeparator())),origin:"paste"};$o(y.doc,Mn),Di(y.doc,Kn(Lt(y.doc,E),Lt(y.doc,gr(Mn))))})()},Ae=function(Mn,vr){if(y.options.allowDropFileTypes&&Yt(y.options.allowDropFileTypes,Mn.type)==-1){Ce();return}var Tr=new FileReader;Tr.onerror=function(){return Ce()},Tr.onload=function(){var ti=Tr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ti)){Ce();return}ie[vr]=ti,Ce()},Tr.readAsText(Mn)},je=0;je<x.length;je++)Ae(x[je],je);else{if(y.state.draggingText&&y.doc.sel.contains(E)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var _t=a.dataTransfer.getData("Text");if(_t){var hn;if(y.state.draggingText&&!y.state.draggingText.copy&&(hn=y.listSelections()),Do(y.doc,Kn(E,E)),hn)for(var Rn=0;Rn<hn.length;++Rn)Po(y.doc,"",hn[Rn].anchor,hn[Rn].head,"drag");y.replaceSelection(_t,"around","paste"),y.display.input.focus()}}catch(Mn){}}}}function yl(a,y){if(we&&(!a.state.draggingText||+new Date-ya<100)){Le(y);return}if(!(at(a,y)||Ha(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!ut)){var E=Ke("img",null,null,"position: fixed; left: 0; top: 0;");E.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",he&&(E.width=E.height=1,a.display.wrapper.appendChild(E),E._top=E.offsetTop),y.dataTransfer.setDragImage(E,0,0),he&&E.parentNode.removeChild(E)}}function Tl(a,y){var E=zl(a,y);if(E){var x=document.createDocumentFragment();Ks(a,E,x),a.display.dragCursor||(a.display.dragCursor=Ke("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Ue(a.display.dragCursor,x)}}function Es(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function ws(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),E=[],x=0;x<y.length;x++){var ee=y[x].CodeMirror;ee&&E.push(ee)}E.length&&E[0].operation(function(){for(var ie=0;ie<E.length;ie++)a(E[ie])})}}var ks=!1;function Yo(){ks||(Eo(),ks=!0)}function Eo(){var a;on(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,ws(ui)},100))}),on(window,"blur",function(){return ws(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"},Fo=0;Fo<10;Fo++)Yi[Fo+48]=Yi[Fo+96]=String(Fo);for(var Ba=65;Ba<=90;Ba++)Yi[Ba]=String.fromCharCode(Ba);for(var Ja=1;Ja<=12;Ja++)Yi[Ja+111]=Yi[Ja+63235]="F"+Ja;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=Te?Ua.macDefault:Ua.pcDefault;function Wl(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var E,x,ee,ie,ce=0;ce<y.length-1;ce++){var Ce=y[ce];if(/^(cmd|meta|m)$/i.test(Ce))ie=!0;else if(/^a(lt)?$/i.test(Ce))E=!0;else if(/^(c|ctrl|control)$/i.test(Ce))x=!0;else if(/^s(hift)?$/i.test(Ce))ee=!0;else throw new Error("Unrecognized modifier name: "+Ce)}return E&&(a="Alt-"+a),x&&(a="Ctrl-"+a),ie&&(a="Cmd-"+a),ee&&(a="Shift-"+a),a}function ll(a){var y={};for(var E in a)if(a.hasOwnProperty(E)){var x=a[E];if(/^(name|fallthrough|(de|at)tach)$/.test(E))continue;if(x=="..."){delete a[E];continue}for(var ee=$t(E.split(" "),Wl),ie=0;ie<ee.length;ie++){var ce=void 0,Ce=void 0;ie==ee.length-1?(Ce=ee.join(" "),ce=x):(Ce=ee.slice(0,ie+1).join(" "),ce="...");var Ae=y[Ce];if(!Ae)y[Ce]=ce;else if(Ae!=ce)throw new Error("Inconsistent bindings for "+Ce)}delete a[E]}for(var je in y)a[je]=y[je];return a}function As(a,y,E,x){y=Us(y);var ee=y.call?y.call(a,x):y[a];if(ee===!1)return"nothing";if(ee==="...")return"multi";if(ee!=null&&E(ee))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return As(a,y.fallthrough,E,x);for(var ie=0;ie<y.fallthrough.length;ie++){var ce=As(a,y.fallthrough[ie],E,x);if(ce)return ce}}}function qs(a){var y=typeof a=="string"?a:Yi[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Ts(a,y,E){var x=a;return y.altKey&&x!="Alt"&&(a="Alt-"+a),(se?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(se?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!E&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function ms(a,y){if(he&&a.keyCode==34&&a.char)return!1;var E=Yi[a.keyCode];return E==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(E=a.code),Ts(E,a,y))}function Us(a){return typeof a=="string"?Ua[a]:a}function vs(a,y){for(var E=a.doc.sel.ranges,x=[],ee=0;ee<E.length;ee++){for(var ie=y(E[ee]);x.length&&Mt(ie.from,st(x).to)<=0;){var ce=x.pop();if(Mt(ce.from,ie.from)<0){ie.from=ce.from;break}}x.push(ie)}ii(a,function(){for(var Ce=x.length-1;Ce>=0;Ce--)Po(a.doc,"",x[Ce].from,x[Ce].to,"+delete");Sn(a)})}function eu(a,y,E){var x=tt(a.text,y+E,E);return x<0||x>a.text.length?null:x}function Ys(a,y,E){var x=eu(a,y.ch,E);return x==null?null:new Qe(y.line,x,E<0?"after":"before")}function tu(a,y,E,x,ee){if(a){y.doc.direction=="rtl"&&(ee=-ee);var ie=Oe(E,y.doc.direction);if(ie){var ce=ee<0?st(ie):ie[0],Ce=ee<0==(ce.level==1),Ae=Ce?"after":"before",je;if(ce.level>0||y.doc.direction=="rtl"){var _t=Zl(y,E);je=ee<0?E.text.length-1:0;var hn=pl(y,_t,je).top;je=Ve(function(Rn){return pl(y,_t,Rn).top==hn},ee<0==(ce.level==1)?ce.from:ce.to-1,je),Ae=="before"&&(je=eu(E,je,1))}else je=ee<0?ce.to:ce.from;return new Qe(x,je,Ae)}}return new Qe(x,ee<0?E.text.length:0,ee<0?"before":"after")}function vu(a,y,E,x){var ee=Oe(y,a.doc.direction);if(!ee)return Ys(y,E,x);E.ch>=y.text.length?(E.ch=y.text.length,E.sticky="before"):E.ch<=0&&(E.ch=0,E.sticky="after");var ie=ht(ee,E.ch,E.sticky),ce=ee[ie];if(a.doc.direction=="ltr"&&ce.level%2==0&&(x>0?ce.to>E.ch:ce.from<E.ch))return Ys(y,E,x);var Ce=function(hi,Oi){return eu(y,hi instanceof Qe?hi.ch:hi,Oi)},Ae,je=function(hi){return a.options.lineWrapping?(Ae=Ae||Zl(a,y),Oa(a,y,Ae,hi)):{begin:0,end:y.text.length}},_t=je(E.sticky=="before"?Ce(E,-1):E.ch);if(a.doc.direction=="rtl"||ce.level==1){var hn=ce.level==1==x<0,Rn=Ce(E,hn?1:-1);if(Rn!=null&&(hn?Rn<=ce.to&&Rn<=_t.end:Rn>=ce.from&&Rn>=_t.begin)){var Mn=hn?"before":"after";return new Qe(E.line,Rn,Mn)}}var vr=function(hi,Oi,mi){for(var Hi=function(wa,cl){return cl?new Qe(E.line,Ce(wa,1),"before"):new Qe(E.line,wa,"after")};hi>=0&&hi<ee.length;hi+=Oi){var mo=ee[hi],io=Oi>0==(mo.level!=1),Vo=io?mi.begin:Ce(mi.end,-1);if(mo.from<=Vo&&Vo<mo.to||(Vo=io?mo.from:Ce(mo.to,-1),mi.begin<=Vo&&Vo<mi.end))return Hi(Vo,io)}},Tr=vr(ie+x,x,_t);if(Tr)return Tr;var ti=x>0?_t.end:Ce(_t.begin,-1);return ti!=null&&!(x>0&&ti==y.text.length)&&(Tr=vr(x>0?0:ee.length-1,x,je(ti)),Tr)?Tr:null}var as={selectAll:Ui,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),ge)},killLine:function(a){return vs(a,function(y){if(y.empty()){var E=xn(a.doc,y.head.line).text.length;return y.head.ch==E&&y.head.line<a.lastLine()?{from:y.head,to:Qe(y.head.line+1,0)}:{from:y.head,to:Qe(y.head.line,E)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return vs(a,function(y){return{from:Qe(y.from().line,0),to:Lt(a.doc,Qe(y.to().line+1,0))}})},delLineLeft:function(a){return vs(a,function(y){return{from:Qe(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return vs(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return{from:x,to:y.from()}})},delWrappedLineRight:function(a){return vs(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"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(Qe(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Qe(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 E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"div")},qe)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:E},"div")},qe)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return x.ch<a.getLine(x.line).search(/\S/)?ru(a,y.head):x},qe)},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=[],E=a.listSelections(),x=a.options.tabSize,ee=0;ee<E.length;ee++){var ie=E[ee].from(),ce=ke(a.getLine(ie.line),ie.ch,x);y.push(Zt(x-ce%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(),E=[],x=0;x<y.length;x++)if(y[x].empty()){var ee=y[x].head,ie=xn(a.doc,ee.line).text;if(ie){if(ee.ch==ie.length&&(ee=new Qe(ee.line,ee.ch-1)),ee.ch>0)ee=new Qe(ee.line,ee.ch+1),a.replaceRange(ie.charAt(ee.ch-1)+ie.charAt(ee.ch-2),Qe(ee.line,ee.ch-2),ee,"+transpose");else if(ee.line>a.doc.first){var ce=xn(a.doc,ee.line-1).text;ce&&(ee=new Qe(ee.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+ce.charAt(ce.length-1),Qe(ee.line-1,ce.length-1),ee,"+transpose"))}}E.push(new Cn(ee,ee))}a.setSelections(E)})},newlineAndIndent:function(a){return ii(a,function(){for(var y=a.listSelections(),E=y.length-1;E>=0;E--)a.replaceRange(a.doc.lineSeparator(),y[E].anchor,y[E].head,"+input");y=a.listSelections();for(var x=0;x<y.length;x++)a.indentLine(y[x].from().line,null,!0);Sn(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function nu(a,y){var E=xn(a.doc,y),x=qn(E);return x!=E&&(y=Pt(x)),tu(!0,a,x,y,1)}function Su(a,y){var E=xn(a.doc,y),x=Hr(E);return x!=E&&(y=Pt(x)),tu(!0,a,E,y,-1)}function ru(a,y){var E=nu(a,y.line),x=xn(a.doc,E.line),ee=Oe(x,a.doc.direction);if(!ee||ee[0].level==0){var ie=Math.max(E.ch,x.text.search(/\S/)),ce=y.line==E.line&&y.ch<=ie&&y.ch;return Qe(E.line,ce?0:ie,E.sticky)}return E}function Rs(a,y,E){if(typeof y=="string"&&(y=as[y],!y))return!1;a.display.input.ensurePolled();var x=a.display.shift,ee=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),E&&(a.display.shift=!1),ee=y(a)!=Xt}finally{a.display.shift=x,a.state.suppressEdits=!1}return ee}function Eu(a,y,E){for(var x=0;x<a.state.keyMaps.length;x++){var ee=As(y,a.state.keyMaps[x],E,a);if(ee)return ee}return a.options.extraKeys&&As(y,a.options.extraKeys,E,a)||As(y,a.options.keyMap,E,a)}var wu=new be;function Zs(a,y,E,x){var ee=a.state.keySeq;if(ee){if(qs(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:wu.set(50,function(){a.state.keySeq==ee&&(a.state.keySeq=null,a.display.input.reset())}),iu(a,ee+" "+y,E,x))return!0}return iu(a,y,E,x)}function iu(a,y,E,x){var ee=Eu(a,y,x);return ee=="multi"&&(a.state.keySeq=y),ee=="handled"&&Bo(a,"keyHandled",a,y,E),(ee=="handled"||ee=="multi")&&(At(E),Ns(a)),!!ee}function zs(a,y){var E=ms(y,!0);return E?y.shiftKey&&!a.state.keySeq?Zs(a,"Shift-"+E,y,function(x){return Rs(a,x,!0)})||Zs(a,E,y,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return Rs(a,x)}):Zs(a,E,y,function(x){return Rs(a,x)}):!1}function ou(a,y,E){return Zs(a,"'"+E+"'",y,function(x){return Rs(a,x,!0)})}var Hs=null;function au(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Ye(),!at(y,a))){we&&Se<11&&a.keyCode==27&&(a.returnValue=!1);var E=a.keyCode;y.display.shift=E==16||a.shiftKey;var x=zs(y,a);he&&(Hs=x?E:null,!x&&E==88&&!wt&&(Te?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!Te&&!x&&E==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),E==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&pu(y)}}function pu(a){var y=a.display.lineDiv;fe(y,"CodeMirror-crosshair");function E(x){(x.keyCode==18||!x.altKey)&&(yt(y,"CodeMirror-crosshair"),vn(document,"keyup",E),vn(document,"mouseover",E))}on(document,"keyup",E),on(document,"mouseover",E)}function lu(a){a.keyCode==16&&(this.doc.sel.shift=!1),at(this,a)}function su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Ha(y.display,a)||at(y,a)||a.ctrlKey&&!a.altKey||Te&&a.metaKey)){var E=a.keyCode,x=a.charCode;if(he&&E==Hs){Hs=null,At(a);return}if(!(he&&(!a.which||a.which<10)&&zs(y,a))){var ee=String.fromCharCode(x==null?E:x);ee!="\b"&&(ou(y,a,ee)||y.display.input.onKeyPress(a))}}}var Au=400,Gs=function(a,y,E){this.time=a,this.pos=y,this.button=E};Gs.prototype.compare=function(a,y,E){return this.time+Au>a&&Mt(y,this.pos)==0&&E==this.button};var ps,Ds;function uu(a,y){var E=+new Date;return Ds&&Ds.compare(E,a,y)?(ps=Ds=null,"triple"):ps&&ps.compare(E,a,y)?(Ds=new Gs(E,a,y),ps=null,"double"):(ps=new Gs(E,a,y),Ds=null,"single")}function cu(a){var y=this,E=y.display;if(!(at(y,a)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=a.shiftKey,Ha(E,a)){Pe||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!ql(y,a)){var x=zl(y,a),ee=zt(a),ie=x?uu(x,ee):"single";window.focus(),ee==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Du(y,ee,x,ie,a))&&(ee==1?x?Jo(y,x,ie,a):Et(a)==E.scroller&&At(a):ee==2?(x&&vo(y.doc,x),setTimeout(function(){return E.input.focus()},20)):ee==3&&(Ie?y.display.input.onContextMenu(a):Ls(y)))}}}function Du(a,y,E,x,ee){var ie="Click";return x=="double"?ie="Double"+ie:x=="triple"&&(ie="Triple"+ie),ie=(y==1?"Left":y==2?"Middle":"Right")+ie,Zs(a,Ts(ie,ee),ee,function(ce){if(typeof ce=="string"&&(ce=as[ce]),!ce)return!1;var Ce=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ce=ce(a,E)!=Xt}finally{a.state.suppressEdits=!1}return Ce})}function Go(a,y,E){var x=a.getOption("configureMouse"),ee=x?x(a,y,E):{};if(ee.unit==null){var ie=ot?E.shiftKey&&E.metaKey:E.altKey;ee.unit=ie?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ee.extend==null||a.doc.extend)&&(ee.extend=a.doc.extend||E.shiftKey),ee.addNew==null&&(ee.addNew=Te?E.metaKey:E.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(Te?E.altKey:E.ctrlKey)),ee}function Jo(a,y,E,x){we?setTimeout(xt(mu,a),0):a.curOp.focus=Ye();var ee=Go(a,E,x),ie=a.doc.sel,ce;a.options.dragDrop&&rn&&!a.isReadOnly()&&E=="single"&&(ce=ie.contains(y))>-1&&(Mt((ce=ie.ranges[ce]).from(),y)<0||y.xRel>0)&&(Mt(ce.to(),y)>0||y.xRel<0)?sl(a,x,y,ee):ul(a,x,y,ee)}function sl(a,y,E,x){var ee=a.display,ie=!1,ce=Xr(a,function(je){Pe&&(ee.scroller.draggable=!1),a.state.draggingText=!1,vn(ee.wrapper.ownerDocument,"mouseup",ce),vn(ee.wrapper.ownerDocument,"mousemove",Ce),vn(ee.scroller,"dragstart",Ae),vn(ee.scroller,"drop",ce),ie||(At(je),x.addNew||vo(a.doc,E,null,null,x.extend),Pe&&!ut||we&&Se==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),Ce=function(je){ie=ie||Math.abs(y.clientX-je.clientX)+Math.abs(y.clientY-je.clientY)>=10},Ae=function(){return ie=!0};Pe&&(ee.scroller.draggable=!0),a.state.draggingText=ce,ce.copy=!x.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),on(ee.wrapper.ownerDocument,"mouseup",ce),on(ee.wrapper.ownerDocument,"mousemove",Ce),on(ee.scroller,"dragstart",Ae),on(ee.scroller,"drop",ce),Ls(a),setTimeout(function(){return ee.input.focus()},20)}function Fl(a,y,E){if(E=="char")return new Cn(y,y);if(E=="word")return a.findWordAt(y);if(E=="line")return new Cn(Qe(y.line,0),Lt(a.doc,Qe(y.line+1,0)));var x=E(a,y);return new Cn(x.from,x.to)}function ul(a,y,E,x){var ee=a.display,ie=a.doc;At(y);var ce,Ce,Ae=ie.sel,je=Ae.ranges;if(x.addNew&&!x.extend?(Ce=ie.sel.contains(E),Ce>-1?ce=je[Ce]:ce=new Cn(E,E)):(ce=ie.sel.primary(),Ce=ie.sel.primIndex),x.unit=="rectangle")x.addNew||(ce=new Cn(E,E)),E=zl(a,y,!0,!0),Ce=-1;else{var _t=Fl(a,E,x.unit);x.extend?ce=go(ce,_t.anchor,_t.head,x.extend):ce=_t}x.addNew?Ce==-1?(Ce=je.length,ci(ie,ur(a,je.concat([ce]),Ce),{scroll:!1,origin:"*mouse"})):je.length>1&&je[Ce].empty()&&x.unit=="char"&&!x.extend?(ci(ie,ur(a,je.slice(0,Ce).concat(je.slice(Ce+1)),0),{scroll:!1,origin:"*mouse"}),Ae=ie.sel):va(ie,Ce,ce,Re):(Ce=0,ci(ie,new En([ce],0),Re),Ae=ie.sel);var hn=E;function Rn(mi){if(Mt(hn,mi)!=0)if(hn=mi,x.unit=="rectangle"){for(var Hi=[],mo=a.options.tabSize,io=ke(xn(ie,E.line).text,E.ch,mo),Vo=ke(xn(ie,mi.line).text,mi.ch,mo),wa=Math.min(io,Vo),cl=Math.max(io,Vo),Za=Math.min(E.line,mi.line),Rl=Math.min(a.lastLine(),Math.max(E.line,mi.line));Za<=Rl;Za++){var Il=xn(ie,Za).text,_a=Vt(Il,wa,mo);wa==cl?Hi.push(new Cn(Qe(Za,_a),Qe(Za,_a))):Il.length>_a&&Hi.push(new Cn(Qe(Za,_a),Qe(Za,Vt(Il,cl,mo))))}Hi.length||Hi.push(new Cn(E,E)),ci(ie,ur(a,Ae.ranges.slice(0,Ce).concat(Hi),Ce),{origin:"*mouse",scroll:!1}),a.scrollIntoView(mi)}else{var Ol=ce,ml=Fl(a,mi,x.unit),nl=Ol.anchor,qa;Mt(ml.anchor,nl)>0?(qa=ml.head,nl=un(Ol.from(),ml.anchor)):(qa=ml.anchor,nl=Qt(Ol.to(),ml.head));var ja=Ae.ranges.slice(0);ja[Ce]=Ps(a,new Cn(Lt(ie,nl),qa)),ci(ie,ur(a,ja,Ce),Re)}}var Mn=ee.wrapper.getBoundingClientRect(),vr=0;function Tr(mi){var Hi=++vr,mo=zl(a,mi,!0,x.unit=="rectangle");if(mo)if(Mt(mo,hn)!=0){a.curOp.focus=Ye(),Rn(mo);var io=oe(ee,ie);(mo.line>=io.to||mo.line<io.from)&&setTimeout(Xr(a,function(){vr==Hi&&Tr(mi)}),150)}else{var Vo=mi.clientY<Mn.top?-20:mi.clientY>Mn.bottom?20:0;Vo&&setTimeout(Xr(a,function(){vr==Hi&&(ee.scroller.scrollTop+=Vo,Tr(mi))}),50)}}function ti(mi){a.state.selectingText=!1,vr=1/0,mi&&(At(mi),ee.input.focus()),vn(ee.wrapper.ownerDocument,"mousemove",hi),vn(ee.wrapper.ownerDocument,"mouseup",Oi),ie.history.lastSelOrigin=null}var hi=Xr(a,function(mi){mi.buttons===0||!zt(mi)?ti(mi):Tr(mi)}),Oi=Xr(a,ti);a.state.selectingText=Oi,on(ee.wrapper.ownerDocument,"mousemove",hi),on(ee.wrapper.ownerDocument,"mouseup",Oi)}function Ps(a,y){var E=y.anchor,x=y.head,ee=xn(a.doc,E.line);if(Mt(E,x)==0&&E.sticky==x.sticky)return y;var ie=Oe(ee);if(!ie)return y;var ce=ht(ie,E.ch,E.sticky),Ce=ie[ce];if(Ce.from!=E.ch&&Ce.to!=E.ch)return y;var Ae=ce+(Ce.from==E.ch==(Ce.level!=1)?0:1);if(Ae==0||Ae==ie.length)return y;var je;if(x.line!=E.line)je=(x.line-E.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var _t=ht(ie,x.ch,x.sticky),hn=_t-ce||(x.ch-E.ch)*(Ce.level==1?-1:1);_t==Ae-1||_t==Ae?je=hn<0:je=hn>0}var Rn=ie[Ae+(je?-1:0)],Mn=je==(Rn.level==1),vr=Mn?Rn.from:Rn.to,Tr=Mn?"after":"before";return E.ch==vr&&E.sticky==Tr?y:new Cn(new Qe(E.line,vr,Tr),x)}function ls(a,y,E,x){var ee,ie;if(y.touches)ee=y.touches[0].clientX,ie=y.touches[0].clientY;else try{ee=y.clientX,ie=y.clientY}catch(Rn){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&At(y);var ce=a.display,Ce=ce.lineDiv.getBoundingClientRect();if(ie>Ce.bottom||!Gt(a,E))return an(y);ie-=Ce.top-ce.viewOffset;for(var Ae=0;Ae<a.display.gutterSpecs.length;++Ae){var je=ce.gutters.childNodes[Ae];if(je&&je.getBoundingClientRect().right>=ee){var _t=Ut(a.doc,ie),hn=a.display.gutterSpecs[Ae];return Bt(a,E,a,_t,hn.className,y),an(y)}}}function ql(a,y){return ls(a,y,"gutterClick",!0)}function Bs(a,y){Ha(a.display,y)||du(a,y)||at(a,y,"contextmenu")||Ie||a.display.input.onContextMenu(y)}function du(a,y){return Gt(a,"gutterContextMenu")?ls(a,y,"gutterContextMenu",!1):!1}function Mu(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"}},Nu={},gu={};function ju(a){var y=a.optionHandlers;function E(x,ee,ie,ce){a.defaults[x]=ee,ie&&(y[x]=ce?function(Ce,Ae,je){je!=Xs&&ie(Ce,Ae,je)}:ie)}a.defineOption=E,a.Init=Xs,E("value","",function(x,ee){return x.setValue(ee)},!0),E("mode",null,function(x,ee){x.doc.modeOption=ee,Lr(x)},!0),E("indentUnit",2,Lr,!0),E("indentWithTabs",!1),E("smartIndent",!0),E("tabSize",4,function(x){Wr(x),Xl(x),Xa(x)},!0),E("lineSeparator",null,function(x,ee){if(x.doc.lineSep=ee,!!ee){var ie=[],ce=x.doc.first;x.doc.iter(function(Ae){for(var je=0;;){var _t=Ae.text.indexOf(ee,je);if(_t==-1)break;je=_t+ee.length,ie.push(Qe(ce,_t))}ce++});for(var Ce=ie.length-1;Ce>=0;Ce--)Po(x.doc,ee,ie[Ce],Qe(ie[Ce].line,ie[Ce].ch+ee.length))}}),E("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ee,ie){x.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),ie!=Xs&&x.refresh()}),E("specialCharPlaceholder",Aa,function(x){return x.refresh()},!0),E("electricChars",!0),E("inputStyle",Fe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),E("spellcheck",!1,function(x,ee){return x.getInputField().spellcheck=ee},!0),E("autocorrect",!1,function(x,ee){return x.getInputField().autocorrect=ee},!0),E("autocapitalize",!1,function(x,ee){return x.getInputField().autocapitalize=ee},!0),E("rtlMoveVisually",!Ct),E("wholeLineUpdateBefore",!0),E("theme","default",function(x){Mu(x),sn(x)},!0),E("keyMap","default",function(x,ee,ie){var ce=Us(ee),Ce=ie!=Xs&&Us(ie);Ce&&Ce.detach&&Ce.detach(x,ce),ce.attach&&ce.attach(x,Ce||null)}),E("extraKeys",null),E("configureMouse",null),E("lineWrapping",!1,Ku,!0),E("gutters",[],function(x,ee){x.display.gutterSpecs=It(ee,x.options.lineNumbers),sn(x)},!0),E("fixedGutter",!0,function(x,ee){x.display.gutters.style.left=ee?Os(x.display)+"px":"0",x.refresh()},!0),E("coverGutterNextToScrollbar",!1,function(x){return mr(x)},!0),E("scrollbarStyle","native",function(x){Sr(x),mr(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),E("lineNumbers",!1,function(x,ee){x.display.gutterSpecs=It(x.options.gutters,ee),sn(x)},!0),E("firstLineNumber",1,sn,!0),E("lineNumberFormatter",function(x){return x},sn,!0),E("showCursorWhenSelecting",!1,Ql,!0),E("resetSelectionOnContextMenu",!0),E("lineWiseCopyCut",!0),E("pasteLinesPerSelection",!0),E("selectionsMayTouch",!1),E("readOnly",!1,function(x,ee){ee=="nocursor"&&(is(x),x.display.input.blur()),x.display.input.readOnlyChanged(ee)}),E("screenReaderLabel",null,function(x,ee){ee=ee===""?null:ee,x.display.input.screenReaderLabelChanged(ee)}),E("disableInput",!1,function(x,ee){ee||x.display.input.reset()},!0),E("dragDrop",!0,Vu),E("allowDropFileTypes",null),E("cursorBlinkRate",530),E("cursorScrollMargin",0),E("cursorHeight",1,Ql,!0),E("singleCursorHeightPerLine",!0,Ql,!0),E("workTime",100),E("workDelay",100),E("flattenSpans",!0,Wr,!0),E("addModeClass",!1,Wr,!0),E("pollInterval",100),E("undoDepth",200,function(x,ee){return x.doc.history.undoDepth=ee}),E("historyEventDelay",1250),E("viewportMargin",10,function(x){return x.refresh()},!0),E("maxHighlightLength",1e4,Wr,!0),E("moveInputWithCursor",!0,function(x,ee){ee||x.display.input.resetPosition()}),E("tabindex",null,function(x,ee){return x.display.input.getField().tabIndex=ee||""}),E("autofocus",null),E("direction","ltr",function(x,ee){return x.doc.setDirection(ee)},!0),E("phrases",null)}function Vu(a,y,E){var x=E&&E!=Xs;if(!y!=!x){var ee=a.display.dragFunctions,ie=y?on:vn;ie(a.display.scroller,"dragstart",ee.start),ie(a.display.scroller,"dragenter",ee.enter),ie(a.display.scroller,"dragover",ee.over),ie(a.display.scroller,"dragleave",ee.leave),ie(a.display.scroller,"drop",ee.drop)}}function Ku(a){a.options.lineWrapping?(fe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(yt(a.display.wrapper,"CodeMirror-wrap"),ao(a)),rs(a),Xa(a),Xl(a),setTimeout(function(){return mr(a)},100)}function Na(a,y){var E=this;if(!(this instanceof Na))return new Na(a,y);this.options=y=y?fn(y):{},fn(Nu,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 ee=new Na.inputStyles[y.inputStyle](this),ie=this.display=new en(a,x,ee,y);ie.wrapper.CodeMirror=this,Mu(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Sr(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 be,keySeq:null,specialChars:null},y.autofocus&&!Fe&&ie.input.focus(),we&&Se<11&&setTimeout(function(){return E.display.input.reset(!0)},20),Uu(this),Yo(),Or(this),this.curOp.forceUpdate=!0,Cr(this,x),y.autofocus&&!Fe||this.hasFocus()?setTimeout(function(){E.hasFocus()&&!E.state.focused&&Jl(E)},20):is(this);for(var ce in gu)gu.hasOwnProperty(ce)&&gu[ce](this,y[ce],Xs);ft(this),y.finishInit&&y.finishInit(this);for(var Ce=0;Ce<Pu.length;++Ce)Pu[Ce](this);Rr(this),Pe&&y.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}Na.defaults=Nu,Na.optionHandlers=gu;function Uu(a){var y=a.display;on(y.scroller,"mousedown",Xr(a,cu)),we&&Se<11?on(y.scroller,"dblclick",Xr(a,function(Ae){if(!at(a,Ae)){var je=zl(a,Ae);if(!(!je||ql(a,Ae)||Ha(a.display,Ae))){At(Ae);var _t=a.findWordAt(je);vo(a.doc,_t.anchor,_t.head)}}})):on(y.scroller,"dblclick",function(Ae){return at(a,Ae)||At(Ae)}),on(y.scroller,"contextmenu",function(Ae){return Bs(a,Ae)}),on(y.input.getField(),"contextmenu",function(Ae){y.scroller.contains(Ae.target)||Bs(a,Ae)});var E,x={end:0};function ee(){y.activeTouch&&(E=setTimeout(function(){return y.activeTouch=null},1e3),x=y.activeTouch,x.end=+new Date)}function ie(Ae){if(Ae.touches.length!=1)return!1;var je=Ae.touches[0];return je.radiusX<=1&&je.radiusY<=1}function ce(Ae,je){if(je.left==null)return!0;var _t=je.left-Ae.left,hn=je.top-Ae.top;return _t*_t+hn*hn>20*20}on(y.scroller,"touchstart",function(Ae){if(!at(a,Ae)&&!ie(Ae)&&!ql(a,Ae)){y.input.ensurePolled(),clearTimeout(E);var je=+new Date;y.activeTouch={start:je,moved:!1,prev:je-x.end<=300?x:null},Ae.touches.length==1&&(y.activeTouch.left=Ae.touches[0].pageX,y.activeTouch.top=Ae.touches[0].pageY)}}),on(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),on(y.scroller,"touchend",function(Ae){var je=y.activeTouch;if(je&&!Ha(y,Ae)&&je.left!=null&&!je.moved&&new Date-je.start<300){var _t=a.coordsChar(y.activeTouch,"page"),hn;!je.prev||ce(je,je.prev)?hn=new Cn(_t,_t):!je.prev.prev||ce(je,je.prev.prev)?hn=a.findWordAt(_t):hn=new Cn(Qe(_t.line,0),Lt(a.doc,Qe(_t.line+1,0))),a.setSelection(hn.anchor,hn.head),a.focus(),At(Ae)}ee()}),on(y.scroller,"touchcancel",ee),on(y.scroller,"scroll",function(){y.scroller.clientHeight&&(er(a,y.scroller.scrollTop),ar(a,y.scroller.scrollLeft,!0),Bt(a,"scroll",a))}),on(y.scroller,"mousewheel",function(Ae){return Pn(a,Ae)}),on(y.scroller,"DOMMouseScroll",function(Ae){return Pn(a,Ae)}),on(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(Ae){at(a,Ae)||Le(Ae)},over:function(Ae){at(a,Ae)||(Tl(a,Ae),Le(Ae))},start:function(Ae){return yl(a,Ae)},drop:Xr(a,Qa),leave:function(Ae){at(a,Ae)||Es(a)}};var Ce=y.input.getField();on(Ce,"keyup",function(Ae){return lu.call(a,Ae)}),on(Ce,"keydown",Xr(a,au)),on(Ce,"keypress",Xr(a,su)),on(Ce,"focus",function(Ae){return Jl(a,Ae)}),on(Ce,"blur",function(Ae){return is(a,Ae)})}var Pu=[];Na.defineInitHook=function(a){return Pu.push(a)};function fu(a,y,E,x){var ee=a.doc,ie;E==null&&(E="add"),E=="smart"&&(ee.mode.indent?ie=zr(a,y).state:E="prev");var ce=a.options.tabSize,Ce=xn(ee,y),Ae=ke(Ce.text,null,ce);Ce.stateAfter&&(Ce.stateAfter=null);var je=Ce.text.match(/^\s*/)[0],_t;if(!x&&!/\S/.test(Ce.text))_t=0,E="not";else if(E=="smart"&&(_t=ee.mode.indent(ie,Ce.text.slice(je.length),Ce.text),_t==Xt||_t>150)){if(!x)return;E="prev"}E=="prev"?y>ee.first?_t=ke(xn(ee,y-1).text,null,ce):_t=0:E=="add"?_t=Ae+a.options.indentUnit:E=="subtract"?_t=Ae-a.options.indentUnit:typeof E=="number"&&(_t=Ae+E),_t=Math.max(0,_t);var hn="",Rn=0;if(a.options.indentWithTabs)for(var Mn=Math.floor(_t/ce);Mn;--Mn)Rn+=ce,hn+=" ";if(Rn<_t&&(hn+=Zt(_t-Rn)),hn!=je)return Po(ee,hn,Qe(y,0),Qe(y,je.length),"+input"),Ce.stateAfter=null,!0;for(var vr=0;vr<ee.sel.ranges.length;vr++){var Tr=ee.sel.ranges[vr];if(Tr.head.line==y&&Tr.head.ch<je.length){var ti=Qe(y,je.length);va(ee,vr,new Cn(ti,ti));break}}}var es=null;function yu(a){es=a}function Bu(a,y,E,x,ee){var ie=a.doc;a.display.shift=!1,x||(x=ie.sel);var ce=+new Date-200,Ce=ee=="paste"||a.state.pasteIncoming>ce,Ae=Bn(y),je=null;if(Ce&&x.ranges.length>1)if(es&&es.text.join(`
|
|
|
`)==y){if(x.ranges.length%es.text.length==0){je=[];for(var _t=0;_t<es.text.length;_t++)je.push(ie.splitLines(es.text[_t]))}}else Ae.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(je=$t(Ae,function(hi){return[hi]}));for(var hn=a.curOp.updateInput,Rn=x.ranges.length-1;Rn>=0;Rn--){var Mn=x.ranges[Rn],vr=Mn.from(),Tr=Mn.to();Mn.empty()&&(E&&E>0?vr=Qe(vr.line,vr.ch-E):a.state.overwrite&&!Ce?Tr=Qe(Tr.line,Math.min(xn(ie,Tr.line).text.length,Tr.ch+st(Ae).length)):Ce&&es&&es.lineWise&&es.text.join(`
|
|
|
`)==Ae.join(`
|
|
|
`)&&(vr=Tr=Qe(vr.line,0)));var ti={from:vr,to:Tr,text:je?je[Rn%je.length]:Ae,origin:ee||(Ce?"paste":a.state.cutIncoming>ce?"cut":"+input")};$o(a.doc,ti),Bo(a,"inputRead",a,ti)}y&&!Ce&&ku(a,y),Sn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=hn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Lu(a,y){var E=a.clipboardData&&a.clipboardData.getData("Text");if(E)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&ii(y,function(){return Bu(y,E,0,null,"paste")}),!0}function ku(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var E=a.doc.sel,x=E.ranges.length-1;x>=0;x--){var ee=E.ranges[x];if(!(ee.head.ch>100||x&&E.ranges[x-1].head.line==ee.head.line)){var ie=a.getModeAt(ee.head),ce=!1;if(ie.electricChars){for(var Ce=0;Ce<ie.electricChars.length;Ce++)if(y.indexOf(ie.electricChars.charAt(Ce))>-1){ce=fu(a,ee.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(xn(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(ce=fu(a,ee.head.line,"smart"));ce&&Bo(a,"electricInput",a,ee.head.line)}}}function Tu(a){for(var y=[],E=[],x=0;x<a.doc.sel.ranges.length;x++){var ee=a.doc.sel.ranges[x].head.line,ie={anchor:Qe(ee,0),head:Qe(ee+1,0)};E.push(ie),y.push(a.getRange(ie.anchor,ie.head))}return{text:y,ranges:E}}function Ru(a,y,E,x){a.setAttribute("autocorrect",E?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!y)}function Zu(){var a=Ke("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ke("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Pe?a.style.width="1000px":a.setAttribute("wrap","off"),it&&(a.style.border="1px solid black"),Ru(a),y}function Yu(a){var y=a.optionHandlers,E=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,ee){var ie=this.options,ce=ie[x];ie[x]==ee&&x!="mode"||(ie[x]=ee,y.hasOwnProperty(x)&&Xr(this,y[x])(this,ee,ce),Bt(this,"optionChange",this,x))},getOption:function(x){return this.options[x]},getDoc:function(){return this.doc},addKeyMap:function(x,ee){this.state.keyMaps[ee?"push":"unshift"](Us(x))},removeKeyMap:function(x){for(var ee=this.state.keyMaps,ie=0;ie<ee.length;++ie)if(ee[ie]==x||ee[ie].name==x)return ee.splice(ie,1),!0},addOverlay:si(function(x,ee){var ie=x.token?x:a.getMode(this.options,x);if(ie.startState)throw new Error("Overlays may not be stateful.");Nt(this.state.overlays,{mode:ie,modeSpec:x,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(ce){return ce.priority}),this.state.modeGen++,Xa(this)}),removeOverlay:si(function(x){for(var ee=this.state.overlays,ie=0;ie<ee.length;++ie){var ce=ee[ie].modeSpec;if(ce==x||typeof x=="string"&&ce.name==x){ee.splice(ie,1),this.state.modeGen++,Xa(this);return}}}),indentLine:si(function(x,ee,ie){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),nt(this.doc,x)&&fu(this,x,ee,ie)}),indentSelection:si(function(x){for(var ee=this.doc.sel.ranges,ie=-1,ce=0;ce<ee.length;ce++){var Ce=ee[ce];if(Ce.empty())Ce.head.line>ie&&(fu(this,Ce.head.line,x,!0),ie=Ce.head.line,ce==this.doc.sel.primIndex&&Sn(this));else{var Ae=Ce.from(),je=Ce.to(),_t=Math.max(ie,Ae.line);ie=Math.min(this.lastLine(),je.line-(je.ch?0:1))+1;for(var hn=_t;hn<ie;++hn)fu(this,hn,x);var Rn=this.doc.sel.ranges;Ae.ch==0&&ee.length==Rn.length&&Rn[ce].from().ch>0&&va(this.doc,ce,new Cn(Ae,Rn[ce].to()),ge)}}}),getTokenAt:function(x,ee){return Vr(this,x,ee)},getLineTokens:function(x,ee){return Vr(this,Qe(x),ee,!0)},getTokenTypeAt:function(x){x=Lt(this.doc,x);var ee=Nr(this,xn(this.doc,x.line)),ie=0,ce=(ee.length-1)/2,Ce=x.ch,Ae;if(Ce==0)Ae=ee[2];else for(;;){var je=ie+ce>>1;if((je?ee[je*2-1]:0)>=Ce)ce=je;else if(ee[je*2+1]<Ce)ie=je+1;else{Ae=ee[je*2+2];break}}var _t=Ae?Ae.indexOf("overlay "):-1;return _t<0?Ae:_t==0?null:Ae.slice(0,_t-1)},getModeAt:function(x){var ee=this.doc.mode;return ee.innerMode?a.innerMode(ee,this.getTokenAt(x).state).mode:ee},getHelper:function(x,ee){return this.getHelpers(x,ee)[0]},getHelpers:function(x,ee){var ie=[];if(!E.hasOwnProperty(ee))return ie;var ce=E[ee],Ce=this.getModeAt(x);if(typeof Ce[ee]=="string")ce[Ce[ee]]&&ie.push(ce[Ce[ee]]);else if(Ce[ee])for(var Ae=0;Ae<Ce[ee].length;Ae++){var je=ce[Ce[ee][Ae]];je&&ie.push(je)}else Ce.helperType&&ce[Ce.helperType]?ie.push(ce[Ce.helperType]):ce[Ce.name]&&ie.push(ce[Ce.name]);for(var _t=0;_t<ce._global.length;_t++){var hn=ce._global[_t];hn.pred(Ce,this)&&Yt(ie,hn.val)==-1&&ie.push(hn.val)}return ie},getStateAfter:function(x,ee){var ie=this.doc;return x=Tt(ie,x==null?ie.first+ie.size-1:x),zr(this,x+1,ee).state},cursorCoords:function(x,ee){var ie,ce=this.doc.sel.primary();return x==null?ie=ce.head:typeof x=="object"?ie=Lt(this.doc,x):ie=x?ce.from():ce.to(),Wa(this,ie,ee||"page")},charCoords:function(x,ee){return Kl(this,Lt(this.doc,x),ee||"page")},coordsChar:function(x,ee){return x=Cs(this,x,ee||"page"),Ma(this,x.left,x.top)},lineAtHeight:function(x,ee){return x=Cs(this,{top:x,left:0},ee||"page").top,Ut(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,ie){var ce=!1,Ce;if(typeof x=="number"){var Ae=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>Ae&&(x=Ae,ce=!0),Ce=xn(this.doc,x)}else Ce=x;return fs(this,Ce,{top:0,left:0},ee||"page",ie||ce).top+(ce?this.doc.height-ji(Ce):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,ee,ie,ce,Ce){var Ae=this.display;x=Wa(this,Lt(this.doc,x));var je=x.bottom,_t=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),Ae.sizer.appendChild(ee),ce=="over")je=x.top;else if(ce=="above"||ce=="near"){var hn=Math.max(Ae.wrapper.clientHeight,this.doc.height),Rn=Math.max(Ae.sizer.clientWidth,Ae.lineSpace.clientWidth);(ce=="above"||x.bottom+ee.offsetHeight>hn)&&x.top>ee.offsetHeight?je=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=hn&&(je=x.bottom),_t+ee.offsetWidth>Rn&&(_t=Rn-ee.offsetWidth)}ee.style.top=je+"px",ee.style.left=ee.style.right="",Ce=="right"?(_t=Ae.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(Ce=="left"?_t=0:Ce=="middle"&&(_t=(Ae.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=_t+"px"),ie&&vt(this,{left:_t,top:je,right:_t+ee.offsetWidth,bottom:je+ee.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){ku(this,x)}),findPosH:function(x,ee,ie,ce){var Ce=1;ee<0&&(Ce=-1,ee=-ee);for(var Ae=Lt(this.doc,x),je=0;je<ee&&(Ae=Fu(this.doc,Ae,Ce,ie,ce),!Ae.hitSide);++je);return Ae},moveH:si(function(x,ee){var ie=this;this.extendSelectionsBy(function(ce){return ie.display.shift||ie.doc.extend||ce.empty()?Fu(ie.doc,ce.head,x,ee,ie.options.rtlMoveVisually):x<0?ce.from():ce.to()},qe)}),deleteH:si(function(x,ee){var ie=this.doc.sel,ce=this.doc;ie.somethingSelected()?ce.replaceSelection("",null,"+delete"):vs(this,function(Ce){var Ae=Fu(ce,Ce.head,x,ee,!1);return x<0?{from:Ae,to:Ce.head}:{from:Ce.head,to:Ae}})}),findPosV:function(x,ee,ie,ce){var Ce=1,Ae=ce;ee<0&&(Ce=-1,ee=-ee);for(var je=Lt(this.doc,x),_t=0;_t<ee;++_t){var hn=Wa(this,je,"div");if(Ae==null?Ae=hn.left:hn.left=Ae,je=zu(this,hn,Ce,ie),je.hitSide)break}return je},moveV:si(function(x,ee){var ie=this,ce=this.doc,Ce=[],Ae=!this.display.shift&&!ce.extend&&ce.sel.somethingSelected();if(ce.extendSelectionsBy(function(_t){if(Ae)return x<0?_t.from():_t.to();var hn=Wa(ie,_t.head,"div");_t.goalColumn!=null&&(hn.left=_t.goalColumn),Ce.push(hn.left);var Rn=zu(ie,hn,x,ee);return ee=="page"&&_t==ce.sel.primary()&&dn(ie,Kl(ie,Rn,"div").top-hn.top),Rn},qe),Ce.length)for(var je=0;je<ce.sel.ranges.length;je++)ce.sel.ranges[je].goalColumn=Ce[je]}),findWordAt:function(x){var ee=this.doc,ie=xn(ee,x.line).text,ce=x.ch,Ce=x.ch;if(ie){var Ae=this.getHelper(x,"wordChars");(x.sticky=="before"||Ce==ie.length)&&ce?--ce:++Ce;for(var je=ie.charAt(ce),_t=de(je,Ae)?function(hn){return de(hn,Ae)}:/\s/.test(je)?function(hn){return/\s/.test(hn)}:function(hn){return!/\s/.test(hn)&&!de(hn)};ce>0&&_t(ie.charAt(ce-1));)--ce;for(;Ce<ie.length&&_t(ie.charAt(Ce));)++Ce}return new Cn(Qe(x.line,ce),Qe(x.line,Ce))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?fe(this.display.cursorDiv,"CodeMirror-overwrite"):yt(this.display.cursorDiv,"CodeMirror-overwrite"),Bt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ye()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:si(function(x,ee){wn(this,x,ee)}),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,ee){x==null?(x={from:this.doc.sel.primary().head,to:null},ee==null&&(ee=this.options.cursorScrollMargin)):typeof x=="number"?x={from:Qe(x,0),to:null}:x.from==null&&(x={from:x,to:null}),x.to||(x.to=x.from),x.margin=ee||0,x.from.line!=null?zn(this,x):An(this,x.from,x.to,x.margin)}),setSize:si(function(x,ee){var ie=this,ce=function(Ae){return typeof Ae=="number"||/^\d+$/.test(String(Ae))?Ae+"px":Ae};x!=null&&(this.display.wrapper.style.width=ce(x)),ee!=null&&(this.display.wrapper.style.height=ce(ee)),this.options.lineWrapping&&gl(this);var Ce=this.display.viewFrom;this.doc.iter(Ce,this.display.viewTo,function(Ae){if(Ae.widgets){for(var je=0;je<Ae.widgets.length;je++)if(Ae.widgets[je].noHScroll){Hl(ie,Ce,"widget");break}}++Ce}),this.curOp.forceUpdate=!0,Bt(this,"refresh",this)}),operation:function(x){return ii(this,x)},startOperation:function(){return Or(this)},endOperation:function(){return Rr(this)},refresh:si(function(){var x=this.display.cachedTextHeight;Xa(this),this.curOp.forceUpdate=!0,Xl(this),wn(this,this.doc.scrollLeft,this.doc.scrollTop),ve(this.display),(x==null||Math.abs(x-fl(this.display))>.5||this.options.lineWrapping)&&rs(this),Bt(this,"refresh",this)}),swapDoc:si(function(x){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),Cr(this,x),Xl(this),this.display.input.reset(),wn(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Bo(this,"swapDoc",this,ee),ee}),phrase:function(x){var ee=this.options.phrases;return ee&&Object.prototype.hasOwnProperty.call(ee,x)?ee[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}},Je(a),a.registerHelper=function(x,ee,ie){E.hasOwnProperty(x)||(E[x]=a[x]={_global:[]}),E[x][ee]=ie},a.registerGlobalHelper=function(x,ee,ie,ce){a.registerHelper(x,ee,ce),E[x]._global.push({pred:ie,val:ce})}}function Fu(a,y,E,x,ee){var ie=y,ce=E,Ce=xn(a,y.line),Ae=ee&&a.direction=="rtl"?-E:E;function je(){var Oi=y.line+Ae;return Oi<a.first||Oi>=a.first+a.size?!1:(y=new Qe(Oi,y.ch,y.sticky),Ce=xn(a,Oi))}function _t(Oi){var mi;if(x=="codepoint"){var Hi=Ce.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(Hi)?mi=null:mi=new Qe(y.line,Math.max(0,Math.min(Ce.text.length,y.ch+E*(Hi>=55296&&Hi<56320?2:1))),-E)}else ee?mi=vu(a.cm,Ce,y,E):mi=Ys(Ce,y,E);if(mi==null)if(!Oi&&je())y=tu(ee,a.cm,Ce,y.line,Ae);else return!1;else y=mi;return!0}if(x=="char"||x=="codepoint")_t();else if(x=="column")_t(!0);else if(x=="word"||x=="group")for(var hn=null,Rn=x=="group",Mn=a.cm&&a.cm.getHelper(y,"wordChars"),vr=!0;!(E<0&&!_t(!vr));vr=!1){var Tr=Ce.text.charAt(y.ch)||`
|
|
|
`,ti=de(Tr,Mn)?"w":Rn&&Tr==`
|
|
|
`?"n":!Rn||/\s/.test(Tr)?null:"p";if(Rn&&!vr&&!ti&&(ti="s"),hn&&hn!=ti){E<0&&(E=1,_t(),y.sticky="after");break}if(ti&&(hn=ti),E>0&&!_t(!vr))break}var hi=ca(a,y,ie,ce,!0);return Ne(ie,hi)&&(hi.hitSide=!0),hi}function zu(a,y,E,x){var ee=a.doc,ie=y.left,ce;if(x=="page"){var Ce=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ae=Math.max(Ce-.5*fl(a.display),3);ce=(E>0?y.bottom:y.top)+E*Ae}else x=="line"&&(ce=E>0?y.bottom+3:y.top-3);for(var je;je=Ma(a,ie,ce),!!je.outside;){if(E<0?ce<=0:ce>=ee.height){je.hitSide=!0;break}ce+=E*5}return je}var ba=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new be,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ba.prototype.init=function(a){var y=this,E=this,x=E.cm,ee=E.div=a.lineDiv;Ru(ee,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function ie(Ce){for(var Ae=Ce.target;Ae;Ae=Ae.parentNode){if(Ae==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ae.className))break}return!1}on(ee,"paste",function(Ce){!ie(Ce)||at(x,Ce)||Lu(Ce,x)||Se<=11&&setTimeout(Xr(x,function(){return y.updateFromDOM()}),20)}),on(ee,"compositionstart",function(Ce){y.composing={data:Ce.data,done:!1}}),on(ee,"compositionupdate",function(Ce){y.composing||(y.composing={data:Ce.data,done:!1})}),on(ee,"compositionend",function(Ce){y.composing&&(Ce.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),on(ee,"touchstart",function(){return E.forceCompositionEnd()}),on(ee,"input",function(){y.composing||y.readFromDOMSoon()});function ce(Ce){if(!(!ie(Ce)||at(x,Ce))){if(x.somethingSelected())yu({lineWise:!1,text:x.getSelections()}),Ce.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Ae=Tu(x);yu({lineWise:!0,text:Ae.text}),Ce.type=="cut"&&x.operation(function(){x.setSelections(Ae.ranges,0,ge),x.replaceSelection("",null,"cut")})}else return;if(Ce.clipboardData){Ce.clipboardData.clearData();var je=es.text.join(`
|
|
|
`);if(Ce.clipboardData.setData("Text",je),Ce.clipboardData.getData("Text")==je){Ce.preventDefault();return}}var _t=Zu(),hn=_t.firstChild;x.display.lineSpace.insertBefore(_t,x.display.lineSpace.firstChild),hn.value=es.text.join(`
|
|
|
`);var Rn=document.activeElement;Ge(hn),setTimeout(function(){x.display.lineSpace.removeChild(_t),Rn.focus(),Rn==ee&&E.showPrimarySelection()},50)}}on(ee,"copy",ce),on(ee,"cut",ce)},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,E=y.doc.sel.primary(),x=E.from(),ee=E.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||ee.line<y.display.viewFrom){a.removeAllRanges();return}var ie=bu(y,a.anchorNode,a.anchorOffset),ce=bu(y,a.focusNode,a.focusOffset);if(!(ie&&!ie.bad&&ce&&!ce.bad&&Mt(un(ie,ce),x)==0&&Mt(Qt(ie,ce),ee)==0)){var Ce=y.display.view,Ae=x.line>=y.display.viewFrom&&Hu(y,x)||{node:Ce[0].measure.map[2],offset:0},je=ee.line<y.display.viewTo&&Hu(y,ee);if(!je){var _t=Ce[Ce.length-1].measure,hn=_t.maps?_t.maps[_t.maps.length-1]:_t.map;je={node:hn[hn.length-1],offset:hn[hn.length-2]-hn[hn.length-3]}}if(!Ae||!je){a.removeAllRanges();return}var Rn=a.rangeCount&&a.getRangeAt(0),Mn;try{Mn=De(Ae.node,Ae.offset,je.offset,je.node)}catch(vr){}Mn&&(!b&&y.state.focused?(a.collapse(Ae.node,Ae.offset),Mn.collapsed||(a.removeAllRanges(),a.addRange(Mn))):(a.removeAllRanges(),a.addRange(Mn)),Rn&&a.anchorNode==null?a.addRange(Rn):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){Ue(this.cm.display.cursorDiv,a.cursors),Ue(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 gt(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(He&&Ee&&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 E=bu(y,a.anchorNode,a.anchorOffset),x=bu(y,a.focusNode,a.focusOffset);E&&x&&ii(y,function(){ci(y.doc,Kn(E,x),ge),(E.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,E=a.doc.sel.primary(),x=E.from(),ee=E.to();if(x.ch==0&&x.line>a.firstLine()&&(x=Qe(x.line-1,xn(a.doc,x.line-1).length)),ee.ch==xn(a.doc,ee.line).text.length&&ee.line<a.lastLine()&&(ee=Qe(ee.line+1,0)),x.line<y.viewFrom||ee.line>y.viewTo-1)return!1;var ie,ce,Ce;x.line==y.viewFrom||(ie=Ll(a,x.line))==0?(ce=Pt(y.view[0].line),Ce=y.view[0].node):(ce=Pt(y.view[ie].line),Ce=y.view[ie-1].node.nextSibling);var Ae=Ll(a,ee.line),je,_t;if(Ae==y.view.length-1?(je=y.viewTo-1,_t=y.lineDiv.lastChild):(je=Pt(y.view[Ae+1].line)-1,_t=y.view[Ae+1].node.previousSibling),!Ce)return!1;for(var hn=a.doc.splitLines(Xu(a,Ce,_t,ce,je)),Rn=kn(a.doc,Qe(ce,0),Qe(je,xn(a.doc,je).text.length));hn.length>1&&Rn.length>1;)if(st(hn)==st(Rn))hn.pop(),Rn.pop(),je--;else if(hn[0]==Rn[0])hn.shift(),Rn.shift(),ce++;else break;for(var Mn=0,vr=0,Tr=hn[0],ti=Rn[0],hi=Math.min(Tr.length,ti.length);Mn<hi&&Tr.charCodeAt(Mn)==ti.charCodeAt(Mn);)++Mn;for(var Oi=st(hn),mi=st(Rn),Hi=Math.min(Oi.length-(hn.length==1?Mn:0),mi.length-(Rn.length==1?Mn:0));vr<Hi&&Oi.charCodeAt(Oi.length-vr-1)==mi.charCodeAt(mi.length-vr-1);)++vr;if(hn.length==1&&Rn.length==1&&ce==x.line)for(;Mn&&Mn>x.ch&&Oi.charCodeAt(Oi.length-vr-1)==mi.charCodeAt(mi.length-vr-1);)Mn--,vr++;hn[hn.length-1]=Oi.slice(0,Oi.length-vr).replace(/^\u200b+/,""),hn[0]=hn[0].slice(Mn).replace(/\u200b+$/,"");var mo=Qe(ce,Mn),io=Qe(je,Rn.length?st(Rn).length-vr:0);if(hn.length>1||hn[0]||Mt(mo,io))return Po(a.doc,hn,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 Hu(a,y){var E=il(a,y.line);if(!E||E.hidden)return null;var x=xn(a.doc,y.line),ee=Vl(E,x,y.line),ie=Oe(x,a.doc.direction),ce="left";if(ie){var Ce=ht(ie,y.ch);ce=Ce%2?"right":"left"}var Ae=Gl(ee.map,y.ch,ce);return Ae.offset=Ae.collapse=="right"?Ae.end:Ae.start,Ae}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,E,x,ee){var ie="",ce=!1,Ce=a.doc.lineSeparator(),Ae=!1;function je(Mn){return function(vr){return vr.id==Mn}}function _t(){ce&&(ie+=Ce,Ae&&(ie+=Ce),ce=Ae=!1)}function hn(Mn){Mn&&(_t(),ie+=Mn)}function Rn(Mn){if(Mn.nodeType==1){var vr=Mn.getAttribute("cm-text");if(vr){hn(vr);return}var Tr=Mn.getAttribute("cm-marker"),ti;if(Tr){var hi=a.findMarks(Qe(x,0),Qe(ee+1,0),je(+Tr));hi.length&&(ti=hi[0].find(0))&&hn(kn(a.doc,ti.from,ti.to).join(Ce));return}if(Mn.getAttribute("contenteditable")=="false")return;var Oi=/^(pre|div|p|li|table|br)$/i.test(Mn.nodeName);if(!/^br$/i.test(Mn.nodeName)&&Mn.textContent.length==0)return;Oi&&_t();for(var mi=0;mi<Mn.childNodes.length;mi++)Rn(Mn.childNodes[mi]);/^(pre|p)$/i.test(Mn.nodeName)&&(Ae=!0),Oi&&(ce=!0)}else Mn.nodeType==3&&hn(Mn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Rn(y),y!=E;)y=y.nextSibling,Ae=!1;return ie}function bu(a,y,E){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[E],!x)return $s(a.clipPos(Qe(a.display.viewTo-1)),!0);y=null,E=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 ee=0;ee<a.display.view.length;ee++){var ie=a.display.view[ee];if(ie.node==x)return $u(ie,y,E)}}function $u(a,y,E){var x=a.text.firstChild,ee=!1;if(!y||!gt(x,y))return $s(Qe(Pt(a.line),0),!0);if(y==x&&(ee=!0,y=x.childNodes[E],E=0,!y)){var ie=a.rest?st(a.rest):a.line;return $s(Qe(Pt(ie),ie.text.length),ee)}var ce=y.nodeType==3?y:null,Ce=y;for(!ce&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(ce=y.firstChild,E&&(E=ce.nodeValue.length));Ce.parentNode!=x;)Ce=Ce.parentNode;var Ae=a.measure,je=Ae.maps;function _t(ti,hi,Oi){for(var mi=-1;mi<(je?je.length:0);mi++)for(var Hi=mi<0?Ae.map:je[mi],mo=0;mo<Hi.length;mo+=3){var io=Hi[mo+2];if(io==ti||io==hi){var Vo=Pt(mi<0?a.line:a.rest[mi]),wa=Hi[mo]+Oi;return(Oi<0||io!=ti)&&(wa=Hi[mo+(Oi?1:0)]),Qe(Vo,wa)}}}var hn=_t(ce,Ce,E);if(hn)return $s(hn,ee);for(var Rn=Ce.nextSibling,Mn=ce?ce.nodeValue.length-E:0;Rn;Rn=Rn.nextSibling){if(hn=_t(Rn,Rn.firstChild,0),hn)return $s(Qe(hn.line,hn.ch-Mn),ee);Mn+=Rn.textContent.length}for(var vr=Ce.previousSibling,Tr=E;vr;vr=vr.previousSibling){if(hn=_t(vr,vr.firstChild,-1),hn)return $s(Qe(hn.line,hn.ch+Tr),ee);Tr+=vr.textContent.length}}var Ya=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new be,this.hasSelection=!1,this.composing=null};Ya.prototype.init=function(a){var y=this,E=this,x=this.cm;this.createField(a);var ee=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),it&&(ee.style.width="0px"),on(ee,"input",function(){we&&Se>=9&&y.hasSelection&&(y.hasSelection=null),E.poll()}),on(ee,"paste",function(ce){at(x,ce)||Lu(ce,x)||(x.state.pasteIncoming=+new Date,E.fastPoll())});function ie(ce){if(!at(x,ce)){if(x.somethingSelected())yu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var Ce=Tu(x);yu({lineWise:!0,text:Ce.text}),ce.type=="cut"?x.setSelections(Ce.ranges,null,ge):(E.prevInput="",ee.value=Ce.text.join(`
|
|
|
`),Ge(ee))}else return;ce.type=="cut"&&(x.state.cutIncoming=+new Date)}}on(ee,"cut",ie),on(ee,"copy",ie),on(a.scroller,"paste",function(ce){if(!(Ha(a,ce)||at(x,ce))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,E.focus();return}var Ce=new Event("paste");Ce.clipboardData=ce.clipboardData,ee.dispatchEvent(Ce)}}),on(a.lineSpace,"selectstart",function(ce){Ha(a,ce)||At(ce)}),on(ee,"compositionstart",function(){var ce=x.getCursor("from");E.composing&&E.composing.range.clear(),E.composing={start:ce,range:x.markText(ce,x.getCursor("to"),{className:"CodeMirror-composing"})}}),on(ee,"compositionend",function(){E.composing&&(E.poll(),E.composing.range.clear(),E.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,E=a.doc,x=hu(a);if(a.options.moveInputWithCursor){var ee=Wa(a,E.sel.primary().head,"div"),ie=y.wrapper.getBoundingClientRect(),ce=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ee.top+ce.top-ie.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ee.left+ce.left-ie.left))}return x},Ya.prototype.showSelection=function(a){var y=this.cm,E=y.display;Ue(E.cursorDiv,a.cursors),Ue(E.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 E=y.getSelection();this.textarea.value=E,y.state.focused&&Ge(this.textarea),we&&Se>=9&&(this.hasSelection=E)}else a||(this.prevInput=this.textarea.value="",we&&Se>=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"&&(!Fe||Ye()!=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 E(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,E)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,E)},Ya.prototype.poll=function(){var a=this,y=this.cm,E=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||jn(E)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ee=E.value;if(ee==x&&!y.somethingSelected())return!1;if(we&&Se>=9&&this.hasSelection===ee||Te&&/[\uf700-\uf7ff]/.test(ee))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ie=ee.charCodeAt(0);if(ie==8203&&!x&&(x="\u200B"),ie==8666)return this.reset(),this.cm.execCommand("undo")}for(var ce=0,Ce=Math.min(x.length,ee.length);ce<Ce&&x.charCodeAt(ce)==ee.charCodeAt(ce);)++ce;return ii(y,function(){Bu(y,ee.slice(ce),x.length-ce,null,a.composing?"*compose":null),ee.length>1e3||ee.indexOf(`
|
|
|
`)>-1?E.value=a.prevInput="":a.prevInput=ee,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(){we&&Se>=9&&(this.hasSelection=null),this.fastPoll()},Ya.prototype.onContextMenu=function(a){var y=this,E=y.cm,x=E.display,ee=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ie=zl(E,a),ce=x.scroller.scrollTop;if(!ie||he)return;var Ce=E.options.resetSelectionOnContextMenu;Ce&&E.doc.sel.contains(ie)==-1&&Xr(E,ci)(E.doc,Kn(ie),ge);var Ae=ee.style.cssText,je=y.wrapper.style.cssText,_t=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-_t.top-5)+"px; left: "+(a.clientX-_t.left-5)+`px;
|
|
|
z-index: 1000; background: `+(we?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var hn;Pe&&(hn=window.scrollY),x.input.focus(),Pe&&window.scrollTo(null,hn),x.input.reset(),E.somethingSelected()||(ee.value=y.prevInput=" "),y.contextMenuPending=Mn,x.selForContextMenu=E.doc.sel,clearTimeout(x.detectingSelectAll);function Rn(){if(ee.selectionStart!=null){var Tr=E.somethingSelected(),ti="\u200B"+(Tr?ee.value:"");ee.value="\u21DA",ee.value=ti,y.prevInput=Tr?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=ti.length,x.selForContextMenu=E.doc.sel}}function Mn(){if(y.contextMenuPending==Mn&&(y.contextMenuPending=!1,y.wrapper.style.cssText=je,ee.style.cssText=Ae,we&&Se<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=ce),ee.selectionStart!=null)){(!we||we&&Se<9)&&Rn();var Tr=0,ti=function(){x.selForContextMenu==E.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&y.prevInput=="\u200B"?Xr(E,Ui)(E):Tr++<10?x.detectingSelectAll=setTimeout(ti,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(ti,200)}}if(we&&Se>=9&&Rn(),Ie){Le(a);var vr=function(){vn(window,"mouseup",vr),setTimeout(Mn,20)};on(window,"mouseup",vr)}else setTimeout(Mn,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 Qu(a,y){if(y=y?fn(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 E=Ye();y.autofocus=E==a||a.getAttribute("autofocus")!=null&&E==document.body}function x(){a.value=Ce.getValue()}var ee;if(a.form&&(on(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var ie=a.form;ee=ie.submit;try{var ce=ie.submit=function(){x(),ie.submit=ee,ie.submit(),ie.submit=ce}}catch(Ae){}}y.finishInit=function(Ae){Ae.save=x,Ae.getTextArea=function(){return a},Ae.toTextArea=function(){Ae.toTextArea=isNaN,x(),a.parentNode.removeChild(Ae.getWrapperElement()),a.style.display="",a.form&&(vn(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ee))}},a.style.display="none";var Ce=Na(function(Ae){return a.parentNode.insertBefore(Ae,a.nextSibling)},y);return Ce}function Ju(a){a.off=vn,a.on=on,a.wheelEventPixels=In,a.Doc=Pi,a.splitLines=Bn,a.countColumn=ke,a.findColumn=Vt,a.isWordChar=ae,a.Pass=Xt,a.signal=Bt,a.Line=Io,a.changeEnd=gr,a.scrollbarModel=kr,a.Pos=Qe,a.cmpPos=Mt,a.modes=jt,a.mimeModes=Ot,a.resolveMode=On,a.getMode=Qn,a.modeExtensions=Hn,a.extendMode=Dn,a.copyState=ir,a.startState=pr,a.innerMode=Fn,a.commands=as,a.keyMap=Ua,a.keyName=ms,a.isModifierKey=qs,a.lookupKey=As,a.normalizeKeyMap=ll,a.StringStream=Dr,a.SharedTextMarker=ua,a.TextMarker=$a,a.LineWidget=Uo,a.e_preventDefault=At,a.e_stopPropagation=Jt,a.e_stop=Le,a.addClass=fe,a.contains=gt,a.rmClass=yt,a.keyNames=Yi}ju(Na),Yu(Na);var _u="iter insert remove copy getEditor constructor".split(" ");for(var Cu in Pi.prototype)Pi.prototype.hasOwnProperty(Cu)&&Yt(_u,Cu)<0&&(Na.prototype[Cu]=function(a){return function(){return a.apply(this.doc,arguments)}}(Pi.prototype[Cu]));return Je(Pi),Na.inputStyles={textarea:Ya,contenteditable:ba},Na.defineMode=function(a){!Na.defaults.mode&&a!="null"&&(Na.defaults.mode=a),bn.apply(this,arguments)},Na.defineMIME=pn,Na.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Na.defineMIME("text/plain","null"),Na.defineExtension=function(a,y){Na.prototype[a]=y},Na.defineDocExtension=function(a,y){Pi.prototype[a]=y},Na.fromTextArea=Qu,Ju(Na),Na.version="5.58.2",Na})},25419:function(Tn,cn,z){(function(b){b(z(89780),z(15525),z(98101))})(function(b){"use strict";b.defineMode("markdown",function(Me,pe){var _e=b.getMode(Me,"text/html"),we=_e.name=="null";function Se(ke){if(b.findModeByName){var be=b.findModeByName(ke);be&&(ke=be.mime||be.mimes[0])}var Yt=b.getMode(Me,ke);return Yt.name=="null"?null:Yt}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 Pe={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 Xe in Pe)Pe.hasOwnProperty(Xe)&&pe.tokenTypeOverrides[Xe]&&(Pe[Xe]=pe.tokenTypeOverrides[Xe]);var Ee=/^([*\-_])(?:\s*\1){2,}\s*$/,he=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ut=/^\[(x| )\](?=\s)/i,Be=pe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,bt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,it=/^[^#!\[\]*_\\<>` "'(~:]+/,He=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Fe=/^\s*\[[^\]]+?\]:.*$/,Te=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,ot=" ";function Ct(ke,be,Yt){return be.f=be.inline=Yt,Yt(ke,be)}function tn(ke,be,Yt){return be.f=be.block=Yt,Yt(ke,be)}function se(ke){return!ke||!/\S/.test(ke.string)}function Ie(ke){if(ke.linkTitle=!1,ke.linkHref=!1,ke.linkText=!1,ke.em=!1,ke.strong=!1,ke.strikethrough=!1,ke.quote=0,ke.indentedCode=!1,ke.f==yt){var be=we;if(!be){var Yt=b.innerMode(_e,ke.htmlState);be=Yt.mode.name=="xml"&&Yt.state.tagStart===null&&!Yt.state.context&&Yt.state.tokenize.isInText}be&&(ke.f=ct,ke.block=dt,ke.htmlState=null)}return ke.trailingSpace=0,ke.trailingSpaceNewLine=!1,ke.prevLine=ke.thisLine,ke.thisLine={stream:null},null}function dt(ke,be){var Yt=ke.column()===be.indentation,ln=se(be.prevLine.stream),Xt=be.indentedCode,ge=be.prevLine.hr,Re=be.list!==!1,qe=(be.listStack[be.listStack.length-1]||0)+3;be.indentedCode=!1;var Vt=be.indentation;if(be.indentationDiff===null&&(be.indentationDiff=be.indentation,Re)){for(be.list=null;Vt<be.listStack[be.listStack.length-1];)be.listStack.pop(),be.listStack.length?be.indentation=be.listStack[be.listStack.length-1]:be.list=!1;be.list!==!1&&(be.indentationDiff=Vt-be.listStack[be.listStack.length-1])}var rt=!ln&&!ge&&!be.prevLine.header&&(!Re||!Xt)&&!be.prevLine.fencedCodeEnd,Zt=(be.list===!1||ge||ln)&&be.indentation<=qe&&ke.match(Ee),st=null;if(be.indentationDiff>=4&&(Xt||be.prevLine.fencedCodeEnd||be.prevLine.header||ln))return ke.skipToEnd(),be.indentedCode=!0,Pe.code;if(ke.eatSpace())return null;if(Yt&&be.indentation<=qe&&(st=ke.match(Be))&&st[1].length<=6)return be.quote=0,be.header=st[1].length,be.thisLine.header=!0,pe.highlightFormatting&&(be.formatting="header"),be.f=be.inline,Ue(be);if(be.indentation<=qe&&ke.eat(">"))return be.quote=Yt?1:be.quote+1,pe.highlightFormatting&&(be.formatting="quote"),ke.eatSpace(),Ue(be);if(!Zt&&!be.setext&&Yt&&be.indentation<=qe&&(st=ke.match(he))){var $t=st[1]?"ol":"ul";return be.indentation=Vt+ke.current().length,be.list=!0,be.quote=0,be.listStack.push(be.indentation),be.em=!1,be.strong=!1,be.code=!1,be.strikethrough=!1,pe.taskLists&&ke.match(ut,!1)&&(be.taskList=!0),be.f=be.inline,pe.highlightFormatting&&(be.formatting=["list","list-"+$t]),Ue(be)}else{if(Yt&&be.indentation<=qe&&(st=ke.match(He,!0)))return be.quote=0,be.fencedEndRE=new RegExp(st[1]+"+ *$"),be.localMode=pe.fencedCodeBlockHighlighting&&Se(st[2]||pe.fencedCodeBlockDefaultMode),be.localMode&&(be.localState=b.startState(be.localMode)),be.f=be.block=kt,pe.highlightFormatting&&(be.formatting="code-block"),be.code=-1,Ue(be);if(be.setext||(!rt||!Re)&&!be.quote&&be.list===!1&&!be.code&&!Zt&&!Fe.test(ke.string)&&(st=ke.lookAhead(1))&&(st=st.match(bt)))return be.setext?(be.header=be.setext,be.setext=0,ke.skipToEnd(),pe.highlightFormatting&&(be.formatting="header")):(be.header=st[0].charAt(0)=="="?1:2,be.setext=be.header),be.thisLine.header=!0,be.f=be.inline,Ue(be);if(Zt)return ke.skipToEnd(),be.hr=!0,be.thisLine.hr=!0,Pe.hr;if(ke.peek()==="[")return Ct(ke,be,Ft)}return Ct(ke,be,be.inline)}function yt(ke,be){var Yt=_e.token(ke,be.htmlState);if(!we){var ln=b.innerMode(_e,be.htmlState);(ln.mode.name=="xml"&&ln.state.tagStart===null&&!ln.state.context&&ln.state.tokenize.isInText||be.md_inside&&ke.current().indexOf(">")>-1)&&(be.f=ct,be.block=dt,be.htmlState=null)}return Yt}function kt(ke,be){var Yt=be.listStack[be.listStack.length-1]||0,ln=be.indentation<Yt,Xt=Yt+3;if(be.fencedEndRE&&be.indentation<=Xt&&(ln||ke.match(be.fencedEndRE))){pe.highlightFormatting&&(be.formatting="code-block");var ge;return ln||(ge=Ue(be)),be.localMode=be.localState=null,be.block=dt,be.f=ct,be.fencedEndRE=null,be.code=0,be.thisLine.fencedCodeEnd=!0,ln?tn(ke,be,be.block):ge}else return be.localMode?be.localMode.token(ke,be.localState):(ke.skipToEnd(),Pe.code)}function Ue(ke){var be=[];if(ke.formatting){be.push(Pe.formatting),typeof ke.formatting=="string"&&(ke.formatting=[ke.formatting]);for(var Yt=0;Yt<ke.formatting.length;Yt++)be.push(Pe.formatting+"-"+ke.formatting[Yt]),ke.formatting[Yt]==="header"&&be.push(Pe.formatting+"-"+ke.formatting[Yt]+"-"+ke.header),ke.formatting[Yt]==="quote"&&(!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=ke.quote?be.push(Pe.formatting+"-"+ke.formatting[Yt]+"-"+ke.quote):be.push("error"))}if(ke.taskOpen)return be.push("meta"),be.length?be.join(" "):null;if(ke.taskClosed)return be.push("property"),be.length?be.join(" "):null;if(ke.linkHref?be.push(Pe.linkHref,"url"):(ke.strong&&be.push(Pe.strong),ke.em&&be.push(Pe.em),ke.strikethrough&&be.push(Pe.strikethrough),ke.emoji&&be.push(Pe.emoji),ke.linkText&&be.push(Pe.linkText),ke.code&&be.push(Pe.code),ke.image&&be.push(Pe.image),ke.imageAltText&&be.push(Pe.imageAltText,"link"),ke.imageMarker&&be.push(Pe.imageMarker)),ke.header&&be.push(Pe.header,Pe.header+"-"+ke.header),ke.quote&&(be.push(Pe.quote),!pe.maxBlockquoteDepth||pe.maxBlockquoteDepth>=ke.quote?be.push(Pe.quote+"-"+ke.quote):be.push(Pe.quote+"-"+pe.maxBlockquoteDepth)),ke.list!==!1){var ln=(ke.listStack.length-1)%3;ln?ln===1?be.push(Pe.list2):be.push(Pe.list3):be.push(Pe.list1)}return ke.trailingSpaceNewLine?be.push("trailing-space-new-line"):ke.trailingSpace&&be.push("trailing-space-"+(ke.trailingSpace%2?"a":"b")),be.length?be.join(" "):null}function Ke(ke,be){if(ke.match(it,!0))return Ue(be)}function ct(ke,be){var Yt=be.text(ke,be);if(typeof Yt!="undefined")return Yt;if(be.list)return be.list=null,Ue(be);if(be.taskList){var ln=ke.match(ut,!0)[1]===" ";return ln?be.taskOpen=!0:be.taskClosed=!0,pe.highlightFormatting&&(be.formatting="task"),be.taskList=!1,Ue(be)}if(be.taskOpen=!1,be.taskClosed=!1,be.header&&ke.match(/^#+$/,!0))return pe.highlightFormatting&&(be.formatting="header"),Ue(be);var Xt=ke.next();if(be.linkTitle){be.linkTitle=!1;var ge=Xt;Xt==="("&&(ge=")"),ge=(ge+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Re="^\\s*(?:[^"+ge+"\\\\]+|\\\\\\\\|\\\\.)"+ge;if(ke.match(new RegExp(Re),!0))return Pe.linkHref}if(Xt==="`"){var qe=be.formatting;pe.highlightFormatting&&(be.formatting="code"),ke.eatWhile("`");var Vt=ke.current().length;if(be.code==0&&(!be.quote||Vt==1))return be.code=Vt,Ue(be);if(Vt==be.code){var rt=Ue(be);return be.code=0,rt}else return be.formatting=qe,Ue(be)}else if(be.code)return Ue(be);if(Xt==="\\"&&(ke.next(),pe.highlightFormatting)){var Zt=Ue(be),st=Pe.formatting+"-escape";return Zt?Zt+" "+st:st}if(Xt==="!"&&ke.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return be.imageMarker=!0,be.image=!0,pe.highlightFormatting&&(be.formatting="image"),Ue(be);if(Xt==="["&&be.imageMarker&&ke.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return be.imageMarker=!1,be.imageAltText=!0,pe.highlightFormatting&&(be.formatting="image"),Ue(be);if(Xt==="]"&&be.imageAltText){pe.highlightFormatting&&(be.formatting="image");var Zt=Ue(be);return be.imageAltText=!1,be.image=!1,be.inline=be.f=gt,Zt}if(Xt==="["&&!be.image)return be.linkText&&ke.match(/^.*?\]/)||(be.linkText=!0,pe.highlightFormatting&&(be.formatting="link")),Ue(be);if(Xt==="]"&&be.linkText){pe.highlightFormatting&&(be.formatting="link");var Zt=Ue(be);return be.linkText=!1,be.inline=be.f=ke.match(/\(.*?\)| ?\[.*?\]/,!1)?gt:ct,Zt}if(Xt==="<"&&ke.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){be.f=be.inline=De,pe.highlightFormatting&&(be.formatting="link");var Zt=Ue(be);return Zt?Zt+=" ":Zt="",Zt+Pe.linkInline}if(Xt==="<"&&ke.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){be.f=be.inline=De,pe.highlightFormatting&&(be.formatting="link");var Zt=Ue(be);return Zt?Zt+=" ":Zt="",Zt+Pe.linkEmail}if(pe.xml&&Xt==="<"&&ke.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var $t=ke.string.indexOf(">",ke.pos);if($t!=-1){var Nt=ke.string.substring(ke.start,$t);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Nt)&&(be.md_inside=!0)}return ke.backUp(1),be.htmlState=b.startState(_e),tn(ke,be,yt)}if(pe.xml&&Xt==="<"&&ke.match(/^\/\w*?>/))return be.md_inside=!1,"tag";if(Xt==="*"||Xt==="_"){for(var le=1,ne=ke.pos==1?" ":ke.string.charAt(ke.pos-2);le<3&&ke.eat(Xt);)le++;var te=ke.peek()||" ",ae=!/\s/.test(te)&&(!Te.test(te)||/\s/.test(ne)||Te.test(ne)),de=!/\s/.test(ne)&&(!Te.test(ne)||/\s/.test(te)||Te.test(te)),re=null,ue=null;if(le%2&&(!be.em&&ae&&(Xt==="*"||!de||Te.test(ne))?re=!0:be.em==Xt&&de&&(Xt==="*"||!ae||Te.test(te))&&(re=!1)),le>1&&(!be.strong&&ae&&(Xt==="*"||!de||Te.test(ne))?ue=!0:be.strong==Xt&&de&&(Xt==="*"||!ae||Te.test(te))&&(ue=!1)),ue!=null||re!=null){pe.highlightFormatting&&(be.formatting=re==null?"strong":ue==null?"em":"strong em"),re===!0&&(be.em=Xt),ue===!0&&(be.strong=Xt);var rt=Ue(be);return re===!1&&(be.em=!1),ue===!1&&(be.strong=!1),rt}}else if(Xt===" "&&(ke.eat("*")||ke.eat("_"))){if(ke.peek()===" ")return Ue(be);ke.backUp(1)}if(pe.strikethrough){if(Xt==="~"&&ke.eatWhile(Xt)){if(be.strikethrough){pe.highlightFormatting&&(be.formatting="strikethrough");var rt=Ue(be);return be.strikethrough=!1,rt}else if(ke.match(/^[^\s]/,!1))return be.strikethrough=!0,pe.highlightFormatting&&(be.formatting="strikethrough"),Ue(be)}else if(Xt===" "&&ke.match(/^~~/,!0)){if(ke.peek()===" ")return Ue(be);ke.backUp(2)}}if(pe.emoji&&Xt===":"&&ke.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){be.emoji=!0,pe.highlightFormatting&&(be.formatting="emoji");var xe=Ue(be);return be.emoji=!1,xe}return Xt===" "&&(ke.match(/^ +$/,!1)?be.trailingSpace++:be.trailingSpace&&(be.trailingSpaceNewLine=!0)),Ue(be)}function De(ke,be){var Yt=ke.next();if(Yt===">"){be.f=be.inline=ct,pe.highlightFormatting&&(be.formatting="link");var ln=Ue(be);return ln?ln+=" ":ln="",ln+Pe.linkInline}return ke.match(/^[^>]+/,!0),Pe.linkInline}function gt(ke,be){if(ke.eatSpace())return null;var Yt=ke.next();return Yt==="("||Yt==="["?(be.f=be.inline=fe(Yt==="("?")":"]"),pe.highlightFormatting&&(be.formatting="link-string"),be.linkHref=!0,Ue(be)):"error"}var Ye={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function fe(ke){return function(be,Yt){var ln=be.next();if(ln===ke){Yt.f=Yt.inline=ct,pe.highlightFormatting&&(Yt.formatting="link-string");var Xt=Ue(Yt);return Yt.linkHref=!1,Xt}return be.match(Ye[ke]),Yt.linkHref=!0,Ue(Yt)}}function Ft(ke,be){return ke.match(/^([^\]\\]|\\.)*\]:/,!1)?(be.f=Ge,ke.next(),pe.highlightFormatting&&(be.formatting="link"),be.linkText=!0,Ue(be)):Ct(ke,be,ct)}function Ge(ke,be){if(ke.match(/^\]:/,!0)){be.f=be.inline=xt,pe.highlightFormatting&&(be.formatting="link");var Yt=Ue(be);return be.linkText=!1,Yt}return ke.match(/^([^\]\\]|\\.)+/,!0),Pe.linkText}function xt(ke,be){return ke.eatSpace()?null:(ke.match(/^[^\s]+/,!0),ke.peek()===void 0?be.linkTitle=!0:ke.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),be.f=be.inline=ct,Pe.linkHref+" url")}var fn={startState:function(){return{f:dt,prevLine:{stream:null},thisLine:{stream:null},block:dt,htmlState:null,indentation:0,inline:ct,text:Ke,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(ke){return{f:ke.f,prevLine:ke.prevLine,thisLine:ke.thisLine,block:ke.block,htmlState:ke.htmlState&&b.copyState(_e,ke.htmlState),indentation:ke.indentation,localMode:ke.localMode,localState:ke.localMode?b.copyState(ke.localMode,ke.localState):null,inline:ke.inline,text:ke.text,formatting:!1,linkText:ke.linkText,linkTitle:ke.linkTitle,linkHref:ke.linkHref,code:ke.code,em:ke.em,strong:ke.strong,strikethrough:ke.strikethrough,emoji:ke.emoji,header:ke.header,setext:ke.setext,hr:ke.hr,taskList:ke.taskList,list:ke.list,listStack:ke.listStack.slice(0),quote:ke.quote,indentedCode:ke.indentedCode,trailingSpace:ke.trailingSpace,trailingSpaceNewLine:ke.trailingSpaceNewLine,md_inside:ke.md_inside,fencedEndRE:ke.fencedEndRE}},token:function(ke,be){if(be.formatting=!1,ke!=be.thisLine.stream){if(be.header=0,be.hr=!1,ke.match(/^\s*$/,!0))return Ie(be),null;if(be.prevLine=be.thisLine,be.thisLine={stream:ke},be.taskList=!1,be.trailingSpace=0,be.trailingSpaceNewLine=!1,!be.localState&&(be.f=be.block,be.f!=yt)){var Yt=ke.match(/^\s*/,!0)[0].replace(/\t/g,ot).length;if(be.indentation=Yt,be.indentationDiff=null,Yt>0)return null}}return be.f(ke,be)},innerMode:function(ke){return ke.block==yt?{state:ke.htmlState,mode:_e}:ke.localState?{state:ke.localState,mode:ke.localMode}:{state:ke,mode:fn}},indent:function(ke,be,Yt){return ke.block==yt&&_e.indent?_e.indent(ke.htmlState,be,Yt):ke.localState&&ke.localMode.indent?ke.localMode.indent(ke.localState,be,Yt):b.Pass},blankLine:Ie,getType:Ue,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return fn},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Tn,cn,z){(function(b){b(z(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 Me=0;Me<b.modeInfo.length;Me++){var pe=b.modeInfo[Me];pe.mimes&&(pe.mime=pe.mimes[0])}b.findModeByMIME=function(_e){_e=_e.toLowerCase();for(var we=0;we<b.modeInfo.length;we++){var Se=b.modeInfo[we];if(Se.mime==_e)return Se;if(Se.mimes){for(var Pe=0;Pe<Se.mimes.length;Pe++)if(Se.mimes[Pe]==_e)return Se}}if(/\+xml$/.test(_e))return b.findModeByMIME("application/xml");if(/\+json$/.test(_e))return b.findModeByMIME("application/json")},b.findModeByExtension=function(_e){_e=_e.toLowerCase();for(var we=0;we<b.modeInfo.length;we++){var Se=b.modeInfo[we];if(Se.ext){for(var Pe=0;Pe<Se.ext.length;Pe++)if(Se.ext[Pe]==_e)return Se}}},b.findModeByFileName=function(_e){for(var we=0;we<b.modeInfo.length;we++){var Se=b.modeInfo[we];if(Se.file&&Se.file.test(_e))return Se}var Pe=_e.lastIndexOf("."),Xe=Pe>-1&&_e.substring(Pe+1,_e.length);if(Xe)return b.findModeByExtension(Xe)},b.findModeByName=function(_e){_e=_e.toLowerCase();for(var we=0;we<b.modeInfo.length;we++){var Se=b.modeInfo[we];if(Se.name.toLowerCase()==_e)return Se;if(Se.alias){for(var Pe=0;Pe<Se.alias.length;Pe++)if(Se.alias[Pe].toLowerCase()==_e)return Se}}}})},67549:function(Tn,cn,z){(function(b){b(z(89780))})(function(b){"use strict";b.defineMode("stex",function(Me,pe){"use strict";function _e(it,He){it.cmdState.push(He)}function we(it){return it.cmdState.length>0?it.cmdState[it.cmdState.length-1]:null}function Se(it){var He=it.cmdState.pop();He&&He.closeBracket()}function Pe(it){for(var He=it.cmdState,Fe=He.length-1;Fe>=0;Fe--){var Te=He[Fe];if(Te.name!="DEFAULT")return Te}return{styleIdentifier:function(){return null}}}function Xe(it,He,Fe){return function(){this.name=it,this.bracketNo=0,this.style=He,this.styles=Fe,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ee={};Ee.importmodule=Xe("importmodule","tag",["string","builtin"]),Ee.documentclass=Xe("documentclass","tag",["","atom"]),Ee.usepackage=Xe("usepackage","tag",["atom"]),Ee.begin=Xe("begin","tag",["atom"]),Ee.end=Xe("end","tag",["atom"]),Ee.label=Xe("label","tag",["atom"]),Ee.ref=Xe("ref","tag",["atom"]),Ee.eqref=Xe("eqref","tag",["atom"]),Ee.cite=Xe("cite","tag",["atom"]),Ee.bibitem=Xe("bibitem","tag",["atom"]),Ee.Bibitem=Xe("Bibitem","tag",["atom"]),Ee.RBibitem=Xe("RBibitem","tag",["atom"]),Ee.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function he(it,He){it.f=He}function ut(it,He){var Fe;if(it.match(/^\\[a-zA-Z@]+/)){var Te=it.current().slice(1);return Fe=Ee.hasOwnProperty(Te)?Ee[Te]:Ee.DEFAULT,Fe=new Fe,_e(He,Fe),he(He,bt),Fe.style}if(it.match(/^\\[$&%#{}_]/)||it.match(/^\\[,;!\/\\]/))return"tag";if(it.match("\\["))return he(He,function(Ct,tn){return Be(Ct,tn,"\\]")}),"keyword";if(it.match("\\("))return he(He,function(Ct,tn){return Be(Ct,tn,"\\)")}),"keyword";if(it.match("$$"))return he(He,function(Ct,tn){return Be(Ct,tn,"$$")}),"keyword";if(it.match("$"))return he(He,function(Ct,tn){return Be(Ct,tn,"$")}),"keyword";var ot=it.next();if(ot=="%")return it.skipToEnd(),"comment";if(ot=="}"||ot=="]"){if(Fe=we(He),Fe)Fe.closeBracket(ot),he(He,bt);else return"error";return"bracket"}else return ot=="{"||ot=="["?(Fe=Ee.DEFAULT,Fe=new Fe,_e(He,Fe),"bracket"):/\d/.test(ot)?(it.eatWhile(/[\w.%]/),"atom"):(it.eatWhile(/[\w\-_]/),Fe=Pe(He),Fe.name=="begin"&&(Fe.argument=it.current()),Fe.styleIdentifier())}function Be(it,He,Fe){if(it.eatSpace())return null;if(Fe&&it.match(Fe))return he(He,ut),"keyword";if(it.match(/^\\[a-zA-Z@]+/))return"tag";if(it.match(/^[a-zA-Z]+/))return"variable-2";if(it.match(/^\\[$&%#{}_]/)||it.match(/^\\[,;!\/]/)||it.match(/^[\^_&]/))return"tag";if(it.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(it.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Te=it.next();return Te=="{"||Te=="}"||Te=="["||Te=="]"||Te=="("||Te==")"?"bracket":Te=="%"?(it.skipToEnd(),"comment"):"error"}function bt(it,He){var Fe=it.peek(),Te;return Fe=="{"||Fe=="["?(Te=we(He),Te.openBracket(Fe),it.eat(Fe),he(He,ut),"bracket"):/[ \t\r]/.test(Fe)?(it.eat(Fe),null):(he(He,ut),Se(He),ut(it,He))}return{startState:function(){var it=pe.inMathMode?function(He,Fe){return Be(He,Fe)}:ut;return{cmdState:[],f:it}},copyState:function(it){return{cmdState:it.cmdState.slice(),f:it.f}},token:function(it,He){return He.f(it,He)},blankLine:function(it){it.f=ut,it.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Tn,cn,z){(function(b){b(z(89780))})(function(b){"use strict";var Me={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(_e,we){var Se=_e.indentUnit,Pe={},Xe=we.htmlMode?Me:pe;for(var Ee in Xe)Pe[Ee]=Xe[Ee];for(var Ee in we)Pe[Ee]=we[Ee];var he,ut;function Be(De,gt){function Ye(Ge){return gt.tokenize=Ge,Ge(De,gt)}var fe=De.next();if(fe=="<")return De.eat("!")?De.eat("[")?De.match("CDATA[")?Ye(He("atom","]]>")):null:De.match("--")?Ye(He("comment","-->")):De.match("DOCTYPE",!0,!0)?(De.eatWhile(/[\w\._\-]/),Ye(Fe(1))):null:De.eat("?")?(De.eatWhile(/[\w\._\-]/),gt.tokenize=He("meta","?>"),"meta"):(he=De.eat("/")?"closeTag":"openTag",gt.tokenize=bt,"tag bracket");if(fe=="&"){var Ft;return De.eat("#")?De.eat("x")?Ft=De.eatWhile(/[a-fA-F\d]/)&&De.eat(";"):Ft=De.eatWhile(/[\d]/)&&De.eat(";"):Ft=De.eatWhile(/[\w\.\-:]/)&&De.eat(";"),Ft?"atom":"error"}else return De.eatWhile(/[^&<]/),null}Be.isInText=!0;function bt(De,gt){var Ye=De.next();if(Ye==">"||Ye=="/"&&De.eat(">"))return gt.tokenize=Be,he=Ye==">"?"endTag":"selfcloseTag","tag bracket";if(Ye=="=")return he="equals",null;if(Ye=="<"){gt.tokenize=Be,gt.state=tn,gt.tagName=gt.tagStart=null;var fe=gt.tokenize(De,gt);return fe?fe+" tag error":"tag error"}else return/[\'\"]/.test(Ye)?(gt.tokenize=it(Ye),gt.stringStartCol=De.column(),gt.tokenize(De,gt)):(De.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function it(De){var gt=function(Ye,fe){for(;!Ye.eol();)if(Ye.next()==De){fe.tokenize=bt;break}return"string"};return gt.isInAttribute=!0,gt}function He(De,gt){return function(Ye,fe){for(;!Ye.eol();){if(Ye.match(gt)){fe.tokenize=Be;break}Ye.next()}return De}}function Fe(De){return function(gt,Ye){for(var fe;(fe=gt.next())!=null;){if(fe=="<")return Ye.tokenize=Fe(De+1),Ye.tokenize(gt,Ye);if(fe==">")if(De==1){Ye.tokenize=Be;break}else return Ye.tokenize=Fe(De-1),Ye.tokenize(gt,Ye)}return"meta"}}function Te(De,gt,Ye){this.prev=De.context,this.tagName=gt,this.indent=De.indented,this.startOfLine=Ye,(Pe.doNotIndent.hasOwnProperty(gt)||De.context&&De.context.noIndent)&&(this.noIndent=!0)}function ot(De){De.context&&(De.context=De.context.prev)}function Ct(De,gt){for(var Ye;;){if(!De.context||(Ye=De.context.tagName,!Pe.contextGrabbers.hasOwnProperty(Ye)||!Pe.contextGrabbers[Ye].hasOwnProperty(gt)))return;ot(De)}}function tn(De,gt,Ye){return De=="openTag"?(Ye.tagStart=gt.column(),se):De=="closeTag"?Ie:tn}function se(De,gt,Ye){return De=="word"?(Ye.tagName=gt.current(),ut="tag",kt):Pe.allowMissingTagName&&De=="endTag"?(ut="tag bracket",kt(De,gt,Ye)):(ut="error",se)}function Ie(De,gt,Ye){if(De=="word"){var fe=gt.current();return Ye.context&&Ye.context.tagName!=fe&&Pe.implicitlyClosed.hasOwnProperty(Ye.context.tagName)&&ot(Ye),Ye.context&&Ye.context.tagName==fe||Pe.matchClosing===!1?(ut="tag",dt):(ut="tag error",yt)}else return Pe.allowMissingTagName&&De=="endTag"?(ut="tag bracket",dt(De,gt,Ye)):(ut="error",yt)}function dt(De,gt,Ye){return De!="endTag"?(ut="error",dt):(ot(Ye),tn)}function yt(De,gt,Ye){return ut="error",dt(De,gt,Ye)}function kt(De,gt,Ye){if(De=="word")return ut="attribute",Ue;if(De=="endTag"||De=="selfcloseTag"){var fe=Ye.tagName,Ft=Ye.tagStart;return Ye.tagName=Ye.tagStart=null,De=="selfcloseTag"||Pe.autoSelfClosers.hasOwnProperty(fe)?Ct(Ye,fe):(Ct(Ye,fe),Ye.context=new Te(Ye,fe,Ft==Ye.indented)),tn}return ut="error",kt}function Ue(De,gt,Ye){return De=="equals"?Ke:(Pe.allowMissing||(ut="error"),kt(De,gt,Ye))}function Ke(De,gt,Ye){return De=="string"?ct:De=="word"&&Pe.allowUnquoted?(ut="string",kt):(ut="error",kt(De,gt,Ye))}function ct(De,gt,Ye){return De=="string"?ct:kt(De,gt,Ye)}return{startState:function(De){var gt={tokenize:Be,state:tn,indented:De||0,tagName:null,tagStart:null,context:null};return De!=null&&(gt.baseIndent=De),gt},token:function(De,gt){if(!gt.tagName&&De.sol()&&(gt.indented=De.indentation()),De.eatSpace())return null;he=null;var Ye=gt.tokenize(De,gt);return(Ye||he)&&Ye!="comment"&&(ut=null,gt.state=gt.state(he||Ye,De,gt),ut&&(Ye=ut=="error"?Ye+" error":ut)),Ye},indent:function(De,gt,Ye){var fe=De.context;if(De.tokenize.isInAttribute)return De.tagStart==De.indented?De.stringStartCol+1:De.indented+Se;if(fe&&fe.noIndent)return b.Pass;if(De.tokenize!=bt&&De.tokenize!=Be)return Ye?Ye.match(/^(\s*)/)[0].length:0;if(De.tagName)return Pe.multilineTagIndentPastTag!==!1?De.tagStart+De.tagName.length+2:De.tagStart+Se*(Pe.multilineTagIndentFactor||1);if(Pe.alignCDATA&&/<!\[CDATA\[/.test(gt))return 0;var Ft=gt&&/^<(\/)?([\w_:\.-]*)/.exec(gt);if(Ft&&Ft[1])for(;fe;)if(fe.tagName==Ft[2]){fe=fe.prev;break}else if(Pe.implicitlyClosed.hasOwnProperty(fe.tagName))fe=fe.prev;else break;else if(Ft)for(;fe;){var Ge=Pe.contextGrabbers[fe.tagName];if(Ge&&Ge.hasOwnProperty(Ft[2]))fe=fe.prev;else break}for(;fe&&fe.prev&&!fe.startOfLine;)fe=fe.prev;return fe?fe.indent+Se:De.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Pe.htmlMode?"html":"xml",helperType:Pe.htmlMode?"html":"xml",skipAttribute:function(De){De.state==Ke&&(De.state=kt)},xmlCurrentTag:function(De){return De.tagName?{name:De.tagName,close:De.type=="closeTag"}:null},xmlCurrentContext:function(De){for(var gt=[],Ye=De.context;Ye;Ye=Ye.prev)Ye.tagName&>.push(Ye.tagName);return gt.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Tn,cn,z){"use strict";z.d(cn,{hP:function(){return Nt}});var b=function(le,ne){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ae){te.__proto__=ae}||function(te,ae){for(var de in ae)Object.prototype.hasOwnProperty.call(ae,de)&&(te[de]=ae[de])})(le,ne)};function Me(le,ne){function te(){this.constructor=le}b(le,ne),le.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function pe(le,ne,te,ae){return new(te||(te=Promise))(function(de,re){function ue(Ve){try{tt(ae.next(Ve))}catch(We){re(We)}}function xe(Ve){try{tt(ae.throw(Ve))}catch(We){re(We)}}function tt(Ve){var We;Ve.done?de(Ve.value):(We=Ve.value,We instanceof te?We:new te(function(lt){lt(We)})).then(ue,xe)}tt((ae=ae.apply(le,ne||[])).next())})}function _e(le,ne){var te,ae,de,re,ue={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return re={next:xe(0),throw:xe(1),return:xe(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function xe(tt){return function(Ve){return function(We){if(te)throw new TypeError("Generator is already executing.");for(;ue;)try{if(te=1,ae&&(de=2&We[0]?ae.return:We[0]?ae.throw||((de=ae.return)&&de.call(ae),0):ae.next)&&!(de=de.call(ae,We[1])).done)return de;switch(ae=0,de&&(We=[2&We[0],de.value]),We[0]){case 0:case 1:de=We;break;case 4:return ue.label++,{value:We[1],done:!1};case 5:ue.label++,ae=We[1],We=[0];continue;case 7:We=ue.ops.pop(),ue.trys.pop();continue;default:if(de=ue.trys,!((de=de.length>0&&de[de.length-1])||We[0]!==6&&We[0]!==2)){ue=0;continue}if(We[0]===3&&(!de||We[1]>de[0]&&We[1]<de[3])){ue.label=We[1];break}if(We[0]===6&&ue.label<de[1]){ue.label=de[1],de=We;break}if(de&&ue.label<de[2]){ue.label=de[2],ue.ops.push(We);break}de[2]&&ue.ops.pop(),ue.trys.pop();continue}We=ne.call(le,ue)}catch(lt){We=[6,lt],ae=0}finally{te=de=0}if(5&We[0])throw We[1];return{value:We[0]?We[1]:void 0,done:!0}}([tt,Ve])}}}function we(){for(var le=0,ne=0,te=arguments.length;ne<te;ne++)le+=arguments[ne].length;var ae=Array(le),de=0;for(ne=0;ne<te;ne++)for(var re=arguments[ne],ue=0,xe=re.length;ue<xe;ue++,de++)ae[de]=re[ue];return ae}var Se=function(){function le(){}return le.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},le.setAttributes=function(ne,te){for(var ae=0,de=te;ae<de.length;ae++){var re=de[ae],ue=re[0],xe=re[1];ne.setAttribute(ue,xe)}},le.createRect=function(ne,te,ae){var de=document.createElementNS("http://www.w3.org/2000/svg","rect");return de.setAttribute("width",ne.toString()),de.setAttribute("height",te.toString()),ae&&le.setAttributes(de,ae),de},le.createLine=function(ne,te,ae,de,re){var ue=document.createElementNS("http://www.w3.org/2000/svg","line");return ue.setAttribute("x1",ne.toString()),ue.setAttribute("y1",te.toString()),ue.setAttribute("x2",ae.toString()),ue.setAttribute("y2",de.toString()),re&&le.setAttributes(ue,re),ue},le.createPolygon=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ae.setAttribute("points",ne),te&&le.setAttributes(ae,te),ae},le.createCircle=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","circle");return ae.setAttribute("cx",(ne/2).toString()),ae.setAttribute("cy",(ne/2).toString()),ae.setAttribute("r",ne.toString()),te&&le.setAttributes(ae,te),ae},le.createEllipse=function(ne,te,ae){var de=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return de.setAttribute("cx",(ne/2).toString()),de.setAttribute("cy",(te/2).toString()),de.setAttribute("rx",(ne/2).toString()),de.setAttribute("ry",(te/2).toString()),ae&&le.setAttributes(de,ae),de},le.createGroup=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&le.setAttributes(te,ne),te},le.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},le.createMarker=function(ne,te,ae,de,re,ue,xe){var tt=document.createElementNS("http://www.w3.org/2000/svg","marker");return le.setAttributes(tt,[["id",ne],["orient",te],["markerWidth",ae.toString()],["markerHeight",de.toString()],["refX",re.toString()],["refY",ue.toString()]]),tt.appendChild(xe),tt},le.createText=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ne&&le.setAttributes(te,ne),te},le.createTSpan=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ae.textContent=ne,te&&le.setAttributes(ae,te),ae},le.createImage=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&le.setAttributes(te,ne),te},le.createPoint=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ae.x=ne,ae.y=te,ae},le.createPath=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","path");return ae.setAttribute("d",ne),te&&le.setAttributes(ae,te),ae},le}(),Pe=function(){function le(){}return le.addKey=function(ne){le.key=ne},Object.defineProperty(le,"isLicensed",{get:function(){return!!le.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(le.key)},enumerable:!1,configurable:!0}),le}(),Xe=function(){function le(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return le.prototype.rasterize=function(ne,te,ae){var de=this;return new Promise(function(re){var ue=ae!==void 0?ae:document.createElement("canvas");ne===null&&(de.markersOnly=!0,de.naturalSize=!1);var xe=document.createElementNS("http://www.w3.org/2000/svg","svg");xe.setAttribute("xmlns","http://www.w3.org/2000/svg"),xe.setAttribute("width",te.width.baseVal.valueAsString),xe.setAttribute("height",te.height.baseVal.valueAsString),xe.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),xe.innerHTML=te.innerHTML,de.naturalSize===!0?(xe.width.baseVal.value=ne.naturalWidth,xe.height.baseVal.value=ne.naturalHeight):de.width!==void 0&&de.height!==void 0&&(xe.width.baseVal.value=de.width,xe.height.baseVal.value=de.height),ue.width=xe.width.baseVal.value,ue.height=xe.height.baseVal.value;var tt=xe.outerHTML,Ve=ue.getContext("2d");de.markersOnly!==!0&&Ve.drawImage(ne,0,0,ue.width,ue.height);var We=window.URL,lt=new Image(ue.width,ue.height);lt.setAttribute("crossOrigin","anonymous");var ht=new Blob([tt],{type:"image/svg+xml"}),Dt=We.createObjectURL(ht);lt.onload=function(){Ve.drawImage(lt,0,0),We.revokeObjectURL(Dt);var Oe=ue.toDataURL(de.imageType,de.imageQuality);re(Oe)},lt.src=Dt})},le}(),Ee=function(){},he=function(){function le(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(le.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(le.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(le.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),le.prototype.addClass=function(ne){return this.styleSheet===void 0&&this.addStyleSheet(),ne.name=""+this.classNamePrefix+ne.localName,this.classes.push(ne),this.styleSheet.sheet.insertRule("."+ne.name+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length),ne},le.prototype.addRule=function(ne){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ne),this.styleSheet.sheet.insertRule(ne.selector+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length)},le.prototype.addStyleSheet=function(){var ne;this.styleSheet=document.createElement("style"),((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).appendChild(this.styleSheet),this.addRule(new ut("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ut("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new ut("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Be("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Be("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},le.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},le}(),ut=function(le,ne){this.selector=le,this.style=ne},Be=function(le,ne){this.localName=le,this.style=ne},bt=function(){function le(ne,te,ae,de,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=te,this.markerItems=ae,this.uiStyleSettings=de,this.styles=re,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return le.prototype.show=function(ne){var te=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ae=document.createElement("div");ae.className=this.toolbarBlockStyleClass.name,ae.style.whiteSpace="nowrap",this.uiContainer.appendChild(ae),this.addActionButton(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(re){var ue=document.createElement("div");ue.className=""+te.toolbarButtonStyleClass.name,ue.setAttribute("data-type-name",re.typeName),ue.innerHTML=re.icon,ue.addEventListener("click",function(){te.markerToolbarButtonClicked(ue,re)}),te.buttons.push(ue),te.markerButtons.push(ue)}),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 de=document.createElement("div");de.className=this.toolbarBlockStyleClass.name,de.style.whiteSpace="nowrap",de.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(de),this.addActionButton(de,'<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(de,'<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()},le.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},le.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},le.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},le.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var te=0;te<this.markerButtons.length;te++)te<ne||te===ne&&this.markerButtons.length-1===ne?this.markerButtonBlock.appendChild(this.markerButtons[te]):(te===ne&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[te]))}},le.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")},le.prototype.resetButtonStyles=function(){var ne=this;this.buttons.forEach(function(te){te.className=te.className.replace(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name,"").trim(),te.className=te.className.replace(ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ne.toolbarActiveButtonStyleColorsClass.name,"").trim(),te.className+=" "+(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name)})},le.prototype.addActionButton=function(ne,te,ae){var de=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=te,re.setAttribute("data-action",ae),re.addEventListener("click",function(){de.actionToolbarButtonClicked(re,ae)}),ae){case"select":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":re.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":re.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":re.style.fill=this.uiStyleSettings.closeButtonColor}ne.appendChild(re),this.buttons.push(re)},le.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Be("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 Be("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Be("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Be("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 Be("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Be("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
|
padding: `+ne+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new ut("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new ut("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},le.prototype.markerToolbarButtonClicked=function(ne,te){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},le.prototype.actionToolbarButtonClicked=function(ne,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},le.prototype.setActiveButton=function(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},le.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(ae){return ae.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},le.prototype.setCurrentMarker=function(ne){var te=this;this.currentMarker=ne,this.buttons.filter(function(ae){return/delete|notes/.test(ae.getAttribute("data-action"))}).forEach(function(ae){te.currentMarker===void 0?(ae.style.fillOpacity="0.4",ae.style.pointerEvents="none"):(ae.style.fillOpacity="1",ae.style.pointerEvents="all")})},le}(),it=function(){function le(ne,te,ae,de){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=te,this.uiStyleSettings=ae,this.styles=de,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return le.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new Be("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 Be("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Be("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Be("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Be("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 Be("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Be("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
padding: `+te+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new ut("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new ut("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},le.prototype.show=function(ne){var te;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolboxStyleClass.name+" "+((te=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},le.prototype.setPanelButtons=function(ne){var te,ae,de=this;this.panels=ne,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ae=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ae!==void 0?ae:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var ue;re.uiStyleSettings=de.uiStyleSettings;var xe=document.createElement("div");xe.className=de.toolboxButtonStyleClass.name+" "+((ue=de.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ue!==void 0?ue:de.toolboxButtonStyleColorsClass.name),xe.innerHTML=re.icon,xe.title=re.title,xe.addEventListener("click",function(){de.panelButtonClick(re)}),de.panelButtons.push(xe),de.buttonRow.appendChild(xe)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},le.prototype.panelButtonClick=function(ne){var te=this,ae=-1;if(ne!==this.activePanel){ae=this.panels.indexOf(ne),this.panelRow.innerHTML="";var de=ne.getUi();de.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(de),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=ne}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){te.displayMode==="inline"?te.panelRow.style.display="none":te.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,ue){var xe,tt;re.className=te.toolboxButtonStyleClass.name+" "+(ue===ae?""+((xe=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&xe!==void 0?xe:te.toolboxActiveButtonStyleColorsClass.name):""+((tt=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&tt!==void 0?tt:te.toolboxButtonStyleColorsClass.name))})},le}(),He=function(le,ne){this.title=le,this.icon=ne},Fe=function(le){function ne(te,ae,de,re){var ue=le.call(this,te,re||'<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 ue.colors=[],ue.addTransparent=!1,ue.colorBoxes=[],ue.colors=ae,ue.currentColor=de,ue.setCurrentColor=ue.setCurrentColor.bind(ue),ue.getColorBox=ue.getColorBox.bind(ue),ue}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.whiteSpace="nowrap",this.colors.forEach(function(de){var re=te.getColorBox(de);ae.appendChild(re),te.colorBoxes.push(re)}),ae},ne.prototype.getColorBox=function(te){var ae=this,de=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-de,ue=document.createElement("div");ue.style.display="inline-block",ue.style.boxSizing="content-box",ue.style.width=re-2+"px",ue.style.height=re-2+"px",ue.style.padding="1px",ue.style.marginRight="2px",ue.style.marginBottom="2px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderRadius=(re+2)/2+"px",ue.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){ae.setCurrentColor(te,ue)});var xe=document.createElement("div");return xe.style.display="inline-block",xe.style.width=re-2+"px",xe.style.height=re-2+"px",xe.style.backgroundColor=te,xe.style.borderRadius=re/2+"px",te==="transparent"&&(xe.style.fill=this.uiStyleSettings.toolboxAccentColor,xe.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>`),ue.appendChild(xe),ue},ne.prototype.setCurrentColor=function(te,ae){var de=this;this.currentColor=te,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ne}(He),Te=function(){function le(ne,te,ae){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=te,this.globalSettings=ae,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(le.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),le.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(le.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),le.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},le.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},le.prototype.pointerDown=function(ne,te){},le.prototype.dblClick=function(ne,te){},le.prototype.manipulate=function(ne){},le.prototype.pointerUp=function(ne){this.stateChanged()},le.prototype.dispose=function(){},le.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},le.prototype.getState=function(){return{typeName:le.typeName,state:this.state,notes:this.notes}},le.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},le.prototype.scale=function(ne,te){},le.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},le.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},le.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},le.typeName="MarkerBase",le}(),ot=function(){function le(){this.findGripByVisual=this.findGripByVisual.bind(this)}return le.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?this.bottomRight:void 0},le}(),Ct=function(){function le(){this.GRIP_SIZE=10,this.visual=Se.createGroup(),this.visual.appendChild(Se.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Se.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return le.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},le}(),tn=function(){function le(){}return le.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},le.toSVGMatrix=function(ne,te){return ne.a=te.a,ne.b=te.b,ne.c=te.c,ne.d=te.d,ne.e=te.e,ne.f=te.f,ne},le}(),se=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(Se.createTransform()),re.setupControlBox(),re}return Me(ne,le),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"visual",{get:function(){return this._visual},set:function(te){this._visual=te;var ae=Se.createTransform();this._visual.transform.baseVal.appendItem(ae)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.left=te.x,this.top=te.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var de=this.unrotatePoint(te);if(this.manipulationStartX=de.x,this.manipulationStartY=de.y,this.offsetX=de.x-this.left,this.offsetY=de.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ae),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ae)){this.activeGrip=this.rotatorGrip;var re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ne.prototype.moveVisual=function(te){this.visual.style.transform="translate("+te.x+"px, "+te.y+"px)"},ne.prototype.manipulate=function(te){var ae=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(ae.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ae.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ae):this.state==="rotate"&&this.rotate(te)},ne.prototype.resize=function(te){var ae=this.manipulationStartLeft,de=this.manipulationStartWidth,re=this.manipulationStartTop,ue=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ae=this.manipulationStartLeft+te.x-this.manipulationStartX,de=this.manipulationStartWidth+this.manipulationStartLeft-ae;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:de=this.manipulationStartWidth+te.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+te.y-this.manipulationStartY,ue=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ue=this.manipulationStartHeight+te.y-this.manipulationStartY}de>=0?(this.left=ae,this.width=de):(this.left=ae+de,this.width=-de),ue>=0?(this.top=re,this.height=ue):(this.top=re+ue,this.height=-ue),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.prototype.rotate=function(te){if(Math.abs(te.x-this.centerX)>.1){var ae=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*ae,this.applyRotation()}},ne.prototype.applyRotation=function(){var te=this.container.transform.baseVal.getItem(0);te.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(te,0)},ne.prototype.rotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM(),de=Se.createPoint(te.x,te.y);return{x:(de=de.matrixTransform(ae)).x,y:de.y}},ne.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM();ae=ae.inverse();var de=Se.createPoint(te.x,te.y);return{x:(de=de.matrixTransform(ae)).x,y:de.y}},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Se.createGroup();var te=Se.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=Se.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=Se.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 ot,this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){var te=this.controlBox.transform.baseVal.getItem(0);te.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(te,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()},ne.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()},ne.prototype.createGrip=function(){var te=new Ct;return te.visual.transform.baseVal.appendItem(Se.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,ae=-te/2,de=ae,re=(this.width+this.CB_DISTANCE)/2-te/2,ue=(this.height+this.CB_DISTANCE)/2-te/2,xe=this.height+this.CB_DISTANCE-te/2,tt=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,ae,de),this.positionGrip(this.controlGrips.topCenter.visual,re,de),this.positionGrip(this.controlGrips.topRight.visual,tt,de),this.positionGrip(this.controlGrips.centerLeft.visual,ae,ue),this.positionGrip(this.controlGrips.centerRight.visual,tt,ue),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,xe),this.positionGrip(this.controlGrips.bottomCenter.visual,re,xe),this.positionGrip(this.controlGrips.bottomRight.visual,tt,xe),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,de-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(te,ae,de){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,de),te.transform.baseVal.replaceItem(re,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:tn.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:tn.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.left=ae.left,this.top=ae.top,this.width=ae.width,this.height=ae.height,this.rotationAngle=ae.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(tn.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(tn.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ae.containerTransformMatrix))},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae);var de=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:de.x*te,y:de.y*ae});this.left=re.x,this.top=re.y,this.width=this.width*te,this.height=this.height*ae,this.adjustControlBox()},ne}(Te),Ie=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Se.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Se.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Se.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Se.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Se.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Se.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.title="Rectangle marker",ne}(se),dt=function(le){function ne(te,ae,de,re){var ue=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ue.widths=[],ue.widthBoxes=[],ue.widths=ae,ue.currentWidth=de,ue.setCurrentWidth=ue.setCurrentWidth.bind(ue),ue}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.widths.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=de===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentWidth(de,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.innerText=de.toString(),ue.style.marginRight="5px",re.appendChild(ue);var xe=document.createElement("div");xe.style.minHeight="20px",xe.style.flexGrow="2",xe.style.display="flex",xe.style.alignItems="center";var tt=document.createElement("hr");tt.style.minWidth="20px",tt.style.border="0px",tt.style.borderTop=de+"px solid "+te.uiStyleSettings.toolboxColor,tt.style.flexGrow="2",xe.appendChild(tt),re.appendChild(xe),te.widthBoxes.push(re)}),ae},ne.prototype.setCurrentWidth=function(te,ae){var de=this;this.currentWidth=te,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(He),yt=function(le){function ne(te,ae,de,re){var ue=le.call(this,te,re||'<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 ue.styles=[],ue.styleBoxes=[],ue.styles=ae,ue.currentStyle=de,ue.setCurrentStyle=ue.setCurrentStyle.bind(ue),ue}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.styles.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.styles.length-5+"%",re.style.borderColor=de===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentStyle(de,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.overflow="hidden";var xe=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+te.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(de!==""?'stroke-dasharray="'+de+'"':"")+` />
|
|
|
</svg>`;ue.innerHTML=xe,re.appendChild(ue),te.styleBoxes.push(re)}),ae},ne.prototype.setCurrentStyle=function(te,ae){var de=this;this.currentStyle=te,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(He),kt=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new yt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ne}(Ie),Ue=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"},Ke=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartX=te.x,this.manipulationStartY=te.y,this.state==="new"&&(this.x1=te.x,this.y1=te.y,this.x2=te.x,this.y2=te.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(ae)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ae)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),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(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ne.prototype.adjustVisual=function(){},ne.prototype.manipulate=function(te){this.state==="creating"?this.resize(te):this.state==="move"?(this.x1=this.manipulationStartX1+te.x-this.manipulationStartX,this.y1=this.manipulationStartY1+te.y-this.manipulationStartY,this.x2=this.manipulationStartX2+te.x-this.manipulationStartX,this.y2=this.manipulationStartY2+te.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(te)},ne.prototype.resize=function(te){switch(this.activeGrip){case this.grip1:this.x1=te.x,this.y1=te.y;break;case this.grip2:case void 0:this.x2=te.x,this.y2=te.y}this.adjustVisual(),this.adjustControlBox()},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Se.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var te=new Ct;return te.visual.transform.baseVal.appendItem(Se.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-te/2,this.y1-te/2),this.positionGrip(this.grip2.visual,this.x2-te/2,this.y2-te/2)},ne.prototype.positionGrip=function(te,ae,de){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,de),te.transform.baseVal.replaceItem(re,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.x1=ae.x1,this.y1=ae.y1,this.x2=ae.x2,this.y2=ae.y2},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.x1=this.x1*te,this.y1=this.y1*ae,this.x2=this.x2*te,this.y2=this.y2*ae,this.adjustVisual(),this.adjustControlBox()},ne}(Te),ct=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new yt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=Se.createGroup(),this.selectorLine=Se.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Se.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.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()),Se.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Se.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Se.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.createVisual(),this.adjustVisual()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ne}(Ke),De=function(le){function ne(te,ae,de,re){var ue=le.call(this,te,re||'<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 ue.fonts=[],ue.fontBoxes=[],ue.fonts=ae,ue.currentFont=de,ue.setCurrentFont=ue.setCurrentFont.bind(ue),ue}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.flexGrow="2",this.fonts.forEach(function(de){var re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.fonts.length-5+"%",re.style.borderColor=de===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentFont(de,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.style.display="flex",ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.fontFamily=de,ue.style.overflow="hidden";var xe=document.createElement("div");xe.style.whiteSpace="nowrap",xe.style.overflow="hidden",xe.style.textOverflow="ellipsis",xe.innerHTML="The quick brown fox jumps over the lazy dog",ue.appendChild(xe),re.appendChild(ue),te.fontBoxes.push(re)}),ae},ne.prototype.setCurrentFont=function(te,ae){var de=this;this.currentFont=te,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(He),gt=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=de.defaultColor,re.fontFamily=de.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new Fe("Color",de.defaultColorSet,de.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){if(le.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var ae=!1;return this.textElement.childNodes.forEach(function(de){de===te&&(ae=!0)}),ae},ne.prototype.createVisual=function(){this.visual=Se.createGroup(),this.bgRectangle=Se.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Se.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Se.createTransform()),this.textElement.transform.baseVal.appendItem(Se.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.renderText=function(){var te=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(ae){te.textElement.appendChild(Se.createTSpan(ae.trim()===""?" ":ae.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var te=this.textElement.getBBox(),ae=1;if(te.width>0&&te.height>0){var de=(1*this.width-this.width*this.padding*2/100)/te.width,re=(1*this.height-this.height*this.padding*2/100)/te.height;ae=Math.min(de,re)}return ae},ne.prototype.getTextPosition=function(te){var ae=this.textElement.getBBox(),de=0,re=0;return ae.width>0&&ae.height>0&&(de=(this.width-ae.width*te)/2,re=this.height/2-ae.height*te/2),{x:de,y:re}},ne.prototype.sizeText=function(){var te=this.textElement.getBBox(),ae=this.getTextScale(),de=this.getTextPosition(ae);de.y-=te.y*ae,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+de.x+"px, "+de.y+"px) scale("+ae+", "+ae+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(de.x,de.y),this.textElement.transform.baseVal.getItem(1).setScale(ae,ae))},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Se.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Se.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(te){var ae=this.state;ae==="creating"&&(this._suppressMarkerCreateEvent=!0),le.prototype.pointerUp.call(this,te),this.setSize(),(ae==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.showTextEditor=function(){var te=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(ae){ae.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ae=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&ae>.9;)ae-=.1,te.textEditor.style.fontSize=Math.max(ae,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ae){if(ae.clipboardData){var de=ae.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(de)),ae.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){te.textEditDivClicked(te.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ne.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var te=this.getTextScale(),ae=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),de=this.textElement.getBBox(),re={x:de.width*te,y:de.height*te};ae.x-=re.x/2,ae.y-=re.y/2,this.textEditor.style.top=ae.y+"px",this.textEditor.style.left=ae.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ae.x+"px",this.textEditor.style.fontSize=Math.max(16*te,12)+"px",this.textElement.style.display="none"}},ne.prototype.textEditDivClicked=function(te){this.text=te.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ne.prototype.select=function(){le.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),le.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&Se.setAttributes(this.textElement,[["fill",te]]),this.color=te,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(te)},ne.prototype.setFont=function(te){this.textElement&&Se.setAttributes(this.textElement,[["font-family",te]]),this.fontFamily=te,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.color=ae.color,this.fontFamily=ae.fontFamily,this.padding=ae.padding,this.text=ae.text,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.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>',ne}(se),Ye=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=de.defaultColor,re.lineWidth=de.defaultStrokeWidth,re.pixelRatio=de.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new Fe("Color",de.defaultColorSet,de.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=Se.createGroup(),this.drawingImage=Se.createImage(),this.visual.appendChild(this.drawingImage);var te=Se.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){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(te.x,te.y),this.drawing=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),Se.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Se.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):le.prototype.pointerUp.call(this,te)},ne.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)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),le.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),le.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ae=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],de=ae[0],re=ae[1],ue=ae[2],xe=ae[3],tt=!1,Ve=0;Ve<this.canvasElement.height;Ve++)for(var We=0;We<this.canvasElement.width;We++)te.data[Ve*this.canvasElement.width*4+4*We+3]>0&&(tt=!0,Ve<re&&(re=Ve),We<de&&(de=We),Ve>xe&&(xe=Ve),We>ue&&(ue=We));if(tt){this.left=de/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(ue-de)/this.pixelRatio,this.height=(xe-re)/this.pixelRatio;var lt=document.createElement("canvas");lt.width=ue-de,lt.height=xe-re,lt.getContext("2d").putImageData(this.canvasContext.getImageData(de,re,ue-de,xe-re),0,0),this.drawingImgUrl=lt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){Se.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Se.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ne.prototype.setColor=function(te){this.color=te,this.colorChanged(te)},ne.prototype.setLineWidth=function(te){this.lineWidth=te},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({drawingImgUrl:this.drawingImgUrl},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),le.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.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>',ne}(se),fe=function(le){function ne(te,ae,de){var re=le.call(this,te,de||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return re.typeBoxes=[],re.currentType=ae,re.setCurrentType=re.setCurrentType.bind(re),re}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2";for(var de=function(xe){var tt="both";switch(xe){case 0:tt="both";break;case 1:tt="start";break;case 2:tt="end";break;case 3:tt="none"}var Ve=document.createElement("div");if(Ve.style.display="flex",Ve.style.flexGrow="2",Ve.style.alignItems="center",Ve.style.justifyContent="space-between",Ve.style.padding="5px",Ve.style.borderWidth="2px",Ve.style.borderStyle="solid",Ve.style.borderColor=tt===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",Ve.addEventListener("click",function(){te.setCurrentType(tt,Ve)}),ae.appendChild(Ve),tt==="both"||tt==="start"){var We=document.createElement("div");We.style.display="flex",We.style.alignItems="center",We.style.minHeight="20px",We.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,We.style.marginLeft="5px",Ve.appendChild(We)}var lt=document.createElement("div");lt.style.display="flex",lt.style.alignItems="center",lt.style.minHeight="20px",lt.style.flexGrow="2";var ht=document.createElement("hr");if(ht.style.minWidth="20px",ht.style.border="0px",ht.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),ht.style.flexGrow="2",lt.appendChild(ht),Ve.appendChild(lt),tt==="both"||tt==="end"){var Dt=document.createElement("div");Dt.style.display="flex",Dt.style.alignItems="center",Dt.style.minHeight="20px",Dt.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Dt.style.marginRight="5px",Ve.appendChild(Dt)}re.typeBoxes.push(Ve)},re=this,ue=0;ue<4;ue++)de(ue);return ae},ne.prototype.setCurrentType=function(te,ae){var de=this;this.currentType=te,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings!==void 0?de.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(He),Ft=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new fe("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ne.prototype.getArrowPoints=function(te,ae){var de=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return te-de/2+","+(ae+re/2)+" "+te+","+(ae-re/2)+" "+(te+de/2)+","+(ae+re/2)},ne.prototype.createTips=function(){this.arrow1=Se.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Se.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Se.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Se.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.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",Se.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Se.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var te=0;Math.abs(this.x1-this.x2)>.1&&(te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ae=this.arrow1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ae,0);var de=this.arrow2.transform.baseVal.getItem(0);de.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(de,0)}},ne.prototype.setArrowType=function(te){this.arrowType=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({arrowType:this.arrowType},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.arrowType=ae.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ne}(ct),Ge=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.fillColor=de.defaultFillColor,re.strokeWidth=0,re.fillPanel=new Fe("Color",de.defaultColorSet,de.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Me(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ne}(Ie),xt=function(le){function ne(te,ae,de,re){var ue=le.call(this,te,re||'<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 ue.opacities=[],ue.opacityBoxes=[],ue.opacities=ae,ue.currentOpacity=de,ue.setCurrentOpacity=ue.setCurrentOpacity.bind(ue),ue}return Me(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",ae.style.justifyContent="space-between",this.opacities.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=de===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentOpacity(de,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.innerText=100*de+"%",re.appendChild(ue),te.opacityBoxes.push(re)}),ae},ne.prototype.setCurrentOpacity=function(te,ae){var de=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ae?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(He),fn=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=de.defaultHighlightColor,re.strokeWidth=0,re.opacity=de.defaultHighlightOpacity,re.fillPanel=new Fe("Color",de.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new xt("Opacity",de.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Me(ne,le),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Se.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.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>',ne}(Ge),ke='<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>',be='<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>',Yt=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=de.defaultStrokeColor,re.bgColor=de.defaultFillColor,re.fontFamily=de.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new Fe("Text color",de.defaultColorSet,re.color,ke),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new Fe("Fill color",de.defaultColorSet,re.bgColor,be),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new Ct,re.tipGrip.visual.transform.baseVal.appendItem(Se.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return le.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){Se.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Se.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,ae){this.state==="new"&&le.prototype.pointerDown.call(this,te,ae),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ae)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,le.prototype.pointerUp.call(this,te);else{var ae=this.state==="creating";le.prototype.pointerUp.call(this,te),this.setTipPoints(ae),this.positionTip()}},ne.prototype.manipulate=function(te){if(this.tipMoving){var ae=this.unrotatePoint(te);this.tipPosition={x:ae.x-this.manipulationStartLeft,y:ae.y-this.manipulationStartTop},this.positionTip()}else le.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(Se.setAttributes(this.bgRectangle,[["fill",te]]),Se.setAttributes(this.tip,[["fill",te]])),this.bgColor=te,this.fillColorChanged(te)},ne.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},ne.prototype.setTipPoints=function(te){te===void 0&&(te=!1);var ae=Math.min(this.height/2,15),de=this.height/5;te&&(this.tipPosition={x:ae+de/2,y:this.height+20});var re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(de=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:0},this.tipBase2Position={x:ae+de,y:0}):(this.tipBase1Position={x:0,y:ae},this.tipBase2Position={x:0,y:ae+de}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(de=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-de,y:0},this.tipBase2Position={x:this.width-ae,y:0}):(this.tipBase1Position={x:this.width,y:ae},this.tipBase2Position={x:this.width,y:ae+de}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?re<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(de=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-de,y:this.height},this.tipBase2Position={x:this.width-ae,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ae-de},this.tipBase2Position={x:this.width,y:this.height-ae}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(de=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:this.height},this.tipBase2Position={x:ae+de,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ae},this.tipBase2Position={x:0,y:this.height-ae-de})},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.positionTip()},ne.prototype.positionTip=function(){Se.setAttributes(this.tip,[["points",this.getTipPoints()]]);var te=this.tipGrip.visual.transform.baseVal.getItem(0);te.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(te,0)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.select=function(){this.positionTip(),le.prototype.select.call(this)},ne.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.bgColor=ae.bgColor,this.tipPosition=ae.tipPosition,le.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.tipPosition={x:this.tipPosition.x*te,y:this.tipPosition.y*ae},this.positionTip()},ne.typeName="CalloutMarker",ne.title="Callout marker",ne.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>',ne}(gt),ln=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.fillColor=de.defaultFillColor,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.setOpacity=re.setOpacity.bind(re),re.createVisual=re.createVisual.bind(re),re.strokePanel=new Fe("Line color",we(de.defaultColorSet,["transparent"]),de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Fe("Fill color",we(de.defaultColorSet,["transparent"]),re.fillColor,be),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new yt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new xt("Opacity",de.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Se.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Se.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Se.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Se.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Se.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Se.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Se.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="EllipseMarker",ne.title="Ellipse marker",ne.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>',ne}(se),Xt=function(le){function ne(te,ae,de){return le.call(this,te,ae,de)||this}return Me(ne,le),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ne.prototype.createTips=function(){this.tip1=Se.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(Se.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Se.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(Se.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Se.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()]]),Se.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 te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ae=this.tip1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ae,0);var de=this.tip2.transform.baseVal.getItem(0);de.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(de,0)}},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.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>',ne}(ct),ge=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.strokePanel.colors=de.defaultColorSet,re.fillColor="transparent",re}return Me(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.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>',ne}(ln),Re=function(){function le(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),le.prototype.addUndoStep=function(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},le.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},le.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},le.prototype.undo=function(){if(this.undoStack.length>1){var ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},le.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},le}(),qe=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new yt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorCurve&&te!==this.visibleCurve&&!this.curveGrip.ownsTarget(te))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.prototype.createVisual=function(){this.visual=Se.createGroup(),this.selectorCurve=Se.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Se.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=te.x,this.curveY=te.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ae)&&(this.activeGrip=this.curveGrip,this._state="resize")},ne.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Se.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Se.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Se.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){le.prototype.setupControlBox.call(this),this.curveControlLine1=Se.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Se.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)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,le.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){le.prototype.positionGrips.call(this);var te=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-te/2,this.curveY-te/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()))},ne.prototype.manipulate=function(te){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+te.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+te.y-this.manipulationStartY),le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),le.prototype.resize.call(this,te),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual()},ne.prototype.scale=function(te,ae){this.curveX=this.curveX*te,this.curveY=this.curveY*ae,le.prototype.scale.call(this,te,ae)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.curveX=ae.curveX,this.curveY=ae.curveY,this.createVisual(),this.adjustVisual()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.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>',ne}(Ke),Vt=function(le){function ne(te,ae,de){var re=le.call(this,te,ae,de)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.fillColor=de.defaultFillColor,re.textColor=de.defaultStrokeColor,re.fontFamily=de.defaultFontFamily,re.fontSize=de.defaultCaptionFontSize,re.captionText=de.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new Fe("Line color",we(de.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Fe("Fill color",we(de.defaultColorSet,["transparent"]),re.fillColor,be),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new yt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new Fe("Text color",de.defaultColorSet,re.textColor,ke),re.textColorPanel.onColorChanged=re.setTextColor,re}return Me(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=Se.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Se.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Se.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=Se.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()},ne.prototype.setCaptionText=function(te){this.captionText=te,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.sizeCaption=function(){var te=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=te.width+2*this.PADDING,this.captionBoxHeight=te.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Se.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')"]]),Se.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')"]])},ne.prototype.showTextEditor=function(){var te=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(ae){ae.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ae){ae.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){te.finishTextEditing(te.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){te.finishTextEditing(te.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ne.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"))},ne.prototype.finishTextEditing=function(te){this.setCaptionText(te.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.prototype.setFont=function(te){this.captionElement&&Se.setAttributes(this.captionElement,[["font-family",te]]),this.fontFamily=te,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ne.prototype.setTextColor=function(te){this.captionElement&&Se.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Se.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&Se.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&Se.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&Se.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&Se.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=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},le.prototype.getState.call(this));return te.typeName=this.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.textColor=ae.textColor,this.fontFamily=ae.fontFamily,this.captionText=ae.captionText,this.fontSize=ae.fontSize,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.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>',ne}(se),rt=function(){function le(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(le.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),le.prototype.preventDefault=function(){this._defaultPrevented=!0},le}(),Zt=function(le){function ne(te,ae,de){var re=le.call(this,te,!1)||this;return re.dataUrl=ae,re.state=de,re}return Me(ne,le),ne}(rt),st=function(le){function ne(te,ae,de){de===void 0&&(de=!1);var re=le.call(this,te,de)||this;return re.marker=ae,re}return Me(ne,le),ne}(rt),$t=function(){function le(){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 le.prototype.addEventListener=function(ne,te){this[ne].push(te)},le.prototype.removeEventListener=function(ne,te){var ae=this[ne].indexOf(te);ae>-1&&this[ne].splice(ae,1)},le}(),Nt=function(){function le(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ue,this._isOpen=!1,this.undoRedoManager=new Re,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 $t,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=le.instanceCounter++,this.styles=new he(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.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(le.prototype,"ALL_MARKER_TYPES",{get:function(){return[kt,Ye,Ft,gt,ge,ln,fn,Yt,Xt,Ge,ct,qe,Vt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[kt,Ye,Ft,gt,ln,fn,Yt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"BASIC_MARKER_TYPES",{get:function(){return[kt,Ye,Ft,gt,fn]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var te=this;this._availableMarkerTypes.splice(0),ne.forEach(function(ae){if(typeof ae=="string"){var de=te.ALL_MARKER_TYPES.find(function(re){return re.typeName===ae});de!==void 0&&te._availableMarkerTypes.push(de)}else te._availableMarkerTypes.push(ae)})},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ne){this._zoomLevel=ne,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(le.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),le.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Pe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},le.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Ee.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ee.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new rt(ne))})},le.prototype.render=function(){return pe(this,void 0,void 0,function(){var ne;return _e(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new Xe).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return te.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,te.sent()]}})})},le.prototype.close=function(ne){var te=this;if(ne===void 0&&(ne=!1),this.isOpen){var ae=!1;ne||this.eventListeners.beforeclose.forEach(function(de){var re=new rt(te,!0);de(re),re.defaultPrevented&&(ae=!0)}),ae||(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(de){return de(new rt(te))}),this.detachEvents(),this._isOpen=!1)}},le.prototype.addMarkersToToolbar=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];(ne=this._availableMarkerTypes).push.apply(ne,te)},le.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(te){ne(te.dataUrl,te.state)})},le.prototype.removeRenderEventListener=function(ne){},le.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},le.prototype.removeCloseEventListener=function(ne){},le.prototype.setupResizeObserver=function(){var ne=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ne.resize(ne.target.clientWidth,ne.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ne.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},le.prototype.onPopupTargetResize=function(){var ne=1*this.target.clientWidth/this.target.clientHeight,te=this.editorCanvas.clientWidth/ne>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,ae=te<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(te,ae)},le.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},le.prototype.resize=function(ne,te){this._isResizing=!0;var ae=ne/this.imageWidth,de=te/this.imageHeight;this.imageWidth=Math.round(ne),this.imageHeight=Math.round(te),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(ae,de),this._isResizing=!1},le.prototype.scaleMarkers=function(ne,te){var ae,de=this;this._currentMarker&&this._currentMarker instanceof gt?this._currentMarker.scale(ne,te):(ae=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==de._currentMarker&&re.scale(ne,te)}),ae!==void 0&&this.setCurrentMarker(ae)},le.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"},le.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ne.left-te.left,this.top=ne.top-te.top},le.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)},le.prototype.addDefs=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];this.defs=Se.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,te)},le.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},le.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)},le.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},le.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},le.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)},le.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},le.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)},le.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 ne=document.createElement("a");ne.href="https://markerjs.com/",ne.target="_blank",ne.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>',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},le.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")},le.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"},le.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},le.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 ne=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=ne+"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 bt(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 it(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},le.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},le.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},le.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())},le.prototype.toolbarButtonClicked=function(ne,te){if(ne==="marker"&&te!==void 0)this.createNewMarker(te);else if(ne==="action")switch(te){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()}},le.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(de){var re=new st(ne,ne._currentMarker,!0);de(re),re.defaultPrevented&&(te=!0)}),!te){var ae=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(de){return de(new st(ne,ae))})}}},le.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(ue){var xe=new st(ne,void 0,!0);ue(xe),xe.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var ae=function(ue){var xe=de.markers[ue];de.setCurrentMarker(de.markers[ue]),de._currentMarker.dispose(),de.markerImage.removeChild(de._currentMarker.container),de.markers.splice(de.markers.indexOf(de._currentMarker),1),de.eventListeners.markerdelete.forEach(function(tt){return tt(new st(ne,xe))})},de=this,re=this.markers.length-1;re>=0;re--)ae(re);this.addUndoStep()}},Object.defineProperty(le.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),le.prototype.showNotesEditor=function(){var ne;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=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",this.overlayContainer.appendChild(this.notesArea))},le.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)},le.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},le.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),ae=this.undoRedoManager.getLastUndoStep();if(!ae||ae.width===te.width&&ae.height===te.height){var de=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),de<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new rt(ne))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(re){return re(new rt(ne))})}},le.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},le.prototype.undoStep=function(){var ne=this,te=this.undoRedoManager.undo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new rt(ne))}))},le.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},le.prototype.redoStep=function(){var ne=this,te=this.undoRedoManager.redo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new rt(ne))}))},le.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},le.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},le.prototype.startRenderAndClose=function(){return pe(this,void 0,void 0,function(){var ne,te,ae=this;return _e(this,function(de){switch(de.label){case 0:return[4,this.render()];case 1:return ne=de.sent(),te=this.getState(),this.eventListeners.render.forEach(function(re){return re(new Zt(ae,ne,te))}),this.close(!0),[2]}})})},le.prototype.getState=function(ne){ne===!0&&this.setCurrentMarker();var te={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ae){return te.markers.push(ae.getState())}),te},le.prototype.restoreState=function(ne){var te=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ne.markers.forEach(function(ae){var de=te._availableMarkerTypes.find(function(ue){return ue.typeName===ae.typeName});if(de!==void 0){var re=te.addNewMarker(de);re.restoreState(ae),te.markers.push(re)}}),ne.width&&ne.height&&(ne.width!==this.imageWidth||ne.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ne.width,this.imageHeight/ne.height),this.eventListeners.restorestate.forEach(function(ae){return ae(new rt(te))})},le.prototype.addNewMarker=function(ne){var te=Se.createGroup();return this.markerImage.appendChild(te),new ne(te,this.overlayContainer,this.settings)},le.prototype.createNewMarker=function(ne){var te,ae=this;(te=typeof ne=="string"?this._availableMarkerTypes.find(function(de){return de.typeName===ne}):ne)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(te),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(te.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(de){return de(new st(ae,ae._currentMarker))}))},le.prototype.markerCreated=function(ne){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof Ye&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ye):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ae){return ae(new st(te,te._currentMarker))})},le.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},le.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},le.prototype.markerStateChanged=function(ne){var te=this;this.eventListeners.markerchange.forEach(function(ae){return ae(new st(te,ne))})},le.prototype.setCurrentMarker=function(ne){var te=this;this._currentMarker!==ne&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ae){return ae(new st(te,te._currentMarker))})),this._currentMarker=ne,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(ae){return ae(new st(te,te._currentMarker))}))},le.prototype.onPointerDown=function(ne){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ne.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0?(this.setCurrentMarker(te),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ne.clientX,y:ne.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY))},le.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0&&te!==this._currentMarker&&this.setCurrentMarker(te),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target):this.setCurrentMarker()}},le.prototype.onPointerMove=function(ne){this.touchPoints!==1&&ne.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ne.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ne.clientX,ne.clientY)):this.zoomLevel>1&&this.panTo({x:ne.clientX,y:ne.clientY}))},le.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},le.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},le.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},le.prototype.clientToLocalCoordinates=function(ne,te){var ae=this.markerImage.getBoundingClientRect();return{x:(ne-ae.left)/this.zoomLevel,y:(te-ae.top)/this.zoomLevel}},le.prototype.onWindowResize=function(){this.positionUI()},le.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"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()},le.prototype.addLicenseKey=function(ne){Pe.addKey(ne)},le.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},le.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},le.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(le.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),le.prototype.focus=function(){var ne=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(te){return te(new rt(ne))}))},le.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(te){return te(new rt(ne))}))},le.instanceCounter=0,le}()},6551:function(Tn,cn,z){"use strict";z.d(cn,{ZP:function(){return Pe}});var b=z(72190),Me=z(59301),pe=z(47273),_e=0,we=(0,pe.Z)();function Se(){var Xe;return we?(Xe=_e,_e+=1):Xe="TEST_OR_SSR",Xe}function Pe(Xe){var Ee=Me.useState(),he=(0,b.Z)(Ee,2),ut=he[0],Be=he[1];return Me.useEffect(function(){Be("rc_select_".concat(Se()))},[]),Xe||ut}},37463:function(Tn,cn,z){"use strict";z.d(cn,{Ac:function(){return at},Xo:function(){return Gt},Wx:function(){return At},ZP:function(){return rr},lk:function(){return tn}});var b=z(60499),Me=z(77654),pe=z(18642),_e=z(85899),we=z(72190),Se=z(42244),Pe=z(43749),Xe=z(18929),Ee=z(48736),he=z(59301),ut=z(92310),Be=z.n(ut),bt=z(34280),it=z(49658),He=z(8654),Fe=function(Ut){var nt=Ut.className,et=Ut.customizeIcon,Qe=Ut.customizeIconProps,Mt=Ut.children,Ne=Ut.onMouseDown,Kt=Ut.onClick,Qt=typeof et=="function"?et(Qe):et;return he.createElement("span",{className:nt,onMouseDown:function(Tt){Tt.preventDefault(),Ne==null||Ne(Tt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Kt,"aria-hidden":!0},Qt!==void 0?Qt:he.createElement("span",{className:Be()(nt.split(/\s+/).map(function(un){return"".concat(un,"-icon")}))},Mt))},Te=Fe,ot=function(Ut,nt,et,Qe,Mt){var Ne=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Kt=arguments.length>6?arguments[6]:void 0,Qt=arguments.length>7?arguments[7]:void 0,un=he.useMemo(function(){if((0,Pe.Z)(Qe)==="object")return Qe.clearIcon;if(Mt)return Mt},[Qe,Mt]),Tt=he.useMemo(function(){return!!(!Ne&&Qe&&(et.length||Kt)&&!(Qt==="combobox"&&Kt===""))},[Qe,Ne,et.length,Kt,Qt]);return{allowClear:Tt,clearIcon:he.createElement(Te,{className:"".concat(Ut,"-clear"),onMouseDown:nt,customizeIcon:un},"\xD7")}},Ct=he.createContext(null);function tn(){return he.useContext(Ct)}function se(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ut=he.useState(!1),nt=(0,we.Z)(Ut,2),et=nt[0],Qe=nt[1],Mt=he.useRef(null),Ne=function(){window.clearTimeout(Mt.current)};he.useEffect(function(){return Ne},[]);var Kt=function(un,Tt){Ne(),Mt.current=window.setTimeout(function(){Qe(un),Tt&&Tt()},Pt)};return[et,Kt,Ne]}function Ie(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ut=he.useRef(null),nt=he.useRef(null);he.useEffect(function(){return function(){window.clearTimeout(nt.current)}},[]);function et(Qe){(Qe||Ut.current===null)&&(Ut.current=Qe),window.clearTimeout(nt.current),nt.current=window.setTimeout(function(){Ut.current=null},Pt)}return[function(){return Ut.current},et]}function dt(Pt,Ut,nt,et){var Qe=he.useRef(null);Qe.current={open:Ut,triggerOpen:nt,customizedTrigger:et},he.useEffect(function(){function Mt(Ne){var Kt;if(!((Kt=Qe.current)!==null&&Kt!==void 0&&Kt.customizedTrigger)){var Qt=Ne.target;Qt.shadowRoot&&Ne.composed&&(Qt=Ne.composedPath()[0]||Qt),Qe.current.open&&Pt().filter(function(un){return un}).every(function(un){return!un.contains(Qt)&&un!==Qt})&&Qe.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Mt),function(){return window.removeEventListener("mousedown",Mt)}},[])}var yt=z(10228);function kt(Pt){return Pt&&![yt.Z.ESC,yt.Z.SHIFT,yt.Z.BACKSPACE,yt.Z.TAB,yt.Z.WIN_KEY,yt.Z.ALT,yt.Z.META,yt.Z.WIN_KEY_RIGHT,yt.Z.CTRL,yt.Z.SEMICOLON,yt.Z.EQUALS,yt.Z.CAPS_LOCK,yt.Z.CONTEXT_MENU,yt.Z.F1,yt.Z.F2,yt.Z.F3,yt.Z.F4,yt.Z.F5,yt.Z.F6,yt.Z.F7,yt.Z.F8,yt.Z.F9,yt.Z.F10,yt.Z.F11,yt.Z.F12].includes(Pt)}var Ue=z(26112),Ke=z(83836);function ct(Pt,Ut,nt){var et=(0,_e.Z)((0,_e.Z)({},Pt),nt?Ut:{});return Object.keys(Ut).forEach(function(Qe){var Mt=Ut[Qe];typeof Mt=="function"&&(et[Qe]=function(){for(var Ne,Kt=arguments.length,Qt=new Array(Kt),un=0;un<Kt;un++)Qt[un]=arguments[un];return Mt.apply(void 0,Qt),(Ne=Pt[Qe])===null||Ne===void 0?void 0:Ne.call.apply(Ne,[Pt].concat(Qt))})}),et}var De=ct,gt=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Ye=function(Ut,nt){var et=Ut.prefixCls,Qe=Ut.id,Mt=Ut.inputElement,Ne=Ut.autoFocus,Kt=Ut.autoComplete,Qt=Ut.editable,un=Ut.activeDescendantId,Tt=Ut.value,Lt=Ut.open,Wt=Ut.attrs,nn=(0,Se.Z)(Ut,gt),Wn=Mt||he.createElement("input",null),Zn=Wn,Yn=Zn.ref,Nr=Zn.props;return(0,Ee.Kp)(!("maxLength"in Wn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Wn=he.cloneElement(Wn,(0,_e.Z)((0,_e.Z)((0,_e.Z)({type:"search"},De(nn,Nr,!0)),{},{id:Qe,ref:(0,He.sQ)(nt,Yn),autoComplete:Kt||"off",autoFocus:Ne,className:Be()("".concat(et,"-selection-search-input"),Nr==null?void 0:Nr.className),role:"combobox","aria-expanded":Lt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Qe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Qe,"_list"),"aria-activedescendant":Lt?un:void 0},Wt),{},{value:Qt?Tt:"",readOnly:!Qt,unselectable:Qt?null:"on",style:(0,_e.Z)((0,_e.Z)({},Nr.style),{},{opacity:Qt?null:0})})),Wn},fe=he.forwardRef(Ye),Ft=fe;function Ge(Pt){return Array.isArray(Pt)?Pt:Pt!==void 0?[Pt]:[]}var xt=typeof window!="undefined"&&window.document&&window.document.documentElement,fn=xt;function ke(Pt){return Pt!=null}function be(Pt){return!Pt&&Pt!==0}function Yt(Pt){return["string","number"].includes((0,Pe.Z)(Pt))}function ln(Pt){var Ut=void 0;return Pt&&(Yt(Pt.title)?Ut=Pt.title.toString():Yt(Pt.label)&&(Ut=Pt.label.toString())),Ut}function Xt(Pt,Ut){fn?he.useLayoutEffect(Pt,Ut):he.useEffect(Pt,Ut)}function ge(Pt){var Ut;return(Ut=Pt.key)!==null&&Ut!==void 0?Ut:Pt.value}var Re=function(Ut){Ut.preventDefault(),Ut.stopPropagation()},qe=function(Ut){var nt=Ut.id,et=Ut.prefixCls,Qe=Ut.values,Mt=Ut.open,Ne=Ut.searchValue,Kt=Ut.autoClearSearchValue,Qt=Ut.inputRef,un=Ut.placeholder,Tt=Ut.disabled,Lt=Ut.mode,Wt=Ut.showSearch,nn=Ut.autoFocus,Wn=Ut.autoComplete,Zn=Ut.activeDescendantId,Yn=Ut.tabIndex,Nr=Ut.removeIcon,zr=Ut.maxTagCount,Qr=Ut.maxTagTextLength,Fr=Ut.maxTagPlaceholder,yr=Fr===void 0?function(cr){return"+ ".concat(cr.length," ...")}:Fr,Pr=Ut.tagRender,Vr=Ut.onToggleOpen,ni=Ut.onRemove,ri=Ut.onInputChange,ai=Ut.onInputPaste,Br=Ut.onInputKeyDown,_r=Ut.onInputMouseDown,$r=Ut.onInputCompositionStart,Ri=Ut.onInputCompositionEnd,Wi=Ut.onInputBlur,Zi=he.useRef(null),zi=(0,he.useState)(0),_i=(0,we.Z)(zi,2),wi=_i[0],Mi=_i[1],fi=(0,he.useState)(!1),$i=(0,we.Z)(fi,2),oo=$i[0],Ro=$i[1],fo="".concat(et,"-selection"),bo=Mt||Lt==="multiple"&&Kt===!1||Lt==="tags"?Ne:"",co=Lt==="tags"||Lt==="multiple"&&Kt===!1||Wt&&(Mt||oo);Xt(function(){Mi(Zi.current.scrollWidth)},[bo]);var yo=function(qn,Hr,qr,or,Jn){return he.createElement("span",{title:ln(qn),className:Be()("".concat(fo,"-item"),(0,pe.Z)({},"".concat(fo,"-item-disabled"),qr))},he.createElement("span",{className:"".concat(fo,"-item-content")},Hr),or&&he.createElement(Te,{className:"".concat(fo,"-item-remove"),onMouseDown:Re,onClick:Jn,customizeIcon:Nr},"\xD7"))},Bi=function(qn,Hr,qr,or,Jn,xr){var Zr=function(po){Re(po),Vr(!Mt)};return he.createElement("span",{onMouseDown:Zr},Pr({label:Hr,value:qn,disabled:qr,closable:or,onClose:Jn,isMaxTag:!!xr}))},Ai=function(qn){var Hr=qn.disabled,qr=qn.label,or=qn.value,Jn=!Tt&&!Hr,xr=qr;if(typeof Qr=="number"&&(typeof qr=="string"||typeof qr=="number")){var Zr=String(xr);Zr.length>Qr&&(xr="".concat(Zr.slice(0,Qr),"..."))}var ji=function(ao){ao&&ao.stopPropagation(),ni(qn)};return typeof Pr=="function"?Bi(or,xr,Hr,Jn,ji):yo(qn,xr,Hr,Jn,ji)},Gr=function(qn){if(!Qe.length)return null;var Hr=typeof yr=="function"?yr(qn):yr;return typeof Pr=="function"?Bi(void 0,Hr,!1,!1,void 0,!0):yo({title:Hr},Hr,!1)},Un=he.createElement("div",{className:"".concat(fo,"-search"),style:{width:wi},onFocus:function(){Ro(!0)},onBlur:function(){Ro(!1)}},he.createElement(Ft,{ref:Qt,open:Mt,prefixCls:et,id:nt,inputElement:null,disabled:Tt,autoFocus:nn,autoComplete:Wn,editable:co,activeDescendantId:Zn,value:bo,onKeyDown:Br,onMouseDown:_r,onChange:ri,onPaste:ai,onCompositionStart:$r,onCompositionEnd:Ri,onBlur:Wi,tabIndex:Yn,attrs:(0,Ue.Z)(Ut,!0)}),he.createElement("span",{ref:Zi,className:"".concat(fo,"-search-mirror"),"aria-hidden":!0},bo,"\xA0")),lr=he.createElement(Ke.Z,{prefixCls:"".concat(fo,"-overflow"),data:Qe,renderItem:Ai,renderRest:Gr,suffix:Un,itemKey:ge,maxCount:zr});return he.createElement("span",{className:"".concat(fo,"-wrap")},lr,!Qe.length&&!bo&&he.createElement("span",{className:"".concat(fo,"-placeholder")},un))},Vt=qe,rt=function(Ut){var nt=Ut.inputElement,et=Ut.prefixCls,Qe=Ut.id,Mt=Ut.inputRef,Ne=Ut.disabled,Kt=Ut.autoFocus,Qt=Ut.autoComplete,un=Ut.activeDescendantId,Tt=Ut.mode,Lt=Ut.open,Wt=Ut.values,nn=Ut.placeholder,Wn=Ut.tabIndex,Zn=Ut.showSearch,Yn=Ut.searchValue,Nr=Ut.activeValue,zr=Ut.maxLength,Qr=Ut.onInputKeyDown,Fr=Ut.onInputMouseDown,yr=Ut.onInputChange,Pr=Ut.onInputPaste,Vr=Ut.onInputCompositionStart,ni=Ut.onInputCompositionEnd,ri=Ut.onInputBlur,ai=Ut.title,Br=he.useState(!1),_r=(0,we.Z)(Br,2),$r=_r[0],Ri=_r[1],Wi=Tt==="combobox",Zi=Wi||Zn,zi=Wt[0],_i=Yn||"";Wi&&Nr&&!$r&&(_i=Nr),he.useEffect(function(){Wi&&Ri(!1)},[Wi,Nr]);var wi=Tt!=="combobox"&&!Lt&&!Zn?!1:!!_i,Mi=ai===void 0?ln(zi):ai,fi=he.useMemo(function(){return zi?null:he.createElement("span",{className:"".concat(et,"-selection-placeholder"),style:wi?{visibility:"hidden"}:void 0},nn)},[zi,wi,nn,et]);return he.createElement("span",{className:"".concat(et,"-selection-wrap")},he.createElement("span",{className:"".concat(et,"-selection-search")},he.createElement(Ft,{ref:Mt,prefixCls:et,id:Qe,open:Lt,inputElement:nt,disabled:Ne,autoFocus:Kt,autoComplete:Qt,editable:Zi,activeDescendantId:un,value:_i,onKeyDown:Qr,onMouseDown:Fr,onChange:function(oo){Ri(!0),yr(oo)},onPaste:Pr,onCompositionStart:Vr,onCompositionEnd:ni,onBlur:ri,tabIndex:Wn,attrs:(0,Ue.Z)(Ut,!0),maxLength:Wi?zr:void 0})),!Wi&&zi?he.createElement("span",{className:"".concat(et,"-selection-item"),title:Mi,style:wi?{visibility:"hidden"}:void 0},zi.label):null,fi)},Zt=rt,st=function(Ut,nt){var et=(0,he.useRef)(null),Qe=(0,he.useRef)(!1),Mt=Ut.prefixCls,Ne=Ut.open,Kt=Ut.mode,Qt=Ut.showSearch,un=Ut.tokenWithEnter,Tt=Ut.disabled,Lt=Ut.prefix,Wt=Ut.autoClearSearchValue,nn=Ut.onSearch,Wn=Ut.onSearchSubmit,Zn=Ut.onToggleOpen,Yn=Ut.onInputKeyDown,Nr=Ut.onInputBlur,zr=Ut.domRef;he.useImperativeHandle(nt,function(){return{focus:function(Mi){et.current.focus(Mi)},blur:function(){et.current.blur()}}});var Qr=Ie(0),Fr=(0,we.Z)(Qr,2),yr=Fr[0],Pr=Fr[1],Vr=function(Mi){var fi=Mi.which,$i=et.current instanceof HTMLTextAreaElement;!$i&&Ne&&(fi===yt.Z.UP||fi===yt.Z.DOWN)&&Mi.preventDefault(),Yn&&Yn(Mi),fi===yt.Z.ENTER&&Kt==="tags"&&!Qe.current&&!Ne&&(Wn==null||Wn(Mi.target.value)),!($i&&!Ne&&~[yt.Z.UP,yt.Z.DOWN,yt.Z.LEFT,yt.Z.RIGHT].indexOf(fi))&&kt(fi)&&Zn(!0)},ni=function(){Pr(!0)},ri=(0,he.useRef)(null),ai=function(Mi){nn(Mi,!0,Qe.current)!==!1&&Zn(!0)},Br=function(){Qe.current=!0},_r=function(Mi){Qe.current=!1,Kt!=="combobox"&&ai(Mi.target.value)},$r=function(Mi){var fi=Mi.target.value;if(un&&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(Mi){var fi=Mi.clipboardData,$i=fi==null?void 0:fi.getData("text");ri.current=$i||""},Wi=function(Mi){var fi=Mi.target;if(fi!==et.current){var $i=document.body.style.msTouchAction!==void 0;$i?setTimeout(function(){et.current.focus()}):et.current.focus()}},Zi=function(Mi){var fi=yr();Mi.target!==et.current&&!fi&&!(Kt==="combobox"&&Tt)&&Mi.preventDefault(),(Kt!=="combobox"&&(!Qt||!fi)||!Ne)&&(Ne&&Wt!==!1&&nn("",!0,!1),Zn())},zi={inputRef:et,onInputKeyDown:Vr,onInputMouseDown:ni,onInputChange:$r,onInputPaste:Ri,onInputCompositionStart:Br,onInputCompositionEnd:_r,onInputBlur:Nr},_i=Kt==="multiple"||Kt==="tags"?he.createElement(Vt,(0,b.Z)({},Ut,zi)):he.createElement(Zt,(0,b.Z)({},Ut,zi));return he.createElement("div",{ref:zr,className:"".concat(Mt,"-selector"),onClick:Wi,onMouseDown:Zi},Lt&&he.createElement("div",{className:"".concat(Mt,"-prefix")},Lt),_i)},$t=he.forwardRef(st),Nt=$t,le=z(68196),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Ut){var nt=Ut===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:nt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:nt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:nt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:nt,adjustY:1},htmlRegion:"scroll"}}},ae=function(Ut,nt){var et=Ut.prefixCls,Qe=Ut.disabled,Mt=Ut.visible,Ne=Ut.children,Kt=Ut.popupElement,Qt=Ut.animation,un=Ut.transitionName,Tt=Ut.dropdownStyle,Lt=Ut.dropdownClassName,Wt=Ut.direction,nn=Wt===void 0?"ltr":Wt,Wn=Ut.placement,Zn=Ut.builtinPlacements,Yn=Ut.dropdownMatchSelectWidth,Nr=Ut.dropdownRender,zr=Ut.dropdownAlign,Qr=Ut.getPopupContainer,Fr=Ut.empty,yr=Ut.getTriggerDOMNode,Pr=Ut.onPopupVisibleChange,Vr=Ut.onPopupMouseEnter,ni=(0,Se.Z)(Ut,ne),ri="".concat(et,"-dropdown"),ai=Kt;Nr&&(ai=Nr(Kt));var Br=he.useMemo(function(){return Zn||te(Yn)},[Zn,Yn]),_r=Qt?"".concat(ri,"-").concat(Qt):un,$r=typeof Yn=="number",Ri=he.useMemo(function(){return $r?null:Yn===!1?"minWidth":"width"},[Yn,$r]),Wi=Tt;$r&&(Wi=(0,_e.Z)((0,_e.Z)({},Wi),{},{width:Yn}));var Zi=he.useRef(null);return he.useImperativeHandle(nt,function(){return{getPopupElement:function(){var _i;return(_i=Zi.current)===null||_i===void 0?void 0:_i.popupElement}}}),he.createElement(le.Z,(0,b.Z)({},ni,{showAction:Pr?["click"]:[],hideAction:Pr?["click"]:[],popupPlacement:Wn||(nn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Br,prefixCls:ri,popupTransitionName:_r,popup:he.createElement("div",{onMouseEnter:Vr},ai),ref:Zi,stretch:Ri,popupAlign:zr,popupVisible:Mt,getPopupContainer:Qr,popupClassName:Be()(Lt,(0,pe.Z)({},"".concat(ri,"-empty"),Fr)),popupStyle:Wi,getTriggerDOMNode:yr,onPopupVisibleChange:Pr}),Ne)},de=he.forwardRef(ae),re=de,ue=z(48745);function xe(Pt,Ut){var nt=Pt.key,et;return"value"in Pt&&(et=Pt.value),nt!=null?nt:et!==void 0?et:"rc-index-key-".concat(Ut)}function tt(Pt){return typeof Pt!="undefined"&&!Number.isNaN(Pt)}function Ve(Pt,Ut){var nt=Pt||{},et=nt.label,Qe=nt.value,Mt=nt.options,Ne=nt.groupLabel,Kt=et||(Ut?"children":"label");return{label:Kt,value:Qe||"value",options:Mt||"options",groupLabel:Ne||Kt}}function We(Pt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=Ut.fieldNames,et=Ut.childrenAsData,Qe=[],Mt=Ve(nt,!1),Ne=Mt.label,Kt=Mt.value,Qt=Mt.options,un=Mt.groupLabel;function Tt(Lt,Wt){Array.isArray(Lt)&&Lt.forEach(function(nn){if(Wt||!(Qt in nn)){var Wn=nn[Kt];Qe.push({key:xe(nn,Qe.length),groupOption:Wt,data:nn,label:nn[Ne],value:Wn})}else{var Zn=nn[un];Zn===void 0&&et&&(Zn=nn.label),Qe.push({key:xe(nn,Qe.length),group:!0,data:nn,label:Zn}),Tt(nn[Qt],!0)}})}return Tt(Pt,!1),Qe}function lt(Pt){var Ut=(0,_e.Z)({},Pt);return"props"in Ut||Object.defineProperty(Ut,"props",{get:function(){return(0,Ee.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ut}}),Ut}var ht=function(Ut,nt,et){if(!nt||!nt.length)return null;var Qe=!1,Mt=function Kt(Qt,un){var Tt=(0,ue.Z)(un),Lt=Tt[0],Wt=Tt.slice(1);if(!Lt)return[Qt];var nn=Qt.split(Lt);return Qe=Qe||nn.length>1,nn.reduce(function(Wn,Zn){return[].concat((0,Me.Z)(Wn),(0,Me.Z)(Kt(Zn,Wt)))},[]).filter(Boolean)},Ne=Mt(Ut,nt);return Qe?typeof et!="undefined"?Ne.slice(0,et):Ne:null},Dt=he.createContext(null),Oe=Dt;function ze(Pt){var Ut=Pt.visible,nt=Pt.values;if(!Ut)return null;var et=50;return he.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(nt.slice(0,et).map(function(Qe){var Mt=Qe.label,Ne=Qe.value;return["number","string"].includes((0,Pe.Z)(Mt))?Mt:Ne}).join(", ")),nt.length>et?", ...":null)}var on=["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"],Rt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],vn=function(Ut){return Ut==="tags"||Ut==="multiple"},Bt=he.forwardRef(function(Pt,Ut){var nt,et=Pt.id,Qe=Pt.prefixCls,Mt=Pt.className,Ne=Pt.showSearch,Kt=Pt.tagRender,Qt=Pt.direction,un=Pt.omitDomProps,Tt=Pt.displayValues,Lt=Pt.onDisplayValuesChange,Wt=Pt.emptyOptions,nn=Pt.notFoundContent,Wn=nn===void 0?"Not Found":nn,Zn=Pt.onClear,Yn=Pt.mode,Nr=Pt.disabled,zr=Pt.loading,Qr=Pt.getInputElement,Fr=Pt.getRawInputElement,yr=Pt.open,Pr=Pt.defaultOpen,Vr=Pt.onDropdownVisibleChange,ni=Pt.activeValue,ri=Pt.onActiveValueChange,ai=Pt.activeDescendantId,Br=Pt.searchValue,_r=Pt.autoClearSearchValue,$r=Pt.onSearch,Ri=Pt.onSearchSplit,Wi=Pt.tokenSeparators,Zi=Pt.allowClear,zi=Pt.prefix,_i=Pt.suffixIcon,wi=Pt.clearIcon,Mi=Pt.OptionList,fi=Pt.animation,$i=Pt.transitionName,oo=Pt.dropdownStyle,Ro=Pt.dropdownClassName,fo=Pt.dropdownMatchSelectWidth,bo=Pt.dropdownRender,co=Pt.dropdownAlign,yo=Pt.placement,Bi=Pt.builtinPlacements,Ai=Pt.getPopupContainer,Gr=Pt.showAction,Un=Gr===void 0?[]:Gr,lr=Pt.onFocus,cr=Pt.onBlur,qn=Pt.onKeyUp,Hr=Pt.onKeyDown,qr=Pt.onMouseDown,or=(0,Se.Z)(Pt,on),Jn=vn(Yn),xr=(Ne!==void 0?Ne:Jn)||Yn==="combobox",Zr=(0,_e.Z)({},or);Rt.forEach(function(Ko){delete Zr[Ko]}),un==null||un.forEach(function(Ko){delete Zr[Ko]});var ji=he.useState(!1),po=(0,we.Z)(ji,2),ao=po[0],Io=po[1];he.useEffect(function(){Io((0,it.Z)())},[]);var wo=he.useRef(null),Co=he.useRef(null),Lo=he.useRef(null),Oo=he.useRef(null),Mo=he.useRef(null),ha=he.useRef(!1),Aa=se(),xa=(0,we.Z)(Aa,3),Fa=xa[0],Da=xa[1],Gi=xa[2];he.useImperativeHandle(Ut,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=Mo.current)===null||Oa===void 0?void 0:Oa.scrollTo(tl)},nativeElement:wo.current||Co.current}});var Ni=he.useMemo(function(){var Ko;if(Yn!=="combobox")return Br;var So=(Ko=Tt[0])===null||Ko===void 0?void 0:Ko.value;return typeof So=="string"||typeof So=="number"?String(So):""},[Br,Yn,Tt]),ea=Yn==="combobox"&&typeof Qr=="function"&&Qr()||null,ta=typeof Fr=="function"&&Fr(),Xi=(0,He.x1)(Co,ta==null||(nt=ta.props)===null||nt===void 0?void 0:nt.ref),Ho=he.useState(!1),_o=(0,we.Z)(Ho,2),ho=_o[0],Zo=_o[1];(0,bt.Z)(function(){Zo(!0)},[]);var Bo=(0,Xe.Z)(!1,{defaultValue:Pr,value:yr}),La=(0,we.Z)(Bo,2),rl=La[0],za=La[1],Ia=ho?rl:!1,Yl=!Wn&&Wt;(Nr||Yl&&Ia&&Yn==="combobox")&&(Ia=!1);var jl=Yl?!1:Ia,qi=he.useCallback(function(Ko){var So=Ko!==void 0?Ko:!Ia;Nr||(za(So),Ia!==So&&(Vr==null||Vr(So)))},[Nr,Ia,za,Vr]),xo=he.useMemo(function(){return(Wi||[]).some(function(Ko){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ko)})},[Wi]),Qi=he.useContext(Oe)||{},to=Qi.maxCount,ko=Qi.rawValues,da=function(So,Ma,tl){if(!(Jn&&tt(to)&&(ko==null?void 0:ko.size)>=to)){var Oa=!0,ka=So;ri==null||ri(null);var Pl=ht(So,Wi,tt(to)?to-ko.size:void 0),Sl=tl?null:Pl;return Yn!=="combobox"&&Sl&&(ka="",Ri==null||Ri(Sl),qi(!1),Oa=!1),$r&&Ni!==ka&&$r(ka,{source:Ma?"typing":"effect"}),Oa}},Cl=function(So){!So||!So.trim()||$r(So,{source:"submit"})};he.useEffect(function(){!Ia&&!Jn&&Yn!=="combobox"&&da("",!1,!1)},[Ia]),he.useEffect(function(){rl&&Nr&&za(!1),Nr&&!ha.current&&Da(!1)},[Nr]);var Ga=Ie(),Ha=(0,we.Z)(Ga,2),Pa=Ha[0],vl=Ha[1],Al=he.useRef(!1),el=function(So){var Ma=Pa(),tl=So.key,Oa=tl==="Enter";if(Oa&&(Yn!=="combobox"&&So.preventDefault(),Ia||qi(!0)),vl(!!Ni),tl==="Backspace"&&!Ma&&Jn&&!Ni&&Tt.length){for(var ka=(0,Me.Z)(Tt),Pl=null,Sl=ka.length-1;Sl>=0;Sl-=1){var Nl=ka[Sl];if(!Nl.disabled){ka.splice(Sl,1),Pl=Nl;break}}Pl&&Lt(ka,{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(Ia&&(!Oa||!Al.current)){var Ul;Oa&&(Al.current=!0),(Ul=Mo.current)===null||Ul===void 0||Ul.onKeyDown.apply(Ul,[So].concat(fl))}Hr==null||Hr.apply(void 0,[So].concat(fl))},Dl=function(So){for(var Ma=arguments.length,tl=new Array(Ma>1?Ma-1:0),Oa=1;Oa<Ma;Oa++)tl[Oa-1]=arguments[Oa];if(Ia){var ka;(ka=Mo.current)===null||ka===void 0||ka.onKeyUp.apply(ka,[So].concat(tl))}So.key==="Enter"&&(Al.current=!1),qn==null||qn.apply(void 0,[So].concat(tl))},Ao=function(So){var Ma=Tt.filter(function(tl){return tl!==So});Lt(Ma,{type:"remove",values:[So]})},xl=function(){Al.current=!1},Vl=he.useRef(!1),us=function(){Da(!0),Nr||(lr&&!Vl.current&&lr.apply(void 0,arguments),Un.includes("focus")&&qi(!0)),Vl.current=!0},ys=function(){ha.current=!0,Da(!1,function(){Vl.current=!1,ha.current=!1,qi(!1)}),!Nr&&(Ni&&(Yn==="tags"?$r(Ni,{source:"submit"}):Yn==="multiple"&&$r("",{source:"blur"})),cr&&cr.apply(void 0,arguments))},il=[];he.useEffect(function(){return function(){il.forEach(function(Ko){return clearTimeout(Ko)}),il.splice(0,il.length)}},[]);var Zl=function(So){var Ma,tl=So.target,Oa=(Ma=Lo.current)===null||Ma===void 0?void 0:Ma.getPopupElement();if(Oa&&Oa.contains(tl)){var ka=setTimeout(function(){var ol=il.indexOf(ka);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(ka)}for(var Pl=arguments.length,Sl=new Array(Pl>1?Pl-1:0),Nl=1;Nl<Pl;Nl++)Sl[Nl-1]=arguments[Nl];qr==null||qr.apply(void 0,[So].concat(Sl))},pl=he.useState({}),Is=(0,we.Z)(pl,2),Gl=Is[1];function cs(){Gl({})}var ts;ta&&(ts=function(So){qi(So)}),dt(function(){var Ko;return[wo.current,(Ko=Lo.current)===null||Ko===void 0?void 0:Ko.getPopupElement()]},jl,qi,!!ta);var _s=he.useMemo(function(){return(0,_e.Z)((0,_e.Z)({},Pt),{},{notFoundContent:Wn,open:Ia,triggerOpen:jl,id:et,showSearch:xr,multiple:Jn,toggleOpen:qi})},[Pt,Wn,jl,Ia,et,xr,Jn,qi]),ds=!!_i||zr,gl;ds&&(gl=he.createElement(Te,{className:Be()("".concat(Qe,"-arrow"),(0,pe.Z)({},"".concat(Qe,"-arrow-loading"),zr)),customizeIcon:_i,customizeIconProps:{loading:zr,searchValue:Ni,open:Ia,focused:Fa,showSearch:xr}}));var Xl=function(){var So;Zn==null||Zn(),(So=Oo.current)===null||So===void 0||So.focus(),Lt([],{type:"clear",values:Tt}),da("",!1,!1)},ns=ot(Qe,Xl,Tt,Zi,wi,Nr,Ni,Yn),bs=ns.allowClear,$l=ns.clearIcon,fs=he.createElement(Mi,{ref:Mo}),Cs=Be()(Qe,Mt,(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(Qe,"-focused"),Fa),"".concat(Qe,"-multiple"),Jn),"".concat(Qe,"-single"),!Jn),"".concat(Qe,"-allow-clear"),Zi),"".concat(Qe,"-show-arrow"),ds),"".concat(Qe,"-disabled"),Nr),"".concat(Qe,"-loading"),zr),"".concat(Qe,"-open"),Ia),"".concat(Qe,"-customize-input"),ea),"".concat(Qe,"-show-search"),xr)),Kl=he.createElement(re,{ref:Lo,disabled:Nr,prefixCls:Qe,visible:jl,popupElement:fs,animation:fi,transitionName:$i,dropdownStyle:oo,dropdownClassName:Ro,direction:Qt,dropdownMatchSelectWidth:fo,dropdownRender:bo,dropdownAlign:co,placement:yo,builtinPlacements:Bi,getPopupContainer:Ai,empty:Wt,getTriggerDOMNode:function(So){return Co.current||So},onPopupVisibleChange:ts,onPopupMouseEnter:cs},ta?he.cloneElement(ta,{ref:Xi}):he.createElement(Nt,(0,b.Z)({},Pt,{domRef:Co,prefixCls:Qe,inputElement:ea,ref:Oo,id:et,prefix:zi,showSearch:xr,autoClearSearchValue:_r,mode:Yn,activeDescendantId:ai,tagRender:Kt,values:Tt,open:Ia,onToggleOpen:qi,activeValue:ni,searchValue:Ni,onSearch:da,onSearchSubmit:Cl,onRemove:Ao,tokenWithEnter:xo,onInputBlur:xl}))),Wa;return ta?Wa=Kl:Wa=he.createElement("div",(0,b.Z)({className:Cs},Zr,{ref:wo,onMouseDown:Zl,onKeyDown:el,onKeyUp:Dl,onFocus:us,onBlur:ys}),he.createElement(ze,{visible:Fa&&!Ia,values:Tt}),Kl,gl,bs&&$l),he.createElement(Ct.Provider,{value:_s},Wa)}),at=Bt,pt=function(){return null};pt.isSelectOptGroup=!0;var Gt=pt,Je=function(){return null};Je.isSelectOption=!0;var At=Je,Jt=z(80547),an=z(2738),Le=z(48911);function Et(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var zt=["disabled","title","children","style","className"];function rn(Pt){return typeof Pt=="string"||typeof Pt=="number"}var yn=function(Ut,nt){var et=tn(),Qe=et.prefixCls,Mt=et.id,Ne=et.open,Kt=et.multiple,Qt=et.mode,un=et.searchValue,Tt=et.toggleOpen,Lt=et.notFoundContent,Wt=et.onPopupScroll,nn=he.useContext(Oe),Wn=nn.maxCount,Zn=nn.flattenOptions,Yn=nn.onActiveValue,Nr=nn.defaultActiveFirstOption,zr=nn.onSelect,Qr=nn.menuItemSelectedIcon,Fr=nn.rawValues,yr=nn.fieldNames,Pr=nn.virtual,Vr=nn.direction,ni=nn.listHeight,ri=nn.listItemHeight,ai=nn.optionRender,Br="".concat(Qe,"-item"),_r=(0,Jt.Z)(function(){return Zn},[Ne,Zn],function(Gr,Un){return Un[0]&&Gr[1]!==Un[1]}),$r=he.useRef(null),Ri=he.useMemo(function(){return Kt&&tt(Wn)&&(Fr==null?void 0:Fr.size)>=Wn},[Kt,Wn,Fr==null?void 0:Fr.size]),Wi=function(Un){Un.preventDefault()},Zi=function(Un){var lr;(lr=$r.current)===null||lr===void 0||lr.scrollTo(typeof Un=="number"?{index:Un}:Un)},zi=he.useCallback(function(Gr){return Qt==="combobox"?!1:Fr.has(Gr)},[Qt,(0,Me.Z)(Fr).toString(),Fr.size]),_i=function(Un){for(var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,cr=_r.length,qn=0;qn<cr;qn+=1){var Hr=(Un+qn*lr+cr)%cr,qr=_r[Hr]||{},or=qr.group,Jn=qr.data;if(!or&&!(Jn!=null&&Jn.disabled)&&(zi(Jn.value)||!Ri))return Hr}return-1},wi=he.useState(function(){return _i(0)}),Mi=(0,we.Z)(wi,2),fi=Mi[0],$i=Mi[1],oo=function(Un){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;$i(Un);var cr={source:lr?"keyboard":"mouse"},qn=_r[Un];if(!qn){Yn(null,-1,cr);return}Yn(qn.value,Un,cr)};(0,he.useEffect)(function(){oo(Nr!==!1?_i(0):-1)},[_r.length,un]);var Ro=he.useCallback(function(Gr){return Qt==="combobox"?String(Gr).toLowerCase()===un.toLowerCase():Fr.has(Gr)},[Qt,un,(0,Me.Z)(Fr).toString(),Fr.size]);(0,he.useEffect)(function(){var Gr=setTimeout(function(){if(!Kt&&Ne&&Fr.size===1){var lr=Array.from(Fr)[0],cr=_r.findIndex(function(qn){var Hr=qn.data;return un?String(Hr.value).startsWith(un):Hr.value===lr});cr!==-1&&(oo(cr),Zi(cr))}});if(Ne){var Un;(Un=$r.current)===null||Un===void 0||Un.scrollTo(void 0)}return function(){return clearTimeout(Gr)}},[Ne,un]);var fo=function(Un){Un!==void 0&&zr(Un,{selected:!Fr.has(Un)}),Kt||Tt(!1)};if(he.useImperativeHandle(nt,function(){return{onKeyDown:function(Un){var lr=Un.which,cr=Un.ctrlKey;switch(lr){case yt.Z.N:case yt.Z.P:case yt.Z.UP:case yt.Z.DOWN:{var qn=0;if(lr===yt.Z.UP?qn=-1:lr===yt.Z.DOWN?qn=1:Et()&&cr&&(lr===yt.Z.N?qn=1:lr===yt.Z.P&&(qn=-1)),qn!==0){var Hr=_i(fi+qn,qn);Zi(Hr),oo(Hr,!0)}break}case yt.Z.TAB:case yt.Z.ENTER:{var qr,or=_r[fi];or&&!(or!=null&&(qr=or.data)!==null&&qr!==void 0&&qr.disabled)&&!Ri?fo(or.value):fo(void 0),Ne&&Un.preventDefault();break}case yt.Z.ESC:Tt(!1),Ne&&Un.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Un){Zi(Un)}}}),_r.length===0)return he.createElement("div",{role:"listbox",id:"".concat(Mt,"_list"),className:"".concat(Br,"-empty"),onMouseDown:Wi},Lt);var bo=Object.keys(yr).map(function(Gr){return yr[Gr]}),co=function(Un){return Un.label};function yo(Gr,Un){var lr=Gr.group;return{role:lr?"presentation":"option",id:"".concat(Mt,"_list_").concat(Un)}}var Bi=function(Un){var lr=_r[Un];if(!lr)return null;var cr=lr.data||{},qn=cr.value,Hr=lr.group,qr=(0,Ue.Z)(cr,!0),or=co(lr);return lr?he.createElement("div",(0,b.Z)({"aria-label":typeof or=="string"&&!Hr?or:null},qr,{key:Un},yo(lr,Un),{"aria-selected":Ro(qn)}),qn):null},Ai={role:"listbox",id:"".concat(Mt,"_list")};return he.createElement(he.Fragment,null,Pr&&he.createElement("div",(0,b.Z)({},Ai,{style:{height:0,width:0,overflow:"hidden"}}),Bi(fi-1),Bi(fi),Bi(fi+1)),he.createElement(Le.Z,{itemKey:"key",ref:$r,data:_r,height:ni,itemHeight:ri,fullHeight:!1,onMouseDown:Wi,onScroll:Wt,virtual:Pr,direction:Vr,innerProps:Pr?null:Ai},function(Gr,Un){var lr=Gr.group,cr=Gr.groupOption,qn=Gr.data,Hr=Gr.label,qr=Gr.value,or=qn.key;if(lr){var Jn,xr=(Jn=qn.title)!==null&&Jn!==void 0?Jn:rn(Hr)?Hr.toString():void 0;return he.createElement("div",{className:Be()(Br,"".concat(Br,"-group"),qn.className),title:xr},Hr!==void 0?Hr:or)}var Zr=qn.disabled,ji=qn.title,po=qn.children,ao=qn.style,Io=qn.className,wo=(0,Se.Z)(qn,zt),Co=(0,an.Z)(wo,bo),Lo=zi(qr),Oo=Zr||!Lo&&Ri,Mo="".concat(Br,"-option"),ha=Be()(Br,Mo,Io,(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(Mo,"-grouped"),cr),"".concat(Mo,"-active"),fi===Un&&!Oo),"".concat(Mo,"-disabled"),Oo),"".concat(Mo,"-selected"),Lo)),Aa=co(Gr),xa=!Qr||typeof Qr=="function"||Lo,Fa=typeof Aa=="number"?Aa:Aa||qr,Da=rn(Fa)?Fa.toString():void 0;return ji!==void 0&&(Da=ji),he.createElement("div",(0,b.Z)({},(0,Ue.Z)(Co),Pr?{}:yo(Gr,Un),{"aria-selected":Ro(qr),className:ha,title:Da,onMouseMove:function(){fi===Un||Oo||oo(Un)},onClick:function(){Oo||fo(qr)},style:ao}),he.createElement("div",{className:"".concat(Mo,"-content")},typeof ai=="function"?ai(Gr,{index:Un}):Fa),he.isValidElement(Qr)||Lo,xa&&he.createElement(Te,{className:"".concat(Br,"-option-state"),customizeIcon:Qr,customizeIconProps:{value:qr,disabled:Oo,isSelected:Lo}},Lo?"\u2713":null))}))},Nn=he.forwardRef(yn),Vn=Nn,Xn=function(Pt,Ut){var nt=he.useRef({values:new Map,options:new Map}),et=he.useMemo(function(){var Mt=nt.current,Ne=Mt.values,Kt=Mt.options,Qt=Pt.map(function(Lt){if(Lt.label===void 0){var Wt;return(0,_e.Z)((0,_e.Z)({},Lt),{},{label:(Wt=Ne.get(Lt.value))===null||Wt===void 0?void 0:Wt.label})}return Lt}),un=new Map,Tt=new Map;return Qt.forEach(function(Lt){un.set(Lt.value,Lt),Tt.set(Lt.value,Ut.get(Lt.value)||Kt.get(Lt.value))}),nt.current.values=un,nt.current.options=Tt,Qt},[Pt,Ut]),Qe=he.useCallback(function(Mt){return Ut.get(Mt)||nt.current.options.get(Mt)},[Ut]);return[et,Qe]};function Bn(Pt,Ut){return Ge(Pt).join("").toUpperCase().includes(Ut)}var jn=function(Pt,Ut,nt,et,Qe){return he.useMemo(function(){if(!nt||et===!1)return Pt;var Mt=Ut.options,Ne=Ut.label,Kt=Ut.value,Qt=[],un=typeof et=="function",Tt=nt.toUpperCase(),Lt=un?et:function(nn,Wn){return Qe?Bn(Wn[Qe],Tt):Wn[Mt]?Bn(Wn[Ne!=="children"?Ne:"label"],Tt):Bn(Wn[Kt],Tt)},Wt=un?function(nn){return lt(nn)}:function(nn){return nn};return Pt.forEach(function(nn){if(nn[Mt]){var Wn=Lt(nt,Wt(nn));if(Wn)Qt.push(nn);else{var Zn=nn[Mt].filter(function(Yn){return Lt(nt,Wt(Yn))});Zn.length&&Qt.push((0,_e.Z)((0,_e.Z)({},nn),{},(0,pe.Z)({},Mt,Zn)))}return}Lt(nt,Wt(nn))&&Qt.push(nn)}),Qt},[Pt,et,Qe,nt,Ut])},wt=z(6551),mt=z(11592),qt=["children","value"],jt=["children"];function Ot(Pt){var Ut=Pt,nt=Ut.key,et=Ut.props,Qe=et.children,Mt=et.value,Ne=(0,Se.Z)(et,qt);return(0,_e.Z)({key:nt,value:Mt!==void 0?Mt:nt,children:Qe},Ne)}function bn(Pt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,mt.Z)(Pt).map(function(nt,et){if(!he.isValidElement(nt)||!nt.type)return null;var Qe=nt,Mt=Qe.type.isSelectOptGroup,Ne=Qe.key,Kt=Qe.props,Qt=Kt.children,un=(0,Se.Z)(Kt,jt);return Ut||!Mt?Ot(nt):(0,_e.Z)((0,_e.Z)({key:"__RC_SELECT_GRP__".concat(Ne===null?et:Ne,"__"),label:Ne},un),{},{options:bn(Qt)})}).filter(function(nt){return nt})}var pn=function(Ut,nt,et,Qe,Mt){return he.useMemo(function(){var Ne=Ut,Kt=!Ut;Kt&&(Ne=bn(nt));var Qt=new Map,un=new Map,Tt=function(nn,Wn,Zn){Zn&&typeof Zn=="string"&&nn.set(Wn[Zn],Wn)},Lt=function Wt(nn){for(var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zn=0;Zn<nn.length;Zn+=1){var Yn=nn[Zn];!Yn[et.options]||Wn?(Qt.set(Yn[et.value],Yn),Tt(un,Yn,et.label),Tt(un,Yn,Qe),Tt(un,Yn,Mt)):Wt(Yn[et.options],!0)}};return Lt(Ne),{options:Ne,valueOptions:Qt,labelOptions:un}},[Ut,nt,et,Qe,Mt])},On=pn;function Qn(Pt){var Ut=he.useRef();Ut.current=Pt;var nt=he.useCallback(function(){return Ut.current.apply(Ut,arguments)},[]);return nt}function Hn(Pt){var Ut=Pt.mode,nt=Pt.options,et=Pt.children,Qe=Pt.backfill,Mt=Pt.allowClear,Ne=Pt.placeholder,Kt=Pt.getInputElement,Qt=Pt.showSearch,un=Pt.onSearch,Tt=Pt.defaultOpen,Lt=Pt.autoFocus,Wt=Pt.labelInValue,nn=Pt.value,Wn=Pt.inputValue,Zn=Pt.optionLabelProp,Yn=isMultiple(Ut),Nr=Qt!==void 0?Qt:Yn||Ut==="combobox",zr=nt||convertChildrenToData(et);if(warning(Ut!=="tags"||zr.every(function(Pr){return!Pr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ut==="tags"||Ut==="combobox"){var Qr=zr.some(function(Pr){return Pr.options?Pr.options.some(function(Vr){return typeof("value"in Vr?Vr.value:Vr.key)=="number"}):typeof("value"in Pr?Pr.value:Pr.key)=="number"});warning(!Qr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ut!=="combobox"||!Zn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ut==="combobox"||!Qe,"`backfill` only works with `combobox` mode."),warning(Ut==="combobox"||!Kt,"`getInputElement` only work with `combobox` mode."),noteOnce(Ut!=="combobox"||!Kt||!Mt||!Ne,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),un&&!Nr&&Ut!=="combobox"&&Ut!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Tt||Lt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),nn!=null){var Fr=toArray(nn);warning(!Wt||Fr.every(function(Pr){return _typeof(Pr)==="object"&&("key"in Pr||"value"in Pr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Yn||Array.isArray(nn),"`value` should be array when `mode` is `multiple` or `tags`")}if(et){var yr=null;toNodeArray(et).some(function(Pr){if(!React.isValidElement(Pr)||!Pr.type)return!1;var Vr=Pr,ni=Vr.type;if(ni.isSelectOption)return!1;if(ni.isSelectOptGroup){var ri=toNodeArray(Pr.props.children).every(function(ai){return!React.isValidElement(ai)||!Pr.type||ai.type.isSelectOption?!0:(yr=ai.type,!1)});return!ri}return yr=ni,!0}),yr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(yr.displayName||yr.name||yr,"`.")),warning(Wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Dn(Pt,Ut){if(Pt){var nt=function et(Qe){for(var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=0;Ne<Qe.length;Ne++){var Kt=Qe[Ne];if(Kt[Ut==null?void 0:Ut.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Mt&&Array.isArray(Kt[Ut==null?void 0:Ut.options])&&et(Kt[Ut==null?void 0:Ut.options],!0))break}};nt(Pt)}}var ir=null,Fn=["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"],pr=["inputValue"];function Dr(Pt){return!Pt||(0,Pe.Z)(Pt)!=="object"}var xn=he.forwardRef(function(Pt,Ut){var nt=Pt.id,et=Pt.mode,Qe=Pt.prefixCls,Mt=Qe===void 0?"rc-select":Qe,Ne=Pt.backfill,Kt=Pt.fieldNames,Qt=Pt.inputValue,un=Pt.searchValue,Tt=Pt.onSearch,Lt=Pt.autoClearSearchValue,Wt=Lt===void 0?!0:Lt,nn=Pt.onSelect,Wn=Pt.onDeselect,Zn=Pt.dropdownMatchSelectWidth,Yn=Zn===void 0?!0:Zn,Nr=Pt.filterOption,zr=Pt.filterSort,Qr=Pt.optionFilterProp,Fr=Pt.optionLabelProp,yr=Pt.options,Pr=Pt.optionRender,Vr=Pt.children,ni=Pt.defaultActiveFirstOption,ri=Pt.menuItemSelectedIcon,ai=Pt.virtual,Br=Pt.direction,_r=Pt.listHeight,$r=_r===void 0?200:_r,Ri=Pt.listItemHeight,Wi=Ri===void 0?20:Ri,Zi=Pt.labelRender,zi=Pt.value,_i=Pt.defaultValue,wi=Pt.labelInValue,Mi=Pt.onChange,fi=Pt.maxCount,$i=(0,Se.Z)(Pt,Fn),oo=(0,wt.ZP)(nt),Ro=vn(et),fo=!!(!yr&&Vr),bo=he.useMemo(function(){return Nr===void 0&&et==="combobox"?!1:Nr},[Nr,et]),co=he.useMemo(function(){return Ve(Kt,fo)},[JSON.stringify(Kt),fo]),yo=(0,Xe.Z)("",{value:un!==void 0?un:Qt,postState:function(xo){return xo||""}}),Bi=(0,we.Z)(yo,2),Ai=Bi[0],Gr=Bi[1],Un=On(yr,Vr,co,Qr,Fr),lr=Un.valueOptions,cr=Un.labelOptions,qn=Un.options,Hr=he.useCallback(function(qi){var xo=Ge(qi);return xo.map(function(Qi){var to,ko,da,Cl,Ga;if(Dr(Qi))to=Qi;else{var Ha;da=Qi.key,ko=Qi.label,to=(Ha=Qi.value)!==null&&Ha!==void 0?Ha:da}var Pa=lr.get(to);if(Pa){var vl;if(ko===void 0&&(ko=Pa==null?void 0:Pa[Fr||co.label]),da===void 0&&(da=(vl=Pa==null?void 0:Pa.key)!==null&&vl!==void 0?vl:to),Cl=Pa==null?void 0:Pa.disabled,Ga=Pa==null?void 0:Pa.title,0)var Al}return{label:ko,value:to,key:da,disabled:Cl,title:Ga}})},[co,Fr,lr]),qr=(0,Xe.Z)(_i,{value:zi}),or=(0,we.Z)(qr,2),Jn=or[0],xr=or[1],Zr=he.useMemo(function(){var qi,xo=Ro&&Jn===null?[]:Jn,Qi=Hr(xo);return et==="combobox"&&be((qi=Qi[0])===null||qi===void 0?void 0:qi.value)?[]:Qi},[Jn,Hr,et,Ro]),ji=Xn(Zr,lr),po=(0,we.Z)(ji,2),ao=po[0],Io=po[1],wo=he.useMemo(function(){if(!et&&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 Qi;return(0,_e.Z)((0,_e.Z)({},xo),{},{label:(Qi=typeof Zi=="function"?Zi(xo):xo.label)!==null&&Qi!==void 0?Qi:xo.value})})},[et,ao,Zi]),Co=he.useMemo(function(){return new Set(ao.map(function(qi){return qi.value}))},[ao]);he.useEffect(function(){if(et==="combobox"){var qi,xo=(qi=ao[0])===null||qi===void 0?void 0:qi.value;Gr(ke(xo)?String(xo):"")}},[ao]);var Lo=Qn(function(qi,xo){var Qi=xo!=null?xo:qi;return(0,pe.Z)((0,pe.Z)({},co.value,qi),co.label,Qi)}),Oo=he.useMemo(function(){if(et!=="tags")return qn;var qi=(0,Me.Z)(qn),xo=function(to){return lr.has(to)};return(0,Me.Z)(ao).sort(function(Qi,to){return Qi.value<to.value?-1:1}).forEach(function(Qi){var to=Qi.value;xo(to)||qi.push(Lo(to,Qi.label))}),qi},[Lo,qn,lr,ao,et]),Mo=jn(Oo,co,Ai,bo,Qr),ha=he.useMemo(function(){return et!=="tags"||!Ai||Mo.some(function(qi){return qi[Qr||"value"]===Ai})||Mo.some(function(qi){return qi[co.value]===Ai})?Mo:[Lo(Ai)].concat((0,Me.Z)(Mo))},[Lo,Qr,et,Mo,Ai,co]),Aa=function qi(xo){var Qi=(0,Me.Z)(xo).sort(function(to,ko){return zr(to,ko,{searchValue:Ai})});return Qi.map(function(to){return Array.isArray(to.options)?(0,_e.Z)((0,_e.Z)({},to),{},{options:to.options.length>0?qi(to.options):to.options}):to})},xa=he.useMemo(function(){return zr?Aa(ha):ha},[ha,zr,Ai]),Fa=he.useMemo(function(){return We(xa,{fieldNames:co,childrenAsData:fo})},[xa,co,fo]),Da=function(xo){var Qi=Hr(xo);if(xr(Qi),Mi&&(Qi.length!==ao.length||Qi.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=wi?Qi:Qi.map(function(da){return da.value}),ko=Qi.map(function(da){return lt(Io(da.value))});Mi(Ro?to:to[0],Ro?ko:ko[0])}},Gi=he.useState(null),Ni=(0,we.Z)(Gi,2),ea=Ni[0],ta=Ni[1],Xi=he.useState(0),Ho=(0,we.Z)(Xi,2),_o=Ho[0],ho=Ho[1],Zo=ni!==void 0?ni:et!=="combobox",Bo=he.useCallback(function(qi,xo){var Qi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},to=Qi.source,ko=to===void 0?"keyboard":to;ho(xo),Ne&&et==="combobox"&&qi!==null&&ko==="keyboard"&&ta(String(qi))},[Ne,et]),La=function(xo,Qi,to){var ko=function(){var Ao,xl=Io(xo);return[wi?{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,lt(xl)]};if(Qi&&nn){var da=ko(),Cl=(0,we.Z)(da,2),Ga=Cl[0],Ha=Cl[1];nn(Ga,Ha)}else if(!Qi&&Wn&&to!=="clear"){var Pa=ko(),vl=(0,we.Z)(Pa,2),Al=vl[0],el=vl[1];Wn(Al,el)}},rl=Qn(function(qi,xo){var Qi,to=Ro?xo.selected:!0;to?Qi=Ro?[].concat((0,Me.Z)(ao),[qi]):[qi]:Qi=ao.filter(function(ko){return ko.value!==qi}),Da(Qi),La(qi,to),et==="combobox"?ta(""):(!vn||Wt)&&(Gr(""),ta(""))}),za=function(xo,Qi){Da(xo);var to=Qi.type,ko=Qi.values;(to==="remove"||to==="clear")&&ko.forEach(function(da){La(da.value,!1,to)})},Ia=function(xo,Qi){if(Gr(xo),ta(null),Qi.source==="submit"){var to=(xo||"").trim();if(to){var ko=Array.from(new Set([].concat((0,Me.Z)(Co),[to])));Da(ko),La(to,!0),Gr("")}return}Qi.source!=="blur"&&(et==="combobox"&&Da(xo),Tt==null||Tt(xo))},Yl=function(xo){var Qi=xo;et!=="tags"&&(Qi=xo.map(function(ko){var da=cr.get(ko);return da==null?void 0:da.value}).filter(function(ko){return ko!==void 0}));var to=Array.from(new Set([].concat((0,Me.Z)(Co),(0,Me.Z)(Qi))));Da(to),to.forEach(function(ko){La(ko,!0)})},jl=he.useMemo(function(){var qi=ai!==!1&&Yn!==!1;return(0,_e.Z)((0,_e.Z)({},Un),{},{flattenOptions:Fa,onActiveValue:Bo,defaultActiveFirstOption:Zo,onSelect:rl,menuItemSelectedIcon:ri,rawValues:Co,fieldNames:co,virtual:qi,direction:Br,listHeight:$r,listItemHeight:Wi,childrenAsData:fo,maxCount:fi,optionRender:Pr})},[fi,Un,Fa,Bo,Zo,rl,ri,Co,co,ai,Yn,Br,$r,Wi,fo,Pr]);return he.createElement(Oe.Provider,{value:jl},he.createElement(at,(0,b.Z)({},$i,{id:oo,prefixCls:Mt,ref:Ut,omitDomProps:pr,mode:et,displayValues:wo,onDisplayValuesChange:za,direction:Br,searchValue:Ai,onSearch:Ia,autoClearSearchValue:Wt,onSearchSplit:Yl,dropdownMatchSelectWidth:Yn,OptionList:Vn,emptyOptions:!Fa.length,activeValue:ea,activeDescendantId:"".concat(oo,"_list_").concat(_o)})))}),kn=xn;kn.Option=At,kn.OptGroup=Gt;var nr=kn,rr=nr},22711:function(Tn,cn,z){"use strict";z.r(cn),z.d(cn,{ResizableTextArea:function(){return De},default:function(){return Ft}});var b=z(60499),Me=z(18642),pe=z(85899),_e=z(77654),we=z(72190),Se=z(42244),Pe=z(92310),Xe=z.n(Pe),Ee=z(36901),he=z(66003),ut=z(30292),Be=z(18929),bt=z(59301),it=z(43749),He=z(29301),Fe=z(34280),Te=z(16089),ot=`
|
|
|
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;
|
|
|
`,Ct=["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"],tn={},se;function Ie(Ge){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fn=Ge.getAttribute("id")||Ge.getAttribute("data-reactid")||Ge.getAttribute("name");if(xt&&tn[fn])return tn[fn];var ke=window.getComputedStyle(Ge),be=ke.getPropertyValue("box-sizing")||ke.getPropertyValue("-moz-box-sizing")||ke.getPropertyValue("-webkit-box-sizing"),Yt=parseFloat(ke.getPropertyValue("padding-bottom"))+parseFloat(ke.getPropertyValue("padding-top")),ln=parseFloat(ke.getPropertyValue("border-bottom-width"))+parseFloat(ke.getPropertyValue("border-top-width")),Xt=Ct.map(function(Re){return"".concat(Re,":").concat(ke.getPropertyValue(Re))}).join(";"),ge={sizingStyle:Xt,paddingSize:Yt,borderSize:ln,boxSizing:be};return xt&&fn&&(tn[fn]=ge),ge}function dt(Ge){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;se||(se=document.createElement("textarea"),se.setAttribute("tab-index","-1"),se.setAttribute("aria-hidden","true"),se.setAttribute("name","hiddenTextarea"),document.body.appendChild(se)),Ge.getAttribute("wrap")?se.setAttribute("wrap",Ge.getAttribute("wrap")):se.removeAttribute("wrap");var be=Ie(Ge,xt),Yt=be.paddingSize,ln=be.borderSize,Xt=be.boxSizing,ge=be.sizingStyle;se.setAttribute("style","".concat(ge,";").concat(ot)),se.value=Ge.value||Ge.placeholder||"";var Re=void 0,qe=void 0,Vt,rt=se.scrollHeight;if(Xt==="border-box"?rt+=ln:Xt==="content-box"&&(rt-=Yt),fn!==null||ke!==null){se.value=" ";var Zt=se.scrollHeight-Yt;fn!==null&&(Re=Zt*fn,Xt==="border-box"&&(Re=Re+Yt+ln),rt=Math.max(Re,rt)),ke!==null&&(qe=Zt*ke,Xt==="border-box"&&(qe=qe+Yt+ln),Vt=rt>qe?"":"hidden",rt=Math.min(qe,rt))}var st={height:rt,overflowY:Vt,resize:"none"};return Re&&(st.minHeight=Re),qe&&(st.maxHeight=qe),st}var yt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],kt=0,Ue=1,Ke=2,ct=bt.forwardRef(function(Ge,xt){var fn=Ge,ke=fn.prefixCls,be=fn.defaultValue,Yt=fn.value,ln=fn.autoSize,Xt=fn.onResize,ge=fn.className,Re=fn.style,qe=fn.disabled,Vt=fn.onChange,rt=fn.onInternalAutoSize,Zt=(0,Se.Z)(fn,yt),st=(0,Be.Z)(be,{value:Yt,postState:function(At){return At!=null?At:""}}),$t=(0,we.Z)(st,2),Nt=$t[0],le=$t[1],ne=function(At){le(At.target.value),Vt==null||Vt(At)},te=bt.useRef();bt.useImperativeHandle(xt,function(){return{textArea:te.current}});var ae=bt.useMemo(function(){return ln&&(0,it.Z)(ln)==="object"?[ln.minRows,ln.maxRows]:[]},[ln]),de=(0,we.Z)(ae,2),re=de[0],ue=de[1],xe=!!ln,tt=function(){try{if(document.activeElement===te.current){var At=te.current,Jt=At.selectionStart,an=At.selectionEnd,Le=At.scrollTop;te.current.setSelectionRange(Jt,an),te.current.scrollTop=Le}}catch(Et){}},Ve=bt.useState(Ke),We=(0,we.Z)(Ve,2),lt=We[0],ht=We[1],Dt=bt.useState(),Oe=(0,we.Z)(Dt,2),ze=Oe[0],on=Oe[1],Rt=function(){ht(kt)};(0,Fe.Z)(function(){xe&&Rt()},[Yt,re,ue,xe]),(0,Fe.Z)(function(){if(lt===kt)ht(Ue);else if(lt===Ue){var Je=dt(te.current,!1,re,ue);ht(Ke),on(Je)}else tt()},[lt]);var vn=bt.useRef(),Bt=function(){Te.Z.cancel(vn.current)},at=function(At){lt===Ke&&(Xt==null||Xt(At),ln&&(Bt(),vn.current=(0,Te.Z)(function(){Rt()})))};bt.useEffect(function(){return Bt},[]);var pt=xe?ze:null,Gt=(0,pe.Z)((0,pe.Z)({},Re),pt);return(lt===kt||lt===Ue)&&(Gt.overflowY="hidden",Gt.overflowX="hidden"),bt.createElement(He.Z,{onResize:at,disabled:!(ln||Xt)},bt.createElement("textarea",(0,b.Z)({},Zt,{ref:te,style:Gt,className:Xe()(ke,ge,(0,Me.Z)({},"".concat(ke,"-disabled"),qe)),disabled:qe,value:Nt,onChange:ne})))}),De=ct,gt=["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"],Ye=bt.forwardRef(function(Ge,xt){var fn,ke=Ge.defaultValue,be=Ge.value,Yt=Ge.onFocus,ln=Ge.onBlur,Xt=Ge.onChange,ge=Ge.allowClear,Re=Ge.maxLength,qe=Ge.onCompositionStart,Vt=Ge.onCompositionEnd,rt=Ge.suffix,Zt=Ge.prefixCls,st=Zt===void 0?"rc-textarea":Zt,$t=Ge.showCount,Nt=Ge.count,le=Ge.className,ne=Ge.style,te=Ge.disabled,ae=Ge.hidden,de=Ge.classNames,re=Ge.styles,ue=Ge.onResize,xe=Ge.onClear,tt=Ge.onPressEnter,Ve=Ge.readOnly,We=Ge.autoSize,lt=Ge.onKeyDown,ht=(0,Se.Z)(Ge,gt),Dt=(0,Be.Z)(ke,{value:be,defaultValue:ke}),Oe=(0,we.Z)(Dt,2),ze=Oe[0],on=Oe[1],Rt=ze==null?"":String(ze),vn=bt.useState(!1),Bt=(0,we.Z)(vn,2),at=Bt[0],pt=Bt[1],Gt=bt.useRef(!1),Je=bt.useState(null),At=(0,we.Z)(Je,2),Jt=At[0],an=At[1],Le=(0,bt.useRef)(null),Et=(0,bt.useRef)(null),zt=function(){var kn;return(kn=Et.current)===null||kn===void 0?void 0:kn.textArea},rn=function(){zt().focus()};(0,bt.useImperativeHandle)(xt,function(){var xn;return{resizableTextArea:Et.current,focus:rn,blur:function(){zt().blur()},nativeElement:((xn=Le.current)===null||xn===void 0?void 0:xn.nativeElement)||zt()}}),(0,bt.useEffect)(function(){pt(function(xn){return!te&&xn})},[te]);var yn=bt.useState(null),Nn=(0,we.Z)(yn,2),Vn=Nn[0],Xn=Nn[1];bt.useEffect(function(){if(Vn){var xn;(xn=zt()).setSelectionRange.apply(xn,(0,_e.Z)(Vn))}},[Vn]);var Bn=(0,he.Z)(Nt,$t),jn=(fn=Bn.max)!==null&&fn!==void 0?fn:Re,wt=Number(jn)>0,mt=Bn.strategy(Rt),qt=!!jn&&mt>jn,jt=function(kn,nr){var rr=nr;!Gt.current&&Bn.exceedFormatter&&Bn.max&&Bn.strategy(nr)>Bn.max&&(rr=Bn.exceedFormatter(nr,{max:Bn.max}),nr!==rr&&Xn([zt().selectionStart||0,zt().selectionEnd||0])),on(rr),(0,ut.rJ)(kn.currentTarget,kn,Xt,rr)},Ot=function(kn){Gt.current=!0,qe==null||qe(kn)},bn=function(kn){Gt.current=!1,jt(kn,kn.currentTarget.value),Vt==null||Vt(kn)},pn=function(kn){jt(kn,kn.target.value)},On=function(kn){kn.key==="Enter"&&tt&&tt(kn),lt==null||lt(kn)},Qn=function(kn){pt(!0),Yt==null||Yt(kn)},Hn=function(kn){pt(!1),ln==null||ln(kn)},Dn=function(kn){on(""),rn(),(0,ut.rJ)(zt(),kn,Xt)},ir=rt,Fn;Bn.show&&(Bn.showFormatter?Fn=Bn.showFormatter({value:Rt,count:mt,maxLength:jn}):Fn="".concat(mt).concat(wt?" / ".concat(jn):""),ir=bt.createElement(bt.Fragment,null,ir,bt.createElement("span",{className:Xe()("".concat(st,"-data-count"),de==null?void 0:de.count),style:re==null?void 0:re.count},Fn)));var pr=function(kn){var nr;ue==null||ue(kn),(nr=zt())!==null&&nr!==void 0&&nr.style.height&&an(!0)},Dr=!We&&!$t&&!ge;return bt.createElement(Ee.BaseInput,{ref:Le,value:Rt,allowClear:ge,handleReset:Dn,suffix:ir,prefixCls:st,classNames:(0,pe.Z)((0,pe.Z)({},de),{},{affixWrapper:Xe()(de==null?void 0:de.affixWrapper,(0,Me.Z)((0,Me.Z)({},"".concat(st,"-show-count"),$t),"".concat(st,"-textarea-allow-clear"),ge))}),disabled:te,focused:at,className:Xe()(le,qt&&"".concat(st,"-out-of-range")),style:(0,pe.Z)((0,pe.Z)({},ne),Jt&&!Dr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Fn=="string"?Fn:void 0}},hidden:ae,readOnly:Ve,onClear:xe},bt.createElement(De,(0,b.Z)({},ht,{autoSize:We,maxLength:Re,onKeyDown:On,onChange:pn,onFocus:Qn,onBlur:Hn,onCompositionStart:Ot,onCompositionEnd:bn,className:Xe()(de==null?void 0:de.textarea),style:(0,pe.Z)((0,pe.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:st,onResize:pr,ref:Et,readOnly:Ve})))}),fe=Ye,Ft=fe},639:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return tn}});var b=z(60499),Me=z(18642),pe=z(85899),_e=z(72190),we=z(42244),Se=z(59301),Pe=z(92310),Xe=z.n(Pe),Ee=z(26112),he=z(30699),ut=function(Ie){for(var dt=Ie.prefixCls,yt=Ie.level,kt=Ie.isStart,Ue=Ie.isEnd,Ke="".concat(dt,"-indent-unit"),ct=[],De=0;De<yt;De+=1)ct.push(Se.createElement("span",{key:De,className:Xe()(Ke,(0,Me.Z)((0,Me.Z)({},"".concat(Ke,"-start"),kt[De]),"".concat(Ke,"-end"),Ue[De]))}));return Se.createElement("span",{"aria-hidden":"true",className:"".concat(dt,"-indent")},ct)},Be=Se.memo(ut),bt=z(65065),it=z(34061),He=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Fe="open",Te="close",ot="---",Ct=function(Ie){var dt,yt,kt,Ue=Ie.eventKey,Ke=Ie.className,ct=Ie.style,De=Ie.dragOver,gt=Ie.dragOverGapTop,Ye=Ie.dragOverGapBottom,fe=Ie.isLeaf,Ft=Ie.isStart,Ge=Ie.isEnd,xt=Ie.expanded,fn=Ie.selected,ke=Ie.checked,be=Ie.halfChecked,Yt=Ie.loading,ln=Ie.domRef,Xt=Ie.active,ge=Ie.data,Re=Ie.onMouseMove,qe=Ie.selectable,Vt=(0,we.Z)(Ie,He),rt=Se.useContext(he.k),Zt=Se.useContext(he.y),st=Se.useRef(null),$t=Se.useState(!1),Nt=(0,_e.Z)($t,2),le=Nt[0],ne=Nt[1],te=!!(rt.disabled||Ie.disabled||(dt=Zt.nodeDisabled)!==null&&dt!==void 0&&dt.call(Zt,ge)),ae=Se.useMemo(function(){return!rt.checkable||Ie.checkable===!1?!1:rt.checkable},[rt.checkable,Ie.checkable]),de=function(mt){te||rt.onNodeSelect(mt,(0,it.F)(Ie))},re=function(mt){te||!ae||Ie.disableCheckbox||rt.onNodeCheck(mt,(0,it.F)(Ie),!ke)},ue=Se.useMemo(function(){return typeof qe=="boolean"?qe:rt.selectable},[qe,rt.selectable]),xe=function(mt){rt.onNodeClick(mt,(0,it.F)(Ie)),ue?de(mt):re(mt)},tt=function(mt){rt.onNodeDoubleClick(mt,(0,it.F)(Ie))},Ve=function(mt){rt.onNodeMouseEnter(mt,(0,it.F)(Ie))},We=function(mt){rt.onNodeMouseLeave(mt,(0,it.F)(Ie))},lt=function(mt){rt.onNodeContextMenu(mt,(0,it.F)(Ie))},ht=Se.useMemo(function(){return!!(rt.draggable&&(!rt.draggable.nodeDraggable||rt.draggable.nodeDraggable(ge)))},[rt.draggable,ge]),Dt=function(mt){mt.stopPropagation(),ne(!0),rt.onNodeDragStart(mt,Ie);try{mt.dataTransfer.setData("text/plain","")}catch(qt){}},Oe=function(mt){mt.preventDefault(),mt.stopPropagation(),rt.onNodeDragEnter(mt,Ie)},ze=function(mt){mt.preventDefault(),mt.stopPropagation(),rt.onNodeDragOver(mt,Ie)},on=function(mt){mt.stopPropagation(),rt.onNodeDragLeave(mt,Ie)},Rt=function(mt){mt.stopPropagation(),ne(!1),rt.onNodeDragEnd(mt,Ie)},vn=function(mt){mt.preventDefault(),mt.stopPropagation(),ne(!1),rt.onNodeDrop(mt,Ie)},Bt=function(mt){Yt||rt.onNodeExpand(mt,(0,it.F)(Ie))},at=Se.useMemo(function(){var wt=(0,bt.Z)(rt.keyEntities,Ue)||{},mt=wt.children;return!!(mt||[]).length},[rt.keyEntities,Ue]),pt=Se.useMemo(function(){return fe===!1?!1:fe||!rt.loadData&&!at||rt.loadData&&Ie.loaded&&!at},[fe,rt.loadData,at,Ie.loaded]);Se.useEffect(function(){Yt||typeof rt.loadData=="function"&&xt&&!pt&&!Ie.loaded&&rt.onNodeLoad((0,it.F)(Ie))},[Yt,rt.loadData,rt.onNodeLoad,xt,pt,Ie]);var Gt=Se.useMemo(function(){var wt;return(wt=rt.draggable)!==null&&wt!==void 0&&wt.icon?Se.createElement("span",{className:"".concat(rt.prefixCls,"-draggable-icon")},rt.draggable.icon):null},[rt.draggable]),Je=function(mt){var qt=Ie.switcherIcon||rt.switcherIcon;return typeof qt=="function"?qt((0,pe.Z)((0,pe.Z)({},Ie),{},{isLeaf:mt})):qt},At=function(){if(pt){var mt=Je(!0);return mt!==!1?Se.createElement("span",{className:Xe()("".concat(rt.prefixCls,"-switcher"),"".concat(rt.prefixCls,"-switcher-noop"))},mt):null}var qt=Je(!1);return qt!==!1?Se.createElement("span",{onClick:Bt,className:Xe()("".concat(rt.prefixCls,"-switcher"),"".concat(rt.prefixCls,"-switcher_").concat(xt?Fe:Te))},qt):null},Jt=Se.useMemo(function(){if(!ae)return null;var wt=typeof ae!="boolean"?ae:null;return Se.createElement("span",{className:Xe()("".concat(rt.prefixCls,"-checkbox"),(0,Me.Z)((0,Me.Z)((0,Me.Z)({},"".concat(rt.prefixCls,"-checkbox-checked"),ke),"".concat(rt.prefixCls,"-checkbox-indeterminate"),!ke&&be),"".concat(rt.prefixCls,"-checkbox-disabled"),te||Ie.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":be?"mixed":ke,"aria-disabled":te||Ie.disableCheckbox,"aria-label":"Select ".concat(typeof Ie.title=="string"?Ie.title:"tree node")},wt)},[ae,ke,be,te,Ie.disableCheckbox,Ie.title]),an=Se.useMemo(function(){return pt?null:xt?Fe:Te},[pt,xt]),Le=Se.useMemo(function(){return Se.createElement("span",{className:Xe()("".concat(rt.prefixCls,"-iconEle"),"".concat(rt.prefixCls,"-icon__").concat(an||"docu"),(0,Me.Z)({},"".concat(rt.prefixCls,"-icon_loading"),Yt))})},[rt.prefixCls,an,Yt]),Et=Se.useMemo(function(){var wt=!!rt.draggable,mt=!Ie.disabled&&wt&&rt.dragOverNodeKey===Ue;return mt?rt.dropIndicatorRender({dropPosition:rt.dropPosition,dropLevelOffset:rt.dropLevelOffset,indent:rt.indent,prefixCls:rt.prefixCls,direction:rt.direction}):null},[rt.dropPosition,rt.dropLevelOffset,rt.indent,rt.prefixCls,rt.direction,rt.draggable,rt.dragOverNodeKey,rt.dropIndicatorRender]),zt=Se.useMemo(function(){var wt=Ie.title,mt=wt===void 0?ot:wt,qt="".concat(rt.prefixCls,"-node-content-wrapper"),jt;if(rt.showIcon){var Ot=Ie.icon||rt.icon;jt=Ot?Se.createElement("span",{className:Xe()("".concat(rt.prefixCls,"-iconEle"),"".concat(rt.prefixCls,"-icon__customize"))},typeof Ot=="function"?Ot(Ie):Ot):Le}else rt.loadData&&Yt&&(jt=Le);var bn;return typeof mt=="function"?bn=mt(ge):rt.titleRender?bn=rt.titleRender(ge):bn=mt,Se.createElement("span",{ref:st,title:typeof mt=="string"?mt:"",className:Xe()(qt,"".concat(qt,"-").concat(an||"normal"),(0,Me.Z)({},"".concat(rt.prefixCls,"-node-selected"),!te&&(fn||le))),onMouseEnter:Ve,onMouseLeave:We,onContextMenu:lt,onClick:xe,onDoubleClick:tt},jt,Se.createElement("span",{className:"".concat(rt.prefixCls,"-title")},bn),Et)},[rt.prefixCls,rt.showIcon,Ie,rt.icon,Le,rt.titleRender,ge,an,Ve,We,lt,xe,tt]),rn=(0,Ee.Z)(Vt,{aria:!0,data:!0}),yn=(0,bt.Z)(rt.keyEntities,Ue)||{},Nn=yn.level,Vn=Ge[Ge.length-1],Xn=!te&&ht,Bn=rt.draggingNodeKey===Ue,jn=qe!==void 0?{"aria-selected":!!qe}:void 0;return Se.createElement("div",(0,b.Z)({ref:ln,role:"treeitem","aria-expanded":fe?void 0:xt,className:Xe()(Ke,"".concat(rt.prefixCls,"-treenode"),(kt={},(0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)(kt,"".concat(rt.prefixCls,"-treenode-disabled"),te),"".concat(rt.prefixCls,"-treenode-switcher-").concat(xt?"open":"close"),!fe),"".concat(rt.prefixCls,"-treenode-checkbox-checked"),ke),"".concat(rt.prefixCls,"-treenode-checkbox-indeterminate"),be),"".concat(rt.prefixCls,"-treenode-selected"),fn),"".concat(rt.prefixCls,"-treenode-loading"),Yt),"".concat(rt.prefixCls,"-treenode-active"),Xt),"".concat(rt.prefixCls,"-treenode-leaf-last"),Vn),"".concat(rt.prefixCls,"-treenode-draggable"),ht),"dragging",Bn),(0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)(kt,"drop-target",rt.dropTargetKey===Ue),"drop-container",rt.dropContainerKey===Ue),"drag-over",!te&&De),"drag-over-gap-top",!te&>),"drag-over-gap-bottom",!te&&Ye),"filter-node",(yt=rt.filterTreeNode)===null||yt===void 0?void 0:yt.call(rt,(0,it.F)(Ie))),"".concat(rt.prefixCls,"-treenode-leaf"),pt))),style:ct,draggable:Xn,onDragStart:Xn?Dt:void 0,onDragEnter:ht?Oe:void 0,onDragOver:ht?ze:void 0,onDragLeave:ht?on:void 0,onDrop:ht?vn:void 0,onDragEnd:ht?Rt:void 0,onMouseMove:Re},jn,rn),Se.createElement(Be,{prefixCls:rt.prefixCls,level:Nn,isStart:Ft,isEnd:Ge}),Gt,At(),Jt,zt)};Ct.isTreeNode=1;var tn=Ct},30699:function(Tn,cn,z){"use strict";z.d(cn,{k:function(){return Me},y:function(){return pe}});var b=z(59301),Me=b.createContext(null),pe=b.createContext({})},87632:function(Tn,cn,z){"use strict";z.d(cn,{OF:function(){return Ue.Z},y6:function(){return Te.y},ZP:function(){return te}});var b=z(60499),Me=z(43749),pe=z(85899),_e=z(77654),we=z(38705),Se=z(17212),Pe=z(15793),Xe=z(39153),Ee=z(55401),he=z(18642),ut=z(92310),Be=z.n(ut),bt=z(10228),it=z(26112),He=z(48736),Fe=z(59301),Te=z(30699),ot=function(de){var re=de.dropPosition,ue=de.dropLevelOffset,xe=de.indent,tt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:tt.top=0,tt.left=-ue*xe;break;case 1:tt.bottom=0,tt.left=-ue*xe;break;case 0:tt.bottom=0,tt.left=xe;break}return Fe.createElement("div",{style:tt})},Ct=ot;function tn(ae){if(ae==null)throw new TypeError("Cannot destructure "+ae)}var se=z(72190),Ie=z(42244),dt=z(34280),yt=z(48911),kt=z(77900),Ue=z(639);function Ke(ae,de){var re=Fe.useState(!1),ue=(0,se.Z)(re,2),xe=ue[0],tt=ue[1];(0,dt.Z)(function(){if(xe)return ae(),function(){de()}},[xe]),(0,dt.Z)(function(){return tt(!0),function(){tt(!1)}},[])}var ct=Ke,De=z(34061),gt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ye=Fe.forwardRef(function(ae,de){var re=ae.className,ue=ae.style,xe=ae.motion,tt=ae.motionNodes,Ve=ae.motionType,We=ae.onMotionStart,lt=ae.onMotionEnd,ht=ae.active,Dt=ae.treeNodeRequiredProps,Oe=(0,Ie.Z)(ae,gt),ze=Fe.useState(!0),on=(0,se.Z)(ze,2),Rt=on[0],vn=on[1],Bt=Fe.useContext(Te.k),at=Bt.prefixCls,pt=tt&&Ve!=="hide";(0,dt.Z)(function(){tt&&pt!==Rt&&vn(pt)},[tt]);var Gt=function(){tt&&We()},Je=Fe.useRef(!1),At=function(){tt&&!Je.current&&(Je.current=!0,lt())};ct(Gt,At);var Jt=function(Le){pt===Le&&At()};return tt?Fe.createElement(kt.default,(0,b.Z)({ref:de,visible:Rt},xe,{motionAppear:Ve==="show",onVisibleChanged:Jt}),function(an,Le){var Et=an.className,zt=an.style;return Fe.createElement("div",{ref:Le,className:Be()("".concat(at,"-treenode-motion"),Et),style:zt},tt.map(function(rn){var yn=Object.assign({},(tn(rn.data),rn.data)),Nn=rn.title,Vn=rn.key,Xn=rn.isStart,Bn=rn.isEnd;delete yn.children;var jn=(0,De.H8)(Vn,Dt);return Fe.createElement(Ue.Z,(0,b.Z)({},yn,jn,{title:Nn,active:ht,data:rn.data,key:Vn,isStart:Xn,isEnd:Bn}))}))}):Fe.createElement(Ue.Z,(0,b.Z)({domRef:de,className:re,style:ue},Oe,{active:ht}))}),fe=Ye;function Ft(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ae.length,ue=de.length;if(Math.abs(re-ue)!==1)return{add:!1,key:null};function xe(tt,Ve){var We=new Map;tt.forEach(function(ht){We.set(ht,!0)});var lt=Ve.filter(function(ht){return!We.has(ht)});return lt.length===1?lt[0]:null}return re<ue?{add:!0,key:xe(ae,de)}:{add:!1,key:xe(de,ae)}}function Ge(ae,de,re){var ue=ae.findIndex(function(We){return We.key===re}),xe=ae[ue+1],tt=de.findIndex(function(We){return We.key===re});if(xe){var Ve=de.findIndex(function(We){return We.key===xe.key});return de.slice(tt+1,Ve)}return de.slice(tt+1)}var xt=["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"],fn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ke=function(){},be="RC_TREE_MOTION_".concat(Math.random()),Yt={key:be},ln={key:be,level:0,index:0,pos:"0",node:Yt,nodes:[Yt]},Xt={parent:null,children:[],pos:ln.pos,data:Yt,title:null,key:be,isStart:[],isEnd:[]};function ge(ae,de,re,ue){return de===!1||!re?ae:ae.slice(0,Math.ceil(re/ue)+1)}function Re(ae){var de=ae.key,re=ae.pos;return(0,De.km)(de,re)}function qe(ae){for(var de=String(ae.data.key),re=ae;re.parent;)re=re.parent,de="".concat(re.data.key," > ").concat(de);return de}var Vt=Fe.forwardRef(function(ae,de){var re=ae.prefixCls,ue=ae.data,xe=ae.selectable,tt=ae.checkable,Ve=ae.expandedKeys,We=ae.selectedKeys,lt=ae.checkedKeys,ht=ae.loadedKeys,Dt=ae.loadingKeys,Oe=ae.halfCheckedKeys,ze=ae.keyEntities,on=ae.disabled,Rt=ae.dragging,vn=ae.dragOverNodeKey,Bt=ae.dropPosition,at=ae.motion,pt=ae.height,Gt=ae.itemHeight,Je=ae.virtual,At=ae.scrollWidth,Jt=ae.focusable,an=ae.activeItem,Le=ae.focused,Et=ae.tabIndex,zt=ae.onKeyDown,rn=ae.onFocus,yn=ae.onBlur,Nn=ae.onActiveChange,Vn=ae.onListChangeStart,Xn=ae.onListChangeEnd,Bn=(0,Ie.Z)(ae,xt),jn=Fe.useRef(null),wt=Fe.useRef(null);Fe.useImperativeHandle(de,function(){return{scrollTo:function(Kt){jn.current.scrollTo(Kt)},getIndentWidth:function(){return wt.current.offsetWidth}}});var mt=Fe.useState(Ve),qt=(0,se.Z)(mt,2),jt=qt[0],Ot=qt[1],bn=Fe.useState(ue),pn=(0,se.Z)(bn,2),On=pn[0],Qn=pn[1],Hn=Fe.useState(ue),Dn=(0,se.Z)(Hn,2),ir=Dn[0],Fn=Dn[1],pr=Fe.useState([]),Dr=(0,se.Z)(pr,2),xn=Dr[0],kn=Dr[1],nr=Fe.useState(null),rr=(0,se.Z)(nr,2),Pt=rr[0],Ut=rr[1],nt=Fe.useRef(ue);nt.current=ue;function et(){var Ne=nt.current;Qn(Ne),Fn(Ne),kn([]),Ut(null),Xn()}(0,dt.Z)(function(){Ot(Ve);var Ne=Ft(jt,Ve);if(Ne.key!==null)if(Ne.add){var Kt=On.findIndex(function(nn){var Wn=nn.key;return Wn===Ne.key}),Qt=ge(Ge(On,ue,Ne.key),Je,pt,Gt),un=On.slice();un.splice(Kt+1,0,Xt),Fn(un),kn(Qt),Ut("show")}else{var Tt=ue.findIndex(function(nn){var Wn=nn.key;return Wn===Ne.key}),Lt=ge(Ge(ue,On,Ne.key),Je,pt,Gt),Wt=ue.slice();Wt.splice(Tt+1,0,Xt),Fn(Wt),kn(Lt),Ut("hide")}else On!==ue&&(Qn(ue),Fn(ue))},[Ve,ue]),Fe.useEffect(function(){Rt||et()},[Rt]);var Qe=at?ir:ue,Mt={expandedKeys:Ve,selectedKeys:We,loadedKeys:ht,loadingKeys:Dt,checkedKeys:lt,halfCheckedKeys:Oe,dragOverNodeKey:vn,dropPosition:Bt,keyEntities:ze};return Fe.createElement(Fe.Fragment,null,Le&&an&&Fe.createElement("span",{style:fn,"aria-live":"assertive"},qe(an)),Fe.createElement("div",null,Fe.createElement("input",{style:fn,disabled:Jt===!1||on,tabIndex:Jt!==!1?Et:null,onKeyDown:zt,onFocus:rn,onBlur:yn,value:"",onChange:ke,"aria-label":"for screen reader"})),Fe.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Fe.createElement("div",{className:"".concat(re,"-indent")},Fe.createElement("div",{ref:wt,className:"".concat(re,"-indent-unit")}))),Fe.createElement(yt.Z,(0,b.Z)({},Bn,{data:Qe,itemKey:Re,height:pt,fullHeight:!1,virtual:Je,itemHeight:Gt,scrollWidth:At,prefixCls:"".concat(re,"-list"),ref:jn,role:"tree",onVisibleChange:function(Kt){Kt.every(function(Qt){return Re(Qt)!==be})&&et()}}),function(Ne){var Kt=Ne.pos,Qt=Object.assign({},(tn(Ne.data),Ne.data)),un=Ne.title,Tt=Ne.key,Lt=Ne.isStart,Wt=Ne.isEnd,nn=(0,De.km)(Tt,Kt);delete Qt.key,delete Qt.children;var Wn=(0,De.H8)(nn,Mt);return Fe.createElement(fe,(0,b.Z)({},Qt,Wn,{title:un,active:!!an&&Tt===an.key,pos:Kt,data:Ne.data,isStart:Lt,isEnd:Wt,motion:at,motionNodes:Tt===be?xn:null,motionType:Pt,onMotionStart:Vn,onMotionEnd:et,treeNodeRequiredProps:Mt,onMouseMove:function(){Nn(null)}}))}))}),rt=Vt,Zt=z(82661),st=z(34643),$t=z(65065),Nt=10,le=function(ae){(0,Xe.Z)(re,ae);var de=(0,Ee.Z)(re);function re(){var ue;(0,we.Z)(this,re);for(var xe=arguments.length,tt=new Array(xe),Ve=0;Ve<xe;Ve++)tt[Ve]=arguments[Ve];return ue=de.call.apply(de,[this].concat(tt)),(0,he.Z)((0,Pe.Z)(ue),"destroyed",!1),(0,he.Z)((0,Pe.Z)(ue),"delayedDragEnterLogic",void 0),(0,he.Z)((0,Pe.Z)(ue),"loadingRetryTimes",{}),(0,he.Z)((0,Pe.Z)(ue),"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,De.w$)()}),(0,he.Z)((0,Pe.Z)(ue),"dragStartMousePosition",null),(0,he.Z)((0,Pe.Z)(ue),"dragNodeProps",null),(0,he.Z)((0,Pe.Z)(ue),"currentMouseOverDroppableNodeKey",null),(0,he.Z)((0,Pe.Z)(ue),"listRef",Fe.createRef()),(0,he.Z)((0,Pe.Z)(ue),"onNodeDragStart",function(We,lt){var ht=ue.state,Dt=ht.expandedKeys,Oe=ht.keyEntities,ze=ue.props.onDragStart,on=lt.eventKey;ue.dragNodeProps=lt,ue.dragStartMousePosition={x:We.clientX,y:We.clientY};var Rt=(0,Zt._5)(Dt,on);ue.setState({draggingNodeKey:on,dragChildrenKeys:(0,Zt.wA)(on,Oe),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys(Rt),window.addEventListener("dragend",ue.onWindowDragEnd),ze==null||ze({event:We,node:(0,De.F)(lt)})}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDragEnter",function(We,lt){var ht=ue.state,Dt=ht.expandedKeys,Oe=ht.keyEntities,ze=ht.dragChildrenKeys,on=ht.flattenNodes,Rt=ht.indent,vn=ue.props,Bt=vn.onDragEnter,at=vn.onExpand,pt=vn.allowDrop,Gt=vn.direction,Je=lt.pos,At=lt.eventKey;if(ue.currentMouseOverDroppableNodeKey!==At&&(ue.currentMouseOverDroppableNodeKey=At),!ue.dragNodeProps){ue.resetDragState();return}var Jt=(0,Zt.OM)(We,ue.dragNodeProps,lt,Rt,ue.dragStartMousePosition,pt,on,Oe,Dt,Gt),an=Jt.dropPosition,Le=Jt.dropLevelOffset,Et=Jt.dropTargetKey,zt=Jt.dropContainerKey,rn=Jt.dropTargetPos,yn=Jt.dropAllowed,Nn=Jt.dragOverNodeKey;if(ze.includes(Et)||!yn){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(Vn){clearTimeout(ue.delayedDragEnterLogic[Vn])}),ue.dragNodeProps.eventKey!==lt.eventKey&&(We.persist(),ue.delayedDragEnterLogic[Je]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var Vn=(0,_e.Z)(Dt),Xn=(0,$t.Z)(Oe,lt.eventKey);Xn&&(Xn.children||[]).length&&(Vn=(0,Zt.L0)(Dt,lt.eventKey)),ue.props.hasOwnProperty("expandedKeys")||ue.setExpandedKeys(Vn),at==null||at(Vn,{node:(0,De.F)(lt),expanded:!0,nativeEvent:We.nativeEvent})}},800)),ue.dragNodeProps.eventKey===Et&&Le===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:Nn,dropPosition:an,dropLevelOffset:Le,dropTargetKey:Et,dropContainerKey:zt,dropTargetPos:rn,dropAllowed:yn}),Bt==null||Bt({event:We,node:(0,De.F)(lt),expandedKeys:Dt})}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDragOver",function(We,lt){var ht=ue.state,Dt=ht.dragChildrenKeys,Oe=ht.flattenNodes,ze=ht.keyEntities,on=ht.expandedKeys,Rt=ht.indent,vn=ue.props,Bt=vn.onDragOver,at=vn.allowDrop,pt=vn.direction;if(ue.dragNodeProps){var Gt=(0,Zt.OM)(We,ue.dragNodeProps,lt,Rt,ue.dragStartMousePosition,at,Oe,ze,on,pt),Je=Gt.dropPosition,At=Gt.dropLevelOffset,Jt=Gt.dropTargetKey,an=Gt.dropContainerKey,Le=Gt.dropTargetPos,Et=Gt.dropAllowed,zt=Gt.dragOverNodeKey;Dt.includes(Jt)||!Et||(ue.dragNodeProps.eventKey===Jt&&At===0?ue.state.dropPosition===null&&ue.state.dropLevelOffset===null&&ue.state.dropTargetKey===null&&ue.state.dropContainerKey===null&&ue.state.dropTargetPos===null&&ue.state.dropAllowed===!1&&ue.state.dragOverNodeKey===null||ue.resetDragState():Je===ue.state.dropPosition&&At===ue.state.dropLevelOffset&&Jt===ue.state.dropTargetKey&&an===ue.state.dropContainerKey&&Le===ue.state.dropTargetPos&&Et===ue.state.dropAllowed&&zt===ue.state.dragOverNodeKey||ue.setState({dropPosition:Je,dropLevelOffset:At,dropTargetKey:Jt,dropContainerKey:an,dropTargetPos:Le,dropAllowed:Et,dragOverNodeKey:zt}),Bt==null||Bt({event:We,node:(0,De.F)(lt)}))}}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDragLeave",function(We,lt){ue.currentMouseOverDroppableNodeKey===lt.eventKey&&!We.currentTarget.contains(We.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var ht=ue.props.onDragLeave;ht==null||ht({event:We,node:(0,De.F)(lt)})}),(0,he.Z)((0,Pe.Z)(ue),"onWindowDragEnd",function(We){ue.onNodeDragEnd(We,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDragEnd",function(We,lt){var ht=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),ht==null||ht({event:We,node:(0,De.F)(lt)}),ue.dragNodeProps=null,window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDrop",function(We,lt){var ht,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Oe=ue.state,ze=Oe.dragChildrenKeys,on=Oe.dropPosition,Rt=Oe.dropTargetKey,vn=Oe.dropTargetPos,Bt=Oe.dropAllowed;if(Bt){var at=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),Rt!==null){var pt=(0,pe.Z)((0,pe.Z)({},(0,De.H8)(Rt,ue.getTreeNodeRequiredProps())),{},{active:((ht=ue.getActiveItem())===null||ht===void 0?void 0:ht.key)===Rt,data:(0,$t.Z)(ue.state.keyEntities,Rt).node}),Gt=ze.includes(Rt);(0,He.ZP)(!Gt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Je=(0,Zt.yx)(vn),At={event:We,node:(0,De.F)(pt),dragNode:ue.dragNodeProps?(0,De.F)(ue.dragNodeProps):null,dragNodesKeys:[ue.dragNodeProps.eventKey].concat(ze),dropToGap:on!==0,dropPosition:on+Number(Je[Je.length-1])};Dt||at==null||at(At),ue.dragNodeProps=null}}}),(0,he.Z)((0,Pe.Z)(ue),"cleanDragState",function(){var We=ue.state.draggingNodeKey;We!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null}),(0,he.Z)((0,Pe.Z)(ue),"triggerExpandActionExpand",function(We,lt){var ht=ue.state,Dt=ht.expandedKeys,Oe=ht.flattenNodes,ze=lt.expanded,on=lt.key,Rt=lt.isLeaf;if(!(Rt||We.shiftKey||We.metaKey||We.ctrlKey)){var vn=Oe.filter(function(at){return at.key===on})[0],Bt=(0,De.F)((0,pe.Z)((0,pe.Z)({},(0,De.H8)(on,ue.getTreeNodeRequiredProps())),{},{data:vn.data}));ue.setExpandedKeys(ze?(0,Zt._5)(Dt,on):(0,Zt.L0)(Dt,on)),ue.onNodeExpand(We,Bt)}}),(0,he.Z)((0,Pe.Z)(ue),"onNodeClick",function(We,lt){var ht=ue.props,Dt=ht.onClick,Oe=ht.expandAction;Oe==="click"&&ue.triggerExpandActionExpand(We,lt),Dt==null||Dt(We,lt)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeDoubleClick",function(We,lt){var ht=ue.props,Dt=ht.onDoubleClick,Oe=ht.expandAction;Oe==="doubleClick"&&ue.triggerExpandActionExpand(We,lt),Dt==null||Dt(We,lt)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeSelect",function(We,lt){var ht=ue.state.selectedKeys,Dt=ue.state,Oe=Dt.keyEntities,ze=Dt.fieldNames,on=ue.props,Rt=on.onSelect,vn=on.multiple,Bt=lt.selected,at=lt[ze.key],pt=!Bt;pt?vn?ht=(0,Zt.L0)(ht,at):ht=[at]:ht=(0,Zt._5)(ht,at);var Gt=ht.map(function(Je){var At=(0,$t.Z)(Oe,Je);return At?At.node:null}).filter(Boolean);ue.setUncontrolledState({selectedKeys:ht}),Rt==null||Rt(ht,{event:"select",selected:pt,node:lt,selectedNodes:Gt,nativeEvent:We.nativeEvent})}),(0,he.Z)((0,Pe.Z)(ue),"onNodeCheck",function(We,lt,ht){var Dt=ue.state,Oe=Dt.keyEntities,ze=Dt.checkedKeys,on=Dt.halfCheckedKeys,Rt=ue.props,vn=Rt.checkStrictly,Bt=Rt.onCheck,at=lt.key,pt,Gt={event:"check",node:lt,checked:ht,nativeEvent:We.nativeEvent};if(vn){var Je=ht?(0,Zt.L0)(ze,at):(0,Zt._5)(ze,at),At=(0,Zt._5)(on,at);pt={checked:Je,halfChecked:At},Gt.checkedNodes=Je.map(function(rn){return(0,$t.Z)(Oe,rn)}).filter(Boolean).map(function(rn){return rn.node}),ue.setUncontrolledState({checkedKeys:Je})}else{var Jt=(0,st.S)([].concat((0,_e.Z)(ze),[at]),!0,Oe),an=Jt.checkedKeys,Le=Jt.halfCheckedKeys;if(!ht){var Et=new Set(an);Et.delete(at);var zt=(0,st.S)(Array.from(Et),{checked:!1,halfCheckedKeys:Le},Oe);an=zt.checkedKeys,Le=zt.halfCheckedKeys}pt=an,Gt.checkedNodes=[],Gt.checkedNodesPositions=[],Gt.halfCheckedKeys=Le,an.forEach(function(rn){var yn=(0,$t.Z)(Oe,rn);if(yn){var Nn=yn.node,Vn=yn.pos;Gt.checkedNodes.push(Nn),Gt.checkedNodesPositions.push({node:Nn,pos:Vn})}}),ue.setUncontrolledState({checkedKeys:an},!1,{halfCheckedKeys:Le})}Bt==null||Bt(pt,Gt)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeLoad",function(We){var lt,ht=We.key,Dt=ue.state.keyEntities,Oe=(0,$t.Z)(Dt,ht);if(!(Oe!=null&&(lt=Oe.children)!==null&<!==void 0&<.length)){var ze=new Promise(function(on,Rt){ue.setState(function(vn){var Bt=vn.loadedKeys,at=Bt===void 0?[]:Bt,pt=vn.loadingKeys,Gt=pt===void 0?[]:pt,Je=ue.props,At=Je.loadData,Jt=Je.onLoad;if(!At||at.includes(ht)||Gt.includes(ht))return null;var an=At(We);return an.then(function(){var Le=ue.state.loadedKeys,Et=(0,Zt.L0)(Le,ht);Jt==null||Jt(Et,{event:"load",node:We}),ue.setUncontrolledState({loadedKeys:Et}),ue.setState(function(zt){return{loadingKeys:(0,Zt._5)(zt.loadingKeys,ht)}}),on()}).catch(function(Le){if(ue.setState(function(zt){return{loadingKeys:(0,Zt._5)(zt.loadingKeys,ht)}}),ue.loadingRetryTimes[ht]=(ue.loadingRetryTimes[ht]||0)+1,ue.loadingRetryTimes[ht]>=Nt){var Et=ue.state.loadedKeys;(0,He.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:(0,Zt.L0)(Et,ht)}),on()}Rt(Le)}),{loadingKeys:(0,Zt.L0)(Gt,ht)}})});return ze.catch(function(){}),ze}}),(0,he.Z)((0,Pe.Z)(ue),"onNodeMouseEnter",function(We,lt){var ht=ue.props.onMouseEnter;ht==null||ht({event:We,node:lt})}),(0,he.Z)((0,Pe.Z)(ue),"onNodeMouseLeave",function(We,lt){var ht=ue.props.onMouseLeave;ht==null||ht({event:We,node:lt})}),(0,he.Z)((0,Pe.Z)(ue),"onNodeContextMenu",function(We,lt){var ht=ue.props.onRightClick;ht&&(We.preventDefault(),ht({event:We,node:lt}))}),(0,he.Z)((0,Pe.Z)(ue),"onFocus",function(){var We=ue.props.onFocus;ue.setState({focused:!0});for(var lt=arguments.length,ht=new Array(lt),Dt=0;Dt<lt;Dt++)ht[Dt]=arguments[Dt];We==null||We.apply(void 0,ht)}),(0,he.Z)((0,Pe.Z)(ue),"onBlur",function(){var We=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var lt=arguments.length,ht=new Array(lt),Dt=0;Dt<lt;Dt++)ht[Dt]=arguments[Dt];We==null||We.apply(void 0,ht)}),(0,he.Z)((0,Pe.Z)(ue),"getTreeNodeRequiredProps",function(){var We=ue.state,lt=We.expandedKeys,ht=We.selectedKeys,Dt=We.loadedKeys,Oe=We.loadingKeys,ze=We.checkedKeys,on=We.halfCheckedKeys,Rt=We.dragOverNodeKey,vn=We.dropPosition,Bt=We.keyEntities;return{expandedKeys:lt||[],selectedKeys:ht||[],loadedKeys:Dt||[],loadingKeys:Oe||[],checkedKeys:ze||[],halfCheckedKeys:on||[],dragOverNodeKey:Rt,dropPosition:vn,keyEntities:Bt}}),(0,he.Z)((0,Pe.Z)(ue),"setExpandedKeys",function(We){var lt=ue.state,ht=lt.treeData,Dt=lt.fieldNames,Oe=(0,De.oH)(ht,We,Dt);ue.setUncontrolledState({expandedKeys:We,flattenNodes:Oe},!0)}),(0,he.Z)((0,Pe.Z)(ue),"onNodeExpand",function(We,lt){var ht=ue.state.expandedKeys,Dt=ue.state,Oe=Dt.listChanging,ze=Dt.fieldNames,on=ue.props,Rt=on.onExpand,vn=on.loadData,Bt=lt.expanded,at=lt[ze.key];if(!Oe){var pt=ht.includes(at),Gt=!Bt;if((0,He.ZP)(Bt&&pt||!Bt&&!pt,"Expand state not sync with index check"),ht=Gt?(0,Zt.L0)(ht,at):(0,Zt._5)(ht,at),ue.setExpandedKeys(ht),Rt==null||Rt(ht,{node:lt,expanded:Gt,nativeEvent:We.nativeEvent}),Gt&&vn){var Je=ue.onNodeLoad(lt);Je&&Je.then(function(){var At=(0,De.oH)(ue.state.treeData,ht,ze);ue.setUncontrolledState({flattenNodes:At})}).catch(function(){var At=ue.state.expandedKeys,Jt=(0,Zt._5)(At,at);ue.setExpandedKeys(Jt)})}}}),(0,he.Z)((0,Pe.Z)(ue),"onListChangeStart",function(){ue.setUncontrolledState({listChanging:!0})}),(0,he.Z)((0,Pe.Z)(ue),"onListChangeEnd",function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})}),(0,he.Z)((0,Pe.Z)(ue),"onActiveChange",function(We){var lt=ue.state.activeKey,ht=ue.props,Dt=ht.onActiveChange,Oe=ht.itemScrollOffset,ze=Oe===void 0?0:Oe;lt!==We&&(ue.setState({activeKey:We}),We!==null&&ue.scrollTo({key:We,offset:ze}),Dt==null||Dt(We))}),(0,he.Z)((0,Pe.Z)(ue),"getActiveItem",function(){var We=ue.state,lt=We.activeKey,ht=We.flattenNodes;return lt===null?null:ht.find(function(Dt){var Oe=Dt.key;return Oe===lt})||null}),(0,he.Z)((0,Pe.Z)(ue),"offsetActiveKey",function(We){var lt=ue.state,ht=lt.flattenNodes,Dt=lt.activeKey,Oe=ht.findIndex(function(Rt){var vn=Rt.key;return vn===Dt});Oe===-1&&We<0&&(Oe=ht.length),Oe=(Oe+We+ht.length)%ht.length;var ze=ht[Oe];if(ze){var on=ze.key;ue.onActiveChange(on)}else ue.onActiveChange(null)}),(0,he.Z)((0,Pe.Z)(ue),"onKeyDown",function(We){var lt=ue.state,ht=lt.activeKey,Dt=lt.expandedKeys,Oe=lt.checkedKeys,ze=lt.fieldNames,on=ue.props,Rt=on.onKeyDown,vn=on.checkable,Bt=on.selectable;switch(We.which){case bt.Z.UP:{ue.offsetActiveKey(-1),We.preventDefault();break}case bt.Z.DOWN:{ue.offsetActiveKey(1),We.preventDefault();break}}var at=ue.getActiveItem();if(at&&at.data){var pt=ue.getTreeNodeRequiredProps(),Gt=at.data.isLeaf===!1||!!(at.data[ze.children]||[]).length,Je=(0,De.F)((0,pe.Z)((0,pe.Z)({},(0,De.H8)(ht,pt)),{},{data:at.data,active:!0}));switch(We.which){case bt.Z.LEFT:{Gt&&Dt.includes(ht)?ue.onNodeExpand({},Je):at.parent&&ue.onActiveChange(at.parent.key),We.preventDefault();break}case bt.Z.RIGHT:{Gt&&!Dt.includes(ht)?ue.onNodeExpand({},Je):at.children&&at.children.length&&ue.onActiveChange(at.children[0].key),We.preventDefault();break}case bt.Z.ENTER:case bt.Z.SPACE:{vn&&!Je.disabled&&Je.checkable!==!1&&!Je.disableCheckbox?ue.onNodeCheck({},Je,!Oe.includes(ht)):!vn&&Bt&&!Je.disabled&&Je.selectable!==!1&&ue.onNodeSelect({},Je);break}}}Rt==null||Rt(We)}),(0,he.Z)((0,Pe.Z)(ue),"setUncontrolledState",function(We){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var Dt=!1,Oe=!0,ze={};Object.keys(We).forEach(function(on){if(ue.props.hasOwnProperty(on)){Oe=!1;return}Dt=!0,ze[on]=We[on]}),Dt&&(!lt||Oe)&&ue.setState((0,pe.Z)((0,pe.Z)({},ze),ht))}}),(0,he.Z)((0,Pe.Z)(ue),"scrollTo",function(We){ue.listRef.current.scrollTo(We)}),ue}return(0,Se.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props,tt=xe.activeKey,Ve=xe.itemScrollOffset,We=Ve===void 0?0:Ve;tt!==void 0&&tt!==this.state.activeKey&&(this.setState({activeKey:tt}),tt!==null&&this.scrollTo({key:tt,offset:We}))}},{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 xe=this.state,tt=xe.focused,Ve=xe.flattenNodes,We=xe.keyEntities,lt=xe.draggingNodeKey,ht=xe.activeKey,Dt=xe.dropLevelOffset,Oe=xe.dropContainerKey,ze=xe.dropTargetKey,on=xe.dropPosition,Rt=xe.dragOverNodeKey,vn=xe.indent,Bt=this.props,at=Bt.prefixCls,pt=Bt.className,Gt=Bt.style,Je=Bt.showLine,At=Bt.focusable,Jt=Bt.tabIndex,an=Jt===void 0?0:Jt,Le=Bt.selectable,Et=Bt.showIcon,zt=Bt.icon,rn=Bt.switcherIcon,yn=Bt.draggable,Nn=Bt.checkable,Vn=Bt.checkStrictly,Xn=Bt.disabled,Bn=Bt.motion,jn=Bt.loadData,wt=Bt.filterTreeNode,mt=Bt.height,qt=Bt.itemHeight,jt=Bt.scrollWidth,Ot=Bt.virtual,bn=Bt.titleRender,pn=Bt.dropIndicatorRender,On=Bt.onContextMenu,Qn=Bt.onScroll,Hn=Bt.direction,Dn=Bt.rootClassName,ir=Bt.rootStyle,Fn=(0,it.Z)(this.props,{aria:!0,data:!0}),pr;yn&&((0,Me.Z)(yn)==="object"?pr=yn:typeof yn=="function"?pr={nodeDraggable:yn}:pr={});var Dr={prefixCls:at,selectable:Le,showIcon:Et,icon:zt,switcherIcon:rn,draggable:pr,draggingNodeKey:lt,checkable:Nn,checkStrictly:Vn,disabled:Xn,keyEntities:We,dropLevelOffset:Dt,dropContainerKey:Oe,dropTargetKey:ze,dropPosition:on,dragOverNodeKey:Rt,indent:vn,direction:Hn,dropIndicatorRender:pn,loadData:jn,filterTreeNode:wt,titleRender:bn,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 Fe.createElement(Te.k.Provider,{value:Dr},Fe.createElement("div",{className:Be()(at,pt,Dn,(0,he.Z)((0,he.Z)((0,he.Z)({},"".concat(at,"-show-line"),Je),"".concat(at,"-focused"),tt),"".concat(at,"-active-focused"),ht!==null)),style:ir},Fe.createElement(rt,(0,b.Z)({ref:this.listRef,prefixCls:at,style:Gt,data:Ve,disabled:Xn,selectable:Le,checkable:!!Nn,motion:Bn,dragging:lt!==null,height:mt,itemHeight:qt,virtual:Ot,focusable:At,focused:tt,tabIndex:an,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:On,onScroll:Qn,scrollWidth:jt},this.getTreeNodeRequiredProps(),Fn))))}}],[{key:"getDerivedStateFromProps",value:function(xe,tt){var Ve=tt.prevProps,We={prevProps:xe};function lt(an){return!Ve&&xe.hasOwnProperty(an)||Ve&&Ve[an]!==xe[an]}var ht,Dt=tt.fieldNames;if(lt("fieldNames")&&(Dt=(0,De.w$)(xe.fieldNames),We.fieldNames=Dt),lt("treeData")?ht=xe.treeData:lt("children")&&((0,He.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ht=(0,De.zn)(xe.children)),ht){We.treeData=ht;var Oe=(0,De.I8)(ht,{fieldNames:Dt});We.keyEntities=(0,pe.Z)((0,he.Z)({},be,ln),Oe.keyEntities)}var ze=We.keyEntities||tt.keyEntities;if(lt("expandedKeys")||Ve&<("autoExpandParent"))We.expandedKeys=xe.autoExpandParent||!Ve&&xe.defaultExpandParent?(0,Zt.r7)(xe.expandedKeys,ze):xe.expandedKeys;else if(!Ve&&xe.defaultExpandAll){var on=(0,pe.Z)({},ze);delete on[be];var Rt=[];Object.keys(on).forEach(function(an){var Le=on[an];Le.children&&Le.children.length&&Rt.push(Le.key)}),We.expandedKeys=Rt}else!Ve&&xe.defaultExpandedKeys&&(We.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,Zt.r7)(xe.defaultExpandedKeys,ze):xe.defaultExpandedKeys);if(We.expandedKeys||delete We.expandedKeys,ht||We.expandedKeys){var vn=(0,De.oH)(ht||tt.treeData,We.expandedKeys||tt.expandedKeys,Dt);We.flattenNodes=vn}if(xe.selectable&&(lt("selectedKeys")?We.selectedKeys=(0,Zt.BT)(xe.selectedKeys,xe):!Ve&&xe.defaultSelectedKeys&&(We.selectedKeys=(0,Zt.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var Bt;if(lt("checkedKeys")?Bt=(0,Zt.E6)(xe.checkedKeys)||{}:!Ve&&xe.defaultCheckedKeys?Bt=(0,Zt.E6)(xe.defaultCheckedKeys)||{}:ht&&(Bt=(0,Zt.E6)(xe.checkedKeys)||{checkedKeys:tt.checkedKeys,halfCheckedKeys:tt.halfCheckedKeys}),Bt){var at=Bt,pt=at.checkedKeys,Gt=pt===void 0?[]:pt,Je=at.halfCheckedKeys,At=Je===void 0?[]:Je;if(!xe.checkStrictly){var Jt=(0,st.S)(Gt,!0,ze);Gt=Jt.checkedKeys,At=Jt.halfCheckedKeys}We.checkedKeys=Gt,We.halfCheckedKeys=At}}return lt("loadedKeys")&&(We.loadedKeys=xe.loadedKeys),We}}]),re}(Fe.Component);(0,he.Z)(le,"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:Ct,allowDrop:function(){return!0},expandAction:!1}),(0,he.Z)(le,"TreeNode",Ue.Z);var ne=le,te=ne},82661:function(Tn,cn,z){"use strict";z.d(cn,{BT:function(){return Fe},E6:function(){return Ct},L0:function(){return he},OM:function(){return He},_5:function(){return Ee},r7:function(){return tn},wA:function(){return Be},yx:function(){return ut}});var b=z(77654),Me=z(43749),pe=z(48736),_e=z(59301),we=z(639),Se=z(65065),Pe=z(34061),Xe=null;function Ee(se,Ie){if(!se)return[];var dt=se.slice(),yt=dt.indexOf(Ie);return yt>=0&&dt.splice(yt,1),dt}function he(se,Ie){var dt=(se||[]).slice();return dt.indexOf(Ie)===-1&&dt.push(Ie),dt}function ut(se){return se.split("-")}function Be(se,Ie){var dt=[],yt=(0,Se.Z)(Ie,se);function kt(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ue.forEach(function(Ke){var ct=Ke.key,De=Ke.children;dt.push(ct),kt(De)})}return kt(yt.children),dt}function bt(se){if(se.parent){var Ie=ut(se.pos);return Number(Ie[Ie.length-1])===se.parent.children.length-1}return!1}function it(se){var Ie=ut(se.pos);return Number(Ie[Ie.length-1])===0}function He(se,Ie,dt,yt,kt,Ue,Ke,ct,De,gt){var Ye,fe=se.clientX,Ft=se.clientY,Ge=se.target.getBoundingClientRect(),xt=Ge.top,fn=Ge.height,ke=(gt==="rtl"?-1:1)*(((kt==null?void 0:kt.x)||0)-fe),be=(ke-12)/yt,Yt=De.filter(function(te){var ae;return(ae=ct[te])===null||ae===void 0||(ae=ae.children)===null||ae===void 0?void 0:ae.length}),ln=(0,Se.Z)(ct,dt.eventKey);if(Ft<xt+fn/2){var Xt=Ke.findIndex(function(te){return te.key===ln.key}),ge=Xt<=0?0:Xt-1,Re=Ke[ge].key;ln=(0,Se.Z)(ct,Re)}var qe=ln.key,Vt=ln,rt=ln.key,Zt=0,st=0;if(!Yt.includes(qe))for(var $t=0;$t<be&&bt(ln);$t+=1)ln=ln.parent,st+=1;var Nt=Ie.data,le=ln.node,ne=!0;return it(ln)&&ln.level===0&&Ft<xt+fn/2&&Ue({dragNode:Nt,dropNode:le,dropPosition:-1})&&ln.key===dt.eventKey?Zt=-1:(Vt.children||[]).length&&Yt.includes(rt)?Ue({dragNode:Nt,dropNode:le,dropPosition:0})?Zt=0:ne=!1:st===0?be>-1.5?Ue({dragNode:Nt,dropNode:le,dropPosition:1})?Zt=1:ne=!1:Ue({dragNode:Nt,dropNode:le,dropPosition:0})?Zt=0:Ue({dragNode:Nt,dropNode:le,dropPosition:1})?Zt=1:ne=!1:Ue({dragNode:Nt,dropNode:le,dropPosition:1})?Zt=1:ne=!1,{dropPosition:Zt,dropLevelOffset:st,dropTargetKey:ln.key,dropTargetPos:ln.pos,dragOverNodeKey:rt,dropContainerKey:Zt===0?null:((Ye=ln.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:ne}}function Fe(se,Ie){if(se){var dt=Ie.multiple;return dt?se.slice():se.length?[se[0]]:se}}var Te=function(Ie){return Ie};function ot(se,Ie){if(!se)return[];var dt=Ie||{},yt=dt.processProps,kt=yt===void 0?Te:yt,Ue=Array.isArray(se)?se:[se];return Ue.map(function(Ke){var ct=Ke.children,De=_objectWithoutProperties(Ke,Xe),gt=ot(ct,Ie);return React.createElement(TreeNode,_extends({key:De.key},kt(De)),gt)})}function Ct(se){if(!se)return null;var Ie;if(Array.isArray(se))Ie={checkedKeys:se,halfCheckedKeys:void 0};else if((0,Me.Z)(se)==="object")Ie={checkedKeys:se.checked||void 0,halfCheckedKeys:se.halfChecked||void 0};else return(0,pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Ie}function tn(se,Ie){var dt=new Set;function yt(kt){if(!dt.has(kt)){var Ue=(0,Se.Z)(Ie,kt);if(Ue){dt.add(kt);var Ke=Ue.parent,ct=Ue.node;ct.disabled||Ke&&yt(Ke.key)}}}return(se||[]).forEach(function(kt){yt(kt)}),(0,b.Z)(dt)}},34643:function(Tn,cn,z){"use strict";z.d(cn,{S:function(){return Pe}});var b=z(48736),Me=z(65065);function pe(Xe,Ee){var he=new Set;return Xe.forEach(function(ut){Ee.has(ut)||he.add(ut)}),he}function _e(Xe){var Ee=Xe||{},he=Ee.disabled,ut=Ee.disableCheckbox,Be=Ee.checkable;return!!(he||ut)||Be===!1}function we(Xe,Ee,he,ut){for(var Be=new Set(Xe),bt=new Set,it=0;it<=he;it+=1){var He=Ee.get(it)||new Set;He.forEach(function(Ct){var tn=Ct.key,se=Ct.node,Ie=Ct.children,dt=Ie===void 0?[]:Ie;Be.has(tn)&&!ut(se)&&dt.filter(function(yt){return!ut(yt.node)}).forEach(function(yt){Be.add(yt.key)})})}for(var Fe=new Set,Te=he;Te>=0;Te-=1){var ot=Ee.get(Te)||new Set;ot.forEach(function(Ct){var tn=Ct.parent,se=Ct.node;if(!(ut(se)||!Ct.parent||Fe.has(Ct.parent.key))){if(ut(Ct.parent.node)){Fe.add(tn.key);return}var Ie=!0,dt=!1;(tn.children||[]).filter(function(yt){return!ut(yt.node)}).forEach(function(yt){var kt=yt.key,Ue=Be.has(kt);Ie&&!Ue&&(Ie=!1),!dt&&(Ue||bt.has(kt))&&(dt=!0)}),Ie&&Be.add(tn.key),dt&&bt.add(tn.key),Fe.add(tn.key)}})}return{checkedKeys:Array.from(Be),halfCheckedKeys:Array.from(pe(bt,Be))}}function Se(Xe,Ee,he,ut,Be){for(var bt=new Set(Xe),it=new Set(Ee),He=0;He<=ut;He+=1){var Fe=he.get(He)||new Set;Fe.forEach(function(tn){var se=tn.key,Ie=tn.node,dt=tn.children,yt=dt===void 0?[]:dt;!bt.has(se)&&!it.has(se)&&!Be(Ie)&&yt.filter(function(kt){return!Be(kt.node)}).forEach(function(kt){bt.delete(kt.key)})})}it=new Set;for(var Te=new Set,ot=ut;ot>=0;ot-=1){var Ct=he.get(ot)||new Set;Ct.forEach(function(tn){var se=tn.parent,Ie=tn.node;if(!(Be(Ie)||!tn.parent||Te.has(tn.parent.key))){if(Be(tn.parent.node)){Te.add(se.key);return}var dt=!0,yt=!1;(se.children||[]).filter(function(kt){return!Be(kt.node)}).forEach(function(kt){var Ue=kt.key,Ke=bt.has(Ue);dt&&!Ke&&(dt=!1),!yt&&(Ke||it.has(Ue))&&(yt=!0)}),dt||bt.delete(se.key),yt&&it.add(se.key),Te.add(se.key)}})}return{checkedKeys:Array.from(bt),halfCheckedKeys:Array.from(pe(it,bt))}}function Pe(Xe,Ee,he,ut){var Be=[],bt;ut?bt=ut:bt=_e;var it=new Set(Xe.filter(function(ot){var Ct=!!(0,Me.Z)(he,ot);return Ct||Be.push(ot),Ct})),He=new Map,Fe=0;Object.keys(he).forEach(function(ot){var Ct=he[ot],tn=Ct.level,se=He.get(tn);se||(se=new Set,He.set(tn,se)),se.add(Ct),Fe=Math.max(Fe,tn)}),(0,b.ZP)(!Be.length,"Tree missing follow keys: ".concat(Be.slice(0,100).map(function(ot){return"'".concat(ot,"'")}).join(", ")));var Te;return Ee===!0?Te=we(it,He,Fe,bt):Te=Se(it,Ee.halfCheckedKeys,He,Fe,bt),Te}},65065:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return b}});function b(Me,pe){return Me[pe]}},34061:function(Tn,cn,z){"use strict";z.d(cn,{F:function(){return tn},H8:function(){return Ct},I8:function(){return ot},km:function(){return Be},oH:function(){return Fe},w$:function(){return bt},zn:function(){return He}});var b=z(43749),Me=z(77654),pe=z(85899),_e=z(42244),we=z(11592),Se=z(2738),Pe=z(48736),Xe=z(65065),Ee=["children"];function he(se,Ie){return"".concat(se,"-").concat(Ie)}function ut(se){return se&&se.type&&se.type.isTreeNode}function Be(se,Ie){return se!=null?se:Ie}function bt(se){var Ie=se||{},dt=Ie.title,yt=Ie._title,kt=Ie.key,Ue=Ie.children,Ke=dt||"title";return{title:Ke,_title:yt||[Ke],key:kt||"key",children:Ue||"children"}}function it(se,Ie){var dt=new Map;function yt(kt){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(kt||[]).forEach(function(Ke){var ct=Ke[Ie.key],De=Ke[Ie.children];warning(ct!=null,"Tree node must have a certain key: [".concat(Ue).concat(ct,"]"));var gt=String(ct);warning(!dt.has(gt)||ct===null||ct===void 0,"Same 'key' exist in the Tree: ".concat(gt)),dt.set(gt,!0),yt(De,"".concat(Ue).concat(gt," > "))})}yt(se)}function He(se){function Ie(dt){var yt=(0,we.Z)(dt);return yt.map(function(kt){if(!ut(kt))return(0,Pe.ZP)(!kt,"Tree/TreeNode can only accept TreeNode as children."),null;var Ue=kt.key,Ke=kt.props,ct=Ke.children,De=(0,_e.Z)(Ke,Ee),gt=(0,pe.Z)({key:Ue},De),Ye=Ie(ct);return Ye.length&&(gt.children=Ye),gt}).filter(function(kt){return kt})}return Ie(se)}function Fe(se,Ie,dt){var yt=bt(dt),kt=yt._title,Ue=yt.key,Ke=yt.children,ct=new Set(Ie===!0?[]:Ie),De=[];function gt(Ye){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ye.map(function(Ft,Ge){for(var xt=he(fe?fe.pos:"0",Ge),fn=Be(Ft[Ue],xt),ke,be=0;be<kt.length;be+=1){var Yt=kt[be];if(Ft[Yt]!==void 0){ke=Ft[Yt];break}}var ln=Object.assign((0,Se.Z)(Ft,[].concat((0,Me.Z)(kt),[Ue,Ke])),{title:ke,key:fn,parent:fe,pos:xt,children:null,data:Ft,isStart:[].concat((0,Me.Z)(fe?fe.isStart:[]),[Ge===0]),isEnd:[].concat((0,Me.Z)(fe?fe.isEnd:[]),[Ge===Ye.length-1])});return De.push(ln),Ie===!0||ct.has(fn)?ln.children=gt(Ft[Ke]||[],ln):ln.children=[],ln})}return gt(se),De}function Te(se,Ie,dt){var yt={};(0,b.Z)(dt)==="object"?yt=dt:yt={externalGetKey:dt},yt=yt||{};var kt=yt,Ue=kt.childrenPropName,Ke=kt.externalGetKey,ct=kt.fieldNames,De=bt(ct),gt=De.key,Ye=De.children,fe=Ue||Ye,Ft;Ke?typeof Ke=="string"?Ft=function(fn){return fn[Ke]}:typeof Ke=="function"&&(Ft=function(fn){return Ke(fn)}):Ft=function(fn,ke){return Be(fn[gt],ke)};function Ge(xt,fn,ke,be){var Yt=xt?xt[fe]:se,ln=xt?he(ke.pos,fn):"0",Xt=xt?[].concat((0,Me.Z)(be),[xt]):[];if(xt){var ge=Ft(xt,ln),Re={node:xt,index:fn,pos:ln,key:ge,parentPos:ke.node?ke.pos:null,level:ke.level+1,nodes:Xt};Ie(Re)}Yt&&Yt.forEach(function(qe,Vt){Ge(qe,Vt,{node:xt,pos:ln,level:ke?ke.level+1:-1},Xt)})}Ge(null)}function ot(se){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dt=Ie.initWrapper,yt=Ie.processEntity,kt=Ie.onProcessFinished,Ue=Ie.externalGetKey,Ke=Ie.childrenPropName,ct=Ie.fieldNames,De=arguments.length>2?arguments[2]:void 0,gt=Ue||De,Ye={},fe={},Ft={posEntities:Ye,keyEntities:fe};return dt&&(Ft=dt(Ft)||Ft),Te(se,function(Ge){var xt=Ge.node,fn=Ge.index,ke=Ge.pos,be=Ge.key,Yt=Ge.parentPos,ln=Ge.level,Xt=Ge.nodes,ge={node:xt,nodes:Xt,index:fn,key:be,pos:ke,level:ln},Re=Be(be,ke);Ye[ke]=ge,fe[Re]=ge,ge.parent=Ye[Yt],ge.parent&&(ge.parent.children=ge.parent.children||[],ge.parent.children.push(ge)),yt&&yt(ge,Ft)},{externalGetKey:gt,childrenPropName:Ke,fieldNames:ct}),kt&&kt(Ft),Ft}function Ct(se,Ie){var dt=Ie.expandedKeys,yt=Ie.selectedKeys,kt=Ie.loadedKeys,Ue=Ie.loadingKeys,Ke=Ie.checkedKeys,ct=Ie.halfCheckedKeys,De=Ie.dragOverNodeKey,gt=Ie.dropPosition,Ye=Ie.keyEntities,fe=(0,Xe.Z)(Ye,se),Ft={eventKey:se,expanded:dt.indexOf(se)!==-1,selected:yt.indexOf(se)!==-1,loaded:kt.indexOf(se)!==-1,loading:Ue.indexOf(se)!==-1,checked:Ke.indexOf(se)!==-1,halfChecked:ct.indexOf(se)!==-1,pos:String(fe?fe.pos:""),dragOver:De===se&>===0,dragOverGapTop:De===se&>===-1,dragOverGapBottom:De===se&>===1};return Ft}function tn(se){var Ie=se.data,dt=se.expanded,yt=se.selected,kt=se.checked,Ue=se.loaded,Ke=se.loading,ct=se.halfChecked,De=se.dragOver,gt=se.dragOverGapTop,Ye=se.dragOverGapBottom,fe=se.pos,Ft=se.active,Ge=se.eventKey,xt=(0,pe.Z)((0,pe.Z)({},Ie),{},{expanded:dt,selected:yt,checked:kt,loaded:Ue,loading:Ke,halfChecked:ct,dragOver:De,dragOverGapTop:gt,dragOverGapBottom:Ye,pos:fe,active:Ft,key:Ge});return"props"in xt||Object.defineProperty(xt,"props",{get:function(){return(0,Pe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),se}}),xt}},8224:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Me}});var b=z(4676);function Me(pe,_e,we,Se){var Pe=b.unstable_batchedUpdates?function(Ee){b.unstable_batchedUpdates(we,Ee)}:we;return pe!=null&&pe.addEventListener&&pe.addEventListener(_e,Pe,Se),{remove:function(){pe!=null&&pe.removeEventListener&&pe.removeEventListener(_e,Pe,Se)}}}},24514:function(Tn,cn,z){"use strict";z.d(cn,{G:function(){return _e}});var b=z(47273),Me=function(Se){if((0,b.Z)()&&window.document.documentElement){var Pe=Array.isArray(Se)?Se:[Se],Xe=window.document.documentElement;return Pe.some(function(Ee){return Ee in Xe.style})}return!1},pe=function(Se,Pe){if(!Me(Se))return!1;var Xe=document.createElement("div"),Ee=Xe.style[Se];return Xe.style[Se]=Pe,Xe.style[Se]!==Ee};function _e(we,Se){return!Array.isArray(we)&&Se!==void 0?pe(we,Se):Me(we)}},48911:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Nt}});var b=z(60499),Me=z(43749),pe=z(85899),_e=z(18642),we=z(72190),Se=z(42244),Pe=z(92310),Xe=z.n(Pe),Ee=z(29301),he=z(70425),ut=z(34280),Be=z(59301),bt=z(4676),it=Be.forwardRef(function(le,ne){var te=le.height,ae=le.offsetY,de=le.offsetX,re=le.children,ue=le.prefixCls,xe=le.onInnerResize,tt=le.innerProps,Ve=le.rtl,We=le.extra,lt={},ht={display:"flex",flexDirection:"column"};return ae!==void 0&&(lt={height:te,position:"relative",overflow:"hidden"},ht=(0,pe.Z)((0,pe.Z)({},ht),{},(0,_e.Z)((0,_e.Z)((0,_e.Z)((0,_e.Z)((0,_e.Z)({transform:"translateY(".concat(ae,"px)")},Ve?"marginRight":"marginLeft",-de),"position","absolute"),"left",0),"right",0),"top",0))),Be.createElement("div",{style:lt},Be.createElement(Ee.Z,{onResize:function(Oe){var ze=Oe.offsetHeight;ze&&xe&&xe()}},Be.createElement("div",(0,b.Z)({style:ht,className:Xe()((0,_e.Z)({},"".concat(ue,"-holder-inner"),ue)),ref:ne},tt),re,We)))});it.displayName="Filler";var He=it;function Fe(le){var ne=le.children,te=le.setRef,ae=Be.useCallback(function(de){te(de)},[]);return Be.cloneElement(ne,{ref:ae})}function Te(le,ne,te,ae,de,re,ue,xe){var tt=xe.getKey;return le.slice(ne,te+1).map(function(Ve,We){var lt=ne+We,ht=ue(Ve,lt,{style:{width:ae},offsetX:de}),Dt=tt(Ve);return Be.createElement(Fe,{key:Dt,setRef:function(ze){return re(Ve,ze)}},ht)})}function ot(le,ne,te,ae){var de=te-le,re=ne-te,ue=Math.min(de,re)*2;if(ae<=ue){var xe=Math.floor(ae/2);return ae%2?te+xe+1:te-xe}return de>re?te-(ae-re):te+(ae-de)}function Ct(le,ne,te){var ae=le.length,de=ne.length,re,ue;if(ae===0&&de===0)return null;ae<de?(re=le,ue=ne):(re=ne,ue=le);var xe={__EMPTY_ITEM__:!0};function tt(Oe){return Oe!==void 0?te(Oe):xe}for(var Ve=null,We=Math.abs(ae-de)!==1,lt=0;lt<ue.length;lt+=1){var ht=tt(re[lt]),Dt=tt(ue[lt]);if(ht!==Dt){Ve=lt,We=We||ht!==tt(ue[lt+1]);break}}return Ve===null?null:{index:Ve,multiple:We}}function tn(le,ne,te){var ae=Be.useState(le),de=(0,we.Z)(ae,2),re=de[0],ue=de[1],xe=Be.useState(null),tt=(0,we.Z)(xe,2),Ve=tt[0],We=tt[1];return Be.useEffect(function(){var lt=Ct(re||[],le||[],ne);(lt==null?void 0:lt.index)!==void 0&&(te==null||te(lt.index),We(le[lt.index])),ue(le)},[le]),[Ve]}var se=z(16089),Ie=(typeof navigator=="undefined"?"undefined":(0,Me.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),dt=Ie,yt=function(le,ne,te,ae){var de=(0,Be.useRef)(!1),re=(0,Be.useRef)(null);function ue(){clearTimeout(re.current),de.current=!0,re.current=setTimeout(function(){de.current=!1},50)}var xe=(0,Be.useRef)({top:le,bottom:ne,left:te,right:ae});return xe.current.top=le,xe.current.bottom=ne,xe.current.left=te,xe.current.right=ae,function(tt,Ve){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=tt?Ve<0&&xe.current.left||Ve>0&&xe.current.right:Ve<0&&xe.current.top||Ve>0&&xe.current.bottom;return We&<?(clearTimeout(re.current),de.current=!1):(!lt||de.current)&&ue(),!de.current&<}};function kt(le,ne,te,ae,de,re,ue){var xe=(0,Be.useRef)(0),tt=(0,Be.useRef)(null),Ve=(0,Be.useRef)(null),We=(0,Be.useRef)(!1),lt=yt(ne,te,ae,de);function ht(vn,Bt){if(se.Z.cancel(tt.current),!lt(!1,Bt)){var at=vn;if(!at._virtualHandled)at._virtualHandled=!0;else return;xe.current+=Bt,Ve.current=Bt,dt||at.preventDefault(),tt.current=(0,se.Z)(function(){var pt=We.current?10:1;ue(xe.current*pt,!1),xe.current=0})}}function Dt(vn,Bt){ue(Bt,!0),dt||vn.preventDefault()}var Oe=(0,Be.useRef)(null),ze=(0,Be.useRef)(null);function on(vn){if(le){se.Z.cancel(ze.current),ze.current=(0,se.Z)(function(){Oe.current=null},2);var Bt=vn.deltaX,at=vn.deltaY,pt=vn.shiftKey,Gt=Bt,Je=at;(Oe.current==="sx"||!Oe.current&&pt&&at&&!Bt)&&(Gt=at,Je=0,Oe.current="sx");var At=Math.abs(Gt),Jt=Math.abs(Je);Oe.current===null&&(Oe.current=re&&At>Jt?"x":"y"),Oe.current==="y"?ht(vn,Je):Dt(vn,Gt)}}function Rt(vn){le&&(We.current=vn.detail===Ve.current)}return[on,Rt]}function Ue(le,ne,te,ae){var de=Be.useMemo(function(){return[new Map,[]]},[le,te.id,ae]),re=(0,we.Z)(de,2),ue=re[0],xe=re[1],tt=function(We){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We,ht=ue.get(We),Dt=ue.get(lt);if(ht===void 0||Dt===void 0)for(var Oe=le.length,ze=xe.length;ze<Oe;ze+=1){var on,Rt=le[ze],vn=ne(Rt);ue.set(vn,ze);var Bt=(on=te.get(vn))!==null&&on!==void 0?on:ae;if(xe[ze]=(xe[ze-1]||0)+Bt,vn===We&&(ht=ze),vn===lt&&(Dt=ze),ht!==void 0&&Dt!==void 0)break}return{top:xe[ht-1]||0,bottom:xe[Dt]}};return tt}var Ke=z(38705),ct=z(17212),De=function(){function le(){(0,Ke.Z)(this,le),(0,_e.Z)(this,"maps",void 0),(0,_e.Z)(this,"id",0),(0,_e.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ct.Z)(le,[{key:"set",value:function(te,ae){this.diffRecords.set(te,this.maps[te]),this.maps[te]=ae,this.id+=1}},{key:"get",value:function(te){return this.maps[te]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),le}(),gt=De;function Ye(le){var ne=parseFloat(le);return isNaN(ne)?0:ne}function fe(le,ne,te){var ae=Be.useState(0),de=(0,we.Z)(ae,2),re=de[0],ue=de[1],xe=(0,Be.useRef)(new Map),tt=(0,Be.useRef)(new gt),Ve=(0,Be.useRef)(0);function We(){Ve.current+=1}function lt(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;We();var Oe=function(){var Rt=!1;xe.current.forEach(function(vn,Bt){if(vn&&vn.offsetParent){var at=vn.offsetHeight,pt=getComputedStyle(vn),Gt=pt.marginTop,Je=pt.marginBottom,At=Ye(Gt),Jt=Ye(Je),an=at+At+Jt;tt.current.get(Bt)!==an&&(tt.current.set(Bt,an),Rt=!0)}}),Rt&&ue(function(vn){return vn+1})};if(Dt)Oe();else{Ve.current+=1;var ze=Ve.current;Promise.resolve().then(function(){ze===Ve.current&&Oe()})}}function ht(Dt,Oe){var ze=le(Dt),on=xe.current.get(ze);Oe?(xe.current.set(ze,Oe),lt()):xe.current.delete(ze),!on!=!Oe&&(Oe?ne==null||ne(Dt):te==null||te(Dt))}return(0,Be.useEffect)(function(){return We},[]),[ht,lt,tt.current,re]}var Ft=14/15;function Ge(le,ne,te){var ae=(0,Be.useRef)(!1),de=(0,Be.useRef)(0),re=(0,Be.useRef)(0),ue=(0,Be.useRef)(null),xe=(0,Be.useRef)(null),tt,Ve=function(Dt){if(ae.current){var Oe=Math.ceil(Dt.touches[0].pageX),ze=Math.ceil(Dt.touches[0].pageY),on=de.current-Oe,Rt=re.current-ze,vn=Math.abs(on)>Math.abs(Rt);vn?de.current=Oe:re.current=ze;var Bt=te(vn,vn?on:Rt,!1,Dt);Bt&&Dt.preventDefault(),clearInterval(xe.current),Bt&&(xe.current=setInterval(function(){vn?on*=Ft:Rt*=Ft;var at=Math.floor(vn?on:Rt);(!te(vn,at,!0)||Math.abs(at)<=.1)&&clearInterval(xe.current)},16))}},We=function(){ae.current=!1,tt()},lt=function(Dt){tt(),Dt.touches.length===1&&!ae.current&&(ae.current=!0,de.current=Math.ceil(Dt.touches[0].pageX),re.current=Math.ceil(Dt.touches[0].pageY),ue.current=Dt.target,ue.current.addEventListener("touchmove",Ve,{passive:!1}),ue.current.addEventListener("touchend",We,{passive:!0}))};tt=function(){ue.current&&(ue.current.removeEventListener("touchmove",Ve),ue.current.removeEventListener("touchend",We))},(0,ut.Z)(function(){return le&&ne.current.addEventListener("touchstart",lt,{passive:!0}),function(){var ht;(ht=ne.current)===null||ht===void 0||ht.removeEventListener("touchstart",lt),tt(),clearInterval(xe.current)}},[le])}function xt(le){return Math.floor(Math.pow(le,.5))}function fn(le,ne){var te="touches"in le?le.touches[0]:le;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function ke(le,ne,te){Be.useEffect(function(){var ae=ne.current;if(le&&ae){var de=!1,re,ue,xe=function(){se.Z.cancel(re)},tt=function ht(){xe(),re=(0,se.Z)(function(){te(ue),ht()})},Ve=function(){de=!1,xe()},We=function(Dt){if(!(Dt.target.draggable||Dt.button!==0)){var Oe=Dt;Oe._virtualHandled||(Oe._virtualHandled=!0,de=!0)}},lt=function(Dt){if(de){var Oe=fn(Dt,!1),ze=ae.getBoundingClientRect(),on=ze.top,Rt=ze.bottom;if(Oe<=on){var vn=on-Oe;ue=-xt(vn),tt()}else if(Oe>=Rt){var Bt=Oe-Rt;ue=xt(Bt),tt()}else xe()}};return ae.addEventListener("mousedown",We),ae.ownerDocument.addEventListener("mouseup",Ve),ae.ownerDocument.addEventListener("mousemove",lt),ae.ownerDocument.addEventListener("dragend",Ve),function(){ae.removeEventListener("mousedown",We),ae.ownerDocument.removeEventListener("mouseup",Ve),ae.ownerDocument.removeEventListener("mousemove",lt),ae.ownerDocument.removeEventListener("dragend",Ve),xe()}}},[le])}var be=10;function Yt(le,ne,te,ae,de,re,ue,xe){var tt=Be.useRef(),Ve=Be.useState(null),We=(0,we.Z)(Ve,2),lt=We[0],ht=We[1];return(0,ut.Z)(function(){if(lt&<.times<be){if(!le.current){ht(function(Bn){return(0,pe.Z)({},Bn)});return}re();var Dt=lt.targetAlign,Oe=lt.originAlign,ze=lt.index,on=lt.offset,Rt=le.current.clientHeight,vn=!1,Bt=Dt,at=null;if(Rt){for(var pt=Dt||Oe,Gt=0,Je=0,At=0,Jt=Math.min(ne.length-1,ze),an=0;an<=Jt;an+=1){var Le=de(ne[an]);Je=Gt;var Et=te.get(Le);At=Je+(Et===void 0?ae:Et),Gt=At}for(var zt=pt==="top"?on:Rt-on,rn=Jt;rn>=0;rn-=1){var yn=de(ne[rn]),Nn=te.get(yn);if(Nn===void 0){vn=!0;break}if(zt-=Nn,zt<=0)break}switch(pt){case"top":at=Je-on;break;case"bottom":at=At-Rt+on;break;default:{var Vn=le.current.scrollTop,Xn=Vn+Rt;Je<Vn?Bt="top":At>Xn&&(Bt="bottom")}}at!==null&&ue(at),at!==lt.lastTop&&(vn=!0)}vn&&ht((0,pe.Z)((0,pe.Z)({},lt),{},{times:lt.times+1,targetAlign:Bt,lastTop:at}))}},[lt,le.current]),function(Dt){if(Dt==null){xe();return}if(se.Z.cancel(tt.current),typeof Dt=="number")ue(Dt);else if(Dt&&(0,Me.Z)(Dt)==="object"){var Oe,ze=Dt.align;"index"in Dt?Oe=Dt.index:Oe=ne.findIndex(function(vn){return de(vn)===Dt.key});var on=Dt.offset,Rt=on===void 0?0:on;ht({times:0,index:Oe,offset:Rt,originAlign:ze})}}}var ln=Be.forwardRef(function(le,ne){var te=le.prefixCls,ae=le.rtl,de=le.scrollOffset,re=le.scrollRange,ue=le.onStartMove,xe=le.onStopMove,tt=le.onScroll,Ve=le.horizontal,We=le.spinSize,lt=le.containerSize,ht=le.style,Dt=le.thumbStyle,Oe=le.showScrollBar,ze=Be.useState(!1),on=(0,we.Z)(ze,2),Rt=on[0],vn=on[1],Bt=Be.useState(null),at=(0,we.Z)(Bt,2),pt=at[0],Gt=at[1],Je=Be.useState(null),At=(0,we.Z)(Je,2),Jt=At[0],an=At[1],Le=!ae,Et=Be.useRef(),zt=Be.useRef(),rn=Be.useState(Oe),yn=(0,we.Z)(rn,2),Nn=yn[0],Vn=yn[1],Xn=Be.useRef(),Bn=function(){Oe===!0||Oe===!1||(clearTimeout(Xn.current),Vn(!0),Xn.current=setTimeout(function(){Vn(!1)},3e3))},jn=re-lt||0,wt=lt-We||0,mt=Be.useMemo(function(){if(de===0||jn===0)return 0;var Dn=de/jn;return Dn*wt},[de,jn,wt]),qt=function(ir){ir.stopPropagation(),ir.preventDefault()},jt=Be.useRef({top:mt,dragging:Rt,pageY:pt,startTop:Jt});jt.current={top:mt,dragging:Rt,pageY:pt,startTop:Jt};var Ot=function(ir){vn(!0),Gt(fn(ir,Ve)),an(jt.current.top),ue(),ir.stopPropagation(),ir.preventDefault()};Be.useEffect(function(){var Dn=function(Dr){Dr.preventDefault()},ir=Et.current,Fn=zt.current;return ir.addEventListener("touchstart",Dn,{passive:!1}),Fn.addEventListener("touchstart",Ot,{passive:!1}),function(){ir.removeEventListener("touchstart",Dn),Fn.removeEventListener("touchstart",Ot)}},[]);var bn=Be.useRef();bn.current=jn;var pn=Be.useRef();pn.current=wt,Be.useEffect(function(){if(Rt){var Dn,ir=function(Dr){var xn=jt.current,kn=xn.dragging,nr=xn.pageY,rr=xn.startTop;se.Z.cancel(Dn);var Pt=Et.current.getBoundingClientRect(),Ut=lt/(Ve?Pt.width:Pt.height);if(kn){var nt=(fn(Dr,Ve)-nr)*Ut,et=rr;!Le&&Ve?et-=nt:et+=nt;var Qe=bn.current,Mt=pn.current,Ne=Mt?et/Mt:0,Kt=Math.ceil(Ne*Qe);Kt=Math.max(Kt,0),Kt=Math.min(Kt,Qe),Dn=(0,se.Z)(function(){tt(Kt,Ve)})}},Fn=function(){vn(!1),xe()};return window.addEventListener("mousemove",ir,{passive:!0}),window.addEventListener("touchmove",ir,{passive:!0}),window.addEventListener("mouseup",Fn,{passive:!0}),window.addEventListener("touchend",Fn,{passive:!0}),function(){window.removeEventListener("mousemove",ir),window.removeEventListener("touchmove",ir),window.removeEventListener("mouseup",Fn),window.removeEventListener("touchend",Fn),se.Z.cancel(Dn)}}},[Rt]),Be.useEffect(function(){return Bn(),function(){clearTimeout(Xn.current)}},[de]),Be.useImperativeHandle(ne,function(){return{delayHidden:Bn}});var On="".concat(te,"-scrollbar"),Qn={position:"absolute",visibility:Nn?null:"hidden"},Hn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Ve?(Object.assign(Qn,{height:8,left:0,right:0,bottom:0}),Object.assign(Hn,(0,_e.Z)({height:"100%",width:We},Le?"left":"right",mt))):(Object.assign(Qn,(0,_e.Z)({width:8,top:0,bottom:0},Le?"right":"left",0)),Object.assign(Hn,{width:"100%",height:We,top:mt})),Be.createElement("div",{ref:Et,className:Xe()(On,(0,_e.Z)((0,_e.Z)((0,_e.Z)({},"".concat(On,"-horizontal"),Ve),"".concat(On,"-vertical"),!Ve),"".concat(On,"-visible"),Nn)),style:(0,pe.Z)((0,pe.Z)({},Qn),ht),onMouseDown:qt,onMouseMove:Bn},Be.createElement("div",{ref:zt,className:Xe()("".concat(On,"-thumb"),(0,_e.Z)({},"".concat(On,"-thumb-moving"),Rt)),style:(0,pe.Z)((0,pe.Z)({},Hn),Dt),onMouseDown:Ot}))}),Xt=ln,ge=20;function Re(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=le/ne*le;return isNaN(te)&&(te=0),te=Math.max(te,ge),Math.floor(te)}var qe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Vt=[],rt={overflowY:"auto",overflowAnchor:"none"};function Zt(le,ne){var te=le.prefixCls,ae=te===void 0?"rc-virtual-list":te,de=le.className,re=le.height,ue=le.itemHeight,xe=le.fullHeight,tt=xe===void 0?!0:xe,Ve=le.style,We=le.data,lt=le.children,ht=le.itemKey,Dt=le.virtual,Oe=le.direction,ze=le.scrollWidth,on=le.component,Rt=on===void 0?"div":on,vn=le.onScroll,Bt=le.onVirtualScroll,at=le.onVisibleChange,pt=le.innerProps,Gt=le.extraRender,Je=le.styles,At=le.showScrollBar,Jt=At===void 0?"optional":At,an=(0,Se.Z)(le,qe),Le=Be.useCallback(function(Un){return typeof ht=="function"?ht(Un):Un==null?void 0:Un[ht]},[ht]),Et=fe(Le,null,null),zt=(0,we.Z)(Et,4),rn=zt[0],yn=zt[1],Nn=zt[2],Vn=zt[3],Xn=!!(Dt!==!1&&re&&ue),Bn=Be.useMemo(function(){return Object.values(Nn.maps).reduce(function(Un,lr){return Un+lr},0)},[Nn.id,Nn.maps]),jn=Xn&&We&&(Math.max(ue*We.length,Bn)>re||!!ze),wt=Oe==="rtl",mt=Xe()(ae,(0,_e.Z)({},"".concat(ae,"-rtl"),wt),de),qt=We||Vt,jt=(0,Be.useRef)(),Ot=(0,Be.useRef)(),bn=(0,Be.useRef)(),pn=(0,Be.useState)(0),On=(0,we.Z)(pn,2),Qn=On[0],Hn=On[1],Dn=(0,Be.useState)(0),ir=(0,we.Z)(Dn,2),Fn=ir[0],pr=ir[1],Dr=(0,Be.useState)(!1),xn=(0,we.Z)(Dr,2),kn=xn[0],nr=xn[1],rr=function(){nr(!0)},Pt=function(){nr(!1)},Ut={getKey:Le};function nt(Un){Hn(function(lr){var cr;typeof Un=="function"?cr=Un(lr):cr=Un;var qn=ni(cr);return jt.current.scrollTop=qn,qn})}var et=(0,Be.useRef)({start:0,end:qt.length}),Qe=(0,Be.useRef)(),Mt=tn(qt,Le),Ne=(0,we.Z)(Mt,1),Kt=Ne[0];Qe.current=Kt;var Qt=Be.useMemo(function(){if(!Xn)return{scrollHeight:void 0,start:0,end:qt.length-1,offset:void 0};if(!jn){var Un;return{scrollHeight:((Un=Ot.current)===null||Un===void 0?void 0:Un.offsetHeight)||0,start:0,end:qt.length-1,offset:void 0}}for(var lr=0,cr,qn,Hr,qr=qt.length,or=0;or<qr;or+=1){var Jn=qt[or],xr=Le(Jn),Zr=Nn.get(xr),ji=lr+(Zr===void 0?ue:Zr);ji>=Qn&&cr===void 0&&(cr=or,qn=lr),ji>Qn+re&&Hr===void 0&&(Hr=or),lr=ji}return cr===void 0&&(cr=0,qn=0,Hr=Math.ceil(re/ue)),Hr===void 0&&(Hr=qt.length-1),Hr=Math.min(Hr+1,qt.length-1),{scrollHeight:lr,start:cr,end:Hr,offset:qn}},[jn,Xn,Qn,qt,Vn,re]),un=Qt.scrollHeight,Tt=Qt.start,Lt=Qt.end,Wt=Qt.offset;et.current.start=Tt,et.current.end=Lt,Be.useLayoutEffect(function(){var Un=Nn.getRecord();if(Un.size===1){var lr=Array.from(Un.keys())[0],cr=Un.get(lr),qn=qt[Tt];if(qn&&cr===void 0){var Hr=Le(qn);if(Hr===lr){var qr=Nn.get(lr),or=qr-ue;nt(function(Jn){return Jn+or})}}}Nn.resetRecord()},[un]);var nn=Be.useState({width:0,height:re}),Wn=(0,we.Z)(nn,2),Zn=Wn[0],Yn=Wn[1],Nr=function(lr){Yn({width:lr.offsetWidth,height:lr.offsetHeight})},zr=(0,Be.useRef)(),Qr=(0,Be.useRef)(),Fr=Be.useMemo(function(){return Re(Zn.width,ze)},[Zn.width,ze]),yr=Be.useMemo(function(){return Re(Zn.height,un)},[Zn.height,un]),Pr=un-re,Vr=(0,Be.useRef)(Pr);Vr.current=Pr;function ni(Un){var lr=Un;return Number.isNaN(Vr.current)||(lr=Math.min(lr,Vr.current)),lr=Math.max(lr,0),lr}var ri=Qn<=0,ai=Qn>=Pr,Br=Fn<=0,_r=Fn>=ze,$r=yt(ri,ai,Br,_r),Ri=function(){return{x:wt?-Fn:Fn,y:Qn}},Wi=(0,Be.useRef)(Ri()),Zi=(0,he.zX)(function(Un){if(Bt){var lr=(0,pe.Z)((0,pe.Z)({},Ri()),Un);(Wi.current.x!==lr.x||Wi.current.y!==lr.y)&&(Bt(lr),Wi.current=lr)}});function zi(Un,lr){var cr=Un;lr?((0,bt.flushSync)(function(){pr(cr)}),Zi()):nt(cr)}function _i(Un){var lr=Un.currentTarget.scrollTop;lr!==Qn&&nt(lr),vn==null||vn(Un),Zi()}var wi=function(lr){var cr=lr,qn=ze?ze-Zn.width:0;return cr=Math.max(cr,0),cr=Math.min(cr,qn),cr},Mi=(0,he.zX)(function(Un,lr){lr?((0,bt.flushSync)(function(){pr(function(cr){var qn=cr+(wt?-Un:Un);return wi(qn)})}),Zi()):nt(function(cr){var qn=cr+Un;return qn})}),fi=kt(Xn,ri,ai,Br,_r,!!ze,Mi),$i=(0,we.Z)(fi,2),oo=$i[0],Ro=$i[1];Ge(Xn,jt,function(Un,lr,cr,qn){var Hr=qn;return $r(Un,lr,cr)?!1:!Hr||!Hr._virtualHandled?(Hr&&(Hr._virtualHandled=!0),oo({preventDefault:function(){},deltaX:Un?lr:0,deltaY:Un?0:lr}),!0):!1}),ke(jn,jt,function(Un){nt(function(lr){return lr+Un})}),(0,ut.Z)(function(){function Un(cr){var qn=ri&&cr.detail<0,Hr=ai&&cr.detail>0;Xn&&!qn&&!Hr&&cr.preventDefault()}var lr=jt.current;return lr.addEventListener("wheel",oo,{passive:!1}),lr.addEventListener("DOMMouseScroll",Ro,{passive:!0}),lr.addEventListener("MozMousePixelScroll",Un,{passive:!1}),function(){lr.removeEventListener("wheel",oo),lr.removeEventListener("DOMMouseScroll",Ro),lr.removeEventListener("MozMousePixelScroll",Un)}},[Xn,ri,ai]),(0,ut.Z)(function(){if(ze){var Un=wi(Fn);pr(Un),Zi({x:Un})}},[Zn.width,ze]);var fo=function(){var lr,cr;(lr=zr.current)===null||lr===void 0||lr.delayHidden(),(cr=Qr.current)===null||cr===void 0||cr.delayHidden()},bo=Yt(jt,qt,Nn,ue,Le,function(){return yn(!0)},nt,fo);Be.useImperativeHandle(ne,function(){return{nativeElement:bn.current,getScrollInfo:Ri,scrollTo:function(lr){function cr(qn){return qn&&(0,Me.Z)(qn)==="object"&&("left"in qn||"top"in qn)}cr(lr)?(lr.left!==void 0&&pr(wi(lr.left)),bo(lr.top)):bo(lr)}}}),(0,ut.Z)(function(){if(at){var Un=qt.slice(Tt,Lt+1);at(Un,qt)}},[Tt,Lt,qt]);var co=Ue(qt,Le,Nn,ue),yo=Gt==null?void 0:Gt({start:Tt,end:Lt,virtual:jn,offsetX:Fn,offsetY:Wt,rtl:wt,getSize:co}),Bi=Te(qt,Tt,Lt,ze,Fn,rn,lt,Ut),Ai=null;re&&(Ai=(0,pe.Z)((0,_e.Z)({},tt?"height":"maxHeight",re),rt),Xn&&(Ai.overflowY="hidden",ze&&(Ai.overflowX="hidden"),kn&&(Ai.pointerEvents="none")));var Gr={};return wt&&(Gr.dir="rtl"),Be.createElement("div",(0,b.Z)({ref:bn,style:(0,pe.Z)((0,pe.Z)({},Ve),{},{position:"relative"}),className:mt},Gr,an),Be.createElement(Ee.Z,{onResize:Nr},Be.createElement(Rt,{className:"".concat(ae,"-holder"),style:Ai,ref:jt,onScroll:_i,onMouseEnter:fo},Be.createElement(He,{prefixCls:ae,height:un,offsetX:Fn,offsetY:Wt,scrollWidth:ze,onInnerResize:yn,ref:Ot,innerProps:pt,rtl:wt,extra:yo},Bi))),jn&&un>re&&Be.createElement(Xt,{ref:zr,prefixCls:ae,scrollOffset:Qn,scrollRange:un,rtl:wt,onScroll:zi,onStartMove:rr,onStopMove:Pt,spinSize:yr,containerSize:Zn.height,style:Je==null?void 0:Je.verticalScrollBar,thumbStyle:Je==null?void 0:Je.verticalScrollBarThumb,showScrollBar:Jt}),jn&&ze>Zn.width&&Be.createElement(Xt,{ref:Qr,prefixCls:ae,scrollOffset:Fn,scrollRange:ze,rtl:wt,onScroll:zi,onStartMove:rr,onStopMove:Pt,spinSize:Fr,containerSize:Zn.width,horizontal:!0,style:Je==null?void 0:Je.horizontalScrollBar,thumbStyle:Je==null?void 0:Je.horizontalScrollBarThumb,showScrollBar:Jt}))}var st=Be.forwardRef(Zt);st.displayName="List";var $t=st,Nt=$t},25510:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAn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1vt2223Mq+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/8vp38s1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Ay2X7YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},4977:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1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Cb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(Tn,cn,z){"use strict";z.d(cn,{Z:function(){return Xe}});const b=Ee=>typeof Ee=="object"&&Ee!=null&&Ee.nodeType===1,Me=(Ee,he)=>(!he||Ee!=="hidden")&&Ee!=="visible"&&Ee!=="clip",pe=(Ee,he)=>{if(Ee.clientHeight<Ee.scrollHeight||Ee.clientWidth<Ee.scrollWidth){const ut=getComputedStyle(Ee,null);return Me(ut.overflowY,he)||Me(ut.overflowX,he)||(Be=>{const bt=(it=>{if(!it.ownerDocument||!it.ownerDocument.defaultView)return null;try{return it.ownerDocument.defaultView.frameElement}catch(He){return null}})(Be);return!!bt&&(bt.clientHeight<Be.scrollHeight||bt.clientWidth<Be.scrollWidth)})(Ee)}return!1},_e=(Ee,he,ut,Be,bt,it,He,Fe)=>it<Ee&&He>he||it>Ee&&He<he?0:it<=Ee&&Fe<=ut||He>=he&&Fe>=ut?it-Ee-Be:He>he&&Fe<ut||it<Ee&&Fe>ut?He-he+bt:0,we=Ee=>{const he=Ee.parentElement;return he==null?Ee.getRootNode().host||null:he},Se=(Ee,he)=>{var ut,Be,bt,it;if(typeof document=="undefined")return[];const{scrollMode:He,block:Fe,inline:Te,boundary:ot,skipOverflowHiddenElements:Ct}=he,tn=typeof ot=="function"?ot:Xt=>Xt!==ot;if(!b(Ee))throw new TypeError("Invalid target");const se=document.scrollingElement||document.documentElement,Ie=[];let dt=Ee;for(;b(dt)&&tn(dt);){if(dt=we(dt),dt===se){Ie.push(dt);break}dt!=null&&dt===document.body&&pe(dt)&&!pe(document.documentElement)||dt!=null&&pe(dt,Ct)&&Ie.push(dt)}const yt=(Be=(ut=window.visualViewport)==null?void 0:ut.width)!=null?Be:innerWidth,kt=(it=(bt=window.visualViewport)==null?void 0:bt.height)!=null?it:innerHeight,{scrollX:Ue,scrollY:Ke}=window,{height:ct,width:De,top:gt,right:Ye,bottom:fe,left:Ft}=Ee.getBoundingClientRect(),{top:Ge,right:xt,bottom:fn,left:ke}=(Xt=>{const ge=window.getComputedStyle(Xt);return{top:parseFloat(ge.scrollMarginTop)||0,right:parseFloat(ge.scrollMarginRight)||0,bottom:parseFloat(ge.scrollMarginBottom)||0,left:parseFloat(ge.scrollMarginLeft)||0}})(Ee);let be=Fe==="start"||Fe==="nearest"?gt-Ge:Fe==="end"?fe+fn:gt+ct/2-Ge+fn,Yt=Te==="center"?Ft+De/2-ke+xt:Te==="end"?Ye+xt:Ft-ke;const ln=[];for(let Xt=0;Xt<Ie.length;Xt++){const ge=Ie[Xt],{height:Re,width:qe,top:Vt,right:rt,bottom:Zt,left:st}=ge.getBoundingClientRect();if(He==="if-needed"&>>=0&&Ft>=0&&fe<=kt&&Ye<=yt&&(ge===se&&!pe(ge)||gt>=Vt&&fe<=Zt&&Ft>=st&&Ye<=rt))return ln;const $t=getComputedStyle(ge),Nt=parseInt($t.borderLeftWidth,10),le=parseInt($t.borderTopWidth,10),ne=parseInt($t.borderRightWidth,10),te=parseInt($t.borderBottomWidth,10);let ae=0,de=0;const re="offsetWidth"in ge?ge.offsetWidth-ge.clientWidth-Nt-ne:0,ue="offsetHeight"in ge?ge.offsetHeight-ge.clientHeight-le-te:0,xe="offsetWidth"in ge?ge.offsetWidth===0?0:qe/ge.offsetWidth:0,tt="offsetHeight"in ge?ge.offsetHeight===0?0:Re/ge.offsetHeight:0;if(se===ge)ae=Fe==="start"?be:Fe==="end"?be-kt:Fe==="nearest"?_e(Ke,Ke+kt,kt,le,te,Ke+be,Ke+be+ct,ct):be-kt/2,de=Te==="start"?Yt:Te==="center"?Yt-yt/2:Te==="end"?Yt-yt:_e(Ue,Ue+yt,yt,Nt,ne,Ue+Yt,Ue+Yt+De,De),ae=Math.max(0,ae+Ke),de=Math.max(0,de+Ue);else{ae=Fe==="start"?be-Vt-le:Fe==="end"?be-Zt+te+ue:Fe==="nearest"?_e(Vt,Zt,Re,le,te+ue,be,be+ct,ct):be-(Vt+Re/2)+ue/2,de=Te==="start"?Yt-st-Nt:Te==="center"?Yt-(st+qe/2)+re/2:Te==="end"?Yt-rt+ne+re:_e(st,rt,qe,Nt,ne+re,Yt,Yt+De,De);const{scrollLeft:Ve,scrollTop:We}=ge;ae=tt===0?0:Math.max(0,Math.min(We+ae/tt,ge.scrollHeight-Re/tt+ue)),de=xe===0?0:Math.max(0,Math.min(Ve+de/xe,ge.scrollWidth-qe/xe+re)),be+=We-ae,Yt+=Ve-de}ln.push({el:ge,top:ae,left:de})}return ln},Pe=Ee=>Ee===!1?{block:"end",inline:"nearest"}:(he=>he===Object(he)&&Object.keys(he).length!==0)(Ee)?Ee:{block:"start",inline:"nearest"};function Xe(Ee,he){if(!Ee.isConnected||!(bt=>{let it=bt;for(;it&&it.parentNode;){if(it.parentNode===document)return!0;it=it.parentNode instanceof ShadowRoot?it.parentNode.host:it.parentNode}return!1})(Ee))return;const ut=(bt=>{const it=window.getComputedStyle(bt);return{top:parseFloat(it.scrollMarginTop)||0,right:parseFloat(it.scrollMarginRight)||0,bottom:parseFloat(it.scrollMarginBottom)||0,left:parseFloat(it.scrollMarginLeft)||0}})(Ee);if((bt=>typeof bt=="object"&&typeof bt.behavior=="function")(he))return he.behavior(Se(Ee,he));const Be=typeof he=="boolean"||he==null?void 0:he.behavior;for(const{el:bt,top:it,left:He}of Se(Ee,Pe(he))){const Fe=it-ut.top+ut.bottom,Te=He-ut.left+ut.right;bt.scroll({top:Fe,left:Te,behavior:Be})}}}}]);
|