!(function(){var ic=Math.pow;var zc=(mn,en,ie)=>new Promise((ae,Oe)=>{var Re=Ee=>{try{ve(ie.next(Ee))}catch(ke){Oe(ke)}},Ze=Ee=>{try{ve(ie.throw(Ee))}catch(ke){Oe(ke)}},ve=Ee=>Ee.done?ae(Ee.value):Promise.resolve(Ee.value).then(Re,Ze);ve((ie=ie.apply(mn,en)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3081],{18299:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},84249:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},42922:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},90674:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},25877:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},55304:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},63237:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},99569:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},22751:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},38308:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},17663:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},91034:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},72395:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},53978:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(mn,en){"use strict";en.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39886:function(mn,en){"use strict";en.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"}},61016: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 mn={},en="5.0",ie={},ae=null,Oe=!1,Re=!1,Ze=null,ve=!1,Ee=null,ke=null,ye=0;ye4?parseFloat(rt):5};mn.setHTML5Codebase=function(rt,ft){ke=rt,wt(rt,ft)},mn.setJavaCodebase=mn.setJavaCodebaseVersion=mn.isCompiledInstalled=mn.setPreCompiledScriptPath=mn.setPreCompiledResourcePath=function(){},mn.setHTML5CodebaseVersion=function(rt,ft){var Wt=parseFloat(rt);if(Wt!==NaN&&Wt<5){console.log("The GeoGebra HTML5 codebase version "+Wt+" is deprecated. Using version latest instead.");return}Ee=rt,Ce(rt,ft)},mn.getHTML5CodebaseVersion=function(){return ot},mn.getParameters=function(){return ie},mn.setFontsCSSURL=function(rt){at=rt},mn.setGiacJSURL=function(rt){},mn.setJNLPFile=function(rt){Le=rt},mn.setJNLPBaseDir=function(rt){},mn.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ft="auto",Wt=ie.id,qt,Xt=!1,Ht=0;Ht=5)return!0;var rt=mn.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},mn.startAnimation=function(){var rt=mn.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},mn.stopAnimation=function(){var rt=mn.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},mn.getAppletObject=function(){var rt=ie.id!==void 0?ie.id:"ggbApplet";return window[rt]},mn.resize=function(){};var Ye=function(rt,ft,Wt){var qt=document.createElement("param");qt.setAttribute("name",ft),qt.setAttribute("value",Wt),rt.appendChild(qt)},We=function(rt){return rt&&rt!=="false"},St=function(rt,ft,Wt){we(ot)<=4.2&&(Wt=!0);var qt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ot||ggbHTML5LoadedCodebaseIsWebSimple&&!nt)&&(qt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xt=document.createElement("div");Xt.classList.add("appletParameters","notranslate");var Ht=ft.width,un=ft.height;if(ft.disableAutoScale=ft.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ft.disableAutoScale,ft.width!==void 0)if(we(ot)<=4.4)We(ft.showToolBar)&&(ft.height-=7),We(ft.showAlgebraInput)&&(ft.height-=37),ft.width<605&&We(ft.showToolBar)&&(ft.width=605,Ht=605);else{var kn=100;(We(ft.showToolBar)||We(ft.showMenuBar))&&(ft.hasOwnProperty("customToolBar")&&(ft.customToolbar=ft.customToolBar),kn=We(ft.showMenuBar)?245:155),Ht=5?(ft.appletOnLoad=function($t){var gr=rt.querySelector(".ggb_preview");gr&&gr.parentNode.removeChild(gr),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ce),window.GGBT_wsf_view&&$(window).trigger("resize"),Fe($t)},ue||ce.appendChild(pe)):Xt.appendChild(pe),ce.appendChild(Xt),ue||rt.appendChild(ce),setTimeout(function(){mn.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(Xt),rt.appendChild(de),ft.appletOnLoad=function($t){mn.resize(),Fe($t)}}function le($t,gr){gr&&typeof gr.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($t,gr.appletOnLoad):renderGGBElement($t),An("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gr)}function De($t,gr){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$t,params:gr}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kr){le(kr.article,kr.params)}),html5AppletsToProcess=null)},we(ot)<5&&($t.className+=" geogebraweb")):le($t,gr)}if(qt){scriptLoadStarted=!0;for(var Ke=0;Ke0?(yn.remove(),ce.attr("id","fullscreencontent").show(),jQuery(Fe).append(ce),window.dispatchEvent(new Event("resize"))):St(yn,ft,!1),window.GGBT_wsf_view.launchFullScreen(Fe)}else Xe=qt,St(rt,ft,!1);if(!window.GGBT_wsf_view)for(un=0;unrt/4*3&&(yn=rt/4*3),Fe=yn/5.8,kn.setAttribute("src",ut),kn.setAttribute("width",yn),kn.setAttribute("height",Fe);var ce=(rt-yn)/2,ue=(ft-Fe)/2;kn.style.left=ce+"px",kn.style.top=ue+"px",Xt.appendChild(kn)}}return Xt.appendChild(un),Xt},tr=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ce=function(rt,ft){if(ot=rt,ft){wt(ot,!0);return}var Wt=!Oe;if(Wt){var qt=we(ot);!isNaN(qt)&&qt<4.4&&(Wt=!1)}var Xt,Ht;window.location.protocol.substr(0,4)==="http"?Xt=window.location.protocol:Xt="http:";var un=ot.indexOf("//");un>0?Ht=ot:un===0?Ht=Xt+ot:Ht="https://www.geogebra.org/apps/5.2.814.0/";for(var kn in it)if(ot.slice(it[kn].length*-1)===it[kn]||ot.slice((it[kn].length+1)*-1)===it[kn]+"/"){wt(Ht,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Wt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!We(ie.showToolBar)&&!We(ie.showMenuBar)&&!We(ie.showAlgebraInput)&&!We(ie.enableRightClick)&&(!ie.appName||ie.appName=="classic")?Ht+="webSimple/":Ht+="web3d/",wt(Ht,!1)},wt=function(rt,ft){if(rt.requirejs){mt=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),mt=rt,ft===null&&(ft=rt.indexOf("http")===-1),Ie=ft,dt="web.nocache.js",nt=!1;var Wt=mt.split("/");Wt.length>1&&(!ft&&Wt[Wt.length-2]==="webSimple"?(dt="webSimple.nocache.js",nt=!0):it.indexOf(Wt[Wt.length-2])>=0&&(dt=Wt[Wt.length-2]+".nocache.js")),Wt=rt.split("/"),ot=Wt[Wt.length-3],ot.substr(0,4)==="test"?ot=ot.substr(4,1)+"."+ot.substr(5,1):(ot.substr(0,3)==="war"||ot.substr(0,4)==="beta")&&(ot="5.0");var qt=parseFloat(ot);qt!==NaN&&qt<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead."),Ce("5.0",ft))},An=function(rt,ft){window.console&&window.console.log&&(!ft||typeof ft.showLogging=="undefined"||ft.showLogging&&ft.showLogging!=="false")&&console.log(rt)};ie.material_id!==void 0?Ve(Tt):Tt();function Tt(){var rt=en;Ee!==null?rt=Ee:parseFloat(rt)<5&&(rt="5.0"),Ce(rt,!1),ke!==null&&wt(ke,Ie),ve=!0}return mn},GGBAppletUtils=function(){"use strict";function mn(){return window.GGBT_wsf_edit!==void 0}function en(ve,Ee){Ee!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+Ee+","+Ee+")",ve.style.webkitTransform="scale("+Ee+","+Ee+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function ie(ve,Ee,ke,ye,me,Le){var mt=null;if(Le!=null&&Le!="")for(var Ie=ve.parentNode;Ie!=null;)if((" "+Ie.className+" ").indexOf(" "+Le+" ")>-1){mt=Ie;break}else Ie=Ie.parentNode;var Xe=0,ot=0,dt=0,nt=0,Me=0,ut=0,Ut=0;if(mt)Xe=mt.offsetWidth,ot=Math.max(ye?mt.offsetWidth:0,mt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),ot=Math.min(window.innerHeight,document.documentElement.clientHeight),dt=Xe):(Xe=window.innerWidth,ot=window.innerHeight,dt=window.innerWidth),ve){var at=ve.getBoundingClientRect();at.left>0&&at.left<=Xe&&(me===void 0||!me)&&(document.dir==="rtl"?(Me=Xe-at.width-at.left,ut=dt<=480?10:30):(ut=at.left,Me=dt<=480?10:30),nt=ut+Me)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ht=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(nt=40,Ut=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(nt=0,Ut=40)}}return ve&&((ke===void 0||!ke)&&Ee>0&&Ee+nt1&&(Le=!0)),Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))me=ae(ve,Ee,Le,ke,ve.scaleContainerClass);else return ye;return Le&&(!ve.hasOwnProperty("scale")||ye===1)?me:Math.min(ye,me)}function Re(ve){var Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ke=Math.min(window.innerHeight,document.documentElement.clientHeight),ye=ve.getBoundingClientRect(),me=(Ee-ye.width)/2,Le=(ke-ye.height)/2;Le<0&&(Le=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me<40?ve.style.left="40px":ve.style.left=me+"px",ve.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?ve.style.top="40px":ve.style.top=Le+"px",ve.style.left=me+"px")}function Ze(ve,Ee){var ke=ve.querySelector(".appletParameters");if(ke){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!==ke.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(ke.parentElement&&/fullscreen/.test(ke.parentElement.className))return;var ye=Oe(Ee,ve);mn()&&ke.setAttribute("data-param-scale",ye);for(var me=null,Le=0;Le=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(mn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(mn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(mn){var en=c[mn];return en==null?null:en},r=d,webModule.__errFn=e}function B(){function mn(ve){var Ee=ve.lastIndexOf(rb);Ee==-1&&(Ee=ve.length);var ke=ve.indexOf(sb);ke==-1&&(ke=ve.length);var ye=ve.lastIndexOf(tb,Math.min(ke,Ee));return ye>=O?ve.substring(O,ye+P):W}function en(ve){if(!ve.match(/^\w+:\/\//)){var Ee=o.createElement(ub);Ee.src=ve+vb,ve=mn(Ee.src)}return ve}function ie(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function ae(){for(var ve=o.getElementsByTagName(_),Ee=O;EeO?ve[ve.length-P].href:W}function Re(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var Ze=ie();return Ze==W&&(Ze=ae()),Ze==W&&(Ze=Oe()),Ze==W&&Re()&&(Ze=mn(o.location.href)),Ze=en(Ze),Ze}function C(mn){return mn.match(/^\//)||mn.match(/^[a-zA-Z]+:\/\//)?mn:webModule.__moduleBase+mn}function D(){var mn=[],en=O,ie=[],ae=[];function Oe(ve){var Ee=ae[ve](),ke=ie[ve];if(Ee in ke)return Ee;var ye=[];for(var me in ke)ye[ke[me]]=me;throw r&&r(ve,ye,Ee),null}if(__gwt_isKnownPropertyValue=function(ve,Ee){return Ee in ie[ve]},webModule.__getPropMap=function(){var ve={};for(var Ee in ie)ie.hasOwnProperty(Ee)&&(ve[Ee]=Oe(Ee));return ve},webModule.__computePropValue=Oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Re;try{Re=Cb;var Ze=Re.indexOf(Db);Ze!=-1&&(en=parseInt(Re.substring(Ze+P),$),Re=Re.substring(O,Ze))}catch(ve){}return webModule.__softPermutationId=en,C(Re+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},15476:function(mn,en,ie){"use strict";ie.d(en,{Ax:function(){return Ze},Ds:function(){return ve},KI:function(){return ke},SI:function(){return Re},f1:function(){return Oe}});var ae=ie(11320);function Oe(ye){let me=!0;if(ye.length>0){for(let Le=0;Lenew Promise((dt,nt)=>{var Me=at=>{try{Ut(ot.next(at))}catch(ht){nt(ht)}},ut=at=>{try{Ut(ot.throw(at))}catch(ht){nt(ht)}},Ut=at=>at.done?dt(at.value):Promise.resolve(at.value).then(Me,ut);Ut((ot=ot.apply(Ie,Xe)).next())}),mt=({data:Ie,className:Xe,fullWidth:ot,style:dt={},onClose:nt,onOk:Me,showFullTools:ut,noAssociationId:Ut})=>{const at=(0,ae.useRef)(null),ht=(0,ae.useRef)(null),we=(0,ae.useRef)(null),he=(0,ae.useRef)(null),[je,Ve]=(0,ae.useState)(!1),[Ge,qe]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{we.current||(we.current=document.createElement("style"),document.head.appendChild(we.current)),Ie!=null&&Ie.visible?(document.body.setAttribute("data-custom","y-hidden"),we.current.innerHTML=" html { overflow-y: hidden; }",Ie!=null&&Ie.src&&Ye()):(document.body.removeAttribute("data-custom"),we.current&&(document.head.removeChild(we.current),we.current=null))},[Ie==null?void 0:Ie.visible]);const Ye=()=>me(void 0,null,function*(){Ve(!0),qe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Dt=yield(0,ye.ZJ)(Ie==null?void 0:Ie.src);at.current.src="",at.current.src=Dt,at.current.onload=function(){zt()},Ve(!1),qe("")}),We=()=>{document.body.removeAttribute("data-custom"),we.current.innerHTML=" ",nt()},St=Dt=>me(void 0,null,function*(){Ve(!0),qe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const pn=yield(0,ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ie.title,file:Dt.dataUrl}});pn!=null&&pn.id&&!Ut?(yield(0,ke.ZP)(`/api/attachments/${Ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:pn==null?void 0:pn.id,settings:JSON.stringify(Dt.state)}})).status===0&&Me():pn!=null&&pn.id&&Me(pn),document.body.removeAttribute("data-custom"),we.current.innerHTML=" ",Ve(!1),qe("")}),lt=()=>{const Dt=document.querySelector('a[href="https://markerjs.com/"]');Dt&&Dt.parentNode&&(Dt.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(Kn=>{const tr=document.querySelector(Kn.name);tr&&tr.setAttribute("title",Kn.title)})},zt=()=>{ht.current=new Ee.hP(at.current),ht.current.targetRoot=he.current,ht.current.addEventListener("render",St),ht.current.addEventListener("beforeclose",We),ut&&(ht.current.availableMarkerTypes=ht.current.ALL_MARKER_TYPES,ht.current.uiStyleSettings.redoButtonVisible=!0,ht.current.uiStyleSettings.notesButtonVisible=!0,ht.current.uiStyleSettings.zoomButtonVisible=!0,ht.current.uiStyleSettings.zoomOutButtonVisible=!0,ht.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ht.current.uiStyleSettings,ht.current.show(),Ie!=null&&Ie.snapshotData&&ht.current.restoreState(Ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),lt()},300)};return ae.createElement(ae.Fragment,null,(Ie==null?void 0:Ie.visible)&&ae.createElement(ve.Z,{spinning:je,tip:Ge,style:{position:"absolute"}},ae.createElement("div",{ref:he,className:Ze()(Oe.imageDimensions,Xe,ot?Oe.fullWidth:""),style:dt},ae.createElement("img",{className:Oe.img,ref:at}))))}},36527:function(mn,en,ie){"use strict";var ae=ie(67294),Oe=ie(71230),Re=ie(15746),Ze=ie(66368),ve=ie(71577),Ee=ie(35598),ke=ie(71736),ye=ie(84279),me=ie(67294);const Le=(0,ae.forwardRef)(({callback:mt,showSaveButton:Ie,value:Xe=""},ot)=>{const dt=(0,ae.useRef)(),nt=[{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 "}]}]}],Me=[{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}`}]}]}],ut=ht=>{dt.current.setValue(dt.current.getValue()+" "+ht.value+" ")},Ut=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:me.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},nt.map((ht,we)=>me.createElement(Re.Z,{flex:"110px",className:ke.Z.item},me.createElement("div",null,me.createElement(Ee.Z,{value:`$$${ht.value}$$`}),ht.name),me.createElement("div",{className:ke.Z.children},ht.children.map((he,je)=>me.createElement("div",{key:je},me.createElement("h1",null,he.name),me.createElement(Oe.Z,{gutter:[10,10]},he.data.map((Ve,Ge)=>me.createElement(Re.Z,{key:Ge,onClick:()=>ut(Ve),className:ke.Z.diamond},me.createElement(Ee.Z,{value:"`$$"+Ve.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:me.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},Me.map((ht,we)=>me.createElement(Re.Z,{flex:"110px",className:ke.Z.item},me.createElement("div",null,me.createElement(Ee.Z,{value:"`$$"+ht.value+"$$`"}),ht.name),me.createElement("div",{className:ke.Z.children},ht.children.map((he,je)=>me.createElement("div",{key:je},he.name&&me.createElement("h1",null,he.name),me.createElement(Oe.Z,{gutter:[10,10]},he.data.map((Ve,Ge)=>me.createElement(Re.Z,{key:Ge,onClick:()=>ut(Ve),className:ke.Z.diamond},me.createElement(Ee.Z,{value:"`$$"+Ve.value+"$$`"}))))))))))}],at=()=>{var ht=document.createElement("div");ht.innerHTML=dt.current.getValue();var we=ht.innerText;return mt&&mt(we),we};return(0,ae.useImperativeHandle)(ot,()=>({getData:at})),me.createElement("div",{className:ke.Z.mathWrap},me.createElement(Ze.default,{defaultActiveKey:"1",items:Ut}),me.createElement("math-field",{locale:"zh_cn",className:ke.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:dt,style:{width:800,marginTop:30,fontSize:18}},Xe||""),Ie&&me.createElement("div",{className:ke.Z.button},me.createElement(ve.ZP,{size:"large",onClick:at,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});en.Z=Le},39717:function(mn,en,ie){"use strict";ie.d(en,{Q:function(){return Ee}});var ae=ie(67294),Oe=ie(11713),Re=ie(78045),Ze=ie(31795),ve=ie(67294),Ee=(ye=>(ye[ye.Number=1]="Number",ye[ye.Percent=2]="Percent",ye))(Ee||{});const ke=({value:ye,onChange:me,disabled:Le,hidePercentOption:mt=!1,percentType:Ie="select"})=>{const Xe=(0,ae.useMemo)(()=>mt?1:2,[mt]),[ot,dt]=(0,ae.useState)(Xe);console.log(ot);const nt=ut=>ye.type===1?`${ut}\u5206`:`${ut}%`,Me=(0,ae.useCallback)(ut=>{if(ot===1){const Ut=ut.replace("\u5206","");return isNaN(parseInt(Ut,10))?0:Ut}else return ut.replace("%","")},[ot]);return(0,ae.useEffect)(()=>{dt(ye.type)},[ye]),ve.createElement("div",{style:{display:"flex",alignItems:"center"}},Ie=="select"&&ve.createElement(Oe.default,{size:"large",onChange:ut=>{dt(ut),me({type:ut,inputValue:ut===1?5:20})},value:ot||Xe,style:{width:100},options:mt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Le}),Ie=="radio"&&ve.createElement(Re.ZP.Group,{size:"large",onChange:ut=>{const Ut=ut.target.value;dt(Ut),me({type:Ut,inputValue:Ut===1?5:20})},value:ot||Xe,disabled:Le},!mt&&ve.createElement(Re.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),ve.createElement(Re.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ie=="radio"&&ve.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ye.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),ve.createElement(Ze.Z,{size:"large",disabled:Le,value:ye.inputValue,style:{width:"120px"},parser:Me,addonAfter:ye.type===1?"\u5206":"%",max:ot===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ut=>{me({type:ot,inputValue:ut})}}),Ie=="radio"&&ye.type==2&&ve.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};en.Z=ke},96332:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(67294),Oe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Re=ie(14446),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ee=(me,Le,mt)=>new Promise((Ie,Xe)=>{var ot=Me=>{try{nt(mt.next(Me))}catch(ut){Xe(ut)}},dt=Me=>{try{nt(mt.throw(Me))}catch(ut){Xe(ut)}},nt=Me=>Me.done?Ie(Me.value):Promise.resolve(Me.value).then(ot,dt);nt((mt=mt.apply(me,Le)).next())}),ye=({type:me,resdata:Le,onok:mt,oktext:Ie,okloading:Xe})=>{const[ot,dt]=(0,ae.useState)(!1),{can_copy_list:nt,can_copy_num:Me,challenge_type:ut,course_data_list:Ut,no_copy_list:at,no_copy_num:ht,no_use_list:we,no_use_num:he,repeat_shixun_num:je,student_count:Ve,total_num:Ge,use_num:qe}=Le;let Ye=Me>0||me==="exercise";(0,ae.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&dt(!0)},[Le]),console.log("---11",Xe),(0,ae.useEffect)(()=>{Xe||dt(!1)},[Xe]);const We=()=>{if(me==="exercise"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.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(me==="exercise"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\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",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\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",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ae.createElement("span",{className:Oe.orangeColor},Ve)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ae.createElement("span",{className:Oe.orangeColor},qe)," \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",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="exercisepush")return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ae.createElement("span",{className:Oe.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(me==="shixunpush"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixunpush"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ae.createElement("span",{className:Oe.orangeColor},qe),"\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",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},St=()=>{if(me==="exercise"||me==="subject"||me==="exercisepush"||me==="shixunpush")return ae.createElement("div",{style:{marginTop:20}},ht>0&&ae.createElement("div",null,ae.createElement("span",{className:Oe.flex},ae.createElement("img",{src:ve,style:{width:14}}),ae.createElement("span",{className:Oe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Oe.statusbody},me==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.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"),(me==="subject"||me==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ye&&ae.createElement("span",{className:Oe.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"),me==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ye&&ae.createElement("span",{className:Oe.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"),ae.createElement("div",null,at==null?void 0:at.map((lt,zt)=>ae.createElement("a",{href:`/shixuns/${lt.identifier}/challenges`,target:"_blank"},"\u300A",lt==null?void 0:lt.name,"\u300B",zt+1!==ht&&"\u3001"))))),Me>0&&ae.createElement("div",{style:{marginTop:20}},ae.createElement("span",{className:Oe.flex},ae.createElement("img",{src:Ze,style:{width:14}}),ae.createElement("span",{className:Oe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Oe.statusbody},me==="exercise"&&ae.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"),(me==="subject"||me==="exercisepush")&&ae.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"),me==="shixunpush"&&ae.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"),ae.createElement("div",null,nt==null?void 0:nt.map((lt,zt)=>ae.createElement("a",{href:`/shixuns/${lt.identifier}/challenges`,target:"_blank"},"\u300A",lt==null?void 0:lt.name,"\u300B",zt+1!==Me&&"\u3001"))))));if(me==="shixun")return ae.createElement("div",{style:{marginTop:20}},Me>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 ae.createElement(Re.default,{open:ot,onCancel:()=>{dt(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ye&&"none"}},zIndex:1003,confirmLoading:Xe,okText:Ye?Ie:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ee(void 0,null,function*(){Ye?yield mt([...nt,...we]):dt(!1)})},ae.createElement("div",{style:{maxHeight:600,overflow:"auto"}},We(),St()))}},57444:function(mn,en,ie){"use strict";ie.d(en,{h:function(){return ht}});var ae=ie(67294),Oe=ie(11713),Re=ie(22150),Ze=ie(71577),ve=ie(4631),Ee=ie.n(ve),ke=ie(71749),ye=ie(30483),me=Object.defineProperty,Le=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,dt=(we,he,je)=>he in we?me(we,he,{enumerable:!0,configurable:!0,writable:!0,value:je}):we[he]=je,nt=(we,he)=>{for(var je in he||(he={}))Xe.call(he,je)&&dt(we,je,he[je]);if(Ie)for(var je of Ie(he))ot.call(he,je)&&dt(we,je,he[je]);return we},Me=(we,he)=>Le(we,mt(he));const ut=Oe.default.Option,Ut={labelCol:{span:4},wrapperCol:{span:20}},at={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"]};en.Z=({callback:we,onCancel:he})=>{const[je,Ve]=(0,ae.useState)("python");function Ge(Ye){Ve(at[Ye][1])}function qe(Ye){we(Ye)}return ae.createElement(Re.default,Me(nt({},Ut),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:qe,style:{width:500}}),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(Oe.default,{getPopupContainer:Ye=>Ye.parentNode,onChange:Ge},Object.keys(at).map(Ye=>ae.createElement(ut,{key:Ye,value:Ye},at[Ye][0])))),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ht,{mode:je})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ze.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function ht({value:we,onChange:he,mode:je,options:Ve={}}){const Ge=(0,ae.useRef)(),[qe,Ye]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(qe){let We=function(St){const lt=St.getValue();he&&he(lt)};return qe.on("change",We),()=>{qe.off("change",We)}}},[qe,he]),(0,ae.useEffect)(()=>{qe&&qe.setOption("mode",je)},[qe,je]),(0,ae.useEffect)(()=>{qe&&(we!==qe.getValue()||we==="")&&setTimeout(()=>{qe.setValue(we||"")},300)},[qe,we]),(0,ae.useEffect)(()=>{if(Ge.current&&!qe){const We=Ee().fromTextArea(Ge.current,nt({mode:je,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ve));Ye(We)}},[Ge.current,qe]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Ge}))}},91304:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ir}});var ae=ie(67294),Oe=ie(4631),Re=ie.n(Oe),Ze=ie(91033),ve=ie(71749),Ee=ie(57341),ke=ie(82801),ye=ie(88386),me=ie(49047),Le=ie(80785),mt=ie(35598),Ie=({value:Xn="",className:pt,showTextOnly:At,showLines:Mt,style:fn={}})=>{const $e=(0,ae.useMemo)(()=>"",[Xn]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:$e}}))},Xe=ie(67294),ot=Object.defineProperty,dt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,at=(Xn,pt,At)=>pt in Xn?ot(Xn,pt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Xn[pt]=At,ht=(Xn,pt)=>{for(var At in pt||(pt={}))ut.call(pt,At)&&at(Xn,At,pt[At]);if(Me)for(var At of Me(pt))Ut.call(pt,At)&&at(Xn,At,pt[At]);return Xn},we=(Xn,pt)=>dt(Xn,nt(pt));let he=[{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\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",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 je({onActionCallback:Xn,title:pt,icon:At,actionName:Mt,className:fn="",children:$e}){function Ft(){Xn(Mt)}return Xe.createElement("a",{title:pt,className:fn,onClick:Ft},Xe.createElement("i",{className:`${At}`}),$e)}var Ve=({watch:Xn,showNullButton:pt,showNullProgramButton:At,onActionCallback:Mt,fullScreen:fn,insertTemp:$e,hidetoolBar:Ft,extraUse:on})=>{const _t=[...he,{title:`${Xn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Xn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Xe.createElement("ul",{className:"markdown-toolbar-container"},!Ft&&_t.map((En,Sn)=>Xe.createElement("li",{key:Sn},En.actionName?Xe.createElement(je,we(ht({},En),{onActionCallback:Mt})):Xe.createElement("span",{className:"v-line"}))),pt?Xe.createElement("li",null,Xe.createElement(je,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,At?Xe.createElement(Xe.Fragment,null,Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$e&&Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$e}`,onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),on&&Xe.createElement("li",null,on),Xe.createElement("li",{className:"btn-full-screen"},Xe.createElement(je,{icon:`${fn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:fn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Mt})))},Ge=ie(76621),qe=ie(22150),Ye=ie(69677),We=ie(71577),St=Object.defineProperty,lt=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,tr=(Xn,pt,At)=>pt in Xn?St(Xn,pt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Xn[pt]=At,it=(Xn,pt)=>{for(var At in pt||(pt={}))pn.call(pt,At)&&tr(Xn,At,pt[At]);if(Dt)for(var At of Dt(pt))Kn.call(pt,At)&&tr(Xn,At,pt[At]);return Xn},Ce=(Xn,pt)=>lt(Xn,zt(pt));const wt={labelCol:{span:4},wrapperCol:{span:20}};var An=({callback:Xn,onCancel:pt})=>{function At(Mt){Xn(Mt)}return ae.createElement(qe.default,Ce(it({},wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:At,style:{width:500}}),ae.createElement(qe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Ye.default,null)),ae.createElement(qe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Ye.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(We.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(We.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},Tt=ie(57444),rt=ie(70859),ft=ie(14446),Wt=ie(71230),qt=ie(63205),Xt=ie(67294),Ht=({callback:Xn,onCancel:pt})=>{const At=document.createElement("canvas"),Mt=At.getContext("2d");At.width=1e3,At.height=800,Mt.fillStyle="#ffffff",Mt.fillRect(0,0,At.width,At.height);const fn=At.toDataURL("image/png");return Xt.createElement(ft.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Xt.createElement(Wt.Z,{style:{height:"100vh"}},Xt.createElement(qt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:fn,visible:!0,title:String(Date.now())},onOk:$e=>{Xn({src:$e.url})},onClose:pt})))},un=ie(72565),kn=ie(15746),yn=ie(2453),Fe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=ie(67294),pe=(0,ae.forwardRef)(({onCancel:Xn,editImgId:pt,callback:At},Mt)=>{let fn=(0,ae.useRef)(),$e=(0,ae.useRef)(),Ft=(0,ae.useRef)(),on=(0,ae.useRef)(!1);const _t=(0,ae.useRef)(!1);console.log("ref:",Mt);const[En,Sn]=(0,ae.useState)(0),[Bn,Qr]=(0,ae.useState)("100vh");return(0,ae.useEffect)(()=>{Sn(1);try{indexedDB.databases().then(Lr=>{Lr.forEach(Sr=>indexedDB.deleteDatabase(Sr.name))})}catch(Lr){}},[]),(0,ae.useImperativeHandle)(Mt,()=>({setHeight:Qr})),ce.createElement("div",{ref:_t,className:"body-overflow-initial"},ce.createElement(un.Z,{width:"100vw",height:Bn,footer:null,closable:!0,placement:"bottom",open:!!En,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Fe.drawerWrap}`,onClose:()=>{window.saveDrawData(Lr=>{At({src:`/api/attachments/${Lr}`,id:Lr})})},title:ce.createElement(Wt.Z,{align:"middle"},ce.createElement(kn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(kn.Z,{onClick:()=>{Qr(Bn==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(kn.Z,{onClick:()=>{window.saveDrawData(Lr=>{if(Lr===null){yn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}yn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),At({src:`/api/attachments/${Lr}`,id:Lr,disabledClose:!0})})}},ce.createElement(We.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${pt||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:$e})))}),de=ie(11320),le=ie(78045),De=ie(31795);const Ke=le.ZP.Group,Et={margin:"0 8px"};var Yt=({callback:Xn,onCancel:pt})=>{function At(Mt){Xn(Mt)}return ae.createElement(qe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:At},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Et},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Et},"\u884C\u6570"),ae.createElement(qe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(De.Z,null)),ae.createElement("span",{style:Et},"\u5217\u6570"),ae.createElement(qe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(De.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(qe.default.Item,{name:"align"},ae.createElement(Ke,null,ae.createElement(le.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(le.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(le.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(le.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(We.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(We.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},Kt=ie(47897),nn=ie(61016),$t=ie.n(nn),kr=(0,ae.forwardRef)(({use3d:Xn,width:pt,height:At,callback:Mt,showSaveButton:fn},$e)=>{const Ft=(0,ae.useRef)(),on=(0,ae.useRef)(),[_t,En]=(0,ae.useState)(!1),Sn=(0,ae.useRef)({id:Ft,appName:"graphing",width:pt||1e3,height:At||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{on.current=new($t())(Sn.current,!0),window.onload=function(){on.current.inject("applet_container")}},[]);const Bn=()=>{var Qr=window.ggbApplet.getPNGBase64(1,!0,72);return Mt&&Mt(Qr),Qr};return(0,ae.useEffect)(()=>{Sn.current.appName=_t?"3D":"graphing",on.current.inject("applet_container")},[_t]),(0,ae.useEffect)(()=>{En(Xn)},[Xn]),(0,ae.useImperativeHandle)($e,()=>({getImgData:Bn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ft}),ae.createElement(Wt.Z,{align:"middle"},ae.createElement(kn.Z,{flex:1},ae.createElement(Kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_t,onChange:Qr=>En(Qr)})),ae.createElement(kn.Z,null,ae.createElement(We.ZP,{size:"large",onClick:Bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),rn=ie(36527),gn=ie(25934);const hr="link",Er="upload-image",yt="add-flowchart",It="draw-image",$n="add-flowchart",Qn="code-block",wr="add-table",_r="------------",ei={default:_r,left:`:${_r}`,center:`:${_r}:`,right:`${_r}:`};var Xr=ie(99914),ri=(Xn,pt,At)=>new Promise((Mt,fn)=>{var $e=_t=>{try{on(At.next(_t))}catch(En){fn(En)}},Ft=_t=>{try{on(At.throw(_t))}catch(En){fn(En)}},on=_t=>_t.done?Mt(_t.value):Promise.resolve(_t.value).then($e,Ft);on((At=At.apply(Xn,pt)).next())});function fi(){}let Cr=0;const yi=1e4,Gi="\u2581",oi="@\u2581\u2581@",ea="@\u2581@",Di=` **\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`,Ot=["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 Nt(Xn){return/^\d+$/.test(Xn)?`${Xn}px`:Xn}const bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",rr={[bn+"-B"]:"bold",[bn+"-I"]:"italic"},Fn={[hr]:"\u6DFB\u52A0\u94FE\u63A5",[Qn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Er]:"\u6DFB\u52A0\u56FE\u7247",[It]:"\u6DFB\u52A0\u753B\u56FE",[yt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[wr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ir=({defaultValue:Xn="",onChange:pt,width:At="100%",height:Mt=400,miniToolbar:fn=!1,isFocus:$e=!1,watch:Ft,insertTemp:on,mode:_t="markdown",id:En="markdown-editor-id",showResizeBar:Sn=!1,noStorage:Bn=!1,showNullButton:Qr=!1,showNullProgramButton:Lr=!1,hidetoolBar:Sr=!1,fullScreen:jr=!1,onBlur:zr,onCMBeforeChange:Rt,onFullScreen:kt,className:jt="",disablePaste:zn=!1,disabled:lr=!1,disabledFill:Hn=!1,placeholder:_n="",values:Gn="",extraUse:or,onAddBlank:Kr})=>{const[Ln,Fi]=(0,ae.useState)(null),[pi,ha]=(0,ae.useState)(Xn),[ra,Qi]=(0,ae.useState)(Ft),[Ca,Xi]=(0,ae.useState)(jr),[Ri,sa]=(0,ae.useState)(""),[Da,ki]=(0,ae.useState)(0),[Ji,Ea]=(0,ae.useState)(Mt),[_a,Oa]=(0,ae.useState)(!1),Oi=(0,ae.useRef)((0,gn.Z)()),Qt=(0,ae.useRef)(!1),Zt=(0,ae.useRef)(),[Mn,jn]=(0,ae.useState)(0),[sr,Yr]=(0,ae.useState)(0),si=(0,ae.useRef)(),mi=(0,ae.useRef)(),Ci=(0,ae.useRef)(),gi=(0,ae.useRef)(),Ti=(0,ae.useRef)(),qi=(0,ae.useRef)(),li=()=>ri(void 0,null,function*(){var er;const Wn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Oi.current}});(er=Wn==null?void 0:Wn.attachments)!=null&&er.length&&(console.log("cm:",Ln,si),Wn.attachments.map(ur=>{ur.content_type.indexOf("image")>-1?Ln.replaceSelection(`![,](/api/attachments/${ur.id}?type=${ur.content_type})`):ur.content_type.indexOf("video")>-1?Ln.replaceSelection(``):ur.content_type.indexOf("pdf")>-1?Ln.replaceSelection(`${ur.name}`):Ln.replaceSelection(`[${ur.name}](${de.Z.API_SERVER}/api/attachments/${ur.id}?type=${ur.content_type})`)}))});(0,ae.useEffect)(()=>{const er=window.scrollY||window.pageYOffset;ha(Gn),Ln==null||Ln.setValue(Gn),window.scrollTo(0,er)},[Gn]),(0,ae.useEffect)(()=>{kt==null||kt(Ca)},[Ca]),(0,ae.useEffect)(()=>{if(si.current){let er=function(ur,mr){var Vr;if(zn){mr.preventDefault();return}const Dr=mr.clipboardData;if(Dr){const Mr=Dr.types.toString(),Tr=Dr.items;if(Mr==="Files"||Dr.types.indexOf("Files")>-1){if(mr.preventDefault(),_t=="stex")return;try{let Or=Tr[1];((Vr=Tr[0])==null?void 0:Vr.kind)==="file"&&(Or=Tr[0]);const qr=Or.getAsFile(),Ue=qr.name.split(".").pop();(0,rt.I)(qr,tt=>{var tn,Pt,xn;tt.id?((tn=qr==null?void 0:qr.type)==null?void 0:tn.indexOf("image"))>-1?Wn.replaceSelection(``):((Pt=qr==null?void 0:qr.type)==null?void 0:Pt.indexOf("video"))>-1?Wn.replaceSelection(``):((xn=qr==null?void 0:qr.type)==null?void 0:xn.indexOf("pdf"))>-1?Wn.replaceSelection(`${qr.name}`):Ot.includes(Ue)?Wn.replaceSelection(`${qr.name}`):Wn.replaceSelection(`[${qr.name}](/api/attachments/${tt.id}?type=${tt.content_type})`):(tt==null?void 0:tt.status)===401&&(yn.ZP.warning((tt==null?void 0:tt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Or){yn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Wn=Re().fromTextArea(si.current,{mode:_t,lineNumbers:!fn,lineWrapping:!0,value:Xn,autoCloseTags:!Lr,autoCloseBrackets:!0});return Wn.on("keyup",function(ur,mr){mr.keyCode===8&&(ur.getValue()==""?Wn.setOption("placeholder",_n):Wn.setOption("placeholder",null))}),Wn.on("keydown",function(ur,mr){if(mr.keyCode===8){var Vr=ia(ur);Vr&&mr.preventDefault()}}),$e&&Wn.focus(),Wn.on("paste",er),Wn.on("dragleave",function(ur,mr){mi.current.classList.remove("mouse-hover-md")}),lr&&Wn.on("beforeChange",function(ur,mr){(mr.origin==="paste"||mr.origin==="+input")&&mr.cancel()}),Fi(Wn),()=>{Wn.off("paste",er)}}},[]);const Vi=(0,ae.useCallback)(()=>{if(mi.current)try{}catch(er){console.log(er,"---- to set md editor body height")}},[Ji,mi,Ca]);(0,ae.useEffect)(()=>{function er(){let Wn=new Ze.Z(ur=>{for(let mr of ur)(mr.target.offsetHeight>0||mr.target.offsetWidth>0)&&(Vi(),Ln.setSize("100%","100%"),Ln.refresh())});return Wn.observe(si.current.parentElement),Wn}if(Ln){const Wn=er();return()=>{var ur,mr;(ur=si.current)!=null&&ur.parentElement&&Wn.unobserve((mr=si.current)==null?void 0:mr.parentElement)}}},[Ln,Vi]),(0,ae.useEffect)(()=>{if(Ln){let er=[];for(const[Wn,ur]of Object.entries(rr)){let mr={[Wn]:()=>{ta(ur)}};er.push(mr),Ln.addKeyMap(mr)}return Zt.current=setInterval(()=>{Qt.current&&li()},4e3),()=>{clearInterval(Zt.current);for(let Wn of er)Ln.removeKeyMap(Wn)}}},[Ln]),(0,ae.useEffect)(()=>{jr!==Ca&&Xi(jr)},[jr]),(0,Xr.Z)(()=>{if(!Bn&&Da>0){let er=new Date().getTime(),Wn=window.sessionStorage.getItem(En);er>=Da+yi&&(!Wn||Wn!==pi)&&(window.sessionStorage.setItem(En,pi),Oa(!0))}},yi),(0,ae.useEffect)(()=>{Qi(Ft)},[Ln,Ft]),(0,ae.useEffect)(()=>{Ln&&$e&&Ln.focus()},[Ln,$e]),(0,ae.useEffect)(()=>{if(ra&&Ln){let er=function(ur){let mr=ur.target;if(gi.current){let Vr=mr.scrollTop/mr.scrollHeight;gi.current.scrollTop=gi.current.scrollHeight*Vr}};const Wn=Ln.getScrollerElement();return Wn.addEventListener("scroll",er),()=>{Wn.removeEventListener("scroll",er)}}},[Ln,ra]),(0,ae.useEffect)(()=>{if(Ln&&Rt){let er=function(Wn,ur){Rt(Wn,ur)};return Ln.on("beforeChange",er),()=>{Ln.off("beforeChange",er)}}},[Ln,Rt]),(0,ae.useEffect)(()=>{if(Ln&&zr){let er=function(){zr(Ln.getValue())};return Ln.on("blur",er),()=>{Ln.off("blur",er)}}},[Ln,zr]);function ia(er,Wn){var ur=er.getDoc(),mr=ur.getCursor(),Vr=ur.getLine(mr.line),Dr=Vr.charAt(mr.ch-1),Mr=Vr.lastIndexOf("@\u2581@",mr.ch),Tr=Vr.lastIndexOf("@\u2581\u2581@",mr.ch),Or=Mr>Tr?Mr:Tr,qr=Mr>Tr?3:4;if(oi.indexOf(Dr)===-1)return null;if(console.log("change1:",Wn,er,Vr,mr,Or,Mr,Tr,Dr),Or>=0&&mr.ch-Or<5){var Ue=Or+qr;return ur.replaceRange("",{line:mr.line,ch:Or},{line:mr.line,ch:Ue}),{line:mr.line,ch:Ue}}return null}(0,ae.useEffect)(()=>{if(Ln){let er=function(Wn,ur){const mr=Wn.getValue();ha(mr),ki(new Date().getTime()),Wn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),pt&&(Lr?pt(mr,Tn(mr)):pt(mr))};return Ln.on("change",er),()=>{Ln.off("change",er)}}},[Ln,pt]),(0,ae.useEffect)(()=>{if(Ln)if(Xn==null)Ln.setValue(""),ha("");else{const er=window.scrollY||window.pageYOffset;Xn!==Ln.getValue()&&(Ln.setValue(Xn),ha(Xn),Ln.setCursor(lr?1:Ln.lineCount(),0),window.scrollTo(0,er))}},[Ln,Xn]);const ta=(0,ae.useCallback)(er=>{const Wn=Ln.getCursor(),ur=Ln.getSelection();let mr=ur.split(` `);switch(er){case"bold":return Ln.replaceSelection("**"+ur+"**"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+2),Ln.focus();case"italic":return Ln.replaceSelection("*"+ur+"*"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+1),Ln.focus();case"code":return Ln.replaceSelection("`"+ur+"`"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+1),Ln.focus();case"inline-latex":return sa("inline-latex"),Ln.focus();case"latex":return Ln.replaceSelection("```latex\n"+ur+"\n```"),Ln.setCursor(Wn.line+1,ur.length+1),Ln.focus();case"line-break":return Ln.replaceSelection(`
`),Ln.focus();case"list-ul":return ur===""?Ln.replaceSelection("- "+ur):Ln.replaceSelection(mr.map(Vr=>Vr===""?"":`- ${Vr}`).join(` `)),Ln.focus();case"list-ol":return ur===""?Ln.replaceSelection("1. "+ur):Ln.replaceSelection(mr.map((Vr,Dr)=>Vr===""?"":`${Dr+1}. ${Vr}`).join(` `)),Ln.focus();case"add-null-ch":Kr==null||Kr();return;case"add-signal":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(ea),Ln.focus();case"add-multiple":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(oi),Ln.focus();case"inster-template-1":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(Di),Ln.focus();case"eraser":return Ln.setValue(""),Ln.focus();case"trigger-watch":return Qi(!ra),Ln.focus();case"trigger-full-screen":return Xi(!Ca),Ln.focus();case hr:sa(hr);return;case Qn:sa(Qn);return;case Er:sa(Er);return;case It:sa(It);return;case"maths-latex":sa("maths-latex");return;case yt:Ti.current="",sessionStorage.removeItem("file_id"),sa(yt);return;case wr:sa(wr);return;default:throw new Error}},[Ln,ra,Ca]),ze=(0,ae.useCallback)((er,Wn)=>{var ur,mr,Vr,Dr,Mr,Tr;sa("");const{src:Or,alt:qr,id:Ue}=er||{};switch(Ri){case hr:const{title:Zn,link:Jn}=er;return Ln.replaceSelection(`[${Zn}](${Jn})`),Ln.focus();case Qn:const{language:yr,content:xt}=er;return Ln.replaceSelection(["```"+yr,xt,"```"].join(` `)),Ln.focus();case"maths-latex":for(var tt=atob(er),tn=new Uint8Array(tt.length),Pt=0;Pt{xr.id?Ln.replaceSelection(`![,](/api/attachments/${xr.id}?type=${xr.content_type})`):(xr==null?void 0:xr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ln.replaceSelection("`$$"+er+"$$`");break;case $n:if(!Ue)return;Ln.focus(),Ln.getValue().indexOf(Or)===-1?Ln.replaceSelection(`
${qr||
`):document.getElementById(Ue).src=de.Z.API_SERVER+Or+"?t="+Date.now();try{setTimeout(()=>{zr(Ln.getValue())},100)}catch(xr){}break;case Er:case It:const ct=Wn,Lt=(Vr=(mr=(ur=ct==null?void 0:ct.name)==null?void 0:ur.split("."))==null?void 0:mr.pop)==null?void 0:Vr.call(mr);return((Dr=ct==null?void 0:ct.type)==null?void 0:Dr.indexOf("image"))>-1||!(ct!=null&&ct.type)?ct!=null&&ct.align||ct!=null&&ct.width?Ln.replaceSelection(`

${qr||

`):Ln.replaceSelection(`${qr||`):((Mr=ct==null?void 0:ct.type)==null?void 0:Mr.indexOf("video"))>-1?Ln.replaceSelection(``):((Tr=ct==null?void 0:ct.type)==null?void 0:Tr.indexOf("pdf"))>-1?Ln.replaceSelection(`${ct.name}`):Ot.includes(Lt)?Ln.replaceSelection(`${ct.name}`):Ln.replaceSelection(`[${ct.name}](${Or})`),Ln.focus();case wr:const{row:dn,col:qn,align:In}=er;let wn=` `;for(let xr=0;xr{switch(Ri){case hr:return ae.createElement(An,{callback:ze,onCancel:et});case Qn:return ae.createElement(Tt.Z,{callback:ze,onCancel:et});case Er:return ae.createElement(rt.Z,{callback:ze,onCancel:et});case yt:return ae.createElement(pe,{editImgId:Ti.current,callback:ze,onCancel:et});case wr:return ae.createElement(Yt,{callback:ze,onCancel:et});case"maths-latex":return ae.createElement(kr,{showSaveButton:!0,callback:ze});case"inline-latex":return ae.createElement(rn.Z,{showSaveButton:!0,callback:ze});default:return null}},[Ri]);function et(){sa("")}(0,ae.useEffect)(()=>{if(Ci.current){let er=function(Mr){Vr=!0,Dr=Mr.pageY},Wn=function(){Vr=!1},ur=function(Mr){if(Vr){let Tr=Mr.pageY-Dr;Tr<0&&(Tr=0),Tr>300&&(Tr=300);let Or=Mt+Tr+"px";Ea(Or)}},mr=Ci.current,Vr=!1,Dr=0;return mr.addEventListener("mousedown",er),document.addEventListener("mousemove",ur),document.addEventListener("mouseup",Wn),()=>{mr.removeEventListener("mousedown",er),document.removeEventListener("mousemove",ur),document.removeEventListener("mouseup",Wn)}}},[Ln,Ci]),(0,ae.useEffect)(()=>{Ea(Mt)},[Mt]);const st=Nt(At),Ct=Nt(Ji),Bt={width:st,height:Ct},Jt=(0,ae.useMemo)(()=>{if(Da){let er=new Date(Da),Wn=er.getHours(),ur=er.getMinutes(),mr=er.getSeconds();return Wn=Wn<10?"0"+Wn:Wn,ur=ur<10?"0"+ur:ur,mr=mr<10?"0"+mr:mr,`${Wn}:${ur}:${mr}`}return 0},[Da]),Tn=er=>{const Wn=[];if(Lr){let ur=-1;er=er.replace(/(@▁▁@|@▁@)/g,function(mr,Vr,Dr){Wn.push({multiLine:mr!==ea})})}return Wn};function Nn(){window.sessionStorage.removeItem(En),Oa(!1),ki(0)}function Fr(){Oa(!1),ki(0),Ln.setValue(window.sessionStorage.getItem(En))}(0,ae.useEffect)(()=>{Fn[Ri]&&Ri!==It&&Ri!==yt&&setTimeout(()=>{const er=document.getElementsByClassName("markdown-popup-form")[0],Wn=window.innerWidth/2-er.offsetWidth/2,ur=window.innerHeight/2-er.offsetHeight/2;jn(Wn),Yr(ur)},0)},[Ri]);const Jr=er=>{er.preventDefault();const Wn=er.clientX-Mn,ur=er.clientY-sr;document.body.onmousemove=mr=>{let Vr=mr.clientX-Wn,Dr=mr.clientY-ur;const Mr=document.getElementsByClassName("markdown-popup-form")[0],Tr=window.innerWidth-Mr.offsetWidth,Or=window.innerHeight-Mr.offsetHeight;Vr=Math.max(0,Math.min(Vr,Tr)),Dr=Math.max(0,Math.min(Dr,Or)),Ar(mr.clientX,mr.clientY,Wn,ur)&&(jn(Vr),Yr(Dr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ar=(er,Wn,ur,mr)=>{const Vr=document.body.clientHeight,Dr=document.body.clientWidth;return er<20&&ur>er||er>Dr-20&&urWn||Wn>Vr-20&&mr{var Wn;Ti.current=er,(Wn=qi.current)==null||Wn.setHeight("100vh"),setTimeout(()=>{sa("add-flowchart")},150)}})):null))),Sn?ae.createElement("a",{ref:Ci,className:"editor-resize"}):null,Ri===It&&ae.createElement(Ht,{callback:ze,onCancel:et}),Ri===yt&&ae.createElement(pe,{ref:qi,editImgId:Ti.current,callback:ze,onCancel:et}),ae.createElement(Ge.Z,null,Fn[Ri]&&Ri!==It&&Ri!==yt?ae.createElement(ft.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Mn,top:sr},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Jr},Fn[Ri]),open:!0,onCancel:et,footer:null,destroyOnClose:!0,width:Ri===yt?"1200px":null,height:Ri===yt?"80vh":null,className:"markdown-popup-form"},Je):null))}},70859:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return je},I:function(){return Ge}});var ae=ie(22150),Oe=ie(2453),Re=ie(69677),Ze=ie(93421),ve=ie(31795),Ee=ie(78045),ke=ie(71577),ye=ie(15476),me=ie(67294),Le=ie(52262),mt=ie(67294),Ie=Object.defineProperty,Xe=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ut=(qe,Ye,We)=>Ye in qe?Ie(qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:We}):qe[Ye]=We,Ut=(qe,Ye)=>{for(var We in Ye||(Ye={}))nt.call(Ye,We)&&ut(qe,We,Ye[We]);if(dt)for(var We of dt(Ye))Me.call(Ye,We)&&ut(qe,We,Ye[We]);return qe},at=(qe,Ye)=>Xe(qe,ot(Ye));const{useForm:ht}=ae.default,we={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var je=({callback:qe,onCancel:Ye})=>{const[We]=ht();let St=(0,me.useRef)();function lt(pn){St.current.width=We.getFieldValue("width"),St.current.align=We.getFieldValue("align"),qe(pn,St.current)}function zt(pn,Kn){if(pn.status===-1){Oe.ZP.error(pn.message);return}We.setFieldsValue({src:`/api/attachments/${pn.id}`,type:Kn.type})}function Dt(pn){let Kn=pn.target.files[0];St.current=Kn,Ge(Kn,zt)}return mt.createElement(ae.default,at(Ut({form:We},he),{className:"upload-image-panel",onFinish:lt,style:{width:470,overflow:"hidden"}}),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},mt.createElement("div",{className:"flex-container"},mt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},mt.createElement(Re.default,{style:we})),mt.createElement(Ve,{onFileChange:Dt}))),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},mt.createElement(Re.default,{style:{width:264}})),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},mt.createElement(Ze.Z,null,mt.createElement(ae.default.Item,{name:"width",style:{margin:0}},mt.createElement(ve.Z,{style:{width:264}})),mt.createElement("span",{className:"ml8"},"%"))),mt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},mt.createElement(Ee.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"}]})),mt.createElement("aside",null,mt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},mt.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),mt.createElement(ke.ZP,{type:"default",onClick:Ye},"\u53D6\u6D88"))))};function Ve({onFileChange:qe}){return mt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",mt.createElement("input",{type:"file",onChange:qe}))}function Ge(qe,Ye){if(!qe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw Oe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let We=new FormData;We.append("editormd-image-file",qe),We.append("file_param_name","editormd-image-file"),We.append("byxhr","true");var St=new window.XMLHttpRequest;St.withCredentials=!0,St.addEventListener("load",function(lt){Ye(JSON.parse(lt.target.responseText),qe)},!1),St.addEventListener("error",function(lt){console.error(lt)},!1),St.open("POST",`${ye.KI}/api/attachments.json`),St.send(We)}},76621:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Re}});var ae=ie(67294),Oe=ie(73935);class Re extends ae.Component{constructor(ve){super(ve);const Ee=window.document;this.node=Ee.createElement("div"),Ee.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,Oe.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(mn,en,ie){"use strict";ie.d(en,{i:function(){return he},Z:function(){return Ve}});var ae={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"},Oe=ie(57953),Re=ie(83062),Ze=ie(38703),ve=ie(94184),Ee=ie.n(ve),ke=ie(28706),ye=ie(26194),me=ie(52262),Le=ie(79005),mt=ie(20345),Ie=ie(77882),Xe=ie(31081),ot=ie(75309),dt=ie(71979),nt=ie(47558),Me=ie(60345),ut=ie(66832),Ut=ie(96593),at=ie(19664),ht=ie(91833),we=ie(67294);const he=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Le,swimg:mt},{name:"101\u8BA1\u5212",ptimg:Ie,swimg:Xe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ot,swimg:dt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:nt,swimg:Me},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ut,swimg:Ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:at,swimg:ht}];var Ve=({className:Ge,dataSource:qe=[],col:Ye=4,right:We,bottom:St=23,precision:lt=0,wrapWidth:zt=1200,trackEventItems:Dt,loading:pn,onRemove:Kn=()=>{},isCurrent:tr=!0,showAlias:it=!1,showProgress:Ce=!1})=>{const wt=Math.floor((zt-(Ye-1)*We)/Ye),An=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Tt=>(window.ENV==="build"&&(Tt.ptimg=`/react/build${Tt.ptimg}`,Tt.swimg=`/react/build${Tt.swimg}`),Tt));return we.createElement(Oe.Z,{spinning:pn},we.createElement("div",{className:Ee()(ae.list,Ge)},!!(qe!=null&&qe.length)&&(qe==null?void 0:qe.map((Tt,rt)=>{var ft,Wt,qt,Xt,Ht,un;const{name:kn,id:yn,identifier:Fe,featured:ce,school_name:ue,image_url:pe,excellent:de,is_plan:le}=Tt;return we.createElement("div",{key:yn,className:tr&&Ce?ae.wrapisCurrent:ae.wrap,style:{width:wt,marginRight:(1+rt)%Ye===0?0:We+lt,marginBottom:St}},we.createElement("a",{className:ae.li,onClick:De=>{De.preventDefault(),De.stopPropagation(),Dt&&(0,ke.L9)([Dt]),(0,ke.xg)(`/paths/${Fe}`)}},we.createElement("div",{className:ae.img},we.createElement("img",{className:ae.cover,src:`${pe}`}),tr&&(0,me.bg)()&&(Tt==null?void 0:Tt.studying)&&we.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:De=>{De.stopPropagation(),Kn(Tt)}},we.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),we.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ft=Tt==null?void 0:Tt.subject_tags)==null?void 0:ft.map((De,Ke)=>{var Et,Yt;if(Ke===0){const nn=(Et=An.find($t=>$t.name==De))==null?void 0:Et.swimg;return we.createElement("img",{className:ae.sign,src:nn,style:{left:"-4px"}})}const Kt=(Yt=An.find(nn=>nn.name==De))==null?void 0:Yt.ptimg;return we.createElement("img",{className:ae.sign,src:Kt,style:{left:`${48+52*(Ke-1)+2*Ke}px`}})}),we.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Tt==null?void 0:Tt.excellent)&&we.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),we.createElement("div",{className:ae.name},we.createElement(Re.Z,{title:it&&(Tt!=null&&Tt.excellent_alias_name)?we.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${kn}`,we.createElement("br",null),we.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Tt==null?void 0:Tt.excellent_alias_name}`)):kn},we.createElement("span",{className:ae.e},it&&(Tt==null?void 0:Tt.excellent_alias_name)||kn))),tr&&Ce&&((Wt=Tt==null?void 0:Tt.progress)==null?void 0:Wt.all_score)!=0&&we.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},we.createElement(Ze.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((qt=Tt==null?void 0:Tt.progress)==null?void 0:qt.my_score)/((Xt=Tt==null?void 0:Tt.progress)==null?void 0:Xt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ht=Tt==null?void 0:Tt.progress)==null?void 0:Ht.my_score,"/",(un=Tt==null?void 0:Tt.progress)==null?void 0:un.all_score),(!tr||!Ce)&&we.createElement("div",{className:ae.tags},we.createElement("div",null,we.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),we.createElement("span",null,Tt.stages_count))),we.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),we.createElement("span",null,Tt.members_count)))))))})),!qe.length&&we.createElement(ye.Z,null)))}},80150:function(mn,en,ie){"use strict";ie.d(en,{jL:function(){return ve},w9:function(){return Fn},vv:function(){return Ft},dN:function(){return At},QD:function(){return jn},cQ:function(){return Ke.Z},vg:function(){return Ot},Oz:function(){return Cr},op:function(){return _a},O5:function(){return Tn},_b:function(){return gi},t7:function(){return St},tT:function(){return Dt},Gi:function(){return kt},YG:function(){return Sn},Ed:function(){return zr},kT:function(){return Lr},qp:function(){return Me},Um:function(){return he},K3:function(){return at},vr:function(){return si},qE:function(){return Qt},Je:function(){return tr},wb:function(){return un},rC:function(){return De},lB:function(){return Fe},cq:function(){return Gn},kO:function(){return Fi},tp:function(){return Ge},Si:function(){return Jr},k8:function(){return yr},Du:function(){return Mr}});var ae=ie(67294),Oe={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"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1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gWidth:Lt=346,title:dn,sunTitle:qn,bannerExtraContent:In})=>ae.createElement("div",{className:Oe.banner},ae.createElement("div",{className:Oe.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,dn),ae.createElement("span",null,qn)),xt.length>0&&ae.createElement("div",{className:Oe.btns},xt.map((wn,xr)=>ae.createElement("div",{key:xr,onClick:wn.click},wn.name,wn.sign?ae.createElement("img",{src:Re,width:39}):null))),In),ct&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:ct,width:Lt}))),Ee={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"},ke=ie(94184),ye=ie.n(ke),me=ie(96486),Le=Object.defineProperty,mt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,ot=(xt,ct,Lt)=>ct in xt?Le(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,dt=(xt,ct)=>{for(var Lt in ct||(ct={}))Ie.call(ct,Lt)&&ot(xt,Lt,ct[Lt]);if(mt)for(var Lt of mt(ct))Xe.call(ct,Lt)&&ot(xt,Lt,ct[Lt]);return xt},Me=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#6A7283",showCount:Pr,classNameActive:dr,styleItem:Vn={}})=>{const[Hr,ni]=(0,ae.useState)(0),[Wr,Nr]=(0,ae.useState)(!1),Gr=(0,ae.useRef)(null),Li=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var xi;xt.length!==0&&(((xi=Gr==null?void 0:Gr.current)==null?void 0:xi.clientHeight)>97?ni(1):ni(0)),xt.length===0&&ni(0),Nr(!1)},[xt]),ae.createElement("div",{className:ye()(Ee.row,qn),style:xr},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn,marginTop:Wr?12:4},className:`${Ee.title} ${dn?"current":""}`},In),ae.createElement("div",{className:Wr?`${Ee.tagsWrap} ${Ee.tagsBorderWrap}`:Ee.tagsWrap},ae.createElement("div",{className:Ee.bar,ref:Li,style:Hr>0?{height:Hr===1?97:"auto",overflow:Hr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:Ee.tag,ref:Gr},xt==null?void 0:xt.map(xi=>ae.createElement("span",{onClick:()=>Lt(xi.id),key:xi.id,style:dt(dt({color:pr},Vn),(xi==null?void 0:xi.style)||{}),className:ct===xi.id?ye()(dr||Ee.active,xi.classNameActive):""},ae.createElement("span",{title:xi.name,className:Ee.name},xi.name),!!Pr&&ae.createElement("span",{className:Ee.num},xi.count))))),!!Hr&&ae.createElement(ae.Fragment,null,Hr===1?ae.createElement("div",{onClick:()=>{var xi;ni(2),((xi=Gr==null?void 0:Gr.current)==null?void 0:xi.clientHeight)>245?Nr(!0):Nr(!1)},className:Ee.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Li.current.scrollTop=0,ni(1),Nr(!1)},className:Ee.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ut={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},at=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#6A7283",showCount:Pr,expand:dr=!0})=>{const[Vn,Hr]=(0,ae.useState)(0),[ni,Wr]=(0,ae.useState)(!1),Nr=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),[Li,xi]=(0,ae.useState)(dr);return ae.createElement("div",{className:ye()(ut.row,qn),style:xr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn,marginTop:ni?12:4},className:`${ut.title} ${dn?"current":""}`},In),ae.createElement("i",{className:`iconfont ${Li?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Li?8:10},onClick:()=>xi(!Li)})),Li&&ae.createElement("div",{className:ni?`${ut.tagsWrap} ${ut.tagsBorderWrap}`:ut.tagsWrap},ae.createElement("div",{className:ut.fenge}),ae.createElement("div",{className:ut.bar,ref:Gr},ae.createElement("div",{className:ut.tag,ref:Nr},xt==null?void 0:xt.map(Ei=>ae.createElement("span",{onClick:()=>Lt(Ei.id),key:Ei.id,style:{color:pr},className:ct===Ei.id?ut.active:""},ae.createElement("span",{title:Ei.name,className:ut.name},Ei.name),!!Pr&&ae.createElement("span",{className:ut.num},Ei.count)))))))},ht={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},he=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#fff",showCount:Pr,expand:dr=!0})=>{const[Vn,Hr]=(0,ae.useState)(0),[ni,Wr]=(0,ae.useState)(!1),Nr=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),[Li,xi]=(0,ae.useState)(dr);return ae.createElement("div",{className:ye()(ht.row,qn),style:xr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn},className:`${ht.title} ${dn?"current":""}`},In),ae.createElement("i",{className:`iconfont ${Li?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Li?"#00DDC7":"#037F74",fontSize:Li?10:12},onClick:()=>xi(!Li)})),Li&&ae.createElement("div",{className:ni?`${ht.tagsWrap} ${ht.tagsBorderWrap}`:ht.tagsWrap},ae.createElement("div",{className:ht.bar,ref:Gr},ae.createElement("div",{className:ht.tag,ref:Nr},xt==null?void 0:xt.map(Ei=>ae.createElement("span",{onClick:()=>Lt(Ei.id),key:Ei.id,style:{color:pr},className:ct===Ei.id?ht.active:""},ae.createElement("span",{title:Ei.name,className:ht.name},Ei.name),!!Pr&&ae.createElement("span",{className:ht.num},Ei.count)))))))},je={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"},Ge=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={}})=>ae.createElement("div",{style:qn,className:ye()(je.tabs,dn)},xt.map(In=>ae.createElement("span",{onClick:()=>Lt(In.id),className:ct===In.id?je.active:"",key:In.id},In.name))),qe={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"},Ye=ie(69677),St=({dataSource:xt=[],value:ct="",onChange:Lt,onInputChange:dn=()=>{},className:qn,style:In={},placeholder:wn,allowClear:xr=!1})=>{var pr;const[Pr,dr]=(0,ae.useState)(""),[Vn,Hr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Nr;let Gr=ct;(Nr=JSON.stringify(ct))!=null&&Nr.includes("{")&&(dr(ct.id),Gr=ct.value||"");try{Hr(decodeURIComponent(Gr||""))}catch(Li){Hr(decodeURIComponent(Gr||""))}},[ct]);const ni=()=>{Lt(encodeURIComponent(Vn),Pr||null)},Wr=Nr=>{Nr!==Pr&&(dr(Nr),Lt(encodeURIComponent(Vn),Nr))};return ae.createElement("div",{className:ye()(qe.input,qn),style:In},!!xt.length&&ae.createElement("div",{className:qe.dropdown},ae.createElement("div",{className:qe.text},(pr=xt.find(Nr=>Nr.id===Pr))==null?void 0:pr.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:qe.b1}),ae.createElement("b",{className:qe.b2})),ae.createElement("div",{className:qe.menu},xt.map((Nr,Gr)=>ae.createElement("div",{key:Gr,onClick:()=>Wr(Nr.id)},Nr.name)))),ae.createElement(Ye.default,{onPressEnter:ni,value:Vn,onChange:Nr=>{Hr(Nr.target.value),dn(encodeURIComponent(Nr.target.value),Pr||null)},bordered:!1,placeholder:wn}),ae.createElement("i",{onClick:ni,className:"iconfont icon-sousuo9 font14 pl10 current"}))},lt={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Dt=({dataSource:xt=[],value:ct="",onChange:Lt,onInputChange:dn=()=>{},className:qn,style:In={},placeholder:wn,allowClear:xr=!1})=>{var pr;const[Pr,dr]=(0,ae.useState)(""),[Vn,Hr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Nr;let Gr=ct;(Nr=JSON.stringify(ct))!=null&&Nr.includes("{")&&(dr(ct.id),Gr=ct.value||"");try{Hr(decodeURIComponent(Gr||""))}catch(Li){Hr(decodeURIComponent(Gr||""))}},[ct]);const ni=()=>{Lt(encodeURIComponent(Vn),Pr||null)},Wr=Nr=>{Nr!==Pr&&(dr(Nr),Lt(encodeURIComponent(Vn),Nr))};return ae.createElement("div",{className:ye()(lt.input,qn),style:In},!!xt.length&&ae.createElement("div",{className:lt.dropdown},ae.createElement("div",{className:lt.text},(pr=xt.find(Nr=>Nr.id===Pr))==null?void 0:pr.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:lt.menu},xt.map((Nr,Gr)=>ae.createElement("div",{key:Gr,onClick:()=>Wr(Nr.id)},Nr.name)))),ae.createElement(Ye.default,{onPressEnter:ni,value:Vn,onChange:Nr=>{Hr(Nr.target.value),dn(encodeURIComponent(Nr.target.value),Pr||null)},bordered:!1,placeholder:wn}),ae.createElement("i",{onClick:ni,className:"iconfont icon-sousuo9 font14 pl10 current"}))},pn={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"},tr=({value:xt,onChange:ct,className:Lt,total:dn,pageSize:qn,style:In={}})=>{const wn=xt<2,xr=xt>=Math.ceil(dn/qn);return dn<=qn?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:ye()(pn.quickPager,Lt),style:In},ae.createElement("div",{onClick:()=>{wn||ct(xt-1,"prev")},className:wn?pn.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{xr||ct(xt+1,"next")},className:xr?pn.disabled:""},"\u4E0B\u4E00\u9875"))},it={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"},Ce=ie(57953),wt=ie(83062),An=ie(12604),Tt=ie(11320),rt=ie(28706),ft=ie(96908),Wt=ie(57177),qt=ie(81378),Xt=ie(26194),un=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr})=>{const Pr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(it.list,xt)},!!ct.length&&ct.map((dr,Vn)=>{const{name:Hr,id:ni,identifier:Wr,power:Nr,cover_image_id:Gr,pic:Li}=dr;return ae.createElement("div",{className:it.wrap,key:ni,style:{width:Pr,marginRight:(1+Vn)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Wr}/challenges`,className:it.li,onClick:xi=>{xi.preventDefault(),xr&&(0,rt.L9)([xr]),Nr&&(0,rt.xg)(`/shixuns/${Wr}/challenges`)}},ae.createElement("div",{className:it.img},ae.createElement("img",{className:it.cover,src:`${Li}`}),dr.is_jupyter&&ae.createElement("img",{className:it.sign,src:ft}),dr.is_jupyter_lab&&ae.createElement("img",{className:it.sign,src:Wt}),dr.is_unity_3d&&ae.createElement("img",{className:it.sign,src:qt})),ae.createElement("div",{className:it.name},ae.createElement(wt.Z,{title:Hr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:it.e},Hr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:it.tags},ae.createElement(wt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,dr.challenges_count))),!!dr.myshixuns_count&&ae.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,dr.myshixuns_count))),ae.createElement(wt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,dr.level))),ae.createElement("div",{className:it.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:dr.score_info}),ae.createElement("span",null,"\xA0",dr.score_info?`${dr.score_info}\u5206`:"5\u5206")))),!Nr&&ae.createElement("div",{className:it.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},kn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Fe=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(kn.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{name:ni,id:Wr,identifier:Nr,power:Gr,cover_image_id:Li,pic:xi}=Vn;return ae.createElement("div",{className:ye()(kn.wrap,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Nr}/challenges`,className:kn.li,onClick:Ei=>{Ei.preventDefault(),pr&&(0,rt.L9)([pr]),Gr&&(0,rt.xg)(`/shixuns/${Nr}/challenges`)}},ae.createElement("img",{src:ie(79633),className:kn.titleBg}),ae.createElement("div",{className:kn.name},ae.createElement(wt.Z,{title:ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:kn.e},ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:kn.img},ae.createElement("img",{className:kn.cover,src:Li?`${Tt.Z.API_SERVER}/api/attachments/${Li}`:`${Tt.Z.IMG_SERVER+xi}`}),Vn.is_jupyter&&ae.createElement("div",{className:kn.bq},"Jupyter"),Vn.is_jupyter_lab&&ae.createElement("div",{className:kn.bq},"JupyterLab"),Vn.is_unity_3d&&ae.createElement("div",{className:kn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:kn.value},Vn.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:kn.value},Vn.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:kn.value},Vn.challenges_count)),ae.createElement("div",{className:kn.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Vn.score_info}),ae.createElement("span",{className:kn.value,style:{color:"#FF9C00"}},"\xA0",Vn.score_info?`${Vn.score_info}\u5206`:"5\u5206"))))),!Gr&&ae.createElement("div",{className:kn.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},ce={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lz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rapWidth:wn=1200,trackEventItems:xr,loading:pr,wrapClassName:Pr,imgClassName:dr})=>{const Vn=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(ce.list,xt)},!!ct.length&&ct.map((Hr,ni)=>{const{name:Wr,id:Nr,identifier:Gr,power:Li,cover_image_id:xi,pic:Ei}=Hr;return ae.createElement("div",{className:ye()(ce.wrap,Pr),key:Nr,style:{width:Vn,marginRight:(1+ni)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Gr}/challenges`,className:ce.li,onClick:$i=>{$i.preventDefault(),xr&&(0,rt.L9)([xr]),Li&&(0,rt.xg)(`/shixuns/${Gr}/challenges`)}},ae.createElement("div",{className:ye()(ce.img,dr)},ae.createElement("img",{className:ce.cover,src:xi?`${Tt.Z.API_SERVER}/api/attachments/${xi}`:`${Tt.Z.IMG_SERVER+Ei}`}),Hr.is_jupyter&&ae.createElement("img",{className:ce.sign,src:ue}),Hr.is_jupyter_lab&&ae.createElement("img",{className:ce.sign,src:pe}),Hr.is_unity_3d&&ae.createElement("img",{className:ce.sign,src:de})),ae.createElement("div",{className:ce.name},ae.createElement(wt.Z,{title:Wr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:ce.e},Wr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:ce.tags},ae.createElement(wt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,Hr.challenges_count))),!!Hr.myshixuns_count&&ae.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,Hr.myshixuns_count))),ae.createElement(wt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,Hr.level))),ae.createElement("div",{className:ce.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Hr.score_info}),ae.createElement("span",null,"\xA0",Hr.score_info?`${Hr.score_info}\u5206`:"5\u5206")))),!Li&&ae.createElement("div",{className:ce.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},Ke=ie(5476),Et={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Yt=ie(79005),Kt=ie(20345),nn=ie(77882),$t=ie(31081),gr=ie(75309),kr=ie(71979),rn=ie(47558),gn=ie(60345),hr=ie(66832),Er=ie(96593),yt=ie(19664),It=ie(91833),$n=Object.defineProperty,Qn=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,ei=(xt,ct,Lt)=>ct in xt?$n(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Xr=(xt,ct)=>{for(var Lt in ct||(ct={}))wr.call(ct,Lt)&&ei(xt,Lt,ct[Lt]);if(Qn)for(var Lt of Qn(ct))_r.call(ct,Lt)&&ei(xt,Lt,ct[Lt]);return xt};const ri=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Yt,swimg:Kt},{name:"101\u8BA1\u5212",ptimg:nn,swimg:$t},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:gr,swimg:kr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:rn,swimg:gn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:hr,swimg:Er},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:It}];var Cr=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr,wrapClassName:Pr,imgClassName:dr,isArrow:Vn=!1,imgStyle:Hr={}})=>{const ni=Math.floor((wn-(Lt-1)*dn)/Lt),[Wr,Nr]=(0,ae.useState)(),[Gr,Li]=(0,ae.useState)(),xi=$i=>Nr($i),Ei=()=>Nr(-1);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(Et.list,xt)},!!(ct!=null&&ct.length)&&(ct==null?void 0:ct.map(($i,Aa)=>{var _i;const{name:la,id:Ai,identifier:Ki,featured:ua,school_name:pa,image_url:ao,excellent:no,is_plan:ro}=$i;return ae.createElement("div",{key:Ai,className:ye()(Et.wrap,Pr),style:{width:ni,marginRight:(1+Aa)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/paths/${Ki}`,className:Et.li,onClick:Ha=>{Ha.preventDefault(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(`/paths/${Ki}`)}},ae.createElement("img",{src:ie(39057),className:Et.titleBg}),ae.createElement("div",{className:Et.name},ae.createElement(wt.Z,{title:la},ae.createElement("span",{className:Et.e,style:{color:Vn&&Wr===Aa?"#145DFF":"#000000"},onMouseEnter:()=>{xi(Aa)},onMouseLeave:Ei},la))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:ye()(Et.img,dr)},ae.createElement("img",{className:Et.cover,style:Xr({},Hr),src:`${Tt.Z.IMG_SERVER+ao}`}),(_i=$i==null?void 0:$i.subject_tags)==null?void 0:_i.map((Ha,wa)=>{var Wi,co;if(wa===0){const Bi=(Wi=ri.find(ma=>ma.name==Ha))==null?void 0:Wi.swimg;return ae.createElement("img",{className:Et.sign,src:Bi,style:{left:"-4px"}})}const aa=(co=ri.find(Bi=>Bi.name==Ha))==null?void 0:co.ptimg;return ae.createElement("img",{className:Et.sign,src:aa,style:{left:`${48+52*(wa-1)+2*wa}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},($i==null?void 0:$i.excellent)&&ae.createElement("div",{className:Et.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Et.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:Et.value},$i.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:Et.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Et.value},$i.members_count))))))})),!ct.length&&ae.createElement(Xt.Z,null)))},yi={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Gi=ie(52262),oi=ie(67294);const ea=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Yt,swimg:Kt},{name:"101\u8BA1\u5212",ptimg:nn,swimg:$t},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:gr,swimg:kr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:rn,swimg:gn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:hr,swimg:Er},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:It}];var Ot=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr,onRemove:Pr=()=>{},isCurrent:dr=!0,showAlias:Vn=!1,wrapClassName:Hr,imgClassName:ni})=>{const Wr=Math.floor((wn-(Lt-1)*dn)/Lt),Nr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Gr=>(window.ENV==="build"&&(Gr.ptimg=`/react/build${Gr.ptimg}`,Gr.swimg=`/react/build${Gr.swimg}`),Gr));return oi.createElement(Ce.Z,{spinning:pr},oi.createElement("div",{className:ye()(yi.list,xt)},!!(ct!=null&&ct.length)&&(ct==null?void 0:ct.map((Gr,Li)=>{var xi;const{name:Ei,id:$i,identifier:Aa,featured:_i,school_name:la,image_url:Ai,excellent:Ki,is_plan:ua}=Gr;return oi.createElement("div",{key:$i,className:ye()(yi.wrap,Hr),style:{width:Wr,marginRight:(1+Li)%Lt===0?0:dn+In,marginBottom:qn}},oi.createElement("a",{className:yi.li,onClick:pa=>{pa.preventDefault(),pa.stopPropagation(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(`/paths/${Aa}`)}},oi.createElement("div",{className:ye()(yi.img,ni)},oi.createElement("img",{className:yi.cover,src:`${Tt.Z.IMG_SERVER+Ai}`}),dr&&(0,Gi.bg)()&&(Gr==null?void 0:Gr.studying)&&oi.createElement("div",{className:`${yi.movebq} user-path-items`,onClick:pa=>{pa.stopPropagation(),Pr(Gr)}},oi.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oi.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xi=Gr==null?void 0:Gr.subject_tags)==null?void 0:xi.map((pa,ao)=>{var no,ro;if(ao===0){const wa=(no=Nr.find(Wi=>Wi.name==pa))==null?void 0:no.swimg;return oi.createElement("img",{className:yi.sign,src:wa,style:{left:"-4px"}})}const Ha=(ro=Nr.find(wa=>wa.name==pa))==null?void 0:ro.ptimg;return oi.createElement("img",{className:yi.sign,src:Ha,style:{left:`${48+52*(ao-1)+2*ao}px`}})}),oi.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Gr==null?void 0:Gr.excellent)&&oi.createElement("div",{className:yi.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oi.createElement("div",{className:yi.name},oi.createElement(wt.Z,{title:Vn&&(Gr!=null&&Gr.excellent_alias_name)?oi.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ei}`,oi.createElement("br",null),oi.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Gr==null?void 0:Gr.excellent_alias_name}`)):Ei},oi.createElement("span",{className:yi.e},Vn&&(Gr==null?void 0:Gr.excellent_alias_name)||Ei))),oi.createElement("div",{className:yi.tags},oi.createElement("div",null,oi.createElement(wt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oi.createElement("span",null,oi.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oi.createElement("span",null,Gr.stages_count))),oi.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oi.createElement("span",null,oi.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oi.createElement("span",null,Gr.members_count)))))))})),!ct.length&&oi.createElement(Xt.Z,null)))},Nt={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",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},cn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+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cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",bn=ie(67294),Fn=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr})=>{const Pr=Math.floor((wn-(Lt-1)*dn)/Lt);return bn.createElement(Ce.Z,{spinning:pr},bn.createElement("div",{className:ye()(Nt.list,xt)},!!ct.length&&ct.map((dr,Vn)=>{const{subject_identifier:Hr,id:ni,identifier:Wr,power:Nr}=dr,Gr=dr.is_public!=0&&dr.is_public;return bn.createElement("div",{className:Nt.wrap,key:ni,style:{width:Pr,marginRight:(1+Vn)%Lt===0?0:dn+In,marginBottom:qn}},bn.createElement("a",{className:Nt.li,onClick:Li=>{Li.preventDefault(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(dr.first_category_url)}},bn.createElement("div",{className:Nt.top},bn.createElement(wt.Z,{title:dr.name},bn.createElement("div",{className:Nt.name},dr.name)),bn.createElement("img",{className:Nt.img,src:Tt.Z.IMG_SERVER+"/images/"+dr.avatar_url}),bn.createElement("div",{className:Nt.text,title:dr.creator},dr.creator),Hr&&bn.createElement("div",{className:Nt.btns},bn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),bn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Gr&&bn.createElement("div",{className:Nt.sign},"\u516C\u5F00")),bn.createElement("div",{className:Nt.bottom},dr.visits>0&&bn.createElement(wt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-liulanyan"}),bn.createElement("span",null,dr.visits))),dr.course_members_count>0&&bn.createElement(wt.Z,{title:"\u6210\u5458",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-chengyuan"}),dr.course_members_count)),dr.tasks_count>0&&bn.createElement(wt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-zuoye"}),dr.tasks_count)),dr.is_end?bn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):bn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!dr.is_accessible&&bn.createElement("div",{className:Nt.lockWrap},bn.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),bn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&bn.createElement(Xt.Z,null)))},ir={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Xn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwq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VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",At=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(ir.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{subject_identifier:ni,id:Wr,identifier:Nr,power:Gr}=Vn,Li=Vn.is_public!=0&&Vn.is_public;return ae.createElement("div",{className:ye()(`${ir.wrap} ${Vn.is_accessible?"":ir.warpStyle}`,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{className:ir.li,onClick:xi=>{xi.preventDefault(),pr&&(0,rt.L9)([pr]),(0,rt.xg)(Vn.first_category_url)}},ae.createElement("div",{className:ir.creator},ae.createElement("img",{className:ir.img,src:Tt.Z.IMG_SERVER+"/images/"+Vn.avatar_url}),ae.createElement("div",{className:ir.text,title:Vn.creator},Vn.creator)),ae.createElement("div",{className:ir.top},ae.createElement(wt.Z,{title:Vn.name},ae.createElement("div",{className:ir.name},Vn.name)),Li&&ae.createElement("div",{className:ir.sign},"\u516C\u5F00")),ae.createElement("div",{className:ir.middle},ae.createElement("div",{className:ir.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u6210\u5458"),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.course_members_count)||0))),ae.createElement("div",{className:ir.row},ae.createElement("div",null,ae.createElement("span",{className:ir.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u72B6\u6001"),Vn.is_end?ae.createElement("span",{className:ir.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:ir.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ni&&ae.createElement("div",{className:ir.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Vn.is_accessible&&ae.createElement("div",{className:ir.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&ae.createElement(Xt.Z,null)))},Mt={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0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Wq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ft=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(Mt.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{subject_identifier:ni,id:Wr,identifier:Nr,power:Gr}=Vn,Li=Vn.is_public!=0&&Vn.is_public;return ae.createElement("div",{className:ye()(`${Mt.wrap} ${Vn.is_accessible?"":Mt.warpStyle}`,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{className:Mt.li,onClick:xi=>{xi.preventDefault(),pr&&(0,rt.L9)([pr]),(0,rt.xg)(Vn.first_category_url)}},ae.createElement("div",{className:Mt.creator},ae.createElement("img",{className:Mt.img,src:Tt.Z.IMG_SERVER+"/images/"+Vn.avatar_url}),ae.createElement("div",{className:Mt.text,title:Vn.creator},Vn.creator)),ae.createElement("div",{className:Mt.top},ae.createElement(wt.Z,{title:Vn.name},ae.createElement("div",{className:Mt.name},Vn.name)),Li&&ae.createElement("div",{className:Mt.sign})),ae.createElement("div",{className:Mt.middle},ae.createElement("div",{className:Mt.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u6210\u5458"),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.course_members_count)||0))),ae.createElement("div",{className:Mt.row},ae.createElement("div",null,ae.createElement("span",{className:Mt.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u72B6\u6001"),Vn.is_end?ae.createElement("span",{className:Mt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:Mt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ni&&ae.createElement("div",{className:Mt.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Vn.is_accessible&&ae.createElement("div",{className:Mt.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&ae.createElement(Xt.Z,null)))},on={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"},_t=ie(35973),Sn=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(on.tabs,dn),style:qn},ae.createElement("div",{className:on.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:on.tab,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",{className:ct===wn.id?on.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:on.tabBar},In)),Bn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Lr=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(Bn.tabs,dn),style:qn},ae.createElement("div",{className:Bn.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:Bn.tab,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",{className:ct===wn.id?Bn.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:Bn.tabBar},In)),Sr={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},zr=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(Sr.tabs,dn),style:qn},ae.createElement("div",{className:Sr.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:`${Sr.tab} ${ct===wn.id?Sr.active:""}`,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",null,wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:Sr.tabBar},In)),kt=({className:xt,style:ct={},children:Lt})=>ae.createElement("div",{className:ye()(xt),style:ct},Lt),jt={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"},zn=ie(85418),lr=ie(68508);const Hn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Gn=({sortValue:xt,dropValue:ct,className:Lt,onSort:dn,onDrop:qn,dataSource:In=Hn})=>{var wn;return ae.createElement("div",{className:ye()(jt.orderWrap,Lt)},ae.createElement(zn.Z,{dropdownRender:()=>ae.createElement(lr.default,null,In.map((xr,pr)=>ae.createElement(lr.default.Item,{key:pr,onClick:()=>qn(xr.id)},xr.name)))},ae.createElement("span",{className:jt.orderTextWrap},(wn=In.find(xr=>ct===xr.id))==null?void 0:wn.name)),ae.createElement("span",{className:jt.orderIconWrap},ae.createElement("span",{className:jt.orderAsc},ae.createElement("i",{className:xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")})),ae.createElement("span",{className:jt.orderDesc},ae.createElement("i",{className:xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")}))))},or={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Kr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Fi=({sortValue:xt,dropValue:ct,className:Lt,onSort:dn,onDrop:qn,dataSource:In=Kr})=>{var wn;return ae.createElement("div",{className:ye()(or.orderWrap,Lt)},ae.createElement(zn.Z,{dropdownRender:()=>ae.createElement(lr.default,null,In.map((xr,pr)=>ae.createElement(lr.default.Item,{key:pr,onClick:()=>qn(xr.id)},xr.name)))},ae.createElement("span",{className:or.orderTextWrap},(wn=In.find(xr=>ct===xr.id))==null?void 0:wn.name)),ae.createElement("span",{className:or.orderIconWrap},ae.createElement("span",{className:or.orderAsc},ae.createElement("i",{className:xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${or.cursorPointer} ${or.active}`:`iconfont icon-sanjiaoxing-up font12 ${or.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")})),ae.createElement("span",{className:or.orderDesc},ae.createElement("i",{className:xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${or.cursorPointer} ${or.active}`:`iconfont icon-sanjiaoxing-down font12 ${or.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")}))))},pi={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",ThemeOne:"ThemeOne___iCQio"},ha=ie(71577),ra=ie(52810),Qi=Object.defineProperty,Ca=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,sa=(xt,ct,Lt)=>ct in xt?Qi(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Da=(xt,ct)=>{for(var Lt in ct||(ct={}))Xi.call(ct,Lt)&&sa(xt,Lt,ct[Lt]);if(Ca)for(var Lt of Ca(ct))Ri.call(ct,Lt)&&sa(xt,Lt,ct[Lt]);return xt},ki=(xt,ct)=>{var Lt={};for(var dn in xt)Xi.call(xt,dn)&&ct.indexOf(dn)<0&&(Lt[dn]=xt[dn]);if(xt!=null&&Ca)for(var dn of Ca(xt))ct.indexOf(dn)<0&&Ri.call(xt,dn)&&(Lt[dn]=xt[dn]);return Lt},Ji=(xt,ct,Lt)=>new Promise((dn,qn)=>{var In=pr=>{try{xr(Lt.next(pr))}catch(Pr){qn(Pr)}},wn=pr=>{try{xr(Lt.throw(pr))}catch(Pr){qn(Pr)}},xr=pr=>pr.done?dn(pr.value):Promise.resolve(pr.value).then(In,wn);xr((Lt=Lt.apply(xt,ct)).next())}),_a=xt=>{var ct=xt,{className:Lt,style:dn,children:qn,loading:In=!1,openLoading:wn,onClick:xr=()=>{},size:pr="middle",shape:Pr="round",theme:dr}=ct,Vn=ki(ct,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Hr,ni]=(0,ae.useState)(!1),Wr=(0,ae.useMemo)(()=>{switch(dr){case ra.Fy.THEMEONE:return pi.ThemeOne;case ra.Fy.DEFAULT:default:return pi.btn}},[dr]);return ae.createElement(ha.ZP,Da({onClick:(0,me.throttle)(Nr=>Ji(void 0,null,function*(){wn&&ni(!0);try{yield xr(Nr)}catch(Gr){console.log("error",Gr)}wn&&ni(!1)}),2e3,{leading:!0,trailing:!1}),className:ye()(Wr,pi[`${pr}-${Pr}`],Lt),style:dn,size:pr,shape:Pr,loading:Hr||In},Vn),qn)},Oa={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"},Qt=({className:xt,style:ct,children:Lt=null,onClick:dn,title:qn})=>ae.createElement("div",{className:ye()(Oa.head,xt),style:ct},ae.createElement("span",{className:"primary-hover",onClick:dn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:qn},qn),ae.createElement("div",{className:Oa.node},Lt)),Zt={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"},jn=({confirmShow:xt=!0,confirmTitle:ct,confirmClick:Lt,cancelShow:dn=!0,cancelTitle:qn,cancelClick:In,className:wn,style:xr,confirmLoading:pr=!1})=>ae.createElement("div",{className:ye()(Zt.btns,wn),style:xr},xt&&ae.createElement(ha.ZP,{loading:pr,onClick:Lt,type:"primary",className:Zt.confirm},ct),dn&&ae.createElement(ha.ZP,{onClick:In,className:Zt.cancel},qn)),sr={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"},si=({className:xt,style:ct={},LeftContent:Lt,children:dn,RightContent:qn})=>ae.createElement("div",{className:ye()(sr.fixedBottom,xt),style:ct},ae.createElement("div",{className:sr.wrap},ae.createElement("div",{className:sr.left},Lt),ae.createElement("div",{className:sr.center},dn),ae.createElement("div",{className:sr.right},qn))),mi={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"},gi=({className:xt,style:ct={},dataSource:Lt=[]})=>ae.createElement("div",{className:ye()(mi.crumbs,xt),style:ct},Lt.map((dn,qn)=>qn_t.history.push(dn.path)},dn.name):ae.createElement("span",null,dn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:qn,style:{color:"#5F6368"}},dn.name))),Ti=ie(55054),qi=Object.defineProperty,li=Object.defineProperties,Vi=Object.getOwnPropertyDescriptors,ia=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Je=(xt,ct,Lt)=>ct in xt?qi(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,et=(xt,ct)=>{for(var Lt in ct||(ct={}))ta.call(ct,Lt)&&Je(xt,Lt,ct[Lt]);if(ia)for(var Lt of ia(ct))ze.call(ct,Lt)&&Je(xt,Lt,ct[Lt]);return xt},st=(xt,ct)=>li(xt,Vi(ct)),Ct=(xt,ct)=>{var Lt={};for(var dn in xt)ta.call(xt,dn)&&ct.indexOf(dn)<0&&(Lt[dn]=xt[dn]);if(xt!=null&&ia)for(var dn of ia(xt))ct.indexOf(dn)<0&&ze.call(xt,dn)&&(Lt[dn]=xt[dn]);return Lt};const{Countdown:Bt}=Ti.default;var Tn=xt=>{var ct=xt,{onChange:Lt}=ct,dn=Ct(ct,["onChange"]);const[qn,In]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof qn=="number"&&qn>=0&&Lt(qn)},[qn]);const wn=xr=>{const pr=Math.floor(xr/1e3);In(pr)};return ae.createElement(Bt,st(et({},dn),{onChange:wn}))},Nn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Jr=({DataProps:xt,className:ct,style:Lt={}})=>{var dn;return ae.createElement("div",{className:ye()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Nn.ClassRoomItem,ct),style:Lt,onClick:()=>{(0,rt.xg)(xt==null?void 0:xt.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(dn=Tt.Z)==null?void 0:dn.IMG_SERVER}/images/${xt==null?void 0:xt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(xt==null?void 0:xt.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(xt!=null&&xt.is_public)&&ae.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ae.createElement("span",{className:ye()("text-16px font-medium",Nn.TitleDom)},xt==null?void 0:xt.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},xt==null?void 0:xt.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",xt==null?void 0:xt.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",xt==null?void 0:xt.tasks_count),xt!=null&&xt.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ar=Object.defineProperty,er=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,mr=(xt,ct,Lt)=>ct in xt?Ar(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Vr=(xt,ct)=>{for(var Lt in ct||(ct={}))Wn.call(ct,Lt)&&mr(xt,Lt,ct[Lt]);if(er)for(var Lt of er(ct))ur.call(ct,Lt)&&mr(xt,Lt,ct[Lt]);return xt},Mr=({DataProps:xt=[],selectValue:ct,onChange:Lt,className:dn,style:qn={},extra:In,classNameItem:wn,styleItem:xr={},barHidden:pr})=>{const[Pr,dr]=(0,ae.useState)();return(0,ae.useEffect)(()=>{dr(Array.isArray(ct)?ct:[ct])},[ct]),ae.createElement("div",{className:ye()("flex px-20px py-10px gap-40px",dn),style:Vr({borderBottom:"1px solid #D3F0FF"},qn)},xt==null?void 0:xt.map(Vn=>ae.createElement("div",{key:Vn==null?void 0:Vn.id,className:ye()("flex item-center justify-center current c-grey-333 text-16 relative",wn,Vn==null?void 0:Vn.className),style:Vr(Vr({color:Pr!=null&&Pr.includes(Vn==null?void 0:Vn.id)?"#1890FF":"",minWidth:88},xr),(Vn==null?void 0:Vn.style)||{}),onClick:Hr=>{Lt==null||Lt({domEvent:Hr,item:Vn}),Vn!=null&&Vn.link&&_t.history.push(Vn==null?void 0:Vn.link)}},Vn==null?void 0:Vn.name,!pr&&(Pr==null?void 0:Pr.includes(Vn==null?void 0:Vn.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},In))},Tr=Object.defineProperty,Or=Object.defineProperties,qr=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,Pt=(xt,ct,Lt)=>ct in xt?Tr(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,xn=(xt,ct)=>{for(var Lt in ct||(ct={}))tt.call(ct,Lt)&&Pt(xt,Lt,ct[Lt]);if(Ue)for(var Lt of Ue(ct))tn.call(ct,Lt)&&Pt(xt,Lt,ct[Lt]);return xt},Zn=(xt,ct)=>Or(xt,qr(ct)),yr=({value:xt,onChange:ct,onInputChange:Lt,className:dn,style:qn={},InputProps:In})=>{const[wn,xr]=(0,ae.useState)(xt);return ae.createElement("div",{className:ye()("flex item-center rounded-full px-10px py-2px",dn),style:xn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},qn)},ae.createElement(Ye.default,Zn(xn({bordered:!1},In),{onChange:pr=>{xr(pr.target.value),Lt==null||Lt(encodeURIComponent(pr.target.value))},onPressEnter:pr=>{ct==null||ct({domEvent:pr,item:{value:wn}})}})),ae.createElement("img",{className:"h-22px current",src:ie(25365),height:22,onClick:pr=>{ct==null||ct({domEvent:pr,item:{value:wn}})}}))}},99914:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re,Ze){const ve=(0,ae.useRef)();(0,ae.useEffect)(()=>{ve.current=Re}),(0,ae.useEffect)(()=>{function Ee(){ve.current()}if(Ze!==null){let ke=setInterval(Ee,Ze);return()=>clearInterval(ke)}},[Ze])}},17998:function(mn,en,ie){"use strict";ie.d(en,{Q8:function(){return Ce},d0:function(){return wt},w6:function(){return it}});var ae=ie(67294),Oe=ie(34336),Re=ie(11713),Ze=ie(2453),ve=ie(14446),Ee=ie(78045),ke=ie(71230),ye=ie(15746),me=ie(83062),Le=ie(84567),mt=ie(71577),Ie=ie(27484),Xe=ie.n(Ie),ot=ie(52262),dt=ie(33170),nt=ie(96486),Me=ie.n(nt),ut=ie(28706),Ut=ie(39886),at=ie(35973),ht=ie(39717),we=ie(78207),he=ie(92882),je=ie(96332),Ve=ie(93686),Ge=ie(67294),qe=Object.defineProperty,Ye=Object.defineProperties,We=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Dt=(ft,Wt,qt)=>Wt in ft?qe(ft,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):ft[Wt]=qt,pn=(ft,Wt)=>{for(var qt in Wt||(Wt={}))lt.call(Wt,qt)&&Dt(ft,qt,Wt[qt]);if(St)for(var qt of St(Wt))zt.call(Wt,qt)&&Dt(ft,qt,Wt[qt]);return ft},Kn=(ft,Wt)=>Ye(ft,We(Wt)),tr=(ft,Wt,qt)=>new Promise((Xt,Ht)=>{var un=Fe=>{try{yn(qt.next(Fe))}catch(ce){Ht(ce)}},kn=Fe=>{try{yn(qt.throw(Fe))}catch(ce){Ht(ce)}},yn=Fe=>Fe.done?Xt(Fe.value):Promise.resolve(Fe.value).then(un,kn);yn((qt=qt.apply(ft,Wt)).next())});function it(ft,Wt){const qt=[];for(let Xt=ft;Xt{const Xt=ftXe()(Wt).endOf("day"),un=ft{const qt=parseInt(Xe()(ft).format("HH")),Xt=parseInt(Xe()().format("HH")),Ht=parseInt(Xe()().format("mm"));if(!ft)return{disabledHours:()=>it(0,Xt),disabledMinutes:()=>it(0,Ht)};if(Wt){const un=parseInt(Xe()(Wt).format("HH")),kn=parseInt(Xe()(Wt).format("mm"));return Xe()(ft).isSame(Xe()(Wt),"day")?{disabledHours:()=>it(0,un),disabledMinutes:()=>qt<=un?it(0,kn):[]}:void 0}if(Xe()(ft).isSame(Xe()(),"day"))return{disabledHours:()=>it(0,Xt),disabledMinutes:()=>Xe()(ft).isSame(Xe()(),"hour")&&qt<=Xt?it(0,Ht):[]}},{RangePicker:An}=Oe.default,{Option:Tt}=Re.default,rt=({shixunHomeworks:ft,loading:Wt,dispatch:qt,classroomList:Xt,user:Ht})=>{var un,kn,yn,Fe,ce,ue,pe,de,le;const De=(0,at.useParams)(),{workSetting:Ke,workList:Et,shixunWorkList:Yt,headerInfo:Kt,changeData:nn}=ft,[$t,gr]=(0,ae.useState)(!1),[kr,rn]=(0,ae.useState)(!1);let[gn,hr]=(0,ae.useState)([]),[Er,yt]=(0,ae.useState)([]),[It,$n]=(0,ae.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ht.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[Qn,wr]=(0,ae.useState)({}),[_r,ei]=(0,ae.useState)({});(0,ae.useEffect)(()=>()=>{hr([])},[]),(0,ae.useEffect)(()=>{gr(!(0,ot.GJ)())},[(0,ot.GJ)()]);const Xr=()=>{qt({type:"shixunHomeworks/getWorkSetting",payload:pn({},De)})};(0,ae.useEffect)(()=>{if(!(Ke!=null&&Ke.course_id))return;Object.keys(It).map(function(cn){It[cn]=Ke[cn]}),(!It.allow_late||!It.unified_late)&&(It.late_penalty=20,It.penalty_type=ht.Q.Percent),It.unified_setting||(It.unified_late=!1,It.unified_anonymous_comment=!1,It.unified_anonymous_appeal=!1),gn=JSON.parse(JSON.stringify(Ke.group_settings.map(cn=>Kn(pn({},cn),{group_name:[cn.group_name]})).filter(cn=>cn.publish_time!==null))),Er=JSON.parse(JSON.stringify(Ke.allow_late_settings.map(cn=>Kn(pn({},cn),{group_name:[cn.group_name]})).filter(cn=>cn.late_time!==null))),$n(pn({},It));const Nt=(0,ut.QE)((gn==null?void 0:gn.length)>0?gn:[]);hr([...Nt]),(Er==null?void 0:Er.length)<=0?yt([{penalty_type:ht.Q.Percent,late_penalty:20}]):yt([...Er])},[Ke]);const ri=()=>tr(void 0,null,function*(){var Nt,cn;if(((Nt=Ht==null?void 0:Ht.userInfo)==null?void 0:Nt.user_status)===2){(0,we.Rd)();return}const bn=JSON.parse(JSON.stringify(It));if(bn.challenge_settings.filter(Fn=>!Fn.hide),bn.categoryId=De.categoryId,(cn=bn.challenge_settings)!=null&&cn.every(Fn=>!Fn.checked)){Ze.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(gn),!It.unified_setting)gn=gn==null?void 0:gn.map(Fn=>{var ir;if(!Fn.publish_time||!Fn.end_time)throw Ze.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(ir=Ke.group_settings)==null?void 0:ir.filter(Xn=>{var pt;return(pt=Fn==null?void 0:Fn.group_name)==null?void 0:pt.includes(Xn.group_name)}).map(Xn=>Xn.group_id||Xn.id).toString().split(","),Fn});else if(!It.publish_time||!It.end_time)throw Ze.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(bn.group_settings=gn,It.allow_late)if(It.unified_late){if(It.late_penalty===null||It.late_penalty===void 0||It.late_penalty<0||It.late_penalty>100)throw Ze.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(!It.late_time)throw Ze.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 Er=Er==null?void 0:Er.map(Fn=>{var ir,Xn;if(Fn.late_penalty===null||Fn.late_penalty===void 0||Fn.late_penalty<0||Fn.late_penalty>100)throw Ze.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Fn.late_time)throw Ze.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(Xn=(ir=Fn==null?void 0:Fn.group_name)==null?void 0:ir.map(pt=>{var At,Mt;let fn=(Mt=(At=Ke.group_settings)==null?void 0:At.filter($e=>($e==null?void 0:$e.group_name)===pt))==null?void 0:Mt[0];return fn==null?void 0:fn.group_id}))==null?void 0:Xn.toString().split(","),Fn}),bn.allow_late_settings=Er;let rr=yield(0,Ve.Tr)({homework_common_ids:[parseInt(De.categoryId)],course_id:De.coursesId,type:"homework_common"});(rr==null?void 0:rr.student_count)===0?fi(bn):(ei(bn),wr(rr))}),fi=Nt=>{var cn;if(Nt.total_score===null){Ze.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Nt!=null&&Nt.work_efficiency&&Nt.eff_score===null){Ze.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const bn=Nt.challenge_settings.reduce((ir,Xn)=>ir+Number(Xn.challenge_score),0);if((bn==null?void 0:bn.toFixed(10))!==((cn=Nt.total_score-Nt.eff_score)==null?void 0:cn.toFixed(10))){Ze.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Nt.total_score}\u5206`);return}const rr={shixun_evaluation:Nt.shixun_evaluation,challenge_settings:Nt.challenge_settings};let Fn=()=>{var ir;const Xn=()=>tr(void 0,null,function*(){rn(!0),(yield(0,dt.ZP)(`/api/homework_commons/${De.categoryId}/publish_setting.json`,{method:"post",body:pn({},Nt)})).status===0&&(Ze.ZP.success("\u66F4\u65B0\u6210\u529F"),Xr(),qt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:pn({},De)})),rn(!1)});!(0,nt.isEqual)(nn,rr)&&!((ir=Kt==null?void 0:Kt.homework_status)!=null&&ir.includes("\u672A\u53D1\u5E03"))?ve.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:Xn}):Xn()};Ke!=null&&Ke.high_resources_consume&&!(Ke!=null&&Ke.high_resources_consume_permission)?qt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:De.coursesId,type:"shixun",type_id:De.categoryId,name:Ke.homework_name,fn:()=>{Fn()}}}):Fn()},Cr=(Nt,cn,bn="group_id")=>{var rr;return cn?cn.find(Fn=>Fn[bn]===Nt):(rr=Ke==null?void 0:Ke.group_settings)==null?void 0:rr.find(Fn=>Fn.group_id[0]===Nt)},yi=(Ke==null?void 0:Ke.allow_late)||(Ke==null?void 0:Ke.anonymous_comment),Gi=Nt=>{var cn,bn;const rr=Cr(Nt,Ke==null?void 0:Ke.allow_late_settings,"id"),Fn=Cr(Nt,Ke==null?void 0:Ke.anonymous_comment_settings),ir=Cr(Nt);return(Ke==null?void 0:Ke.allow_late)&&rr&&Xe()(rr==null?void 0:rr.late_time)<=Xe()()||(Ke==null?void 0:Ke.anonymous_comment)&&Fn&&(Fn==null?void 0:Fn.evaluation_start)!==null||((bn=(Xe()(ir==null?void 0:ir.end_time)<=Xe()()&&((cn=Ke==null?void 0:Ke.allow_late_settings)==null?void 0:cn.filter(Xn=>Xn.group_id.includes(Nt))))[0])==null?void 0:bn.late_time)!=null},oi=(0,ae.useMemo)(()=>(Ke==null?void 0:Ke.allow_late)||(Ke==null?void 0:Ke.all_group_late),[Ke,Kt]),ea=Ke==null?void 0:Ke.anonymous_comment,Di=Nt=>{if(!Nt)return!1;const cn=Cr(Nt,Ke==null?void 0:Ke.anonymous_comment_settings);return(Ke==null?void 0:Ke.anonymous_comment)&&cn&&(cn==null?void 0:cn.evaluation_start)!==null},Ot=(Nt,cn)=>{var bn,rr,Fn;qt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Nt,index:cn,rangePickerDisabled:$t||(Xe()()<=Xe()((rr=Cr((bn=Nt==null?void 0:Nt.group_id)==null?void 0:bn[0]))==null?void 0:rr.publish_time)?!1:[!0,Gi((Fn=Nt==null?void 0:Nt.group_id)==null?void 0:Fn[0])]),disabledDate:Ke==null?void 0:Ke.course_end_date}})};return Ge.createElement("section",{className:Ut.Z.form},Ge.createElement("div",{className:Ut.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ge.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")),Ge.createElement("div",null,Ge.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ge.createElement(Ee.ZP.Group,{disabled:$t||!((un=Kt==null?void 0:Kt.homework_status)!=null&&un.includes("\u672A\u53D1\u5E03"))||(0,ot.Rm)()&&!((kn=Xt.AssistantObject.practice)!=null&&kn.can_publish),value:It.unified_setting,onChange:Nt=>{var cn;if(!((cn=Kt==null?void 0:Kt.homework_status)!=null&&cn.includes("\u672A\u53D1\u5E03"))){Ze.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(It.unified_setting=!It.unified_setting,It.unified_setting||(It.unified_late=!1,yt([{late_penalty:5}])),$n(Object.assign({},It)),It.unified_setting===!1&&gn==""){hr(gn.concat({}));return}It.unified_setting&&(hr([]),yt([{late_penalty:5}]))}},Ge.createElement(Ee.ZP,{value:!0,disabled:$t||!(Ke!=null&&Ke.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ge.createElement(Ee.ZP,{disabled:$t||!((yn=Ke==null?void 0:Ke.group_settings)!=null&&yn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Fe=Ke==null?void 0:Ke.group_settings)==null?void 0:Fe.length)===0&&Ge.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")),It.unified_setting&&Ge.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ge.createElement(ke.Z,{align:"middle"},Ge.createElement(ye.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml10"},Ge.createElement(Oe.default,{size:"large",disabled:$t||!((ce=Kt==null?void 0:Kt.homework_status)!=null&&ce.includes("\u672A\u53D1\u5E03")||(ue=Kt==null?void 0:Kt.homework_status)!=null&&ue.includes("\u672A\u5F00\u59CB"))||(0,ot.Rm)()&&!((pe=Xt.AssistantObject.practice)!=null&&pe.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:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date),disabledTime:Nt=>wt(Nt),value:It.publish_time?Xe()(It.publish_time):"",onChange:(Nt,cn)=>{It.publish_time=cn,(It.end_time==""||!It.end_time)&&It.unified_setting&&(It.end_time=Xe()(Nt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$n(Object.assign({},It))}}))),Ge.createElement(ke.Z,{align:"middle",className:"pl30"},Ge.createElement(ye.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml10"},Ge.createElement(Oe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Ke==null?void 0:Ke.allow_late)&&(Ke==null?void 0:Ke.homework_status.includes("\u5DF2\u622A\u6B62"))||$t||(Ke==null?void 0:Ke.allow_late)&&Xe()()>=Xe()(Ke==null?void 0:Ke.end_time)||(0,ot.Rm)()&&!((de=Xt.AssistantObject.practice)!=null&&de.can_publish),disabledDate:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date,It.publish_time),disabledTime:Nt=>wt(Nt,It.publish_time),value:It.end_time?Xe()(It.end_time):"",onChange:(Nt,cn)=>{It.end_time=cn,$n(Object.assign({},It))}})))),!It.unified_setting&&(gn==null?void 0:gn.length)>0&&Ge.createElement(ke.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},gn&&gn.map(function(Nt,cn){var bn,rr,Fn,ir,Xn,pt,At;return Ge.createElement(ye.Z,{span:24,key:cn},Ge.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:cn==(gn==null?void 0:gn.length)-1?"0px":"10px"}},Ge.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",cn+1),Ge.createElement(Re.default,{disabled:$t||((bn=Kt==null?void 0:Kt.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03")&&Nt.id||Xe()(){var fn;if((0,ot.Rm)()&&!((fn=Xt.AssistantObject.practice)!=null&&fn.can_publish)){Ze.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}gn[cn].group_name=Mt,gn[cn].group_id=Nt.group_id;const $e=(0,nt.flattenDeep)(gn.map(on=>on.group_name)),Ft=Er.map(on=>{let _t=(on==null?void 0:on.group_name)||[];return Kn(pn({},on),{group_name:(0,nt.remove)(_t,En=>$e.includes(En))})});yt(Ft),hr(gn.slice())},maxTagCount:4,maxTagPlaceholder:Mt=>Ge.createElement("div",{style:{cursor:"pointer"},onClick:()=>Ot(Nt,cn)},"+",Mt==null?void 0:Mt.length)},Ke.group_settings&&Ke.group_settings.map(function(Mt){if(!gn.map($e=>$e.group_name).flat().includes(Mt.group_name))return Ge.createElement(Tt,{value:Mt.group_name,key:Mt.id},Mt.group_name)})),Ge.createElement("div",{className:"ml20"},Ge.createElement(An,{size:"large",ranges:{\u6B64\u523B:[Nt.publish_time?Xe()(Nt.publish_time):Xe()(),Xe()()]},allowClear:!1,disabled:$t||(Xe()()<=Xe()((ir=Cr((Fn=Nt==null?void 0:Nt.group_id)==null?void 0:Fn[0]))==null?void 0:ir.publish_time)?!1:[!0,Gi((Xn=Nt==null?void 0:Nt.group_id)==null?void 0:Xn[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:Mt=>Ce(Mt,Ke==null?void 0:Ke.course_end_date),disabledTime:Mt=>wt(Mt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Xe()((0,ut.U6)(),"HH:mm"),Xe()((0,ut.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Nt.publish_time&&[Xe()(Nt.publish_time),Nt.end_time?Xe()(Nt.end_time):void 0],onChange:(Mt,fn)=>{var $e;if((0,ot.Rm)()&&!(($e=Xt.AssistantObject.practice)!=null&&$e.can_publish)){Ze.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}gn[cn].publish_time=fn[0],!Nt.end_time&&fn[0]?gn[cn].end_time=Xe()(fn[0]).add(7,"days"):gn[cn].end_time=fn[1],hr([...gn])},onCalendarChange:(Mt,fn,$e)=>{if(fn!=null&&fn[0]&&!fn[1]){const Ft=Xe()(fn[0]).add(7,"days");gn[cn].publish_time=fn[0],gn[cn].end_time=Ft,hr([...gn])}}})),!$t&&Ge.createElement("div",{style:{display:"flex",width:"50px"}},((pt=Nt==null?void 0:Nt.group_id)==null?void 0:pt.length)>1&&Ge.createElement(me.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ge.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Ot(Nt,cn)})),gn.length<((At=Ke==null?void 0:Ke.group_settings)==null?void 0:At.length)&&Ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Mt;if((0,ot.Rm)()&&!((Mt=Xt.AssistantObject.practice)!=null&&Mt.can_publish)){Ze.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}hr(gn.concat({}))}}),((Nt==null?void 0:Nt.publish_time)&&Xe()(){const Mt=(0,nt.cloneDeep)(Er);Mt.forEach((fn,$e)=>{fn.group_name&&(fn.group_name=fn.group_name.filter(Ft=>{var on;return!((on=gn[cn].group_name)!=null&&on.includes(Ft))}))}),gn=gn.filter((fn,$e)=>cn!==$e),yt(Mt),hr(gn.slice()),setTimeout(()=>hr(gn.slice()),10)}}))))}))),Ge.createElement(ke.Z,null,Ge.createElement(ye.Z,null,Ge.createElement("div",{className:Ut.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ge.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"))),Ge.createElement(ye.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ge.createElement(Le.default,{checked:It.allow_late,disabled:$t||oi,onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nt.target.checked&&ve.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ge.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ge.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"),Ge.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ge.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"))}),It.allow_late=!It.allow_late,Er==""&&yt([{late_penalty:5}]),$n(Object.assign({},It))}},Ge.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(It==null?void 0:It.allow_late)&&Ge.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ge.createElement("div",{style:{display:"flex"}},Ge.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ge.createElement(Ee.ZP.Group,{style:{marginLeft:"20px"},disabled:$t||(Ke==null?void 0:Ke.anonymous_comment)||(Ke==null?void 0:Ke.allow_late),value:It.unified_late,onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.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}It.unified_late=Nt.target.value,Er==""&&!Nt.target.value&&yt([{penalty_type:ht.Q.Percent,late_penalty:20}]),$n(pn({},It))}},(It==null?void 0:It.unified_setting)&&Ge.createElement(Ee.ZP,{value:!0,disabled:!(Ke!=null&&Ke.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((le=Ke==null?void 0:Ke.group_settings)==null?void 0:le.length)>0&&Ge.createElement(Ee.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),It!=null&&It.unified_late?Ge.createElement(Ge.Fragment,null,Ge.createElement(ke.Z,{align:"middle",style:{marginTop:"10px"}},Ge.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ge.createElement(ye.Z,{className:"ml20"},Ge.createElement(ht.Z,{disabled:$t||ea,value:{type:It.penalty_type,inputValue:It.late_penalty},onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.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}$n(Kn(pn({},It),{late_penalty:Nt.inputValue,penalty_type:Nt.type}))}})),Ge.createElement(ye.Z,{flex:"1",className:"ml5"},Ge.createElement("span",{className:"c-grey-c ml10"},It.penalty_type===ht.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)"))),Ge.createElement(ke.Z,{align:"middle",style:{marginTop:"15px"}},Ge.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml20"},Ge.createElement(Oe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:$t||ea,value:It.late_time?Xe()(It.late_time):"",disabledDate:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date),onChange:(Nt,cn)=>{var bn;if((0,ot.Rm)()&&!((bn=Xt.AssistantObject.practice)!=null&&bn.can_late)){Ze.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}It.late_time=cn,$n(Object.assign({},It))}})))):Er.map(function(Nt,cn){var bn;return Ge.createElement(ye.Z,{span:24,key:cn},Ge.createElement(ke.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ge.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",cn+1),Ge.createElement(Re.default,{disabled:$t||!((bn=Kt==null?void 0:Kt.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03"))&&Nt.id||(Ke==null?void 0:Ke.anonymous_comment),mode:"multiple",className:Ut.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Nt.group_name=="string"?[Nt.group_name]:Nt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:rr=>{var Fn;if((0,ot.Rm)()&&!((Fn=Xt.AssistantObject.practice)!=null&&Fn.can_late)){Ze.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}Er[cn].group_name=rr,Er[cn].group_id=Nt.group_id,yt(Er.slice())}},Ke.group_settings&&Ke.group_settings.map(function(rr){const Fn=Er.map(Xn=>Xn.group_name).flat(),ir=gn.map(Xn=>Xn.group_name).flat();if(It!=null&&It.unified_setting){if(!Fn.includes(rr.group_name))return Ge.createElement(Tt,{value:rr.group_name,key:rr.id},rr.group_name)}else if(ir.includes(rr.group_name)&&!Fn.includes(rr.group_name))return Ge.createElement(Tt,{value:rr.group_name,key:rr.id},rr.group_name)})),Ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ge.createElement(ht.Z,{disabled:$t||Di(Nt.id),value:{type:Nt.penalty_type,inputValue:Nt.late_penalty},onChange:rr=>{var Fn;if((0,ot.Rm)()&&!((Fn=Xt.AssistantObject.practice)!=null&&Fn.can_late)){Ze.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}Er[cn].late_penalty=rr.inputValue,Er[cn].penalty_type=rr.type,yt([...Er])}}),Ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ge.createElement(Oe.default,{size:"large",disabled:$t||Di(Nt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:rr=>Ce(rr,Ke==null?void 0:Ke.course_end_date),format:"YYYY-MM-DD HH:mm",value:Nt!=null&&Nt.late_time?Xe()(Nt.late_time):void 0,onChange:(rr,Fn)=>{var ir;if((0,ot.Rm)()&&!((ir=Xt.AssistantObject.practice)!=null&&ir.can_late)){Ze.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}Er[cn].late_time=Fn,yt([...Er])}}),!$t&&Ge.createElement("div",{style:{display:"flex",width:"50px"}},Ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var rr;if((0,ot.Rm)()&&!((rr=Xt.AssistantObject.practice)!=null&&rr.can_late)){Ze.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}yt(Er.concat({penalty_type:ht.Q.Percent,late_penalty:20}))}}),cn>0&&!Nt.id&&Ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var rr;if((0,ot.Rm)()&&!((rr=Xt.AssistantObject.practice)!=null&&rr.can_late)){Ze.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}Er=Er.filter((Fn,ir)=>cn!==ir),yt(Er.slice()),setTimeout(()=>yt(Er.slice()),10)}}))))})),!$t&&Ge.createElement(Ge.Fragment,null,Ge.createElement(mt.ZP,{type:"primary",size:"large",loading:kr,style:{width:"138px",marginTop:"30px"},onClick:()=>ri()},"\u4FDD\u5B58")),Ge.createElement(he.Z,{onConfirm:(Nt,cn)=>{gn.splice(Nt,0,...cn),gn.splice(Nt+cn.length,1);const bn=(0,ut.QE)([...gn]);hr([...bn])}}),Ge.createElement(je.Z,{resdata:Qn,type:"shixun",okloading:kr,oktext:(Qn==null?void 0:Qn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Nt=>tr(void 0,null,function*(){rn(!0);let cn=yield(0,dt.ZP)(`/api/courses/${De.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(De.categoryId)]}});rn(!1),(cn==null?void 0:cn.status)===0&&fi(_r)})}))};en.ZP=(0,at.connect)(({shixunHomeworks:ft,classroomList:Wt,loading:qt,user:Xt})=>({shixunHomeworks:ft,classroomList:Wt,loading:qt.effects,user:Xt}))(rt)},92882:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return nt}});var ae=ie(67294),Oe=ie(35973),Re=ie(34336),Ze=ie(14446),ve=ie(69677),Ee=ie(71230),ke=ie(15746),ye={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},me=ie(27484),Le=ie.n(me),mt=ie(28706),Ie=ie(26194),Xe=ie(67294);const{RangePicker:ot}=Re.default,dt=({dispatch:Me,classroomList:ut,onConfirm:Ut})=>{const[at,ht]=(0,ae.useState)([]),[we,he]=(0,ae.useState)([]),[je,Ve]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Ye;if(ut.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let We=ut.actionTabs.data;console.log("data",We);let St=(Ye=We==null?void 0:We.group_name)==null?void 0:Ye.map((lt,zt)=>{var Dt;return{group_id:We==null?void 0:We.group_id[zt],group_name:We==null?void 0:We.group_name[zt],is_admin:We==null?void 0:We.is_admin,end_time:We==null?void 0:We.end_time,publish_time:Array.isArray(We==null?void 0:We.publish_time)?(Dt=We==null?void 0:We.publish_time)==null?void 0:Dt[0]:We==null?void 0:We.publish_time}});St&&(ht([...St]),he([...St]))}},[ut.actionTabs]);const Ge=()=>{Me({type:"classroomList/setActionTabs",payload:{}}),Ve("")},qe=Ye=>{if(Ye){const We=we==null?void 0:we.filter(St=>{var lt,zt;return(zt=(lt=St==null?void 0:St.group_name)==null?void 0:lt.toLowerCase())==null?void 0:zt.includes(Ye==null?void 0:Ye.toLowerCase())});ht(We)}else ht(we)};return Xe.createElement(Ze.default,{width:980,title:Xe.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Xe.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Xe.createElement("span",{className:ye.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Xe.createElement(ve.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:je,onChange:Ye=>{Ve(Ye.target.value.trim()),qe(Ye.target.value.trim())}})),centered:!0,maskClosable:!1,open:ut.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ge(),onOk:()=>{var Ye;Ut((Ye=ut.actionTabs)==null?void 0:Ye.index,we),Ge()}},Xe.createElement("div",{className:ye.modal_con},Xe.createElement(Ee.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(at==null?void 0:at.length)>0?at.map(function(Ye,We){var St,lt;return Xe.createElement(ke.Z,{span:24,key:We},Xe.createElement(Ee.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:We==(at==null?void 0:at.length)-1?"0px":"10px"}},Xe.createElement("div",{className:ye.multiple_select,title:Ye.group_name},Ye.group_name),Xe.createElement("div",{className:"ml20"},Xe.createElement(ot,{size:"large",ranges:{\u6B64\u523B:[Ye.publish_time?Le()(Ye.publish_time):Le()(),Le()()]},allowClear:!1,disabled:(St=ut.actionTabs)==null?void 0:St.rangePickerDisabled,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:zt=>{var Dt;return(0,mt.Q8)(zt,(Dt=ut.actionTabs)==null?void 0:Dt.disabledDate)},disabledTime:zt=>(0,mt.d0)(zt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Le()((0,mt.U6)(),"HH:mm"),Le()((0,mt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ye.publish_time&&[Le()(Ye.publish_time),Ye.end_time?Le()(Ye.end_time):void 0],onChange:(zt,Dt)=>{at[We].publish_time=Dt[0],at[We].end_time=Dt[1],ht([...at]),we.forEach(pn=>{pn.group_id===Ye.group_id&&(pn.publish_time=Dt[0],pn.end_time=Dt[1])}),he([...we])}})),(lt=ut.actionTabs)!=null&<.rangePickerDisabled?Xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{at.splice(We,1),ht([...at]),we.forEach((zt,Dt)=>{zt.group_id===Ye.group_id&&we.splice(Dt,1)}),he([...we])}})))}):Xe.createElement(Ie.Z,null))))};var nt=(0,Oe.connect)(({classroomList:Me})=>({classroomList:Me}))(dt)},74648:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ve}});var ae=ie(67294),Oe=ie(2453),Re=ie(59810),Ze=ie(14446),ve=ie(71230),Ee=ie(34336),ke={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"},ye=ie(11320),me=ie(35973),Le=ie(80150),mt=ie(33170),Ie=ie(28706),Xe=ie(91304),ot=ie(27484),dt=ie.n(ot),nt=ie(17998),Me=Object.defineProperty,ut=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,ht=(Ge,qe,Ye)=>qe in Ge?Me(Ge,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ge[qe]=Ye,we=(Ge,qe)=>{for(var Ye in qe||(qe={}))Ut.call(qe,Ye)&&ht(Ge,Ye,qe[Ye]);if(ut)for(var Ye of ut(qe))at.call(qe,Ye)&&ht(Ge,Ye,qe[Ye]);return Ge},he=(Ge,qe,Ye)=>new Promise((We,St)=>{var lt=pn=>{try{Dt(Ye.next(pn))}catch(Kn){St(Kn)}},zt=pn=>{try{Dt(Ye.throw(pn))}catch(Kn){St(Kn)}},Dt=pn=>pn.done?We(pn.value):Promise.resolve(pn.value).then(lt,zt);Dt((Ye=Ye.apply(Ge,qe)).next())}),Ve=({visible:Ge,data:qe,onClose:Ye=()=>{},onSuccess:We=()=>{}})=>{const[St,lt]=(0,ae.useState)([]),[zt,Dt]=(0,ae.useState)(""),[pn,Kn]=(0,ae.useState)(""),[tr,it]=(0,ae.useState)(""),[Ce,wt]=(0,ae.useState)(!1),An=(0,me.useParams)();(0,ae.useEffect)(()=>{var yn;Ge&&(it((qe==null?void 0:qe.description)||""),Dt((qe==null?void 0:qe.start_at)||""),Kn((qe==null?void 0:qe.end_at)||""),lt(((yn=qe==null?void 0:qe.attachments)==null?void 0:yn.map(Fe=>({name:Fe.name||Fe.title,status:"done",response:{id:Fe.id}})))||[]))},[Ge]);const Tt={multiple:!0,withCredentials:!0,fileList:St,beforeUpload:yn=>yn.size/1024/1024>150?(Oe.ZP.error(`\u300A${yn.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Re.default.LIST_IGNORE):!0,action:`${ye.Z.API_SERVER}/api/attachments.json`,onChange(yn){lt((0,Ie.uD)(yn))}},rt=()=>he(void 0,null,function*(){if(!zt||!pn){Oe.ZP.warning(`\u8BF7\u9009\u62E9${Xt}`);return}wt(!0),console.log(St,"fileList");const yn=yield(0,mt.ZP)(`/api/graduations/${An.id}/graduation_stages/${qe.id}.json`,{method:"put",body:{start_at:zt,end_at:pn,description:tr,attachment_ids:St.map(Fe=>{var ce;return(ce=Fe==null?void 0:Fe.response)==null?void 0:ce.id})}});if((yn==null?void 0:yn.status)===0){Oe.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,me.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:An==null?void 0:An.id}}),We();return}wt(!1)});console.log(qe,"data");const ft=[{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"}],Wt=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],qt=St.some(yn=>!(yn!=null&&yn.response)),{timeName:Xt,text:Ht,width:un,key:kn}=(ft==null?void 0:ft.find(yn=>yn.key===(qe==null?void 0:qe.clazz)))||{};return ae.createElement(Ze.default,{centered:!0,destroyOnClose:!0,confirmLoading:Ce,okButtonProps:{disabled:qt},onCancel:Ye,onOk:rt,open:Ge,title:`${qe.name}\u8BBE\u7F6E`,width:un,afterClose:()=>{lt([]),Dt(""),it(""),Kn(""),wt(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},ae.createElement("div",{className:ke.wrap},ae.createElement("div",{className:ke.label},ae.createElement("span",null,"*"),Xt),ae.createElement(ve.Z,{align:"middle",className:Wt.includes(kn)?"mb20":""},ae.createElement(Ee.default,{format:"YYYY-MM-DD HH:mm",value:zt?dt()(zt):"",disabledDate:yn=>(0,nt.Q8)(yn,"",qe==null?void 0:qe.disabled_time),disabledTime:yn=>(0,nt.d0)(yn,qe==null?void 0:qe.disabled_time),showTime:{format:"HH:mm"},onChange:(yn,Fe)=>{Dt(Fe)}}),ae.createElement("span",{className:"ml10 mr10"},"\u81F3"),ae.createElement(Ee.default,{format:"YYYY-MM-DD HH:mm",value:pn?dt()(pn):"",disabledDate:yn=>(0,nt.Q8)(yn,"",qe==null?void 0:qe.disabled_time),disabledTime:yn=>(0,nt.d0)(yn,qe==null?void 0:qe.disabled_time),showTime:{format:"HH:mm"},onChange:(yn,Fe)=>{Kn(Fe)}}),ae.createElement("span",{className:`${kn==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},Ht)),Wt.includes(kn)&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:ke.label},"\u9636\u6BB5\u63CF\u8FF0"),ae.createElement(Xe.Z,{height:140,defaultValue:tr,onChange:yn=>{it(yn)}}),ae.createElement(Re.default,we({},Tt),ae.createElement(ve.Z,{align:"middle",className:"mt10"},ae.createElement(Le.op,{style:{borderRadius:2}},ae.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),ae.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:yn=>{yn.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"))))))}},78207:function(mn,en,ie){"use strict";ie.d(en,{rX:function(){return ht},pW:function(){return we},gy:function(){return he},xY:function(){return at},O5:function(){return Ut},tJ:function(){return ot},o1:function(){return dt},Rd:function(){return ut}});var ae=ie(35973),Oe=ie(14446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o7/54gu1wqy1uBhdHyeOBqPyJhhao059VywoKJZTN/RcYGxBTPNTUCW0Vyf0rGjR1g8WNa/ow/a7IkZbh02shKusyCzmKUdMTr0hN3srzVRWlpS7PS11HT8EVJdVe06nd5b2Jq4CSgddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Le=ie.p+"static/newqrcode.a8740efb.png",mt=ie(32637),Ie=ie(67294),Xe=(je,Ve,Ge)=>new Promise((qe,Ye)=>{var We=zt=>{try{lt(Ge.next(zt))}catch(Dt){Ye(Dt)}},St=zt=>{try{lt(Ge.throw(zt))}catch(Dt){Ye(Dt)}},lt=zt=>zt.done?qe(zt.value):Promise.resolve(zt.value).then(We,St);lt((Ge=Ge.apply(je,Ve)).next())});const ot=(je,Ve=!1)=>!!(dt(je)&&nt(Ve)),dt=je=>(0,ve.bg)()?!0:(je({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),nt=(je=!1)=>{var Ve;const{user:Ge}=(0,ae.getDvaApp)()._store.getState();return(Ve=Ge.userInfo)!=null&&Ve.profile_completed?!0:(Oe.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,Ee.xg)("/account/profile/edit"),Me()}}),!1)},Me=()=>{Oe.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()}})},ut=()=>{Oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ie.createElement("div",{style:{textAlign:"center"}},Ie.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"),Ie.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:mt}),Ie.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ut=()=>{var je;const{user:Ve}=(0,ae.getDvaApp)()._store.getState();return(je=Ve.userInfo)!=null&&je.professional_certification?!0:(Oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ie.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,Ee.xg)("/account/certification")}}),!1)},at=()=>(0,ve.V9)()?!0:(Oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ie.createElement("div",{className:"tc",style:{marginLeft:-38}},Ie.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ie.createElement("img",{src:Le,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ht=(je,Ve)=>je?!0:(Oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ie.createElement("div",null,Ie.createElement("p",null,Ve||"\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"),Ie.createElement("div",{style:{marginLeft:"110px"}},Ie.createElement("img",{src:me,width:200}),Ie.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ee.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),we=je=>{Oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ie.createElement("div",null,Ie.createElement("div",null,Ie.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"),Ie.createElement(Re.Z,null),Ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ie.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 ",Ie.createElement("a",null,je),"\u5929\u3002"),Ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ie.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")),Ie.createElement("div",{style:{textAlign:"center",marginTop:30}},Ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})))})},he=(je,Ve="")=>{const{shixunsDetail:{detail:Ge}}=(0,ae.getDvaApp)()._store.getState();if((Ge==null?void 0:Ge.public)===2||(Ge==null?void 0:Ge.public)===1||(Ge==null?void 0:Ge.shixun_status)===3){let qe="";return(Ge==null?void 0:Ge.public)===2&&(qe="\u5DF2\u516C\u5F00"),(Ge==null?void 0:Ge.public)===1&&(qe="\u5F85\u5BA1\u6838"),(Ge==null?void 0:Ge.shixun_status)===3&&(qe="\u5DF2\u5173\u95ED"),Oe.default.info({centered:!0,icon:Ie.createElement(ke.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ie.createElement("div",{className:"tc",style:{marginLeft:-38}},Ie.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",qe,"\uFF0C",Ve,"\u3002"),Ie.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ge==null?void 0:Ge.shixun_status)===2?(Oe.default.confirm({centered:!0,icon:Ie.createElement(ke.Z,null),title:"\u63D0\u793A",content:Ie.createElement("div",null,Ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ve,"\u3002"),Ie.createElement("br",null),Ie.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:()=>{Oe.default.confirm({width:440,centered:!0,icon:Ie.createElement(ke.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:()=>Xe(void 0,null,function*(){(yield je({type:"shixunsDetail/cancelRelease",payload:{id:Ge==null?void 0:Ge.identifier}})).status!==401&&(Ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),je({type:"shixunsDetail/getShixunsDetail",payload:{id:Ge==null?void 0:Ge.identifier}}),je({type:"practiceSetting/getCommonData",payload:{id:Ge==null?void 0:Ge.identifier}}))})})}}),!0):!1}},57838:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(){const[,Re]=ae.useReducer(Ze=>Ze+1,0);return Re}},9708:function(mn,en,ie){"use strict";ie.d(en,{F:function(){return ve},Z:function(){return Ze}});var ae=ie(94184),Oe=ie.n(ae);const Re=null;function Ze(Ee,ke,ye){return Oe()({[`${Ee}-status-success`]:ke==="success",[`${Ee}-status-warning`]:ke==="warning",[`${Ee}-status-error`]:ke==="error",[`${Ee}-status-validating`]:ke==="validating",[`${Ee}-has-feedback`]:ye})}const ve=(Ee,ke)=>ke||Ee},84567:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return je}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(95860),Ze=ie(67294),ve=ie(53124),Ee=ie(98866),ke=ie(65223),me=Ze.createContext(null),Le=ie(63185),mt=ie(45353),Ie=ie(92429),Xe=function(Ve,Ge){var qe={};for(var Ye in Ve)Object.prototype.hasOwnProperty.call(Ve,Ye)&&Ge.indexOf(Ye)<0&&(qe[Ye]=Ve[Ye]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ye=Object.getOwnPropertySymbols(Ve);We{var qe;const{prefixCls:Ye,className:We,rootClassName:St,children:lt,indeterminate:zt=!1,style:Dt,onMouseEnter:pn,onMouseLeave:Kn,skipGroup:tr=!1,disabled:it}=Ve,Ce=Xe(Ve,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:wt,direction:An,checkbox:Tt}=Ze.useContext(ve.E_),rt=Ze.useContext(me),{isFormItemInput:ft}=Ze.useContext(ke.aM),Wt=Ze.useContext(Ee.Z),qt=(qe=(rt==null?void 0:rt.disabled)||it)!==null&&qe!==void 0?qe:Wt,Xt=Ze.useRef(Ce.value);Ze.useEffect(()=>{rt==null||rt.registerValue(Ce.value)},[]),Ze.useEffect(()=>{if(!tr)return Ce.value!==Xt.current&&(rt==null||rt.cancelValue(Xt.current),rt==null||rt.registerValue(Ce.value),Xt.current=Ce.value),()=>rt==null?void 0:rt.cancelValue(Ce.value)},[Ce.value]);const Ht=wt("checkbox",Ye),[un,kn]=(0,Le.ZP)(Ht),yn=Object.assign({},Ce);rt&&!tr&&(yn.onChange=function(){Ce.onChange&&Ce.onChange.apply(Ce,arguments),rt.toggleOption&&rt.toggleOption({label:lt,value:Ce.value})},yn.name=rt.name,yn.checked=rt.value.includes(Ce.value));const Fe=Oe()(`${Ht}-wrapper`,{[`${Ht}-rtl`]:An==="rtl",[`${Ht}-wrapper-checked`]:yn.checked,[`${Ht}-wrapper-disabled`]:qt,[`${Ht}-wrapper-in-form-item`]:ft},Tt==null?void 0:Tt.className,We,St,kn),ce=Oe()({[`${Ht}-indeterminate`]:zt},Ie.A,kn),ue=zt?"mixed":void 0;return un(Ze.createElement(mt.Z,{component:"Checkbox",disabled:qt},Ze.createElement("label",{className:Fe,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Dt),onMouseEnter:pn,onMouseLeave:Kn},Ze.createElement(Re.Z,Object.assign({"aria-checked":ue},yn,{prefixCls:Ht,className:ce,disabled:qt,ref:Ge})),lt!==void 0&&Ze.createElement("span",null,lt))))};var nt=Ze.forwardRef(ot),Me=ie(74902),ut=ie(10366),Ut=function(Ve,Ge){var qe={};for(var Ye in Ve)Object.prototype.hasOwnProperty.call(Ve,Ye)&&Ge.indexOf(Ye)<0&&(qe[Ye]=Ve[Ye]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ye=Object.getOwnPropertySymbols(Ve);We{const{defaultValue:qe,children:Ye,options:We=[],prefixCls:St,className:lt,rootClassName:zt,style:Dt,onChange:pn}=Ve,Kn=Ut(Ve,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:tr,direction:it}=Ze.useContext(ve.E_),[Ce,wt]=Ze.useState(Kn.value||qe||[]),[An,Tt]=Ze.useState([]);Ze.useEffect(()=>{"value"in Kn&&wt(Kn.value||[])},[Kn.value]);const rt=Ze.useMemo(()=>We.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[We]),ft=pe=>{Tt(de=>de.filter(le=>le!==pe))},Wt=pe=>{Tt(de=>[].concat((0,Me.Z)(de),[pe]))},qt=pe=>{const de=Ce.indexOf(pe.value),le=(0,Me.Z)(Ce);de===-1?le.push(pe.value):le.splice(de,1),"value"in Kn||wt(le),pn==null||pn(le.filter(De=>An.includes(De)).sort((De,Ke)=>{const Et=rt.findIndex(Kt=>Kt.value===De),Yt=rt.findIndex(Kt=>Kt.value===Ke);return Et-Yt}))},Xt=tr("checkbox",St),Ht=`${Xt}-group`,[un,kn]=(0,Le.ZP)(Xt),yn=(0,ut.Z)(Kn,["value","disabled"]),Fe=We.length?rt.map(pe=>Ze.createElement(nt,{prefixCls:Xt,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:Kn.disabled,value:pe.value,checked:Ce.includes(pe.value),onChange:pe.onChange,className:`${Ht}-item`,style:pe.style,title:pe.title},pe.label)):Ye,ce={toggleOption:qt,value:Ce,disabled:Kn.disabled,name:Kn.name,registerValue:Wt,cancelValue:ft},ue=Oe()(Ht,{[`${Ht}-rtl`]:it==="rtl"},lt,zt,kn);return un(Ze.createElement("div",Object.assign({className:ue,style:Dt},yn,{ref:Ge}),Ze.createElement(me.Provider,{value:ce},Fe)))},ht=Ze.forwardRef(at);var we=Ze.memo(ht);const he=nt;he.Group=we,he.__ANT_CHECKBOX=!0;var je=he},63185:function(mn,en,ie){"use strict";ie.d(en,{C2:function(){return ve}});var ae=ie(14747),Oe=ie(45503),Re=ie(67968);const Ze=Ee=>{const{checkboxCls:ke}=Ee,ye=`${ke}-wrapper`;return[{[`${ke}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ee.marginXS,[`> ${Ee.antCls}-row`]:{flex:1}}),[ye]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ye}`]:{marginInlineStart:0},[`&${ye}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ke]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ee.borderRadiusSM,alignSelf:"center",[`${ke}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ke}-inner`]:Object.assign({},(0,ae.oN)(Ee))},[`${ke}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ee.checkboxSize,height:Ee.checkboxSize,direction:"ltr",backgroundColor:Ee.colorBgContainer,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ee.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ee.checkboxSize/14*5,height:Ee.checkboxSize/14*8,border:`${Ee.lineWidthBold}px solid ${Ee.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ee.motionDurationFast} ${Ee.motionEaseInBack}, opacity ${Ee.motionDurationFast}`}},"& + span":{paddingInlineStart:Ee.paddingXS,paddingInlineEnd:Ee.paddingXS}})},{[` ${ye}:not(${ye}-disabled), ${ke}:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{borderColor:Ee.colorPrimary}},[`${ye}:not(${ye}-disabled)`]:{[`&:hover ${ke}-checked:not(${ke}-disabled) ${ke}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ke}-checked:not(${ke}-disabled):after`]:{borderColor:Ee.colorPrimaryHover}}},{[`${ke}-checked`]:{[`${ke}-inner`]:{backgroundColor:Ee.colorPrimary,borderColor:Ee.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ee.motionDurationMid} ${Ee.motionEaseOutBack} ${Ee.motionDurationFast}`}}},[` ${ye}-checked:not(${ye}-disabled), ${ke}-checked:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"}}},{[ke]:{"&-indeterminate":{[`${ke}-inner`]:{backgroundColor:Ee.colorBgContainer,borderColor:Ee.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ee.fontSizeLG/2,height:Ee.fontSizeLG/2,backgroundColor:Ee.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ye}-disabled`]:{cursor:"not-allowed"},[`${ke}-disabled`]:{[`&, ${ke}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ke}-inner`]:{background:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,"&:after":{borderColor:Ee.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ee.colorTextDisabled},[`&${ke}-indeterminate ${ke}-inner::after`]:{background:Ee.colorTextDisabled}}}]};function ve(Ee,ke){const ye=(0,Oe.TS)(ke,{checkboxCls:`.${Ee}`,checkboxSize:ke.controlInteractiveSize});return[Ze(ye)]}en.ZP=(0,Re.Z)("Checkbox",(Ee,ke)=>{let{prefixCls:ye}=ke;return[ve(ye,Ee)]})},88258:function(mn,en,ie){"use strict";var ae=ie(67294),Oe=ie(53124),Re=ie(32983);const Ze=ve=>{const{componentName:Ee}=ve,{getPrefixCls:ke}=(0,ae.useContext)(Oe.E_),ye=ke("empty");switch(Ee){case"Table":case"List":return ae.createElement(Re.Z,{image:Re.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ae.createElement(Re.Z,{image:Re.Z.PRESENTED_IMAGE_SIMPLE,className:`${ye}-small`});default:return ae.createElement(Re.Z,null)}};en.Z=Ze},34336:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ja}});var ae=ie(97909),Oe=ie.n(ae),Re=ie(68291),Ze=ie(33088),ve=ie.n(Ze),Ee=ie(26850),ke=ie.n(Ee),ye=ie(23082),me=ie.n(ye),Le=ie(99873),mt=ie.n(Le),Ie=ie(86625),Xe=ie.n(Ie),ot=ie(40618),dt=ie.n(ot);Oe().extend(dt()),Oe().extend(Xe()),Oe().extend(ve()),Oe().extend(ke()),Oe().extend(me()),Oe().extend(mt()),Oe().extend(function(be,Be){var Pe=Be.prototype,gt=Pe.format;Pe.format=function(vn){var ln=(vn||"").replace("Wo","wo");return gt.bind(this)(ln)}});var nt={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"},Me=function(Be){var Pe=nt[Be];return Pe||Be.split("_")[0]},ut=function(){(0,Re.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Ut={getNow:function(){return Oe()()},getFixedDate:function(Be){return Oe()(Be,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Be){return Be.endOf("month")},getWeekDay:function(Be){var Pe=Be.locale("en");return Pe.weekday()+Pe.localeData().firstDayOfWeek()},getYear:function(Be){return Be.year()},getMonth:function(Be){return Be.month()},getDate:function(Be){return Be.date()},getHour:function(Be){return Be.hour()},getMinute:function(Be){return Be.minute()},getSecond:function(Be){return Be.second()},addYear:function(Be,Pe){return Be.add(Pe,"year")},addMonth:function(Be,Pe){return Be.add(Pe,"month")},addDate:function(Be,Pe){return Be.add(Pe,"day")},setYear:function(Be,Pe){return Be.year(Pe)},setMonth:function(Be,Pe){return Be.month(Pe)},setDate:function(Be,Pe){return Be.date(Pe)},setHour:function(Be,Pe){return Be.hour(Pe)},setMinute:function(Be,Pe){return Be.minute(Pe)},setSecond:function(Be,Pe){return Be.second(Pe)},isAfter:function(Be,Pe){return Be.isAfter(Pe)},isValidate:function(Be){return Be.isValid()},locale:{getWeekFirstDay:function(Be){return Oe()().locale(Me(Be)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Be,Pe){return Pe.locale(Me(Be)).weekday(0)},getWeek:function(Be,Pe){return Pe.locale(Me(Be)).week()},getShortWeekDays:function(Be){return Oe()().locale(Me(Be)).localeData().weekdaysMin()},getShortMonths:function(Be){return Oe()().locale(Me(Be)).localeData().monthsShort()},format:function(Be,Pe,gt){return Pe.locale(Me(Be)).format(gt)},parse:function(Be,Pe,gt){for(var vt=Me(Be),vn=0;vn1&&(ln=Be.addDate(ln,-7)),ln}function gn(be,Be,Pe){var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Be){case"year":return Pe.addYear(be,gt*10);case"quarter":case"month":return Pe.addYear(be,gt);default:return Pe.addMonth(be,gt)}}function hr(be,Be){var Pe=Be.generateConfig,gt=Be.locale,vt=Be.format;return typeof vt=="function"?vt(be):Pe.locale.format(gt.locale,be,vt)}function Er(be,Be){var Pe=Be.generateConfig,gt=Be.locale,vt=Be.formatList;return!be||typeof vt[0]=="function"?null:Pe.locale.parse(gt.locale,be,vt)}function yt(be){var Be=be.cellDate,Pe=be.mode,gt=be.disabledDate,vt=be.generateConfig;if(!gt)return!1;var vn=function(br,Rn,fr){for(var Rr=Rn;Rr<=fr;){var Ur=void 0;switch(br){case"date":{if(Ur=vt.setDate(Be,Rr),!gt(Ur))return!1;break}case"month":{if(Ur=vt.setMonth(Be,Rr),!yt({cellDate:Ur,mode:"month",generateConfig:vt,disabledDate:gt}))return!1;break}case"year":{if(Ur=vt.setYear(Be,Rr),!yt({cellDate:Ur,mode:"year",generateConfig:vt,disabledDate:gt}))return!1;break}}Rr+=1}return!0};switch(Pe){case"date":case"week":return gt(Be);case"month":{var ln=1,Un=vt.getDate(vt.getEndDate(Be));return vn("date",ln,Un)}case"quarter":{var Cn=Math.floor(vt.getMonth(Be)/3)*3,hn=Cn+2;return vn("month",Cn,hn)}case"year":return vn("month",0,11);case"decade":{var nr=vt.getYear(Be),Dn=Math.floor(nr/ce)*ce,Pn=Dn+ce-1;return vn("year",Dn,Pn)}}}function It(be,Be){var Pe=Be.formatList,gt=Be.generateConfig,vt=Be.locale;return(0,yn.Z)(function(){if(!be)return[[""],""];for(var vn="",ln=[],Un=0;Un1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(hn.current),Rr){Cn(fr);return}hn.current=requestAnimationFrame(function(){Cn(fr)})}var Dn=It(Un,{formatList:Pe,generateConfig:gt,locale:vt}),Pn=(0,Ht.Z)(Dn,2),vr=Pn[1];function br(fr){nr(fr)}function Rn(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;nr(null,fr)}return(0,he.useEffect)(function(){Rn(!0)},[be]),(0,he.useEffect)(function(){return function(){return cancelAnimationFrame(hn.current)}},[]),[vr,br,Rn]}var Qn=ie(92389),wr=ie(96523),_r=ie(74902),ei=ie(48130),Xr=new Map;function ri(be,Be){var Pe;function gt(){(0,ei.Z)(be)?Be():Pe=(0,wr.Z)(function(){gt()})}return gt(),function(){wr.Z.cancel(Pe)}}function fi(be,Be,Pe){if(Xr.get(be)&&cancelAnimationFrame(Xr.get(be)),Pe<=0){Xr.set(be,requestAnimationFrame(function(){be.scrollTop=Be}));return}var gt=Be-be.scrollTop,vt=gt/Pe*10;Xr.set(be,requestAnimationFrame(function(){be.scrollTop+=vt,be.scrollTop!==Be&&fi(be,Be,Pe-10)}))}function Cr(be,Be){var Pe=Be.onLeftRight,gt=Be.onCtrlLeftRight,vt=Be.onUpDown,vn=Be.onPageUpDown,ln=Be.onEnter,Un=be.which,Cn=be.ctrlKey,hn=be.metaKey;switch(Un){case Qn.Z.LEFT:if(Cn||hn){if(gt)return gt(-1),!0}else if(Pe)return Pe(-1),!0;break;case Qn.Z.RIGHT:if(Cn||hn){if(gt)return gt(1),!0}else if(Pe)return Pe(1),!0;break;case Qn.Z.UP:if(vt)return vt(-1),!0;break;case Qn.Z.DOWN:if(vt)return vt(1),!0;break;case Qn.Z.PAGE_UP:if(vn)return vn(-1),!0;break;case Qn.Z.PAGE_DOWN:if(vn)return vn(1),!0;break;case Qn.Z.ENTER:if(ln)return ln(),!0;break}return!1}function yi(be,Be,Pe,gt){var vt=be;if(!vt)switch(Be){case"time":vt=gt?"hh:mm:ss a":"HH:mm:ss";break;case"week":vt="gggg-wo";break;case"month":vt="YYYY-MM";break;case"quarter":vt="YYYY-[Q]Q";break;case"year":vt="YYYY";break;default:vt=Pe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return vt}function Gi(be,Be,Pe){var gt=be==="time"?8:10,vt=typeof Be=="function"?Be(Pe.getNow()).length:Be.length;return Math.max(gt,vt)+2}var oi=null,ea=new Set;function Di(be){return!oi&&typeof window!="undefined"&&window.addEventListener&&(oi=function(Pe){(0,_r.Z)(ea).forEach(function(gt){gt(Pe)})},window.addEventListener("mousedown",oi)),ea.add(be),function(){ea.delete(be),ea.size===0&&(window.removeEventListener("mousedown",oi),oi=null)}}function Ot(be){var Be=be.target;if(be.composed&&Be.shadowRoot){var Pe;return((Pe=be.composedPath)===null||Pe===void 0?void 0:Pe.call(be)[0])||Be}return Be}var Nt=function(Be){return Be==="month"||Be==="date"?"year":Be},cn=function(Be){return Be==="date"?"month":Be},bn=function(Be){return Be==="month"||Be==="date"?"quarter":Be},rr=function(Be){return Be==="date"?"week":Be},Fn={year:Nt,month:cn,quarter:bn,week:rr,time:null,date:null};function ir(be,Be){return be.some(function(Pe){return Pe&&Pe.contains(Be)})}function Xn(be){var Be=be.open,Pe=be.value,gt=be.isClickOutside,vt=be.triggerOpen,vn=be.forwardKeyDown,ln=be.onKeyDown,Un=be.blurToCancel,Cn=be.onSubmit,hn=be.onCancel,nr=be.onFocus,Dn=be.onBlur,Pn=be.changeOnBlur,vr=(0,he.useState)(!1),br=(0,Ht.Z)(vr,2),Rn=br[0],fr=br[1],Rr=(0,he.useState)(!1),Ur=(0,Ht.Z)(Rr,2),ii=Ur[0],bi=Ur[1],Pi=(0,he.useRef)(!1),Si=(0,he.useRef)(!1),ui=(0,he.useRef)(!1),va={onMouseDown:function(){fr(!0),vt(!0)},onKeyDown:function(Ka){var Ya=function(){ui.current=!0};if(ln(Ka,Ya),!ui.current){switch(Ka.which){case Qn.Z.ENTER:{Be?Cn()!==!1&&fr(!0):vt(!0),Ka.preventDefault();return}case Qn.Z.TAB:{Rn&&Be&&!Ka.shiftKey?(fr(!1),Ka.preventDefault()):!Rn&&Be&&!vn(Ka)&&Ka.shiftKey&&(fr(!0),Ka.preventDefault());return}case Qn.Z.ESC:{fr(!0),hn();return}}!Be&&![Qn.Z.SHIFT].includes(Ka.which)?vt(!0):Rn||vn(Ka)}},onFocus:function(Ka){fr(!0),bi(!0),nr&&nr(Ka)},onBlur:function(Ka){if(Pi.current||!gt(document.activeElement)){Pi.current=!1;return}Un?setTimeout(function(){for(var Ya=document,La=Ya.activeElement;La&&La.shadowRoot;)La=La.shadowRoot.activeElement;gt(La)&&hn()},0):Be&&(vt(!1),Si.current&&Cn()),bi(!1),Dn==null||Dn(Ka)}};return(0,he.useEffect)(function(){Si.current=!1},[Be]),(0,he.useEffect)(function(){Si.current=!0},[Pe]),(0,he.useEffect)(function(){return Di(function(ca){var Ka=Ot(ca),Ya=gt(Ka);Be&&(Ya?!Pn&&(!ii||Ya)&&vt(!1):(Pi.current=!0,(0,wr.Z)(function(){Pi.current=!1})))})}),[va,{focused:ii,typing:Rn}]}function pt(be,Be){return he.useMemo(function(){return be||(Be?((0,Re.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Be).map(function(Pe){var gt=(0,Ht.Z)(Pe,2),vt=gt[0],vn=gt[1];return{label:vt,value:vn}})):[])},[be,Be])}var At=ie(14075);function Mt(be){var Be=be.valueTexts,Pe=be.onTextChange,gt=he.useState(""),vt=(0,Ht.Z)(gt,2),vn=vt[0],ln=vt[1],Un=he.useRef([]);Un.current=Be;function Cn(nr){ln(nr),Pe(nr)}function hn(){ln(Un.current[0])}return(0,At.Z)(function(){Be.every(function(nr){return nr!==vn})&&hn()},[Be.join("||")]),[vn,Cn,hn]}var fn=he.createContext({}),$e=fn,Ft=ie(71002);function on(be){var Be=be.cellRender,Pe=be.monthCellRender,gt=be.dateRender,vt=he.useMemo(function(){if(Be)return Be;if(!(!Pe&&!gt))return function(vn,ln){var Un=vn;return gt&&ln.type==="date"?gt(Un,ln.today):Pe&&ln.type==="month"?Pe(Un,ln.locale):ln.originNode}},[Be,Pe,gt]);return vt}function _t(be,Be){for(var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",gt=String(be);gt.length=1?Pe|0:1,ln=be;ln<=Be;ln+=vn)vt.push({label:_t(ln,2),value:ln,disabled:(gt||[]).includes(ln)});return vt}function Ji(be){var Be=be.generateConfig,Pe=be.prefixCls,gt=be.operationRef,vt=be.activeColumnIndex,vn=be.value,ln=be.showHour,Un=be.showMinute,Cn=be.showSecond,hn=be.use12Hours,nr=be.hourStep,Dn=nr===void 0?1:nr,Pn=be.minuteStep,vr=Pn===void 0?1:Pn,br=be.secondStep,Rn=br===void 0?1:br,fr=be.disabledHours,Rr=be.disabledMinutes,Ur=be.disabledSeconds,ii=be.disabledTime,bi=be.hideDisabledOptions,Pi=be.onSelect,Si=be.cellRender,ui=be.locale,va=[],ca="".concat(Pe,"-content"),Ka="".concat(Pe,"-time-panel"),Ya,La=vn?Be.getHour(vn):-1,oa=La,Ra=vn?Be.getMinute(vn):-1,Fa=vn?Be.getSecond(vn):-1,ya=Be.getNow(),Ia=he.useMemo(function(){if(ii){var zi=ii(ya);return[zi.disabledHours,zi.disabledMinutes,zi.disabledSeconds]}return[fr,Rr,Ur]},[fr,Rr,Ur,ii,ya]),za=(0,Ht.Z)(Ia,3),uo=za[0],go=za[1],To=za[2],us=ki(0,23,Dn,uo&&uo()),ss=(0,yn.Z)(function(){return us},us,Da);hn&&(Ya=oa>=12,oa%=12);var _o=he.useMemo(function(){if(!hn)return[!1,!1];var zi=[!0,!0];return ss.forEach(function(Qa){var xo=Qa.disabled,Yo=Qa.value;xo||(Yo>=12?zi[1]=!1:zi[0]=!1)}),zi},[hn,ss]),Do=(0,Ht.Z)(_o,2),ps=Do[0],Oo=Do[1],Ma=he.useMemo(function(){return hn?ss.filter(Ya?function(zi){return zi.value>=12}:function(zi){return zi.value<12}).map(function(zi){var Qa=zi.value%12,xo=Qa===0?"12":_t(Qa,2);return(0,Xt.Z)((0,Xt.Z)({},zi),{},{label:xo,value:Qa})}):ss},[hn,Ya,ss]),ba=ki(0,59,vr,go&&go(La)),Bo=ki(0,59,Rn,To&&To(La,Ra)),Ao=Xi({value:vn,generateConfig:Be,disabledMinutes:go,disabledSeconds:To,minutes:ba,seconds:Bo,use12Hours:hn});gt.current={onUpDown:function(Qa){var xo=va[vt];if(xo)for(var Yo=xo.units.findIndex(function(Sl){return Sl.value===xo.value}),Ho=xo.units.length,Zo=1;Zo2&&arguments[2]!==void 0?arguments[2]:!1;(cs===fr||ns)&&(Bl(Zi),va&&va(Zi),Ao&&Ao(Zi,eo),ca&&!gr(Cn,Zi,zs)&&!(vr!=null&&vr(Zi))&&ca(Zi))},ts=function(Zi){if(tn.includes(cs)){var eo,ns,hl=cs==="date";switch(Zi===Qn.Z.PAGE_UP||Zi===Qn.Z.PAGE_DOWN?ns=hl?Cn.addMonth:Cn.addYear:ns=hl?Cn.addDate:Cn.addMonth,Zi){case Qn.Z.LEFT:case Qn.Z.PAGE_UP:eo=ns(Ds,-1);break;case Qn.Z.RIGHT:case Qn.Z.PAGE_DOWN:eo=ns(Ds,1);break;case Qn.Z.UP:case Qn.Z.DOWN:eo=ns(Ds,Number("".concat(Zi===Qn.Z.UP?"-":"").concat(hl?pe:Vi)));break}if(eo)return!(vr!=null&&vr(eo))}return!0},Os=function(Zi){if(Zo.current&&Zo.current.onKeyDown){var eo=!0,ns=Zi.which;if([Qn.Z.LEFT,Qn.Z.RIGHT,Qn.Z.UP,Qn.Z.DOWN,Qn.Z.PAGE_UP,Qn.Z.PAGE_DOWN,Qn.Z.ENTER].includes(ns)&&(Zi.preventDefault(),ns!==Qn.Z.ENTER&&Ur===0&&(eo=ts(ns))),eo)return Zo.current.onKeyDown(Zi)}return(0,Re.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},jo=function(Zi){Zo.current&&Zo.current.onBlur&&Zo.current.onBlur(Zi)};Bo&&xo!=="right"&&(Bo.current={onKeyDown:Os,onClose:function(){Zo.current&&Zo.current.onClose&&Zo.current.onClose()}}),he.useEffect(function(){hn&&!Es.current&&dl(hn)},[hn]),he.useEffect(function(){Es.current=!1},[]);var Gs,ml=on({cellRender:_o,monthCellRender:ss,dateRender:us}),Co=(0,Xt.Z)((0,Xt.Z)({},be),{},{cellRender:ml,operationRef:Zo,prefixCls:vt,viewDate:Ds,value:zs,onViewDateChange:Hs,sourceMode:Qs,onPanelChange:fs,disabledDate:vr});switch(delete Co.onChange,delete Co.onSelect,cs){case"decade":Gs=he.createElement(Ti,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"year":Gs=he.createElement(qr,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"month":Gs=he.createElement(et,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"quarter":Gs=he.createElement(Jr,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"week":Gs=he.createElement(er,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"time":delete Co.showTime,Gs=he.createElement(Oi,(0,we.Z)({},Co,(0,Ft.Z)(bi)==="object"?bi:null,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;default:bi?Gs=he.createElement(Mn,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}})):Gs=he.createElement(ra,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}))}var gl,sl,Ws=function(){var Zi=Cn.getNow(),eo=jt(Cn.getHour(Zi),Cn.getMinute(Zi),Cn.getSecond(Zi),ps?Ia:1,Oo?uo:1,Ma?To:1),ns=Rt(Cn,Zi,eo[0],eo[1],eo[2]);Wa(ns,"submit")};Ta||(gl=Ue(vt,cs,Si),bi&&cs!=="date"?sl=null:sl=tt({prefixCls:vt,components:Ra,needConfirmButton:Do,okDisabled:!zs||vr&&vr(zs),locale:Un,showNow:ii,onNow:Do&&Ws,onOk:function(){zs&&(Wa(zs,"submit",!0),oa&&oa(zs))}}));var _l;if(Pi&&cs==="date"&&fr==="date"&&!bi){var Cl=Cn.getNow(),fl="".concat(vt,"-today-btn"),El=vr&&vr(Cl);_l=he.createElement("a",{className:wt()(fl,El&&"".concat(fl,"-disabled")),"aria-disabled":El,onClick:function(){El||Wa(Cl,"mouse",!0)}},Un.today)}return he.createElement($e.Provider,{value:(0,Xt.Z)((0,Xt.Z)({},ba),{},{mode:cs,hideHeader:"hideHeader"in be?ui:ba.hideHeader,hidePrevBtn:Qa&&xo==="right",hideNextBtn:Qa&&xo==="left"})},he.createElement("div",{tabIndex:Ur,className:wt()("".concat(vt,"-panel"),vn,(Be={},(0,qt.Z)(Be,"".concat(vt,"-panel-has-range"),Yo&&Yo[0]&&Yo[1]),(0,qt.Z)(Be,"".concat(vt,"-panel-has-range-hover"),Ho&&Ho[0]&&Ho[1]),(0,qt.Z)(Be,"".concat(vt,"-panel-rtl"),Fa==="rtl"),Be)),style:ln,onKeyDown:Os,onBlur:jo,onMouseDown:Ya},Gs,gl||sl||_l?he.createElement("div",{className:"".concat(vt,"-footer")},gl,sl,_l):null))}var xn=Pt,Zn=ie(62709),Jn={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 yr(be){var Be,Pe=be.prefixCls,gt=be.popupElement,vt=be.popupStyle,vn=be.visible,ln=be.dropdownClassName,Un=be.dropdownAlign,Cn=be.transitionName,hn=be.getPopupContainer,nr=be.children,Dn=be.range,Pn=be.popupPlacement,vr=be.direction,br="".concat(Pe,"-dropdown"),Rn=function(){return Pn!==void 0?Pn:vr==="rtl"?"bottomRight":"bottomLeft"};return he.createElement(Zn.Z,{showAction:[],hideAction:[],popupPlacement:Rn(),builtinPlacements:Jn,prefixCls:br,popupTransitionName:Cn,popup:gt,popupAlign:Un,popupVisible:vn,popupClassName:wt()(ln,(Be={},(0,qt.Z)(Be,"".concat(br,"-range"),Dn),(0,qt.Z)(Be,"".concat(br,"-rtl"),vr==="rtl"),Be)),popupStyle:vt,getPopupContainer:hn},nr)}var xt=yr;function ct(be){var Be=be.prefixCls,Pe=be.presets,gt=be.onClick,vt=be.onHover;return Pe.length?he.createElement("div",{className:"".concat(Be,"-presets")},he.createElement("ul",null,Pe.map(function(vn,ln){var Un=vn.label,Cn=vn.value;return he.createElement("li",{key:ln,onClick:function(){return gt==null?void 0:gt(Lr(Cn))},onMouseEnter:function(){return vt==null?void 0:vt(Lr(Cn))},onMouseLeave:function(){return vt==null?void 0:vt(null)}},Un)}))):null}function Lt(be){var Be=be.picker,Pe=be.disabledHours,gt=be.disabledMinutes,vt=be.disabledSeconds;Be==="time"&&(Pe||gt||vt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function dn(be,Be,Pe){var gt=(0,Ft.Z)(Be)==="object"?Be.clearIcon:Pe;return gt||he.createElement("span",{className:"".concat(be,"-clear-btn")})}function qn(be){var Be,Pe=be,gt=Pe.prefixCls,vt=gt===void 0?"rc-picker":gt,vn=Pe.id,ln=Pe.name,Un=Pe.tabIndex,Cn=Pe.style,hn=Pe.className,nr=Pe.dropdownClassName,Dn=Pe.dropdownAlign,Pn=Pe.popupStyle,vr=Pe.transitionName,br=Pe.generateConfig,Rn=Pe.locale,fr=Pe.inputReadOnly,Rr=Pe.allowClear,Ur=Pe.autoFocus,ii=Pe.showTime,bi=Pe.picker,Pi=bi===void 0?"date":bi,Si=Pe.format,ui=Pe.use12Hours,va=Pe.value,ca=Pe.defaultValue,Ka=Pe.presets,Ya=Pe.open,La=Pe.defaultOpen,oa=Pe.defaultOpenValue,Ra=Pe.suffixIcon,Fa=Pe.clearIcon,ya=Pe.disabled,Ia=Pe.disabledDate,za=Pe.placeholder,uo=Pe.getPopupContainer,go=Pe.pickerRef,To=Pe.panelRender,us=Pe.onChange,ss=Pe.onOpenChange,_o=Pe.onFocus,Do=Pe.onBlur,ps=Pe.onMouseDown,Oo=Pe.onMouseUp,Ma=Pe.onMouseEnter,ba=Pe.onMouseLeave,Bo=Pe.onContextMenu,Ao=Pe.onClick,Ta=Pe.onKeyDown,$a=Pe.onSelect,zi=Pe.direction,Qa=Pe.autoComplete,xo=Qa===void 0?"off":Qa,Yo=Pe.inputRender,Ho=Pe.changeOnBlur,Zo=he.useRef(null),Es=Pi==="date"&&!!ii||Pi==="time",Sl=pt(Ka),al=Sn(yi(Si,Pi,ii,ui)),zs=he.useRef(null),Bl=he.useRef(null),Au=he.useRef(null),zl=(0,un.Z)(null,{value:va,defaultValue:ca}),Ds=(0,Ht.Z)(zl,2),dl=Ds[0],Hs=Ds[1],Hl=he.useState(dl),Ll=(0,Ht.Z)(Hl,2),Ks=Ll[0],cs=Ll[1],Ts=he.useRef(null),es=(0,un.Z)(!1,{value:Ya,defaultValue:La,postState:function(Hi){return ya?!1:Hi},onChange:function(Hi){ss&&ss(Hi),!Hi&&Ts.current&&Ts.current.onClose&&Ts.current.onClose()}}),Ys=(0,Ht.Z)(es,2),Qs=Ys[0],ol=Ys[1],fs=It(Ks,{formatList:al,generateConfig:br,locale:Rn}),Wa=(0,Ht.Z)(fs,2),ts=Wa[0],Os=Wa[1],jo=Mt({valueTexts:ts,onTextChange:function(Hi){var Bs=Er(Hi,{locale:Rn,formatList:al,generateConfig:br});Bs&&(!Ia||!Ia(Bs))&&cs(Bs)}}),Gs=(0,Ht.Z)(jo,3),ml=Gs[0],Co=Gs[1],gl=Gs[2],sl=function(Hi){cs(Hi),Hs(Hi),us&&!gr(br,dl,Hi)&&us(Hi,Hi?hr(Hi,{generateConfig:br,locale:Rn,format:al[0]}):"")},Ws=function(Hi){ya&&Hi||ol(Hi)},_l=function(Hi){return Qs&&Ts.current&&Ts.current.onKeyDown?Ts.current.onKeyDown(Hi):((0,Re.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Cl=function(){for(var Hi=arguments.length,Bs=new Array(Hi),Js=0;JsPn(hn);case"month":return Dn(Rn)>Dn(hn);case"week":return nr(Rn)>nr(hn);default:return!Kt(Un,Rn,hn)&&Un.isAfter(Rn,hn)}return!1},[vn,ln[1],hn,Be]),br=he.useCallback(function(Rn){if(ln[1]||vn&&vn(Rn))return!0;if(ln[0]&&Cn)return!Kt(Un,Rn,hn)&&Un.isAfter(Cn,Rn);if(!Be&&Cn)switch(Pe){case"quarter":return Pn(Rn)0&&arguments[0]!==void 0?arguments[0]:!1,da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Na=null;ms&&No&&No[0]&&No[1]&&Rn.isAfter(No[1],No[0])&&(Na=No);var ko=ui;if(ui&&(0,Ft.Z)(ui)==="object"&&ui.defaultValue){var Uo=ui.defaultValue;ko=(0,Xt.Z)((0,Xt.Z)({},ui),{},{defaultValue:Bn(Uo,Ua)||void 0})}return he.createElement(zr.Provider,{value:{inRange:!0,panelPosition:Mo,rangedValue:dd||Za,hoverRangedValue:Na}},he.createElement(xn,(0,we.Z)({},be,da,{cellRender:Wl,showTime:ko,mode:hl[Ua],generateConfig:Rn,style:void 0,direction:Ds,disabledDate:Ua===0?Ni:Xs,disabledTime:function(js){return Ia?Ia(js,Ua===0?"start":"end"):!1},className:wt()((0,qt.Z)({},"".concat(ln,"-panel-focused"),Ua===0?!gu:!Tl)),value:Bn(Za,Ua),locale:fr,tabIndex:-1,onPanelChange:function(js,au){Ua===0&&cc(!0),Ua===1&&mu(!0),Yl(Qr(hl,au,Ua),Qr(Za,js,Ua));var Vl=js;Mo==="right"&&hl[Ua]===au&&(Vl=gn(Vl,au,Rn,-1)),Cl(Vl,Ua)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ua===0?Bn(Za,1):Bn(Za,0)})))}var Ol=0,vo=0;if(Ua&&es.current&&Qs.current&&Ts.current&&Wa.current){Ol=es.current.offsetWidth+Qs.current.offsetWidth;var ju=Wa.current.offsetLeft>Ol?Wa.current.offsetLeft-Ol:Wa.current.offsetLeft,Zl=Ts.current.offsetWidth,Vu=Wa.current.offsetWidth;Zl&&Vu&&Ol>Zl-Vu-(Ds==="rtl"?0:ju)&&(vo=Ol)}var Br=Ds==="rtl"?{right:Ol}:{left:Ol};function pd(){var Mo,da=Ue(ln,hl[Ua],Ao),Na=tt({prefixCls:ln,components:Au,needConfirmButton:Ks,okDisabled:!Bn(Za,Ua)||ya&&ya(Za[Ua]),locale:fr,onOk:function(){var pl=Bn(Za,Ua);pl&&(Js(Za,Ua),zs==null||zs(Za),vl(!1,Ua,"confirm"))}});if(Si!=="time"&&!ui){var ko=_l(Ua),Uo=gn(ko,Si,Rn),bs=hl[Ua],js=bs===Si,au=yu(js?"left":!1,{pickerValue:ko,onPickerValueChange:function(pl){Cl(pl,Ua)}}),Vl=yu("right",{pickerValue:Uo,onPickerValueChange:function(pl){Cl(gn(pl,Si,Rn,-1),Ua)}});Ds==="rtl"?Mo=he.createElement(he.Fragment,null,Vl,js&&au):Mo=he.createElement(he.Fragment,null,au,js&&Vl)}else Mo=yu();var Ml=he.createElement("div",{className:"".concat(ln,"-panel-layout")},he.createElement(ct,{prefixCls:ln,presets:Wd,onClick:function(pl){Js(pl,null),vl(!1,Ua,"preset")},onHover:function(pl){pu(pl)}}),he.createElement("div",null,he.createElement("div",{className:"".concat(ln,"-panels")},Mo),(da||Na)&&he.createElement("div",{className:"".concat(ln,"-footer")},da,Na)));return To&&(Ml=To(Ml)),he.createElement("div",{className:"".concat(ln,"-panel-container"),style:{marginLeft:vo},ref:Ts,onMouseDown:function(pl){pl.preventDefault()}},Ml)}var md=he.createElement("div",{className:wt()("".concat(ln,"-range-wrapper"),"".concat(ln,"-").concat(Si,"-range-wrapper")),style:{minWidth:wo}},he.createElement("div",{ref:Wa,className:"".concat(ln,"-range-arrow"),style:Br}),pd()),kc;ps&&(kc=he.createElement("span",{className:"".concat(ln,"-suffix"),onMouseDown:function(da){da.preventDefault()}},ps));var Yc=dn(ln,Do,Oo),iu=he.createElement("span",{onMouseDown:function(da){da.preventDefault(),da.stopPropagation()},onMouseUp:function(da){da.preventDefault(),da.stopPropagation();var Na=Co;jo[0]||(Na=Qr(Na,null,0)),jo[1]||(Na=Qr(Na,null,1)),Js(Na,null),vl(!1,Ua,"clear")},className:"".concat(ln,"-clear"),role:"button"},Yc),hc=Do&&(Bn(Co,0)&&!jo[0]||Bn(Co,1)&&!jo[1]),gd={size:Gi(Si,ts[0],Rn)},Ls=0,jl=0;es.current&&Ys.current&&Qs.current&&(Ua===0?jl=es.current.offsetWidth:(Ls=Ol,jl=Ys.current.offsetWidth));var Dc=Ds==="rtl"?{right:Ls}:{left:Ls},Bc=function(da,Na){var ko=Qr(Za,da,Ua);if(Na==="submit"||Na!=="key"&&!Ks){Js(ko,Ua),Ua===0?cc():mu();var Uo=Ua===0?1:0;jo[Uo]?vl(!1,!1,"confirm"):vl(!1,Ua,"confirm")}else Zi(ko)};return he.createElement($e.Provider,{value:{operationRef:Os,hideHeader:Si==="time",onDateMouseEnter:ci,onDateMouseLeave:Uc,hideRanges:!0,onSelect:Bc,open:ms}},he.createElement(xt,{visible:ms,popupElement:md,popupStyle:nr,prefixCls:ln,dropdownClassName:Dn,dropdownAlign:vr,getPopupContainer:br,transitionName:Pn,range:!0,direction:Ds},he.createElement("div",(0,we.Z)({ref:cs,className:wt()(ln,"".concat(ln,"-range"),hn,(Be={},(0,qt.Z)(Be,"".concat(ln,"-disabled"),jo[0]&&jo[1]),(0,qt.Z)(Be,"".concat(ln,"-focused"),Ua===0?ru:vu),(0,qt.Z)(Be,"".concat(ln,"-rtl"),Ds==="rtl"),Be)),style:Cn,onClick:Zu,onMouseEnter:Es,onMouseLeave:Sl,onMouseDown:Gc,onMouseUp:Zo},(0,kn.Z)(be,{aria:!0,data:!0})),he.createElement("div",{className:wt()("".concat(ln,"-input"),(Pe={},(0,qt.Z)(Pe,"".concat(ln,"-input-active"),Ua===0),(0,qt.Z)(Pe,"".concat(ln,"-input-placeholder"),!!jc),Pe)),ref:es},he.createElement("input",(0,we.Z)({id:Un,disabled:jo[0],readOnly:ba||typeof ts[0]=="function"||!gu,value:jc||$l,onChange:function(da){Kc(da.target.value)},autoFocus:Ur,placeholder:Bn(Rr,0)||"",ref:ol},nu,gd,{autoComplete:Hl}))),he.createElement("div",{className:"".concat(ln,"-range-separator"),ref:Qs},Ka),he.createElement("div",{className:wt()("".concat(ln,"-input"),(gt={},(0,qt.Z)(gt,"".concat(ln,"-input-active"),Ua===1),(0,qt.Z)(gt,"".concat(ln,"-input-placeholder"),!!Cc),gt)),ref:Ys},he.createElement("input",(0,we.Z)({disabled:jo[1],readOnly:ba||typeof ts[0]=="function"||!Tl,value:Cc||Fl,onChange:function(da){Lu(da.target.value)},placeholder:Bn(Rr,1)||"",ref:fs},Zs,gd,{autoComplete:Hl}))),he.createElement("div",{className:"".concat(ln,"-active-bar"),style:(0,Xt.Z)((0,Xt.Z)({},Dc),{},{width:jl,position:"absolute"})}),kc,hc&&iu)))}var Li=function(be){(0,ft.Z)(Pe,be);var Be=(0,Wt.Z)(Pe);function Pe(){var gt;(0,An.Z)(this,Pe);for(var vt=arguments.length,vn=new Array(vt),ln=0;ln{const{lineHeight:vt}=be,vn=Math.floor(Pe*vt)+2,ln=Math.max((Be-vn)/2,0),Un=Math.max(Be-vn-ln,0);return{padding:`${ln}px ${gt}px ${Un}px`}},Ja=be=>{const{componentCls:Be,pickerCellCls:Pe,pickerCellInnerCls:gt,cellHeight:vt,motionDurationSlow:vn,borderRadiusSM:ln,motionDurationMid:Un,cellHoverBg:Cn,lineWidth:hn,lineType:nr,colorPrimary:Dn,cellActiveWithRangeBg:Pn,colorTextLightSolid:vr,controlHeightSM:br,cellRangeBorderColor:Rn,pickerCellBorderGap:fr,cellHoverWithRangeBg:Rr,cellWidth:Ur,colorTextDisabled:ii,cellBgDisabled:bi}=be;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:vt,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'},[gt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:vt,height:vt,lineHeight:`${vt}px`,borderRadius:ln,transition:`background ${Un}, border ${Un}`},"&-range-hover-start, &-range-hover-end":{[gt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Pe}-in-view), &:hover:not(${Pe}-selected):not(${Pe}-range-start):not(${Pe}-range-end):not(${Pe}-range-hover-start):not(${Pe}-range-hover-end)`]:{[gt]:{background:Cn}},[`&-in-view${Pe}-today ${gt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${hn}px ${nr} ${Dn}`,borderRadius:ln,content:'""'}},[`&-in-view${Pe}-in-range`]:{position:"relative","&::before":{background:Pn}},[`&-in-view${Pe}-selected ${gt}, &-in-view${Pe}-range-start ${gt}, &-in-view${Pe}-range-end ${gt}`]:{color:vr,background:Dn},[`&-in-view${Pe}-range-start:not(${Pe}-range-start-single), &-in-view${Pe}-range-end:not(${Pe}-range-end-single)`]:{"&::before":{background:Pn}},[`&-in-view${Pe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Pe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Pe}-range-hover-start:not(${Pe}-in-range):not(${Pe}-range-start):not(${Pe}-range-end), &-in-view${Pe}-range-hover-end:not(${Pe}-in-range):not(${Pe}-range-start):not(${Pe}-range-end), &-in-view${Pe}-range-hover-start${Pe}-range-start-single, &-in-view${Pe}-range-hover-start${Pe}-range-start${Pe}-range-end${Pe}-range-end-near-hover, &-in-view${Pe}-range-hover-end${Pe}-range-start${Pe}-range-end${Pe}-range-start-near-hover, &-in-view${Pe}-range-hover-end${Pe}-range-end-single, &-in-view${Pe}-range-hover:not(${Pe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:br,borderTop:`${hn}px dashed ${Rn}`,borderBottom:`${hn}px dashed ${Rn}`,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:fr},[`&-in-view${Pe}-in-range${Pe}-range-hover::before, &-in-view${Pe}-in-range${Pe}-range-hover-start::before, &-in-view${Pe}-in-range${Pe}-range-hover-end::before, &-in-view${Pe}-range-start${Pe}-range-hover::before, &-in-view${Pe}-range-end${Pe}-range-hover::before, &-in-view${Pe}-range-start:not(${Pe}-range-start-single)${Pe}-range-hover-start::before, &-in-view${Pe}-range-end:not(${Pe}-range-end-single)${Pe}-range-hover-end::before, ${Be}-panel > :not(${Be}-date-panel) &-in-view${Pe}-in-range${Pe}-range-hover-start::before, ${Be}-panel > :not(${Be}-date-panel) &-in-view${Pe}-in-range${Pe}-range-hover-end::before`]:{background:Rr},[`&-in-view${Pe}-range-start:not(${Pe}-range-start-single):not(${Pe}-range-end) ${gt}`]:{borderStartStartRadius:ln,borderEndStartRadius:ln,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Pe}-range-end:not(${Pe}-range-end-single):not(${Pe}-range-start) ${gt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ln,borderEndEndRadius:ln},[`&-range-hover${Pe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Pe}-range-hover:first-child::after, tr > &-in-view${Pe}-range-hover-end:first-child::after, &-in-view${Pe}-start${Pe}-range-hover-edge-start${Pe}-range-hover-edge-start-near-range::after, &-in-view${Pe}-range-hover-edge-start:not(${Pe}-range-hover-edge-start-near-range)::after, &-in-view${Pe}-range-hover-start::after`]:{insetInlineStart:(Ur-vt)/2,borderInlineStart:`${hn}px dashed ${Rn}`,borderStartStartRadius:ln,borderEndStartRadius:ln},[`tr > &-in-view${Pe}-range-hover:last-child::after, tr > &-in-view${Pe}-range-hover-start:last-child::after, &-in-view${Pe}-end${Pe}-range-hover-edge-end${Pe}-range-hover-edge-end-near-range::after, &-in-view${Pe}-range-hover-edge-end:not(${Pe}-range-hover-edge-end-near-range)::after, &-in-view${Pe}-range-hover-end::after`]:{insetInlineEnd:(Ur-vt)/2,borderInlineEnd:`${hn}px dashed ${Rn}`,borderStartEndRadius:ln,borderEndEndRadius:ln},"&-disabled":{color:ii,pointerEvents:"none",[gt]:{background:"transparent"},"&::before":{background:bi}},[`&-disabled${Pe}-today ${gt}::before`]:{borderColor:ii}}},Ba=be=>{const{componentCls:Be,pickerCellCls:Pe,pickerCellInnerCls:gt,pickerYearMonthCellWidth:vt,pickerControlIconSize:vn,cellWidth:ln,paddingSM:Un,paddingXS:Cn,paddingXXS:hn,colorBgContainer:nr,lineWidth:Dn,lineType:Pn,borderRadiusLG:vr,colorPrimary:br,colorTextHeading:Rn,colorSplit:fr,pickerControlIconBorderWidth:Rr,colorIcon:Ur,textHeight:ii,motionDurationMid:bi,colorIconHover:Pi,fontWeightStrong:Si,cellHeight:ui,pickerCellPaddingVertical:va,colorTextDisabled:ca,colorText:Ka,fontSize:Ya,cellHoverWithRangeBg:La,motionDurationSlow:oa,withoutTimeCellHeight:Ra,pickerQuarterPanelContentHeight:Fa,colorLink:ya,colorLinkActive:Ia,colorLinkHover:za,cellRangeBorderColor:uo,borderRadiusSM:go,colorTextLightSolid:To,cellHoverBg:us,timeColumnHeight:ss,timeColumnWidth:_o,timeCellHeight:Do,controlItemBgActive:ps,marginXXS:Oo,pickerDatePanelPaddingHorizontal:Ma}=be,ba=ln*7+Ma*2,Bo=(ba-Cn*2)/3-vt-Un,Ao=(ba-Cn*2)/4-vt;return{[Be]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:nr,border:`${Dn}px ${Pn} ${fr}`,borderRadius:vr,outline:"none","&-focused":{borderColor:br},"&-rtl":{direction:"rtl",[`${Be}-prev-icon, ${Be}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Be}-next-icon, ${Be}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-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:ba},"&-header":{display:"flex",padding:`0 ${Cn}px`,color:Rn,borderBottom:`${Dn}px ${Pn} ${fr}`,"> *":{flex:"none"},button:{padding:0,color:Ur,lineHeight:`${ii}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${bi}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Ya,"&:hover":{color:Pi}},"&-view":{flex:"auto",fontWeight:Si,lineHeight:`${ii}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Cn},"&:hover":{color:br}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:vn,height:vn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:Rr,borderBlockEndWidth:0,borderInlineStartWidth:Rr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(vn/2),insetInlineStart:Math.ceil(vn/2),display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:Rr,borderBlockEndWidth:0,borderInlineStartWidth:Rr,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ui,fontWeight:"normal"},th:{height:ui+va*2,color:Ka,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${va}px 0`,color:ca,cursor:"pointer","&-in-view":{color:Ka}},Ja(be)),[`&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-start ${gt}, &-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-end ${gt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:La,transition:`all ${oa}`,content:'""'}},[`&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-start ${gt}::after`]:{insetInlineEnd:-(ln-ui)/2,insetInlineStart:0},[`&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-end ${gt}::after`]:{insetInlineEnd:0,insetInlineStart:-(ln-ui)/2},[`&-range-hover${Be}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Be}-content`]:{height:Ra*4},[gt]:{padding:`0 ${Cn}px`}},"&-quarter-panel":{[`${Be}-content`]:{height:Fa},[`${Be}-cell-range-hover-start::after`]:{insetInlineStart:Ao,borderInlineStart:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineEnd:Ao,borderInlineEnd:`${Dn}px dashed ${uo}`}},[`${Be}-cell-range-hover-end::after`]:{insetInlineEnd:Ao,borderInlineEnd:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineStart:Ao,borderInlineStart:`${Dn}px dashed ${uo}`}}},[`&-panel ${Be}-footer`]:{borderTop:`${Dn}px ${Pn} ${fr}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${ii-2*Dn}px`,textAlign:"center","&-extra":{padding:`0 ${Un}px`,lineHeight:`${ii-2*Dn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Dn}px ${Pn} ${fr}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:ya,"&:hover":{color:za},"&:active":{color:Ia},[`&${Be}-today-btn-disabled`]:{color:ca,cursor:"not-allowed"}},"&-decade-panel":{[gt]:{padding:`0 ${Cn/2}px`},[`${Be}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Be}-body`]:{padding:`0 ${Cn}px`},[gt]:{width:vt},[`${Be}-cell-range-hover-start::after`]:{borderStartStartRadius:go,borderEndStartRadius:go,borderStartEndRadius:0,borderEndEndRadius:0,[`${Be}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:go,borderEndEndRadius:go}},[`${Be}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:go,borderEndEndRadius:go,[`${Be}-panel-rtl &`]:{borderStartStartRadius:go,borderEndStartRadius:go,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Be}-cell-range-hover-start::after`]:{insetInlineStart:Bo,borderInlineStart:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineEnd:Bo,borderInlineEnd:`${Dn}px dashed ${uo}`}},[`${Be}-cell-range-hover-end::after`]:{insetInlineEnd:Bo,borderInlineEnd:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineStart:Bo,borderInlineStart:`${Dn}px dashed ${uo}`}}},"&-week-panel":{[`${Be}-body`]:{padding:`${Cn}px ${Un}px`},[`${Be}-cell`]:{[`&:hover ${gt}, &-selected ${gt}, ${gt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${bi}`},"&:first-child:before":{borderStartStartRadius:go,borderEndStartRadius:go},"&:last-child:before":{borderStartEndRadius:go,borderEndEndRadius:go}},"&:hover td":{"&:before":{background:us}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Pe}`]:{"&:before":{background:br},[`&${Be}-cell-week`]:{color:new ao.C(To).setAlpha(.5).toHexString()},[gt]:{color:To}}},"&-range-hover td:before":{background:ps}}},"&-date-panel":{[`${Be}-body`]:{padding:`${Cn}px ${Ma}px`},[`${Be}-content`]:{width:ln*7,th:{width:ln,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Be}-time-panel`]:{borderInlineStart:`${Dn}px ${Pn} ${fr}`},[`${Be}-date-panel, ${Be}-time-panel`]:{transition:`opacity ${oa}`},"&-active":{[`${Be}-date-panel, ${Be}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Be}-content`]:{display:"flex",flex:"auto",height:ss},"&-column":{flex:"1 0 auto",width:_o,margin:`${hn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${bi}`,overflowX:"hidden","&::after":{display:"block",height:ss-Do,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Dn}px ${Pn} ${fr}`},"&-active":{background:new ao.C(ps).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Be}-time-panel-cell`]:{marginInline:Oo,[`${Be}-time-panel-cell-inner`]:{display:"block",width:_o-2*Oo,height:Do,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(_o-Do)/2,color:Ka,lineHeight:`${Do}px`,borderRadius:go,cursor:"pointer",transition:`background ${bi}`,"&:hover":{background:us}},"&-selected":{[`${Be}-time-panel-cell-inner`]:{background:ps}},"&-disabled":{[`${Be}-time-panel-cell-inner`]:{color:ca,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Be}-time-panel-column:after`]:{height:ss-Do+hn*2}}}},Va=be=>{const{componentCls:Be,colorBgContainer:Pe,colorError:gt,errorActiveShadow:vt,colorWarning:vn,warningActiveShadow:ln}=be;return{[`${Be}:not(${Be}-disabled)`]:{[`&${Be}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Pe,borderColor:gt},[`&${Be}-focused, &:focus`]:Object.assign({},(0,no.M1)((0,aa.TS)(be,{activeBorderColor:gt,activeShadow:vt}))),[`${Be}-active-bar`]:{background:gt}},[`&${Be}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Pe,borderColor:vn},[`&${Be}-focused, &:focus`]:Object.assign({},(0,no.M1)((0,aa.TS)(be,{activeBorderColor:vn,activeShadow:ln}))),[`${Be}-active-bar`]:{background:vn}}}}},na=be=>{const{componentCls:Be,antCls:Pe,controlHeight:gt,fontSize:vt,paddingInline:vn,colorBgContainer:ln,lineWidth:Un,lineType:Cn,colorBorder:hn,borderRadius:nr,motionDurationMid:Dn,colorBgContainerDisabled:Pn,colorTextDisabled:vr,colorTextPlaceholder:br,controlHeightLG:Rn,fontSizeLG:fr,controlHeightSM:Rr,paddingInlineSM:Ur,paddingXS:ii,marginXS:bi,colorTextDescription:Pi,lineWidthBold:Si,lineHeight:ui,colorPrimary:va,motionDurationSlow:ca,zIndexPopup:Ka,paddingXXS:Ya,paddingSM:La,textHeight:oa,cellActiveWithRangeBg:Ra,colorPrimaryBorder:Fa,sizePopupArrow:ya,borderRadiusXS:Ia,borderRadiusOuter:za,colorBgElevated:uo,borderRadiusLG:go,boxShadowSecondary:To,borderRadiusSM:us,colorSplit:ss,cellHoverBg:_o,presetsWidth:Do,presetsMaxWidth:ps,boxShadowPopoverArrow:Oo,colorTextQuaternary:Ma}=be;return[{[Be]:Object.assign(Object.assign(Object.assign({},(0,ro.Wf)(be)),ma(be,gt,vt,vn)),{position:"relative",display:"inline-flex",alignItems:"center",background:ln,lineHeight:1,border:`${Un}px ${Cn} ${hn}`,borderRadius:nr,transition:`border ${Dn}, box-shadow ${Dn}`,"&:hover, &-focused":Object.assign({},(0,no.pU)(be)),"&-focused":Object.assign({},(0,no.M1)(be)),[`&${Be}-disabled`]:{background:Pn,borderColor:hn,cursor:"not-allowed",[`${Be}-suffix`]:{color:Ma}},[`&${Be}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Be}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,no.ik)(be)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Be}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:br}}},"&-large":Object.assign(Object.assign({},ma(be,Rn,fr,vn)),{[`${Be}-input > input`]:{fontSize:fr}}),"&-small":Object.assign({},ma(be,Rr,vt,Ur)),[`${Be}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ii/2,color:vr,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:bi}}},[`${Be}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:vr,lineHeight:1,background:ln,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Dn}, color ${Dn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Pi}},[`${Be}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:fr,color:vr,fontSize:fr,verticalAlign:"top",cursor:"default",[`${Be}-focused &`]:{color:Pi},[`${Be}-range-separator &`]:{[`${Be}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Be}-clear`]:{insetInlineEnd:vn},"&:hover":{[`${Be}-clear`]:{opacity:1}},[`${Be}-active-bar`]:{bottom:-Un,height:Si,marginInlineStart:vn,background:va,opacity:0,transition:`all ${ca} ease-out`,pointerEvents:"none"},[`&${Be}-focused`]:{[`${Be}-active-bar`]:{opacity:1}},[`${Be}-range-separator`]:{alignItems:"center",padding:`0 ${ii}px`,lineHeight:1},[`&${Be}-small`]:{[`${Be}-clear`]:{insetInlineEnd:Ur},[`${Be}-active-bar`]:{marginInlineStart:Ur}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ro.Wf)(be)),Ba(be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ka,[`&${Be}-dropdown-hidden`]:{display:"none"},[`&${Be}-dropdown-placement-bottomLeft`]:{[`${Be}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Be}-dropdown-placement-topLeft`]:{[`${Be}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-topLeft, &${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-topRight, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-topLeft, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-topRight`]:{animationName:Wi.Qt},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-bottomLeft, &${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-bottomRight, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-bottomLeft, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-bottomRight`]:{animationName:Wi.fJ},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-topLeft, &${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-topRight`]:{animationName:Wi.ly},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-bottomLeft, &${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-bottomRight`]:{animationName:Wi.Uw},[`${Be}-panel > ${Be}-time-panel`]:{paddingTop:Ya},[`${Be}-ranges`]:{marginBottom:0,padding:`${Ya}px ${La}px`,overflow:"hidden",lineHeight:`${oa-2*Un-ii/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Be}-preset > ${Pe}-tag-blue`]:{color:va,background:Ra,borderColor:Fa,cursor:"pointer"},[`${Be}-ok`]:{marginInlineStart:"auto"}},[`${Be}-range-wrapper`]:{display:"flex",position:"relative"},[`${Be}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:vn*1.5,transition:`left ${ca} ease-out`},(0,Ha.r)(ya,Ia,za,uo,Oo)),[`${Be}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:uo,borderRadius:go,boxShadow:To,transition:`margin ${ca}`,[`${Be}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Be}-presets`]:{display:"flex",flexDirection:"column",minWidth:Do,maxWidth:ps,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:ii,borderInlineEnd:`${Un}px ${Cn} ${ss}`,li:Object.assign(Object.assign({},ro.vS),{borderRadius:us,paddingInline:ii,paddingBlock:(Rr-Math.round(vt*ui))/2,cursor:"pointer",transition:`all ${ca}`,"+ li":{marginTop:bi},"&:hover":{background:_o}})}},[`${Be}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Be}-panel`]:{borderWidth:`0 0 ${Un}px`},"&:last-child":{[`${Be}-panel`]:{borderWidth:0}}},[`${Be}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Be}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:hn}}}}),"&-dropdown-range":{padding:`${ya*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Be}-separator`]:{transform:"rotate(180deg)"},[`${Be}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Wi.oN)(be,"slide-up"),(0,Wi.oN)(be,"slide-down"),(0,co.Fm)(be,"move-up"),(0,co.Fm)(be,"move-down")]},oo=be=>{const{componentCls:Be,controlHeightLG:Pe,paddingXXS:gt,padding:vt}=be;return{pickerCellCls:`${Be}-cell`,pickerCellInnerCls:`${Be}-cell-inner`,pickerYearMonthCellWidth:Pe*1.5,pickerQuarterPanelContentHeight:Pe*1.4,pickerCellPaddingVertical:gt+gt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:vt+gt/2}},fo=be=>({cellHoverBg:be.controlItemBgHover,cellActiveWithRangeBg:be.controlItemBgActive,cellHoverWithRangeBg:new ao.C(be.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ao.C(be.colorPrimary).lighten(20).toHexString(),cellBgDisabled:be.colorBgContainerDisabled,timeColumnWidth:be.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:be.controlHeightSM*1.5,cellHeight:be.controlHeightSM,textHeight:be.controlHeightLG,withoutTimeCellHeight:be.controlHeightLG*1.65});var to=(0,Bi.Z)("DatePicker",be=>{const Be=(0,aa.TS)((0,no.e5)(be),oo(be));return[na(Be),Va(Be),(0,wa.c)(be,{focusElCls:`${be.componentCls}-focused`})]},be=>Object.assign(Object.assign(Object.assign({},(0,no.TM)(be)),fo(be)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:be.zIndexPopupBase+50}));function ho(be,Be,Pe){return Pe!==void 0?Pe:Be==="year"&&be.lang.yearPlaceholder?be.lang.yearPlaceholder:Be==="quarter"&&be.lang.quarterPlaceholder?be.lang.quarterPlaceholder:Be==="month"&&be.lang.monthPlaceholder?be.lang.monthPlaceholder:Be==="week"&&be.lang.weekPlaceholder?be.lang.weekPlaceholder:Be==="time"&&be.timePickerLocale.placeholder?be.timePickerLocale.placeholder:be.lang.placeholder}function bo(be,Be,Pe){return Pe!==void 0?Pe:Be==="year"&&be.lang.yearPlaceholder?be.lang.rangeYearPlaceholder:Be==="quarter"&&be.lang.quarterPlaceholder?be.lang.rangeQuarterPlaceholder:Be==="month"&&be.lang.monthPlaceholder?be.lang.rangeMonthPlaceholder:Be==="week"&&be.lang.weekPlaceholder?be.lang.rangeWeekPlaceholder:Be==="time"&&be.timePickerLocale.placeholder?be.timePickerLocale.rangePlaceholder:be.lang.rangePlaceholder}function Lo(be,Be){const Pe={adjustX:1,adjustY:1};switch(Be){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Pe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Pe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Pe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Pe};default:return{points:be==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Pe}}}function io(be){return be?Array.isArray(be)?be:[be]:[]}function lo(be){const{format:Be,picker:Pe,showHour:gt,showMinute:vt,showSecond:vn,use12Hours:ln}=be,Un=io(Be)[0],Cn=Object.assign({},be);return Be&&Array.isArray(Be)&&(Cn.format=Un),Un&&typeof Un=="string"&&(!Un.includes("s")&&vn===void 0&&(Cn.showSecond=!1),!Un.includes("m")&&vt===void 0&&(Cn.showMinute=!1),!Un.includes("H")&&!Un.includes("h")&&!Un.includes("K")&&!Un.includes("k")&>===void 0&&(Cn.showHour=!1),(Un.includes("a")||Un.includes("A"))&&ln===void 0&&(Cn.use12Hours=!0)),Pe==="time"?Cn:(typeof Un=="function"&&delete Cn.format,{showTime:Cn})}function Ko(be,Be,Pe){if(be===!1)return!1;const gt={clearIcon:Be!=null?Be:Pe};return typeof be=="object"?Object.assign(Object.assign({},gt),be):gt}var Wo=ie(71577);function Jo(be){return he.createElement(Wo.ZP,Object.assign({size:"small",type:"primary"},be))}var po={button:Jo},ga=function(be,Be){var Pe={};for(var gt in be)Object.prototype.hasOwnProperty.call(be,gt)&&Be.indexOf(gt)<0&&(Pe[gt]=be[gt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,gt=Object.getOwnPropertySymbols(be);vt{const{prefixCls:vt,getPopupContainer:vn,className:ln,placement:Un,size:Cn,disabled:hn,bordered:nr=!0,placeholder:Dn,popupClassName:Pn,dropdownClassName:vr,status:br,clearIcon:Rn,allowClear:fr,rootClassName:Rr}=Pe,Ur=ga(Pe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),ii=he.useRef(null),{getPrefixCls:bi,direction:Pi,getPopupContainer:Si}=(0,he.useContext)(Aa.E_),ui=bi("picker",vt),{compactSize:va,compactItemClassnames:ca}=(0,ua.ri)(ui,Pi),{format:Ka,showTime:Ya,picker:La}=Pe,oa=bi(),[Ra,Fa]=to(ui),ya=Object.assign(Object.assign({},Ya?lo(Object.assign({format:Ka,picker:La},Ya)):{}),La==="time"?lo(Object.assign(Object.assign({format:Ka},Pe),{picker:La})):{}),Ia=(0,la.Z)(Oo=>{var Ma;return(Ma=Cn!=null?Cn:va)!==null&&Ma!==void 0?Ma:Oo}),za=he.useContext(_i.Z),uo=hn!=null?hn:za,go=(0,he.useContext)(Ai.aM),{hasFeedback:To,status:us,feedbackIcon:ss}=go,_o=he.createElement(he.Fragment,null,La==="time"?he.createElement(zt,null):he.createElement(Ye,null),To&&ss);(0,he.useImperativeHandle)(gt,()=>({focus:()=>{var Oo;return(Oo=ii.current)===null||Oo===void 0?void 0:Oo.focus()},blur:()=>{var Oo;return(Oo=ii.current)===null||Oo===void 0?void 0:Oo.blur()}}));const[Do]=(0,Ki.Z)("Calendar",pa.Z),ps=Object.assign(Object.assign({},Do),Pe.locale);return Ra(he.createElement(xi,Object.assign({separator:he.createElement("span",{"aria-label":"to",className:`${ui}-separator`},he.createElement(it,null)),disabled:uo,ref:ii,dropdownAlign:Lo(Pi,Un),placeholder:bo(ps,La,Dn),suffixIcon:_o,prevIcon:he.createElement("span",{className:`${ui}-prev-icon`}),nextIcon:he.createElement("span",{className:`${ui}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${ui}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${ui}-super-next-icon`}),transitionName:`${oa}-slide-up`},Ur,ya,{className:wt()({[`${ui}-${Ia}`]:Ia,[`${ui}-borderless`]:!nr},(0,$i.Z)(ui,(0,$i.F)(us,br),To),Fa,ca,ln,Rr),locale:ps.lang,prefixCls:ui,getPopupContainer:vn||Si,generateConfig:be,components:po,direction:Pi,dropdownClassName:wt()(Fa,Pn||vr,Rr),allowClear:Ko(fr,Rn,he.createElement(Dt.Z,null))})))})}var qa=function(be,Be){var Pe={};for(var gt in be)Object.prototype.hasOwnProperty.call(be,gt)&&Be.indexOf(gt)<0&&(Pe[gt]=be[gt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,gt=Object.getOwnPropertySymbols(be);vt{const{prefixCls:br,getPopupContainer:Rn,style:fr,className:Rr,rootClassName:Ur,size:ii,bordered:bi=!0,placement:Pi,placeholder:Si,popupClassName:ui,dropdownClassName:va,disabled:ca,status:Ka,clearIcon:Ya,allowClear:La}=Pn,oa=qa(Pn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Ra,direction:Fa,getPopupContainer:ya,[nr]:Ia}=(0,he.useContext)(Aa.E_),za=Ra("picker",br),{compactSize:uo,compactItemClassnames:go}=(0,ua.ri)(za,Fa),To=he.useRef(null),{format:us,showTime:ss}=Pn,[_o,Do]=to(za);(0,he.useImperativeHandle)(vr,()=>({focus:()=>{var Es;return(Es=To.current)===null||Es===void 0?void 0:Es.focus()},blur:()=>{var Es;return(Es=To.current)===null||Es===void 0?void 0:Es.blur()}}));const ps={showToday:!0};let Oo={};Cn&&(Oo.picker=Cn);const Ma=Cn||Pn.picker;Oo=Object.assign(Object.assign(Object.assign({},Oo),ss?lo(Object.assign({format:us,picker:Ma},ss)):{}),Ma==="time"?lo(Object.assign(Object.assign({format:us},Pn),{picker:Ma})):{});const ba=Ra(),Bo=(0,la.Z)(Es=>{var Sl;return(Sl=ii!=null?ii:uo)!==null&&Sl!==void 0?Sl:Es}),Ao=he.useContext(_i.Z),Ta=ca!=null?ca:Ao,$a=(0,he.useContext)(Ai.aM),{hasFeedback:zi,status:Qa,feedbackIcon:xo}=$a,Yo=he.createElement(he.Fragment,null,Ma==="time"?he.createElement(zt,null):he.createElement(Ye,null),zi&&xo),[Ho]=(0,Ki.Z)("DatePicker",pa.Z),Zo=Object.assign(Object.assign({},Ho),Pn.locale);return _o(he.createElement(Ei,Object.assign({ref:To,placeholder:ho(Zo,Ma,Si),suffixIcon:Yo,dropdownAlign:Lo(Fa,Pi),prevIcon:he.createElement("span",{className:`${za}-prev-icon`}),nextIcon:he.createElement("span",{className:`${za}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${za}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${za}-super-next-icon`}),transitionName:`${ba}-slide-up`},ps,oa,Oo,{locale:Zo.lang,className:wt()({[`${za}-${Bo}`]:Bo,[`${za}-borderless`]:!bi},(0,$i.Z)(za,(0,$i.F)(Qa,Ka),zi),Do,go,Ia==null?void 0:Ia.className,Rr,Ur),style:Object.assign(Object.assign({},Ia==null?void 0:Ia.style),fr),prefixCls:za,getPopupContainer:Rn||ya,generateConfig:be,components:po,direction:Fa,disabled:Ta,dropdownClassName:wt()(Do,Ur,ui||va),allowClear:Ko(La,Ya,he.createElement(Dt.Z,null))})))});return hn&&(Dn.displayName=hn),Dn}const Pe=Be(),gt=Be("week","WeekPicker"),vt=Be("month","MonthPicker"),vn=Be("year","YearPicker"),ln=Be("time","TimePicker"),Un=Be("quarter","QuarterPicker");return{DatePicker:Pe,WeekPicker:gt,MonthPicker:vt,YearPicker:vn,TimePicker:ln,QuarterPicker:Un}}const Io=null;function Go(be){const{DatePicker:Be,WeekPicker:Pe,MonthPicker:gt,YearPicker:vt,TimePicker:vn,QuarterPicker:ln}=mo(be),Un=Sa(be),Cn=Be;return Cn.WeekPicker=Pe,Cn.MonthPicker=gt,Cn.YearPicker=vt,Cn.RangePicker=Un,Cn.TimePicker=vn,Cn.QuarterPicker=ln,Cn}var qo=Go;const ls=qo(at);function Ss(be){const Be=Lo(be.direction,be.placement);return Be.overflow.adjustY=!1,Be.overflow.adjustX=!1,Object.assign(Object.assign({},be),{dropdownAlign:Be})}const $o=(0,ht.Z)(ls,"picker",null,Ss);ls._InternalPanelDoNotUseOrYouWillBeFired=$o;const Cs=(0,ht.Z)(ls.RangePicker,"picker",null,Ss);ls._InternalRangePanelDoNotUseOrYouWillBeFired=Cs,ls.generatePicker=qo;var ja=ls},96074:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ie}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(14747),Ee=ie(67968),ke=ie(45503);const ye=Xe=>{const{componentCls:ot,sizePaddingEdgeHorizontal:dt,colorSplit:nt,lineWidth:Me,textPaddingInline:ut,orientationMargin:Ut,verticalMarginInline:at}=Xe;return{[ot]:Object.assign(Object.assign({},(0,ve.Wf)(Xe)),{borderBlockStart:`${Me}px solid ${nt}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:at,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Me}px solid ${nt}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Xe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ot}-with-text`]:{display:"flex",alignItems:"center",margin:`${Xe.dividerHorizontalWithTextGutterMargin}px 0`,color:Xe.colorTextHeading,fontWeight:500,fontSize:Xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${nt}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Me}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ot}-with-text-left`]:{"&::before":{width:`${Ut*100}%`},"&::after":{width:`${100-Ut*100}%`}},[`&-horizontal${ot}-with-text-right`]:{"&::before":{width:`${100-Ut*100}%`},"&::after":{width:`${Ut*100}%`}},[`${ot}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ut},"&-dashed":{background:"none",borderColor:nt,borderStyle:"dashed",borderWidth:`${Me}px 0 0`},[`&-horizontal${ot}-with-text${ot}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ot}-dashed`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ot}-with-text`]:{color:Xe.colorText,fontWeight:"normal",fontSize:Xe.fontSize},[`&-horizontal${ot}-with-text-left${ot}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ot}-inner-text`]:{paddingInlineStart:dt}},[`&-horizontal${ot}-with-text-right${ot}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ot}-inner-text`]:{paddingInlineEnd:dt}}})}};var me=(0,Ee.Z)("Divider",Xe=>{const ot=(0,ke.TS)(Xe,{dividerHorizontalWithTextGutterMargin:Xe.margin,dividerHorizontalGutterMargin:Xe.marginLG,sizePaddingEdgeHorizontal:0});return[ye(ot)]},Xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Xe.marginXS})),Le=function(Xe,ot){var dt={};for(var nt in Xe)Object.prototype.hasOwnProperty.call(Xe,nt)&&ot.indexOf(nt)<0&&(dt[nt]=Xe[nt]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,nt=Object.getOwnPropertySymbols(Xe);Me{const{getPrefixCls:ot,direction:dt,divider:nt}=Re.useContext(Ze.E_),{prefixCls:Me,type:ut="horizontal",orientation:Ut="center",orientationMargin:at,className:ht,rootClassName:we,children:he,dashed:je,plain:Ve,style:Ge}=Xe,qe=Le(Xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ye=ot("divider",Me),[We,St]=me(Ye),lt=Ut.length>0?`-${Ut}`:Ut,zt=!!he,Dt=Ut==="left"&&at!=null,pn=Ut==="right"&&at!=null,Kn=Oe()(Ye,nt==null?void 0:nt.className,St,`${Ye}-${ut}`,{[`${Ye}-with-text`]:zt,[`${Ye}-with-text${lt}`]:zt,[`${Ye}-dashed`]:!!je,[`${Ye}-plain`]:!!Ve,[`${Ye}-rtl`]:dt==="rtl",[`${Ye}-no-default-orientation-margin-left`]:Dt,[`${Ye}-no-default-orientation-margin-right`]:pn},ht,we),tr=Re.useMemo(()=>typeof at=="number"?at:/^\d+$/.test(at)?Number(at):at,[at]),it=Object.assign(Object.assign({},Dt&&{marginLeft:tr}),pn&&{marginRight:tr});return We(Re.createElement("div",Object.assign({className:Kn,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),Ge)},qe,{role:"separator"}),he&&ut!=="vertical"&&Re.createElement("span",{className:`${Ye}-inner-text`,style:it},he)))}},72565:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oi}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(1413),Ze=ie(97685),ve=ie(67294),Ee=ie(73935);function ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ye={};function me(Qt,Zt){}function Le(Qt,Zt){}function mt(){ye={}}function Ie(Qt,Zt,Mn){!Zt&&!ye[Mn]&&(Qt(!1,Mn),ye[Mn]=!0)}function Xe(Qt,Zt){Ie(me,Qt,Zt)}function ot(Qt,Zt){Ie(Le,Qt,Zt)}var dt=null,nt=ie(71002),Me=ie(18459);function ut(Qt,Zt,Mn){var jn=ve.useRef({});return(!("value"in jn.current)||Mn(jn.current.condition,Zt))&&(jn.current.value=Qt(),jn.current.condition=Zt),jn.current.value}function Ut(Qt,Zt){typeof Qt=="function"?Qt(Zt):(0,nt.Z)(Qt)==="object"&&Qt&&"current"in Qt&&(Qt.current=Zt)}function at(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn0&&arguments[0]!==void 0?arguments[0]:{},Zt=Qt.mark;return Zt?Zt.startsWith("data-")?Zt:"data-".concat(Zt):Dt}function tr(Qt){if(Qt.attachTo)return Qt.attachTo;var Zt=document.querySelector("head");return Zt||document.body}function it(Qt){return Qt==="queue"?"prependQueue":Qt?"prepend":"append"}function Ce(Qt){return Array.from((pn.get(Qt)||Qt).children).filter(function(Zt){return Zt.tagName==="STYLE"})}function wt(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ke())return null;var Mn=Zt.csp,jn=Zt.prepend,sr=document.createElement("style");sr.setAttribute(zt,it(jn)),Mn!=null&&Mn.nonce&&(sr.nonce=Mn==null?void 0:Mn.nonce),sr.innerHTML=Qt;var Yr=tr(Zt),si=Yr.firstChild;if(jn){if(jn==="queue"){var mi=Ce(Yr).filter(function(Ci){return["prepend","prependQueue"].includes(Ci.getAttribute(zt))});if(mi.length)return Yr.insertBefore(sr,mi[mi.length-1].nextSibling),sr}Yr.insertBefore(sr,si)}else Yr.appendChild(sr);return sr}function An(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mn=tr(Zt);return Ce(Mn).find(function(jn){return jn.getAttribute(Kn(Zt))===Qt})}function Tt(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mn=An(Qt,Zt);if(Mn){var jn=tr(Zt);jn.removeChild(Mn)}}function rt(Qt,Zt){var Mn=pn.get(Qt);if(!Mn||!lt(document,Mn)){var jn=wt("",Zt),sr=jn.parentNode;pn.set(Qt,sr),Qt.removeChild(jn)}}function ft(){pn.clear()}function Wt(Qt,Zt){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},jn=tr(Mn);rt(jn,Mn);var sr=An(Zt,Mn);if(sr){var Yr,si;if((Yr=Mn.csp)!==null&&Yr!==void 0&&Yr.nonce&&sr.nonce!==((si=Mn.csp)===null||si===void 0?void 0:si.nonce)){var mi;sr.nonce=(mi=Mn.csp)===null||mi===void 0?void 0:mi.nonce}return sr.innerHTML!==Qt&&(sr.innerHTML=Qt),sr}var Ci=wt(Qt,Mn);return Ci.setAttribute(Kn(Mn),Zt),Ci}var qt;function Xt(Qt){if(typeof document=="undefined")return 0;if(Qt||qt===void 0){var Zt=document.createElement("div");Zt.style.width="100%",Zt.style.height="200px";var Mn=document.createElement("div"),jn=Mn.style;jn.position="absolute",jn.top="0",jn.left="0",jn.pointerEvents="none",jn.visibility="hidden",jn.width="200px",jn.height="150px",jn.overflow="hidden",Mn.appendChild(Zt),document.body.appendChild(Mn);var sr=Zt.offsetWidth;Mn.style.overflow="scroll";var Yr=Zt.offsetWidth;sr===Yr&&(Yr=Mn.clientWidth),document.body.removeChild(Mn),qt=sr-Yr}return qt}function Ht(Qt){var Zt=Qt.match(/^(.*)px$/),Mn=Number(Zt==null?void 0:Zt[1]);return Number.isNaN(Mn)?Xt():Mn}function un(Qt){if(typeof document=="undefined"||!Qt||!(Qt instanceof Element))return{width:0,height:0};var Zt=getComputedStyle(Qt,"::-webkit-scrollbar"),Mn=Zt.width,jn=Zt.height;return{width:Ht(Mn),height:Ht(jn)}}function kn(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var yn="rc-util-locker-".concat(Date.now()),Fe=0;function ce(Qt){var Zt=!!Qt,Mn=ve.useState(function(){return Fe+=1,"".concat(yn,"_").concat(Fe)}),jn=(0,Ze.Z)(Mn,1),sr=jn[0];qe(function(){if(Zt){var Yr=un(document.body).width,si=kn();Wt(` html body { overflow-y: hidden; `.concat(si?"width: calc(100% - ".concat(Yr,"px);"):"",` }`),sr)}else Tt(sr);return function(){Tt(sr)}},[Zt,sr])}var ue=!1;function pe(Qt){return typeof Qt=="boolean"&&(ue=Qt),ue}var de=function(Zt){return Zt===!1?!1:!ke()||!Zt?null:typeof Zt=="string"?document.querySelector(Zt):typeof Zt=="function"?Zt():Zt},le=ve.forwardRef(function(Qt,Zt){var Mn=Qt.open,jn=Qt.autoLock,sr=Qt.getContainer,Yr=Qt.debug,si=Qt.autoDestroy,mi=si===void 0?!0:si,Ci=Qt.children,gi=ve.useState(Mn),Ti=(0,Ze.Z)(gi,2),qi=Ti[0],li=Ti[1],Vi=qi||Mn;ve.useEffect(function(){(mi||Mn)&&li(Mn)},[Mn,mi]);var ia=ve.useState(function(){return de(sr)}),ta=(0,Ze.Z)(ia,2),ze=ta[0],Je=ta[1];ve.useEffect(function(){var er=de(sr);Je(er!=null?er:null)});var et=St(Vi&&!ze,Yr),st=(0,Ze.Z)(et,2),Ct=st[0],Bt=st[1],Jt=ze!=null?ze:Ct;ce(jn&&Mn&&ke()&&(Jt===Ct||Jt===document.body));var Tn=null;if(Ci&&we(Ci)&&Zt){var Nn=Ci;Tn=Nn.ref}var Fr=ht(Tn,Zt);if(!Vi||!ke()||ze===void 0)return null;var Jr=Jt===!1||pe(),Ar=Ci;return Zt&&(Ar=ve.cloneElement(Ci,{ref:Fr})),ve.createElement(je.Provider,{value:Bt},Jr?Ar:(0,Ee.createPortal)(Ar,Jt))}),De=le,Ke=De;function Et(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Yt=Et()?ve.useLayoutEffect:ve.useEffect,Kt=function(Zt,Mn){var jn=ve.useRef(!0);Yt(function(){return Zt(jn.current)},Mn),Yt(function(){return jn.current=!1,function(){jn.current=!0}},[])},nn=function(Zt,Mn){Kt(function(jn){if(!jn)return Zt()},Mn)},$t=Kt,gr=ve.createContext(null),kr=ve.createContext({}),rn=gr,gn=ie(4942),hr=ie(87462),Er=ie(62874),yt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Zt){var Mn=Zt.keyCode;if(Zt.altKey&&!Zt.ctrlKey||Zt.metaKey||Mn>=yt.F1&&Mn<=yt.F12)return!1;switch(Mn){case yt.ALT:case yt.CAPS_LOCK:case yt.CONTEXT_MENU:case yt.CTRL:case yt.DOWN:case yt.END:case yt.ESC:case yt.HOME:case yt.INSERT:case yt.LEFT:case yt.MAC_FF_META:case yt.META:case yt.NUMLOCK:case yt.NUM_CENTER:case yt.PAGE_DOWN:case yt.PAGE_UP:case yt.PAUSE:case yt.PRINT_SCREEN:case yt.RIGHT:case yt.SHIFT:case yt.UP:case yt.WIN_KEY:case yt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Zt){if(Zt>=yt.ZERO&&Zt<=yt.NINE||Zt>=yt.NUM_ZERO&&Zt<=yt.NUM_MULTIPLY||Zt>=yt.A&&Zt<=yt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Zt===0)return!0;switch(Zt){case yt.SPACE:case yt.QUESTION_MARK:case yt.NUM_PLUS:case yt.NUM_MINUS:case yt.NUM_PERIOD:case yt.NUM_DIVISION:case yt.SEMICOLON:case yt.DASH:case yt.EQUALS:case yt.COMMA:case yt.PERIOD:case yt.SLASH:case yt.APOSTROPHE:case yt.SINGLE_QUOTE:case yt.OPEN_SQUARE_BRACKET:case yt.BACKSLASH:case yt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},It=yt,$n=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,Qn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,wr="".concat($n," ").concat(Qn).split(/[\s\n]+/),_r="aria-",ei="data-";function Xr(Qt,Zt){return Qt.indexOf(Zt)===0}function ri(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mn;Zt===!1?Mn={aria:!0,data:!0,attr:!0}:Zt===!0?Mn={aria:!0}:Mn=(0,Re.Z)({},Zt);var jn={};return Object.keys(Qt).forEach(function(sr){(Mn.aria&&(sr==="role"||Xr(sr,_r))||Mn.data&&Xr(sr,ei)||Mn.attr&&wr.includes(sr))&&(jn[sr]=Qt[sr])}),jn}function fi(Qt){var Zt=React.useRef();Zt.current=Qt;var Mn=React.useCallback(function(){for(var jn,sr=arguments.length,Yr=new Array(sr),si=0;si3&&arguments[3]!==void 0?arguments[3]:!1;return Zt.length&&jn&&Mn===void 0&&!get(Qt,Zt.slice(0,-1))?Qt:rr(Qt,Zt,Mn,jn)}function ir(Qt){return _typeof(Qt)==="object"&&Qt!==null&&Object.getPrototypeOf(Qt)===Object.prototype}function Xn(Qt){return Array.isArray(Qt)?[]:{}}var pt=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function At(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn{const{prefixCls:Zt,title:Mn,footer:jn,extra:sr,closeIcon:Yr,closable:si,onClose:mi,headerStyle:Ci,drawerStyle:gi,bodyStyle:Ti,footerStyle:qi,children:li}=Qt,Vi=ve.useCallback(et=>ve.createElement("button",{type:"button",onClick:mi,"aria-label":"Close",className:`${Zt}-close`},et),[mi]),[ia,ta]=(0,Ln.Z)(si,Yr,Vi,void 0,!0),ze=ve.useMemo(()=>!Mn&&!ia?null:ve.createElement("div",{style:Ci,className:Oe()(`${Zt}-header`,{[`${Zt}-header-close-only`]:ia&&!Mn&&!sr})},ve.createElement("div",{className:`${Zt}-header-title`},ta,Mn&&ve.createElement("div",{className:`${Zt}-title`},Mn)),sr&&ve.createElement("div",{className:`${Zt}-extra`},sr)),[ia,ta,sr,Ci,Zt,Mn]),Je=ve.useMemo(()=>{if(!jn)return null;const et=`${Zt}-footer`;return ve.createElement("div",{className:et,style:qi},jn)},[jn,qi,Zt]);return ve.createElement("div",{className:`${Zt}-wrapper-body`,style:gi},ze,ve.createElement("div",{className:`${Zt}-body`,style:Ti},li),Je)},ha=ie(4173),ra=ie(67968),Qi=ie(45503),Xi=Qt=>{const{componentCls:Zt,motionDurationSlow:Mn}=Qt,jn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Mn}`}}};return{[Zt]:{[`${Zt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Mn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Zt}-panel-motion`]:{"&-left":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ri=Qt=>{const{componentCls:Zt,zIndexPopup:Mn,colorBgMask:jn,colorBgElevated:sr,motionDurationSlow:Yr,motionDurationMid:si,padding:mi,paddingLG:Ci,fontSizeLG:gi,lineHeightLG:Ti,lineWidth:qi,lineType:li,colorSplit:Vi,marginSM:ia,colorIcon:ta,colorIconHover:ze,colorText:Je,fontWeightStrong:et,footerPaddingBlock:st,footerPaddingInline:Ct}=Qt,Bt=`${Zt}-content-wrapper`;return{[Zt]:{position:"fixed",inset:0,zIndex:Mn,pointerEvents:"none","&-pure":{position:"relative",background:sr,[`&${Zt}-left`]:{boxShadow:Qt.boxShadowDrawerLeft},[`&${Zt}-right`]:{boxShadow:Qt.boxShadowDrawerRight},[`&${Zt}-top`]:{boxShadow:Qt.boxShadowDrawerUp},[`&${Zt}-bottom`]:{boxShadow:Qt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Zt}-mask`]:{position:"absolute",inset:0,zIndex:Mn,background:jn,pointerEvents:"auto"},[Bt]:{position:"absolute",zIndex:Mn,maxWidth:"100vw",transition:`all ${Yr}`,"&-hidden":{display:"none"}},[`&-left > ${Bt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Qt.boxShadowDrawerLeft},[`&-right > ${Bt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Qt.boxShadowDrawerRight},[`&-top > ${Bt}`]:{top:0,insetInline:0,boxShadow:Qt.boxShadowDrawerUp},[`&-bottom > ${Bt}`]:{bottom:0,insetInline:0,boxShadow:Qt.boxShadowDrawerDown},[`${Zt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:sr,pointerEvents:"auto"},[`${Zt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Zt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${mi}px ${Ci}px`,fontSize:gi,lineHeight:Ti,borderBottom:`${qi}px ${li} ${Vi}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Zt}-extra`]:{flex:"none"},[`${Zt}-close`]:{display:"inline-block",marginInlineEnd:ia,color:ta,fontWeight:et,fontSize:gi,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${si}`,textRendering:"auto","&:focus, &:hover":{color:ze,textDecoration:"none"}},[`${Zt}-title`]:{flex:1,margin:0,color:Je,fontWeight:Qt.fontWeightStrong,fontSize:gi,lineHeight:Ti},[`${Zt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ci,overflow:"auto"},[`${Zt}-footer`]:{flexShrink:0,padding:`${st}px ${Ct}px`,borderTop:`${qi}px ${li} ${Vi}`},"&-rtl":{direction:"rtl"}}}};var sa=(0,ra.Z)("Drawer",Qt=>{const Zt=(0,Qi.TS)(Qt,{});return[Ri(Zt),Xi(Zt)]},Qt=>({zIndexPopup:Qt.zIndexPopupBase,footerPaddingBlock:Qt.paddingXS,footerPaddingInline:Qt.padding})),Da=ie(16569),ki=function(Qt,Zt){var Mn={};for(var jn in Qt)Object.prototype.hasOwnProperty.call(Qt,jn)&&Zt.indexOf(jn)<0&&(Mn[jn]=Qt[jn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sr=0,jn=Object.getOwnPropertySymbols(Qt);sr{var Zt;const{rootClassName:Mn,width:jn,height:sr,size:Yr="default",mask:si=!0,push:mi=Ea,open:Ci,afterOpenChange:gi,onClose:Ti,prefixCls:qi,getContainer:li,style:Vi,className:ia,visible:ta,afterVisibleChange:ze}=Qt,Je=ki(Qt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:et,getPrefixCls:st,direction:Ct,drawer:Bt}=ve.useContext(or.E_),Jt=st("drawer",qi),[Tn,Nn]=sa(Jt),Fr=li===void 0&&et?()=>et(document.body):li,Jr=Oe()({"no-mask":!si,[`${Jt}-rtl`]:Ct==="rtl"},Mn,Nn),Ar=ve.useMemo(()=>jn!=null?jn:Yr==="large"?736:378,[jn,Yr]),er=ve.useMemo(()=>sr!=null?sr:Yr==="large"?736:378,[sr,Yr]),Wn={motionName:(0,Gn.m)(Jt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ur=Vr=>({motionName:(0,Gn.m)(Jt,`panel-motion-${Vr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),mr=(0,Da.H)();return Tn(ve.createElement(ha.BR,null,ve.createElement(Kr.Ux,{status:!0,override:!0},ve.createElement(_n,Object.assign({prefixCls:Jt,onClose:Ti,maskMotion:Wn,motion:ur},Je,{open:Ci!=null?Ci:ta,mask:si,push:mi,width:Ar,height:er,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),Vi),className:Oe()(Bt==null?void 0:Bt.className,ia),rootClassName:Jr,getContainer:Fr,afterOpenChange:gi!=null?gi:ze,panelRef:mr}),ve.createElement(pi,Object.assign({prefixCls:Jt},Je,{onClose:Ti}))))))},Oa=Qt=>{const{prefixCls:Zt,style:Mn,className:jn,placement:sr="right"}=Qt,Yr=ki(Qt,["prefixCls","style","className","placement"]),{getPrefixCls:si}=ve.useContext(or.E_),mi=si("drawer",Zt),[Ci,gi]=sa(mi),Ti=Oe()(mi,`${mi}-pure`,`${mi}-${sr}`,gi,jn);return Ci(ve.createElement("div",{className:Ti,style:Mn},ve.createElement(pi,Object.assign({prefixCls:mi},Yr))))};_a._InternalPanelDoNotUseOrYouWillBeFired=Oa;var Oi=_a},35874:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return de}});var ae=ie(67294),Oe=ie(91034),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(4942),ke=ie(97685),ye=ie(45987),me=ie(62709),Le=ie(71002),mt=ie(12060);function Ie(le,De,Ke){var Et=React.useRef({});return(!("value"in Et.current)||Ke(Et.current.condition,De))&&(Et.current.value=le(),Et.current.condition=De),Et.current.value}function Xe(le,De){typeof le=="function"?le(De):(0,Le.Z)(le)==="object"&&le&&"current"in le&&(le.current=De)}function ot(){for(var le=arguments.length,De=new Array(le),Ke=0;Ke=Me.F1&&Ke<=Me.F12)return!1;switch(Ke){case Me.ALT:case Me.CAPS_LOCK:case Me.CONTEXT_MENU:case Me.CTRL:case Me.DOWN:case Me.END:case Me.ESC:case Me.HOME:case Me.INSERT:case Me.LEFT:case Me.MAC_FF_META:case Me.META:case Me.NUMLOCK:case Me.NUM_CENTER:case Me.PAGE_DOWN:case Me.PAGE_UP:case Me.PAUSE:case Me.PRINT_SCREEN:case Me.RIGHT:case Me.SHIFT:case Me.UP:case Me.WIN_KEY:case Me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(De){if(De>=Me.ZERO&&De<=Me.NINE||De>=Me.NUM_ZERO&&De<=Me.NUM_MULTIPLY||De>=Me.A&&De<=Me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&De===0)return!0;switch(De){case Me.SPACE:case Me.QUESTION_MARK:case Me.NUM_PLUS:case Me.NUM_MINUS:case Me.NUM_PERIOD:case Me.NUM_DIVISION:case Me.SEMICOLON:case Me.DASH:case Me.EQUALS:case Me.COMMA:case Me.PERIOD:case Me.SLASH:case Me.APOSTROPHE:case Me.SINGLE_QUOTE:case Me.OPEN_SQUARE_BRACKET:case Me.BACKSLASH:case Me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ut=Me,Ut=function(De){return+setTimeout(De,16)},at=function(De){return clearTimeout(De)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ut=function(De){return window.requestAnimationFrame(De)},at=function(De){return window.cancelAnimationFrame(De)});var ht=0,we=new Map;function he(le){we.delete(le)}var je=function(De){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ht+=1;var Et=ht;function Yt(Kt){if(Kt===0)he(Et),De();else{var nn=Ut(function(){Yt(Kt-1)});we.set(Et,nn)}}return Yt(Ke),Et};je.cancel=function(le){var De=we.get(le);return he(De),at(De)};var Ve=je,Ge=ut.ESC,qe=ut.TAB;function Ye(le){var De=le.visible,Ke=le.triggerRef,Et=le.onVisibleChange,Yt=le.autoFocus,Kt=le.overlayRef,nn=ae.useRef(!1),$t=function(){if(De){var gn,hr;(gn=Ke.current)===null||gn===void 0||(hr=gn.focus)===null||hr===void 0||hr.call(gn),Et==null||Et(!1)}},gr=function(){var gn;return(gn=Kt.current)!==null&&gn!==void 0&&gn.focus?(Kt.current.focus(),nn.current=!0,!0):!1},kr=function(gn){switch(gn.keyCode){case Ge:$t();break;case qe:{var hr=!1;nn.current||(hr=gr()),hr?gn.preventDefault():$t();break}}};ae.useEffect(function(){return De?(window.addEventListener("keydown",kr),Yt&&Ve(gr,3),function(){window.removeEventListener("keydown",kr),nn.current=!1}):function(){nn.current=!1}},[De])}var We=(0,ae.forwardRef)(function(le,De){var Ke=le.overlay,Et=le.arrow,Yt=le.prefixCls,Kt=(0,ae.useMemo)(function(){var $t;return typeof Ke=="function"?$t=Ke():$t=Ke,$t},[Ke]),nn=ot(De,Kt==null?void 0:Kt.ref);return ae.createElement(ae.Fragment,null,Et&&ae.createElement("div",{className:"".concat(Yt,"-arrow")}),ae.cloneElement(Kt,{ref:nt(Kt)?nn:void 0}))}),St=We,lt={adjustX:1,adjustY:1},zt=[0,0],Dt={topLeft:{points:["bl","tl"],overflow:lt,offset:[0,-4],targetOffset:zt},top:{points:["bc","tc"],overflow:lt,offset:[0,-4],targetOffset:zt},topRight:{points:["br","tr"],overflow:lt,offset:[0,-4],targetOffset:zt},bottomLeft:{points:["tl","bl"],overflow:lt,offset:[0,4],targetOffset:zt},bottom:{points:["tc","bc"],overflow:lt,offset:[0,4],targetOffset:zt},bottomRight:{points:["tr","br"],overflow:lt,offset:[0,4],targetOffset:zt}},pn=Dt,Kn=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function tr(le,De){var Ke,Et=le.arrow,Yt=Et===void 0?!1:Et,Kt=le.prefixCls,nn=Kt===void 0?"rc-dropdown":Kt,$t=le.transitionName,gr=le.animation,kr=le.align,rn=le.placement,gn=rn===void 0?"bottomLeft":rn,hr=le.placements,Er=hr===void 0?pn:hr,yt=le.getPopupContainer,It=le.showAction,$n=le.hideAction,Qn=le.overlayClassName,wr=le.overlayStyle,_r=le.visible,ei=le.trigger,Xr=ei===void 0?["hover"]:ei,ri=le.autoFocus,fi=le.overlay,Cr=le.children,yi=le.onVisibleChange,Gi=(0,ye.Z)(le,Kn),oi=ae.useState(),ea=(0,ke.Z)(oi,2),Di=ea[0],Ot=ea[1],Nt="visible"in le?_r:Di,cn=ae.useRef(null),bn=ae.useRef(null),rr=ae.useRef(null);ae.useImperativeHandle(De,function(){return cn.current});var Fn=function(on){Ot(on),yi==null||yi(on)};Ye({visible:Nt,triggerRef:rr,onVisibleChange:Fn,autoFocus:ri,overlayRef:bn});var ir=function(on){var _t=le.onOverlayClick;Ot(!1),_t&&_t(on)},Xn=function(){return ae.createElement(St,{ref:bn,overlay:fi,prefixCls:nn,arrow:Yt})},pt=function(){return typeof fi=="function"?Xn:Xn()},At=function(){var on=le.minOverlayWidthMatchTrigger,_t=le.alignPoint;return"minOverlayWidthMatchTrigger"in le?on:!_t},Mt=function(){var on=le.openClassName;return on!==void 0?on:"".concat(nn,"-open")},fn=ae.cloneElement(Cr,{className:Ze()((Ke=Cr.props)===null||Ke===void 0?void 0:Ke.className,Nt&&Mt()),ref:nt(Cr)?ot(rr,Cr.ref):void 0}),$e=$n;return!$e&&Xr.indexOf("contextMenu")!==-1&&($e=["click"]),ae.createElement(me.Z,(0,ve.Z)({builtinPlacements:Er},Gi,{prefixCls:nn,ref:cn,popupClassName:Ze()(Qn,(0,Ee.Z)({},"".concat(nn,"-show-arrow"),Yt)),popupStyle:wr,action:Xr,showAction:It,hideAction:$e,popupPlacement:gn,popupAlign:kr,popupTransitionName:$t,popupAnimation:gr,popupVisible:Nt,stretch:At()?"minWidth":"",popup:pt(),onPopupVisibleChange:Fn,onPopupClick:ir,getPopupContainer:yt}),fn)}var it=ae.forwardRef(tr),Ce=it,wt=ie(60276),An=ie(5663),Tt=ie(10366),rt=ie(80636),ft=ie(8745),Wt=ie(96159),qt=ie(53124),Xt=ie(68508),Ht=ie(76529),un=ie(46605),kn=ie(66748);const yn=null,Fe=le=>{const{menu:De,arrow:Ke,prefixCls:Et,children:Yt,trigger:Kt,disabled:nn,dropdownRender:$t,getPopupContainer:gr,overlayClassName:kr,rootClassName:rn,open:gn,onOpenChange:hr,visible:Er,onVisibleChange:yt,mouseEnterDelay:It=.15,mouseLeaveDelay:$n=.1,autoAdjustOverflow:Qn=!0,placement:wr="",overlay:_r,transitionName:ei}=le,{getPopupContainer:Xr,getPrefixCls:ri,direction:fi}=ae.useContext(qt.E_),Cr=ae.useMemo(()=>{const fn=ri();return ei!==void 0?ei:wr.includes("top")?`${fn}-slide-down`:`${fn}-slide-up`},[ri,wr,ei]),yi=ae.useMemo(()=>wr?wr.includes("Center")?wr.slice(0,wr.indexOf("Center")):wr:fi==="rtl"?"bottomRight":"bottomLeft",[wr,fi]),Gi=ri("dropdown",Et),[oi,ea]=(0,kn.Z)(Gi),[,Di]=(0,un.Z)(),Ot=ae.Children.only(Yt),Nt=(0,Wt.Tm)(Ot,{className:Ze()(`${Gi}-trigger`,{[`${Gi}-rtl`]:fi==="rtl"},Ot.props.className),disabled:nn}),cn=nn?[]:Kt;let bn;cn&&cn.includes("contextMenu")&&(bn=!0);const[rr,Fn]=(0,An.Z)(!1,{value:gn!=null?gn:Er}),ir=(0,wt.useEvent)(fn=>{hr==null||hr(fn),yt==null||yt(fn),Fn(fn)}),Xn=Ze()(kr,rn,ea,{[`${Gi}-rtl`]:fi==="rtl"}),pt=(0,rt.Z)({arrowPointAtCenter:typeof Ke=="object"&&Ke.pointAtCenter,autoAdjustOverflow:Qn,offset:Di.marginXXS,arrowWidth:Ke?Di.sizePopupArrow:0,borderRadius:Di.borderRadius}),At=ae.useCallback(()=>{Fn(!1)},[]),Mt=()=>{let fn;return De!=null&&De.items?fn=ae.createElement(Xt.default,Object.assign({},De)):typeof _r=="function"?fn=_r():fn=_r,$t&&(fn=$t(fn)),fn=ae.Children.only(typeof fn=="string"?ae.createElement("span",null,fn):fn),ae.createElement(Ht.J,{prefixCls:`${Gi}-menu`,expandIcon:ae.createElement("span",{className:`${Gi}-menu-submenu-arrow`},ae.createElement(Oe.Z,{className:`${Gi}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:At,validator:$e=>{let{mode:Ft}=$e}},fn)};return oi(ae.createElement(Ce,Object.assign({alignPoint:bn},(0,Tt.Z)(le,["rootClassName"]),{mouseEnterDelay:It,mouseLeaveDelay:$n,visible:rr,builtinPlacements:pt,arrow:!!Ke,overlayClassName:Xn,prefixCls:Gi,getPopupContainer:gr||Xr,transitionName:Cr,trigger:cn,overlay:Mt,placement:yi,onVisibleChange:ir}),Nt))};function ce(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ue=(0,ft.Z)(Fe,"dropdown",le=>le,ce),pe=le=>ae.createElement(ue,Object.assign({},le),ae.createElement("span",null));Fe._InternalPanelDoNotUseOrYouWillBeFired=pe;var de=Fe},85418:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return dt}});var ae=ie(35874),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(67294),ve=ie(25877),Ee=ie(71577),ke=ie(53124),ye=ie(93421),me=ie(4173),Le=ie(66748),mt=function(nt,Me){var ut={};for(var Ut in nt)Object.prototype.hasOwnProperty.call(nt,Ut)&&Me.indexOf(Ut)<0&&(ut[Ut]=nt[Ut]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ut=Object.getOwnPropertySymbols(nt);at{const{getPopupContainer:Me,getPrefixCls:ut,direction:Ut}=Ze.useContext(ke.E_),{prefixCls:at,type:ht="default",danger:we,disabled:he,loading:je,onClick:Ve,htmlType:Ge,children:qe,className:Ye,menu:We,arrow:St,autoFocus:lt,overlay:zt,trigger:Dt,align:pn,open:Kn,onOpenChange:tr,placement:it,getPopupContainer:Ce,href:wt,icon:An=Ze.createElement(ve.Z,null),title:Tt,buttonsRender:rt=nn=>nn,mouseEnterDelay:ft,mouseLeaveDelay:Wt,overlayClassName:qt,overlayStyle:Xt,destroyPopupOnHide:Ht,dropdownRender:un}=nt,kn=mt(nt,["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"]),yn=ut("dropdown",at),Fe=`${yn}-button`,[ce,ue]=(0,Le.Z)(yn),pe={menu:We,arrow:St,autoFocus:lt,align:pn,disabled:he,trigger:he?[]:Dt,onOpenChange:tr,getPopupContainer:Ce||Me,mouseEnterDelay:ft,mouseLeaveDelay:Wt,overlayClassName:qt,overlayStyle:Xt,destroyPopupOnHide:Ht,dropdownRender:un},{compactSize:de,compactItemClassnames:le}=(0,me.ri)(yn,Ut),De=Re()(Fe,le,Ye,ue);"overlay"in nt&&(pe.overlay=zt),"open"in nt&&(pe.open=Kn),"placement"in nt?pe.placement=it:pe.placement=Ut==="rtl"?"bottomLeft":"bottomRight";const Ke=Ze.createElement(Ee.ZP,{type:ht,danger:we,disabled:he,loading:je,onClick:Ve,htmlType:Ge,href:wt,title:Tt},qe),Et=Ze.createElement(Ee.ZP,{type:ht,danger:we,icon:An}),[Yt,Kt]=rt([Ke,Et]);return ce(Ze.createElement(ye.Z.Compact,Object.assign({className:De,size:de,block:!0},kn),Yt,Ze.createElement(ae.Z,Object.assign({},pe),Kt)))};Ie.__ANT_BUTTON=!0;var Xe=Ie;const ot=ae.Z;ot.Button=Xe;var dt=ot},66748:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return mt}});var ae=ie(14747),Oe=ie(67771),Re=ie(33297),Ze=ie(50438),ve=ie(97414),Ee=ie(67968),ke=ie(45503),me=Ie=>{const{componentCls:Xe,menuCls:ot,colorError:dt,colorTextLightSolid:nt}=Ie,Me=`${ot}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${ot} ${Me}`]:{[`&${Me}-danger:not(${Me}-disabled)`]:{color:dt,"&:hover":{color:nt,backgroundColor:dt}}}}}};const Le=Ie=>{const{componentCls:Xe,menuCls:ot,zIndexPopup:dt,dropdownArrowDistance:nt,sizePopupArrow:Me,antCls:ut,iconCls:Ut,motionDurationMid:at,dropdownPaddingVertical:ht,fontSize:we,dropdownEdgeChildPadding:he,colorTextDisabled:je,fontSizeIcon:Ve,controlPaddingHorizontal:Ge,colorBgElevated:qe}=Ie;return[{[Xe]:Object.assign(Object.assign({},(0,ae.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:dt,display:"block","&::before":{position:"absolute",insetBlock:-nt+Me/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${ut}-btn`]:{[`& > ${Ut}-down, & > ${ut}-btn-icon > ${Ut}-down`]:{fontSize:Ve}},[`${Xe}-wrap`]:{position:"relative",[`${ut}-btn > ${Ut}-down`]:{fontSize:Ve},[`${Ut}-down::before`]:{transition:`transform ${at}`}},[`${Xe}-wrap-open`]:{[`${Ut}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottomLeft, &${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottomLeft, &${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottom, &${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottom, &${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottomRight, &${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:Oe.fJ},[`&${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-topLeft, &${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-topLeft, &${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-top, &${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-top, &${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-topRight, &${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:Oe.Qt},[`&${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottomLeft, &${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottom, &${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:Oe.Uw},[`&${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-topLeft, &${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-top, &${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:Oe.ly}})},(0,ve.ZP)(Ie,{colorBg:qe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${ot}`]:{position:"relative",margin:0},[`${ot}-submenu-popup`]:{position:"absolute",zIndex:dt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[ot]:Object.assign(Object.assign({padding:he,listStyleType:"none",backgroundColor:qe,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary},(0,ae.Qy)(Ie)),{[`${ot}-item-group-title`]:{padding:`${ht}px ${Ge}px`,color:Ie.colorTextDescription,transition:`all ${at}`},[`${ot}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ot}-item-icon`]:{minWidth:we,marginInlineEnd:Ie.marginXS,fontSize:Ie.fontSizeSM},[`${ot}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${at}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ot}-item, ${ot}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ht}px ${Ge}px`,color:Ie.colorText,fontWeight:"normal",fontSize:we,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${at}`,borderRadius:Ie.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ie.controlItemBgHover}},(0,ae.Qy)(Ie)),{"&-selected":{color:Ie.colorPrimary,backgroundColor:Ie.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ie.controlItemBgActiveHover}},"&-disabled":{color:je,cursor:"not-allowed","&:hover":{color:je,backgroundColor:qe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ie.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ie.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ie.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ie.colorTextDescription,fontSize:Ve,fontStyle:"normal"}}}),[`${ot}-item-group-list`]:{margin:`0 ${Ie.marginXS}px`,padding:0,listStyle:"none"},[`${ot}-submenu-title`]:{paddingInlineEnd:Ge+Ie.fontSizeSM},[`${ot}-submenu-vertical`]:{position:"relative"},[`${ot}-submenu${ot}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:je,backgroundColor:qe,cursor:"not-allowed"}},[`${ot}-submenu-selected ${Xe}-menu-submenu-title`]:{color:Ie.colorPrimary}})}},[(0,Oe.oN)(Ie,"slide-up"),(0,Oe.oN)(Ie,"slide-down"),(0,Re.Fm)(Ie,"move-up"),(0,Re.Fm)(Ie,"move-down"),(0,Ze._y)(Ie,"zoom-big")]]};var mt=(0,Ee.Z)("Dropdown",(Ie,Xe)=>{let{rootPrefixCls:ot}=Xe;const{marginXXS:dt,sizePopupArrow:nt,controlHeight:Me,fontSize:ut,lineHeight:Ut,paddingXXS:at,componentCls:ht,borderRadiusLG:we}=Ie,he=(Me-ut*Ut)/2,{dropdownArrowOffset:je}=(0,ve.fS)({contentRadius:we}),Ve=(0,ke.TS)(Ie,{menuCls:`${ht}-menu`,rootPrefixCls:ot,dropdownArrowDistance:nt/2+dt,dropdownArrowOffset:je,dropdownPaddingVertical:he,dropdownEdgeChildPadding:at});return[Le(Ve),me(Ve)]},Ie=>({zIndexPopup:Ie.zIndexPopupBase+50}))},32983:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return at}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(10110),Ee=ie(84780),ke=ie(46605),me=()=>{const[,ht]=(0,ke.Z)(),he=new Ee.C(ht.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Re.createElement("svg",{style:he,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Re.createElement("g",{fill:"none",fillRule:"evenodd"},Re.createElement("g",{transform:"translate(24 31.67)"},Re.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Re.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"}),Re.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)"}),Re.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"}),Re.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"})),Re.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"}),Re.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Re.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Re.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},mt=()=>{const[,ht]=(0,ke.Z)(),{colorFill:we,colorFillTertiary:he,colorFillQuaternary:je,colorBgContainer:Ve}=ht,{borderColor:Ge,shadowColor:qe,contentColor:Ye}=(0,Re.useMemo)(()=>({borderColor:new Ee.C(we).onBackground(Ve).toHexShortString(),shadowColor:new Ee.C(he).onBackground(Ve).toHexShortString(),contentColor:new Ee.C(je).onBackground(Ve).toHexShortString()}),[we,he,je,Ve]);return Re.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Re.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Re.createElement("ellipse",{fill:qe,cx:"32",cy:"33",rx:"32",ry:"7"}),Re.createElement("g",{fillRule:"nonzero",stroke:Ge},Re.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"}),Re.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:Ye}))))},Ie=ie(67968),Xe=ie(45503);const ot=ht=>{const{componentCls:we,margin:he,marginXS:je,marginXL:Ve,fontSize:Ge,lineHeight:qe}=ht;return{[we]:{marginInline:je,fontSize:Ge,lineHeight:qe,textAlign:"center",[`${we}-image`]:{height:ht.emptyImgHeight,marginBottom:je,opacity:ht.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${we}-description`]:{color:ht.colorText},[`${we}-footer`]:{marginTop:he},"&-normal":{marginBlock:Ve,color:ht.colorTextDisabled,[`${we}-description`]:{color:ht.colorTextDisabled},[`${we}-image`]:{height:ht.emptyImgHeightMD}},"&-small":{marginBlock:je,color:ht.colorTextDisabled,[`${we}-image`]:{height:ht.emptyImgHeightSM}}}}};var dt=(0,Ie.Z)("Empty",ht=>{const{componentCls:we,controlHeightLG:he}=ht,je=(0,Xe.TS)(ht,{emptyImgCls:`${we}-img`,emptyImgHeight:he*2.5,emptyImgHeightMD:he,emptyImgHeightSM:he*.875});return[ot(je)]}),nt=function(ht,we){var he={};for(var je in ht)Object.prototype.hasOwnProperty.call(ht,je)&&we.indexOf(je)<0&&(he[je]=ht[je]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,je=Object.getOwnPropertySymbols(ht);Ve{var{className:we,rootClassName:he,prefixCls:je,image:Ve=Me,description:Ge,children:qe,imageStyle:Ye,style:We}=ht,St=nt(ht,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:lt,direction:zt,empty:Dt}=Re.useContext(Ze.E_),pn=lt("empty",je),[Kn,tr]=dt(pn),[it]=(0,ve.Z)("Empty"),Ce=typeof Ge!="undefined"?Ge:it==null?void 0:it.description,wt=typeof Ce=="string"?Ce:"empty";let An=null;return typeof Ve=="string"?An=Re.createElement("img",{alt:wt,src:Ve}):An=Ve,Kn(Re.createElement("div",Object.assign({className:Oe()(tr,pn,Dt==null?void 0:Dt.className,{[`${pn}-normal`]:Ve===ut,[`${pn}-rtl`]:zt==="rtl"},we,he),style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),We)},St),Re.createElement("div",{className:`${pn}-image`,style:Ye},An),Ce&&Re.createElement("div",{className:`${pn}-description`},Ce),qe&&Re.createElement("div",{className:`${pn}-footer`},qe)))};Ut.PRESENTED_IMAGE_DEFAULT=Me,Ut.PRESENTED_IMAGE_SIMPLE=ut;var at=Ut},22150:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return fn}});var ae=ie(74902),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(38379),ve=ie(67294),Ee=ie(33603),ke=ie(65223);function ye($e){const[Ft,on]=ve.useState($e);return ve.useEffect(()=>{const _t=setTimeout(()=>{on($e)},$e.length?0:10);return()=>{clearTimeout(_t)}},[$e]),Ft}var me=ie(14747),Le=ie(50438),mt=ie(33507),Ie=ie(45503),Xe=ie(67968),dt=$e=>{const{componentCls:Ft}=$e,on=`${Ft}-show-help`,_t=`${Ft}-show-help-item`;return{[on]:{transition:`opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[_t]:{overflow:"hidden",transition:`height ${$e.motionDurationSlow} ${$e.motionEaseInOut}, opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut}, transform ${$e.motionDurationSlow} ${$e.motionEaseInOut} !important`,[`&${_t}-appear, &${_t}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${_t}-leave-active`]:{transform:"translateY(-5px)"}}}}};const nt=$e=>({legend:{display:"block",width:"100%",marginBottom:$e.marginLG,padding:0,color:$e.colorTextDescription,fontSize:$e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`},label:{fontSize:$e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},output:{display:"block",paddingTop:15,color:$e.colorText,fontSize:$e.fontSize,lineHeight:$e.lineHeight}}),Me=($e,Ft)=>{const{formItemCls:on}=$e;return{[on]:{[`${on}-label > label`]:{height:Ft},[`${on}-control-input`]:{minHeight:Ft}}}},ut=$e=>{const{componentCls:Ft}=$e;return{[$e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,me.Wf)($e)),nt($e)),{[`${Ft}-text`]:{display:"inline-block",paddingInlineEnd:$e.paddingSM},"&-small":Object.assign({},Me($e,$e.controlHeightSM)),"&-large":Object.assign({},Me($e,$e.controlHeightLG))})}},Ut=$e=>{const{formItemCls:Ft,iconCls:on,componentCls:_t,rootPrefixCls:En,labelRequiredMarkColor:Sn,labelColor:Bn,labelFontSize:Qr,labelHeight:Lr,labelColonMarginInlineStart:Sr,labelColonMarginInlineEnd:jr,itemMarginBottom:zr}=$e;return{[Ft]:Object.assign(Object.assign({},(0,me.Wf)($e)),{marginBottom:zr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${En}-row`]:{display:"none"},"&-has-warning":{[`${Ft}-split`]:{color:$e.colorError}},"&-has-error":{[`${Ft}-split`]:{color:$e.colorWarning}},[`${Ft}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${$e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Lr,color:Bn,fontSize:Qr,[`> ${on}`]:{fontSize:$e.fontSize,verticalAlign:"top"},[`&${Ft}-required:not(${Ft}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:$e.marginXXS,color:Sn,fontSize:$e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${_t}-hide-required-mark &`]:{display:"none"}},[`${Ft}-optional`]:{display:"inline-block",marginInlineStart:$e.marginXXS,color:$e.colorTextDescription,[`${_t}-hide-required-mark &`]:{display:"none"}},[`${Ft}-tooltip`]:{color:$e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:$e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Sr,marginInlineEnd:jr},[`&${Ft}-no-colon::after`]:{content:'"\\a0"'}}},[`${Ft}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${En}-col-'"]):not([class*="' ${En}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:$e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Ft]:{"&-explain, &-extra":{clear:"both",color:$e.colorTextDescription,fontSize:$e.fontSize,lineHeight:$e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:$e.controlHeightSM,transition:`color ${$e.motionDurationMid} ${$e.motionEaseOut}`},"&-explain":{"&-error":{color:$e.colorError},"&-warning":{color:$e.colorWarning}}},[`&-with-help ${Ft}-explain`]:{height:"auto",opacity:1},[`${Ft}-feedback-icon`]:{fontSize:$e.fontSize,textAlign:"center",visibility:"visible",animationName:Le.kr,animationDuration:$e.motionDurationMid,animationTimingFunction:$e.motionEaseOutBack,pointerEvents:"none","&-success":{color:$e.colorSuccess},"&-error":{color:$e.colorError},"&-warning":{color:$e.colorWarning},"&-validating":{color:$e.colorPrimary}}})}},at=$e=>{const{componentCls:Ft,formItemCls:on}=$e;return{[`${Ft}-horizontal`]:{[`${on}-label`]:{flexGrow:0},[`${on}-control`]:{flex:"1 1 0",minWidth:0},[`${on}-label[class$='-24'], ${on}-label[class*='-24 ']`]:{[`& + ${on}-control`]:{minWidth:"unset"}}}}},ht=$e=>{const{componentCls:Ft,formItemCls:on}=$e;return{[`${Ft}-inline`]:{display:"flex",flexWrap:"wrap",[on]:{flex:"none",marginInlineEnd:$e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${on}-label, > ${on}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${on}-label`]:{flex:"none"},[`${Ft}-text`]:{display:"inline-block"},[`${on}-has-feedback`]:{display:"inline-block"}}}}},we=$e=>({padding:$e.verticalLabelPadding,margin:$e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),he=$e=>{const{componentCls:Ft,formItemCls:on,rootPrefixCls:_t}=$e;return{[`${on} ${on}-label`]:we($e),[Ft]:{[on]:{flexWrap:"wrap",[`${on}-label, ${on}-control`]:{[`&:not([class*=" ${_t}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},je=$e=>{const{componentCls:Ft,formItemCls:on,rootPrefixCls:_t}=$e;return{[`${Ft}-vertical`]:{[on]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Ft}-item-control`]:{width:"100%"}}},[`${Ft}-vertical ${on}-label, .${_t}-col-24${on}-label, .${_t}-col-xl-24${on}-label`]:we($e),[`@media (max-width: ${$e.screenXSMax}px)`]:[he($e),{[Ft]:{[`.${_t}-col-xs-24${on}-label`]:we($e)}}],[`@media (max-width: ${$e.screenSMMax}px)`]:{[Ft]:{[`.${_t}-col-sm-24${on}-label`]:we($e)}},[`@media (max-width: ${$e.screenMDMax}px)`]:{[Ft]:{[`.${_t}-col-md-24${on}-label`]:we($e)}},[`@media (max-width: ${$e.screenLGMax}px)`]:{[Ft]:{[`.${_t}-col-lg-24${on}-label`]:we($e)}}}},Ve=($e,Ft)=>(0,Ie.TS)($e,{formItemCls:`${$e.componentCls}-item`,rootPrefixCls:Ft});var Ge=(0,Xe.Z)("Form",($e,Ft)=>{let{rootPrefixCls:on}=Ft;const _t=Ve($e,on);return[ut(_t),Ut(_t),dt(_t),at(_t),ht(_t),je(_t),(0,mt.Z)(_t),Le.kr]},$e=>({labelRequiredMarkColor:$e.colorError,labelColor:$e.colorTextHeading,labelFontSize:$e.fontSize,labelHeight:$e.controlHeight,labelColonMarginInlineStart:$e.marginXXS/2,labelColonMarginInlineEnd:$e.marginXS,itemMarginBottom:$e.marginLG,verticalLabelPadding:`0 0 ${$e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const qe=[];function Ye($e,Ft,on){let _t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof $e=="string"?$e:`${Ft}-${_t}`,error:$e,errorStatus:on}}var St=$e=>{let{help:Ft,helpStatus:on,errors:_t=qe,warnings:En=qe,className:Sn,fieldId:Bn,onVisibleChanged:Qr}=$e;const{prefixCls:Lr}=ve.useContext(ke.Rk),Sr=`${Lr}-item-explain`,[,jr]=Ge(Lr),zr=(0,ve.useMemo)(()=>(0,Ee.Z)(Lr),[Lr]),Rt=ye(_t),kt=ye(En),jt=ve.useMemo(()=>Ft!=null?[Ye(Ft,"help",on)]:[].concat((0,ae.Z)(Rt.map((lr,Hn)=>Ye(lr,"error","error",Hn))),(0,ae.Z)(kt.map((lr,Hn)=>Ye(lr,"warning","warning",Hn)))),[Ft,on,Rt,kt]),zn={};return Bn&&(zn.id=`${Bn}_help`),ve.createElement(Ze.default,{motionDeadline:zr.motionDeadline,motionName:`${Lr}-show-help`,visible:!!jt.length,onVisibleChanged:Qr},lr=>{const{className:Hn,style:_n}=lr;return ve.createElement("div",Object.assign({},zn,{className:Re()(Sr,Hn,Sn,jr),style:_n,role:"alert"}),ve.createElement(Ze.CSSMotionList,Object.assign({keys:jt},(0,Ee.Z)(Lr),{motionName:`${Lr}-show-help-item`,component:!1}),Gn=>{const{key:or,error:Kr,errorStatus:Ln,className:Fi,style:pi}=Gn;return ve.createElement("div",{key:or,className:Re()(Fi,{[`${Sr}-${Ln}`]:Ln}),style:pi},Kr)}))})},lt=ie(58083),zt=ie(53124),Dt=ie(98866),pn=ie(97647),Kn=ie(98675),tr=ie(17423);const it=["parentNode"],Ce="form_item";function wt($e){return $e===void 0||$e===!1?[]:Array.isArray($e)?$e:[$e]}function An($e,Ft){if(!$e.length)return;const on=$e.join("_");return Ft?`${Ft}_${on}`:it.includes(on)?`${Ce}_${on}`:on}function Tt($e,Ft,on,_t,En,Sn){let Bn=_t;return Sn!==void 0?Bn=Sn:on.validating?Bn="validating":$e.length?Bn="error":Ft.length?Bn="warning":(on.touched||En&&on.validated)&&(Bn="success"),Bn}function rt($e){return wt($e).join("_")}function ft($e){const[Ft]=(0,lt.useForm)(),on=ve.useRef({}),_t=ve.useMemo(()=>$e!=null?$e:Object.assign(Object.assign({},Ft),{__INTERNAL__:{itemRef:En=>Sn=>{const Bn=rt(En);Sn?on.current[Bn]=Sn:delete on.current[Bn]}},scrollToField:function(En){let Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Bn=wt(En),Qr=An(Bn,_t.__INTERNAL__.name),Lr=Qr?document.getElementById(Qr):null;Lr&&(0,tr.Z)(Lr,Object.assign({scrollMode:"if-needed",block:"nearest"},Sn))},getFieldInstance:En=>{const Sn=rt(En);return on.current[Sn]}}),[$e,Ft]);return[_t]}var Wt=ie(37920),qt=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};const Xt=($e,Ft)=>{const on=ve.useContext(Dt.Z),{getPrefixCls:_t,direction:En,form:Sn}=ve.useContext(zt.E_),{prefixCls:Bn,className:Qr,rootClassName:Lr,size:Sr,disabled:jr=on,form:zr,colon:Rt,labelAlign:kt,labelWrap:jt,labelCol:zn,wrapperCol:lr,hideRequiredMark:Hn,layout:_n="horizontal",scrollToFirstError:Gn,requiredMark:or,onFinishFailed:Kr,name:Ln,style:Fi,feedbackIcons:pi}=$e,ha=qt($e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ra=(0,Kn.Z)(Sr),Qi=ve.useContext(Wt.Z),Ca=(0,ve.useMemo)(()=>or!==void 0?or:Sn&&Sn.requiredMark!==void 0?Sn.requiredMark:!Hn,[Hn,or,Sn]),Xi=Rt!=null?Rt:Sn==null?void 0:Sn.colon,Ri=_t("form",Bn),[sa,Da]=Ge(Ri),ki=Re()(Ri,`${Ri}-${_n}`,{[`${Ri}-hide-required-mark`]:Ca===!1,[`${Ri}-rtl`]:En==="rtl",[`${Ri}-${ra}`]:ra},Da,Sn==null?void 0:Sn.className,Qr,Lr),[Ji]=ft(zr),{__INTERNAL__:Ea}=Ji;Ea.name=Ln;const _a=(0,ve.useMemo)(()=>({name:Ln,labelAlign:kt,labelCol:zn,labelWrap:jt,wrapperCol:lr,vertical:_n==="vertical",colon:Xi,requiredMark:Ca,itemRef:Ea.itemRef,form:Ji,feedbackIcons:pi}),[Ln,kt,zn,lr,_n,Xi,Ca,Ji,pi]);ve.useImperativeHandle(Ft,()=>Ji);const Oa=(Qt,Zt)=>{if(Qt){let Mn={block:"nearest"};typeof Qt=="object"&&(Mn=Qt),Ji.scrollToField(Zt,Mn)}},Oi=Qt=>{if(Kr==null||Kr(Qt),Qt.errorFields.length){const Zt=Qt.errorFields[0].name;if(Gn!==void 0){Oa(Gn,Zt);return}Sn&&Sn.scrollToFirstError!==void 0&&Oa(Sn.scrollToFirstError,Zt)}};return sa(ve.createElement(Dt.n,{disabled:jr},ve.createElement(pn.q,{size:ra},ve.createElement(ke.RV,Object.assign({},{validateMessages:Qi}),ve.createElement(ke.q3.Provider,{value:_a},ve.createElement(lt.default,Object.assign({id:Ln},ha,{name:Ln,onFinishFailed:Oi,form:Ji,style:Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Fi),className:ki})))))))};var un=ve.forwardRef(Xt),kn=ie(9475),yn=ie(17799),Fe=ie(96159),ce=ie(37419);function ue($e){if(typeof $e=="function")return $e;const Ft=(0,ce.Z)($e);return Ft.length<=1?Ft[0]:Ft}const pe=()=>{const{status:$e,errors:Ft=[],warnings:on=[]}=(0,ve.useContext)(ke.aM);return{status:$e,errors:Ft,warnings:on}};pe.Context=ke.aM;var de=pe,le=ie(96523);function De($e){const[Ft,on]=ve.useState($e),_t=(0,ve.useRef)(null),En=(0,ve.useRef)([]),Sn=(0,ve.useRef)(!1);ve.useEffect(()=>(Sn.current=!1,()=>{Sn.current=!0,le.Z.cancel(_t.current),_t.current=null}),[]);function Bn(Qr){Sn.current||(_t.current===null&&(En.current=[],_t.current=(0,le.Z)(()=>{_t.current=null,on(Lr=>{let Sr=Lr;return En.current.forEach(jr=>{Sr=jr(Sr)}),Sr})})),En.current.push(Qr))}return[Ft,Bn]}function Ke(){const{itemRef:$e}=ve.useContext(ke.q3),Ft=ve.useRef({});function on(_t,En){const Sn=En&&typeof En=="object"&&En.ref,Bn=_t.join("_");return(Ft.current.name!==Bn||Ft.current.originRef!==Sn)&&(Ft.current.name=Bn,Ft.current.originRef=Sn,Ft.current.ref=(0,yn.sQ)($e(_t),Sn)),Ft.current.ref}return on}var Et=ie(48130),Yt=ie(14075),Kt=ie(10366),nn=ie(92820),$t=ie(21584);const gr=$e=>{const{formItemCls:Ft}=$e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Ft}-control`]:{display:"flex"}}}};var kr=(0,Xe.b)(["Form","item-item"],($e,Ft)=>{let{rootPrefixCls:on}=Ft;const _t=Ve($e,on);return[gr(_t)]}),gn=$e=>{const{prefixCls:Ft,status:on,wrapperCol:_t,children:En,errors:Sn,warnings:Bn,_internalItemRender:Qr,extra:Lr,help:Sr,fieldId:jr,marginBottom:zr,onErrorVisibleChanged:Rt}=$e,kt=`${Ft}-item`,jt=ve.useContext(ke.q3),zn=_t||jt.wrapperCol||{},lr=Re()(`${kt}-control`,zn.className),Hn=ve.useMemo(()=>Object.assign({},jt),[jt]);delete Hn.labelCol,delete Hn.wrapperCol;const _n=ve.createElement("div",{className:`${kt}-control-input`},ve.createElement("div",{className:`${kt}-control-input-content`},En)),Gn=ve.useMemo(()=>({prefixCls:Ft,status:on}),[Ft,on]),or=zr!==null||Sn.length||Bn.length?ve.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},ve.createElement(ke.Rk.Provider,{value:Gn},ve.createElement(St,{fieldId:jr,errors:Sn,warnings:Bn,help:Sr,helpStatus:on,className:`${kt}-explain-connected`,onVisibleChanged:Rt})),!!zr&&ve.createElement("div",{style:{width:0,height:zr}})):null,Kr={};jr&&(Kr.id=`${jr}_extra`);const Ln=Lr?ve.createElement("div",Object.assign({},Kr,{className:`${kt}-extra`}),Lr):null,Fi=Qr&&Qr.mark==="pro_table_render"&&Qr.render?Qr.render($e,{input:_n,errorList:or,extra:Ln}):ve.createElement(ve.Fragment,null,_n,or,Ln);return ve.createElement(ke.q3.Provider,{value:Hn},ve.createElement($t.Z,Object.assign({},zn,{className:lr}),Fi),ve.createElement(kr,{prefixCls:Ft}))},hr=ie(17663),Er=ie(24457),yt=ie(10110),It=ie(83062),$n=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};function Qn($e){return $e?typeof $e=="object"&&!ve.isValidElement($e)?$e:{title:$e}:null}var _r=$e=>{let{prefixCls:Ft,label:on,htmlFor:_t,labelCol:En,labelAlign:Sn,colon:Bn,required:Qr,requiredMark:Lr,tooltip:Sr}=$e;var jr;const[zr]=(0,yt.Z)("Form"),{vertical:Rt,labelAlign:kt,labelCol:jt,labelWrap:zn,colon:lr}=ve.useContext(ke.q3);if(!on)return null;const Hn=En||jt||{},_n=Sn||kt,Gn=`${Ft}-item-label`,or=Re()(Gn,_n==="left"&&`${Gn}-left`,Hn.className,{[`${Gn}-wrap`]:!!zn});let Kr=on;const Ln=Bn===!0||lr!==!1&&Bn!==!1;Ln&&!Rt&&typeof on=="string"&&on.trim()!==""&&(Kr=on.replace(/[:|:]\s*$/,""));const pi=Qn(Sr);if(pi){const{icon:Ca=ve.createElement(hr.Z,null)}=pi,Xi=$n(pi,["icon"]),Ri=ve.createElement(It.Z,Object.assign({},Xi),ve.cloneElement(Ca,{className:`${Ft}-item-tooltip`,title:""}));Kr=ve.createElement(ve.Fragment,null,Kr,Ri)}const ha=Lr==="optional",ra=typeof Lr=="function";ra?Kr=Lr(Kr,{required:!!Qr}):ha&&!Qr&&(Kr=ve.createElement(ve.Fragment,null,Kr,ve.createElement("span",{className:`${Ft}-item-optional`,title:""},(zr==null?void 0:zr.optional)||((jr=Er.Z.Form)===null||jr===void 0?void 0:jr.optional))));const Qi=Re()({[`${Ft}-item-required`]:Qr,[`${Ft}-item-required-mark-optional`]:ha||ra,[`${Ft}-item-no-colon`]:!Ln});return ve.createElement($t.Z,Object.assign({},Hn,{className:or}),ve.createElement("label",{htmlFor:_t,className:Qi,title:typeof on=="string"?on:""},Kr))},ei=ie(87725),Xr=ie(16646),ri=ie(87995),fi=ie(3407);const Cr={success:ei.Z,warning:ri.Z,error:Xr.Z,validating:fi.Z};function yi($e){let{children:Ft,errors:on,warnings:_t,hasFeedback:En,validateStatus:Sn,prefixCls:Bn,meta:Qr,noStyle:Lr}=$e;const Sr=`${Bn}-item`,{feedbackIcons:jr}=ve.useContext(ke.q3),zr=Tt(on,_t,Qr,null,!!En,Sn),{isFormItemInput:Rt,status:kt}=ve.useContext(ke.aM),jt=ve.useMemo(()=>{var zn;let lr;if(En){const Gn=En!==!0&&En.icons||jr,or=zr&&((zn=Gn==null?void 0:Gn({status:zr,errors:on,warnings:_t}))===null||zn===void 0?void 0:zn[zr]),Kr=zr&&Cr[zr];lr=or!==!1&&Kr?ve.createElement("span",{className:Re()(`${Sr}-feedback-icon`,`${Sr}-feedback-icon-${zr}`)},or||ve.createElement(Kr,null)):null}let Hn=!0,_n=zr||"";return Lr&&(Hn=Rt,_n=(zr!=null?zr:kt)||""),{status:_n,errors:on,warnings:_t,hasFeedback:!!En,feedbackIcon:lr,isFormItemInput:Hn}},[zr,En,Lr,Rt,kt]);return ve.createElement(ke.aM.Provider,{value:jt},Ft)}var Gi=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};function oi($e){const{prefixCls:Ft,className:on,rootClassName:_t,style:En,help:Sn,errors:Bn,warnings:Qr,validateStatus:Lr,meta:Sr,hasFeedback:jr,hidden:zr,children:Rt,fieldId:kt,required:jt,isRequired:zn,onSubItemMetaChange:lr}=$e,Hn=Gi($e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),_n=`${Ft}-item`,{requiredMark:Gn}=ve.useContext(ke.q3),or=ve.useRef(null),Kr=ye(Bn),Ln=ye(Qr),Fi=Sn!=null,pi=!!(Fi||Bn.length||Qr.length),ha=!!or.current&&(0,Et.Z)(or.current),[ra,Qi]=ve.useState(null);(0,Yt.Z)(()=>{if(pi&&or.current){const Da=getComputedStyle(or.current);Qi(parseInt(Da.marginBottom,10))}},[pi,ha]);const Ca=Da=>{Da||Qi(null)},Ri=function(){let Da=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ki=Da?Kr:Sr.errors,Ji=Da?Ln:Sr.warnings;return Tt(ki,Ji,Sr,"",!!jr,Lr)}(),sa=Re()(_n,on,_t,{[`${_n}-with-help`]:Fi||Kr.length||Ln.length,[`${_n}-has-feedback`]:Ri&&jr,[`${_n}-has-success`]:Ri==="success",[`${_n}-has-warning`]:Ri==="warning",[`${_n}-has-error`]:Ri==="error",[`${_n}-is-validating`]:Ri==="validating",[`${_n}-hidden`]:zr});return ve.createElement("div",{className:sa,style:En,ref:or},ve.createElement(nn.Z,Object.assign({className:`${_n}-row`},(0,Kt.Z)(Hn,["_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"])),ve.createElement(_r,Object.assign({htmlFor:kt},$e,{requiredMark:Gn,required:jt!=null?jt:zn,prefixCls:Ft})),ve.createElement(gn,Object.assign({},$e,Sr,{errors:Kr,warnings:Ln,prefixCls:Ft,status:Ri,help:Sn,marginBottom:ra,onErrorVisibleChanged:Ca}),ve.createElement(ke.qI.Provider,{value:lr},ve.createElement(yi,{prefixCls:Ft,meta:Sr,errors:Sr.errors,warnings:Sr.warnings,hasFeedback:jr,validateStatus:Ri},Rt)))),!!ra&&ve.createElement("div",{className:`${_n}-margin-offset`,style:{marginBottom:-ra}}))}const ea="__SPLIT__",Di=null,Ot=ve.memo($e=>{let{children:Ft}=$e;return Ft},($e,Ft)=>$e.value===Ft.value&&$e.update===Ft.update&&$e.childProps.length===Ft.childProps.length&&$e.childProps.every((on,_t)=>on===Ft.childProps[_t]));function Nt($e){return $e!=null}function cn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function bn($e){const{name:Ft,noStyle:on,className:_t,dependencies:En,prefixCls:Sn,shouldUpdate:Bn,rules:Qr,children:Lr,required:Sr,label:jr,messageVariables:zr,trigger:Rt="onChange",validateTrigger:kt,hidden:jt,help:zn}=$e,{getPrefixCls:lr}=ve.useContext(zt.E_),{name:Hn}=ve.useContext(ke.q3),_n=ue(Lr),Gn=typeof _n=="function",or=ve.useContext(ke.qI),{validateTrigger:Kr}=ve.useContext(lt.FieldContext),Ln=kt!==void 0?kt:Kr,Fi=Nt(Ft),pi=lr("form",Sn),[ha,ra]=Ge(pi),Qi=ve.useContext(lt.ListContext),Ca=ve.useRef(),[Xi,Ri]=De({}),[sa,Da]=(0,kn.Z)(()=>cn()),ki=Zt=>{const Mn=Qi==null?void 0:Qi.getKey(Zt.name);if(Da(Zt.destroy?cn():Zt,!0),on&&zn!==!1&&or){let jn=Zt.name;if(Zt.destroy)jn=Ca.current||jn;else if(Mn!==void 0){const[sr,Yr]=Mn;jn=[sr].concat((0,ae.Z)(Yr)),Ca.current=jn}or(Zt,jn)}},Ji=(Zt,Mn)=>{Ri(jn=>{const sr=Object.assign({},jn),si=[].concat((0,ae.Z)(Zt.name.slice(0,-1)),(0,ae.Z)(Mn)).join(ea);return Zt.destroy?delete sr[si]:sr[si]=Zt,sr})},[Ea,_a]=ve.useMemo(()=>{const Zt=(0,ae.Z)(sa.errors),Mn=(0,ae.Z)(sa.warnings);return Object.values(Xi).forEach(jn=>{Zt.push.apply(Zt,(0,ae.Z)(jn.errors||[])),Mn.push.apply(Mn,(0,ae.Z)(jn.warnings||[]))}),[Zt,Mn]},[Xi,sa.errors,sa.warnings]),Oa=Ke();function Oi(Zt,Mn,jn){return on&&!jt?ve.createElement(yi,{prefixCls:pi,hasFeedback:$e.hasFeedback,validateStatus:$e.validateStatus,meta:sa,errors:Ea,warnings:_a,noStyle:!0},Zt):ve.createElement(oi,Object.assign({key:"row"},$e,{className:Re()(_t,ra),prefixCls:pi,fieldId:Mn,isRequired:jn,errors:Ea,warnings:_a,meta:sa,onSubItemMetaChange:Ji}),Zt)}if(!Fi&&!Gn&&!En)return ha(Oi(_n));let Qt={};return typeof jr=="string"?Qt.label=jr:Ft&&(Qt.label=String(Ft)),zr&&(Qt=Object.assign(Object.assign({},Qt),zr)),ha(ve.createElement(lt.Field,Object.assign({},$e,{messageVariables:Qt,trigger:Rt,validateTrigger:Ln,onMetaChange:ki}),(Zt,Mn,jn)=>{const sr=wt(Ft).length&&Mn?Mn.name:[],Yr=An(sr,Hn),si=Sr!==void 0?Sr:!!(Qr&&Qr.some(gi=>{if(gi&&typeof gi=="object"&&gi.required&&!gi.warningOnly)return!0;if(typeof gi=="function"){const Ti=gi(jn);return Ti&&Ti.required&&!Ti.warningOnly}return!1})),mi=Object.assign({},Zt);let Ci=null;if(Array.isArray(_n)&&Fi)Ci=_n;else if(!(Gn&&(!(Bn||En)||Fi))){if(!(En&&!Gn&&!Fi))if((0,Fe.l$)(_n)){const gi=Object.assign(Object.assign({},_n.props),mi);if(gi.id||(gi.id=Yr),zn||Ea.length>0||_a.length>0||$e.extra){const li=[];(zn||Ea.length>0)&&li.push(`${Yr}_help`),$e.extra&&li.push(`${Yr}_extra`),gi["aria-describedby"]=li.join(" ")}Ea.length>0&&(gi["aria-invalid"]="true"),si&&(gi["aria-required"]="true"),(0,yn.Yr)(_n)&&(gi.ref=Oa(sr,_n)),new Set([].concat((0,ae.Z)(wt(Rt)),(0,ae.Z)(wt(Ln)))).forEach(li=>{gi[li]=function(){for(var Vi,ia,ta,ze,Je,et=arguments.length,st=new Array(et),Ct=0;Ct{var{prefixCls:Ft,children:on}=$e,_t=ir($e,["prefixCls","children"]);const{getPrefixCls:En}=ve.useContext(zt.E_),Sn=En("form",Ft),Bn=ve.useMemo(()=>({prefixCls:Sn,status:"error"}),[Sn]);return ve.createElement(lt.List,Object.assign({},_t),(Qr,Lr,Sr)=>ve.createElement(ke.Rk.Provider,{value:Bn},on(Qr.map(jr=>Object.assign(Object.assign({},jr),{fieldKey:jr.key})),Lr,{errors:Sr.errors,warnings:Sr.warnings})))};function At(){const{form:$e}=(0,ve.useContext)(ke.q3);return $e}const Mt=un;Mt.Item=Fn,Mt.List=pt,Mt.ErrorList=St,Mt.useForm=ft,Mt.useFormInstance=At,Mt.useWatch=lt.useWatch,Mt.Provider=ke.RV,Mt.create=()=>{};var fn=Mt},31795:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Xn}});var ae=ie(42922),Oe=ie(53978),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(4942),ke=ie(71002),ye=ie(97685),me=ie(45987),Le=ie(15671),mt=ie(43144);function Ie(){return typeof BigInt=="function"}function Xe(pt){return!pt&&pt!==0&&!Number.isNaN(pt)||!String(pt).trim()}function ot(pt){var At=pt.trim(),Mt=At.startsWith("-");Mt&&(At=At.slice(1)),At=At.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),At.startsWith(".")&&(At="0".concat(At));var fn=At||"0",$e=fn.split("."),Ft=$e[0]||"0",on=$e[1]||"0";Ft==="0"&&on==="0"&&(Mt=!1);var _t=Mt?"-":"";return{negative:Mt,negativeStr:_t,trimStr:fn,integerStr:Ft,decimalStr:on,fullStr:"".concat(_t).concat(fn)}}function dt(pt){var At=String(pt);return!Number.isNaN(Number(At))&&At.includes("e")}function nt(pt){var At=String(pt);if(dt(pt)){var Mt=Number(At.slice(At.indexOf("e-")+2)),fn=At.match(/\.(\d+)/);return fn!=null&&fn[1]&&(Mt+=fn[1].length),Mt}return At.includes(".")&&ut(At)?At.length-At.indexOf(".")-1:0}function Me(pt){var At=String(pt);if(dt(pt)){if(pt>Number.MAX_SAFE_INTEGER)return String(Ie()?BigInt(pt).toString():Number.MAX_SAFE_INTEGER);if(pt0&&arguments[0]!==void 0?arguments[0]:!0;return Mt?this.isInvalidate()?"":ot("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),pt}(),at=function(){function pt(At){if((0,Le.Z)(this,pt),(0,Ee.Z)(this,"origin",""),(0,Ee.Z)(this,"number",void 0),(0,Ee.Z)(this,"empty",void 0),Xe(At)){this.empty=!0;return}this.origin=String(At),this.number=Number(At)}return(0,mt.Z)(pt,[{key:"negate",value:function(){return new pt(-this.toNumber())}},{key:"add",value:function(Mt){if(this.isInvalidate())return new pt(Mt);var fn=Number(Mt);if(Number.isNaN(fn))return this;var $e=this.number+fn;if($e>Number.MAX_SAFE_INTEGER)return new pt(Number.MAX_SAFE_INTEGER);if($eNumber.MAX_SAFE_INTEGER)return new pt(Number.MAX_SAFE_INTEGER);if($e0&&arguments[0]!==void 0?arguments[0]:!0;return Mt?this.isInvalidate()?"":Me(this.number):this.origin}}]),pt}();function ht(pt){return Ie()?new Ut(pt):new at(pt)}function we(pt,At,Mt){var fn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(pt==="")return"";var $e=ot(pt),Ft=$e.negativeStr,on=$e.integerStr,_t=$e.decimalStr,En="".concat(At).concat(_t),Sn="".concat(Ft).concat(on);if(Mt>=0){var Bn=Number(_t[Mt]);if(Bn>=5&&!fn){var Qr=ht(pt).add("".concat(Ft,"0.").concat("0".repeat(Mt)).concat(10-Bn));return we(Qr.toString(),At,Mt,fn)}return Mt===0?Sn:"".concat(Sn).concat(At).concat(_t.padEnd(Mt,"0").slice(0,Mt))}return En===".0"?Sn:"".concat(Sn).concat(En)}var he=ht,je=ie(67656),Ve=ie(67294);function Ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var qe=Ge()?Ve.useLayoutEffect:Ve.useEffect,Ye=function(At,Mt){var fn=Ve.useRef(!0);qe(function(){return At(fn.current)},Mt),qe(function(){return fn.current=!1,function(){fn.current=!0}},[])},We=function(At,Mt){Ye(function(fn){if(!fn)return At()},Mt)},St=Ye,lt=ie(27183);function zt(pt,At,Mt){var fn=React.useRef({});return(!("value"in fn.current)||Mt(fn.current.condition,At))&&(fn.current.value=pt(),fn.current.condition=At),fn.current.value}function Dt(pt,At){typeof pt=="function"?pt(At):(0,ke.Z)(pt)==="object"&&pt&&"current"in pt&&(pt.current=At)}function pn(){for(var pt=arguments.length,At=new Array(pt),Mt=0;Mt1&&arguments[1]!==void 0?arguments[1]:1;pe+=1;var fn=pe;function $e(Ft){if(Ft===0)le(fn),At();else{var on=ce(function(){$e(Ft-1)});de.set(fn,on)}}return $e(Mt),fn};De.cancel=function(pt){var At=de.get(pt);return le(At),ue(At)};var Ke=De,Et=200,Yt=600;function Kt(pt){var At=pt.prefixCls,Mt=pt.upNode,fn=pt.downNode,$e=pt.upDisabled,Ft=pt.downDisabled,on=pt.onStep,_t=Ve.useRef(),En=Ve.useRef([]),Sn=Ve.useRef();Sn.current=on;var Bn=function(){clearTimeout(_t.current)},Qr=function(zn,lr){zn.preventDefault(),Bn(),Sn.current(lr);function Hn(){Sn.current(lr),_t.current=setTimeout(Hn,Et)}_t.current=setTimeout(Hn,Yt)};Ve.useEffect(function(){return function(){Bn(),En.current.forEach(function(jt){return Ke.cancel(jt)})}},[]);var Lr=Fe();if(Lr)return null;var Sr="".concat(At,"-handler"),jr=Ze()(Sr,"".concat(Sr,"-up"),(0,Ee.Z)({},"".concat(Sr,"-up-disabled"),$e)),zr=Ze()(Sr,"".concat(Sr,"-down"),(0,Ee.Z)({},"".concat(Sr,"-down-disabled"),Ft)),Rt=function(){return En.current.push(Ke(Bn))},kt={unselectable:"on",role:"button",onMouseUp:Rt,onMouseLeave:Rt};return Ve.createElement("div",{className:"".concat(Sr,"-wrap")},Ve.createElement("span",(0,ve.Z)({},kt,{onMouseDown:function(zn){Qr(zn,!0)},"aria-label":"Increase Value","aria-disabled":$e,className:jr}),Mt||Ve.createElement("span",{unselectable:"on",className:"".concat(At,"-handler-up-inner")})),Ve.createElement("span",(0,ve.Z)({},kt,{onMouseDown:function(zn){Qr(zn,!1)},"aria-label":"Decrease Value","aria-disabled":Ft,className:zr}),fn||Ve.createElement("span",{unselectable:"on",className:"".concat(At,"-handler-down-inner")})))}function nn(pt){var At=typeof pt=="number"?Me(pt):ot(pt).fullStr,Mt=At.includes(".");return Mt?ot(At.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:pt+"0"}var $t=ie(87887),gr=function(){var pt=(0,Ve.useRef)(0),At=function(){Ke.cancel(pt.current)};return(0,Ve.useEffect)(function(){return At},[]),function(Mt){At(),pt.current=Ke(function(){Mt()})}},kr=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],rn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],gn=function(At,Mt){return At||Mt.isEmpty()?Mt.toString():Mt.toNumber()},hr=function(At){var Mt=he(At);return Mt.isInvalidate()?null:Mt},Er=Ve.forwardRef(function(pt,At){var Mt,fn=pt.prefixCls,$e=fn===void 0?"rc-input-number":fn,Ft=pt.className,on=pt.style,_t=pt.min,En=pt.max,Sn=pt.step,Bn=Sn===void 0?1:Sn,Qr=pt.defaultValue,Lr=pt.value,Sr=pt.disabled,jr=pt.readOnly,zr=pt.upHandler,Rt=pt.downHandler,kt=pt.keyboard,jt=pt.controls,zn=jt===void 0?!0:jt,lr=pt.classNames,Hn=pt.stringMode,_n=pt.parser,Gn=pt.formatter,or=pt.precision,Kr=pt.decimalSeparator,Ln=pt.onChange,Fi=pt.onInput,pi=pt.onPressEnter,ha=pt.onStep,ra=(0,me.Z)(pt,kr),Qi="".concat($e,"-input"),Ca=Ve.useRef(null),Xi=Ve.useState(!1),Ri=(0,ye.Z)(Xi,2),sa=Ri[0],Da=Ri[1],ki=Ve.useRef(!1),Ji=Ve.useRef(!1),Ea=Ve.useRef(!1),_a=Ve.useState(function(){return he(Lr!=null?Lr:Qr)}),Oa=(0,ye.Z)(_a,2),Oi=Oa[0],Qt=Oa[1];function Zt(Dr){Lr===void 0&&Qt(Dr)}var Mn=Ve.useCallback(function(Dr,Mr){if(!Mr)return or>=0?or:Math.max(nt(Dr),nt(Bn))},[or,Bn]),jn=Ve.useCallback(function(Dr){var Mr=String(Dr);if(_n)return _n(Mr);var Tr=Mr;return Kr&&(Tr=Tr.replace(Kr,".")),Tr.replace(/[^\w.-]+/g,"")},[_n,Kr]),sr=Ve.useRef(""),Yr=Ve.useCallback(function(Dr,Mr){if(Gn)return Gn(Dr,{userTyping:Mr,input:String(sr.current)});var Tr=typeof Dr=="number"?Me(Dr):Dr;if(!Mr){var Or=Mn(Tr,Mr);if(ut(Tr)&&(Kr||Or>=0)){var qr=Kr||".";Tr=we(Tr,qr,Or)}}return Tr},[Gn,Mn,Kr]),si=Ve.useState(function(){var Dr=Qr!=null?Qr:Lr;return Oi.isInvalidate()&&["string","number"].includes((0,ke.Z)(Dr))?Number.isNaN(Dr)?"":Dr:Yr(Oi.toString(),!1)}),mi=(0,ye.Z)(si,2),Ci=mi[0],gi=mi[1];sr.current=Ci;function Ti(Dr,Mr){gi(Yr(Dr.isInvalidate()?Dr.toString(!1):Dr.toString(!Mr),Mr))}var qi=Ve.useMemo(function(){return hr(En)},[En,or]),li=Ve.useMemo(function(){return hr(_t)},[_t,or]),Vi=Ve.useMemo(function(){return!qi||!Oi||Oi.isInvalidate()?!1:qi.lessEquals(Oi)},[qi,Oi]),ia=Ve.useMemo(function(){return!li||!Oi||Oi.isInvalidate()?!1:Oi.lessEquals(li)},[li,Oi]),ta=un(Ca.current,sa),ze=(0,ye.Z)(ta,2),Je=ze[0],et=ze[1],st=function(Mr){return qi&&!Mr.lessEquals(qi)?qi:li&&!li.lessEquals(Mr)?li:null},Ct=function(Mr){return!st(Mr)},Bt=function(Mr,Tr){var Or=Mr,qr=Ct(Or)||Or.isEmpty();if(!Or.isEmpty()&&!Tr&&(Or=st(Or)||Or,qr=!0),!jr&&!Sr&&qr){var Ue=Or.toString(),tt=Mn(Ue,Tr);return tt>=0&&(Or=he(we(Ue,".",tt)),Ct(Or)||(Or=he(we(Ue,".",tt,!0)))),Or.equals(Oi)||(Zt(Or),Ln==null||Ln(Or.isEmpty()?null:gn(Hn,Or)),Lr===void 0&&Ti(Or,Tr)),Or}return Oi},Jt=gr(),Tn=function Dr(Mr){if(Je(),sr.current=Mr,gi(Mr),!Ji.current){var Tr=jn(Mr),Or=he(Tr);Or.isNaN()||Bt(Or,!0)}Fi==null||Fi(Mr),Jt(function(){var qr=Mr;_n||(qr=Mr.replace(/。/g,".")),qr!==Mr&&Dr(qr)})},Nn=function(){Ji.current=!0},Fr=function(){Ji.current=!1,Tn(Ca.current.value)},Jr=function(Mr){Tn(Mr.target.value)},Ar=function(Mr){var Tr;if(!(Mr&&Vi||!Mr&&ia)){ki.current=!1;var Or=he(Ea.current?nn(Bn):Bn);Mr||(Or=Or.negate());var qr=(Oi||he(0)).add(Or.toString()),Ue=Bt(qr,!1);ha==null||ha(gn(Hn,Ue),{offset:Ea.current?nn(Bn):Bn,type:Mr?"up":"down"}),(Tr=Ca.current)===null||Tr===void 0||Tr.focus()}},er=function(Mr){var Tr=he(jn(Ci)),Or=Tr;Tr.isNaN()?Or=Bt(Oi,Mr):Or=Bt(Tr,Mr),Lr!==void 0?Ti(Oi,!1):Or.isNaN()||Ti(Or,!1)},Wn=function(){ki.current=!0},ur=function(Mr){var Tr=Mr.key,Or=Mr.shiftKey;ki.current=!0,Ea.current=Or,Tr==="Enter"&&(Ji.current||(ki.current=!1),er(!1),pi==null||pi(Mr)),kt!==!1&&!Ji.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Tr)&&(Ar(Tr==="Up"||Tr==="ArrowUp"),Mr.preventDefault())},mr=function(){ki.current=!1,Ea.current=!1},Vr=function(){er(!1),Da(!1),ki.current=!1};return We(function(){Oi.isInvalidate()||Ti(Oi,!1)},[or]),We(function(){var Dr=he(Lr);Qt(Dr);var Mr=he(jn(Ci));(!Dr.equals(Mr)||!ki.current||Gn)&&Ti(Dr,ki.current)},[Lr]),We(function(){Gn&&et()},[Ci]),Ve.createElement("div",{className:Ze()($e,lr==null?void 0:lr.input,Ft,(Mt={},(0,Ee.Z)(Mt,"".concat($e,"-focused"),sa),(0,Ee.Z)(Mt,"".concat($e,"-disabled"),Sr),(0,Ee.Z)(Mt,"".concat($e,"-readonly"),jr),(0,Ee.Z)(Mt,"".concat($e,"-not-a-number"),Oi.isNaN()),(0,Ee.Z)(Mt,"".concat($e,"-out-of-range"),!Oi.isInvalidate()&&!Ct(Oi)),Mt)),style:on,onFocus:function(){Da(!0)},onBlur:Vr,onKeyDown:ur,onKeyUp:mr,onCompositionStart:Nn,onCompositionEnd:Fr,onBeforeInput:Wn},zn&&Ve.createElement(Kt,{prefixCls:$e,upNode:zr,downNode:Rt,upDisabled:Vi,downDisabled:ia,onStep:Ar}),Ve.createElement("div",{className:"".concat(Qi,"-wrap")},Ve.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":_t,"aria-valuemax":En,"aria-valuenow":Oi.isInvalidate()?null:Oi.toString(),step:Bn},ra,{ref:pn(Ca,At),className:Qi,value:Ci,onChange:Jr,disabled:Sr,readOnly:jr}))))}),yt=Ve.forwardRef(function(pt,At){var Mt=pt.disabled,fn=pt.style,$e=pt.prefixCls,Ft=pt.value,on=pt.prefix,_t=pt.suffix,En=pt.addonBefore,Sn=pt.addonAfter,Bn=pt.classes,Qr=pt.className,Lr=pt.classNames,Sr=(0,me.Z)(pt,rn),jr=Ve.useRef(null),zr=function(kt){jr.current&&(0,$t.nH)(jr.current,kt)};return Ve.createElement(je.BaseInput,{inputElement:Ve.createElement(Er,(0,ve.Z)({prefixCls:$e,disabled:Mt,classNames:Lr,ref:pn(jr,At)},Sr)),className:Qr,triggerFocus:zr,prefixCls:$e,value:Ft,disabled:Mt,style:fn,prefix:on,suffix:_t,addonAfter:Sn,addonBefore:En,classes:Bn,classNames:Lr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});yt.displayName="InputNumber";var It=yt,$n=It,Qn=ie(9708),wr=ie(53124),_r=ie(46735),ei=ie(98866),Xr=ie(98675),ri=ie(65223),fi=ie(4173),Cr=ie(47673),yi=ie(14747),Gi=ie(80110),oi=ie(67968),ea=ie(45503);const Di=(pt,At)=>{let{componentCls:Mt,borderRadiusSM:fn,borderRadiusLG:$e}=pt;const Ft=At==="lg"?$e:fn;return{[`&-${At}`]:{[`${Mt}-handler-wrap`]:{borderStartEndRadius:Ft,borderEndEndRadius:Ft},[`${Mt}-handler-up`]:{borderStartEndRadius:Ft},[`${Mt}-handler-down`]:{borderEndEndRadius:Ft}}}},Ot=pt=>{const{componentCls:At,lineWidth:Mt,lineType:fn,colorBorder:$e,borderRadius:Ft,fontSizeLG:on,controlHeightLG:_t,controlHeightSM:En,colorError:Sn,paddingInlineSM:Bn,colorTextDescription:Qr,motionDurationMid:Lr,handleHoverColor:Sr,paddingInline:jr,paddingBlock:zr,handleBg:Rt,handleActiveBg:kt,colorTextDisabled:jt,borderRadiusSM:zn,borderRadiusLG:lr,controlWidth:Hn,handleVisible:_n,handleBorderColor:Gn}=pt;return[{[At]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),(0,Cr.ik)(pt)),(0,Cr.bi)(pt,At)),{display:"inline-block",width:Hn,margin:0,padding:0,border:`${Mt}px ${fn} ${$e}`,borderRadius:Ft,"&-rtl":{direction:"rtl",[`${At}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:on,borderRadius:lr,[`input${At}-input`]:{height:_t-2*Mt}},"&-sm":{padding:0,borderRadius:zn,[`input${At}-input`]:{height:En-2*Mt,padding:`0 ${Bn}px`}},"&:hover":Object.assign({},(0,Cr.pU)(pt)),"&-focused":Object.assign({},(0,Cr.M1)(pt)),"&-out-of-range":{[`${At}-input-wrap`]:{input:{color:Sn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),(0,Cr.s7)(pt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${At}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${At}-group-addon`]:{borderRadius:lr,fontSize:pt.fontSizeLG}},"&-sm":{[`${At}-group-addon`]:{borderRadius:zn}},[`${At}-wrapper-disabled > ${At}-group-addon`]:Object.assign({},(0,Cr.Xy)(pt))}}),[`&-disabled ${At}-input`]:{cursor:"not-allowed"},[At]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),{width:"100%",padding:`${zr}px ${jr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Ft,outline:0,transition:`all ${Lr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Cr.nz)(pt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[At]:Object.assign(Object.assign(Object.assign({[`&:hover ${At}-handler-wrap, &-focused ${At}-handler-wrap`]:{opacity:1},[`${At}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:pt.handleWidth,height:"100%",background:Rt,borderStartStartRadius:0,borderStartEndRadius:Ft,borderEndEndRadius:Ft,borderEndStartRadius:0,opacity:_n===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Lr} linear ${Lr}`,[`${At}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${At}-handler-up-inner, ${At}-handler-down-inner `]:{marginInlineEnd:0,fontSize:pt.handleFontSize}}},[`${At}-handler`]:{height:"50%",overflow:"hidden",color:Qr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Mt}px ${fn} ${Gn}`,transition:`all ${Lr} linear`,"&:active":{background:kt},"&:hover":{height:"60%",[` ${At}-handler-up-inner, ${At}-handler-down-inner `]:{color:Sr}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,yi.Ro)()),{color:Qr,transition:`all ${Lr} linear`,userSelect:"none"})},[`${At}-handler-up`]:{borderStartEndRadius:Ft},[`${At}-handler-down`]:{borderBlockStart:`${Mt}px ${fn} ${Gn}`,borderEndEndRadius:Ft}},Di(pt,"lg")),Di(pt,"sm")),{"&-disabled, &-readonly":{[`${At}-handler-wrap`]:{display:"none"},[`${At}-input`]:{color:"inherit"}},[` ${At}-handler-up-disabled, ${At}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${At}-handler-up-disabled:hover &-handler-up-inner, ${At}-handler-down-disabled:hover &-handler-down-inner `]:{color:jt}})},{[`${At}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${At}-handler-down`]:{borderBlockStartWidth:0}}}]},Nt=pt=>{const{componentCls:At,paddingBlock:Mt,paddingInline:fn,inputAffixPadding:$e,controlWidth:Ft,borderRadiusLG:on,borderRadiusSM:_t}=pt;return{[`${At}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Cr.ik)(pt)),(0,Cr.bi)(pt,`${At}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Ft,padding:0,paddingInlineStart:fn,"&-lg":{borderRadius:on},"&-sm":{borderRadius:_t},[`&:not(${At}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Cr.pU)(pt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${At}-disabled`]:{background:"transparent"},[`> div${At}`]:{width:"100%",border:"none",outline:"none",[`&${At}-focused`]:{boxShadow:"none !important"}},[`input${At}-input`]:{padding:`${Mt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${At}-handler-wrap`]:{zIndex:2},[At]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:$e},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:fn,marginInlineStart:$e}}})}};var cn=(0,oi.Z)("InputNumber",pt=>{const At=(0,ea.TS)(pt,(0,Cr.e5)(pt));return[Ot(At),Nt(At),(0,Gi.c)(At)]},pt=>Object.assign(Object.assign({},(0,Cr.TM)(pt)),{controlWidth:90,handleWidth:pt.controlHeightSM-pt.lineWidth*2,handleFontSize:pt.fontSize/2,handleVisible:"auto",handleActiveBg:pt.colorFillAlter,handleBg:pt.colorBgContainer,handleHoverColor:pt.colorPrimary,handleBorderColor:pt.colorBorder})),bn=function(pt,At){var Mt={};for(var fn in pt)Object.prototype.hasOwnProperty.call(pt,fn)&&At.indexOf(fn)<0&&(Mt[fn]=pt[fn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,fn=Object.getOwnPropertySymbols(pt);$e{const{getPrefixCls:Mt,direction:fn}=Ve.useContext(wr.E_),$e=Ve.useRef(null);Ve.useImperativeHandle(At,()=>$e.current);const{className:Ft,rootClassName:on,size:_t,disabled:En,prefixCls:Sn,addonBefore:Bn,addonAfter:Qr,prefix:Lr,bordered:Sr=!0,readOnly:jr,status:zr,controls:Rt}=pt,kt=bn(pt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),jt=Mt("input-number",Sn),[zn,lr]=cn(jt),{compactSize:Hn,compactItemClassnames:_n}=(0,fi.ri)(jt,fn);let Gn=Ve.createElement(Oe.Z,{className:`${jt}-handler-up-inner`}),or=Ve.createElement(ae.Z,{className:`${jt}-handler-down-inner`});const Kr=typeof Rt=="boolean"?Rt:void 0;typeof Rt=="object"&&(Gn=typeof Rt.upIcon=="undefined"?Gn:Ve.createElement("span",{className:`${jt}-handler-up-inner`},Rt.upIcon),or=typeof Rt.downIcon=="undefined"?or:Ve.createElement("span",{className:`${jt}-handler-down-inner`},Rt.downIcon));const{hasFeedback:Ln,status:Fi,isFormItemInput:pi,feedbackIcon:ha}=Ve.useContext(ri.aM),ra=(0,Qn.F)(Fi,zr),Qi=(0,Xr.Z)(ki=>{var Ji;return(Ji=_t!=null?_t:Hn)!==null&&Ji!==void 0?Ji:ki}),Ca=Ve.useContext(ei.Z),Xi=En!=null?En:Ca,Ri=Ze()({[`${jt}-lg`]:Qi==="large",[`${jt}-sm`]:Qi==="small",[`${jt}-rtl`]:fn==="rtl",[`${jt}-borderless`]:!Sr,[`${jt}-in-form-item`]:pi},(0,Qn.Z)(jt,ra),_n,lr),sa=`${jt}-group`,Da=Ve.createElement($n,Object.assign({ref:$e,disabled:Xi,className:Ze()(Ft,on),upHandler:Gn,downHandler:or,prefixCls:jt,readOnly:jr,controls:Kr,prefix:Lr,suffix:Ln&&ha,addonAfter:Qr&&Ve.createElement(fi.BR,null,Ve.createElement(ri.Ux,{override:!0,status:!0},Qr)),addonBefore:Bn&&Ve.createElement(fi.BR,null,Ve.createElement(ri.Ux,{override:!0,status:!0},Bn)),classNames:{input:Ri},classes:{affixWrapper:Ze()((0,Qn.Z)(`${jt}-affix-wrapper`,ra,Ln),{[`${jt}-affix-wrapper-sm`]:Qi==="small",[`${jt}-affix-wrapper-lg`]:Qi==="large",[`${jt}-affix-wrapper-rtl`]:fn==="rtl",[`${jt}-affix-wrapper-borderless`]:!Sr},lr),wrapper:Ze()({[`${sa}-rtl`]:fn==="rtl",[`${jt}-wrapper-disabled`]:Xi},lr),group:Ze()({[`${jt}-group-wrapper-sm`]:Qi==="small",[`${jt}-group-wrapper-lg`]:Qi==="large",[`${jt}-group-wrapper-rtl`]:fn==="rtl"},(0,Qn.Z)(`${jt}-group-wrapper`,ra,Ln),lr)}},kt));return zn(Da)}),Fn=rr,ir=pt=>Ve.createElement(_r.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Ve.createElement(rr,Object.assign({},pt)));Fn._InternalPanelDoNotUseOrYouWillBeFired=ir;var Xn=Fn},82586:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ut},n:function(){return Me}});var ae=ie(16646),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(67656),ve=ie(17799),Ee=ie(67294),ke=ie(9708),ye=ie(53124),me=ie(98866),Le=ie(98675),mt=ie(65223),Ie=ie(4173),Xe=ie(72922),ot=ie(47673);function dt(at){return!!(at.prefix||at.suffix||at.allowClear)}var nt=function(at,ht){var we={};for(var he in at)Object.prototype.hasOwnProperty.call(at,he)&&ht.indexOf(he)<0&&(we[he]=at[he]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,he=Object.getOwnPropertySymbols(at);je{var we;const{prefixCls:he,bordered:je=!0,status:Ve,size:Ge,disabled:qe,onBlur:Ye,onFocus:We,suffix:St,allowClear:lt,addonAfter:zt,addonBefore:Dt,className:pn,style:Kn,styles:tr,rootClassName:it,onChange:Ce,classNames:wt}=at,An=nt(at,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Tt,direction:rt,input:ft}=Ee.useContext(ye.E_),Wt=Tt("input",he),qt=(0,Ee.useRef)(null),[Xt,Ht]=(0,ot.ZP)(Wt),{compactSize:un,compactItemClassnames:kn}=(0,Ie.ri)(Wt,rt),yn=(0,Le.Z)(kr=>{var rn;return(rn=Ge!=null?Ge:un)!==null&&rn!==void 0?rn:kr}),Fe=Ee.useContext(me.Z),ce=qe!=null?qe:Fe,{status:ue,hasFeedback:pe,feedbackIcon:de}=(0,Ee.useContext)(mt.aM),le=(0,ke.F)(ue,Ve),De=dt(at)||!!pe,Ke=(0,Ee.useRef)(De);(0,Ee.useEffect)(()=>{var kr;De&&Ke.current,Ke.current=De},[De]);const Et=(0,Xe.Z)(qt,!0),Yt=kr=>{Et(),Ye==null||Ye(kr)},Kt=kr=>{Et(),We==null||We(kr)},nn=kr=>{Et(),Ce==null||Ce(kr)},$t=(pe||St)&&Ee.createElement(Ee.Fragment,null,St,pe&&de);let gr;return typeof lt=="object"&&(lt!=null&<.clearIcon)?gr=lt:lt&&(gr={clearIcon:Ee.createElement(ae.Z,null)}),Xt(Ee.createElement(Ze.default,Object.assign({ref:(0,ve.sQ)(ht,qt),prefixCls:Wt,autoComplete:ft==null?void 0:ft.autoComplete},An,{disabled:ce,onBlur:Yt,onFocus:Kt,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Kn),styles:Object.assign(Object.assign({},ft==null?void 0:ft.styles),tr),suffix:$t,allowClear:gr,className:Re()(pn,it,kn,ft==null?void 0:ft.className),onChange:nn,addonAfter:zt&&Ee.createElement(Ie.BR,null,Ee.createElement(mt.Ux,{override:!0,status:!0},zt)),addonBefore:Dt&&Ee.createElement(Ie.BR,null,Ee.createElement(mt.Ux,{override:!0,status:!0},Dt)),classNames:Object.assign(Object.assign(Object.assign({},wt),ft==null?void 0:ft.classNames),{input:Re()({[`${Wt}-sm`]:yn==="small",[`${Wt}-lg`]:yn==="large",[`${Wt}-rtl`]:rt==="rtl",[`${Wt}-borderless`]:!je},!De&&(0,ke.Z)(Wt,le),wt==null?void 0:wt.input,(we=ft==null?void 0:ft.classNames)===null||we===void 0?void 0:we.input,Ht)}),classes:{affixWrapper:Re()({[`${Wt}-affix-wrapper-sm`]:yn==="small",[`${Wt}-affix-wrapper-lg`]:yn==="large",[`${Wt}-affix-wrapper-rtl`]:rt==="rtl",[`${Wt}-affix-wrapper-borderless`]:!je},(0,ke.Z)(`${Wt}-affix-wrapper`,le,pe),Ht),wrapper:Re()({[`${Wt}-group-rtl`]:rt==="rtl"},Ht),group:Re()({[`${Wt}-group-wrapper-sm`]:yn==="small",[`${Wt}-group-wrapper-lg`]:yn==="large",[`${Wt}-group-wrapper-rtl`]:rt==="rtl",[`${Wt}-group-wrapper-disabled`]:ce},(0,ke.Z)(`${Wt}-group-wrapper`,le,pe),Ht)}})))})},96330:function(mn,en,ie){"use strict";var ae=ie(16646),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(64701),ve=ie(67294),Ee=ie(9708),ke=ie(53124),ye=ie(98866),me=ie(98675),Le=ie(65223),mt=ie(82586),Ie=ie(47673),Xe=function(dt,nt){var Me={};for(var ut in dt)Object.prototype.hasOwnProperty.call(dt,ut)&&nt.indexOf(ut)<0&&(Me[ut]=dt[ut]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,ut=Object.getOwnPropertySymbols(dt);Ut{const{prefixCls:Me,bordered:ut=!0,size:Ut,disabled:at,status:ht,allowClear:we,showCount:he,classNames:je,rootClassName:Ve,className:Ge}=dt,qe=Xe(dt,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ye,direction:We}=ve.useContext(ke.E_),St=(0,me.Z)(Ut),lt=ve.useContext(ye.Z),zt=at!=null?at:lt,{status:Dt,hasFeedback:pn,feedbackIcon:Kn}=ve.useContext(Le.aM),tr=(0,Ee.F)(Dt,ht),it=ve.useRef(null);ve.useImperativeHandle(nt,()=>{var rt;return{resizableTextArea:(rt=it.current)===null||rt===void 0?void 0:rt.resizableTextArea,focus:ft=>{var Wt,qt;(0,mt.n)((qt=(Wt=it.current)===null||Wt===void 0?void 0:Wt.resizableTextArea)===null||qt===void 0?void 0:qt.textArea,ft)},blur:()=>{var ft;return(ft=it.current)===null||ft===void 0?void 0:ft.blur()}}});const Ce=Ye("input",Me);let wt;typeof we=="object"&&(we!=null&&we.clearIcon)?wt=we:we&&(wt={clearIcon:ve.createElement(ae.Z,null)});const[An,Tt]=(0,Ie.ZP)(Ce);return An(ve.createElement(Ze.default,Object.assign({},qe,{disabled:zt,allowClear:wt,className:Re()(Ge,Ve),classes:{affixWrapper:Re()(`${Ce}-textarea-affix-wrapper`,{[`${Ce}-affix-wrapper-rtl`]:We==="rtl",[`${Ce}-affix-wrapper-borderless`]:!ut,[`${Ce}-affix-wrapper-sm`]:St==="small",[`${Ce}-affix-wrapper-lg`]:St==="large",[`${Ce}-textarea-show-count`]:he},(0,Ee.Z)(`${Ce}-affix-wrapper`,tr),Tt)},classNames:Object.assign(Object.assign({},je),{textarea:Re()({[`${Ce}-borderless`]:!ut,[`${Ce}-sm`]:St==="small",[`${Ce}-lg`]:St==="large"},(0,Ee.Z)(Ce,tr),Tt,je==null?void 0:je.textarea)}),prefixCls:Ce,suffix:pn&&ve.createElement("span",{className:`${Ce}-textarea-suffix`},Kn),showCount:he,ref:it})))});en.Z=ot},72922:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re,Ze){const ve=(0,ae.useRef)([]),Ee=()=>{ve.current.push(setTimeout(()=>{var ke,ye,me,Le;!((ke=Re.current)===null||ke===void 0)&&ke.input&&((ye=Re.current)===null||ye===void 0?void 0:ye.input.getAttribute("type"))==="password"&&(!((me=Re.current)===null||me===void 0)&&me.input.hasAttribute("value"))&&((Le=Re.current)===null||Le===void 0||Le.input.removeAttribute("value"))}))};return(0,ae.useEffect)(()=>(Ze&&Ee(),()=>ve.current.forEach(ke=>{ke&&clearTimeout(ke)})),[]),Ee}},69677:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return St}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(65223),Ee=ie(47673),ye=lt=>{const{getPrefixCls:zt,direction:Dt}=(0,Re.useContext)(Ze.E_),{prefixCls:pn,className:Kn}=lt,tr=zt("input-group",pn),it=zt("input"),[Ce,wt]=(0,Ee.ZP)(it),An=Oe()(tr,{[`${tr}-lg`]:lt.size==="large",[`${tr}-sm`]:lt.size==="small",[`${tr}-compact`]:lt.compact,[`${tr}-rtl`]:Dt==="rtl"},wt,Kn),Tt=(0,Re.useContext)(ve.aM),rt=(0,Re.useMemo)(()=>Object.assign(Object.assign({},Tt),{isFormItemInput:!1}),[Tt]);return Ce(Re.createElement("span",{className:An,style:lt.style,onMouseEnter:lt.onMouseEnter,onMouseLeave:lt.onMouseLeave,onFocus:lt.onFocus,onBlur:lt.onBlur},Re.createElement(ve.aM.Provider,{value:rt},lt.children)))},me=ie(82586),Le=ie(63237),mt=ie(99569),Ie=ie(10366),Xe=ie(17799),ot=ie(72922),dt=function(lt,zt){var Dt={};for(var pn in lt)Object.prototype.hasOwnProperty.call(lt,pn)&&zt.indexOf(pn)<0&&(Dt[pn]=lt[pn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,pn=Object.getOwnPropertySymbols(lt);Knlt?Re.createElement(mt.Z,null):Re.createElement(Le.Z,null),Me={click:"onClick",hover:"onMouseOver"};var Ut=Re.forwardRef((lt,zt)=>{const{visibilityToggle:Dt=!0}=lt,pn=typeof Dt=="object"&&Dt.visible!==void 0,[Kn,tr]=(0,Re.useState)(()=>pn?Dt.visible:!1),it=(0,Re.useRef)(null);Re.useEffect(()=>{pn&&tr(Dt.visible)},[pn,Dt]);const Ce=(0,ot.Z)(it),wt=()=>{const{disabled:ce}=lt;ce||(Kn&&Ce(),tr(ue=>{var pe;const de=!ue;return typeof Dt=="object"&&((pe=Dt.onVisibleChange)===null||pe===void 0||pe.call(Dt,de)),de}))},An=ce=>{const{action:ue="click",iconRender:pe=nt}=lt,de=Me[ue]||"",le=pe(Kn),De={[de]:wt,className:`${ce}-icon`,key:"passwordIcon",onMouseDown:Ke=>{Ke.preventDefault()},onMouseUp:Ke=>{Ke.preventDefault()}};return Re.cloneElement(Re.isValidElement(le)?le:Re.createElement("span",null,le),De)},{className:Tt,prefixCls:rt,inputPrefixCls:ft,size:Wt}=lt,qt=dt(lt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Xt}=Re.useContext(Ze.E_),Ht=Xt("input",ft),un=Xt("input-password",rt),kn=Dt&&An(un),yn=Oe()(un,Tt,{[`${un}-${Wt}`]:!!Wt}),Fe=Object.assign(Object.assign({},(0,Ie.Z)(qt,["suffix","iconRender","visibilityToggle"])),{type:Kn?"text":"password",className:yn,prefixCls:Ht,suffix:kn});return Wt&&(Fe.size=Wt),Re.createElement(me.Z,Object.assign({ref:(0,Xe.sQ)(zt,it)},Fe))}),at=ie(72395),ht=ie(96159),we=ie(71577),he=ie(98675),je=ie(4173),Ve=function(lt,zt){var Dt={};for(var pn in lt)Object.prototype.hasOwnProperty.call(lt,pn)&&zt.indexOf(pn)<0&&(Dt[pn]=lt[pn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,pn=Object.getOwnPropertySymbols(lt);Kn{const{prefixCls:Dt,inputPrefixCls:pn,className:Kn,size:tr,suffix:it,enterButton:Ce=!1,addonAfter:wt,loading:An,disabled:Tt,onSearch:rt,onChange:ft,onCompositionStart:Wt,onCompositionEnd:qt}=lt,Xt=Ve(lt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ht,direction:un}=Re.useContext(Ze.E_),kn=Re.useRef(!1),yn=Ht("input-search",Dt),Fe=Ht("input",pn),{compactSize:ce}=(0,je.ri)(yn,un),ue=(0,he.Z)(gn=>{var hr;return(hr=tr!=null?tr:ce)!==null&&hr!==void 0?hr:gn}),pe=Re.useRef(null),de=gn=>{gn&&gn.target&&gn.type==="click"&&rt&&rt(gn.target.value,gn,{source:"clear"}),ft&&ft(gn)},le=gn=>{var hr;document.activeElement===((hr=pe.current)===null||hr===void 0?void 0:hr.input)&&gn.preventDefault()},De=gn=>{var hr,Er;rt&&rt((Er=(hr=pe.current)===null||hr===void 0?void 0:hr.input)===null||Er===void 0?void 0:Er.value,gn,{source:"input"})},Ke=gn=>{kn.current||An||De(gn)},Et=typeof Ce=="boolean"?Re.createElement(at.Z,null):null,Yt=`${yn}-button`;let Kt;const nn=Ce||{},$t=nn.type&&nn.type.__ANT_BUTTON===!0;$t||nn.type==="button"?Kt=(0,ht.Tm)(nn,Object.assign({onMouseDown:le,onClick:gn=>{var hr,Er;(Er=(hr=nn==null?void 0:nn.props)===null||hr===void 0?void 0:hr.onClick)===null||Er===void 0||Er.call(hr,gn),De(gn)},key:"enterButton"},$t?{className:Yt,size:ue}:{})):Kt=Re.createElement(we.ZP,{className:Yt,type:Ce?"primary":void 0,size:ue,disabled:Tt,key:"enterButton",onMouseDown:le,onClick:De,loading:An,icon:Et},Ce),wt&&(Kt=[Kt,(0,ht.Tm)(wt,{key:"addonAfter"})]);const gr=Oe()(yn,{[`${yn}-rtl`]:un==="rtl",[`${yn}-${ue}`]:!!ue,[`${yn}-with-button`]:!!Ce},Kn),kr=gn=>{kn.current=!0,Wt==null||Wt(gn)},rn=gn=>{kn.current=!1,qt==null||qt(gn)};return Re.createElement(me.Z,Object.assign({ref:(0,Xe.sQ)(pe,zt),onPressEnter:Ke},Xt,{size:ue,onCompositionStart:kr,onCompositionEnd:rn,prefixCls:Fe,addonAfter:Kt,suffix:it,onChange:de,className:gr,disabled:Tt}))}),Ye=ie(96330);const We=me.Z;We.Group=ye,We.Search=qe,We.TextArea=Ye.Z,We.Password=Ut;var St=We},47673:function(mn,en,ie){"use strict";ie.d(en,{M1:function(){return ke},TM:function(){return ht},Xy:function(){return ye},bi:function(){return mt},e5:function(){return at},ik:function(){return Ie},nz:function(){return ve},pU:function(){return Ee},s7:function(){return Xe},x0:function(){return Le}});var ae=ie(14747),Oe=ie(80110),Re=ie(45503),Ze=ie(67968);const ve=we=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:we,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ee=we=>({borderColor:we.hoverBorderColor}),ke=we=>({borderColor:we.activeBorderColor,boxShadow:we.activeShadow,outline:0}),ye=we=>({color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Ee((0,Re.TS)(we,{hoverBorderColor:we.colorBorder})))}),me=we=>{const{paddingBlockLG:he,fontSizeLG:je,lineHeightLG:Ve,borderRadiusLG:Ge,paddingInlineLG:qe}=we;return{padding:`${he}px ${qe}px`,fontSize:je,lineHeight:Ve,borderRadius:Ge}},Le=we=>({padding:`${we.paddingBlockSM}px ${we.paddingInlineSM}px`,borderRadius:we.borderRadiusSM}),mt=(we,he)=>{const{componentCls:je,colorError:Ve,colorWarning:Ge,errorActiveShadow:qe,warningActiveShadow:Ye,colorErrorBorderHover:We,colorWarningBorderHover:St}=we;return{[`&-status-error:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:Ve,"&:hover":{borderColor:We},"&:focus, &-focused":Object.assign({},ke((0,Re.TS)(we,{activeBorderColor:Ve,activeShadow:qe}))),[`${je}-prefix, ${je}-suffix`]:{color:Ve}},[`&-status-warning:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:Ge,"&:hover":{borderColor:St},"&:focus, &-focused":Object.assign({},ke((0,Re.TS)(we,{activeBorderColor:Ge,activeShadow:Ye}))),[`${je}-prefix, ${je}-suffix`]:{color:Ge}}}},Ie=we=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${we.paddingBlock}px ${we.paddingInline}px`,color:we.colorText,fontSize:we.fontSize,lineHeight:we.lineHeight,backgroundColor:we.colorBgContainer,backgroundImage:"none",borderWidth:we.lineWidth,borderStyle:we.lineType,borderColor:we.colorBorder,borderRadius:we.borderRadius,transition:`all ${we.motionDurationMid}`},ve(we.colorTextPlaceholder)),{"&:hover":Object.assign({},Ee(we)),"&:focus, &-focused":Object.assign({},ke(we)),"&-disabled, &[disabled]":Object.assign({},ye(we)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:we.controlHeight,lineHeight:we.lineHeight,verticalAlign:"bottom",transition:`all ${we.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},me(we)),"&-sm":Object.assign({},Le(we)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Xe=we=>{const{componentCls:he,antCls:je}=we;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:we.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${he}, &-lg > ${he}-group-addon`]:Object.assign({},me(we)),[`&-sm ${he}, &-sm > ${he}-group-addon`]:Object.assign({},Le(we)),[`&-lg ${je}-select-single ${je}-select-selector`]:{height:we.controlHeightLG},[`&-sm ${je}-select-single ${je}-select-selector`]:{height:we.controlHeightSM},[`> ${he}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${he}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${we.paddingInline}px`,color:we.colorText,fontWeight:"normal",fontSize:we.fontSize,textAlign:"center",backgroundColor:we.colorFillAlter,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,transition:`all ${we.motionDurationSlow}`,lineHeight:1,[`${je}-select`]:{margin:`-${we.paddingBlock+1}px -${we.paddingInline}px`,[`&${je}-select-single:not(${je}-select-customize-input)`]:{[`${je}-select-selector`]:{backgroundColor:"inherit",border:`${we.lineWidth}px ${we.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${je}-select-selector`]:{color:we.colorPrimary}}},[`${je}-cascader-picker`]:{margin:`-9px -${we.paddingInline}px`,backgroundColor:"transparent",[`${je}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${he}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${he}-search-with-button &`]:{zIndex:0}}},[`> ${he}:first-child, ${he}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${je}-select ${je}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}-affix-wrapper`]:{[`&:not(:first-child) ${he}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${he}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}:last-child, ${he}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${je}-select ${je}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${he}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${he}-search &`]:{borderStartStartRadius:we.borderRadius,borderEndStartRadius:we.borderRadius}},[`&:not(:first-child), ${he}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${he}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ae.dF)()),{[`${he}-group-addon, ${he}-group-wrap, > ${he}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:we.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${he}-affix-wrapper, & > ${he}-number-affix-wrapper, & > ${je}-picker-range `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-we.lineWidth,borderInlineEndWidth:we.lineWidth},[`${he}`]:{float:"none"},[`& > ${je}-select > ${je}-select-selector, & > ${je}-select-auto-complete ${he}, & > ${je}-cascader-picker ${he}, & > ${he}-group-wrapper ${he}`]:{borderInlineEndWidth:we.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${je}-select-focused`]:{zIndex:1},[`& > ${je}-select > ${je}-select-arrow`]:{zIndex:1},[`& > *:first-child, & > ${je}-select:first-child > ${je}-select-selector, & > ${je}-select-auto-complete:first-child ${he}, & > ${je}-cascader-picker:first-child ${he}`]:{borderStartStartRadius:we.borderRadius,borderEndStartRadius:we.borderRadius},[`& > *:last-child, & > ${je}-select:last-child > ${je}-select-selector, & > ${je}-cascader-picker:last-child ${he}, & > ${je}-cascader-picker-focused:last-child ${he}`]:{borderInlineEndWidth:we.lineWidth,borderStartEndRadius:we.borderRadius,borderEndEndRadius:we.borderRadius},[`& > ${je}-select-auto-complete ${he}`]:{verticalAlign:"top"},[`${he}-group-wrapper + ${he}-group-wrapper`]:{marginInlineStart:-we.lineWidth,[`${he}-affix-wrapper`]:{borderRadius:0}},[`${he}-group-wrapper:not(:last-child)`]:{[`&${he}-search > ${he}-group`]:{[`& > ${he}-group-addon > ${he}-search-button`]:{borderRadius:0},[`& > ${he}`]:{borderStartStartRadius:we.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:we.borderRadius}}}})}},ot=we=>{const{componentCls:he,controlHeightSM:je,lineWidth:Ve}=we,qe=(je-Ve*2-16)/2;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(we)),Ie(we)),mt(we,he)),{'&[type="color"]':{height:we.controlHeight,[`&${he}-lg`]:{height:we.controlHeightLG},[`&${he}-sm`]:{height:je,paddingTop:qe,paddingBottom:qe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},dt=we=>{const{componentCls:he}=we;return{[`${he}-clear-icon`]:{margin:0,color:we.colorTextQuaternary,fontSize:we.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${we.motionDurationSlow}`,"&:hover":{color:we.colorTextTertiary},"&:active":{color:we.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${we.inputAffixPadding}px`}}}},nt=we=>{const{componentCls:he,inputAffixPadding:je,colorTextDescription:Ve,motionDurationSlow:Ge,colorIcon:qe,colorIconHover:Ye,iconCls:We}=we;return{[`${he}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ie(we)),{display:"inline-flex",[`&:not(${he}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Ee(we)),{zIndex:1,[`${he}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${he}[disabled]`]:{background:"transparent"}},[`> input${he}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${he}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:we.paddingXS}},"&-show-count-suffix":{color:Ve},"&-show-count-has-suffix":{marginInlineEnd:we.paddingXXS},"&-prefix":{marginInlineEnd:je},"&-suffix":{marginInlineStart:je}}}),dt(we)),{[`${We}${he}-password-icon`]:{color:qe,cursor:"pointer",transition:`all ${Ge}`,"&:hover":{color:Ye}}}),mt(we,`${he}-affix-wrapper`))}},Me=we=>{const{componentCls:he,colorError:je,colorWarning:Ve,borderRadiusLG:Ge,borderRadiusSM:qe}=we;return{[`${he}-group`]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(we)),Xe(we)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${he}-group-addon`]:{borderRadius:Ge,fontSize:we.fontSizeLG}},"&-sm":{[`${he}-group-addon`]:{borderRadius:qe}},"&-status-error":{[`${he}-group-addon`]:{color:je,borderColor:je}},"&-status-warning":{[`${he}-group-addon`]:{color:Ve,borderColor:Ve}},"&-disabled":{[`${he}-group-addon`]:Object.assign({},ye(we))},[`&:not(${he}-compact-first-item):not(${he}-compact-last-item)${he}-compact-item`]:{[`${he}, ${he}-group-addon`]:{borderRadius:0}},[`&:not(${he}-compact-last-item)${he}-compact-first-item`]:{[`${he}, ${he}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${he}-compact-first-item)${he}-compact-last-item`]:{[`${he}, ${he}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},ut=we=>{const{componentCls:he,antCls:je}=we,Ve=`${he}-search`;return{[Ve]:{[`${he}`]:{"&:hover, &:focus":{borderColor:we.colorPrimaryHover,[`+ ${he}-group-addon ${Ve}-button:not(${je}-btn-primary)`]:{borderInlineStartColor:we.colorPrimaryHover}}},[`${he}-affix-wrapper`]:{borderRadius:0},[`${he}-lg`]:{lineHeight:we.lineHeightLG-2e-4},[`> ${he}-group`]:{[`> ${he}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ve}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:we.borderRadius,borderEndEndRadius:we.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Ve}-button:not(${je}-btn-primary)`]:{color:we.colorTextDescription,"&:hover":{color:we.colorPrimaryHover},"&:active":{color:we.colorPrimaryActive},[`&${je}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ve}-button`]:{height:we.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Ve}-button`]:{height:we.controlHeightLG},[`&-small ${Ve}-button`]:{height:we.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${he}-compact-item`]:{[`&:not(${he}-compact-last-item)`]:{[`${he}-group-addon`]:{[`${he}-search-button`]:{marginInlineEnd:-we.lineWidth,borderRadius:0}}},[`&:not(${he}-compact-first-item)`]:{[`${he},${he}-affix-wrapper`]:{borderRadius:0}},[`> ${he}-group-addon ${he}-search-button, > ${he}, ${he}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${he}-affix-wrapper-focused`]:{zIndex:2}}}}},Ut=we=>{const{componentCls:he,paddingLG:je}=we,Ve=`${he}-textarea`;return{[Ve]:{position:"relative","&-show-count":{[`> ${he}`]:{height:"100%"},[`${he}-data-count`]:{position:"absolute",bottom:-we.fontSize*we.lineHeight,insetInlineEnd:0,color:we.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${he}`]:{paddingInlineEnd:je}},[`&-affix-wrapper${Ve}-has-feedback`]:{[`${he}`]:{paddingInlineEnd:je}},[`&-affix-wrapper${he}-affix-wrapper`]:{padding:0,[`> textarea${he}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${he}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${he}-clear-icon`]:{position:"absolute",insetInlineEnd:we.paddingXS,insetBlockStart:we.paddingXS},[`${Ve}-suffix`]:{position:"absolute",top:0,insetInlineEnd:we.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function at(we){return(0,Re.TS)(we,{inputAffixPadding:we.paddingXXS})}const ht=we=>{const{controlHeight:he,fontSize:je,lineHeight:Ve,lineWidth:Ge,controlHeightSM:qe,controlHeightLG:Ye,fontSizeLG:We,lineHeightLG:St,paddingSM:lt,controlPaddingHorizontalSM:zt,controlPaddingHorizontal:Dt,colorFillAlter:pn,colorPrimaryHover:Kn,controlOutlineWidth:tr,controlOutline:it,colorErrorOutline:Ce,colorWarningOutline:wt}=we;return{paddingBlock:Math.max(Math.round((he-je*Ve)/2*10)/10-Ge,3),paddingBlockSM:Math.max(Math.round((qe-je*Ve)/2*10)/10-Ge,0),paddingBlockLG:Math.ceil((Ye-We*St)/2*10)/10-Ge,paddingInline:lt-Ge,paddingInlineSM:zt-Ge,paddingInlineLG:Dt-Ge,addonBg:pn,activeBorderColor:Kn,hoverBorderColor:Kn,activeShadow:`0 0 0 ${tr}px ${it}`,errorActiveShadow:`0 0 0 ${tr}px ${Ce}`,warningActiveShadow:`0 0 0 ${tr}px ${wt}`}};en.ZP=(0,Ze.Z)("Input",we=>{const he=(0,Re.TS)(we,at(we));return[ot(he),Ut(he),nt(he),Me(he),ut(he),(0,Oe.c)(he)]},ht)},71322:function(mn,en,ie){"use strict";ie.d(en,{D:function(){return Ut},Z:function(){return we}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(je,Ve){return Oe.createElement(ve.Z,(0,ae.Z)({},je,{ref:Ve,icon:Ze}))},ke=Oe.forwardRef(Ee),ye=ie(22751),me=ie(91034),Le=ie(94184),mt=ie.n(Le),Ie=ie(10366),ot=he=>!isNaN(parseFloat(he))&&isFinite(he),dt=ie(53124),nt=ie(84321),Me=function(he,je){var Ve={};for(var Ge in he)Object.prototype.hasOwnProperty.call(he,Ge)&&je.indexOf(Ge)<0&&(Ve[Ge]=he[Ge]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ge=Object.getOwnPropertySymbols(he);qe{let he=0;return function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return he+=1,`${je}${he}`}})();var we=Oe.forwardRef((he,je)=>{const{prefixCls:Ve,className:Ge,trigger:qe,children:Ye,defaultCollapsed:We=!1,theme:St="dark",style:lt={},collapsible:zt=!1,reverseArrow:Dt=!1,width:pn=200,collapsedWidth:Kn=80,zeroWidthTriggerStyle:tr,breakpoint:it,onCollapse:Ce,onBreakpoint:wt}=he,An=Me(he,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Tt}=(0,Oe.useContext)(nt.Gs),[rt,ft]=(0,Oe.useState)("collapsed"in he?he.collapsed:We),[Wt,qt]=(0,Oe.useState)(!1);(0,Oe.useEffect)(()=>{"collapsed"in he&&ft(he.collapsed)},[he.collapsed]);const Xt=(ce,ue)=>{"collapsed"in he||ft(ce),Ce==null||Ce(ce,ue)},Ht=(0,Oe.useRef)();Ht.current=ce=>{qt(ce.matches),wt==null||wt(ce.matches),rt!==ce.matches&&Xt(ce.matches,"responsive")},(0,Oe.useEffect)(()=>{function ce(pe){return Ht.current(pe)}let ue;if(typeof window!="undefined"){const{matchMedia:pe}=window;if(pe&&it&&it in ut){ue=pe(`(max-width: ${ut[it]})`);try{ue.addEventListener("change",ce)}catch(de){ue.addListener(ce)}ce(ue)}}return()=>{try{ue==null||ue.removeEventListener("change",ce)}catch(pe){ue==null||ue.removeListener(ce)}}},[it]),(0,Oe.useEffect)(()=>{const ce=at("ant-sider-");return Tt.addSider(ce),()=>Tt.removeSider(ce)},[]);const un=()=>{Xt(!rt,"clickTrigger")},{getPrefixCls:kn}=(0,Oe.useContext)(dt.E_),yn=()=>{const ce=kn("layout-sider",Ve),ue=(0,Ie.Z)(An,["collapsed"]),pe=rt?Kn:pn,de=ot(pe)?`${pe}px`:String(pe),le=parseFloat(String(Kn||0))===0?Oe.createElement("span",{onClick:un,className:mt()(`${ce}-zero-width-trigger`,`${ce}-zero-width-trigger-${Dt?"right":"left"}`),style:tr},qe||Oe.createElement(ke,null)):null,Et={expanded:Dt?Oe.createElement(me.Z,null):Oe.createElement(ye.Z,null),collapsed:Dt?Oe.createElement(ye.Z,null):Oe.createElement(me.Z,null)}[rt?"collapsed":"expanded"],Yt=qe!==null?le||Oe.createElement("div",{className:`${ce}-trigger`,onClick:un,style:{width:de}},qe||Et):null,Kt=Object.assign(Object.assign({},lt),{flex:`0 0 ${de}`,maxWidth:de,minWidth:de,width:de}),nn=mt()(ce,`${ce}-${St}`,{[`${ce}-collapsed`]:!!rt,[`${ce}-has-trigger`]:zt&&qe!==null&&!le,[`${ce}-below`]:!!Wt,[`${ce}-zero-width`]:parseFloat(de)===0},Ge);return Oe.createElement("aside",Object.assign({className:nn},ue,{style:Kt,ref:je}),Oe.createElement("div",{className:`${ce}-children`},Ye),zt||Wt&&le?Yt:null)},Fe=Oe.useMemo(()=>({siderCollapsed:rt}),[rt]);return Oe.createElement(Ut.Provider,{value:Fe},yn())})},84321:function(mn,en,ie){"use strict";ie.d(en,{VY:function(){return at},$_:function(){return Ut},h4:function(){return ut},Gs:function(){return Xe},ZP:function(){return ht}});var ae=ie(74902),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(10366),ve=ie(67294),Ee=ie(53124),ke=ie(67968),me=we=>{const{componentCls:he,bodyBg:je,lightSiderBg:Ve,lightTriggerBg:Ge,lightTriggerColor:qe}=we;return{[`${he}-sider-light`]:{background:Ve,[`${he}-sider-trigger`]:{color:qe,background:Ge},[`${he}-sider-zero-width-trigger`]:{color:qe,background:Ge,border:`1px solid ${je}`,borderInlineStart:0}}}};const Le=we=>{const{antCls:he,componentCls:je,colorText:Ve,triggerColor:Ge,footerBg:qe,triggerBg:Ye,headerHeight:We,headerPadding:St,headerColor:lt,footerPadding:zt,triggerHeight:Dt,zeroTriggerHeight:pn,zeroTriggerWidth:Kn,motionDurationMid:tr,motionDurationSlow:it,fontSize:Ce,borderRadius:wt,bodyBg:An,headerBg:Tt,siderBg:rt}=we;return{[je]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:An,"&, *":{boxSizing:"border-box"},[`&${je}-has-sider`]:{flexDirection:"row",[`> ${je}, > ${je}-content`]:{width:0}},[`${je}-header, &${je}-footer`]:{flex:"0 0 auto"},[`${je}-sider`]:{position:"relative",minWidth:0,background:rt,transition:`all ${tr}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${he}-menu${he}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Dt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Dt,color:Ge,lineHeight:`${Dt}px`,textAlign:"center",background:Ye,cursor:"pointer",transition:`all ${tr}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:We,insetInlineEnd:-Kn,zIndex:1,width:Kn,height:pn,color:Ge,fontSize:we.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:rt,borderStartStartRadius:0,borderStartEndRadius:wt,borderEndEndRadius:wt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Kn,borderStartStartRadius:wt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:wt}}}}},me(we)),{"&-rtl":{direction:"rtl"}}),[`${je}-header`]:{height:We,padding:St,color:lt,lineHeight:`${We}px`,background:Tt,[`${he}-menu`]:{lineHeight:"inherit"}},[`${je}-footer`]:{padding:zt,color:Ve,fontSize:Ce,background:qe},[`${je}-content`]:{flex:"auto",minHeight:0}}};var mt=(0,ke.Z)("Layout",we=>[Le(we)],we=>{const{colorBgLayout:he,controlHeight:je,controlHeightLG:Ve,colorText:Ge,controlHeightSM:qe,marginXXS:Ye,colorTextLightSolid:We,colorBgContainer:St}=we,lt=Ve*1.25;return{colorBgHeader:"#001529",colorBgBody:he,colorBgTrigger:"#002140",bodyBg:he,headerBg:"#001529",headerHeight:je*2,headerPadding:`0 ${lt}px`,headerColor:Ge,footerPadding:`${qe}px ${lt}px`,footerBg:he,siderBg:"#001529",triggerHeight:Ve+Ye*2,triggerBg:"#002140",triggerColor:We,zeroTriggerWidth:Ve,zeroTriggerHeight:Ve,lightSiderBg:St,lightTriggerBg:St,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ie=function(we,he){var je={};for(var Ve in we)Object.prototype.hasOwnProperty.call(we,Ve)&&he.indexOf(Ve)<0&&(je[Ve]=we[Ve]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ve=Object.getOwnPropertySymbols(we);Genull,removeSider:()=>null}});function ot(we){let{suffixCls:he,tagName:je,displayName:Ve}=we;return Ge=>ve.forwardRef((Ye,We)=>ve.createElement(Ge,Object.assign({ref:We,suffixCls:he,tagName:je},Ye)))}const dt=ve.forwardRef((we,he)=>{const{prefixCls:je,suffixCls:Ve,className:Ge,tagName:qe}=we,Ye=Ie(we,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:We}=ve.useContext(Ee.E_),St=We("layout",je),[lt,zt]=mt(St),Dt=Ve?`${St}-${Ve}`:St;return lt(ve.createElement(qe,Object.assign({className:Re()(je||Dt,Ge,zt),ref:he},Ye)))}),nt=ve.forwardRef((we,he)=>{const{direction:je}=ve.useContext(Ee.E_),[Ve,Ge]=ve.useState([]),{prefixCls:qe,className:Ye,rootClassName:We,children:St,hasSider:lt,tagName:zt,style:Dt}=we,pn=Ie(we,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Kn=(0,Ze.Z)(pn,["suffixCls"]),{getPrefixCls:tr,layout:it}=ve.useContext(Ee.E_),Ce=tr("layout",qe),[wt,An]=mt(Ce),Tt=Re()(Ce,{[`${Ce}-has-sider`]:typeof lt=="boolean"?lt:Ve.length>0,[`${Ce}-rtl`]:je==="rtl"},it==null?void 0:it.className,Ye,We,An),rt=ve.useMemo(()=>({siderHook:{addSider:ft=>{Ge(Wt=>[].concat((0,ae.Z)(Wt),[ft]))},removeSider:ft=>{Ge(Wt=>Wt.filter(qt=>qt!==ft))}}}),[]);return wt(ve.createElement(Xe.Provider,{value:rt},ve.createElement(zt,Object.assign({ref:he,className:Tt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Dt)},Kn),St)))}),Me=ot({tagName:"div",displayName:"Layout"})(nt),ut=ot({suffixCls:"header",tagName:"header",displayName:"Header"})(dt),Ut=ot({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(dt),at=ot({suffixCls:"content",tagName:"main",displayName:"Content"})(dt);var ht=Me},76529:function(mn,en,ie){"use strict";ie.d(en,{J:function(){return Ee}});var ae=ie(67294),Oe=ie(4173),Re=ie(60276),Ze=function(ke,ye){var me={};for(var Le in ke)Object.prototype.hasOwnProperty.call(ke,Le)&&ye.indexOf(Le)<0&&(me[Le]=ke[Le]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Le=Object.getOwnPropertySymbols(ke);mt{const{children:me}=ke,Le=Ze(ke,["children"]),mt=ae.useContext(ve),Ie=ae.useMemo(()=>Object.assign(Object.assign({},mt),Le),[mt,Le.prefixCls,Le.mode,Le.selectable]);return ae.createElement(ve.Provider,{value:Ie},ae.createElement(Oe.BR,null,(0,Re.supportNodeRef)(me)?ae.cloneElement(me,{ref:ye}):me))});en.Z=ve},68508:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ce}});var ae=ie(78595),Oe=ie(67294),Re=ie(71322),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(53124),ke=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De{const{prefixCls:pe,className:de,dashed:le}=ue,De=ke(ue,["prefixCls","className","dashed"]),{getPrefixCls:Ke}=Oe.useContext(Ee.E_),Et=Ke("menu",pe),Yt=ve()({[`${Et}-item-divider-dashed`]:!!le},de);return Oe.createElement(ae.iz,Object.assign({className:Yt},De))},Le=ie(37419),mt=ie(10366),Ie=ie(83062),Xe=ie(96159),dt=(0,Oe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Me=ue=>{var pe;const{className:de,children:le,icon:De,title:Ke,danger:Et}=ue,{prefixCls:Yt,firstLevel:Kt,direction:nn,disableMenuItemTitleTooltip:$t,inlineCollapsed:gr}=Oe.useContext(dt),kr=It=>{const $n=Oe.createElement("span",{className:`${Yt}-title-content`},le);return(!De||(0,Xe.l$)(le)&&le.type==="span")&&le&&It&&Kt&&typeof le=="string"?Oe.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},le.charAt(0)):$n},{siderCollapsed:rn}=Oe.useContext(Re.D);let gn=Ke;typeof Ke=="undefined"?gn=Kt?le:"":Ke===!1&&(gn="");const hr={title:gn};!rn&&!gr&&(hr.title=null,hr.open=!1);const Er=(0,Le.Z)(le).length;let yt=Oe.createElement(ae.ck,Object.assign({},(0,mt.Z)(ue,["title","icon","danger"]),{className:ve()({[`${Yt}-item-danger`]:Et,[`${Yt}-item-only-child`]:(De?Er+1:Er)===1},de),title:typeof Ke=="string"?Ke:void 0}),(0,Xe.Tm)(De,{className:ve()((0,Xe.l$)(De)?(pe=De.props)===null||pe===void 0?void 0:pe.className:"",`${Yt}-item-icon`)}),kr(gr));return $t||(yt=Oe.createElement(Ie.Z,Object.assign({},hr,{placement:nn==="rtl"?"left":"right",overlayClassName:`${Yt}-inline-collapsed-tooltip`}),yt)),yt},Ut=ue=>{var pe;const{popupClassName:de,icon:le,title:De,theme:Ke}=ue,Et=Oe.useContext(dt),{prefixCls:Yt,inlineCollapsed:Kt,theme:nn}=Et,$t=(0,ae.Xl)();let gr;if(!le)gr=Kt&&!$t.length&&De&&typeof De=="string"?Oe.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},De.charAt(0)):Oe.createElement("span",{className:`${Yt}-title-content`},De);else{const rn=(0,Xe.l$)(De)&&De.type==="span";gr=Oe.createElement(Oe.Fragment,null,(0,Xe.Tm)(le,{className:ve()((0,Xe.l$)(le)?(pe=le.props)===null||pe===void 0?void 0:pe.className:"",`${Yt}-item-icon`)}),rn?De:Oe.createElement("span",{className:`${Yt}-title-content`},De))}const kr=Oe.useMemo(()=>Object.assign(Object.assign({},Et),{firstLevel:!1}),[Et]);return Oe.createElement(dt.Provider,{value:kr},Oe.createElement(ae.Wd,Object.assign({},(0,mt.Z)(ue,["icon"]),{title:gr,popupClassName:ve()(Yt,de,`${Yt}-${Ke||nn}`)})))},at=ie(25877),ht=ie(60276),we=ie(33603),he=ie(76529),je=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De{if(pe&&typeof pe=="object"){const le=pe,{label:De,children:Ke,key:Et,type:Yt}=le,Kt=je(le,["label","children","key","type"]),nn=Et!=null?Et:`tmp-${de}`;return Ke||Yt==="group"?Yt==="group"?Oe.createElement(ae.BW,Object.assign({key:nn},Kt,{title:De}),Ve(Ke)):Oe.createElement(Ut,Object.assign({key:nn},Kt,{title:De}),Ve(Ke)):Yt==="divider"?Oe.createElement(me,Object.assign({key:nn},Kt)):Oe.createElement(Me,Object.assign({key:nn},Kt),De)}return null}).filter(pe=>pe)}function Ge(ue){return Oe.useMemo(()=>ue&&Ve(ue),[ue])}var qe=ie(84780),Ye=ie(14747),We=ie(33507),St=ie(67771),lt=ie(50438),zt=ie(67968),Dt=ie(45503),Kn=ue=>{const{componentCls:pe,motionDurationSlow:de,horizontalLineHeight:le,colorSplit:De,lineWidth:Ke,lineType:Et,itemPaddingInline:Yt}=ue;return{[`${pe}-horizontal`]:{lineHeight:le,border:0,borderBottom:`${Ke}px ${Et} ${De}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Yt},[`> ${pe}-item:hover, > ${pe}-item-active, > ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${de}`,`background ${de}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},it=ue=>{let{componentCls:pe,menuArrowOffset:de}=ue;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical, ${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${de})`},"&::after":{transform:`rotate(45deg) translateY(${de})`}}}}};const Ce=ue=>Object.assign({},(0,Ye.oN)(ue));var An=(ue,pe)=>{const{componentCls:de,itemColor:le,itemSelectedColor:De,groupTitleColor:Ke,itemBg:Et,subMenuItemBg:Yt,itemSelectedBg:Kt,activeBarHeight:nn,activeBarWidth:$t,activeBarBorderWidth:gr,motionDurationSlow:kr,motionEaseInOut:rn,motionEaseOut:gn,itemPaddingInline:hr,motionDurationMid:Er,itemHoverColor:yt,lineType:It,colorSplit:$n,itemDisabledColor:Qn,dangerItemColor:wr,dangerItemHoverColor:_r,dangerItemSelectedColor:ei,dangerItemActiveBg:Xr,dangerItemSelectedBg:ri,itemHoverBg:fi,itemActiveBg:Cr,menuSubMenuBg:yi,horizontalItemSelectedColor:Gi,horizontalItemSelectedBg:oi,horizontalItemBorderRadius:ea,horizontalItemHoverBg:Di,popupBg:Ot}=ue;return{[`${de}-${pe}, ${de}-${pe} > ${de}`]:{color:le,background:Et,[`&${de}-root:focus-visible`]:Object.assign({},Ce(ue)),[`${de}-item-group-title`]:{color:Ke},[`${de}-submenu-selected`]:{[`> ${de}-submenu-title`]:{color:De}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{color:`${Qn} !important`},[`${de}-item:not(${de}-item-selected):not(${de}-submenu-selected)`]:{[`&:hover, > ${de}-submenu-title:hover`]:{color:yt}},[`&:not(${de}-horizontal)`]:{[`${de}-item:not(${de}-item-selected)`]:{"&:hover":{backgroundColor:fi},"&:active":{backgroundColor:Cr}},[`${de}-submenu-title`]:{"&:hover":{backgroundColor:fi},"&:active":{backgroundColor:Cr}}},[`${de}-item-danger`]:{color:wr,[`&${de}-item:hover`]:{[`&:not(${de}-item-selected):not(${de}-submenu-selected)`]:{color:_r}},[`&${de}-item:active`]:{background:Xr}},[`${de}-item a`]:{"&, &:hover":{color:"inherit"}},[`${de}-item-selected`]:{color:De,[`&${de}-item-danger`]:{color:ei},"a, a:hover":{color:"inherit"}},[`& ${de}-item-selected`]:{backgroundColor:Kt,[`&${de}-item-danger`]:{backgroundColor:ri}},[`${de}-item, ${de}-submenu-title`]:{[`&:not(${de}-item-disabled):focus-visible`]:Object.assign({},Ce(ue))},[`&${de}-submenu > ${de}`]:{backgroundColor:yi},[`&${de}-popup > ${de}`]:{backgroundColor:Ot},[`&${de}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${de}-item, > ${de}-submenu`]:{top:gr,marginTop:-gr,marginBottom:0,borderRadius:ea,"&::after":{position:"absolute",insetInline:hr,bottom:0,borderBottom:`${nn}px solid transparent`,transition:`border-color ${kr} ${rn}`,content:'""'},"&:hover, &-active, &-open":{background:Di,"&::after":{borderBottomWidth:nn,borderBottomColor:Gi}},"&-selected":{color:Gi,backgroundColor:oi,"&:hover":{backgroundColor:oi},"&::after":{borderBottomWidth:nn,borderBottomColor:Gi}}}}),[`&${de}-root`]:{[`&${de}-inline, &${de}-vertical`]:{borderInlineEnd:`${gr}px ${It} ${$n}`}},[`&${de}-inline`]:{[`${de}-sub${de}-inline`]:{background:Yt},[`${de}-item, ${de}-submenu-title`]:gr&&$t?{width:`calc(100% + ${gr}px)`}:{},[`${de}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${$t}px solid ${De}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Er} ${gn}`,`opacity ${Er} ${gn}`].join(","),content:'""'},[`&${de}-item-danger`]:{"&::after":{borderInlineEndColor:ei}}},[`${de}-selected, ${de}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Er} ${rn}`,`opacity ${Er} ${rn}`].join(",")}}}}}};const Tt=ue=>{const{componentCls:pe,itemHeight:de,itemMarginInline:le,padding:De,menuArrowSize:Ke,marginXS:Et,itemMarginBlock:Yt}=ue,Kt=De+Ke+Et;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:de,lineHeight:`${de}px`,paddingInline:De,overflow:"hidden",textOverflow:"ellipsis",marginInline:le,marginBlock:Yt,width:`calc(100% - ${le*2}px)`},[`> ${pe}-item, > ${pe}-submenu > ${pe}-submenu-title`]:{height:de,lineHeight:`${de}px`},[`${pe}-item-group-list ${pe}-submenu-title, ${pe}-submenu-title`]:{paddingInlineEnd:Kt}}};var ft=ue=>{const{componentCls:pe,iconCls:de,itemHeight:le,colorTextLightSolid:De,dropdownWidth:Ke,controlHeightLG:Et,motionDurationMid:Yt,motionEaseOut:Kt,paddingXL:nn,itemMarginInline:$t,fontSizeLG:gr,motionDurationSlow:kr,paddingXS:rn,boxShadowSecondary:gn,collapsedWidth:hr,collapsedIconSize:Er}=ue,yt={height:le,lineHeight:`${le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},Tt(ue))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},Tt(ue)),{boxShadow:gn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:Ke,maxHeight:`calc(100vh - ${Et*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${kr}`,`background ${kr}`,`padding ${Yt} ${Kt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:yt,[`& ${pe}-item-group-title`]:{paddingInlineStart:nn}},[`${pe}-item`]:yt}},{[`${pe}-inline-collapsed`]:{width:hr,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:gr,textAlign:"center"}}},[`> ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title, > ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${gr/2}px - ${$t}px)`,textOverflow:"clip",[` ${pe}-submenu-arrow, ${pe}-submenu-expand-icon `]:{opacity:0},[`${pe}-item-icon, ${de}`]:{margin:0,fontSize:Er,lineHeight:`${le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${de}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${de}`]:{display:"none"},"a, a:hover":{color:De}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},Ye.vS),{paddingInline:rn})}}]};const Wt=ue=>{const{componentCls:pe,motionDurationSlow:de,motionDurationMid:le,motionEaseInOut:De,motionEaseOut:Ke,iconCls:Et,iconSize:Yt,iconMarginInlineEnd:Kt}=ue;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${de}`,`background ${de}`,`padding ${de} ${De}`].join(","),[`${pe}-item-icon, ${Et}`]:{minWidth:Yt,fontSize:Yt,transition:[`font-size ${le} ${Ke}`,`margin ${de} ${De}`,`color ${de}`].join(","),"+ span":{marginInlineStart:Kt,opacity:1,transition:[`opacity ${de} ${De}`,`margin ${de}`,`color ${de}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,Ye.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Et}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},qt=ue=>{const{componentCls:pe,motionDurationSlow:de,motionEaseInOut:le,borderRadius:De,menuArrowSize:Ke,menuArrowOffset:Et}=ue;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ue.margin,width:Ke,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${de} ${le}, opacity ${de}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ke*.6,height:Ke*.15,backgroundColor:"currentcolor",borderRadius:De,transition:[`background ${de} ${le}`,`transform ${de} ${le}`,`top ${de} ${le}`,`color ${de} ${le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Et})`},"&::after":{transform:`rotate(-45deg) translateY(${Et})`}}}}},Xt=ue=>{const{antCls:pe,componentCls:de,fontSize:le,motionDurationSlow:De,motionDurationMid:Ke,motionEaseInOut:Et,paddingXS:Yt,padding:Kt,colorSplit:nn,lineWidth:$t,zIndexPopup:gr,borderRadiusLG:kr,subMenuItemBorderRadius:rn,menuArrowSize:gn,menuArrowOffset:hr,lineType:Er,menuPanelMaskInset:yt,groupTitleLineHeight:It,groupTitleFontSize:$n}=ue;return[{"":{[`${de}`]:Object.assign(Object.assign({},(0,Ye.dF)()),{"&-hidden":{display:"none"}})},[`${de}-submenu-hidden`]:{display:"none"}},{[de]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(ue)),(0,Ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${De} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${de}-item`]:{flex:"none"}},[`${de}-item, ${de}-submenu, ${de}-submenu-title`]:{borderRadius:ue.itemBorderRadius},[`${de}-item-group-title`]:{padding:`${Yt}px ${Kt}px`,fontSize:$n,lineHeight:It,transition:`all ${De}`},[`&-horizontal ${de}-submenu`]:{transition:[`border-color ${De} ${Et}`,`background ${De} ${Et}`].join(",")},[`${de}-submenu, ${de}-submenu-inline`]:{transition:[`border-color ${De} ${Et}`,`background ${De} ${Et}`,`padding ${Ke} ${Et}`].join(",")},[`${de}-submenu ${de}-sub`]:{cursor:"initial",transition:[`background ${De} ${Et}`,`padding ${De} ${Et}`].join(",")},[`${de}-title-content`]:{transition:`color ${De}`},[`${de}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${de}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nn,borderStyle:Er,borderWidth:0,borderTopWidth:$t,marginBlock:$t,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Wt(ue)),{[`${de}-item-group`]:{[`${de}-item-group-list`]:{margin:0,padding:0,[`${de}-item, ${de}-submenu-title`]:{paddingInline:`${le*2}px ${Kt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:gr,borderRadius:kr,boxShadow:"none",transformOrigin:"0 0",[`&${de}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${yt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:yt},"\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:ue.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ue.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ue.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ue.paddingXS},[`> ${de}`]:Object.assign(Object.assign(Object.assign({borderRadius:kr},Wt(ue)),qt(ue)),{[`${de}-item, ${de}-submenu > ${de}-submenu-title`]:{borderRadius:rn},[`${de}-submenu-title::after`]:{transition:`transform ${De} ${Et}`}})}}),qt(ue)),{[`&-inline-collapsed ${de}-submenu-arrow, &-inline ${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${hr})`},"&::after":{transform:`rotate(45deg) translateX(-${hr})`}},[`${de}-submenu-open${de}-submenu-inline > ${de}-submenu-title > ${de}-submenu-arrow`]:{transform:`translateY(-${gn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${hr})`},"&::before":{transform:`rotate(45deg) translateX(${hr})`}}})},{[`${pe}-layout-header`]:{[de]:{lineHeight:"inherit"}}}]};var Ht=(ue,pe)=>(0,zt.Z)("Menu",le=>{if(pe===!1)return[];const{colorBgElevated:De,colorPrimary:Ke,colorTextLightSolid:Et,controlHeightLG:Yt,fontSize:Kt,darkItemColor:nn,darkDangerItemColor:$t,darkItemBg:gr,darkSubMenuItemBg:kr,darkItemSelectedColor:rn,darkItemSelectedBg:gn,darkDangerItemSelectedBg:hr,darkItemHoverBg:Er,darkGroupTitleColor:yt,darkItemHoverColor:It,darkItemDisabledColor:$n,darkDangerItemHoverColor:Qn,darkDangerItemSelectedColor:wr,darkDangerItemActiveBg:_r}=le,ei=Kt/7*5,Xr=(0,Dt.TS)(le,{menuArrowSize:ei,menuHorizontalHeight:Yt*1.15,menuArrowOffset:`${ei*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:De}),ri=(0,Dt.TS)(Xr,{itemColor:nn,itemHoverColor:It,groupTitleColor:yt,itemSelectedColor:rn,itemBg:gr,popupBg:gr,subMenuItemBg:kr,itemActiveBg:"transparent",itemSelectedBg:gn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Er,itemDisabledColor:$n,dangerItemColor:$t,dangerItemHoverColor:Qn,dangerItemSelectedColor:wr,dangerItemActiveBg:_r,dangerItemSelectedBg:hr,menuSubMenuBg:kr,horizontalItemSelectedColor:Et,horizontalItemSelectedBg:Ke});return[Xt(Xr),Kn(Xr),ft(Xr),An(Xr,"light"),An(ri,"dark"),it(Xr),(0,We.Z)(Xr),(0,St.oN)(Xr,"slide-up"),(0,St.oN)(Xr,"slide-down"),(0,lt._y)(Xr,"zoom-big")]},le=>{const{colorPrimary:De,colorError:Ke,colorTextDisabled:Et,colorErrorBg:Yt,colorText:Kt,colorTextDescription:nn,colorBgContainer:$t,colorFillAlter:gr,colorFillContent:kr,lineWidth:rn,lineWidthBold:gn,controlItemBgActive:hr,colorBgTextHover:Er,controlHeightLG:yt,lineHeight:It,colorBgElevated:$n,marginXXS:Qn,padding:wr,fontSize:_r,controlHeightSM:ei,fontSizeLG:Xr,colorTextLightSolid:ri,colorErrorHover:fi}=le,Cr=new qe.C(ri).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Kt,itemColor:Kt,colorItemTextHover:Kt,itemHoverColor:Kt,colorItemTextHoverHorizontal:De,horizontalItemHoverColor:De,colorGroupTitle:nn,groupTitleColor:nn,colorItemTextSelected:De,itemSelectedColor:De,colorItemTextSelectedHorizontal:De,horizontalItemSelectedColor:De,colorItemBg:$t,itemBg:$t,colorItemBgHover:Er,itemHoverBg:Er,colorItemBgActive:kr,itemActiveBg:hr,colorSubItemBg:gr,subMenuItemBg:gr,colorItemBgSelected:hr,itemSelectedBg:hr,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:gn,activeBarHeight:gn,colorActiveBarBorderSize:rn,activeBarBorderWidth:rn,colorItemTextDisabled:Et,itemDisabledColor:Et,colorDangerItemText:Ke,dangerItemColor:Ke,colorDangerItemTextHover:Ke,dangerItemHoverColor:Ke,colorDangerItemTextSelected:Ke,dangerItemSelectedColor:Ke,colorDangerItemBgActive:Yt,dangerItemActiveBg:Yt,colorDangerItemBgSelected:Yt,dangerItemSelectedBg:Yt,itemMarginInline:le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:yt,groupTitleLineHeight:It,collapsedWidth:yt*2,popupBg:$n,itemMarginBlock:Qn,itemPaddingInline:wr,horizontalLineHeight:`${yt*1.15}px`,iconSize:_r,iconMarginInlineEnd:ei-_r,collapsedIconSize:Xr,groupTitleFontSize:_r,darkItemDisabledColor:new qe.C(ri).setAlpha(.25).toRgbString(),darkItemColor:Cr,darkDangerItemColor:Ke,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ri,darkItemSelectedBg:De,darkDangerItemSelectedBg:Ke,darkItemHoverBg:"transparent",darkGroupTitleColor:Cr,darkItemHoverColor:ri,darkDangerItemHoverColor:fi,darkDangerItemSelectedColor:ri,darkDangerItemActiveBg:Ke}},{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"]]})(ue),un=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De{var de,le;const De=Oe.useContext(he.Z),Ke=De||{},{getPrefixCls:Et,getPopupContainer:Yt,direction:Kt,menu:nn}=Oe.useContext(Ee.E_),$t=Et(),{prefixCls:gr,className:kr,style:rn,theme:gn="light",expandIcon:hr,_internalDisableMenuItemTitleTooltip:Er,inlineCollapsed:yt,siderCollapsed:It,items:$n,children:Qn,rootClassName:wr,mode:_r,selectable:ei,onClick:Xr,overflowedIndicatorPopupClassName:ri}=ue,fi=un(ue,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Cr=(0,mt.Z)(fi,["collapsedWidth"]),yi=Ge($n)||Qn;(de=Ke.validator)===null||de===void 0||de.call(Ke,{mode:_r});const Gi=(0,ht.useEvent)(function(){var Xn;Xr==null||Xr.apply(void 0,arguments),(Xn=Ke.onClick)===null||Xn===void 0||Xn.call(Ke)}),oi=Ke.mode||_r,ea=ei!=null?ei:Ke.selectable,Di=Oe.useMemo(()=>It!==void 0?It:yt,[yt,It]),Ot={horizontal:{motionName:`${$t}-slide-up`},inline:(0,we.Z)($t),other:{motionName:`${$t}-zoom-big`}},Nt=Et("menu",gr||Ke.prefixCls),[cn,bn]=Ht(Nt,!De),rr=ve()(`${Nt}-${gn}`,nn==null?void 0:nn.className,kr);let Fn;if(typeof hr=="function")Fn=hr;else if(hr===null||hr===!1)Fn=null;else if(Ke.expandIcon===null||Ke.expandIcon===!1)Fn=null;else{const Xn=hr!=null?hr:Ke.expandIcon;Fn=(0,Xe.Tm)(Xn,{className:ve()(`${Nt}-submenu-expand-icon`,(0,Xe.l$)(Xn)?(le=Xn.props)===null||le===void 0?void 0:le.className:"")})}const ir=Oe.useMemo(()=>({prefixCls:Nt,inlineCollapsed:Di||!1,direction:Kt,firstLevel:!0,theme:gn,mode:oi,disableMenuItemTitleTooltip:Er}),[Nt,Di,Kt,Er,gn]);return cn(Oe.createElement(he.Z.Provider,{value:null},Oe.createElement(dt.Provider,{value:ir},Oe.createElement(ae.ZP,Object.assign({getPopupContainer:Yt,overflowedIndicator:Oe.createElement(at.Z,null),overflowedIndicatorPopupClassName:ve()(Nt,`${Nt}-${gn}`,ri),mode:oi,selectable:ea,onClick:Gi},Cr,{inlineCollapsed:Di,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),rn),className:rr,prefixCls:Nt,direction:Kt,defaultMotions:Ot,expandIcon:Fn,ref:pe,rootClassName:ve()(wr,bn)}),yi))))});const Fe=(0,Oe.forwardRef)((ue,pe)=>{const de=(0,Oe.useRef)(null),le=Oe.useContext(Re.D);return(0,Oe.useImperativeHandle)(pe,()=>({menu:de.current,focus:De=>{var Ke;(Ke=de.current)===null||Ke===void 0||Ke.focus(De)}})),Oe.createElement(yn,Object.assign({ref:de},ue,le))});Fe.Item=Me,Fe.SubMenu=Ut,Fe.Divider=me,Fe.ItemGroup=ae.BW;var ce=Fe},38703:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Er}});var ae=ie(67294),Oe=ie(87725),Re=ie(18299),Ze=ie(16646),ve=ie(73475),Ee=ie(94184),ke=ie.n(Ee),ye=ie(10366),me=ie(53124),Le=ie(87462),mt=ie(1413),Ie=ie(45987),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ot=function(){var It=(0,ae.useRef)([]),$n=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var Qn=Date.now(),wr=!1;It.current.forEach(function(_r){if(_r){wr=!0;var ei=_r.style;ei.transitionDuration=".3s, .3s, .3s, .06s",$n.current&&Qn-$n.current<100&&(ei.transitionDuration="0s, 0s")}}),wr&&($n.current=Date.now())}),It.current},dt=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],nt=function(It){var $n=(0,mt.Z)((0,mt.Z)({},Xe),It),Qn=$n.className,wr=$n.percent,_r=$n.prefixCls,ei=$n.strokeColor,Xr=$n.strokeLinecap,ri=$n.strokeWidth,fi=$n.style,Cr=$n.trailColor,yi=$n.trailWidth,Gi=$n.transition,oi=(0,Ie.Z)($n,dt);delete oi.gapPosition;var ea=Array.isArray(wr)?wr:[wr],Di=Array.isArray(ei)?ei:[ei],Ot=ot(),Nt=ri/2,cn=100-ri/2,bn="M ".concat(Xr==="round"?Nt:0,",").concat(Nt,` L `).concat(Xr==="round"?cn:100,",").concat(Nt),rr="0 0 100 ".concat(ri),Fn=0;return ae.createElement("svg",(0,Le.Z)({className:ke()("".concat(_r,"-line"),Qn),viewBox:rr,preserveAspectRatio:"none",style:fi},oi),ae.createElement("path",{className:"".concat(_r,"-line-trail"),d:bn,strokeLinecap:Xr,stroke:Cr,strokeWidth:yi||ri,fillOpacity:"0"}),ea.map(function(ir,Xn){var pt=1;switch(Xr){case"round":pt=1-ri/100;break;case"square":pt=1-ri/2/100;break;default:pt=1;break}var At={strokeDasharray:"".concat(ir*pt,"px, 100px"),strokeDashoffset:"-".concat(Fn,"px"),transition:Gi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Mt=Di[Xn]||Di[Di.length-1];return Fn+=ir,ae.createElement("path",{key:Xn,className:"".concat(_r,"-line-path"),d:bn,strokeLinecap:Xr,stroke:Mt,strokeWidth:ri,fillOpacity:"0",ref:function($e){Ot[Xn]=$e},style:At})}))},Me=nt,ut=ie(71002),Ut=ie(97685),at=ie(98924),ht=0,we=(0,at.Z)();function he(){var yt;return we?(yt=ht,ht+=1):yt="TEST_OR_SSR",yt}var je=function(yt){var It=ae.useState(),$n=(0,Ut.Z)(It,2),Qn=$n[0],wr=$n[1];return ae.useEffect(function(){wr("rc_progress_".concat(he()))},[]),yt||Qn},Ve=function(It){var $n=It.bg,Qn=It.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:$n}},Qn)};function Ge(yt,It){return Object.keys(yt).map(function($n){var Qn=parseFloat($n),wr="".concat(Math.floor(Qn*It),"%");return"".concat(yt[$n]," ").concat(wr)})}var qe=ae.forwardRef(function(yt,It){var $n=yt.prefixCls,Qn=yt.color,wr=yt.gradientId,_r=yt.radius,ei=yt.style,Xr=yt.ptg,ri=yt.strokeLinecap,fi=yt.strokeWidth,Cr=yt.size,yi=yt.gapDegree,Gi=Qn&&(0,ut.Z)(Qn)==="object",oi=Gi?"#FFF":void 0,ea=Cr/2,Di=ae.createElement("circle",{className:"".concat($n,"-circle-path"),r:_r,cx:ea,cy:ea,stroke:oi,strokeLinecap:ri,strokeWidth:fi,opacity:Xr===0?0:1,style:ei,ref:It});if(!Gi)return Di;var Ot="".concat(wr,"-conic"),Nt=yi?"".concat(180+yi/2,"deg"):"0deg",cn=Ge(Qn,(360-yi)/360),bn=Ge(Qn,1),rr="conic-gradient(from ".concat(Nt,", ").concat(cn.join(", "),")"),Fn="linear-gradient(to ".concat(yi?"bottom":"top",", ").concat(bn.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Ot},Di),ae.createElement("foreignObject",{x:0,y:0,width:Cr,height:Cr,mask:"url(#".concat(Ot,")")},ae.createElement(Ve,{bg:Fn},ae.createElement(Ve,{bg:rr}))))}),Ye=qe,We=100,St=function(It,$n,Qn,wr,_r,ei,Xr,ri,fi,Cr){var yi=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Gi=Qn/100*360*((360-ei)/360),oi=ei===0?0:{bottom:0,top:180,left:90,right:-90}[Xr],ea=(100-wr)/100*$n;fi==="round"&&wr!==100&&(ea+=Cr/2,ea>=$n&&(ea=$n-.01));var Di=We/2;return{stroke:typeof ri=="string"?ri:void 0,strokeDasharray:"".concat($n,"px ").concat(It),strokeDashoffset:ea+yi,transform:"rotate(".concat(_r+Gi+oi,"deg)"),transformOrigin:"".concat(Di,"px ").concat(Di,"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}},lt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function zt(yt){var It=yt!=null?yt:[];return Array.isArray(It)?It:[It]}var Dt=function(It){var $n=(0,mt.Z)((0,mt.Z)({},Xe),It),Qn=$n.id,wr=$n.prefixCls,_r=$n.steps,ei=$n.strokeWidth,Xr=$n.trailWidth,ri=$n.gapDegree,fi=ri===void 0?0:ri,Cr=$n.gapPosition,yi=$n.trailColor,Gi=$n.strokeLinecap,oi=$n.style,ea=$n.className,Di=$n.strokeColor,Ot=$n.percent,Nt=(0,Ie.Z)($n,lt),cn=We/2,bn=je(Qn),rr="".concat(bn,"-gradient"),Fn=cn-ei/2,ir=Math.PI*2*Fn,Xn=fi>0?90+fi/2:-90,pt=ir*((360-fi)/360),At=(0,ut.Z)(_r)==="object"?_r:{count:_r,space:2},Mt=At.count,fn=At.space,$e=zt(Ot),Ft=zt(Di),on=Ft.find(function(Sr){return Sr&&(0,ut.Z)(Sr)==="object"}),_t=on&&(0,ut.Z)(on)==="object",En=_t?"butt":Gi,Sn=St(ir,pt,0,100,Xn,fi,Cr,yi,En,ei),Bn=ot(),Qr=function(){var jr=0;return $e.map(function(zr,Rt){var kt=Ft[Rt]||Ft[Ft.length-1],jt=St(ir,pt,jr,zr,Xn,fi,Cr,kt,En,ei);return jr+=zr,ae.createElement(Ye,{key:Rt,color:kt,ptg:zr,radius:Fn,prefixCls:wr,gradientId:rr,style:jt,strokeLinecap:En,strokeWidth:ei,gapDegree:fi,ref:function(lr){Bn[Rt]=lr},size:We})}).reverse()},Lr=function(){var jr=Math.round(Mt*($e[0]/100)),zr=100/Mt,Rt=0;return new Array(Mt).fill(null).map(function(kt,jt){var zn=jt<=jr-1?Ft[0]:yi,lr=zn&&(0,ut.Z)(zn)==="object"?"url(#".concat(rr,")"):void 0,Hn=St(ir,pt,Rt,zr,Xn,fi,Cr,zn,"butt",ei,fn);return Rt+=(pt-Hn.strokeDashoffset+fn)*100/pt,ae.createElement("circle",{key:jt,className:"".concat(wr,"-circle-path"),r:Fn,cx:cn,cy:cn,stroke:lr,strokeWidth:ei,opacity:1,style:Hn,ref:function(Gn){Bn[jt]=Gn}})})};return ae.createElement("svg",(0,Le.Z)({className:ke()("".concat(wr,"-circle"),ea),viewBox:"0 0 ".concat(We," ").concat(We),style:oi,id:Qn,role:"presentation"},Nt),!Mt&&ae.createElement("circle",{className:"".concat(wr,"-circle-trail"),r:Fn,cx:cn,cy:cn,stroke:yi,strokeLinecap:En,strokeWidth:Xr||ei,style:Sn}),Mt?Lr():Qr())},pn=Dt,Kn={Line:Me,Circle:pn},tr=ie(83062),it=ie(47448);function Ce(yt){return!yt||yt<0?0:yt>100?100:yt}function wt(yt){let{success:It,successPercent:$n}=yt,Qn=$n;return It&&"progress"in It&&(Qn=It.progress),It&&"percent"in It&&(Qn=It.percent),Qn}const An=yt=>{let{percent:It,success:$n,successPercent:Qn}=yt;const wr=Ce(wt({success:$n,successPercent:Qn}));return[wr,Ce(Ce(It)-wr)]},Tt=yt=>{let{success:It={},strokeColor:$n}=yt;const{strokeColor:Qn}=It;return[Qn||it.presetPrimaryColors.green,$n||null]},rt=(yt,It,$n)=>{var Qn,wr,_r,ei;let Xr=-1,ri=-1;if(It==="step"){const fi=$n.steps,Cr=$n.strokeWidth;typeof yt=="string"||typeof yt=="undefined"?(Xr=yt==="small"?2:14,ri=Cr!=null?Cr:8):typeof yt=="number"?[Xr,ri]=[yt,yt]:[Xr=14,ri=8]=yt,Xr*=fi}else if(It==="line"){const fi=$n==null?void 0:$n.strokeWidth;typeof yt=="string"||typeof yt=="undefined"?ri=fi||(yt==="small"?6:8):typeof yt=="number"?[Xr,ri]=[yt,yt]:[Xr=-1,ri=8]=yt}else(It==="circle"||It==="dashboard")&&(typeof yt=="string"||typeof yt=="undefined"?[Xr,ri]=yt==="small"?[60,60]:[120,120]:typeof yt=="number"?[Xr,ri]=[yt,yt]:(Xr=(wr=(Qn=yt[0])!==null&&Qn!==void 0?Qn:yt[1])!==null&&wr!==void 0?wr:120,ri=(ei=(_r=yt[0])!==null&&_r!==void 0?_r:yt[1])!==null&&ei!==void 0?ei:120));return[Xr,ri]},ft=3,Wt=yt=>ft/yt*100;var Xt=yt=>{const{prefixCls:It,trailColor:$n=null,strokeLinecap:Qn="round",gapPosition:wr,gapDegree:_r,width:ei=120,type:Xr,children:ri,success:fi,size:Cr=ei}=yt,[yi,Gi]=rt(Cr,"circle");let{strokeWidth:oi}=yt;oi===void 0&&(oi=Math.max(Wt(yi),6));const ea={width:yi,height:Gi,fontSize:yi*.15+6},Di=ae.useMemo(()=>{if(_r||_r===0)return _r;if(Xr==="dashboard")return 75},[_r,Xr]),Ot=wr||Xr==="dashboard"&&"bottom"||void 0,Nt=Object.prototype.toString.call(yt.strokeColor)==="[object Object]",cn=Tt({success:fi,strokeColor:yt.strokeColor}),bn=ke()(`${It}-inner`,{[`${It}-circle-gradient`]:Nt}),rr=ae.createElement(pn,{percent:An(yt),strokeWidth:oi,trailWidth:oi,strokeColor:cn,strokeLinecap:Qn,trailColor:$n,prefixCls:It,gapDegree:Di,gapPosition:Ot});return ae.createElement("div",{className:bn,style:ea},yi<=20?ae.createElement(tr.Z,{title:ri},ae.createElement("span",null,rr)):ae.createElement(ae.Fragment,null,rr,ri))},Ht=function(yt,It){var $n={};for(var Qn in yt)Object.prototype.hasOwnProperty.call(yt,Qn)&&It.indexOf(Qn)<0&&($n[Qn]=yt[Qn]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wr=0,Qn=Object.getOwnPropertySymbols(yt);wr{let It=[];return Object.keys(yt).forEach($n=>{const Qn=parseFloat($n.replace(/%/g,""));isNaN(Qn)||It.push({key:Qn,value:yt[$n]})}),It=It.sort(($n,Qn)=>$n.key-Qn.key),It.map($n=>{let{key:Qn,value:wr}=$n;return`${wr} ${Qn}%`}).join(", ")},kn=(yt,It)=>{const{from:$n=it.presetPrimaryColors.blue,to:Qn=it.presetPrimaryColors.blue,direction:wr=It==="rtl"?"to left":"to right"}=yt,_r=Ht(yt,["from","to","direction"]);if(Object.keys(_r).length!==0){const ei=un(_r);return{backgroundImage:`linear-gradient(${wr}, ${ei})`}}return{backgroundImage:`linear-gradient(${wr}, ${$n}, ${Qn})`}};var Fe=yt=>{const{prefixCls:It,direction:$n,percent:Qn,size:wr,strokeWidth:_r,strokeColor:ei,strokeLinecap:Xr="round",children:ri,trailColor:fi=null,success:Cr}=yt,yi=ei&&typeof ei!="string"?kn(ei,$n):{backgroundColor:ei},Gi=Xr==="square"||Xr==="butt"?0:void 0,oi={backgroundColor:fi||void 0,borderRadius:Gi},ea=wr!=null?wr:[-1,_r||(wr==="small"?6:8)],[Di,Ot]=rt(ea,"line",{strokeWidth:_r}),Nt=Object.assign({width:`${Ce(Qn)}%`,height:Ot,borderRadius:Gi},yi),cn=wt(yt),bn={width:`${Ce(cn)}%`,height:Ot,borderRadius:Gi,backgroundColor:Cr==null?void 0:Cr.strokeColor},rr={width:Di<0?"100%":Di,height:Ot};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${It}-outer`,style:rr},ae.createElement("div",{className:`${It}-inner`,style:oi},ae.createElement("div",{className:`${It}-bg`,style:Nt}),cn!==void 0?ae.createElement("div",{className:`${It}-success-bg`,style:bn}):null)),ri)},ue=yt=>{const{size:It,steps:$n,percent:Qn=0,strokeWidth:wr=8,strokeColor:_r,trailColor:ei=null,prefixCls:Xr,children:ri}=yt,fi=Math.round($n*(Qn/100)),Cr=It==="small"?2:14,yi=It!=null?It:[Cr,wr],[Gi,oi]=rt(yi,"step",{steps:$n,strokeWidth:wr}),ea=Gi/$n,Di=new Array($n);for(let Ot=0;Ot<$n;Ot++){const Nt=Array.isArray(_r)?_r[Ot]:_r;Di[Ot]=ae.createElement("div",{key:Ot,className:ke()(`${Xr}-steps-item`,{[`${Xr}-steps-item-active`]:Ot<=fi-1}),style:{backgroundColor:Ot<=fi-1?Nt:ei,width:ea,height:oi}})}return ae.createElement("div",{className:`${Xr}-steps-outer`},Di,ri)},pe=ie(45930),de=ie(14747),le=ie(67968),De=ie(45503);const Ke=yt=>{const It=yt?"100%":"-100%";return new pe.Keyframes(`antProgress${yt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${It}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${It}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Et=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:Object.assign(Object.assign({},(0,de.Wf)(yt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:yt.fontSize,marginInlineEnd:yt.marginXS,marginBottom:yt.marginXS},[`${It}-outer`]:{display:"inline-block",width:"100%"},[`&${It}-show-info`]:{[`${It}-outer`]:{marginInlineEnd:`calc(-2em - ${yt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${yt.paddingXS}px)`}},[`${It}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:yt.remainingColor,borderRadius:yt.lineBorderRadius},[`${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.defaultColor}},[`${It}-success-bg, ${It}-bg`]:{position:"relative",backgroundColor:yt.defaultColor,borderRadius:yt.lineBorderRadius,transition:`all ${yt.motionDurationSlow} ${yt.motionEaseInOutCirc}`},[`${It}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:yt.colorSuccess},[`${It}-text`]:{display:"inline-block",width:"2em",marginInlineStart:yt.marginXS,color:yt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[$n]:{fontSize:yt.fontSize}},[`&${It}-status-active`]:{[`${It}-bg::before`]:{position:"absolute",inset:0,backgroundColor:yt.colorBgContainer,borderRadius:yt.lineBorderRadius,opacity:0,animationName:Ke(),animationDuration:yt.progressActiveMotionDuration,animationTimingFunction:yt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${It}-rtl${It}-status-active`]:{[`${It}-bg::before`]:{animationName:Ke(!0)}},[`&${It}-status-exception`]:{[`${It}-bg`]:{backgroundColor:yt.colorError},[`${It}-text`]:{color:yt.colorError}},[`&${It}-status-exception ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.colorError}},[`&${It}-status-success`]:{[`${It}-bg`]:{backgroundColor:yt.colorSuccess},[`${It}-text`]:{color:yt.colorSuccess}},[`&${It}-status-success ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.colorSuccess}}})}},Yt=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:{[`${It}-circle-trail`]:{stroke:yt.remainingColor},[`&${It}-circle ${It}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${It}-circle ${It}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:yt.circleTextColor,fontSize:yt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[$n]:{fontSize:`${yt.fontSize/yt.fontSizeSM}em`}},[`${It}-circle&-status-exception`]:{[`${It}-text`]:{color:yt.colorError}},[`${It}-circle&-status-success`]:{[`${It}-text`]:{color:yt.colorSuccess}}},[`${It}-inline-circle`]:{lineHeight:1,[`${It}-inner`]:{verticalAlign:"bottom"}}}},Kt=yt=>{const{componentCls:It}=yt;return{[It]:{[`${It}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:yt.progressStepMinWidth,marginInlineEnd:yt.progressStepMarginInlineEnd,backgroundColor:yt.remainingColor,transition:`all ${yt.motionDurationSlow}`,"&-active":{backgroundColor:yt.defaultColor}}}}}},nn=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:{[`${It}-small&-line, ${It}-small&-line ${It}-text ${$n}`]:{fontSize:yt.fontSizeSM}}}};var $t=(0,le.Z)("Progress",yt=>{const It=yt.marginXXS/2,$n=(0,De.TS)(yt,{progressStepMarginInlineEnd:It,progressStepMinWidth:It,progressActiveMotionDuration:"2.4s"});return[Et($n),Yt($n),Kt($n),nn($n)]},yt=>({circleTextColor:yt.colorText,defaultColor:yt.colorInfo,remainingColor:yt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),gr=function(yt,It){var $n={};for(var Qn in yt)Object.prototype.hasOwnProperty.call(yt,Qn)&&It.indexOf(Qn)<0&&($n[Qn]=yt[Qn]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wr=0,Qn=Object.getOwnPropertySymbols(yt);wr{const{prefixCls:$n,className:Qn,rootClassName:wr,steps:_r,strokeColor:ei,percent:Xr=0,size:ri="default",showInfo:fi=!0,type:Cr="line",status:yi,format:Gi,style:oi}=yt,ea=gr(yt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Di=ae.useMemo(()=>{var $e,Ft;const on=wt(yt);return parseInt(on!==void 0?($e=on!=null?on:0)===null||$e===void 0?void 0:$e.toString():(Ft=Xr!=null?Xr:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[Xr,yt.success,yt.successPercent]),Ot=ae.useMemo(()=>!rn.includes(yi)&&Di>=100?"success":yi||"normal",[yi,Di]),{getPrefixCls:Nt,direction:cn,progress:bn}=ae.useContext(me.E_),rr=Nt("progress",$n),[Fn,ir]=$t(rr),Xn=ae.useMemo(()=>{if(!fi)return null;const $e=wt(yt);let Ft;const on=Gi||(En=>`${En}%`),_t=Cr==="line";return Gi||Ot!=="exception"&&Ot!=="success"?Ft=on(Ce(Xr),Ce($e)):Ot==="exception"?Ft=_t?ae.createElement(Ze.Z,null):ae.createElement(ve.Z,null):Ot==="success"&&(Ft=_t?ae.createElement(Oe.Z,null):ae.createElement(Re.Z,null)),ae.createElement("span",{className:`${rr}-text`,title:typeof Ft=="string"?Ft:void 0},Ft)},[fi,Xr,Di,Ot,Cr,rr,Gi]),pt=Array.isArray(ei)?ei[0]:ei,At=typeof ei=="string"||Array.isArray(ei)?ei:void 0;let Mt;Cr==="line"?Mt=_r?ae.createElement(ue,Object.assign({},yt,{strokeColor:At,prefixCls:rr,steps:_r}),Xn):ae.createElement(Fe,Object.assign({},yt,{strokeColor:pt,prefixCls:rr,direction:cn}),Xn):(Cr==="circle"||Cr==="dashboard")&&(Mt=ae.createElement(Xt,Object.assign({},yt,{strokeColor:pt,prefixCls:rr,progressStatus:Ot}),Xn));const fn=ke()(rr,`${rr}-status-${Ot}`,`${rr}-${Cr==="dashboard"&&"circle"||_r&&"steps"||Cr}`,{[`${rr}-inline-circle`]:Cr==="circle"&&rt(ri,"circle")[0]<=20,[`${rr}-show-info`]:fi,[`${rr}-${ri}`]:typeof ri=="string",[`${rr}-rtl`]:cn==="rtl"},bn==null?void 0:bn.className,Qn,wr,ir);return Fn(ae.createElement("div",Object.assign({ref:It,style:Object.assign(Object.assign({},bn==null?void 0:bn.style),oi),className:fn,role:"progressbar","aria-valuenow":Di},(0,ye.Z)(ea,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Mt))}),Er=hr},78045:function(mn,en,ie){"use strict";ie.d(en,{ZP:function(){return it}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(5663),Ze=ie(1337),ve=ie(67294),Ee=ie(53124),ke=ie(98675);const ye=ve.createContext(null),me=ye.Provider;var Le=ye;const mt=ve.createContext(null),Ie=mt.Provider;var Xe=ie(95860),ot=ie(17799),dt=ie(98866),nt=ie(65223),Me=ie(14747),ut=ie(67968),Ut=ie(45503);const at=Ce=>{const{componentCls:wt,antCls:An}=Ce,Tt=`${wt}-group`;return{[Tt]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{display:"inline-block",fontSize:0,[`&${Tt}-rtl`]:{direction:"rtl"},[`${An}-badge ${An}-badge-count`]:{zIndex:1},[`> ${An}-badge:not(:first-child) > ${An}-button-wrapper`]:{borderInlineStart:"none"}})}},ht=Ce=>{const{componentCls:wt,wrapperMarginInlineEnd:An,colorPrimary:Tt,radioSize:rt,motionDurationSlow:ft,motionDurationMid:Wt,motionEaseInOutCirc:qt,colorBgContainer:Xt,colorBorder:Ht,lineWidth:un,dotSize:kn,colorBgContainerDisabled:yn,colorTextDisabled:Fe,paddingXS:ce,dotColorDisabled:ue,lineType:pe,radioDotDisabledSize:de,wireframe:le,colorWhite:De}=Ce,Ke=`${wt}-inner`;return{[`${wt}-wrapper`]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:An,cursor:"pointer",[`&${wt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ce.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${wt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${un}px ${pe} ${Tt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[wt]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${wt}-wrapper:hover &, &:hover ${Ke}`]:{borderColor:Tt},[`${wt}-input:focus-visible + ${Ke}`]:Object.assign({},(0,Me.oN)(Ce)),[`${wt}:hover::after, ${wt}-wrapper:hover &::after`]:{visibility:"visible"},[`${wt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:rt,height:rt,marginBlockStart:rt/-2,marginInlineStart:rt/-2,backgroundColor:le?Tt:De,borderBlockStart:0,borderInlineStart:0,borderRadius:rt,transform:"scale(0)",opacity:0,transition:`all ${ft} ${qt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:rt,height:rt,backgroundColor:Xt,borderColor:Ht,borderStyle:"solid",borderWidth:un,borderRadius:"50%",transition:`all ${Wt}`},[`${wt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${wt}-checked`]:{[Ke]:{borderColor:Tt,backgroundColor:le?Xt:Tt,"&::after":{transform:`scale(${kn/rt})`,opacity:1,transition:`all ${ft} ${qt}`}}},[`${wt}-disabled`]:{cursor:"not-allowed",[Ke]:{backgroundColor:yn,borderColor:Ht,cursor:"not-allowed","&::after":{backgroundColor:ue}},[`${wt}-input`]:{cursor:"not-allowed"},[`${wt}-disabled + span`]:{color:Fe,cursor:"not-allowed"},[`&${wt}-checked`]:{[Ke]:{"&::after":{transform:`scale(${de/rt})`}}}},[`span${wt} + *`]:{paddingInlineStart:ce,paddingInlineEnd:ce}})}},we=Ce=>{const{buttonColor:wt,controlHeight:An,componentCls:Tt,lineWidth:rt,lineType:ft,colorBorder:Wt,motionDurationSlow:qt,motionDurationMid:Xt,buttonPaddingInline:Ht,fontSize:un,buttonBg:kn,fontSizeLG:yn,controlHeightLG:Fe,controlHeightSM:ce,paddingXS:ue,borderRadius:pe,borderRadiusSM:de,borderRadiusLG:le,buttonCheckedBg:De,buttonSolidCheckedColor:Ke,colorTextDisabled:Et,colorBgContainerDisabled:Yt,buttonCheckedBgDisabled:Kt,buttonCheckedColorDisabled:nn,colorPrimary:$t,colorPrimaryHover:gr,colorPrimaryActive:kr,buttonSolidCheckedBg:rn,buttonSolidCheckedHoverBg:gn,buttonSolidCheckedActiveBg:hr}=Ce;return{[`${Tt}-button-wrapper`]:{position:"relative",display:"inline-block",height:An,margin:0,paddingInline:Ht,paddingBlock:0,color:wt,fontSize:un,lineHeight:`${An-rt*2}px`,background:kn,border:`${rt}px ${ft} ${Wt}`,borderBlockStartWidth:rt+.02,borderInlineStartWidth:0,borderInlineEndWidth:rt,cursor:"pointer",transition:[`color ${Xt}`,`background ${Xt}`,`box-shadow ${Xt}`].join(","),a:{color:wt},[`> ${Tt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-rt,insetInlineStart:-rt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:rt,paddingInline:0,backgroundColor:Wt,transition:`background-color ${qt}`,content:'""'}},"&:first-child":{borderInlineStart:`${rt}px ${ft} ${Wt}`,borderStartStartRadius:pe,borderEndStartRadius:pe},"&:last-child":{borderStartEndRadius:pe,borderEndEndRadius:pe},"&:first-child:last-child":{borderRadius:pe},[`${Tt}-group-large &`]:{height:Fe,fontSize:yn,lineHeight:`${Fe-rt*2}px`,"&:first-child":{borderStartStartRadius:le,borderEndStartRadius:le},"&:last-child":{borderStartEndRadius:le,borderEndEndRadius:le}},[`${Tt}-group-small &`]:{height:ce,paddingInline:ue-rt,paddingBlock:0,lineHeight:`${ce-rt*2}px`,"&:first-child":{borderStartStartRadius:de,borderEndStartRadius:de},"&:last-child":{borderStartEndRadius:de,borderEndEndRadius:de}},"&:hover":{position:"relative",color:$t},"&:has(:focus-visible)":Object.assign({},(0,Me.oN)(Ce)),[`${Tt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Tt}-button-wrapper-disabled)`]:{zIndex:1,color:$t,background:De,borderColor:$t,"&::before":{backgroundColor:$t},"&:first-child":{borderColor:$t},"&:hover":{color:gr,borderColor:gr,"&::before":{backgroundColor:gr}},"&:active":{color:kr,borderColor:kr,"&::before":{backgroundColor:kr}}},[`${Tt}-group-solid &-checked:not(${Tt}-button-wrapper-disabled)`]:{color:Ke,background:rn,borderColor:rn,"&:hover":{color:Ke,background:gn,borderColor:gn},"&:active":{color:Ke,background:hr,borderColor:hr}},"&-disabled":{color:Et,backgroundColor:Yt,borderColor:Wt,cursor:"not-allowed","&:first-child, &:hover":{color:Et,backgroundColor:Yt,borderColor:Wt}},[`&-disabled${Tt}-button-wrapper-checked`]:{color:nn,backgroundColor:Kt,borderColor:Wt,boxShadow:"none"}}}},he=Ce=>Ce-4*2;var je=(0,ut.Z)("Radio",Ce=>{const{controlOutline:wt,controlOutlineWidth:An,radioSize:Tt}=Ce,rt=`0 0 0 ${An}px ${wt}`,ft=rt,Wt=he(Tt),qt=(0,Ut.TS)(Ce,{radioDotDisabledSize:Wt,radioFocusShadow:rt,radioButtonFocusShadow:ft});return[at(qt),ht(qt),we(qt)]},Ce=>{const{wireframe:wt,padding:An,marginXS:Tt,lineWidth:rt,fontSizeLG:ft,colorText:Wt,colorBgContainer:qt,colorTextDisabled:Xt,controlItemBgActiveDisabled:Ht,colorTextLightSolid:un,colorPrimary:kn,colorPrimaryHover:yn,colorPrimaryActive:Fe}=Ce,ce=4,ue=ft,pe=wt?he(ue):ue-(ce+rt)*2;return{radioSize:ue,dotSize:pe,dotColorDisabled:Xt,buttonSolidCheckedColor:un,buttonSolidCheckedBg:kn,buttonSolidCheckedHoverBg:yn,buttonSolidCheckedActiveBg:Fe,buttonBg:qt,buttonCheckedBg:qt,buttonColor:Wt,buttonCheckedBgDisabled:Ht,buttonCheckedColorDisabled:Xt,buttonPaddingInline:An-rt,wrapperMarginInlineEnd:Tt}}),Ve=ie(45353),Ge=ie(92429),qe=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt{var An,Tt;const rt=ve.useContext(Le),ft=ve.useContext(mt),{getPrefixCls:Wt,direction:qt,radio:Xt}=ve.useContext(Ee.E_),Ht=ve.useRef(null),un=(0,ot.sQ)(wt,Ht),{isFormItemInput:kn}=ve.useContext(nt.aM),yn=kr=>{var rn,gn;(rn=Ce.onChange)===null||rn===void 0||rn.call(Ce,kr),(gn=rt==null?void 0:rt.onChange)===null||gn===void 0||gn.call(rt,kr)},{prefixCls:Fe,className:ce,rootClassName:ue,children:pe,style:de}=Ce,le=qe(Ce,["prefixCls","className","rootClassName","children","style"]),De=Wt("radio",Fe),Ke=((rt==null?void 0:rt.optionType)||ft)==="button",Et=Ke?`${De}-button`:De,[Yt,Kt]=je(De),nn=Object.assign({},le),$t=ve.useContext(dt.Z);rt&&(nn.name=rt.name,nn.onChange=yn,nn.checked=Ce.value===rt.value,nn.disabled=(An=nn.disabled)!==null&&An!==void 0?An:rt.disabled),nn.disabled=(Tt=nn.disabled)!==null&&Tt!==void 0?Tt:$t;const gr=Oe()(`${Et}-wrapper`,{[`${Et}-wrapper-checked`]:nn.checked,[`${Et}-wrapper-disabled`]:nn.disabled,[`${Et}-wrapper-rtl`]:qt==="rtl",[`${Et}-wrapper-in-form-item`]:kn},Xt==null?void 0:Xt.className,ce,ue,Kt);return Yt(ve.createElement(Ve.Z,{component:"Radio",disabled:nn.disabled},ve.createElement("label",{className:gr,style:Object.assign(Object.assign({},Xt==null?void 0:Xt.style),de),onMouseEnter:Ce.onMouseEnter,onMouseLeave:Ce.onMouseLeave},ve.createElement(Xe.Z,Object.assign({},nn,{className:Oe()(nn.className,!Ke&&Ge.A),type:"radio",prefixCls:Et,ref:un})),pe!==void 0?ve.createElement("span",null,pe):null)))};var St=ve.forwardRef(Ye);const lt=ve.forwardRef((Ce,wt)=>{const{getPrefixCls:An,direction:Tt}=ve.useContext(Ee.E_),[rt,ft]=(0,Re.Z)(Ce.defaultValue,{value:Ce.value}),Wt=rn=>{const gn=rt,hr=rn.target.value;"value"in Ce||ft(hr);const{onChange:Er}=Ce;Er&&hr!==gn&&Er(rn)},{prefixCls:qt,className:Xt,rootClassName:Ht,options:un,buttonStyle:kn="outline",disabled:yn,children:Fe,size:ce,style:ue,id:pe,onMouseEnter:de,onMouseLeave:le,onFocus:De,onBlur:Ke}=Ce,Et=An("radio",qt),Yt=`${Et}-group`,[Kt,nn]=je(Et);let $t=Fe;un&&un.length>0&&($t=un.map(rn=>typeof rn=="string"||typeof rn=="number"?ve.createElement(St,{key:rn.toString(),prefixCls:Et,disabled:yn,value:rn,checked:rt===rn},rn):ve.createElement(St,{key:`radio-group-value-options-${rn.value}`,prefixCls:Et,disabled:rn.disabled||yn,value:rn.value,checked:rt===rn.value,title:rn.title,style:rn.style},rn.label)));const gr=(0,ke.Z)(ce),kr=Oe()(Yt,`${Yt}-${kn}`,{[`${Yt}-${gr}`]:gr,[`${Yt}-rtl`]:Tt==="rtl"},Xt,Ht,nn);return Kt(ve.createElement("div",Object.assign({},(0,Ze.Z)(Ce,{aria:!0,data:!0}),{className:kr,style:ue,onMouseEnter:de,onMouseLeave:le,onFocus:De,onBlur:Ke,id:pe,ref:wt}),ve.createElement(me,{value:{onChange:Wt,value:rt,disabled:Ce.disabled,name:Ce.name,optionType:Ce.optionType}},$t)))});var zt=ve.memo(lt),Dt=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt{const{getPrefixCls:An}=ve.useContext(Ee.E_),{prefixCls:Tt}=Ce,rt=Dt(Ce,["prefixCls"]),ft=An("radio",Tt);return ve.createElement(Ie,{value:"button"},ve.createElement(St,Object.assign({prefixCls:ft},rt,{type:"radio",ref:wt})))};var Kn=ve.forwardRef(pn);const tr=St;tr.Button=Kn,tr.Group=zt,tr.__ANT_RADIO=!0;var it=tr},12604:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return it}});var ae=ie(87462),Oe=ie(67294),Re={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"},Ze=Re,ve=ie(74643),Ee=function(wt,An){return Oe.createElement(ve.Z,(0,ae.Z)({},wt,{ref:An,icon:Ze}))},ke=Oe.forwardRef(Ee),ye=ie(94184),me=ie.n(ye),Le=ie(4942),mt=ie(97685),Ie=ie(45987),Xe=ie(21770),ot=ie(15105),dt=ie(64217);function nt(Ce,wt){var An=Ce.disabled,Tt=Ce.prefixCls,rt=Ce.character,ft=Ce.characterRender,Wt=Ce.index,qt=Ce.count,Xt=Ce.value,Ht=Ce.allowHalf,un=Ce.focused,kn=Ce.onHover,yn=Ce.onClick,Fe=function(Et){kn(Et,Wt)},ce=function(Et){yn(Et,Wt)},ue=function(Et){Et.keyCode===ot.Z.ENTER&&yn(Et,Wt)},pe=Wt+1,de=new Set([Tt]);Xt===0&&Wt===0&&un?de.add("".concat(Tt,"-focused")):Ht&&Xt+.5>=pe&&XtWt?"true":"false","aria-posinset":Wt+1,"aria-setsize":qt,tabIndex:An?-1:0},Oe.createElement("div",{className:"".concat(Tt,"-first")},le),Oe.createElement("div",{className:"".concat(Tt,"-second")},le)));return ft&&(De=ft(De,Ce)),De}var Me=Oe.forwardRef(nt);function ut(){var Ce=Oe.useRef({});function wt(Tt){return Ce.current[Tt]}function An(Tt){return function(rt){Ce.current[Tt]=rt}}return[wt,An]}function Ut(Ce){var wt=Ce.pageXOffset,An="scrollLeft";if(typeof wt!="number"){var Tt=Ce.document;wt=Tt.documentElement[An],typeof wt!="number"&&(wt=Tt.body[An])}return wt}function at(Ce){var wt,An,Tt=Ce.ownerDocument,rt=Tt.body,ft=Tt&&Tt.documentElement,Wt=Ce.getBoundingClientRect();return wt=Wt.left,An=Wt.top,wt-=ft.clientLeft||rt.clientLeft||0,An-=ft.clientTop||rt.clientTop||0,{left:wt,top:An}}function ht(Ce){var wt=at(Ce),An=Ce.ownerDocument,Tt=An.defaultView||An.parentWindow;return wt.left+=Ut(Tt),wt.left}var we=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function he(Ce,wt){var An,Tt=Ce.prefixCls,rt=Tt===void 0?"rc-rate":Tt,ft=Ce.className,Wt=Ce.defaultValue,qt=Ce.value,Xt=Ce.count,Ht=Xt===void 0?5:Xt,un=Ce.allowHalf,kn=un===void 0?!1:un,yn=Ce.allowClear,Fe=yn===void 0?!0:yn,ce=Ce.character,ue=ce===void 0?"\u2605":ce,pe=Ce.characterRender,de=Ce.disabled,le=Ce.direction,De=le===void 0?"ltr":le,Ke=Ce.tabIndex,Et=Ke===void 0?0:Ke,Yt=Ce.autoFocus,Kt=Ce.onHoverChange,nn=Ce.onChange,$t=Ce.onFocus,gr=Ce.onBlur,kr=Ce.onKeyDown,rn=Ce.onMouseLeave,gn=(0,Ie.Z)(Ce,we),hr=ut(),Er=(0,mt.Z)(hr,2),yt=Er[0],It=Er[1],$n=Oe.useRef(null),Qn=function(){if(!de){var _t;(_t=$n.current)===null||_t===void 0||_t.focus()}};Oe.useImperativeHandle(wt,function(){return{focus:Qn,blur:function(){if(!de){var _t;(_t=$n.current)===null||_t===void 0||_t.blur()}}}});var wr=(0,Xe.Z)(Wt||0,{value:qt}),_r=(0,mt.Z)(wr,2),ei=_r[0],Xr=_r[1],ri=(0,Xe.Z)(null),fi=(0,mt.Z)(ri,2),Cr=fi[0],yi=fi[1],Gi=function(_t,En){var Sn=De==="rtl",Bn=_t+1;if(kn){var Qr=yt(_t),Lr=ht(Qr),Sr=Qr.clientWidth;(Sn&&En-Lr>Sr/2||!Sn&&En-Lr0&&!Sn||En===ot.Z.RIGHT&&Bn>0&&Sn?(kn?Bn-=.5:Bn-=1,oi(Bn),_t.preventDefault()):En===ot.Z.LEFT&&Bn{const{componentCls:wt}=Ce;return{[`${wt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ce.marginXS},"> div":{transition:`all ${Ce.motionDurationMid}, outline 0s`,"&:hover":{transform:Ce.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ce.lineWidth}px dashed ${Ce.starColor}`,transform:Ce.starHoverScale}},"&-first, &-second":{color:Ce.starBg,transition:`all ${Ce.motionDurationMid}`,userSelect:"none",[Ce.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${wt}-star-first, &-half ${wt}-star-second`]:{opacity:1},[`&-half ${wt}-star-first, &-full ${wt}-star-second`]:{color:"inherit"}}}},zt=Ce=>({[`&-rtl${Ce.componentCls}`]:{direction:"rtl"}}),Dt=Ce=>{const{componentCls:wt}=Ce;return{[wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Ce)),{display:"inline-block",margin:0,padding:0,color:Ce.starColor,fontSize:Ce.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${wt} ${wt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),lt(Ce)),{[`+ ${wt}-text`]:{display:"inline-block",marginInlineStart:Ce.marginXS,fontSize:Ce.fontSize}}),zt(Ce))}};var pn=(0,We.Z)("Rate",Ce=>{const wt=(0,St.TS)(Ce,{});return[Dt(wt)]},Ce=>({starColor:Ce.yellow6,starSize:Ce.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ce.colorFillContent})),Kn=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt{const{prefixCls:An,className:Tt,rootClassName:rt,style:ft,tooltips:Wt,character:qt=Oe.createElement(ke,null)}=Ce,Xt=Kn(Ce,["prefixCls","className","rootClassName","style","tooltips","character"]),Ht=(de,le)=>{let{index:De}=le;return Wt?Oe.createElement(qe.Z,{title:Wt[De]},de):de},{getPrefixCls:un,direction:kn,rate:yn}=Oe.useContext(Ge.E_),Fe=un("rate",An),[ce,ue]=pn(Fe),pe=Object.assign(Object.assign({},yn==null?void 0:yn.style),ft);return ce(Oe.createElement(Ve,Object.assign({ref:wt,character:qt,characterRender:Ht},Xt,{className:me()(Tt,rt,ue,yn==null?void 0:yn.className),style:pe,prefixCls:Fe,direction:kn})))})},11713:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return qr}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(87462),Ze=ie(74902),ve=ie(4942),Ee=ie(1413),ke=ie(97685),ye=ie(45987),me=ie(71002),Le=ie(67294);function mt(Ue){var tt=Le.useRef();tt.current=Ue;var tn=Le.useCallback(function(){for(var Pt,xn=arguments.length,Zn=new Array(xn),Jn=0;Jn=Ye.F1&&tn<=Ye.F12)return!1;switch(tn){case Ye.ALT:case Ye.CAPS_LOCK:case Ye.CONTEXT_MENU:case Ye.CTRL:case Ye.DOWN:case Ye.END:case Ye.ESC:case Ye.HOME:case Ye.INSERT:case Ye.LEFT:case Ye.MAC_FF_META:case Ye.META:case Ye.NUMLOCK:case Ye.NUM_CENTER:case Ye.PAGE_DOWN:case Ye.PAGE_UP:case Ye.PAUSE:case Ye.PRINT_SCREEN:case Ye.RIGHT:case Ye.SHIFT:case Ye.UP:case Ye.WIN_KEY:case Ye.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(tt){if(tt>=Ye.ZERO&&tt<=Ye.NINE||tt>=Ye.NUM_ZERO&&tt<=Ye.NUM_MULTIPLY||tt>=Ye.A&&tt<=Ye.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&tt===0)return!0;switch(tt){case Ye.SPACE:case Ye.QUESTION_MARK:case Ye.NUM_PLUS:case Ye.NUM_MINUS:case Ye.NUM_PERIOD:case Ye.NUM_DIVISION:case Ye.SEMICOLON:case Ye.DASH:case Ye.EQUALS:case Ye.COMMA:case Ye.PERIOD:case Ye.SLASH:case Ye.APOSTROPHE:case Ye.SINGLE_QUOTE:case Ye.OPEN_SQUARE_BRACKET:case Ye.BACKSLASH:case Ye.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},We=Ye,St=ie(47655);function lt(Ue,tt,tn){var Pt=Le.useRef({});return(!("value"in Pt.current)||tn(Pt.current.condition,tt))&&(Pt.current.value=Ue(),Pt.current.condition=tt),Pt.current.value}function zt(Ue,tt){typeof Ue=="function"?Ue(tt):(0,me.Z)(Ue)==="object"&&Ue&&"current"in Ue&&(Ue.current=tt)}function Dt(){for(var Ue=arguments.length,tt=new Array(Ue),tn=0;tn5&&arguments[5]!==void 0?arguments[5]:!1,Jn=arguments.length>6?arguments[6]:void 0,yr=arguments.length>7?arguments[7]:void 0,xt=Le.useMemo(function(){if((0,me.Z)(Pt)==="object")return Pt.clearIcon;if(xn)return xn},[Pt,xn]),ct=Le.useMemo(function(){return!!(!Zn&&Pt&&(tn.length||Jn)&&!(yr==="combobox"&&Jn===""))},[Pt,Zn,tn.length,Jn,yr]);return{allowClear:ct,clearIcon:Le.createElement(it,{className:"".concat(Ue,"-clear"),onMouseDown:tt,customizeIcon:xt},"\xD7")}}var wt=Le.createContext(null);function An(){return Le.useContext(wt)}function Tt(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,tt=Le.useState(!1),tn=(0,ke.Z)(tt,2),Pt=tn[0],xn=tn[1],Zn=Le.useRef(null),Jn=function(){window.clearTimeout(Zn.current)};Le.useEffect(function(){return Jn},[]);var yr=function(ct,Lt){Jn(),Zn.current=window.setTimeout(function(){xn(ct),Lt&&Lt()},Ue)};return[Pt,yr,Jn]}function rt(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,tt=Le.useRef(null),tn=Le.useRef(null);Le.useEffect(function(){return function(){window.clearTimeout(tn.current)}},[]);function Pt(xn){(xn||tt.current===null)&&(tt.current=xn),window.clearTimeout(tn.current),tn.current=window.setTimeout(function(){tt.current=null},Ue)}return[function(){return tt.current},Pt]}function ft(Ue,tt,tn,Pt){var xn=Le.useRef(null);xn.current={open:tt,triggerOpen:tn,customizedTrigger:Pt},Le.useEffect(function(){function Zn(Jn){var yr;if(!((yr=xn.current)!==null&&yr!==void 0&&yr.customizedTrigger)){var xt=Jn.target;xt.shadowRoot&&Jn.composed&&(xt=Jn.composedPath()[0]||xt),xn.current.open&&Ue().filter(function(ct){return ct}).every(function(ct){return!ct.contains(xt)&&ct!==xt})&&xn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Zn),function(){return window.removeEventListener("mousedown",Zn)}},[])}var Wt=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,qt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Xt="".concat(Wt," ").concat(qt).split(/[\s\n]+/),Ht="aria-",un="data-";function kn(Ue,tt){return Ue.indexOf(tt)===0}function yn(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn;tt===!1?tn={aria:!0,data:!0,attr:!0}:tt===!0?tn={aria:!0}:tn=(0,Ee.Z)({},tt);var Pt={};return Object.keys(Ue).forEach(function(xn){(tn.aria&&(xn==="role"||kn(xn,Ht))||tn.data&&kn(xn,un)||tn.attr&&Xt.includes(xn))&&(Pt[xn]=Ue[xn])}),Pt}var Fe=ie(48555),ce=ie(14075),ue=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],pe=void 0;function de(Ue,tt){var tn=Ue.prefixCls,Pt=Ue.invalidate,xn=Ue.item,Zn=Ue.renderItem,Jn=Ue.responsive,yr=Ue.responsiveDisabled,xt=Ue.registerSize,ct=Ue.itemKey,Lt=Ue.className,dn=Ue.style,qn=Ue.children,In=Ue.display,wn=Ue.order,xr=Ue.component,pr=xr===void 0?"div":xr,Pr=(0,ye.Z)(Ue,ue),dr=Jn&&!In;function Vn(Gr){xt(ct,Gr)}Le.useEffect(function(){return function(){Vn(null)}},[]);var Hr=Zn&&xn!==pe?Zn(xn):qn,ni;Pt||(ni={opacity:dr?0:1,height:dr?0:pe,overflowY:dr?"hidden":pe,order:Jn?wn:pe,pointerEvents:dr?"none":pe,position:dr?"absolute":pe});var Wr={};dr&&(Wr["aria-hidden"]=!0);var Nr=Le.createElement(pr,(0,Re.Z)({className:Oe()(!Pt&&tn,Lt),style:(0,Ee.Z)((0,Ee.Z)({},ni),dn)},Wr,Pr,{ref:tt}),Hr);return Jn&&(Nr=Le.createElement(Fe.Z,{onResize:function(Li){var xi=Li.offsetWidth;Vn(xi)},disabled:yr},Nr)),Nr}var le=Le.forwardRef(de);le.displayName="Item";var De=le,Ke=ie(77527),Et=ie(73935),Yt=ie(96523);function Kt(Ue){if(typeof MessageChannel=="undefined")(0,Yt.Z)(Ue);else{var tt=new MessageChannel;tt.port1.onmessage=function(){return Ue()},tt.port2.postMessage(void 0)}}function nn(){var Ue=Le.useRef(null),tt=function(Pt){Ue.current||(Ue.current=[],Kt(function(){(0,Et.unstable_batchedUpdates)(function(){Ue.current.forEach(function(xn){xn()}),Ue.current=null})})),Ue.current.push(Pt)};return tt}function $t(Ue,tt){var tn=Le.useState(tt),Pt=(0,ke.Z)(tn,2),xn=Pt[0],Zn=Pt[1],Jn=(0,Ke.Z)(function(yr){Ue(function(){Zn(yr)})});return[xn,Jn]}var gr=Le.createContext(null),kr=["component"],rn=["className"],gn=["className"],hr=function(tt,tn){var Pt=Le.useContext(gr);if(!Pt){var xn=tt.component,Zn=xn===void 0?"div":xn,Jn=(0,ye.Z)(tt,kr);return Le.createElement(Zn,(0,Re.Z)({},Jn,{ref:tn}))}var yr=Pt.className,xt=(0,ye.Z)(Pt,rn),ct=tt.className,Lt=(0,ye.Z)(tt,gn);return Le.createElement(gr.Provider,{value:null},Le.createElement(De,(0,Re.Z)({ref:tn,className:Oe()(yr,ct)},xt,Lt)))},Er=Le.forwardRef(hr);Er.displayName="RawItem";var yt=Er,It=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],$n="responsive",Qn="invalidate";function wr(Ue){return"+ ".concat(Ue.length," ...")}function _r(Ue,tt){var tn=Ue.prefixCls,Pt=tn===void 0?"rc-overflow":tn,xn=Ue.data,Zn=xn===void 0?[]:xn,Jn=Ue.renderItem,yr=Ue.renderRawItem,xt=Ue.itemKey,ct=Ue.itemWidth,Lt=ct===void 0?10:ct,dn=Ue.ssr,qn=Ue.style,In=Ue.className,wn=Ue.maxCount,xr=Ue.renderRest,pr=Ue.renderRawRest,Pr=Ue.suffix,dr=Ue.component,Vn=dr===void 0?"div":dr,Hr=Ue.itemComponent,ni=Ue.onVisibleChange,Wr=(0,ye.Z)(Ue,It),Nr=dn==="full",Gr=nn(),Li=$t(Gr,null),xi=(0,ke.Z)(Li,2),Ei=xi[0],$i=xi[1],Aa=Ei||0,_i=$t(Gr,new Map),la=(0,ke.Z)(_i,2),Ai=la[0],Ki=la[1],ua=$t(Gr,0),pa=(0,ke.Z)(ua,2),ao=pa[0],no=pa[1],ro=$t(Gr,0),Ha=(0,ke.Z)(ro,2),wa=Ha[0],Wi=Ha[1],co=$t(Gr,0),aa=(0,ke.Z)(co,2),Bi=aa[0],ma=aa[1],Ja=(0,Le.useState)(null),Ba=(0,ke.Z)(Ja,2),Va=Ba[0],na=Ba[1],oo=(0,Le.useState)(null),fo=(0,ke.Z)(oo,2),to=fo[0],ho=fo[1],bo=Le.useMemo(function(){return to===null&&Nr?Number.MAX_SAFE_INTEGER:to||0},[to,Ei]),Lo=(0,Le.useState)(!1),io=(0,ke.Z)(Lo,2),lo=io[0],Ko=io[1],Wo="".concat(Pt,"-item"),Jo=Math.max(ao,wa),Fo=wn===$n,po=Zn.length&&Fo,ga=wn===Qn,Sa=po||typeof wn=="number"&&Zn.length>wn,qa=(0,Le.useMemo)(function(){var Cn=Zn;return po?Ei===null&&Nr?Cn=Zn:Cn=Zn.slice(0,Math.min(Zn.length,Aa/Lt)):typeof wn=="number"&&(Cn=Zn.slice(0,wn)),Cn},[Zn,Lt,Ei,wn,po]),mo=(0,Le.useMemo)(function(){return po?Zn.slice(bo+1):Zn.slice(qa.length)},[Zn,qa,po,bo]),Io=(0,Le.useCallback)(function(Cn,hn){var nr;return typeof xt=="function"?xt(Cn):(nr=xt&&(Cn==null?void 0:Cn[xt]))!==null&&nr!==void 0?nr:hn},[xt]),Go=(0,Le.useCallback)(Jn||function(Cn){return Cn},[Jn]);function qo(Cn,hn,nr){to===Cn&&(hn===void 0||hn===Va)||(ho(Cn),nr||(Ko(CnAa){qo(Dn-1,Cn-Pn-Bi+wa);break}}Pr&&ja(0)+Bi>Aa&&na(null)}},[Aa,Ai,wa,Bi,Io,qa]);var be=lo&&!!mo.length,Be={};Va!==null&&po&&(Be={position:"absolute",left:Va,top:0});var Pe={prefixCls:Wo,responsive:po,component:Hr,invalidate:ga},gt=yr?function(Cn,hn){var nr=Io(Cn,hn);return Le.createElement(gr.Provider,{key:nr,value:(0,Ee.Z)((0,Ee.Z)({},Pe),{},{order:hn,item:Cn,itemKey:nr,registerSize:Ss,display:hn<=bo})},yr(Cn,hn))}:function(Cn,hn){var nr=Io(Cn,hn);return Le.createElement(De,(0,Re.Z)({},Pe,{order:hn,key:nr,item:Cn,renderItem:Go,itemKey:nr,registerSize:Ss,display:hn<=bo}))},vt,vn={order:be?bo:Number.MAX_SAFE_INTEGER,className:"".concat(Wo,"-rest"),registerSize:$o,display:be};if(pr)pr&&(vt=Le.createElement(gr.Provider,{value:(0,Ee.Z)((0,Ee.Z)({},Pe),vn)},pr(mo)));else{var ln=xr||wr;vt=Le.createElement(De,(0,Re.Z)({},Pe,vn),typeof ln=="function"?ln(mo):ln)}var Un=Le.createElement(Vn,(0,Re.Z)({className:Oe()(!ga&&Pt,In),style:qn,ref:tt},Wr),qa.map(gt),Sa?vt:null,Pr&&Le.createElement(De,(0,Re.Z)({},Pe,{responsive:Fo,responsiveDisabled:!po,order:bo,className:"".concat(Wo,"-suffix"),registerSize:Cs,display:!0,style:Be}),Pr));return Fo&&(Un=Le.createElement(Fe.Z,{onResize:ls,disabled:!po},Un)),Un}var ei=Le.forwardRef(_r);ei.displayName="Overflow",ei.Item=yt,ei.RESPONSIVE=$n,ei.INVALIDATE=Qn;var Xr=ei,ri=Xr,fi=function(tt,tn){var Pt,xn,Zn=tt.prefixCls,Jn=tt.id,yr=tt.inputElement,xt=tt.disabled,ct=tt.tabIndex,Lt=tt.autoFocus,dn=tt.autoComplete,qn=tt.editable,In=tt.activeDescendantId,wn=tt.value,xr=tt.maxLength,pr=tt.onKeyDown,Pr=tt.onMouseDown,dr=tt.onChange,Vn=tt.onPaste,Hr=tt.onCompositionStart,ni=tt.onCompositionEnd,Wr=tt.open,Nr=tt.attrs,Gr=yr||Le.createElement("input",null),Li=Gr,xi=Li.ref,Ei=Li.props,$i=Ei.onKeyDown,Aa=Ei.onChange,_i=Ei.onMouseDown,la=Ei.onCompositionStart,Ai=Ei.onCompositionEnd,Ki=Ei.style;return"maxLength"in Gr.props,Gr=Le.cloneElement(Gr,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({type:"search"},Ei),{},{id:Jn,ref:Dt(tn,xi),disabled:xt,tabIndex:ct,autoComplete:dn||"off",autoFocus:Lt,className:Oe()("".concat(Zn,"-selection-search-input"),(Pt=Gr)===null||Pt===void 0||(xn=Pt.props)===null||xn===void 0?void 0:xn.className),role:"combobox","aria-label":"Search","aria-expanded":Wr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Jn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Jn,"_list"),"aria-activedescendant":Wr?In:void 0},Nr),{},{value:qn?wn:"",maxLength:xr,readOnly:!qn,unselectable:qn?null:"on",style:(0,Ee.Z)((0,Ee.Z)({},Ki),{},{opacity:qn?null:0}),onKeyDown:function(pa){pr(pa),$i&&$i(pa)},onMouseDown:function(pa){Pr(pa),_i&&_i(pa)},onChange:function(pa){dr(pa),Aa&&Aa(pa)},onCompositionStart:function(pa){Hr(pa),la&&la(pa)},onCompositionEnd:function(pa){ni(pa),Ai&&Ai(pa)},onPaste:Vn})),Gr},Cr=Le.forwardRef(fi);Cr.displayName="Input";var yi=Cr;function Gi(Ue){return Array.isArray(Ue)?Ue:Ue!==void 0?[Ue]:[]}var oi=typeof window!="undefined"&&window.document&&window.document.documentElement,ea=oi;function Di(Ue){return Ue!=null}function Ot(Ue){return!Ue&&Ue!==0}function Nt(Ue){return["string","number"].includes((0,me.Z)(Ue))}function cn(Ue){var tt=void 0;return Ue&&(Nt(Ue.title)?tt=Ue.title.toString():Nt(Ue.label)&&(tt=Ue.label.toString())),tt}function bn(Ue,tt){ea?Le.useLayoutEffect(Ue,tt):Le.useEffect(Ue,tt)}function rr(Ue){var tt;return(tt=Ue.key)!==null&&tt!==void 0?tt:Ue.value}var Fn=function(tt){tt.preventDefault(),tt.stopPropagation()},ir=function(tt){var tn=tt.id,Pt=tt.prefixCls,xn=tt.values,Zn=tt.open,Jn=tt.searchValue,yr=tt.autoClearSearchValue,xt=tt.inputRef,ct=tt.placeholder,Lt=tt.disabled,dn=tt.mode,qn=tt.showSearch,In=tt.autoFocus,wn=tt.autoComplete,xr=tt.activeDescendantId,pr=tt.tabIndex,Pr=tt.removeIcon,dr=tt.maxTagCount,Vn=tt.maxTagTextLength,Hr=tt.maxTagPlaceholder,ni=Hr===void 0?function(na){return"+ ".concat(na.length," ...")}:Hr,Wr=tt.tagRender,Nr=tt.onToggleOpen,Gr=tt.onRemove,Li=tt.onInputChange,xi=tt.onInputPaste,Ei=tt.onInputKeyDown,$i=tt.onInputMouseDown,Aa=tt.onInputCompositionStart,_i=tt.onInputCompositionEnd,la=Le.useRef(null),Ai=(0,Le.useState)(0),Ki=(0,ke.Z)(Ai,2),ua=Ki[0],pa=Ki[1],ao=(0,Le.useState)(!1),no=(0,ke.Z)(ao,2),ro=no[0],Ha=no[1],wa="".concat(Pt,"-selection"),Wi=Zn||dn==="multiple"&&yr===!1||dn==="tags"?Jn:"",co=dn==="tags"||dn==="multiple"&&yr===!1||qn&&(Zn||ro);bn(function(){pa(la.current.scrollWidth)},[Wi]);function aa(na,oo,fo,to,ho){return Le.createElement("span",{className:Oe()("".concat(wa,"-item"),(0,ve.Z)({},"".concat(wa,"-item-disabled"),fo)),title:cn(na)},Le.createElement("span",{className:"".concat(wa,"-item-content")},oo),to&&Le.createElement(it,{className:"".concat(wa,"-item-remove"),onMouseDown:Fn,onClick:ho,customizeIcon:Pr},"\xD7"))}function Bi(na,oo,fo,to,ho){var bo=function(io){Fn(io),Nr(!Zn)};return Le.createElement("span",{onMouseDown:bo},Wr({label:oo,value:na,disabled:fo,closable:to,onClose:ho}))}function ma(na){var oo=na.disabled,fo=na.label,to=na.value,ho=!Lt&&!oo,bo=fo;if(typeof Vn=="number"&&(typeof fo=="string"||typeof fo=="number")){var Lo=String(bo);Lo.length>Vn&&(bo="".concat(Lo.slice(0,Vn),"..."))}var io=function(Ko){Ko&&Ko.stopPropagation(),Gr(na)};return typeof Wr=="function"?Bi(to,bo,oo,ho,io):aa(na,bo,oo,ho,io)}function Ja(na){var oo=typeof ni=="function"?ni(na):ni;return aa({title:oo},oo,!1)}var Ba=Le.createElement("div",{className:"".concat(wa,"-search"),style:{width:ua},onFocus:function(){Ha(!0)},onBlur:function(){Ha(!1)}},Le.createElement(yi,{ref:xt,open:Zn,prefixCls:Pt,id:tn,inputElement:null,disabled:Lt,autoFocus:In,autoComplete:wn,editable:co,activeDescendantId:xr,value:Wi,onKeyDown:Ei,onMouseDown:$i,onChange:Li,onPaste:xi,onCompositionStart:Aa,onCompositionEnd:_i,tabIndex:pr,attrs:yn(tt,!0)}),Le.createElement("span",{ref:la,className:"".concat(wa,"-search-mirror"),"aria-hidden":!0},Wi,"\xA0")),Va=Le.createElement(ri,{prefixCls:"".concat(wa,"-overflow"),data:xn,renderItem:ma,renderRest:Ja,suffix:Ba,itemKey:rr,maxCount:dr});return Le.createElement(Le.Fragment,null,Va,!xn.length&&!Wi&&Le.createElement("span",{className:"".concat(wa,"-placeholder")},ct))},Xn=ir,pt=function(tt){var tn=tt.inputElement,Pt=tt.prefixCls,xn=tt.id,Zn=tt.inputRef,Jn=tt.disabled,yr=tt.autoFocus,xt=tt.autoComplete,ct=tt.activeDescendantId,Lt=tt.mode,dn=tt.open,qn=tt.values,In=tt.placeholder,wn=tt.tabIndex,xr=tt.showSearch,pr=tt.searchValue,Pr=tt.activeValue,dr=tt.maxLength,Vn=tt.onInputKeyDown,Hr=tt.onInputMouseDown,ni=tt.onInputChange,Wr=tt.onInputPaste,Nr=tt.onInputCompositionStart,Gr=tt.onInputCompositionEnd,Li=tt.title,xi=Le.useState(!1),Ei=(0,ke.Z)(xi,2),$i=Ei[0],Aa=Ei[1],_i=Lt==="combobox",la=_i||xr,Ai=qn[0],Ki=pr||"";_i&&Pr&&!$i&&(Ki=Pr),Le.useEffect(function(){_i&&Aa(!1)},[_i,Pr]);var ua=Lt!=="combobox"&&!dn&&!xr?!1:!!Ki,pa=Li===void 0?cn(Ai):Li,ao=function(){if(Ai)return null;var ro=ua?{visibility:"hidden"}:void 0;return Le.createElement("span",{className:"".concat(Pt,"-selection-placeholder"),style:ro},In)};return Le.createElement(Le.Fragment,null,Le.createElement("span",{className:"".concat(Pt,"-selection-search")},Le.createElement(yi,{ref:Zn,prefixCls:Pt,id:xn,open:dn,inputElement:tn,disabled:Jn,autoFocus:yr,autoComplete:xt,editable:la,activeDescendantId:ct,value:Ki,onKeyDown:Vn,onMouseDown:Hr,onChange:function(ro){Aa(!0),ni(ro)},onPaste:Wr,onCompositionStart:Nr,onCompositionEnd:Gr,tabIndex:wn,attrs:yn(tt,!0),maxLength:_i?dr:void 0})),!_i&&Ai?Le.createElement("span",{className:"".concat(Pt,"-selection-item"),title:pa,style:ua?{visibility:"hidden"}:void 0},Ai.label):null,ao())},At=pt;function Mt(Ue){return![We.ESC,We.SHIFT,We.BACKSPACE,We.TAB,We.WIN_KEY,We.ALT,We.META,We.WIN_KEY_RIGHT,We.CTRL,We.SEMICOLON,We.EQUALS,We.CAPS_LOCK,We.CONTEXT_MENU,We.F1,We.F2,We.F3,We.F4,We.F5,We.F6,We.F7,We.F8,We.F9,We.F10,We.F11,We.F12].includes(Ue)}var fn=function(tt,tn){var Pt=(0,Le.useRef)(null),xn=(0,Le.useRef)(!1),Zn=tt.prefixCls,Jn=tt.open,yr=tt.mode,xt=tt.showSearch,ct=tt.tokenWithEnter,Lt=tt.autoClearSearchValue,dn=tt.onSearch,qn=tt.onSearchSubmit,In=tt.onToggleOpen,wn=tt.onInputKeyDown,xr=tt.domRef;Le.useImperativeHandle(tn,function(){return{focus:function(){Pt.current.focus()},blur:function(){Pt.current.blur()}}});var pr=rt(0),Pr=(0,ke.Z)(pr,2),dr=Pr[0],Vn=Pr[1],Hr=function(Ki){var ua=Ki.which;(ua===We.UP||ua===We.DOWN)&&Ki.preventDefault(),wn&&wn(Ki),ua===We.ENTER&&yr==="tags"&&!xn.current&&!Jn&&(qn==null||qn(Ki.target.value)),Mt(ua)&&In(!0)},ni=function(){Vn(!0)},Wr=(0,Le.useRef)(null),Nr=function(Ki){dn(Ki,!0,xn.current)!==!1&&In(!0)},Gr=function(){xn.current=!0},Li=function(Ki){xn.current=!1,yr!=="combobox"&&Nr(Ki.target.value)},xi=function(Ki){var ua=Ki.target.value;if(ct&&Wr.current&&/[\r\n]/.test(Wr.current)){var pa=Wr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ua=ua.replace(pa,Wr.current)}Wr.current=null,Nr(ua)},Ei=function(Ki){var ua=Ki.clipboardData,pa=ua.getData("text");Wr.current=pa},$i=function(Ki){var ua=Ki.target;if(ua!==Pt.current){var pa=document.body.style.msTouchAction!==void 0;pa?setTimeout(function(){Pt.current.focus()}):Pt.current.focus()}},Aa=function(Ki){var ua=dr();Ki.target!==Pt.current&&!ua&&yr!=="combobox"&&Ki.preventDefault(),(yr!=="combobox"&&(!xt||!ua)||!Jn)&&(Jn&&Lt!==!1&&dn("",!0,!1),In())},_i={inputRef:Pt,onInputKeyDown:Hr,onInputMouseDown:ni,onInputChange:xi,onInputPaste:Ei,onInputCompositionStart:Gr,onInputCompositionEnd:Li},la=yr==="multiple"||yr==="tags"?Le.createElement(Xn,(0,Re.Z)({},tt,_i)):Le.createElement(At,(0,Re.Z)({},tt,_i));return Le.createElement("div",{ref:xr,className:"".concat(Zn,"-selector"),onClick:$i,onMouseDown:Aa},la)},$e=Le.forwardRef(fn);$e.displayName="Selector";var Ft=$e,on=ie(62709),_t=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],En=function(tt){var tn=tt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"}}},Sn=function(tt,tn){var Pt=tt.prefixCls,xn=tt.disabled,Zn=tt.visible,Jn=tt.children,yr=tt.popupElement,xt=tt.animation,ct=tt.transitionName,Lt=tt.dropdownStyle,dn=tt.dropdownClassName,qn=tt.direction,In=qn===void 0?"ltr":qn,wn=tt.placement,xr=tt.builtinPlacements,pr=tt.dropdownMatchSelectWidth,Pr=tt.dropdownRender,dr=tt.dropdownAlign,Vn=tt.getPopupContainer,Hr=tt.empty,ni=tt.getTriggerDOMNode,Wr=tt.onPopupVisibleChange,Nr=tt.onPopupMouseEnter,Gr=(0,ye.Z)(tt,_t),Li="".concat(Pt,"-dropdown"),xi=yr;Pr&&(xi=Pr(yr));var Ei=Le.useMemo(function(){return xr||En(pr)},[xr,pr]),$i=xt?"".concat(Li,"-").concat(xt):ct,Aa=typeof pr=="number",_i=Le.useMemo(function(){return Aa?null:pr===!1?"minWidth":"width"},[pr,Aa]),la=Lt;Aa&&(la=(0,Ee.Z)((0,Ee.Z)({},la),{},{width:pr}));var Ai=Le.useRef(null);return Le.useImperativeHandle(tn,function(){return{getPopupElement:function(){return Ai.current}}}),Le.createElement(on.Z,(0,Re.Z)({},Gr,{showAction:Wr?["click"]:[],hideAction:Wr?["click"]:[],popupPlacement:wn||(In==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ei,prefixCls:Li,popupTransitionName:$i,popup:Le.createElement("div",{ref:Ai,onMouseEnter:Nr},xi),stretch:_i,popupAlign:dr,popupVisible:Zn,getPopupContainer:Vn,popupClassName:Oe()(dn,(0,ve.Z)({},"".concat(Li,"-empty"),Hr)),popupStyle:la,getTriggerDOMNode:ni,onPopupVisibleChange:Wr}),Jn)},Bn=Le.forwardRef(Sn);Bn.displayName="SelectTrigger";var Qr=Bn,Lr=ie(84506);function Sr(Ue,tt){var tn=Ue.key,Pt;return"value"in Ue&&(Pt=Ue.value),tn!=null?tn:Pt!==void 0?Pt:"rc-index-key-".concat(tt)}function jr(Ue,tt){var tn=Ue||{},Pt=tn.label,xn=tn.value,Zn=tn.options,Jn=tn.groupLabel,yr=Pt||(tt?"children":"label");return{label:yr,value:xn||"value",options:Zn||"options",groupLabel:Jn||yr}}function zr(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tn=tt.fieldNames,Pt=tt.childrenAsData,xn=[],Zn=jr(tn,!1),Jn=Zn.label,yr=Zn.value,xt=Zn.options,ct=Zn.groupLabel;function Lt(dn,qn){dn.forEach(function(In){if(qn||!(xt in In)){var wn=In[yr];xn.push({key:Sr(In,xn.length),groupOption:qn,data:In,label:In[Jn],value:wn})}else{var xr=In[ct];xr===void 0&&Pt&&(xr=In.label),xn.push({key:Sr(In,xn.length),group:!0,data:In,label:xr}),Lt(In[xt],!0)}})}return Lt(Ue,!1),xn}function Rt(Ue){var tt=(0,Ee.Z)({},Ue);return"props"in tt||Object.defineProperty(tt,"props",{get:function(){return Ge(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),tt}}),tt}function kt(Ue,tt){if(!tt||!tt.length)return null;var tn=!1;function Pt(Zn,Jn){var yr=(0,Lr.Z)(Jn),xt=yr[0],ct=yr.slice(1);if(!xt)return[Zn];var Lt=Zn.split(xt);return tn=tn||Lt.length>1,Lt.reduce(function(dn,qn){return[].concat((0,Ze.Z)(dn),(0,Ze.Z)(Pt(qn,ct)))},[]).filter(function(dn){return dn})}var xn=Pt(Ue,tt);return tn?xn:null}var jt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],zn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function lr(Ue){return Ue==="tags"||Ue==="multiple"}var Hn=Le.forwardRef(function(Ue,tt){var tn,Pt,xn=Ue.id,Zn=Ue.prefixCls,Jn=Ue.className,yr=Ue.showSearch,xt=Ue.tagRender,ct=Ue.direction,Lt=Ue.omitDomProps,dn=Ue.displayValues,qn=Ue.onDisplayValuesChange,In=Ue.emptyOptions,wn=Ue.notFoundContent,xr=wn===void 0?"Not Found":wn,pr=Ue.onClear,Pr=Ue.mode,dr=Ue.disabled,Vn=Ue.loading,Hr=Ue.getInputElement,ni=Ue.getRawInputElement,Wr=Ue.open,Nr=Ue.defaultOpen,Gr=Ue.onDropdownVisibleChange,Li=Ue.activeValue,xi=Ue.onActiveValueChange,Ei=Ue.activeDescendantId,$i=Ue.searchValue,Aa=Ue.autoClearSearchValue,_i=Ue.onSearch,la=Ue.onSearchSplit,Ai=Ue.tokenSeparators,Ki=Ue.allowClear,ua=Ue.suffixIcon,pa=Ue.clearIcon,ao=Ue.OptionList,no=Ue.animation,ro=Ue.transitionName,Ha=Ue.dropdownStyle,wa=Ue.dropdownClassName,Wi=Ue.dropdownMatchSelectWidth,co=Ue.dropdownRender,aa=Ue.dropdownAlign,Bi=Ue.placement,ma=Ue.builtinPlacements,Ja=Ue.getPopupContainer,Ba=Ue.showAction,Va=Ba===void 0?[]:Ba,na=Ue.onFocus,oo=Ue.onBlur,fo=Ue.onKeyUp,to=Ue.onKeyDown,ho=Ue.onMouseDown,bo=(0,ye.Z)(Ue,jt),Lo=lr(Pr),io=(yr!==void 0?yr:Lo)||Pr==="combobox",lo=(0,Ee.Z)({},bo);zn.forEach(function(Ma){delete lo[Ma]}),Lt==null||Lt.forEach(function(Ma){delete lo[Ma]});var Ko=Le.useState(!1),Wo=(0,ke.Z)(Ko,2),Jo=Wo[0],Fo=Wo[1];Le.useEffect(function(){Fo(qe())},[]);var po=Le.useRef(null),ga=Le.useRef(null),Sa=Le.useRef(null),qa=Le.useRef(null),mo=Le.useRef(null),Io=Tt(),Go=(0,ke.Z)(Io,3),qo=Go[0],ls=Go[1],Ss=Go[2];Le.useImperativeHandle(tt,function(){var Ma,ba;return{focus:(Ma=qa.current)===null||Ma===void 0?void 0:Ma.focus,blur:(ba=qa.current)===null||ba===void 0?void 0:ba.blur,scrollTo:function(Ao){var Ta;return(Ta=mo.current)===null||Ta===void 0?void 0:Ta.scrollTo(Ao)}}});var $o=Le.useMemo(function(){var Ma;if(Pr!=="combobox")return $i;var ba=(Ma=dn[0])===null||Ma===void 0?void 0:Ma.value;return typeof ba=="string"||typeof ba=="number"?String(ba):""},[$i,Pr,dn]),Cs=Pr==="combobox"&&typeof Hr=="function"&&Hr()||null,ja=typeof ni=="function"&&ni(),be=pn(ga,ja==null||(tn=ja.props)===null||tn===void 0?void 0:tn.ref),Be=Le.useState(!1),Pe=(0,ke.Z)(Be,2),gt=Pe[0],vt=Pe[1];ot(function(){vt(!0)},[]);var vn=ut(!1,{defaultValue:Nr,value:Wr}),ln=(0,ke.Z)(vn,2),Un=ln[0],Cn=ln[1],hn=gt?Un:!1,nr=!xr&&In;(dr||nr&&hn&&Pr==="combobox")&&(hn=!1);var Dn=nr?!1:hn,Pn=Le.useCallback(function(Ma){var ba=Ma!==void 0?Ma:!hn;dr||(Cn(ba),hn!==ba&&(Gr==null||Gr(ba)))},[dr,hn,Cn,Gr]),vr=Le.useMemo(function(){return(Ai||[]).some(function(Ma){return[` `,`\r `].includes(Ma)})},[Ai]),br=function(ba,Bo,Ao){var Ta=!0,$a=ba;xi==null||xi(null);var zi=Ao?null:kt(ba,Ai);return Pr!=="combobox"&&zi&&($a="",la==null||la(zi),Pn(!1),Ta=!1),_i&&$o!==$a&&_i($a,{source:Bo?"typing":"effect"}),Ta},Rn=function(ba){!ba||!ba.trim()||_i(ba,{source:"submit"})};Le.useEffect(function(){!hn&&!Lo&&Pr!=="combobox"&&br("",!1,!1)},[hn]),Le.useEffect(function(){Un&&dr&&Cn(!1),dr&&ls(!1)},[dr]);var fr=rt(),Rr=(0,ke.Z)(fr,2),Ur=Rr[0],ii=Rr[1],bi=function(ba){var Bo=Ur(),Ao=ba.which;if(Ao===We.ENTER&&(Pr!=="combobox"&&ba.preventDefault(),hn||Pn(!0)),ii(!!$o),Ao===We.BACKSPACE&&!Bo&&Lo&&!$o&&dn.length){for(var Ta=(0,Ze.Z)(dn),$a=null,zi=Ta.length-1;zi>=0;zi-=1){var Qa=Ta[zi];if(!Qa.disabled){Ta.splice(zi,1),$a=Qa;break}}$a&&qn(Ta,{type:"remove",values:[$a]})}for(var xo=arguments.length,Yo=new Array(xo>1?xo-1:0),Ho=1;Ho1?Bo-1:0),Ta=1;Ta1?zi-1:0),xo=1;xo1&&arguments[1]!==void 0?arguments[1]:{},tn=[];return Le.Children.forEach(Ue,function(Pt){Pt==null&&!tt.keepEmpty||(Array.isArray(Pt)?tn=tn.concat(ra(Pt)):(0,St.isFragment)(Pt)&&Pt.props?tn=tn.concat(ra(Pt.props.children,tt)):tn.push(Pt))}),tn}var Qi=["children","value"],Ca=["children"];function Xi(Ue){var tt=Ue,tn=tt.key,Pt=tt.props,xn=Pt.children,Zn=Pt.value,Jn=(0,ye.Z)(Pt,Qi);return(0,Ee.Z)({key:tn,value:Zn!==void 0?Zn:tn,children:xn},Jn)}function Ri(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ra(Ue).map(function(tn,Pt){if(!Le.isValidElement(tn)||!tn.type)return null;var xn=tn,Zn=xn.type.isSelectOptGroup,Jn=xn.key,yr=xn.props,xt=yr.children,ct=(0,ye.Z)(yr,Ca);return tt||!Zn?Xi(tn):(0,Ee.Z)((0,Ee.Z)({key:"__RC_SELECT_GRP__".concat(Jn===null?Pt:Jn,"__"),label:Jn},ct),{},{options:Ri(xt)})}).filter(function(tn){return tn})}function sa(Ue,tt,tn,Pt,xn){return Le.useMemo(function(){var Zn=Ue,Jn=!Ue;Jn&&(Zn=Ri(tt));var yr=new Map,xt=new Map,ct=function(qn,In,wn){wn&&typeof wn=="string"&&qn.set(In[wn],In)};function Lt(dn){for(var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,In=0;In1&&arguments[1]!==void 0?arguments[1]:1,Ja=xi.length,Ba=0;Ba1&&arguments[1]!==void 0?arguments[1]:!1;ua(Bi);var Ja={source:ma?"keyboard":"mouse"},Ba=xi[Bi];if(!Ba){xr(null,-1,Ja);return}xr(Ba.value,Bi,Ja)};(0,Le.useEffect)(function(){pa(pr!==!1?_i(0):-1)},[xi.length,ct]);var ao=Le.useCallback(function(aa){return Vn.has(aa)&&xt!=="combobox"},[xt,(0,Ze.Z)(Vn).toString(),Vn.size]);(0,Le.useEffect)(function(){var aa=setTimeout(function(){if(!yr&&Jn&&Vn.size===1){var ma=Array.from(Vn)[0],Ja=xi.findIndex(function(Ba){var Va=Ba.data;return Va.value===ma});Ja!==-1&&(pa(Ja),Aa(Ja))}});if(Jn){var Bi;(Bi=Ei.current)===null||Bi===void 0||Bi.scrollTo(void 0)}return function(){return clearTimeout(aa)}},[Jn,ct,wn.length]);var no=function(Bi){Bi!==void 0&&Pr(Bi,{selected:!Vn.has(Bi)}),yr||Lt(!1)};if(Le.useImperativeHandle(tn,function(){return{onKeyDown:function(Bi){var ma=Bi.which,Ja=Bi.ctrlKey;switch(ma){case We.N:case We.P:case We.UP:case We.DOWN:{var Ba=0;if(ma===We.UP?Ba=-1:ma===We.DOWN?Ba=1:Mn()&&Ja&&(ma===We.N?Ba=1:ma===We.P&&(Ba=-1)),Ba!==0){var Va=_i(Ki+Ba,Ba);Aa(Va),pa(Va,!0)}break}case We.ENTER:{var na=xi[Ki];na&&!na.data.disabled?no(na.value):no(void 0),Jn&&Bi.preventDefault();break}case We.ESC:Lt(!1),Jn&&Bi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Bi){Aa(Bi)}}}),xi.length===0)return Le.createElement("div",{role:"listbox",id:"".concat(Zn,"_list"),className:"".concat(Li,"-empty"),onMouseDown:$i},dn);var ro=Object.keys(Hr).map(function(aa){return Hr[aa]}),Ha=function(Bi){return Bi.label};function wa(aa,Bi){var ma=aa.group;return{role:ma?"presentation":"option",id:"".concat(Zn,"_list_").concat(Bi)}}var Wi=function(Bi){var ma=xi[Bi];if(!ma)return null;var Ja=ma.data||{},Ba=Ja.value,Va=ma.group,na=yn(Ja,!0),oo=Ha(ma);return ma?Le.createElement("div",(0,Re.Z)({"aria-label":typeof oo=="string"&&!Va?oo:null},na,{key:Bi},wa(ma,Bi),{"aria-selected":ao(Ba)}),Ba):null},co={role:"listbox",id:"".concat(Zn,"_list")};return Le.createElement(Le.Fragment,null,ni&&Le.createElement("div",(0,Re.Z)({},co,{style:{height:0,width:0,overflow:"hidden"}}),Wi(Ki-1),Wi(Ki),Wi(Ki+1)),Le.createElement(Oi.Z,{itemKey:"key",ref:Ei,data:xi,height:Nr,itemHeight:Gr,fullHeight:!1,onMouseDown:$i,onScroll:qn,virtual:ni,direction:Wr,innerProps:ni?null:co},function(aa,Bi){var ma,Ja=aa.group,Ba=aa.groupOption,Va=aa.data,na=aa.label,oo=aa.value,fo=Va.key;if(Ja){var to,ho=(to=Va.title)!==null&&to!==void 0?to:sr(na)?na.toString():void 0;return Le.createElement("div",{className:Oe()(Li,"".concat(Li,"-group")),title:ho},na!==void 0?na:fo)}var bo=Va.disabled,Lo=Va.title,io=Va.children,lo=Va.style,Ko=Va.className,Wo=(0,ye.Z)(Va,jn),Jo=Oa(Wo,ro),Fo=ao(oo),po="".concat(Li,"-option"),ga=Oe()(Li,po,Ko,(ma={},(0,ve.Z)(ma,"".concat(po,"-grouped"),Ba),(0,ve.Z)(ma,"".concat(po,"-active"),Ki===Bi&&!bo),(0,ve.Z)(ma,"".concat(po,"-disabled"),bo),(0,ve.Z)(ma,"".concat(po,"-selected"),Fo),ma)),Sa=Ha(aa),qa=!dr||typeof dr=="function"||Fo,mo=typeof Sa=="number"?Sa:Sa||oo,Io=sr(mo)?mo.toString():void 0;return Lo!==void 0&&(Io=Lo),Le.createElement("div",(0,Re.Z)({},yn(Jo),ni?{}:wa(aa,Bi),{"aria-selected":Fo,className:ga,title:Io,onMouseMove:function(){Ki===Bi||bo||pa(Bi)},onClick:function(){bo||no(oo)},style:lo}),Le.createElement("div",{className:"".concat(po,"-content")},mo),Le.isValidElement(dr)||Fo,qa&&Le.createElement(it,{className:"".concat(Li,"-option-state"),customizeIcon:dr,customizeIconProps:{isSelected:Fo}},Fo?"\u2713":null))}))},si=Le.forwardRef(Yr);si.displayName="OptionList";var mi=si;function Ci(Ue){var tt=Ue.mode,tn=Ue.options,Pt=Ue.children,xn=Ue.backfill,Zn=Ue.allowClear,Jn=Ue.placeholder,yr=Ue.getInputElement,xt=Ue.showSearch,ct=Ue.onSearch,Lt=Ue.defaultOpen,dn=Ue.autoFocus,qn=Ue.labelInValue,In=Ue.value,wn=Ue.inputValue,xr=Ue.optionLabelProp,pr=isMultiple(tt),Pr=xt!==void 0?xt:pr||tt==="combobox",dr=tn||convertChildrenToData(Pt);if(warning(tt!=="tags"||dr.every(function(Wr){return!Wr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),tt==="tags"||tt==="combobox"){var Vn=dr.some(function(Wr){return Wr.options?Wr.options.some(function(Nr){return typeof("value"in Nr?Nr.value:Nr.key)=="number"}):typeof("value"in Wr?Wr.value:Wr.key)=="number"});warning(!Vn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(tt!=="combobox"||!xr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(tt==="combobox"||!xn,"`backfill` only works with `combobox` mode."),warning(tt==="combobox"||!yr,"`getInputElement` only work with `combobox` mode."),noteOnce(tt!=="combobox"||!yr||!Zn||!Jn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ct&&!Pr&&tt!=="combobox"&&tt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Lt||dn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),In!=null){var Hr=toArray(In);warning(!qn||Hr.every(function(Wr){return _typeof(Wr)==="object"&&("key"in Wr||"value"in Wr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!pr||Array.isArray(In),"`value` should be array when `mode` is `multiple` or `tags`")}if(Pt){var ni=null;toNodeArray(Pt).some(function(Wr){if(!React.isValidElement(Wr)||!Wr.type)return!1;var Nr=Wr,Gr=Nr.type;if(Gr.isSelectOption)return!1;if(Gr.isSelectOptGroup){var Li=toNodeArray(Wr.props.children).every(function(xi){return!React.isValidElement(xi)||!Wr.type||xi.type.isSelectOption?!0:(ni=xi.type,!1)});return!Li}return ni=Gr,!0}),ni&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ni.displayName||ni.name||ni,"`.")),warning(wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function gi(Ue,tt){if(Ue){var tn=function Pt(xn){for(var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jn=0;Jn2&&arguments[2]!==void 0?arguments[2]:{},Pn=Dn.source,vr=Pn===void 0?"keyboard":Pn;be(nr),Jn&&Pt==="combobox"&&hn!==null&&vr==="keyboard"&&Ss(String(hn))},[Jn,Pt]),gt=function(nr,Dn,Pn){var vr=function(){var ui,va=Ko(nr);return[Ki?{label:va==null?void 0:va[wa.label],value:nr,key:(ui=va==null?void 0:va.key)!==null&&ui!==void 0?ui:nr}:nr,Rt(va)]};if(Dn&&In){var br=vr(),Rn=(0,ke.Z)(br,2),fr=Rn[0],Rr=Rn[1];In(fr,Rr)}else if(!Dn&&wn&&Pn!=="clear"){var Ur=vr(),ii=(0,ke.Z)(Ur,2),bi=ii[0],Pi=ii[1];wn(bi,Pi)}},vt=Da(function(hn,nr){var Dn,Pn=no?nr.selected:!0;Pn?Dn=no?[].concat((0,Ze.Z)(lo),[hn]):[hn]:Dn=lo.filter(function(vr){return vr.value!==hn}),Io(Dn),gt(hn,Pn),Pt==="combobox"?Ss(""):(!lr||qn)&&(Bi(""),Ss(""))}),vn=function(nr,Dn){Io(nr);var Pn=Dn.type,vr=Dn.values;(Pn==="remove"||Pn==="clear")&&vr.forEach(function(br){gt(br.value,!1,Pn)})},ln=function(nr,Dn){if(Bi(nr),Ss(null),Dn.source==="submit"){var Pn=(nr||"").trim();if(Pn){var vr=Array.from(new Set([].concat((0,Ze.Z)(Jo),[Pn])));Io(vr),gt(Pn,!0),Bi("")}return}Dn.source!=="blur"&&(Pt==="combobox"&&Io(nr),Lt==null||Lt(nr))},Un=function(nr){var Dn=nr;Pt!=="tags"&&(Dn=nr.map(function(vr){var br=Ba.get(vr);return br==null?void 0:br.value}).filter(function(vr){return vr!==void 0}));var Pn=Array.from(new Set([].concat((0,Ze.Z)(Jo),(0,Ze.Z)(Dn))));Io(Pn),Pn.forEach(function(vr){gt(vr,!0)})},Cn=Le.useMemo(function(){var hn=Li!==!1&&pr!==!1;return(0,Ee.Z)((0,Ee.Z)({},ma),{},{flattenOptions:mo,onActiveValue:Pe,defaultActiveFirstOption:Be,onSelect:vt,menuItemSelectedIcon:Gr,rawValues:Jo,fieldNames:wa,virtual:hn,direction:xi,listHeight:$i,listItemHeight:_i,childrenAsData:ro})},[ma,mo,Pe,Be,vt,Gr,Jo,wa,Li,pr,$i,_i,ro]);return Le.createElement(Zt.Provider,{value:Cn},Le.createElement(_n,(0,Re.Z)({},pa,{id:ao,prefixCls:Zn,ref:tt,omitDomProps:li,mode:Pt,displayValues:Wo,onDisplayValuesChange:vn,direction:xi,searchValue:aa,onSearch:ln,autoClearSearchValue:qn,onSearchSplit:Un,dropdownMatchSelectWidth:pr,OptionList:mi,emptyOptions:!mo.length,activeValue:ls,activeDescendantId:"".concat(ao,"_list_").concat(ja)})))}),ta=ia;ta.Option=_a,ta.OptGroup=Ji;var ze=ta,Je=ze,et=ie(10366),st=ie(8745),Ct=ie(33603),Bt=ie(9708),Jt=ie(53124),Tn=ie(98866),Nn=ie(88258),Fr=ie(98675),Jr=ie(65223),Ar=ie(4173),er=ie(87244),Wn=ie(13458),ur=ie(78642),mr=ie(46163),Vr=function(Ue,tt){var tn={};for(var Pt in Ue)Object.prototype.hasOwnProperty.call(Ue,Pt)&&tt.indexOf(Pt)<0&&(tn[Pt]=Ue[Pt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,Pt=Object.getOwnPropertySymbols(Ue);xn{var tn,{prefixCls:Pt,bordered:xn=!0,className:Zn,rootClassName:Jn,getPopupContainer:yr,popupClassName:xt,dropdownClassName:ct,listHeight:Lt=256,placement:dn,listItemHeight:qn=24,size:In,disabled:wn,notFoundContent:xr,status:pr,builtinPlacements:Pr,dropdownMatchSelectWidth:dr,popupMatchSelectWidth:Vn,direction:Hr,style:ni,allowClear:Wr}=Ue,Nr=Vr(Ue,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Gr,getPrefixCls:Li,renderEmpty:xi,direction:Ei,virtual:$i,popupMatchSelectWidth:Aa,popupOverflow:_i,select:la}=Le.useContext(Jt.E_),Ai=Li("select",Pt),Ki=Li(),ua=Hr!=null?Hr:Ei,{compactSize:pa,compactItemClassnames:ao}=(0,Ar.ri)(Ai,ua),[no,ro]=(0,er.Z)(Ai),Ha=Le.useMemo(()=>{const{mode:po}=Nr;if(po!=="combobox")return po===Dr?"combobox":po},[Nr.mode]),wa=Ha==="multiple"||Ha==="tags",Wi=(0,ur.Z)(Nr.suffixIcon,Nr.showArrow),co=(tn=Vn!=null?Vn:dr)!==null&&tn!==void 0?tn:Aa,{status:aa,hasFeedback:Bi,isFormItemInput:ma,feedbackIcon:Ja}=Le.useContext(Jr.aM),Ba=(0,Bt.F)(aa,pr);let Va;xr!==void 0?Va=xr:Ha==="combobox"?Va=null:Va=(xi==null?void 0:xi("Select"))||Le.createElement(Nn.Z,{componentName:"Select"});const{suffixIcon:na,itemIcon:oo,removeIcon:fo,clearIcon:to}=(0,mr.Z)(Object.assign(Object.assign({},Nr),{multiple:wa,hasFeedback:Bi,feedbackIcon:Ja,showSuffixIcon:Wi,prefixCls:Ai,showArrow:Nr.showArrow,componentName:"Select"})),ho=Wr===!0?{clearIcon:to}:Wr,bo=(0,et.Z)(Nr,["suffixIcon","itemIcon"]),Lo=Oe()(xt||ct,{[`${Ai}-dropdown-${ua}`]:ua==="rtl"},Jn,ro),io=(0,Fr.Z)(po=>{var ga;return(ga=In!=null?In:pa)!==null&&ga!==void 0?ga:po}),lo=Le.useContext(Tn.Z),Ko=wn!=null?wn:lo,Wo=Oe()({[`${Ai}-lg`]:io==="large",[`${Ai}-sm`]:io==="small",[`${Ai}-rtl`]:ua==="rtl",[`${Ai}-borderless`]:!xn,[`${Ai}-in-form-item`]:ma},(0,Bt.Z)(Ai,Ba,Bi),ao,la==null?void 0:la.className,Zn,Jn,ro),Jo=Le.useMemo(()=>dn!==void 0?dn:ua==="rtl"?"bottomRight":"bottomLeft",[dn,ua]),Fo=(0,Wn.Z)(Pr,_i);return no(Le.createElement(Je,Object.assign({ref:tt,virtual:$i,showSearch:la==null?void 0:la.showSearch},bo,{style:Object.assign(Object.assign({},la==null?void 0:la.style),ni),dropdownMatchSelectWidth:co,builtinPlacements:Fo,transitionName:(0,Ct.m)(Ki,"slide-up",Nr.transitionName),listHeight:Lt,listItemHeight:qn,mode:Ha,prefixCls:Ai,placement:Jo,direction:ua,suffixIcon:na,menuItemSelectedIcon:oo,removeIcon:fo,allowClear:ho,notFoundContent:Va,className:Wo,getPopupContainer:yr||Gr,dropdownClassName:Lo,disabled:Ko})))},Tr=Le.forwardRef(Mr),Or=(0,st.Z)(Tr);Tr.SECRET_COMBOBOX_MODE_DO_NOT_USE=Dr,Tr.Option=_a,Tr.OptGroup=Ji,Tr._InternalPanelDoNotUseOrYouWillBeFired=Or;var qr=Tr},87244:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return we}});var ae=ie(14747),Oe=ie(80110),Re=ie(45503),Ze=ie(67968),ve=ie(67771),Ee=ie(33297);const ke=he=>{const{optionHeight:je,optionFontSize:Ve,optionLineHeight:Ge,optionPadding:qe}=he;return{position:"relative",display:"block",minHeight:je,padding:qe,color:he.colorText,fontWeight:"normal",fontSize:Ve,lineHeight:Ge,boxSizing:"border-box"}};var me=he=>{const{antCls:je,componentCls:Ve}=he,Ge=`${Ve}-item`,qe=`&${je}-slide-up-enter${je}-slide-up-enter-active`,Ye=`&${je}-slide-up-appear${je}-slide-up-appear-active`,We=`&${je}-slide-up-leave${je}-slide-up-leave-active`,St=`${Ve}-dropdown-placement-`;return[{[`${Ve}-dropdown`]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{position:"absolute",top:-9999,zIndex:he.zIndexPopup,boxSizing:"border-box",padding:he.paddingXXS,overflow:"hidden",fontSize:he.fontSize,fontVariant:"initial",backgroundColor:he.colorBgElevated,borderRadius:he.borderRadiusLG,outline:"none",boxShadow:he.boxShadowSecondary,[` ${qe}${St}bottomLeft, ${Ye}${St}bottomLeft `]:{animationName:ve.fJ},[` ${qe}${St}topLeft, ${Ye}${St}topLeft, ${qe}${St}topRight, ${Ye}${St}topRight `]:{animationName:ve.Qt},[`${We}${St}bottomLeft`]:{animationName:ve.Uw},[` ${We}${St}topLeft, ${We}${St}topRight `]:{animationName:ve.ly},"&-hidden":{display:"none"},[`${Ge}`]:Object.assign(Object.assign({},ke(he)),{cursor:"pointer",transition:`background ${he.motionDurationSlow} ease`,borderRadius:he.borderRadiusSM,"&-group":{color:he.colorTextDescription,fontSize:he.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ae.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ge}-option-disabled)`]:{backgroundColor:he.optionActiveBg},[`&-selected:not(${Ge}-option-disabled)`]:{color:he.optionSelectedColor,fontWeight:he.optionSelectedFontWeight,backgroundColor:he.optionSelectedBg,[`${Ge}-option-state`]:{color:he.colorPrimary}},"&-disabled":{[`&${Ge}-option-selected`]:{backgroundColor:he.colorBgContainerDisabled},color:he.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:he.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,ve.oN)(he,"slide-up"),(0,ve.oN)(he,"slide-down"),(0,Ee.Fm)(he,"move-up"),(0,Ee.Fm)(he,"move-down")]};const Le=2,mt=he=>{let{controlHeightSM:je,controlHeight:Ve,lineWidth:Ge}=he;const qe=(Ve-je)/2-Ge,Ye=Math.ceil(qe/2);return[qe,Ye]};function Ie(he,je){const{componentCls:Ve,iconCls:Ge}=he,qe=`${Ve}-selection-overflow`,Ye=he.multipleSelectItemHeight,[We]=mt(he),St=je?`${Ve}-${je}`:"";return{[`${Ve}-multiple${St}`]:{fontSize:he.fontSize,[qe]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Ve}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${We-Le}px ${Le*2}px`,borderRadius:he.borderRadius,[`${Ve}-show-search&`]:{cursor:"text"},[`${Ve}-disabled&`]:{background:he.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Le}px 0`,lineHeight:`${Ye}px`,visibility:"hidden",content:'"\\a0"'}},[` &${Ve}-show-arrow ${Ve}-selector, &${Ve}-allow-clear ${Ve}-selector `]:{paddingInlineEnd:he.fontSizeIcon+he.controlPaddingHorizontal},[`${Ve}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ye,marginTop:Le,marginBottom:Le,lineHeight:`${Ye-he.lineWidth*2}px`,background:he.multipleItemBg,border:`${he.lineWidth}px ${he.lineType} ${he.multipleItemBorderColor}`,borderRadius:he.borderRadiusSM,cursor:"default",transition:`font-size ${he.motionDurationSlow}, line-height ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Le*2,paddingInlineStart:he.paddingXS,paddingInlineEnd:he.paddingXS/2,[`${Ve}-disabled&`]:{color:he.multipleItemColorDisabled,borderColor:he.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:he.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ae.Ro)()),{display:"inline-flex",alignItems:"center",color:he.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ge}`]:{verticalAlign:"-0.2em"},"&:hover":{color:he.colorIconHover}})},[`${qe}-item + ${qe}-item`]:{[`${Ve}-selection-search`]:{marginInlineStart:0}},[`${Ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:he.inputPaddingHorizontalBase-We,"\n &-input,\n &-mirror\n ":{height:Ye,fontFamily:he.fontFamily,lineHeight:`${Ye}px`,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"}},[`${Ve}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:he.inputPaddingHorizontalBase,insetInlineEnd:he.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${he.motionDurationSlow}`}}}}var ot=he=>{const{componentCls:je}=he,Ve=(0,Re.TS)(he,{controlHeight:he.controlHeightSM,multipleSelectItemHeight:he.controlHeightXS,borderRadius:he.borderRadiusSM,borderRadiusSM:he.borderRadiusXS}),Ge=(0,Re.TS)(he,{fontSize:he.fontSizeLG,controlHeight:he.controlHeightLG,multipleSelectItemHeight:he.multipleItemHeightLG,borderRadius:he.borderRadiusLG,borderRadiusSM:he.borderRadius}),[,qe]=mt(he);return[Ie(he),Ie(Ve,"sm"),{[`${je}-multiple${je}-sm`]:{[`${je}-selection-placeholder`]:{insetInline:he.controlPaddingHorizontalSM-he.lineWidth},[`${je}-selection-search`]:{marginInlineStart:qe}}},Ie(Ge,"lg")]};function dt(he,je){const{componentCls:Ve,inputPaddingHorizontalBase:Ge,borderRadius:qe}=he,Ye=he.controlHeight-he.lineWidth*2,We=Math.ceil(he.fontSize*1.25),St=je?`${Ve}-${je}`:"";return{[`${Ve}-single${St}`]:{fontSize:he.fontSize,[`${Ve}-selector`]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{display:"flex",borderRadius:qe,[`${Ve}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Ge,insetInlineEnd:Ge,bottom:0,"&-input":{width:"100%"}},[` ${Ve}-selection-item, ${Ve}-selection-placeholder `]:{padding:0,lineHeight:`${Ye}px`,transition:`all ${he.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ye}px`}},[`${Ve}-selection-item`]:{position:"relative",userSelect:"none"},[`${Ve}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ve}-selection-item:after`,`${Ve}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${Ve}-show-arrow ${Ve}-selection-item, &${Ve}-show-arrow ${Ve}-selection-placeholder `]:{paddingInlineEnd:We},[`&${Ve}-open ${Ve}-selection-item`]:{color:he.colorTextPlaceholder},[`&:not(${Ve}-customize-input)`]:{[`${Ve}-selector`]:{width:"100%",height:he.controlHeight,padding:`0 ${Ge}px`,[`${Ve}-selection-search-input`]:{height:Ye},"&:after":{lineHeight:`${Ye}px`}}},[`&${Ve}-customize-input`]:{[`${Ve}-selector`]:{"&:after":{display:"none"},[`${Ve}-selection-search`]:{position:"static",width:"100%"},[`${Ve}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ge}px`,"&:after":{display:"none"}}}}}}}function nt(he){const{componentCls:je}=he,Ve=he.controlPaddingHorizontalSM-he.lineWidth;return[dt(he),dt((0,Re.TS)(he,{controlHeight:he.controlHeightSM,borderRadius:he.borderRadiusSM}),"sm"),{[`${je}-single${je}-sm`]:{[`&:not(${je}-customize-input)`]:{[`${je}-selection-search`]:{insetInlineStart:Ve,insetInlineEnd:Ve},[`${je}-selector`]:{padding:`0 ${Ve}px`},[`&${je}-show-arrow ${je}-selection-search`]:{insetInlineEnd:Ve+he.fontSize*1.5},[` &${je}-show-arrow ${je}-selection-item, &${je}-show-arrow ${je}-selection-placeholder `]:{paddingInlineEnd:he.fontSize*1.5}}}},dt((0,Re.TS)(he,{controlHeight:he.singleItemHeightLG,fontSize:he.fontSizeLG,borderRadius:he.borderRadiusLG}),"lg")]}const Me=he=>{const{componentCls:je,selectorBg:Ve}=he;return{position:"relative",backgroundColor:Ve,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,transition:`all ${he.motionDurationMid} ${he.motionEaseInOut}`,input:{cursor:"pointer"},[`${je}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${je}-disabled&`]:{color:he.colorTextDisabled,background:he.colorBgContainerDisabled,cursor:"not-allowed",[`${je}-multiple&`]:{background:he.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},ut=function(he,je){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Ge,borderHoverColor:qe,outlineColor:Ye,antCls:We}=je,St=Ve?{[`${Ge}-selector`]:{borderColor:qe}}:{};return{[he]:{[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${We}-pagination-size-changer)`]:Object.assign(Object.assign({},St),{[`${Ge}-focused& ${Ge}-selector`]:{borderColor:qe,boxShadow:`0 0 0 ${je.controlOutlineWidth}px ${Ye}`,outline:0},[`&:hover ${Ge}-selector`]:{borderColor:qe}})}}},Ut=he=>{const{componentCls:je}=he;return{[`${je}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},at=he=>{const{componentCls:je,inputPaddingHorizontalBase:Ve,iconCls:Ge}=he;return{[je]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${je}-customize-input) ${je}-selector`]:Object.assign(Object.assign({},Me(he)),Ut(he)),[`${je}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ae.vS),[`${je}-selection-placeholder`]:Object.assign(Object.assign({},ae.vS),{flex:1,color:he.colorTextPlaceholder,pointerEvents:"none"}),[`${je}-arrow`]:Object.assign(Object.assign({},(0,ae.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ve,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Ge]:{verticalAlign:"top",transition:`transform ${he.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${je}-suffix)`]:{pointerEvents:"auto"}},[`${je}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${je}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ve,zIndex:1,display:"inline-block",width:he.fontSizeIcon,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:he.clearBg,cursor:"pointer",opacity:0,transition:`color ${he.motionDurationMid} ease, opacity ${he.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:he.colorTextTertiary}},"&:hover":{[`${je}-clear`]:{opacity:1}}}),[`${je}-has-feedback`]:{[`${je}-clear`]:{insetInlineEnd:Ve+he.fontSize+he.paddingXS}}}},ht=he=>{const{componentCls:je}=he;return[{[je]:{[`&-borderless ${je}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${je}-in-form-item`]:{width:"100%"}}},at(he),nt(he),ot(he),me(he),{[`${je}-rtl`]:{direction:"rtl"}},ut(je,(0,Re.TS)(he,{borderHoverColor:he.colorPrimaryHover,outlineColor:he.controlOutline})),ut(`${je}-status-error`,(0,Re.TS)(he,{borderHoverColor:he.colorErrorHover,outlineColor:he.colorErrorOutline}),!0),ut(`${je}-status-warning`,(0,Re.TS)(he,{borderHoverColor:he.colorWarningHover,outlineColor:he.colorWarningOutline}),!0),(0,Oe.c)(he,{borderElCls:`${je}-selector`,focusElCls:`${je}-focused`})]};var we=(0,Ze.Z)("Select",(he,je)=>{let{rootPrefixCls:Ve}=je;const Ge=(0,Re.TS)(he,{rootPrefixCls:Ve,inputPaddingHorizontalBase:he.paddingSM-1,multipleSelectItemHeight:he.multipleItemHeight});return[ht(Ge)]},he=>{const{fontSize:je,lineHeight:Ve,controlHeight:Ge,controlPaddingHorizontal:qe,zIndexPopupBase:Ye,colorText:We,fontWeightStrong:St,controlItemBgActive:lt,controlItemBgHover:zt,colorBgContainer:Dt,colorFillSecondary:pn,controlHeightLG:Kn,controlHeightSM:tr,colorBgContainerDisabled:it,colorTextDisabled:Ce}=he;return{zIndexPopup:Ye+50,optionSelectedColor:We,optionSelectedFontWeight:St,optionSelectedBg:lt,optionActiveBg:zt,optionPadding:`${(Ge-je*Ve)/2}px ${qe}px`,optionFontSize:je,optionLineHeight:Ve,optionHeight:Ge,selectorBg:Dt,clearBg:Dt,singleItemHeightLG:Kn,multipleItemBg:pn,multipleItemBorderColor:"transparent",multipleItemHeight:tr,multipleItemHeightLG:Ge,multipleSelectorBgDisabled:it,multipleItemColorDisabled:Ce,multipleItemBorderColorDisabled:"transparent"}})},13458:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});const ae=Re=>{const ve={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Re==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},ve),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ve),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ve),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ve),{points:["br","tr"],offset:[0,-4]})}};function Oe(Re,Ze){return Re||ae(Ze)}},78642:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ae}});function ae(Oe,Re){return Re!==void 0?Re:Oe!==null}},46163:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(18299),Oe=ie(16646),Re=ie(73475),Ze=ie(42922),ve=ie(3407),Ee=ie(72395),ke=ie(67294);function ye(me){let{suffixIcon:Le,clearIcon:mt,menuItemSelectedIcon:Ie,removeIcon:Xe,loading:ot,multiple:dt,hasFeedback:nt,prefixCls:Me,showSuffixIcon:ut,feedbackIcon:Ut,showArrow:at,componentName:ht}=me;const we=mt!=null?mt:ke.createElement(Oe.Z,null),he=qe=>Le===null&&!nt&&!at?null:ke.createElement(ke.Fragment,null,ut!==!1&&qe,nt&&Ut);let je=null;if(Le!==void 0)je=he(Le);else if(ot)je=he(ke.createElement(ve.Z,{spin:!0}));else{const qe=`${Me}-suffix`;je=Ye=>{let{open:We,showSearch:St}=Ye;return he(We&&St?ke.createElement(Ee.Z,{className:qe}):ke.createElement(Ze.Z,{className:qe}))}}let Ve=null;Ie!==void 0?Ve=Ie:dt?Ve=ke.createElement(ae.Z,null):Ve=null;let Ge=null;return Xe!==void 0?Ge=Xe:Ge=ke.createElement(Re.Z,null),{clearIcon:we,suffixIcon:je,itemIcon:Ve,removeIcon:Ge}}},46303:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ue}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(10366),ke=pe=>{const{prefixCls:de,className:le,style:De,size:Ke,shape:Et}=pe,Yt=Oe()({[`${de}-lg`]:Ke==="large",[`${de}-sm`]:Ke==="small"}),Kt=Oe()({[`${de}-circle`]:Et==="circle",[`${de}-square`]:Et==="square",[`${de}-round`]:Et==="round"}),nn=Re.useMemo(()=>typeof Ke=="number"?{width:Ke,height:Ke,lineHeight:`${Ke}px`}:{},[Ke]);return Re.createElement("span",{className:Oe()(de,Yt,Kt,le),style:Object.assign(Object.assign({},nn),De)})},ye=ie(45930),me=ie(67968),Le=ie(45503);const mt=new ye.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ie=pe=>({height:pe,lineHeight:`${pe}px`}),Xe=pe=>Object.assign({width:pe},Ie(pe)),ot=pe=>({background:pe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:mt,animationDuration:pe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),dt=pe=>Object.assign({width:pe*5,minWidth:pe*5},Ie(pe)),nt=pe=>{const{skeletonAvatarCls:de,gradientFromColor:le,controlHeight:De,controlHeightLG:Ke,controlHeightSM:Et}=pe;return{[`${de}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:le},Xe(De)),[`${de}${de}-circle`]:{borderRadius:"50%"},[`${de}${de}-lg`]:Object.assign({},Xe(Ke)),[`${de}${de}-sm`]:Object.assign({},Xe(Et))}},Me=pe=>{const{controlHeight:de,borderRadiusSM:le,skeletonInputCls:De,controlHeightLG:Ke,controlHeightSM:Et,gradientFromColor:Yt}=pe;return{[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yt,borderRadius:le},dt(de)),[`${De}-lg`]:Object.assign({},dt(Ke)),[`${De}-sm`]:Object.assign({},dt(Et))}},ut=pe=>Object.assign({width:pe},Ie(pe)),Ut=pe=>{const{skeletonImageCls:de,imageSizeBase:le,gradientFromColor:De,borderRadiusSM:Ke}=pe;return{[`${de}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:De,borderRadius:Ke},ut(le*2)),{[`${de}-path`]:{fill:"#bfbfbf"},[`${de}-svg`]:Object.assign(Object.assign({},ut(le)),{maxWidth:le*4,maxHeight:le*4}),[`${de}-svg${de}-svg-circle`]:{borderRadius:"50%"}}),[`${de}${de}-circle`]:{borderRadius:"50%"}}},at=(pe,de,le)=>{const{skeletonButtonCls:De}=pe;return{[`${le}${De}-circle`]:{width:de,minWidth:de,borderRadius:"50%"},[`${le}${De}-round`]:{borderRadius:de}}},ht=pe=>Object.assign({width:pe*2,minWidth:pe*2},Ie(pe)),we=pe=>{const{borderRadiusSM:de,skeletonButtonCls:le,controlHeight:De,controlHeightLG:Ke,controlHeightSM:Et,gradientFromColor:Yt}=pe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yt,borderRadius:de,width:De*2,minWidth:De*2},ht(De))},at(pe,De,le)),{[`${le}-lg`]:Object.assign({},ht(Ke))}),at(pe,Ke,`${le}-lg`)),{[`${le}-sm`]:Object.assign({},ht(Et))}),at(pe,Et,`${le}-sm`))},he=pe=>{const{componentCls:de,skeletonAvatarCls:le,skeletonTitleCls:De,skeletonParagraphCls:Ke,skeletonButtonCls:Et,skeletonInputCls:Yt,skeletonImageCls:Kt,controlHeight:nn,controlHeightLG:$t,controlHeightSM:gr,gradientFromColor:kr,padding:rn,marginSM:gn,borderRadius:hr,titleHeight:Er,blockRadius:yt,paragraphLiHeight:It,controlHeightXS:$n,paragraphMarginTop:Qn}=pe;return{[`${de}`]:{display:"table",width:"100%",[`${de}-header`]:{display:"table-cell",paddingInlineEnd:rn,verticalAlign:"top",[`${le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kr},Xe(nn)),[`${le}-circle`]:{borderRadius:"50%"},[`${le}-lg`]:Object.assign({},Xe($t)),[`${le}-sm`]:Object.assign({},Xe(gr))},[`${de}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${De}`]:{width:"100%",height:Er,background:kr,borderRadius:yt,[`+ ${Ke}`]:{marginBlockStart:gr}},[`${Ke}`]:{padding:0,"> li":{width:"100%",height:It,listStyle:"none",background:kr,borderRadius:yt,"+ li":{marginBlockStart:$n}}},[`${Ke}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${de}-content`]:{[`${De}, ${Ke} > li`]:{borderRadius:hr}}},[`${de}-with-avatar ${de}-content`]:{[`${De}`]:{marginBlockStart:gn,[`+ ${Ke}`]:{marginBlockStart:Qn}}},[`${de}${de}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},we(pe)),nt(pe)),Me(pe)),Ut(pe)),[`${de}${de}-block`]:{width:"100%",[`${Et}`]:{width:"100%"},[`${Yt}`]:{width:"100%"}},[`${de}${de}-active`]:{[` ${De}, ${Ke} > li, ${le}, ${Et}, ${Yt}, ${Kt} `]:Object.assign({},ot(pe))}}};var je=(0,me.Z)("Skeleton",pe=>{const{componentCls:de}=pe,le=(0,Le.TS)(pe,{skeletonAvatarCls:`${de}-avatar`,skeletonTitleCls:`${de}-title`,skeletonParagraphCls:`${de}-paragraph`,skeletonButtonCls:`${de}-button`,skeletonInputCls:`${de}-input`,skeletonImageCls:`${de}-image`,imageSizeBase:pe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${pe.gradientFromColor} 25%, ${pe.gradientToColor} 37%, ${pe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[he(le)]},pe=>{const{colorFillContent:de,colorFill:le}=pe,De=de,Ke=le;return{color:De,colorGradientEnd:Ke,gradientFromColor:De,gradientToColor:Ke,titleHeight:pe.controlHeight/2,blockRadius:pe.borderRadiusSM,paragraphMarginTop:pe.marginLG+pe.marginXXS,paragraphLiHeight:pe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,shape:Et="circle",size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls","className"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-avatar`,shape:Et,size:Yt},kr))))},Ye=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,block:Et=!1,size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke,[`${nn}-block`]:Et},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-button`,size:Yt},kr))))};const We="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var lt=pe=>{const{prefixCls:de,className:le,rootClassName:De,style:Ke,active:Et}=pe,{getPrefixCls:Yt}=Re.useContext(Ze.E_),Kt=Yt("skeleton",de),[nn,$t]=je(Kt),gr=Oe()(Kt,`${Kt}-element`,{[`${Kt}-active`]:Et},le,De,$t);return nn(Re.createElement("div",{className:gr},Re.createElement("div",{className:Oe()(`${Kt}-image`,le),style:Ke},Re.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Kt}-image-svg`},Re.createElement("path",{d:We,className:`${Kt}-image-path`})))))},Dt=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,block:Et,size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke,[`${nn}-block`]:Et},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-input`,size:Yt},kr))))},pn=ie(87462),Kn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},tr=Kn,it=ie(74643),Ce=function(de,le){return Re.createElement(it.Z,(0,pn.Z)({},de,{ref:le,icon:tr}))},wt=Re.forwardRef(Ce),Tt=pe=>{const{prefixCls:de,className:le,rootClassName:De,style:Ke,active:Et,children:Yt}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Et},gr,le,De),rn=Yt!=null?Yt:Re.createElement(wt,null);return $t(Re.createElement("div",{className:kr},Re.createElement("div",{className:Oe()(`${nn}-image`,le),style:Ke},rn)))},rt=ie(74902),Wt=pe=>{const de=Kt=>{const{width:nn,rows:$t=2}=pe;if(Array.isArray(nn))return nn[Kt];if($t-1===Kt)return nn},{prefixCls:le,className:De,style:Ke,rows:Et}=pe,Yt=(0,rt.Z)(Array(Et)).map((Kt,nn)=>Re.createElement("li",{key:nn,style:{width:de(nn)}}));return Re.createElement("ul",{className:Oe()(le,De),style:Ke},Yt)},Xt=pe=>{let{prefixCls:de,className:le,width:De,style:Ke}=pe;return Re.createElement("h3",{className:Oe()(de,le),style:Object.assign({width:De},Ke)})};function Ht(pe){return pe&&typeof pe=="object"?pe:{}}function un(pe,de){return pe&&!de?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function kn(pe,de){return!pe&&de?{width:"38%"}:pe&&de?{width:"50%"}:{}}function yn(pe,de){const le={};return(!pe||!de)&&(le.width="61%"),!pe&&de?le.rows=3:le.rows=2,le}const Fe=pe=>{const{prefixCls:de,loading:le,className:De,rootClassName:Ke,style:Et,children:Yt,avatar:Kt=!1,title:nn=!0,paragraph:$t=!0,active:gr,round:kr}=pe,{getPrefixCls:rn,direction:gn,skeleton:hr}=Re.useContext(Ze.E_),Er=rn("skeleton",de),[yt,It]=je(Er);if(le||!("loading"in pe)){const $n=!!Kt,Qn=!!nn,wr=!!$t;let _r;if($n){const ri=Object.assign(Object.assign({prefixCls:`${Er}-avatar`},un(Qn,wr)),Ht(Kt));_r=Re.createElement("div",{className:`${Er}-header`},Re.createElement(ke,Object.assign({},ri)))}let ei;if(Qn||wr){let ri;if(Qn){const Cr=Object.assign(Object.assign({prefixCls:`${Er}-title`},kn($n,wr)),Ht(nn));ri=Re.createElement(Xt,Object.assign({},Cr))}let fi;if(wr){const Cr=Object.assign(Object.assign({prefixCls:`${Er}-paragraph`},yn($n,Qn)),Ht($t));fi=Re.createElement(Wt,Object.assign({},Cr))}ei=Re.createElement("div",{className:`${Er}-content`},ri,fi)}const Xr=Oe()(Er,{[`${Er}-with-avatar`]:$n,[`${Er}-active`]:gr,[`${Er}-rtl`]:gn==="rtl",[`${Er}-round`]:kr},hr==null?void 0:hr.className,De,Ke,It);return yt(Re.createElement("div",{className:Xr,style:Object.assign(Object.assign({},hr==null?void 0:hr.style),Et)},_r,ei))}return typeof Yt!="undefined"?Yt:null};Fe.Button=Ye,Fe.Avatar=Ge,Fe.Input=Dt,Fe.Image=lt,Fe.Node=Tt;var ce=Fe,ue=ce},55054:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return je}});var ae=ie(67294),Oe=ie(57838),Re=ie(96159),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(53124),ke=ie(46303),me=Ve=>{const{value:Ge,formatter:qe,precision:Ye,decimalSeparator:We,groupSeparator:St="",prefixCls:lt}=Ve;let zt;if(typeof qe=="function")zt=qe(Ge);else{const Dt=String(Ge),pn=Dt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!pn||Dt==="-")zt=Dt;else{const Kn=pn[1];let tr=pn[2]||"0",it=pn[4]||"";tr=tr.replace(/\B(?=(\d{3})+(?!\d))/g,St),typeof Ye=="number"&&(it=it.padEnd(Ye,"0").slice(0,Ye>0?Ye:0)),it&&(it=`${We}${it}`),zt=[ae.createElement("span",{key:"int",className:`${lt}-content-value-int`},Kn,tr),it&&ae.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},it)]}}return ae.createElement("span",{className:`${lt}-content-value`},zt)},Le=ie(14747),mt=ie(67968),Ie=ie(45503);const Xe=Ve=>{const{componentCls:Ge,marginXXS:qe,padding:Ye,colorTextDescription:We,titleFontSize:St,colorTextHeading:lt,contentFontSize:zt,fontFamily:Dt}=Ve;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Le.Wf)(Ve)),{[`${Ge}-title`]:{marginBottom:qe,color:We,fontSize:St},[`${Ge}-skeleton`]:{paddingTop:Ye},[`${Ge}-content`]:{color:lt,fontSize:zt,fontFamily:Dt,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:qe},[`${Ge}-content-suffix`]:{marginInlineStart:qe}}})}};var ot=(0,mt.Z)("Statistic",Ve=>{const Ge=(0,Ie.TS)(Ve,{});return[Xe(Ge)]},Ve=>{const{fontSizeHeading3:Ge,fontSize:qe}=Ve;return{titleFontSize:qe,contentFontSize:Ge}}),nt=Ve=>{const{prefixCls:Ge,className:qe,rootClassName:Ye,style:We,valueStyle:St,value:lt=0,title:zt,valueRender:Dt,prefix:pn,suffix:Kn,loading:tr=!1,onMouseEnter:it,onMouseLeave:Ce,decimalSeparator:wt=".",groupSeparator:An=","}=Ve,{getPrefixCls:Tt,direction:rt,statistic:ft}=ae.useContext(Ee.E_),Wt=Tt("statistic",Ge),[qt,Xt]=ot(Wt),Ht=ae.createElement(me,Object.assign({decimalSeparator:wt,groupSeparator:An,prefixCls:Wt},Ve,{value:lt})),un=ve()(Wt,{[`${Wt}-rtl`]:rt==="rtl"},ft==null?void 0:ft.className,qe,Ye,Xt);return qt(ae.createElement("div",{className:un,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),We),onMouseEnter:it,onMouseLeave:Ce},zt&&ae.createElement("div",{className:`${Wt}-title`},zt),ae.createElement(ke.Z,{paragraph:!1,loading:tr,className:`${Wt}-skeleton`},ae.createElement("div",{style:St,className:`${Wt}-content`},pn&&ae.createElement("span",{className:`${Wt}-content-prefix`},pn),Dt?Dt(Ht):Ht,Kn&&ae.createElement("span",{className:`${Wt}-content-suffix`},Kn)))))};const Me=[["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 ut(Ve,Ge){let qe=Ve;const Ye=/\[[^\]]*]/g,We=(Ge.match(Ye)||[]).map(Dt=>Dt.slice(1,-1)),St=Ge.replace(Ye,"[]"),lt=Me.reduce((Dt,pn)=>{let[Kn,tr]=pn;if(Dt.includes(Kn)){const it=Math.floor(qe/tr);return qe-=it*tr,Dt.replace(new RegExp(`${Kn}+`,"g"),Ce=>{const wt=Ce.length;return it.toString().padStart(wt,"0")})}return Dt},St);let zt=0;return lt.replace(Ye,()=>{const Dt=We[zt];return zt+=1,Dt})}function Ut(Ve,Ge){const{format:qe=""}=Ge,Ye=new Date(Ve).getTime(),We=Date.now(),St=Math.max(Ye-We,0);return ut(St,qe)}const at=1e3/30;function ht(Ve){return new Date(Ve).getTime()}const we=Ve=>{const{value:Ge,format:qe="HH:mm:ss",onChange:Ye,onFinish:We}=Ve,St=(0,Oe.Z)(),lt=ae.useRef(null),zt=()=>{We==null||We(),lt.current&&(clearInterval(lt.current),lt.current=null)},Dt=()=>{const tr=ht(Ge);tr>=Date.now()&&(lt.current=setInterval(()=>{St(),Ye==null||Ye(tr-Date.now()),tr(Dt(),()=>{lt.current&&(clearInterval(lt.current),lt.current=null)}),[Ge]);const pn=(tr,it)=>Ut(tr,Object.assign(Object.assign({},it),{format:qe})),Kn=tr=>(0,Re.Tm)(tr,{title:void 0});return ae.createElement(nt,Object.assign({},Ve,{valueRender:Kn,formatter:pn}))};var he=ae.memo(we);nt.Countdown=he;var je=nt},33507:function(mn,en){"use strict";const ie=ae=>({[ae.componentCls]:{[`${ae.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut}, opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}},[`${ae.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut}, opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}}});en.Z=ie},33297:function(mn,en,ie){"use strict";ie.d(en,{Fm:function(){return Ie}});var ae=ie(45930),Oe=ie(93590);const Re=new ae.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ze=new ae.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ve=new ae.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ee=new ae.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ke=new ae.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ye=new ae.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),me=new ae.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Le=new ae.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),mt={"move-up":{inKeyframes:me,outKeyframes:Le},"move-down":{inKeyframes:Re,outKeyframes:Ze},"move-left":{inKeyframes:ve,outKeyframes:Ee},"move-right":{inKeyframes:ke,outKeyframes:ye}},Ie=(Xe,ot)=>{const{antCls:dt}=Xe,nt=`${dt}-${ot}`,{inKeyframes:Me,outKeyframes:ut}=mt[ot];return[(0,Oe.R)(nt,Me,ut,Xe.motionDurationMid),{[` ${nt}-enter, ${nt}-appear `]:{opacity:0,animationTimingFunction:Xe.motionEaseOutCirc},[`${nt}-leave`]:{animationTimingFunction:Xe.motionEaseInOutCirc}}]}},67771:function(mn,en,ie){"use strict";ie.d(en,{Qt:function(){return ve},Uw:function(){return Ze},fJ:function(){return Re},ly:function(){return Ee},oN:function(){return Ie}});var ae=ie(45930),Oe=ie(93590);const Re=new ae.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ze=new ae.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ve=new ae.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ee=new ae.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ke=new ae.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ye=new ae.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),me=new ae.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Le=new ae.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),mt={"slide-up":{inKeyframes:Re,outKeyframes:Ze},"slide-down":{inKeyframes:ve,outKeyframes:Ee},"slide-left":{inKeyframes:ke,outKeyframes:ye},"slide-right":{inKeyframes:me,outKeyframes:Le}},Ie=(Xe,ot)=>{const{antCls:dt}=Xe,nt=`${dt}-${ot}`,{inKeyframes:Me,outKeyframes:ut}=mt[ot];return[(0,Oe.R)(nt,Me,ut,Xe.motionDurationMid),{[` ${nt}-enter, ${nt}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Xe.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${nt}-leave`]:{animationTimingFunction:Xe.motionEaseInQuint}}]}},47897:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return pe}});var ae=ie(3407),Oe=ie(94184),Re=ie.n(Oe);function Ze(){return Ze=Object.assign?Object.assign.bind():function(de){for(var le=1;lede.length)&&(le=de.length);for(var De=0,Ke=new Array(le);De=0)&&(De[Et]=de[Et]);return De}function nt(de,le){if(de==null)return{};var De=dt(de,le),Ke,Et;if(Object.getOwnPropertySymbols){var Yt=Object.getOwnPropertySymbols(de);for(Et=0;Et=0)&&Object.prototype.propertyIsEnumerable.call(de,Ke)&&(De[Ke]=de[Ke])}return De}var Me=ie(67294);function ut(de){if(Array.isArray(de))return de}function Ut(de,le){var De=de==null?null:typeof Symbol!="undefined"&&de[Symbol.iterator]||de["@@iterator"];if(De!=null){var Ke,Et,Yt,Kt,nn=[],$t=!0,gr=!1;try{if(Yt=(De=De.call(de)).next,le===0){if(Object(De)!==De)return;$t=!1}else for(;!($t=(Ke=Yt.call(De)).done)&&(nn.push(Ke.value),nn.length!==le);$t=!0);}catch(kr){gr=!0,Et=kr}finally{try{if(!$t&&De.return!=null&&(Kt=De.return(),Object(Kt)!==Kt))return}finally{if(gr)throw Et}}return nn}}function at(de,le){(le==null||le>de.length)&&(le=de.length);for(var De=0,Ke=new Array(le);De=Dt.F1&&De<=Dt.F12)return!1;switch(De){case Dt.ALT:case Dt.CAPS_LOCK:case Dt.CONTEXT_MENU:case Dt.CTRL:case Dt.DOWN:case Dt.END:case Dt.ESC:case Dt.HOME:case Dt.INSERT:case Dt.LEFT:case Dt.MAC_FF_META:case Dt.META:case Dt.NUMLOCK:case Dt.NUM_CENTER:case Dt.PAGE_DOWN:case Dt.PAGE_UP:case Dt.PAUSE:case Dt.PRINT_SCREEN:case Dt.RIGHT:case Dt.SHIFT:case Dt.UP:case Dt.WIN_KEY:case Dt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(le){if(le>=Dt.ZERO&&le<=Dt.NINE||le>=Dt.NUM_ZERO&&le<=Dt.NUM_MULTIPLY||le>=Dt.A&&le<=Dt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&le===0)return!0;switch(le){case Dt.SPACE:case Dt.QUESTION_MARK:case Dt.NUM_PLUS:case Dt.NUM_MINUS:case Dt.NUM_PERIOD:case Dt.NUM_DIVISION:case Dt.SEMICOLON:case Dt.DASH:case Dt.EQUALS:case Dt.COMMA:case Dt.PERIOD:case Dt.SLASH:case Dt.APOSTROPHE:case Dt.SINGLE_QUOTE:case Dt.OPEN_SQUARE_BRACKET:case Dt.BACKSLASH:case Dt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pn=Dt,Kn=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],tr=Me.forwardRef(function(de,le){var De,Ke=de.prefixCls,Et=Ke===void 0?"rc-switch":Ke,Yt=de.className,Kt=de.checked,nn=de.defaultChecked,$t=de.disabled,gr=de.loadingIcon,kr=de.checkedChildren,rn=de.unCheckedChildren,gn=de.onClick,hr=de.onChange,Er=de.onKeyDown,yt=nt(de,Kn),It=zt(!1,{value:Kt,defaultValue:nn}),$n=ot(It,2),Qn=$n[0],wr=$n[1];function _r(fi,Cr){var yi=Qn;return $t||(yi=fi,wr(yi),hr==null||hr(yi,Cr)),yi}function ei(fi){fi.which===pn.LEFT?_r(!1,fi):fi.which===pn.RIGHT&&_r(!0,fi),Er==null||Er(fi)}function Xr(fi){var Cr=_r(!Qn,fi);gn==null||gn(Cr,fi)}var ri=Re()(Et,Yt,(De={},ye(De,"".concat(Et,"-checked"),Qn),ye(De,"".concat(Et,"-disabled"),$t),De));return Me.createElement("button",Ze({},yt,{type:"button",role:"switch","aria-checked":Qn,disabled:$t,className:ri,ref:le,onKeyDown:ei,onClick:Xr}),gr,Me.createElement("span",{className:"".concat(Et,"-inner")},Me.createElement("span",{className:"".concat(Et,"-inner-checked")},kr),Me.createElement("span",{className:"".concat(Et,"-inner-unchecked")},rn)))});tr.displayName="Switch";var it=tr,Ce=ie(45353),wt=ie(53124),An=ie(98866),Tt=ie(98675),rt=ie(84780),ft=ie(14747),Wt=ie(67968),qt=ie(45503);const Xt=de=>{const{componentCls:le,trackHeightSM:De,trackPadding:Ke,trackMinWidthSM:Et,innerMinMarginSM:Yt,innerMaxMarginSM:Kt,handleSizeSM:nn}=de,$t=`${le}-inner`;return{[le]:{[`&${le}-small`]:{minWidth:Et,height:De,lineHeight:`${De}px`,[`${le}-inner`]:{paddingInlineStart:Kt,paddingInlineEnd:Yt,[`${$t}-checked`]:{marginInlineStart:`calc(-100% + ${nn+Ke*2}px - ${Kt*2}px)`,marginInlineEnd:`calc(100% - ${nn+Ke*2}px + ${Kt*2}px)`},[`${$t}-unchecked`]:{marginTop:-De,marginInlineStart:0,marginInlineEnd:0}},[`${le}-handle`]:{width:nn,height:nn},[`${le}-loading-icon`]:{top:(nn-de.switchLoadingIconSize)/2,fontSize:de.switchLoadingIconSize},[`&${le}-checked`]:{[`${le}-inner`]:{paddingInlineStart:Yt,paddingInlineEnd:Kt,[`${$t}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${$t}-unchecked`]:{marginInlineStart:`calc(100% - ${nn+Ke*2}px + ${Kt*2}px)`,marginInlineEnd:`calc(-100% + ${nn+Ke*2}px - ${Kt*2}px)`}},[`${le}-handle`]:{insetInlineStart:`calc(100% - ${nn+Ke}px)`}},[`&:not(${le}-disabled):active`]:{[`&:not(${le}-checked) ${$t}`]:{[`${$t}-unchecked`]:{marginInlineStart:de.marginXXS/2,marginInlineEnd:-de.marginXXS/2}},[`&${le}-checked ${$t}`]:{[`${$t}-checked`]:{marginInlineStart:-de.marginXXS/2,marginInlineEnd:de.marginXXS/2}}}}}}},Ht=de=>{const{componentCls:le,handleSize:De}=de;return{[le]:{[`${le}-loading-icon${de.iconCls}`]:{position:"relative",top:(De-de.fontSize)/2,color:de.switchLoadingIconColor,verticalAlign:"top"},[`&${le}-checked ${le}-loading-icon`]:{color:de.switchColor}}}},un=de=>{const{componentCls:le,motion:De,trackPadding:Ke,handleBg:Et,handleShadow:Yt,handleSize:Kt}=de,nn=`${le}-handle`;return{[le]:{[nn]:{position:"absolute",top:Ke,insetInlineStart:Ke,width:Kt,height:Kt,transition:`all ${de.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Et,borderRadius:Kt/2,boxShadow:Yt,transition:`all ${de.switchDuration} ease-in-out`,content:'""'}},[`&${le}-checked ${nn}`]:{insetInlineStart:`calc(100% - ${Kt+Ke}px)`},[`&:not(${le}-disabled):active`]:De?{[`${nn}::before`]:{insetInlineEnd:de.switchHandleActiveInset,insetInlineStart:0},[`&${le}-checked ${nn}::before`]:{insetInlineEnd:0,insetInlineStart:de.switchHandleActiveInset}}:{}}}},kn=de=>{const{componentCls:le,trackHeight:De,trackPadding:Ke,innerMinMargin:Et,innerMaxMargin:Yt,handleSize:Kt}=de,nn=`${le}-inner`;return{[le]:{[nn]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Yt,paddingInlineEnd:Et,transition:`padding-inline-start ${de.switchDuration} ease-in-out, padding-inline-end ${de.switchDuration} ease-in-out`,[`${nn}-checked, ${nn}-unchecked`]:{display:"block",color:de.colorTextLightSolid,fontSize:de.fontSizeSM,transition:`margin-inline-start ${de.switchDuration} ease-in-out, margin-inline-end ${de.switchDuration} ease-in-out`,pointerEvents:"none"},[`${nn}-checked`]:{marginInlineStart:`calc(-100% + ${Kt+Ke*2}px - ${Yt*2}px)`,marginInlineEnd:`calc(100% - ${Kt+Ke*2}px + ${Yt*2}px)`},[`${nn}-unchecked`]:{marginTop:-De,marginInlineStart:0,marginInlineEnd:0}},[`&${le}-checked ${nn}`]:{paddingInlineStart:Et,paddingInlineEnd:Yt,[`${nn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nn}-unchecked`]:{marginInlineStart:`calc(100% - ${Kt+Ke*2}px + ${Yt*2}px)`,marginInlineEnd:`calc(-100% + ${Kt+Ke*2}px - ${Yt*2}px)`}},[`&:not(${le}-disabled):active`]:{[`&:not(${le}-checked) ${nn}`]:{[`${nn}-unchecked`]:{marginInlineStart:Ke*2,marginInlineEnd:-Ke*2}},[`&${le}-checked ${nn}`]:{[`${nn}-checked`]:{marginInlineStart:-Ke*2,marginInlineEnd:Ke*2}}}}}},yn=de=>{const{componentCls:le,trackHeight:De,trackMinWidth:Ke}=de;return{[le]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(de)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ke,height:De,lineHeight:`${De}px`,verticalAlign:"middle",background:de.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${de.motionDurationMid}`,userSelect:"none",[`&:hover:not(${le}-disabled)`]:{background:de.colorTextTertiary}}),(0,ft.Qy)(de)),{[`&${le}-checked`]:{background:de.switchColor,[`&:hover:not(${le}-disabled)`]:{background:de.colorPrimaryHover}},[`&${le}-loading, &${le}-disabled`]:{cursor:"not-allowed",opacity:de.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${le}-rtl`]:{direction:"rtl"}})}};var Fe=(0,Wt.Z)("Switch",de=>{const le=(0,qt.TS)(de,{switchDuration:de.motionDurationMid,switchColor:de.colorPrimary,switchDisabledOpacity:de.opacityLoading,switchLoadingIconSize:de.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${de.opacityLoading})`,switchHandleActiveInset:"-30%"});return[yn(le),kn(le),un(le),Ht(le),Xt(le)]},de=>{const{fontSize:le,lineHeight:De,controlHeight:Ke,colorWhite:Et}=de,Yt=le*De,Kt=Ke/2,nn=2,$t=Yt-nn*2,gr=Kt-nn*2;return{trackHeight:Yt,trackHeightSM:Kt,trackMinWidth:$t*2+nn*4,trackMinWidthSM:gr*2+nn*2,trackPadding:nn,handleBg:Et,handleSize:$t,handleSizeSM:gr,handleShadow:`0 2px 4px 0 ${new rt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:$t/2,innerMaxMargin:$t+nn+nn*2,innerMinMarginSM:gr/2,innerMaxMarginSM:gr+nn+nn*2}}),ce=function(de,le){var De={};for(var Ke in de)Object.prototype.hasOwnProperty.call(de,Ke)&&le.indexOf(Ke)<0&&(De[Ke]=de[Ke]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ke=Object.getOwnPropertySymbols(de);Et{const{prefixCls:De,size:Ke,disabled:Et,loading:Yt,className:Kt,rootClassName:nn,style:$t}=de,gr=ce(de,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:kr,direction:rn,switch:gn}=Me.useContext(wt.E_),hr=Me.useContext(An.Z),Er=(Et!=null?Et:hr)||Yt,yt=kr("switch",De),It=Me.createElement("div",{className:`${yt}-handle`},Yt&&Me.createElement(ae.Z,{className:`${yt}-loading-icon`})),[$n,Qn]=Fe(yt),wr=(0,Tt.Z)(Ke),_r=Re()(gn==null?void 0:gn.className,{[`${yt}-small`]:wr==="small",[`${yt}-loading`]:Yt,[`${yt}-rtl`]:rn==="rtl"},Kt,nn,Qn),ei=Object.assign(Object.assign({},gn==null?void 0:gn.style),$t);return $n(Me.createElement(Ce.Z,{component:"Switch"},Me.createElement(it,Object.assign({},gr,{prefixCls:yt,className:_r,style:ei,disabled:Er,ref:le,loadingIcon:It}))))});ue.__ANT_SWITCH=!0;var pe=ue},66368:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ta}});var ae=ie(73475),Oe=ie(25877),Re=ie(38308),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(87462),ke=ie(4942),ye=ie(1413),me=ie(97685),Le=ie(71002),mt=ie(45987),Ie=ie(67294),Xe=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ze=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ze)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ze==null?void 0:ze.substr(0,4))};function ot(ze){var Je=Ie.useRef();Je.current=ze;var et=Ie.useCallback(function(){for(var st,Ct=arguments.length,Bt=new Array(Ct),Jt=0;Jtxt?(Jn=xn,Ue.current="x"):(Jn=Zn,Ue.current="y"),Je(-Jn,-Jn)&&Pt.preventDefault()}var tn=(0,Ie.useRef)(null);tn.current={onTouchStart:Tr,onTouchMove:Or,onTouchEnd:qr,onWheel:tt},Ie.useEffect(function(){function Pt(yr){tn.current.onTouchStart(yr)}function xn(yr){tn.current.onTouchMove(yr)}function Zn(yr){tn.current.onTouchEnd(yr)}function Jn(yr){tn.current.onWheel(yr)}return document.addEventListener("touchmove",xn,{passive:!1}),document.addEventListener("touchend",Zn,{passive:!1}),ze.current.addEventListener("touchstart",Pt,{passive:!1}),ze.current.addEventListener("wheel",Jn),function(){document.removeEventListener("touchmove",xn),document.removeEventListener("touchend",Zn)}},[])}function qt(ze){var Je=(0,Ie.useState)(0),et=(0,me.Z)(Je,2),st=et[0],Ct=et[1],Bt=(0,Ie.useRef)(0),Jt=(0,Ie.useRef)();return Jt.current=ze,ut(function(){var Tn;(Tn=Jt.current)===null||Tn===void 0||Tn.call(Jt)},[st]),function(){Bt.current===st&&(Bt.current+=1,Ct(Bt.current))}}function Xt(ze){var Je=(0,Ie.useRef)([]),et=(0,Ie.useState)({}),st=(0,me.Z)(et,2),Ct=st[1],Bt=(0,Ie.useRef)(typeof ze=="function"?ze():ze),Jt=qt(function(){var Nn=Bt.current;Je.current.forEach(function(Fr){Nn=Fr(Nn)}),Je.current=[],Bt.current=Nn,Ct({})});function Tn(Nn){Je.current.push(Nn),Jt()}return[Bt.current,Tn]}var Ht={width:0,height:0,left:0,top:0,right:0};function un(ze,Je,et,st,Ct,Bt,Jt){var Tn=Jt.tabs,Nn=Jt.tabPosition,Fr=Jt.rtl,Jr,Ar,er;return["top","bottom"].includes(Nn)?(Jr="width",Ar=Fr?"right":"left",er=Math.abs(et)):(Jr="height",Ar="top",er=-et),(0,Ie.useMemo)(function(){if(!Tn.length)return[0,0];for(var Wn=Tn.length,ur=Wn,mr=0;mrer+Je){ur=mr-1;break}}for(var Dr=0,Mr=Wn-1;Mr>=0;Mr-=1){var Tr=ze.get(Tn[Mr].key)||Ht;if(Tr[Ar]=ur?[0,0]:[Dr,ur]},[ze,Je,st,Ct,Bt,er,Nn,Tn.map(function(Wn){return Wn.key}).join("_"),Fr])}function kn(ze){var Je;return ze instanceof Map?(Je={},ze.forEach(function(et,st){Je[st]=et})):Je=ze,JSON.stringify(Je)}var yn="TABS_DQ";function Fe(ze){return String(ze).replace(/"/g,yn)}function ce(ze,Je,et,st){return!(!et||st||ze===!1||ze===void 0&&(Je===!1||Je===null))}function ue(ze,Je){var et=ze.prefixCls,st=ze.editable,Ct=ze.locale,Bt=ze.style;return!st||st.showAdd===!1?null:Ie.createElement("button",{ref:Je,type:"button",className:"".concat(et,"-nav-add"),style:Bt,"aria-label":(Ct==null?void 0:Ct.addAriaLabel)||"Add tab",onClick:function(Tn){st.onEdit("add",{event:Tn})}},st.addIcon||"+")}var pe=Ie.forwardRef(ue),de=Ie.forwardRef(function(ze,Je){var et=ze.position,st=ze.prefixCls,Ct=ze.extra;if(!Ct)return null;var Bt,Jt={};return(0,Le.Z)(Ct)==="object"&&!Ie.isValidElement(Ct)?Jt=Ct:Jt.right=Ct,et==="right"&&(Bt=Jt.right),et==="left"&&(Bt=Jt.left),Bt?Ie.createElement("div",{className:"".concat(st,"-extra-content"),ref:Je},Bt):null}),le=de,De=ie(62709);function Ke(ze,Je,et){var st=React.useRef({});return(!("value"in st.current)||et(st.current.condition,Je))&&(st.current.value=ze(),st.current.condition=Je),st.current.value}function Et(ze,Je){typeof ze=="function"?ze(Je):(0,Le.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Je)}function Yt(){for(var ze=arguments.length,Je=new Array(ze),et=0;et=$t.F1&&et<=$t.F12)return!1;switch(et){case $t.ALT:case $t.CAPS_LOCK:case $t.CONTEXT_MENU:case $t.CTRL:case $t.DOWN:case $t.END:case $t.ESC:case $t.HOME:case $t.INSERT:case $t.LEFT:case $t.MAC_FF_META:case $t.META:case $t.NUMLOCK:case $t.NUM_CENTER:case $t.PAGE_DOWN:case $t.PAGE_UP:case $t.PAUSE:case $t.PRINT_SCREEN:case $t.RIGHT:case $t.SHIFT:case $t.UP:case $t.WIN_KEY:case $t.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Je){if(Je>=$t.ZERO&&Je<=$t.NINE||Je>=$t.NUM_ZERO&&Je<=$t.NUM_MULTIPLY||Je>=$t.A&&Je<=$t.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Je===0)return!0;switch(Je){case $t.SPACE:case $t.QUESTION_MARK:case $t.NUM_PLUS:case $t.NUM_MINUS:case $t.NUM_PERIOD:case $t.NUM_DIVISION:case $t.SEMICOLON:case $t.DASH:case $t.EQUALS:case $t.COMMA:case $t.PERIOD:case $t.SLASH:case $t.APOSTROPHE:case $t.SINGLE_QUOTE:case $t.OPEN_SQUARE_BRACKET:case $t.BACKSLASH:case $t.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gr=$t,kr=function(Je){return+setTimeout(Je,16)},rn=function(Je){return clearTimeout(Je)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(kr=function(Je){return window.requestAnimationFrame(Je)},rn=function(Je){return window.cancelAnimationFrame(Je)});var gn=0,hr=new Map;function Er(ze){hr.delete(ze)}var yt=function(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gn+=1;var st=gn;function Ct(Bt){if(Bt===0)Er(st),Je();else{var Jt=kr(function(){Ct(Bt-1)});hr.set(st,Jt)}}return Ct(et),st};yt.cancel=function(ze){var Je=hr.get(ze);return Er(Je),rn(Je)};var It=yt,$n=gr.ESC,Qn=gr.TAB;function wr(ze){var Je=ze.visible,et=ze.triggerRef,st=ze.onVisibleChange,Ct=ze.autoFocus,Bt=ze.overlayRef,Jt=Ie.useRef(!1),Tn=function(){if(Je){var Ar,er;(Ar=et.current)===null||Ar===void 0||(er=Ar.focus)===null||er===void 0||er.call(Ar),st==null||st(!1)}},Nn=function(){var Ar;return(Ar=Bt.current)!==null&&Ar!==void 0&&Ar.focus?(Bt.current.focus(),Jt.current=!0,!0):!1},Fr=function(Ar){switch(Ar.keyCode){case $n:Tn();break;case Qn:{var er=!1;Jt.current||(er=Nn()),er?Ar.preventDefault():Tn();break}}};Ie.useEffect(function(){return Je?(window.addEventListener("keydown",Fr),Ct&&It(Nn,3),function(){window.removeEventListener("keydown",Fr),Jt.current=!1}):function(){Jt.current=!1}},[Je])}var _r=(0,Ie.forwardRef)(function(ze,Je){var et=ze.overlay,st=ze.arrow,Ct=ze.prefixCls,Bt=(0,Ie.useMemo)(function(){var Tn;return typeof et=="function"?Tn=et():Tn=et,Tn},[et]),Jt=Yt(Je,Bt==null?void 0:Bt.ref);return Ie.createElement(Ie.Fragment,null,st&&Ie.createElement("div",{className:"".concat(Ct,"-arrow")}),Ie.cloneElement(Bt,{ref:nn(Bt)?Jt:void 0}))}),ei=_r,Xr={adjustX:1,adjustY:1},ri=[0,0],fi={topLeft:{points:["bl","tl"],overflow:Xr,offset:[0,-4],targetOffset:ri},top:{points:["bc","tc"],overflow:Xr,offset:[0,-4],targetOffset:ri},topRight:{points:["br","tr"],overflow:Xr,offset:[0,-4],targetOffset:ri},bottomLeft:{points:["tl","bl"],overflow:Xr,offset:[0,4],targetOffset:ri},bottom:{points:["tc","bc"],overflow:Xr,offset:[0,4],targetOffset:ri},bottomRight:{points:["tr","br"],overflow:Xr,offset:[0,4],targetOffset:ri}},Cr=fi,yi=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Gi(ze,Je){var et,st=ze.arrow,Ct=st===void 0?!1:st,Bt=ze.prefixCls,Jt=Bt===void 0?"rc-dropdown":Bt,Tn=ze.transitionName,Nn=ze.animation,Fr=ze.align,Jr=ze.placement,Ar=Jr===void 0?"bottomLeft":Jr,er=ze.placements,Wn=er===void 0?Cr:er,ur=ze.getPopupContainer,mr=ze.showAction,Vr=ze.hideAction,Dr=ze.overlayClassName,Mr=ze.overlayStyle,Tr=ze.visible,Or=ze.trigger,qr=Or===void 0?["hover"]:Or,Ue=ze.autoFocus,tt=ze.overlay,tn=ze.children,Pt=ze.onVisibleChange,xn=(0,mt.Z)(ze,yi),Zn=Ie.useState(),Jn=(0,me.Z)(Zn,2),yr=Jn[0],xt=Jn[1],ct="visible"in ze?Tr:yr,Lt=Ie.useRef(null),dn=Ie.useRef(null),qn=Ie.useRef(null);Ie.useImperativeHandle(Je,function(){return Lt.current});var In=function(Wr){xt(Wr),Pt==null||Pt(Wr)};wr({visible:ct,triggerRef:qn,onVisibleChange:In,autoFocus:Ue,overlayRef:dn});var wn=function(Wr){var Nr=ze.onOverlayClick;xt(!1),Nr&&Nr(Wr)},xr=function(){return Ie.createElement(ei,{ref:dn,overlay:tt,prefixCls:Jt,arrow:Ct})},pr=function(){return typeof tt=="function"?xr:xr()},Pr=function(){var Wr=ze.minOverlayWidthMatchTrigger,Nr=ze.alignPoint;return"minOverlayWidthMatchTrigger"in ze?Wr:!Nr},dr=function(){var Wr=ze.openClassName;return Wr!==void 0?Wr:"".concat(Jt,"-open")},Vn=Ie.cloneElement(tn,{className:ve()((et=tn.props)===null||et===void 0?void 0:et.className,ct&&dr()),ref:nn(tn)?Yt(qn,tn.ref):void 0}),Hr=Vr;return!Hr&&qr.indexOf("contextMenu")!==-1&&(Hr=["click"]),Ie.createElement(De.Z,(0,Ee.Z)({builtinPlacements:Wn},xn,{prefixCls:Jt,ref:Lt,popupClassName:ve()(Dr,(0,ke.Z)({},"".concat(Jt,"-show-arrow"),Ct)),popupStyle:Mr,action:qr,showAction:mr,hideAction:Hr,popupPlacement:Ar,popupAlign:Fr,popupTransitionName:Tn,popupAnimation:Nn,popupVisible:ct,stretch:Pr()?"minWidth":"",popup:pr(),onPopupVisibleChange:In,onPopupClick:wn,getPopupContainer:ur}),Vn)}var oi=Ie.forwardRef(Gi),ea=oi,Di=ie(78595),Ot={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Je){var et=Je.keyCode;if(Je.altKey&&!Je.ctrlKey||Je.metaKey||et>=Ot.F1&&et<=Ot.F12)return!1;switch(et){case Ot.ALT:case Ot.CAPS_LOCK:case Ot.CONTEXT_MENU:case Ot.CTRL:case Ot.DOWN:case Ot.END:case Ot.ESC:case Ot.HOME:case Ot.INSERT:case Ot.LEFT:case Ot.MAC_FF_META:case Ot.META:case Ot.NUMLOCK:case Ot.NUM_CENTER:case Ot.PAGE_DOWN:case Ot.PAGE_UP:case Ot.PAUSE:case Ot.PRINT_SCREEN:case Ot.RIGHT:case Ot.SHIFT:case Ot.UP:case Ot.WIN_KEY:case Ot.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Je){if(Je>=Ot.ZERO&&Je<=Ot.NINE||Je>=Ot.NUM_ZERO&&Je<=Ot.NUM_MULTIPLY||Je>=Ot.A&&Je<=Ot.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Je===0)return!0;switch(Je){case Ot.SPACE:case Ot.QUESTION_MARK:case Ot.NUM_PLUS:case Ot.NUM_MINUS:case Ot.NUM_PERIOD:case Ot.NUM_DIVISION:case Ot.SEMICOLON:case Ot.DASH:case Ot.EQUALS:case Ot.COMMA:case Ot.PERIOD:case Ot.SLASH:case Ot.APOSTROPHE:case Ot.SINGLE_QUOTE:case Ot.OPEN_SQUARE_BRACKET:case Ot.BACKSLASH:case Ot.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Nt=Ot;function cn(ze,Je){var et=ze.prefixCls,st=ze.id,Ct=ze.tabs,Bt=ze.locale,Jt=ze.mobile,Tn=ze.moreIcon,Nn=Tn===void 0?"More":Tn,Fr=ze.moreTransitionName,Jr=ze.style,Ar=ze.className,er=ze.editable,Wn=ze.tabBarGutter,ur=ze.rtl,mr=ze.removeAriaLabel,Vr=ze.onTabClick,Dr=ze.getPopupContainer,Mr=ze.popupClassName,Tr=(0,Ie.useState)(!1),Or=(0,me.Z)(Tr,2),qr=Or[0],Ue=Or[1],tt=(0,Ie.useState)(null),tn=(0,me.Z)(tt,2),Pt=tn[0],xn=tn[1],Zn="".concat(st,"-more-popup"),Jn="".concat(et,"-dropdown"),yr=Pt!==null?"".concat(Zn,"-").concat(Pt):null,xt=Bt==null?void 0:Bt.dropdownAriaLabel;function ct(pr,Pr){pr.preventDefault(),pr.stopPropagation(),er.onEdit("remove",{key:Pr,event:pr})}var Lt=Ie.createElement(Di.ZP,{onClick:function(Pr){var dr=Pr.key,Vn=Pr.domEvent;Vr(dr,Vn),Ue(!1)},prefixCls:"".concat(Jn,"-menu"),id:Zn,tabIndex:-1,role:"listbox","aria-activedescendant":yr,selectedKeys:[Pt],"aria-label":xt!==void 0?xt:"expanded dropdown"},Ct.map(function(pr){var Pr=pr.closable,dr=pr.disabled,Vn=pr.closeIcon,Hr=pr.key,ni=pr.label,Wr=ce(Pr,Vn,er,dr);return Ie.createElement(Di.sN,{key:Hr,id:"".concat(Zn,"-").concat(Hr),role:"option","aria-controls":st&&"".concat(st,"-panel-").concat(Hr),disabled:dr},Ie.createElement("span",null,ni),Wr&&Ie.createElement("button",{type:"button","aria-label":mr||"remove",tabIndex:0,className:"".concat(Jn,"-menu-item-remove"),onClick:function(Gr){Gr.stopPropagation(),ct(Gr,Hr)}},Vn||er.removeIcon||"\xD7"))}));function dn(pr){for(var Pr=Ct.filter(function(Wr){return!Wr.disabled}),dr=Pr.findIndex(function(Wr){return Wr.key===Pt})||0,Vn=Pr.length,Hr=0;Hr1&&arguments[1]!==void 0?arguments[1]:1;pt+=1;var st=pt;function Ct(Bt){if(Bt===0)Mt(st),Je();else{var Jt=ir(function(){Ct(Bt-1)});At.set(st,Jt)}}return Ct(et),st};fn.cancel=function(ze){var Je=At.get(ze);return Mt(Je),Xn(Je)};var $e=fn,Ft=function(Je){var et=Je.activeTabOffset,st=Je.horizontal,Ct=Je.rtl,Bt=Je.indicatorSize,Jt=(0,Ie.useState)(),Tn=(0,me.Z)(Jt,2),Nn=Tn[0],Fr=Tn[1],Jr=(0,Ie.useRef)(),Ar=function(ur){return typeof Bt=="function"?Bt(ur):typeof Bt=="number"?Bt:ur};function er(){$e.cancel(Jr.current)}return(0,Ie.useEffect)(function(){var Wn={};return et&&(st?(Ct?(Wn.right=et.right+et.width/2,Wn.transform="translateX(50%)"):(Wn.left=et.left+et.width/2,Wn.transform="translateX(-50%)"),Wn.width=Ar(et.width)):(Wn.top=et.top+et.height/2,Wn.transform="translateY(-50%)",Wn.height=Ar(et.height))),er(),Jr.current=$e(function(){Fr(Wn)}),er},[et,st,Ct,Bt]),{style:Nn}},on=Ft,_t=function(Je){var et=Je.current||{},st=et.offsetWidth,Ct=st===void 0?0:st,Bt=et.offsetHeight,Jt=Bt===void 0?0:Bt;return[Ct,Jt]},En=function(Je,et){return Je[et?0:1]};function Sn(ze,Je){var et,st=Ie.useContext(je),Ct=st.prefixCls,Bt=st.tabs,Jt=ze.className,Tn=ze.style,Nn=ze.id,Fr=ze.animated,Jr=ze.activeKey,Ar=ze.rtl,er=ze.extra,Wn=ze.editable,ur=ze.locale,mr=ze.tabPosition,Vr=ze.tabBarGutter,Dr=ze.children,Mr=ze.onTabClick,Tr=ze.onTabScroll,Or=ze.indicatorSize,qr=(0,Ie.useRef)(),Ue=(0,Ie.useRef)(),tt=(0,Ie.useRef)(),tn=(0,Ie.useRef)(),Pt=(0,Ie.useRef)(),xn=(0,Ie.useRef)(),Zn=(0,Ie.useRef)(),Jn=mr==="top"||mr==="bottom",yr=wt(0,function(ja,be){Jn&&Tr&&Tr({direction:ja>be?"left":"right"})}),xt=(0,me.Z)(yr,2),ct=xt[0],Lt=xt[1],dn=wt(0,function(ja,be){!Jn&&Tr&&Tr({direction:ja>be?"top":"bottom"})}),qn=(0,me.Z)(dn,2),In=qn[0],wn=qn[1],xr=(0,Ie.useState)([0,0]),pr=(0,me.Z)(xr,2),Pr=pr[0],dr=pr[1],Vn=(0,Ie.useState)([0,0]),Hr=(0,me.Z)(Vn,2),ni=Hr[0],Wr=Hr[1],Nr=(0,Ie.useState)([0,0]),Gr=(0,me.Z)(Nr,2),Li=Gr[0],xi=Gr[1],Ei=(0,Ie.useState)([0,0]),$i=(0,me.Z)(Ei,2),Aa=$i[0],_i=$i[1],la=Xt(new Map),Ai=(0,me.Z)(la,2),Ki=Ai[0],ua=Ai[1],pa=Ce(Bt,Ki,ni[0]),ao=En(Pr,Jn),no=En(ni,Jn),ro=En(Li,Jn),Ha=En(Aa,Jn),wa=aoBi?Bi:ja}var Ja=(0,Ie.useRef)(),Ba=(0,Ie.useState)(),Va=(0,me.Z)(Ba,2),na=Va[0],oo=Va[1];function fo(){oo(Date.now())}function to(){window.clearTimeout(Ja.current)}Wt(tn,function(ja,be){function Be(Pe,gt){Pe(function(vt){var vn=ma(vt+gt);return vn})}return wa?(Jn?Be(Lt,ja):Be(wn,be),to(),fo(),!0):!1}),(0,Ie.useEffect)(function(){return to(),na&&(Ja.current=window.setTimeout(function(){oo(0)},100)),to},[na]);var ho=un(pa,Wi,Jn?ct:In,no,ro,Ha,(0,ye.Z)((0,ye.Z)({},ze),{},{tabs:Bt})),bo=(0,me.Z)(ho,2),Lo=bo[0],io=bo[1],lo=ot(function(){var ja=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jr,be=pa.get(ja)||{width:0,height:0,left:0,right:0,top:0};if(Jn){var Be=ct;Ar?be.rightct+Wi&&(Be=be.right+be.width-Wi):be.left<-ct?Be=-be.left:be.left+be.width>-ct+Wi&&(Be=-(be.left+be.width-Wi)),wn(0),Lt(ma(Be))}else{var Pe=In;be.top<-In?Pe=-be.top:be.top+be.height>-In+Wi&&(Pe=-(be.top+be.height-Wi)),Lt(0),wn(ma(Pe))}}),Ko={};mr==="top"||mr==="bottom"?Ko[Ar?"marginRight":"marginLeft"]=Vr:Ko.marginTop=Vr;var Wo=Bt.map(function(ja,be){var Be=ja.key;return Ie.createElement(Fn,{id:Nn,prefixCls:Ct,key:Be,tab:ja,style:be===0?void 0:Ko,closable:ja.closable,editable:Wn,active:Be===Jr,renderWrapper:Dr,removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,onClick:function(gt){Mr(Be,gt)},onFocus:function(){lo(Be),fo(),tn.current&&(Ar||(tn.current.scrollLeft=0),tn.current.scrollTop=0)}})}),Jo=function(){return ua(function(){var be=new Map;return Bt.forEach(function(Be){var Pe,gt=Be.key,vt=(Pe=Pt.current)===null||Pe===void 0?void 0:Pe.querySelector('[data-node-key="'.concat(Fe(gt),'"]'));vt&&be.set(gt,{width:vt.offsetWidth,height:vt.offsetHeight,left:vt.offsetLeft,top:vt.offsetTop})}),be})};(0,Ie.useEffect)(function(){Jo()},[Bt.map(function(ja){return ja.key}).join("_")]);var Fo=qt(function(){var ja=_t(qr),be=_t(Ue),Be=_t(tt);dr([ja[0]-be[0]-Be[0],ja[1]-be[1]-Be[1]]);var Pe=_t(Zn);xi(Pe);var gt=_t(xn);_i(gt);var vt=_t(Pt);Wr([vt[0]-Pe[0],vt[1]-Pe[1]]),Jo()}),po=Bt.slice(0,Lo),ga=Bt.slice(io+1),Sa=[].concat((0,We.Z)(po),(0,We.Z)(ga)),qa=pa.get(Jr),mo=on({activeTabOffset:qa,horizontal:Jn,rtl:Ar,indicatorSize:Or}),Io=mo.style;(0,Ie.useEffect)(function(){lo()},[Jr,aa,Bi,kn(qa),kn(pa),Jn]),(0,Ie.useEffect)(function(){Fo()},[Ar]);var Go=!!Sa.length,qo="".concat(Ct,"-nav-wrap"),ls,Ss,$o,Cs;return Jn?Ar?(Ss=ct>0,ls=ct!==Bi):(ls=ct<0,Ss=ct!==aa):($o=In<0,Cs=In!==aa),Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{ref:Kn(Je,qr),role:"tablist",className:ve()("".concat(Ct,"-nav"),Jt),style:Tn,onKeyDown:function(){fo()}},Ie.createElement(le,{ref:Ue,position:"left",extra:er,prefixCls:Ct}),Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{className:ve()(qo,(et={},(0,ke.Z)(et,"".concat(qo,"-ping-left"),ls),(0,ke.Z)(et,"".concat(qo,"-ping-right"),Ss),(0,ke.Z)(et,"".concat(qo,"-ping-top"),$o),(0,ke.Z)(et,"".concat(qo,"-ping-bottom"),Cs),et)),ref:tn},Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{ref:Pt,className:"".concat(Ct,"-nav-list"),style:{transform:"translate(".concat(ct,"px, ").concat(In,"px)"),transition:na?"none":void 0}},Wo,Ie.createElement(pe,{ref:Zn,prefixCls:Ct,locale:ur,editable:Wn,style:(0,ye.Z)((0,ye.Z)({},Wo.length===0?void 0:Ko),{},{visibility:Go?"hidden":null})}),Ie.createElement("div",{className:ve()("".concat(Ct,"-ink-bar"),(0,ke.Z)({},"".concat(Ct,"-ink-bar-animated"),Fr.inkBar)),style:Io}))))),Ie.createElement(bn,(0,Ee.Z)({},ze,{removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,ref:xn,prefixCls:Ct,tabs:Sa,className:!Go&&co,tabMoving:!!na})),Ie.createElement(le,{ref:tt,position:"right",extra:er,prefixCls:Ct})))}var Bn=Ie.forwardRef(Sn),Qr=["renderTabBar"],Lr=["label","key"];function Sr(ze){var Je=ze.renderTabBar,et=(0,mt.Z)(ze,Qr),st=Ie.useContext(je),Ct=st.tabs;if(Je){var Bt=(0,ye.Z)((0,ye.Z)({},et),{},{panes:Ct.map(function(Jt){var Tn=Jt.label,Nn=Jt.key,Fr=(0,mt.Z)(Jt,Lr);return Ie.createElement(Ge,(0,Ee.Z)({tab:Tn,key:Nn,tabKey:Nn},Fr))})});return Je(Bt,Bn)}return Ie.createElement(Bn,et)}var jr={},zr=[],Rt=function(Je){zr.push(Je)};function kt(ze,Je){if(0)var et}function jt(ze,Je){if(0)var et}function zn(){jr={}}function lr(ze,Je,et){!Je&&!jr[et]&&(ze(!1,et),jr[et]=!0)}function Hn(ze,Je){lr(kt,ze,Je)}function _n(ze,Je){lr(jt,ze,Je)}Hn.preMessage=Rt,Hn.resetWarned=zn,Hn.noteOnce=_n;var Gn=null;function or(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Je;return ze===!1?Je={inkBar:!1,tabPane:!1}:ze===!0?Je={inkBar:!0,tabPane:!1}:Je=(0,ye.Z)({inkBar:!0},(0,Le.Z)(ze)==="object"?ze:{}),Je.tabPaneMotion&&Je.tabPane===void 0&&(Je.tabPane=!0),!Je.tabPaneMotion&&Je.tabPane&&(Je.tabPane=!1),Je}var Kr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Ln=0;function Fi(ze,Je){var et,st=ze.id,Ct=ze.prefixCls,Bt=Ct===void 0?"rc-tabs":Ct,Jt=ze.className,Tn=ze.items,Nn=ze.direction,Fr=ze.activeKey,Jr=ze.defaultActiveKey,Ar=ze.editable,er=ze.animated,Wn=ze.tabPosition,ur=Wn===void 0?"top":Wn,mr=ze.tabBarGutter,Vr=ze.tabBarStyle,Dr=ze.tabBarExtraContent,Mr=ze.locale,Tr=ze.moreIcon,Or=ze.moreTransitionName,qr=ze.destroyInactiveTabPane,Ue=ze.renderTabBar,tt=ze.onChange,tn=ze.onTabClick,Pt=ze.onTabScroll,xn=ze.getPopupContainer,Zn=ze.popupClassName,Jn=ze.indicatorSize,yr=(0,mt.Z)(ze,Kr),xt=Ie.useMemo(function(){return(Tn||[]).filter(function(_i){return _i&&(0,Le.Z)(_i)==="object"&&"key"in _i})},[Tn]),ct=Nn==="rtl",Lt=or(er),dn=(0,Ie.useState)(!1),qn=(0,me.Z)(dn,2),In=qn[0],wn=qn[1];(0,Ie.useEffect)(function(){wn(Xe())},[]);var xr=we(function(){var _i;return(_i=xt[0])===null||_i===void 0?void 0:_i.key},{value:Fr,defaultValue:Jr}),pr=(0,me.Z)(xr,2),Pr=pr[0],dr=pr[1],Vn=(0,Ie.useState)(function(){return xt.findIndex(function(_i){return _i.key===Pr})}),Hr=(0,me.Z)(Vn,2),ni=Hr[0],Wr=Hr[1];(0,Ie.useEffect)(function(){var _i=xt.findIndex(function(Ai){return Ai.key===Pr});if(_i===-1){var la;_i=Math.max(0,Math.min(ni,xt.length-1)),dr((la=xt[_i])===null||la===void 0?void 0:la.key)}Wr(_i)},[xt.map(function(_i){return _i.key}).join("_"),Pr,ni]);var Nr=we(null,{value:st}),Gr=(0,me.Z)(Nr,2),Li=Gr[0],xi=Gr[1];(0,Ie.useEffect)(function(){st||(xi("rc-tabs-".concat(Ln)),Ln+=1)},[]);function Ei(_i,la){tn==null||tn(_i,la);var Ai=_i!==Pr;dr(_i),Ai&&(tt==null||tt(_i))}var $i={id:Li,activeKey:Pr,animated:Lt,tabPosition:ur,rtl:ct,mobile:In},Aa=(0,ye.Z)((0,ye.Z)({},$i),{},{editable:Ar,locale:Mr,moreIcon:Tr,moreTransitionName:Or,tabBarGutter:mr,onTabClick:Ei,onTabScroll:Pt,extra:Dr,style:Vr,panes:null,getPopupContainer:xn,popupClassName:Zn,indicatorSize:Jn});return Ie.createElement(je.Provider,{value:{tabs:xt,prefixCls:Bt}},Ie.createElement("div",(0,Ee.Z)({ref:Je,id:st,className:ve()(Bt,"".concat(Bt,"-").concat(ur),(et={},(0,ke.Z)(et,"".concat(Bt,"-mobile"),In),(0,ke.Z)(et,"".concat(Bt,"-editable"),Ar),(0,ke.Z)(et,"".concat(Bt,"-rtl"),ct),et),Jt)},yr),Ie.createElement(Sr,(0,Ee.Z)({},Aa,{renderTabBar:Ue})),Ie.createElement(Ye,(0,Ee.Z)({destroyInactiveTabPane:qr},$i,{animated:Lt}))))}var pi=Ie.forwardRef(Fi),ha=pi,ra=ha,Qi=ie(53124),Ca=ie(98675),Ri=()=>null,sa=ie(33603);const Da={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ki(ze){let Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},et;return Je===!1?et={inkBar:!1,tabPane:!1}:Je===!0?et={inkBar:!0,tabPane:!0}:et=Object.assign({inkBar:!0},typeof Je=="object"?Je:{}),et.tabPane&&(et.tabPaneMotion=Object.assign(Object.assign({},Da),{motionName:(0,sa.m)(ze,"switch")})),et}var Ji=ie(37419),Ea=function(ze,Je){var et={};for(var st in ze)Object.prototype.hasOwnProperty.call(ze,st)&&Je.indexOf(st)<0&&(et[st]=ze[st]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,st=Object.getOwnPropertySymbols(ze);CtJe)}function Oa(ze,Je){if(ze)return ze;const et=(0,Ji.Z)(Je).map(st=>{if(Ie.isValidElement(st)){const{key:Ct,props:Bt}=st,Jt=Bt||{},{tab:Tn}=Jt,Nn=Ea(Jt,["tab"]);return Object.assign(Object.assign({key:String(Ct)},Nn),{label:Tn})}return null});return _a(et)}var Oi=ie(14747),Qt=ie(67968),Zt=ie(45503),Mn=ie(67771),sr=ze=>{const{componentCls:Je,motionDurationSlow:et}=ze;return[{[Je]:{[`${Je}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${et}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${et}`}}}}},[(0,Mn.oN)(ze,"slide-up"),(0,Mn.oN)(ze,"slide-down")]]};const Yr=ze=>{const{componentCls:Je,tabsCardPadding:et,cardBg:st,cardGutter:Ct,colorBorderSecondary:Bt,itemSelectedColor:Jt}=ze;return{[`${Je}-card`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{margin:0,padding:et,background:st,border:`${ze.lineWidth}px ${ze.lineType} ${Bt}`,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`},[`${Je}-tab-active`]:{color:Jt,background:ze.colorBgContainer},[`${Je}-ink-bar`]:{visibility:"hidden"}},[`&${Je}-top, &${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ct}px`}}}},[`&${Je}-top`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:`${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0 0`},[`${Je}-tab-active`]:{borderBottomColor:ze.colorBgContainer}}},[`&${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:`0 0 ${ze.borderRadiusLG}px ${ze.borderRadiusLG}px`},[`${Je}-tab-active`]:{borderTopColor:ze.colorBgContainer}}},[`&${Je}-left, &${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginTop:`${Ct}px`}}},[`&${Je}-left`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ze.borderRadiusLG}px 0 0 ${ze.borderRadiusLG}px`}},[`${Je}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:ze.colorBgContainer}}}},[`&${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0`}},[`${Je}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:ze.colorBgContainer}}}}}}},si=ze=>{const{componentCls:Je,itemHoverColor:et,dropdownEdgeChildVerticalPadding:st}=ze;return{[`${Je}-dropdown`]:Object.assign(Object.assign({},(0,Oi.Wf)(ze)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ze.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Je}-dropdown-menu`]:{maxHeight:ze.tabsDropdownHeight,margin:0,padding:`${st}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:ze.colorBgContainer,backgroundClip:"padding-box",borderRadius:ze.borderRadiusLG,outline:"none",boxShadow:ze.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Oi.vS),{display:"flex",alignItems:"center",minWidth:ze.tabsDropdownWidth,margin:0,padding:`${ze.paddingXXS}px ${ze.paddingSM}px`,color:ze.colorText,fontWeight:"normal",fontSize:ze.fontSize,lineHeight:ze.lineHeight,cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:ze.marginSM},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:et}},"&:hover":{background:ze.controlItemBgHover},"&-disabled":{"&, &:hover":{color:ze.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},mi=ze=>{const{componentCls:Je,margin:et,colorBorderSecondary:st,horizontalMargin:Ct,verticalItemPadding:Bt,verticalItemMargin:Jt}=ze;return{[`${Je}-top, ${Je}-bottom`]:{flexDirection:"column",[`> ${Je}-nav, > div > ${Je}-nav`]:{margin:Ct,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${ze.lineWidth}px ${ze.lineType} ${st}`,content:"''"},[`${Je}-ink-bar`]:{height:ze.lineWidthBold,"&-animated":{transition:`width ${ze.motionDurationSlow}, left ${ze.motionDurationSlow}, right ${ze.motionDurationSlow}`}},[`${Je}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:ze.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowRight},[`&${Je}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Je}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Je}-top`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{"&::before":{bottom:0},[`${Je}-ink-bar`]:{bottom:0}}},[`${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{order:1,marginTop:`${et}px`,marginBottom:0,"&::before":{top:0},[`${Je}-ink-bar`]:{top:0}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{order:0}},[`${Je}-left, ${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{flexDirection:"column",minWidth:ze.controlHeight*1.25,[`${Je}-tab`]:{padding:Bt,textAlign:"center"},[`${Je}-tab + ${Je}-tab`]:{margin:Jt},[`${Je}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:ze.controlHeight},"&::before":{top:0,boxShadow:ze.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:ze.boxShadowTabsOverflowBottom},[`&${Je}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Je}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Je}-ink-bar`]:{width:ze.lineWidthBold,"&-animated":{transition:`height ${ze.motionDurationSlow}, top ${ze.motionDurationSlow}`}},[`${Je}-nav-list, ${Je}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Je}-left`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${ze.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`},[`> ${Je}-content > ${Je}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:ze.paddingLG}}}},[`${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{order:1,[`${Je}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-ze.lineWidth},borderRight:{_skip_check_:!0,value:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`},[`> ${Je}-content > ${Je}-tabpane`]:{paddingRight:{_skip_check_:!0,value:ze.paddingLG}}}}}},Ci=ze=>{const{componentCls:Je,cardPaddingSM:et,cardPaddingLG:st,horizontalItemPaddingSM:Ct,horizontalItemPaddingLG:Bt}=ze;return{[Je]:{"&-small":{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:Ct,fontSize:ze.titleFontSizeSM}}},"&-large":{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:Bt,fontSize:ze.titleFontSizeLG}}}},[`${Je}-card`]:{[`&${Je}-small`]:{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:et}},[`&${Je}-bottom`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:`0 0 ${ze.borderRadius}px ${ze.borderRadius}px`}},[`&${Je}-top`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:`${ze.borderRadius}px ${ze.borderRadius}px 0 0`}},[`&${Je}-right`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ze.borderRadius}px ${ze.borderRadius}px 0`}}},[`&${Je}-left`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ze.borderRadius}px 0 0 ${ze.borderRadius}px`}}}},[`&${Je}-large`]:{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:st}}}}}},gi=ze=>{const{componentCls:Je,itemActiveColor:et,itemHoverColor:st,iconCls:Ct,tabsHorizontalItemMargin:Bt,horizontalItemPadding:Jt,itemSelectedColor:Tn,itemColor:Nn}=ze,Fr=`${Je}-tab`;return{[Fr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:Jt,fontSize:ze.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Nn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:et}},(0,Oi.Qy)(ze)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-ze.marginXXS},marginLeft:{_skip_check_:!0,value:ze.marginXS},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"&:hover":{color:ze.colorTextHeading}},"&:hover":{color:st},[`&${Fr}-active ${Fr}-btn`]:{color:Tn,textShadow:ze.tabsActiveTextShadow},[`&${Fr}-disabled`]:{color:ze.colorTextDisabled,cursor:"not-allowed"},[`&${Fr}-disabled ${Fr}-btn, &${Fr}-disabled ${Je}-remove`]:{"&:focus, &:active":{color:ze.colorTextDisabled}},[`& ${Fr}-remove ${Ct}`]:{margin:0},[Ct]:{marginRight:{_skip_check_:!0,value:ze.marginSM}}},[`${Fr} + ${Fr}`]:{margin:{_skip_check_:!0,value:Bt}}}},Ti=ze=>{const{componentCls:Je,tabsHorizontalItemMarginRTL:et,iconCls:st,cardGutter:Ct}=ze;return{[`${Je}-rtl`]:{direction:"rtl",[`${Je}-nav`]:{[`${Je}-tab`]:{margin:{_skip_check_:!0,value:et},[`${Je}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[st]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${ze.marginSM}px`}},[`${Je}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${ze.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${ze.marginXXS}px`},[st]:{margin:0}}}},[`&${Je}-left`]:{[`> ${Je}-nav`]:{order:1},[`> ${Je}-content-holder`]:{order:0}},[`&${Je}-right`]:{[`> ${Je}-nav`]:{order:0},[`> ${Je}-content-holder`]:{order:1}},[`&${Je}-card${Je}-top, &${Je}-card${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginRight:{_skip_check_:!0,value:Ct},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Je}-dropdown-rtl`]:{direction:"rtl"},[`${Je}-menu-item`]:{[`${Je}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},qi=ze=>{const{componentCls:Je,tabsCardPadding:et,cardHeight:st,cardGutter:Ct,itemHoverColor:Bt,itemActiveColor:Jt,colorBorderSecondary:Tn}=ze;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oi.Wf)(ze)),{display:"flex",[`> ${Je}-nav, > div > ${Je}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Je}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${ze.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Je}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${ze.motionDurationSlow}`},[`${Je}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Je}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Je}-nav-more`]:{position:"relative",padding:et,background:"transparent",border:0,color:ze.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:ze.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Je}-nav-add`]:Object.assign({minWidth:st,marginLeft:{_skip_check_:!0,value:Ct},padding:`0 ${ze.paddingXS}px`,background:"transparent",border:`${ze.lineWidth}px ${ze.lineType} ${Tn}`,borderRadius:`${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:ze.colorText,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`,"&:hover":{color:Bt},"&:active, &:focus:not(:focus-visible)":{color:Jt}},(0,Oi.Qy)(ze))},[`${Je}-extra-content`]:{flex:"none"},[`${Je}-ink-bar`]:{position:"absolute",background:ze.inkBarColor,pointerEvents:"none"}}),gi(ze)),{[`${Je}-content`]:{position:"relative",width:"100%"},[`${Je}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Je}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Je}-centered`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-nav-wrap`]:{[`&:not([class*='${Je}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var li=(0,Qt.Z)("Tabs",ze=>{const Je=(0,Zt.TS)(ze,{tabsCardPadding:ze.cardPadding||`${(ze.cardHeight-Math.round(ze.fontSize*ze.lineHeight))/2-ze.lineWidth}px ${ze.padding}px`,dropdownEdgeChildVerticalPadding:ze.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${ze.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${ze.horizontalItemGutter}px`});return[Ci(Je),Ti(Je),mi(Je),si(Je),Yr(Je),qi(Je),sr(Je)]},ze=>{const Je=ze.controlHeightLG;return{zIndexPopup:ze.zIndexPopupBase+50,cardBg:ze.colorFillAlter,cardHeight:Je,cardPadding:"",cardPaddingSM:`${ze.paddingXXS*1.5}px ${ze.padding}px`,cardPaddingLG:`${ze.paddingXS}px ${ze.padding}px ${ze.paddingXXS*1.5}px`,titleFontSize:ze.fontSize,titleFontSizeLG:ze.fontSizeLG,titleFontSizeSM:ze.fontSize,inkBarColor:ze.colorPrimary,horizontalMargin:`0 0 ${ze.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${ze.paddingSM}px 0`,horizontalItemPaddingSM:`${ze.paddingXS}px 0`,horizontalItemPaddingLG:`${ze.padding}px 0`,verticalItemPadding:`${ze.paddingXS}px ${ze.paddingLG}px`,verticalItemMargin:`${ze.margin}px 0 0 0`,itemColor:ze.colorText,itemSelectedColor:ze.colorPrimary,itemHoverColor:ze.colorPrimaryHover,itemActiveColor:ze.colorPrimaryActive,cardGutter:ze.marginXXS/2}}),Vi=function(ze,Je){var et={};for(var st in ze)Object.prototype.hasOwnProperty.call(ze,st)&&Je.indexOf(st)<0&&(et[st]=ze[st]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,st=Object.getOwnPropertySymbols(ze);Ct{const{type:Je,className:et,rootClassName:st,size:Ct,onEdit:Bt,hideAdd:Jt,centered:Tn,addIcon:Nn,popupClassName:Fr,children:Jr,items:Ar,animated:er,style:Wn,indicatorSize:ur}=ze,mr=Vi(ze,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Vr,moreIcon:Dr=Ie.createElement(Oe.Z,null)}=mr,{direction:Mr,tabs:Tr,getPrefixCls:Or,getPopupContainer:qr}=Ie.useContext(Qi.E_),Ue=Or("tabs",Vr),[tt,tn]=li(Ue);let Pt;Je==="editable-card"&&(Pt={onEdit:(ct,Lt)=>{let{key:dn,event:qn}=Lt;Bt==null||Bt(ct==="add"?qn:dn,ct)},removeIcon:Ie.createElement(ae.Z,null),addIcon:Nn||Ie.createElement(Re.Z,null),showAdd:Jt!==!0});const xn=Or(),Zn=Oa(Ar,Jr),Jn=ki(Ue,er),yr=(0,Ca.Z)(Ct),xt=Object.assign(Object.assign({},Tr==null?void 0:Tr.style),Wn);return tt(Ie.createElement(ra,Object.assign({direction:Mr,getPopupContainer:qr,moreTransitionName:`${xn}-slide-up`},mr,{items:Zn,className:ve()({[`${Ue}-${yr}`]:yr,[`${Ue}-card`]:["card","editable-card"].includes(Je),[`${Ue}-editable-card`]:Je==="editable-card",[`${Ue}-centered`]:Tn},Tr==null?void 0:Tr.className,et,st,tn),popupClassName:ve()(Fr,tn),style:xt,editable:Pt,moreIcon:Dr,prefixCls:Ue,animated:Jn,indicatorSize:ur!=null?ur:Tr==null?void 0:Tr.indicatorSize})))};ia.TabPane=Ri;var ta=ia},59810:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return zr}});var ae=ie(67294),Oe=ie(74902),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(15671),ke=ie(43144),ye=ie(60136),me=ie(51630),Le=ie(4942),mt=ie(45987),Ie=ie(74165),Xe=ie(71002),ot=ie(15861),dt=ie(64217);function nt(Rt,kt){var jt="cannot ".concat(Rt.method," ").concat(Rt.action," ").concat(kt.status,"'"),zn=new Error(jt);return zn.status=kt.status,zn.method=Rt.method,zn.url=Rt.action,zn}function Me(Rt){var kt=Rt.responseText||Rt.response;if(!kt)return kt;try{return JSON.parse(kt)}catch(jt){return kt}}function ut(Rt){var kt=new XMLHttpRequest;Rt.onProgress&&kt.upload&&(kt.upload.onprogress=function(Hn){Hn.total>0&&(Hn.percent=Hn.loaded/Hn.total*100),Rt.onProgress(Hn)});var jt=new FormData;Rt.data&&Object.keys(Rt.data).forEach(function(lr){var Hn=Rt.data[lr];if(Array.isArray(Hn)){Hn.forEach(function(_n){jt.append("".concat(lr,"[]"),_n)});return}jt.append(lr,Hn)}),Rt.file instanceof Blob?jt.append(Rt.filename,Rt.file,Rt.file.name):jt.append(Rt.filename,Rt.file),kt.onerror=function(Hn){Rt.onError(Hn)},kt.onload=function(){return kt.status<200||kt.status>=300?Rt.onError(nt(Rt,kt),Me(kt)):Rt.onSuccess(Me(kt),kt)},kt.open(Rt.method,Rt.action,!0),Rt.withCredentials&&"withCredentials"in kt&&(kt.withCredentials=!0);var zn=Rt.headers||{};return zn["X-Requested-With"]!==null&&kt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(zn).forEach(function(lr){zn[lr]!==null&&kt.setRequestHeader(lr,zn[lr])}),kt.send(jt),{abort:function(){kt.abort()}}}var Ut=+new Date,at=0;function ht(){return"rc-upload-".concat(Ut,"-").concat(++at)}var we=ie(80334),he=function(Rt,kt){if(Rt&&kt){var jt=Array.isArray(kt)?kt:kt.split(","),zn=Rt.name||"",lr=Rt.type||"",Hn=lr.replace(/\/.*$/,"");return jt.some(function(_n){var Gn=_n.trim();if(/^\*(\/\*)?$/.test(_n))return!0;if(Gn.charAt(0)==="."){var or=zn.toLowerCase(),Kr=Gn.toLowerCase(),Ln=[Kr];return(Kr===".jpg"||Kr===".jpeg")&&(Ln=[".jpg",".jpeg"]),Ln.some(function(Fi){return or.endsWith(Fi)})}return/\/\*$/.test(Gn)?Hn===Gn.replace(/\/.*$/,""):lr===Gn?!0:/^\w+$/.test(Gn)?((0,we.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Gn,"'.Skip for check.")),!0):!1})}return!0};function je(Rt,kt){var jt=Rt.createReader(),zn=[];function lr(){jt.readEntries(function(Hn){var _n=Array.prototype.slice.apply(Hn);zn=zn.concat(_n);var Gn=!_n.length;Gn?kt(zn):lr()})}lr()}var Ve=function(kt,jt,zn){var lr=function Hn(_n,Gn){_n&&(_n.path=Gn||"",_n.isFile?_n.file(function(or){zn(or)&&(_n.fullPath&&!or.webkitRelativePath&&(Object.defineProperties(or,{webkitRelativePath:{writable:!0}}),or.webkitRelativePath=_n.fullPath.replace(/^\//,""),Object.defineProperties(or,{webkitRelativePath:{writable:!1}})),jt([or]))}):_n.isDirectory&&je(_n,function(or){or.forEach(function(Kr){Hn(Kr,"".concat(Gn).concat(_n.name,"/"))})}))};kt.forEach(function(Hn){lr(Hn.webkitGetAsEntry())})},Ge=Ve,qe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ye=function(Rt){(0,ye.Z)(jt,Rt);var kt=(0,me.Z)(jt);function jt(){var zn;(0,Ee.Z)(this,jt);for(var lr=arguments.length,Hn=new Array(lr),_n=0;_n{let{uid:Hn}=lr;return Hn===Rt.uid});return zn===-1?jt.push(Rt):jt[zn]=Rt,jt}function Kt(Rt,kt){const jt=Rt.uid!==void 0?"uid":"name";return kt.filter(zn=>zn[jt]===Rt[jt])[0]}function nn(Rt,kt){const jt=Rt.uid!==void 0?"uid":"name",zn=kt.filter(lr=>lr[jt]!==Rt[jt]);return zn.length===kt.length?null:zn}const $t=function(){const kt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),zn=kt[kt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(zn)||[""])[0]},gr=Rt=>Rt.indexOf("image/")===0,kr=Rt=>{if(Rt.type&&!Rt.thumbUrl)return gr(Rt.type);const kt=Rt.thumbUrl||Rt.url||"",jt=$t(kt);return/^data:image\//.test(kt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(jt)?!0:!(/^data:/.test(kt)||jt)},rn=200;function gn(Rt){return new Promise(kt=>{if(!Rt.type||!gr(Rt.type)){kt("");return}const jt=document.createElement("canvas");jt.width=rn,jt.height=rn,jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${rn}px; height: ${rn}px; z-index: 9999; display: none;`,document.body.appendChild(jt);const zn=jt.getContext("2d"),lr=new Image;if(lr.onload=()=>{const{width:Hn,height:_n}=lr;let Gn=rn,or=rn,Kr=0,Ln=0;Hn>_n?(or=_n*(rn/Hn),Ln=-(or-Gn)/2):(Gn=Hn*(rn/_n),Kr=-(Gn-or)/2),zn.drawImage(lr,Kr,Ln,Gn,or);const Fi=jt.toDataURL();document.body.removeChild(jt),window.URL.revokeObjectURL(lr.src),kt(Fi)},lr.crossOrigin="anonymous",Rt.type.startsWith("image/svg+xml")){const Hn=new FileReader;Hn.onload=()=>{Hn.result&&(lr.src=Hn.result)},Hn.readAsDataURL(Rt)}else if(Rt.type.startsWith("image/gif")){const Hn=new FileReader;Hn.onload=()=>{Hn.result&&kt(Hn.result)},Hn.readAsDataURL(Rt)}else lr.src=window.URL.createObjectURL(Rt)})}var hr=ie(84249),Er=ie(90674),yt=ie(99569),It=ie(38703),$n=ie(83062),wr=ae.forwardRef((Rt,kt)=>{let{prefixCls:jt,className:zn,style:lr,locale:Hn,listType:_n,file:Gn,items:or,progress:Kr,iconRender:Ln,actionIconRender:Fi,itemRender:pi,isImgUrl:ha,showPreviewIcon:ra,showRemoveIcon:Qi,showDownloadIcon:Ca,previewIcon:Xi,removeIcon:Ri,downloadIcon:sa,onPreview:Da,onDownload:ki,onClose:Ji}=Rt;var Ea,_a;const{status:Oa}=Gn,[Oi,Qt]=ae.useState(Oa);ae.useEffect(()=>{Oa!=="removed"&&Qt(Oa)},[Oa]);const[Zt,Mn]=ae.useState(!1);ae.useEffect(()=>{const Ct=setTimeout(()=>{Mn(!0)},300);return()=>{clearTimeout(Ct)}},[]);const jn=Ln(Gn);let sr=ae.createElement("div",{className:`${jt}-icon`},jn);if(_n==="picture"||_n==="picture-card"||_n==="picture-circle")if(Oi==="uploading"||!Gn.thumbUrl&&!Gn.url){const Ct=Ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:Oi!=="uploading"});sr=ae.createElement("div",{className:Ct},jn)}else{const Ct=ha!=null&&ha(Gn)?ae.createElement("img",{src:Gn.thumbUrl||Gn.url,alt:Gn.name,className:`${jt}-list-item-image`,crossOrigin:Gn.crossOrigin}):jn,Bt=Ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:ha&&!ha(Gn)});sr=ae.createElement("a",{className:Bt,onClick:Jt=>Da(Gn,Jt),href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ct)}const Yr=Ze()(`${jt}-list-item`,`${jt}-list-item-${Oi}`),si=typeof Gn.linkProps=="string"?JSON.parse(Gn.linkProps):Gn.linkProps,mi=Qi?Fi((typeof Ri=="function"?Ri(Gn):Ri)||ae.createElement(hr.Z,null),()=>Ji(Gn),jt,Hn.removeFile):null,Ci=Ca&&Oi==="done"?Fi((typeof sa=="function"?sa(Gn):sa)||ae.createElement(Er.Z,null),()=>ki(Gn),jt,Hn.downloadFile):null,gi=_n!=="picture-card"&&_n!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:Ze()(`${jt}-list-item-actions`,{picture:_n==="picture"})},Ci,mi),Ti=Ze()(`${jt}-list-item-name`),qi=Gn.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ti,title:Gn.name},si,{href:Gn.url,onClick:Ct=>Da(Gn,Ct)}),Gn.name),gi]:[ae.createElement("span",{key:"view",className:Ti,onClick:Ct=>Da(Gn,Ct),title:Gn.name},Gn.name),gi],li={pointerEvents:"none",opacity:.5},Vi=ra?ae.createElement("a",{href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gn.url||Gn.thumbUrl?void 0:li,onClick:Ct=>Da(Gn,Ct),title:Hn.previewFile},typeof Xi=="function"?Xi(Gn):Xi||ae.createElement(yt.Z,null)):null,ia=(_n==="picture-card"||_n==="picture-circle")&&Oi!=="uploading"&&ae.createElement("span",{className:`${jt}-list-item-actions`},Vi,Oi==="done"&&Ci,mi),{getPrefixCls:ta}=ae.useContext(tr.E_),ze=ta(),Je=ae.createElement("div",{className:Yr},sr,qi,ia,Zt&&ae.createElement(pe.default,{motionName:`${ze}-fade`,visible:Oi==="uploading",motionDeadline:2e3},Ct=>{let{className:Bt}=Ct;const Jt="percent"in Gn?ae.createElement(It.Z,Object.assign({},Kr,{type:"line",percent:Gn.percent,"aria-label":Gn["aria-label"],"aria-labelledby":Gn["aria-labelledby"]})):null;return ae.createElement("div",{className:Ze()(`${jt}-list-item-progress`,Bt)},Jt)})),et=Gn.response&&typeof Gn.response=="string"?Gn.response:((Ea=Gn.error)===null||Ea===void 0?void 0:Ea.statusText)||((_a=Gn.error)===null||_a===void 0?void 0:_a.message)||Hn.uploadError,st=Oi==="error"?ae.createElement($n.Z,{title:et,getPopupContainer:Ct=>Ct.parentNode},Je):Je;return ae.createElement("div",{className:Ze()(`${jt}-list-item-container`,zn),style:lr,ref:kt},pi?pi(st,Gn,or,{download:ki.bind(null,Gn),preview:Da.bind(null,Gn),remove:Ji.bind(null,Gn)}):st)});const _r=(Rt,kt)=>{const{listType:jt="text",previewFile:zn=gn,onPreview:lr,onDownload:Hn,onRemove:_n,locale:Gn,iconRender:or,isImageUrl:Kr=kr,prefixCls:Ln,items:Fi=[],showPreviewIcon:pi=!0,showRemoveIcon:ha=!0,showDownloadIcon:ra=!1,removeIcon:Qi,previewIcon:Ca,downloadIcon:Xi,progress:Ri={size:[-1,2],showInfo:!1},appendAction:sa,appendActionVisible:Da=!0,itemRender:ki,disabled:Ji}=Rt,Ea=(0,de.Z)(),[_a,Oa]=ae.useState(!1);ae.useEffect(()=>{jt!=="picture"&&jt!=="picture-card"&&jt!=="picture-circle"||(Fi||[]).forEach(li=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(li.originFileObj instanceof File||li.originFileObj instanceof Blob)||li.thumbUrl!==void 0||(li.thumbUrl="",zn&&zn(li.originFileObj).then(Vi=>{li.thumbUrl=Vi||"",Ea()}))})},[jt,Fi,zn]),ae.useEffect(()=>{Oa(!0)},[]);const Oi=(li,Vi)=>{if(lr)return Vi==null||Vi.preventDefault(),lr(li)},Qt=li=>{typeof Hn=="function"?Hn(li):li.url&&window.open(li.url)},Zt=li=>{_n==null||_n(li)},Mn=li=>{if(or)return or(li,jt);const Vi=li.status==="uploading",ia=Kr&&Kr(li)?ae.createElement(ue,null):ae.createElement(Wt,null);let ta=Vi?ae.createElement(qt.Z,null):ae.createElement(kn,null);return jt==="picture"?ta=Vi?ae.createElement(qt.Z,null):ia:(jt==="picture-card"||jt==="picture-circle")&&(ta=Vi?Gn.uploading:ia),ta},jn=(li,Vi,ia,ta)=>{const ze={type:"text",size:"small",title:ta,onClick:Je=>{Vi(),(0,De.l$)(li)&&li.props.onClick&&li.props.onClick(Je)},className:`${ia}-list-item-action`,disabled:Ji};if((0,De.l$)(li)){const Je=(0,De.Tm)(li,Object.assign(Object.assign({},li.props),{onClick:()=>{}}));return ae.createElement(Ke.ZP,Object.assign({},ze,{icon:Je}))}return ae.createElement(Ke.ZP,Object.assign({},ze),ae.createElement("span",null,li))};ae.useImperativeHandle(kt,()=>({handlePreview:Oi,handleDownload:Qt}));const{getPrefixCls:sr}=ae.useContext(tr.E_),Yr=sr("upload",Ln),si=sr(),mi=Ze()(`${Yr}-list`,`${Yr}-list-${jt}`),Ci=(0,Oe.Z)(Fi.map(li=>({key:li.uid,file:li})));let Ti={motionDeadline:2e3,motionName:`${Yr}-${jt==="picture-card"||jt==="picture-circle"?"animate-inline":"animate"}`,keys:Ci,motionAppear:_a};const qi=ae.useMemo(()=>{const li=Object.assign({},(0,le.Z)(si));return delete li.onAppearEnd,delete li.onEnterEnd,delete li.onLeaveEnd,li},[si]);return jt!=="picture-card"&&jt!=="picture-circle"&&(Ti=Object.assign(Object.assign({},qi),Ti)),ae.createElement("div",{className:mi},ae.createElement(pe.CSSMotionList,Object.assign({},Ti,{component:!1}),li=>{let{key:Vi,file:ia,className:ta,style:ze}=li;return ae.createElement(wr,{key:Vi,locale:Gn,prefixCls:Yr,className:ta,style:ze,file:ia,items:Fi,progress:Ri,listType:jt,isImgUrl:Kr,showPreviewIcon:pi,showRemoveIcon:ha,showDownloadIcon:ra,removeIcon:Qi,previewIcon:Ca,downloadIcon:Xi,iconRender:Mn,actionIconRender:jn,itemRender:ki,onPreview:Oi,onDownload:Qt,onClose:Zt})}),sa&&ae.createElement(pe.default,Object.assign({},Ti,{visible:Da,forceRender:!0}),li=>{let{className:Vi,style:ia}=li;return(0,De.Tm)(sa,ta=>({className:Ze()(ta.className,Vi),style:Object.assign(Object.assign(Object.assign({},ia),{pointerEvents:Vi?"none":void 0}),ta.style)}))}))};var Xr=ae.forwardRef(_r),ri=ie(14747),fi=ie(33507),Cr=ie(67968),yi=ie(45503),oi=Rt=>{const{componentCls:kt,iconCls:jt}=Rt;return{[`${kt}-wrapper`]:{[`${kt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Rt.colorFillAlter,border:`${Rt.lineWidth}px dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[kt]:{padding:`${Rt.padding}px 0`},[`${kt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${kt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${kt}-disabled):hover`]:{borderColor:Rt.colorPrimaryHover},[`p${kt}-drag-icon`]:{marginBottom:Rt.margin,[jt]:{color:Rt.colorPrimary,fontSize:Rt.uploadThumbnailSize}},[`p${kt}-text`]:{margin:`0 0 ${Rt.marginXXS}px`,color:Rt.colorTextHeading,fontSize:Rt.fontSizeLG},[`p${kt}-hint`]:{color:Rt.colorTextDescription,fontSize:Rt.fontSize},[`&${kt}-disabled`]:{cursor:"not-allowed",[`p${kt}-drag-icon ${jt}, p${kt}-text, p${kt}-hint `]:{color:Rt.colorTextDisabled}}}}}},Di=Rt=>{const{componentCls:kt,antCls:jt,iconCls:zn,fontSize:lr,lineHeight:Hn}=Rt,_n=`${kt}-list-item`,Gn=`${_n}-actions`,or=`${_n}-action`,Kr=Math.round(lr*Hn);return{[`${kt}-wrapper`]:{[`${kt}-list`]:Object.assign(Object.assign({},(0,ri.dF)()),{lineHeight:Rt.lineHeight,[_n]:{position:"relative",height:Rt.lineHeight*lr,marginTop:Rt.marginXS,fontSize:lr,display:"flex",alignItems:"center",transition:`background-color ${Rt.motionDurationSlow}`,"&:hover":{backgroundColor:Rt.controlItemBgHover},[`${_n}-name`]:Object.assign(Object.assign({},ri.vS),{padding:`0 ${Rt.paddingXS}px`,lineHeight:Hn,flex:"auto",transition:`all ${Rt.motionDurationSlow}`}),[Gn]:{[or]:{opacity:0},[`${or}${jt}-btn-sm`]:{height:Kr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${or}:focus-visible, &.picture ${or} `]:{opacity:1},[zn]:{color:Rt.actionsColor,transition:`all ${Rt.motionDurationSlow}`},[`&:hover ${zn}`]:{color:Rt.colorText}},[`${kt}-icon ${zn}`]:{color:Rt.colorTextDescription,fontSize:lr},[`${_n}-progress`]:{position:"absolute",bottom:-Rt.uploadProgressOffset,width:"100%",paddingInlineStart:lr+Rt.paddingXS,fontSize:lr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${_n}:hover ${or}`]:{opacity:1,color:Rt.colorText},[`${_n}-error`]:{color:Rt.colorError,[`${_n}-name, ${kt}-icon ${zn}`]:{color:Rt.colorError},[Gn]:{[`${zn}, ${zn}:hover`]:{color:Rt.colorError},[or]:{opacity:1}}},[`${kt}-list-item-container`]:{transition:`opacity ${Rt.motionDurationSlow}, height ${Rt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ot=ie(45930),Nt=ie(16932);const cn=new Ot.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),bn=new Ot.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Fn=Rt=>{const{componentCls:kt}=Rt,jt=`${kt}-animate-inline`;return[{[`${kt}-wrapper`]:{[`${jt}-appear, ${jt}-enter, ${jt}-leave`]:{animationDuration:Rt.motionDurationSlow,animationTimingFunction:Rt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${jt}-appear, ${jt}-enter`]:{animationName:cn},[`${jt}-leave`]:{animationName:bn}}},{[`${kt}-wrapper`]:(0,Nt.J$)(Rt)},cn,bn]},ir=ie(47448),Xn=ie(84780);const pt=Rt=>{const{componentCls:kt,iconCls:jt,uploadThumbnailSize:zn,uploadProgressOffset:lr}=Rt,Hn=`${kt}-list`,_n=`${Hn}-item`;return{[`${kt}-wrapper`]:{[` ${Hn}${Hn}-picture, ${Hn}${Hn}-picture-card, ${Hn}${Hn}-picture-circle `]:{[_n]:{position:"relative",height:zn+Rt.lineWidth*2+Rt.paddingXS*2,padding:Rt.paddingXS,border:`${Rt.lineWidth}px ${Rt.lineType} ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,"&:hover":{background:"transparent"},[`${_n}-thumbnail`]:Object.assign(Object.assign({},ri.vS),{width:zn,height:zn,lineHeight:`${zn+Rt.paddingSM}px`,textAlign:"center",flex:"none",[jt]:{fontSize:Rt.fontSizeHeading2,color:Rt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${_n}-progress`]:{bottom:lr,width:`calc(100% - ${Rt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:zn+Rt.paddingXS}},[`${_n}-error`]:{borderColor:Rt.colorError,[`${_n}-thumbnail ${jt}`]:{[`svg path[fill='${ir.blue[0]}']`]:{fill:Rt.colorErrorBg},[`svg path[fill='${ir.blue.primary}']`]:{fill:Rt.colorError}}},[`${_n}-uploading`]:{borderStyle:"dashed",[`${_n}-name`]:{marginBottom:lr}}},[`${Hn}${Hn}-picture-circle ${_n}`]:{[`&, &::before, ${_n}-thumbnail`]:{borderRadius:"50%"}}}}},At=Rt=>{const{componentCls:kt,iconCls:jt,fontSizeLG:zn,colorTextLightSolid:lr}=Rt,Hn=`${kt}-list`,_n=`${Hn}-item`,Gn=Rt.uploadPicCardSize;return{[` ${kt}-wrapper${kt}-picture-card-wrapper, ${kt}-wrapper${kt}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,ri.dF)()),{display:"inline-block",width:"100%",[`${kt}${kt}-select`]:{width:Gn,height:Gn,marginInlineEnd:Rt.marginXS,marginBottom:Rt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Rt.colorFillAlter,border:`${Rt.lineWidth}px dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[`> ${kt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${kt}-disabled):hover`]:{borderColor:Rt.colorPrimary}},[`${Hn}${Hn}-picture-card, ${Hn}${Hn}-picture-circle`]:{[`${Hn}-item-container`]:{display:"inline-block",width:Gn,height:Gn,marginBlock:`0 ${Rt.marginXS}px`,marginInline:`0 ${Rt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[_n]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Rt.paddingXS*2}px)`,height:`calc(100% - ${Rt.paddingXS*2}px)`,backgroundColor:Rt.colorBgMask,opacity:0,transition:`all ${Rt.motionDurationSlow}`,content:'" "'}},[`${_n}:hover`]:{[`&::before, ${_n}-actions`]:{opacity:1}},[`${_n}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Rt.motionDurationSlow}`,[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{zIndex:10,width:zn,margin:`0 ${Rt.marginXXS}px`,fontSize:zn,cursor:"pointer",transition:`all ${Rt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${_n}-actions, ${_n}-actions:hover`]:{[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{color:new Xn.C(lr).setAlpha(.65).toRgbString(),"&:hover":{color:lr}}},[`${_n}-thumbnail, ${_n}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${_n}-name`]:{display:"none",textAlign:"center"},[`${_n}-file + ${_n}-name`]:{position:"absolute",bottom:Rt.margin,display:"block",width:`calc(100% - ${Rt.paddingXS*2}px)`},[`${_n}-uploading`]:{[`&${_n}`]:{backgroundColor:Rt.colorFillAlter},[`&::before, ${jt}-eye, ${jt}-download, ${jt}-delete`]:{display:"none"}},[`${_n}-progress`]:{bottom:Rt.marginXL,width:`calc(100% - ${Rt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${kt}-wrapper${kt}-picture-circle-wrapper`]:{[`${kt}${kt}-select`]:{borderRadius:"50%"}}}};var fn=Rt=>{const{componentCls:kt}=Rt;return{[`${kt}-rtl`]:{direction:"rtl"}}};const $e=Rt=>{const{componentCls:kt,colorTextDisabled:jt}=Rt;return{[`${kt}-wrapper`]:Object.assign(Object.assign({},(0,ri.Wf)(Rt)),{[kt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${kt}-select`]:{display:"inline-block"},[`${kt}-disabled`]:{color:jt,cursor:"not-allowed"}})}};var Ft=(0,Cr.Z)("Upload",Rt=>{const{fontSizeHeading3:kt,fontSize:jt,lineHeight:zn,lineWidth:lr,controlHeightLG:Hn}=Rt,_n=Math.round(jt*zn),Gn=(0,yi.TS)(Rt,{uploadThumbnailSize:kt*2,uploadProgressOffset:_n/2+lr,uploadPicCardSize:Hn*2.55});return[$e(Gn),oi(Gn),pt(Gn),At(Gn),Di(Gn),Fn(Gn),fn(Gn),(0,fi.Z)(Gn)]},Rt=>({actionsColor:Rt.colorTextDescription})),on=function(Rt,kt,jt,zn){function lr(Hn){return Hn instanceof jt?Hn:new jt(function(_n){_n(Hn)})}return new(jt||(jt=Promise))(function(Hn,_n){function Gn(Ln){try{Kr(zn.next(Ln))}catch(Fi){_n(Fi)}}function or(Ln){try{Kr(zn.throw(Ln))}catch(Fi){_n(Fi)}}function Kr(Ln){Ln.done?Hn(Ln.value):lr(Ln.value).then(Gn,or)}Kr((zn=zn.apply(Rt,kt||[])).next())})};const _t=`__LIST_IGNORE_${Date.now()}__`,En=(Rt,kt)=>{const{fileList:jt,defaultFileList:zn,onRemove:lr,showUploadList:Hn=!0,listType:_n="text",onPreview:Gn,onDownload:or,onChange:Kr,onDrop:Ln,previewFile:Fi,disabled:pi,locale:ha,iconRender:ra,isImageUrl:Qi,progress:Ca,prefixCls:Xi,className:Ri,type:sa="select",children:Da,style:ki,itemRender:Ji,maxCount:Ea,data:_a={},multiple:Oa=!1,action:Oi="",accept:Qt="",supportServerRender:Zt=!0,rootClassName:Mn}=Rt,jn=ae.useContext(it.Z),sr=pi!=null?pi:jn,[Yr,si]=(0,pn.Z)(zn||[],{value:jt,postState:Ue=>Ue!=null?Ue:[]}),[mi,Ci]=ae.useState("drop"),gi=ae.useRef(null);ae.useMemo(()=>{const Ue=Date.now();(jt||[]).forEach((tt,tn)=>{!tt.uid&&!Object.isFrozen(tt)&&(tt.uid=`__AUTO__${Ue}_${tn}__`)})},[jt]);const Ti=(Ue,tt,tn)=>{let Pt=(0,Oe.Z)(tt),xn=!1;Ea===1?Pt=Pt.slice(-1):Ea&&(xn=Pt.length>Ea,Pt=Pt.slice(0,Ea)),(0,Kn.flushSync)(()=>{si(Pt)});const Zn={file:Ue,fileList:Pt};tn&&(Zn.event=tn),(!xn||Pt.some(Jn=>Jn.uid===Ue.uid))&&(0,Kn.flushSync)(()=>{Kr==null||Kr(Zn)})},qi=(Ue,tt)=>on(void 0,void 0,void 0,function*(){const{beforeUpload:tn,transformFile:Pt}=Rt;let xn=Ue;if(tn){const Zn=yield tn(Ue,tt);if(Zn===!1)return!1;if(delete Ue[_t],Zn===_t)return Object.defineProperty(Ue,_t,{value:!0,configurable:!0}),!1;typeof Zn=="object"&&Zn&&(xn=Zn)}return Pt&&(xn=yield Pt(xn)),xn}),li=Ue=>{const tt=Ue.filter(xn=>!xn.file[_t]);if(!tt.length)return;const tn=tt.map(xn=>Et(xn.file));let Pt=(0,Oe.Z)(Yr);tn.forEach(xn=>{Pt=Yt(xn,Pt)}),tn.forEach((xn,Zn)=>{let Jn=xn;if(tt[Zn].parsedFile)xn.status="uploading";else{const{originFileObj:yr}=xn;let xt;try{xt=new File([yr],yr.name,{type:yr.type})}catch(ct){xt=new Blob([yr],{type:yr.type}),xt.name=yr.name,xt.lastModifiedDate=new Date,xt.lastModified=new Date().getTime()}xt.uid=xn.uid,Jn=xt}Ti(Jn,Pt)})},Vi=(Ue,tt,tn)=>{try{typeof Ue=="string"&&(Ue=JSON.parse(Ue))}catch(Zn){}if(!Kt(tt,Yr))return;const Pt=Et(tt);Pt.status="done",Pt.percent=100,Pt.response=Ue,Pt.xhr=tn;const xn=Yt(Pt,Yr);Ti(Pt,xn)},ia=(Ue,tt)=>{if(!Kt(tt,Yr))return;const tn=Et(tt);tn.status="uploading",tn.percent=Ue.percent;const Pt=Yt(tn,Yr);Ti(tn,Pt,Ue)},ta=(Ue,tt,tn)=>{if(!Kt(tn,Yr))return;const Pt=Et(tn);Pt.error=Ue,Pt.response=tt,Pt.status="error";const xn=Yt(Pt,Yr);Ti(Pt,xn)},ze=Ue=>{let tt;Promise.resolve(typeof lr=="function"?lr(Ue):lr).then(tn=>{var Pt;if(tn===!1)return;const xn=nn(Ue,Yr);xn&&(tt=Object.assign(Object.assign({},Ue),{status:"removed"}),Yr==null||Yr.forEach(Zn=>{const Jn=tt.uid!==void 0?"uid":"name";Zn[Jn]===tt[Jn]&&!Object.isFrozen(Zn)&&(Zn.status="removed")}),(Pt=gi.current)===null||Pt===void 0||Pt.abort(tt),Ti(tt,xn))})},Je=Ue=>{Ci(Ue.type),Ue.type==="drop"&&(Ln==null||Ln(Ue))};ae.useImperativeHandle(kt,()=>({onBatchStart:li,onSuccess:Vi,onProgress:ia,onError:ta,fileList:Yr,upload:gi.current}));const{getPrefixCls:et,direction:st,upload:Ct}=ae.useContext(tr.E_),Bt=et("upload",Xi),Jt=Object.assign(Object.assign({onBatchStart:li,onError:ta,onProgress:ia,onSuccess:Vi},Rt),{data:_a,multiple:Oa,action:Oi,accept:Qt,supportServerRender:Zt,prefixCls:Bt,disabled:sr,beforeUpload:qi,onChange:void 0});delete Jt.className,delete Jt.style,(!Da||sr)&&delete Jt.id;const[Tn,Nn]=Ft(Bt),[Fr]=(0,Ce.Z)("Upload",wt.Z.Upload),{showRemoveIcon:Jr,showPreviewIcon:Ar,showDownloadIcon:er,removeIcon:Wn,previewIcon:ur,downloadIcon:mr}=typeof Hn=="boolean"?{}:Hn,Vr=(Ue,tt)=>Hn?ae.createElement(Xr,{prefixCls:Bt,listType:_n,items:Yr,previewFile:Fi,onPreview:Gn,onDownload:or,onRemove:ze,showRemoveIcon:!sr&&Jr,showPreviewIcon:Ar,showDownloadIcon:er,removeIcon:Wn,previewIcon:ur,downloadIcon:mr,iconRender:ra,locale:Object.assign(Object.assign({},Fr),ha),isImageUrl:Qi,progress:Ca,appendAction:Ue,appendActionVisible:tt,itemRender:Ji,disabled:sr}):Ue,Dr=Ze()(`${Bt}-wrapper`,Ri,Mn,Nn,Ct==null?void 0:Ct.className,{[`${Bt}-rtl`]:st==="rtl",[`${Bt}-picture-card-wrapper`]:_n==="picture-card",[`${Bt}-picture-circle-wrapper`]:_n==="picture-circle"}),Mr=Object.assign(Object.assign({},Ct==null?void 0:Ct.style),ki);if(sa==="drag"){const Ue=Ze()(Nn,Bt,`${Bt}-drag`,{[`${Bt}-drag-uploading`]:Yr.some(tt=>tt.status==="uploading"),[`${Bt}-drag-hover`]:mi==="dragover",[`${Bt}-disabled`]:sr,[`${Bt}-rtl`]:st==="rtl"});return Tn(ae.createElement("span",{className:Dr},ae.createElement("div",{className:Ue,style:Mr,onDrop:Je,onDragOver:Je,onDragLeave:Je},ae.createElement(Dt,Object.assign({},Jt,{ref:gi,className:`${Bt}-btn`}),ae.createElement("div",{className:`${Bt}-drag-container`},Da))),Vr()))}const Tr=Ze()(Bt,`${Bt}-select`,{[`${Bt}-disabled`]:sr}),qr=(Ue=>ae.createElement("div",{className:Tr,style:Ue},ae.createElement(Dt,Object.assign({},Jt,{ref:gi}))))(Da?void 0:{display:"none"});return Tn(_n==="picture-card"||_n==="picture-circle"?ae.createElement("span",{className:Dr},Vr(qr,!!Da)):ae.createElement("span",{className:Dr},qr,Vr()))};var Bn=ae.forwardRef(En),Qr=function(Rt,kt){var jt={};for(var zn in Rt)Object.prototype.hasOwnProperty.call(Rt,zn)&&kt.indexOf(zn)<0&&(jt[zn]=Rt[zn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lr=0,zn=Object.getOwnPropertySymbols(Rt);lr{var{style:jt,height:zn}=Rt,lr=Qr(Rt,["style","height"]);return ae.createElement(Bn,Object.assign({ref:kt},lr,{type:"drag",style:Object.assign(Object.assign({},jt),{height:zn})}))});const jr=Bn;jr.Dragger=Sr,jr.LIST_IGNORE=_t;var zr=jr},97909:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en=1e3,ie=6e4,ae=36e5,Oe="millisecond",Re="second",Ze="minute",ve="hour",Ee="day",ke="week",ye="month",me="quarter",Le="year",mt="date",Ie="Invalid Date",Xe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,dt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(qe){var Ye=["th","st","nd","rd"],We=qe%100;return"["+qe+(Ye[(We-20)%10]||Ye[We]||Ye[0])+"]"}},nt=function(qe,Ye,We){var St=String(qe);return!St||St.length>=Ye?qe:""+Array(Ye+1-St.length).join(We)+qe},Me={s:nt,z:function(qe){var Ye=-qe.utcOffset(),We=Math.abs(Ye),St=Math.floor(We/60),lt=We%60;return(Ye<=0?"+":"-")+nt(St,2,"0")+":"+nt(lt,2,"0")},m:function qe(Ye,We){if(Ye.date()1)return qe(Dt[0])}else{var pn=Ye.name;Ut[pn]=Ye,lt=pn}return!St&<&&(ut=lt),lt||!St&&ut},he=function(qe,Ye){if(ht(qe))return qe.clone();var We=typeof Ye=="object"?Ye:{};return We.date=qe,We.args=arguments,new Ve(We)},je=Me;je.l=we,je.i=ht,je.w=function(qe,Ye){return he(qe,{locale:Ye.$L,utc:Ye.$u,x:Ye.$x,$offset:Ye.$offset})};var Ve=function(){function qe(We){this.$L=we(We.locale,null,!0),this.parse(We),this.$x=this.$x||We.x||{},this[at]=!0}var Ye=qe.prototype;return Ye.parse=function(We){this.$d=function(St){var lt=St.date,zt=St.utc;if(lt===null)return new Date(NaN);if(je.u(lt))return new Date;if(lt instanceof Date)return new Date(lt);if(typeof lt=="string"&&!/Z$/i.test(lt)){var Dt=lt.match(Xe);if(Dt){var pn=Dt[2]-1||0,Kn=(Dt[7]||"0").substring(0,3);return zt?new Date(Date.UTC(Dt[1],pn,Dt[3]||1,Dt[4]||0,Dt[5]||0,Dt[6]||0,Kn)):new Date(Dt[1],pn,Dt[3]||1,Dt[4]||0,Dt[5]||0,Dt[6]||0,Kn)}}return new Date(lt)}(We),this.init()},Ye.init=function(){var We=this.$d;this.$y=We.getFullYear(),this.$M=We.getMonth(),this.$D=We.getDate(),this.$W=We.getDay(),this.$H=We.getHours(),this.$m=We.getMinutes(),this.$s=We.getSeconds(),this.$ms=We.getMilliseconds()},Ye.$utils=function(){return je},Ye.isValid=function(){return this.$d.toString()!==Ie},Ye.isSame=function(We,St){var lt=he(We);return this.startOf(St)<=lt&<<=this.endOf(St)},Ye.isAfter=function(We,St){return he(We)68?1900:2e3)},Ee=function(Ie){return function(Xe){this[Ie]=+Xe}},ke=[/[+-]\d\d:?(\d\d)?|Z/,function(Ie){(this.zone||(this.zone={})).offset=function(Xe){if(!Xe||Xe==="Z")return 0;var ot=Xe.match(/([+-]|\d\d)/g),dt=60*ot[1]+(+ot[2]||0);return dt===0?0:ot[0]==="+"?-dt:dt}(Ie)}],ye=function(Ie){var Xe=Ze[Ie];return Xe&&(Xe.indexOf?Xe:Xe.s.concat(Xe.f))},me=function(Ie,Xe){var ot,dt=Ze.meridiem;if(dt){for(var nt=1;nt<=24;nt+=1)if(Ie.indexOf(dt(nt,0,Xe))>-1){ot=nt>12;break}}else ot=Ie===(Xe?"pm":"PM");return ot},Le={A:[Re,function(Ie){this.afternoon=me(Ie,!1)}],a:[Re,function(Ie){this.afternoon=me(Ie,!0)}],S:[/\d/,function(Ie){this.milliseconds=100*+Ie}],SS:[ae,function(Ie){this.milliseconds=10*+Ie}],SSS:[/\d{3}/,function(Ie){this.milliseconds=+Ie}],s:[Oe,Ee("seconds")],ss:[Oe,Ee("seconds")],m:[Oe,Ee("minutes")],mm:[Oe,Ee("minutes")],H:[Oe,Ee("hours")],h:[Oe,Ee("hours")],HH:[Oe,Ee("hours")],hh:[Oe,Ee("hours")],D:[Oe,Ee("day")],DD:[ae,Ee("day")],Do:[Re,function(Ie){var Xe=Ze.ordinal,ot=Ie.match(/\d+/);if(this.day=ot[0],Xe)for(var dt=1;dt<=31;dt+=1)Xe(dt).replace(/\[|\]/g,"")===Ie&&(this.day=dt)}],M:[Oe,Ee("month")],MM:[ae,Ee("month")],MMM:[Re,function(Ie){var Xe=ye("months"),ot=(ye("monthsShort")||Xe.map(function(dt){return dt.slice(0,3)})).indexOf(Ie)+1;if(ot<1)throw new Error;this.month=ot%12||ot}],MMMM:[Re,function(Ie){var Xe=ye("months").indexOf(Ie)+1;if(Xe<1)throw new Error;this.month=Xe%12||Xe}],Y:[/[+-]?\d+/,Ee("year")],YY:[ae,function(Ie){this.year=ve(Ie)}],YYYY:[/\d{4}/,Ee("year")],Z:ke,ZZ:ke};function mt(Ie){var Xe,ot;Xe=Ie,ot=Ze&&Ze.formats;for(var dt=(Ie=Xe.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(we,he,je){var Ve=je&&je.toUpperCase();return he||ot[je]||en[je]||ot[Ve].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ge,qe,Ye){return qe||Ye.slice(1)})})).match(ie),nt=dt.length,Me=0;Me-1)return new Date((St==="X"?1e3:1)*We);var zt=mt(St)(We),Dt=zt.year,pn=zt.month,Kn=zt.day,tr=zt.hours,it=zt.minutes,Ce=zt.seconds,wt=zt.milliseconds,An=zt.zone,Tt=new Date,rt=Kn||(Dt||pn?1:Tt.getDate()),ft=Dt||Tt.getFullYear(),Wt=0;Dt&&!pn||(Wt=pn>0?pn-1:Tt.getMonth());var qt=tr||0,Xt=it||0,Ht=Ce||0,un=wt||0;return An?new Date(Date.UTC(ft,Wt,rt,qt,Xt,Ht,un+60*An.offset*1e3)):lt?new Date(Date.UTC(ft,Wt,rt,qt,Xt,Ht,un)):new Date(ft,Wt,rt,qt,Xt,Ht,un)}catch(kn){return new Date("")}}(ut,ht,Ut),this.init(),Ve&&Ve!==!0&&(this.$L=this.locale(Ve).$L),je&&ut!=this.format(ht)&&(this.$d=new Date("")),Ze={}}else if(ht instanceof Array)for(var Ge=ht.length,qe=1;qe<=Ge;qe+=1){at[1]=ht[qe-1];var Ye=ot.apply(this,at);if(Ye.isValid()){this.$d=Ye.$d,this.$L=Ye.$L,this.init();break}qe===Ge&&(this.$d=new Date(""))}else nt.call(this,Me)}}})},26850:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie,ae){var Oe=ie.prototype,Re=function(ye){return ye&&(ye.indexOf?ye:ye.s)},Ze=function(ye,me,Le,mt,Ie){var Xe=ye.name?ye:ye.$locale(),ot=Re(Xe[me]),dt=Re(Xe[Le]),nt=ot||dt.map(function(ut){return ut.slice(0,mt)});if(!Ie)return nt;var Me=Xe.weekStart;return nt.map(function(ut,Ut){return nt[(Ut+(Me||0))%7]})},ve=function(){return ae.Ls[ae.locale()]},Ee=function(ye,me){return ye.formats[me]||function(Le){return Le.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(mt,Ie,Xe){return Ie||Xe.slice(1)})}(ye.formats[me.toUpperCase()])},ke=function(){var ye=this;return{months:function(me){return me?me.format("MMMM"):Ze(ye,"months")},monthsShort:function(me){return me?me.format("MMM"):Ze(ye,"monthsShort","months",3)},firstDayOfWeek:function(){return ye.$locale().weekStart||0},weekdays:function(me){return me?me.format("dddd"):Ze(ye,"weekdays")},weekdaysMin:function(me){return me?me.format("dd"):Ze(ye,"weekdaysMin","weekdays",2)},weekdaysShort:function(me){return me?me.format("ddd"):Ze(ye,"weekdaysShort","weekdays",3)},longDateFormat:function(me){return Ee(ye.$locale(),me)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};Oe.localeData=function(){return ke.bind(this)()},ae.localeData=function(){var ye=ve();return{firstDayOfWeek:function(){return ye.weekStart||0},weekdays:function(){return ae.weekdays()},weekdaysShort:function(){return ae.weekdaysShort()},weekdaysMin:function(){return ae.weekdaysMin()},months:function(){return ae.months()},monthsShort:function(){return ae.monthsShort()},longDateFormat:function(me){return Ee(ye,me)},meridiem:ye.meridiem,ordinal:ye.ordinal}},ae.months=function(){return Ze(ve(),"months")},ae.monthsShort=function(){return Ze(ve(),"monthsShort","months",3)},ae.weekdays=function(ye){return Ze(ve(),"weekdays",null,null,ye)},ae.weekdaysShort=function(ye){return Ze(ve(),"weekdaysShort","weekdays",3,ye)},ae.weekdaysMin=function(ye){return Ze(ve(),"weekdaysMin","weekdays",2,ye)}}})},23082:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en="week",ie="year";return function(ae,Oe,Re){var Ze=Oe.prototype;Ze.week=function(ve){if(ve===void 0&&(ve=null),ve!==null)return this.add(7*(ve-this.week()),"day");var Ee=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var ke=Re(this).startOf(ie).add(1,ie).date(Ee),ye=Re(this).endOf(en);if(ke.isBefore(ye))return 1}var me=Re(this).startOf(ie).date(Ee).startOf(en).subtract(1,"millisecond"),Le=this.diff(me,en,!0);return Le<0?Re(this).startOf("week").week():Math.ceil(Le)},Ze.weeks=function(ve){return ve===void 0&&(ve=null),this.week(ve)}}})},99873:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie){ie.prototype.weekYear=function(){var ae=this.month(),Oe=this.week(),Re=this.year();return Oe===1&&ae===11?Re+1:ae===0&&Oe>=52?Re-1:Re}}})},33088:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie){ie.prototype.weekday=function(ae){var Oe=this.$locale().weekStart||0,Re=this.$W,Ze=(Re1&&arguments[1]!==void 0?arguments[1]:1;je+=1;var yn=je;function Fe(ce){if(ce===0)Ge(yn),un();else{var ue=we(function(){Fe(ce-1)});Ve.set(yn,ue)}}return Fe(kn),yn};qe.cancel=function(Ht){var un=Ve.get(Ht);return Ge(un),he(un)};var Ye=qe,We=` 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; `,St=["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"],lt={},zt;function Dt(Ht){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=Ht.getAttribute("id")||Ht.getAttribute("data-reactid")||Ht.getAttribute("name");if(un&<[kn])return lt[kn];var yn=window.getComputedStyle(Ht),Fe=yn.getPropertyValue("box-sizing")||yn.getPropertyValue("-moz-box-sizing")||yn.getPropertyValue("-webkit-box-sizing"),ce=parseFloat(yn.getPropertyValue("padding-bottom"))+parseFloat(yn.getPropertyValue("padding-top")),ue=parseFloat(yn.getPropertyValue("border-bottom-width"))+parseFloat(yn.getPropertyValue("border-top-width")),pe=St.map(function(le){return"".concat(le,":").concat(yn.getPropertyValue(le))}).join(";"),de={sizingStyle:pe,paddingSize:ce,borderSize:ue,boxSizing:Fe};return un&&kn&&(lt[kn]=de),de}function pn(Ht){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,yn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;zt||(zt=document.createElement("textarea"),zt.setAttribute("tab-index","-1"),zt.setAttribute("aria-hidden","true"),document.body.appendChild(zt)),Ht.getAttribute("wrap")?zt.setAttribute("wrap",Ht.getAttribute("wrap")):zt.removeAttribute("wrap");var Fe=Dt(Ht,un),ce=Fe.paddingSize,ue=Fe.borderSize,pe=Fe.boxSizing,de=Fe.sizingStyle;zt.setAttribute("style","".concat(de,";").concat(We)),zt.value=Ht.value||Ht.placeholder||"";var le=void 0,De=void 0,Ke,Et=zt.scrollHeight;if(pe==="border-box"?Et+=ue:pe==="content-box"&&(Et-=ce),kn!==null||yn!==null){zt.value=" ";var Yt=zt.scrollHeight-ce;kn!==null&&(le=Yt*kn,pe==="border-box"&&(le=le+ce+ue),Et=Math.max(le,Et)),yn!==null&&(De=Yt*yn,pe==="border-box"&&(De=De+ce+ue),Ke=Et>De?"":"hidden",Et=Math.min(De,Et))}var Kt={height:Et,overflowY:Ke,resize:"none"};return le&&(Kt.minHeight=le),De&&(Kt.maxHeight=De),Kt}var Kn=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],tr=0,it=1,Ce=2,wt=Ie.forwardRef(function(Ht,un){var kn=Ht,yn=kn.prefixCls,Fe=kn.onPressEnter,ce=kn.defaultValue,ue=kn.value,pe=kn.autoSize,de=kn.onResize,le=kn.className,De=kn.style,Ke=kn.disabled,Et=kn.onChange,Yt=kn.onInternalAutoSize,Kt=(0,Ee.Z)(kn,Kn),nn=at(ce,{value:ue,postState:function(bn){return bn!=null?bn:""}}),$t=(0,ve.Z)(nn,2),gr=$t[0],kr=$t[1],rn=function(bn){kr(bn.target.value),Et==null||Et(bn)},gn=Ie.useRef();Ie.useImperativeHandle(un,function(){return{textArea:gn.current}});var hr=Ie.useMemo(function(){return pe&&(0,Ze.Z)(pe)==="object"?[pe.minRows,pe.maxRows]:[]},[pe]),Er=(0,ve.Z)(hr,2),yt=Er[0],It=Er[1],$n=!!pe,Qn=function(){try{if(document.activeElement===gn.current){var bn=gn.current,rr=bn.selectionStart,Fn=bn.selectionEnd,ir=bn.scrollTop;gn.current.setSelectionRange(rr,Fn),gn.current.scrollTop=ir}}catch(Xn){}},wr=Ie.useState(Ce),_r=(0,ve.Z)(wr,2),ei=_r[0],Xr=_r[1],ri=Ie.useState(),fi=(0,ve.Z)(ri,2),Cr=fi[0],yi=fi[1],Gi=function(){Xr(tr)};nt(function(){$n&&Gi()},[ue,yt,It,$n]),nt(function(){if(ei===tr)Xr(it);else if(ei===it){var cn=pn(gn.current,!1,yt,It);Xr(Ce),yi(cn)}else Qn()},[ei]);var oi=Ie.useRef(),ea=function(){Ye.cancel(oi.current)},Di=function(bn){ei===Ce&&(de==null||de(bn),pe&&(ea(),oi.current=Ye(function(){Gi()})))};Ie.useEffect(function(){return ea},[]);var Ot=$n?Cr:null,Nt=(0,Oe.Z)((0,Oe.Z)({},De),Ot);return(ei===tr||ei===it)&&(Nt.overflowY="hidden",Nt.overflowX="hidden"),Ie.createElement(ht.Z,{onResize:Di,disabled:!(pe||de)},Ie.createElement("textarea",(0,ae.Z)({},Kt,{ref:gn,style:Nt,className:me()(yn,le,(0,Re.Z)({},"".concat(yn,"-disabled"),Ke)),disabled:Ke,value:gr,onChange:rn})))}),An=wt,Tt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function rt(Ht,un){return(0,ke.Z)(Ht||"").slice(0,un).join("")}function ft(Ht,un,kn,yn){var Fe=kn;return Ht?Fe=rt(kn,yn):(0,ke.Z)(un||"").lengthyn&&(Fe=un),Fe}var Wt=Ie.forwardRef(function(Ht,un){var kn,yn=Ht.defaultValue,Fe=Ht.value,ce=Ht.onFocus,ue=Ht.onBlur,pe=Ht.onChange,de=Ht.allowClear,le=Ht.maxLength,De=Ht.onCompositionStart,Ke=Ht.onCompositionEnd,Et=Ht.suffix,Yt=Ht.prefixCls,Kt=Yt===void 0?"rc-textarea":Yt,nn=Ht.classes,$t=Ht.showCount,gr=Ht.className,kr=Ht.style,rn=Ht.disabled,gn=Ht.hidden,hr=Ht.classNames,Er=Ht.styles,yt=Ht.onResize,It=(0,Ee.Z)(Ht,Tt),$n=at(yn,{value:Fe,defaultValue:yn}),Qn=(0,ve.Z)($n,2),wr=Qn[0],_r=Qn[1],ei=(0,Ie.useRef)(null),Xr=Ie.useState(!1),ri=(0,ve.Z)(Xr,2),fi=ri[0],Cr=ri[1],yi=Ie.useState(!1),Gi=(0,ve.Z)(yi,2),oi=Gi[0],ea=Gi[1],Di=Ie.useRef(),Ot=Ie.useRef(0),Nt=Ie.useState(null),cn=(0,ve.Z)(Nt,2),bn=cn[0],rr=cn[1],Fn=function(){var jr;(jr=ei.current)===null||jr===void 0||jr.textArea.focus()};(0,Ie.useImperativeHandle)(un,function(){return{resizableTextArea:ei.current,focus:Fn,blur:function(){var jr;(jr=ei.current)===null||jr===void 0||jr.textArea.blur()}}}),(0,Ie.useEffect)(function(){Cr(function(Sr){return!rn&&Sr})},[rn]);var ir=Number(le)>0,Xn=function(jr){ea(!0),Di.current=wr,Ot.current=jr.currentTarget.selectionStart,De==null||De(jr)},pt=function(jr){ea(!1);var zr=jr.currentTarget.value;if(ir){var Rt,kt=Ot.current>=le+1||Ot.current===((Rt=Di.current)===null||Rt===void 0?void 0:Rt.length);zr=ft(kt,Di.current,zr,le)}zr!==wr&&(_r(zr),(0,mt.rJ)(jr.currentTarget,jr,pe,zr)),Ke==null||Ke(jr)},At=function(jr){var zr=jr.target.value;if(!oi&&ir){var Rt=jr.target.selectionStart>=le+1||jr.target.selectionStart===zr.length||!jr.target.selectionStart;zr=ft(Rt,wr,zr,le)}_r(zr),(0,mt.rJ)(jr.currentTarget,jr,pe,zr)},Mt=function(jr){var zr=It.onPressEnter,Rt=It.onKeyDown;jr.key==="Enter"&&zr&&zr(jr),Rt==null||Rt(jr)},fn=function(jr){Cr(!0),ce==null||ce(jr)},$e=function(jr){Cr(!1),ue==null||ue(jr)},Ft=function(jr){var zr;_r(""),Fn(),(0,mt.rJ)((zr=ei.current)===null||zr===void 0?void 0:zr.textArea,jr,pe)},on=(0,mt.D7)(wr);!oi&&ir&&Fe==null&&(on=rt(on,le));var _t=Et,En;if($t){var Sn=(0,ke.Z)(on).length;(0,Ze.Z)($t)==="object"?En=$t.formatter({value:on,count:Sn,maxLength:le}):En="".concat(Sn).concat(ir?" / ".concat(le):""),_t=Ie.createElement(Ie.Fragment,null,_t,Ie.createElement("span",{className:me()("".concat(Kt,"-data-count"),hr==null?void 0:hr.count),style:Er==null?void 0:Er.count},En))}var Bn=function(jr){var zr;yt==null||yt(jr),(zr=ei.current)!==null&&zr!==void 0&&zr.textArea.style.height&&rr(!0)},Qr=!It.autoSize&&!$t&&!de,Lr=Ie.createElement(Le.BaseInput,{value:on,allowClear:de,handleReset:Ft,suffix:_t,prefixCls:Kt,classes:{affixWrapper:me()(nn==null?void 0:nn.affixWrapper,(kn={},(0,Re.Z)(kn,"".concat(Kt,"-show-count"),$t),(0,Re.Z)(kn,"".concat(Kt,"-textarea-allow-clear"),de),kn))},disabled:rn,focused:fi,className:gr,style:(0,Oe.Z)((0,Oe.Z)({},kr),bn&&!Qr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof En=="string"?En:void 0}},hidden:gn,inputElement:Ie.createElement(An,(0,ae.Z)({},It,{onKeyDown:Mt,onChange:At,onFocus:fn,onBlur:$e,onCompositionStart:Xn,onCompositionEnd:pt,className:hr==null?void 0:hr.textarea,style:(0,Oe.Z)((0,Oe.Z)({},Er==null?void 0:Er.textarea),{},{resize:kr==null?void 0:kr.resize}),disabled:rn,prefixCls:Kt,onResize:Bn,ref:ei}))});return Lr}),qt=Wt,Xt=qt},92389:function(mn,en){"use strict";var ie={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Re=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Re>=ie.F1&&Re<=ie.F12)return!1;switch(Re){case ie.ALT:case ie.CAPS_LOCK:case ie.CONTEXT_MENU:case ie.CTRL:case ie.DOWN:case ie.END:case ie.ESC:case ie.HOME:case ie.INSERT:case ie.LEFT:case ie.MAC_FF_META:case ie.META:case ie.NUMLOCK:case ie.NUM_CENTER:case ie.PAGE_DOWN:case ie.PAGE_UP:case ie.PAUSE:case ie.PRINT_SCREEN:case ie.RIGHT:case ie.SHIFT:case ie.UP:case ie.WIN_KEY:case ie.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=ie.ZERO&&Oe<=ie.NINE||Oe>=ie.NUM_ZERO&&Oe<=ie.NUM_MULTIPLY||Oe>=ie.A&&Oe<=ie.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case ie.SPACE:case ie.QUESTION_MARK:case ie.NUM_PLUS:case ie.NUM_MINUS:case ie.NUM_PERIOD:case ie.NUM_DIVISION:case ie.SEMICOLON:case ie.DASH:case ie.EQUALS:case ie.COMMA:case ie.PERIOD:case ie.SLASH:case ie.APOSTROPHE:case ie.SINGLE_QUOTE:case ie.OPEN_SQUARE_BRACKET:case ie.BACKSLASH:case ie.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};en.Z=ie},1337:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(1413),Oe=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,Re=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ze="".concat(Oe," ").concat(Re).split(/[\s\n]+/),ve="aria-",Ee="data-";function ke(me,Le){return me.indexOf(Le)===0}function ye(me){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt;Le===!1?mt={aria:!0,data:!0,attr:!0}:Le===!0?mt={aria:!0}:mt=(0,ae.Z)({},Le);var Ie={};return Object.keys(me).forEach(function(Xe){(mt.aria&&(Xe==="role"||ke(Xe,ve))||mt.data&&ke(Xe,Ee)||mt.attr&&Ze.includes(Xe))&&(Ie[Xe]=me[Xe])}),Ie}},88386:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){ae.defineOption("placeholder","",function(ye,me,Le){var mt=Le&&Le!=ae.Init;if(me&&!mt)ye.on("blur",ve),ye.on("change",Ee),ye.on("swapDoc",Ee),ae.on(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose=function(){Ze(ye)}),Ee(ye);else if(!me&&mt){ye.off("blur",ve),ye.off("change",Ee),ye.off("swapDoc",Ee),ae.off(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose),Oe(ye);var Ie=ye.getWrapperElement();Ie.className=Ie.className.replace(" CodeMirror-empty","")}me&&!ye.hasFocus()&&ve(ye)});function Oe(ye){ye.state.placeholder&&(ye.state.placeholder.parentNode.removeChild(ye.state.placeholder),ye.state.placeholder=null)}function Re(ye){Oe(ye);var me=ye.state.placeholder=document.createElement("pre");me.style.cssText="height: 0; overflow: visible",me.style.direction=ye.getOption("direction"),me.className="CodeMirror-placeholder CodeMirror-line-like";var Le=ye.getOption("placeholder");typeof Le=="string"&&(Le=document.createTextNode(Le)),me.appendChild(Le),ye.display.lineSpace.insertBefore(me,ye.display.lineSpace.firstChild)}function Ze(ye){setTimeout(function(){var me=!1,Le=ye.getInputField();Le.nodeName=="TEXTAREA"?me=!Le.value:ye.lineCount()==1&&(me=!/[^\u200b]/.test(Le.querySelector(".CodeMirror-line").textContent)),me?Re(ye):Oe(ye)},20)}function ve(ye){ke(ye)&&Re(ye)}function Ee(ye){var me=ye.getWrapperElement(),Le=ke(ye);me.className=me.className.replace(" CodeMirror-empty","")+(Le?" CodeMirror-empty":""),Le?Re(ye):Oe(ye)}function ke(ye){return ye.lineCount()===1&&ye.getLine(0)===""}})},82801:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){var Oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Re=ae.Pos;ae.defineOption("autoCloseBrackets",!1,function(dt,nt,Me){Me&&Me!=ae.Init&&(dt.removeKeyMap(ve),dt.state.closeBrackets=null),nt&&(Ee(Ze(nt,"pairs")),dt.state.closeBrackets=nt,dt.addKeyMap(ve))});function Ze(dt,nt){return nt=="pairs"&&typeof dt=="string"?dt:typeof dt=="object"&&dt[nt]!=null?dt[nt]:Oe[nt]}var ve={Backspace:me,Enter:Le};function Ee(dt){for(var nt=0;nt=0;Ut--){var ht=ut[Ut].head;dt.replaceRange("",Re(ht.line,ht.ch-1),Re(ht.line,ht.ch+1),"+delete")}}function Le(dt){var nt=ye(dt),Me=nt&&Ze(nt,"explode");if(!Me||dt.getOption("disableInput"))return ae.Pass;for(var ut=dt.listSelections(),Ut=0;Ut0;return{anchor:new Re(dt.anchor.line,dt.anchor.ch+(nt?-1:1)),head:new Re(dt.head.line,dt.head.ch+(nt?1:-1))}}function Ie(dt,nt){var Me=ye(dt);if(!Me||dt.getOption("disableInput"))return ae.Pass;var ut=Ze(Me,"pairs"),Ut=ut.indexOf(nt);if(Ut==-1)return ae.Pass;for(var at=Ze(Me,"closeBefore"),ht=Ze(Me,"triples"),we=ut.charAt(Ut+1)==nt,he=dt.listSelections(),je=Ut%2==0,Ve,Ge=0;Ge=0&&dt.getRange(Ye,Re(Ye.line,Ye.ch+3))==nt+nt+nt?We="skipThree":We="skip";else if(we&&Ye.ch>1&&ht.indexOf(nt)>=0&&dt.getRange(Re(Ye.line,Ye.ch-2),Ye)==nt+nt){if(Ye.ch>2&&/\bstring/.test(dt.getTokenTypeAt(Re(Ye.line,Ye.ch-2))))return ae.Pass;We="addFour"}else if(we){var lt=Ye.ch==0?" ":dt.getRange(Re(Ye.line,Ye.ch-1),Ye);if(!ae.isWordChar(St)&<!=nt&&!ae.isWordChar(lt))We="both";else return ae.Pass}else if(je&&(St.length===0||/\s/.test(St)||at.indexOf(St)>-1))We="both";else return ae.Pass;if(!Ve)Ve=We;else if(Ve!=We)return ae.Pass}var zt=Ut%2?ut.charAt(Ut-1):nt,Dt=Ut%2?nt:ut.charAt(Ut+1);dt.operation(function(){if(Ve=="skip")dt.execCommand("goCharRight");else if(Ve=="skipThree")for(var pn=0;pn<3;pn++)dt.execCommand("goCharRight");else if(Ve=="surround"){for(var Kn=dt.getSelections(),pn=0;pn'"]=function(Xe){return Ze(Xe)}),me.addKeyMap(Ie)}});var Oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Re=["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 Ze(me){if(me.getOption("disableInput"))return ae.Pass;for(var Le=me.listSelections(),mt=[],Ie=me.getOption("autoCloseTags"),Xe=0;Xeot.ch&&(Ut=Ut.slice(0,Ut.length-dt.end+ot.ch));var he=Ut.toLowerCase();if(!Ut||dt.type=="string"&&(dt.end!=ot.ch||!/[\"\']/.test(dt.string.charAt(dt.string.length-1))||dt.string.length==1)||dt.type=="tag"&&ut.close||dt.string.indexOf("/")==ot.ch-dt.start-1||ht&&ke(ht,he)>-1||ye(me,nt.mode.xmlCurrentContext&&nt.mode.xmlCurrentContext(Me)||[],Ut,ot,!0))return ae.Pass;var je=typeof Ie=="object"&&Ie.emptyTags;if(je&&ke(je,Ut)>-1){mt[Xe]={text:"/>",newPos:ae.Pos(ot.line,ot.ch+2)};continue}var Ve=we&&ke(we,he)>-1;mt[Xe]={indent:Ve,text:">"+(Ve?` `:"")+"",newPos:Ve?ae.Pos(ot.line+1,0):ae.Pos(ot.line,ot.ch+1)}}for(var Ge=typeof Ie=="object"&&Ie.dontIndentOnAutoClose,Xe=Le.length-1;Xe>=0;Xe--){var qe=mt[Xe];me.replaceRange(qe.text,Le[Xe].head,Le[Xe].anchor,"+insert");var Ye=me.listSelections().slice(0);Ye[Xe]={head:qe.newPos,anchor:qe.newPos},me.setSelections(Ye),!Ge&&qe.indent&&(me.indentLine(qe.newPos.line,null,!0),me.indentLine(qe.newPos.line+1,null,!0))}}function ve(me,Le){for(var mt=me.listSelections(),Ie=[],Xe=Le?"/":""&&(ht+=">"),Ie[nt]=ht}if(me.replaceSelections(Ie),mt=me.listSelections(),!dt)for(var nt=0;nt=0&&Le[Me]==mt;Me--)++nt;Ie=dt.to;for(var Me=1;Me=Me.max))return Me.ch=0,Me.text=Me.cm.getLine(++Me.line),!0}function Le(Me){if(!(Me.line<=Me.min))return Me.text=Me.cm.getLine(--Me.line),Me.ch=Me.text.length,!0}function mt(Me){for(;;){var ut=Me.text.indexOf(">",Me.ch);if(ut==-1){if(me(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut+1;continue}var Ut=Me.text.lastIndexOf("/",ut),at=Ut>-1&&!/\S/.test(Me.text.slice(Ut+1,ut));return Me.ch=ut+1,at?"selfClose":"regular"}}function Ie(Me){for(;;){var ut=Me.ch?Me.text.lastIndexOf("<",Me.ch-1):-1;if(ut==-1){if(Le(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut;continue}Ee.lastIndex=ut,Me.ch=ut;var Ut=Ee.exec(Me.text);if(Ut&&Ut.index==ut)return Ut}}function Xe(Me){for(;;){Ee.lastIndex=Me.ch;var ut=Ee.exec(Me.text);if(!ut){if(me(Me))continue;return}if(!ye(Me,ut.index+1)){Me.ch=ut.index+1;continue}return Me.ch=ut.index+ut[0].length,ut}}function ot(Me){for(;;){var ut=Me.ch?Me.text.lastIndexOf(">",Me.ch-1):-1;if(ut==-1){if(Le(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut;continue}var Ut=Me.text.lastIndexOf("/",ut),at=Ut>-1&&!/\S/.test(Me.text.slice(Ut+1,ut));return Me.ch=ut+1,at?"selfClose":"regular"}}function dt(Me,ut){for(var Ut=[];;){var at=Xe(Me),ht,we=Me.line,he=Me.ch-(at?at[0].length:0);if(!at||!(ht=mt(Me)))return;if(ht!="selfClose")if(at[1]){for(var je=Ut.length-1;je>=0;--je)if(Ut[je]==at[2]){Ut.length=je;break}if(je<0&&(!ut||ut==at[2]))return{tag:at[2],from:Oe(we,he),to:Oe(Me.line,Me.ch)}}else Ut.push(at[2])}}function nt(Me,ut){for(var Ut=[];;){var at=ot(Me);if(!at)return;if(at=="selfClose"){Ie(Me);continue}var ht=Me.line,we=Me.ch,he=Ie(Me);if(!he)return;if(he[1])Ut.push(he[2]);else{for(var je=Ut.length-1;je>=0;--je)if(Ut[je]==he[2]){Ut.length=je;break}if(je<0&&(!ut||ut==he[2]))return{tag:he[2],from:Oe(Me.line,Me.ch),to:Oe(ht,we)}}}}ae.registerHelper("fold","xml",function(Me,ut){for(var Ut=new ke(Me,ut.line,0);;){var at=Xe(Ut);if(!at||Ut.line!=ut.line)return;var ht=mt(Ut);if(!ht)return;if(!at[1]&&ht!="selfClose"){var we=Oe(Ut.line,Ut.ch),he=dt(Ut,at[2]);return he&&Re(he.from,we)>0?{from:we,to:he.from}:null}}}),ae.findMatchingTag=function(Me,ut,Ut){var at=new ke(Me,ut.line,ut.ch,Ut);if(!(at.text.indexOf(">")==-1&&at.text.indexOf("<")==-1)){var ht=mt(at),we=ht&&Oe(at.line,at.ch),he=ht&&Ie(at);if(!(!ht||!he||Re(at,ut)>0)){var je={from:Oe(at.line,at.ch),to:we,tag:he[2]};return ht=="selfClose"?{open:je,close:null,at:"open"}:he[1]?{open:nt(at,he[2]),close:je,at:"close"}:(at=new ke(Me,we.line,we.ch,Ut),{open:je,close:dt(at,he[2]),at:"open"})}}},ae.findEnclosingTag=function(Me,ut,Ut,at){for(var ht=new ke(Me,ut.line,ut.ch,Ut);;){var we=nt(ht,at);if(!we)break;var he=new ke(Me,ut.line,ut.ch,Ut),je=dt(he,we.tag);if(je)return{open:we,close:je}}},ae.scanForClosingTag=function(Me,ut,Ut,at){var ht=new ke(Me,ut.line,ut.ch,at?{from:0,to:at}:null);return dt(ht,Ut)}})},4631:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en=navigator.userAgent,ie=navigator.platform,ae=/gecko\/\d/i.test(en),Oe=/MSIE \d/.test(en),Re=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(en),Ze=/Edge\/(\d+)/.exec(en),ve=Oe||Re||Ze,Ee=ve&&(Oe?document.documentMode||6:+(Ze||Re)[1]),ke=!Ze&&/WebKit\//.test(en),ye=ke&&/Qt\/\d+\.\d+/.test(en),me=!Ze&&/Chrome\//.test(en),Le=/Opera\//.test(en),mt=/Apple Computer/.test(navigator.vendor),Ie=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(en),Xe=/PhantomJS/.test(en),ot=!Ze&&/AppleWebKit/.test(en)&&/Mobile\/\w+/.test(en),dt=/Android/.test(en),nt=ot||dt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(en),Me=ot||/Mac/.test(ie),ut=/\bCrOS\b/.test(en),Ut=/win/i.test(ie),at=Le&&en.match(/Version\/(\d*\.\d*)/);at&&(at=Number(at[1])),at&&at>=15&&(Le=!1,ke=!0);var ht=Me&&(ye||Le&&(at==null||at<12.11)),we=ae||ve&&Ee>=9;function he(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var je=function(x,z){var ne=x.className,te=he(z).exec(ne);if(te){var oe=ne.slice(te.index+te[0].length);x.className=ne.slice(0,te.index)+(oe?te[1]+oe:"")}};function Ve(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function Ge(x,z){return Ve(x).appendChild(z)}function qe(x,z,ne,te){var oe=document.createElement(x);if(ne&&(oe.className=ne),te&&(oe.style.cssText=te),typeof z=="string")oe.appendChild(document.createTextNode(z));else if(z)for(var fe=0;fe=z)return Se+(z-fe);Se+=Ne-fe,Se+=ne-Se%ne,fe=Ne+1}}var Ce=function(){this.id=null,this.f=null,this.time=0,this.handler=Kn(this.onTimeout,this)};Ce.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ce.prototype.set=function(x,z){this.f=z;var ne=+new Date+x;(!this.id||ne=z)return te+Math.min(Se,z-oe);if(oe+=fe-te,oe+=ne-oe%ne,te=fe+1,oe>=z)return te}}var Xt=[""];function Ht(x){for(;Xt.length<=x;)Xt.push(un(Xt)+" ");return Xt[x]}function un(x){return x[x.length-1]}function kn(x,z){for(var ne=[],te=0;te"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ue.test(x))}function de(x,z){return z?z.source.indexOf("\\w")>-1&&pe(x)?!0:z.test(x):pe(x)}function le(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var De=/[\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 Ke(x){return x.charCodeAt(0)>=768&&De.test(x)}function Et(x,z,ne){for(;(ne<0?z>0:zne?-1:1;;){if(z==ne)return z;var oe=(z+ne)/2,fe=te<0?Math.ceil(oe):Math.floor(oe);if(fe==z)return x(fe)?z:ne;x(fe)?ne=fe:z=fe+te}}function Kt(x,z,ne,te){if(!x)return te(z,ne,"ltr",0);for(var oe=!1,fe=0;fez||z==ne&&Se.to==z)&&(te(Math.max(Se.from,z),Math.min(Se.to,ne),Se.level==1?"rtl":"ltr",fe),oe=!0)}oe||te(z,ne,"ltr")}var nn=null;function $t(x,z,ne){var te;nn=null;for(var oe=0;oez)return oe;fe.to==z&&(fe.from!=fe.to&&ne=="before"?te=oe:nn=oe),fe.from==z&&(fe.from!=fe.to&&ne!="before"?te=oe:nn=oe)}return te!=null?te:nn}var gr=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(_e){return _e<=247?x.charAt(_e):1424<=_e&&_e<=1524?"R":1536<=_e&&_e<=1785?z.charAt(_e-1536):1774<=_e&&_e<=2220?"r":8192<=_e&&_e<=8203?"w":_e==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,fe=/[LRr]/,Se=/[Lb1n]/,Ne=/[1n]/;function He(_e,Vt,sn){this.level=_e,this.from=Vt,this.to=sn}return function(_e,Vt){var sn=Vt=="ltr"?"L":"R";if(_e.length==0||Vt=="ltr"&&!te.test(_e))return!1;for(var Yn=_e.length,On=[],Ir=0;Ir-1&&(te[z]=oe.slice(0,fe).concat(oe.slice(fe+1)))}}}function yt(x,z){var ne=hr(x,z);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),oe=0;oe0}function wr(x){x.prototype.on=function(z,ne){gn(this,z,ne)},x.prototype.off=function(z,ne){Er(this,z,ne)}}function _r(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function ei(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Xr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function ri(x){_r(x),ei(x)}function fi(x){return x.target||x.srcElement}function Cr(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Me&&x.ctrlKey&&z==1&&(z=3),z}var yi=function(){if(ve&&Ee<9)return!1;var x=qe("div");return"draggable"in x||"dragDrop"in x}(),Gi;function oi(x){if(Gi==null){var z=qe("span","\u200B");Ge(x,qe("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Gi=z.offsetWidth<=1&&z.offsetHeight>2&&!(ve&&Ee<8))}var ne=Gi?qe("span","\u200B"):qe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ea;function Di(x){if(ea!=null)return ea;var z=Ge(x,document.createTextNode("A\u062EA")),ne=We(z,0,1).getBoundingClientRect(),te=We(z,1,2).getBoundingClientRect();return Ve(x),!ne||ne.left==ne.right?!1:ea=te.right-ne.right<3}var Ot=` b`.split(/\n/).length!=3?function(x){for(var z=0,ne=[],te=x.length;z<=te;){var oe=x.indexOf(` `,z);oe==-1&&(oe=x.length);var fe=x.slice(z,x.charAt(oe-1)=="\r"?oe-1:oe),Se=fe.indexOf("\r");Se!=-1?(ne.push(fe.slice(0,Se)),z+=Se+1):(ne.push(fe),z=oe+1)}return ne}:function(x){return x.split(/\r\n?|\n/)},Nt=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ne){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},cn=function(){var x=qe("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),bn=null;function rr(x){if(bn!=null)return bn;var z=Ge(x,qe("span","x")),ne=z.getBoundingClientRect(),te=We(z,0,1).getBoundingClientRect();return bn=Math.abs(ne.left-te.left)>1}var Fn={},ir={};function Xn(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),Fn[x]=z}function pt(x,z){ir[x]=z}function At(x){if(typeof x=="string"&&ir.hasOwnProperty(x))x=ir[x];else if(x&&typeof x.name=="string"&&ir.hasOwnProperty(x.name)){var z=ir[x.name];typeof z=="string"&&(z={name:z}),x=ce(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return At("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return At("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Mt(x,z){z=At(z);var ne=Fn[z.name];if(!ne)return Mt(x,"text/plain");var te=ne(x,z);if(fn.hasOwnProperty(z.name)){var oe=fn[z.name];for(var fe in oe)oe.hasOwnProperty(fe)&&(te.hasOwnProperty(fe)&&(te["_"+fe]=te[fe]),te[fe]=oe[fe])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var Se in z.modeProps)te[Se]=z.modeProps[Se];return te}var fn={};function $e(x,z){var ne=fn.hasOwnProperty(x)?fn[x]:fn[x]={};tr(z,ne)}function Ft(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ne={};for(var te in z){var oe=z[te];oe instanceof Array&&(oe=oe.concat([])),ne[te]=oe}return ne}function on(x,z){for(var ne;x.innerMode&&(ne=x.innerMode(z),!(!ne||ne.mode==x));)z=ne.state,x=ne.mode;return ne||{mode:x,state:z}}function _t(x,z,ne){return x.startState?x.startState(z,ne):!0}var En=function(x,z,ne){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};En.prototype.eol=function(){return this.pos>=this.string.length},En.prototype.sol=function(){return this.pos==this.lineStart},En.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},En.prototype.next=function(){if(this.posz},En.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},En.prototype.skipToEnd=function(){this.pos=this.string.length},En.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},En.prototype.backUp=function(x){this.pos-=x},En.prototype.column=function(){return this.lastColumnPos0?null:(fe&&z!==!1&&(this.pos+=fe[0].length),fe)}},En.prototype.current=function(){return this.string.slice(this.start,this.pos)},En.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},En.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},En.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Sn(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ne=x;!ne.lines;)for(var te=0;;++te){var oe=ne.children[te],fe=oe.chunkSize();if(z=x.first&&zne?kt(ne,Sn(x,ne).text.length):Kr(z,Sn(x,z.line).text.length)}function Kr(x,z){var ne=x.ch;return ne==null||ne>z?kt(x.line,z):ne<0?kt(x.line,0):x}function Ln(x,z){for(var ne=[],te=0;tethis.maxLookAhead&&(this.maxLookAhead=x),z},pi.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},pi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},pi.fromSaved=function(x,z,ne){return z instanceof Fi?new pi(x,Ft(x.mode,z.state),ne,z.lookAhead):new pi(x,Ft(x.mode,z),ne)},pi.prototype.save=function(x){var z=x!==!1?Ft(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Fi(z,this.maxLookAhead):z};function ha(x,z,ne,te){var oe=[x.state.modeGen],fe={};Ji(x,z.text,x.doc.mode,ne,function(_e,Vt){return oe.push(_e,Vt)},fe,te);for(var Se=ne.state,Ne=function(_e){ne.baseTokens=oe;var Vt=x.state.overlays[_e],sn=1,Yn=0;ne.state=!0,Ji(x,z.text,Vt.mode,ne,function(On,Ir){for(var ti=sn;YnOn&&oe.splice(sn,1,On,oe[sn+1],vi),sn+=2,Yn=Math.min(On,vi)}if(Ir)if(Vt.opaque)oe.splice(ti,sn-ti,On,"overlay "+Ir),sn=ti+2;else for(;tix.options.maxHighlightLength&&Ft(x.doc.mode,te.state),fe=ha(x,z,te);oe&&(te.state=oe),z.stateAfter=te.save(!oe),z.styles=fe.styles,fe.classes?z.styleClasses=fe.classes:z.styleClasses&&(z.styleClasses=null),ne===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Qi(x,z,ne){var te=x.doc,oe=x.display;if(!te.mode.startState)return new pi(te,!0,z);var fe=Ea(x,z,ne),Se=fe>te.first&&Sn(te,fe-1).stateAfter,Ne=Se?pi.fromSaved(te,Se,fe):new pi(te,_t(te.mode),fe);return te.iter(fe,z,function(He){Ca(x,He.text,Ne);var _e=Ne.line;He.stateAfter=_e==z-1||_e%5==0||_e>=oe.viewFrom&&_ez.start)return fe}throw new Error("Mode "+x.name+" failed to advance stream.")}var sa=function(x,z,ne){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ne};function Da(x,z,ne,te){var oe=x.doc,fe=oe.mode,Se;z=or(oe,z);var Ne=Sn(oe,z.line),He=Qi(x,z.line,ne),_e=new En(Ne.text,x.options.tabSize,He),Vt;for(te&&(Vt=[]);(te||_e.posx.options.maxHighlightLength?(Ne=!1,Se&&Ca(x,z,te,Vt.pos),Vt.pos=z.length,sn=null):sn=ki(Ri(ne,Vt,te.state,Yn),fe),Yn){var On=Yn[0].name;On&&(sn="m-"+(sn?On+" "+sn:On))}if(!Ne||_e!=sn){for(;HeSe;--Ne){if(Ne<=fe.first)return fe.first;var He=Sn(fe,Ne-1),_e=He.stateAfter;if(_e&&(!ne||Ne+(_e instanceof Fi?_e.lookAhead:0)<=fe.modeFrontier))return Ne;var Vt=it(He.text,null,x.options.tabSize);(oe==null||te>Vt)&&(oe=Ne-1,te=Vt)}return oe}function _a(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontierne;te--){var oe=Sn(x,te).stateAfter;if(oe&&(!(oe instanceof Fi)||te+oe.lookAhead=z:fe.to>z);(te||(te=[])).push(new Mn(Se,fe.from,He?null:fe.to))}}return te}function mi(x,z,ne){var te;if(x)for(var oe=0;oe=z:fe.to>z);if(Ne||fe.from==z&&Se.type=="bookmark"&&(!ne||fe.marker.insertLeft)){var He=fe.from==null||(Se.inclusiveLeft?fe.from<=z:fe.from0&&Ne)for(var Ui=0;Ui0)){var Vt=[He,1],sn=jt(_e.from,Ne.from),Yn=jt(_e.to,Ne.to);(sn<0||!Se.inclusiveLeft&&!sn)&&Vt.push({from:_e.from,to:Ne.from}),(Yn>0||!Se.inclusiveRight&&!Yn)&&Vt.push({from:Ne.to,to:_e.to}),oe.splice.apply(oe,Vt),He+=Vt.length-3}}return oe}function qi(x){var z=x.markedSpans;if(z){for(var ne=0;nez)&&(!te||ta(te,fe.marker)<0)&&(te=fe.marker)}return te}function Ct(x,z,ne,te,oe){var fe=Sn(x,z),Se=Oi&&fe.markedSpans;if(Se)for(var Ne=0;Ne=0&&sn<=0||Vt<=0&&sn>=0)&&(Vt<=0&&(He.marker.inclusiveRight&&oe.inclusiveLeft?jt(_e.to,ne)>=0:jt(_e.to,ne)>0)||Vt>=0&&(He.marker.inclusiveRight&&oe.inclusiveLeft?jt(_e.from,te)<=0:jt(_e.from,te)<0)))return!0}}}function Bt(x){for(var z;z=Je(x);)x=z.find(-1,!0).line;return x}function Jt(x){for(var z;z=et(x);)x=z.find(1,!0).line;return x}function Tn(x){for(var z,ne;z=et(x);)x=z.find(1,!0).line,(ne||(ne=[])).push(x);return ne}function Nn(x,z){var ne=Sn(x,z),te=Bt(ne);return ne==te?z:Sr(te)}function Fr(x,z){if(z>x.lastLine())return z;var ne=Sn(x,z),te;if(!Jr(x,ne))return z;for(;te=et(ne);)ne=te.find(1,!0).line;return Sr(ne)+1}function Jr(x,z){var ne=Oi&&z.markedSpans;if(ne){for(var te=void 0,oe=0;oez.maxLineLength&&(z.maxLineLength=oe,z.maxLine=te)})}var mr=function(x,z,ne){this.text=x,li(this,z),this.height=ne?ne(this):1};mr.prototype.lineNo=function(){return Sr(this)},wr(mr);function Vr(x,z,ne,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),qi(x),li(x,ne);var oe=te?te(x):1;oe!=x.height&&Lr(x,oe)}function Dr(x){x.parent=null,qi(x)}var Mr={},Tr={};function Or(x,z){if(!x||/^\s*$/.test(x))return null;var ne=z.addModeClass?Tr:Mr;return ne[x]||(ne[x]=x.replace(/\S+/g,"cm-$&"))}function qr(x,z){var ne=Ye("span",null,null,ke?"padding-right: .1px":null),te={pre:Ye("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var oe=0;oe<=(z.rest?z.rest.length:0);oe++){var fe=oe?z.rest[oe-1]:z.line,Se=void 0;te.pos=0,te.addToken=tt,Di(x.display.measure)&&(Se=kr(fe,x.doc.direction))&&(te.addToken=Pt(te.addToken,Se)),te.map=[];var Ne=z!=x.display.externalMeasured&&Sr(fe);Zn(fe,te,ra(x,fe,Ne)),fe.styleClasses&&(fe.styleClasses.bgClass&&(te.bgClass=Dt(fe.styleClasses.bgClass,te.bgClass||"")),fe.styleClasses.textClass&&(te.textClass=Dt(fe.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(oi(x.display.measure))),oe==0?(z.measure.map=te.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(te.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(ke){var He=te.content.lastChild;(/\bcm-tab\b/.test(He.className)||He.querySelector&&He.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return yt(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=Dt(te.pre.className,te.textClass||"")),te}function Ue(x){var z=qe("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function tt(x,z,ne,te,oe,fe,Se){if(z){var Ne=x.splitSpaces?tn(z,x.trailingSpace):z,He=x.cm.state.specialChars,_e=!1,Vt;if(!He.test(z))x.col+=z.length,Vt=document.createTextNode(Ne),x.map.push(x.pos,x.pos+z.length,Vt),ve&&Ee<9&&(_e=!0),x.pos+=z.length;else{Vt=document.createDocumentFragment();for(var sn=0;;){He.lastIndex=sn;var Yn=He.exec(z),On=Yn?Yn.index-sn:z.length-sn;if(On){var Ir=document.createTextNode(Ne.slice(sn,sn+On));ve&&Ee<9?Vt.appendChild(qe("span",[Ir])):Vt.appendChild(Ir),x.map.push(x.pos,x.pos+On,Ir),x.col+=On,x.pos+=On}if(!Yn)break;sn+=On+1;var ti=void 0;if(Yn[0]==" "){var vi=x.cm.options.tabSize,Ii=vi-x.col%vi;ti=Vt.appendChild(qe("span",Ht(Ii),"cm-tab")),ti.setAttribute("role","presentation"),ti.setAttribute("cm-text"," "),x.col+=Ii}else Yn[0]=="\r"||Yn[0]==` `?(ti=Vt.appendChild(qe("span",Yn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ti.setAttribute("cm-text",Yn[0]),x.col+=1):(ti=x.cm.options.specialCharPlaceholder(Yn[0]),ti.setAttribute("cm-text",Yn[0]),ve&&Ee<9?Vt.appendChild(qe("span",[ti])):Vt.appendChild(ti),x.col+=1);x.map.push(x.pos,x.pos+1,ti),x.pos++}}if(x.trailingSpace=Ne.charCodeAt(z.length-1)==32,ne||te||oe||_e||fe||Se){var ji=ne||"";te&&(ji+=te),oe&&(ji+=oe);var Mi=qe("span",[Vt],ji,fe);if(Se)for(var Ui in Se)Se.hasOwnProperty(Ui)&&Ui!="style"&&Ui!="class"&&Mi.setAttribute(Ui,Se[Ui]);return x.content.appendChild(Mi)}x.content.appendChild(Vt)}}function tn(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ne=z,te="",oe=0;oe_e&&sn.from<=_e));Yn++);if(sn.to>=Vt)return x(ne,te,oe,fe,Se,Ne,He);x(ne,te.slice(0,sn.to-_e),oe,fe,null,Ne,He),fe=null,te=te.slice(sn.to-_e),_e=sn.to}}}function xn(x,z,ne,te){var oe=!te&&ne.widgetNode;oe&&x.map.push(x.pos,x.pos+z,oe),!te&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",ne.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=z,x.trailingSpace=!1}function Zn(x,z,ne){var te=x.markedSpans,oe=x.text,fe=0;if(!te){for(var Se=1;SeHe||yo.collapsed&&Pa.to==He&&Pa.from==He)){if(Pa.to!=null&&Pa.to!=He&&On>Pa.to&&(On=Pa.to,ti=""),yo.className&&(Ir+=" "+yo.className),yo.css&&(Yn=(Yn?Yn+";":"")+yo.css),yo.startStyle&&Pa.from==He&&(vi+=" "+yo.startStyle),yo.endStyle&&Pa.to==On&&(Ui||(Ui=[])).push(yo.endStyle,Pa.to),yo.title&&((ji||(ji={})).title=yo.title),yo.attributes)for(var is in yo.attributes)(ji||(ji={}))[is]=yo.attributes[is];yo.collapsed&&(!Ii||ta(Ii.marker,yo)<0)&&(Ii=Pa)}else Pa.from>He&&On>Pa.from&&(On=Pa.from)}if(Ui)for(var _s=0;_s=Ne)break;for(var bl=Math.min(Ne,On);;){if(Vt){var xl=He+Vt.length;if(!Ii){var Ns=xl>bl?Vt.slice(0,bl-He):Vt;z.addToken(z,Ns,sn?sn+Ir:Ir,vi,He+Ns.length==On?ti:"",Yn,ji)}if(xl>=bl){Vt=Vt.slice(bl-He),He=bl;break}He=xl,vi=""}Vt=oe.slice(fe,fe=ne[_e++]),sn=Or(ne[_e++],z.cm.options)}}}function Jn(x,z,ne){this.line=z,this.rest=Tn(z),this.size=this.rest?Sr(un(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Jr(x,z)}function yr(x,z,ne){for(var te=[],oe,fe=z;fe2&&fe.push((He.bottom+_e.top)/2-ne.top)}}fe.push(ne.bottom-ne.top)}}function ao(x,z,ne){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var te=0;tene)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function no(x,z){z=Bt(z);var ne=Sr(z),te=x.display.externalMeasured=new Jn(x.doc,z,ne);te.lineN=ne;var oe=te.built=qr(x,te);return te.text=oe.pre,Ge(x.display.lineMeasure,oe.pre),te}function ro(x,z,ne,te){return Wi(x,wa(x,z),ne,te)}function Ha(x,z){if(z>=x.display.viewFrom&&z=ne.lineN&&zz)&&(fe=He-Ne,oe=fe-1,z>=He&&(Se="right")),oe!=null){if(te=x[_e+2],Ne==He&&ne==(te.insertLeft?"left":"right")&&(Se=ne),ne=="left"&&oe==0)for(;_e&&x[_e-2]==x[_e-3]&&x[_e-1].insertLeft;)te=x[(_e-=3)+2],Se="left";if(ne=="right"&&oe==He-Ne)for(;_e=0&&(ne=x[oe]).left==ne.right;oe--);return ne}function ma(x,z,ne,te){var oe=aa(z.map,ne,te),fe=oe.node,Se=oe.start,Ne=oe.end,He=oe.collapse,_e;if(fe.nodeType==3){for(var Vt=0;Vt<4;Vt++){for(;Se&&Ke(z.line.text.charAt(oe.coverStart+Se));)--Se;for(;oe.coverStart+Ne0&&(He=te="right");var sn;x.options.lineWrapping&&(sn=fe.getClientRects()).length>1?_e=sn[te=="right"?sn.length-1:0]:_e=fe.getBoundingClientRect()}if(ve&&Ee<9&&!Se&&(!_e||!_e.left&&!_e.right)){var Yn=fe.parentNode.getClientRects()[0];Yn?_e={left:Yn.left,right:Yn.left+Go(x.display),top:Yn.top,bottom:Yn.bottom}:_e=co}for(var On=_e.top-z.rect.top,Ir=_e.bottom-z.rect.top,ti=(On+Ir)/2,vi=z.view.measure.heights,Ii=0;Ii=te.text.length?(He=te.text.length,_e="before"):He<=0&&(He=0,_e="after"),!Ne)return Se(_e=="before"?He-1:He,_e=="before");function Vt(Ir,ti,vi){var Ii=Ne[ti],ji=Ii.level==1;return Se(vi?Ir-1:Ir,ji!=vi)}var sn=$t(Ne,He,_e),Yn=nn,On=Vt(He,sn,_e=="before");return Yn!=null&&(On.other=Vt(He,Yn,_e!="before")),On}function lo(x,z){var ne=0;z=or(x.doc,z),x.options.lineWrapping||(ne=Go(x.display)*z.ch);var te=Sn(x.doc,z.line),oe=er(te)+Aa(x.display);return{left:ne,right:ne,top:oe,bottom:oe+te.height}}function Ko(x,z,ne,te,oe){var fe=kt(x,z,ne);return fe.xRel=oe,te&&(fe.outside=te),fe}function Wo(x,z,ne){var te=x.doc;if(ne+=x.display.viewOffset,ne<0)return Ko(te.first,0,null,-1,-1);var oe=jr(te,ne),fe=te.first+te.size-1;if(oe>fe)return Ko(te.first+te.size-1,Sn(te,fe).text.length,null,1,1);z<0&&(z=0);for(var Se=Sn(te,oe);;){var Ne=ga(x,Se,oe,z,ne),He=st(Se,Ne.ch+(Ne.xRel>0||Ne.outside>0?1:0));if(!He)return Ne;var _e=He.find(1);if(_e.line==oe)return _e;Se=Sn(te,oe=_e.line)}}function Jo(x,z,ne,te){te-=to(z);var oe=z.text.length,fe=Yt(function(Se){return Wi(x,ne,Se-1).bottom<=te},oe,0);return oe=Yt(function(Se){return Wi(x,ne,Se).top>te},fe,oe),{begin:fe,end:oe}}function Fo(x,z,ne,te){ne||(ne=wa(x,z));var oe=ho(x,z,Wi(x,ne,te),"line").top;return Jo(x,z,ne,oe)}function po(x,z,ne,te){return x.bottom<=ne?!1:x.top>ne?!0:(te?x.left:x.right)>z}function ga(x,z,ne,te,oe){oe-=er(z);var fe=wa(x,z),Se=to(z),Ne=0,He=z.text.length,_e=!0,Vt=kr(z,x.doc.direction);if(Vt){var sn=(x.options.lineWrapping?qa:Sa)(x,z,ne,fe,Vt,te,oe);_e=sn.level!=1,Ne=_e?sn.from:sn.to-1,He=_e?sn.to:sn.from-1}var Yn=null,On=null,Ir=Yt(function(ka){var Pa=Wi(x,fe,ka);return Pa.top+=Se,Pa.bottom+=Se,po(Pa,te,oe,!1)?(Pa.top<=oe&&Pa.left<=te&&(Yn=ka,On=Pa),!0):!1},Ne,He),ti,vi,Ii=!1;if(On){var ji=te-On.left=Ui.bottom?1:0}return Ir=Et(z.text,Ir,1),Ko(ne,Ir,vi,Ii,te-ti)}function Sa(x,z,ne,te,oe,fe,Se){var Ne=Yt(function(sn){var Yn=oe[sn],On=Yn.level!=1;return po(io(x,kt(ne,On?Yn.to:Yn.from,On?"before":"after"),"line",z,te),fe,Se,!0)},0,oe.length-1),He=oe[Ne];if(Ne>0){var _e=He.level!=1,Vt=io(x,kt(ne,_e?He.from:He.to,_e?"after":"before"),"line",z,te);po(Vt,fe,Se,!0)&&Vt.top>Se&&(He=oe[Ne-1])}return He}function qa(x,z,ne,te,oe,fe,Se){var Ne=Jo(x,z,te,Se),He=Ne.begin,_e=Ne.end;/\s/.test(z.text.charAt(_e-1))&&_e--;for(var Vt=null,sn=null,Yn=0;Yn=_e||On.to<=He)){var Ir=On.level!=1,ti=Wi(x,te,Ir?Math.min(_e,On.to)-1:Math.max(He,On.from)).right,vi=tivi)&&(Vt=On,sn=vi)}}return Vt||(Vt=oe[oe.length-1]),Vt.from_e&&(Vt={from:Vt.from,to:_e,level:Vt.level}),Vt}var mo;function Io(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(mo==null){mo=qe("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)mo.appendChild(document.createTextNode("x")),mo.appendChild(qe("br"));mo.appendChild(document.createTextNode("x"))}Ge(x.measure,mo);var ne=mo.offsetHeight/50;return ne>3&&(x.cachedTextHeight=ne),Ve(x.measure),ne||1}function Go(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=qe("span","xxxxxxxxxx"),ne=qe("pre",[z],"CodeMirror-line-like");Ge(x.measure,ne);var te=z.getBoundingClientRect(),oe=(te.right-te.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function qo(x){for(var z=x.display,ne={},te={},oe=z.gutters.clientLeft,fe=z.gutters.firstChild,Se=0;fe;fe=fe.nextSibling,++Se){var Ne=x.display.gutterSpecs[Se].className;ne[Ne]=fe.offsetLeft+fe.clientLeft+oe,te[Ne]=fe.clientWidth}return{fixedPos:ls(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function ls(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Ss(x){var z=Io(x.display),ne=x.options.lineWrapping,te=ne&&Math.max(5,x.display.scroller.clientWidth/Go(x.display)-3);return function(oe){if(Jr(x.doc,oe))return 0;var fe=0;if(oe.widgets)for(var Se=0;Se0&&(_e=Sn(x.doc,He.line).text).length==He.ch){var Vt=it(_e,_e.length,x.options.tabSize)-_e.length;He=kt(He.line,Math.max(0,Math.round((fe-la(x.display).left)/Go(x.display))-Vt))}return He}function ja(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ne=x.display.view,te=0;tez)&&(oe.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=oe.viewTo)Oi&&Nn(x.doc,z)oe.viewFrom?Pe(x):(oe.viewFrom+=te,oe.viewTo+=te);else if(z<=oe.viewFrom&&ne>=oe.viewTo)Pe(x);else if(z<=oe.viewFrom){var fe=gt(x,ne,ne+te,1);fe?(oe.view=oe.view.slice(fe.index),oe.viewFrom=fe.lineN,oe.viewTo+=te):Pe(x)}else if(ne>=oe.viewTo){var Se=gt(x,z,z,-1);Se?(oe.view=oe.view.slice(0,Se.index),oe.viewTo=Se.lineN):Pe(x)}else{var Ne=gt(x,z,z,-1),He=gt(x,ne,ne+te,1);Ne&&He?(oe.view=oe.view.slice(0,Ne.index).concat(yr(x,Ne.lineN,He.lineN)).concat(oe.view.slice(He.index)),oe.viewTo+=te):Pe(x)}var _e=oe.externalMeasured;_e&&(ne<_e.lineN?_e.lineN+=te:z<_e.lineN+_e.size&&(oe.externalMeasured=null))}function Be(x,z,ne){x.curOp.viewChanged=!0;var te=x.display,oe=x.display.externalMeasured;if(oe&&z>=oe.lineN&&z=te.viewTo)){var fe=te.view[ja(x,z)];if(fe.node!=null){var Se=fe.changes||(fe.changes=[]);wt(Se,ne)==-1&&Se.push(ne)}}}function Pe(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function gt(x,z,ne,te){var oe=ja(x,z),fe,Se=x.display.view;if(!Oi||ne==x.doc.first+x.doc.size)return{index:oe,lineN:ne};for(var Ne=x.display.viewFrom,He=0;He0){if(oe==Se.length-1)return null;fe=Ne+Se[oe].size-z,oe++}else fe=Ne-z;z+=fe,ne+=fe}for(;Nn(x.doc,ne)!=ne;){if(oe==(te<0?0:Se.length-1))return null;ne+=te*Se[oe-(te<0?1:0)].size,oe+=te}return{index:oe,lineN:ne}}function vt(x,z,ne){var te=x.display,oe=te.view;oe.length==0||z>=te.viewTo||ne<=te.viewFrom?(te.view=yr(x,z,ne),te.viewFrom=z):(te.viewFrom>z?te.view=yr(x,z,te.viewFrom).concat(te.view):te.viewFromne&&(te.view=te.view.slice(0,ja(x,ne)))),te.viewTo=ne}function vn(x){for(var z=x.display.view,ne=0,te=0;te=x.display.viewTo||Ne.to().line0?z.blinker=setInterval(function(){x.hasFocus()||Rn(x),z.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Pn(x){x.state.focused||(x.display.input.focus(),br(x))}function vr(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Rn(x))},100)}function br(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(yt(x,"focus",x,z),x.state.focused=!0,zt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ke&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Dn(x))}function Rn(x,z){x.state.delayingBlurEvent||(x.state.focused&&(yt(x,"blur",x,z),x.state.focused=!1,je(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function fr(x){for(var z=x.display,ne=z.lineDiv.offsetTop,te=0;te.005||Vt<-.005)&&(Lr(oe.line,Se),Rr(oe.line),oe.rest))for(var sn=0;snx.display.sizerWidth){var Yn=Math.ceil(Ne/Go(x.display));Yn>x.display.maxLineLength&&(x.display.maxLineLength=Yn,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function Rr(x){if(x.widgets)for(var z=0;z=Se&&(fe=jr(z,er(Sn(z,He))-x.wrapper.clientHeight),Se=He)}return{from:fe,to:Math.max(Se,fe+1)}}function ii(x,z){if(!It(x,"scrollCursorIntoView")){var ne=x.display,te=ne.sizer.getBoundingClientRect(),oe=null;if(z.top+te.top<0?oe=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!Xe){var fe=qe("div","\u200B",null,`position: absolute; top: `+(z.top-ne.viewOffset-Aa(x.display))+`px; height: `+(z.bottom-z.top+Ai(x)+ne.barHeight)+`px; left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(fe),fe.scrollIntoView(oe),x.display.lineSpace.removeChild(fe)}}}function bi(x,z,ne,te){te==null&&(te=0);var oe;!x.options.lineWrapping&&z==ne&&(z=z.ch?kt(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ne=z.sticky=="before"?kt(z.line,z.ch+1,"before"):z);for(var fe=0;fe<5;fe++){var Se=!1,Ne=io(x,z),He=!ne||ne==z?Ne:io(x,ne);oe={left:Math.min(Ne.left,He.left),top:Math.min(Ne.top,He.top)-te,right:Math.max(Ne.left,He.left),bottom:Math.max(Ne.bottom,He.bottom)+te};var _e=Si(x,oe),Vt=x.doc.scrollTop,sn=x.doc.scrollLeft;if(_e.scrollTop!=null&&(oa(x,_e.scrollTop),Math.abs(x.doc.scrollTop-Vt)>1&&(Se=!0)),_e.scrollLeft!=null&&(Fa(x,_e.scrollLeft),Math.abs(x.doc.scrollLeft-sn)>1&&(Se=!0)),!Se)break}return oe}function Pi(x,z){var ne=Si(x,z);ne.scrollTop!=null&&oa(x,ne.scrollTop),ne.scrollLeft!=null&&Fa(x,ne.scrollLeft)}function Si(x,z){var ne=x.display,te=Io(x.display);z.top<0&&(z.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ne.scroller.scrollTop,fe=ua(x),Se={};z.bottom-z.top>fe&&(z.bottom=z.top+fe);var Ne=x.doc.height+_i(ne),He=z.topNe-te;if(z.topoe+fe){var Vt=Math.min(z.top,(_e?Ne:z.bottom)-fe);Vt!=oe&&(Se.scrollTop=Vt)}var sn=x.options.fixedGutter?0:ne.gutters.offsetWidth,Yn=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ne.scroller.scrollLeft-sn,On=Ki(x)-ne.gutters.offsetWidth,Ir=z.right-z.left>On;return Ir&&(z.right=z.left+On),z.left<10?Se.scrollLeft=0:z.leftOn+Yn-3&&(Se.scrollLeft=z.right+(Ir?0:10)-On),Se}function ui(x,z){z!=null&&(Ya(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function va(x){Ya(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function ca(x,z,ne){(z!=null||ne!=null)&&Ya(x),z!=null&&(x.curOp.scrollLeft=z),ne!=null&&(x.curOp.scrollTop=ne)}function Ka(x,z){Ya(x),x.curOp.scrollToPos=z}function Ya(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ne=lo(x,z.from),te=lo(x,z.to);La(x,ne,te,z.margin)}}function La(x,z,ne,te){var oe=Si(x,{left:Math.min(z.left,ne.left),top:Math.min(z.top,ne.top)-te,right:Math.max(z.right,ne.right),bottom:Math.max(z.bottom,ne.bottom)+te});ca(x,oe.scrollLeft,oe.scrollTop)}function oa(x,z){Math.abs(x.doc.scrollTop-z)<2||(ae||Bl(x,{top:z}),Ra(x,z,!0),ae&&Bl(x),xo(x,100))}function Ra(x,z,ne){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ne)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Fa(x,z,ne,te){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ne?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!te)&&(x.doc.scrollLeft=z,dl(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function ya(x){var z=x.display,ne=z.gutters.offsetWidth,te=Math.round(x.doc.height+_i(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+Ai(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ne}}var Ia=function(x,z,ne){this.cm=ne;var te=this.vert=qe("div",[qe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=qe("div",[qe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=oe.tabIndex=-1,x(te),x(oe),gn(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),gn(oe,"scroll",function(){oe.clientWidth&&z(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ve&&Ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ia.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ne=x.scrollHeight>x.clientHeight+1,te=x.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=z?te+"px":"0";var oe=x.viewHeight-(z?te:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(z){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=x.barLeft+"px";var fe=x.viewWidth-x.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+fe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:z?te:0}},Ia.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ia.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ia.prototype.zeroWidthHack=function(){var x=Me&&!Ie?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ce,this.disableVert=new Ce},Ia.prototype.enableZeroWidthBar=function(x,z,ne){x.style.pointerEvents="auto";function te(){var oe=x.getBoundingClientRect(),fe=ne=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);fe!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},Ia.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var za=function(){};za.prototype.update=function(){return{bottom:0,right:0}},za.prototype.setScrollLeft=function(){},za.prototype.setScrollTop=function(){},za.prototype.clear=function(){};function uo(x,z){z||(z=ya(x));var ne=x.display.barWidth,te=x.display.barHeight;go(x,z);for(var oe=0;oe<4&&ne!=x.display.barWidth||te!=x.display.barHeight;oe++)ne!=x.display.barWidth&&x.options.lineWrapping&&fr(x),go(x,ya(x)),ne=x.display.barWidth,te=x.display.barHeight}function go(x,z){var ne=x.display,te=ne.scrollbars.update(z);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=z.gutterWidth+"px"):ne.gutterFiller.style.display=""}var To={native:Ia,null:za};function us(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&je(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new To[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),gn(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ne){ne=="horizontal"?Fa(x,z):oa(x,z)},x),x.display.scrollbars.addClass&&zt(x.display.wrapper,x.display.scrollbars.addClass)}var ss=0;function _o(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.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:++ss},ct(x.curOp)}function Do(x){var z=x.curOp;z&&dn(z,function(ne){for(var te=0;te=ne.viewTo)||ne.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new Ho(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Ma(x){x.updatedDisplay=x.mustUpdate&&al(x.cm,x.update)}function ba(x){var z=x.cm,ne=z.display;x.updatedDisplay&&fr(z),x.barMeasure=ya(z),ne.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=ro(z,ne.maxLine,ne.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+x.adjustWidthTo+Ai(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+x.adjustWidthTo-Ki(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ne.input.prepareSelection())}function Bo(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft=x.display.viewTo)){var ne=+new Date+x.options.workTime,te=Qi(x,z.highlightFrontier),oe=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(fe){if(te.line>=x.display.viewFrom){var Se=fe.styles,Ne=fe.text.length>x.options.maxHighlightLength?Ft(z.mode,te.state):null,He=ha(x,fe,te,!0);Ne&&(te.state=Ne),fe.styles=He.styles;var _e=fe.styleClasses,Vt=He.classes;Vt?fe.styleClasses=Vt:_e&&(fe.styleClasses=null);for(var sn=!Se||Se.length!=fe.styles.length||_e!=Vt&&(!_e||!Vt||_e.bgClass!=Vt.bgClass||_e.textClass!=Vt.textClass),Yn=0;!sn&&Ynne)return xo(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),oe.length&&Ta(x,function(){for(var fe=0;fe=ne.viewFrom&&z.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&vn(x)==0)return!1;Hs(x)&&(Pe(x),z.dims=qo(x));var oe=te.first+te.size,fe=Math.max(z.visible.from-x.options.viewportMargin,te.first),Se=Math.min(oe,z.visible.to+x.options.viewportMargin);ne.viewFromSe&&ne.viewTo-Se<20&&(Se=Math.min(oe,ne.viewTo)),Oi&&(fe=Nn(x.doc,fe),Se=Fr(x.doc,Se));var Ne=fe!=ne.viewFrom||Se!=ne.viewTo||ne.lastWrapHeight!=z.wrapperHeight||ne.lastWrapWidth!=z.wrapperWidth;vt(x,fe,Se),ne.viewOffset=er(Sn(x.doc,ne.viewFrom)),x.display.mover.style.top=ne.viewOffset+"px";var He=vn(x);if(!Ne&&He==0&&!z.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var _e=Es(x);return He>4&&(ne.lineDiv.style.display="none"),Au(x,ne.updateLineNumbers,z.dims),He>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,Sl(_e),Ve(ne.cursorDiv),Ve(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,Ne&&(ne.lastWrapHeight=z.wrapperHeight,ne.lastWrapWidth=z.wrapperWidth,xo(x,400)),ne.updateLineNumbers=null,!0}function zs(x,z){for(var ne=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==Ki(x)){if(ne&&ne.top!=null&&(ne={top:Math.min(x.doc.height+_i(x.display)-ua(x),ne.top)}),z.visible=Ur(x.display,x.doc,ne),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=Ur(x.display,x.doc,ne));if(!al(x,z))break;fr(x);var oe=ya(x);ln(x),uo(x,oe),Ds(x,oe),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Bl(x,z){var ne=new Ho(x,z);if(al(x,ne)){fr(x),zs(x,ne);var te=ya(x);ln(x),uo(x,te),Ds(x,te),ne.finish()}}function Au(x,z,ne){var te=x.display,oe=x.options.lineNumbers,fe=te.lineDiv,Se=fe.firstChild;function Ne(Ir){var ti=Ir.nextSibling;return ke&&Me&&x.display.currentWheelTarget==Ir?Ir.style.display="none":Ir.parentNode.removeChild(Ir),ti}for(var He=te.view,_e=te.viewFrom,Vt=0;Vt-1&&(On=!1),xr(x,sn,_e,ne)),On&&(Ve(sn.lineNumber),sn.lineNumber.appendChild(document.createTextNode(Rt(x.options,_e)))),Se=sn.node.nextSibling}_e+=sn.size}for(;Se;)Se=Ne(Se)}function zl(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function Ds(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Ai(x)+"px"}function dl(x){var z=x.display,ne=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=ls(z)-z.scroller.scrollLeft+x.doc.scrollLeft,oe=z.gutters.offsetWidth,fe=te+"px",Se=0;SeSe.clientWidth,He=Se.scrollHeight>Se.clientHeight;if(te&&Ne||oe&&He){if(oe&&Me&&ke){e:for(var _e=z.target,Vt=fe.view;_e!=Se;_e=_e.parentNode)for(var sn=0;sn=0&&jt(x,te.to())<=0)return ne}return-1};var Wa=function(x,z){this.anchor=x,this.head=z};Wa.prototype.from=function(){return _n(this.anchor,this.head)},Wa.prototype.to=function(){return Hn(this.anchor,this.head)},Wa.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ts(x,z,ne){var te=x&&x.options.selectionsMayTouch,oe=z[ne];z.sort(function(Yn,On){return jt(Yn.from(),On.from())}),ne=wt(z,oe);for(var fe=1;fe0:He>=0){var _e=_n(Ne.from(),Se.from()),Vt=Hn(Ne.to(),Se.to()),sn=Ne.empty()?Se.from()==Se.head:Ne.from()==Ne.head;fe<=ne&&--ne,z.splice(--fe,2,new Wa(sn?Vt:_e,sn?_e:Vt))}}return new fs(z,ne)}function Os(x,z){return new fs([new Wa(x,z||x)],0)}function jo(x){return x.text?kt(x.from.line+x.text.length-1,un(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Gs(x,z){if(jt(x,z.from)<0)return x;if(jt(x,z.to)<=0)return jo(z);var ne=x.line+z.text.length-(z.to.line-z.from.line)-1,te=x.ch;return x.line==z.to.line&&(te+=jo(z).ch-z.to.ch),kt(ne,te)}function ml(x,z){for(var ne=[],te=0;te1&&x.remove(Ne.line+1,Ir-1),x.insert(Ne.line+1,Ii)}In(x,"change",x,z)}function fl(x,z,ne){function te(oe,fe,Se){if(oe.linked)for(var Ne=0;Ne1&&!x.done[x.done.length-2].ranges)return x.done.pop(),un(x.done)}function Yl(x,z,ne,te){var oe=x.history;oe.undone.length=0;var fe=+new Date,Se,Ne;if((oe.lastOp==te||oe.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&oe.lastModTime>fe-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(Se=Mu(oe,oe.lastOp==te)))Ne=un(Se.changes),jt(z.from,z.to)==0&&jt(z.from,Ne.to)==0?Ne.to=jo(z):Se.changes.push(ns(x,z));else{var He=un(oe.done);for((!He||!He.ranges)&&ms(x.sel,oe.done),Se={changes:[ns(x,z)],generation:oe.generation},oe.done.push(Se);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(ne),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=fe,oe.lastOp=oe.lastSelOp=te,oe.lastOrigin=oe.lastSelOrigin=z.origin,Ne||yt(x,"historyAdded")}function ku(x,z,ne,te){var oe=z.charAt(0);return oe=="*"||oe=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Ql(x,z,ne,te){var oe=x.history,fe=te&&te.origin;ne==oe.lastSelOp||fe&&oe.lastSelOrigin==fe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==fe||ku(x,fe,un(oe.done),z))?oe.done[oe.done.length-1]=z:ms(z,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=fe,oe.lastSelOp=ne,te&&te.clearRedo!==!1&&hl(oe.undone)}function ms(x,z){var ne=un(z);ne&&ne.ranges&&ne.equals(x)||z.push(x)}function Ua(x,z,ne,te){var oe=z["spans_"+x.id],fe=0;x.iter(Math.max(x.first,ne),Math.min(x.first+x.size,te),function(Se){Se.markedSpans&&((oe||(oe=z["spans_"+x.id]={}))[fe]=Se.markedSpans),++fe})}function fu(x){if(!x)return null;for(var z,ne=0;ne-1&&(un(Ne)[sn]=_e[sn],delete _e[sn])}}return te}function Ru(x,z,ne,te){if(te){var oe=x.anchor;if(ne){var fe=jt(z,oe)<0;fe!=jt(ne,oe)<0?(oe=z,z=ne):fe!=jt(z,ne)<0&&(z=ne)}return new Wa(oe,z)}else return new Wa(ne||z,z)}function Kl(x,z,ne,te,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),Hi(x,new fs([Ru(x.sel.primary(),z,ne,oe)],0),te)}function Ni(x,z,ne){for(var te=[],oe=x.cm&&(x.cm.display.shift||x.extend),fe=0;fe=z.ch:Ne.to>z.ch))){if(oe&&(yt(He,"beforeCursorEnter"),He.explicitlyCleared))if(fe.markedSpans){--Se;continue}else break;if(!He.atomic)continue;if(ne){var sn=He.find(te<0?1:-1),Yn=void 0;if((te<0?Vt:_e)&&(sn=Al(x,sn,-te,sn&&sn.line==z.line?fe:null)),sn&&sn.line==z.line&&(Yn=jt(sn,ne))&&(te<0?Yn<0:Yn>0))return qs(x,sn,z,te,oe)}var On=He.find(te<0?-1:1);return(te<0?_e:Vt)&&(On=Al(x,On,te,On.line==z.line?fe:null)),On?qs(x,On,z,te,oe):null}}return z}function sc(x,z,ne,te,oe){var fe=te||1,Se=qs(x,z,ne,fe,oe)||!oe&&qs(x,z,ne,fe,!0)||qs(x,z,ne,-fe,oe)||!oe&&qs(x,z,ne,-fe,!0);return Se||(x.cantEdit=!0,kt(x.first,0))}function Al(x,z,ne,te){return ne<0&&z.ch==0?z.line>x.first?or(x,kt(z.line-1)):null:ne>0&&z.ch==(te||Sn(x,z.line)).text.length?z.line=0;--oe)zu(x,{from:te[oe].from,to:te[oe].to,text:oe?[""]:z.text,origin:z.origin});else zu(x,z)}}function zu(x,z){if(!(z.text.length==1&&z.text[0]==""&&jt(z.from,z.to)==0)){var ne=ml(x,z);Yl(x,z,ne,x.cm?x.cm.curOp.id:NaN),Du(x,z,ne,Ci(x,z));var te=[];fl(x,function(oe,fe){!fe&&wt(te,oe.history)==-1&&(uc(oe.history,z),te.push(oe.history)),Du(oe,z,null,Ci(oe,z))})}}function ql(x,z,ne){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!ne)){for(var oe=x.history,fe,Se=x.sel,Ne=z=="undo"?oe.done:oe.undone,He=z=="undo"?oe.undone:oe.done,_e=0;_e=0;--On){var Ir=Yn(On);if(Ir)return Ir.v}}}}function lc(x,z){if(z!=0&&(x.first+=z,x.sel=new fs(kn(x.sel.ranges,function(oe){return new Wa(kt(oe.anchor.line+z,oe.anchor.ch),kt(oe.head.line+z,oe.head.ch))}),x.sel.primIndex),x.cm)){be(x.cm,x.first,x.first-z,z);for(var ne=x.cm.display,te=ne.viewFrom;tex.lastLine())){if(z.from.linefe&&(z={from:z.from,to:kt(fe,Sn(x,fe).text.length),text:[z.text[0]],origin:z.origin}),z.removed=Bn(x,z.from,z.to),ne||(ne=ml(x,z)),x.cm?Sc(x.cm,z,te):Cl(x,z,te),Bs(x,ne,rt),x.cantEdit&&sc(x,kt(x.firstLine(),0))&&(x.cantEdit=!1)}}function Sc(x,z,ne){var te=x.doc,oe=x.display,fe=z.from,Se=z.to,Ne=!1,He=fe.line;x.options.lineWrapping||(He=Sr(Bt(Sn(te,fe.line))),te.iter(He,Se.line+1,function(On){if(On==oe.maxLine)return Ne=!0,!0})),te.sel.contains(z.from,z.to)>-1&&$n(x),Cl(te,z,ne,Ss(x)),x.options.lineWrapping||(te.iter(He,fe.line+z.text.length,function(On){var Ir=Wn(On);Ir>oe.maxLineLength&&(oe.maxLine=On,oe.maxLineLength=Ir,oe.maxLineChanged=!0,Ne=!1)}),Ne&&(x.curOp.updateMaxLine=!0)),_a(te,fe.line),xo(x,400);var _e=z.text.length-(Se.line-fe.line)-1;z.full?be(x):fe.line==Se.line&&z.text.length==1&&!_l(x.doc,z)?Be(x,fe.line,"text"):be(x,fe.line,Se.line+1,_e);var Vt=Qn(x,"changes"),sn=Qn(x,"change");if(sn||Vt){var Yn={from:fe,to:Se,text:z.text,removed:z.removed,origin:z.origin};sn&&In(x,"change",x,Yn),Vt&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Yn)}x.display.selForContextMenu=null}function $l(x,z,ne,te,oe){var fe;te||(te=ne),jt(te,ne)<0&&(fe=[te,ne],ne=fe[0],te=fe[1]),typeof z=="string"&&(z=x.splitLines(z)),Jl(x,{from:ne,to:te,text:z,origin:oe})}function Kc(x,z,ne,te){ne1||!(this.children[0]instanceof Fl))){var Ne=[];this.collapse(Ne),this.children=[new Fl(Ne)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z50){for(var Se=oe.lines.length%25+25,Ne=Se;Ne10);x.parent.maybeSpill()}},iterN:function(x,z,ne){for(var te=0;tex.display.maxLineLength&&(x.display.maxLine=_e,x.display.maxLineLength=Vt,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&be(x,te,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&ud(x.doc)),x&&In(x,"markerCleared",x,this,te,oe),z&&Do(x),this.parent&&this.parent.clear()}},pu.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ne,te,oe=0;oe0||Se==0&&fe.clearWhenEmpty!==!1)return fe;if(fe.replacedWith&&(fe.collapsed=!0,fe.widgetNode=Ye("span",[fe.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||fe.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(fe.widgetNode.insertLeft=!0)),fe.collapsed){if(Ct(x,z.line,z,ne,fe)||z.line!=ne.line&&Ct(x,ne.line,z,ne,fe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Zt()}fe.addToHistory&&Yl(x,{from:z,to:ne,origin:"markText"},x.sel,NaN);var Ne=z.line,He=x.cm,_e;if(x.iter(Ne,ne.line+1,function(sn){He&&fe.collapsed&&!He.options.lineWrapping&&Bt(sn)==He.display.maxLine&&(_e=!0),fe.collapsed&&Ne!=z.line&&Lr(sn,0),Yr(sn,new Mn(fe,Ne==z.line?z.ch:null,Ne==ne.line?ne.ch:null)),++Ne}),fe.collapsed&&x.iter(z.line,ne.line+1,function(sn){Jr(x,sn)&&Lr(sn,0)}),fe.clearOnEnter&&gn(fe,"beforeCursorEnter",function(){return fe.clear()}),fe.readOnly&&(Qt(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),fe.collapsed&&(fe.id=++dd,fe.atomic=!0),He){if(_e&&(He.curOp.updateMaxLine=!0),fe.collapsed)be(He,z.line,ne.line+1);else if(fe.className||fe.startStyle||fe.endStyle||fe.css||fe.attributes||fe.title)for(var Vt=z.line;Vt<=ne.line;Vt++)Be(He,Vt,"text");fe.atomic&&ud(He.doc),In(He,"markerAdded",He,fe)}return fe}var so=function(x,z){this.markers=x,this.primary=z;for(var ne=0;ne=0;He--)Jl(this,te[He]);Ne?wo(this,Ne):this.cm&&va(this.cm)}),undo:Qa(function(){ql(this,"undo")}),redo:Qa(function(){ql(this,"redo")}),undoSelection:Qa(function(){ql(this,"undo",!0)}),redoSelection:Qa(function(){ql(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ne=0,te=0;te=x.ch)&&z.push(oe.marker.parent||oe.marker)}return z},findMarks:function(x,z,ne){x=or(this,x),z=or(this,z);var te=[],oe=x.line;return this.iter(x.line,z.line+1,function(fe){var Se=fe.markedSpans;if(Se)for(var Ne=0;Ne=He.to||He.from==null&&oe!=x.line||He.from!=null&&oe==z.line&&He.from>=z.ch)&&(!ne||ne(He.marker))&&te.push(He.marker.parent||He.marker)}++oe}),te},getAllMarks:function(){var x=[];return this.iter(function(z){var ne=z.markedSpans;if(ne)for(var te=0;tex)return z=x,!0;x-=fe,++ne}),or(this,kt(ne,z))},indexFromPos:function(x){x=or(this,x);var z=x.ch;if(x.linez&&(z=x.from),x.to!=null&&x.to-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var Vt=x.dataTransfer.getData("Text");if(Vt){var sn;if(z.state.draggingText&&!z.state.draggingText.copy&&(sn=z.listSelections()),Bs(z.doc,Os(ne,ne)),sn)for(var Yn=0;Yn=0;Ne--)$l(x.doc,"",te[Ne].from,te[Ne].to,"+delete");va(x)})}function Zs(x,z,ne){var te=Et(x.text,z+ne,ne);return te<0||te>x.text.length?null:te}function Il(x,z,ne){var te=Zs(x,z.ch,ne);return te==null?null:new kt(z.line,te,ne<0?"after":"before")}function vu(x,z,ne,te,oe){if(x){z.doc.direction=="rtl"&&(oe=-oe);var fe=kr(ne,z.doc.direction);if(fe){var Se=oe<0?un(fe):fe[0],Ne=oe<0==(Se.level==1),He=Ne?"after":"before",_e;if(Se.level>0||z.doc.direction=="rtl"){var Vt=wa(z,ne);_e=oe<0?ne.text.length-1:0;var sn=Wi(z,Vt,_e).top;_e=Yt(function(Yn){return Wi(z,Vt,Yn).top==sn},oe<0==(Se.level==1)?Se.from:Se.to-1,_e),He=="before"&&(_e=Zs(ne,_e,1))}else _e=oe<0?Se.to:Se.from;return new kt(te,_e,He)}}return new kt(te,oe<0?ne.text.length:0,oe<0?"before":"after")}function Tl(x,z,ne,te){var oe=kr(z,x.doc.direction);if(!oe)return Il(z,ne,te);ne.ch>=z.text.length?(ne.ch=z.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var fe=$t(oe,ne.ch,ne.sticky),Se=oe[fe];if(x.doc.direction=="ltr"&&Se.level%2==0&&(te>0?Se.to>ne.ch:Se.from=Se.from&&Yn>=Vt.begin)){var On=sn?"before":"after";return new kt(ne.line,Yn,On)}}var Ir=function(Ii,ji,Mi){for(var Ui=function(is,_s){return _s?new kt(ne.line,Ne(is,1),"before"):new kt(ne.line,is,"after")};Ii>=0&&Ii0==(ka.level!=1),yo=Pa?Mi.begin:Ne(Mi.end,-1);if(ka.from<=yo&&yo0?Vt.end:Ne(Vt.begin,-1);return vi!=null&&!(te>0&&vi==z.text.length)&&(ti=Ir(te>0?0:oe.length-1,te,_e(vi)),ti)?ti:null}var Zu={selectAll:Hc,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),rt)},killLine:function(x){return yl(x,function(z){if(z.empty()){var ne=Sn(x.doc,z.head.line).text.length;return z.head.ch==ne&&z.head.line0)oe=new kt(oe.line,oe.ch+1),x.replaceRange(fe.charAt(oe.ch-1)+fe.charAt(oe.ch-2),kt(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var Se=Sn(x.doc,oe.line-1).text;Se&&(oe=new kt(oe.line,1),x.replaceRange(fe.charAt(0)+x.doc.lineSeparator()+Se.charAt(Se.length-1),kt(oe.line-1,Se.length-1),oe,"+transpose"))}}ne.push(new Wa(oe,oe))}x.setSelections(ne)})},newlineAndIndent:function(x){return Ta(x,function(){for(var z=x.listSelections(),ne=z.length-1;ne>=0;ne--)x.replaceRange(x.doc.lineSeparator(),z[ne].anchor,z[ne].head,"+input");z=x.listSelections();for(var te=0;tex&&jt(z,this.pos)==0&&ne==this.button};var iu,hc;function gd(x,z){var ne=+new Date;return hc&&hc.compare(ne,x,z)?(iu=hc=null,"triple"):iu&&iu.compare(ne,x,z)?(hc=new Yc(ne,x,z),iu=null,"double"):(iu=new Yc(ne,x,z),hc=null,"single")}function Ls(x){var z=this,ne=z.display;if(!(It(z,x)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=x.shiftKey,$i(ne,x)){ke||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!bs(z,x)){var te=Cs(z,x),oe=Cr(x),fe=te?gd(te,oe):"single";window.focus(),oe==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&jl(z,oe,te,fe,x))&&(oe==1?te?Bc(z,te,fe,x):fi(x)==ne.scroller&&_r(x):oe==2?(te&&Kl(z.doc,te),setTimeout(function(){return ne.input.focus()},20)):oe==3&&(we?z.display.input.onContextMenu(x):vr(z)))}}}function jl(x,z,ne,te,oe){var fe="Click";return te=="double"?fe="Double"+fe:te=="triple"&&(fe="Triple"+fe),fe=(z==1?"Left":z==2?"Middle":"Right")+fe,yu(x,ru(fe,oe),oe,function(Se){if(typeof Se=="string"&&(Se=Zu[Se]),!Se)return!1;var Ne=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Ne=Se(x,ne)!=Tt}finally{x.state.suppressEdits=!1}return Ne})}function Dc(x,z,ne){var te=x.getOption("configureMouse"),oe=te?te(x,z,ne):{};if(oe.unit==null){var fe=ut?ne.shiftKey&&ne.metaKey:ne.altKey;oe.unit=fe?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||ne.shiftKey),oe.addNew==null&&(oe.addNew=Me?ne.metaKey:ne.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(Me?ne.altKey:ne.ctrlKey)),oe}function Bc(x,z,ne,te){ve?setTimeout(Kn(Pn,x),0):x.curOp.focus=lt();var oe=Dc(x,ne,te),fe=x.doc.sel,Se;x.options.dragDrop&&yi&&!x.isReadOnly()&&ne=="single"&&(Se=fe.contains(z))>-1&&(jt((Se=fe.ranges[Se]).from(),z)<0||z.xRel>0)&&(jt(Se.to(),z)>0||z.xRel<0)?Mo(x,te,z,oe):Na(x,te,z,oe)}function Mo(x,z,ne,te){var oe=x.display,fe=!1,Se=$a(x,function(_e){ke&&(oe.scroller.draggable=!1),x.state.draggingText=!1,Er(oe.wrapper.ownerDocument,"mouseup",Se),Er(oe.wrapper.ownerDocument,"mousemove",Ne),Er(oe.scroller,"dragstart",He),Er(oe.scroller,"drop",Se),fe||(_r(_e),te.addNew||Kl(x.doc,ne,null,null,te.extend),ke&&!mt||ve&&Ee==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),Ne=function(_e){fe=fe||Math.abs(z.clientX-_e.clientX)+Math.abs(z.clientY-_e.clientY)>=10},He=function(){return fe=!0};ke&&(oe.scroller.draggable=!0),x.state.draggingText=Se,Se.copy=!te.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),gn(oe.wrapper.ownerDocument,"mouseup",Se),gn(oe.wrapper.ownerDocument,"mousemove",Ne),gn(oe.scroller,"dragstart",He),gn(oe.scroller,"drop",Se),vr(x),setTimeout(function(){return oe.input.focus()},20)}function da(x,z,ne){if(ne=="char")return new Wa(z,z);if(ne=="word")return x.findWordAt(z);if(ne=="line")return new Wa(kt(z.line,0),or(x.doc,kt(z.line+1,0)));var te=ne(x,z);return new Wa(te.from,te.to)}function Na(x,z,ne,te){var oe=x.display,fe=x.doc;_r(z);var Se,Ne,He=fe.sel,_e=He.ranges;if(te.addNew&&!te.extend?(Ne=fe.sel.contains(ne),Ne>-1?Se=_e[Ne]:Se=new Wa(ne,ne)):(Se=fe.sel.primary(),Ne=fe.sel.primIndex),te.unit=="rectangle")te.addNew||(Se=new Wa(ne,ne)),ne=Cs(x,z,!0,!0),Ne=-1;else{var Vt=da(x,ne,te.unit);te.extend?Se=Ru(Se,Vt.anchor,Vt.head,te.extend):Se=Vt}te.addNew?Ne==-1?(Ne=_e.length,Hi(fe,ts(x,_e.concat([Se]),Ne),{scroll:!1,origin:"*mouse"})):_e.length>1&&_e[Ne].empty()&&te.unit=="char"&&!te.extend?(Hi(fe,ts(x,_e.slice(0,Ne).concat(_e.slice(Ne+1)),0),{scroll:!1,origin:"*mouse"}),He=fe.sel):Xs(fe,Ne,Se,ft):(Ne=0,Hi(fe,new fs([Se],0),ft),He=fe.sel);var sn=ne;function Yn(Mi){if(jt(sn,Mi)!=0)if(sn=Mi,te.unit=="rectangle"){for(var Ui=[],ka=x.options.tabSize,Pa=it(Sn(fe,ne.line).text,ne.ch,ka),yo=it(Sn(fe,Mi.line).text,Mi.ch,ka),is=Math.min(Pa,yo),_s=Math.max(Pa,yo),xs=Math.min(ne.line,Mi.line),bl=Math.min(x.lastLine(),Math.max(ne.line,Mi.line));xs<=bl;xs++){var xl=Sn(fe,xs).text,Ns=qt(xl,is,ka);is==_s?Ui.push(new Wa(kt(xs,Ns),kt(xs,Ns))):xl.length>Ns&&Ui.push(new Wa(kt(xs,Ns),kt(xs,qt(xl,_s,ka))))}Ui.length||Ui.push(new Wa(ne,ne)),Hi(fe,ts(x,He.ranges.slice(0,Ne).concat(Ui),Ne),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Mi)}else{var wl=Se,Xa=da(x,Mi,te.unit),As=wl.anchor,ws;jt(Xa.anchor,As)>0?(ws=Xa.head,As=_n(wl.from(),Xa.anchor)):(ws=Xa.anchor,As=Hn(wl.to(),Xa.head));var Ms=He.ranges.slice(0);Ms[Ne]=ko(x,new Wa(or(fe,As),ws)),Hi(fe,ts(x,Ms,Ne),ft)}}var On=oe.wrapper.getBoundingClientRect(),Ir=0;function ti(Mi){var Ui=++Ir,ka=Cs(x,Mi,!0,te.unit=="rectangle");if(ka)if(jt(ka,sn)!=0){x.curOp.focus=lt(),Yn(ka);var Pa=Ur(oe,fe);(ka.line>=Pa.to||ka.lineOn.bottom?20:0;yo&&setTimeout($a(x,function(){Ir==Ui&&(oe.scroller.scrollTop+=yo,ti(Mi))}),50)}}function vi(Mi){x.state.selectingText=!1,Ir=1/0,Mi&&(_r(Mi),oe.input.focus()),Er(oe.wrapper.ownerDocument,"mousemove",Ii),Er(oe.wrapper.ownerDocument,"mouseup",ji),fe.history.lastSelOrigin=null}var Ii=$a(x,function(Mi){Mi.buttons===0||!Cr(Mi)?vi(Mi):ti(Mi)}),ji=$a(x,vi);x.state.selectingText=ji,gn(oe.wrapper.ownerDocument,"mousemove",Ii),gn(oe.wrapper.ownerDocument,"mouseup",ji)}function ko(x,z){var ne=z.anchor,te=z.head,oe=Sn(x.doc,ne.line);if(jt(ne,te)==0&&ne.sticky==te.sticky)return z;var fe=kr(oe);if(!fe)return z;var Se=$t(fe,ne.ch,ne.sticky),Ne=fe[Se];if(Ne.from!=ne.ch&&Ne.to!=ne.ch)return z;var He=Se+(Ne.from==ne.ch==(Ne.level!=1)?0:1);if(He==0||He==fe.length)return z;var _e;if(te.line!=ne.line)_e=(te.line-ne.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Vt=$t(fe,te.ch,te.sticky),sn=Vt-Se||(te.ch-ne.ch)*(Ne.level==1?-1:1);Vt==He-1||Vt==He?_e=sn<0:_e=sn>0}var Yn=fe[He+(_e?-1:0)],On=_e==(Yn.level==1),Ir=On?Yn.from:Yn.to,ti=On?"after":"before";return ne.ch==Ir&&ne.sticky==ti?z:new Wa(new kt(ne.line,Ir,ti),te)}function Uo(x,z,ne,te){var oe,fe;if(z.touches)oe=z.touches[0].clientX,fe=z.touches[0].clientY;else try{oe=z.clientX,fe=z.clientY}catch(Yn){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&_r(z);var Se=x.display,Ne=Se.lineDiv.getBoundingClientRect();if(fe>Ne.bottom||!Qn(x,ne))return Xr(z);fe-=Ne.top-Se.viewOffset;for(var He=0;He=oe){var Vt=jr(x.doc,fe),sn=x.display.gutterSpecs[He];return yt(x,ne,x,Vt,sn.className,z),Xr(z)}}}function bs(x,z){return Uo(x,z,"gutterClick",!0)}function js(x,z){$i(x.display,z)||au(x,z)||It(x,z,"contextmenu")||we||x.display.input.onContextMenu(z)}function au(x,z){return Qn(x,"gutterContextMenu")?Uo(x,z,"gutterContextMenu",!1):!1}function Vl(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),na(x)}var Ml={toString:function(){return"CodeMirror.Init"}},bu={},pl={};function oh(x){var z=x.optionHandlers;function ne(te,oe,fe,Se){x.defaults[te]=oe,fe&&(z[te]=Se?function(Ne,He,_e){_e!=Ml&&fe(Ne,He,_e)}:fe)}x.defineOption=ne,x.Init=Ml,ne("value","",function(te,oe){return te.setValue(oe)},!0),ne("mode",null,function(te,oe){te.doc.modeOption=oe,sl(te)},!0),ne("indentUnit",2,sl,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Ws(te),na(te),be(te)},!0),ne("lineSeparator",null,function(te,oe){if(te.doc.lineSep=oe,!!oe){var fe=[],Se=te.doc.first;te.doc.iter(function(He){for(var _e=0;;){var Vt=He.text.indexOf(oe,_e);if(Vt==-1)break;_e=Vt+oe.length,fe.push(kt(Se,Vt))}Se++});for(var Ne=fe.length-1;Ne>=0;Ne--)$l(te.doc,oe,fe[Ne],kt(fe[Ne].line,fe[Ne].ch+oe.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,oe,fe){te.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),fe!=Ml&&te.refresh()}),ne("specialCharPlaceholder",Ue,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",nt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,oe){return te.getInputField().spellcheck=oe},!0),ne("autocorrect",!1,function(te,oe){return te.getInputField().autocorrect=oe},!0),ne("autocapitalize",!1,function(te,oe){return te.getInputField().autocapitalize=oe},!0),ne("rtlMoveVisually",!Ut),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){Vl(te),Ks(te)},!0),ne("keyMap","default",function(te,oe,fe){var Se=$s(oe),Ne=fe!=Ml&&$s(fe);Ne&&Ne.detach&&Ne.detach(te,Se),Se.attach&&Se.attach(te,Ne||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,wf,!0),ne("gutters",[],function(te,oe){te.display.gutterSpecs=Hl(oe,te.options.lineNumbers),Ks(te)},!0),ne("fixedGutter",!0,function(te,oe){te.display.gutters.style.left=oe?ls(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return uo(te)},!0),ne("scrollbarStyle","native",function(te){us(te),uo(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,oe){te.display.gutterSpecs=Hl(te.options.gutters,oe),Ks(te)},!0),ne("firstLineNumber",1,Ks,!0),ne("lineNumberFormatter",function(te){return te},Ks,!0),ne("showCursorWhenSelecting",!1,ln,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,oe){oe=="nocursor"&&(Rn(te),te.display.input.blur()),te.display.input.readOnlyChanged(oe)}),ne("screenReaderLabel",null,function(te,oe){oe=oe===""?null:oe,te.display.input.screenReaderLabelChanged(oe)}),ne("disableInput",!1,function(te,oe){oe||te.display.input.reset()},!0),ne("dragDrop",!0,sh),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,ln,!0),ne("singleCursorHeightPerLine",!0,ln,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Ws,!0),ne("addModeClass",!1,Ws,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,oe){return te.doc.history.undoDepth=oe}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,Ws,!0),ne("moveInputWithCursor",!0,function(te,oe){oe||te.display.input.resetPosition()}),ne("tabindex",null,function(te,oe){return te.display.input.getField().tabIndex=oe||""}),ne("autofocus",null),ne("direction","ltr",function(te,oe){return te.doc.setDirection(oe)},!0),ne("phrases",null)}function sh(x,z,ne){var te=ne&&ne!=Ml;if(!z!=!te){var oe=x.display.dragFunctions,fe=z?gn:Er;fe(x.display.scroller,"dragstart",oe.start),fe(x.display.scroller,"dragenter",oe.enter),fe(x.display.scroller,"dragover",oe.over),fe(x.display.scroller,"dragleave",oe.leave),fe(x.display.scroller,"drop",oe.drop)}}function wf(x){x.options.lineWrapping?(zt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(je(x.display.wrapper,"CodeMirror-wrap"),ur(x)),$o(x),be(x),na(x),setTimeout(function(){return uo(x)},100)}function Ga(x,z){var ne=this;if(!(this instanceof Ga))return new Ga(x,z);this.options=z=z?tr(z):{},tr(bu,z,!1);var te=z.value;typeof te=="string"?te=new ys(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var oe=new Ga.inputStyles[z.inputStyle](this),fe=this.display=new cs(x,te,oe,z);fe.wrapper.CodeMirror=this,Vl(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),us(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 Ce,keySeq:null,specialChars:null},z.autofocus&&!nt&&fe.input.focus(),ve&&Ee<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),lh(this),Uc(),_o(this),this.curOp.forceUpdate=!0,El(this,te),z.autofocus&&!nt||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&br(ne)},20):Rn(this);for(var Se in pl)pl.hasOwnProperty(Se)&&pl[Se](this,z[Se],Ml);Hs(this),z.finishInit&&z.finishInit(this);for(var Ne=0;Ne20*20}gn(z.scroller,"touchstart",function(He){if(!It(x,He)&&!fe(He)&&!bs(x,He)){z.input.ensurePolled(),clearTimeout(ne);var _e=+new Date;z.activeTouch={start:_e,moved:!1,prev:_e-te.end<=300?te:null},He.touches.length==1&&(z.activeTouch.left=He.touches[0].pageX,z.activeTouch.top=He.touches[0].pageY)}}),gn(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),gn(z.scroller,"touchend",function(He){var _e=z.activeTouch;if(_e&&!$i(z,He)&&_e.left!=null&&!_e.moved&&new Date-_e.start<300){var Vt=x.coordsChar(z.activeTouch,"page"),sn;!_e.prev||Se(_e,_e.prev)?sn=new Wa(Vt,Vt):!_e.prev.prev||Se(_e,_e.prev.prev)?sn=x.findWordAt(Vt):sn=new Wa(kt(Vt.line,0),or(x.doc,kt(Vt.line+1,0))),x.setSelection(sn.anchor,sn.head),x.focus(),_r(He)}oe()}),gn(z.scroller,"touchcancel",oe),gn(z.scroller,"scroll",function(){z.scroller.clientHeight&&(oa(x,z.scroller.scrollTop),Fa(x,z.scroller.scrollLeft,!0),yt(x,"scroll",x))}),gn(z.scroller,"mousewheel",function(He){return ol(x,He)}),gn(z.scroller,"DOMMouseScroll",function(He){return ol(x,He)}),gn(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(He){It(x,He)||ri(He)},over:function(He){It(x,He)||(Cc(x,He),ri(He))},start:function(He){return Vc(x,He)},drop:$a(x,Hd),leave:function(He){It(x,He)||Hu(x)}};var Ne=z.input.getField();gn(Ne,"keyup",function(He){return pd.call(x,He)}),gn(Ne,"keydown",$a(x,Vu)),gn(Ne,"keypress",$a(x,md)),gn(Ne,"focus",function(He){return br(x,He)}),gn(Ne,"blur",function(He){return Rn(x,He)})}var Zd=[];Ga.defineInitHook=function(x){return Zd.push(x)};function ou(x,z,ne,te){var oe=x.doc,fe;ne==null&&(ne="add"),ne=="smart"&&(oe.mode.indent?fe=Qi(x,z).state:ne="prev");var Se=x.options.tabSize,Ne=Sn(oe,z),He=it(Ne.text,null,Se);Ne.stateAfter&&(Ne.stateAfter=null);var _e=Ne.text.match(/^\s*/)[0],Vt;if(!te&&!/\S/.test(Ne.text))Vt=0,ne="not";else if(ne=="smart"&&(Vt=oe.mode.indent(fe,Ne.text.slice(_e.length),Ne.text),Vt==Tt||Vt>150)){if(!te)return;ne="prev"}ne=="prev"?z>oe.first?Vt=it(Sn(oe,z-1).text,null,Se):Vt=0:ne=="add"?Vt=He+x.options.indentUnit:ne=="subtract"?Vt=He-x.options.indentUnit:typeof ne=="number"&&(Vt=He+ne),Vt=Math.max(0,Vt);var sn="",Yn=0;if(x.options.indentWithTabs)for(var On=Math.floor(Vt/Se);On;--On)Yn+=Se,sn+=" ";if(YnSe,He=Ot(z),_e=null;if(Ne&&te.ranges.length>1)if(su&&su.text.join(` `)==z){if(te.ranges.length%su.text.length==0){_e=[];for(var Vt=0;Vt=0;Yn--){var On=te.ranges[Yn],Ir=On.from(),ti=On.to();On.empty()&&(ne&&ne>0?Ir=kt(Ir.line,Ir.ch-ne):x.state.overwrite&&!Ne?ti=kt(ti.line,Math.min(Sn(fe,ti.line).text.length,ti.ch+un(He).length)):Ne&&su&&su.lineWise&&su.text.join(` `)==He.join(` `)&&(Ir=ti=kt(Ir.line,0)));var vi={from:Ir,to:ti,text:_e?_e[Yn%_e.length]:He,origin:oe||(Ne?"paste":x.state.cutIncoming>Se?"cut":"+input")};Jl(x.doc,vi),In(x,"inputRead",x,vi)}z&&!Ne&&Ud(x,z),va(x),x.curOp.updateInput<2&&(x.curOp.updateInput=sn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Vd(x,z){var ne=x.clipboardData&&x.clipboardData.getData("Text");if(ne)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&Ta(z,function(){return jd(z,ne,0,null,"paste")}),!0}function Ud(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ne=x.doc.sel,te=ne.ranges.length-1;te>=0;te--){var oe=ne.ranges[te];if(!(oe.head.ch>100||te&&ne.ranges[te-1].head.line==oe.head.line)){var fe=x.getModeAt(oe.head),Se=!1;if(fe.electricChars){for(var Ne=0;Ne-1){Se=ou(x,oe.head.line,"smart");break}}else fe.electricInput&&fe.electricInput.test(Sn(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(Se=ou(x,oe.head.line,"smart"));Se&&In(x,"electricInput",x,oe.head.line)}}}function Lc(x){for(var z=[],ne=[],te=0;tefe&&(ou(this,Ne.head.line,te,!0),fe=Ne.head.line,Se==this.doc.sel.primIndex&&va(this));else{var He=Ne.from(),_e=Ne.to(),Vt=Math.max(fe,He.line);fe=Math.min(this.lastLine(),_e.line-(_e.ch?0:1))+1;for(var sn=Vt;sn0&&Xs(this.doc,Se,new Wa(He,Yn[Se].to()),rt)}}}),getTokenAt:function(te,oe){return Da(this,te,oe)},getLineTokens:function(te,oe){return Da(this,kt(te),oe,!0)},getTokenTypeAt:function(te){te=or(this.doc,te);var oe=ra(this,Sn(this.doc,te.line)),fe=0,Se=(oe.length-1)/2,Ne=te.ch,He;if(Ne==0)He=oe[2];else for(;;){var _e=fe+Se>>1;if((_e?oe[_e*2-1]:0)>=Ne)Se=_e;else if(oe[_e*2+1]He&&(te=He,Se=!0),Ne=Sn(this.doc,te)}else Ne=te;return ho(this,Ne,{top:0,left:0},oe||"page",fe||Se).top+(Se?this.doc.height-er(Ne):0)},defaultTextHeight:function(){return Io(this.display)},defaultCharWidth:function(){return Go(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,oe,fe,Se,Ne){var He=this.display;te=io(this,or(this.doc,te));var _e=te.bottom,Vt=te.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),He.sizer.appendChild(oe),Se=="over")_e=te.top;else if(Se=="above"||Se=="near"){var sn=Math.max(He.wrapper.clientHeight,this.doc.height),Yn=Math.max(He.sizer.clientWidth,He.lineSpace.clientWidth);(Se=="above"||te.bottom+oe.offsetHeight>sn)&&te.top>oe.offsetHeight?_e=te.top-oe.offsetHeight:te.bottom+oe.offsetHeight<=sn&&(_e=te.bottom),Vt+oe.offsetWidth>Yn&&(Vt=Yn-oe.offsetWidth)}oe.style.top=_e+"px",oe.style.left=oe.style.right="",Ne=="right"?(Vt=He.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(Ne=="left"?Vt=0:Ne=="middle"&&(Vt=(He.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=Vt+"px"),fe&&Pi(this,{left:Vt,top:_e,right:Vt+oe.offsetWidth,bottom:_e+oe.offsetHeight})},triggerOnKeyDown:zi(Vu),triggerOnKeyPress:zi(md),triggerOnKeyUp:pd,triggerOnMouseDown:zi(Ls),execCommand:function(te){if(Zu.hasOwnProperty(te))return Zu[te].call(null,this)},triggerElectric:zi(function(te){Ud(this,te)}),findPosH:function(te,oe,fe,Se){var Ne=1;oe<0&&(Ne=-1,oe=-oe);for(var He=or(this.doc,te),_e=0;_e0&&Vt(fe.charAt(Se-1));)--Se;for(;Ne.5||this.options.lineWrapping)&&$o(this),yt(this,"refresh",this)}),swapDoc:zi(function(te){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),El(this,te),na(this),this.display.input.reset(),ca(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,In(this,"swapDoc",this,oe),oe}),phrase:function(te){var oe=this.options.phrases;return oe&&Object.prototype.hasOwnProperty.call(oe,te)?oe[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},wr(x),x.registerHelper=function(te,oe,fe){ne.hasOwnProperty(te)||(ne[te]=x[te]={_global:[]}),ne[te][oe]=fe},x.registerGlobalHelper=function(te,oe,fe,Se){x.registerHelper(te,oe,Se),ne[te]._global.push({pred:fe,val:Se})}}function vd(x,z,ne,te,oe){var fe=z,Se=ne,Ne=Sn(x,z.line),He=oe&&x.direction=="rtl"?-ne:ne;function _e(){var ji=z.line+He;return ji=x.first+x.size?!1:(z=new kt(ji,z.ch,z.sticky),Ne=Sn(x,ji))}function Vt(ji){var Mi;if(te=="codepoint"){var Ui=Ne.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(Ui)?Mi=null:Mi=new kt(z.line,Math.max(0,Math.min(Ne.text.length,z.ch+ne*(Ui>=55296&&Ui<56320?2:1))),-ne)}else oe?Mi=Tl(x.cm,Ne,z,ne):Mi=Il(Ne,z,ne);if(Mi==null)if(!ji&&_e())z=vu(oe,x.cm,Ne,z.line,He);else return!1;else z=Mi;return!0}if(te=="char"||te=="codepoint")Vt();else if(te=="column")Vt(!0);else if(te=="word"||te=="group")for(var sn=null,Yn=te=="group",On=x.cm&&x.cm.getHelper(z,"wordChars"),Ir=!0;!(ne<0&&!Vt(!Ir));Ir=!1){var ti=Ne.text.charAt(z.ch)||` `,vi=de(ti,On)?"w":Yn&&ti==` `?"n":!Yn||/\s/.test(ti)?null:"p";if(Yn&&!Ir&&!vi&&(vi="s"),sn&&sn!=vi){ne<0&&(ne=1,Vt(),z.sticky="after");break}if(vi&&(sn=vi),ne>0&&!Vt(!Ir))break}var Ii=sc(x,z,fe,Se,!0);return zn(fe,Ii)&&(Ii.hitSide=!0),Ii}function Cf(x,z,ne,te){var oe=x.doc,fe=z.left,Se;if(te=="page"){var Ne=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),He=Math.max(Ne-.5*Io(x.display),3);Se=(ne>0?z.bottom:z.top)+ne*He}else te=="line"&&(Se=ne>0?z.bottom+3:z.top-3);for(var _e;_e=Wo(x,fe,Se),!!_e.outside;){if(ne<0?Se<=0:Se>=oe.height){_e.hitSide=!0;break}Se+=ne*5}return _e}var Qo=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ce,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Qo.prototype.init=function(x){var z=this,ne=this,te=ne.cm,oe=ne.div=x.lineDiv;Sf(oe,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function fe(Ne){for(var He=Ne.target;He;He=He.parentNode){if(He==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(He.className))break}return!1}gn(oe,"paste",function(Ne){!fe(Ne)||It(te,Ne)||Vd(Ne,te)||Ee<=11&&setTimeout($a(te,function(){return z.updateFromDOM()}),20)}),gn(oe,"compositionstart",function(Ne){z.composing={data:Ne.data,done:!1}}),gn(oe,"compositionupdate",function(Ne){z.composing||(z.composing={data:Ne.data,done:!1})}),gn(oe,"compositionend",function(Ne){z.composing&&(Ne.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),gn(oe,"touchstart",function(){return ne.forceCompositionEnd()}),gn(oe,"input",function(){z.composing||z.readFromDOMSoon()});function Se(Ne){if(!(!fe(Ne)||It(te,Ne))){if(te.somethingSelected())Uu({lineWise:!1,text:te.getSelections()}),Ne.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var He=Lc(te);Uu({lineWise:!0,text:He.text}),Ne.type=="cut"&&te.operation(function(){te.setSelections(He.ranges,0,rt),te.replaceSelection("",null,"cut")})}else return;if(Ne.clipboardData){Ne.clipboardData.clearData();var _e=su.text.join(` `);if(Ne.clipboardData.setData("Text",_e),Ne.clipboardData.getData("Text")==_e){Ne.preventDefault();return}}var Vt=Gd(),sn=Vt.firstChild;te.display.lineSpace.insertBefore(Vt,te.display.lineSpace.firstChild),sn.value=su.text.join(` `);var Yn=document.activeElement;pn(sn),setTimeout(function(){te.display.lineSpace.removeChild(Vt),Yn.focus(),Yn==oe&&ne.showPrimarySelection()},50)}}gn(oe,"copy",Se),gn(oe,"cut",Se)},Qo.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Qo.prototype.prepareSelection=function(){var x=Un(this.cm,!1);return x.focus=document.activeElement==this.div,x},Qo.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Qo.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qo.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ne=z.doc.sel.primary(),te=ne.from(),oe=ne.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||oe.line=z.display.viewFrom&&Ef(z,te)||{node:Ne[0].measure.map[2],offset:0},_e=oe.linex.firstLine()&&(te=kt(te.line-1,Sn(x.doc,te.line-1).length)),oe.ch==Sn(x.doc,oe.line).text.length&&oe.linez.viewTo-1)return!1;var fe,Se,Ne;te.line==z.viewFrom||(fe=ja(x,te.line))==0?(Se=Sr(z.view[0].line),Ne=z.view[0].node):(Se=Sr(z.view[fe].line),Ne=z.view[fe-1].node.nextSibling);var He=ja(x,oe.line),_e,Vt;if(He==z.view.length-1?(_e=z.viewTo-1,Vt=z.lineDiv.lastChild):(_e=Sr(z.view[He+1].line)-1,Vt=z.view[He+1].node.previousSibling),!Ne)return!1;for(var sn=x.doc.splitLines(ch(x,Ne,Vt,Se,_e)),Yn=Bn(x.doc,kt(Se,0),kt(_e,Sn(x.doc,_e).text.length));sn.length>1&&Yn.length>1;)if(un(sn)==un(Yn))sn.pop(),Yn.pop(),_e--;else if(sn[0]==Yn[0])sn.shift(),Yn.shift(),Se++;else break;for(var On=0,Ir=0,ti=sn[0],vi=Yn[0],Ii=Math.min(ti.length,vi.length);Onte.ch&&ji.charCodeAt(ji.length-Ir-1)==Mi.charCodeAt(Mi.length-Ir-1);)On--,Ir++;sn[sn.length-1]=ji.slice(0,ji.length-Ir).replace(/^\u200b+/,""),sn[0]=sn[0].slice(On).replace(/\u200b+$/,"");var ka=kt(Se,On),Pa=kt(_e,Yn.length?un(Yn).length-Ir:0);if(sn.length>1||sn[0]||jt(ka,Pa))return $l(x.doc,sn,ka,Pa,"+input"),!0},Qo.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qo.prototype.reset=function(){this.forceCompositionEnd()},Qo.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qo.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Qo.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Ta(this.cm,function(){return be(x.cm)})},Qo.prototype.setUneditable=function(x){x.contentEditable="false"},Qo.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||$a(this.cm,jd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Qo.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Qo.prototype.onContextMenu=function(){},Qo.prototype.resetPosition=function(){},Qo.prototype.needsContentAttribute=!0;function Ef(x,z){var ne=Ha(x,z.line);if(!ne||ne.hidden)return null;var te=Sn(x.doc,z.line),oe=ao(ne,te,z.line),fe=kr(te,x.doc.direction),Se="left";if(fe){var Ne=$t(fe,z.ch);Se=Ne%2?"right":"left"}var He=aa(oe.map,z.ch,Se);return He.offset=He.collapse=="right"?He.end:He.start,He}function uh(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Fc(x,z){return z&&(x.bad=!0),x}function ch(x,z,ne,te,oe){var fe="",Se=!1,Ne=x.doc.lineSeparator(),He=!1;function _e(On){return function(Ir){return Ir.id==On}}function Vt(){Se&&(fe+=Ne,He&&(fe+=Ne),Se=He=!1)}function sn(On){On&&(Vt(),fe+=On)}function Yn(On){if(On.nodeType==1){var Ir=On.getAttribute("cm-text");if(Ir){sn(Ir);return}var ti=On.getAttribute("cm-marker"),vi;if(ti){var Ii=x.findMarks(kt(te,0),kt(oe+1,0),_e(+ti));Ii.length&&(vi=Ii[0].find(0))&&sn(Bn(x.doc,vi.from,vi.to).join(Ne));return}if(On.getAttribute("contenteditable")=="false")return;var ji=/^(pre|div|p|li|table|br)$/i.test(On.nodeName);if(!/^br$/i.test(On.nodeName)&&On.textContent.length==0)return;ji&&Vt();for(var Mi=0;Mi=9&&z.hasSelection&&(z.hasSelection=null),ne.poll()}),gn(oe,"paste",function(Se){It(te,Se)||Vd(Se,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function fe(Se){if(!It(te,Se)){if(te.somethingSelected())Uu({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var Ne=Lc(te);Uu({lineWise:!0,text:Ne.text}),Se.type=="cut"?te.setSelections(Ne.ranges,null,rt):(ne.prevInput="",oe.value=Ne.text.join(` `),pn(oe))}else return;Se.type=="cut"&&(te.state.cutIncoming=+new Date)}}gn(oe,"cut",fe),gn(oe,"copy",fe),gn(x.scroller,"paste",function(Se){if(!($i(x,Se)||It(te,Se))){if(!oe.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var Ne=new Event("paste");Ne.clipboardData=Se.clipboardData,oe.dispatchEvent(Ne)}}),gn(x.lineSpace,"selectstart",function(Se){$i(x,Se)||_r(Se)}),gn(oe,"compositionstart",function(){var Se=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:Se,range:te.markText(Se,te.getCursor("to"),{className:"CodeMirror-composing"})}}),gn(oe,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},rs.prototype.createField=function(x){this.wrapper=Gd(),this.textarea=this.wrapper.firstChild},rs.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},rs.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ne=x.doc,te=Un(x);if(x.options.moveInputWithCursor){var oe=io(x,ne.sel.primary().head,"div"),fe=z.wrapper.getBoundingClientRect(),Se=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,oe.top+Se.top-fe.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,oe.left+Se.left-fe.left))}return te},rs.prototype.showSelection=function(x){var z=this.cm,ne=z.display;Ge(ne.cursorDiv,x.cursors),Ge(ne.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},rs.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ne=z.getSelection();this.textarea.value=ne,z.state.focused&&pn(this.textarea),ve&&Ee>=9&&(this.hasSelection=ne)}else x||(this.prevInput=this.textarea.value="",ve&&Ee>=9&&(this.hasSelection=null))}},rs.prototype.getField=function(){return this.textarea},rs.prototype.supportsTouch=function(){return!1},rs.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!nt||lt()!=this.textarea))try{this.textarea.focus()}catch(x){}},rs.prototype.blur=function(){this.textarea.blur()},rs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},rs.prototype.receivedFocus=function(){this.slowPoll()},rs.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},rs.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ne(){var te=z.poll();!te&&!x?(x=!0,z.polling.set(60,ne)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ne)},rs.prototype.poll=function(){var x=this,z=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||Nt(ne)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var oe=ne.value;if(oe==te&&!z.somethingSelected())return!1;if(ve&&Ee>=9&&this.hasSelection===oe||Me&&/[\uf700-\uf7ff]/.test(oe))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var fe=oe.charCodeAt(0);if(fe==8203&&!te&&(te="\u200B"),fe==8666)return this.reset(),this.cm.execCommand("undo")}for(var Se=0,Ne=Math.min(te.length,oe.length);Se1e3||oe.indexOf(` `)>-1?ne.value=x.prevInput="":x.prevInput=oe,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rs.prototype.onKeyPress=function(){ve&&Ee>=9&&(this.hasSelection=null),this.fastPoll()},rs.prototype.onContextMenu=function(x){var z=this,ne=z.cm,te=ne.display,oe=z.textarea;z.contextMenuPending&&z.contextMenuPending();var fe=Cs(ne,x),Se=te.scroller.scrollTop;if(!fe||Le)return;var Ne=ne.options.resetSelectionOnContextMenu;Ne&&ne.doc.sel.contains(fe)==-1&&$a(ne,Hi)(ne.doc,Os(fe),rt);var He=oe.style.cssText,_e=z.wrapper.style.cssText,Vt=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(x.clientY-Vt.top-5)+"px; left: "+(x.clientX-Vt.left-5)+`px; z-index: 1000; background: `+(ve?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var sn;ke&&(sn=window.scrollY),te.input.focus(),ke&&window.scrollTo(null,sn),te.input.reset(),ne.somethingSelected()||(oe.value=z.prevInput=" "),z.contextMenuPending=On,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Yn(){if(oe.selectionStart!=null){var ti=ne.somethingSelected(),vi="\u200B"+(ti?oe.value:"");oe.value="\u21DA",oe.value=vi,z.prevInput=ti?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=vi.length,te.selForContextMenu=ne.doc.sel}}function On(){if(z.contextMenuPending==On&&(z.contextMenuPending=!1,z.wrapper.style.cssText=_e,oe.style.cssText=He,ve&&Ee<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=Se),oe.selectionStart!=null)){(!ve||ve&&Ee<9)&&Yn();var ti=0,vi=function(){te.selForContextMenu==ne.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&z.prevInput=="\u200B"?$a(ne,Hc)(ne):ti++<10?te.detectingSelectAll=setTimeout(vi,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(vi,200)}}if(ve&&Ee>=9&&Yn(),we){ri(x);var Ir=function(){Er(window,"mouseup",Ir),setTimeout(On,20)};gn(window,"mouseup",Ir)}else setTimeout(On,50)},rs.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},rs.prototype.setUneditable=function(){},rs.prototype.needsContentAttribute=!1;function pc(x,z){if(z=z?tr(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ne=lt();z.autofocus=ne==x||x.getAttribute("autofocus")!=null&&ne==document.body}function te(){x.value=Ne.getValue()}var oe;if(x.form&&(gn(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var fe=x.form;oe=fe.submit;try{var Se=fe.submit=function(){te(),fe.submit=oe,fe.submit(),fe.submit=Se}}catch(He){}}z.finishInit=function(He){He.save=te,He.getTextArea=function(){return x},He.toTextArea=function(){He.toTextArea=isNaN,te(),x.parentNode.removeChild(He.getWrapperElement()),x.style.display="",x.form&&(Er(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var Ne=Ga(function(He){return x.parentNode.insertBefore(He,x.nextSibling)},z);return Ne}function Pc(x){x.off=Er,x.on=gn,x.wheelEventPixels=Qs,x.Doc=ys,x.splitLines=Ot,x.countColumn=it,x.findColumn=qt,x.isWordChar=pe,x.Pass=Tt,x.signal=yt,x.Line=mr,x.changeEnd=jo,x.scrollbarModel=To,x.Pos=kt,x.cmpPos=jt,x.modes=Fn,x.mimeModes=ir,x.resolveMode=At,x.getMode=Mt,x.modeExtensions=fn,x.extendMode=$e,x.copyState=Ft,x.startState=_t,x.innerMode=on,x.commands=Zu,x.keyMap=Vo,x.keyName=gu,x.isModifierKey=Wu,x.lookupKey=nu,x.normalizeKeyMap=Mc,x.StringStream=En,x.SharedTextMarker=so,x.TextMarker=pu,x.LineWidget=Fu,x.e_preventDefault=_r,x.e_stopPropagation=ei,x.e_stop=ri,x.addClass=zt,x.contains=St,x.rmClass=je,x.keyNames=Pl}oh(Ga),_d(Ga);var Pu="iter insert remove copy getEditor constructor".split(" ");for(var Ul in ys.prototype)ys.prototype.hasOwnProperty(Ul)&&wt(Pu,Ul)<0&&(Ga.prototype[Ul]=function(x){return function(){return x.apply(this.doc,arguments)}}(ys.prototype[Ul]));return wr(ys),Ga.inputStyles={textarea:rs,contenteditable:Qo},Ga.defineMode=function(x){!Ga.defaults.mode&&x!="null"&&(Ga.defaults.mode=x),Xn.apply(this,arguments)},Ga.defineMIME=pt,Ga.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Ga.defineMIME("text/plain","null"),Ga.defineExtension=function(x,z){Ga.prototype[x]=z},Ga.defineDocExtension=function(x,z){ys.prototype[x]=z},Ga.fromTextArea=pc,Pc(Ga),Ga.version="5.58.2",Ga})},49047:function(mn,en,ie){(function(ae){ae(ie(4631),ie(29589),ie(52539))})(function(ae){"use strict";ae.defineMode("markdown",function(Oe,Re){var Ze=ae.getMode(Oe,"text/html"),ve=Ze.name=="null";function Ee(it){if(ae.findModeByName){var Ce=ae.findModeByName(it);Ce&&(it=Ce.mime||Ce.mimes[0])}var wt=ae.getMode(Oe,it);return wt.name=="null"?null:wt}Re.highlightFormatting===void 0&&(Re.highlightFormatting=!1),Re.maxBlockquoteDepth===void 0&&(Re.maxBlockquoteDepth=0),Re.taskLists===void 0&&(Re.taskLists=!1),Re.strikethrough===void 0&&(Re.strikethrough=!1),Re.emoji===void 0&&(Re.emoji=!1),Re.fencedCodeBlockHighlighting===void 0&&(Re.fencedCodeBlockHighlighting=!0),Re.fencedCodeBlockDefaultMode===void 0&&(Re.fencedCodeBlockDefaultMode="text/plain"),Re.xml===void 0&&(Re.xml=!0),Re.tokenTypeOverrides===void 0&&(Re.tokenTypeOverrides={});var ke={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 ye in ke)ke.hasOwnProperty(ye)&&Re.tokenTypeOverrides[ye]&&(ke[ye]=Re.tokenTypeOverrides[ye]);var me=/^([*\-_])(?:\s*\1){2,}\s*$/,Le=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,mt=/^\[(x| )\](?=\s)/i,Ie=Re.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Xe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ot=/^[^#!\[\]*_\\<>` "'(~:]+/,dt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,nt=/^\s*\[[^\]]+?\]:.*$/,Me=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,ut=" ";function Ut(it,Ce,wt){return Ce.f=Ce.inline=wt,wt(it,Ce)}function at(it,Ce,wt){return Ce.f=Ce.block=wt,wt(it,Ce)}function ht(it){return!it||!/\S/.test(it.string)}function we(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==je){var Ce=ve;if(!Ce){var wt=ae.innerMode(Ze,it.htmlState);Ce=wt.mode.name=="xml"&&wt.state.tagStart===null&&!wt.state.context&&wt.state.tokenize.isInText}Ce&&(it.f=Ye,it.block=he,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function he(it,Ce){var wt=it.column()===Ce.indentation,An=ht(Ce.prevLine.stream),Tt=Ce.indentedCode,rt=Ce.prevLine.hr,ft=Ce.list!==!1,Wt=(Ce.listStack[Ce.listStack.length-1]||0)+3;Ce.indentedCode=!1;var qt=Ce.indentation;if(Ce.indentationDiff===null&&(Ce.indentationDiff=Ce.indentation,ft)){for(Ce.list=null;qt=4&&(Tt||Ce.prevLine.fencedCodeEnd||Ce.prevLine.header||An))return it.skipToEnd(),Ce.indentedCode=!0,ke.code;if(it.eatSpace())return null;if(wt&&Ce.indentation<=Wt&&(un=it.match(Ie))&&un[1].length<=6)return Ce.quote=0,Ce.header=un[1].length,Ce.thisLine.header=!0,Re.highlightFormatting&&(Ce.formatting="header"),Ce.f=Ce.inline,Ge(Ce);if(Ce.indentation<=Wt&&it.eat(">"))return Ce.quote=wt?1:Ce.quote+1,Re.highlightFormatting&&(Ce.formatting="quote"),it.eatSpace(),Ge(Ce);if(!Ht&&!Ce.setext&&wt&&Ce.indentation<=Wt&&(un=it.match(Le))){var kn=un[1]?"ol":"ul";return Ce.indentation=qt+it.current().length,Ce.list=!0,Ce.quote=0,Ce.listStack.push(Ce.indentation),Ce.em=!1,Ce.strong=!1,Ce.code=!1,Ce.strikethrough=!1,Re.taskLists&&it.match(mt,!1)&&(Ce.taskList=!0),Ce.f=Ce.inline,Re.highlightFormatting&&(Ce.formatting=["list","list-"+kn]),Ge(Ce)}else{if(wt&&Ce.indentation<=Wt&&(un=it.match(dt,!0)))return Ce.quote=0,Ce.fencedEndRE=new RegExp(un[1]+"+ *$"),Ce.localMode=Re.fencedCodeBlockHighlighting&&Ee(un[2]||Re.fencedCodeBlockDefaultMode),Ce.localMode&&(Ce.localState=ae.startState(Ce.localMode)),Ce.f=Ce.block=Ve,Re.highlightFormatting&&(Ce.formatting="code-block"),Ce.code=-1,Ge(Ce);if(Ce.setext||(!Xt||!ft)&&!Ce.quote&&Ce.list===!1&&!Ce.code&&!Ht&&!nt.test(it.string)&&(un=it.lookAhead(1))&&(un=un.match(Xe)))return Ce.setext?(Ce.header=Ce.setext,Ce.setext=0,it.skipToEnd(),Re.highlightFormatting&&(Ce.formatting="header")):(Ce.header=un[0].charAt(0)=="="?1:2,Ce.setext=Ce.header),Ce.thisLine.header=!0,Ce.f=Ce.inline,Ge(Ce);if(Ht)return it.skipToEnd(),Ce.hr=!0,Ce.thisLine.hr=!0,ke.hr;if(it.peek()==="[")return Ut(it,Ce,Dt)}return Ut(it,Ce,Ce.inline)}function je(it,Ce){var wt=Ze.token(it,Ce.htmlState);if(!ve){var An=ae.innerMode(Ze,Ce.htmlState);(An.mode.name=="xml"&&An.state.tagStart===null&&!An.state.context&&An.state.tokenize.isInText||Ce.md_inside&&it.current().indexOf(">")>-1)&&(Ce.f=Ye,Ce.block=he,Ce.htmlState=null)}return wt}function Ve(it,Ce){var wt=Ce.listStack[Ce.listStack.length-1]||0,An=Ce.indentation=it.quote?Ce.push(ke.formatting+"-"+it.formatting[wt]+"-"+it.quote):Ce.push("error"))}if(it.taskOpen)return Ce.push("meta"),Ce.length?Ce.join(" "):null;if(it.taskClosed)return Ce.push("property"),Ce.length?Ce.join(" "):null;if(it.linkHref?Ce.push(ke.linkHref,"url"):(it.strong&&Ce.push(ke.strong),it.em&&Ce.push(ke.em),it.strikethrough&&Ce.push(ke.strikethrough),it.emoji&&Ce.push(ke.emoji),it.linkText&&Ce.push(ke.linkText),it.code&&Ce.push(ke.code),it.image&&Ce.push(ke.image),it.imageAltText&&Ce.push(ke.imageAltText,"link"),it.imageMarker&&Ce.push(ke.imageMarker)),it.header&&Ce.push(ke.header,ke.header+"-"+it.header),it.quote&&(Ce.push(ke.quote),!Re.maxBlockquoteDepth||Re.maxBlockquoteDepth>=it.quote?Ce.push(ke.quote+"-"+it.quote):Ce.push(ke.quote+"-"+Re.maxBlockquoteDepth)),it.list!==!1){var An=(it.listStack.length-1)%3;An?An===1?Ce.push(ke.list2):Ce.push(ke.list3):Ce.push(ke.list1)}return it.trailingSpaceNewLine?Ce.push("trailing-space-new-line"):it.trailingSpace&&Ce.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ce.length?Ce.join(" "):null}function qe(it,Ce){if(it.match(ot,!0))return Ge(Ce)}function Ye(it,Ce){var wt=Ce.text(it,Ce);if(typeof wt!="undefined")return wt;if(Ce.list)return Ce.list=null,Ge(Ce);if(Ce.taskList){var An=it.match(mt,!0)[1]===" ";return An?Ce.taskOpen=!0:Ce.taskClosed=!0,Re.highlightFormatting&&(Ce.formatting="task"),Ce.taskList=!1,Ge(Ce)}if(Ce.taskOpen=!1,Ce.taskClosed=!1,Ce.header&&it.match(/^#+$/,!0))return Re.highlightFormatting&&(Ce.formatting="header"),Ge(Ce);var Tt=it.next();if(Ce.linkTitle){Ce.linkTitle=!1;var rt=Tt;Tt==="("&&(rt=")"),rt=(rt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ft="^\\s*(?:[^"+rt+"\\\\]+|\\\\\\\\|\\\\.)"+rt;if(it.match(new RegExp(ft),!0))return ke.linkHref}if(Tt==="`"){var Wt=Ce.formatting;Re.highlightFormatting&&(Ce.formatting="code"),it.eatWhile("`");var qt=it.current().length;if(Ce.code==0&&(!Ce.quote||qt==1))return Ce.code=qt,Ge(Ce);if(qt==Ce.code){var Xt=Ge(Ce);return Ce.code=0,Xt}else return Ce.formatting=Wt,Ge(Ce)}else if(Ce.code)return Ge(Ce);if(Tt==="\\"&&(it.next(),Re.highlightFormatting)){var Ht=Ge(Ce),un=ke.formatting+"-escape";return Ht?Ht+" "+un:un}if(Tt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ce.imageMarker=!0,Ce.image=!0,Re.highlightFormatting&&(Ce.formatting="image"),Ge(Ce);if(Tt==="["&&Ce.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ce.imageMarker=!1,Ce.imageAltText=!0,Re.highlightFormatting&&(Ce.formatting="image"),Ge(Ce);if(Tt==="]"&&Ce.imageAltText){Re.highlightFormatting&&(Ce.formatting="image");var Ht=Ge(Ce);return Ce.imageAltText=!1,Ce.image=!1,Ce.inline=Ce.f=St,Ht}if(Tt==="["&&!Ce.image)return Ce.linkText&&it.match(/^.*?\]/)||(Ce.linkText=!0,Re.highlightFormatting&&(Ce.formatting="link")),Ge(Ce);if(Tt==="]"&&Ce.linkText){Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ce.linkText=!1,Ce.inline=Ce.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?St:Ye,Ht}if(Tt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=We,Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ht?Ht+=" ":Ht="",Ht+ke.linkInline}if(Tt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=We,Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ht?Ht+=" ":Ht="",Ht+ke.linkEmail}if(Re.xml&&Tt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var kn=it.string.indexOf(">",it.pos);if(kn!=-1){var yn=it.string.substring(it.start,kn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(yn)&&(Ce.md_inside=!0)}return it.backUp(1),Ce.htmlState=ae.startState(Ze),at(it,Ce,je)}if(Re.xml&&Tt==="<"&&it.match(/^\/\w*?>/))return Ce.md_inside=!1,"tag";if(Tt==="*"||Tt==="_"){for(var Fe=1,ce=it.pos==1?" ":it.string.charAt(it.pos-2);Fe<3&&it.eat(Tt);)Fe++;var ue=it.peek()||" ",pe=!/\s/.test(ue)&&(!Me.test(ue)||/\s/.test(ce)||Me.test(ce)),de=!/\s/.test(ce)&&(!Me.test(ce)||/\s/.test(ue)||Me.test(ue)),le=null,De=null;if(Fe%2&&(!Ce.em&&pe&&(Tt==="*"||!de||Me.test(ce))?le=!0:Ce.em==Tt&&de&&(Tt==="*"||!pe||Me.test(ue))&&(le=!1)),Fe>1&&(!Ce.strong&&pe&&(Tt==="*"||!de||Me.test(ce))?De=!0:Ce.strong==Tt&&de&&(Tt==="*"||!pe||Me.test(ue))&&(De=!1)),De!=null||le!=null){Re.highlightFormatting&&(Ce.formatting=le==null?"strong":De==null?"em":"strong em"),le===!0&&(Ce.em=Tt),De===!0&&(Ce.strong=Tt);var Xt=Ge(Ce);return le===!1&&(Ce.em=!1),De===!1&&(Ce.strong=!1),Xt}}else if(Tt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return Ge(Ce);it.backUp(1)}if(Re.strikethrough){if(Tt==="~"&&it.eatWhile(Tt)){if(Ce.strikethrough){Re.highlightFormatting&&(Ce.formatting="strikethrough");var Xt=Ge(Ce);return Ce.strikethrough=!1,Xt}else if(it.match(/^[^\s]/,!1))return Ce.strikethrough=!0,Re.highlightFormatting&&(Ce.formatting="strikethrough"),Ge(Ce)}else if(Tt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return Ge(Ce);it.backUp(2)}}if(Re.emoji&&Tt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ce.emoji=!0,Re.highlightFormatting&&(Ce.formatting="emoji");var Ke=Ge(Ce);return Ce.emoji=!1,Ke}return Tt===" "&&(it.match(/^ +$/,!1)?Ce.trailingSpace++:Ce.trailingSpace&&(Ce.trailingSpaceNewLine=!0)),Ge(Ce)}function We(it,Ce){var wt=it.next();if(wt===">"){Ce.f=Ce.inline=Ye,Re.highlightFormatting&&(Ce.formatting="link");var An=Ge(Ce);return An?An+=" ":An="",An+ke.linkInline}return it.match(/^[^>]+/,!0),ke.linkInline}function St(it,Ce){if(it.eatSpace())return null;var wt=it.next();return wt==="("||wt==="["?(Ce.f=Ce.inline=zt(wt==="("?")":"]"),Re.highlightFormatting&&(Ce.formatting="link-string"),Ce.linkHref=!0,Ge(Ce)):"error"}var lt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function zt(it){return function(Ce,wt){var An=Ce.next();if(An===it){wt.f=wt.inline=Ye,Re.highlightFormatting&&(wt.formatting="link-string");var Tt=Ge(wt);return wt.linkHref=!1,Tt}return Ce.match(lt[it]),wt.linkHref=!0,Ge(wt)}}function Dt(it,Ce){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ce.f=pn,it.next(),Re.highlightFormatting&&(Ce.formatting="link"),Ce.linkText=!0,Ge(Ce)):Ut(it,Ce,Ye)}function pn(it,Ce){if(it.match(/^\]:/,!0)){Ce.f=Ce.inline=Kn,Re.highlightFormatting&&(Ce.formatting="link");var wt=Ge(Ce);return Ce.linkText=!1,wt}return it.match(/^([^\]\\]|\\.)+/,!0),ke.linkText}function Kn(it,Ce){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ce.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ce.f=Ce.inline=Ye,ke.linkHref+" url")}var tr={startState:function(){return{f:he,prevLine:{stream:null},thisLine:{stream:null},block:he,htmlState:null,indentation:0,inline:Ye,text:qe,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(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&ae.copyState(Ze,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?ae.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,Ce){if(Ce.formatting=!1,it!=Ce.thisLine.stream){if(Ce.header=0,Ce.hr=!1,it.match(/^\s*$/,!0))return we(Ce),null;if(Ce.prevLine=Ce.thisLine,Ce.thisLine={stream:it},Ce.taskList=!1,Ce.trailingSpace=0,Ce.trailingSpaceNewLine=!1,!Ce.localState&&(Ce.f=Ce.block,Ce.f!=je)){var wt=it.match(/^\s*/,!0)[0].replace(/\t/g,ut).length;if(Ce.indentation=wt,Ce.indentationDiff=null,wt>0)return null}}return Ce.f(it,Ce)},innerMode:function(it){return it.block==je?{state:it.htmlState,mode:Ze}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:tr}},indent:function(it,Ce,wt){return it.block==je&&Ze.indent?Ze.indent(it.htmlState,Ce,wt):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ce,wt):ae.Pass},blankLine:we,getType:Ge,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return tr},"xml"),ae.defineMIME("text/markdown","markdown"),ae.defineMIME("text/x-markdown","markdown")})},52539:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";ae.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 Oe=0;Oe-1&&Ze.substring(ke+1,Ze.length);if(ye)return ae.findModeByExtension(ye)},ae.findModeByName=function(Ze){Ze=Ze.toLowerCase();for(var ve=0;ve0?ot.cmdState[ot.cmdState.length-1]:null}function Ee(ot){var dt=ot.cmdState.pop();dt&&dt.closeBracket()}function ke(ot){for(var dt=ot.cmdState,nt=dt.length-1;nt>=0;nt--){var Me=dt[nt];if(Me.name!="DEFAULT")return Me}return{styleIdentifier:function(){return null}}}function ye(ot,dt,nt){return function(){this.name=ot,this.bracketNo=0,this.style=dt,this.styles=nt,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var me={};me.importmodule=ye("importmodule","tag",["string","builtin"]),me.documentclass=ye("documentclass","tag",["","atom"]),me.usepackage=ye("usepackage","tag",["atom"]),me.begin=ye("begin","tag",["atom"]),me.end=ye("end","tag",["atom"]),me.label=ye("label","tag",["atom"]),me.ref=ye("ref","tag",["atom"]),me.eqref=ye("eqref","tag",["atom"]),me.cite=ye("cite","tag",["atom"]),me.bibitem=ye("bibitem","tag",["atom"]),me.Bibitem=ye("Bibitem","tag",["atom"]),me.RBibitem=ye("RBibitem","tag",["atom"]),me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Le(ot,dt){ot.f=dt}function mt(ot,dt){var nt;if(ot.match(/^\\[a-zA-Z@]+/)){var Me=ot.current().slice(1);return nt=me.hasOwnProperty(Me)?me[Me]:me.DEFAULT,nt=new nt,Ze(dt,nt),Le(dt,Xe),nt.style}if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/\\]/))return"tag";if(ot.match("\\["))return Le(dt,function(Ut,at){return Ie(Ut,at,"\\]")}),"keyword";if(ot.match("\\("))return Le(dt,function(Ut,at){return Ie(Ut,at,"\\)")}),"keyword";if(ot.match("$$"))return Le(dt,function(Ut,at){return Ie(Ut,at,"$$")}),"keyword";if(ot.match("$"))return Le(dt,function(Ut,at){return Ie(Ut,at,"$")}),"keyword";var ut=ot.next();if(ut=="%")return ot.skipToEnd(),"comment";if(ut=="}"||ut=="]"){if(nt=ve(dt),nt)nt.closeBracket(ut),Le(dt,Xe);else return"error";return"bracket"}else return ut=="{"||ut=="["?(nt=me.DEFAULT,nt=new nt,Ze(dt,nt),"bracket"):/\d/.test(ut)?(ot.eatWhile(/[\w.%]/),"atom"):(ot.eatWhile(/[\w\-_]/),nt=ke(dt),nt.name=="begin"&&(nt.argument=ot.current()),nt.styleIdentifier())}function Ie(ot,dt,nt){if(ot.eatSpace())return null;if(nt&&ot.match(nt))return Le(dt,mt),"keyword";if(ot.match(/^\\[a-zA-Z@]+/))return"tag";if(ot.match(/^[a-zA-Z]+/))return"variable-2";if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/]/)||ot.match(/^[\^_&]/))return"tag";if(ot.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ot.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Me=ot.next();return Me=="{"||Me=="}"||Me=="["||Me=="]"||Me=="("||Me==")"?"bracket":Me=="%"?(ot.skipToEnd(),"comment"):"error"}function Xe(ot,dt){var nt=ot.peek(),Me;return nt=="{"||nt=="["?(Me=ve(dt),Me.openBracket(nt),ot.eat(nt),Le(dt,mt),"bracket"):/[ \t\r]/.test(nt)?(ot.eat(nt),null):(Le(dt,mt),Ee(dt),mt(ot,dt))}return{startState:function(){var ot=Re.inMathMode?function(dt,nt){return Ie(dt,nt)}:mt;return{cmdState:[],f:ot}},copyState:function(ot){return{cmdState:ot.cmdState.slice(),f:ot.f}},token:function(ot,dt){return dt.f(ot,dt)},blankLine:function(ot){ot.f=mt,ot.cmdState.length=0},lineComment:"%"}}),ae.defineMIME("text/x-stex","stex"),ae.defineMIME("text/x-latex","stex")})},29589:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";var Oe={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},Re={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ae.defineMode("xml",function(Ze,ve){var Ee=Ze.indentUnit,ke={},ye=ve.htmlMode?Oe:Re;for(var me in ye)ke[me]=ye[me];for(var me in ve)ke[me]=ve[me];var Le,mt;function Ie(We,St){function lt(pn){return St.tokenize=pn,pn(We,St)}var zt=We.next();if(zt=="<")return We.eat("!")?We.eat("[")?We.match("CDATA[")?lt(dt("atom","]]>")):null:We.match("--")?lt(dt("comment","-->")):We.match("DOCTYPE",!0,!0)?(We.eatWhile(/[\w\._\-]/),lt(nt(1))):null:We.eat("?")?(We.eatWhile(/[\w\._\-]/),St.tokenize=dt("meta","?>"),"meta"):(Le=We.eat("/")?"closeTag":"openTag",St.tokenize=Xe,"tag bracket");if(zt=="&"){var Dt;return We.eat("#")?We.eat("x")?Dt=We.eatWhile(/[a-fA-F\d]/)&&We.eat(";"):Dt=We.eatWhile(/[\d]/)&&We.eat(";"):Dt=We.eatWhile(/[\w\.\-:]/)&&We.eat(";"),Dt?"atom":"error"}else return We.eatWhile(/[^&<]/),null}Ie.isInText=!0;function Xe(We,St){var lt=We.next();if(lt==">"||lt=="/"&&We.eat(">"))return St.tokenize=Ie,Le=lt==">"?"endTag":"selfcloseTag","tag bracket";if(lt=="=")return Le="equals",null;if(lt=="<"){St.tokenize=Ie,St.state=at,St.tagName=St.tagStart=null;var zt=St.tokenize(We,St);return zt?zt+" tag error":"tag error"}else return/[\'\"]/.test(lt)?(St.tokenize=ot(lt),St.stringStartCol=We.column(),St.tokenize(We,St)):(We.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ot(We){var St=function(lt,zt){for(;!lt.eol();)if(lt.next()==We){zt.tokenize=Xe;break}return"string"};return St.isInAttribute=!0,St}function dt(We,St){return function(lt,zt){for(;!lt.eol();){if(lt.match(St)){zt.tokenize=Ie;break}lt.next()}return We}}function nt(We){return function(St,lt){for(var zt;(zt=St.next())!=null;){if(zt=="<")return lt.tokenize=nt(We+1),lt.tokenize(St,lt);if(zt==">")if(We==1){lt.tokenize=Ie;break}else return lt.tokenize=nt(We-1),lt.tokenize(St,lt)}return"meta"}}function Me(We,St,lt){this.prev=We.context,this.tagName=St,this.indent=We.indented,this.startOfLine=lt,(ke.doNotIndent.hasOwnProperty(St)||We.context&&We.context.noIndent)&&(this.noIndent=!0)}function ut(We){We.context&&(We.context=We.context.prev)}function Ut(We,St){for(var lt;;){if(!We.context||(lt=We.context.tagName,!ke.contextGrabbers.hasOwnProperty(lt)||!ke.contextGrabbers[lt].hasOwnProperty(St)))return;ut(We)}}function at(We,St,lt){return We=="openTag"?(lt.tagStart=St.column(),ht):We=="closeTag"?we:at}function ht(We,St,lt){return We=="word"?(lt.tagName=St.current(),mt="tag",Ve):ke.allowMissingTagName&&We=="endTag"?(mt="tag bracket",Ve(We,St,lt)):(mt="error",ht)}function we(We,St,lt){if(We=="word"){var zt=St.current();return lt.context&<.context.tagName!=zt&&ke.implicitlyClosed.hasOwnProperty(lt.context.tagName)&&ut(lt),lt.context&<.context.tagName==zt||ke.matchClosing===!1?(mt="tag",he):(mt="tag error",je)}else return ke.allowMissingTagName&&We=="endTag"?(mt="tag bracket",he(We,St,lt)):(mt="error",je)}function he(We,St,lt){return We!="endTag"?(mt="error",he):(ut(lt),at)}function je(We,St,lt){return mt="error",he(We,St,lt)}function Ve(We,St,lt){if(We=="word")return mt="attribute",Ge;if(We=="endTag"||We=="selfcloseTag"){var zt=lt.tagName,Dt=lt.tagStart;return lt.tagName=lt.tagStart=null,We=="selfcloseTag"||ke.autoSelfClosers.hasOwnProperty(zt)?Ut(lt,zt):(Ut(lt,zt),lt.context=new Me(lt,zt,Dt==lt.indented)),at}return mt="error",Ve}function Ge(We,St,lt){return We=="equals"?qe:(ke.allowMissing||(mt="error"),Ve(We,St,lt))}function qe(We,St,lt){return We=="string"?Ye:We=="word"&&ke.allowUnquoted?(mt="string",Ve):(mt="error",Ve(We,St,lt))}function Ye(We,St,lt){return We=="string"?Ye:Ve(We,St,lt)}return{startState:function(We){var St={tokenize:Ie,state:at,indented:We||0,tagName:null,tagStart:null,context:null};return We!=null&&(St.baseIndent=We),St},token:function(We,St){if(!St.tagName&&We.sol()&&(St.indented=We.indentation()),We.eatSpace())return null;Le=null;var lt=St.tokenize(We,St);return(lt||Le)&<!="comment"&&(mt=null,St.state=St.state(Le||lt,We,St),mt&&(lt=mt=="error"?lt+" error":mt)),lt},indent:function(We,St,lt){var zt=We.context;if(We.tokenize.isInAttribute)return We.tagStart==We.indented?We.stringStartCol+1:We.indented+Ee;if(zt&&zt.noIndent)return ae.Pass;if(We.tokenize!=Xe&&We.tokenize!=Ie)return lt?lt.match(/^(\s*)/)[0].length:0;if(We.tagName)return ke.multilineTagIndentPastTag!==!1?We.tagStart+We.tagName.length+2:We.tagStart+Ee*(ke.multilineTagIndentFactor||1);if(ke.alignCDATA&&/$/,blockCommentStart:"",configuration:ke.htmlMode?"html":"xml",helperType:ke.htmlMode?"html":"xml",skipAttribute:function(We){We.state==qe&&(We.state=Ve)},xmlCurrentTag:function(We){return We.tagName?{name:We.tagName,close:We.type=="closeTag"}:null},xmlCurrentContext:function(We){for(var St=[],lt=We.context;lt;lt=lt.prev)lt.tagName&&St.push(lt.tagName);return St.reverse()}}}),ae.defineMIME("text/xml","xml"),ae.defineMIME("application/xml","xml"),ae.mimeModes.hasOwnProperty("text/html")||ae.defineMIME("text/html",{name:"xml",htmlMode:!0})})},15979:function(mn,en,ie){"use strict";ie.d(en,{hP:function(){return yn}});var ae=function(Fe,ce){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,pe){ue.__proto__=pe}||function(ue,pe){for(var de in pe)Object.prototype.hasOwnProperty.call(pe,de)&&(ue[de]=pe[de])})(Fe,ce)};function Oe(Fe,ce){function ue(){this.constructor=Fe}ae(Fe,ce),Fe.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)}function Re(Fe,ce,ue,pe){return new(ue||(ue=Promise))(function(de,le){function De(Yt){try{Et(pe.next(Yt))}catch(Kt){le(Kt)}}function Ke(Yt){try{Et(pe.throw(Yt))}catch(Kt){le(Kt)}}function Et(Yt){var Kt;Yt.done?de(Yt.value):(Kt=Yt.value,Kt instanceof ue?Kt:new ue(function(nn){nn(Kt)})).then(De,Ke)}Et((pe=pe.apply(Fe,ce||[])).next())})}function Ze(Fe,ce){var ue,pe,de,le,De={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return le={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(le[Symbol.iterator]=function(){return this}),le;function Ke(Et){return function(Yt){return function(Kt){if(ue)throw new TypeError("Generator is already executing.");for(;De;)try{if(ue=1,pe&&(de=2&Kt[0]?pe.return:Kt[0]?pe.throw||((de=pe.return)&&de.call(pe),0):pe.next)&&!(de=de.call(pe,Kt[1])).done)return de;switch(pe=0,de&&(Kt=[2&Kt[0],de.value]),Kt[0]){case 0:case 1:de=Kt;break;case 4:return De.label++,{value:Kt[1],done:!1};case 5:De.label++,pe=Kt[1],Kt=[0];continue;case 7:Kt=De.ops.pop(),De.trys.pop();continue;default:if(de=De.trys,!((de=de.length>0&&de[de.length-1])||Kt[0]!==6&&Kt[0]!==2)){De=0;continue}if(Kt[0]===3&&(!de||Kt[1]>de[0]&&Kt[1]',"select"),this.addActionButton(pe,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(pe,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(pe,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(pe,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(pe,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(pe,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(pe,'',"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(le){var De=document.createElement("div");De.className=""+ue.toolbarButtonStyleClass.name,De.setAttribute("data-type-name",le.typeName),De.innerHTML=le.icon,De.addEventListener("click",function(){ue.markerToolbarButtonClicked(De,le)}),ue.buttons.push(De),ue.markerButtons.push(De)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',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,'',"render"),this.addActionButton(de,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Fe.prototype.addButtonClickListener=function(ce){this.buttonClickListeners.push(ce)},Fe.prototype.removeButtonClickListener=function(ce){this.buttonClickListeners.indexOf(ce)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ce),1)},Fe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Fe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ce=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ue=0;ue0&&this.buttonClickListeners.forEach(function(pe){return pe("marker",ue)}),this.markerButtonOverflowBlock.style.display="none"},Fe.prototype.actionToolbarButtonClicked=function(ce,ue){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(pe){return pe("action",ue)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Fe.prototype.setActiveButton=function(ce){this.resetButtonStyles(),ce.className=ce.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Fe.prototype.setActiveMarkerButton=function(ce){var ue=this.markerButtons.find(function(pe){return pe.getAttribute("data-type-name")===ce});ue&&this.setActiveButton(ue)},Fe.prototype.setCurrentMarker=function(ce){var ue=this;this.currentMarker=ce,this.buttons.filter(function(pe){return/delete|notes/.test(pe.getAttribute("data-action"))}).forEach(function(pe){ue.currentMarker===void 0?(pe.style.fillOpacity="0.4",pe.style.pointerEvents="none"):(pe.style.fillOpacity="1",pe.style.pointerEvents="all")})},Fe}(),ot=function(){function Fe(ce,ue,pe,de){this.panels=[],this.panelButtons=[],this.markerjsContainer=ce,this.displayMode=ue,this.uiStyleSettings=pe,this.styles=de,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Fe.prototype.addStyles=function(){var ce;this.toolboxStyleClass=this.styles.addClass(new Ie("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 Ie("toolbox_colors",` color: `+this.uiStyleSettings.toolboxColor+`; `));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ie("toolbox-button-row",` display: flex; cursor: default; box-sizing: content-box; `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ie("toolbox-button-row_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ie("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 Ie("toolbox-panel-row_colors",` background-color: `+((ce=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ce!==void 0?ce:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new Ie("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px; height: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px; padding: `+ue+`px; box-sizing: content-box; `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ie("toolbox-button_colors",` fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ie("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.styles.addRule(new mt("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new mt("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; `))},Fe.prototype.show=function(ce){var ue;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Fe.prototype.setPanelButtons=function(ce){var ue,pe,de=this;this.panels=ce,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((pe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&pe!==void 0?pe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(le){var De;le.uiStyleSettings=de.uiStyleSettings;var Ke=document.createElement("div");Ke.className=de.toolboxButtonStyleClass.name+" "+((De=de.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&De!==void 0?De:de.toolboxButtonStyleColorsClass.name),Ke.innerHTML=le.icon,Ke.title=le.title,Ke.addEventListener("click",function(){de.panelButtonClick(le)}),de.panelButtons.push(Ke),de.buttonRow.appendChild(Ke)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Fe.prototype.panelButtonClick=function(ce){var ue=this,pe=-1;if(ce!==this.activePanel){pe=this.panels.indexOf(ce),this.panelRow.innerHTML="";var de=ce.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=ce}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ue.displayMode==="inline"?ue.panelRow.style.display="none":ue.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(le,De){var Ke,Et;le.className=ue.toolboxButtonStyleClass.name+" "+(De===pe?""+((Ke=ue.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ke!==void 0?Ke:ue.toolboxActiveButtonStyleColorsClass.name):""+((Et=ue.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Et!==void 0?Et:ue.toolboxButtonStyleColorsClass.name))})},Fe}(),dt=function(Fe,ce){this.title=Fe,this.icon=ce},nt=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'')||this;return De.colors=[],De.addTransparent=!1,De.colorBoxes=[],De.colors=pe,De.currentColor=de,De.setCurrentColor=De.setCurrentColor.bind(De),De.getColorBox=De.getColorBox.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.overflow="hidden",pe.style.whiteSpace="nowrap",this.colors.forEach(function(de){var le=ue.getColorBox(de);pe.appendChild(le),ue.colorBoxes.push(le)}),pe},ce.prototype.getColorBox=function(ue){var pe=this,de=this.uiStyleSettings.toolbarHeight/4,le=this.uiStyleSettings.toolbarHeight-de,De=document.createElement("div");De.style.display="inline-block",De.style.boxSizing="content-box",De.style.width=le-2+"px",De.style.height=le-2+"px",De.style.padding="1px",De.style.marginRight="2px",De.style.marginBottom="2px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderRadius=(le+2)/2+"px",De.style.borderColor=ue===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){pe.setCurrentColor(ue,De)});var Ke=document.createElement("div");return Ke.style.display="inline-block",Ke.style.width=le-2+"px",Ke.style.height=le-2+"px",Ke.style.backgroundColor=ue,Ke.style.borderRadius=le/2+"px",ue==="transparent"&&(Ke.style.fill=this.uiStyleSettings.toolboxAccentColor,Ke.innerHTML=` `),De.appendChild(Ke),De},ce.prototype.setCurrentColor=function(ue,pe){var de=this;this.currentColor=ue,this.colorBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ue)},ce}(dt),Me=function(){function Fe(ce,ue,pe){this._state="new",this._isSelected=!1,this._container=ce,this._overlayContainer=ue,this.globalSettings=pe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Fe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Fe.prototype.ownsTarget=function(ce){return!1},Object.defineProperty(Fe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Fe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Fe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Fe.prototype.pointerDown=function(ce,ue){},Fe.prototype.dblClick=function(ce,ue){},Fe.prototype.manipulate=function(ce){},Fe.prototype.pointerUp=function(ce){this.stateChanged()},Fe.prototype.dispose=function(){},Fe.prototype.addMarkerVisualToContainer=function(ce){this.container.childNodes.length>0?this.container.insertBefore(ce,this.container.childNodes[0]):this.container.appendChild(ce)},Fe.prototype.getState=function(){return{typeName:Fe.typeName,state:this.state,notes:this.notes}},Fe.prototype.restoreState=function(ce){this._state=ce.state,this.notes=ce.notes},Fe.prototype.scale=function(ce,ue){},Fe.prototype.colorChanged=function(ce){this.onColorChanged&&this.onColorChanged(ce),this.stateChanged()},Fe.prototype.fillColorChanged=function(ce){this.onFillColorChanged&&this.onFillColorChanged(ce),this.stateChanged()},Fe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ce)&&this.onStateChanged(this)}},Fe.typeName="MarkerBase",Fe}(),ut=function(){function Fe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Fe.prototype.findGripByVisual=function(ce){return this.topLeft.ownsTarget(ce)?this.topLeft:this.topCenter.ownsTarget(ce)?this.topCenter:this.topRight.ownsTarget(ce)?this.topRight:this.centerLeft.ownsTarget(ce)?this.centerLeft:this.centerRight.ownsTarget(ce)?this.centerRight:this.bottomLeft.ownsTarget(ce)?this.bottomLeft:this.bottomCenter.ownsTarget(ce)?this.bottomCenter:this.bottomRight.ownsTarget(ce)?this.bottomRight:void 0},Fe}(),Ut=function(){function Fe(){this.GRIP_SIZE=10,this.visual=Ee.createGroup(),this.visual.appendChild(Ee.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ee.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Fe.prototype.ownsTarget=function(ce){return ce===this.visual||ce===this.visual.childNodes[0]||ce===this.visual.childNodes[1]},Fe}(),at=function(){function Fe(){}return Fe.toITransformMatrix=function(ce){return{a:ce.a,b:ce.b,c:ce.c,d:ce.d,e:ce.e,f:ce.f}},Fe.toSVGMatrix=function(ce,ue){return ce.a=ue.a,ce.b=ue.b,ce.c=ue.c,ce.d=ue.d,ce.e=ue.e,ce.f=ue.f,ce},Fe}(),ht=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.left=0,le.top=0,le.width=0,le.height=0,le.defaultSize={x:50,y:20},le.offsetX=0,le.offsetY=0,le.rotationAngle=0,le.CB_DISTANCE=10,le._suppressMarkerCreateEvent=!1,le.container.transform.baseVal.appendItem(Ee.createTransform()),le.setupControlBox(),le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"visual",{get:function(){return this._visual},set:function(ue){this._visual=ue;var pe=Ee.createTransform();this._visual.transform.baseVal.appendItem(pe)},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ue){return!!Fe.prototype.ownsTarget.call(this,ue)||!!(this.controlGrips.findGripByVisual(ue)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.left=ue.x,this.top=ue.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var de=this.unrotatePoint(ue);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(pe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(pe)){this.activeGrip=this.rotatorGrip;var le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=le.x-this.width/2,this.top=le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var De=this.container.transform.baseVal.getItem(0);De.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(De,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ce.prototype.pointerUp=function(ue){var pe=this.state;Fe.prototype.pointerUp.call(this,ue),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ue),this._state="select",pe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ce.prototype.moveVisual=function(ue){this.visual.style.transform="translate("+ue.x+"px, "+ue.y+"px)"},ce.prototype.manipulate=function(ue){var pe=this.unrotatePoint(ue);this.state==="creating"?this.resize(ue):this.state==="move"?(this.left=this.manipulationStartLeft+(pe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(pe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(pe):this.state==="rotate"&&this.rotate(ue)},ce.prototype.resize=function(ue){var pe=this.manipulationStartLeft,de=this.manipulationStartWidth,le=this.manipulationStartTop,De=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:pe=this.manipulationStartLeft+ue.x-this.manipulationStartX,de=this.manipulationStartWidth+this.manipulationStartLeft-pe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:de=this.manipulationStartWidth+ue.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:le=this.manipulationStartTop+ue.y-this.manipulationStartY,De=this.manipulationStartHeight+this.manipulationStartTop-le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:De=this.manipulationStartHeight+ue.y-this.manipulationStartY}de>=0?(this.left=pe,this.width=de):(this.left=pe+de,this.width=-de),De>=0?(this.top=le,this.height=De):(this.top=le+De,this.height=-De),this.setSize()},ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ce.prototype.rotate=function(ue){if(Math.abs(ue.x-this.centerX)>.1){var pe=Math.sign(ue.x-this.centerX);this.rotationAngle=180*Math.atan((ue.y-this.centerY)/(ue.x-this.centerX))/Math.PI+90*pe,this.applyRotation()}},ce.prototype.applyRotation=function(){var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0)},ce.prototype.rotatePoint=function(ue){if(this.rotationAngle===0)return ue;var pe=this.container.getCTM(),de=Ee.createPoint(ue.x,ue.y);return{x:(de=de.matrixTransform(pe)).x,y:de.y}},ce.prototype.unrotatePoint=function(ue){if(this.rotationAngle===0)return ue;var pe=this.container.getCTM();pe=pe.inverse();var de=Ee.createPoint(ue.x,ue.y);return{x:(de=de.matrixTransform(pe)).x,y:de.y}},ce.prototype.select=function(){Fe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Fe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup();var ue=Ee.createTransform();ue.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ue),this.container.appendChild(this.controlBox),this.controlRect=Ee.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=Ee.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 ut,this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){var ue=this.controlBox.transform.baseVal.getItem(0);ue.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ue,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()},ce.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()},ce.prototype.createGrip=function(){var ue=new Ut;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.controlGrips.topLeft.GRIP_SIZE,pe=-ue/2,de=pe,le=(this.width+this.CB_DISTANCE)/2-ue/2,De=(this.height+this.CB_DISTANCE)/2-ue/2,Ke=this.height+this.CB_DISTANCE-ue/2,Et=this.width+this.CB_DISTANCE-ue/2;this.positionGrip(this.controlGrips.topLeft.visual,pe,de),this.positionGrip(this.controlGrips.topCenter.visual,le,de),this.positionGrip(this.controlGrips.topRight.visual,Et,de),this.positionGrip(this.controlGrips.centerLeft.visual,pe,De),this.positionGrip(this.controlGrips.centerRight.visual,Et,De),this.positionGrip(this.controlGrips.bottomLeft.visual,pe,Ke),this.positionGrip(this.controlGrips.bottomCenter.visual,le,Ke),this.positionGrip(this.controlGrips.bottomRight.visual,Et,Ke),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,le,de-3*this.CB_DISTANCE)},ce.prototype.positionGrip=function(ue,pe,de){var le=ue.transform.baseVal.getItem(0);le.setTranslate(pe,de),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ce.prototype.showControlBox=function(){this.controlBox.style.display=""},ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:at.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:at.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.left=pe.left,this.top=pe.top,this.width=pe.width,this.height=pe.height,this.rotationAngle=pe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(at.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,pe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(at.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,pe.containerTransformMatrix))},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe);var de=this.rotatePoint({x:this.left,y:this.top}),le=this.unrotatePoint({x:de.x*ue,y:de.y*pe});this.left=le.x,this.top=le.y,this.width=this.width*ue,this.height=this.height*pe,this.adjustControlBox()},ce}(Me),we=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},ce.prototype.createVisual=function(){this.visual=Ee.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)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){Fe.prototype.pointerUp.call(this,ue),this.setSize()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){var pe=ue;this.fillColor=pe.fillColor,this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.opacity=pe.opacity,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize()},ce.title="Rectangle marker",ce}(ht),he=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'')||this;return De.widths=[],De.widthBoxes=[],De.widths=pe,De.currentWidth=de,De.setCurrentWidth=De.setCurrentWidth.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",this.widths.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.flexGrow="2",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=de===ue.currentWidth?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentWidth(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.innerText=de.toString(),De.style.marginRight="5px",le.appendChild(De);var Ke=document.createElement("div");Ke.style.minHeight="20px",Ke.style.flexGrow="2",Ke.style.display="flex",Ke.style.alignItems="center";var Et=document.createElement("hr");Et.style.minWidth="20px",Et.style.border="0px",Et.style.borderTop=de+"px solid "+ue.uiStyleSettings.toolboxColor,Et.style.flexGrow="2",Ke.appendChild(Et),le.appendChild(Ke),ue.widthBoxes.push(le)}),pe},ce.prototype.setCurrentWidth=function(ue,pe){var de=this;this.currentWidth=ue,this.widthBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ce}(dt),je=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'')||this;return De.styles=[],De.styleBoxes=[],De.styles=pe,De.currentStyle=de,De.setCurrentStyle=De.setCurrentStyle.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",this.styles.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.styles.length-5+"%",le.style.borderColor=de===ue.currentStyle?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentStyle(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.style.minHeight="20px",De.style.flexGrow="2",De.style.overflow="hidden";var Ke=` `;De.innerHTML=Ke,le.appendChild(De),ue.styleBoxes.push(le)}),pe},ce.prototype.setCurrentStyle=function(ue,pe){var de=this;this.currentStyle=ue,this.styleBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ce}(dt),Ve=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="FrameMarker",ce.title="Frame marker",ce.icon='',ce}(we),Ge=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"},qe=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.x1=0,le.y1=0,le.x2=0,le.y2=0,le.defaultLength=50,le.manipulationStartX=0,le.manipulationStartY=0,le.manipulationStartX1=0,le.manipulationStartY1=0,le.manipulationStartX2=0,le.manipulationStartY2=0,le.setupControlBox(),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!!Fe.prototype.ownsTarget.call(this,ue)||!(!this.grip1.ownsTarget(ue)&&!this.grip2.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.manipulationStartX=ue.x,this.manipulationStartY=ue.y,this.state==="new"&&(this.x1=ue.x,this.y1=ue.y,this.x2=ue.x,this.y2=ue.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(pe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(pe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ce.prototype.pointerUp=function(ue){var pe=this.state;Fe.prototype.pointerUp.call(this,ue),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(ue),this._state="select",pe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ce.prototype.adjustVisual=function(){},ce.prototype.manipulate=function(ue){this.state==="creating"?this.resize(ue):this.state==="move"?(this.x1=this.manipulationStartX1+ue.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ue.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ue.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ue.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ue)},ce.prototype.resize=function(ue){switch(this.activeGrip){case this.grip1:this.x1=ue.x,this.y1=ue.y;break;case this.grip2:case void 0:this.x2=ue.x,this.y2=ue.y}this.adjustVisual(),this.adjustControlBox()},ce.prototype.select=function(){Fe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Fe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){this.positionGrips()},ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ce.prototype.createGrip=function(){var ue=new Ut;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ue/2,this.y1-ue/2),this.positionGrip(this.grip2.visual,this.x2-ue/2,this.y2-ue/2)},ce.prototype.positionGrip=function(ue,pe,de){var le=ue.transform.baseVal.getItem(0);le.setTranslate(pe,de),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.x1=pe.x1,this.y1=pe.y1,this.x2=pe.x2,this.y2=pe.y2},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.x1=this.x1*ue,this.y1=this.y1*pe,this.x2=this.x2*ue,this.y2=this.y2*pe,this.adjustVisual(),this.adjustControlBox()},ce}(Me),Ye=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorLine&&ue!==this.visibleLine)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorLine=Ee.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ee.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)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ce.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()),Ee.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.createVisual(),this.adjustVisual()},ce.typeName="LineMarker",ce.title="Line marker",ce.icon='',ce}(qe),We=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'')||this;return De.fonts=[],De.fontBoxes=[],De.fonts=pe,De.currentFont=de,De.setCurrentFont=De.setCurrentFont.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.overflow="hidden",pe.style.flexGrow="2",this.fonts.forEach(function(de){var le=document.createElement("div");le.style.display="inline-block",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.fonts.length-5+"%",le.style.borderColor=de===ue.currentFont?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentFont(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.style.display="flex",De.style.minHeight="20px",De.style.flexGrow="2",De.style.fontFamily=de,De.style.overflow="hidden";var Ke=document.createElement("div");Ke.style.whiteSpace="nowrap",Ke.style.overflow="hidden",Ke.style.textOverflow="ellipsis",Ke.innerHTML="The quick brown fox jumps over the lazy dog",De.appendChild(Ke),le.appendChild(De),ue.fontBoxes.push(le)}),pe},ce.prototype.setCurrentFont=function(ue,pe){var de=this;this.currentFont=ue,this.fontBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ce}(dt),St=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.color="transparent",le.padding=5,le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",le.text=le.DEFAULT_TEXT,le.isMoved=!1,le.color=de.defaultColor,le.fontFamily=de.defaultFontFamily,le.defaultSize={x:100,y:30},le.setColor=le.setColor.bind(le),le.setFont=le.setFont.bind(le),le.renderText=le.renderText.bind(le),le.sizeText=le.sizeText.bind(le),le.textEditDivClicked=le.textEditDivClicked.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.setSize=le.setSize.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.colorPanel=new nt("Color",de.defaultColorSet,de.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){if(Fe.prototype.ownsTarget.call(this,ue)||ue===this.visual||ue===this.textElement||ue===this.bgRectangle)return!0;var pe=!1;return this.textElement.childNodes.forEach(function(de){de===ue&&(pe=!0)}),pe},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.bgRectangle=Ee.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ee.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.renderText=function(){var ue=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(pe){ue.textElement.appendChild(Ee.createTSpan(pe.trim()===""?" ":pe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ce.prototype.getTextScale=function(){var ue=this.textElement.getBBox(),pe=1;if(ue.width>0&&ue.height>0){var de=(1*this.width-this.width*this.padding*2/100)/ue.width,le=(1*this.height-this.height*this.padding*2/100)/ue.height;pe=Math.min(de,le)}return pe},ce.prototype.getTextPosition=function(ue){var pe=this.textElement.getBBox(),de=0,le=0;return pe.width>0&&pe.height>0&&(de=(this.width-pe.width*ue)/2,le=this.height/2-pe.height*ue/2),{x:de,y:le}},ce.prototype.sizeText=function(){var ue=this.textElement.getBBox(),pe=this.getTextScale(),de=this.getTextPosition(pe);de.y-=ue.y*pe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+de.x+"px, "+de.y+"px) scale("+pe+", "+pe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(de.x,de.y),this.textElement.transform.baseVal.getItem(1).setScale(pe,pe))},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.isMoved=!0,this.setSize(),this.sizeText()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ce.prototype.pointerUp=function(ue){var pe=this.state;pe==="creating"&&(this._suppressMarkerCreateEvent=!0),Fe.prototype.pointerUp.call(this,ue),this.setSize(),(pe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.showTextEditor=function(){var ue=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(pe){pe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var pe=Number.parseFloat(ue.textEditor.style.fontSize);ue.textEditor.clientWidth>=Number.parseInt(ue.textEditor.style.maxWidth)&&pe>.9;)pe-=.1,ue.textEditor.style.fontSize=Math.max(pe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(pe){pe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(pe){if(pe.clipboardData){var de=pe.clipboardData.getData("text"),le=window.getSelection();if(!le.rangeCount)return!1;le.deleteFromDocument(),le.getRangeAt(0).insertNode(document.createTextNode(de)),pe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ue.textEditDivClicked(ue.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ue=this.getTextScale(),pe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),de=this.textElement.getBBox(),le={x:de.width*ue,y:de.height*ue};pe.x-=le.x/2,pe.y-=le.y/2,this.textEditor.style.top=pe.y+"px",this.textEditor.style.left=pe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-pe.x+"px",this.textEditor.style.fontSize=Math.max(16*ue,12)+"px",this.textElement.style.display="none"}},ce.prototype.textEditDivClicked=function(ue){this.text=ue.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ce.prototype.select=function(){Fe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Fe.prototype.deselect.call(this)},ce.prototype.dblClick=function(ue,pe){Fe.prototype.dblClick.call(this,ue,pe),this.showTextEditor()},ce.prototype.setColor=function(ue){this.textElement&&Ee.setAttributes(this.textElement,[["fill",ue]]),this.color=ue,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ue)},ce.prototype.setFont=function(ue){this.textElement&&Ee.setAttributes(this.textElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.color=pe.color,this.fontFamily=pe.fontFamily,this.padding=pe.padding,this.text=pe.text,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize(),this.sizeText(),this.positionTextEditor()},ce.typeName="TextMarker",ce.title="Text marker",ce.icon='',ce}(ht),lt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.color="transparent",le.lineWidth=3,le.drawing=!1,le.pixelRatio=1,le.color=de.defaultColor,le.lineWidth=de.defaultStrokeWidth,le.pixelRatio=de.freehandPixelRatio,le.setColor=le.setColor.bind(le),le.addCanvas=le.addCanvas.bind(le),le.finishCreation=le.finishCreation.bind(le),le.setLineWidth=le.setLineWidth.bind(le),le.colorPanel=new nt("Color",de.defaultColorSet,de.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.lineWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.lineWidthPanel.onWidthChanged=le.setLineWidth,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.drawingImage)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.drawingImage=Ee.createImage(),this.visual.appendChild(this.drawingImage);var ue=Ee.createTransform();this.visual.transform.baseVal.appendItem(ue),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){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(ue.x,ue.y),this.drawing=!0):Fe.prototype.pointerDown.call(this,ue,pe)},ce.prototype.manipulate=function(ue){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ue.x,ue.y),this.canvasContext.stroke()):Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Fe.prototype.pointerUp.call(this,ue)},ce.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)},ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Fe.prototype.select.call(this)},ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Fe.prototype.deselect.call(this)},ce.prototype.finishCreation=function(){for(var ue=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),pe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],de=pe[0],le=pe[1],De=pe[2],Ke=pe[3],Et=!1,Yt=0;Yt0&&(Et=!0,YtKe&&(Ke=Yt),Kt>De&&(De=Kt));if(Et){this.left=de/this.pixelRatio,this.top=le/this.pixelRatio,this.width=(De-de)/this.pixelRatio,this.height=(Ke-le)/this.pixelRatio;var nn=document.createElement("canvas");nn.width=De-de,nn.height=Ke-le,nn.getContext("2d").putImageData(this.canvasContext.getImageData(de,le,De-de,Ke-le),0,0),this.drawingImgUrl=nn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ce.prototype.setDrawingImage=function(){Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ce.prototype.setColor=function(ue){this.color=ue,this.colorChanged(ue)},ce.prototype.setLineWidth=function(ue){this.lineWidth=ue},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({drawingImgUrl:this.drawingImgUrl},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.drawingImgUrl=ue.drawingImgUrl,this.setDrawingImage()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setDrawingImage()},ce.typeName="FreehandMarker",ce.title="Freehand marker",ce.icon='',ce}(ht),zt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,de||'')||this;return le.typeBoxes=[],le.currentType=pe,le.setCurrentType=le.setCurrentType.bind(le),le}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2";for(var de=function(Ke){var Et="both";switch(Ke){case 0:Et="both";break;case 1:Et="start";break;case 2:Et="end";break;case 3:Et="none"}var Yt=document.createElement("div");if(Yt.style.display="flex",Yt.style.flexGrow="2",Yt.style.alignItems="center",Yt.style.justifyContent="space-between",Yt.style.padding="5px",Yt.style.borderWidth="2px",Yt.style.borderStyle="solid",Yt.style.borderColor=Et===le.currentType?le.uiStyleSettings.toolboxAccentColor:"transparent",Yt.addEventListener("click",function(){ue.setCurrentType(Et,Yt)}),pe.appendChild(Yt),Et==="both"||Et==="start"){var Kt=document.createElement("div");Kt.style.display="flex",Kt.style.alignItems="center",Kt.style.minHeight="20px",Kt.innerHTML=` `,Kt.style.marginLeft="5px",Yt.appendChild(Kt)}var nn=document.createElement("div");nn.style.display="flex",nn.style.alignItems="center",nn.style.minHeight="20px",nn.style.flexGrow="2";var $t=document.createElement("hr");if($t.style.minWidth="20px",$t.style.border="0px",$t.style.borderTop="3px solid "+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee"),$t.style.flexGrow="2",nn.appendChild($t),Yt.appendChild(nn),Et==="both"||Et==="end"){var gr=document.createElement("div");gr.style.display="flex",gr.style.alignItems="center",gr.style.minHeight="20px",gr.innerHTML=` `,gr.style.marginRight="5px",Yt.appendChild(gr)}le.typeBoxes.push(Yt)},le=this,De=0;De<4;De++)de(De);return pe},ce.prototype.setCurrentType=function(ue,pe){var de=this;this.currentType=ue,this.typeBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings!==void 0?de.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ce}(dt),Dt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.arrowType="end",le.arrowBaseHeight=10,le.arrowBaseWidth=10,le.getArrowPoints=le.getArrowPoints.bind(le),le.setArrowType=le.setArrowType.bind(le),le.arrowTypePanel=new zt("Arrow type","end"),le.arrowTypePanel.onArrowTypeChanged=le.setArrowType,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.arrow1&&ue!==this.arrow2)},ce.prototype.getArrowPoints=function(ue,pe){var de=this.arrowBaseWidth+2*this.strokeWidth,le=this.arrowBaseHeight+2*this.strokeWidth;return ue-de/2+","+(pe+le/2)+" "+ue+","+(pe-le/2)+" "+(ue+de/2)+","+(pe+le/2)},ce.prototype.createTips=function(){this.arrow1=Ee.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ee.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow2)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(Fe.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",Ee.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ee.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ue=0;Math.abs(this.x1-this.x2)>.1&&(ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var pe=this.arrow1.transform.baseVal.getItem(0);pe.setRotate(ue,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(pe,0);var de=this.arrow2.transform.baseVal.getItem(0);de.setRotate(ue+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(de,0)}},ce.prototype.setArrowType=function(ue){this.arrowType=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({arrowType:this.arrowType},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.arrowType=pe.arrowType,this.createTips(),this.adjustVisual()},ce.typeName="ArrowMarker",ce.title="Arrow marker",ce.icon='',ce}(Ye),pn=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor=de.defaultFillColor,le.strokeWidth=0,le.fillPanel=new nt("Color",de.defaultColorSet,de.defaultFillColor),le.fillPanel.onColorChanged=le.setFillColor,le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="CoverMarker",ce.title="Cover marker",ce.icon='',ce}(we),Kn=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'')||this;return De.opacities=[],De.opacityBoxes=[],De.opacities=pe,De.currentOpacity=de,De.setCurrentOpacity=De.setCurrentOpacity.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",pe.style.justifyContent="space-between",this.opacities.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="center",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=de===ue.currentOpacity?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentOpacity(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.innerText=100*de+"%",le.appendChild(De),ue.opacityBoxes.push(le)}),pe},ce.prototype.setCurrentOpacity=function(ue,pe){var de=this;this.currentOpacity=ue,this.opacityBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ce}(dt),tr=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.setOpacity=le.setOpacity.bind(le),le.fillColor=de.defaultHighlightColor,le.strokeWidth=0,le.opacity=de.defaultHighlightOpacity,le.fillPanel=new nt("Color",de.defaultColorSet,le.fillColor),le.fillPanel.onColorChanged=le.setFillColor,le.opacityPanel=new Kn("Opacity",de.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return Oe(ce,Fe),ce.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="HighlightMarker",ce.title="Highlight marker",ce.icon='',ce}(pn),it='',Ce='',wt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.bgColor="transparent",le.tipPosition={x:0,y:0},le.tipBase1Position={x:0,y:0},le.tipBase2Position={x:0,y:0},le.tipMoving=!1,le.color=de.defaultStrokeColor,le.bgColor=de.defaultFillColor,le.fontFamily=de.defaultFontFamily,le.defaultSize={x:100,y:30},le.setBgColor=le.setBgColor.bind(le),le.getTipPoints=le.getTipPoints.bind(le),le.positionTip=le.positionTip.bind(le),le.setTipPoints=le.setTipPoints.bind(le),le.colorPanel=new nt("Text color",de.defaultColorSet,le.color,it),le.colorPanel.onColorChanged=le.setColor,le.bgColorPanel=new nt("Fill color",de.defaultColorSet,le.bgColor,Ce),le.bgColorPanel.onColorChanged=le.setBgColor,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.tipGrip=new Ut,le.tipGrip.visual.transform.baseVal.appendItem(Ee.createTransform()),le.controlBox.appendChild(le.tipGrip.visual),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return Fe.prototype.ownsTarget.call(this,ue)||this.tipGrip.ownsTarget(ue)||this.tip===ue},ce.prototype.createTip=function(){Ee.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ee.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ce.prototype.pointerDown=function(ue,pe){this.state==="new"&&Fe.prototype.pointerDown.call(this,ue,pe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(pe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Fe.prototype.pointerDown.call(this,ue,pe)},ce.prototype.pointerUp=function(ue){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Fe.prototype.pointerUp.call(this,ue);else{var pe=this.state==="creating";Fe.prototype.pointerUp.call(this,ue),this.setTipPoints(pe),this.positionTip()}},ce.prototype.manipulate=function(ue){if(this.tipMoving){var pe=this.unrotatePoint(ue);this.tipPosition={x:pe.x-this.manipulationStartLeft,y:pe.y-this.manipulationStartTop},this.positionTip()}else Fe.prototype.manipulate.call(this,ue)},ce.prototype.setBgColor=function(ue){this.bgRectangle&&this.tip&&(Ee.setAttributes(this.bgRectangle,[["fill",ue]]),Ee.setAttributes(this.tip,[["fill",ue]])),this.bgColor=ue,this.fillColorChanged(ue)},ce.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},ce.prototype.setTipPoints=function(ue){ue===void 0&&(ue=!1);var pe=Math.min(this.height/2,15),de=this.height/5;ue&&(this.tipPosition={x:pe+de/2,y:this.height+20});var le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?le.1)){var ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),pe=this.tip1.transform.baseVal.getItem(0);pe.setRotate(ue,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(pe,0);var de=this.tip2.transform.baseVal.getItem(0);de.setRotate(ue+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(de,0)}},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue),this.createTips(),this.adjustVisual()},ce.typeName="MeasurementMarker",ce.title="Measurement marker",ce.icon='',ce}(Ye),rt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokePanel.colors=de.defaultColorSet,le.fillColor="transparent",le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="EllipseFrameMarker",ce.title="Ellipse frame marker",ce.icon='',ce}(An),ft=function(){function Fe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Fe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Fe.prototype.addUndoStep=function(ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ce)||(this.undoStack.push(ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ce)&&this.redoStack.splice(0,this.redoStack.length))},Fe.prototype.replaceLastUndoStep=function(ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ce)},Fe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Fe.prototype.undo=function(){if(this.undoStack.length>1){var ce=this.undoStack.pop();return ce!==void 0&&this.redoStack.push(ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Fe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Fe}(),Wt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.curveX=0,le.curveY=0,le.manipulationStartCurveX=0,le.manipulationStartCurveY=0,le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.positionGrips=le.positionGrips.bind(le),le.addControlGrips=le.addControlGrips.bind(le),le.adjustVisual=le.adjustVisual.bind(le),le.setupControlBox=le.setupControlBox.bind(le),le.resize=le.resize.bind(le),le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorCurve&&ue!==this.visibleCurve&&!this.curveGrip.ownsTarget(ue))},ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorCurve=Ee.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ee.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)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ue.x,this.curveY=ue.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(pe)&&(this.activeGrip=this.curveGrip,this._state="resize")},ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ee.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setupControlBox=function(){Fe.prototype.setupControlBox.call(this),this.curveControlLine1=Ee.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ee.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)},ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Fe.prototype.addControlGrips.call(this)},ce.prototype.positionGrips=function(){Fe.prototype.positionGrips.call(this);var ue=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ue/2,this.curveY-ue/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()))},ce.prototype.manipulate=function(ue){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ue.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ue.y-this.manipulationStartY),Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){this.activeGrip===this.curveGrip&&(this.curveX=ue.x,this.curveY=ue.y),Fe.prototype.resize.call(this,ue),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual()},ce.prototype.scale=function(ue,pe){this.curveX=this.curveX*ue,this.curveY=this.curveY*pe,Fe.prototype.scale.call(this,ue,pe)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.curveX=pe.curveX,this.curveY=pe.curveY,this.createVisual(),this.adjustVisual()},ce.typeName="CurveMarker",ce.title="Curve marker",ce.icon='',ce}(qe),qt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.textColor="transparent",le.fontSize="1rem",le.isMoved=!1,le.captionText="Caption",le.PADDING=5,le.captionBoxWidth=0,le.captionBoxHeight=0,le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.fillColor=de.defaultFillColor,le.textColor=de.defaultStrokeColor,le.fontFamily=de.defaultFontFamily,le.fontSize=de.defaultCaptionFontSize,le.captionText=de.defaultCaptionText,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le.sizeCaption=le.sizeCaption.bind(le),le.setCaptionText=le.setCaptionText.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.finishTextEditing=le.finishTextEditing.bind(le),le.setFont=le.setFont.bind(le),le.setTextColor=le.setTextColor.bind(le),le.strokePanel=new nt("Line color",ve(de.defaultColorSet,["transparent"]),le.strokeColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new nt("Fill color",ve(de.defaultColorSet,["transparent"]),le.fillColor,Ce),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.textColorPanel=new nt("Text color",de.defaultColorSet,le.textColor,it),le.textColorPanel.onColorChanged=le.setTextColor,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.frame&&ue!==this.captionBg&&ue!==this.captionElement)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ee.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ee.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=Ee.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()},ce.prototype.setCaptionText=function(ue){this.captionText=ue,this.captionElement.textContent=this.captionText,this.sizeCaption()},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.sizeCaption=function(){var ue=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ue.width+2*this.PADDING,this.captionBoxHeight=ue.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ee.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')"]]),Ee.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')"]])},ce.prototype.showTextEditor=function(){var ue=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(pe){pe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(pe){pe.key==="Enter"&&ue.finishTextEditing(ue.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(pe){pe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ce.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"))},ce.prototype.finishTextEditing=function(ue){this.setCaptionText(ue.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ce.prototype.setFont=function(ue){this.captionElement&&Ee.setAttributes(this.captionElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ce.prototype.setTextColor=function(ue){this.captionElement&&Ee.setAttributes(this.captionElement,[["fill",ue]]),this.textColor=ue,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),Ee.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ce.prototype.pointerUp=function(ue){Fe.prototype.pointerUp.call(this,ue),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.dblClick=function(ue,pe){Fe.prototype.dblClick.call(this,ue,pe),this.showTextEditor()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.captionBg&&Ee.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=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},Fe.prototype.getState.call(this));return ue.typeName=this.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.fillColor=pe.fillColor,this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.textColor=pe.textColor,this.fontFamily=pe.fontFamily,this.captionText=pe.captionText,this.fontSize=pe.fontSize,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize()},ce.typeName="CaptionFrameMarker",ce.title="Caption frame marker",ce.icon='',ce}(ht),Xt=function(){function Fe(ce,ue){ue===void 0&&(ue=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ce,this.cancelable=ue}return Object.defineProperty(Fe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Fe.prototype.preventDefault=function(){this._defaultPrevented=!0},Fe}(),Ht=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,!1)||this;return le.dataUrl=pe,le.state=de,le}return Oe(ce,Fe),ce}(Xt),un=function(Fe){function ce(ue,pe,de){de===void 0&&(de=!1);var le=Fe.call(this,ue,de)||this;return le.marker=pe,le}return Oe(ce,Fe),ce}(Xt),kn=function(){function Fe(){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 Fe.prototype.addEventListener=function(ce,ue){this[ce].push(ue)},Fe.prototype.removeEventListener=function(ce,ue){var pe=this[ce].indexOf(ue);pe>-1&&this[ce].splice(pe,1)},Fe}(),yn=function(){function Fe(ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ge,this._isOpen=!1,this.undoRedoManager=new ft,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 kn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Fe.instanceCounter++,this.styles=new Le(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ce,this.targetRoot=document.body,this.width=ce.clientWidth,this.height=ce.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(Fe.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,rt,An,tr,wt,Tt,pn,Ye,Wt,qt]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,An,tr,wt]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,tr]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ce){var ue=this;this._availableMarkerTypes.splice(0),ce.forEach(function(pe){if(typeof pe=="string"){var de=ue.ALL_MARKER_TYPES.find(function(le){return le.typeName===pe});de!==void 0&&ue._availableMarkerTypes.push(de)}else ue._availableMarkerTypes.push(pe)})},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ce){this._zoomLevel=ce,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(Fe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Fe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ke.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Fe.prototype.show=function(){var ce=this;this.styles.styleSheetRoot===void 0&&me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ue){return ue(new Xt(ce))})},Fe.prototype.render=function(){return Re(this,void 0,void 0,function(){var ce;return Ze(this,function(ue){switch(ue.label){case 0:return this.setCurrentMarker(),(ce=new ye).naturalSize=this.renderAtNaturalSize,ce.imageType=this.renderImageType,ce.imageQuality=this.renderImageQuality,ce.markersOnly=this.renderMarkersOnly,ce.width=this.renderWidth,ce.height=this.renderHeight,[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ue.sent(),[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ue.sent()]}})})},Fe.prototype.close=function(ce){var ue=this;if(ce===void 0&&(ce=!1),this.isOpen){var pe=!1;ce||this.eventListeners.beforeclose.forEach(function(de){var le=new Xt(ue,!0);de(le),le.defaultPrevented&&(pe=!0)}),pe||(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 Xt(ue))}),this.detachEvents(),this._isOpen=!1)}},Fe.prototype.addMarkersToToolbar=function(){for(var ce,ue=[],pe=0;pethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ce:this.editorCanvas.clientWidth,pe=ue',ce.title="Powered by marker.js",ce.style.display="grid",ce.style.alignItems="center",ce.style.justifyItems="center",ce.style.padding="3px",ce.style.width="20px",ce.style.height="20px",this.logoUI.appendChild(ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Fe.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")},Fe.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"},Fe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Fe.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 ce=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=ce+"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 Xe(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-1&&this.markers.splice(this.markers.indexOf(ce),1),ce.dispose()},Fe.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())},Fe.prototype.toolbarButtonClicked=function(ce,ue){if(ce==="marker"&&ue!==void 0)this.createNewMarker(ue);else if(ce==="action")switch(ue){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()}},Fe.prototype.deleteSelectedMarker=function(){var ce=this;if(this._currentMarker!==void 0){var ue=!1;if(this.eventListeners.markerbeforedelete.forEach(function(de){var le=new un(ce,ce._currentMarker,!0);de(le),le.defaultPrevented&&(ue=!0)}),!ue){var pe=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 un(ce,pe))})}}},Fe.prototype.clear=function(){var ce=this,ue=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(De){var Ke=new un(ce,void 0,!0);De(Ke),Ke.defaultPrevented&&(ue=!0)}),!ue)){this.setCurrentMarker();for(var pe=function(De){var Ke=de.markers[De];de.setCurrentMarker(de.markers[De]),de._currentMarker.dispose(),de.markerImage.removeChild(de._currentMarker.container),de.markers.splice(de.markers.indexOf(de._currentMarker),1),de.eventListeners.markerdelete.forEach(function(Et){return Et(new un(ce,Ke))})},de=this,le=this.markers.length-1;le>=0;le--)pe(le);this.addUndoStep()}},Object.defineProperty(Fe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Fe.prototype.showNotesEditor=function(){var ce;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=(ce=this._currentMarker.notes)!==null&&ce!==void 0?ce:"",this.overlayContainer.appendChild(this.notesArea))},Fe.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)},Fe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Fe.prototype.addUndoStep=function(){var ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ue=this.getState(),pe=this.undoRedoManager.getLastUndoStep();if(!pe||pe.width===ue.width&&pe.height===ue.height){var de=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ue),de1&&this.panTo({x:ce.clientX,y:ce.clientY}))},Fe.prototype.onPointerUp=function(ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ce.clientX,ce.clientY)),this.isDragging=!1,this.addUndoStep()},Fe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Fe.prototype.onKeyUp=function(ce){this._currentMarker===void 0||this.notesArea!==void 0||ce.key!=="Delete"&&ce.key!=="Backspace"||this.deleteSelectedMarker()},Fe.prototype.clientToLocalCoordinates=function(ce,ue){var pe=this.markerImage.getBoundingClientRect();return{x:(ce-pe.left)/this.zoomLevel,y:(ue-pe.top)/this.zoomLevel}},Fe.prototype.onWindowResize=function(){this.positionUI()},Fe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"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()},Fe.prototype.addLicenseKey=function(ce){ke.addKey(ce)},Fe.prototype.addEventListener=function(ce,ue){this.eventListeners.addEventListener(ce,ue)},Fe.prototype.removeEventListener=function(ce,ue){this.eventListeners.removeEventListener(ce,ue)},Fe.prototype.renderState=function(ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Fe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Fe.prototype.focus=function(){var ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ue){return ue(new Xt(ce))}))},Fe.prototype.blur=function(){var ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ue){return ue(new Xt(ce))}))},Fe.instanceCounter=0,Fe}()},95860:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return at}});var ae=ie(87462),Oe=ie(1413),Re=ie(4942),Ze=ie(97685),ve=ie(45987),Ee=ie(94184),ke=ie.n(Ee),ye=ie(67294);function me(ht){var we=ye.useRef();we.current=ht;var he=ye.useCallback(function(){for(var je,Ve=arguments.length,Ge=new Array(Ve),qe=0;qe0;if(pn||Kn){var Kt=(0,ye.D7)(Wt),nn=(0,mt.Z)(Kt).length,$t=(0,Ze.Z)(Kn)==="object"?Kn.formatter({value:Kt,count:nn,maxLength:Dt}):"".concat(nn).concat(Yt?" / ".concat(Dt):"");return ke.createElement(ke.Fragment,null,!!Kn&&ke.createElement("span",{className:Ee()("".concat(We,"-show-count-suffix"),(0,Re.Z)({},"".concat(We,"-show-count-has-suffix"),!!pn),wt==null?void 0:wt.count),style:(0,Oe.Z)({},An==null?void 0:An.count)},$t),pn)}return null};return ke.createElement(Le,(0,ae.Z)({},Tt,{prefixCls:We,className:zt,inputElement:De(),handleReset:le,value:(0,ye.D7)(Wt),focused:un,triggerFocus:Fe,suffix:Ke(),disabled:St,classes:Ce,classNames:wt,styles:An}))}),ut=Me,Ut=ut},87887:function(mn,en,ie){"use strict";ie.d(en,{D7:function(){return ve},He:function(){return ae},X3:function(){return Oe},nH:function(){return Ze},rJ:function(){return Re}});function ae(Ee){return!!(Ee.addonBefore||Ee.addonAfter)}function Oe(Ee){return!!(Ee.prefix||Ee.suffix||Ee.allowClear)}function Re(Ee,ke,ye,me){if(ye){var Le=ke;if(ke.type==="click"){var mt=Ee.cloneNode(!0);Le=Object.create(ke,{target:{value:mt},currentTarget:{value:mt}}),mt.value="",ye(Le);return}if(me!==void 0){Le=Object.create(ke,{target:{value:Ee},currentTarget:{value:Ee}}),Ee.value=me,ye(Le);return}ye(Le)}}function Ze(Ee,ke){if(Ee){Ee.focus(ke);var ye=ke||{},me=ye.cursor;if(me){var Le=Ee.value.length;switch(me){case"start":Ee.setSelectionRange(0,0);break;case"end":Ee.setSelectionRange(Le,Le);break;default:Ee.setSelectionRange(0,Le)}}}}function ve(Ee){return typeof Ee=="undefined"||Ee===null?"":String(Ee)}},78595:function(mn,en,ie){"use strict";ie.d(en,{iz:function(){return Ci},ck:function(){return Kr},BW:function(){return mi},sN:function(){return Kr},Wd:function(){return Mn},ZP:function(){return Je},Xl:function(){return $t}});var ae=ie(87462),Oe=ie(4942),Re=ie(1413),Ze=ie(74902),ve=ie(97685),Ee=ie(45987),ke=ie(94184),ye=ie.n(ke),me=ie(67294),Le=ie(48555);function mt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ie=mt()?me.useLayoutEffect:me.useEffect,Xe=function(st,Ct){var Bt=me.useRef(!0);Ie(function(){return st(Bt.current)},Ct),Ie(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},ot=function(st,Ct){Xe(function(Bt){if(!Bt)return st()},Ct)},dt=Xe,nt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Me=void 0;function ut(et,st){var Ct=et.prefixCls,Bt=et.invalidate,Jt=et.item,Tn=et.renderItem,Nn=et.responsive,Fr=et.responsiveDisabled,Jr=et.registerSize,Ar=et.itemKey,er=et.className,Wn=et.style,ur=et.children,mr=et.display,Vr=et.order,Dr=et.component,Mr=Dr===void 0?"div":Dr,Tr=(0,Ee.Z)(et,nt),Or=Nn&&!mr;function qr(xn){Jr(Ar,xn)}me.useEffect(function(){return function(){qr(null)}},[]);var Ue=Tn&&Jt!==Me?Tn(Jt):ur,tt;Bt||(tt={opacity:Or?0:1,height:Or?0:Me,overflowY:Or?"hidden":Me,order:Nn?Vr:Me,pointerEvents:Or?"none":Me,position:Or?"absolute":Me});var tn={};Or&&(tn["aria-hidden"]=!0);var Pt=me.createElement(Mr,(0,ae.Z)({className:ye()(!Bt&&Ct,er),style:(0,Re.Z)((0,Re.Z)({},tt),Wn)},tn,Tr,{ref:st}),Ue);return Nn&&(Pt=me.createElement(Le.Z,{onResize:function(Zn){var Jn=Zn.offsetWidth;qr(Jn)},disabled:Fr},Pt)),Pt}var Ut=me.forwardRef(ut);Ut.displayName="Item";var at=Ut;function ht(et){var st=me.useRef();st.current=et;var Ct=me.useCallback(function(){for(var Bt,Jt=arguments.length,Tn=new Array(Jt),Nn=0;Nn1&&arguments[1]!==void 0?arguments[1]:1;Ve+=1;var Bt=Ve;function Jt(Tn){if(Tn===0)qe(Bt),st();else{var Nn=he(function(){Jt(Tn-1)});Ge.set(Bt,Nn)}}return Jt(Ct),Bt};Ye.cancel=function(et){var st=Ge.get(et);return qe(st),je(st)};var We=Ye;function St(et){if(typeof MessageChannel=="undefined")We(et);else{var st=new MessageChannel;st.port1.onmessage=function(){return et()},st.port2.postMessage(void 0)}}function lt(){var et=me.useRef(null),st=function(Bt){et.current||(et.current=[],St(function(){(0,we.unstable_batchedUpdates)(function(){et.current.forEach(function(Jt){Jt()}),et.current=null})})),et.current.push(Bt)};return st}function zt(et,st){var Ct=me.useState(st),Bt=(0,ve.Z)(Ct,2),Jt=Bt[0],Tn=Bt[1],Nn=ht(function(Fr){et(function(){Tn(Fr)})});return[Jt,Nn]}var Dt=me.createContext(null),pn=["component"],Kn=["className"],tr=["className"],it=function(st,Ct){var Bt=me.useContext(Dt);if(!Bt){var Jt=st.component,Tn=Jt===void 0?"div":Jt,Nn=(0,Ee.Z)(st,pn);return me.createElement(Tn,(0,ae.Z)({},Nn,{ref:Ct}))}var Fr=Bt.className,Jr=(0,Ee.Z)(Bt,Kn),Ar=st.className,er=(0,Ee.Z)(st,tr);return me.createElement(Dt.Provider,{value:null},me.createElement(at,(0,ae.Z)({ref:Ct,className:ye()(Fr,Ar)},Jr,er)))},Ce=me.forwardRef(it);Ce.displayName="RawItem";var wt=Ce,An=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Tt="responsive",rt="invalidate";function ft(et){return"+ ".concat(et.length," ...")}function Wt(et,st){var Ct=et.prefixCls,Bt=Ct===void 0?"rc-overflow":Ct,Jt=et.data,Tn=Jt===void 0?[]:Jt,Nn=et.renderItem,Fr=et.renderRawItem,Jr=et.itemKey,Ar=et.itemWidth,er=Ar===void 0?10:Ar,Wn=et.ssr,ur=et.style,mr=et.className,Vr=et.maxCount,Dr=et.renderRest,Mr=et.renderRawRest,Tr=et.suffix,Or=et.component,qr=Or===void 0?"div":Or,Ue=et.itemComponent,tt=et.onVisibleChange,tn=(0,Ee.Z)(et,An),Pt=Wn==="full",xn=lt(),Zn=zt(xn,null),Jn=(0,ve.Z)(Zn,2),yr=Jn[0],xt=Jn[1],ct=yr||0,Lt=zt(xn,new Map),dn=(0,ve.Z)(Lt,2),qn=dn[0],In=dn[1],wn=zt(xn,0),xr=(0,ve.Z)(wn,2),pr=xr[0],Pr=xr[1],dr=zt(xn,0),Vn=(0,ve.Z)(dr,2),Hr=Vn[0],ni=Vn[1],Wr=zt(xn,0),Nr=(0,ve.Z)(Wr,2),Gr=Nr[0],Li=Nr[1],xi=(0,me.useState)(null),Ei=(0,ve.Z)(xi,2),$i=Ei[0],Aa=Ei[1],_i=(0,me.useState)(null),la=(0,ve.Z)(_i,2),Ai=la[0],Ki=la[1],ua=me.useMemo(function(){return Ai===null&&Pt?Number.MAX_SAFE_INTEGER:Ai||0},[Ai,yr]),pa=(0,me.useState)(!1),ao=(0,ve.Z)(pa,2),no=ao[0],ro=ao[1],Ha="".concat(Bt,"-item"),wa=Math.max(pr,Hr),Wi=Vr===Tt,co=Tn.length&&Wi,aa=Vr===rt,Bi=co||typeof Vr=="number"&&Tn.length>Vr,ma=(0,me.useMemo)(function(){var ga=Tn;return co?yr===null&&Pt?ga=Tn:ga=Tn.slice(0,Math.min(Tn.length,ct/er)):typeof Vr=="number"&&(ga=Tn.slice(0,Vr)),ga},[Tn,er,yr,Vr,co]),Ja=(0,me.useMemo)(function(){return co?Tn.slice(ua+1):Tn.slice(ma.length)},[Tn,ma,co,ua]),Ba=(0,me.useCallback)(function(ga,Sa){var qa;return typeof Jr=="function"?Jr(ga):(qa=Jr&&(ga==null?void 0:ga[Jr]))!==null&&qa!==void 0?qa:Sa},[Jr]),Va=(0,me.useCallback)(Nn||function(ga){return ga},[Nn]);function na(ga,Sa,qa){Ai===ga&&(Sa===void 0||Sa===$i)||(Ki(ga),qa||(ro(gact){na(mo-1,ga-Io-Gr+Hr);break}}Tr&&bo(0)+Gr>ct&&Aa(null)}},[ct,qn,Hr,Gr,Ba,ma]);var Lo=no&&!!Ja.length,io={};$i!==null&&co&&(io={position:"absolute",left:$i,top:0});var lo={prefixCls:Ha,responsive:co,component:Ue,invalidate:aa},Ko=Fr?function(ga,Sa){var qa=Ba(ga,Sa);return me.createElement(Dt.Provider,{key:qa,value:(0,Re.Z)((0,Re.Z)({},lo),{},{order:Sa,item:ga,itemKey:qa,registerSize:fo,display:Sa<=ua})},Fr(ga,Sa))}:function(ga,Sa){var qa=Ba(ga,Sa);return me.createElement(at,(0,ae.Z)({},lo,{order:Sa,key:qa,item:ga,renderItem:Va,itemKey:qa,registerSize:fo,display:Sa<=ua}))},Wo,Jo={order:Lo?ua:Number.MAX_SAFE_INTEGER,className:"".concat(Ha,"-rest"),registerSize:to,display:Lo};if(Mr)Mr&&(Wo=me.createElement(Dt.Provider,{value:(0,Re.Z)((0,Re.Z)({},lo),Jo)},Mr(Ja)));else{var Fo=Dr||ft;Wo=me.createElement(at,(0,ae.Z)({},lo,Jo),typeof Fo=="function"?Fo(Ja):Fo)}var po=me.createElement(qr,(0,ae.Z)({className:ye()(!aa&&Bt,mr),style:ur,ref:st},tn),ma.map(Ko),Bi?Wo:null,Tr&&me.createElement(at,(0,ae.Z)({},lo,{responsive:Wi,responsiveDisabled:!co,order:ua,className:"".concat(Ha,"-suffix"),registerSize:ho,display:!0,style:io}),Tr));return Wi&&(po=me.createElement(Le.Z,{onResize:oo,disabled:!co},po)),po}var qt=me.forwardRef(Wt);qt.displayName="Overflow",qt.Item=wt,qt.RESPONSIVE=Tt,qt.INVALIDATE=rt;var Xt=qt,Ht=Xt,un=ie(21770),kn=ie(80334),yn=ie(91881),Fe=me.createContext(null);function ce(et,st){return et===void 0?null:"".concat(et,"-").concat(st)}function ue(et){var st=me.useContext(Fe);return ce(st,et)}var pe=ie(56982),de=["children","locked"],le=me.createContext(null);function De(et,st){var Ct=(0,Re.Z)({},et);return Object.keys(st).forEach(function(Bt){var Jt=st[Bt];Jt!==void 0&&(Ct[Bt]=Jt)}),Ct}function Ke(et){var st=et.children,Ct=et.locked,Bt=(0,Ee.Z)(et,de),Jt=me.useContext(le),Tn=(0,pe.Z)(function(){return De(Jt,Bt)},[Jt,Bt],function(Nn,Fr){return!Ct&&(Nn[0]!==Fr[0]||!(0,yn.Z)(Nn[1],Fr[1],!0))});return me.createElement(le.Provider,{value:Tn},st)}var Et=[],Yt=me.createContext(null);function Kt(){return me.useContext(Yt)}var nn=me.createContext(Et);function $t(et){var st=me.useContext(nn);return me.useMemo(function(){return et!==void 0?[].concat((0,Ze.Z)(st),[et]):st},[st,et])}var gr=me.createContext(null),kr=me.createContext({}),rn=kr,gn=ie(15105),hr=ie(75164),Er=function(et){if(!et)return!1;if(et instanceof Element){if(et.offsetParent)return!0;if(et.getBBox){var st=et.getBBox(),Ct=st.width,Bt=st.height;if(Ct||Bt)return!0}if(et.getBoundingClientRect){var Jt=et.getBoundingClientRect(),Tn=Jt.width,Nn=Jt.height;if(Tn||Nn)return!0}}return!1};function yt(et){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Er(et)){var Ct=et.nodeName.toLowerCase(),Bt=["input","select","textarea","button"].includes(Ct)||et.isContentEditable||Ct==="a"&&!!et.getAttribute("href"),Jt=et.getAttribute("tabindex"),Tn=Number(Jt),Nn=null;return Jt&&!Number.isNaN(Tn)?Nn=Tn:Bt&&Nn===null&&(Nn=0),Bt&&et.disabled&&(Nn=null),Nn!==null&&(Nn>=0||st&&Nn<0)}return!1}function It(et){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ct=(0,Ze.Z)(et.querySelectorAll("*")).filter(function(Bt){return yt(Bt,st)});return yt(et,st)&&Ct.unshift(et),Ct}var $n=null;function Qn(){$n=document.activeElement}function wr(){$n=null}function _r(){if($n)try{$n.focus()}catch(et){}}function ei(et,st){if(st.keyCode===9){var Ct=It(et),Bt=Ct[st.shiftKey?0:Ct.length-1],Jt=Bt===document.activeElement||et===document.activeElement;if(Jt){var Tn=Ct[st.shiftKey?Ct.length-1:0];Tn.focus(),st.preventDefault()}}}var Xr=gn.Z.LEFT,ri=gn.Z.RIGHT,fi=gn.Z.UP,Cr=gn.Z.DOWN,yi=gn.Z.ENTER,Gi=gn.Z.ESC,oi=gn.Z.HOME,ea=gn.Z.END,Di=[fi,Cr,Xr,ri];function Ot(et,st,Ct,Bt){var Jt,Tn,Nn,Fr,Jr="prev",Ar="next",er="children",Wn="parent";if(et==="inline"&&Bt===yi)return{inlineTrigger:!0};var ur=(Jt={},(0,Oe.Z)(Jt,fi,Jr),(0,Oe.Z)(Jt,Cr,Ar),Jt),mr=(Tn={},(0,Oe.Z)(Tn,Xr,Ct?Ar:Jr),(0,Oe.Z)(Tn,ri,Ct?Jr:Ar),(0,Oe.Z)(Tn,Cr,er),(0,Oe.Z)(Tn,yi,er),Tn),Vr=(Nn={},(0,Oe.Z)(Nn,fi,Jr),(0,Oe.Z)(Nn,Cr,Ar),(0,Oe.Z)(Nn,yi,er),(0,Oe.Z)(Nn,Gi,Wn),(0,Oe.Z)(Nn,Xr,Ct?er:Wn),(0,Oe.Z)(Nn,ri,Ct?Wn:er),Nn),Dr={inline:ur,horizontal:mr,vertical:Vr,inlineSub:ur,horizontalSub:Vr,verticalSub:Vr},Mr=(Fr=Dr["".concat(et).concat(st?"":"Sub")])===null||Fr===void 0?void 0:Fr[Bt];switch(Mr){case Jr:return{offset:-1,sibling:!0};case Ar:return{offset:1,sibling:!0};case Wn:return{offset:-1,sibling:!1};case er:return{offset:1,sibling:!1};default:return null}}function Nt(et){for(var st=et;st;){if(st.getAttribute("data-menu-list"))return st;st=st.parentElement}return null}function cn(et,st){for(var Ct=et||document.activeElement;Ct;){if(st.has(Ct))return Ct;Ct=Ct.parentElement}return null}function bn(et,st){var Ct=It(et,!0);return Ct.filter(function(Bt){return st.has(Bt)})}function rr(et,st,Ct){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!et)return null;var Jt=bn(et,st),Tn=Jt.length,Nn=Jt.findIndex(function(Fr){return Ct===Fr});return Bt<0?Nn===-1?Nn=Tn-1:Nn-=1:Bt>0&&(Nn+=1),Nn=(Nn+Tn)%Tn,Jt[Nn]}function Fn(et,st,Ct,Bt,Jt,Tn,Nn,Fr,Jr,Ar){var er=me.useRef(),Wn=me.useRef();Wn.current=st;var ur=function(){hr.Z.cancel(er.current)};return me.useEffect(function(){return function(){ur()}},[]),function(mr){var Vr=mr.which;if([].concat(Di,[yi,Gi,oi,ea]).includes(Vr)){var Dr,Mr,Tr,Or=function(){Dr=new Set,Mr=new Map,Tr=new Map;var dn=Tn();return dn.forEach(function(qn){var In=document.querySelector("[data-menu-id='".concat(ce(Bt,qn),"']"));In&&(Dr.add(In),Tr.set(In,qn),Mr.set(qn,In))}),Dr};Or();var qr=Mr.get(st),Ue=cn(qr,Dr),tt=Tr.get(Ue),tn=Ot(et,Nn(tt,!0).length===1,Ct,Vr);if(!tn&&Vr!==oi&&Vr!==ea)return;(Di.includes(Vr)||[oi,ea].includes(Vr))&&mr.preventDefault();var Pt=function(dn){if(dn){var qn=dn,In=dn.querySelector("a");In!=null&&In.getAttribute("href")&&(qn=In);var wn=Tr.get(dn);Fr(wn),ur(),er.current=(0,hr.Z)(function(){Wn.current===wn&&qn.focus()})}};if([oi,ea].includes(Vr)||tn.sibling||!Ue){var xn;!Ue||et==="inline"?xn=Jt.current:xn=Nt(Ue);var Zn,Jn=bn(xn,Dr);Vr===oi?Zn=Jn[0]:Vr===ea?Zn=Jn[Jn.length-1]:Zn=rr(xn,Dr,Ue,tn.offset),Pt(Zn)}else if(tn.inlineTrigger)Jr(tt);else if(tn.offset>0)Jr(tt,!0),ur(),er.current=(0,hr.Z)(function(){Or();var Lt=Ue.getAttribute("aria-controls"),dn=document.getElementById(Lt),qn=rr(dn,Dr);Pt(qn)},5);else if(tn.offset<0){var yr=Nn(tt,!0),xt=yr[yr.length-2],ct=Mr.get(xt);Jr(xt,!1),Pt(ct)}}Ar==null||Ar(mr)}}function ir(et){Promise.resolve().then(et)}var Xn="__RC_UTIL_PATH_SPLIT__",pt=function(st){return st.join(Xn)},At=function(st){return st.split(Xn)},Mt="rc-menu-more";function fn(){var et=me.useState({}),st=(0,ve.Z)(et,2),Ct=st[1],Bt=(0,me.useRef)(new Map),Jt=(0,me.useRef)(new Map),Tn=me.useState([]),Nn=(0,ve.Z)(Tn,2),Fr=Nn[0],Jr=Nn[1],Ar=(0,me.useRef)(0),er=(0,me.useRef)(!1),Wn=function(){er.current||Ct({})},ur=(0,me.useCallback)(function(qr,Ue){var tt=pt(Ue);Jt.current.set(tt,qr),Bt.current.set(qr,tt),Ar.current+=1;var tn=Ar.current;ir(function(){tn===Ar.current&&Wn()})},[]),mr=(0,me.useCallback)(function(qr,Ue){var tt=pt(Ue);Jt.current.delete(tt),Bt.current.delete(qr)},[]),Vr=(0,me.useCallback)(function(qr){Jr(qr)},[]),Dr=(0,me.useCallback)(function(qr,Ue){var tt=Bt.current.get(qr)||"",tn=At(tt);return Ue&&Fr.includes(tn[0])&&tn.unshift(Mt),tn},[Fr]),Mr=(0,me.useCallback)(function(qr,Ue){return qr.some(function(tt){var tn=Dr(tt,!0);return tn.includes(Ue)})},[Dr]),Tr=function(){var Ue=(0,Ze.Z)(Bt.current.keys());return Fr.length&&Ue.push(Mt),Ue},Or=(0,me.useCallback)(function(qr){var Ue="".concat(Bt.current.get(qr)).concat(Xn),tt=new Set;return(0,Ze.Z)(Jt.current.keys()).forEach(function(tn){tn.startsWith(Ue)&&tt.add(Jt.current.get(tn))}),tt},[]);return me.useEffect(function(){return function(){er.current=!0}},[]),{registerPath:ur,unregisterPath:mr,refreshOverflowKeys:Vr,isSubPathKey:Mr,getKeyPath:Dr,getKeys:Tr,getSubPathKeys:Or}}function $e(et){var st=me.useRef(et);st.current=et;var Ct=me.useCallback(function(){for(var Bt,Jt=arguments.length,Tn=new Array(Jt),Nn=0;Nn1&&(Or.motionAppear=!1);var qr=Or.onVisibleChanged;return Or.onVisibleChanged=function(Ue){return!ur.current&&!Ue&&Mr(!0),qr==null?void 0:qr(Ue)},Dr?null:me.createElement(Ke,{mode:Tn,locked:!ur.current},me.createElement(_a.Z,(0,ae.Z)({visible:Tr},Or,{forceRender:Jr,removeOnLeave:!1,leavedClassName:"".concat(Fr,"-hidden")}),function(Ue){var tt=Ue.className,tn=Ue.style;return me.createElement(ha,{id:st,className:tt,style:tn},Jt)}))}var Oi=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Qt=["active"],Zt=function(st){var Ct,Bt=st.style,Jt=st.className,Tn=st.title,Nn=st.eventKey,Fr=st.warnKey,Jr=st.disabled,Ar=st.internalPopupClose,er=st.children,Wn=st.itemIcon,ur=st.expandIcon,mr=st.popupClassName,Vr=st.popupOffset,Dr=st.popupStyle,Mr=st.onClick,Tr=st.onMouseEnter,Or=st.onMouseLeave,qr=st.onTitleClick,Ue=st.onTitleMouseEnter,tt=st.onTitleMouseLeave,tn=(0,Ee.Z)(st,Oi),Pt=ue(Nn),xn=me.useContext(le),Zn=xn.prefixCls,Jn=xn.mode,yr=xn.openKeys,xt=xn.disabled,ct=xn.overflowDisabled,Lt=xn.activeKey,dn=xn.selectedKeys,qn=xn.itemIcon,In=xn.expandIcon,wn=xn.onItemClick,xr=xn.onOpenChange,pr=xn.onActive,Pr=me.useContext(rn),dr=Pr._internalRenderSubMenuItem,Vn=me.useContext(gr),Hr=Vn.isSubPathKey,ni=$t(),Wr="".concat(Zn,"-submenu"),Nr=xt||Jr,Gr=me.useRef(),Li=me.useRef(),xi=Wn!=null?Wn:qn,Ei=ur!=null?ur:In,$i=yr.includes(Nn),Aa=!ct&&$i,_i=Hr(dn,Nn),la=jr(Nn,Nr,Ue,tt),Ai=la.active,Ki=(0,Ee.Z)(la,Qt),ua=me.useState(!1),pa=(0,ve.Z)(ua,2),ao=pa[0],no=pa[1],ro=function(ho){Nr||no(ho)},Ha=function(ho){ro(!0),Tr==null||Tr({key:Nn,domEvent:ho})},wa=function(ho){ro(!1),Or==null||Or({key:Nn,domEvent:ho})},Wi=me.useMemo(function(){return Ai||(Jn!=="inline"?ao||Hr([Lt],Nn):!1)},[Jn,Ai,Lt,ao,Nn,Hr]),co=zr(ni.length),aa=function(ho){Nr||(qr==null||qr({key:Nn,domEvent:ho}),Jn==="inline"&&xr(Nn,!$i))},Bi=$e(function(to){Mr==null||Mr(jt(to)),wn(to)}),ma=function(ho){Jn!=="inline"&&xr(Nn,ho)},Ja=function(){pr(Nn)},Ba=Pt&&"".concat(Pt,"-popup"),Va=me.createElement("div",(0,ae.Z)({role:"menuitem",style:co,className:"".concat(Wr,"-title"),tabIndex:Nr?null:-1,ref:Gr,title:typeof Tn=="string"?Tn:null,"data-menu-id":ct&&Pt?null:Pt,"aria-expanded":Aa,"aria-haspopup":!0,"aria-controls":Ba,"aria-disabled":Nr,onClick:aa,onFocus:Ja},Ki),Tn,me.createElement(Rt,{icon:Jn!=="horizontal"?Ei:void 0,props:(0,Re.Z)((0,Re.Z)({},st),{},{isOpen:Aa,isSubMenu:!0})},me.createElement("i",{className:"".concat(Wr,"-arrow")}))),na=me.useRef(Jn);if(Jn!=="inline"&&ni.length>1?na.current="vertical":na.current=Jn,!ct){var oo=na.current;Va=me.createElement(Ea,{mode:oo,prefixCls:Wr,visible:!Ar&&Aa&&Jn!=="inline",popupClassName:mr,popupOffset:Vr,popupStyle:Dr,popup:me.createElement(Ke,{mode:oo==="horizontal"?"vertical":oo},me.createElement(ha,{id:Ba,ref:Li},er)),disabled:Nr,onVisibleChange:ma},Va)}var fo=me.createElement(Ht.Item,(0,ae.Z)({role:"none"},tn,{component:"li",style:Bt,className:ye()(Wr,"".concat(Wr,"-").concat(Jn),Jt,(Ct={},(0,Oe.Z)(Ct,"".concat(Wr,"-open"),Aa),(0,Oe.Z)(Ct,"".concat(Wr,"-active"),Wi),(0,Oe.Z)(Ct,"".concat(Wr,"-selected"),_i),(0,Oe.Z)(Ct,"".concat(Wr,"-disabled"),Nr),Ct)),onMouseEnter:Ha,onMouseLeave:wa}),Va,!ct&&me.createElement(Oa,{id:Ba,open:Aa,keyPath:ni},er));return dr&&(fo=dr(fo,st,{selected:_i,active:Wi,open:Aa,disabled:Nr})),me.createElement(Ke,{onItemClick:Bi,mode:Jn==="horizontal"?"vertical":Jn,itemIcon:xi,expandIcon:Ei},fo)};function Mn(et){var st=et.eventKey,Ct=et.children,Bt=$t(st),Jt=Qi(Ct,Bt),Tn=Kt();me.useEffect(function(){if(Tn)return Tn.registerPath(st,Bt),function(){Tn.unregisterPath(st,Bt)}},[Bt]);var Nn;return Tn?Nn=Jt:Nn=me.createElement(Zt,et,Jt),me.createElement(nn.Provider,{value:Bt},Nn)}var jn=ie(71002),sr=["className","title","eventKey","children"],Yr=["children"],si=function(st){var Ct=st.className,Bt=st.title,Jt=st.eventKey,Tn=st.children,Nn=(0,Ee.Z)(st,sr),Fr=me.useContext(le),Jr=Fr.prefixCls,Ar="".concat(Jr,"-item-group");return me.createElement("li",(0,ae.Z)({role:"presentation"},Nn,{onClick:function(Wn){return Wn.stopPropagation()},className:ye()(Ar,Ct)}),me.createElement("div",{role:"presentation",className:"".concat(Ar,"-title"),title:typeof Bt=="string"?Bt:void 0},Bt),me.createElement("ul",{role:"group",className:"".concat(Ar,"-list")},Tn))};function mi(et){var st=et.children,Ct=(0,Ee.Z)(et,Yr),Bt=$t(Ct.eventKey),Jt=Qi(st,Bt),Tn=Kt();return Tn?Jt:me.createElement(si,(0,Lr.Z)(Ct,["warnKey"]),Jt)}function Ci(et){var st=et.className,Ct=et.style,Bt=me.useContext(le),Jt=Bt.prefixCls,Tn=Kt();return Tn?null:me.createElement("li",{role:"separator",className:ye()("".concat(Jt,"-item-divider"),st),style:Ct})}var gi=["label","children","key","type"];function Ti(et){return(et||[]).map(function(st,Ct){if(st&&(0,jn.Z)(st)==="object"){var Bt=st,Jt=Bt.label,Tn=Bt.children,Nn=Bt.key,Fr=Bt.type,Jr=(0,Ee.Z)(Bt,gi),Ar=Nn!=null?Nn:"tmp-".concat(Ct);return Tn||Fr==="group"?Fr==="group"?me.createElement(mi,(0,ae.Z)({key:Ar},Jr,{title:Jt}),Ti(Tn)):me.createElement(Mn,(0,ae.Z)({key:Ar},Jr,{title:Jt}),Ti(Tn)):Fr==="divider"?me.createElement(Ci,(0,ae.Z)({key:Ar},Jr)):me.createElement(Kr,(0,ae.Z)({key:Ar},Jr),Jt)}return null}).filter(function(st){return st})}function qi(et,st,Ct){var Bt=et;return st&&(Bt=Ti(st)),Qi(Bt,Ct)}var li=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Vi=[],ia=me.forwardRef(function(et,st){var Ct,Bt,Jt=et,Tn=Jt.prefixCls,Nn=Tn===void 0?"rc-menu":Tn,Fr=Jt.rootClassName,Jr=Jt.style,Ar=Jt.className,er=Jt.tabIndex,Wn=er===void 0?0:er,ur=Jt.items,mr=Jt.children,Vr=Jt.direction,Dr=Jt.id,Mr=Jt.mode,Tr=Mr===void 0?"vertical":Mr,Or=Jt.inlineCollapsed,qr=Jt.disabled,Ue=Jt.disabledOverflow,tt=Jt.subMenuOpenDelay,tn=tt===void 0?.1:tt,Pt=Jt.subMenuCloseDelay,xn=Pt===void 0?.1:Pt,Zn=Jt.forceSubMenuRender,Jn=Jt.defaultOpenKeys,yr=Jt.openKeys,xt=Jt.activeKey,ct=Jt.defaultActiveFirst,Lt=Jt.selectable,dn=Lt===void 0?!0:Lt,qn=Jt.multiple,In=qn===void 0?!1:qn,wn=Jt.defaultSelectedKeys,xr=Jt.selectedKeys,pr=Jt.onSelect,Pr=Jt.onDeselect,dr=Jt.inlineIndent,Vn=dr===void 0?24:dr,Hr=Jt.motion,ni=Jt.defaultMotions,Wr=Jt.triggerSubMenuAction,Nr=Wr===void 0?"hover":Wr,Gr=Jt.builtinPlacements,Li=Jt.itemIcon,xi=Jt.expandIcon,Ei=Jt.overflowedIndicator,$i=Ei===void 0?"...":Ei,Aa=Jt.overflowedIndicatorPopupClassName,_i=Jt.getPopupContainer,la=Jt.onClick,Ai=Jt.onOpenChange,Ki=Jt.onKeyDown,ua=Jt.openAnimation,pa=Jt.openTransitionName,ao=Jt._internalRenderMenuItem,no=Jt._internalRenderSubMenuItem,ro=(0,Ee.Z)(Jt,li),Ha=me.useMemo(function(){return qi(mr,ur,Vi)},[mr,ur]),wa=me.useState(!1),Wi=(0,ve.Z)(wa,2),co=Wi[0],aa=Wi[1],Bi=me.useRef(),ma=_t(Dr),Ja=Vr==="rtl",Ba=(0,un.Z)(Jn,{value:yr,postState:function(oa){return oa||Vi}}),Va=(0,ve.Z)(Ba,2),na=Va[0],oo=Va[1],fo=function(oa){var Ra=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Fa(){oo(oa),Ai==null||Ai(oa)}Ra?(0,we.flushSync)(Fa):Fa()},to=me.useState(na),ho=(0,ve.Z)(to,2),bo=ho[0],Lo=ho[1],io=me.useRef(!1),lo=me.useMemo(function(){return(Tr==="inline"||Tr==="vertical")&&Or?["vertical",Or]:[Tr,!1]},[Tr,Or]),Ko=(0,ve.Z)(lo,2),Wo=Ko[0],Jo=Ko[1],Fo=Wo==="inline",po=me.useState(Wo),ga=(0,ve.Z)(po,2),Sa=ga[0],qa=ga[1],mo=me.useState(Jo),Io=(0,ve.Z)(mo,2),Go=Io[0],qo=Io[1];me.useEffect(function(){qa(Wo),qo(Jo),io.current&&(Fo?oo(bo):fo(Vi))},[Wo,Jo]);var ls=me.useState(0),Ss=(0,ve.Z)(ls,2),$o=Ss[0],Cs=Ss[1],ja=$o>=Ha.length-1||Sa!=="horizontal"||Ue;me.useEffect(function(){Fo&&Lo(na)},[na]),me.useEffect(function(){return io.current=!0,function(){io.current=!1}},[]);var be=fn(),Be=be.registerPath,Pe=be.unregisterPath,gt=be.refreshOverflowKeys,vt=be.isSubPathKey,vn=be.getKeyPath,ln=be.getKeys,Un=be.getSubPathKeys,Cn=me.useMemo(function(){return{registerPath:Be,unregisterPath:Pe}},[Be,Pe]),hn=me.useMemo(function(){return{isSubPathKey:vt}},[vt]);me.useEffect(function(){gt(ja?Vi:Ha.slice($o+1).map(function(La){return La.key}))},[$o,ja]);var nr=(0,un.Z)(xt||ct&&((Ct=Ha[0])===null||Ct===void 0?void 0:Ct.key),{value:xt}),Dn=(0,ve.Z)(nr,2),Pn=Dn[0],vr=Dn[1],br=$e(function(La){vr(La)}),Rn=$e(function(){vr(void 0)});(0,me.useImperativeHandle)(st,function(){return{list:Bi.current,focus:function(oa){var Ra,Fa=Pn!=null?Pn:(Ra=Ha.find(function(uo){return!uo.props.disabled}))===null||Ra===void 0?void 0:Ra.key;if(Fa){var ya,Ia,za;(ya=Bi.current)===null||ya===void 0||(Ia=ya.querySelector("li[data-menu-id='".concat(ce(ma,Fa),"']")))===null||Ia===void 0||(za=Ia.focus)===null||za===void 0||za.call(Ia,oa)}}}});var fr=(0,un.Z)(wn||[],{value:xr,postState:function(oa){return Array.isArray(oa)?oa:oa==null?Vi:[oa]}}),Rr=(0,ve.Z)(fr,2),Ur=Rr[0],ii=Rr[1],bi=function(oa){if(dn){var Ra=oa.key,Fa=Ur.includes(Ra),ya;In?Fa?ya=Ur.filter(function(za){return za!==Ra}):ya=[].concat((0,Ze.Z)(Ur),[Ra]):ya=[Ra],ii(ya);var Ia=(0,Re.Z)((0,Re.Z)({},oa),{},{selectedKeys:ya});Fa?Pr==null||Pr(Ia):pr==null||pr(Ia)}!In&&na.length&&Sa!=="inline"&&fo(Vi)},Pi=$e(function(La){la==null||la(jt(La)),bi(La)}),Si=$e(function(La,oa){var Ra=na.filter(function(ya){return ya!==La});if(oa)Ra.push(La);else if(Sa!=="inline"){var Fa=Un(La);Ra=Ra.filter(function(ya){return!Fa.has(ya)})}(0,yn.Z)(na,Ra,!0)||fo(Ra,!0)}),ui=function(oa,Ra){var Fa=Ra!=null?Ra:!na.includes(oa);Si(oa,Fa)},va=Fn(Sa,Pn,Ja,ma,Bi,ln,vn,vr,ui,Ki);me.useEffect(function(){aa(!0)},[]);var ca=me.useMemo(function(){return{_internalRenderMenuItem:ao,_internalRenderSubMenuItem:no}},[ao,no]),Ka=Sa!=="horizontal"||Ue?Ha:Ha.map(function(La,oa){return me.createElement(Ke,{key:La.key,overflowDisabled:oa>$o},La)}),Ya=me.createElement(Ht,(0,ae.Z)({id:Dr,ref:Bi,prefixCls:"".concat(Nn,"-overflow"),component:"ul",itemComponent:Kr,className:ye()(Nn,"".concat(Nn,"-root"),"".concat(Nn,"-").concat(Sa),Ar,(Bt={},(0,Oe.Z)(Bt,"".concat(Nn,"-inline-collapsed"),Go),(0,Oe.Z)(Bt,"".concat(Nn,"-rtl"),Ja),Bt),Fr),dir:Vr,style:Jr,role:"menu",tabIndex:Wn,data:Ka,renderRawItem:function(oa){return oa},renderRawRest:function(oa){var Ra=oa.length,Fa=Ra?Ha.slice(-Ra):null;return me.createElement(Mn,{eventKey:Mt,title:$i,disabled:ja,internalPopupClose:Ra===0,popupClassName:Aa},Fa)},maxCount:Sa!=="horizontal"||Ue?Ht.INVALIDATE:Ht.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(oa){Cs(oa)},onKeyDown:va},ro));return me.createElement(rn.Provider,{value:ca},me.createElement(Fe.Provider,{value:ma},me.createElement(Ke,{prefixCls:Nn,rootClassName:Fr,mode:Sa,openKeys:na,rtl:Ja,disabled:qr,motion:co?Hr:null,defaultMotions:co?ni:null,activeKey:Pn,onActive:br,onInactive:Rn,selectedKeys:Ur,inlineIndent:Vn,subMenuOpenDelay:tn,subMenuCloseDelay:xn,forceSubMenuRender:Zn,builtinPlacements:Gr,triggerSubMenuAction:Nr,getPopupContainer:_i,itemIcon:Li,expandIcon:xi,onItemClick:Pi,onOpenChange:Si},me.createElement(gr.Provider,{value:hn},Ya),me.createElement("div",{style:{display:"none"},"aria-hidden":!0},me.createElement(Yt.Provider,{value:Cn},Ha)))))}),ta=ia,ze=ta;ze.Item=Kr,ze.SubMenu=Mn,ze.ItemGroup=mi,ze.Divider=Ci;var Je=ze},66680:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re){var Ze=ae.useRef();Ze.current=Re;var ve=ae.useCallback(function(){for(var Ee,ke=arguments.length,ye=new Array(ke),me=0;me2&&arguments[2]!==void 0?arguments[2]:!1,ke=new Set;function ye(me,Le){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ie=ke.has(me);if((0,Oe.ZP)(!Ie,"Warning: There may be circular references"),Ie)return!1;if(me===Le)return!0;if(Ee&&mt>1)return!1;ke.add(me);var Xe=mt+1;if(Array.isArray(me)){if(!Array.isArray(Le)||me.length!==Le.length)return!1;for(var ot=0;ot