!(function(){var O1=Object.defineProperty;var Fv=Object.getOwnPropertySymbols;var D1=Object.prototype.hasOwnProperty,N1=Object.prototype.propertyIsEnumerable;var x0=(gr,zn,pe)=>zn in gr?O1(gr,zn,{enumerable:!0,configurable:!0,writable:!0,value:pe}):gr[zn]=pe,E0=(gr,zn)=>{for(var pe in zn||(zn={}))D1.call(zn,pe)&&x0(gr,pe,zn[pe]);if(Fv)for(var pe of Fv(zn))N1.call(zn,pe)&&x0(gr,pe,zn[pe]);return gr};var Va=(gr,zn,pe)=>x0(gr,typeof zn!="symbol"?zn+"":zn,pe);(self.webpackChunk=self.webpackChunk||[]).push([[67],{40001:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},73331:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},15277:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},33853:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},61485:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},47472:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},87395:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(60499),qt=pe(59301),Xe={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"},Ht=Xe,rt=pe(7657),at=function(ce,ke){return qt.createElement(rt.Z,(0,oe.Z)({},ce,{ref:ke,icon:Ht}))},Dt=qt.forwardRef(at),Me=Dt},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(gr,zn){"use strict";zn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39967:function(gr,zn){"use strict";zn.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var gr={},zn="5.0",pe={},oe=null,qt=!1,Xe=!1,Ht=null,rt=!1,at=null,Dt=null,Me=0;Me4?parseFloat(Ze):5};gr.setHTML5Codebase=function(Ze,Ct){Dt=Ze,It(Ze,Ct)},gr.setJavaCodebase=gr.setJavaCodebaseVersion=gr.isCompiledInstalled=gr.setPreCompiledScriptPath=gr.setPreCompiledResourcePath=function(){},gr.setHTML5CodebaseVersion=function(Ze,Ct){var _t=parseFloat(Ze);if(_t!==NaN&&_t<5){console.log("The GeoGebra HTML5 codebase version "+_t+" is deprecated. Using version latest instead.");return}at=Ze,xe(Ze,Ct)},gr.getHTML5CodebaseVersion=function(){return Ke},gr.getParameters=function(){return pe},gr.setFontsCSSURL=function(Ze){Bt=Ze},gr.setGiacJSURL=function(Ze){},gr.setJNLPFile=function(Ze){ce=Ze},gr.setJNLPBaseDir=function(Ze){},gr.inject=function(){function Ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ct="auto",_t=pe.id,In,xn=!1,Wn=0;Wn=5)return!0;var Ze=gr.getAppletObject();return Ze&&typeof Ze.recalculateEnvironments=="function"?(Ze.recalculateEnvironments(),!0):!1},gr.startAnimation=function(){var Ze=gr.getAppletObject();return Ze&&typeof Ze.startAnimation=="function"?(Ze.startAnimation(),!0):!1},gr.stopAnimation=function(){var Ze=gr.getAppletObject();return Ze&&typeof Ze.stopAnimation=="function"?(Ze.stopAnimation(),!0):!1},gr.getAppletObject=function(){var Ze=pe.id!==void 0?pe.id:"ggbApplet";return window[Ze]},gr.resize=function(){};var jt=function(Ze,Ct,_t){var In=document.createElement("param");In.setAttribute("name",Ct),In.setAttribute("value",_t),Ze.appendChild(In)},Je=function(Ze){return Ze&&Ze!=="false"},wt=function(Ze,Ct,_t){yt(Ke)<=4.2&&(_t=!0);var In=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ke||ggbHTML5LoadedCodebaseIsWebSimple&&!Ge)&&(In=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var xn=document.createElement("div");xn.classList.add("appletParameters","notranslate");var Wn=Ct.width,ct=Ct.height;if(Ct.disableAutoScale=Ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ct.disableAutoScale,Ct.width!==void 0)if(yt(Ke)<=4.4)Je(Ct.showToolBar)&&(Ct.height-=7),Je(Ct.showAlgebraInput)&&(Ct.height-=37),Ct.width<605&&Je(Ct.showToolBar)&&(Ct.width=605,Wn=605);else{var En=100;(Je(Ct.showToolBar)||Je(Ct.showMenuBar))&&(Ct.hasOwnProperty("customToolBar")&&(Ct.customToolbar=Ct.customToolBar),En=Je(Ct.showMenuBar)?245:155),Wn=5?(Ct.appletOnLoad=function(Sn){var yn=Ze.querySelector(".ggb_preview");yn&&yn.parentNode.removeChild(yn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(de),window.GGBT_wsf_view&&$(window).trigger("resize"),be(Sn)},le||de.appendChild(ye)):xn.appendChild(ye),de.appendChild(xn),le||Ze.appendChild(de),setTimeout(function(){gr.resize()},1)}else{var Ie=document.createElement("div");Ie.className="applet_scaler",Ie.style.position="relative",Ie.style.display="block",Ie.appendChild(xn),Ze.appendChild(Ie),Ct.appletOnLoad=function(Sn){gr.resize(),be(Sn)}}function he(Sn,yn){yn&&typeof yn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Sn,yn.appletOnLoad):renderGGBElement(Sn),Cn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yn)}function We(Sn,yn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Sn,params:yn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ar){he(ar.article,ar.params)}),html5AppletsToProcess=null)},yt(Ke)<5&&(Sn.className+=" geogebraweb")):he(Sn,yn)}if(In){scriptLoadStarted=!0;for(var tt=0;tt0?(Rt.remove(),de.attr("id","fullscreencontent").show(),jQuery(be).append(de),window.dispatchEvent(new Event("resize"))):wt(Rt,Ct,!1),window.GGBT_wsf_view.launchFullScreen(be)}else Ve=In,wt(Ze,Ct,!1);if(!window.GGBT_wsf_view)for(ct=0;ctZe/4*3&&(Rt=Ze/4*3),be=Rt/5.8,En.setAttribute("src",qe),En.setAttribute("width",Rt),En.setAttribute("height",be);var de=(Ze-Rt)/2,le=(Ct-be)/2;En.style.left=de+"px",En.style.top=le+"px",xn.appendChild(En)}}return xn.appendChild(ct),xn},Qt=function(Ze){return Ze=Ze.toLowerCase(),Ze==="html5"||Ze==="screenshot"?Ze:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],xe=function(Ze,Ct){if(Ke=Ze,Ct){It(Ke,!0);return}var _t=!qt;if(_t){var In=yt(Ke);!isNaN(In)&&In<4.4&&(_t=!1)}var xn,Wn;window.location.protocol.substr(0,4)==="http"?xn=window.location.protocol:xn="http:";var ct=Ke.indexOf("//");ct>0?Wn=Ke:ct===0?Wn=xn+Ke:Wn="https://www.geogebra.org/apps/5.2.814.0/";for(var En in Te)if(Ke.slice(Te[En].length*-1)===Te[En]||Ke.slice((Te[En].length+1)*-1)===Te[En]+"/"){It(Wn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&_t&&!oe.is3D&&!oe.AV&&!oe.SV&&!oe.CV&&!oe.EV2&&!oe.CP&&!oe.PC&&!oe.DA&&!oe.FI&&!oe.PV&&!Je(pe.showToolBar)&&!Je(pe.showMenuBar)&&!Je(pe.showAlgebraInput)&&!Je(pe.enableRightClick)&&(!pe.appName||pe.appName=="classic")?Wn+="webSimple/":Wn+="web3d/",It(Wn,!1)},It=function(Ze,Ct){if(Ze.requirejs){ke=Ze;return}Ze.slice(-1)!=="/"&&(Ze+="/"),ke=Ze,Ct===null&&(Ct=Ze.indexOf("http")===-1),Le=Ct,He="web.nocache.js",Ge=!1;var _t=ke.split("/");_t.length>1&&(!Ct&&_t[_t.length-2]==="webSimple"?(He="webSimple.nocache.js",Ge=!0):Te.indexOf(_t[_t.length-2])>=0&&(He=_t[_t.length-2]+".nocache.js")),_t=Ze.split("/"),Ke=_t[_t.length-3],Ke.substr(0,4)==="test"?Ke=Ke.substr(4,1)+"."+Ke.substr(5,1):(Ke.substr(0,3)==="war"||Ke.substr(0,4)==="beta")&&(Ke="5.0");var In=parseFloat(Ke);In!==NaN&&In<5&&Ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+In+" is deprecated. Using version latest instead."),xe("5.0",Ct))},Cn=function(Ze,Ct){window.console&&window.console.log&&(!Ct||typeof Ct.showLogging=="undefined"||Ct.showLogging&&Ct.showLogging!=="false")&&console.log(Ze)};pe.material_id!==void 0?pn(mn):mn();function mn(){var Ze=zn;at!==null?Ze=at:parseFloat(Ze)<5&&(Ze="5.0"),xe(Ze,!1),Dt!==null&&It(Dt,Le),rt=!0}return gr},GGBAppletUtils=function(){"use strict";function gr(){return window.GGBT_wsf_edit!==void 0}function zn(rt,at){at!=1?(rt.style.transformOrigin="0% 0% 0px",rt.style.webkitTransformOrigin="0% 0% 0px",rt.style.transform="scale("+at+","+at+")",rt.style.webkitTransform="scale("+at+","+at+")",rt.style.maxWidth="initial",rt.querySelector(".ggb_preview")!==null&&(rt.querySelector(".ggb_preview").style.maxWidth="initial"),rt.querySelectorAll(".ggb_preview img")[0]!==void 0&&(rt.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),rt.querySelectorAll(".ggb_preview img")[1]!==void 0&&(rt.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(rt.style.transform="none",rt.style.webkitTransform="none")}function pe(rt,at,Dt,Me,Pe,ce){var ke=null;if(ce!=null&&ce!="")for(var Le=rt.parentNode;Le!=null;)if((" "+Le.className+" ").indexOf(" "+ce+" ")>-1){ke=Le;break}else Le=Le.parentNode;var Ve=0,Ke=0,He=0,Ge=0,ze=0,qe=0,pt=0;if(ke)Ve=ke.offsetWidth,Ke=Math.max(Me?ke.offsetWidth:0,ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ve=Math.min(window.innerWidth,document.documentElement.clientWidth),Ke=Math.min(window.innerHeight,document.documentElement.clientHeight),He=Ve):(Ve=window.innerWidth,Ke=window.innerHeight,He=window.innerWidth),rt){var Bt=rt.getBoundingClientRect();Bt.left>0&&Bt.left<=Ve&&(Pe===void 0||!Pe)&&(document.dir==="rtl"?(ze=Ve-Bt.width-Bt.left,qe=He<=480?10:30):(qe=Bt.left,ze=He<=480?10:30),Ge=qe+ze)}if(rt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var vt=rt.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ge=40,pt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ge=0,pt=40)}}return rt&&((Dt===void 0||!Dt)&&at>0&&at+Ge1&&(ce=!0)),at&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(rt.hasOwnProperty("disableAutoScale")&&rt.disableAutoScale))Pe=oe(rt,at,ce,Dt,rt.scaleContainerClass);else return Me;return ce&&(!rt.hasOwnProperty("scale")||Me===1)?Pe:Math.min(Me,Pe)}function Xe(rt){var at=Math.min(window.innerWidth,document.documentElement.clientWidth),Dt=Math.min(window.innerHeight,document.documentElement.clientHeight),Me=rt.getBoundingClientRect(),Pe=(at-Me.width)/2,ce=(Dt-Me.height)/2;ce<0&&(ce=0),rt.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Pe<40?rt.style.left="40px":rt.style.left=Pe+"px",rt.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?rt.style.top="40px":rt.style.top=ce+"px",rt.style.left=Pe+"px")}function Ht(rt,at){var Dt=rt.querySelector(".appletParameters");if(Dt){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(at.id!==Dt.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(rt)}if(Dt.parentElement&&/fullscreen/.test(Dt.parentElement.className))return;var Me=qt(at,rt);gr()&&Dt.setAttribute("data-param-scale",Me);for(var Pe=null,ce=0;ce=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(gr){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(gr){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(gr){var zn=c[gr];return zn==null?null:zn},r=d,webModule.__errFn=e}function B(){function gr(rt){var at=rt.lastIndexOf(rb);at==-1&&(at=rt.length);var Dt=rt.indexOf(sb);Dt==-1&&(Dt=rt.length);var Me=rt.lastIndexOf(tb,Math.min(Dt,at));return Me>=O?rt.substring(O,Me+P):W}function zn(rt){if(!rt.match(/^\w+:\/\//)){var at=o.createElement(ub);at.src=rt+vb,rt=gr(at.src)}return rt}function pe(){var rt=__gwt_getMetaProperty(wb);return rt!=null?rt:W}function oe(){for(var rt=o.getElementsByTagName(_),at=O;atO?rt[rt.length-P].href:W}function Xe(){var rt=o.location;return rt.href==rt.protocol+zb+rt.host+rt.pathname+rt.search+rt.hash}var Ht=pe();return Ht==W&&(Ht=oe()),Ht==W&&(Ht=qt()),Ht==W&&Xe()&&(Ht=gr(o.location.href)),Ht=zn(Ht),Ht}function C(gr){return gr.match(/^\//)||gr.match(/^[a-zA-Z]+:\/\//)?gr:webModule.__moduleBase+gr}function D(){var gr=[],zn=O,pe=[],oe=[];function qt(rt){var at=oe[rt](),Dt=pe[rt];if(at in Dt)return at;var Me=[];for(var Pe in Dt)Me[Dt[Pe]]=Pe;throw r&&r(rt,Me,at),null}if(__gwt_isKnownPropertyValue=function(rt,at){return at in pe[rt]},webModule.__getPropMap=function(){var rt={};for(var at in pe)pe.hasOwnProperty(at)&&(rt[at]=qt(at));return rt},webModule.__computePropValue=qt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Xe;try{Xe=Cb;var Ht=Xe.indexOf(Db);Ht!=-1&&(zn=parseInt(Xe.substring(Ht+P),$),Xe=Xe.substring(O,Ht))}catch(rt){}return webModule.__softPermutationId=zn,C(Xe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},23216:function(gr,zn,pe){"use strict";pe.d(zn,{Ax:function(){return Ht},Ds:function(){return rt},KI:function(){return Dt},SI:function(){return Xe},f1:function(){return qt}});var oe=pe(14185);function qt(Me){let Pe=!0;if(Me.length>0){for(let ce=0;cenew Promise((He,Ge)=>{var ze=Bt=>{try{pt(Ke.next(Bt))}catch(vt){Ge(vt)}},qe=Bt=>{try{pt(Ke.throw(Bt))}catch(vt){Ge(vt)}},pt=Bt=>Bt.done?He(Bt.value):Promise.resolve(Bt.value).then(ze,qe);pt((Ke=Ke.apply(Le,Ve)).next())}),ke=({data:Le,className:Ve,fullWidth:Ke,style:He={},onClose:Ge,onOk:ze,showFullTools:qe,noAssociationId:pt})=>{const Bt=(0,oe.useRef)(null),vt=(0,oe.useRef)(null),yt=(0,oe.useRef)(null),Nt=(0,oe.useRef)(null),[Et,pn]=(0,oe.useState)(!1),[Pt,St]=(0,oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,oe.useEffect)(()=>(yt.current||(yt.current=document.createElement("style"),document.head.appendChild(yt.current)),Le!=null&&Le.visible?(document.body.setAttribute("data-custom","y-hidden"),yt.current.innerHTML=" html { overflow-y: hidden; }",Le!=null&&Le.src&&jt()):(document.body.removeAttribute("data-custom"),yt.current&&(document.head.removeChild(yt.current),yt.current=null)),()=>{document.body.removeAttribute("data-custom"),yt.current&&(document.head.removeChild(yt.current),yt.current=null)}),[Le==null?void 0:Le.visible]);const jt=()=>Pe(void 0,null,function*(){pn(!0),St("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Fe=yield(0,Me.ZJ)(Le==null?void 0:Le.src);Bt.current.src="",Bt.current.src=Fe,Bt.current.onload=function(){lt()},pn(!1),St("")}),Je=Fe=>Pe(void 0,null,function*(){pn(!0),St("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Zt=yield(0,Dt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Le.title,file:Fe.dataUrl}});Zt!=null&&Zt.id&&!pt?(yield(0,Dt.ZP)(`/api/attachments/${Le.id}/add_subitem.json`,{method:"post",body:{subitem_id:Zt==null?void 0:Zt.id,settings:JSON.stringify(Fe.state)}})).status===0&&ze():Zt!=null&&Zt.id&&ze(Zt),pn(!1),St("")}),wt=()=>{const Fe=document.querySelector('a[href="https://markerjs.com/"]');Fe&&Fe.parentNode&&(Fe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach($e=>{const At=document.querySelector($e.name);At&&At.setAttribute("title",$e.title)})},lt=()=>{vt.current=new at.hP(Bt.current),vt.current.targetRoot=Nt.current,vt.current.addEventListener("render",Je),vt.current.addEventListener("beforeclose",Ge),qe&&(vt.current.availableMarkerTypes=vt.current.ALL_MARKER_TYPES,vt.current.uiStyleSettings.redoButtonVisible=!0,vt.current.uiStyleSettings.notesButtonVisible=!0,vt.current.uiStyleSettings.zoomButtonVisible=!0,vt.current.uiStyleSettings.zoomOutButtonVisible=!0,vt.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=vt.current.uiStyleSettings,vt.current.show(),Le!=null&&Le.snapshotData&&vt.current.restoreState(Le.snapshotData),setTimeout(()=>{window.scrollTo(0,0),wt()},300)};return oe.createElement(oe.Fragment,null,(Le==null?void 0:Le.visible)&&oe.createElement(rt.Z,{spinning:Et,tip:Pt,style:{position:"absolute",width:"100vw"}},oe.createElement("div",{ref:Nt,className:Ht()(qt.imageDimensions,Ve,Ke?qt.fullWidth:""),style:He},oe.createElement("img",{className:qt.img,ref:Bt}))))}},9057:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(77019),Xe=pe(5269),Ht=pe(31691),rt=pe(7939),at=pe(35883),Dt=pe(74501),Me=pe(48136),Pe=pe(59301);const ce=(0,oe.forwardRef)(({callback:ke,showSaveButton:Le,value:Ve=""},Ke)=>{const He=(0,oe.useRef)(),Ge=[{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 "}]}]}],ze=[{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}`}]}]}],qe=vt=>{He.current.setValue(He.current.getValue()+" "+vt.value+" ")},pt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Pe.createElement(qt.Z,{className:Dt.Z.lists,gutter:[10,10]},Ge.map((vt,yt)=>Pe.createElement(Xe.Z,{flex:"110px",className:Dt.Z.item},Pe.createElement("div",null,Pe.createElement(at.Z,{value:`$$${vt.value}$$`}),vt.name),Pe.createElement("div",{className:Dt.Z.children},vt.children.map((Nt,Et)=>Pe.createElement("div",{key:Et},Pe.createElement("h1",null,Nt.name),Pe.createElement(qt.Z,{gutter:[10,10]},Nt.data.map((pn,Pt)=>Pe.createElement(Xe.Z,{key:Pt,onClick:()=>qe(pn),className:Dt.Z.diamond},Pe.createElement(at.Z,{value:"`$$"+pn.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Pe.createElement(qt.Z,{className:Dt.Z.lists,gutter:[10,10]},ze.map((vt,yt)=>Pe.createElement(Xe.Z,{flex:"110px",className:Dt.Z.item},Pe.createElement("div",null,Pe.createElement(at.Z,{value:"`$$"+vt.value+"$$`"}),vt.name),Pe.createElement("div",{className:Dt.Z.children},vt.children.map((Nt,Et)=>Pe.createElement("div",{key:Et},Nt.name&&Pe.createElement("h1",null,Nt.name),Pe.createElement(qt.Z,{gutter:[10,10]},Nt.data.map((pn,Pt)=>Pe.createElement(Xe.Z,{key:Pt,onClick:()=>qe(pn),className:Dt.Z.diamond},Pe.createElement(at.Z,{value:"`$$"+pn.value+"$$`"}))))))))))}],Bt=()=>{var vt=document.createElement("div");vt.innerHTML=He.current.getValue();var yt=vt.innerText;return ke&&ke(yt),yt};return(0,oe.useImperativeHandle)(Ke,()=>({getData:Bt})),Pe.createElement("div",{className:Dt.Z.mathWrap},Pe.createElement(Ht.default,{defaultActiveKey:"1",items:pt}),Pe.createElement("math-field",{locale:"zh_cn",className:Dt.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:He,style:{width:800,marginTop:30,fontSize:18}},Ve||""),Le&&Pe.createElement("div",{className:Dt.Z.button},Pe.createElement(rt.ZP,{size:"large",onClick:Bt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zn.Z=ce},90736:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(4977),Xe=pe(7939),Ht=Object.defineProperty,rt=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ce=(Ke,He,Ge)=>He in Ke?Ht(Ke,He,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ke[He]=Ge,ke=(Ke,He)=>{for(var Ge in He||(He={}))Me.call(He,Ge)&&ce(Ke,Ge,He[Ge]);if(Dt)for(var Ge of Dt(He))Pe.call(He,Ge)&&ce(Ke,Ge,He[Ge]);return Ke},Le=(Ke,He)=>rt(Ke,at(He));const Ve=({img:Ke,buttonProps:He={},styles:Ge={},customText:ze,ButtonText:qe,ButtonClick:pt,Buttonclass:Bt,ButtonTwo:vt,imgStyles:yt,loading:Nt=!1,className:Et=""})=>oe.createElement("section",{className:`tc animated fadeIn ${Et}`,style:ke({color:"#999",margin:"100px auto",visibility:Nt?"hidden":"visible"},Ge)},oe.createElement("img",{src:Ke||qt,style:Le(ke({},yt),{pointerEvents:"none",userSelect:"none"})}),oe.createElement("p",{className:"mt20 font14"},ze||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),qe&&oe.createElement(Xe.ZP,ke({className:Bt,onClick:pt},He),qe),vt&&vt);zn.Z=Ve},86974:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Bt}});var oe=pe(59301),qt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},Xe=pe(7939),Ht=pe(70557),rt=pe(34728),at=pe(25399),Dt=pe(76406),Me=pe(84849),Pe=pe(90736),ce=pe(14185),ke=pe(52078),Le=pe(59301),Ve=Object.defineProperty,Ke=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ze=(vt,yt,Nt)=>yt in vt?Ve(vt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):vt[yt]=Nt,qe=(vt,yt)=>{for(var Nt in yt||(yt={}))He.call(yt,Nt)&&ze(vt,Nt,yt[Nt]);if(Ke)for(var Nt of Ke(yt))Ge.call(yt,Nt)&&ze(vt,Nt,yt[Nt]);return vt},pt=(vt,yt,Nt)=>new Promise((Et,pn)=>{var Pt=Je=>{try{jt(Nt.next(Je))}catch(wt){pn(wt)}},St=Je=>{try{jt(Nt.throw(Je))}catch(wt){pn(wt)}},jt=Je=>Je.done?Et(Je.value):Promise.resolve(Je.value).then(Pt,St);jt((Nt=Nt.apply(vt,yt)).next())}),Bt=({editOffice:vt="view",data:yt,issaver:Nt,onSaver:Et,theme:pn,type:Pt,filename:St,monacoEditor:jt,className:Je,style:wt,close:lt,onClose:Fe,hasMask:Zt,disabledDownload:$e,onImgDimensions:At,showNodata:Qt,recordInfo:Te})=>{const[xe,It]=(0,oe.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Cn,mn]=(0,oe.useState)(""),[Ze,Ct]=(0,oe.useState)(),_t=window.ENV==="build"?"/react/build":"",In=location.host.startsWith("localhost")?ce.Z.PROXY_SERVER:ce.Z.API_SERVER,Wn=10*(1024*1024),ct=(0,oe.useRef)();yt!=null&&yt.startsWith("/api")&&Pt!=="txt"&&(yt=ce.Z.API_SERVER+yt);const En=Ie=>Ie.substring(Ie.lastIndexOf("/")+1).split(".").pop();St&&jt&&(jt.filename=St),(0,oe.useEffect)(()=>{var Ie,he;const We=(he=(Ie=document.cookie)==null?void 0:Ie.replace(/\s/g,""))==null?void 0:he.split(";");We==null||We.map(tt=>{let dn=tt.split("=");dn[0]==="_educoder_session"&&mn(dn[1])})},[]),(0,oe.useEffect)(()=>{Pt==="office"&&(yt.indexOf("bigfilescdn.")>-1||yt.indexOf("bigfiles1")>-1?Ct({url:yt,fileType:En(yt),model:yt.indexOf("model=edit")?"edit":"view"}):yt.indexOf("coze")>-1?Ct({url:yt,fileType:"doc",model:"view"}):be())},[Pt,yt]);function Rt(Ie){return pt(this,null,function*(){Ie.data.type==="pdfdata"&&(Et(Ie.data.data),window.removeEventListener("message",Rt,!1)),console.log("mess---:",Ie.data)})}const be=()=>pt(void 0,null,function*(){console.log("data:",yt);let Ie=yt;yt.startsWith("http")||(Ie=location.origin+Ie);let he=new URL(Ie).pathname.split("/").pop();const We=yield(0,Me.gJ)({attachment_id:he});We.url=In+We.url,Ct(We)}),de=()=>{if(yt.startsWith("http")||yt.startsWith("blob:")){le();return}(0,Dt.Sv)(St||"educoder",yt,St)},le=()=>{Te&&(0,ke.fc)({id:Te==null?void 0:Te.id,watch_type:1,course_id:Te==null?void 0:Te.course_id}),(0,Dt.Nd)(St||"educoder",decodeURIComponent(yt))};(0,oe.useEffect)(()=>(window.addEventListener("message",ye),()=>{window.removeEventListener("message",ye)}),[]);const ye=Ie=>{var he;((he=Ie==null?void 0:Ie.data)==null?void 0:he.type)==="closePop"&&Fe()};return Le.createElement("div",{style:qe({},wt||{}),className:`${Zt&&qt.bgBlack} ${Pt?qt.wrp:"hide"}`},!!Pt&<&&Le.createElement("div",{id:"closePop",className:qt.close,ref:ct},!!At&&Le.createElement(at.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ct.current},Le.createElement("span",{onClick:()=>{Fe(),At()}},Le.createElement("i",{className:"icon-yulanpizhu"}))),!$e&&window.parent===window&&Le.createElement(at.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ct.current},Le.createElement("span",{onClick:le},Le.createElement("i",{className:"icon-quxiaozhiding"}))),Nt&&Le.createElement(at.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ct.current},Le.createElement("span",{className:"",onClick:()=>{const Ie=document.getElementById("pdfiframe");window.addEventListener("message",Rt,!1),setTimeout(()=>{Ie.contentWindow.postMessage("getData","*")},300)}},Le.createElement("i",{className:"icon-baocun"}))),Le.createElement(at.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ct.current},Le.createElement("span",{className:"",onClick:()=>{Fe()}},Le.createElement("i",{className:"icon-guanbi1"})))),Le.createElement("div",{className:`${qt[Je]} ${Je} ${qt.monaco} ${Pt==="txt"?"show":"hide"}`},Pt==="txt"&&Le.createElement(Le.Fragment,null,Le.createElement(rt.ZP,qe({},jt)))),Pt==="audio"&&Le.createElement("audio",{controls:!0,src:`${(yt==null?void 0:yt.indexOf("http://"))>-1||(yt==null?void 0:yt.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${yt}`,autoPlay:!0}),Pt==="video"&&Le.createElement(Le.Fragment,null,(yt==null?void 0:yt.indexOf("http"))>-1?Le.createElement("video",{controls:!0,src:`${yt}`,autoPlay:!0}):Le.createElement("video",{controls:!0,src:`data:video/mp4;base64,${yt}`,autoPlay:!0})),Pt==="office"&&Ze&&Le.createElement("iframe",{src:`${_t}/office.html?key=${Ze.key}&url=${btoa(Ze.url)}&callbackUrl=${In+(Ze.callbackUrl||"")}&fileType=${Ze.fileType}&title=${Ze.title||""}&model=${vt}&officeServer=${ce.Z.ONLYOFFICE}&disabledDownload=${!!$e}`}),Pt==="html"&&Le.createElement("iframe",{src:yt+"&disposition=inline"}),Pt==="pdf"&&Le.createElement("iframe",{id:"pdfiframe",src:`${_t}/js/pdf/index.html?filename=${St||"educoder.pdf"}&url=${encodeURIComponent(yt)}&disabledDownload=${!!$e}&model=${vt}`}),Pt==="image"&&Le.createElement("img",{src:`${(yt==null?void 0:yt.indexOf("http://"))>-1||(yt==null?void 0:yt.indexOf("https://"))>-1?"":"data:image/png;base64,"}${yt}`}),(Pt==="other"||Pt==="download")&&Le.createElement(Le.Fragment,null,Qt?Le.createElement(Pe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Le.createElement(Xe.ZP,{icon:Le.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:de,disabled:$e},"\u4E0B\u8F7D")}):Le.createElement(Xe.ZP,{type:"primary",size:"middle",onClick:de,disabled:$e},Le.createElement(Ht.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Pt==="flowChart"&&Le.createElement("div",{className:"embed"},Le.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${yt||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(gr,zn,pe){"use strict";pe.d(zn,{z:function(){return jt},Z:function(){return Je}});var oe=pe(59301),qt=pe(46214),Xe=pe(20047),Ht=pe(64018),rt=pe(16471),at=pe(14185),Dt=pe(76406),Me=pe(15342),Pe=pe(44104),ce=pe(7939),ke=pe(1012),Le=pe(86974),Ve=pe(59301),He=({html:wt})=>{const lt=(0,oe.useRef)(null),Fe=(0,oe.useRef)(null),Zt=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 56px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,oe.useEffect)(()=>{const $e=lt.current.attachShadow({mode:"open"});Fe.current=document.createElement("div"),Fe.current.className="markdown-body",Fe.current.innerHTML=wt,$e.appendChild(Fe.current);const At=document.createElement("style");return At.textContent=Zt,$e.appendChild(At),()=>{$e.innerHTML=""}},[]),(0,oe.useEffect)(()=>{Fe.current&&(Fe.current.innerHTML=wt)},[wt]),Ve.createElement("div",{ref:lt})};function Ge(wt){const lt=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],Fe=new RegExp(`\\b(${lt.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Zt=/]*>/gi;return wt.replace(Fe,"").replace(Zt,"").trim()}var ze={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},qe=Object.defineProperty,pt=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,yt=(wt,lt,Fe)=>lt in wt?qe(wt,lt,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):wt[lt]=Fe,Nt=(wt,lt)=>{for(var Fe in lt||(lt={}))Bt.call(lt,Fe)&&yt(wt,Fe,lt[Fe]);if(pt)for(var Fe of pt(lt))vt.call(lt,Fe)&&yt(wt,Fe,lt[Fe]);return wt};const Et="@\u2581\u2581@",pn="@\u2581@",Pt=/]*>/g;function St(wt){let lt=document.createElement("div");return lt.innerHTML=wt,lt.childNodes.length===0?"":lt.childNodes[0].nodeValue}const jt=(wt,lt)=>{wt=wt||"";const Fe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Zt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,$e=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,At=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return lt?wt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Fe,(Qt,Te,xe,It,Cn,mn,Ze)=>{const Ct=Te||It||mn,_t=xe||Cn||Ze||"?";return at.Z.API_SERVER+"/api/attachments/"+Ct+_t+"&t="+(0,Dt.Jn)(Ct,Date.now())+(Qt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(wt=wt.replace(At,(Qt,Te,xe,It,Cn,mn,Ze)=>{const Ct=Te||It||mn,_t=xe||Cn||Ze||"?";return at.Z.API_SERVER+"/attachments/download/"+Ct+_t+"&t="+(0,Dt.Jn)(Ct,Date.now())+(Qt.indexOf(")")>-1?")":"&")}).replace(Fe,(Qt,Te,xe,It,Cn,mn,Ze)=>{const Ct=Te||It||mn,_t=xe||Cn||Ze||"?";return at.Z.API_SERVER+"/api/attachments/"+Ct+_t+"&t="+(0,Dt.Jn)(Ct,Date.now())+(Qt.indexOf(")")>-1?")":"&")}).replace(Zt,(Qt,Te,xe,It,Cn)=>{const mn=Te||It,Ze=xe||Cn||"";return'"'+at.Z.API_SERVER+"/api/attachments/"+mn+Ze+mn+Ze+"&t="+(0,Dt.Jn)(mn,Date.now())}).replace($e,(Qt,Te,xe,It,Cn)=>{const mn=Te||It,Ze=xe||Cn||"";return"("+at.Z.API_SERVER+"/files/uploads/"+mn+Ze+mn+Ze+"&t="+(0,Dt.Jn)(mn,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),wt)};var Je=({value:wt="",edit:lt=!1,className:Fe,showTextOnly:Zt,showLines:$e,style:At={},stylesPrev:Qt={},highlightKeywords:Te,showProgramFill:xe,isProgramFill:It,disabledFill:Cn=!1,programFillValue:mn,openEditor:Ze=()=>{},onFillChange:Ct=xn=>{},onFillBlur:_t=()=>{},onFillFocus:In=()=>{}})=>{let xn=Ge(String(wt||""));const Wn=(0,oe.useRef)(),ct=(0,oe.useRef)(),[En,Rt]=(0,oe.useState)(""),[be,de]=(0,oe.useState)("office"),[le,ye]=(0,oe.useState)([]),Ie=(0,oe.useRef)("a"+(0,ke.Z)()),he={},We=un=>//i.test(un||""),tt=(un,ir,Xn)=>{const Ft=document.createElement(un===pn?"input":"textarea");Ft.style.width="100%",Ft.style.height=un===pn?"40px":"151px",Ft.rows=5,Ft.spellcheck=!1,Ft.name="edu-program-fill",Ft.placeholder="\u8BF7\u8F93\u5165",Ft.dataset.id=ir;const An=Object.keys(he).length;return he[An]=Ft,`${Ft.outerHTML}`};function dn(un){return un=un.replace(/!\[.*?\]\(.*?\)/g,""),un=un.replace(/\[.*?\]\(.*?\)/g,""),un=un.replace(new RegExp("","gs"),""),un=un.replace(//g,""),un=un.replace(//g,""),un=un.replace(new RegExp(".*?<\\/video>","gs"),""),un=un.replace(new RegExp(".*?<\\/audio>","gs"),""),un=un.replace(new RegExp(".*?<\\/style>","gs"),""),un=un.replace(new RegExp(".*?<\\/script>","gs"),""),un}const ut=un=>!Zt&&We(xn)?un:un.replace(/([\s\S]+?)<\/style>/gim,function(ir,Xn){let Ft=Xn.replace(/(\n|\r)/g,"").split("}"),An=[];return Ft.map(Qn=>{Qn!=""&&An.push(`.${Ie.current} ${Qn}`)}),``}),zt=(0,oe.useMemo)(()=>{(0,Xe.Iy)();try{const Ft=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,An=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Qn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Jn=/\(\/attachments\/download\//g;xn=xn.replace(Jn,"("+at.Z.API_SERVER+"/attachments/download/").replace(Ft,"("+at.Z.API_SERVER+"/api/attachments/").replace(An,'"'+at.Z.API_SERVER+"/api/attachments/").replace(Qn,'"'+at.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Wn.current.style.display="none"}catch(Ft){}if(xe){let Ft=-1;return xn=xn.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(An,Qn,Jn){var nt;return++Ft,tt(An,Ft,(nt=mn==null?void 0:mn[Ft])==null?void 0:nt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ut(xn||"")}
`}let un=ut(xn);un=(0,Xe.ZP)(un);const ir=(0,Xe.ez)();xn.match(/\[TOC\]/)&&(un=un.replace("

[TOC]

",(0,Xe.Qv)()),(0,Xe.Iy)()),un=un.replace(/(__special_katext_id_\d+__)/g,(Ft,An)=>{const{type:Qn,expression:Jn}=ir[An];return(0,Me.renderToString)(St(Jn)||"",{displayMode:Qn==="block",throwOnError:!1,output:"html"})}),un=un.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Xe.AL)();const Xn=document.createElement("div");if(Xn.innerHTML=un,Zt)return Xn.innerText;if(Te){const Ft=Te.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ar(Xn,Ft),Xn.innerHTML}return setTimeout(()=>ln(),500),Xn.innerHTML},[xn,Te]);(0,oe.useEffect)(()=>{Mt.current&&Mt.current.querySelectorAll(["input","textarea"]).forEach(ir=>{ir.oninput=en,ir.onblur=Sn,ir.onfocus=yn})},[le]),(0,oe.useEffect)(()=>{var un,ir,Xn,Ft,An;if(mn!=null&&mn.length)try{const Qn=Mt.current.querySelectorAll(".edu-program-fill-score"),Jn=Mt.current.querySelectorAll('[name="edu-program-fill"]');for(const[nt,gt]of Jn.entries())gt.value=((un=mn==null?void 0:mn[nt])==null?void 0:un.value)||"",((ir=mn==null?void 0:mn[nt])==null?void 0:ir.type)==="warning"?gt.className="program-fill-warning":((Xn=mn==null?void 0:mn[nt])==null?void 0:Xn.type)==="success"?gt.className="program-fill-success":gt.className="";for(const[nt,gt]of Qn.entries())gt.innerHTML=(Ft=mn==null?void 0:mn[nt])!=null&&Ft.score?`${(An=mn==null?void 0:mn[nt])==null?void 0:An.score}\u5206`:"";ye(mn)}catch(Qn){console.log(Qn,"error")}},[mn]);const en=un=>{le[un.target.dataset.id]=le[un.target.dataset.id]||{},le[un.target.dataset.id].value=un.target.value,ye([...le]),Ct(le,un.target.dataset.id)},Sn=un=>{le[un.target.dataset.id]=le[un.target.dataset.id]||{},le[un.target.dataset.id].value=un.target.value,ye([...le]),_t(le,un.target.dataset.id)},yn=un=>{le[un.target.dataset.id]=le[un.target.dataset.id]||{},le[un.target.dataset.id].value=un.target.value,ye([...le]),In(le,un.target.dataset.id)};function ar(un,ir){return un.childNodes.forEach(Xn=>{var Ft;if(Xn.childNodes.length>0)ar(Xn,ir);else if(Xn.nodeName!=="IMG")if(Xn.innerHTML)Xn.innerHTML=(Ft=Xn.innerHTML)==null?void 0:Ft.replace(new RegExp(ir,"gi"),'$&');else{const An=document.createElement("span");An.innerHTML=Xn.textContent.replace(new RegExp(ir,"gi"),'$&'),Xn.replaceWith(An)}})}const Mt=(0,oe.useRef)();Xe.jb.WebkitLineClamp=$e,$e&&(At=Nt(Nt({},At),Xe.jb));function nn(un){let ir=un.target;if(ir.tagName.toUpperCase()==="A"){let Xn=ir.getAttribute("href");if(Xn.indexOf("office")>-1)un.preventDefault(),Rt(Xn),de("office");else if(Xn.indexOf("application/pdf")>-1)un.preventDefault(),Rt(Xn),de("pdf");else if(Xn.indexOf("text/html")>-1)un.preventDefault(),Rt(Xn),de("html");else if(Xn.startsWith("#")){un.preventDefault();let Ft=document.getElementById(Xn.replace("#",""));Ft&&Ft.scrollIntoView(!0)}}}const ln=()=>{var un;const ir=(un=Mt.current)==null?void 0:un.querySelectorAll("video");ir==null||ir.forEach(Xn=>{if(Xn.oncontextmenu=()=>!1,Xn.src.indexOf(".m3u8")>-1&&!Xn.canPlayType("application/vnd.apple.mpegurl")){if(rt.ZP.isSupported()){var Ft=new rt.ZP;Ft.loadSource(Xn.src),Ft.attachMedia(Xn)}}})};(0,oe.useEffect)(()=>{if(Mt.current&&zt&&zt.match(Pt)&&window.PR.prettyPrint(),Mt.current)return Mt.current.addEventListener("click",nn),()=>{var un;(un=Mt.current)==null||un.removeEventListener("click",nn),(0,Xe.AL)(),(0,Xe.Iy)()}},[zt,Mt.current,nn]);const Un=un=>{un.target.nodeName==="IMG"&&un.target.className.indexOf("draw-flowchart")>-1?(Wn.current.style.zIndex=1,Wn.current.style.display="flex",Wn.current.style.width=un.target.clientWidth+"px",Wn.current.style.height=un.target.clientHeight+"px",Wn.current.style.top=un.target.offsetTop+"px",Wn.current.style.left=un.target.offsetLeft+"px",un.target.id&&(ct.current=un.target.id)):Wn.current.style.display="none"},Nn=()=>{Wn.current.style.display="none"};return(0,oe.useEffect)(()=>{var un;const ir=Xn=>{Xn.preventDefault(),Xn.clipboardData.setData("text",window.getSelection().toString())};return(un=Mt.current)==null||un.addEventListener("copy",ir),()=>{var Xn;(Xn=Mt.current)==null||Xn.removeEventListener("copy",ir)}},[Mt.current]),oe.createElement("div",{style:{position:"relative"},onMouseLeave:Nn},Zt&&oe.createElement("div",{ref:Mt,className:`${ze.mdBody} `},zt),!Zt&&!We(zt)&&oe.createElement("div",{ref:Mt,style:Nt({},At),onMouseOver:Un,className:`${Fe||""} ${Cn?"disabled-fill":""} markdown-body ${ze.mdBody} ${Ie.current}`,dangerouslySetInnerHTML:{__html:zt}}),!Zt&&We(zt)&&oe.createElement(He,{html:zt}),oe.createElement("div",{ref:Wn,className:`${ze.button} ${lt?"":ze.previewFlowChart}`},oe.createElement(Pe.Z,null,oe.createElement(ce.ZP,{onClick:()=>{lt?Ze(ct.current):(Rt(ct.current),de("flowChart"))}},lt?"\u7F16\u8F91":"\u9884\u89C8"))),oe.createElement(Le.Z,{close:!0,data:En,type:En!=null&&En.length?be:"",style:Nt({},Qt),onClose:()=>Rt("")}))}},28267:function(gr,zn,pe){"use strict";pe.d(zn,{h:function(){return vt}});var oe=pe(59301),qt=pe(82326),Xe=pe(28284),Ht=pe(7939),rt=pe(89780),at=pe.n(rt),Dt=pe(88319),Me=pe(94896),Pe=Object.defineProperty,ce=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,He=(yt,Nt,Et)=>Nt in yt?Pe(yt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):yt[Nt]=Et,Ge=(yt,Nt)=>{for(var Et in Nt||(Nt={}))Ve.call(Nt,Et)&&He(yt,Et,Nt[Et]);if(Le)for(var Et of Le(Nt))Ke.call(Nt,Et)&&He(yt,Et,Nt[Et]);return yt},ze=(yt,Nt)=>ce(yt,ke(Nt));const qe=qt.default.Option,pt={labelCol:{span:4},wrapperCol:{span:20}},Bt={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"]};zn.Z=({callback:yt,onCancel:Nt})=>{const[Et,pn]=(0,oe.useState)("python");function Pt(jt){pn(Bt[jt][1])}function St(jt){yt(jt)}return oe.createElement(Xe.default,ze(Ge({},pt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:St,style:{width:500}}),oe.createElement(Xe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},oe.createElement(qt.default,{getPopupContainer:jt=>jt.parentNode,onChange:Pt},Object.keys(Bt).map(jt=>oe.createElement(qe,{key:jt,value:jt},Bt[jt][0])))),oe.createElement(Xe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},oe.createElement(vt,{mode:Et})),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(Ht.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Ht.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))};function vt({value:yt,onChange:Nt,mode:Et,options:pn={}}){const Pt=(0,oe.useRef)(),[St,jt]=(0,oe.useState)();return(0,oe.useEffect)(()=>{if(St){let Je=function(wt){const lt=wt.getValue();Nt&&Nt(lt)};return St.on("change",Je),()=>{St.off("change",Je)}}},[St,Nt]),(0,oe.useEffect)(()=>{St&&St.setOption("mode",Et)},[St,Et]),(0,oe.useEffect)(()=>{St&&(yt!==St.getValue()||yt==="")&&setTimeout(()=>{St.setValue(yt||"")},300)},[St,yt]),(0,oe.useEffect)(()=>{if(Pt.current&&!St){const Je=at().fromTextArea(Pt.current,Ge({mode:Et,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pn));jt(Je)}},[Pt.current,St]),oe.createElement("div",{className:"my-codemirror-container"},oe.createElement("textarea",{ref:Pt}))}},39116:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return _n}});var oe=pe(59301),qt=pe(44283),Xe=pe(89780),Ht=pe.n(Xe),rt=pe(76374),at=pe(88319),Dt=pe(6313),Me=pe(25717),Pe=pe(99498),ce=pe(25419),ke=pe(67549),Le=pe(35883),Ve=({value:Ln="",className:mr,showTextOnly:cr,showLines:pr,style:Rr={}})=>{const Wr=(0,oe.useMemo)(()=>"",[Ln]);return oe.createElement(oe.Fragment,null,oe.createElement("div",{dangerouslySetInnerHTML:{__html:Wr}}))},Ke=Object.defineProperty,He=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Bt=(Ln,mr,cr)=>mr in Ln?Ke(Ln,mr,{enumerable:!0,configurable:!0,writable:!0,value:cr}):Ln[mr]=cr,vt=(Ln,mr)=>{for(var cr in mr||(mr={}))qe.call(mr,cr)&&Bt(Ln,cr,mr[cr]);if(ze)for(var cr of ze(mr))pt.call(mr,cr)&&Bt(Ln,cr,mr[cr]);return Ln},yt=(Ln,mr)=>He(Ln,Ge(mr));let Nt=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Et({onActionCallback:Ln,title:mr,icon:cr,actionName:pr,className:Rr="",children:Wr}){function Gr(){Ln(pr)}return oe.createElement("a",{title:mr,className:Rr,onClick:Gr},oe.createElement("i",{className:`${cr}`}),Wr)}var pn=({watch:Ln,showNullButton:mr,showNullProgramButton:cr,onActionCallback:pr,fullScreen:Rr,insertTemp:Wr,hidetoolBar:Gr,extraUse:ai})=>{const ti=[...Nt,{title:`${Ln?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ln?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return oe.createElement("ul",{className:"markdown-toolbar-container"},!Gr&&ti.map((xi,mi)=>oe.createElement("li",{key:mi},xi.actionName?oe.createElement(Et,yt(vt({},xi),{onActionCallback:pr})):oe.createElement("span",{className:"v-line"}))),mr?oe.createElement("li",null,oe.createElement(Et,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:pr},oe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,cr?oe.createElement(oe.Fragment,null,oe.createElement("li",null,oe.createElement(Et,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:pr},oe.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),oe.createElement("li",null,oe.createElement(Et,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:pr},oe.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Wr&&oe.createElement("li",null,oe.createElement(Et,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Wr}`,onActionCallback:pr},oe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ai&&oe.createElement("li",null,ai),oe.createElement("li",{className:"btn-full-screen"},oe.createElement(Et,{icon:`${Rr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Rr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:pr})))},Pt=pe(88487),St=pe(28284),jt=pe(37568),Je=pe(7939),wt=Object.defineProperty,lt=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Qt=(Ln,mr,cr)=>mr in Ln?wt(Ln,mr,{enumerable:!0,configurable:!0,writable:!0,value:cr}):Ln[mr]=cr,Te=(Ln,mr)=>{for(var cr in mr||(mr={}))$e.call(mr,cr)&&Qt(Ln,cr,mr[cr]);if(Zt)for(var cr of Zt(mr))At.call(mr,cr)&&Qt(Ln,cr,mr[cr]);return Ln},xe=(Ln,mr)=>lt(Ln,Fe(mr));const It={labelCol:{span:4},wrapperCol:{span:20}};var Cn=({callback:Ln,onCancel:mr})=>{function cr(pr){Ln(pr)}return oe.createElement(St.default,xe(Te({},It),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:cr,style:{width:500}}),oe.createElement(St.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},oe.createElement(jt.default,null)),oe.createElement(St.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},oe.createElement(jt.default,null)),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Je.ZP,{type:"ghost",onClick:mr},"\u53D6\u6D88")))},mn=pe(28267),Ze=pe(53332),Ct=pe(62957),_t=pe(77019),In=pe(40254),xn=pe(59301),Wn=({callback:Ln,onCancel:mr})=>{const cr=document.createElement("canvas"),pr=cr.getContext("2d");cr.width=1e3,cr.height=800,pr.fillStyle="#ffffff",pr.fillRect(0,0,cr.width,cr.height);const Rr=cr.toDataURL("image/png");return xn.createElement(Ct.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},xn.createElement(_t.Z,{style:{height:"100vh"}},xn.createElement(In.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Rr,visible:!0,title:String(Date.now())},onOk:Wr=>{Ln({src:Wr.url})},onClose:mr})))},ct=pe(36207),En=pe(5269),Rt=pe(6767),be={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},de=pe(59301),ye=(0,oe.forwardRef)(({onCancel:Ln,editImgId:mr,callback:cr},pr)=>{let Rr=(0,oe.useRef)(),Wr=(0,oe.useRef)(),Gr=(0,oe.useRef)(),ai=(0,oe.useRef)(!1);const ti=(0,oe.useRef)(!1);console.log("ref:",pr);const[xi,mi]=(0,oe.useState)(0),[Xt,Kn]=(0,oe.useState)("100vh");return(0,oe.useEffect)(()=>{mi(1)},[]),(0,oe.useImperativeHandle)(pr,()=>({setHeight:Kn})),de.createElement("div",{ref:ti,className:"body-overflow-initial"},de.createElement(ct.Z,{width:"100vw",height:Xt,footer:null,closable:!0,placement:"bottom",open:!!xi,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${be.drawerWrap}`,onClose:()=>{window.saveDrawData(Lr=>{cr({src:`/api/attachments/${Lr}`,id:Lr})})},title:de.createElement(_t.Z,{align:"middle"},de.createElement(En.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),de.createElement(En.Z,{onClick:()=>{Kn(Xt==="60px"?"100vh":"60px")}},de.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),de.createElement(En.Z,{onClick:()=>{window.saveDrawData(Lr=>{if(Lr===null){Rt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Rt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),cr({src:`/api/attachments/${Lr}`,id:Lr,disabledClose:!0})})}},de.createElement(Je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},de.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${mr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Wr})))}),Ie=pe(14185),he=pe(47889),We=pe(4875);const tt=he.ZP.Group,dn={margin:"0 8px"};var ut=({callback:Ln,onCancel:mr})=>{function cr(pr){Ln(pr)}return oe.createElement(St.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:cr},oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},oe.createElement("span",{style:dn},"\u5355\u5143\u683C\u6570\uFF1A"),oe.createElement("span",{style:dn},"\u884C\u6570"),oe.createElement(St.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},oe.createElement(We.Z,null)),oe.createElement("span",{style:dn},"\u5217\u6570"),oe.createElement(St.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},oe.createElement(We.Z,null))),oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},oe.createElement("span",{style:dn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),oe.createElement(St.default.Item,{name:"align"},oe.createElement(tt,null,oe.createElement(he.ZP,{value:"default"},oe.createElement("i",{className:"fa fa-align-justify"})),oe.createElement(he.ZP,{value:"left"},oe.createElement("i",{className:"fa fa-align-left"})),oe.createElement(he.ZP,{value:"center"},oe.createElement("i",{className:"fa fa-align-center"})),oe.createElement(he.ZP,{value:"right"},oe.createElement("i",{className:"fa fa-align-right"}))))),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Je.ZP,{type:"ghost",onClick:mr},"\u53D6\u6D88")))},zt=pe(58755),en=pe(84915),Sn=pe.n(en),ar=(0,oe.forwardRef)(({use3d:Ln,width:mr,height:cr,callback:pr,showSaveButton:Rr},Wr)=>{const Gr=(0,oe.useRef)(),ai=(0,oe.useRef)(),[ti,xi]=(0,oe.useState)(!1),mi=(0,oe.useRef)({id:Gr,appName:"graphing",width:mr||1e3,height:cr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,oe.useEffect)(()=>{ai.current=new(Sn())(mi.current,!0),window.onload=function(){ai.current.inject("applet_container")}},[]);const Xt=()=>{var Kn=window.ggbApplet.getPNGBase64(1,!0,72);return pr&&pr(Kn),Kn};return(0,oe.useEffect)(()=>{mi.current.appName=ti?"3D":"graphing",ai.current.inject("applet_container")},[ti]),(0,oe.useEffect)(()=>{xi(Ln)},[Ln]),(0,oe.useImperativeHandle)(Wr,()=>({getImgData:Xt})),oe.createElement(oe.Fragment,null,oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Gr}),oe.createElement(_t.Z,{align:"middle"},oe.createElement(En.Z,{flex:1},oe.createElement(zt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ti,onChange:Kn=>xi(Kn)})),oe.createElement(En.Z,null,oe.createElement(Je.ZP,{size:"large",onClick:Xt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Mt=pe(9057);const nn="link",ln="upload-image",Un="add-flowchart",Nn="draw-image",un="add-flowchart",ir="code-block",Xn="add-table",Ft="------------",An={default:Ft,left:`:${Ft}`,center:`:${Ft}:`,right:`${Ft}:`};var Qn=pe(79006),Jn=pe(76406);function nt(){}let gt=0;const Kt=1e4,vn="\u2581",Rn="@\u2581\u2581@",hr="@\u2581@",$r=` **\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`,Xr=["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 vr(Ln){return/^\d+$/.test(Ln)?`${Ln}px`:Ln}const Dr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",rr={[Dr+"-B"]:"bold",[Dr+"-I"]:"italic"},Tn={[nn]:"\u6DFB\u52A0\u94FE\u63A5",[ir]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ln]:"\u6DFB\u52A0\u56FE\u7247",[Nn]:"\u6DFB\u52A0\u753B\u56FE",[Un]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var _n=({defaultValue:Ln="",onChange:mr,width:cr="100%",height:pr=400,miniToolbar:Rr=!1,isFocus:Wr=!1,watch:Gr,insertTemp:ai,mode:ti="markdown",id:xi="markdown-editor-id",showResizeBar:mi=!1,noStorage:Xt=!1,showNullButton:Kn=!1,showNullProgramButton:Lr=!1,hidetoolBar:wr=!1,fullScreen:Lt=!1,onBlur:Vt,onCMBeforeChange:ot,onFullScreen:kt,className:ft="",disablePaste:Gt=!1,disabled:Fn=!1,disabledFill:xr=!1,placeholder:Or="",values:kr="",extraUse:dr,onAddBlank:Zn})=>{const[Mn,Ur]=(0,oe.useState)(null),[si,ei]=(0,oe.useState)(Ln),[Ai,Ki]=(0,oe.useState)(Gr),[Vi,eo]=(0,oe.useState)(Lt),[Di,bi]=(0,oe.useState)(""),[Fi,ki]=(0,oe.useState)(0),[uo,Zi]=(0,oe.useState)(pr),[co,oo]=(0,oe.useState)(!1),[Yi,Xi]=(0,oe.useState)(0),[Oo,go]=(0,oe.useState)(0),bo=(0,oe.useRef)(),Po=(0,oe.useRef)(),Ho=(0,oe.useRef)(),$i=(0,oe.useRef)(),Bo=(0,oe.useRef)(),Pi=(0,oe.useRef)(),Ko=(0,qt.useDispatch)();(0,oe.useEffect)(()=>{const Fr=window.scrollY||window.pageYOffset;ei(kr),Mn==null||Mn.setValue(kr),window.scrollTo(0,Fr)},[kr]),(0,oe.useEffect)(()=>{kt==null||kt(Vi)},[Vi]),(0,oe.useEffect)(()=>{if(bo.current){let Fr=function(fi,vi){var to;if(Gt){vi.preventDefault();return}const Zo=vi.clipboardData;if(Zo){const Do=Zo.types.toString(),ra=Zo.items;if(Do==="Files"||Zo.types.indexOf("Files")>-1){if(vi.preventDefault(),ti=="stex")return;try{let ea=ra[1];((to=ra[0])==null?void 0:to.kind)==="file"&&(ea=ra[0]);const va=ea.getAsFile(),Aa=va.name.split(".").pop();(0,Ze.I)(va,Ro=>{var Ia,qa,mA;Ro.id?((Ia=va==null?void 0:va.type)==null?void 0:Ia.indexOf("image"))>-1?zr.replaceSelection(``):((qa=va==null?void 0:va.type)==null?void 0:qa.indexOf("video"))>-1?zr.replaceSelection(``):((mA=va==null?void 0:va.type)==null?void 0:mA.indexOf("pdf"))>-1?zr.replaceSelection(`${va.name}`):Xr.includes(Aa)?zr.replaceSelection(`${va.name}`):zr.replaceSelection(`[${va.name}](/api/attachments/${Ro.id}?type=${Ro.content_type})`):(Ro==null?void 0:Ro.status)===401&&(document.location.href="/user/login")})}catch(ea){Rt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const zr=Ht().fromTextArea(bo.current,{mode:ti,lineNumbers:!Rr,lineWrapping:!0,value:Ln,autoCloseTags:!0,autoCloseBrackets:!0});return zr.on("keyup",function(fi,vi){vi.keyCode===8&&(fi.getValue()==""?zr.setOption("placeholder",Or):zr.setOption("placeholder",null))}),zr.on("keydown",function(fi,vi){if(vi.keyCode===8){var to=Oa(fi);to&&vi.preventDefault()}}),Wr&&zr.focus(),zr.on("paste",Fr),Fn&&zr.on("beforeChange",function(fi,vi){(vi.origin==="paste"||vi.origin==="+input")&&vi.cancel()}),Ur(zr),()=>{zr.off("paste",Fr)}}},[]);const Ua=(0,oe.useCallback)(()=>{if(Po.current)try{}catch(Fr){console.log(Fr,"---- to set md editor body height")}},[uo,Po,Vi]);(0,oe.useEffect)(()=>{function Fr(){let zr=new rt.Z(fi=>{for(let vi of fi)(vi.target.offsetHeight>0||vi.target.offsetWidth>0)&&(Ua(),Mn.setSize("100%","100%"),Mn.refresh())});return zr.observe(bo.current.parentElement),zr}if(Mn){const zr=Fr();return()=>{var fi,vi;(fi=bo.current)!=null&&fi.parentElement&&zr.unobserve((vi=bo.current)==null?void 0:vi.parentElement)}}},[Mn,Ua]),(0,oe.useEffect)(()=>{if(Mn){let Fr=[];for(const[zr,fi]of Object.entries(rr)){let vi={[zr]:()=>{Jo(fi)}};Fr.push(vi),Mn.addKeyMap(vi)}return()=>{for(let zr of Fr)Mn.removeKeyMap(zr)}}},[Mn]),(0,oe.useEffect)(()=>{Lt!==Vi&&eo(Lt)},[Lt]),(0,Qn.Z)(()=>{if(!Xt&&Fi>0){let Fr=new Date().getTime(),zr=window.sessionStorage.getItem(xi);Fr>=Fi+Kt&&(!zr||zr!==si)&&(window.sessionStorage.setItem(xi,si),oo(!0))}},Kt),(0,oe.useEffect)(()=>{Ki(Gr)},[Mn,Gr]),(0,oe.useEffect)(()=>{Mn&&Wr&&Mn.focus()},[Mn,Wr]),(0,oe.useEffect)(()=>{if(Ai&&Mn){let Fr=function(fi){let vi=fi.target;if($i.current){let to=vi.scrollTop/vi.scrollHeight;$i.current.scrollTop=$i.current.scrollHeight*to}};const zr=Mn.getScrollerElement();return zr.addEventListener("scroll",Fr),()=>{zr.removeEventListener("scroll",Fr)}}},[Mn,Ai]),(0,oe.useEffect)(()=>{if(Mn&&ot){let Fr=function(zr,fi){ot(zr,fi)};return Mn.on("beforeChange",Fr),()=>{Mn.off("beforeChange",Fr)}}},[Mn,ot]),(0,oe.useEffect)(()=>{if(Mn&&Vt){let Fr=function(){Vt(Mn.getValue())};return Mn.on("blur",Fr),()=>{Mn.off("blur",Fr)}}},[Mn,Vt]);function Oa(Fr,zr){var fi=Fr.getDoc(),vi=fi.getCursor(),to=fi.getLine(vi.line),Zo=to.charAt(vi.ch-1),Do=to.lastIndexOf("@\u2581@",vi.ch),ra=to.lastIndexOf("@\u2581\u2581@",vi.ch),ea=Do>ra?Do:ra,va=Do>ra?3:4;if(Rn.indexOf(Zo)===-1)return null;if(console.log("change1:",zr,Fr,to,vi,ea,Do,ra,Zo),ea>=0&&vi.ch-ea<5){var Aa=ea+va;return fi.replaceRange("",{line:vi.line,ch:ea},{line:vi.line,ch:Aa}),{line:vi.line,ch:Aa}}return null}(0,oe.useEffect)(()=>{if(Mn){let Fr=function(zr,fi){const vi=zr.getValue();ei(vi),ki(new Date().getTime()),zr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),mr&&(Lr?mr(vi,jr(vi)):mr(vi))};return Mn.on("change",Fr),()=>{Mn.off("change",Fr)}}},[Mn,mr]),(0,oe.useEffect)(()=>{if(Mn)if(Ln==null)Mn.setValue(""),ei("");else{const Fr=window.scrollY||window.pageYOffset;Ln!==Mn.getValue()&&(Mn.setValue(Ln),ei(Ln),Mn.setCursor(Fn?1:Mn.lineCount(),0),window.scrollTo(0,Fr))}},[Mn,Ln]);const Jo=(0,oe.useCallback)(Fr=>{const zr=Mn.getCursor(),fi=Mn.getSelection();let vi=fi.split(` `);switch(Fr){case"bold":return Mn.replaceSelection("**"+fi+"**"),fi===""&&Mn.setCursor(zr.line,zr.ch+2),Mn.focus();case"italic":return Mn.replaceSelection("*"+fi+"*"),fi===""&&Mn.setCursor(zr.line,zr.ch+1),Mn.focus();case"code":return Mn.replaceSelection("`"+fi+"`"),fi===""&&Mn.setCursor(zr.line,zr.ch+1),Mn.focus();case"inline-latex":return(0,Jn.Ye)(Ko)?void 0:(bi("inline-latex"),Mn.focus());case"latex":return Mn.replaceSelection("```latex\n"+fi+"\n```"),Mn.setCursor(zr.line+1,fi.length+1),Mn.focus();case"line-break":return Mn.replaceSelection(`
`),Mn.focus();case"list-ul":return fi===""?Mn.replaceSelection("- "+fi):Mn.replaceSelection(vi.map(to=>to===""?"":`- ${to}`).join(` `)),Mn.focus();case"list-ol":return fi===""?Mn.replaceSelection("1. "+fi):Mn.replaceSelection(vi.map((to,Zo)=>to===""?"":`${Zo+1}. ${to}`).join(` `)),Mn.focus();case"add-null-ch":Zn==null||Zn();return;case"add-signal":return fi===""&&Mn.setCursor(zr.line,zr.ch),Mn.replaceSelection(hr),Mn.focus();case"add-multiple":return fi===""&&Mn.setCursor(zr.line,zr.ch),Mn.replaceSelection(Rn),Mn.focus();case"inster-template-1":return fi===""&&Mn.setCursor(zr.line,zr.ch),Mn.replaceSelection($r),Mn.focus();case"eraser":return Mn.setValue(""),Mn.focus();case"trigger-watch":return Ki(!Ai),Mn.focus();case"trigger-full-screen":return eo(!Vi),Mn.focus();case nn:bi(nn);return;case ir:bi(ir);return;case ln:bi(ln);return;case Nn:bi(Nn);return;case"maths-latex":if((0,Jn.Ye)(Ko))return;bi("maths-latex");return;case Un:Bo.current="",sessionStorage.removeItem("file_id"),bi(Un);return;case Xn:bi(Xn);return;default:throw new Error}},[Mn,Ai,Vi]),Vo=(0,oe.useCallback)((Fr,zr)=>{var fi,vi,to,Zo,Do,ra;Fr!=null&&Fr.disabledClose||bi("");const{src:ea,alt:va,id:Aa}=Fr||{};switch(Di){case nn:const{title:EA,link:qs}=Fr;return Mn.replaceSelection(`[${EA}](${qs})`),Mn.focus();case ir:const{language:eA,content:Bl}=Fr;return Mn.replaceSelection(["```"+eA,Bl,"```"].join(` `)),Mn.focus();case"maths-latex":for(var Ro=atob(Fr),Ia=new Uint8Array(Ro.length),qa=0;qa{nA.id?Mn.replaceSelection(`![,](/api/attachments/${nA.id}?type=${nA.content_type})`):(nA==null?void 0:nA.status)===401&&(document.location.href="/user/login")}),Mn.focus();case"inline-latex":return(0,Jn.Ye)(Ko)?void 0:(Mn.replaceSelection("`$$"+Fr+"$$`"),Mn.focus());case un:return Aa?(Mn.getValue().indexOf(ea)===-1?Mn.replaceSelection(`
${va||
`):document.getElementById(Aa).src=Ie.Z.API_SERVER+ea+"?t="+Date.now(),Mn.focus()):void 0;case ln:case Nn:const ya=zr,Cl=(to=(vi=(fi=ya==null?void 0:ya.name)==null?void 0:fi.split("."))==null?void 0:vi.pop)==null?void 0:to.call(vi);return((Zo=ya==null?void 0:ya.type)==null?void 0:Zo.indexOf("image"))>-1||!(ya!=null&&ya.type)?ya!=null&&ya.align||ya!=null&&ya.width?Mn.replaceSelection(`

${va||

`):Mn.replaceSelection(`${va||`):((Do=ya==null?void 0:ya.type)==null?void 0:Do.indexOf("video"))>-1?Mn.replaceSelection(``):((ra=ya==null?void 0:ya.type)==null?void 0:ra.indexOf("pdf"))>-1?Mn.replaceSelection(`${ya.name}`):Xr.includes(Cl)?Mn.replaceSelection(`${ya.name}`):Mn.replaceSelection(`[${ya.name}](${ea})`),Mn.focus();case Xn:const{row:ws,col:tA,align:bs}=Fr;let Ts=` `;for(let nA=0;nA{switch(Di){case nn:return oe.createElement(Cn,{callback:Vo,onCancel:ma});case ir:return oe.createElement(mn.Z,{callback:Vo,onCancel:ma});case ln:return oe.createElement(Ze.Z,{callback:Vo,onCancel:ma});case Un:return oe.createElement(ye,{editImgId:Bo.current,callback:Vo,onCancel:ma});case Xn:return oe.createElement(ut,{callback:Vo,onCancel:ma});case"maths-latex":return oe.createElement(ar,{showSaveButton:!0,callback:Vo});case"inline-latex":return oe.createElement(Mt.Z,{showSaveButton:!0,callback:Vo});default:return null}},[Di]);function ma(){bi("")}(0,oe.useEffect)(()=>{if(Ho.current){let Fr=function(Do){to=!0,Zo=Do.pageY},zr=function(){to=!1},fi=function(Do){if(to){let ra=Do.pageY-Zo;ra<0&&(ra=0),ra>300&&(ra=300);let ea=pr+ra+"px";Zi(ea)}},vi=Ho.current,to=!1,Zo=0;return vi.addEventListener("mousedown",Fr),document.addEventListener("mousemove",fi),document.addEventListener("mouseup",zr),()=>{vi.removeEventListener("mousedown",Fr),document.removeEventListener("mousemove",fi),document.removeEventListener("mouseup",zr)}}},[Mn,Ho]),(0,oe.useEffect)(()=>{Zi(pr)},[pr]);const Ma=vr(cr),mo=vr(uo),Ti={width:Ma,height:mo},Pr=(0,oe.useMemo)(()=>{if(Fi){let Fr=new Date(Fi),zr=Fr.getHours(),fi=Fr.getMinutes(),vi=Fr.getSeconds();return zr=zr<10?"0"+zr:zr,fi=fi<10?"0"+fi:fi,vi=vi<10?"0"+vi:vi,`${zr}:${fi}:${vi}`}return 0},[Fi]),jr=Fr=>{const zr=[];if(Lr){let fi=-1;Fr=Fr.replace(/(@▁▁@|@▁@)/g,function(vi,to,Zo){zr.push({multiLine:vi!==hr})})}return zr};function Vr(){window.sessionStorage.removeItem(xi),oo(!1),ki(0)}function Sr(){oo(!1),ki(0),Mn.setValue(window.sessionStorage.getItem(xi))}(0,oe.useEffect)(()=>{Tn[Di]&&Di!==Nn&&Di!==Un&&setTimeout(()=>{const Fr=document.getElementsByClassName("markdown-popup-form")[0],zr=window.innerWidth/2-Fr.offsetWidth/2,fi=window.innerHeight/2-Fr.offsetHeight/2;Xi(zr),go(fi)},0)},[Di]);const hi=Fr=>{Fr.preventDefault();const zr=Fr.clientX-Yi,fi=Fr.clientY-Oo;document.body.onmousemove=vi=>{let to=vi.clientX-zr,Zo=vi.clientY-fi;const Do=document.getElementsByClassName("markdown-popup-form")[0],ra=window.innerWidth-Do.offsetWidth,ea=window.innerHeight-Do.offsetHeight;to=Math.max(0,Math.min(to,ra)),Zo=Math.max(0,Math.min(Zo,ea)),Ii(vi.clientX,vi.clientY,zr,fi)&&(Xi(to),go(Zo))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ii=(Fr,zr,fi,vi)=>{const to=document.body.clientHeight,Zo=document.body.clientWidth;return Fr<20&&fi>Fr||Fr>Zo-20&&fizr||zr>to-20&&vi{var zr;Bo.current=Fr,(zr=Pi.current)==null||zr.setHeight("100vh"),setTimeout(()=>{bi("add-flowchart")},150)}})):null))),mi?oe.createElement("a",{ref:Ho,className:"editor-resize"}):null,Di===Nn&&oe.createElement(Wn,{callback:Vo,onCancel:ma}),Di===Un&&oe.createElement(ye,{ref:Pi,editImgId:Bo.current,callback:Vo,onCancel:ma}),oe.createElement(Pt.Z,null,Tn[Di]&&Di!==Nn&&Di!==Un?oe.createElement(Ct.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Yi,top:Oo},title:oe.createElement("div",{style:{cursor:"move"},onMouseDown:hi},Tn[Di]),open:!0,onCancel:ma,footer:null,destroyOnClose:!0,width:Di===Un?"1200px":null,height:Di===Un?"80vh":null,className:"markdown-popup-form"},qo):null))}},53332:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Nt},I:function(){return pn}});var oe=pe(28284),qt=pe(6767),Xe=pe(37568),Ht=pe(44104),rt=pe(4875),at=pe(47889),Dt=pe(7939),Me=pe(23216),Pe=pe(59301),ce=pe(59301),ke=Object.defineProperty,Le=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ze=(Pt,St,jt)=>St in Pt?ke(Pt,St,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Pt[St]=jt,qe=(Pt,St)=>{for(var jt in St||(St={}))He.call(St,jt)&&ze(Pt,jt,St[jt]);if(Ke)for(var jt of Ke(St))Ge.call(St,jt)&&ze(Pt,jt,St[jt]);return Pt},pt=(Pt,St)=>Le(Pt,Ve(St));const{useForm:Bt}=oe.default,vt={width:280,marginRight:10},yt={labelCol:{span:5},wrapperCol:{span:19}};var Nt=({callback:Pt,onCancel:St})=>{const[jt]=Bt();let Je=(0,Pe.useRef)();function wt(Zt){Je.current.width=jt.getFieldValue("width"),Je.current.align=jt.getFieldValue("align"),Pt(Zt,Je.current)}function lt(Zt,$e){if(Zt.status===-1){qt.ZP.error(Zt.message);return}jt.setFieldsValue({src:`/api/attachments/${Zt.id}`,type:$e.type})}function Fe(Zt){let $e=Zt.target.files[0];Je.current=$e,pn($e,lt)}return ce.createElement(oe.default,pt(qe({form:jt},yt),{className:"upload-image-panel",onFinish:wt,style:{width:470,overflow:"hidden"}}),ce.createElement(oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ce.createElement("div",{className:"flex-container"},ce.createElement(oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ce.createElement(Xe.default,{style:vt})),ce.createElement(Et,{onFileChange:Fe}))),ce.createElement(oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ce.createElement(Xe.default,{style:{width:264}})),ce.createElement(oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ce.createElement(Ht.Z,null,ce.createElement(oe.default.Item,{name:"width",style:{margin:0}},ce.createElement(rt.Z,{style:{width:264}})),ce.createElement("span",{className:"ml8"},"%"))),ce.createElement(oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ce.createElement(at.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"}]})),ce.createElement("aside",null,ce.createElement(oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ce.createElement(Dt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(Dt.ZP,{type:"default",onClick:St},"\u53D6\u6D88"))))};function Et({onFileChange:Pt}){return ce.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ce.createElement("input",{type:"file",onChange:Pt}))}function pn(Pt,St){if(!Pt)throw new String("\u6CA1\u6709\u6587\u4EF6");let jt=new FormData;jt.append("editormd-image-file",Pt),jt.append("file_param_name","editormd-image-file"),jt.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(wt){St(JSON.parse(wt.target.responseText),Pt)},!1),Je.addEventListener("error",function(wt){console.error(wt)},!1),Je.open("POST",`${Me.KI}/api/attachments.json`),Je.send(jt)}},88487:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Xe}});var oe=pe(59301),qt=pe(4676);class Xe extends oe.Component{constructor(rt){super(rt);const at=window.document;this.node=at.createElement("div"),at.body.appendChild(this.node)}render(){const{children:rt}=this.props;return(0,qt.createPortal)(rt,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(gr,zn,pe){"use strict";pe.d(zn,{SV:function(){return Wn},ZP:function(){return xn}});var oe=pe(59301),qt=pe(76374);const Xe={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ht={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},rt={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std",content:["using namespace std"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},at={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},Dt={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var Me=pe(53184),Pe=pe.n(Me),ce=(ct,En,Rt)=>new Promise((be,de)=>{var le=he=>{try{Ie(Rt.next(he))}catch(We){de(We)}},ye=he=>{try{Ie(Rt.throw(he))}catch(We){de(We)}},Ie=he=>he.done?be(he.value):Promise.resolve(he.value).then(le,ye);Ie((Rt=Rt.apply(ct,En)).next())});const ke={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Le=(ct,En,Rt,be)=>{const de=En.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Rt.lineNumber,endColumn:Rt.column});return Array.from(new Set(de.match(/\b\w{2,}\b/g)||[])).map(ye=>({label:ye,kind:ct.languages.CompletionItemKind.Text,insertText:ye,range:be}))},Ve=(ct,En,Rt,be)=>{ct.languages.registerCompletionItemProvider(En,{provideCompletionItems(de,le){const ye=de.getWordUntilPosition(le),Ie={startLineNumber:le.lineNumber,endLineNumber:le.lineNumber,startColumn:ye.startColumn,endColumn:ye.endColumn},he=de.getLineContent(le.lineNumber).substring(ye.startColumn-2,ye.endColumn);return{suggestions:[...Le(ct,de,le,Ie),...Rt.map(tt=>({label:tt,kind:ct.languages.CompletionItemKind.Keyword,documentation:tt,insertText:tt,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ie})),...be.map(tt=>({label:tt.label,kind:ct.languages.CompletionItemKind.Snippet,documentation:tt.content,insertText:he.startsWith("#")?tt.content.replace(/#/,""):tt.content,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ie}))]}}})};var Ke=ct=>{ke.languages.forEach(En=>{ct.languages.registerDocumentFormattingEditProvider(En,{provideDocumentFormattingEdits(Rt){return ce(this,null,function*(){const be=Pe()(Rt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Rt.getFullModelRange(),text:be}]})}})}),Ve(ct,"java",Ht.keywords,Ht.quickKey),Ve(ct,"cpp",rt.keywords,rt.quickKey),Ve(ct,"c",Xe.keywords,[]),Ve(ct,"python",at.keywords,at.quickKey),Ve(ct,"scala",Dt.keywords,Dt.quickKey)};const He="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ge=Object.defineProperty,ze=(ct,En,Rt)=>En in ct?Ge(ct,En,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):ct[En]=Rt,qe=(ct,En,Rt)=>ze(ct,typeof En!="symbol"?En+"":En,Rt);const pt=class Iv{constructor(En,Rt,be){this.placeholder=En,this.editor=Rt,this.monaco=be,Rt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Iv.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};qe(pt,"ID","editor.widget.placeholderHint");var vt=pt,yt=pe(96236),Nt=pe(6767),Et=pe(25399),pn=pe(78267),Pt=pe(33156),St=pe(56102),jt=Object.defineProperty,Je=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,$e=(ct,En,Rt)=>En in ct?jt(ct,En,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):ct[En]=Rt,At=(ct,En)=>{for(var Rt in En||(En={}))Fe.call(En,Rt)&&$e(ct,Rt,En[Rt]);if(lt)for(var Rt of lt(En))Zt.call(En,Rt)&&$e(ct,Rt,En[Rt]);return ct},Qt=(ct,En)=>Je(ct,wt(En)),Te=(ct,En)=>{var Rt={};for(var be in ct)Fe.call(ct,be)&&En.indexOf(be)<0&&(Rt[be]=ct[be]);if(ct!=null&<)for(var be of lt(ct))En.indexOf(be)<0&&Zt.call(ct,be)&&(Rt[be]=ct[be]);return Rt},xe=(ct,En,Rt)=>new Promise((be,de)=>{var le=he=>{try{Ie(Rt.next(he))}catch(We){de(We)}},ye=he=>{try{Ie(Rt.throw(he))}catch(We){de(We)}},Ie=he=>he.done?be(he.value):Promise.resolve(he.value).then(le,ye);Ie((Rt=Rt.apply(ct,En)).next())});function It(ct){return/^\d+$/.test(ct)?`${ct}px`:ct}function Cn(){}let mn=!1;const Ze={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ct(ct=[]){let En=ct;if(Array.isArray(ct)){for(let Rt=0;Rtxe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ct){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ct)}});var xn=ct=>{var En=ct,{width:Rt="100%",height:be="100%",value:de,language:le="javascript",style:ye={},options:Ie={},overrideServices:he={},theme:We="vs-dark",onEditBlur:tt,isCopy:dn=!1,onSave:ut,autoHeight:zt=!1,forbidCopy:en=!1,forbidCopyTips:Sn,onChange:yn=Cn,editorDidMount:ar=Cn,onFocus:Mt=Cn,onBreakPoint:nn=Cn,breakPointValue:ln=[],filename:Un="educoder.txt",errorLine:Nn,errorContent:un="",highlightLine:ir,openBreakPoint:Xn=!1,placeholder:Ft="",showMiniMap:An=!0}=En,Qn=Te(En,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Jn=(0,oe.useRef)(),nt=(0,oe.useRef)({}),gt=(0,oe.useRef)(),Kt=(0,oe.useRef)(),vn=(0,oe.useRef)([]),Rn=(0,oe.useRef)(!1),hr=(0,oe.useRef)(),$r=(0,oe.useRef)(),Xr=(0,oe.useRef)(!1),[vr,lr]=(0,oe.useState)(!1);function Dr(){let Xt;return Jn.current&&(Xt=new qt.Z(Kn=>{for(let Lr of Kn)(Lr.target.offsetHeight>0||Lr.target.offsetWidth>0)&&nt.current.instance.layout()}),Xt.observe(Jn.current)),Xt}function rr(){Nt.ZP.warning({content:decodeURIComponent(Sn||He),key:"monaco-editor-tip"})}const Tn=()=>{let Xt=nt.current.instance;if(de!=null&&Xt&&vr){const Kn=Xt.getModel();Kn&&de!==Kn.getValue()&&(mn=!0,Kn.setValue(de),Xt.layout(),mn=!1)}};(0,oe.useEffect)(()=>{const Xt=Pt.Z.subscribe("formatDocument",Kn=>{var Lr;let wr=nt.current.instance;(Lr=wr==null?void 0:wr.getAction)==null||Lr.call(wr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Kn=>{yn(Kn)},Xt},[]),(0,oe.useEffect)(()=>{var Xt;let Kn=nt.current.instance;Kt.current&&clearTimeout(Kt.current),Kt.current=setTimeout(()=>{Tn()},500),de&&(de!=null&&de.length)&&((Xt=Kn==null?void 0:Kn.updateOptions)==null||Xt.call(Kn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(de.split(/\r\n|\r|\n/g).length))+3,5)}))},[de,vr,nt.current]),(0,oe.useEffect)(()=>{if(Nn&&nt.current&&nt.current.instance){let Kn=nt.current.instance;Kn.changeViewZones(function(Lr){var wr=document.createElement("div");wr.style.padding="10px 20px",wr.style.width="calc(100% - 20px)",wr.className="my-error-line-wrp",wr.innerHTML=un,Lr.addZone({afterLineNumber:Nn||11,heightInLines:3,domNode:wr})});var Xt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Kn.addOverlayWidget(Xt),Kn.revealPositionInCenter({lineNumber:20,column:1})}},[Nn,nt.current,vr]);const _n=(Xt="",Kn)=>{if(!Xt||Xt.trim()==="")return!0;const wr=nt.current.instance.getModel().getLineTokens(Kn);let Lt=!1;for(let Vt=0;Vt<2;Vt++)wr.getStandardTokenType(Vt)===1&&(Lt=!0);return Lt};(0,oe.useEffect)(()=>{var Xt;const Kn=(Xt=nt.current)==null?void 0:Xt.instance;if(Kn&&vr&&en){const Lr=Kn.onDidBlurEditorWidget(()=>{Xr.current=!1}),wr=Kn.onDidFocusEditorText(()=>{Xr.current=!0});return()=>{Lr.dispose(),wr.dispose()}}},[nt.current,vr,en]),(0,oe.useEffect)(()=>{var Xt;if((Xt=nt.current)!=null&&Xt.instance&&vr&&Xn){let Kn=nt.current.instance,Lr=Kn.getModel();if(!Lr)return;(()=>{var dr;let Zn=[],Mn=[];const Ur=Lr.getAllDecorations();for(let ei of Ur)ei.options.className==="highlighted-line"&&(Zn.push((dr=ei==null?void 0:ei.range)==null?void 0:dr.startLineNumber),Mn.push(ei==null?void 0:ei.id));if(ir===Zn[0])return;Lr.deltaDecorations(Mn,[]);const si=Lr.getLineCount();ir&&ir<=si&&(Kn.deltaDecorations([],[{range:new _t.Range(ir,1,ir,Lr.getLineMaxColumn(ir)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Kn.revealLineInCenter(ir))})();const Lt=(dr=!1)=>{var Zn;let Mn=[],Ur=[];const si=Lr.getAllDecorations();for(let ei of si)ei.options.linesDecorationsClassName==="breakpoints-select"&&(Mn.push((Zn=ei==null?void 0:ei.range)==null?void 0:Zn.startLineNumber),Ur.push(ei==null?void 0:ei.id));if(dr)return{lines:Mn,ids:Ur};nn(Mn)},Vt=dr=>xe(void 0,null,function*(){let Zn={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Lr.deltaDecorations([],[Zn]),Lt()}),ot=dr=>xe(void 0,null,function*(){let Zn=[];const Mn=Kn.getLineDecorations(dr);for(let Ur of Mn)Ur.options.linesDecorationsClassName==="breakpoints-select"&&Zn.push(Ur.id);yield Lr.deltaDecorations(Zn,[]),Lt()}),kt=dr=>{let Zn=Kn.getLineDecorations(dr);for(let Mn of Zn)if(Mn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,pn.isEqual)(ln,Lt(!0).lines)){Lr.deltaDecorations(Lt(!0).ids,[]);const dr=ln.map(Zn=>({range:new _t.Range(Zn,1,Zn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Lr.deltaDecorations([],dr)}const ft=Kn.onDidChangeModelContent(dr=>{let Zn=Kn.getPosition();if(Zn){let Mn=Zn.lineNumber;clearTimeout($r.current),$r.current=setTimeout(()=>{_n(Lr.getLineContent(Mn),Mn)?ot(Mn):kt(Mn)?(ot(Mn),Vt(Mn)):Lt()},100)}}),Gt=Kn.onMouseDown(dr=>{var Zn,Mn,Ur;if(dr.target.detail&&((Ur=(Mn=(Zn=dr.target)==null?void 0:Zn.element)==null?void 0:Mn.className)!=null&&Ur.includes("line-numbers"))){let si=dr.target.position.lineNumber;if(_n(Lr.getLineContent(si),si))return;kt(si)?ot(si):Vt(si)}}),Fn=dr=>{let Zn={range:new _t.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};vn.current=Kn.deltaDecorations(vn.current,[Zn])},xr=()=>{vn.current=Kn.deltaDecorations(vn.current,[])},Or=Kn.onMouseMove(dr=>{var Zn,Mn,Ur;if(xr(),dr.target.detail&&((Ur=(Mn=(Zn=dr.target)==null?void 0:Zn.element)==null?void 0:Mn.className)!=null&&Ur.includes("line-numbers"))){let si=dr.target.position.lineNumber;if(_n(Lr.getLineContent(si),si))return;Fn(si)}}),kr=Kn.onMouseLeave(()=>{xr()});return()=>{ft.dispose(),Gt.dispose(),Or.dispose(),kr.dispose()}}},[nt.current,vr,ln,ir,Xn,le]),(0,oe.useEffect)(()=>{var Xt;(Xt=nt.current)!=null&&Xt.instance&&Xn&&nt.current.instance.setPosition({lineNumber:0,column:0})},[ir]);function Ln(){let Xt=nt.current.instance;if(Xt){const Kn=Xt.getSelection(),Lr=nt.current.pastePos||{},wr=new _t.Range(Lr.startLineNumber||Kn.endLineNumber,Lr.startColumn||Kn.endColumn,Lr.endLineNumber||Kn.endLineNumber,Lr.endColumn||Kn.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:wr,text:""}])},300)}}function mr(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),ut())}const cr=()=>{if(zt&&nt.current.instance){const Xt=nt.current.instance.getContentHeight();xi(Xt{if(!Xr.current)return;const{keyCode:Kn,ctrlKey:Lr,metaKey:wr,target:Lt,type:Vt}=Xt;return(Vt==="paste"||(Kn===67||Kn===86)&&(wr||Lr))&&Lt.nodeName==="TEXTAREA"&&(rr(),Xt.preventDefault()),!1};function Wr(Xt,Kn){var Lr=window.URL||window.webkitURL||window,wr=new Blob([Kn]),Lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Lt.href=Lr.createObjectURL(wr),Lt.download=Xt,pr(Lt)}(0,oe.useEffect)(()=>{cr()},[cr]),(0,oe.useEffect)(()=>{Jn.current&&!vr&&Promise.all([pe.e(8909),pe.e(5977)]).then(pe.bind(pe,71448)).then(Xt=>{try{_t=Xt,nt.current.instance=_t.editor.create(Jn.current,{value:de,language:Ct(le),theme:We,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:An||!1}},he);const Kn=nt.current.instance;let Lt=[...yt.BH._menuItems].find(ft=>ft[0]._debugName=="EditorContext")[1],Vt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ot=(ft,Gt)=>{var Fn,xr;let Or=ft._first;do Gt.includes((xr=(Fn=Or.element)==null?void 0:Fn.command)==null?void 0:xr.id)&&ft._remove(Or);while(Or=Or.next)};if(ar(Kn,_t),setTimeout(()=>{cr(),nt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Wr(Un||"educoder.txt",Kn.getValue())}})},500),nt.current.subscription=Kn.onDidChangeModelContent(ft=>{Rn.current?clearTimeout(hr.current):(cr(),yn(Kn.getValue(),ft)),hr.current=setTimeout(()=>{Rn.current=!1},500)}),window.Monaco||Ke(_t,Ct(le)),en&&(ot(Lt,Vt),Jn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Rr),window.removeEventListener("paste",Rr),window.addEventListener("keydown",Rr),window.addEventListener("paste",Rr)),window.Monaco=_t,tt&&Kn.onDidBlurEditorWidget(()=>{tt(Kn.getValue())}),Mt&&Kn.onDidFocusEditorText(()=>{en&&In(),Mt(Kn.getValue())}),en){In();try{Kn.onDidPaste(ft=>{const Gt=Kn.getSelection(),Fn=nt.current.pastePos||{},xr=new _t.Range(Fn.startLineNumber||Gt.endLineNumber,Fn.startColumn||Gt.endColumn,Fn.endLineNumber||Gt.endLineNumber,Fn.endColumn||Gt.endColumn);Kn.executeEdits("",[{range:ft.range,text:""}])})}catch(ft){}}let kt=Dr();return Ft&&typeof Ft=="string"&&new vt(Ft,Kn,_t),lr(!0),()=>{const ft=nt.current.instance;ft.dispose();const Gt=ft.getModel();Gt&&Gt.dispose(),nt.current.subscription&&nt.current.subscription.dispose(),kt.unobserve(Jn.current)}}catch(Kn){}})},[]),(0,oe.useEffect)(()=>{if(nt.current.instance&&vr)return document.addEventListener("keydown",mr,!1),()=>{document.removeEventListener("keydown",mr)}},[ut,vr]),(0,oe.useEffect)(()=>{let Xt=nt.current.instance;if(Xt&&vr){let Kn=Ct(le);_t.editor.setModelLanguage(Xt.getModel(),Kn)}},[le,vr]),(0,oe.useEffect)(()=>{nt.current.instance&&vr&&_t.editor.setTheme(We)},[We,vr]),(0,oe.useEffect)(()=>{let Xt=nt.current.instance;gt.current=Ie,Xt&&vr&&(Xt.updateOptions(At({},Ie)),setTimeout(()=>{Xt.getModel().updateOptions(At({},Ie))},200))},[JSON.stringify(Ie),vr]),(0,oe.useEffect)(()=>{let Xt=nt.current.instance;Xt&&vr&&Xt.layout()},[Rt,be,vr]);const[Gr,ai]=(0,oe.useState)(It(Rt)),[ti,xi]=(0,oe.useState)(It(be)),mi=Qt(At({},ye),{width:Gr,height:ti,position:"relative"});return oe.createElement("div",{className:"my-monaco-editor",ref:Jn,style:mi,onFocus:()=>{en&&In()}},dn&&oe.createElement(St.CopyToClipboard,{text:de,onCopy:()=>Nt.ZP.success("\u590D\u5236\u6210\u529F")},oe.createElement(Et.Z,{title:"\u590D\u5236\u4EE3\u7801"},oe.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},oe.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Wn({width:ct="100%",height:En="100%",original:Rt,modified:be,language:de,options:le={}}){const ye=(0,oe.useRef)(),[Ie,he]=(0,oe.useState)(null);function We(zt){let en;return ye.current&&(en=new qt.Z(Sn=>{for(let yn of Sn)(yn.target.offsetHeight>0||yn.target.offsetWidth>0)&&zt.layout()}),en.observe(ye.current)),en}(0,oe.useEffect)(()=>(ye.current&&Promise.all([pe.e(8909),pe.e(9404)]).then(pe.bind(pe,2550)).then(zt=>{_t=zt;const en=_t.editor.createDiffEditor(ye.current,Qt(At({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},le),{wordWrap:!0}));he(en);let Sn=We(en);return()=>{en.dispose();const yn=en.getModel();yn&&yn.dispose(),Sn.unobserve(ye.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,oe.useEffect)(()=>{Ie&&Ie.setModel({original:_t.editor.createModel(Rt,de),modified:_t.editor.createModel(be,de)})},[Rt,be,de,Ie]);const tt=It(ct),dn=It(En),ut={width:tt,height:dn};return oe.createElement("div",{className:"my-diff-editor",ref:ye,style:ut})}},54077:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return ke}});var oe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},qt=pe(29787),Xe=pe(25399),Ht=pe(89787),rt=pe(92310),at=pe.n(rt),Dt=pe(76406),Me=pe(90736),Pe=pe(59301),ke=({className:Le,dataSource:Ve=[],col:Ke=4,right:He,bottom:Ge=23,precision:ze=0,wrapWidth:qe=1200,trackEventItems:pt,loading:Bt,onRemove:vt=()=>{},isCurrent:yt=!0,showProgress:Nt=!1,showAlias:Et=!1,category:pn="notDisplay",hiddenClick:Pt=()=>{}})=>{const St=Math.floor((qe-(Ke-1)*He)/Ke),jt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return Pe.createElement(qt.Z,{spinning:Bt},Pe.createElement("div",{className:at()(oe.list,Le)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((Je,wt)=>{var lt,Fe,Zt,$e,At,Qt,Te;const{name:xe,id:It,identifier:Cn,featured:mn,school_name:Ze,image_url:Ct,excellent:_t,is_plan:In}=Je;return Pe.createElement("div",{key:It,className:yt&&Nt?oe.wrapisCurrent:oe.wrap,style:{width:St,marginRight:(1+wt)%Ke===0?0:He+ze,marginBottom:Ge}},Pe.createElement("a",{className:oe.li,onClick:xn=>{xn.preventDefault(),xn.stopPropagation(),pt&&(0,Dt.L9)([pt]),(0,Dt.xg)(`/paths/${Cn}`)}},Pe.createElement("div",{className:oe.img},Pe.createElement("img",{className:oe.cover,src:`${Ct}`}),(lt=Je==null?void 0:Je.subject_tags)==null?void 0:lt.map((xn,Wn)=>{var ct,En;if(Wn===0){const be=(ct=jt.find(de=>de.name==xn))==null?void 0:ct.swclass;return Pe.createElement("span",{className:`sprite ${be} ${oe.sign}`,style:{left:"-4px"}})}const Rt=(En=jt.find(be=>be.name==xn))==null?void 0:En.ptclass;return Pe.createElement("span",{className:`sprite ${Rt} ${oe.sign}`,style:{left:`${48+52*(Wn-1)+2*Wn}px`}})}),Pe.createElement("div",{className:oe.tagsDom},Pe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Je==null?void 0:Je.excellent)&&Pe.createElement("div",{className:oe.bq},"\u5F00\u653E\u8BFE\u7A0B"),((Fe=Je==null?void 0:Je.custom_tags)==null?void 0:Fe.length)>0&&(Je==null?void 0:Je.custom_tags.map((xn,Wn)=>{var ct;return Pe.createElement(Xe.Z,{title:xn==null?void 0:xn.tag_name,key:Wn},Pe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((ct=Je==null?void 0:Je.custom_tags)==null?void 0:ct.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Pe.createElement("span",{className:"multi-llipsis1e"},xn==null?void 0:xn.tag_name)))})))),pn=="hide"&&(Je==null?void 0:Je.studying)&&yt&&Pe.createElement("div",{className:`${oe.movebq} user-path-items`,onClick:xn=>{xn.stopPropagation(),vt(Je)}},Pe.createElement("i",{className:"iconfont icon-yichu1 font12"}),Pe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(pn)&&yt&&Pe.createElement("div",{className:`${oe.hiddenbq} user-path-items`,onClick:xn=>{xn.stopPropagation(),Pt(Je)}},Pe.createElement("i",{className:`iconfont ${pn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Pe.createElement("span",null,pn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Pe.createElement("div",{className:oe.name},Pe.createElement(Xe.Z,{title:Et&&(Je!=null&&Je.excellent_alias_name)?Pe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${xe}`,Pe.createElement("br",null),Pe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Je==null?void 0:Je.excellent_alias_name}`)):xe},Pe.createElement("span",{className:oe.e},Et&&(Je==null?void 0:Je.excellent_alias_name)||xe))),yt&&Nt&&((Zt=Je==null?void 0:Je.progress)==null?void 0:Zt.all_score)!=0&&Pe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Pe.createElement(Ht.Z,{strokeColor:"#44d7b6",gap:"small",percent:((($e=Je==null?void 0:Je.progress)==null?void 0:$e.my_score)/((At=Je==null?void 0:Je.progress)==null?void 0:At.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Qt=Je==null?void 0:Je.progress)==null?void 0:Qt.my_score,"/",(Te=Je==null?void 0:Je.progress)==null?void 0:Te.all_score),(!yt||!Nt)&&Pe.createElement(Xe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Ze}`},Pe.createElement("div",{className:oe.unit},Pe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Ze)),(!yt||!Nt)&&Pe.createElement("div",{className:oe.tags},Pe.createElement("div",null,Pe.createElement(Xe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Pe.createElement("span",null,Pe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Pe.createElement("span",null,Je.stages_count))),Pe.createElement(Xe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Pe.createElement("span",null,Pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Pe.createElement("span",null,Je.members_count)))))))})),!Ve.length&&Pe.createElement(Me.Z,null)))}},70467:function(gr,zn,pe){"use strict";pe.d(zn,{jL:function(){return Ht},w9:function(){return xe},QD:function(){return ln},cQ:function(){return wt.Z},op:function(){return en},O5:function(){return Dr},_b:function(){return Ft},t7:function(){return ze},Gi:function(){return _t},YG:function(){return Ze},qp:function(){return ce},vr:function(){return un},qE:function(){return ar},Je:function(){return Bt},wb:function(){return Je},cq:function(){return Rt},tp:function(){return Ve}});var oe=pe(59301),qt={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"},Ht=({dataSource:rr=[],img:Tn,imgWidth:_n=346,title:Ln,sunTitle:mr,bannerExtraContent:cr})=>oe.createElement("div",{className:qt.banner},oe.createElement("div",{className:qt.content},oe.createElement("aside",null,oe.createElement("p",null,oe.createElement("b",null,Ln),oe.createElement("span",null,mr)),rr.length>0&&oe.createElement("div",{className:qt.btns},rr.map((pr,Rr)=>oe.createElement("div",{key:Rr,onClick:pr.click},pr.name,pr.sign?oe.createElement("span",{className:"sprite sprite-33"}):null))),cr),Tn&&oe.createElement("img",{style:{marginTop:33,marginRight:38},src:Tn,width:_n}))),rt={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"},at=pe(92310),Dt=pe.n(at),Me=pe(78267),ce=({dataSource:rr=[],value:Tn,onChange:_n,onTitleChange:Ln,className:mr,title:cr,titleWidth:pr=41,style:Rr={},fontColor:Wr="#6A7283",showCount:Gr})=>{const[ai,ti]=(0,oe.useState)(1),[xi,mi]=(0,oe.useState)(!1),Xt=(0,oe.useRef)(null),Kn=(0,oe.useRef)(null);return(0,oe.useEffect)(()=>{var Lr;rr.length!==0&&(((Lr=Xt==null?void 0:Xt.current)==null?void 0:Lr.clientHeight)>97?ti(1):ti(0)),rr.length===0&&ti(0),mi(!1)},[rr]),oe.createElement("div",{className:Dt()(rt.row,mr,"fadeIn","animated"),style:Rr},oe.createElement("div",{onClick:(0,Me.throttle)(()=>Ln==null?void 0:Ln(),2e3),style:{width:pr,marginTop:xi?12:4},className:`${rt.title} ${Ln?"current":""}`},cr),oe.createElement("div",{className:xi?`${rt.tagsWrap} ${rt.tagsBorderWrap}`:rt.tagsWrap},oe.createElement("div",{className:rt.bar,ref:Kn,style:ai>0?{height:ai===1?97:"auto",overflow:ai===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},oe.createElement("div",{className:rt.tag,ref:Xt},rr==null?void 0:rr.map(Lr=>oe.createElement("span",{onClick:()=>_n(Lr.id),key:Lr.id,style:{color:Wr},className:Tn===Lr.id?rt.active:""},oe.createElement("span",{title:Lr.name,className:rt.name},Lr.name),!!Gr&&oe.createElement("span",{className:rt.num},Lr.count))))),!!ai&&oe.createElement(oe.Fragment,null,ai===1?oe.createElement("div",{onClick:()=>{var Lr;ti(2),((Lr=Xt==null?void 0:Xt.current)==null?void 0:Lr.clientHeight)>245?mi(!0):mi(!1)},className:rt.action},"\u5C55\u5F00",oe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):oe.createElement("div",{onClick:()=>{Kn.current.scrollTop=0,ti(1),mi(!1)},className:rt.action},"\u6536\u8D77",oe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ke={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"},Ve=({dataSource:rr=[],value:Tn,onChange:_n,className:Ln,style:mr={}})=>oe.createElement("div",{style:mr,className:Dt()(ke.tabs,Ln)},rr.map(cr=>oe.createElement("span",{onClick:()=>_n(cr.id),className:Tn===cr.id?ke.active:"",key:cr.id},cr.name))),Ke={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},He=pe(37568),ze=({dataSource:rr=[],value:Tn="",onChange:_n,onInputChange:Ln=()=>{},className:mr,style:cr={},placeholder:pr,allowClear:Rr=!1})=>{var Wr;const[Gr,ai]=(0,oe.useState)(""),[ti,xi]=(0,oe.useState)("");(0,oe.useEffect)(()=>{var Kn;let Lr=Tn;(Kn=JSON.stringify(Tn))!=null&&Kn.includes("{")&&(ai(Tn.id),Lr=Tn.value||"");try{xi(decodeURIComponent(Lr||""))}catch(wr){xi(decodeURIComponent(Lr||""))}},[Tn]);const mi=()=>{_n(encodeURIComponent(ti),Gr||null)},Xt=Kn=>{Kn!==Gr&&(ai(Kn),_n(encodeURIComponent(ti),Kn))};return oe.createElement("div",{className:Dt()(Ke.input,mr),style:cr},!!rr.length&&oe.createElement("div",{className:Ke.dropdown},oe.createElement("div",{className:Ke.text},(Wr=rr.find(Kn=>Kn.id===Gr))==null?void 0:Wr.name,oe.createElement("i",{className:"iconfont icon-zhankai4"}),oe.createElement("b",{className:Ke.b1}),oe.createElement("b",{className:Ke.b2})),oe.createElement("div",{className:Ke.menu},rr.map((Kn,Lr)=>oe.createElement("div",{key:Lr,onClick:()=>Xt(Kn.id)},Kn.name)))),oe.createElement(He.default,{onPressEnter:mi,value:ti,onChange:Kn=>{xi(Kn.target.value),Ln(encodeURIComponent(Kn.target.value),Gr||null)},placeholder:pr,variant:"borderless",allowClear:Rr,onClear:()=>_n("",Gr||null)}),oe.createElement("i",{onClick:mi,className:"iconfont icon-sousuo9 font14 current"}))},qe={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"},Bt=({value:rr,onChange:Tn,className:_n,total:Ln,pageSize:mr,style:cr={}})=>{const pr=rr<2,Rr=rr>=Math.ceil(Ln/mr);return Ln<=mr?oe.createElement(oe.Fragment,null):oe.createElement("div",{className:Dt()(qe.quickPager,_n),style:cr},oe.createElement("div",{onClick:()=>{pr||Tn(rr-1,"prev")},className:pr?qe.disabled:""},"\u4E0A\u4E00\u9875"),oe.createElement("div",{onClick:()=>{Rr||Tn(rr+1,"next")},className:Rr?qe.disabled:""},"\u4E0B\u4E00\u9875"))},vt={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"},yt=pe(29787),Nt=pe(25399),Et=pe(63139),pn=pe(14185),Pt=pe(76406),St=pe(90736),Je=({className:rr,dataSource:Tn=[],col:_n=4,right:Ln,bottom:mr=23,precision:cr=0,wrapWidth:pr=1200,trackEventItems:Rr,loading:Wr})=>{const Gr=Math.floor((pr-(_n-1)*Ln)/_n);return oe.createElement(yt.Z,{spinning:Wr},oe.createElement("div",{className:Dt()(vt.list,rr)},!!Tn.length&&Tn.map((ai,ti)=>{const{name:xi,id:mi,identifier:Xt,power:Kn,cover_image_id:Lr,pic:wr}=ai;return oe.createElement("div",{className:vt.wrap,key:mi,style:{width:Gr,marginRight:(1+ti)%_n===0?0:Ln+cr,marginBottom:mr}},oe.createElement("a",{target:"_blank",href:`/shixuns/${Xt}/challenges`,className:vt.li,onClick:Lt=>{Lt.preventDefault(),Rr&&(0,Pt.L9)([Rr]),Kn&&(0,Pt.xg)(`/shixuns/${Xt}/challenges`)}},oe.createElement("div",{className:vt.img},oe.createElement("img",{className:vt.cover,src:`${wr}`}),ai.is_jupyter&&oe.createElement("span",{className:`sprite sprite-43 ${vt.sign}`}),ai.is_jupyter_lab&&oe.createElement("span",{className:`sprite sprite-42 ${vt.sign}`}),ai.is_unity_3d&&oe.createElement("span",{className:`sprite sprite-44 ${vt.sign}`})),oe.createElement("div",{className:vt.name},oe.createElement(Nt.Z,{title:xi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},oe.createElement("span",{className:vt.e},xi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),oe.createElement("div",{className:vt.tags},oe.createElement(Nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),oe.createElement("span",null,ai.challenges_count))),!!ai.myshixuns_count&&oe.createElement(Nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),oe.createElement("span",null,ai.myshixuns_count))),oe.createElement(Nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},oe.createElement("span",null,oe.createElement("span",null,ai.level))),oe.createElement("div",{className:vt.rate},oe.createElement(Et.Z,{allowHalf:!0,disabled:!0,defaultValue:ai.score_info}),oe.createElement("span",null,"\xA0",ai.score_info?`${ai.score_info}\u5206`:"5\u5206")))),!Kn&&oe.createElement("div",{className:vt.lockWrap},oe.createElement("img",{src:`${pn.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),oe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Tn.length&&oe.createElement(St.Z,null)))},wt=pe(54077),lt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Fe=pe(62957),Zt=pe(96599),$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2e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lwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",At=pe(59301),Qt=(rr,Tn,_n)=>new Promise((Ln,mr)=>{var cr=Wr=>{try{Rr(_n.next(Wr))}catch(Gr){mr(Gr)}},pr=Wr=>{try{Rr(_n.throw(Wr))}catch(Gr){mr(Gr)}},Rr=Wr=>Wr.done?Ln(Wr.value):Promise.resolve(Wr.value).then(cr,pr);Rr((_n=_n.apply(rr,Tn)).next())}),xe=({className:rr,dataSource:Tn=[],col:_n=4,right:Ln,bottom:mr=23,precision:cr=0,wrapWidth:pr=1200,trackEventItems:Rr,loading:Wr,category:Gr,hiddenClick:ai,handleVery:ti=()=>!0,isCurrent:xi})=>{const[mi,Xt]=Fe.default.useModal(),Kn=Math.floor((pr-(_n-1)*Ln)/_n),Lr=wr=>Qt(void 0,null,function*(){mi.confirm({title:"\u7F6E\u9876",width:500,content:At.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",At.createElement("span",{className:"c-blue"},"\u201C",wr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return At.createElement(yt.Z,{spinning:Wr},Xt,At.createElement("div",{className:Dt()(lt.list,rr)},!!Tn.length&&Tn.map((wr,Lt)=>{const{subject_identifier:Vt,id:ot,identifier:kt,power:ft}=wr,Gt=wr.is_public!=0&&wr.is_public;return At.createElement("div",{className:lt.wrap,key:ot,style:{width:Kn,marginRight:(1+Lt)%_n===0?0:Ln+cr,marginBottom:mr}},wr.homepage_show&&At.createElement("div",{className:lt.btnsTop},At.createElement(Zt.default,{color:"red"},"\u7F6E\u9876")),At.createElement("a",{className:lt.li,onClick:Fn=>{Fn.preventDefault(),ti(wr==null?void 0:wr.first_category_url)&&(Rr&&(0,Pt.L9)([Rr]),(0,Pt.xg)(wr.first_category_url))}},At.createElement("div",{className:lt.top},At.createElement(Nt.Z,{title:wr.name},At.createElement("div",{className:lt.name},wr.name)),At.createElement("img",{className:lt.img,src:pn.Z.IMG_SERVER+"/images/"+wr.avatar_url}),At.createElement("div",{className:lt.text,title:wr.creator},wr.creator),Vt&&At.createElement("div",{className:lt.btns},At.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),At.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Gt&&At.createElement("div",{className:lt.sign},"\u516C\u5F00"),xi&&At.createElement("div",{className:lt.hidden,onClick:Fn=>{Fn.stopPropagation(),ai(wr)}},At.createElement("i",{className:`iconfont ${Gr=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Gr=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),At.createElement("div",{className:lt.bottom},wr.visits>0&&At.createElement(Nt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-liulanyan"}),At.createElement("span",null,wr.visits))),wr.course_members_count>0&&At.createElement(Nt.Z,{title:"\u6210\u5458",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-chengyuan"}),wr.course_members_count)),wr.tasks_count>0&&At.createElement(Nt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},At.createElement("span",null,At.createElement("i",{className:"iconfont icon-zuoye"}),wr.tasks_count)),wr.is_end?At.createElement("div",{style:{color:"#6B758B"}}):At.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!wr.is_accessible&&At.createElement("div",{className:lt.lockWrap},At.createElement("img",{src:`${pn.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),At.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Tn.length&&At.createElement(St.Z,null)))},It={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"},Cn=pe(44283),Ze=({dataSource:rr=[],value:Tn,onChange:_n,className:Ln,style:mr={},tabBarExtraContent:cr})=>oe.createElement("div",{className:Dt()(It.tabs,Ln),style:mr},oe.createElement("div",{className:It.tabsWrap},rr.map((pr,Rr)=>!(pr!=null&&pr.hide)&&oe.createElement("aside",{className:It.tab,onClick:()=>{_n(pr.id),pr.link&&Cn.history.push(pr.link)},key:Rr},oe.createElement("div",{className:Tn===pr.id?It.active:""},pr.name),(pr==null?void 0:pr.resetCount)==null&&(pr==null?void 0:pr.total)!==void 0&&oe.createElement("span",null,"\uFF08",pr==null?void 0:pr.total,"\uFF09"),(pr==null?void 0:pr.resetCount)!==void 0&&(pr==null?void 0:pr.total)!==void 0&&oe.createElement(Nt.Z,{title:(pr==null?void 0:pr.tip)!=null?pr==null?void 0:pr.tip:""},oe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",oe.createElement("span",{style:{color:"#000"}},pr==null?void 0:pr.resetCount),"/",oe.createElement("span",null,pr==null?void 0:pr.total),"\uFF09"))))),oe.createElement("div",{className:It.tabBar},cr)),_t=({className:rr,style:Tn={},children:_n})=>oe.createElement("div",{className:Dt()(rr),style:Tn},_n),In={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"},xn=pe(75727),Wn=pe(93041);const ct=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Rt=({sortValue:rr,dropValue:Tn,className:_n,onSort:Ln,onDrop:mr,dataSource:cr=ct})=>{var pr;return oe.createElement("div",{className:Dt()(In.orderWrap,_n)},oe.createElement(xn.Z,{dropdownRender:()=>oe.createElement(Wn.default,null,cr.map((Rr,Wr)=>oe.createElement(Wn.default.Item,{key:Wr,onClick:()=>mr(Rr.id)},Rr.name)))},oe.createElement("span",{className:In.orderTextWrap},(pr=cr.find(Rr=>Tn===Rr.id))==null?void 0:pr.name)),oe.createElement("span",{className:In.orderIconWrap},oe.createElement("span",{className:In.orderAsc},oe.createElement("i",{className:rr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${In.cursorPointer} ${In.active}`:`iconfont icon-sanjiaoxing-up font12 ${In.cursorPointer}`,onClick:()=>Ln(rr==="asc"?"desc":"asc")})),oe.createElement("span",{className:In.orderDesc},oe.createElement("i",{className:rr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${In.cursorPointer} ${In.active}`:`iconfont icon-sanjiaoxing-down font12 ${In.cursorPointer}`,onClick:()=>Ln(rr==="asc"?"desc":"asc")}))))},be={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"},de=pe(7939),le=Object.defineProperty,ye=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,We=(rr,Tn,_n)=>Tn in rr?le(rr,Tn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):rr[Tn]=_n,tt=(rr,Tn)=>{for(var _n in Tn||(Tn={}))Ie.call(Tn,_n)&&We(rr,_n,Tn[_n]);if(ye)for(var _n of ye(Tn))he.call(Tn,_n)&&We(rr,_n,Tn[_n]);return rr},dn=(rr,Tn)=>{var _n={};for(var Ln in rr)Ie.call(rr,Ln)&&Tn.indexOf(Ln)<0&&(_n[Ln]=rr[Ln]);if(rr!=null&&ye)for(var Ln of ye(rr))Tn.indexOf(Ln)<0&&he.call(rr,Ln)&&(_n[Ln]=rr[Ln]);return _n},ut=(rr,Tn,_n)=>new Promise((Ln,mr)=>{var cr=Wr=>{try{Rr(_n.next(Wr))}catch(Gr){mr(Gr)}},pr=Wr=>{try{Rr(_n.throw(Wr))}catch(Gr){mr(Gr)}},Rr=Wr=>Wr.done?Ln(Wr.value):Promise.resolve(Wr.value).then(cr,pr);Rr((_n=_n.apply(rr,Tn)).next())}),en=rr=>{var Tn=rr,{className:_n,style:Ln,children:mr,loading:cr=!1,openLoading:pr,onClick:Rr=()=>{},size:Wr="middle",shape:Gr="round"}=Tn,ai=dn(Tn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[ti,xi]=(0,oe.useState)(!1);return oe.createElement(de.ZP,tt({onClick:(0,Me.throttle)(mi=>ut(void 0,null,function*(){pr&&xi(!0);try{yield Rr(mi)}catch(Xt){console.log("error",Xt)}pr&&xi(!1)}),2e3,{leading:!0,trailing:!1}),className:Dt()(be.btn,be[`${Wr}-${Gr}`],_n),style:Ln,size:Wr,shape:Gr,loading:ti||cr},ai),mr)},Sn={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"},ar=({className:rr,style:Tn,children:_n=null,onClick:Ln,title:mr})=>oe.createElement("div",{className:Dt()(Sn.head,rr),style:Tn},oe.createElement("span",{className:"primary-hover",onClick:Ln},oe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),oe.createElement("b",{title:mr},mr),oe.createElement("div",{className:Sn.node},_n)),Mt={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"},ln=({confirmShow:rr=!0,confirmTitle:Tn,confirmClick:_n,cancelShow:Ln=!0,cancelTitle:mr,cancelClick:cr,className:pr,style:Rr,confirmLoading:Wr=!1})=>oe.createElement("div",{className:Dt()(Mt.btns,pr),style:Rr},rr&&oe.createElement(de.ZP,{loading:Wr,onClick:_n,type:"primary",className:Mt.confirm},Tn),Ln&&oe.createElement(de.ZP,{onClick:cr,className:Mt.cancel},mr)),Un={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"},un=({className:rr,style:Tn={},LeftContent:_n,children:Ln,RightContent:mr})=>oe.createElement("div",{className:Dt()(Un.fixedBottom,rr),style:Tn},oe.createElement("div",{className:Un.wrap},oe.createElement("div",{className:Un.left},_n),oe.createElement("div",{className:Un.center},Ln),oe.createElement("div",{className:Un.right},mr))),ir={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"},Ft=({className:rr,style:Tn={},dataSource:_n=[]})=>oe.createElement("div",{className:Dt()(ir.crumbs,rr),style:Tn},_n.map((Ln,mr)=>mr<_n.length-1?oe.createElement(oe.Fragment,{key:mr},Ln.path||Ln.onClick?oe.createElement("span",{className:ir.hover,onClick:Ln!=null&&Ln.onClick?Ln.onClick:()=>Cn.history.push(Ln.path)},Ln.name):oe.createElement("span",null,Ln.name),oe.createElement("span",null,"\xA0",">","\xA0")):oe.createElement("span",{key:mr,style:{color:"#5F6368"}},Ln.name))),An=pe(11938),Qn=Object.defineProperty,Jn=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Rn=(rr,Tn,_n)=>Tn in rr?Qn(rr,Tn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):rr[Tn]=_n,hr=(rr,Tn)=>{for(var _n in Tn||(Tn={}))Kt.call(Tn,_n)&&Rn(rr,_n,Tn[_n]);if(gt)for(var _n of gt(Tn))vn.call(Tn,_n)&&Rn(rr,_n,Tn[_n]);return rr},$r=(rr,Tn)=>Jn(rr,nt(Tn)),Xr=(rr,Tn)=>{var _n={};for(var Ln in rr)Kt.call(rr,Ln)&&Tn.indexOf(Ln)<0&&(_n[Ln]=rr[Ln]);if(rr!=null&>)for(var Ln of gt(rr))Tn.indexOf(Ln)<0&&vn.call(rr,Ln)&&(_n[Ln]=rr[Ln]);return _n};const{Countdown:vr}=An.default;var Dr=rr=>{var Tn=rr,{onChange:_n}=Tn,Ln=Xr(Tn,["onChange"]);const[mr,cr]=(0,oe.useState)(null);(0,oe.useEffect)(()=>{typeof mr=="number"&&mr>=0&&_n(mr)},[mr]);const pr=Rr=>{const Wr=Math.floor(Rr/1e3);cr(Wr)};return oe.createElement(vr,$r(hr({},Ln),{onChange:pr}))}},79006:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return qt}});var oe=pe(59301);function qt(Xe,Ht){const rt=(0,oe.useRef)();(0,oe.useEffect)(()=>{rt.current=Xe}),(0,oe.useEffect)(()=>{function at(){rt.current()}if(Ht!==null){let Dt=setInterval(at,Ht);return()=>clearInterval(Dt)}},[Ht])}},60498:function(gr,zn,pe){"use strict";pe.r(zn),pe.d(zn,{default:function(){return Wn}});var oe=pe(59301),qt=pe(6767),Xe=pe(62957),Ht=pe(29787),rt=pe(37639),at=pe(47889),Dt=pe(44104),Me={flex_box_center:"flex_box_center___Ja97S",flex_space_between:"flex_space_between___RJu4E",flex_box_vertical_center:"flex_box_vertical_center___jhPTF",flex_box_center_end:"flex_box_center_end___ZtezU",flex_box_column:"flex_box_column___MqeI4",wrap:"wrap___k3OOZ",head:"head___h6t3O",empty:"empty___S6QaM",content:"content___sMZPl",left:"left___J41Si",title:"title___GUZvZ",add:"add___zhwIv",leftBar:"leftBar___u_UUF",li:"li___Hnrra",active:"active___N4MxL",right:"right___eLWWO",rightBar:"rightBar___fMTLo",center:"center____NDzP",tabs:"tabs___jdS5u",cut:"cut___w1Pz_",action:"action___QkQ0f",tagBtn:"tagBtn___g2gHo",actActive:"actActive___ESHzD",answers:"answers___dVktP",btn:"btn___BnDvU",disableBtn:"disableBtn___WYJSQ",open_md:"open_md___Qcc2e",tip_container:"tip_container___cApBC",container_text:"container_text___riFvY",btn_send:"btn_send___jN38z",hide:"hide___wZuLt","md-container":"md-container___Am7nQ",unsolved:"unsolved___z4SON",box:"box____EpoE",hot:"hot___oUwVX",animation:"animation___YQjk7",stop:"stop___R1QBJ",disabledElement:"disabledElement___jKwzo",text:"text___Si2da",md_editor:"md_editor___vGEmh"},Pe=pe(49317),ce=pe(44283),ke=pe(76406),Le=pe(14185),Ve=pe(39967),Ke=pe(66649),He=pe.n(Ke),Ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAYAAAB91L6VAAAAAXNSR0IArs4c6QAAQABJREFUeAHtnQecVcXZ/+fctnc7ve+ilCCINJWo2IgQS2J7TUhilBQNxsSQ2NONpmlM3uQ1/k3QxJqYhJhYo1GjooCiIoogIKDiLh0Wlu23nv8zF5bcu+zdvWVmzsw5v/l8LnvKnOd55juH+9xpz1i2bfsZEgiAAAiAAAiAgFICPqXaoAwEQAAEQAAEQCBFAA4YLwIIgAAIgAAIOEAADtgB6FAJAiAAAiAAAnDAeAdAAAR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ACIAACagjAAavhDC0gAAIgAAIgkEEADjgDB05AAARAAARAQA0BOGA1nKEFBEAABEAABDIIwAFn4MAJCIAACIAACKghAAeshjO0gAAIgAAIgEAGATjgDBw4AQEQAAEQAAE1BOCA1XCGFhAAARAAARDIIAAHnIEDJyAAAiAAAiCghgAcsBrO0AICIAACIAACGQTggDNw4AQEQAAEQAAE1BCAA1bDGVpAAARAAARAIIMAHHAGDpyAAAiAAAiAgBoCcMBqOEMLCIAACIAACGQQgAPOwIETEAABEAABEFBDAA5YDWdoAQEQAAEQAIEMAnDAGThwAgIgAAIgAAJqCMABq+EMLSAAAiAAAiCQQQAOOAMHTkAABEAABEBADQE4YDWcoQUEQAAEQAAEMgjAAWfgwAkIgAAIgAAIqCEAB6yGM7SAAAiAAAiAQAYBOOAMHDgBARAAARAAATUE4IDVcIYWEAABEAABEMggAAecgQMnIAACIAACIKCGABywGs7QAgIgAAIgAAIZBOCAM3DgBARAAARAAATUEIADVsMZWkAABEAABEAggwAccAYOnIAACIAACICAGgJwwGo4QwsIgAAIgAAIZBCAA87AgRMQAAEQAAEQUEMADlgNZ2gBARAAARAAgQwCcMAZOHACAiAAAiAAAmoIwAGr4QwtIAACIAACIJBBAA44AwdOQAAEQAAEQEANAThgNZyhBQRAAARAAAQyCMABZ+DACQiAAAiAAAioIQAHrIYztIAACIAACIBABgE44AwcOAEBEAABEAABNQTggNVwhhYQAAEQAAEQyCAAB5yBAycgAAIgAAIgoIYAHLAaztACAiAAAiAAAhkE4IAzcOAEBEAABEAABNQQgANWwxlaQAAEQAAEQCCDABxwBg6cgAAIgAAIgIAaAnDAajhDCwiAAAiAAAhkEIADzsCBExAAARAAARBQQwAOWA1naAEBEAABEACBDAJwwBk4cAICIAACIAACagjAAavhDC0gAAIgAAIgkEEADjgDB05AAARAAARAQA0BOGA1nKEFBEAABEAABDIIwAFn4MAJCIAACIAACKghAAeshjO0gAAIgAAIgEAGATjgDBw4AQEQAAEQAAE1BOCA1XCGFhAAARAAARDIIAAHnIEDJyAAAiAAAiCghgAcsBrO0AICIAACIAACGQTggDNw4AQEQAAEQAAE1BCAA1bDGVpAAARAAARAIIMAHHAGDpyAAAiAAAiAgBoCcMBqOEMLCIAACIAACGQQgAPOwIETEAABEAABEFBDAA5YDWdoAQEQAAEQAIEMAnDAGThwAgIgAAIgAAJqCMABq+EMLSAAAiAAAiCQQQAOOAMHTkAABEAABEBADQE4YDWcoQUEQAAEQAAEMgjAAWfgwAkIgAAIgAAIqCEAB6yGM7SAAAiAAAiAQAYBOOAMHDgBARAAARAAATUE4IDVcIYWEAABEAABEMggAAecgQMnIAACIAACIKCGwP8HMXtRHzz6PSEAAAAASUVORK5CYII=",ze=pe(39116),qe=pe(35883),pt=pe(56102),Bt=pe(44164),vt=pe.n(Bt),yt=(ct,En,Rt)=>new Promise((be,de)=>{var le=he=>{try{Ie(Rt.next(he))}catch(We){de(We)}},ye=he=>{try{Ie(Rt.throw(he))}catch(We){de(We)}},Ie=he=>he.done?be(he.value):Promise.resolve(he.value).then(le,ye);Ie((Rt=Rt.apply(ct,En)).next())});const Nt=ct=>{const En=/```[a-z]*\n([\s\S]*?)```/g;return ct.replace(En,(Rt,be)=>`${be.trim()}`)},Et=(ct,En,Rt)=>{const be={markdown:"text/markdown",html:"text/html"},de=new Blob([ct],{type:be[Rt]}),le=URL.createObjectURL(de),ye=document.createElement("a");ye.href=le,ye.download=En,ye.click(),URL.revokeObjectURL(le)},pn=ct=>He()(ct).format("YYYY-MM-DD HH:mm:ss"),Pt=(ct,En,Rt)=>ct.map((be,de)=>` ${de!==0?`

${En}${pn(be.updated_at)}

${Nt(be.question)}
`:""}

${Rt}${pn(be.updated_at)}

${Nt(be.answer)}
`).join(""),St=(ct,En,Rt)=>ct.map((be,de)=>`${de!==0?`${En} ${pn(be.updated_at)} ${be.question} `:""}${Rt} ${pn(be.updated_at)} ${be.answer} `).join(""),jt=(ct,En)=>yt(void 0,null,function*(){const Rt=Pt(ct.data,ct.my_user_name,ct.user_name),be=St(ct.data,ct.my_user_name,ct.user_name),de=`export-id-${String(Math.random()).slice(-6)}`,le=`
${Rt}
`;if(En.key==="html")Et(le,`\u4E0E${ct.user_name}\u5BF9\u8BDD\u5185\u5BB9.html`,"html");else if(En.key==="markdown")Et(be,`\u4E0E${ct.user_name}\u5BF9\u8BDD\u5185\u5BB9.md`,"markdown");else if(En.key==="pdf"){const ye=Xe.default.info({icon:null,width:460,title:"\u63D0\u793A",content:"\u6B63\u5728\u5BFC\u51FAPDF\u4E2D...",maskClosable:!1,keyboard:!1,okButtonProps:{style:{display:"none"}}}),Ie=document.createElement("div");Ie.innerHTML=le.replaceAll("box-shadow","// box-shadow"),document.body.appendChild(Ie);const he=document.getElementById(de);if(!he){console.error("PDF \u5143\u7D20\u672A\u627E\u5230");return}he.style.width="auto",he.style.height="auto",he.style.position="initial";const We={html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1},jsPDF:{unit:"in",format:"letter",orientation:"portrait"},pagebreak:{mode:["avoid-all"]}};vt()().set(We).from(he).toPdf().get("pdf").save(`\u4E0E${ct.user_name}\u5BF9\u8BDD\u5185\u5BB9.pdf`).finally(()=>{ye.destroy(),document.body.removeChild(Ie)})}});var Je={cursor:"cursor___XqlqI"},lt=({text:ct,open:En=!1,onTextChange:Rt})=>{const[be,de]=(0,oe.useState)(""),[le,ye]=(0,oe.useState)(0),[Ie,he]=(0,oe.useState)(!0);return(0,oe.useEffect)(()=>{if(En)if(le{de(tt=>tt+ct[le]),ye(le+1),Rt()},50);return()=>clearTimeout(We)}else he(!0),Rt();else de(ct),ye(0),he(!0)},[le,ct,En]),oe.createElement(qe.Z,{value:be+(Ie?"":``)})},Fe={menuWrap:"menuWrap___GDodS",menuMask:"menuMask___dldKr",menu:"menu___OrkS3",itemTwo:"itemTwo___gOXTT",item:"item___XhZWJ",itemDisabled:"itemDisabled___pRoiI",menuWrapRight:"menuWrapRight___Tgo4N"},Zt=pe(70467),$e=pe(92310),At=pe.n($e),Te=({disabled:ct=!1,recoverDisabled:En=!1,onFileType:Rt,onRecover:be,onEmpty:de})=>{const[le,ye]=(0,oe.useState)(!1),[Ie,he]=(0,oe.useState)(!1),We=(0,oe.useRef)(null),tt=[{key:"html",label:"\u5BFC\u51FA\u6210HTML"},{key:"markdown",label:"\u5BFC\u51FA\u6210Markdown"},{key:"pdf",label:"\u5BFC\u51FA\u6210PDF"}],dn=()=>{if(!ct){if(We.current){const ut=We.current.getBoundingClientRect(),zt=window.innerWidth-ut.right;he(zt>300)}ye(!0)}};return console.log(Ie),oe.createElement("div",{ref:We,className:At()(Fe.menuWrap,Ie&&Fe.menuWrapRight),onMouseEnter:dn,onMouseLeave:()=>ye(!1)},oe.createElement(Zt.op,{disabled:ct},oe.createElement("i",{className:"iconfont icon-gengduo6 font12 mr5"}),"\u66F4\u591A\u64CD\u4F5C"),oe.createElement("div",{className:Fe.menuMask,style:{display:le?"block":"none"}},oe.createElement("div",{className:Fe.menu},oe.createElement("div",{className:Fe.itemOne},oe.createElement("div",{className:Fe.item,style:{cursor:"auto"}},oe.createElement("span",null,"\u5BFC\u51FA\u5BF9\u8BDD"),oe.createElement("div",{className:Fe.itemTwo},tt.map(ut=>oe.createElement("div",{key:ut.key,onClick:()=>{ye(!1),Rt(ut)},className:Fe.item},ut.label)))),En?oe.createElement("div",{className:Fe.itemDisabled},"\u6062\u590D\u5BF9\u8BDD"):oe.createElement("div",{onClick:ut=>{ye(!1),be(ut)},className:Fe.item},"\u6062\u590D\u5BF9\u8BDD"),oe.createElement("div",{onClick:ut=>{ye(!1),de(ut)},className:Fe.item},"\u6E05\u7A7A\u5BF9\u8BDD")))))},xe=pe(59301),It=Object.defineProperty,Cn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ct=(ct,En,Rt)=>En in ct?It(ct,En,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):ct[En]=Rt,_t=(ct,En)=>{for(var Rt in En||(En={}))mn.call(En,Rt)&&Ct(ct,Rt,En[Rt]);if(Cn)for(var Rt of Cn(En))Ze.call(En,Rt)&&Ct(ct,Rt,En[Rt]);return ct},In=(ct,En,Rt)=>new Promise((be,de)=>{var le=he=>{try{Ie(Rt.next(he))}catch(We){de(We)}},ye=he=>{try{Ie(Rt.throw(he))}catch(We){de(We)}},Ie=he=>he.done?be(he.value):Promise.resolve(he.value).then(le,ye);Ie((Rt=Rt.apply(ct,En)).next())}),Wn=({})=>{var ct,En,Rt,be;const{id:de,position:le}=(0,ke.oP)(),[ye,Ie]=(0,oe.useState)(!0),[he,We]=(0,oe.useState)(!1),tt=(0,oe.useRef)("bottomRight"),dn=(0,oe.useRef)();let[ut,zt]=(0,oe.useState)({});const[en,Sn]=(0,oe.useState)(Number(de)),[yn,ar]=(0,oe.useState)([]),[Mt,nn]=(0,oe.useState)(1),[ln,Un]=(0,oe.useState)(Number(le)),Nn=(0,oe.useRef)(Number(le)),[un,ir]=(0,oe.useState)([]),[Xn,Ft]=(0,oe.useState)(!1),[An,Qn]=(0,oe.useState)(!0),Jn=(0,oe.useRef)(null),nt=(0,oe.useRef)(1),[gt,Kt]=(0,oe.useState)({});let[vn,Rn]=(0,oe.useState)("");const[hr,$r]=(0,oe.useState)(!1),[Xr,vr]=(0,oe.useState)(!1),[lr]=(0,ce.useSearchParams)();(0,oe.useEffect)(()=>((0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!1}),()=>{(0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,oe.useEffect)(()=>{Dr()},[]),(0,oe.useEffect)(()=>{Jn.current.scrollTop=Jn.current.scrollHeight},[Mt]),(0,oe.useEffect)(()=>{const Xt=document.getElementById("wechat_QR_code_ids");return Xt.classList.add("hide"),()=>{Xt.classList.remove("hide")}},[]);const Dr=()=>In(void 0,null,function*(){var Xt,Kn;const Lr=yield(0,Pe.ZP)("/api/chats.json",{method:"post",body:{to_user_id:de}});if((Lr==null?void 0:Lr.status)===0){const wr=yield(0,Pe.ZP)("/api/chats.json",{method:"get",params:{to_user_id:de,challenge_id:Number(le)||""}});if(wr!=null&&wr.data){Qn(!1),ar((wr==null?void 0:wr.data)||[]);const Lt=(Kn=(Xt=wr==null?void 0:wr.data)==null?void 0:Xt.find(Vt=>Vt.to_user_id===Number(de)))==null?void 0:Kn.id;Sn(Lt),rr(Lt),_n(Lt,le)}}}),rr=Xt=>In(void 0,null,function*(){const Kn=yield(0,Pe.ZP)("/api/chats/challenge_list.json",{method:"get",params:{id:Xt,challenge_id:ln||""}});Kn!=null&&Kn.challenges&&ir([{id:0,subject:"\u5168\u90E8"},...Kn.challenges])}),Tn=(Xt,Kn)=>In(void 0,null,function*(){const Lr=yield(0,Pe.ZP)("/api/chats.json",{method:"get",params:{to_user_id:Xt,challenge_id:Kn||""}});Lr!=null&&Lr.data&&ar((Lr==null?void 0:Lr.data)||[]),Qn(!1)}),_n=(Xt,Kn,Lr)=>In(void 0,null,function*(){var wr;Ie(!0);const Lt=yield(0,Pe.ZP)(`/api/chats/${Xt}.json`,{method:"get",params:{challenge_id:Number(Kn)||""}});if(Lt!=null&&Lt.data){Lr&&(Lt.data[Lt.data.length-1].open=!0),Kt(_t({},Lt)||{}),Ft(!0),We(!1);const Vt=(wr=yn==null?void 0:yn.find(ot=>ot.id===Xt))==null?void 0:wr.to_user_id;window.location.host==="gpt.educoder.net"?lr.get("homeworkId")?ce.history.replace(`/chatgpt?id=0&position=0&homeworkId=${lr.get("homeworkId")}`):ce.history.replace("/chatgpt?id=0&position=0"):lr.get("homeworkId")?ce.history.replace(`/chatgpt?id=${Vt||de}&position=${Kn}&homeworkId=${lr.get("homeworkId")}`):ce.history.replace(`/chatgpt?id=${Vt||de}&position=${Kn}`),Lr&&(nn(Math.random()),Tn(Vt,Kn))}Ie(!1)}),Ln=Xt=>{var Kn;Rn(Xt),(Kn=Xt==null?void 0:Xt.trim())==null||Kn.length},mr=Xt=>{nt.current=nt.current+1,Sn(Xt),Un(0),Rn(""),We(!1),_n(Xt,0),rr(Xt)},cr=()=>In(void 0,null,function*(){var Xt;if(vn.trim().length===0){qt.ZP.error("\u4E0D\u80FD\u8F93\u5165\u7EAF\u7A7A\u683C");return}if(!vn){qt.ZP.warning("\u8BF7\u8F93\u5165\u4F60\u8981\u95EE\u7684\u95EE\u9898");return}We(!0);const Kn=He()().format("YYYY-MM-DDTHH:mm:ss.SSSZ"),Lr=_t({},gt);(Xt=Lr==null?void 0:Lr.data)==null||Xt.push({id:0,updated_at:Kn,question:vn,answer:xe.createElement("div",{className:Me.animation},"\u8001\u5E08\u6B63\u5728\u56DE\u7B54\u4E2D\uFF0C\u8BF7\u7A0D\u540E")}),Kt(Lr),nn(Mt+1),Rn(""),nt.current=nt.current+1;const wr=nt.current,Lt=yield(0,Pe.ZP)("/api/chats/get_answer",{method:"post",body:{chat_id:en,to_user_id:de,question:vn,challenge_id:ln||"",time:Kn}});wr===nt.current&&(Lt==null?void 0:Lt.status)===0&&_n(en,ln,!0)}),pr=()=>{_n(en,ln),Tn(de,ln),$r(!1)},Rr=(Xt,Kn,Lr="")=>In(void 0,null,function*(){Ie(!0);let wr={};lr.get("homeworkId")?wr={id:Xt,satisfied:Kn,content:Lr,homework_common_id:lr.get("homeworkId")}:wr={id:Xt,satisfied:Kn,content:Lr};const Lt=yield(0,Pe.ZP)("/api/chats/praise.json",{method:"post",body:wr});(Lt==null?void 0:Lt.status)===0&&_n(en,ln)}),Wr=Xt=>{Xt.shiftKey&&Xt.keyCode===13||Xt.keyCode===13&&(Xt.preventDefault(),cr())},Gr=Xt=>In(void 0,null,function*(){Xe.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u8BE5\u95EE\u7B54\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF1F",onOk:()=>In(void 0,null,function*(){(yield(0,Pe.ZP)("/api/chats/delete_one.json",{method:"delete",body:{id:Xt}})).status===0&&(qt.ZP.success("\u5220\u9664\u6210\u529F"),_n(en,ln))})})}),ai=()=>In(void 0,null,function*(){Ie(!0),nt.current=nt.current+1,(yield(0,Pe.ZP)("/api/chats/stop_one.json",{method:"delete",body:{challenge_id:ln,id:en}})).status===0&&_n(en,ln),Ie(!1)}),ti=[`\u8BF7${gt==null?void 0:gt.user_name}\u8001\u5E08\u5C1D\u8BD5\u518D\u56DE\u7B54\u4E00\u6B21`,"\u53EF\u80FD\u542F\u7528\u4E86\u673A\u5668\u4EBA\uFF0C\u8BF7\u8001\u5E08\u4EB2\u81EA\u56DE\u7B54"],xi=Xt=>{jt(gt,Xt)},mi=()=>{};return xe.createElement("div",{className:Me.wrap},xe.createElement("div",{className:Me.head},xe.createElement("b",null,"\u5B9E\u8BAD >"),"\u6559\u5B66\u8F85\u5BFC\uFF08beta\u7248\u672C\uFF09"),xe.createElement("div",{className:Me.content},xe.createElement(Ht.Z,{spinning:An},xe.createElement("div",{className:Me.left,onClick:()=>{vr(!1)}},xe.createElement("div",{className:Me.title},xe.createElement("span",null,"\u95EE\u7B54\u5217\u8868"),xe.createElement("div",{className:At()(Me.add,he&&Me.disabledElement),onClick:()=>In(void 0,null,function*(){if(he)return;Qn(!0);const Xt=yield(0,Pe.ZP)("/api/chats.json",{method:"post",body:{to_user_id:de,new_chat:!0}});if(Xt.status===0){const Kn=Xt==null?void 0:Xt.id;if(Kn===en){qt.ZP.warning("\u5F53\u524D\u5DF2\u7ECF\u5728\u65B0\u5BF9\u8BDD\u7A97\u53E3"),Qn(!1);return}yield Tn(-1,0),Sn(Kn),Un(0),yield _n(Kn,0)}Qn(!1)})})),xe.createElement("div",{className:Me.leftBar},yn.map(Xt=>xe.createElement("div",{key:Xt.id,onClick:()=>mr(Xt.id),className:`${Me.li} ${Xt.id===en?Me.active:""}`},Xt!=null&&Xt.avatar?xe.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/${Xt==null?void 0:Xt.avatar}`}):xe.createElement("img",{src:Ge}),xe.createElement("aside",null,xe.createElement("p",null,xe.createElement("b",{title:Xt.user_name},Xt.user_name),xe.createElement("span",null,Xt.time)),xe.createElement("div",null,Xt.last_message))))))),xe.createElement("div",{className:Me.right},Xn&&xe.createElement("div",{className:Me.title,onClick:()=>{vr(!1)}},xe.createElement("section",{className:Me.center},xe.createElement("span",null,"\u4E0E",gt==null?void 0:gt.user_name,"\u8001\u5E08\u6C9F\u901A\u4E2D\u2026"),xe.createElement("div",{className:Me.tabs},xe.createElement("i",{className:"iconfont icon-lianjie3"}),xe.createElement("span",null,"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",gt!=null&>.challenge_name?`${(En=(ct=gt==null?void 0:gt.data[0])==null?void 0:ct.shixun)==null?void 0:En.name} \u5B9E\u8BAD---\u7B2C${gt==null?void 0:gt.challenge_position}\u5173`:"\u5168\u90E8"),xe.createElement("span",{onClick:()=>{he||(Nn.current=ln,$r(!0))},className:At()(Me.cut,he&&Me.disabledElement)},"\u5207\u6362")),xe.createElement(Te,{disabled:he,recoverDisabled:!(gt!=null&>.can_recycle),onFileType:xi,onRecover:()=>In(void 0,null,function*(){Ie(!0),(yield(0,Pe.ZP)("/api/chats/recycle.json",{method:"post",body:{challenge_id:ln,id:en}})).status===0&&(qt.ZP.success("\u6062\u590D\u5BF9\u8BDD\u6210\u529F"),Tn(de,ln),_n(en,ln)),Ie(!1)}),onEmpty:()=>{Xe.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u5F53\u524D\u5BF9\u8BDD\u7A97\u53E3\u4E2D\u7684\u5BF9\u8BDD\u5185\u5BB9\u5168\u90E8\u6E05\u7A7A\uFF1F",onOk:()=>In(void 0,null,function*(){(yield(0,Pe.ZP)("/api/chats/clean.json",{method:"delete",body:{challenge_id:ln,id:en}})).status===0&&(qt.ZP.success("\u6E05\u7A7A\u5BF9\u8BDD\u6210\u529F"),Tn(de,ln),_n(en,ln))})})}}))),xe.createElement("div",{onClick:()=>{vr(!1)},className:Me.rightBar,ref:Jn},xe.createElement(Ht.Z,{spinning:ye},!((Rt=gt==null?void 0:gt.data)!=null&&Rt.length)&&xe.createElement("div",{className:Me.empty}),(be=gt==null?void 0:gt.data)==null?void 0:be.map((Xt,Kn)=>{var Lr,wr,Lt;return xe.createElement(oe.Fragment,{key:Kn},!!Xt.question&&xe.createElement("div",{className:Me.li},xe.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/${gt==null?void 0:gt.my_avatar}`,style:{borderRadius:"50%",width:56,height:56}}),xe.createElement("aside",null,xe.createElement("p",null,xe.createElement("b",null,gt.my_user_name),xe.createElement("span",null,He()(Xt.updated_at).format("YYYY-MM-DD HH:mm"))),xe.createElement(qe.Z,{value:Xt.question}),xe.createElement("div",{className:Me.action},xe.createElement(pt.CopyToClipboard,{text:Xt.question,onCopy:()=>qt.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},xe.createElement("div",{className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!he&&xe.createElement("div",{onClick:()=>Gr(Xt.id),className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")))),!!Xt.answer&&xe.createElement("div",{style:Kn===0?{borderTop:0}:{},className:`${Me.li} ${Me.active}`},gt!=null&>.avatar?xe.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/${gt==null?void 0:gt.avatar}`,style:{borderRadius:"50%",width:56,height:56}}):xe.createElement("img",{src:Ge,style:{borderRadius:"50%",width:56,height:56}}),xe.createElement("aside",null,xe.createElement("p",null,xe.createElement("div",{style:{display:"flex"}},xe.createElement("b",{style:{marginRight:"20px"}},gt.user_name),(Lr=Xt.shixun)!=null&&Lr.name?xe.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",(wr=Xt.shixun)==null?void 0:wr.name," \u5B9E\u8BAD---\u7B2C",(Lt=Xt.challenge)==null?void 0:Lt.position,"\u5173"):xe.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A\u5168\u90E8")),xe.createElement("span",null,He()(Xt.updated_at).format("YYYY-MM-DD HH:mm"))),Xt.id===0?Xt.answer:xe.createElement(lt,{onTextChange:mi,open:!!(Xt!=null&&Xt.open),text:Xt.answer}),Xt.id===0&&xe.createElement("div",{className:Me.action},xe.createElement("div",{onClick:ai,className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-tingzhishengcheng"}),"\u505C\u6B62\u751F\u6210")),(Xt==null?void 0:Xt.id)!==0&&xe.createElement("div",{className:Me.action},!!Xt.question&&xe.createElement(xe.Fragment,null,xe.createElement("div",{onClick:()=>{vn=Xt.question,cr()},className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-zhongxinshengcheng"}),"\u91CD\u65B0\u751F\u6210"),xe.createElement(pt.CopyToClipboard,{text:Xt.answer,onCopy:()=>qt.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},xe.createElement("div",{className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!he&&xe.createElement("div",{onClick:()=>Gr(Xt.id),className:Me.tagBtn},xe.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")),xe.createElement("span",{style:{marginLeft:"auto"},onClick:()=>{Rr(Xt.id,Xt.satisfied===1?-1:1)},className:`mr30 ${Xt.satisfied===1?Me.actActive:""}`},xe.createElement("i",{className:"iconfont icon-yijiejue"}),"\u5DF2\u89E3\u51B3"),xe.createElement(rt.Z,{autoAdjustOverflow:!1,destroyTooltipOnHide:!0,open:ut[Kn],getPopupContainer:Vt=>Vt,placement:tt.current,content:xe.createElement("div",{className:Me.box,onMouseLeave:Vt=>{clearTimeout(dn.current),ut[Kn]=!1,zt(_t({},ut))},onMouseOver:()=>{clearTimeout(dn.current)}},xe.createElement("p",null,"\u62B1\u6B49\u8BA9\u4F60\u5931\u671B\u4E86\uFF0C\u8BF7\u7EE7\u7EED\u5C1D\u8BD5\uFF1A"),ti.map((Vt,ot)=>{const kt=Vt===Xt.content;return xe.createElement("div",{onClick:()=>{Rr(Xt.id,kt?-1:0,kt?"":Vt)},className:kt?Me.hot:"",key:Vt},Vt)}))},xe.createElement("span",{onMouseOver:Vt=>{clearTimeout(dn.current),window.innerHeight-Vt.target.getBoundingClientRect().top<350?tt.current="topRight":tt.current="bottomRight",ut={},ut[Kn]=!0,zt(_t({},ut))},onMouseOut:Vt=>{dn.current=setTimeout(()=>{clearTimeout(dn.current),ut[Kn]=!1,zt(_t({},ut))},800)},className:`${Me.unsolved} ${Xt.satisfied===0?Me.actActive:""}`},xe.createElement("i",{className:"iconfont icon-weijiejuezhengchang"}),"\u672A\u89E3\u51B3"))))))}))),Xn&&xe.createElement("div",{className:Me.answers},!Xr&&xe.createElement("div",{className:Me.open_md,onClick:()=>{vr(!0)}},"\u8BF7\u8F93\u5165\u4F60\u7684\u95EE\u9898"),xe.createElement("div",{className:Xr?"md_container":"md_container hide",style:{marginTop:20}},xe.createElement(ze.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:vn,height:240,width:1e3,onChange:Ln,className:Me.md_editor}),xe.createElement("div",{className:Me.tip_container,style:{display:"flex"},onClick:()=>{vr(!1)}},xe.createElement("div",{className:Me.btn_send,onClick:cr},"\u53D1\u9001")))))),xe.createElement(Xe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,onCancel:()=>{Un(Nn.current),$r(!1)},onOk:pr,open:hr,wrapClassName:Ve.Z.CustomCss,title:"\u66F4\u6362\u5173\u8054",width:"666px"},xe.createElement("div",null,xe.createElement(at.ZP.Group,{value:ln,onChange:Xt=>Un(Xt.target.value)},xe.createElement(Dt.Z,{direction:"vertical"},un==null?void 0:un.map(Xt=>{var Kn;return xe.createElement(at.ZP,{key:Xt.id,value:Xt.id},Xt.id===0?Xt.subject:`${(Kn=Xt.shixun)==null?void 0:Kn.name} \u5B9E\u8BAD---\u7B2C${Xt==null?void 0:Xt.challenge_position}\u5173`)}))))))}},20047:function(gr,zn,pe){"use strict";pe.d(zn,{AL:function(){return vt},Iy:function(){return ke},Qv:function(){return Ke},ez:function(){return Bt},jb:function(){return Le}});var oe=pe(32834),qt=pe.n(oe),Xe=pe(11690),Ht=pe.n(Xe);let rt=1;function at(Pt,St){const jt=Pt.match(/^(\s+)(?:```)/);if(jt===null)return St;const Je=jt[1];return St.split(` `).map(wt=>{const lt=wt.match(/^\s+/);if(lt===null)return wt;const[Fe]=lt;return Fe.length>=Je.length?wt.slice(Je.length):wt}).join(` `)}let Dt=[],Me=["
    "];const Pe=new(qt()).Renderer,ce=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function ke(){Dt.length=0,Me=["
      "]}const Le={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Ve(Pt,St,jt,Je){if(St>=Pt.length||Pt[St].level<=jt)return St;var wt=Pt[St];Je.push("
    • "+wt.text+""),St++;var lt=[];return St=Ve(Pt,St,wt.level,lt),lt.length>0&&(Je.push("
        "),lt.forEach(function(Fe){Je.push(Fe)}),Je.push("
      ")),Je.push("
    • "),St=Ve(Pt,St,jt,Je),St}function Ke(){return Ve(Dt,0,0,Me),Me.push("
    "),Me.join("")}const He={heading(Pt){const St=ce.exec(Pt);if(rt+=1,St)return{type:"heading",raw:St[0],depth:St[1].length,text:St[2]}},fences(Pt){const St=this.rules.block.fences.exec(Pt);if(St){const jt=St[0];let Je=at(jt,St[3]||"");const wt=St[2]?St[2].trim():St[2];if(["latex","katex","math"].indexOf(wt)>=0){const lt=qe(),Fe=Je;Je=lt,pt[lt]={type:"block",expression:Fe}}return{type:"code",raw:jt,lang:wt,text:Je}}}},Ge=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ze=0;const qe=()=>`__special_katext_id_${ze++}__`;let pt={};function Bt(){return pt}function vt(){ze=0,pt={}}function yt(Pt){return Pt=Pt.replace(Ge,(St,jt)=>{const Je=qe();return pt[Je]={type:"inline",expression:jt},Je}),Pt}const Nt=Pe.listitem;Pe.listitem=function(Pt){return Nt(yt(Pt))};const Et=Pe.paragraph;Pe.paragraph=function(Pt){return Et(yt(Pt))};const pn=Pe.tablecell;Pe.tablecell=function(Pt,St){return pn(yt(Pt),St)},Pe.code=function(Pt,St,jt){const Je=(St||"").match(/\S*/)[0];return Je?["latex","katex","math"].indexOf(Je)>=0?`

    ${Pt}

    `:`
    ${jt?Pt:(0,Xe.escape)(Pt,!0)}
    `:'
    '+(jt?Pt:(0,Xe.escape)(Pt,!0))+"
    "},Pe.heading=function(Pt,St,jt){let Je=this.options.headerPrefix+jt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Dt.push({anchor:Je,level:St,text:Pt}),"'+Pt+""},qt().setOptions({silent:!0,gfm:!0,pedantic:!1}),qt().use({tokenizer:He,renderer:Pe}),zn.ZP=qt()},86013:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(19248);const Xe=Ht=>{let rt;return typeof Ht=="object"&&(Ht!=null&&Ht.clearIcon)?rt=Ht:Ht&&(rt={clearIcon:oe.createElement(qt.Z,null)}),rt};zn.Z=Xe},54500:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return oe}});const oe=qt=>qt?typeof qt=="function"?qt():qt:null},38406:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(48755),Xe=pe(584);const Ht=rt=>{const{componentName:at}=rt,{getPrefixCls:Dt}=(0,oe.useContext)(qt.E_),Me=Dt("empty");switch(at){case"Table":case"List":return oe.createElement(Xe.Z,{image:Xe.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return oe.createElement(Xe.Z,{image:Xe.Z.PRESENTED_IMAGE_SIMPLE,className:`${Me}-small`});case"Table.filter":return null;default:return oe.createElement(Xe.Z,null)}};zn.Z=Ht},36207:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return dn}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(85899),rt=pe(72190),at=pe(43403),Dt=pe(34280),Me=oe.createContext(null),Pe=oe.createContext({}),ce=Me,ke=pe(18642),Le=pe(60499),Ve=pe(77900),Ke=pe(10228),He=pe(26112),Ge=pe(42244),ze=pe(8654),qe=["prefixCls","className","containerRef"],pt=function(zt){var en=zt.prefixCls,Sn=zt.className,yn=zt.containerRef,ar=(0,Ge.Z)(zt,qe),Mt=oe.useContext(Pe),nn=Mt.panel,ln=(0,ze.x1)(nn,yn);return oe.createElement("div",(0,Le.Z)({className:Xe()("".concat(en,"-content"),Sn),role:"dialog",ref:ln},(0,He.Z)(zt,{aria:!0}),{"aria-modal":"true"},ar))},Bt=pt,vt=pe(48736);function yt(ut){return typeof ut=="string"&&String(Number(ut))===ut?((0,vt.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ut)):ut}function Nt(ut){warning(!("wrapperClassName"in ut),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ut.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Et={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function pn(ut,zt){var en,Sn,yn,ar=ut.prefixCls,Mt=ut.open,nn=ut.placement,ln=ut.inline,Un=ut.push,Nn=ut.forceRender,un=ut.autoFocus,ir=ut.keyboard,Xn=ut.classNames,Ft=ut.rootClassName,An=ut.rootStyle,Qn=ut.zIndex,Jn=ut.className,nt=ut.id,gt=ut.style,Kt=ut.motion,vn=ut.width,Rn=ut.height,hr=ut.children,$r=ut.mask,Xr=ut.maskClosable,vr=ut.maskMotion,lr=ut.maskClassName,Dr=ut.maskStyle,rr=ut.afterOpenChange,Tn=ut.onClose,_n=ut.onMouseEnter,Ln=ut.onMouseOver,mr=ut.onMouseLeave,cr=ut.onClick,pr=ut.onKeyDown,Rr=ut.onKeyUp,Wr=ut.styles,Gr=ut.drawerRender,ai=oe.useRef(),ti=oe.useRef(),xi=oe.useRef();oe.useImperativeHandle(zt,function(){return ai.current});var mi=function(Zn){var Mn=Zn.keyCode,Ur=Zn.shiftKey;switch(Mn){case Ke.Z.TAB:{if(Mn===Ke.Z.TAB){if(!Ur&&document.activeElement===xi.current){var si;(si=ti.current)===null||si===void 0||si.focus({preventScroll:!0})}else if(Ur&&document.activeElement===ti.current){var ei;(ei=xi.current)===null||ei===void 0||ei.focus({preventScroll:!0})}}break}case Ke.Z.ESC:{Tn&&ir&&(Zn.stopPropagation(),Tn(Zn));break}}};oe.useEffect(function(){if(Mt&&un){var dr;(dr=ai.current)===null||dr===void 0||dr.focus({preventScroll:!0})}},[Mt]);var Xt=oe.useState(!1),Kn=(0,rt.Z)(Xt,2),Lr=Kn[0],wr=Kn[1],Lt=oe.useContext(ce),Vt;typeof Un=="boolean"?Vt=Un?{}:{distance:0}:Vt=Un||{};var ot=(en=(Sn=(yn=Vt)===null||yn===void 0?void 0:yn.distance)!==null&&Sn!==void 0?Sn:Lt==null?void 0:Lt.pushDistance)!==null&&en!==void 0?en:180,kt=oe.useMemo(function(){return{pushDistance:ot,push:function(){wr(!0)},pull:function(){wr(!1)}}},[ot]);oe.useEffect(function(){if(Mt){var dr;Lt==null||(dr=Lt.push)===null||dr===void 0||dr.call(Lt)}else{var Zn;Lt==null||(Zn=Lt.pull)===null||Zn===void 0||Zn.call(Lt)}},[Mt]),oe.useEffect(function(){return function(){var dr;Lt==null||(dr=Lt.pull)===null||dr===void 0||dr.call(Lt)}},[]);var ft=$r&&oe.createElement(Ve.default,(0,Le.Z)({key:"mask"},vr,{visible:Mt}),function(dr,Zn){var Mn=dr.className,Ur=dr.style;return oe.createElement("div",{className:Xe()("".concat(ar,"-mask"),Mn,Xn==null?void 0:Xn.mask,lr),style:(0,Ht.Z)((0,Ht.Z)((0,Ht.Z)({},Ur),Dr),Wr==null?void 0:Wr.mask),onClick:Xr&&Mt?Tn:void 0,ref:Zn})}),Gt=typeof Kt=="function"?Kt(nn):Kt,Fn={};if(Lr&&ot)switch(nn){case"top":Fn.transform="translateY(".concat(ot,"px)");break;case"bottom":Fn.transform="translateY(".concat(-ot,"px)");break;case"left":Fn.transform="translateX(".concat(ot,"px)");break;default:Fn.transform="translateX(".concat(-ot,"px)");break}nn==="left"||nn==="right"?Fn.width=yt(vn):Fn.height=yt(Rn);var xr={onMouseEnter:_n,onMouseOver:Ln,onMouseLeave:mr,onClick:cr,onKeyDown:pr,onKeyUp:Rr},Or=oe.createElement(Ve.default,(0,Le.Z)({key:"panel"},Gt,{visible:Mt,forceRender:Nn,onVisibleChanged:function(Zn){rr==null||rr(Zn)},removeOnLeave:!1,leavedClassName:"".concat(ar,"-content-wrapper-hidden")}),function(dr,Zn){var Mn=dr.className,Ur=dr.style,si=oe.createElement(Bt,(0,Le.Z)({id:nt,containerRef:Zn,prefixCls:ar,className:Xe()(Jn,Xn==null?void 0:Xn.content),style:(0,Ht.Z)((0,Ht.Z)({},gt),Wr==null?void 0:Wr.content)},(0,He.Z)(ut,{aria:!0}),xr),hr);return oe.createElement("div",(0,Le.Z)({className:Xe()("".concat(ar,"-content-wrapper"),Xn==null?void 0:Xn.wrapper,Mn),style:(0,Ht.Z)((0,Ht.Z)((0,Ht.Z)({},Fn),Ur),Wr==null?void 0:Wr.wrapper)},(0,He.Z)(ut,{data:!0})),Gr?Gr(si):si)}),kr=(0,Ht.Z)({},An);return Qn&&(kr.zIndex=Qn),oe.createElement(ce.Provider,{value:kt},oe.createElement("div",{className:Xe()(ar,"".concat(ar,"-").concat(nn),Ft,(0,ke.Z)((0,ke.Z)({},"".concat(ar,"-open"),Mt),"".concat(ar,"-inline"),ln)),style:kr,tabIndex:-1,ref:ai,onKeyDown:mi},ft,oe.createElement("div",{tabIndex:0,ref:ti,style:Et,"aria-hidden":"true","data-sentinel":"start"}),Or,oe.createElement("div",{tabIndex:0,ref:xi,style:Et,"aria-hidden":"true","data-sentinel":"end"})))}var Pt=oe.forwardRef(pn),St=Pt,jt=function(zt){var en=zt.open,Sn=en===void 0?!1:en,yn=zt.prefixCls,ar=yn===void 0?"rc-drawer":yn,Mt=zt.placement,nn=Mt===void 0?"right":Mt,ln=zt.autoFocus,Un=ln===void 0?!0:ln,Nn=zt.keyboard,un=Nn===void 0?!0:Nn,ir=zt.width,Xn=ir===void 0?378:ir,Ft=zt.mask,An=Ft===void 0?!0:Ft,Qn=zt.maskClosable,Jn=Qn===void 0?!0:Qn,nt=zt.getContainer,gt=zt.forceRender,Kt=zt.afterOpenChange,vn=zt.destroyOnClose,Rn=zt.onMouseEnter,hr=zt.onMouseOver,$r=zt.onMouseLeave,Xr=zt.onClick,vr=zt.onKeyDown,lr=zt.onKeyUp,Dr=zt.panelRef,rr=oe.useState(!1),Tn=(0,rt.Z)(rr,2),_n=Tn[0],Ln=Tn[1],mr=oe.useState(!1),cr=(0,rt.Z)(mr,2),pr=cr[0],Rr=cr[1];(0,Dt.Z)(function(){Rr(!0)},[]);var Wr=pr?Sn:!1,Gr=oe.useRef(),ai=oe.useRef();(0,Dt.Z)(function(){Wr&&(ai.current=document.activeElement)},[Wr]);var ti=function(Lr){var wr;if(Ln(Lr),Kt==null||Kt(Lr),!Lr&&ai.current&&!((wr=Gr.current)!==null&&wr!==void 0&&wr.contains(ai.current))){var Lt;(Lt=ai.current)===null||Lt===void 0||Lt.focus({preventScroll:!0})}},xi=oe.useMemo(function(){return{panel:Dr}},[Dr]);if(!gt&&!_n&&!Wr&&vn)return null;var mi={onMouseEnter:Rn,onMouseOver:hr,onMouseLeave:$r,onClick:Xr,onKeyDown:vr,onKeyUp:lr},Xt=(0,Ht.Z)((0,Ht.Z)({},zt),{},{open:Wr,prefixCls:ar,placement:nn,autoFocus:Un,keyboard:un,width:Xn,mask:An,maskClosable:Jn,inline:nt===!1,afterOpenChange:ti,ref:Gr},mi);return oe.createElement(Pe.Provider,{value:xi},oe.createElement(at.Z,{open:Wr||gt||_n,autoDestroy:!1,getContainer:nt,autoLock:An&&(Wr||_n)},oe.createElement(St,Xt)))},Je=jt,wt=Je,lt=pe(62487),Fe=pe(75030),Zt=pe(86641),$e=pe(55743),At=pe(48755),Qt=pe(91190),Te=pe(78776),xe=pe(458),Cn=ut=>{var zt,en;const{prefixCls:Sn,title:yn,footer:ar,extra:Mt,loading:nn,onClose:ln,headerStyle:Un,bodyStyle:Nn,footerStyle:un,children:ir,classNames:Xn,styles:Ft}=ut,An=(0,At.dj)("drawer"),Qn=oe.useCallback(vn=>oe.createElement("button",{type:"button",onClick:ln,"aria-label":"Close",className:`${Sn}-close`},vn),[ln]),[Jn,nt]=(0,Te.Z)((0,Te.w)(ut),(0,Te.w)(An),{closable:!0,closeIconRender:Qn}),gt=oe.useMemo(()=>{var vn,Rn;return!yn&&!Jn?null:oe.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(vn=An.styles)===null||vn===void 0?void 0:vn.header),Un),Ft==null?void 0:Ft.header),className:Xe()(`${Sn}-header`,{[`${Sn}-header-close-only`]:Jn&&!yn&&!Mt},(Rn=An.classNames)===null||Rn===void 0?void 0:Rn.header,Xn==null?void 0:Xn.header)},oe.createElement("div",{className:`${Sn}-header-title`},nt,yn&&oe.createElement("div",{className:`${Sn}-title`},yn)),Mt&&oe.createElement("div",{className:`${Sn}-extra`},Mt))},[Jn,nt,Mt,Un,Sn,yn]),Kt=oe.useMemo(()=>{var vn,Rn;if(!ar)return null;const hr=`${Sn}-footer`;return oe.createElement("div",{className:Xe()(hr,(vn=An.classNames)===null||vn===void 0?void 0:vn.footer,Xn==null?void 0:Xn.footer),style:Object.assign(Object.assign(Object.assign({},(Rn=An.styles)===null||Rn===void 0?void 0:Rn.footer),un),Ft==null?void 0:Ft.footer)},ar)},[ar,un,Sn]);return oe.createElement(oe.Fragment,null,gt,oe.createElement("div",{className:Xe()(`${Sn}-body`,Xn==null?void 0:Xn.body,(zt=An.classNames)===null||zt===void 0?void 0:zt.body),style:Object.assign(Object.assign(Object.assign({},(en=An.styles)===null||en===void 0?void 0:en.body),Nn),Ft==null?void 0:Ft.body)},nn?oe.createElement(xe.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Sn}-body-skeleton`}):ir),Kt)},mn=pe(36237),Ze=pe(63356),Ct=pe(16931),_t=pe(51636);const In=ut=>{const zt="100%";return{left:`translateX(-${zt})`,right:`translateX(${zt})`,top:`translateY(-${zt})`,bottom:`translateY(${zt})`}[ut]},xn=(ut,zt)=>({"&-enter, &-appear":Object.assign(Object.assign({},ut),{"&-active":zt}),"&-leave":Object.assign(Object.assign({},zt),{"&-active":ut})}),Wn=(ut,zt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${zt}`}}},xn({opacity:ut},{opacity:1})),ct=(ut,zt)=>[Wn(.7,zt),xn({transform:In(ut)},{transform:"none"})];var Rt=ut=>{const{componentCls:zt,motionDurationSlow:en}=ut;return{[zt]:{[`${zt}-mask-motion`]:Wn(0,en),[`${zt}-panel-motion`]:["left","right","top","bottom"].reduce((Sn,yn)=>Object.assign(Object.assign({},Sn),{[`&-${yn}`]:ct(yn,en)}),{})}}};const be=ut=>{const{borderRadiusSM:zt,componentCls:en,zIndexPopup:Sn,colorBgMask:yn,colorBgElevated:ar,motionDurationSlow:Mt,motionDurationMid:nn,paddingXS:ln,padding:Un,paddingLG:Nn,fontSizeLG:un,lineHeightLG:ir,lineWidth:Xn,lineType:Ft,colorSplit:An,marginXS:Qn,colorIcon:Jn,colorIconHover:nt,colorBgTextHover:gt,colorBgTextActive:Kt,colorText:vn,fontWeightStrong:Rn,footerPaddingBlock:hr,footerPaddingInline:$r,calc:Xr}=ut,vr=`${en}-content-wrapper`;return{[en]:{position:"fixed",inset:0,zIndex:Sn,pointerEvents:"none",color:vn,"&-pure":{position:"relative",background:ar,display:"flex",flexDirection:"column",[`&${en}-left`]:{boxShadow:ut.boxShadowDrawerLeft},[`&${en}-right`]:{boxShadow:ut.boxShadowDrawerRight},[`&${en}-top`]:{boxShadow:ut.boxShadowDrawerUp},[`&${en}-bottom`]:{boxShadow:ut.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${en}-mask`]:{position:"absolute",inset:0,zIndex:Sn,background:yn,pointerEvents:"auto"},[vr]:{position:"absolute",zIndex:Sn,maxWidth:"100vw",transition:`all ${Mt}`,"&-hidden":{display:"none"}},[`&-left > ${vr}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ut.boxShadowDrawerLeft},[`&-right > ${vr}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ut.boxShadowDrawerRight},[`&-top > ${vr}`]:{top:0,insetInline:0,boxShadow:ut.boxShadowDrawerUp},[`&-bottom > ${vr}`]:{bottom:0,insetInline:0,boxShadow:ut.boxShadowDrawerDown},[`${en}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ar,pointerEvents:"auto"},[`${en}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,mn.unit)(Un)} ${(0,mn.unit)(Nn)}`,fontSize:un,lineHeight:ir,borderBottom:`${(0,mn.unit)(Xn)} ${Ft} ${An}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${en}-extra`]:{flex:"none"},[`${en}-close`]:Object.assign({display:"inline-flex",width:Xr(un).add(ln).equal(),height:Xr(un).add(ln).equal(),borderRadius:zt,justifyContent:"center",alignItems:"center",marginInlineEnd:Qn,color:Jn,fontWeight:Rn,fontSize:un,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${nn}`,textRendering:"auto","&:hover":{color:nt,backgroundColor:gt,textDecoration:"none"},"&:active":{backgroundColor:Kt}},(0,Ze.Qy)(ut)),[`${en}-title`]:{flex:1,margin:0,fontWeight:ut.fontWeightStrong,fontSize:un,lineHeight:ir},[`${en}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Nn,overflow:"auto",[`${en}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${en}-footer`]:{flexShrink:0,padding:`${(0,mn.unit)(hr)} ${(0,mn.unit)($r)}`,borderTop:`${(0,mn.unit)(Xn)} ${Ft} ${An}`},"&-rtl":{direction:"rtl"}}}},de=ut=>({zIndexPopup:ut.zIndexPopupBase,footerPaddingBlock:ut.paddingXS,footerPaddingInline:ut.padding});var le=(0,Ct.I$)("Drawer",ut=>{const zt=(0,_t.mergeToken)(ut,{});return[be(zt),Rt(zt)]},de),ye=function(ut,zt){var en={};for(var Sn in ut)Object.prototype.hasOwnProperty.call(ut,Sn)&&zt.indexOf(Sn)<0&&(en[Sn]=ut[Sn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yn=0,Sn=Object.getOwnPropertySymbols(ut);yn{var zt;const{rootClassName:en,width:Sn,height:yn,size:ar="default",mask:Mt=!0,push:nn=he,open:ln,afterOpenChange:Un,onClose:Nn,prefixCls:un,getContainer:ir,style:Xn,className:Ft,visible:An,afterVisibleChange:Qn,maskStyle:Jn,drawerStyle:nt,contentWrapperStyle:gt}=ut,Kt=ye(ut,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:vn,getPrefixCls:Rn,direction:hr,className:$r,style:Xr,classNames:vr,styles:lr}=(0,At.dj)("drawer"),Dr=Rn("drawer",un),[rr,Tn,_n]=le(Dr),Ln=ir===void 0&&vn?()=>vn(document.body):ir,mr=Xe()({"no-mask":!Mt,[`${Dr}-rtl`]:hr==="rtl"},en,Tn,_n),cr=oe.useMemo(()=>Sn!=null?Sn:ar==="large"?736:378,[Sn,ar]),pr=oe.useMemo(()=>yn!=null?yn:ar==="large"?736:378,[yn,ar]),Rr={motionName:(0,Zt.m)(Dr,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wr=Xt=>({motionName:(0,Zt.m)(Dr,`panel-motion-${Xt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Gr=(0,Qt.H)(),[ai,ti]=(0,Fe.Cn)("Drawer",Kt.zIndex),{classNames:xi={},styles:mi={}}=Kt;return rr(oe.createElement(lt.Z,{form:!0,space:!0},oe.createElement($e.Z.Provider,{value:ti},oe.createElement(wt,Object.assign({prefixCls:Dr,onClose:Nn,maskMotion:Rr,motion:Wr},Kt,{classNames:{mask:Xe()(xi.mask,vr.mask),content:Xe()(xi.content,vr.content),wrapper:Xe()(xi.wrapper,vr.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},mi.mask),Jn),lr.mask),content:Object.assign(Object.assign(Object.assign({},mi.content),nt),lr.content),wrapper:Object.assign(Object.assign(Object.assign({},mi.wrapper),gt),lr.wrapper)},open:ln!=null?ln:An,mask:Mt,push:nn,width:cr,height:pr,style:Object.assign(Object.assign({},Xr),Xn),className:Xe()($r,Ft),rootClassName:mr,getContainer:Ln,afterOpenChange:Un!=null?Un:Qn,panelRef:Gr,zIndex:ai}),oe.createElement(Cn,Object.assign({prefixCls:Dr},Kt,{onClose:Nn}))))))},tt=ut=>{const{prefixCls:zt,style:en,className:Sn,placement:yn="right"}=ut,ar=ye(ut,["prefixCls","style","className","placement"]),{getPrefixCls:Mt}=oe.useContext(At.E_),nn=Mt("drawer",zt),[ln,Un,Nn]=le(nn),un=Xe()(nn,`${nn}-pure`,`${nn}-${yn}`,Un,Nn,Sn);return ln(oe.createElement("div",{className:un,style:en},oe.createElement(Cn,Object.assign({prefixCls:nn},ar))))};We._InternalPanelDoNotUseOrYouWillBeFired=tt;var dn=We},19563:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return mn}});var oe=pe(59301),qt=pe(33853),Xe=pe(38819),Ht=pe(92310),rt=pe.n(Ht),at=pe(96478),Dt=pe(6089),Me=pe(18929),Pe=pe(2738),ce=pe(75030),Le=Ze=>typeof Ze!="object"&&typeof Ze!="function"||Ze===null,Ve=pe(52838),Ke=pe(45915),He=pe(22703),Ge=pe(32383),ze=pe(55743),qe=pe(48755),pt=pe(83397),Bt=pe(93041),vt=pe(78857),yt=pe(57700),Nt=pe(36237),Et=pe(63356),pn=pe(46e3),Pt=pe(93873),St=pe(34925),jt=pe(37645),Je=pe(36305),wt=pe(16931),lt=pe(51636),Zt=Ze=>{const{componentCls:Ct,menuCls:_t,colorError:In,colorTextLightSolid:xn}=Ze,Wn=`${_t}-item`;return{[`${Ct}, ${Ct}-menu-submenu`]:{[`${_t} ${Wn}`]:{[`&${Wn}-danger:not(${Wn}-disabled)`]:{color:In,"&:hover":{color:xn,backgroundColor:In}}}}}};const $e=Ze=>{const{componentCls:Ct,menuCls:_t,zIndexPopup:In,dropdownArrowDistance:xn,sizePopupArrow:Wn,antCls:ct,iconCls:En,motionDurationMid:Rt,paddingBlock:be,fontSize:de,dropdownEdgeChildPadding:le,colorTextDisabled:ye,fontSizeIcon:Ie,controlPaddingHorizontal:he,colorBgElevated:We}=Ze;return[{[Ct]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:In,display:"block","&::before":{position:"absolute",insetBlock:Ze.calc(Wn).div(2).sub(xn).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ct}-btn`]:{[`& > ${En}-down, & > ${ct}-btn-icon > ${En}-down`]:{fontSize:Ie}},[`${Ct}-wrap`]:{position:"relative",[`${ct}-btn > ${En}-down`]:{fontSize:Ie},[`${En}-down::before`]:{transition:`transform ${Rt}`}},[`${Ct}-wrap-open`]:{[`${En}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ct}-slide-down-enter${ct}-slide-down-enter-active${Ct}-placement-bottomLeft, &${ct}-slide-down-appear${ct}-slide-down-appear-active${Ct}-placement-bottomLeft, &${ct}-slide-down-enter${ct}-slide-down-enter-active${Ct}-placement-bottom, &${ct}-slide-down-appear${ct}-slide-down-appear-active${Ct}-placement-bottom, &${ct}-slide-down-enter${ct}-slide-down-enter-active${Ct}-placement-bottomRight, &${ct}-slide-down-appear${ct}-slide-down-appear-active${Ct}-placement-bottomRight`]:{animationName:pn.fJ},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${Ct}-placement-topLeft, &${ct}-slide-up-appear${ct}-slide-up-appear-active${Ct}-placement-topLeft, &${ct}-slide-up-enter${ct}-slide-up-enter-active${Ct}-placement-top, &${ct}-slide-up-appear${ct}-slide-up-appear-active${Ct}-placement-top, &${ct}-slide-up-enter${ct}-slide-up-enter-active${Ct}-placement-topRight, &${ct}-slide-up-appear${ct}-slide-up-appear-active${Ct}-placement-topRight`]:{animationName:pn.Qt},[`&${ct}-slide-down-leave${ct}-slide-down-leave-active${Ct}-placement-bottomLeft, &${ct}-slide-down-leave${ct}-slide-down-leave-active${Ct}-placement-bottom, &${ct}-slide-down-leave${ct}-slide-down-leave-active${Ct}-placement-bottomRight`]:{animationName:pn.Uw},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${Ct}-placement-topLeft, &${ct}-slide-up-leave${ct}-slide-up-leave-active${Ct}-placement-top, &${ct}-slide-up-leave${ct}-slide-up-leave-active${Ct}-placement-topRight`]:{animationName:pn.ly}}},(0,jt.ZP)(Ze,We,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ct} ${_t}`]:{position:"relative",margin:0},[`${_t}-submenu-popup`]:{position:"absolute",zIndex:In,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ct}, ${Ct}-menu-submenu`]:Object.assign(Object.assign({},(0,Et.Wf)(Ze)),{[_t]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:We,backgroundClip:"padding-box",borderRadius:Ze.borderRadiusLG,outline:"none",boxShadow:Ze.boxShadowSecondary},(0,Et.Qy)(Ze)),{"&:empty":{padding:0,boxShadow:"none"},[`${_t}-item-group-title`]:{padding:`${(0,Nt.unit)(be)} ${(0,Nt.unit)(he)}`,color:Ze.colorTextDescription,transition:`all ${Rt}`},[`${_t}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${_t}-item-icon`]:{minWidth:de,marginInlineEnd:Ze.marginXS,fontSize:Ze.fontSizeSM},[`${_t}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Rt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${_t}-item-extra`]:{paddingInlineStart:Ze.padding,marginInlineStart:"auto",fontSize:Ze.fontSizeSM,color:Ze.colorTextDescription}},[`${_t}-item, ${_t}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Nt.unit)(be)} ${(0,Nt.unit)(he)}`,color:Ze.colorText,fontWeight:"normal",fontSize:de,lineHeight:Ze.lineHeight,cursor:"pointer",transition:`all ${Rt}`,borderRadius:Ze.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ze.controlItemBgHover}},(0,Et.Qy)(Ze)),{"&-selected":{color:Ze.colorPrimary,backgroundColor:Ze.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ze.controlItemBgActiveHover}},"&-disabled":{color:ye,cursor:"not-allowed","&:hover":{color:ye,backgroundColor:We,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Nt.unit)(Ze.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ze.colorSplit},[`${Ct}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ze.paddingXS,[`${Ct}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ze.colorTextDescription,fontSize:Ie,fontStyle:"normal"}}}),[`${_t}-item-group-list`]:{margin:`0 ${(0,Nt.unit)(Ze.marginXS)}`,padding:0,listStyle:"none"},[`${_t}-submenu-title`]:{paddingInlineEnd:Ze.calc(he).add(Ze.fontSizeSM).equal()},[`${_t}-submenu-vertical`]:{position:"relative"},[`${_t}-submenu${_t}-submenu-disabled ${Ct}-menu-submenu-title`]:{[`&, ${Ct}-menu-submenu-arrow-icon`]:{color:ye,backgroundColor:We,cursor:"not-allowed"}},[`${_t}-submenu-selected ${Ct}-menu-submenu-title`]:{color:Ze.colorPrimary}})})},[(0,pn.oN)(Ze,"slide-up"),(0,pn.oN)(Ze,"slide-down"),(0,Pt.Fm)(Ze,"move-up"),(0,Pt.Fm)(Ze,"move-down"),(0,St._y)(Ze,"zoom-big")]]},At=Ze=>Object.assign(Object.assign({zIndexPopup:Ze.zIndexPopupBase+50,paddingBlock:(Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2},(0,jt.wZ)({contentRadius:Ze.borderRadiusLG,limitVerticalRadius:!0})),(0,Je.w)(Ze));var Qt=(0,wt.I$)("Dropdown",Ze=>{const{marginXXS:Ct,sizePopupArrow:_t,paddingXXS:In,componentCls:xn}=Ze,Wn=(0,lt.mergeToken)(Ze,{menuCls:`${xn}-menu`,dropdownArrowDistance:Ze.calc(_t).div(2).add(Ct).equal(),dropdownEdgeChildPadding:In});return[$e(Wn),Zt(Wn)]},At,{resetStyle:!1});const Te=null,xe=Ze=>{var Ct;const{menu:_t,arrow:In,prefixCls:xn,children:Wn,trigger:ct,disabled:En,dropdownRender:Rt,getPopupContainer:be,overlayClassName:de,rootClassName:le,overlayStyle:ye,open:Ie,onOpenChange:he,visible:We,onVisibleChange:tt,mouseEnterDelay:dn=.15,mouseLeaveDelay:ut=.1,autoAdjustOverflow:zt=!0,placement:en="",overlay:Sn,transitionName:yn}=Ze,{getPopupContainer:ar,getPrefixCls:Mt,direction:nn,dropdown:ln}=oe.useContext(qe.E_),Un=(0,Ge.ln)("Dropdown"),Nn=oe.useMemo(()=>{const Ln=Mt();return yn!==void 0?yn:en.includes("top")?`${Ln}-slide-down`:`${Ln}-slide-up`},[Mt,en,yn]),un=oe.useMemo(()=>en?en.includes("Center")?en.slice(0,en.indexOf("Center")):en:nn==="rtl"?"bottomRight":"bottomLeft",[en,nn]),ir=Mt("dropdown",xn),Xn=(0,pt.Z)(ir),[Ft,An,Qn]=Qt(ir,Xn),[,Jn]=(0,yt.ZP)(),nt=oe.Children.only(Le(Wn)?oe.createElement("span",null,Wn):Wn),gt=(0,He.Tm)(nt,{className:rt()(`${ir}-trigger`,{[`${ir}-rtl`]:nn==="rtl"},nt.props.className),disabled:(Ct=nt.props.disabled)!==null&&Ct!==void 0?Ct:En}),Kt=En?[]:ct,vn=!!(Kt!=null&&Kt.includes("contextMenu")),[Rn,hr]=(0,Me.Z)(!1,{value:Ie!=null?Ie:We}),$r=(0,Dt.Z)(Ln=>{he==null||he(Ln,{source:"trigger"}),tt==null||tt(Ln),hr(Ln)}),Xr=rt()(de,le,An,Qn,Xn,ln==null?void 0:ln.className,{[`${ir}-rtl`]:nn==="rtl"}),vr=(0,Ve.Z)({arrowPointAtCenter:typeof In=="object"&&In.pointAtCenter,autoAdjustOverflow:zt,offset:Jn.marginXXS,arrowWidth:In?Jn.sizePopupArrow:0,borderRadius:Jn.borderRadius}),lr=oe.useCallback(()=>{_t!=null&&_t.selectable&&(_t!=null&&_t.multiple)||(he==null||he(!1,{source:"menu"}),hr(!1))},[_t==null?void 0:_t.selectable,_t==null?void 0:_t.multiple]),Dr=()=>{let Ln;return _t!=null&&_t.items?Ln=oe.createElement(Bt.default,Object.assign({},_t)):typeof Sn=="function"?Ln=Sn():Ln=Sn,Rt&&(Ln=Rt(Ln)),Ln=oe.Children.only(typeof Ln=="string"?oe.createElement("span",null,Ln):Ln),oe.createElement(vt.J,{prefixCls:`${ir}-menu`,rootClassName:rt()(Qn,Xn),expandIcon:oe.createElement("span",{className:`${ir}-menu-submenu-arrow`},nn==="rtl"?oe.createElement(qt.Z,{className:`${ir}-menu-submenu-arrow-icon`}):oe.createElement(Xe.Z,{className:`${ir}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:lr,validator:mr=>{let{mode:cr}=mr}},Ln)},[rr,Tn]=(0,ce.Cn)("Dropdown",ye==null?void 0:ye.zIndex);let _n=oe.createElement(at.Z,Object.assign({alignPoint:vn},(0,Pe.Z)(Ze,["rootClassName"]),{mouseEnterDelay:dn,mouseLeaveDelay:ut,visible:Rn,builtinPlacements:vr,arrow:!!In,overlayClassName:Xr,prefixCls:ir,getPopupContainer:be||ar,transitionName:Nn,trigger:Kt,overlay:Dr,placement:un,onVisibleChange:$r,overlayStyle:Object.assign(Object.assign(Object.assign({},ln==null?void 0:ln.style),ye),{zIndex:rr})}),gt);return rr&&(_n=oe.createElement(ze.Z.Provider,{value:Tn},_n)),Ft(_n)},It=(0,Ke.Z)(xe,"align",void 0,"dropdown",Ze=>Ze),Cn=Ze=>oe.createElement(It,Object.assign({},Ze),oe.createElement("span",null));xe._InternalPanelDoNotUseOrYouWillBeFired=Cn;var mn=xe},75727:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Ke}});var oe=pe(19563),qt=pe(59301),Xe=pe(18785),Ht=pe(92310),rt=pe.n(Ht),at=pe(7939),Dt=pe(48755),Me=pe(44104),Pe=pe(70045),ce=function(He,Ge){var ze={};for(var qe in He)Object.prototype.hasOwnProperty.call(He,qe)&&Ge.indexOf(qe)<0&&(ze[qe]=He[qe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,qe=Object.getOwnPropertySymbols(He);pt{const{getPopupContainer:Ge,getPrefixCls:ze,direction:qe}=qt.useContext(Dt.E_),{prefixCls:pt,type:Bt="default",danger:vt,disabled:yt,loading:Nt,onClick:Et,htmlType:pn,children:Pt,className:St,menu:jt,arrow:Je,autoFocus:wt,overlay:lt,trigger:Fe,align:Zt,open:$e,onOpenChange:At,placement:Qt,getPopupContainer:Te,href:xe,icon:It=qt.createElement(Xe.Z,null),title:Cn,buttonsRender:mn=dn=>dn,mouseEnterDelay:Ze,mouseLeaveDelay:Ct,overlayClassName:_t,overlayStyle:In,destroyPopupOnHide:xn,dropdownRender:Wn}=He,ct=ce(He,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),En=ze("dropdown",pt),Rt=`${En}-button`,be={menu:jt,arrow:Je,autoFocus:wt,align:Zt,disabled:yt,trigger:yt?[]:Fe,onOpenChange:At,getPopupContainer:Te||Ge,mouseEnterDelay:Ze,mouseLeaveDelay:Ct,overlayClassName:_t,overlayStyle:In,destroyPopupOnHide:xn,dropdownRender:Wn},{compactSize:de,compactItemClassnames:le}=(0,Pe.ri)(En,qe),ye=rt()(Rt,le,St);"overlay"in He&&(be.overlay=lt),"open"in He&&(be.open=$e),"placement"in He?be.placement=Qt:be.placement=qe==="rtl"?"bottomLeft":"bottomRight";const Ie=qt.createElement(at.ZP,{type:Bt,danger:vt,disabled:yt,loading:Nt,onClick:Et,htmlType:pn,href:xe,title:Cn},Pt),he=qt.createElement(at.ZP,{type:Bt,danger:vt,icon:It}),[We,tt]=mn([Ie,he]);return qt.createElement(Me.Z.Compact,Object.assign({className:ye,size:de,block:!0},ct),We,qt.createElement(oe.Z,Object.assign({},be),tt))};ke.__ANT_BUTTON=!0;var Le=ke;const Ve=oe.Z;Ve.Button=Le;var Ke=Ve},584:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Bt}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(9017),rt=pe(17835),at=pe(57700),Me=()=>{const[,vt]=(0,at.ZP)(),[yt]=(0,Ht.Z)("Empty"),Et=new rt.FastColor(vt.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return oe.createElement("svg",{style:Et,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},oe.createElement("title",null,(yt==null?void 0:yt.description)||"Empty"),oe.createElement("g",{fill:"none",fillRule:"evenodd"},oe.createElement("g",{transform:"translate(24 31.67)"},oe.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),oe.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"}),oe.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)"}),oe.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"}),oe.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"})),oe.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"}),oe.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},oe.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),oe.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ce=()=>{const[,vt]=(0,at.ZP)(),[yt]=(0,Ht.Z)("Empty"),{colorFill:Nt,colorFillTertiary:Et,colorFillQuaternary:pn,colorBgContainer:Pt}=vt,{borderColor:St,shadowColor:jt,contentColor:Je}=(0,oe.useMemo)(()=>({borderColor:new rt.FastColor(Nt).onBackground(Pt).toHexString(),shadowColor:new rt.FastColor(Et).onBackground(Pt).toHexString(),contentColor:new rt.FastColor(pn).onBackground(Pt).toHexString()}),[Nt,Et,pn,Pt]);return oe.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},oe.createElement("title",null,(yt==null?void 0:yt.description)||"Empty"),oe.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},oe.createElement("ellipse",{fill:jt,cx:"32",cy:"33",rx:"32",ry:"7"}),oe.createElement("g",{fillRule:"nonzero",stroke:St},oe.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"}),oe.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:Je}))))},ke=pe(16931),Le=pe(51636);const Ve=vt=>{const{componentCls:yt,margin:Nt,marginXS:Et,marginXL:pn,fontSize:Pt,lineHeight:St}=vt;return{[yt]:{marginInline:Et,fontSize:Pt,lineHeight:St,textAlign:"center",[`${yt}-image`]:{height:vt.emptyImgHeight,marginBottom:Et,opacity:vt.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${yt}-description`]:{color:vt.colorTextDescription},[`${yt}-footer`]:{marginTop:Nt},"&-normal":{marginBlock:pn,color:vt.colorTextDescription,[`${yt}-description`]:{color:vt.colorTextDescription},[`${yt}-image`]:{height:vt.emptyImgHeightMD}},"&-small":{marginBlock:Et,color:vt.colorTextDescription,[`${yt}-image`]:{height:vt.emptyImgHeightSM}}}}};var Ke=(0,ke.I$)("Empty",vt=>{const{componentCls:yt,controlHeightLG:Nt,calc:Et}=vt,pn=(0,Le.mergeToken)(vt,{emptyImgCls:`${yt}-img`,emptyImgHeight:Et(Nt).mul(2.5).equal(),emptyImgHeightMD:Nt,emptyImgHeightSM:Et(Nt).mul(.875).equal()});return[Ve(pn)]}),He=pe(48755),Ge=function(vt,yt){var Nt={};for(var Et in vt)Object.prototype.hasOwnProperty.call(vt,Et)&&yt.indexOf(Et)<0&&(Nt[Et]=vt[Et]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pn=0,Et=Object.getOwnPropertySymbols(vt);pn{const{className:yt,rootClassName:Nt,prefixCls:Et,image:pn=ze,description:Pt,children:St,imageStyle:jt,style:Je,classNames:wt,styles:lt}=vt,Fe=Ge(vt,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Zt,direction:$e,className:At,style:Qt,classNames:Te,styles:xe}=(0,He.dj)("empty"),It=Zt("empty",Et),[Cn,mn,Ze]=Ke(It),[Ct]=(0,Ht.Z)("Empty"),_t=typeof Pt!="undefined"?Pt:Ct==null?void 0:Ct.description,In=typeof _t=="string"?_t:"empty";let xn=null;return typeof pn=="string"?xn=oe.createElement("img",{alt:In,src:pn}):xn=pn,Cn(oe.createElement("div",Object.assign({className:Xe()(mn,Ze,It,At,{[`${It}-normal`]:pn===qe,[`${It}-rtl`]:$e==="rtl"},yt,Nt,Te.root,wt==null?void 0:wt.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},xe.root),Qt),lt==null?void 0:lt.root),Je)},Fe),oe.createElement("div",{className:Xe()(`${It}-image`,Te.image,wt==null?void 0:wt.image),style:Object.assign(Object.assign(Object.assign({},jt),xe.image),lt==null?void 0:lt.image)},xn),_t&&oe.createElement("div",{className:Xe()(`${It}-description`,Te.description,wt==null?void 0:wt.description),style:Object.assign(Object.assign({},xe.description),lt==null?void 0:lt.description)},_t),St&&oe.createElement("div",{className:Xe()(`${It}-footer`,Te.footer,wt==null?void 0:wt.footer),style:Object.assign(Object.assign({},xe.footer),lt==null?void 0:lt.footer)},St)))};pt.PRESENTED_IMAGE_DEFAULT=ze,pt.PRESENTED_IMAGE_SIMPLE=qe;var Bt=pt},28284:function(gr,zn,pe){"use strict";pe.d(zn,{default:function(){return Vt}});var oe=pe(56553),qt=pe(77654),Xe=pe(59301),Ht=pe(92310),rt=pe.n(Ht),at=pe(77900),Dt=pe(86641),Me=pe(83397);function Pe(ot){const[kt,ft]=Xe.useState(ot);return Xe.useEffect(()=>{const Gt=setTimeout(()=>{ft(ot)},ot.length?0:10);return()=>{clearTimeout(Gt)}},[ot]),kt}var ce=pe(36237),ke=pe(63356),Le=pe(34925),Ve=pe(34961),Ke=pe(51636),He=pe(16931),ze=ot=>{const{componentCls:kt}=ot,ft=`${kt}-show-help`,Gt=`${kt}-show-help-item`;return{[ft]:{transition:`opacity ${ot.motionDurationFast} ${ot.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Gt]:{overflow:"hidden",transition:`height ${ot.motionDurationFast} ${ot.motionEaseInOut}, opacity ${ot.motionDurationFast} ${ot.motionEaseInOut}, transform ${ot.motionDurationFast} ${ot.motionEaseInOut} !important`,[`&${Gt}-appear, &${Gt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Gt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const qe=ot=>({legend:{display:"block",width:"100%",marginBottom:ot.marginLG,padding:0,color:ot.colorTextDescription,fontSize:ot.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,ce.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,ce.unit)(ot.controlOutlineWidth)} ${ot.controlOutline}`},output:{display:"block",paddingTop:15,color:ot.colorText,fontSize:ot.fontSize,lineHeight:ot.lineHeight}}),pt=(ot,kt)=>{const{formItemCls:ft}=ot;return{[ft]:{[`${ft}-label > label`]:{height:kt},[`${ft}-control-input`]:{minHeight:kt}}}},Bt=ot=>{const{componentCls:kt}=ot;return{[ot.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(ot)),qe(ot)),{[`${kt}-text`]:{display:"inline-block",paddingInlineEnd:ot.paddingSM},"&-small":Object.assign({},pt(ot,ot.controlHeightSM)),"&-large":Object.assign({},pt(ot,ot.controlHeightLG))})}},vt=ot=>{const{formItemCls:kt,iconCls:ft,rootPrefixCls:Gt,antCls:Fn,labelRequiredMarkColor:xr,labelColor:Or,labelFontSize:kr,labelHeight:dr,labelColonMarginInlineStart:Zn,labelColonMarginInlineEnd:Mn,itemMarginBottom:Ur}=ot;return{[kt]:Object.assign(Object.assign({},(0,ke.Wf)(ot)),{marginBottom:Ur,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${Fn}-row`]:{display:"none"},"&-has-warning":{[`${kt}-split`]:{color:ot.colorError}},"&-has-error":{[`${kt}-split`]:{color:ot.colorWarning}},[`${kt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:ot.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:dr,color:Or,fontSize:kr,[`> ${ft}`]:{fontSize:ot.fontSize,verticalAlign:"top"},[`&${kt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:ot.marginXXS,color:xr,fontSize:ot.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${kt}-required-mark-hidden, &${kt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${kt}-optional`]:{display:"inline-block",marginInlineStart:ot.marginXXS,color:ot.colorTextDescription,[`&${kt}-required-mark-hidden`]:{display:"none"}},[`${kt}-tooltip`]:{color:ot.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ot.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Zn,marginInlineEnd:Mn},[`&${kt}-no-colon::after`]:{content:'"\\a0"'}}},[`${kt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Gt}-col-'"]):not([class*="' ${Gt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ot.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[kt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:ot.colorTextDescription,fontSize:ot.fontSize,lineHeight:ot.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ot.controlHeightSM,transition:`color ${ot.motionDurationMid} ${ot.motionEaseOut}`},"&-explain":{"&-error":{color:ot.colorError},"&-warning":{color:ot.colorWarning}}},[`&-with-help ${kt}-explain`]:{height:"auto",opacity:1},[`${kt}-feedback-icon`]:{fontSize:ot.fontSize,textAlign:"center",visibility:"visible",animationName:Le.kr,animationDuration:ot.motionDurationMid,animationTimingFunction:ot.motionEaseOutBack,pointerEvents:"none","&-success":{color:ot.colorSuccess},"&-error":{color:ot.colorError},"&-warning":{color:ot.colorWarning},"&-validating":{color:ot.colorPrimary}}})}},yt=(ot,kt)=>{const{formItemCls:ft}=ot;return{[`${kt}-horizontal`]:{[`${ft}-label`]:{flexGrow:0},[`${ft}-control`]:{flex:"1 1 0",minWidth:0},[`${ft}-label[class$='-24'], ${ft}-label[class*='-24 ']`]:{[`& + ${ft}-control`]:{minWidth:"unset"}}}}},Nt=ot=>{const{componentCls:kt,formItemCls:ft,inlineItemMarginBottom:Gt}=ot;return{[`${kt}-inline`]:{display:"flex",flexWrap:"wrap",[ft]:{flex:"none",marginInlineEnd:ot.margin,marginBottom:Gt,"&-row":{flexWrap:"nowrap"},[`> ${ft}-label, > ${ft}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${ft}-label`]:{flex:"none"},[`${kt}-text`]:{display:"inline-block"},[`${ft}-has-feedback`]:{display:"inline-block"}}}}},Et=ot=>({padding:ot.verticalLabelPadding,margin:ot.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),pn=ot=>{const{componentCls:kt,formItemCls:ft,rootPrefixCls:Gt}=ot;return{[`${ft} ${ft}-label`]:Et(ot),[`${kt}:not(${kt}-inline)`]:{[ft]:{flexWrap:"wrap",[`${ft}-label, ${ft}-control`]:{[`&:not([class*=" ${Gt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Pt=ot=>{const{componentCls:kt,formItemCls:ft,antCls:Gt}=ot;return{[`${kt}-vertical`]:{[`${ft}:not(${ft}-horizontal)`]:{[`${ft}-row`]:{flexDirection:"column"},[`${ft}-label > label`]:{height:"auto"},[`${ft}-control`]:{width:"100%"},[`${ft}-label, ${Gt}-col-24${ft}-label, ${Gt}-col-xl-24${ft}-label`]:Et(ot)}},[`@media (max-width: ${(0,ce.unit)(ot.screenXSMax)})`]:[pn(ot),{[kt]:{[`${ft}:not(${ft}-horizontal)`]:{[`${Gt}-col-xs-24${ft}-label`]:Et(ot)}}}],[`@media (max-width: ${(0,ce.unit)(ot.screenSMMax)})`]:{[kt]:{[`${ft}:not(${ft}-horizontal)`]:{[`${Gt}-col-sm-24${ft}-label`]:Et(ot)}}},[`@media (max-width: ${(0,ce.unit)(ot.screenMDMax)})`]:{[kt]:{[`${ft}:not(${ft}-horizontal)`]:{[`${Gt}-col-md-24${ft}-label`]:Et(ot)}}},[`@media (max-width: ${(0,ce.unit)(ot.screenLGMax)})`]:{[kt]:{[`${ft}:not(${ft}-horizontal)`]:{[`${Gt}-col-lg-24${ft}-label`]:Et(ot)}}}}},St=ot=>{const{formItemCls:kt,antCls:ft}=ot;return{[`${kt}-vertical`]:{[`${kt}-row`]:{flexDirection:"column"},[`${kt}-label > label`]:{height:"auto"},[`${kt}-control`]:{width:"100%"}},[`${kt}-vertical ${kt}-label, ${ft}-col-24${kt}-label, ${ft}-col-xl-24${kt}-label`]:Et(ot),[`@media (max-width: ${(0,ce.unit)(ot.screenXSMax)})`]:[pn(ot),{[kt]:{[`${ft}-col-xs-24${kt}-label`]:Et(ot)}}],[`@media (max-width: ${(0,ce.unit)(ot.screenSMMax)})`]:{[kt]:{[`${ft}-col-sm-24${kt}-label`]:Et(ot)}},[`@media (max-width: ${(0,ce.unit)(ot.screenMDMax)})`]:{[kt]:{[`${ft}-col-md-24${kt}-label`]:Et(ot)}},[`@media (max-width: ${(0,ce.unit)(ot.screenLGMax)})`]:{[kt]:{[`${ft}-col-lg-24${kt}-label`]:Et(ot)}}}},jt=ot=>({labelRequiredMarkColor:ot.colorError,labelColor:ot.colorTextHeading,labelFontSize:ot.fontSize,labelHeight:ot.controlHeight,labelColonMarginInlineStart:ot.marginXXS/2,labelColonMarginInlineEnd:ot.marginXS,itemMarginBottom:ot.marginLG,verticalLabelPadding:`0 0 ${ot.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Je=(ot,kt)=>(0,Ke.mergeToken)(ot,{formItemCls:`${ot.componentCls}-item`,rootPrefixCls:kt});var wt=(0,He.I$)("Form",(ot,kt)=>{let{rootPrefixCls:ft}=kt;const Gt=Je(ot,ft);return[Bt(Gt),vt(Gt),ze(Gt),yt(Gt,Gt.componentCls),yt(Gt,Gt.formItemCls),Nt(Gt),Pt(Gt),St(Gt),(0,Ve.Z)(Gt),Le.kr]},jt,{order:-1e3});const lt=[];function Fe(ot,kt,ft){let Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ot=="string"?ot:`${kt}-${Gt}`,error:ot,errorStatus:ft}}var $e=ot=>{let{help:kt,helpStatus:ft,errors:Gt=lt,warnings:Fn=lt,className:xr,fieldId:Or,onVisibleChanged:kr}=ot;const{prefixCls:dr}=Xe.useContext(oe.Rk),Zn=`${dr}-item-explain`,Mn=(0,Me.Z)(dr),[Ur,si,ei]=wt(dr,Mn),Ai=Xe.useMemo(()=>(0,Dt.Z)(dr),[dr]),Ki=Pe(Gt),Vi=Pe(Fn),eo=Xe.useMemo(()=>kt!=null?[Fe(kt,"help",ft)]:[].concat((0,qt.Z)(Ki.map((Fi,ki)=>Fe(Fi,"error","error",ki))),(0,qt.Z)(Vi.map((Fi,ki)=>Fe(Fi,"warning","warning",ki)))),[kt,ft,Ki,Vi]),Di=Xe.useMemo(()=>{const Fi={};return eo.forEach(ki=>{let{key:uo}=ki;Fi[uo]=(Fi[uo]||0)+1}),eo.map((ki,uo)=>Object.assign(Object.assign({},ki),{key:Fi[ki.key]>1?`${ki.key}-fallback-${uo}`:ki.key}))},[eo]),bi={};return Or&&(bi.id=`${Or}_help`),Ur(Xe.createElement(at.default,{motionDeadline:Ai.motionDeadline,motionName:`${dr}-show-help`,visible:!!Di.length,onVisibleChanged:kr},Fi=>{const{className:ki,style:uo}=Fi;return Xe.createElement("div",Object.assign({},bi,{className:rt()(Zn,ki,ei,Mn,xr,si),style:uo}),Xe.createElement(at.CSSMotionList,Object.assign({keys:Di},(0,Dt.Z)(dr),{motionName:`${dr}-show-help-item`,component:!1}),Zi=>{const{key:co,error:oo,errorStatus:Yi,className:Xi,style:Oo}=Zi;return Xe.createElement("div",{key:co,className:rt()(Xi,{[`${Zn}-${Yi}`]:Yi}),style:Oo},oo)}))}))},At=pe(69180),Qt=pe(48755),Te=pe(2171),xe=pe(31756),It=pe(23069),Cn=pe(76846),mn=pe(16722);const Ze=["parentNode"],Ct="form_item";function _t(ot){return ot===void 0||ot===!1?[]:Array.isArray(ot)?ot:[ot]}function In(ot,kt){if(!ot.length)return;const ft=ot.join("_");return kt?`${kt}_${ft}`:Ze.includes(ft)?`${Ct}_${ft}`:ft}function xn(ot,kt,ft,Gt,Fn,xr){let Or=Gt;return xr!==void 0?Or=xr:ft.validating?Or="validating":ot.length?Or="error":kt.length?Or="warning":(ft.touched||Fn&&ft.validated)&&(Or="success"),Or}var Wn=function(ot,kt){var ft={};for(var Gt in ot)Object.prototype.hasOwnProperty.call(ot,Gt)&&kt.indexOf(Gt)<0&&(ft[Gt]=ot[Gt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,Gt=Object.getOwnPropertySymbols(ot);Fnot!=null?ot:Object.assign(Object.assign({},kt),{__INTERNAL__:{itemRef:Fn=>xr=>{const Or=ct(Fn);xr?ft.current[Or]=xr:delete ft.current[Or]}},scrollToField:function(Fn){let xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Or}=xr,kr=Wn(xr,["focus"]),dr=En(Fn,Gt);dr&&((0,mn.Z)(dr,Object.assign({scrollMode:"if-needed",block:"nearest"},kr)),Or&&Gt.focusField(Fn))},focusField:Fn=>{var xr,Or;const kr=Gt.getFieldInstance(Fn);typeof(kr==null?void 0:kr.focus)=="function"?kr.focus():(Or=(xr=En(Fn,Gt))===null||xr===void 0?void 0:xr.focus)===null||Or===void 0||Or.call(xr)},getFieldInstance:Fn=>{const xr=ct(Fn);return ft.current[xr]}}),[ot,kt]);return[Gt]}var be=pe(98350),de=function(ot,kt){var ft={};for(var Gt in ot)Object.prototype.hasOwnProperty.call(ot,Gt)&&kt.indexOf(Gt)<0&&(ft[Gt]=ot[Gt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,Gt=Object.getOwnPropertySymbols(ot);Fn{const ft=Xe.useContext(Te.Z),{getPrefixCls:Gt,direction:Fn,requiredMark:xr,colon:Or,scrollToFirstError:kr,className:dr,style:Zn}=(0,Qt.dj)("form"),{prefixCls:Mn,className:Ur,rootClassName:si,size:ei,disabled:Ai=ft,form:Ki,colon:Vi,labelAlign:eo,labelWrap:Di,labelCol:bi,wrapperCol:Fi,hideRequiredMark:ki,layout:uo="horizontal",scrollToFirstError:Zi,requiredMark:co,onFinishFailed:oo,name:Yi,style:Xi,feedbackIcons:Oo,variant:go}=ot,bo=de(ot,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Po=(0,xe.Z)(ei),Ho=Xe.useContext(be.Z),$i=Xe.useMemo(()=>co!==void 0?co:ki?!1:xr!==void 0?xr:!0,[ki,co,xr]),Bo=Vi!=null?Vi:Or,Pi=Gt("form",Mn),Ko=(0,Me.Z)(Pi),[Ua,Oa,Jo]=wt(Pi,Ko),Vo=rt()(Pi,`${Pi}-${uo}`,{[`${Pi}-hide-required-mark`]:$i===!1,[`${Pi}-rtl`]:Fn==="rtl",[`${Pi}-${Po}`]:Po},Jo,Ko,Oa,dr,Ur,si),[qo]=Rt(Ki),{__INTERNAL__:ma}=qo;ma.name=Yi;const Ma=Xe.useMemo(()=>({name:Yi,labelAlign:eo,labelCol:bi,labelWrap:Di,wrapperCol:Fi,vertical:uo==="vertical",colon:Bo,requiredMark:$i,itemRef:ma.itemRef,form:qo,feedbackIcons:Oo}),[Yi,eo,bi,Fi,uo,Bo,$i,qo,Oo]),mo=Xe.useRef(null);Xe.useImperativeHandle(kt,()=>{var jr;return Object.assign(Object.assign({},qo),{nativeElement:(jr=mo.current)===null||jr===void 0?void 0:jr.nativeElement})});const Ti=(jr,Vr)=>{if(jr){let Sr={block:"nearest"};typeof jr=="object"&&(Sr=Object.assign(Object.assign({},Sr),jr)),qo.scrollToField(Vr,Sr)}},Pr=jr=>{if(oo==null||oo(jr),jr.errorFields.length){const Vr=jr.errorFields[0].name;if(Zi!==void 0){Ti(Zi,Vr);return}kr!==void 0&&Ti(kr,Vr)}};return Ua(Xe.createElement(oe.pg.Provider,{value:go},Xe.createElement(Te.n,{disabled:Ai},Xe.createElement(It.Z.Provider,{value:Po},Xe.createElement(oe.RV,{validateMessages:Ho},Xe.createElement(oe.q3.Provider,{value:Ma},Xe.createElement(At.default,Object.assign({id:Yi},bo,{name:Yi,onFinishFailed:Pr,form:qo,ref:mo,style:Object.assign(Object.assign({},Zn),Xi),className:Vo}))))))))};var Ie=Xe.forwardRef(le),he=pe(41799),We=pe(8654),tt=pe(22703),dn=pe(32383),ut=pe(11592);function zt(ot){if(typeof ot=="function")return ot;const kt=(0,ut.Z)(ot);return kt.length<=1?kt[0]:kt}const en=()=>{const{status:ot,errors:kt=[],warnings:ft=[]}=Xe.useContext(oe.aM);return{status:ot,errors:kt,warnings:ft}};en.Context=oe.aM;var Sn=en,yn=pe(16089);function ar(ot){const[kt,ft]=Xe.useState(ot),Gt=Xe.useRef(null),Fn=Xe.useRef([]),xr=Xe.useRef(!1);Xe.useEffect(()=>(xr.current=!1,()=>{xr.current=!0,yn.Z.cancel(Gt.current),Gt.current=null}),[]);function Or(kr){xr.current||(Gt.current===null&&(Fn.current=[],Gt.current=(0,yn.Z)(()=>{Gt.current=null,ft(dr=>{let Zn=dr;return Fn.current.forEach(Mn=>{Zn=Mn(Zn)}),Zn})})),Fn.current.push(kr))}return[kt,Or]}function Mt(){const{itemRef:ot}=Xe.useContext(oe.q3),kt=Xe.useRef({});function ft(Gt,Fn){const xr=Fn&&typeof Fn=="object"&&(0,We.C4)(Fn),Or=Gt.join("_");return(kt.current.name!==Or||kt.current.originRef!==xr)&&(kt.current.name=Or,kt.current.originRef=xr,kt.current.ref=(0,We.sQ)(ot(Gt),xr)),kt.current.ref}return ft}var nn=pe(29194),ln=pe(34280),Un=pe(2738),Nn=pe(65970),un=pe(70425),ir=pe(5472);const Xn=ot=>{const{formItemCls:kt}=ot;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${kt}-control`]:{display:"flex"}}}};var Ft=(0,He.bk)(["Form","item-item"],(ot,kt)=>{let{rootPrefixCls:ft}=kt;const Gt=Je(ot,ft);return[Xn(Gt)]}),An=function(ot,kt){var ft={};for(var Gt in ot)Object.prototype.hasOwnProperty.call(ot,Gt)&&kt.indexOf(Gt)<0&&(ft[Gt]=ot[Gt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,Gt=Object.getOwnPropertySymbols(ot);Fn{const{prefixCls:kt,status:ft,labelCol:Gt,wrapperCol:Fn,children:xr,errors:Or,warnings:kr,_internalItemRender:dr,extra:Zn,help:Mn,fieldId:Ur,marginBottom:si,onErrorVisibleChanged:ei,label:Ai}=ot,Ki=`${kt}-item`,Vi=Xe.useContext(oe.q3),eo=Xe.useMemo(()=>{let bo=Object.assign({},Fn||Vi.wrapperCol||{});return Ai===null&&!Gt&&!Fn&&Vi.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Ho=>{const $i=Ho?[Ho]:[],Bo=(0,un.U2)(Vi.labelCol,$i),Pi=typeof Bo=="object"?Bo:{},Ko=(0,un.U2)(bo,$i),Ua=typeof Ko=="object"?Ko:{};"span"in Pi&&!("offset"in Ua)&&Pi.span{const{labelCol:bo,wrapperCol:Po}=Vi;return An(Vi,["labelCol","wrapperCol"])},[Vi]),Fi=Xe.useRef(null),[ki,uo]=Xe.useState(0);(0,ln.Z)(()=>{Zn&&Fi.current?uo(Fi.current.clientHeight):uo(0)},[Zn]);const Zi=Xe.createElement("div",{className:`${Ki}-control-input`},Xe.createElement("div",{className:`${Ki}-control-input-content`},xr)),co=Xe.useMemo(()=>({prefixCls:kt,status:ft}),[kt,ft]),oo=si!==null||Or.length||kr.length?Xe.createElement(oe.Rk.Provider,{value:co},Xe.createElement($e,{fieldId:Ur,errors:Or,warnings:kr,help:Mn,helpStatus:ft,className:`${Ki}-explain-connected`,onVisibleChanged:ei})):null,Yi={};Ur&&(Yi.id=`${Ur}_extra`);const Xi=Zn?Xe.createElement("div",Object.assign({},Yi,{className:`${Ki}-extra`,ref:Fi}),Zn):null,Oo=oo||Xi?Xe.createElement("div",{className:`${Ki}-additional`,style:si?{minHeight:si+ki}:{}},oo,Xi):null,go=dr&&dr.mark==="pro_table_render"&&dr.render?dr.render(ot,{input:Zi,errorList:oo,extra:Xi}):Xe.createElement(Xe.Fragment,null,Zi,Oo);return Xe.createElement(oe.q3.Provider,{value:bi},Xe.createElement(ir.Z,Object.assign({},eo,{className:Di}),go),Xe.createElement(Ft,{prefixCls:kt}))},gt=pe(61485),Kt=pe(9017),vn=pe(85981),Rn=pe(25399),hr=function(ot,kt){var ft={};for(var Gt in ot)Object.prototype.hasOwnProperty.call(ot,Gt)&&kt.indexOf(Gt)<0&&(ft[Gt]=ot[Gt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,Gt=Object.getOwnPropertySymbols(ot);Fn{let{prefixCls:kt,label:ft,htmlFor:Gt,labelCol:Fn,labelAlign:xr,colon:Or,required:kr,requiredMark:dr,tooltip:Zn,vertical:Mn}=ot;var Ur;const[si]=(0,Kt.Z)("Form"),{labelAlign:ei,labelCol:Ai,labelWrap:Ki,colon:Vi}=Xe.useContext(oe.q3);if(!ft)return null;const eo=Fn||Ai||{},Di=xr||ei,bi=`${kt}-item-label`,Fi=rt()(bi,Di==="left"&&`${bi}-left`,eo.className,{[`${bi}-wrap`]:!!Ki});let ki=ft;const uo=Or===!0||Vi!==!1&&Or!==!1;uo&&!Mn&&typeof ft=="string"&&ft.trim()&&(ki=ft.replace(/[:|:]\s*$/,""));const co=$r(Zn);if(co){const{icon:bo=Xe.createElement(gt.Z,null)}=co,Po=hr(co,["icon"]),Ho=Xe.createElement(Rn.Z,Object.assign({},Po),Xe.cloneElement(bo,{className:`${kt}-item-tooltip`,title:"",onClick:$i=>{$i.preventDefault()},tabIndex:null}));ki=Xe.createElement(Xe.Fragment,null,ki,Ho)}const oo=dr==="optional",Yi=typeof dr=="function",Xi=dr===!1;Yi?ki=dr(ki,{required:!!kr}):oo&&!kr&&(ki=Xe.createElement(Xe.Fragment,null,ki,Xe.createElement("span",{className:`${kt}-item-optional`,title:""},(si==null?void 0:si.optional)||((Ur=vn.Z.Form)===null||Ur===void 0?void 0:Ur.optional))));let Oo;Xi?Oo="hidden":(oo||Yi)&&(Oo="optional");const go=rt()({[`${kt}-item-required`]:kr,[`${kt}-item-required-mark-${Oo}`]:Oo,[`${kt}-item-no-colon`]:!uo});return Xe.createElement(ir.Z,Object.assign({},eo,{className:Fi}),Xe.createElement("label",{htmlFor:Gt,className:go,title:typeof ft=="string"?ft:""},ki))},lr=pe(29679),Dr=pe(19248),rr=pe(96512),Tn=pe(58617);const _n={success:lr.Z,warning:rr.Z,error:Dr.Z,validating:Tn.Z};function Ln(ot){let{children:kt,errors:ft,warnings:Gt,hasFeedback:Fn,validateStatus:xr,prefixCls:Or,meta:kr,noStyle:dr}=ot;const Zn=`${Or}-item`,{feedbackIcons:Mn}=Xe.useContext(oe.q3),Ur=xn(ft,Gt,kr,null,!!Fn,xr),{isFormItemInput:si,status:ei,hasFeedback:Ai,feedbackIcon:Ki}=Xe.useContext(oe.aM),Vi=Xe.useMemo(()=>{var eo;let Di;if(Fn){const Fi=Fn!==!0&&Fn.icons||Mn,ki=Ur&&((eo=Fi==null?void 0:Fi({status:Ur,errors:ft,warnings:Gt}))===null||eo===void 0?void 0:eo[Ur]),uo=Ur&&_n[Ur];Di=ki!==!1&&uo?Xe.createElement("span",{className:rt()(`${Zn}-feedback-icon`,`${Zn}-feedback-icon-${Ur}`)},ki||Xe.createElement(uo,null)):null}const bi={status:Ur||"",errors:ft,warnings:Gt,hasFeedback:!!Fn,feedbackIcon:Di,isFormItemInput:!0};return dr&&(bi.status=(Ur!=null?Ur:ei)||"",bi.isFormItemInput=si,bi.hasFeedback=!!(Fn!=null?Fn:Ai),bi.feedbackIcon=Fn!==void 0?bi.feedbackIcon:Ki),bi},[Ur,Fn,dr,si,ei]);return Xe.createElement(oe.aM.Provider,{value:Vi},kt)}var mr=function(ot,kt){var ft={};for(var Gt in ot)Object.prototype.hasOwnProperty.call(ot,Gt)&&kt.indexOf(Gt)<0&&(ft[Gt]=ot[Gt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fn=0,Gt=Object.getOwnPropertySymbols(ot);Fn{if(Xi&&Zi.current){const Pi=getComputedStyle(Zi.current);bo(parseInt(Pi.marginBottom,10))}},[Xi,Oo]);const Po=Pi=>{Pi||bo(null)},$i=function(){let Pi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ko=Pi?co:Zn.errors,Ua=Pi?oo:Zn.warnings;return xn(Ko,Ua,Zn,"",!!Mn,dr)}(),Bo=rt()(bi,ft,Gt,{[`${bi}-with-help`]:Yi||co.length||oo.length,[`${bi}-has-feedback`]:$i&&Mn,[`${bi}-has-success`]:$i==="success",[`${bi}-has-warning`]:$i==="warning",[`${bi}-has-error`]:$i==="error",[`${bi}-is-validating`]:$i==="validating",[`${bi}-hidden`]:Ur,[`${bi}-${eo}`]:eo});return Xe.createElement("div",{className:Bo,style:Fn,ref:Zi},Xe.createElement(Nn.Z,Object.assign({className:`${bi}-row`},(0,Un.Z)(Di,["_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"])),Xe.createElement(vr,Object.assign({htmlFor:ei},ot,{requiredMark:Fi,required:Ai!=null?Ai:Ki,prefixCls:kt,vertical:uo})),Xe.createElement(nt,Object.assign({},ot,Zn,{errors:co,warnings:oo,prefixCls:kt,status:$i,help:xr,marginBottom:go,onErrorVisibleChanged:Po}),Xe.createElement(oe.qI.Provider,{value:Vi},Xe.createElement(Ln,{prefixCls:kt,meta:Zn,errors:Zn.errors,warnings:Zn.warnings,hasFeedback:Mn,validateStatus:$i},si)))),!!go&&Xe.createElement("div",{className:`${bi}-margin-offset`,style:{marginBottom:-go}}))}const pr="__SPLIT__",Rr=null;function Wr(ot,kt){const ft=Object.keys(ot),Gt=Object.keys(kt);return ft.length===Gt.length&&ft.every(Fn=>{const xr=ot[Fn],Or=kt[Fn];return xr===Or||typeof xr=="function"||typeof Or=="function"})}const Gr=Xe.memo(ot=>{let{children:kt}=ot;return kt},(ot,kt)=>Wr(ot.control,kt.control)&&ot.update===kt.update&&ot.childProps.length===kt.childProps.length&&ot.childProps.every((ft,Gt)=>ft===kt.childProps[Gt]));function ai(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ti(ot){const{name:kt,noStyle:ft,className:Gt,dependencies:Fn,prefixCls:xr,shouldUpdate:Or,rules:kr,children:dr,required:Zn,label:Mn,messageVariables:Ur,trigger:si="onChange",validateTrigger:ei,hidden:Ai,help:Ki,layout:Vi}=ot,{getPrefixCls:eo}=Xe.useContext(Qt.E_),{name:Di}=Xe.useContext(oe.q3),bi=zt(dr),Fi=typeof bi=="function",ki=Xe.useContext(oe.qI),{validateTrigger:uo}=Xe.useContext(At.FieldContext),Zi=ei!==void 0?ei:uo,co=kt!=null,oo=eo("form",xr),Yi=(0,Me.Z)(oo),[Xi,Oo,go]=wt(oo,Yi),bo=(0,dn.ln)("Form.Item"),Po=Xe.useContext(At.ListContext),Ho=Xe.useRef(null),[$i,Bo]=ar({}),[Pi,Ko]=(0,he.Z)(()=>ai()),Ua=mo=>{const Ti=Po==null?void 0:Po.getKey(mo.name);if(Ko(mo.destroy?ai():mo,!0),ft&&Ki!==!1&&ki){let Pr=mo.name;if(mo.destroy)Pr=Ho.current||Pr;else if(Ti!==void 0){const[jr,Vr]=Ti;Pr=[jr].concat((0,qt.Z)(Vr)),Ho.current=Pr}ki(mo,Pr)}},Oa=(mo,Ti)=>{Bo(Pr=>{const jr=Object.assign({},Pr),Sr=[].concat((0,qt.Z)(mo.name.slice(0,-1)),(0,qt.Z)(Ti)).join(pr);return mo.destroy?delete jr[Sr]:jr[Sr]=mo,jr})},[Jo,Vo]=Xe.useMemo(()=>{const mo=(0,qt.Z)(Pi.errors),Ti=(0,qt.Z)(Pi.warnings);return Object.values($i).forEach(Pr=>{mo.push.apply(mo,(0,qt.Z)(Pr.errors||[])),Ti.push.apply(Ti,(0,qt.Z)(Pr.warnings||[]))}),[mo,Ti]},[$i,Pi.errors,Pi.warnings]),qo=Mt();function ma(mo,Ti,Pr){return ft&&!Ai?Xe.createElement(Ln,{prefixCls:oo,hasFeedback:ot.hasFeedback,validateStatus:ot.validateStatus,meta:Pi,errors:Jo,warnings:Vo,noStyle:!0},mo):Xe.createElement(cr,Object.assign({key:"row"},ot,{className:rt()(Gt,go,Yi,Oo),prefixCls:oo,fieldId:Ti,isRequired:Pr,errors:Jo,warnings:Vo,meta:Pi,onSubItemMetaChange:Oa,layout:Vi}),mo)}if(!co&&!Fi&&!Fn)return Xi(ma(bi));let Ma={};return typeof Mn=="string"?Ma.label=Mn:kt&&(Ma.label=String(kt)),Ur&&(Ma=Object.assign(Object.assign({},Ma),Ur)),Xi(Xe.createElement(At.Field,Object.assign({},ot,{messageVariables:Ma,trigger:si,validateTrigger:Zi,onMetaChange:Ua}),(mo,Ti,Pr)=>{const jr=_t(kt).length&&Ti?Ti.name:[],Vr=In(jr,Di),Sr=Zn!==void 0?Zn:!!(kr!=null&&kr.some(Fr=>{if(Fr&&typeof Fr=="object"&&Fr.required&&!Fr.warningOnly)return!0;if(typeof Fr=="function"){const zr=Fr(Pr);return(zr==null?void 0:zr.required)&&!(zr!=null&&zr.warningOnly)}return!1})),hi=Object.assign({},mo);let Ii=null;if(Array.isArray(bi)&&co)Ii=bi;else if(!(Fi&&(!(Or||Fn)||co))){if(!(Fn&&!Fi&&!co))if(Xe.isValidElement(bi)){const Fr=Object.assign(Object.assign({},bi.props),hi);if(Fr.id||(Fr.id=Vr),Ki||Jo.length>0||Vo.length>0||ot.extra){const vi=[];(Ki||Jo.length>0)&&vi.push(`${Vr}_help`),ot.extra&&vi.push(`${Vr}_extra`),Fr["aria-describedby"]=vi.join(" ")}Jo.length>0&&(Fr["aria-invalid"]="true"),Sr&&(Fr["aria-required"]="true"),(0,We.Yr)(bi)&&(Fr.ref=qo(jr,bi)),new Set([].concat((0,qt.Z)(_t(si)),(0,qt.Z)(_t(Zi)))).forEach(vi=>{Fr[vi]=function(){for(var to,Zo,Do,ra,ea,va=arguments.length,Aa=new Array(va),Ro=0;Ro{var{prefixCls:kt,children:ft}=ot,Gt=Xt(ot,["prefixCls","children"]);const{getPrefixCls:Fn}=Xe.useContext(Qt.E_),xr=Fn("form",kt),Or=Xe.useMemo(()=>({prefixCls:xr,status:"error"}),[xr]);return Xe.createElement(At.List,Object.assign({},Gt),(kr,dr,Zn)=>Xe.createElement(oe.Rk.Provider,{value:Or},ft(kr.map(Mn=>Object.assign(Object.assign({},Mn),{fieldKey:Mn.key})),dr,{errors:Zn.errors,warnings:Zn.warnings})))};function wr(){const{form:ot}=Xe.useContext(oe.q3);return ot}const Lt=Ie;Lt.Item=mi,Lt.List=Lr,Lt.ErrorList=$e,Lt.useForm=Rt,Lt.useFormInstance=wr,Lt.useWatch=At.useWatch,Lt.Provider=oe.RV,Lt.create=()=>{};var Vt=Lt},4875:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Jn}});var oe=pe(59301),qt=pe(84105),Xe=pe(87395),Ht=pe(92310),rt=pe.n(Ht),at=pe(60499),Dt=pe(18642),Me=pe(43749),Pe=pe(72190),ce=pe(42244),ke=pe(38705),Le=pe(17212);function Ve(){return typeof BigInt=="function"}function Ke(nt){return!nt&&nt!==0&&!Number.isNaN(nt)||!String(nt).trim()}function He(nt){var gt=nt.trim(),Kt=gt.startsWith("-");Kt&&(gt=gt.slice(1)),gt=gt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),gt.startsWith(".")&&(gt="0".concat(gt));var vn=gt||"0",Rn=vn.split("."),hr=Rn[0]||"0",$r=Rn[1]||"0";hr==="0"&&$r==="0"&&(Kt=!1);var Xr=Kt?"-":"";return{negative:Kt,negativeStr:Xr,trimStr:vn,integerStr:hr,decimalStr:$r,fullStr:"".concat(Xr).concat(vn)}}function Ge(nt){var gt=String(nt);return!Number.isNaN(Number(gt))&>.includes("e")}function ze(nt){var gt=String(nt);if(Ge(nt)){var Kt=Number(gt.slice(gt.indexOf("e-")+2)),vn=gt.match(/\.(\d+)/);return vn!=null&&vn[1]&&(Kt+=vn[1].length),Kt}return gt.includes(".")&&pt(gt)?gt.length-gt.indexOf(".")-1:0}function qe(nt){var gt=String(nt);if(Ge(nt)){if(nt>Number.MAX_SAFE_INTEGER)return String(Ve()?BigInt(nt).toString():Number.MAX_SAFE_INTEGER);if(nt0&&arguments[0]!==void 0?arguments[0]:!0;return Kt?this.isInvalidate()?"":He("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),nt}(),vt=function(){function nt(gt){if((0,ke.Z)(this,nt),(0,Dt.Z)(this,"origin",""),(0,Dt.Z)(this,"number",void 0),(0,Dt.Z)(this,"empty",void 0),Ke(gt)){this.empty=!0;return}this.origin=String(gt),this.number=Number(gt)}return(0,Le.Z)(nt,[{key:"negate",value:function(){return new nt(-this.toNumber())}},{key:"add",value:function(Kt){if(this.isInvalidate())return new nt(Kt);var vn=Number(Kt);if(Number.isNaN(vn))return this;var Rn=this.number+vn;if(Rn>Number.MAX_SAFE_INTEGER)return new nt(Number.MAX_SAFE_INTEGER);if(RnNumber.MAX_SAFE_INTEGER)return new nt(Number.MAX_SAFE_INTEGER);if(Rn0&&arguments[0]!==void 0?arguments[0]:!0;return Kt?this.isInvalidate()?"":qe(this.number):this.origin}}]),nt}();function yt(nt){return Ve()?new Bt(nt):new vt(nt)}function Nt(nt,gt,Kt){var vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(nt==="")return"";var Rn=He(nt),hr=Rn.negativeStr,$r=Rn.integerStr,Xr=Rn.decimalStr,vr="".concat(gt).concat(Xr),lr="".concat(hr).concat($r);if(Kt>=0){var Dr=Number(Xr[Kt]);if(Dr>=5&&!vn){var rr=yt(nt).add("".concat(hr,"0.").concat("0".repeat(Kt)).concat(10-Dr));return Nt(rr.toString(),gt,Kt,vn)}return Kt===0?lr:"".concat(lr).concat(gt).concat(Xr.padEnd(Kt,"0").slice(0,Kt))}return vr===".0"?lr:"".concat(lr).concat(vr)}var Et=yt,pn=pe(36901),Pt=pe(34280);function St(nt,gt){return typeof Proxy!="undefined"&&nt?new Proxy(nt,{get:function(vn,Rn){if(gt[Rn])return gt[Rn];var hr=vn[Rn];return typeof hr=="function"?hr.bind(vn):hr}}):nt}var jt=pe(8654),Je=pe(48736);function wt(nt,gt){var Kt=(0,oe.useRef)(null);function vn(){try{var hr=nt.selectionStart,$r=nt.selectionEnd,Xr=nt.value,vr=Xr.substring(0,hr),lr=Xr.substring($r);Kt.current={start:hr,end:$r,value:Xr,beforeTxt:vr,afterTxt:lr}}catch(Dr){}}function Rn(){if(nt&&Kt.current&>)try{var hr=nt.value,$r=Kt.current,Xr=$r.beforeTxt,vr=$r.afterTxt,lr=$r.start,Dr=hr.length;if(hr.startsWith(Xr))Dr=Xr.length;else if(hr.endsWith(vr))Dr=hr.length-Kt.current.afterTxt.length;else{var rr=Xr[lr-1],Tn=hr.indexOf(rr,lr-1);Tn!==-1&&(Dr=Tn+1)}nt.setSelectionRange(Dr,Dr)}catch(_n){(0,Je.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(_n.message))}}return[vn,Rn]}var lt=pe(49658),Fe=function(){var gt=(0,oe.useState)(!1),Kt=(0,Pe.Z)(gt,2),vn=Kt[0],Rn=Kt[1];return(0,Pt.Z)(function(){Rn((0,lt.Z)())},[]),vn},Zt=Fe,$e=pe(16089),At=200,Qt=600;function Te(nt){var gt=nt.prefixCls,Kt=nt.upNode,vn=nt.downNode,Rn=nt.upDisabled,hr=nt.downDisabled,$r=nt.onStep,Xr=oe.useRef(),vr=oe.useRef([]),lr=oe.useRef();lr.current=$r;var Dr=function(){clearTimeout(Xr.current)},rr=function(Wr,Gr){Wr.preventDefault(),Dr(),lr.current(Gr);function ai(){lr.current(Gr),Xr.current=setTimeout(ai,At)}Xr.current=setTimeout(ai,Qt)};oe.useEffect(function(){return function(){Dr(),vr.current.forEach(function(Rr){return $e.Z.cancel(Rr)})}},[]);var Tn=Zt();if(Tn)return null;var _n="".concat(gt,"-handler"),Ln=rt()(_n,"".concat(_n,"-up"),(0,Dt.Z)({},"".concat(_n,"-up-disabled"),Rn)),mr=rt()(_n,"".concat(_n,"-down"),(0,Dt.Z)({},"".concat(_n,"-down-disabled"),hr)),cr=function(){return vr.current.push((0,$e.Z)(Dr))},pr={unselectable:"on",role:"button",onMouseUp:cr,onMouseLeave:cr};return oe.createElement("div",{className:"".concat(_n,"-wrap")},oe.createElement("span",(0,at.Z)({},pr,{onMouseDown:function(Wr){rr(Wr,!0)},"aria-label":"Increase Value","aria-disabled":Rn,className:Ln}),Kt||oe.createElement("span",{unselectable:"on",className:"".concat(gt,"-handler-up-inner")})),oe.createElement("span",(0,at.Z)({},pr,{onMouseDown:function(Wr){rr(Wr,!1)},"aria-label":"Decrease Value","aria-disabled":hr,className:mr}),vn||oe.createElement("span",{unselectable:"on",className:"".concat(gt,"-handler-down-inner")})))}function xe(nt){var gt=typeof nt=="number"?qe(nt):He(nt).fullStr,Kt=gt.includes(".");return Kt?He(gt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:nt+"0"}var It=pe(30292),Cn=function(){var nt=(0,oe.useRef)(0),gt=function(){$e.Z.cancel(nt.current)};return(0,oe.useEffect)(function(){return gt},[]),function(Kt){gt(),nt.current=(0,$e.Z)(function(){Kt()})}},mn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],Ze=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ct=function(gt,Kt){return gt||Kt.isEmpty()?Kt.toString():Kt.toNumber()},_t=function(gt){var Kt=Et(gt);return Kt.isInvalidate()?null:Kt},In=oe.forwardRef(function(nt,gt){var Kt=nt.prefixCls,vn=nt.className,Rn=nt.style,hr=nt.min,$r=nt.max,Xr=nt.step,vr=Xr===void 0?1:Xr,lr=nt.defaultValue,Dr=nt.value,rr=nt.disabled,Tn=nt.readOnly,_n=nt.upHandler,Ln=nt.downHandler,mr=nt.keyboard,cr=nt.changeOnWheel,pr=cr===void 0?!1:cr,Rr=nt.controls,Wr=Rr===void 0?!0:Rr,Gr=nt.classNames,ai=nt.stringMode,ti=nt.parser,xi=nt.formatter,mi=nt.precision,Xt=nt.decimalSeparator,Kn=nt.onChange,Lr=nt.onInput,wr=nt.onPressEnter,Lt=nt.onStep,Vt=nt.changeOnBlur,ot=Vt===void 0?!0:Vt,kt=nt.domRef,ft=(0,ce.Z)(nt,mn),Gt="".concat(Kt,"-input"),Fn=oe.useRef(null),xr=oe.useState(!1),Or=(0,Pe.Z)(xr,2),kr=Or[0],dr=Or[1],Zn=oe.useRef(!1),Mn=oe.useRef(!1),Ur=oe.useRef(!1),si=oe.useState(function(){return Et(Dr!=null?Dr:lr)}),ei=(0,Pe.Z)(si,2),Ai=ei[0],Ki=ei[1];function Vi(Vr){Dr===void 0&&Ki(Vr)}var eo=oe.useCallback(function(Vr,Sr){if(!Sr)return mi>=0?mi:Math.max(ze(Vr),ze(vr))},[mi,vr]),Di=oe.useCallback(function(Vr){var Sr=String(Vr);if(ti)return ti(Sr);var hi=Sr;return Xt&&(hi=hi.replace(Xt,".")),hi.replace(/[^\w.-]+/g,"")},[ti,Xt]),bi=oe.useRef(""),Fi=oe.useCallback(function(Vr,Sr){if(xi)return xi(Vr,{userTyping:Sr,input:String(bi.current)});var hi=typeof Vr=="number"?qe(Vr):Vr;if(!Sr){var Ii=eo(hi,Sr);if(pt(hi)&&(Xt||Ii>=0)){var Fr=Xt||".";hi=Nt(hi,Fr,Ii)}}return hi},[xi,eo,Xt]),ki=oe.useState(function(){var Vr=lr!=null?lr:Dr;return Ai.isInvalidate()&&["string","number"].includes((0,Me.Z)(Vr))?Number.isNaN(Vr)?"":Vr:Fi(Ai.toString(),!1)}),uo=(0,Pe.Z)(ki,2),Zi=uo[0],co=uo[1];bi.current=Zi;function oo(Vr,Sr){co(Fi(Vr.isInvalidate()?Vr.toString(!1):Vr.toString(!Sr),Sr))}var Yi=oe.useMemo(function(){return _t($r)},[$r,mi]),Xi=oe.useMemo(function(){return _t(hr)},[hr,mi]),Oo=oe.useMemo(function(){return!Yi||!Ai||Ai.isInvalidate()?!1:Yi.lessEquals(Ai)},[Yi,Ai]),go=oe.useMemo(function(){return!Xi||!Ai||Ai.isInvalidate()?!1:Ai.lessEquals(Xi)},[Xi,Ai]),bo=wt(Fn.current,kr),Po=(0,Pe.Z)(bo,2),Ho=Po[0],$i=Po[1],Bo=function(Sr){return Yi&&!Sr.lessEquals(Yi)?Yi:Xi&&!Xi.lessEquals(Sr)?Xi:null},Pi=function(Sr){return!Bo(Sr)},Ko=function(Sr,hi){var Ii=Sr,Fr=Pi(Ii)||Ii.isEmpty();if(!Ii.isEmpty()&&!hi&&(Ii=Bo(Ii)||Ii,Fr=!0),!Tn&&!rr&&Fr){var zr=Ii.toString(),fi=eo(zr,hi);return fi>=0&&(Ii=Et(Nt(zr,".",fi)),Pi(Ii)||(Ii=Et(Nt(zr,".",fi,!0)))),Ii.equals(Ai)||(Vi(Ii),Kn==null||Kn(Ii.isEmpty()?null:Ct(ai,Ii)),Dr===void 0&&oo(Ii,hi)),Ii}return Ai},Ua=Cn(),Oa=function Vr(Sr){if(Ho(),bi.current=Sr,co(Sr),!Mn.current){var hi=Di(Sr),Ii=Et(hi);Ii.isNaN()||Ko(Ii,!0)}Lr==null||Lr(Sr),Ua(function(){var Fr=Sr;ti||(Fr=Sr.replace(/。/g,".")),Fr!==Sr&&Vr(Fr)})},Jo=function(){Mn.current=!0},Vo=function(){Mn.current=!1,Oa(Fn.current.value)},qo=function(Sr){Oa(Sr.target.value)},ma=function(Sr){var hi;if(!(Sr&&Oo||!Sr&&go)){Zn.current=!1;var Ii=Et(Ur.current?xe(vr):vr);Sr||(Ii=Ii.negate());var Fr=(Ai||Et(0)).add(Ii.toString()),zr=Ko(Fr,!1);Lt==null||Lt(Ct(ai,zr),{offset:Ur.current?xe(vr):vr,type:Sr?"up":"down"}),(hi=Fn.current)===null||hi===void 0||hi.focus()}},Ma=function(Sr){var hi=Et(Di(Zi)),Ii;hi.isNaN()?Ii=Ko(Ai,Sr):Ii=Ko(hi,Sr),Dr!==void 0?oo(Ai,!1):Ii.isNaN()||oo(Ii,!1)},mo=function(){Zn.current=!0},Ti=function(Sr){var hi=Sr.key,Ii=Sr.shiftKey;Zn.current=!0,Ur.current=Ii,hi==="Enter"&&(Mn.current||(Zn.current=!1),Ma(!1),wr==null||wr(Sr)),mr!==!1&&!Mn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(hi)&&(ma(hi==="Up"||hi==="ArrowUp"),Sr.preventDefault())},Pr=function(){Zn.current=!1,Ur.current=!1};oe.useEffect(function(){if(pr&&kr){var Vr=function(Ii){ma(Ii.deltaY<0),Ii.preventDefault()},Sr=Fn.current;if(Sr)return Sr.addEventListener("wheel",Vr,{passive:!1}),function(){return Sr.removeEventListener("wheel",Vr)}}});var jr=function(){ot&&Ma(!1),dr(!1),Zn.current=!1};return(0,Pt.o)(function(){Ai.isInvalidate()||oo(Ai,!1)},[mi,xi]),(0,Pt.o)(function(){var Vr=Et(Dr);Ki(Vr);var Sr=Et(Di(Zi));(!Vr.equals(Sr)||!Zn.current||xi)&&oo(Vr,Zn.current)},[Dr]),(0,Pt.o)(function(){xi&&$i()},[Zi]),oe.createElement("div",{ref:kt,className:rt()(Kt,vn,(0,Dt.Z)((0,Dt.Z)((0,Dt.Z)((0,Dt.Z)((0,Dt.Z)({},"".concat(Kt,"-focused"),kr),"".concat(Kt,"-disabled"),rr),"".concat(Kt,"-readonly"),Tn),"".concat(Kt,"-not-a-number"),Ai.isNaN()),"".concat(Kt,"-out-of-range"),!Ai.isInvalidate()&&!Pi(Ai))),style:Rn,onFocus:function(){dr(!0)},onBlur:jr,onKeyDown:Ti,onKeyUp:Pr,onCompositionStart:Jo,onCompositionEnd:Vo,onBeforeInput:mo},Wr&&oe.createElement(Te,{prefixCls:Kt,upNode:_n,downNode:Ln,upDisabled:Oo,downDisabled:go,onStep:ma}),oe.createElement("div",{className:"".concat(Gt,"-wrap")},oe.createElement("input",(0,at.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":hr,"aria-valuemax":$r,"aria-valuenow":Ai.isInvalidate()?null:Ai.toString(),step:vr},ft,{ref:(0,jt.sQ)(Fn,gt),className:Gt,value:Zi,onChange:qo,disabled:rr,readOnly:Tn}))))}),xn=oe.forwardRef(function(nt,gt){var Kt=nt.disabled,vn=nt.style,Rn=nt.prefixCls,hr=Rn===void 0?"rc-input-number":Rn,$r=nt.value,Xr=nt.prefix,vr=nt.suffix,lr=nt.addonBefore,Dr=nt.addonAfter,rr=nt.className,Tn=nt.classNames,_n=(0,ce.Z)(nt,Ze),Ln=oe.useRef(null),mr=oe.useRef(null),cr=oe.useRef(null),pr=function(Wr){cr.current&&(0,It.nH)(cr.current,Wr)};return oe.useImperativeHandle(gt,function(){return St(cr.current,{focus:pr,nativeElement:Ln.current.nativeElement||mr.current})}),oe.createElement(pn.BaseInput,{className:rr,triggerFocus:pr,prefixCls:hr,value:$r,disabled:Kt,style:vn,prefix:Xr,suffix:vr,addonAfter:Dr,addonBefore:lr,classNames:Tn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Ln},oe.createElement(In,(0,at.Z)({prefixCls:hr,disabled:Kt,ref:cr,domRef:mr,className:Tn==null?void 0:Tn.input},_n)))}),Wn=xn,ct=Wn,En=pe(62487),Rt=pe(82855),be=pe(48755),de=pe(60840),le=pe(2171),ye=pe(83397),Ie=pe(31756),he=pe(56553),We=pe(24971),tt=pe(70045),dn=pe(36237),ut=pe(53075),zt=pe(64910),en=pe(39082),Sn=pe(63356),yn=pe(56119),ar=pe(16931),Mt=pe(51636),nn=pe(17835);const ln=nt=>{var gt;const Kt=(gt=nt.handleVisible)!==null&>!==void 0?gt:"auto",vn=nt.controlHeightSM-nt.lineWidth*2;return Object.assign(Object.assign({},(0,zt.T)(nt)),{controlWidth:90,handleWidth:vn,handleFontSize:nt.fontSize/2,handleVisible:Kt,handleActiveBg:nt.colorFillAlter,handleBg:nt.colorBgContainer,filledHandleBg:new nn.FastColor(nt.colorFillSecondary).onBackground(nt.colorBgContainer).toHexString(),handleHoverColor:nt.colorPrimary,handleBorderColor:nt.colorBorder,handleOpacity:Kt===!0?1:0,handleVisibleWidth:Kt===!0?vn:0})},Un=(nt,gt)=>{let{componentCls:Kt,borderRadiusSM:vn,borderRadiusLG:Rn}=nt;const hr=gt==="lg"?Rn:vn;return{[`&-${gt}`]:{[`${Kt}-handler-wrap`]:{borderStartEndRadius:hr,borderEndEndRadius:hr},[`${Kt}-handler-up`]:{borderStartEndRadius:hr},[`${Kt}-handler-down`]:{borderEndEndRadius:hr}}}},Nn=nt=>{const{componentCls:gt,lineWidth:Kt,lineType:vn,borderRadius:Rn,inputFontSizeSM:hr,inputFontSizeLG:$r,controlHeightLG:Xr,controlHeightSM:vr,colorError:lr,paddingInlineSM:Dr,paddingBlockSM:rr,paddingBlockLG:Tn,paddingInlineLG:_n,colorTextDescription:Ln,motionDurationMid:mr,handleHoverColor:cr,handleOpacity:pr,paddingInline:Rr,paddingBlock:Wr,handleBg:Gr,handleActiveBg:ai,colorTextDisabled:ti,borderRadiusSM:xi,borderRadiusLG:mi,controlWidth:Xt,handleBorderColor:Kn,filledHandleBg:Lr,lineHeightLG:wr,calc:Lt}=nt;return[{[gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Sn.Wf)(nt)),(0,ut.ik)(nt)),{display:"inline-block",width:Xt,margin:0,padding:0,borderRadius:Rn}),(0,en.qG)(nt,{[`${gt}-handler-wrap`]:{background:Gr,[`${gt}-handler-down`]:{borderBlockStart:`${(0,dn.unit)(Kt)} ${vn} ${Kn}`}}})),(0,en.H8)(nt,{[`${gt}-handler-wrap`]:{background:Lr,[`${gt}-handler-down`]:{borderBlockStart:`${(0,dn.unit)(Kt)} ${vn} ${Kn}`}},"&:focus-within":{[`${gt}-handler-wrap`]:{background:Gr}}})),(0,en.vc)(nt,{[`${gt}-handler-wrap`]:{background:Gr,[`${gt}-handler-down`]:{borderBlockStart:`${(0,dn.unit)(Kt)} ${vn} ${Kn}`}}})),(0,en.Mu)(nt)),{"&-rtl":{direction:"rtl",[`${gt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:$r,lineHeight:wr,borderRadius:mi,[`input${gt}-input`]:{height:Lt(Xr).sub(Lt(Kt).mul(2)).equal(),padding:`${(0,dn.unit)(Tn)} ${(0,dn.unit)(_n)}`}},"&-sm":{padding:0,fontSize:hr,borderRadius:xi,[`input${gt}-input`]:{height:Lt(vr).sub(Lt(Kt).mul(2)).equal(),padding:`${(0,dn.unit)(rr)} ${(0,dn.unit)(Dr)}`}},"&-out-of-range":{[`${gt}-input-wrap`]:{input:{color:lr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Sn.Wf)(nt)),(0,ut.s7)(nt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${gt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${gt}-group-addon`]:{borderRadius:mi,fontSize:nt.fontSizeLG}},"&-sm":{[`${gt}-group-addon`]:{borderRadius:xi}}},(0,en.ir)(nt)),(0,en.S5)(nt)),{[`&:not(${gt}-compact-first-item):not(${gt}-compact-last-item)${gt}-compact-item`]:{[`${gt}, ${gt}-group-addon`]:{borderRadius:0}},[`&:not(${gt}-compact-last-item)${gt}-compact-first-item`]:{[`${gt}, ${gt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${gt}-compact-first-item)${gt}-compact-last-item`]:{[`${gt}, ${gt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${gt}-input`]:{cursor:"not-allowed"},[gt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Sn.Wf)(nt)),{width:"100%",padding:`${(0,dn.unit)(Wr)} ${(0,dn.unit)(Rr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Rn,outline:0,transition:`all ${mr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ut.nz)(nt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${gt}-handler-wrap, &-focused ${gt}-handler-wrap`]:{width:nt.handleWidth,opacity:1}})},{[gt]:Object.assign(Object.assign(Object.assign({[`${gt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:nt.handleVisibleWidth,opacity:pr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Rn,borderEndEndRadius:Rn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${mr}`,overflow:"hidden",[`${gt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${gt}-handler-up-inner, ${gt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:nt.handleFontSize}}},[`${gt}-handler`]:{height:"50%",overflow:"hidden",color:Ln,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,dn.unit)(Kt)} ${vn} ${Kn}`,transition:`all ${mr} linear`,"&:active":{background:ai},"&:hover":{height:"60%",[` ${gt}-handler-up-inner, ${gt}-handler-down-inner `]:{color:cr}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Sn.Ro)()),{color:Ln,transition:`all ${mr} linear`,userSelect:"none"})},[`${gt}-handler-up`]:{borderStartEndRadius:Rn},[`${gt}-handler-down`]:{borderEndEndRadius:Rn}},Un(nt,"lg")),Un(nt,"sm")),{"&-disabled, &-readonly":{[`${gt}-handler-wrap`]:{display:"none"},[`${gt}-input`]:{color:"inherit"}},[` ${gt}-handler-up-disabled, ${gt}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${gt}-handler-up-disabled:hover &-handler-up-inner, ${gt}-handler-down-disabled:hover &-handler-down-inner `]:{color:ti}})}]},un=nt=>{const{componentCls:gt,paddingBlock:Kt,paddingInline:vn,inputAffixPadding:Rn,controlWidth:hr,borderRadiusLG:$r,borderRadiusSM:Xr,paddingInlineLG:vr,paddingInlineSM:lr,paddingBlockLG:Dr,paddingBlockSM:rr,motionDurationMid:Tn}=nt;return{[`${gt}-affix-wrapper`]:Object.assign(Object.assign({[`input${gt}-input`]:{padding:`${(0,dn.unit)(Kt)} 0`}},(0,ut.ik)(nt)),{position:"relative",display:"inline-flex",alignItems:"center",width:hr,padding:0,paddingInlineStart:vn,"&-lg":{borderRadius:$r,paddingInlineStart:vr,[`input${gt}-input`]:{padding:`${(0,dn.unit)(Dr)} 0`}},"&-sm":{borderRadius:Xr,paddingInlineStart:lr,[`input${gt}-input`]:{padding:`${(0,dn.unit)(rr)} 0`}},[`&:not(${gt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${gt}-disabled`]:{background:"transparent"},[`> div${gt}`]:{width:"100%",border:"none",outline:"none",[`&${gt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${gt}-handler-wrap`]:{zIndex:2},[gt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Rn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:vn,marginInlineStart:Rn,transition:`margin ${Tn}`}},[`&:hover ${gt}-handler-wrap, &-focused ${gt}-handler-wrap`]:{width:nt.handleWidth,opacity:1},[`&:not(${gt}-affix-wrapper-without-controls):hover ${gt}-suffix`]:{marginInlineEnd:nt.calc(nt.handleWidth).add(vn).equal()}})}};var ir=(0,ar.I$)("InputNumber",nt=>{const gt=(0,Mt.mergeToken)(nt,(0,zt.e)(nt));return[Nn(gt),un(gt),(0,yn.c)(gt)]},ln,{unitless:{handleOpacity:!0}}),Xn=function(nt,gt){var Kt={};for(var vn in nt)Object.prototype.hasOwnProperty.call(nt,vn)&>.indexOf(vn)<0&&(Kt[vn]=nt[vn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,vn=Object.getOwnPropertySymbols(nt);Rn{const{getPrefixCls:Kt,direction:vn}=oe.useContext(be.E_),Rn=oe.useRef(null);oe.useImperativeHandle(gt,()=>Rn.current);const{className:hr,rootClassName:$r,size:Xr,disabled:vr,prefixCls:lr,addonBefore:Dr,addonAfter:rr,prefix:Tn,suffix:_n,bordered:Ln,readOnly:mr,status:cr,controls:pr,variant:Rr}=nt,Wr=Xn(nt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Gr=Kt("input-number",lr),ai=(0,ye.Z)(Gr),[ti,xi,mi]=ir(Gr,ai),{compactSize:Xt,compactItemClassnames:Kn}=(0,tt.ri)(Gr,vn);let Lr=oe.createElement(Xe.Z,{className:`${Gr}-handler-up-inner`}),wr=oe.createElement(qt.Z,{className:`${Gr}-handler-down-inner`});const Lt=typeof pr=="boolean"?pr:void 0;typeof pr=="object"&&(Lr=typeof pr.upIcon=="undefined"?Lr:oe.createElement("span",{className:`${Gr}-handler-up-inner`},pr.upIcon),wr=typeof pr.downIcon=="undefined"?wr:oe.createElement("span",{className:`${Gr}-handler-down-inner`},pr.downIcon));const{hasFeedback:Vt,status:ot,isFormItemInput:kt,feedbackIcon:ft}=oe.useContext(he.aM),Gt=(0,Rt.F)(ot,cr),Fn=(0,Ie.Z)(ei=>{var Ai;return(Ai=Xr!=null?Xr:Xt)!==null&&Ai!==void 0?Ai:ei}),xr=oe.useContext(le.Z),Or=vr!=null?vr:xr,[kr,dr]=(0,We.Z)("inputNumber",Rr,Ln),Zn=Vt&&oe.createElement(oe.Fragment,null,ft),Mn=rt()({[`${Gr}-lg`]:Fn==="large",[`${Gr}-sm`]:Fn==="small",[`${Gr}-rtl`]:vn==="rtl",[`${Gr}-in-form-item`]:kt},xi),Ur=`${Gr}-group`,si=oe.createElement(ct,Object.assign({ref:Rn,disabled:Or,className:rt()(mi,ai,hr,$r,Kn),upHandler:Lr,downHandler:wr,prefixCls:Gr,readOnly:mr,controls:Lt,prefix:Tn,suffix:Zn||_n,addonBefore:Dr&&oe.createElement(En.Z,{form:!0,space:!0},Dr),addonAfter:rr&&oe.createElement(En.Z,{form:!0,space:!0},rr),classNames:{input:Mn,variant:rt()({[`${Gr}-${kr}`]:dr},(0,Rt.Z)(Gr,Gt,Vt)),affixWrapper:rt()({[`${Gr}-affix-wrapper-sm`]:Fn==="small",[`${Gr}-affix-wrapper-lg`]:Fn==="large",[`${Gr}-affix-wrapper-rtl`]:vn==="rtl",[`${Gr}-affix-wrapper-without-controls`]:pr===!1||Or},xi),wrapper:rt()({[`${Ur}-rtl`]:vn==="rtl"},xi),groupWrapper:rt()({[`${Gr}-group-wrapper-sm`]:Fn==="small",[`${Gr}-group-wrapper-lg`]:Fn==="large",[`${Gr}-group-wrapper-rtl`]:vn==="rtl",[`${Gr}-group-wrapper-${kr}`]:dr},(0,Rt.Z)(`${Gr}-group-wrapper`,Gt,Vt),xi)}},Wr));return ti(si)}),An=Ft,Qn=nt=>oe.createElement(de.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},oe.createElement(Ft,Object.assign({},nt)));An._InternalPanelDoNotUseOrYouWillBeFired=Qn;var Jn=An},49397:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return vt}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(36901),rt=pe(8654),at=pe(62487),Dt=pe(86013),Me=pe(82855),Pe=pe(48755),ce=pe(2171),ke=pe(83397),Le=pe(31756),Ve=pe(56553),Ke=pe(24971),He=pe(70045),Ge=pe(23826),ze=pe(53075);function qe(yt){return!!(yt.prefix||yt.suffix||yt.allowClear||yt.showCount)}var pt=function(yt,Nt){var Et={};for(var pn in yt)Object.prototype.hasOwnProperty.call(yt,pn)&&Nt.indexOf(pn)<0&&(Et[pn]=yt[pn]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,pn=Object.getOwnPropertySymbols(yt);Pt{const{prefixCls:Et,bordered:pn=!0,status:Pt,size:St,disabled:jt,onBlur:Je,onFocus:wt,suffix:lt,allowClear:Fe,addonAfter:Zt,addonBefore:$e,className:At,style:Qt,styles:Te,rootClassName:xe,onChange:It,classNames:Cn,variant:mn}=yt,Ze=pt(yt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ct,direction:_t,allowClear:In,autoComplete:xn,className:Wn,style:ct,classNames:En,styles:Rt}=(0,Pe.dj)("input"),be=Ct("input",Et),de=(0,oe.useRef)(null),le=(0,ke.Z)(be),[ye,Ie,he]=(0,ze.TI)(be,xe),[We]=(0,ze.ZP)(be,le),{compactSize:tt,compactItemClassnames:dn}=(0,He.ri)(be,_t),ut=(0,Le.Z)(Jn=>{var nt;return(nt=St!=null?St:tt)!==null&&nt!==void 0?nt:Jn}),zt=oe.useContext(ce.Z),en=jt!=null?jt:zt,{status:Sn,hasFeedback:yn,feedbackIcon:ar}=(0,oe.useContext)(Ve.aM),Mt=(0,Me.F)(Sn,Pt),nn=qe(yt)||!!yn,ln=(0,oe.useRef)(nn),Un=(0,Ge.Z)(de,!0),Nn=Jn=>{Un(),Je==null||Je(Jn)},un=Jn=>{Un(),wt==null||wt(Jn)},ir=Jn=>{Un(),It==null||It(Jn)},Xn=(yn||lt)&&oe.createElement(oe.Fragment,null,lt,yn&&ar),Ft=(0,Dt.Z)(Fe!=null?Fe:In),[An,Qn]=(0,Ke.Z)("input",mn,pn);return ye(We(oe.createElement(Ht.default,Object.assign({ref:(0,rt.sQ)(Nt,de),prefixCls:be,autoComplete:xn},Ze,{disabled:en,onBlur:Nn,onFocus:un,style:Object.assign(Object.assign({},ct),Qt),styles:Object.assign(Object.assign({},Rt),Te),suffix:Xn,allowClear:Ft,className:Xe()(At,xe,he,le,dn,Wn),onChange:ir,addonBefore:$e&&oe.createElement(at.Z,{form:!0,space:!0},$e),addonAfter:Zt&&oe.createElement(at.Z,{form:!0,space:!0},Zt),classNames:Object.assign(Object.assign(Object.assign({},Cn),En),{input:Xe()({[`${be}-sm`]:ut==="small",[`${be}-lg`]:ut==="large",[`${be}-rtl`]:_t==="rtl"},Cn==null?void 0:Cn.input,En.input,Ie),variant:Xe()({[`${be}-${An}`]:Qn},(0,Me.Z)(be,Mt)),affixWrapper:Xe()({[`${be}-affix-wrapper-sm`]:ut==="small",[`${be}-affix-wrapper-lg`]:ut==="large",[`${be}-affix-wrapper-rtl`]:_t==="rtl"},Ie),wrapper:Xe()({[`${be}-group-rtl`]:_t==="rtl"},Ie),groupWrapper:Xe()({[`${be}-group-wrapper-sm`]:ut==="small",[`${be}-group-wrapper-lg`]:ut==="large",[`${be}-group-wrapper-rtl`]:_t==="rtl",[`${be}-group-wrapper-${An}`]:Qn},(0,Me.Z)(`${be}-group-wrapper`,Mt,yn),Ie)})}))))})},79809:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Nt}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(22711),rt=pe(86013),at=pe(82855),Dt=pe(48755),Me=pe(2171),Pe=pe(83397),ce=pe(31756),ke=pe(56553),Le=pe(24971),Ve=pe(70045),Ke=pe(30292),He=pe(53075),Ge=pe(16931),ze=pe(51636),qe=pe(64910);const pt=Et=>{const{componentCls:pn,paddingLG:Pt}=Et,St=`${pn}-textarea`;return{[`textarea${pn}`]:{maxWidth:"100%",height:"auto",minHeight:Et.controlHeight,lineHeight:Et.lineHeight,verticalAlign:"bottom",transition:`all ${Et.motionDurationSlow}`,resize:"vertical",[`&${pn}-mouse-active`]:{transition:`all ${Et.motionDurationSlow}, height 0s, width 0s`}},[`${pn}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[St]:{position:"relative","&-show-count":{[`> ${pn}`]:{height:"100%"},[`${pn}-data-count`]:{position:"absolute",bottom:Et.calc(Et.fontSize).mul(Et.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Et.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${pn}, &-affix-wrapper${St}-has-feedback ${pn} `]:{paddingInlineEnd:Pt},[`&-affix-wrapper${pn}-affix-wrapper`]:{padding:0,[`> textarea${pn}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Et.calc(Et.controlHeight).sub(Et.calc(Et.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${pn}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${pn}-clear-icon`]:{position:"absolute",insetInlineEnd:Et.paddingInline,insetBlockStart:Et.paddingXS},[`${St}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Et.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${pn}-affix-wrapper-sm`]:{[`${pn}-suffix`]:{[`${pn}-clear-icon`]:{insetInlineEnd:Et.paddingInlineSM}}}}}};var Bt=(0,Ge.I$)(["Input","TextArea"],Et=>{const pn=(0,ze.mergeToken)(Et,(0,qe.e)(Et));return[pt(pn)]},qe.T,{resetFont:!1}),vt=function(Et,pn){var Pt={};for(var St in Et)Object.prototype.hasOwnProperty.call(Et,St)&&pn.indexOf(St)<0&&(Pt[St]=Et[St]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,St=Object.getOwnPropertySymbols(Et);jt{var Pt;const{prefixCls:St,bordered:jt=!0,size:Je,disabled:wt,status:lt,allowClear:Fe,classNames:Zt,rootClassName:$e,className:At,style:Qt,styles:Te,variant:xe,showCount:It,onMouseDown:Cn,onResize:mn}=Et,Ze=vt(Et,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ct,direction:_t,allowClear:In,autoComplete:xn,className:Wn,style:ct,classNames:En,styles:Rt}=(0,Dt.dj)("textArea"),be=oe.useContext(Me.Z),de=wt!=null?wt:be,{status:le,hasFeedback:ye,feedbackIcon:Ie}=oe.useContext(ke.aM),he=(0,at.F)(le,lt),We=oe.useRef(null);oe.useImperativeHandle(pn,()=>{var Qn;return{resizableTextArea:(Qn=We.current)===null||Qn===void 0?void 0:Qn.resizableTextArea,focus:Jn=>{var nt,gt;(0,Ke.nH)((gt=(nt=We.current)===null||nt===void 0?void 0:nt.resizableTextArea)===null||gt===void 0?void 0:gt.textArea,Jn)},blur:()=>{var Jn;return(Jn=We.current)===null||Jn===void 0?void 0:Jn.blur()}}});const tt=Ct("input",St),dn=(0,Pe.Z)(tt),[ut,zt,en]=(0,He.TI)(tt,$e),[Sn]=Bt(tt,dn),{compactSize:yn,compactItemClassnames:ar}=(0,Ve.ri)(tt,_t),Mt=(0,ce.Z)(Qn=>{var Jn;return(Jn=Je!=null?Je:yn)!==null&&Jn!==void 0?Jn:Qn}),[nn,ln]=(0,Le.Z)("textArea",xe,jt),Un=(0,rt.Z)(Fe!=null?Fe:In),[Nn,un]=oe.useState(!1),[ir,Xn]=oe.useState(!1),Ft=Qn=>{un(!0),Cn==null||Cn(Qn);const Jn=()=>{un(!1),document.removeEventListener("mouseup",Jn)};document.addEventListener("mouseup",Jn)},An=Qn=>{var Jn,nt;if(mn==null||mn(Qn),Nn&&typeof getComputedStyle=="function"){const gt=(nt=(Jn=We.current)===null||Jn===void 0?void 0:Jn.nativeElement)===null||nt===void 0?void 0:nt.querySelector("textarea");gt&&getComputedStyle(gt).resize==="both"&&Xn(!0)}};return ut(Sn(oe.createElement(Ht.default,Object.assign({autoComplete:xn},Ze,{style:Object.assign(Object.assign({},ct),Qt),styles:Object.assign(Object.assign({},Rt),Te),disabled:de,allowClear:Un,className:Xe()(en,dn,At,$e,ar,Wn,ir&&`${tt}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Zt),En),{textarea:Xe()({[`${tt}-sm`]:Mt==="small",[`${tt}-lg`]:Mt==="large"},zt,Zt==null?void 0:Zt.textarea,En.textarea,Nn&&`${tt}-mouse-active`),variant:Xe()({[`${tt}-${nn}`]:ln},(0,at.Z)(tt,he)),affixWrapper:Xe()(`${tt}-textarea-affix-wrapper`,{[`${tt}-affix-wrapper-rtl`]:_t==="rtl",[`${tt}-affix-wrapper-sm`]:Mt==="small",[`${tt}-affix-wrapper-lg`]:Mt==="large",[`${tt}-textarea-show-count`]:It||((Pt=Et.count)===null||Pt===void 0?void 0:Pt.show)},zt)}),prefixCls:tt,suffix:ye&&oe.createElement("span",{className:`${tt}-textarea-suffix`},Ie),showCount:It,ref:We,onResize:An,onMouseDown:Ft}))))})},23826:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return qt}});var oe=pe(59301);function qt(Xe,Ht){const rt=(0,oe.useRef)([]),at=()=>{rt.current.push(setTimeout(()=>{var Dt,Me,Pe,ce;!((Dt=Xe.current)===null||Dt===void 0)&&Dt.input&&((Me=Xe.current)===null||Me===void 0?void 0:Me.input.getAttribute("type"))==="password"&&(!((Pe=Xe.current)===null||Pe===void 0)&&Pe.input.hasAttribute("value"))&&((ce=Xe.current)===null||ce===void 0||ce.input.removeAttribute("value"))}))};return(0,oe.useEffect)(()=>(Ht&&at(),()=>rt.current.forEach(Dt=>{Dt&&clearTimeout(Dt)})),[]),at}},37568:function(gr,zn,pe){"use strict";pe.d(zn,{default:function(){return En}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(48755),rt=pe(56553),at=pe(53075),Me=Rt=>{const{getPrefixCls:be,direction:de}=(0,oe.useContext)(Ht.E_),{prefixCls:le,className:ye}=Rt,Ie=be("input-group",le),he=be("input"),[We,tt,dn]=(0,at.ZP)(he),ut=Xe()(Ie,dn,{[`${Ie}-lg`]:Rt.size==="large",[`${Ie}-sm`]:Rt.size==="small",[`${Ie}-compact`]:Rt.compact,[`${Ie}-rtl`]:de==="rtl"},tt,ye),zt=(0,oe.useContext)(rt.aM),en=(0,oe.useMemo)(()=>Object.assign(Object.assign({},zt),{isFormItemInput:!1}),[zt]);return We(oe.createElement("span",{className:ut,style:Rt.style,onMouseEnter:Rt.onMouseEnter,onMouseLeave:Rt.onMouseLeave,onFocus:Rt.onFocus,onBlur:Rt.onBlur},oe.createElement(rt.aM.Provider,{value:en},Rt.children)))},Pe=pe(49397),ce=pe(77654),ke=pe(6089),Le=pe(26112),Ve=pe(82855),Ke=pe(31756),He=pe(16931),Ge=pe(51636),ze=pe(64910);const qe=Rt=>{const{componentCls:be,paddingXS:de}=Rt;return{[be]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:de,"&-rtl":{direction:"rtl"},[`${be}-input`]:{textAlign:"center",paddingInline:Rt.paddingXXS},[`&${be}-sm ${be}-input`]:{paddingInline:Rt.calc(Rt.paddingXXS).div(2).equal()},[`&${be}-lg ${be}-input`]:{paddingInline:Rt.paddingXS}}}};var pt=(0,He.I$)(["Input","OTP"],Rt=>{const be=(0,Ge.mergeToken)(Rt,(0,ze.e)(Rt));return[qe(be)]},ze.T),Bt=pe(16089),vt=function(Rt,be){var de={};for(var le in Rt)Object.prototype.hasOwnProperty.call(Rt,le)&&be.indexOf(le)<0&&(de[le]=Rt[le]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,le=Object.getOwnPropertySymbols(Rt);ye{const{value:de,onChange:le,onActiveChange:ye,index:Ie,mask:he}=Rt,We=vt(Rt,["value","onChange","onActiveChange","index","mask"]),tt=de&&typeof he=="string"?he:de,dn=yn=>{le(Ie,yn.target.value)},ut=oe.useRef(null);oe.useImperativeHandle(be,()=>ut.current);const zt=()=>{(0,Bt.Z)(()=>{var yn;const ar=(yn=ut.current)===null||yn===void 0?void 0:yn.input;document.activeElement===ar&&ar&&ar.select()})},en=yn=>{const{key:ar,ctrlKey:Mt,metaKey:nn}=yn;ar==="ArrowLeft"?ye(Ie-1):ar==="ArrowRight"?ye(Ie+1):ar==="z"&&(Mt||nn)&&yn.preventDefault(),zt()},Sn=yn=>{yn.key==="Backspace"&&!de&&ye(Ie-1),zt()};return oe.createElement(Pe.Z,Object.assign({type:he===!0?"password":"text"},We,{ref:ut,value:tt,onInput:dn,onFocus:zt,onKeyDown:en,onKeyUp:Sn,onMouseDown:zt,onMouseUp:zt}))}),Et=function(Rt,be){var de={};for(var le in Rt)Object.prototype.hasOwnProperty.call(Rt,le)&&be.indexOf(le)<0&&(de[le]=Rt[le]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,le=Object.getOwnPropertySymbols(Rt);ye{const{index:be,prefixCls:de,separator:le}=Rt,ye=typeof le=="function"?le(be):le;return ye?oe.createElement("span",{className:`${de}-separator`},ye):null};var jt=oe.forwardRef((Rt,be)=>{const{prefixCls:de,length:le=6,size:ye,defaultValue:Ie,value:he,onChange:We,formatter:tt,separator:dn,variant:ut,disabled:zt,status:en,autoFocus:Sn,mask:yn,type:ar,onInput:Mt,inputMode:nn}=Rt,ln=Et(Rt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Un,direction:Nn}=oe.useContext(Ht.E_),un=Un("otp",de),ir=(0,Le.Z)(ln,{aria:!0,data:!0,attr:!0}),[Xn,Ft,An]=pt(un),Qn=(0,Ke.Z)(Tn=>ye!=null?ye:Tn),Jn=oe.useContext(rt.aM),nt=(0,Ve.F)(Jn.status,en),gt=oe.useMemo(()=>Object.assign(Object.assign({},Jn),{status:nt,hasFeedback:!1,feedbackIcon:null}),[Jn,nt]),Kt=oe.useRef(null),vn=oe.useRef({});oe.useImperativeHandle(be,()=>({focus:()=>{var Tn;(Tn=vn.current[0])===null||Tn===void 0||Tn.focus()},blur:()=>{var Tn;for(let _n=0;_ntt?tt(Tn):Tn,[hr,$r]=oe.useState(()=>pn(Rn(Ie||"")));oe.useEffect(()=>{he!==void 0&&$r(pn(he))},[he]);const Xr=(0,ke.Z)(Tn=>{$r(Tn),Mt&&Mt(Tn),We&&Tn.length===le&&Tn.every(_n=>_n)&&Tn.some((_n,Ln)=>hr[Ln]!==_n)&&We(Tn.join(""))}),vr=(0,ke.Z)((Tn,_n)=>{let Ln=(0,ce.Z)(hr);for(let cr=0;cr=0&&!Ln[cr];cr-=1)Ln.pop();const mr=Rn(Ln.map(cr=>cr||" ").join(""));return Ln=pn(mr).map((cr,pr)=>cr===" "&&!Ln[pr]?Ln[pr]:cr),Ln}),lr=(Tn,_n)=>{var Ln;const mr=vr(Tn,_n),cr=Math.min(Tn+_n.length,le-1);cr!==Tn&&mr[Tn]!==void 0&&((Ln=vn.current[cr])===null||Ln===void 0||Ln.focus()),Xr(mr)},Dr=Tn=>{var _n;(_n=vn.current[Tn])===null||_n===void 0||_n.focus()},rr={variant:ut,disabled:zt,status:nt,mask:yn,type:ar,inputMode:nn};return Xn(oe.createElement("div",Object.assign({},ir,{ref:Kt,className:Xe()(un,{[`${un}-sm`]:Qn==="small",[`${un}-lg`]:Qn==="large",[`${un}-rtl`]:Nn==="rtl"},An,Ft)}),oe.createElement(rt.aM.Provider,{value:gt},Array.from({length:le}).map((Tn,_n)=>{const Ln=`otp-${_n}`,mr=hr[_n]||"";return oe.createElement(oe.Fragment,{key:Ln},oe.createElement(Nt,Object.assign({ref:cr=>{vn.current[_n]=cr},index:_n,size:Qn,htmlSize:1,className:`${un}-input`,onChange:lr,value:mr,onActiveChange:Dr,autoFocus:_n===0&&Sn},rr)),_nRt?oe.createElement(wt.Z,null):oe.createElement(Je.Z,null),Te={click:"onClick",hover:"onMouseOver"};var It=oe.forwardRef((Rt,be)=>{const{disabled:de,action:le="click",visibilityToggle:ye=!0,iconRender:Ie=Qt}=Rt,he=oe.useContext(Zt.Z),We=de!=null?de:he,tt=typeof ye=="object"&&ye.visible!==void 0,[dn,ut]=(0,oe.useState)(()=>tt?ye.visible:!1),zt=(0,oe.useRef)(null);oe.useEffect(()=>{tt&&ut(ye.visible)},[tt,ye]);const en=(0,$e.Z)(zt),Sn=()=>{var Qn;if(We)return;dn&&en();const Jn=!dn;ut(Jn),typeof ye=="object"&&((Qn=ye.onVisibleChange)===null||Qn===void 0||Qn.call(ye,Jn))},yn=Qn=>{const Jn=Te[le]||"",nt=Ie(dn),gt={[Jn]:Sn,className:`${Qn}-icon`,key:"passwordIcon",onMouseDown:Kt=>{Kt.preventDefault()},onMouseUp:Kt=>{Kt.preventDefault()}};return oe.cloneElement(oe.isValidElement(nt)?nt:oe.createElement("span",null,nt),gt)},{className:ar,prefixCls:Mt,inputPrefixCls:nn,size:ln}=Rt,Un=At(Rt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Nn}=oe.useContext(Ht.E_),un=Nn("input",nn),ir=Nn("input-password",Mt),Xn=ye&&yn(ir),Ft=Xe()(ir,ar,{[`${ir}-${ln}`]:!!ln}),An=Object.assign(Object.assign({},(0,lt.Z)(Un,["suffix","iconRender","visibilityToggle"])),{type:dn?"text":"password",className:Ft,prefixCls:un,suffix:Xn});return ln&&(An.size=ln),oe.createElement(Pe.Z,Object.assign({ref:(0,Fe.sQ)(be,zt)},An))}),Cn=pe(47472),mn=pe(22703),Ze=pe(7939),Ct=pe(70045),_t=function(Rt,be){var de={};for(var le in Rt)Object.prototype.hasOwnProperty.call(Rt,le)&&be.indexOf(le)<0&&(de[le]=Rt[le]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,le=Object.getOwnPropertySymbols(Rt);ye{const{prefixCls:de,inputPrefixCls:le,className:ye,size:Ie,suffix:he,enterButton:We=!1,addonAfter:tt,loading:dn,disabled:ut,onSearch:zt,onChange:en,onCompositionStart:Sn,onCompositionEnd:yn}=Rt,ar=_t(Rt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Mt,direction:nn}=oe.useContext(Ht.E_),ln=oe.useRef(!1),Un=Mt("input-search",de),Nn=Mt("input",le),{compactSize:un}=(0,Ct.ri)(Un,nn),ir=(0,Ke.Z)(lr=>{var Dr;return(Dr=Ie!=null?Ie:un)!==null&&Dr!==void 0?Dr:lr}),Xn=oe.useRef(null),Ft=lr=>{lr!=null&&lr.target&&lr.type==="click"&&zt&&zt(lr.target.value,lr,{source:"clear"}),en==null||en(lr)},An=lr=>{var Dr;document.activeElement===((Dr=Xn.current)===null||Dr===void 0?void 0:Dr.input)&&lr.preventDefault()},Qn=lr=>{var Dr,rr;zt&&zt((rr=(Dr=Xn.current)===null||Dr===void 0?void 0:Dr.input)===null||rr===void 0?void 0:rr.value,lr,{source:"input"})},Jn=lr=>{ln.current||dn||Qn(lr)},nt=typeof We=="boolean"?oe.createElement(Cn.Z,null):null,gt=`${Un}-button`;let Kt;const vn=We||{},Rn=vn.type&&vn.type.__ANT_BUTTON===!0;Rn||vn.type==="button"?Kt=(0,mn.Tm)(vn,Object.assign({onMouseDown:An,onClick:lr=>{var Dr,rr;(rr=(Dr=vn==null?void 0:vn.props)===null||Dr===void 0?void 0:Dr.onClick)===null||rr===void 0||rr.call(Dr,lr),Qn(lr)},key:"enterButton"},Rn?{className:gt,size:ir}:{})):Kt=oe.createElement(Ze.ZP,{className:gt,type:We?"primary":void 0,size:ir,disabled:ut,key:"enterButton",onMouseDown:An,onClick:Qn,loading:dn,icon:nt},We),tt&&(Kt=[Kt,(0,mn.Tm)(tt,{key:"addonAfter"})]);const hr=Xe()(Un,{[`${Un}-rtl`]:nn==="rtl",[`${Un}-${ir}`]:!!ir,[`${Un}-with-button`]:!!We},ye),$r=Object.assign(Object.assign({},ar),{className:hr,prefixCls:Nn,type:"search"}),Xr=lr=>{ln.current=!0,Sn==null||Sn(lr)},vr=lr=>{ln.current=!1,yn==null||yn(lr)};return oe.createElement(Pe.Z,Object.assign({ref:(0,Fe.sQ)(Xn,be),onPressEnter:Jn},$r,{size:ir,onCompositionStart:Xr,onCompositionEnd:vr,addonAfter:Kt,suffix:he,onChange:Ft,disabled:ut}))}),Wn=pe(79809);const ct=Pe.Z;ct.Group=Me,ct.Search=xn,ct.TextArea=Wn.Z,ct.Password=It,ct.OTP=jt;var En=ct},24303:function(gr,zn,pe){"use strict";pe.d(zn,{D:function(){return Et},Z:function(){return St}});var oe=pe(59301),qt=pe(60499),Xe={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"},Ht=Xe,rt=pe(7657),at=function(Je,wt){return oe.createElement(rt.Z,(0,qt.Z)({},Je,{ref:wt,icon:Ht}))},Dt=oe.forwardRef(at),Me=Dt,Pe=pe(33853),ce=pe(38819),ke=pe(92310),Le=pe.n(ke),Ve=pe(2738),Ke=pe(48755),He=pe(6989),Ge=pe(36237),ze=pe(48923),qe=pe(16931);const pt=jt=>{const{componentCls:Je,siderBg:wt,motionDurationMid:lt,motionDurationSlow:Fe,antCls:Zt,triggerHeight:$e,triggerColor:At,triggerBg:Qt,headerHeight:Te,zeroTriggerWidth:xe,zeroTriggerHeight:It,borderRadiusLG:Cn,lightSiderBg:mn,lightTriggerColor:Ze,lightTriggerBg:Ct,bodyBg:_t}=jt;return{[Je]:{position:"relative",minWidth:0,background:wt,transition:`all ${lt}, background 0s`,"&-has-trigger":{paddingBottom:$e},"&-right":{order:1},[`${Je}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Zt}-menu${Zt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Je}-children`]:{overflow:"hidden"},[`${Je}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:$e,color:At,lineHeight:(0,Ge.unit)($e),textAlign:"center",background:Qt,cursor:"pointer",transition:`all ${lt}`},[`${Je}-zero-width-trigger`]:{position:"absolute",top:Te,insetInlineEnd:jt.calc(xe).mul(-1).equal(),zIndex:1,width:xe,height:It,color:At,fontSize:jt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:wt,borderRadius:`0 ${(0,Ge.unit)(Cn)} ${(0,Ge.unit)(Cn)} 0`,cursor:"pointer",transition:`background ${Fe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Fe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:jt.calc(xe).mul(-1).equal(),borderRadius:`${(0,Ge.unit)(Cn)} 0 0 ${(0,Ge.unit)(Cn)}`}},"&-light":{background:mn,[`${Je}-trigger`]:{color:Ze,background:Ct},[`${Je}-zero-width-trigger`]:{color:Ze,background:Ct,border:`1px solid ${_t}`,borderInlineStart:0}}}}};var Bt=(0,qe.I$)(["Layout","Sider"],jt=>[pt(jt)],ze.eh,{deprecatedTokens:ze.jn}),vt=function(jt,Je){var wt={};for(var lt in jt)Object.prototype.hasOwnProperty.call(jt,lt)&&Je.indexOf(lt)<0&&(wt[lt]=jt[lt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,lt=Object.getOwnPropertySymbols(jt);Fe!Number.isNaN(Number.parseFloat(jt))&&isFinite(jt),Et=oe.createContext({}),pn=(()=>{let jt=0;return function(){let Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return jt+=1,`${Je}${jt}`}})();var St=oe.forwardRef((jt,Je)=>{const{prefixCls:wt,className:lt,trigger:Fe,children:Zt,defaultCollapsed:$e=!1,theme:At="dark",style:Qt={},collapsible:Te=!1,reverseArrow:xe=!1,width:It=200,collapsedWidth:Cn=80,zeroWidthTriggerStyle:mn,breakpoint:Ze,onCollapse:Ct,onBreakpoint:_t}=jt,In=vt(jt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:xn}=(0,oe.useContext)(He.V),[Wn,ct]=(0,oe.useState)("collapsed"in jt?jt.collapsed:$e),[En,Rt]=(0,oe.useState)(!1);(0,oe.useEffect)(()=>{"collapsed"in jt&&ct(jt.collapsed)},[jt.collapsed]);const be=(ir,Xn)=>{"collapsed"in jt||ct(ir),Ct==null||Ct(ir,Xn)},{getPrefixCls:de,direction:le}=(0,oe.useContext)(Ke.E_),ye=de("layout-sider",wt),[Ie,he,We]=Bt(ye),tt=(0,oe.useRef)(null);tt.current=ir=>{Rt(ir.matches),_t==null||_t(ir.matches),Wn!==ir.matches&&be(ir.matches,"responsive")},(0,oe.useEffect)(()=>{function ir(Ft){return tt.current(Ft)}let Xn;if(typeof window!="undefined"){const{matchMedia:Ft}=window;if(Ft&&Ze&&Ze in yt){Xn=Ft(`screen and (max-width: ${yt[Ze]})`);try{Xn.addEventListener("change",ir)}catch(An){Xn.addListener(ir)}ir(Xn)}}return()=>{try{Xn==null||Xn.removeEventListener("change",ir)}catch(Ft){Xn==null||Xn.removeListener(ir)}}},[Ze]),(0,oe.useEffect)(()=>{const ir=pn("ant-sider-");return xn.addSider(ir),()=>xn.removeSider(ir)},[]);const dn=()=>{be(!Wn,"clickTrigger")},ut=(0,Ve.Z)(In,["collapsed"]),zt=Wn?Cn:It,en=Nt(zt)?`${zt}px`:String(zt),Sn=parseFloat(String(Cn||0))===0?oe.createElement("span",{onClick:dn,className:Le()(`${ye}-zero-width-trigger`,`${ye}-zero-width-trigger-${xe?"right":"left"}`),style:mn},Fe||oe.createElement(Me,null)):null,yn=le==="rtl"==!xe,nn={expanded:yn?oe.createElement(ce.Z,null):oe.createElement(Pe.Z,null),collapsed:yn?oe.createElement(Pe.Z,null):oe.createElement(ce.Z,null)}[Wn?"collapsed":"expanded"],ln=Fe!==null?Sn||oe.createElement("div",{className:`${ye}-trigger`,onClick:dn,style:{width:en}},Fe||nn):null,Un=Object.assign(Object.assign({},Qt),{flex:`0 0 ${en}`,maxWidth:en,minWidth:en,width:en}),Nn=Le()(ye,`${ye}-${At}`,{[`${ye}-collapsed`]:!!Wn,[`${ye}-has-trigger`]:Te&&Fe!==null&&!Sn,[`${ye}-below`]:!!En,[`${ye}-zero-width`]:parseFloat(en)===0},lt,he,We),un=oe.useMemo(()=>({siderCollapsed:Wn}),[Wn]);return Ie(oe.createElement(Et.Provider,{value:un},oe.createElement("aside",Object.assign({className:Nn},ut,{style:Un,ref:Je}),oe.createElement("div",{className:`${ye}-children`},Zt),Te||En&&Sn?ln:null)))})},6989:function(gr,zn,pe){"use strict";pe.d(zn,{V:function(){return qt}});var oe=pe(59301);const qt=oe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(gr,zn,pe){"use strict";pe.d(zn,{eh:function(){return Ht},jn:function(){return rt}});var oe=pe(36237),qt=pe(16931);const Xe=at=>{const{antCls:Dt,componentCls:Me,colorText:Pe,footerBg:ce,headerHeight:ke,headerPadding:Le,headerColor:Ve,footerPadding:Ke,fontSize:He,bodyBg:Ge,headerBg:ze}=at;return{[Me]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ge,"&, *":{boxSizing:"border-box"},[`&${Me}-has-sider`]:{flexDirection:"row",[`> ${Me}, > ${Me}-content`]:{width:0}},[`${Me}-header, &${Me}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Me}-header`]:{height:ke,padding:Le,color:Ve,lineHeight:(0,oe.unit)(ke),background:ze,[`${Dt}-menu`]:{lineHeight:"inherit"}},[`${Me}-footer`]:{padding:Ke,color:Pe,fontSize:He,background:ce},[`${Me}-content`]:{flex:"auto",color:Pe,minHeight:0}}},Ht=at=>{const{colorBgLayout:Dt,controlHeight:Me,controlHeightLG:Pe,colorText:ce,controlHeightSM:ke,marginXXS:Le,colorTextLightSolid:Ve,colorBgContainer:Ke}=at,He=Pe*1.25;return{colorBgHeader:"#001529",colorBgBody:Dt,colorBgTrigger:"#002140",bodyBg:Dt,headerBg:"#001529",headerHeight:Me*2,headerPadding:`0 ${He}px`,headerColor:ce,footerPadding:`${ke}px ${He}px`,footerBg:Dt,siderBg:"#001529",triggerHeight:Pe+Le*2,triggerBg:"#002140",triggerColor:Ve,zeroTriggerWidth:Pe,zeroTriggerHeight:Pe,lightSiderBg:Ke,lightTriggerBg:Ke,lightTriggerColor:ce}},rt=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];zn.ZP=(0,qt.I$)("Layout",at=>[Xe(at)],Ht,{deprecatedTokens:rt})},78857:function(gr,zn,pe){"use strict";pe.d(zn,{J:function(){return at}});var oe=pe(59301),qt=pe(8654),Xe=pe(62487),Ht=function(Dt,Me){var Pe={};for(var ce in Dt)Object.prototype.hasOwnProperty.call(Dt,ce)&&Me.indexOf(ce)<0&&(Pe[ce]=Dt[ce]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ce=Object.getOwnPropertySymbols(Dt);ke{const{children:Pe}=Dt,ce=Ht(Dt,["children"]),ke=oe.useContext(rt),Le=oe.useMemo(()=>Object.assign(Object.assign({},ke),ce),[ke,ce.prefixCls,ce.mode,ce.selectable,ce.rootClassName]),Ve=(0,qt.t4)(Pe),Ke=(0,qt.x1)(Me,Ve?(0,qt.C4)(Pe):null);return oe.createElement(rt.Provider,{value:Le},oe.createElement(Xe.Z,{space:!0},Ve?oe.cloneElement(Pe,{ref:Ke}):Pe))});zn.Z=rt},93041:function(gr,zn,pe){"use strict";pe.d(zn,{default:function(){return Ie}});var oe=pe(59301),qt=pe(28321),Xe=pe(24303),Ht=pe(18785),rt=pe(92310),at=pe.n(rt),Dt=pe(6089),Me=pe(2738),Pe=pe(86641),ce=pe(22703),ke=pe(48755),Le=pe(83397),Ke=(0,oe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),He=function(he,We){var tt={};for(var dn in he)Object.prototype.hasOwnProperty.call(he,dn)&&We.indexOf(dn)<0&&(tt[dn]=he[dn]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,dn=Object.getOwnPropertySymbols(he);ut{const{prefixCls:We,className:tt,dashed:dn}=he,ut=He(he,["prefixCls","className","dashed"]),{getPrefixCls:zt}=oe.useContext(ke.E_),en=zt("menu",We),Sn=at()({[`${en}-item-divider-dashed`]:!!dn},tt);return oe.createElement(qt.iz,Object.assign({className:Sn},ut))},qe=pe(11592),pt=pe(25399),vt=he=>{var We;const{className:tt,children:dn,icon:ut,title:zt,danger:en,extra:Sn}=he,{prefixCls:yn,firstLevel:ar,direction:Mt,disableMenuItemTitleTooltip:nn,inlineCollapsed:ln}=oe.useContext(Ke),Un=An=>{const Qn=dn==null?void 0:dn[0],Jn=oe.createElement("span",{className:at()(`${yn}-title-content`,{[`${yn}-title-content-with-extra`]:!!Sn||Sn===0})},dn);return(!ut||oe.isValidElement(dn)&&dn.type==="span")&&dn&&An&&ar&&typeof Qn=="string"?oe.createElement("div",{className:`${yn}-inline-collapsed-noicon`},Qn.charAt(0)):Jn},{siderCollapsed:Nn}=oe.useContext(Xe.D);let un=zt;typeof zt=="undefined"?un=ar?dn:"":zt===!1&&(un="");const ir={title:un};!Nn&&!ln&&(ir.title=null,ir.open=!1);const Xn=(0,qe.Z)(dn).length;let Ft=oe.createElement(qt.ck,Object.assign({},(0,Me.Z)(he,["title","icon","danger"]),{className:at()({[`${yn}-item-danger`]:en,[`${yn}-item-only-child`]:(ut?Xn+1:Xn)===1},tt),title:typeof zt=="string"?zt:void 0}),(0,ce.Tm)(ut,{className:at()(oe.isValidElement(ut)?(We=ut.props)===null||We===void 0?void 0:We.className:"",`${yn}-item-icon`)}),Un(ln));return nn||(Ft=oe.createElement(pt.Z,Object.assign({},ir,{placement:Mt==="rtl"?"left":"right",classNames:{root:`${yn}-inline-collapsed-tooltip`}}),Ft)),Ft},yt=pe(78857),Nt=pe(36237),Et=pe(17835),pn=pe(63356),Pt=pe(34961),St=pe(46e3),jt=pe(34925),Je=pe(16931),wt=pe(51636),Fe=he=>{const{componentCls:We,motionDurationSlow:tt,horizontalLineHeight:dn,colorSplit:ut,lineWidth:zt,lineType:en,itemPaddingInline:Sn}=he;return{[`${We}-horizontal`]:{lineHeight:dn,border:0,borderBottom:`${(0,Nt.unit)(zt)} ${en} ${ut}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${We}-item, ${We}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Sn},[`> ${We}-item:hover, > ${We}-item-active, > ${We}-submenu ${We}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${We}-item, ${We}-submenu-title`]:{transition:[`border-color ${tt}`,`background ${tt}`].join(",")},[`${We}-submenu-arrow`]:{display:"none"}}}},$e=he=>{let{componentCls:We,menuArrowOffset:tt,calc:dn}=he;return{[`${We}-rtl`]:{direction:"rtl"},[`${We}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${We}-rtl${We}-vertical, ${We}-submenu-rtl ${We}-vertical`]:{[`${We}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Nt.unit)(dn(tt).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Nt.unit)(tt)})`}}}}};const At=he=>Object.assign({},(0,pn.oN)(he));var Te=(he,We)=>{const{componentCls:tt,itemColor:dn,itemSelectedColor:ut,subMenuItemSelectedColor:zt,groupTitleColor:en,itemBg:Sn,subMenuItemBg:yn,itemSelectedBg:ar,activeBarHeight:Mt,activeBarWidth:nn,activeBarBorderWidth:ln,motionDurationSlow:Un,motionEaseInOut:Nn,motionEaseOut:un,itemPaddingInline:ir,motionDurationMid:Xn,itemHoverColor:Ft,lineType:An,colorSplit:Qn,itemDisabledColor:Jn,dangerItemColor:nt,dangerItemHoverColor:gt,dangerItemSelectedColor:Kt,dangerItemActiveBg:vn,dangerItemSelectedBg:Rn,popupBg:hr,itemHoverBg:$r,itemActiveBg:Xr,menuSubMenuBg:vr,horizontalItemSelectedColor:lr,horizontalItemSelectedBg:Dr,horizontalItemBorderRadius:rr,horizontalItemHoverBg:Tn}=he;return{[`${tt}-${We}, ${tt}-${We} > ${tt}`]:{color:dn,background:Sn,[`&${tt}-root:focus-visible`]:Object.assign({},At(he)),[`${tt}-item`]:{"&-group-title, &-extra":{color:en}},[`${tt}-submenu-selected > ${tt}-submenu-title`]:{color:zt},[`${tt}-item, ${tt}-submenu-title`]:{color:dn,[`&:not(${tt}-item-disabled):focus-visible`]:Object.assign({},At(he))},[`${tt}-item-disabled, ${tt}-submenu-disabled`]:{color:`${Jn} !important`},[`${tt}-item:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{[`&:hover, > ${tt}-submenu-title:hover`]:{color:Ft}},[`&:not(${tt}-horizontal)`]:{[`${tt}-item:not(${tt}-item-selected)`]:{"&:hover":{backgroundColor:$r},"&:active":{backgroundColor:Xr}},[`${tt}-submenu-title`]:{"&:hover":{backgroundColor:$r},"&:active":{backgroundColor:Xr}}},[`${tt}-item-danger`]:{color:nt,[`&${tt}-item:hover`]:{[`&:not(${tt}-item-selected):not(${tt}-submenu-selected)`]:{color:gt}},[`&${tt}-item:active`]:{background:vn}},[`${tt}-item a`]:{"&, &:hover":{color:"inherit"}},[`${tt}-item-selected`]:{color:ut,[`&${tt}-item-danger`]:{color:Kt},"a, a:hover":{color:"inherit"}},[`& ${tt}-item-selected`]:{backgroundColor:ar,[`&${tt}-item-danger`]:{backgroundColor:Rn}},[`&${tt}-submenu > ${tt}`]:{backgroundColor:vr},[`&${tt}-popup > ${tt}`]:{backgroundColor:hr},[`&${tt}-submenu-popup > ${tt}`]:{backgroundColor:hr},[`&${tt}-horizontal`]:Object.assign(Object.assign({},We==="dark"?{borderBottom:0}:{}),{[`> ${tt}-item, > ${tt}-submenu`]:{top:ln,marginTop:he.calc(ln).mul(-1).equal(),marginBottom:0,borderRadius:rr,"&::after":{position:"absolute",insetInline:ir,bottom:0,borderBottom:`${(0,Nt.unit)(Mt)} solid transparent`,transition:`border-color ${Un} ${Nn}`,content:'""'},"&:hover, &-active, &-open":{background:Tn,"&::after":{borderBottomWidth:Mt,borderBottomColor:lr}},"&-selected":{color:lr,backgroundColor:Dr,"&:hover":{backgroundColor:Dr},"&::after":{borderBottomWidth:Mt,borderBottomColor:lr}}}}),[`&${tt}-root`]:{[`&${tt}-inline, &${tt}-vertical`]:{borderInlineEnd:`${(0,Nt.unit)(ln)} ${An} ${Qn}`}},[`&${tt}-inline`]:{[`${tt}-sub${tt}-inline`]:{background:yn},[`${tt}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Nt.unit)(nn)} solid ${ut}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Xn} ${un}`,`opacity ${Xn} ${un}`].join(","),content:'""'},[`&${tt}-item-danger`]:{"&::after":{borderInlineEndColor:Kt}}},[`${tt}-selected, ${tt}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Xn} ${Nn}`,`opacity ${Xn} ${Nn}`].join(",")}}}}}};const xe=he=>{const{componentCls:We,itemHeight:tt,itemMarginInline:dn,padding:ut,menuArrowSize:zt,marginXS:en,itemMarginBlock:Sn,itemWidth:yn,itemPaddingInline:ar}=he,Mt=he.calc(zt).add(ut).add(en).equal();return{[`${We}-item`]:{position:"relative",overflow:"hidden"},[`${We}-item, ${We}-submenu-title`]:{height:tt,lineHeight:(0,Nt.unit)(tt),paddingInline:ar,overflow:"hidden",textOverflow:"ellipsis",marginInline:dn,marginBlock:Sn,width:yn},[`> ${We}-item, > ${We}-submenu > ${We}-submenu-title`]:{height:tt,lineHeight:(0,Nt.unit)(tt)},[`${We}-item-group-list ${We}-submenu-title, ${We}-submenu-title`]:{paddingInlineEnd:Mt}}};var Cn=he=>{const{componentCls:We,iconCls:tt,itemHeight:dn,colorTextLightSolid:ut,dropdownWidth:zt,controlHeightLG:en,motionEaseOut:Sn,paddingXL:yn,itemMarginInline:ar,fontSizeLG:Mt,motionDurationFast:nn,motionDurationSlow:ln,paddingXS:Un,boxShadowSecondary:Nn,collapsedWidth:un,collapsedIconSize:ir}=he,Xn={height:dn,lineHeight:(0,Nt.unit)(dn),listStylePosition:"inside",listStyleType:"disc"};return[{[We]:{"&-inline, &-vertical":Object.assign({[`&${We}-root`]:{boxShadow:"none"}},xe(he))},[`${We}-submenu-popup`]:{[`${We}-vertical`]:Object.assign(Object.assign({},xe(he)),{boxShadow:Nn})}},{[`${We}-submenu-popup ${We}-vertical${We}-sub`]:{minWidth:zt,maxHeight:`calc(100vh - ${(0,Nt.unit)(he.calc(en).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${We}-inline`]:{width:"100%",[`&${We}-root`]:{[`${We}-item, ${We}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ln}`,`background ${ln}`,`padding ${nn} ${Sn}`].join(","),[`> ${We}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${We}-sub${We}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${We}-submenu > ${We}-submenu-title`]:Xn,[`& ${We}-item-group-title`]:{paddingInlineStart:yn}},[`${We}-item`]:Xn}},{[`${We}-inline-collapsed`]:{width:un,[`&${We}-root`]:{[`${We}-item, ${We}-submenu ${We}-submenu-title`]:{[`> ${We}-inline-collapsed-noicon`]:{fontSize:Mt,textAlign:"center"}}},[`> ${We}-item, > ${We}-item-group > ${We}-item-group-list > ${We}-item, > ${We}-item-group > ${We}-item-group-list > ${We}-submenu > ${We}-submenu-title, > ${We}-submenu > ${We}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Nt.unit)(he.calc(ir).div(2).equal())} - ${(0,Nt.unit)(ar)})`,textOverflow:"clip",[` ${We}-submenu-arrow, ${We}-submenu-expand-icon `]:{opacity:0},[`${We}-item-icon, ${tt}`]:{margin:0,fontSize:ir,lineHeight:(0,Nt.unit)(dn),"+ span":{display:"inline-block",opacity:0}}},[`${We}-item-icon, ${tt}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${We}-item-icon, ${tt}`]:{display:"none"},"a, a:hover":{color:ut}},[`${We}-item-group-title`]:Object.assign(Object.assign({},pn.vS),{paddingInline:Un})}}]};const mn=he=>{const{componentCls:We,motionDurationSlow:tt,motionDurationMid:dn,motionEaseInOut:ut,motionEaseOut:zt,iconCls:en,iconSize:Sn,iconMarginInlineEnd:yn}=he;return{[`${We}-item, ${We}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${tt}`,`background ${tt}`,`padding calc(${tt} + 0.1s) ${ut}`].join(","),[`${We}-item-icon, ${en}`]:{minWidth:Sn,fontSize:Sn,transition:[`font-size ${dn} ${zt}`,`margin ${tt} ${ut}`,`color ${tt}`].join(","),"+ span":{marginInlineStart:yn,opacity:1,transition:[`opacity ${tt} ${ut}`,`margin ${tt}`,`color ${tt}`].join(",")}},[`${We}-item-icon`]:Object.assign({},(0,pn.Ro)()),[`&${We}-item-only-child`]:{[`> ${en}, > ${We}-item-icon`]:{marginInlineEnd:0}}},[`${We}-item-disabled, ${We}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${We}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ze=he=>{const{componentCls:We,motionDurationSlow:tt,motionEaseInOut:dn,borderRadius:ut,menuArrowSize:zt,menuArrowOffset:en}=he;return{[`${We}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:he.margin,width:zt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${tt} ${dn}, opacity ${tt}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:he.calc(zt).mul(.6).equal(),height:he.calc(zt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:ut,transition:[`background ${tt} ${dn}`,`transform ${tt} ${dn}`,`top ${tt} ${dn}`,`color ${tt} ${dn}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Nt.unit)(he.calc(en).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Nt.unit)(en)})`}}}}},Ct=he=>{const{antCls:We,componentCls:tt,fontSize:dn,motionDurationSlow:ut,motionDurationMid:zt,motionEaseInOut:en,paddingXS:Sn,padding:yn,colorSplit:ar,lineWidth:Mt,zIndexPopup:nn,borderRadiusLG:ln,subMenuItemBorderRadius:Un,menuArrowSize:Nn,menuArrowOffset:un,lineType:ir,groupTitleLineHeight:Xn,groupTitleFontSize:Ft}=he;return[{"":{[tt]:Object.assign(Object.assign({},(0,pn.dF)()),{"&-hidden":{display:"none"}})},[`${tt}-submenu-hidden`]:{display:"none"}},{[tt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pn.Wf)(he)),(0,pn.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:dn,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ut} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${tt}-item`]:{flex:"none"}},[`${tt}-item, ${tt}-submenu, ${tt}-submenu-title`]:{borderRadius:he.itemBorderRadius},[`${tt}-item-group-title`]:{padding:`${(0,Nt.unit)(Sn)} ${(0,Nt.unit)(yn)}`,fontSize:Ft,lineHeight:Xn,transition:`all ${ut}`},[`&-horizontal ${tt}-submenu`]:{transition:[`border-color ${ut} ${en}`,`background ${ut} ${en}`].join(",")},[`${tt}-submenu, ${tt}-submenu-inline`]:{transition:[`border-color ${ut} ${en}`,`background ${ut} ${en}`,`padding ${zt} ${en}`].join(",")},[`${tt}-submenu ${tt}-sub`]:{cursor:"initial",transition:[`background ${ut} ${en}`,`padding ${ut} ${en}`].join(",")},[`${tt}-title-content`]:{transition:`color ${ut}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${We}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${tt}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:he.padding}},[`${tt}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${tt}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ar,borderStyle:ir,borderWidth:0,borderTopWidth:Mt,marginBlock:Mt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),mn(he)),{[`${tt}-item-group`]:{[`${tt}-item-group-list`]:{margin:0,padding:0,[`${tt}-item, ${tt}-submenu-title`]:{paddingInline:`${(0,Nt.unit)(he.calc(dn).mul(2).equal())} ${(0,Nt.unit)(yn)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nn,borderRadius:ln,boxShadow:"none",transformOrigin:"0 0",[`&${tt}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${tt}`]:Object.assign(Object.assign(Object.assign({borderRadius:ln},mn(he)),Ze(he)),{[`${tt}-item, ${tt}-submenu > ${tt}-submenu-title`]:{borderRadius:Un},[`${tt}-submenu-title::after`]:{transition:`transform ${ut} ${en}`}})},"\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:he.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:he.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:he.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:he.paddingXS}}}),Ze(he)),{[`&-inline-collapsed ${tt}-submenu-arrow, &-inline ${tt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Nt.unit)(un)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Nt.unit)(he.calc(un).mul(-1).equal())})`}},[`${tt}-submenu-open${tt}-submenu-inline > ${tt}-submenu-title > ${tt}-submenu-arrow`]:{transform:`translateY(${(0,Nt.unit)(he.calc(Nn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Nt.unit)(he.calc(un).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Nt.unit)(un)})`}}})},{[`${We}-layout-header`]:{[tt]:{lineHeight:"inherit"}}}]},_t=he=>{var We,tt,dn;const{colorPrimary:ut,colorError:zt,colorTextDisabled:en,colorErrorBg:Sn,colorText:yn,colorTextDescription:ar,colorBgContainer:Mt,colorFillAlter:nn,colorFillContent:ln,lineWidth:Un,lineWidthBold:Nn,controlItemBgActive:un,colorBgTextHover:ir,controlHeightLG:Xn,lineHeight:Ft,colorBgElevated:An,marginXXS:Qn,padding:Jn,fontSize:nt,controlHeightSM:gt,fontSizeLG:Kt,colorTextLightSolid:vn,colorErrorHover:Rn}=he,hr=(We=he.activeBarWidth)!==null&&We!==void 0?We:0,$r=(tt=he.activeBarBorderWidth)!==null&&tt!==void 0?tt:Un,Xr=(dn=he.itemMarginInline)!==null&&dn!==void 0?dn:he.marginXXS,vr=new Et.FastColor(vn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:he.zIndexPopupBase+50,radiusItem:he.borderRadiusLG,itemBorderRadius:he.borderRadiusLG,radiusSubMenuItem:he.borderRadiusSM,subMenuItemBorderRadius:he.borderRadiusSM,colorItemText:yn,itemColor:yn,colorItemTextHover:yn,itemHoverColor:yn,colorItemTextHoverHorizontal:ut,horizontalItemHoverColor:ut,colorGroupTitle:ar,groupTitleColor:ar,colorItemTextSelected:ut,itemSelectedColor:ut,subMenuItemSelectedColor:ut,colorItemTextSelectedHorizontal:ut,horizontalItemSelectedColor:ut,colorItemBg:Mt,itemBg:Mt,colorItemBgHover:ir,itemHoverBg:ir,colorItemBgActive:ln,itemActiveBg:un,colorSubItemBg:nn,subMenuItemBg:nn,colorItemBgSelected:un,itemSelectedBg:un,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:hr,colorActiveBarHeight:Nn,activeBarHeight:Nn,colorActiveBarBorderSize:Un,activeBarBorderWidth:$r,colorItemTextDisabled:en,itemDisabledColor:en,colorDangerItemText:zt,dangerItemColor:zt,colorDangerItemTextHover:zt,dangerItemHoverColor:zt,colorDangerItemTextSelected:zt,dangerItemSelectedColor:zt,colorDangerItemBgActive:Sn,dangerItemActiveBg:Sn,colorDangerItemBgSelected:Sn,dangerItemSelectedBg:Sn,itemMarginInline:Xr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Xn,groupTitleLineHeight:Ft,collapsedWidth:Xn*2,popupBg:An,itemMarginBlock:Qn,itemPaddingInline:Jn,horizontalLineHeight:`${Xn*1.15}px`,iconSize:nt,iconMarginInlineEnd:gt-nt,collapsedIconSize:Kt,groupTitleFontSize:nt,darkItemDisabledColor:new Et.FastColor(vn).setA(.25).toRgbString(),darkItemColor:vr,darkDangerItemColor:zt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:vn,darkItemSelectedBg:ut,darkDangerItemSelectedBg:zt,darkItemHoverBg:"transparent",darkGroupTitleColor:vr,darkItemHoverColor:vn,darkDangerItemHoverColor:Rn,darkDangerItemSelectedColor:vn,darkDangerItemActiveBg:zt,itemWidth:hr?`calc(100% + ${$r}px)`:`calc(100% - ${Xr*2}px)`}};var In=function(he){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:he,tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Je.I$)("Menu",ut=>{const{colorBgElevated:zt,controlHeightLG:en,fontSize:Sn,darkItemColor:yn,darkDangerItemColor:ar,darkItemBg:Mt,darkSubMenuItemBg:nn,darkItemSelectedColor:ln,darkItemSelectedBg:Un,darkDangerItemSelectedBg:Nn,darkItemHoverBg:un,darkGroupTitleColor:ir,darkItemHoverColor:Xn,darkItemDisabledColor:Ft,darkDangerItemHoverColor:An,darkDangerItemSelectedColor:Qn,darkDangerItemActiveBg:Jn,popupBg:nt,darkPopupBg:gt}=ut,Kt=ut.calc(Sn).div(7).mul(5).equal(),vn=(0,wt.mergeToken)(ut,{menuArrowSize:Kt,menuHorizontalHeight:ut.calc(en).mul(1.15).equal(),menuArrowOffset:ut.calc(Kt).mul(.25).equal(),menuSubMenuBg:zt,calc:ut.calc,popupBg:nt}),Rn=(0,wt.mergeToken)(vn,{itemColor:yn,itemHoverColor:Xn,groupTitleColor:ir,itemSelectedColor:ln,subMenuItemSelectedColor:ln,itemBg:Mt,popupBg:gt,subMenuItemBg:nn,itemActiveBg:"transparent",itemSelectedBg:Un,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:un,itemDisabledColor:Ft,dangerItemColor:ar,dangerItemHoverColor:An,dangerItemSelectedColor:Qn,dangerItemActiveBg:Jn,dangerItemSelectedBg:Nn,menuSubMenuBg:nn,horizontalItemSelectedColor:ln,horizontalItemSelectedBg:Un});return[Ct(vn),Fe(vn),Cn(vn),Te(vn,"light"),Te(Rn,"dark"),$e(vn),(0,Pt.Z)(vn),(0,St.oN)(vn,"slide-up"),(0,St.oN)(vn,"slide-down"),(0,jt._y)(vn,"zoom-big")]},_t,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:tt,unitless:{groupTitleLineHeight:!0}})(he,We)},xn=pe(75030),ct=he=>{var We;const{popupClassName:tt,icon:dn,title:ut,theme:zt}=he,en=oe.useContext(Ke),{prefixCls:Sn,inlineCollapsed:yn,theme:ar}=en,Mt=(0,qt.Xl)();let nn;if(!dn)nn=yn&&!Mt.length&&ut&&typeof ut=="string"?oe.createElement("div",{className:`${Sn}-inline-collapsed-noicon`},ut.charAt(0)):oe.createElement("span",{className:`${Sn}-title-content`},ut);else{const Nn=oe.isValidElement(ut)&&ut.type==="span";nn=oe.createElement(oe.Fragment,null,(0,ce.Tm)(dn,{className:at()(oe.isValidElement(dn)?(We=dn.props)===null||We===void 0?void 0:We.className:"",`${Sn}-item-icon`)}),Nn?ut:oe.createElement("span",{className:`${Sn}-title-content`},ut))}const ln=oe.useMemo(()=>Object.assign(Object.assign({},en),{firstLevel:!1}),[en]),[Un]=(0,xn.Cn)("Menu");return oe.createElement(Ke.Provider,{value:ln},oe.createElement(qt.Wd,Object.assign({},(0,Me.Z)(he,["icon"]),{title:nn,popupClassName:at()(Sn,tt,`${Sn}-${zt||ar}`),popupStyle:Object.assign({zIndex:Un},he.popupStyle)})))},En=function(he,We){var tt={};for(var dn in he)Object.prototype.hasOwnProperty.call(he,dn)&&We.indexOf(dn)<0&&(tt[dn]=he[dn]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,dn=Object.getOwnPropertySymbols(he);ut{var tt;const dn=oe.useContext(yt.Z),ut=dn||{},{getPrefixCls:zt,getPopupContainer:en,direction:Sn,menu:yn}=oe.useContext(ke.E_),ar=zt(),{prefixCls:Mt,className:nn,style:ln,theme:Un="light",expandIcon:Nn,_internalDisableMenuItemTitleTooltip:un,inlineCollapsed:ir,siderCollapsed:Xn,rootClassName:Ft,mode:An,selectable:Qn,onClick:Jn,overflowedIndicatorPopupClassName:nt}=he,gt=En(he,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Kt=(0,Me.Z)(gt,["collapsedWidth"]);(tt=ut.validator)===null||tt===void 0||tt.call(ut,{mode:An});const vn=(0,Dt.Z)(function(){var cr;Jn==null||Jn.apply(void 0,arguments),(cr=ut.onClick)===null||cr===void 0||cr.call(ut)}),Rn=ut.mode||An,hr=Qn!=null?Qn:ut.selectable,$r=ir!=null?ir:Xn,Xr={horizontal:{motionName:`${ar}-slide-up`},inline:(0,Pe.Z)(ar),other:{motionName:`${ar}-zoom-big`}},vr=zt("menu",Mt||ut.prefixCls),lr=(0,Le.Z)(vr),[Dr,rr,Tn]=In(vr,lr,!dn),_n=at()(`${vr}-${Un}`,yn==null?void 0:yn.className,nn),Ln=oe.useMemo(()=>{var cr,pr;if(typeof Nn=="function"||Rt(Nn))return Nn||null;if(typeof ut.expandIcon=="function"||Rt(ut.expandIcon))return ut.expandIcon||null;if(typeof(yn==null?void 0:yn.expandIcon)=="function"||Rt(yn==null?void 0:yn.expandIcon))return(yn==null?void 0:yn.expandIcon)||null;const Rr=(cr=Nn!=null?Nn:ut==null?void 0:ut.expandIcon)!==null&&cr!==void 0?cr:yn==null?void 0:yn.expandIcon;return(0,ce.Tm)(Rr,{className:at()(`${vr}-submenu-expand-icon`,oe.isValidElement(Rr)?(pr=Rr.props)===null||pr===void 0?void 0:pr.className:void 0)})},[Nn,ut==null?void 0:ut.expandIcon,yn==null?void 0:yn.expandIcon,vr]),mr=oe.useMemo(()=>({prefixCls:vr,inlineCollapsed:$r||!1,direction:Sn,firstLevel:!0,theme:Un,mode:Rn,disableMenuItemTitleTooltip:un}),[vr,$r,Sn,un,Un]);return Dr(oe.createElement(yt.Z.Provider,{value:null},oe.createElement(Ke.Provider,{value:mr},oe.createElement(qt.ZP,Object.assign({getPopupContainer:en,overflowedIndicator:oe.createElement(Ht.Z,null),overflowedIndicatorPopupClassName:at()(vr,`${vr}-${Un}`,nt),mode:Rn,selectable:hr,onClick:vn},Kt,{inlineCollapsed:$r,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),ln),className:_n,prefixCls:vr,direction:Sn,defaultMotions:Xr,expandIcon:Ln,ref:We,rootClassName:at()(Ft,rr,ut.rootClassName,Tn,lr),_internalComponents:be})))))});const ye=(0,oe.forwardRef)((he,We)=>{const tt=(0,oe.useRef)(null),dn=oe.useContext(Xe.D);return(0,oe.useImperativeHandle)(We,()=>({menu:tt.current,focus:ut=>{var zt;(zt=tt.current)===null||zt===void 0||zt.focus(ut)}})),oe.createElement(le,Object.assign({ref:tt},he,dn))});ye.Item=vt,ye.SubMenu=ct,ye.Divider=ze,ye.ItemGroup=qt.BW;var Ie=ye},69106:function(gr,zn,pe){"use strict";pe.d(zn,{aV:function(){return Pe},t5:function(){return ce}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(29125),rt=pe(54500),at=pe(48755),Dt=pe(85074),Me=function(Le,Ve){var Ke={};for(var He in Le)Object.prototype.hasOwnProperty.call(Le,He)&&Ve.indexOf(He)<0&&(Ke[He]=Le[He]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,He=Object.getOwnPropertySymbols(Le);Ge{let{title:Ve,content:Ke,prefixCls:He}=Le;return!Ve&&!Ke?null:oe.createElement(oe.Fragment,null,Ve&&oe.createElement("div",{className:`${He}-title`},Ve),Ke&&oe.createElement("div",{className:`${He}-inner-content`},Ke))},ce=Le=>{const{hashId:Ve,prefixCls:Ke,className:He,style:Ge,placement:ze="top",title:qe,content:pt,children:Bt}=Le,vt=(0,rt.Z)(qe),yt=(0,rt.Z)(pt),Nt=Xe()(Ve,Ke,`${Ke}-pure`,`${Ke}-placement-${ze}`,He);return oe.createElement("div",{className:Nt,style:Ge},oe.createElement("div",{className:`${Ke}-arrow`}),oe.createElement(Ht.G,Object.assign({},Le,{className:Ve,prefixCls:Ke}),Bt||oe.createElement(Pe,{prefixCls:Ke,title:vt,content:yt})))},ke=Le=>{const{prefixCls:Ve,className:Ke}=Le,He=Me(Le,["prefixCls","className"]),{getPrefixCls:Ge}=oe.useContext(at.E_),ze=Ge("popover",Ve),[qe,pt,Bt]=(0,Dt.Z)(ze);return qe(oe.createElement(ce,Object.assign({},He,{prefixCls:ze,hashId:pt,className:Xe()(Ke,Bt)})))};zn.ZP=ke},37639:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(18929),rt=pe(10228),at=pe(54500),Dt=pe(86641),Me=pe(22703),Pe=pe(25399),ce=pe(69106),ke=pe(48755),Le=pe(85074),Ve=function(Ge,ze){var qe={};for(var pt in Ge)Object.prototype.hasOwnProperty.call(Ge,pt)&&ze.indexOf(pt)<0&&(qe[pt]=Ge[pt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,pt=Object.getOwnPropertySymbols(Ge);Bt{var qe,pt;const{prefixCls:Bt,title:vt,content:yt,overlayClassName:Nt,placement:Et="top",trigger:pn="hover",children:Pt,mouseEnterDelay:St=.1,mouseLeaveDelay:jt=.1,onOpenChange:Je,overlayStyle:wt={},styles:lt,classNames:Fe}=Ge,Zt=Ve(Ge,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:$e,className:At,style:Qt,classNames:Te,styles:xe}=(0,ke.dj)("popover"),It=$e("popover",Bt),[Cn,mn,Ze]=(0,Le.Z)(It),Ct=$e(),_t=Xe()(Nt,mn,Ze,At,Te.root,Fe==null?void 0:Fe.root),In=Xe()(Te.body,Fe==null?void 0:Fe.body),[xn,Wn]=(0,Ht.Z)(!1,{value:(qe=Ge.open)!==null&&qe!==void 0?qe:Ge.visible,defaultValue:(pt=Ge.defaultOpen)!==null&&pt!==void 0?pt:Ge.defaultVisible}),ct=(le,ye)=>{Wn(le,!0),Je==null||Je(le,ye)},En=le=>{le.keyCode===rt.Z.ESC&&ct(!1,le)},Rt=le=>{ct(le)},be=(0,at.Z)(vt),de=(0,at.Z)(yt);return Cn(oe.createElement(Pe.Z,Object.assign({placement:Et,trigger:pn,mouseEnterDelay:St,mouseLeaveDelay:jt},Zt,{prefixCls:It,classNames:{root:_t,body:In},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},xe.root),Qt),wt),lt==null?void 0:lt.root),body:Object.assign(Object.assign({},xe.body),lt==null?void 0:lt.body)},ref:ze,open:xn,onOpenChange:Rt,overlay:be||de?oe.createElement(ce.aV,{prefixCls:It,title:be,content:de}):null,transitionName:(0,Dt.m)(Ct,"zoom-big",Zt.transitionName),"data-popover-inject":!0}),(0,Me.Tm)(Pt,{onKeyDown:le=>{var ye,Ie;oe.isValidElement(Pt)&&((Ie=Pt==null?void 0:(ye=Pt.props).onKeyDown)===null||Ie===void 0||Ie.call(ye,le)),En(le)}})))});He._InternalPanelDoNotUseOrYouWillBeFired=ce.ZP,zn.Z=He},85074:function(gr,zn,pe){"use strict";var oe=pe(63356),qt=pe(34925),Xe=pe(37645),Ht=pe(36305),rt=pe(34998),at=pe(16931),Dt=pe(51636);const Me=ke=>{const{componentCls:Le,popoverColor:Ve,titleMinWidth:Ke,fontWeightStrong:He,innerPadding:Ge,boxShadowSecondary:ze,colorTextHeading:qe,borderRadiusLG:pt,zIndexPopup:Bt,titleMarginBottom:vt,colorBgElevated:yt,popoverBg:Nt,titleBorderBottom:Et,innerContentPadding:pn,titlePadding:Pt}=ke;return[{[Le]:Object.assign(Object.assign({},(0,oe.Wf)(ke)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:Bt,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":yt,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Le}-content`]:{position:"relative"},[`${Le}-inner`]:{backgroundColor:Nt,backgroundClip:"padding-box",borderRadius:pt,boxShadow:ze,padding:Ge},[`${Le}-title`]:{minWidth:Ke,marginBottom:vt,color:qe,fontWeight:He,borderBottom:Et,padding:Pt},[`${Le}-inner-content`]:{color:Ve,padding:pn}})},(0,Xe.ZP)(ke,"var(--antd-arrow-background-color)"),{[`${Le}-pure`]:{position:"relative",maxWidth:"none",margin:ke.sizePopupArrow,display:"inline-block",[`${Le}-content`]:{display:"inline-block"}}}]},Pe=ke=>{const{componentCls:Le}=ke;return{[Le]:rt.i.map(Ve=>{const Ke=ke[`${Ve}6`];return{[`&${Le}-${Ve}`]:{"--antd-arrow-background-color":Ke,[`${Le}-inner`]:{backgroundColor:Ke},[`${Le}-arrow`]:{background:"transparent"}}}})}},ce=ke=>{const{lineWidth:Le,controlHeight:Ve,fontHeight:Ke,padding:He,wireframe:Ge,zIndexPopupBase:ze,borderRadiusLG:qe,marginXS:pt,lineType:Bt,colorSplit:vt,paddingSM:yt}=ke,Nt=Ve-Ke,Et=Nt/2,pn=Nt/2-Le,Pt=He;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:ze+30},(0,Ht.w)(ke)),(0,Xe.wZ)({contentRadius:qe,limitVerticalRadius:!0})),{innerPadding:Ge?0:12,titleMarginBottom:Ge?0:pt,titlePadding:Ge?`${Et}px ${Pt}px ${pn}px`:0,titleBorderBottom:Ge?`${Le}px ${Bt} ${vt}`:"none",innerContentPadding:Ge?`${yt}px ${Pt}px`:0})};zn.Z=(0,at.I$)("Popover",ke=>{const{colorBgElevated:Le,colorText:Ve}=ke,Ke=(0,Dt.mergeToken)(ke,{popoverBg:Le,popoverColor:Ve});return[Me(Ke),Pe(Ke),(0,qt._y)(Ke,"zoom-big")]},ce,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Xn}});var oe=pe(59301),qt=pe(17835),Xe=pe(29679),Ht=pe(40001),rt=pe(19248),at=pe(99267),Dt=pe(92310),Me=pe.n(Dt),Pe=pe(2738),ce=pe(48755),ke=pe(60499),Le=pe(85899),Ve=pe(42244),Ke={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},He=function(){var An=(0,oe.useRef)([]),Qn=(0,oe.useRef)(null);return(0,oe.useEffect)(function(){var Jn=Date.now(),nt=!1;An.current.forEach(function(gt){if(gt){nt=!0;var Kt=gt.style;Kt.transitionDuration=".3s, .3s, .3s, .06s",Qn.current&&Jn-Qn.current<100&&(Kt.transitionDuration="0s, 0s")}}),nt&&(Qn.current=Date.now())}),An.current},Ge=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ze=function(An){var Qn=(0,Le.Z)((0,Le.Z)({},Ke),An),Jn=Qn.className,nt=Qn.percent,gt=Qn.prefixCls,Kt=Qn.strokeColor,vn=Qn.strokeLinecap,Rn=Qn.strokeWidth,hr=Qn.style,$r=Qn.trailColor,Xr=Qn.trailWidth,vr=Qn.transition,lr=(0,Ve.Z)(Qn,Ge);delete lr.gapPosition;var Dr=Array.isArray(nt)?nt:[nt],rr=Array.isArray(Kt)?Kt:[Kt],Tn=He(),_n=Rn/2,Ln=100-Rn/2,mr="M ".concat(vn==="round"?_n:0,",").concat(_n,` L `).concat(vn==="round"?Ln:100,",").concat(_n),cr="0 0 100 ".concat(Rn),pr=0;return oe.createElement("svg",(0,ke.Z)({className:Me()("".concat(gt,"-line"),Jn),viewBox:cr,preserveAspectRatio:"none",style:hr},lr),oe.createElement("path",{className:"".concat(gt,"-line-trail"),d:mr,strokeLinecap:vn,stroke:$r,strokeWidth:Xr||Rn,fillOpacity:"0"}),Dr.map(function(Rr,Wr){var Gr=1;switch(vn){case"round":Gr=1-Rn/100;break;case"square":Gr=1-Rn/2/100;break;default:Gr=1;break}var ai={strokeDasharray:"".concat(Rr*Gr,"px, 100px"),strokeDashoffset:"-".concat(pr,"px"),transition:vr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ti=rr[Wr]||rr[rr.length-1];return pr+=Rr,oe.createElement("path",{key:Wr,className:"".concat(gt,"-line-path"),d:mr,strokeLinecap:vn,stroke:ti,strokeWidth:Rn,fillOpacity:"0",ref:function(mi){Tn[Wr]=mi},style:ai})}))},qe=ze,pt=pe(43749),Bt=pe(72190),vt=pe(47273),yt=0,Nt=(0,vt.Z)();function Et(){var Ft;return Nt?(Ft=yt,yt+=1):Ft="TEST_OR_SSR",Ft}var pn=function(Ft){var An=oe.useState(),Qn=(0,Bt.Z)(An,2),Jn=Qn[0],nt=Qn[1];return oe.useEffect(function(){nt("rc_progress_".concat(Et()))},[]),Ft||Jn},Pt=function(An){var Qn=An.bg,Jn=An.children;return oe.createElement("div",{style:{width:"100%",height:"100%",background:Qn}},Jn)};function St(Ft,An){return Object.keys(Ft).map(function(Qn){var Jn=parseFloat(Qn),nt="".concat(Math.floor(Jn*An),"%");return"".concat(Ft[Qn]," ").concat(nt)})}var jt=oe.forwardRef(function(Ft,An){var Qn=Ft.prefixCls,Jn=Ft.color,nt=Ft.gradientId,gt=Ft.radius,Kt=Ft.style,vn=Ft.ptg,Rn=Ft.strokeLinecap,hr=Ft.strokeWidth,$r=Ft.size,Xr=Ft.gapDegree,vr=Jn&&(0,pt.Z)(Jn)==="object",lr=vr?"#FFF":void 0,Dr=$r/2,rr=oe.createElement("circle",{className:"".concat(Qn,"-circle-path"),r:gt,cx:Dr,cy:Dr,stroke:lr,strokeLinecap:Rn,strokeWidth:hr,opacity:vn===0?0:1,style:Kt,ref:An});if(!vr)return rr;var Tn="".concat(nt,"-conic"),_n=Xr?"".concat(180+Xr/2,"deg"):"0deg",Ln=St(Jn,(360-Xr)/360),mr=St(Jn,1),cr="conic-gradient(from ".concat(_n,", ").concat(Ln.join(", "),")"),pr="linear-gradient(to ".concat(Xr?"bottom":"top",", ").concat(mr.join(", "),")");return oe.createElement(oe.Fragment,null,oe.createElement("mask",{id:Tn},rr),oe.createElement("foreignObject",{x:0,y:0,width:$r,height:$r,mask:"url(#".concat(Tn,")")},oe.createElement(Pt,{bg:pr},oe.createElement(Pt,{bg:cr}))))}),Je=jt,wt=100,lt=function(An,Qn,Jn,nt,gt,Kt,vn,Rn,hr,$r){var Xr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,vr=Jn/100*360*((360-Kt)/360),lr=Kt===0?0:{bottom:0,top:180,left:90,right:-90}[vn],Dr=(100-nt)/100*Qn;hr==="round"&&nt!==100&&(Dr+=$r/2,Dr>=Qn&&(Dr=Qn-.01));var rr=wt/2;return{stroke:typeof Rn=="string"?Rn:void 0,strokeDasharray:"".concat(Qn,"px ").concat(An),strokeDashoffset:Dr+Xr,transform:"rotate(".concat(gt+vr+lr,"deg)"),transformOrigin:"".concat(rr,"px ").concat(rr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Fe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Zt(Ft){var An=Ft!=null?Ft:[];return Array.isArray(An)?An:[An]}var $e=function(An){var Qn=(0,Le.Z)((0,Le.Z)({},Ke),An),Jn=Qn.id,nt=Qn.prefixCls,gt=Qn.steps,Kt=Qn.strokeWidth,vn=Qn.trailWidth,Rn=Qn.gapDegree,hr=Rn===void 0?0:Rn,$r=Qn.gapPosition,Xr=Qn.trailColor,vr=Qn.strokeLinecap,lr=Qn.style,Dr=Qn.className,rr=Qn.strokeColor,Tn=Qn.percent,_n=(0,Ve.Z)(Qn,Fe),Ln=wt/2,mr=pn(Jn),cr="".concat(mr,"-gradient"),pr=Ln-Kt/2,Rr=Math.PI*2*pr,Wr=hr>0?90+hr/2:-90,Gr=Rr*((360-hr)/360),ai=(0,pt.Z)(gt)==="object"?gt:{count:gt,gap:2},ti=ai.count,xi=ai.gap,mi=Zt(Tn),Xt=Zt(rr),Kn=Xt.find(function(ft){return ft&&(0,pt.Z)(ft)==="object"}),Lr=Kn&&(0,pt.Z)(Kn)==="object",wr=Lr?"butt":vr,Lt=lt(Rr,Gr,0,100,Wr,hr,$r,Xr,wr,Kt),Vt=He(),ot=function(){var Gt=0;return mi.map(function(Fn,xr){var Or=Xt[xr]||Xt[Xt.length-1],kr=lt(Rr,Gr,Gt,Fn,Wr,hr,$r,Or,wr,Kt);return Gt+=Fn,oe.createElement(Je,{key:xr,color:Or,ptg:Fn,radius:pr,prefixCls:nt,gradientId:cr,style:kr,strokeLinecap:wr,strokeWidth:Kt,gapDegree:hr,ref:function(Zn){Vt[xr]=Zn},size:wt})}).reverse()},kt=function(){var Gt=Math.round(ti*(mi[0]/100)),Fn=100/ti,xr=0;return new Array(ti).fill(null).map(function(Or,kr){var dr=kr<=Gt-1?Xt[0]:Xr,Zn=dr&&(0,pt.Z)(dr)==="object"?"url(#".concat(cr,")"):void 0,Mn=lt(Rr,Gr,xr,Fn,Wr,hr,$r,dr,"butt",Kt,xi);return xr+=(Gr-Mn.strokeDashoffset+xi)*100/Gr,oe.createElement("circle",{key:kr,className:"".concat(nt,"-circle-path"),r:pr,cx:Ln,cy:Ln,stroke:Zn,strokeWidth:Kt,opacity:1,style:Mn,ref:function(si){Vt[kr]=si}})})};return oe.createElement("svg",(0,ke.Z)({className:Me()("".concat(nt,"-circle"),Dr),viewBox:"0 0 ".concat(wt," ").concat(wt),style:lr,id:Jn,role:"presentation"},_n),!ti&&oe.createElement("circle",{className:"".concat(nt,"-circle-trail"),r:pr,cx:Ln,cy:Ln,stroke:Xr,strokeLinecap:wr,strokeWidth:vn||Kt,style:Lt}),ti?kt():ot())},At=$e,Qt={Line:qe,Circle:At},Te=pe(25399),xe=pe(68361);function It(Ft){return!Ft||Ft<0?0:Ft>100?100:Ft}function Cn(Ft){let{success:An,successPercent:Qn}=Ft,Jn=Qn;return An&&"progress"in An&&(Jn=An.progress),An&&"percent"in An&&(Jn=An.percent),Jn}const mn=Ft=>{let{percent:An,success:Qn,successPercent:Jn}=Ft;const nt=It(Cn({success:Qn,successPercent:Jn}));return[nt,It(It(An)-nt)]},Ze=Ft=>{let{success:An={},strokeColor:Qn}=Ft;const{strokeColor:Jn}=An;return[Jn||xe.presetPrimaryColors.green,Qn||null]},Ct=(Ft,An,Qn)=>{var Jn,nt,gt,Kt;let vn=-1,Rn=-1;if(An==="step"){const hr=Qn.steps,$r=Qn.strokeWidth;typeof Ft=="string"||typeof Ft=="undefined"?(vn=Ft==="small"?2:14,Rn=$r!=null?$r:8):typeof Ft=="number"?[vn,Rn]=[Ft,Ft]:[vn=14,Rn=8]=Array.isArray(Ft)?Ft:[Ft.width,Ft.height],vn*=hr}else if(An==="line"){const hr=Qn==null?void 0:Qn.strokeWidth;typeof Ft=="string"||typeof Ft=="undefined"?Rn=hr||(Ft==="small"?6:8):typeof Ft=="number"?[vn,Rn]=[Ft,Ft]:[vn=-1,Rn=8]=Array.isArray(Ft)?Ft:[Ft.width,Ft.height]}else(An==="circle"||An==="dashboard")&&(typeof Ft=="string"||typeof Ft=="undefined"?[vn,Rn]=Ft==="small"?[60,60]:[120,120]:typeof Ft=="number"?[vn,Rn]=[Ft,Ft]:Array.isArray(Ft)&&(vn=(nt=(Jn=Ft[0])!==null&&Jn!==void 0?Jn:Ft[1])!==null&&nt!==void 0?nt:120,Rn=(Kt=(gt=Ft[0])!==null&>!==void 0?gt:Ft[1])!==null&&Kt!==void 0?Kt:120));return[vn,Rn]},_t=3,In=Ft=>_t/Ft*100;var Wn=Ft=>{const{prefixCls:An,trailColor:Qn=null,strokeLinecap:Jn="round",gapPosition:nt,gapDegree:gt,width:Kt=120,type:vn,children:Rn,success:hr,size:$r=Kt,steps:Xr}=Ft,[vr,lr]=Ct($r,"circle");let{strokeWidth:Dr}=Ft;Dr===void 0&&(Dr=Math.max(In(vr),6));const rr={width:vr,height:lr,fontSize:vr*.15+6},Tn=oe.useMemo(()=>{if(gt||gt===0)return gt;if(vn==="dashboard")return 75},[gt,vn]),_n=mn(Ft),Ln=nt||vn==="dashboard"&&"bottom"||void 0,mr=Object.prototype.toString.call(Ft.strokeColor)==="[object Object]",cr=Ze({success:hr,strokeColor:Ft.strokeColor}),pr=Me()(`${An}-inner`,{[`${An}-circle-gradient`]:mr}),Rr=oe.createElement(At,{steps:Xr,percent:Xr?_n[1]:_n,strokeWidth:Dr,trailWidth:Dr,strokeColor:Xr?cr[1]:cr,strokeLinecap:Jn,trailColor:Qn,prefixCls:An,gapDegree:Tn,gapPosition:Ln}),Wr=vr<=20,Gr=oe.createElement("div",{className:pr,style:rr},Rr,!Wr&&Rn);return Wr?oe.createElement(Te.Z,{title:Rn},Gr):Gr},ct=pe(36237),En=pe(63356),Rt=pe(16931),be=pe(51636);const de="--progress-line-stroke-color",le="--progress-percent",ye=Ft=>{const An=Ft?"100%":"-100%";return new ct.Keyframes(`antProgress${Ft?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${An}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${An}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ie=Ft=>{const{componentCls:An,iconCls:Qn}=Ft;return{[An]:Object.assign(Object.assign({},(0,En.Wf)(Ft)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ft.fontSize},[`${An}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${An}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Ft.remainingColor,borderRadius:Ft.lineBorderRadius},[`${An}-inner:not(${An}-circle-gradient)`]:{[`${An}-circle-path`]:{stroke:Ft.defaultColor}},[`${An}-success-bg, ${An}-bg`]:{position:"relative",background:Ft.defaultColor,borderRadius:Ft.lineBorderRadius,transition:`all ${Ft.motionDurationSlow} ${Ft.motionEaseInOutCirc}`},[`${An}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${An}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Ft.marginXXS}},[`${An}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${de})`]},height:"100%",width:`calc(1 / var(${le}) * 100%)`,display:"block"},[`&${An}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${An}-text-inner`]:{color:Ft.colorWhite,[`&${An}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${An}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ft.colorSuccess},[`${An}-text`]:{display:"inline-block",marginInlineStart:Ft.marginXS,color:Ft.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Qn]:{fontSize:Ft.fontSize},[`&${An}-text-outer`]:{width:"max-content"},[`&${An}-text-outer${An}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Ft.marginXS}},[`${An}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ct.unit)(Ft.paddingXXS)}`,[`&${An}-text-start`]:{justifyContent:"start"},[`&${An}-text-end`]:{justifyContent:"end"}},[`&${An}-status-active`]:{[`${An}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ft.colorBgContainer,borderRadius:Ft.lineBorderRadius,opacity:0,animationName:ye(),animationDuration:Ft.progressActiveMotionDuration,animationTimingFunction:Ft.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${An}-rtl${An}-status-active`]:{[`${An}-bg::before`]:{animationName:ye(!0)}},[`&${An}-status-exception`]:{[`${An}-bg`]:{backgroundColor:Ft.colorError},[`${An}-text`]:{color:Ft.colorError}},[`&${An}-status-exception ${An}-inner:not(${An}-circle-gradient)`]:{[`${An}-circle-path`]:{stroke:Ft.colorError}},[`&${An}-status-success`]:{[`${An}-bg`]:{backgroundColor:Ft.colorSuccess},[`${An}-text`]:{color:Ft.colorSuccess}},[`&${An}-status-success ${An}-inner:not(${An}-circle-gradient)`]:{[`${An}-circle-path`]:{stroke:Ft.colorSuccess}}})}},he=Ft=>{const{componentCls:An,iconCls:Qn}=Ft;return{[An]:{[`${An}-circle-trail`]:{stroke:Ft.remainingColor},[`&${An}-circle ${An}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${An}-circle ${An}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ft.circleTextColor,fontSize:Ft.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Qn]:{fontSize:Ft.circleIconFontSize}},[`${An}-circle&-status-exception`]:{[`${An}-text`]:{color:Ft.colorError}},[`${An}-circle&-status-success`]:{[`${An}-text`]:{color:Ft.colorSuccess}}},[`${An}-inline-circle`]:{lineHeight:1,[`${An}-inner`]:{verticalAlign:"bottom"}}}},We=Ft=>{const{componentCls:An}=Ft;return{[An]:{[`${An}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ft.progressStepMinWidth,marginInlineEnd:Ft.progressStepMarginInlineEnd,backgroundColor:Ft.remainingColor,transition:`all ${Ft.motionDurationSlow}`,"&-active":{backgroundColor:Ft.defaultColor}}}}}},tt=Ft=>{const{componentCls:An,iconCls:Qn}=Ft;return{[An]:{[`${An}-small&-line, ${An}-small&-line ${An}-text ${Qn}`]:{fontSize:Ft.fontSizeSM}}}},dn=Ft=>({circleTextColor:Ft.colorText,defaultColor:Ft.colorInfo,remainingColor:Ft.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Ft.fontSize/Ft.fontSizeSM}em`});var ut=(0,Rt.I$)("Progress",Ft=>{const An=Ft.calc(Ft.marginXXS).div(2).equal(),Qn=(0,be.mergeToken)(Ft,{progressStepMarginInlineEnd:An,progressStepMinWidth:An,progressActiveMotionDuration:"2.4s"});return[Ie(Qn),he(Qn),We(Qn),tt(Qn)]},dn),zt=function(Ft,An){var Qn={};for(var Jn in Ft)Object.prototype.hasOwnProperty.call(Ft,Jn)&&An.indexOf(Jn)<0&&(Qn[Jn]=Ft[Jn]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Jn=Object.getOwnPropertySymbols(Ft);nt{let An=[];return Object.keys(Ft).forEach(Qn=>{const Jn=parseFloat(Qn.replace(/%/g,""));Number.isNaN(Jn)||An.push({key:Jn,value:Ft[Qn]})}),An=An.sort((Qn,Jn)=>Qn.key-Jn.key),An.map(Qn=>{let{key:Jn,value:nt}=Qn;return`${nt} ${Jn}%`}).join(", ")},Sn=(Ft,An)=>{const{from:Qn=xe.presetPrimaryColors.blue,to:Jn=xe.presetPrimaryColors.blue,direction:nt=An==="rtl"?"to left":"to right"}=Ft,gt=zt(Ft,["from","to","direction"]);if(Object.keys(gt).length!==0){const vn=en(gt),Rn=`linear-gradient(${nt}, ${vn})`;return{background:Rn,[de]:Rn}}const Kt=`linear-gradient(${nt}, ${Qn}, ${Jn})`;return{background:Kt,[de]:Kt}};var ar=Ft=>{const{prefixCls:An,direction:Qn,percent:Jn,size:nt,strokeWidth:gt,strokeColor:Kt,strokeLinecap:vn="round",children:Rn,trailColor:hr=null,percentPosition:$r,success:Xr}=Ft,{align:vr,type:lr}=$r,Dr=Kt&&typeof Kt!="string"?Sn(Kt,Qn):{[de]:Kt,background:Kt},rr=vn==="square"||vn==="butt"?0:void 0,Tn=nt!=null?nt:[-1,gt||(nt==="small"?6:8)],[_n,Ln]=Ct(Tn,"line",{strokeWidth:gt}),mr={backgroundColor:hr||void 0,borderRadius:rr},cr=Object.assign(Object.assign({width:`${It(Jn)}%`,height:Ln,borderRadius:rr},Dr),{[le]:It(Jn)/100}),pr=Cn(Ft),Rr={width:`${It(pr)}%`,height:Ln,borderRadius:rr,backgroundColor:Xr==null?void 0:Xr.strokeColor},Wr={width:_n<0?"100%":_n},Gr=oe.createElement("div",{className:`${An}-inner`,style:mr},oe.createElement("div",{className:Me()(`${An}-bg`,`${An}-bg-${lr}`),style:cr},lr==="inner"&&Rn),pr!==void 0&&oe.createElement("div",{className:`${An}-success-bg`,style:Rr})),ai=lr==="outer"&&vr==="start",ti=lr==="outer"&&vr==="end";return lr==="outer"&&vr==="center"?oe.createElement("div",{className:`${An}-layout-bottom`},Gr,Rn):oe.createElement("div",{className:`${An}-outer`,style:Wr},ai&&Rn,Gr,ti&&Rn)},nn=Ft=>{const{size:An,steps:Qn,rounding:Jn=Math.round,percent:nt=0,strokeWidth:gt=8,strokeColor:Kt,trailColor:vn=null,prefixCls:Rn,children:hr}=Ft,$r=Jn(Qn*(nt/100)),Xr=An==="small"?2:14,vr=An!=null?An:[Xr,gt],[lr,Dr]=Ct(vr,"step",{steps:Qn,strokeWidth:gt}),rr=lr/Qn,Tn=Array.from({length:Qn});for(let _n=0;_n{const{prefixCls:Qn,className:Jn,rootClassName:nt,steps:gt,strokeColor:Kt,percent:vn=0,size:Rn="default",showInfo:hr=!0,type:$r="line",status:Xr,format:vr,style:lr,percentPosition:Dr={}}=Ft,rr=ln(Ft,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Tn="end",type:_n="outer"}=Dr,Ln=Array.isArray(Kt)?Kt[0]:Kt,mr=typeof Kt=="string"||Array.isArray(Kt)?Kt:void 0,cr=oe.useMemo(()=>{if(Ln){const ot=typeof Ln=="string"?Ln:Object.values(Ln)[0];return new qt.FastColor(ot).isLight()}return!1},[Kt]),pr=oe.useMemo(()=>{var ot,kt;const ft=Cn(Ft);return parseInt(ft!==void 0?(ot=ft!=null?ft:0)===null||ot===void 0?void 0:ot.toString():(kt=vn!=null?vn:0)===null||kt===void 0?void 0:kt.toString(),10)},[vn,Ft.success,Ft.successPercent]),Rr=oe.useMemo(()=>!Nn.includes(Xr)&&pr>=100?"success":Xr||"normal",[Xr,pr]),{getPrefixCls:Wr,direction:Gr,progress:ai}=oe.useContext(ce.E_),ti=Wr("progress",Qn),[xi,mi,Xt]=ut(ti),Kn=$r==="line",Lr=Kn&&!gt,wr=oe.useMemo(()=>{if(!hr)return null;const ot=Cn(Ft);let kt;const ft=vr||(Fn=>`${Fn}%`),Gt=Kn&&cr&&_n==="inner";return _n==="inner"||vr||Rr!=="exception"&&Rr!=="success"?kt=ft(It(vn),It(ot)):Rr==="exception"?kt=Kn?oe.createElement(rt.Z,null):oe.createElement(at.Z,null):Rr==="success"&&(kt=Kn?oe.createElement(Xe.Z,null):oe.createElement(Ht.Z,null)),oe.createElement("span",{className:Me()(`${ti}-text`,{[`${ti}-text-bright`]:Gt,[`${ti}-text-${Tn}`]:Lr,[`${ti}-text-${_n}`]:Lr}),title:typeof kt=="string"?kt:void 0},kt)},[hr,vn,pr,Rr,$r,ti,vr]);let Lt;$r==="line"?Lt=gt?oe.createElement(nn,Object.assign({},Ft,{strokeColor:mr,prefixCls:ti,steps:typeof gt=="object"?gt.count:gt}),wr):oe.createElement(ar,Object.assign({},Ft,{strokeColor:Ln,prefixCls:ti,direction:Gr,percentPosition:{align:Tn,type:_n}}),wr):($r==="circle"||$r==="dashboard")&&(Lt=oe.createElement(Wn,Object.assign({},Ft,{strokeColor:Ln,prefixCls:ti,progressStatus:Rr}),wr));const Vt=Me()(ti,`${ti}-status-${Rr}`,{[`${ti}-${$r==="dashboard"&&"circle"||$r}`]:$r!=="line",[`${ti}-inline-circle`]:$r==="circle"&&Ct(Rn,"circle")[0]<=20,[`${ti}-line`]:Lr,[`${ti}-line-align-${Tn}`]:Lr,[`${ti}-line-position-${_n}`]:Lr,[`${ti}-steps`]:gt,[`${ti}-show-info`]:hr,[`${ti}-${Rn}`]:typeof Rn=="string",[`${ti}-rtl`]:Gr==="rtl"},ai==null?void 0:ai.className,Jn,nt,mi,Xt);return xi(oe.createElement("div",Object.assign({ref:An,style:Object.assign(Object.assign({},ai==null?void 0:ai.style),lr),className:Vt,role:"progressbar","aria-valuenow":pr,"aria-valuemin":0,"aria-valuemax":100},(0,Pe.Z)(rr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Lt))}),Xn=ir},63139:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return mn}});var oe=pe(59301),qt=pe(60499),Xe={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"},Ht=Xe,rt=pe(7657),at=function(Ct,_t){return oe.createElement(rt.Z,(0,qt.Z)({},Ct,{ref:_t,icon:Ht}))},Dt=oe.forwardRef(at),Me=Dt,Pe=pe(92310),ce=pe.n(Pe),ke=pe(18642),Le=pe(72190),Ve=pe(42244),Ke=pe(18929),He=pe(10228),Ge=pe(26112);function ze(Ze,Ct){var _t=Ze.disabled,In=Ze.prefixCls,xn=Ze.character,Wn=Ze.characterRender,ct=Ze.index,En=Ze.count,Rt=Ze.value,be=Ze.allowHalf,de=Ze.focused,le=Ze.onHover,ye=Ze.onClick,Ie=function(Sn){le(Sn,ct)},he=function(Sn){ye(Sn,ct)},We=function(Sn){Sn.keyCode===He.Z.ENTER&&ye(Sn,ct)},tt=ct+1,dn=new Set([In]);Rt===0&&ct===0&&de?dn.add("".concat(In,"-focused")):be&&Rt+.5>=tt&&Rtct?"true":"false","aria-posinset":ct+1,"aria-setsize":En,tabIndex:_t?-1:0},oe.createElement("div",{className:"".concat(In,"-first")},ut),oe.createElement("div",{className:"".concat(In,"-second")},ut)));return Wn&&(zt=Wn(zt,Ze)),zt}var qe=oe.forwardRef(ze);function pt(){var Ze=oe.useRef({});function Ct(In){return Ze.current[In]}function _t(In){return function(xn){Ze.current[In]=xn}}return[Ct,_t]}function Bt(Ze){var Ct=Ze.pageXOffset,_t="scrollLeft";if(typeof Ct!="number"){var In=Ze.document;Ct=In.documentElement[_t],typeof Ct!="number"&&(Ct=In.body[_t])}return Ct}function vt(Ze){var Ct,_t,In=Ze.ownerDocument,xn=In.body,Wn=In&&In.documentElement,ct=Ze.getBoundingClientRect();return Ct=ct.left,_t=ct.top,Ct-=Wn.clientLeft||xn.clientLeft||0,_t-=Wn.clientTop||xn.clientTop||0,{left:Ct,top:_t}}function yt(Ze){var Ct=vt(Ze),_t=Ze.ownerDocument,In=_t.defaultView||_t.parentWindow;return Ct.left+=Bt(In),Ct.left}var Nt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Et(Ze,Ct){var _t=Ze.prefixCls,In=_t===void 0?"rc-rate":_t,xn=Ze.className,Wn=Ze.defaultValue,ct=Ze.value,En=Ze.count,Rt=En===void 0?5:En,be=Ze.allowHalf,de=be===void 0?!1:be,le=Ze.allowClear,ye=le===void 0?!0:le,Ie=Ze.keyboard,he=Ie===void 0?!0:Ie,We=Ze.character,tt=We===void 0?"\u2605":We,dn=Ze.characterRender,ut=Ze.disabled,zt=Ze.direction,en=zt===void 0?"ltr":zt,Sn=Ze.tabIndex,yn=Sn===void 0?0:Sn,ar=Ze.autoFocus,Mt=Ze.onHoverChange,nn=Ze.onChange,ln=Ze.onFocus,Un=Ze.onBlur,Nn=Ze.onKeyDown,un=Ze.onMouseLeave,ir=(0,Ve.Z)(Ze,Nt),Xn=pt(),Ft=(0,Le.Z)(Xn,2),An=Ft[0],Qn=Ft[1],Jn=oe.useRef(null),nt=function(){if(!ut){var wr;(wr=Jn.current)===null||wr===void 0||wr.focus()}};oe.useImperativeHandle(Ct,function(){return{focus:nt,blur:function(){if(!ut){var wr;(wr=Jn.current)===null||wr===void 0||wr.blur()}}}});var gt=(0,Ke.Z)(Wn||0,{value:ct}),Kt=(0,Le.Z)(gt,2),vn=Kt[0],Rn=Kt[1],hr=(0,Ke.Z)(null),$r=(0,Le.Z)(hr,2),Xr=$r[0],vr=$r[1],lr=function(wr,Lt){var Vt=en==="rtl",ot=wr+1;if(de){var kt=An(wr),ft=yt(kt),Gt=kt.clientWidth;(Vt&&Lt-ft>Gt/2||!Vt&&Lt-ft0&&!Vt||Lt===He.Z.RIGHT&&vn>0&&Vt?(Dr(vn-ot),wr.preventDefault()):Lt===He.Z.LEFT&&vn{const{componentCls:Ct}=Ze;return{[`${Ct}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ze.marginXS},"> div":{transition:`all ${Ze.motionDurationMid}, outline 0s`,"&:hover":{transform:Ze.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Je.unit)(Ze.lineWidth)} dashed ${Ze.starColor}`,transform:Ze.starHoverScale}},"&-first, &-second":{color:Ze.starBg,transition:`all ${Ze.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ct}-star-first, &-half ${Ct}-star-second`]:{opacity:1},[`&-half ${Ct}-star-first, &-full ${Ct}-star-second`]:{color:"inherit"}}}},$e=Ze=>({[`&-rtl${Ze.componentCls}`]:{direction:"rtl"}}),At=Ze=>{const{componentCls:Ct}=Ze;return{[Ct]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,wt.Wf)(Ze)),{display:"inline-block",margin:0,padding:0,color:Ze.starColor,fontSize:Ze.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Ct} ${Ct}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Zt(Ze)),$e(Ze))}},Qt=Ze=>({starColor:Ze.yellow6,starSize:Ze.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ze.colorFillContent});var Te=(0,lt.I$)("Rate",Ze=>{const Ct=(0,Fe.mergeToken)(Ze,{});return[At(Ct)]},Qt),xe=pe(2171),It=function(Ze,Ct){var _t={};for(var In in Ze)Object.prototype.hasOwnProperty.call(Ze,In)&&Ct.indexOf(In)<0&&(_t[In]=Ze[In]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,In=Object.getOwnPropertySymbols(Ze);xn{const{prefixCls:_t,className:In,rootClassName:xn,style:Wn,tooltips:ct,character:En=oe.createElement(Me,null),disabled:Rt}=Ze,be=It(Ze,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),de=(Sn,yn)=>{let{index:ar}=yn;return ct?oe.createElement(jt.Z,{title:ct[ar]},Sn):Sn},{getPrefixCls:le,direction:ye,rate:Ie}=oe.useContext(St.E_),he=le("rate",_t),[We,tt,dn]=Te(he),ut=Object.assign(Object.assign({},Ie==null?void 0:Ie.style),Wn),zt=oe.useContext(xe.Z),en=Rt!=null?Rt:zt;return We(oe.createElement(Pt,Object.assign({ref:Ct,character:En,characterRender:de,disabled:en},be,{className:ce()(In,xn,tt,dn,Ie==null?void 0:Ie.className),style:ut,prefixCls:he,direction:ye})))})},82326:function(gr,zn,pe){"use strict";var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(37463),rt=pe(2738),at=pe(75030),Dt=pe(86641),Me=pe(45915),Pe=pe(82855),ce=pe(48755),ke=pe(38406),Le=pe(2171),Ve=pe(83397),Ke=pe(31756),He=pe(56553),Ge=pe(24971),ze=pe(70045),qe=pe(57700),pt=pe(1722),Bt=pe(90376),vt=pe(68525),yt=pe(90005),Nt=function(jt,Je){var wt={};for(var lt in jt)Object.prototype.hasOwnProperty.call(jt,lt)&&Je.indexOf(lt)<0&&(wt[lt]=jt[lt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,lt=Object.getOwnPropertySymbols(jt);Fe{var wt;const{prefixCls:lt,bordered:Fe,className:Zt,rootClassName:$e,getPopupContainer:At,popupClassName:Qt,dropdownClassName:Te,listHeight:xe=256,placement:It,listItemHeight:Cn,size:mn,disabled:Ze,notFoundContent:Ct,status:_t,builtinPlacements:In,dropdownMatchSelectWidth:xn,popupMatchSelectWidth:Wn,direction:ct,style:En,allowClear:Rt,variant:be,dropdownStyle:de,transitionName:le,tagRender:ye,maxCount:Ie,prefix:he}=jt,We=Nt(jt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:tt,getPrefixCls:dn,renderEmpty:ut,direction:zt,virtual:en,popupMatchSelectWidth:Sn,popupOverflow:yn}=oe.useContext(ce.E_),ar=(0,ce.dj)("select"),[,Mt]=(0,qe.ZP)(),nn=Cn!=null?Cn:Mt==null?void 0:Mt.controlHeight,ln=dn("select",lt),Un=dn(),Nn=ct!=null?ct:zt,{compactSize:un,compactItemClassnames:ir}=(0,ze.ri)(ln,Nn),[Xn,Ft]=(0,Ge.Z)("select",be,Fe),An=(0,Ve.Z)(ln),[Qn,Jn,nt]=(0,Bt.Z)(ln,An),gt=oe.useMemo(()=>{const{mode:mi}=jt;if(mi!=="combobox")return mi===Et?"combobox":mi},[jt.mode]),Kt=gt==="multiple"||gt==="tags",vn=(0,yt.Z)(jt.suffixIcon,jt.showArrow),Rn=(wt=Wn!=null?Wn:xn)!==null&&wt!==void 0?wt:Sn,{status:hr,hasFeedback:$r,isFormItemInput:Xr,feedbackIcon:vr}=oe.useContext(He.aM),lr=(0,Pe.F)(hr,_t);let Dr;Ct!==void 0?Dr=Ct:gt==="combobox"?Dr=null:Dr=(ut==null?void 0:ut("Select"))||oe.createElement(ke.Z,{componentName:"Select"});const{suffixIcon:rr,itemIcon:Tn,removeIcon:_n,clearIcon:Ln}=(0,vt.Z)(Object.assign(Object.assign({},We),{multiple:Kt,hasFeedback:$r,feedbackIcon:vr,showSuffixIcon:vn,prefixCls:ln,componentName:"Select"})),mr=Rt===!0?{clearIcon:Ln}:Rt,cr=(0,rt.Z)(We,["suffixIcon","itemIcon"]),pr=Xe()(Qt||Te,{[`${ln}-dropdown-${Nn}`]:Nn==="rtl"},$e,nt,An,Jn),Rr=(0,Ke.Z)(mi=>{var Xt;return(Xt=mn!=null?mn:un)!==null&&Xt!==void 0?Xt:mi}),Wr=oe.useContext(Le.Z),Gr=Ze!=null?Ze:Wr,ai=Xe()({[`${ln}-lg`]:Rr==="large",[`${ln}-sm`]:Rr==="small",[`${ln}-rtl`]:Nn==="rtl",[`${ln}-${Xn}`]:Ft,[`${ln}-in-form-item`]:Xr},(0,Pe.Z)(ln,lr,$r),ir,ar.className,Zt,$e,nt,An,Jn),ti=oe.useMemo(()=>It!==void 0?It:Nn==="rtl"?"bottomRight":"bottomLeft",[It,Nn]),[xi]=(0,at.Cn)("SelectLike",de==null?void 0:de.zIndex);return Qn(oe.createElement(Ht.ZP,Object.assign({ref:Je,virtual:en,showSearch:ar.showSearch},cr,{style:Object.assign(Object.assign({},ar.style),En),dropdownMatchSelectWidth:Rn,transitionName:(0,Dt.m)(Un,"slide-up",le),builtinPlacements:(0,pt.Z)(In,yn),listHeight:xe,listItemHeight:nn,mode:gt,prefixCls:ln,placement:ti,direction:Nn,prefix:he,suffixIcon:rr,menuItemSelectedIcon:Tn,removeIcon:_n,allowClear:mr,notFoundContent:Dr,className:ai,getPopupContainer:At||tt,dropdownClassName:pr,disabled:Gr,dropdownStyle:Object.assign(Object.assign({},de),{zIndex:xi}),maxCount:Kt?Ie:void 0,tagRender:Kt?ye:void 0})))},Pt=oe.forwardRef(pn),St=(0,Me.Z)(Pt,"dropdownAlign");Pt.SECRET_COMBOBOX_MODE_DO_NOT_USE=Et,Pt.Option=Ht.Wx,Pt.OptGroup=Ht.Xo,Pt._InternalPanelDoNotUseOrYouWillBeFired=St,zn.default=Pt},1722:function(gr,zn){"use strict";const pe=qt=>{const Ht={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:qt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Ht),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ht),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ht),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ht),{points:["br","tr"],offset:[0,-4]})}};function oe(qt,Xe){return qt||pe(Xe)}zn.Z=oe},90376:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return lt}});var oe=pe(63356),qt=pe(56119),Xe=pe(16931),Ht=pe(51636),rt=pe(46e3),at=pe(93873);const Dt=Fe=>{const{optionHeight:Zt,optionFontSize:$e,optionLineHeight:At,optionPadding:Qt}=Fe;return{position:"relative",display:"block",minHeight:Zt,padding:Qt,color:Fe.colorText,fontWeight:"normal",fontSize:$e,lineHeight:At,boxSizing:"border-box"}};var Pe=Fe=>{const{antCls:Zt,componentCls:$e}=Fe,At=`${$e}-item`,Qt=`&${Zt}-slide-up-enter${Zt}-slide-up-enter-active`,Te=`&${Zt}-slide-up-appear${Zt}-slide-up-appear-active`,xe=`&${Zt}-slide-up-leave${Zt}-slide-up-leave-active`,It=`${$e}-dropdown-placement-`,Cn=`${At}-option-selected`;return[{[`${$e}-dropdown`]:Object.assign(Object.assign({},(0,oe.Wf)(Fe)),{position:"absolute",top:-9999,zIndex:Fe.zIndexPopup,boxSizing:"border-box",padding:Fe.paddingXXS,overflow:"hidden",fontSize:Fe.fontSize,fontVariant:"initial",backgroundColor:Fe.colorBgElevated,borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary,[` ${Qt}${It}bottomLeft, ${Te}${It}bottomLeft `]:{animationName:rt.fJ},[` ${Qt}${It}topLeft, ${Te}${It}topLeft, ${Qt}${It}topRight, ${Te}${It}topRight `]:{animationName:rt.Qt},[`${xe}${It}bottomLeft`]:{animationName:rt.Uw},[` ${xe}${It}topLeft, ${xe}${It}topRight `]:{animationName:rt.ly},"&-hidden":{display:"none"},[At]:Object.assign(Object.assign({},Dt(Fe)),{cursor:"pointer",transition:`background ${Fe.motionDurationSlow} ease`,borderRadius:Fe.borderRadiusSM,"&-group":{color:Fe.colorTextDescription,fontSize:Fe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},oe.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${At}-option-disabled)`]:{backgroundColor:Fe.optionActiveBg},[`&-selected:not(${At}-option-disabled)`]:{color:Fe.optionSelectedColor,fontWeight:Fe.optionSelectedFontWeight,backgroundColor:Fe.optionSelectedBg,[`${At}-option-state`]:{color:Fe.colorPrimary}},"&-disabled":{[`&${At}-option-selected`]:{backgroundColor:Fe.colorBgContainerDisabled},color:Fe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Fe.calc(Fe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Dt(Fe)),{color:Fe.colorTextDisabled})}),[`${Cn}:has(+ ${Cn})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Cn}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,rt.oN)(Fe,"slide-up"),(0,rt.oN)(Fe,"slide-down"),(0,at.Fm)(Fe,"move-up"),(0,at.Fm)(Fe,"move-down")]},ce=pe(26743),ke=pe(36237);function Le(Fe,Zt){const{componentCls:$e,inputPaddingHorizontalBase:At,borderRadius:Qt}=Fe,Te=Fe.calc(Fe.controlHeight).sub(Fe.calc(Fe.lineWidth).mul(2)).equal(),xe=Zt?`${$e}-${Zt}`:"";return{[`${$e}-single${xe}`]:{fontSize:Fe.fontSize,height:Fe.controlHeight,[`${$e}-selector`]:Object.assign(Object.assign({},(0,oe.Wf)(Fe,!0)),{display:"flex",borderRadius:Qt,flex:"1 1 auto",[`${$e}-selection-wrap:after`]:{lineHeight:(0,ke.unit)(Te)},[`${$e}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${$e}-selection-item, ${$e}-selection-placeholder `]:{display:"block",padding:0,lineHeight:(0,ke.unit)(Te),transition:`all ${Fe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${$e}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${$e}-selection-item:empty:after`,`${$e}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${$e}-show-arrow ${$e}-selection-item, &${$e}-show-arrow ${$e}-selection-search, &${$e}-show-arrow ${$e}-selection-placeholder `]:{paddingInlineEnd:Fe.showArrowPaddingInlineEnd},[`&${$e}-open ${$e}-selection-item`]:{color:Fe.colorTextPlaceholder},[`&:not(${$e}-customize-input)`]:{[`${$e}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,ke.unit)(At)}`,[`${$e}-selection-search-input`]:{height:Te,fontSize:Fe.fontSize},"&:after":{lineHeight:(0,ke.unit)(Te)}}},[`&${$e}-customize-input`]:{[`${$e}-selector`]:{"&:after":{display:"none"},[`${$e}-selection-search`]:{position:"static",width:"100%"},[`${$e}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,ke.unit)(At)}`,"&:after":{display:"none"}}}}}}}function Ve(Fe){const{componentCls:Zt}=Fe,$e=Fe.calc(Fe.controlPaddingHorizontalSM).sub(Fe.lineWidth).equal();return[Le(Fe),Le((0,Ht.mergeToken)(Fe,{controlHeight:Fe.controlHeightSM,borderRadius:Fe.borderRadiusSM}),"sm"),{[`${Zt}-single${Zt}-sm`]:{[`&:not(${Zt}-customize-input)`]:{[`${Zt}-selector`]:{padding:`0 ${(0,ke.unit)($e)}`},[`&${Zt}-show-arrow ${Zt}-selection-search`]:{insetInlineEnd:Fe.calc($e).add(Fe.calc(Fe.fontSize).mul(1.5)).equal()},[` &${Zt}-show-arrow ${Zt}-selection-item, &${Zt}-show-arrow ${Zt}-selection-placeholder `]:{paddingInlineEnd:Fe.calc(Fe.fontSize).mul(1.5).equal()}}}},Le((0,Ht.mergeToken)(Fe,{controlHeight:Fe.singleItemHeightLG,fontSize:Fe.fontSizeLG,borderRadius:Fe.borderRadiusLG}),"lg")]}const Ke=Fe=>{const{fontSize:Zt,lineHeight:$e,lineWidth:At,controlHeight:Qt,controlHeightSM:Te,controlHeightLG:xe,paddingXXS:It,controlPaddingHorizontal:Cn,zIndexPopupBase:mn,colorText:Ze,fontWeightStrong:Ct,controlItemBgActive:_t,controlItemBgHover:In,colorBgContainer:xn,colorFillSecondary:Wn,colorBgContainerDisabled:ct,colorTextDisabled:En,colorPrimaryHover:Rt,colorPrimary:be,controlOutline:de}=Fe,le=It*2,ye=At*2,Ie=Math.min(Qt-le,Qt-ye),he=Math.min(Te-le,Te-ye),We=Math.min(xe-le,xe-ye);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(It/2),zIndexPopup:mn+50,optionSelectedColor:Ze,optionSelectedFontWeight:Ct,optionSelectedBg:_t,optionActiveBg:In,optionPadding:`${(Qt-Zt*$e)/2}px ${Cn}px`,optionFontSize:Zt,optionLineHeight:$e,optionHeight:Qt,selectorBg:xn,clearBg:xn,singleItemHeightLG:xe,multipleItemBg:Wn,multipleItemBorderColor:"transparent",multipleItemHeight:Ie,multipleItemHeightSM:he,multipleItemHeightLG:We,multipleSelectorBgDisabled:ct,multipleItemColorDisabled:En,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(Fe.fontSize*1.25),hoverBorderColor:Rt,activeBorderColor:be,activeOutlineColor:de,selectAffixPadding:It}},He=(Fe,Zt)=>{const{componentCls:$e,antCls:At,controlOutlineWidth:Qt}=Fe;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} ${Zt.borderColor}`,background:Fe.selectorBg},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${At}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{borderColor:Zt.hoverBorderHover},[`${$e}-focused& ${$e}-selector`]:{borderColor:Zt.activeBorderColor,boxShadow:`0 0 0 ${(0,ke.unit)(Qt)} ${Zt.activeOutlineColor}`,outline:0},[`${$e}-prefix`]:{color:Zt.color}}}},Ge=(Fe,Zt)=>({[`&${Fe.componentCls}-status-${Zt.status}`]:Object.assign({},He(Fe,Zt))}),ze=Fe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},He(Fe,{borderColor:Fe.colorBorder,hoverBorderHover:Fe.hoverBorderColor,activeBorderColor:Fe.activeBorderColor,activeOutlineColor:Fe.activeOutlineColor,color:Fe.colorText})),Ge(Fe,{status:"error",borderColor:Fe.colorError,hoverBorderHover:Fe.colorErrorHover,activeBorderColor:Fe.colorError,activeOutlineColor:Fe.colorErrorOutline,color:Fe.colorError})),Ge(Fe,{status:"warning",borderColor:Fe.colorWarning,hoverBorderHover:Fe.colorWarningHover,activeBorderColor:Fe.colorWarning,activeOutlineColor:Fe.colorWarningOutline,color:Fe.colorWarning})),{[`&${Fe.componentCls}-disabled`]:{[`&:not(${Fe.componentCls}-customize-input) ${Fe.componentCls}-selector`]:{background:Fe.colorBgContainerDisabled,color:Fe.colorTextDisabled}},[`&${Fe.componentCls}-multiple ${Fe.componentCls}-selection-item`]:{background:Fe.multipleItemBg,border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.multipleItemBorderColor}`}})}),qe=(Fe,Zt)=>{const{componentCls:$e,antCls:At}=Fe;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{background:Zt.bg,border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} transparent`,color:Zt.color},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${At}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{background:Zt.hoverBg},[`${$e}-focused& ${$e}-selector`]:{background:Fe.selectorBg,borderColor:Zt.activeBorderColor,outline:0}}}},pt=(Fe,Zt)=>({[`&${Fe.componentCls}-status-${Zt.status}`]:Object.assign({},qe(Fe,Zt))}),Bt=Fe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},qe(Fe,{bg:Fe.colorFillTertiary,hoverBg:Fe.colorFillSecondary,activeBorderColor:Fe.activeBorderColor,color:Fe.colorText})),pt(Fe,{status:"error",bg:Fe.colorErrorBg,hoverBg:Fe.colorErrorBgHover,activeBorderColor:Fe.colorError,color:Fe.colorError})),pt(Fe,{status:"warning",bg:Fe.colorWarningBg,hoverBg:Fe.colorWarningBgHover,activeBorderColor:Fe.colorWarning,color:Fe.colorWarning})),{[`&${Fe.componentCls}-disabled`]:{[`&:not(${Fe.componentCls}-customize-input) ${Fe.componentCls}-selector`]:{borderColor:Fe.colorBorder,background:Fe.colorBgContainerDisabled,color:Fe.colorTextDisabled}},[`&${Fe.componentCls}-multiple ${Fe.componentCls}-selection-item`]:{background:Fe.colorBgContainer,border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.colorSplit}`}})}),vt=Fe=>({"&-borderless":{[`${Fe.componentCls}-selector`]:{background:"transparent",border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} transparent`},[`&${Fe.componentCls}-disabled`]:{[`&:not(${Fe.componentCls}-customize-input) ${Fe.componentCls}-selector`]:{color:Fe.colorTextDisabled}},[`&${Fe.componentCls}-multiple ${Fe.componentCls}-selection-item`]:{background:Fe.multipleItemBg,border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.multipleItemBorderColor}`},[`&${Fe.componentCls}-status-error`]:{[`${Fe.componentCls}-prefix, ${Fe.componentCls}-selection-item`]:{color:Fe.colorError}},[`&${Fe.componentCls}-status-warning`]:{[`${Fe.componentCls}-prefix, ${Fe.componentCls}-selection-item`]:{color:Fe.colorWarning}}}}),yt=(Fe,Zt)=>{const{componentCls:$e,antCls:At}=Fe;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{borderWidth:`0 0 ${(0,ke.unit)(Fe.lineWidth)} 0`,borderStyle:`none none ${Fe.lineType} none`,borderColor:Zt.borderColor,background:Fe.selectorBg,borderRadius:0},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${At}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{borderColor:Zt.hoverBorderHover},[`${$e}-focused& ${$e}-selector`]:{borderColor:Zt.activeBorderColor,outline:0},[`${$e}-prefix`]:{color:Zt.color}}}},Nt=(Fe,Zt)=>({[`&${Fe.componentCls}-status-${Zt.status}`]:Object.assign({},yt(Fe,Zt))}),Et=Fe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},yt(Fe,{borderColor:Fe.colorBorder,hoverBorderHover:Fe.hoverBorderColor,activeBorderColor:Fe.activeBorderColor,activeOutlineColor:Fe.activeOutlineColor,color:Fe.colorText})),Nt(Fe,{status:"error",borderColor:Fe.colorError,hoverBorderHover:Fe.colorErrorHover,activeBorderColor:Fe.colorError,activeOutlineColor:Fe.colorErrorOutline,color:Fe.colorError})),Nt(Fe,{status:"warning",borderColor:Fe.colorWarning,hoverBorderHover:Fe.colorWarningHover,activeBorderColor:Fe.colorWarning,activeOutlineColor:Fe.colorWarningOutline,color:Fe.colorWarning})),{[`&${Fe.componentCls}-disabled`]:{[`&:not(${Fe.componentCls}-customize-input) ${Fe.componentCls}-selector`]:{color:Fe.colorTextDisabled}},[`&${Fe.componentCls}-multiple ${Fe.componentCls}-selection-item`]:{background:Fe.multipleItemBg,border:`${(0,ke.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.multipleItemBorderColor}`}})});var Pt=Fe=>({[Fe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},ze(Fe)),Bt(Fe)),vt(Fe)),Et(Fe))});const St=Fe=>{const{componentCls:Zt}=Fe;return{position:"relative",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Zt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Zt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},jt=Fe=>{const{componentCls:Zt}=Fe;return{[`${Zt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Je=Fe=>{const{antCls:Zt,componentCls:$e,inputPaddingHorizontalBase:At,iconCls:Qt}=Fe;return{[$e]:Object.assign(Object.assign({},(0,oe.Wf)(Fe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},St(Fe)),jt(Fe)),[`${$e}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},oe.vS),{[`> ${Zt}-typography`]:{display:"inline"}}),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},oe.vS),{flex:1,color:Fe.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,oe.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:At,height:Fe.fontSizeIcon,marginTop:Fe.calc(Fe.fontSizeIcon).mul(-1).div(2).equal(),color:Fe.colorTextQuaternary,fontSize:Fe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${Fe.motionDurationSlow} ease`,[Qt]:{verticalAlign:"top",transition:`transform ${Fe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${$e}-prefix`]:{flex:"none",marginInlineEnd:Fe.selectAffixPadding},[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:At,zIndex:1,display:"inline-block",width:Fe.fontSizeIcon,height:Fe.fontSizeIcon,marginTop:Fe.calc(Fe.fontSizeIcon).mul(-1).div(2).equal(),color:Fe.colorTextQuaternary,fontSize:Fe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${Fe.motionDurationMid} ease, opacity ${Fe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Fe.colorTextTertiary}},[`&:hover ${$e}-clear`]:{opacity:1,background:Fe.colorBgBase,borderRadius:"50%"}}),[`${$e}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:Fe.calc(At).add(Fe.fontSize).add(Fe.paddingXS).equal()}}}}}},wt=Fe=>{const{componentCls:Zt}=Fe;return[{[Zt]:{[`&${Zt}-in-form-item`]:{width:"100%"}}},Je(Fe),Ve(Fe),(0,ce.ZP)(Fe),Pe(Fe),{[`${Zt}-rtl`]:{direction:"rtl"}},(0,qt.c)(Fe,{borderElCls:`${Zt}-selector`,focusElCls:`${Zt}-focused`})]};var lt=(0,Xe.I$)("Select",(Fe,Zt)=>{let{rootPrefixCls:$e}=Zt;const At=(0,Ht.mergeToken)(Fe,{rootPrefixCls:$e,inputPaddingHorizontalBase:Fe.calc(Fe.paddingSM).sub(1).equal(),multipleSelectItemHeight:Fe.multipleItemHeight,selectHeight:Fe.controlHeight});return[wt(At),Pt(At)]},Ke,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(gr,zn,pe){"use strict";pe.d(zn,{_z:function(){return at},gp:function(){return Ht}});var oe=pe(36237),qt=pe(63356),Xe=pe(51636);const Ht=ce=>{const{multipleSelectItemHeight:ke,paddingXXS:Le,lineWidth:Ve,INTERNAL_FIXED_ITEM_MARGIN:Ke}=ce,He=ce.max(ce.calc(Le).sub(Ve).equal(),0),Ge=ce.max(ce.calc(He).sub(Ke).equal(),0);return{basePadding:He,containerPadding:Ge,itemHeight:(0,oe.unit)(ke),itemLineHeight:(0,oe.unit)(ce.calc(ke).sub(ce.calc(ce.lineWidth).mul(2)).equal())}},rt=ce=>{const{multipleSelectItemHeight:ke,selectHeight:Le,lineWidth:Ve}=ce;return ce.calc(Le).sub(ke).div(2).sub(Ve).equal()},at=ce=>{const{componentCls:ke,iconCls:Le,borderRadiusSM:Ve,motionDurationSlow:Ke,paddingXS:He,multipleItemColorDisabled:Ge,multipleItemBorderColorDisabled:ze,colorIcon:qe,colorIconHover:pt,INTERNAL_FIXED_ITEM_MARGIN:Bt}=ce;return{[`${ke}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${ke}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Bt,borderRadius:Ve,cursor:"default",transition:`font-size ${Ke}, line-height ${Ke}, height ${Ke}`,marginInlineEnd:ce.calc(Bt).mul(2).equal(),paddingInlineStart:He,paddingInlineEnd:ce.calc(He).div(2).equal(),[`${ke}-disabled&`]:{color:Ge,borderColor:ze,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ce.calc(He).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,qt.Ro)()),{display:"inline-flex",alignItems:"center",color:qe,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Le}`]:{verticalAlign:"-0.2em"},"&:hover":{color:pt}})}}}},Dt=(ce,ke)=>{const{componentCls:Le,INTERNAL_FIXED_ITEM_MARGIN:Ve}=ce,Ke=`${Le}-selection-overflow`,He=ce.multipleSelectItemHeight,Ge=rt(ce),ze=ke?`${Le}-${ke}`:"",qe=Ht(ce);return{[`${Le}-multiple${ze}`]:Object.assign(Object.assign({},at(ce)),{[`${Le}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:qe.basePadding,paddingBlock:qe.containerPadding,borderRadius:ce.borderRadius,[`${Le}-disabled&`]:{background:ce.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,oe.unit)(Ve)} 0`,lineHeight:(0,oe.unit)(He),visibility:"hidden",content:'"\\a0"'}},[`${Le}-selection-item`]:{height:qe.itemHeight,lineHeight:(0,oe.unit)(qe.itemLineHeight)},[`${Le}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,oe.unit)(He),marginBlock:Ve}},[`${Le}-prefix`]:{marginInlineStart:ce.calc(ce.inputPaddingHorizontalBase).sub(qe.basePadding).equal()},[`${Ke}-item + ${Ke}-item, ${Le}-prefix + ${Le}-selection-wrap `]:{[`${Le}-selection-search`]:{marginInlineStart:0},[`${Le}-selection-placeholder`]:{insetInlineStart:0}},[`${Ke}-item-suffix`]:{minHeight:qe.itemHeight,marginBlock:Ve},[`${Le}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ce.calc(ce.inputPaddingHorizontalBase).sub(Ge).equal(),"\n &-input,\n &-mirror\n ":{height:He,fontFamily:ce.fontFamily,lineHeight:(0,oe.unit)(He),transition:`all ${ce.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Le}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ce.calc(ce.inputPaddingHorizontalBase).sub(qe.basePadding).equal(),insetInlineEnd:ce.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ce.motionDurationSlow}`}})}};function Me(ce,ke){const{componentCls:Le}=ce,Ve=ke?`${Le}-${ke}`:"",Ke={[`${Le}-multiple${Ve}`]:{fontSize:ce.fontSize,[`${Le}-selector`]:{[`${Le}-show-search&`]:{cursor:"text"}},[` &${Le}-show-arrow ${Le}-selector, &${Le}-allow-clear ${Le}-selector `]:{paddingInlineEnd:ce.calc(ce.fontSizeIcon).add(ce.controlPaddingHorizontal).equal()}}};return[Dt(ce,ke),Ke]}const Pe=ce=>{const{componentCls:ke}=ce,Le=(0,Xe.mergeToken)(ce,{selectHeight:ce.controlHeightSM,multipleSelectItemHeight:ce.multipleItemHeightSM,borderRadius:ce.borderRadiusSM,borderRadiusSM:ce.borderRadiusXS}),Ve=(0,Xe.mergeToken)(ce,{fontSize:ce.fontSizeLG,selectHeight:ce.controlHeightLG,multipleSelectItemHeight:ce.multipleItemHeightLG,borderRadius:ce.borderRadiusLG,borderRadiusSM:ce.borderRadius});return[Me(ce),Me(Le,"sm"),{[`${ke}-multiple${ke}-sm`]:{[`${ke}-selection-placeholder`]:{insetInline:ce.calc(ce.controlPaddingHorizontalSM).sub(ce.lineWidth).equal()},[`${ke}-selection-search`]:{marginInlineStart:2}}},Me(Ve,"lg")]};zn.ZP=Pe},68525:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Me}});var oe=pe(59301),qt=pe(40001),Xe=pe(19248),Ht=pe(99267),rt=pe(84105),at=pe(58617),Dt=pe(47472);function Me(Pe){let{suffixIcon:ce,clearIcon:ke,menuItemSelectedIcon:Le,removeIcon:Ve,loading:Ke,multiple:He,hasFeedback:Ge,prefixCls:ze,showSuffixIcon:qe,feedbackIcon:pt,showArrow:Bt,componentName:vt}=Pe;const yt=ke!=null?ke:oe.createElement(Xe.Z,null),Nt=St=>ce===null&&!Ge&&!Bt?null:oe.createElement(oe.Fragment,null,qe!==!1&&St,Ge&&pt);let Et=null;if(ce!==void 0)Et=Nt(ce);else if(Ke)Et=Nt(oe.createElement(at.Z,{spin:!0}));else{const St=`${ze}-suffix`;Et=jt=>{let{open:Je,showSearch:wt}=jt;return Nt(Je&&wt?oe.createElement(Dt.Z,{className:St}):oe.createElement(rt.Z,{className:St}))}}let pn=null;Le!==void 0?pn=Le:He?pn=oe.createElement(qt.Z,null):pn=null;let Pt=null;return Ve!==void 0?Pt=Ve:Pt=oe.createElement(Ht.Z,null),{clearIcon:yt,suffixIcon:Et,itemIcon:pn,removeIcon:Pt}}},90005:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return oe}});function oe(qt,Xe){return Xe!==void 0?Xe:qt!==null}},11938:function(gr,zn,pe){"use strict";pe.d(zn,{default:function(){return jt}});var oe=pe(59301),qt=pe(40192),Xe=pe(22703),Ht=pe(92310),rt=pe.n(Ht),at=pe(26112),Dt=pe(48755),Me=pe(458),ce=Je=>{const{value:wt,formatter:lt,precision:Fe,decimalSeparator:Zt,groupSeparator:$e="",prefixCls:At}=Je;let Qt;if(typeof lt=="function")Qt=lt(wt);else{const Te=String(wt),xe=Te.match(/^(-?)(\d*)(\.(\d+))?$/);if(!xe||Te==="-")Qt=Te;else{const It=xe[1];let Cn=xe[2]||"0",mn=xe[4]||"";Cn=Cn.replace(/\B(?=(\d{3})+(?!\d))/g,$e),typeof Fe=="number"&&(mn=mn.padEnd(Fe,"0").slice(0,Fe>0?Fe:0)),mn&&(mn=`${Zt}${mn}`),Qt=[oe.createElement("span",{key:"int",className:`${At}-content-value-int`},It,Cn),mn&&oe.createElement("span",{key:"decimal",className:`${At}-content-value-decimal`},mn)]}}return oe.createElement("span",{className:`${At}-content-value`},Qt)},ke=pe(63356),Le=pe(16931),Ve=pe(51636);const Ke=Je=>{const{componentCls:wt,marginXXS:lt,padding:Fe,colorTextDescription:Zt,titleFontSize:$e,colorTextHeading:At,contentFontSize:Qt,fontFamily:Te}=Je;return{[wt]:Object.assign(Object.assign({},(0,ke.Wf)(Je)),{[`${wt}-title`]:{marginBottom:lt,color:Zt,fontSize:$e},[`${wt}-skeleton`]:{paddingTop:Fe},[`${wt}-content`]:{color:At,fontSize:Qt,fontFamily:Te,[`${wt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${wt}-content-prefix, ${wt}-content-suffix`]:{display:"inline-block"},[`${wt}-content-prefix`]:{marginInlineEnd:lt},[`${wt}-content-suffix`]:{marginInlineStart:lt}}})}},He=Je=>{const{fontSizeHeading3:wt,fontSize:lt}=Je;return{titleFontSize:lt,contentFontSize:wt}};var Ge=(0,Le.I$)("Statistic",Je=>{const wt=(0,Ve.mergeToken)(Je,{});return[Ke(wt)]},He),ze=function(Je,wt){var lt={};for(var Fe in Je)Object.prototype.hasOwnProperty.call(Je,Fe)&&wt.indexOf(Fe)<0&&(lt[Fe]=Je[Fe]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Fe=Object.getOwnPropertySymbols(Je);Zt{const{prefixCls:wt,className:lt,rootClassName:Fe,style:Zt,valueStyle:$e,value:At=0,title:Qt,valueRender:Te,prefix:xe,suffix:It,loading:Cn=!1,formatter:mn,precision:Ze,decimalSeparator:Ct=".",groupSeparator:_t=",",onMouseEnter:In,onMouseLeave:xn}=Je,Wn=ze(Je,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ct,direction:En,className:Rt,style:be}=(0,Dt.dj)("statistic"),de=ct("statistic",wt),[le,ye,Ie]=Ge(de),he=oe.createElement(ce,{decimalSeparator:Ct,groupSeparator:_t,prefixCls:de,formatter:mn,precision:Ze,value:At}),We=rt()(de,{[`${de}-rtl`]:En==="rtl"},Rt,lt,Fe,ye,Ie),tt=(0,at.Z)(Wn,{aria:!0,data:!0});return le(oe.createElement("div",Object.assign({},tt,{className:We,style:Object.assign(Object.assign({},be),Zt),onMouseEnter:In,onMouseLeave:xn}),Qt&&oe.createElement("div",{className:`${de}-title`},Qt),oe.createElement(Me.Z,{paragraph:!1,loading:Cn,className:`${de}-skeleton`},oe.createElement("div",{style:$e,className:`${de}-content`},xe&&oe.createElement("span",{className:`${de}-content-prefix`},xe),Te?Te(he):he,It&&oe.createElement("span",{className:`${de}-content-suffix`},It)))))};const Bt=[["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 vt(Je,wt){let lt=Je;const Fe=/\[[^\]]*]/g,Zt=(wt.match(Fe)||[]).map(Te=>Te.slice(1,-1)),$e=wt.replace(Fe,"[]"),At=Bt.reduce((Te,xe)=>{let[It,Cn]=xe;if(Te.includes(It)){const mn=Math.floor(lt/Cn);return lt-=mn*Cn,Te.replace(new RegExp(`${It}+`,"g"),Ze=>{const Ct=Ze.length;return mn.toString().padStart(Ct,"0")})}return Te},$e);let Qt=0;return At.replace(Fe,()=>{const Te=Zt[Qt];return Qt+=1,Te})}function yt(Je,wt){const{format:lt=""}=wt,Fe=new Date(Je).getTime(),Zt=Date.now(),$e=Math.max(Fe-Zt,0);return vt($e,lt)}var Nt=function(Je,wt){var lt={};for(var Fe in Je)Object.prototype.hasOwnProperty.call(Je,Fe)&&wt.indexOf(Fe)<0&&(lt[Fe]=Je[Fe]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Fe=Object.getOwnPropertySymbols(Je);Zt{const{value:wt,format:lt="HH:mm:ss",onChange:Fe,onFinish:Zt}=Je,$e=Nt(Je,["value","format","onChange","onFinish"]),At=(0,qt.Z)(),Qt=oe.useRef(null),Te=()=>{Zt==null||Zt(),Qt.current&&(clearInterval(Qt.current),Qt.current=null)},xe=()=>{const mn=pn(wt);mn>=Date.now()&&(Qt.current=setInterval(()=>{At(),Fe==null||Fe(mn-Date.now()),mn(xe(),()=>{Qt.current&&(clearInterval(Qt.current),Qt.current=null)}),[wt]);const It=(mn,Ze)=>yt(mn,Object.assign(Object.assign({},Ze),{format:lt})),Cn=mn=>(0,Xe.Tm)(mn,{title:void 0});return oe.createElement(pt,Object.assign({},$e,{value:wt,valueRender:Cn,formatter:It}))};var St=oe.memo(Pt);pt.Countdown=St;var jt=pt},58755:function(gr,zn,pe){"use strict";pe.d(zn,{Z:function(){return Zt}});var oe=pe(59301),qt=pe(58617),Xe=pe(92310),Ht=pe.n(Xe),rt=pe(60499),at=pe(18642),Dt=pe(72190),Me=pe(42244),Pe=pe(18929),ce=pe(10228),ke=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Le=oe.forwardRef(function($e,At){var Qt,Te=$e.prefixCls,xe=Te===void 0?"rc-switch":Te,It=$e.className,Cn=$e.checked,mn=$e.defaultChecked,Ze=$e.disabled,Ct=$e.loadingIcon,_t=$e.checkedChildren,In=$e.unCheckedChildren,xn=$e.onClick,Wn=$e.onChange,ct=$e.onKeyDown,En=(0,Me.Z)($e,ke),Rt=(0,Pe.Z)(!1,{value:Cn,defaultValue:mn}),be=(0,Dt.Z)(Rt,2),de=be[0],le=be[1];function ye(tt,dn){var ut=de;return Ze||(ut=tt,le(ut),Wn==null||Wn(ut,dn)),ut}function Ie(tt){tt.which===ce.Z.LEFT?ye(!1,tt):tt.which===ce.Z.RIGHT&&ye(!0,tt),ct==null||ct(tt)}function he(tt){var dn=ye(!de,tt);xn==null||xn(dn,tt)}var We=Ht()(xe,It,(Qt={},(0,at.Z)(Qt,"".concat(xe,"-checked"),de),(0,at.Z)(Qt,"".concat(xe,"-disabled"),Ze),Qt));return oe.createElement("button",(0,rt.Z)({},En,{type:"button",role:"switch","aria-checked":de,disabled:Ze,className:We,ref:At,onKeyDown:Ie,onClick:he}),Ct,oe.createElement("span",{className:"".concat(xe,"-inner")},oe.createElement("span",{className:"".concat(xe,"-inner-checked")},_t),oe.createElement("span",{className:"".concat(xe,"-inner-unchecked")},In)))});Le.displayName="Switch";var Ve=Le,Ke=pe(12919),He=pe(48755),Ge=pe(2171),ze=pe(31756),qe=pe(36237),pt=pe(17835),Bt=pe(63356),vt=pe(16931),yt=pe(51636);const Nt=$e=>{const{componentCls:At,trackHeightSM:Qt,trackPadding:Te,trackMinWidthSM:xe,innerMinMarginSM:It,innerMaxMarginSM:Cn,handleSizeSM:mn,calc:Ze}=$e,Ct=`${At}-inner`,_t=(0,qe.unit)(Ze(mn).add(Ze(Te).mul(2)).equal()),In=(0,qe.unit)(Ze(Cn).mul(2).equal());return{[At]:{[`&${At}-small`]:{minWidth:xe,height:Qt,lineHeight:(0,qe.unit)(Qt),[`${At}-inner`]:{paddingInlineStart:Cn,paddingInlineEnd:It,[`${Ct}-checked, ${Ct}-unchecked`]:{minHeight:Qt},[`${Ct}-checked`]:{marginInlineStart:`calc(-100% + ${_t} - ${In})`,marginInlineEnd:`calc(100% - ${_t} + ${In})`},[`${Ct}-unchecked`]:{marginTop:Ze(Qt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${At}-handle`]:{width:mn,height:mn},[`${At}-loading-icon`]:{top:Ze(Ze(mn).sub($e.switchLoadingIconSize)).div(2).equal(),fontSize:$e.switchLoadingIconSize},[`&${At}-checked`]:{[`${At}-inner`]:{paddingInlineStart:It,paddingInlineEnd:Cn,[`${Ct}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ct}-unchecked`]:{marginInlineStart:`calc(100% - ${_t} + ${In})`,marginInlineEnd:`calc(-100% + ${_t} - ${In})`}},[`${At}-handle`]:{insetInlineStart:`calc(100% - ${(0,qe.unit)(Ze(mn).add(Te).equal())})`}},[`&:not(${At}-disabled):active`]:{[`&:not(${At}-checked) ${Ct}`]:{[`${Ct}-unchecked`]:{marginInlineStart:Ze($e.marginXXS).div(2).equal(),marginInlineEnd:Ze($e.marginXXS).mul(-1).div(2).equal()}},[`&${At}-checked ${Ct}`]:{[`${Ct}-checked`]:{marginInlineStart:Ze($e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Ze($e.marginXXS).div(2).equal()}}}}}}},Et=$e=>{const{componentCls:At,handleSize:Qt,calc:Te}=$e;return{[At]:{[`${At}-loading-icon${$e.iconCls}`]:{position:"relative",top:Te(Te(Qt).sub($e.fontSize)).div(2).equal(),color:$e.switchLoadingIconColor,verticalAlign:"top"},[`&${At}-checked ${At}-loading-icon`]:{color:$e.switchColor}}}},pn=$e=>{const{componentCls:At,trackPadding:Qt,handleBg:Te,handleShadow:xe,handleSize:It,calc:Cn}=$e,mn=`${At}-handle`;return{[At]:{[mn]:{position:"absolute",top:Qt,insetInlineStart:Qt,width:It,height:It,transition:`all ${$e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Te,borderRadius:Cn(It).div(2).equal(),boxShadow:xe,transition:`all ${$e.switchDuration} ease-in-out`,content:'""'}},[`&${At}-checked ${mn}`]:{insetInlineStart:`calc(100% - ${(0,qe.unit)(Cn(It).add(Qt).equal())})`},[`&:not(${At}-disabled):active`]:{[`${mn}::before`]:{insetInlineEnd:$e.switchHandleActiveInset,insetInlineStart:0},[`&${At}-checked ${mn}::before`]:{insetInlineEnd:0,insetInlineStart:$e.switchHandleActiveInset}}}}},Pt=$e=>{const{componentCls:At,trackHeight:Qt,trackPadding:Te,innerMinMargin:xe,innerMaxMargin:It,handleSize:Cn,calc:mn}=$e,Ze=`${At}-inner`,Ct=(0,qe.unit)(mn(Cn).add(mn(Te).mul(2)).equal()),_t=(0,qe.unit)(mn(It).mul(2).equal());return{[At]:{[Ze]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:It,paddingInlineEnd:xe,transition:`padding-inline-start ${$e.switchDuration} ease-in-out, padding-inline-end ${$e.switchDuration} ease-in-out`,[`${Ze}-checked, ${Ze}-unchecked`]:{display:"block",color:$e.colorTextLightSolid,fontSize:$e.fontSizeSM,transition:`margin-inline-start ${$e.switchDuration} ease-in-out, margin-inline-end ${$e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Qt},[`${Ze}-checked`]:{marginInlineStart:`calc(-100% + ${Ct} - ${_t})`,marginInlineEnd:`calc(100% - ${Ct} + ${_t})`},[`${Ze}-unchecked`]:{marginTop:mn(Qt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${At}-checked ${Ze}`]:{paddingInlineStart:xe,paddingInlineEnd:It,[`${Ze}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ze}-unchecked`]:{marginInlineStart:`calc(100% - ${Ct} + ${_t})`,marginInlineEnd:`calc(-100% + ${Ct} - ${_t})`}},[`&:not(${At}-disabled):active`]:{[`&:not(${At}-checked) ${Ze}`]:{[`${Ze}-unchecked`]:{marginInlineStart:mn(Te).mul(2).equal(),marginInlineEnd:mn(Te).mul(-1).mul(2).equal()}},[`&${At}-checked ${Ze}`]:{[`${Ze}-checked`]:{marginInlineStart:mn(Te).mul(-1).mul(2).equal(),marginInlineEnd:mn(Te).mul(2).equal()}}}}}},St=$e=>{const{componentCls:At,trackHeight:Qt,trackMinWidth:Te}=$e;return{[At]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Bt.Wf)($e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Te,height:Qt,lineHeight:(0,qe.unit)(Qt),verticalAlign:"middle",background:$e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${$e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${At}-disabled)`]:{background:$e.colorTextTertiary}}),(0,Bt.Qy)($e)),{[`&${At}-checked`]:{background:$e.switchColor,[`&:hover:not(${At}-disabled)`]:{background:$e.colorPrimaryHover}},[`&${At}-loading, &${At}-disabled`]:{cursor:"not-allowed",opacity:$e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${At}-rtl`]:{direction:"rtl"}})}},jt=$e=>{const{fontSize:At,lineHeight:Qt,controlHeight:Te,colorWhite:xe}=$e,It=At*Qt,Cn=Te/2,mn=2,Ze=It-mn*2,Ct=Cn-mn*2;return{trackHeight:It,trackHeightSM:Cn,trackMinWidth:Ze*2+mn*4,trackMinWidthSM:Ct*2+mn*2,trackPadding:mn,handleBg:xe,handleSize:Ze,handleSizeSM:Ct,handleShadow:`0 2px 4px 0 ${new pt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Ze/2,innerMaxMargin:Ze+mn+mn*2,innerMinMarginSM:Ct/2,innerMaxMarginSM:Ct+mn+mn*2}};var Je=(0,vt.I$)("Switch",$e=>{const At=(0,yt.mergeToken)($e,{switchDuration:$e.motionDurationMid,switchColor:$e.colorPrimary,switchDisabledOpacity:$e.opacityLoading,switchLoadingIconSize:$e.calc($e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${$e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[St(At),Pt(At),pn(At),Et(At),Nt(At)]},jt),wt=function($e,At){var Qt={};for(var Te in $e)Object.prototype.hasOwnProperty.call($e,Te)&&At.indexOf(Te)<0&&(Qt[Te]=$e[Te]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Te=Object.getOwnPropertySymbols($e);xe{const{prefixCls:Qt,size:Te,disabled:xe,loading:It,className:Cn,rootClassName:mn,style:Ze,checked:Ct,value:_t,defaultChecked:In,defaultValue:xn,onChange:Wn}=$e,ct=wt($e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[En,Rt]=(0,Pe.Z)(!1,{value:Ct!=null?Ct:_t,defaultValue:In!=null?In:xn}),{getPrefixCls:be,direction:de,switch:le}=oe.useContext(He.E_),ye=oe.useContext(Ge.Z),Ie=(xe!=null?xe:ye)||It,he=be("switch",Qt),We=oe.createElement("div",{className:`${he}-handle`},It&&oe.createElement(qt.Z,{className:`${he}-loading-icon`})),[tt,dn,ut]=Je(he),zt=(0,ze.Z)(Te),en=Ht()(le==null?void 0:le.className,{[`${he}-small`]:zt==="small",[`${he}-loading`]:It,[`${he}-rtl`]:de==="rtl"},Cn,mn,dn,ut),Sn=Object.assign(Object.assign({},le==null?void 0:le.style),Ze),yn=function(){Rt(arguments.length<=0?void 0:arguments[0]),Wn==null||Wn.apply(void 0,arguments)};return tt(oe.createElement(Ke.Z,{component:"Switch"},oe.createElement(Ve,Object.assign({},ct,{checked:En,onChange:yn,prefixCls:he,className:en,style:Sn,disabled:Ie,ref:At,loadingIcon:We}))))});Fe.__ANT_SWITCH=!0;var Zt=Fe},96599:function(gr,zn,pe){"use strict";pe.d(zn,{default:function(){return lt}});var oe=pe(59301),qt=pe(92310),Xe=pe.n(qt),Ht=pe(2738),rt=pe(29509),at=pe(78776),Dt=pe(22703),Me=pe(12919),Pe=pe(48755),ce=pe(36237),ke=pe(17835),Le=pe(63356),Ve=pe(51636),Ke=pe(16931);const He=Fe=>{const{paddingXXS:Zt,lineWidth:$e,tagPaddingHorizontal:At,componentCls:Qt,calc:Te}=Fe,xe=Te(At).sub($e).equal(),It=Te(Zt).sub($e).equal();return{[Qt]:Object.assign(Object.assign({},(0,Le.Wf)(Fe)),{display:"inline-block",height:"auto",marginInlineEnd:Fe.marginXS,paddingInline:xe,fontSize:Fe.tagFontSize,lineHeight:Fe.tagLineHeight,whiteSpace:"nowrap",background:Fe.defaultBg,border:`${(0,ce.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadiusSM,opacity:1,transition:`all ${Fe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Qt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Fe.defaultColor},[`${Qt}-close-icon`]:{marginInlineStart:It,fontSize:Fe.tagIconSize,color:Fe.colorTextDescription,cursor:"pointer",transition:`all ${Fe.motionDurationMid}`,"&:hover":{color:Fe.colorTextHeading}},[`&${Qt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Fe.iconCls}-close, ${Fe.iconCls}-close:hover`]:{color:Fe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Qt}-checkable-checked):hover`]:{color:Fe.colorPrimary,backgroundColor:Fe.colorFillSecondary},"&:active, &-checked":{color:Fe.colorTextLightSolid},"&-checked":{backgroundColor:Fe.colorPrimary,"&:hover":{backgroundColor:Fe.colorPrimaryHover}},"&:active":{backgroundColor:Fe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Fe.iconCls} + span, > span + ${Fe.iconCls}`]:{marginInlineStart:xe}}),[`${Qt}-borderless`]:{borderColor:"transparent",background:Fe.tagBorderlessBg}}},Ge=Fe=>{const{lineWidth:Zt,fontSizeIcon:$e,calc:At}=Fe,Qt=Fe.fontSizeSM;return(0,Ve.mergeToken)(Fe,{tagFontSize:Qt,tagLineHeight:(0,ce.unit)(At(Fe.lineHeightSM).mul(Qt).equal()),tagIconSize:At($e).sub(At(Zt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:Fe.defaultBg})},ze=Fe=>({defaultBg:new ke.FastColor(Fe.colorFillQuaternary).onBackground(Fe.colorBgContainer).toHexString(),defaultColor:Fe.colorText});var qe=(0,Ke.I$)("Tag",Fe=>{const Zt=Ge(Fe);return He(Zt)},ze),pt=function(Fe,Zt){var $e={};for(var At in Fe)Object.prototype.hasOwnProperty.call(Fe,At)&&Zt.indexOf(At)<0&&($e[At]=Fe[At]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,At=Object.getOwnPropertySymbols(Fe);Qt{const{prefixCls:$e,style:At,className:Qt,checked:Te,onChange:xe,onClick:It}=Fe,Cn=pt(Fe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:mn,tag:Ze}=oe.useContext(Pe.E_),Ct=En=>{xe==null||xe(!Te),It==null||It(En)},_t=mn("tag",$e),[In,xn,Wn]=qe(_t),ct=Xe()(_t,`${_t}-checkable`,{[`${_t}-checkable-checked`]:Te},Ze==null?void 0:Ze.className,Qt,xn,Wn);return In(oe.createElement("span",Object.assign({},Cn,{ref:Zt,style:Object.assign(Object.assign({},At),Ze==null?void 0:Ze.style),className:ct,onClick:Ct})))}),yt=pe(93427);const Nt=Fe=>(0,yt.Z)(Fe,(Zt,$e)=>{let{textColor:At,lightBorderColor:Qt,lightColor:Te,darkColor:xe}=$e;return{[`${Fe.componentCls}${Fe.componentCls}-${Zt}`]:{color:At,background:Te,borderColor:Qt,"&-inverse":{color:Fe.colorTextLightSolid,background:xe,borderColor:xe},[`&${Fe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Et=(0,Ke.bk)(["Tag","preset"],Fe=>{const Zt=Ge(Fe);return Nt(Zt)},ze);function pn(Fe){return typeof Fe!="string"?Fe:Fe.charAt(0).toUpperCase()+Fe.slice(1)}const Pt=(Fe,Zt,$e)=>{const At=pn($e);return{[`${Fe.componentCls}${Fe.componentCls}-${Zt}`]:{color:Fe[`color${$e}`],background:Fe[`color${At}Bg`],borderColor:Fe[`color${At}Border`],[`&${Fe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var St=(0,Ke.bk)(["Tag","status"],Fe=>{const Zt=Ge(Fe);return[Pt(Zt,"success","Success"),Pt(Zt,"processing","Info"),Pt(Zt,"error","Error"),Pt(Zt,"warning","Warning")]},ze),jt=function(Fe,Zt){var $e={};for(var At in Fe)Object.prototype.hasOwnProperty.call(Fe,At)&&Zt.indexOf(At)<0&&($e[At]=Fe[At]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,At=Object.getOwnPropertySymbols(Fe);Qt{const{prefixCls:$e,className:At,rootClassName:Qt,style:Te,children:xe,icon:It,color:Cn,onClose:mn,bordered:Ze=!0,visible:Ct}=Fe,_t=jt(Fe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:In,direction:xn,tag:Wn}=oe.useContext(Pe.E_),[ct,En]=oe.useState(!0),Rt=(0,Ht.Z)(_t,["closeIcon","closable"]);oe.useEffect(()=>{Ct!==void 0&&En(Ct)},[Ct]);const be=(0,rt.o2)(Cn),de=(0,rt.yT)(Cn),le=be||de,ye=Object.assign(Object.assign({backgroundColor:Cn&&!le?Cn:void 0},Wn==null?void 0:Wn.style),Te),Ie=In("tag",$e),[he,We,tt]=qe(Ie),dn=Xe()(Ie,Wn==null?void 0:Wn.className,{[`${Ie}-${Cn}`]:le,[`${Ie}-has-color`]:Cn&&!le,[`${Ie}-hidden`]:!ct,[`${Ie}-rtl`]:xn==="rtl",[`${Ie}-borderless`]:!Ze},At,Qt,We,tt),ut=Mt=>{Mt.stopPropagation(),mn==null||mn(Mt),!Mt.defaultPrevented&&En(!1)},[,zt]=(0,at.Z)((0,at.w)(Fe),(0,at.w)(Wn),{closable:!1,closeIconRender:Mt=>{const nn=oe.createElement("span",{className:`${Ie}-close-icon`,onClick:ut},Mt);return(0,Dt.wm)(Mt,nn,ln=>({onClick:Un=>{var Nn;(Nn=ln==null?void 0:ln.onClick)===null||Nn===void 0||Nn.call(ln,Un),ut(Un)},className:Xe()(ln==null?void 0:ln.className,`${Ie}-close-icon`)}))}}),en=typeof _t.onClick=="function"||xe&&xe.type==="a",Sn=It||null,yn=Sn?oe.createElement(oe.Fragment,null,Sn,xe&&oe.createElement("span",null,xe)):xe,ar=oe.createElement("span",Object.assign({},Rt,{ref:Zt,className:dn,style:ye}),yn,zt,be&&oe.createElement(Et,{key:"preset",prefixCls:Ie}),de&&oe.createElement(St,{key:"status",prefixCls:Ie}));return he(en?oe.createElement(Me.Z,{component:"Tag"},ar):ar)});wt.CheckableTag=vt;var lt=wt},99498:function(gr,zn,pe){(function(oe){oe(pe(89780))})(function(oe){oe.defineOption("placeholder","",function(Me,Pe,ce){var ke=ce&&ce!=oe.Init;if(Pe&&!ke)Me.on("blur",rt),Me.on("change",at),Me.on("swapDoc",at),oe.on(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose=function(){Ht(Me)}),at(Me);else if(!Pe&&ke){Me.off("blur",rt),Me.off("change",at),Me.off("swapDoc",at),oe.off(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose),qt(Me);var Le=Me.getWrapperElement();Le.className=Le.className.replace(" CodeMirror-empty","")}Pe&&!Me.hasFocus()&&rt(Me)});function qt(Me){Me.state.placeholder&&(Me.state.placeholder.parentNode.removeChild(Me.state.placeholder),Me.state.placeholder=null)}function Xe(Me){qt(Me);var Pe=Me.state.placeholder=document.createElement("pre");Pe.style.cssText="height: 0; overflow: visible",Pe.style.direction=Me.getOption("direction"),Pe.className="CodeMirror-placeholder CodeMirror-line-like";var ce=Me.getOption("placeholder");typeof ce=="string"&&(ce=document.createTextNode(ce)),Pe.appendChild(ce),Me.display.lineSpace.insertBefore(Pe,Me.display.lineSpace.firstChild)}function Ht(Me){setTimeout(function(){var Pe=!1,ce=Me.getInputField();ce.nodeName=="TEXTAREA"?Pe=!ce.value:Me.lineCount()==1&&(Pe=!/[^\u200b]/.test(ce.querySelector(".CodeMirror-line").textContent)),Pe?Xe(Me):qt(Me)},20)}function rt(Me){Dt(Me)&&Xe(Me)}function at(Me){var Pe=Me.getWrapperElement(),ce=Dt(Me);Pe.className=Pe.className.replace(" CodeMirror-empty","")+(ce?" CodeMirror-empty":""),ce?Xe(Me):qt(Me)}function Dt(Me){return Me.lineCount()===1&&Me.getLine(0)===""}})},25717:function(gr,zn,pe){(function(oe){oe(pe(89780))})(function(oe){var qt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Xe=oe.Pos;oe.defineOption("autoCloseBrackets",!1,function(He,Ge,ze){ze&&ze!=oe.Init&&(He.removeKeyMap(rt),He.state.closeBrackets=null),Ge&&(at(Ht(Ge,"pairs")),He.state.closeBrackets=Ge,He.addKeyMap(rt))});function Ht(He,Ge){return Ge=="pairs"&&typeof He=="string"?He:typeof He=="object"&&He[Ge]!=null?He[Ge]:qt[Ge]}var rt={Backspace:Pe,Enter:ce};function at(He){for(var Ge=0;Ge=0;pt--){var vt=qe[pt].head;He.replaceRange("",Xe(vt.line,vt.ch-1),Xe(vt.line,vt.ch+1),"+delete")}}function ce(He){var Ge=Me(He),ze=Ge&&Ht(Ge,"explode");if(!ze||He.getOption("disableInput"))return oe.Pass;for(var qe=He.listSelections(),pt=0;pt0;return{anchor:new Xe(He.anchor.line,He.anchor.ch+(Ge?-1:1)),head:new Xe(He.head.line,He.head.ch+(Ge?1:-1))}}function Le(He,Ge){var ze=Me(He);if(!ze||He.getOption("disableInput"))return oe.Pass;var qe=Ht(ze,"pairs"),pt=qe.indexOf(Ge);if(pt==-1)return oe.Pass;for(var Bt=Ht(ze,"closeBefore"),vt=Ht(ze,"triples"),yt=qe.charAt(pt+1)==Ge,Nt=He.listSelections(),Et=pt%2==0,pn,Pt=0;Pt=0&&He.getRange(jt,Xe(jt.line,jt.ch+3))==Ge+Ge+Ge?Je="skipThree":Je="skip";else if(yt&&jt.ch>1&&vt.indexOf(Ge)>=0&&He.getRange(Xe(jt.line,jt.ch-2),jt)==Ge+Ge){if(jt.ch>2&&/\bstring/.test(He.getTokenTypeAt(Xe(jt.line,jt.ch-2))))return oe.Pass;Je="addFour"}else if(yt){var lt=jt.ch==0?" ":He.getRange(Xe(jt.line,jt.ch-1),jt);if(!oe.isWordChar(wt)&<!=Ge&&!oe.isWordChar(lt))Je="both";else return oe.Pass}else if(Et&&(wt.length===0||/\s/.test(wt)||Bt.indexOf(wt)>-1))Je="both";else return oe.Pass;if(!pn)pn=Je;else if(pn!=Je)return oe.Pass}var Fe=pt%2?qe.charAt(pt-1):Ge,Zt=pt%2?Ge:qe.charAt(pt+1);He.operation(function(){if(pn=="skip")He.execCommand("goCharRight");else if(pn=="skipThree")for(var $e=0;$e<3;$e++)He.execCommand("goCharRight");else if(pn=="surround"){for(var At=He.getSelections(),$e=0;$e'"]=function(Ve){return Ht(Ve)}),Pe.addKeyMap(Le)}});var qt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Xe=["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 Ht(Pe){if(Pe.getOption("disableInput"))return oe.Pass;for(var ce=Pe.listSelections(),ke=[],Le=Pe.getOption("autoCloseTags"),Ve=0;VeKe.ch&&(pt=pt.slice(0,pt.length-He.end+Ke.ch));var Nt=pt.toLowerCase();if(!pt||He.type=="string"&&(He.end!=Ke.ch||!/[\"\']/.test(He.string.charAt(He.string.length-1))||He.string.length==1)||He.type=="tag"&&qe.close||He.string.indexOf("/")==Ke.ch-He.start-1||vt&&Dt(vt,Nt)>-1||Me(Pe,Ge.mode.xmlCurrentContext&&Ge.mode.xmlCurrentContext(ze)||[],pt,Ke,!0))return oe.Pass;var Et=typeof Le=="object"&&Le.emptyTags;if(Et&&Dt(Et,pt)>-1){ke[Ve]={text:"/>",newPos:oe.Pos(Ke.line,Ke.ch+2)};continue}var pn=yt&&Dt(yt,Nt)>-1;ke[Ve]={indent:pn,text:">"+(pn?` `:"")+"",newPos:pn?oe.Pos(Ke.line+1,0):oe.Pos(Ke.line,Ke.ch+1)}}for(var Pt=typeof Le=="object"&&Le.dontIndentOnAutoClose,Ve=ce.length-1;Ve>=0;Ve--){var St=ke[Ve];Pe.replaceRange(St.text,ce[Ve].head,ce[Ve].anchor,"+insert");var jt=Pe.listSelections().slice(0);jt[Ve]={head:St.newPos,anchor:St.newPos},Pe.setSelections(jt),!Pt&&St.indent&&(Pe.indentLine(St.newPos.line,null,!0),Pe.indentLine(St.newPos.line+1,null,!0))}}function rt(Pe,ce){for(var ke=Pe.listSelections(),Le=[],Ve=ce?"/":""&&(vt+=">"),Le[Ge]=vt}if(Pe.replaceSelections(Le),ke=Pe.listSelections(),!He)for(var Ge=0;Ge=0&&ce[ze]==ke;ze--)++Ge;Le=He.to;for(var ze=1;ze=ze.max))return ze.ch=0,ze.text=ze.cm.getLine(++ze.line),!0}function ce(ze){if(!(ze.line<=ze.min))return ze.text=ze.cm.getLine(--ze.line),ze.ch=ze.text.length,!0}function ke(ze){for(;;){var qe=ze.text.indexOf(">",ze.ch);if(qe==-1){if(Pe(ze))continue;return}if(!Me(ze,qe+1)){ze.ch=qe+1;continue}var pt=ze.text.lastIndexOf("/",qe),Bt=pt>-1&&!/\S/.test(ze.text.slice(pt+1,qe));return ze.ch=qe+1,Bt?"selfClose":"regular"}}function Le(ze){for(;;){var qe=ze.ch?ze.text.lastIndexOf("<",ze.ch-1):-1;if(qe==-1){if(ce(ze))continue;return}if(!Me(ze,qe+1)){ze.ch=qe;continue}at.lastIndex=qe,ze.ch=qe;var pt=at.exec(ze.text);if(pt&&pt.index==qe)return pt}}function Ve(ze){for(;;){at.lastIndex=ze.ch;var qe=at.exec(ze.text);if(!qe){if(Pe(ze))continue;return}if(!Me(ze,qe.index+1)){ze.ch=qe.index+1;continue}return ze.ch=qe.index+qe[0].length,qe}}function Ke(ze){for(;;){var qe=ze.ch?ze.text.lastIndexOf(">",ze.ch-1):-1;if(qe==-1){if(ce(ze))continue;return}if(!Me(ze,qe+1)){ze.ch=qe;continue}var pt=ze.text.lastIndexOf("/",qe),Bt=pt>-1&&!/\S/.test(ze.text.slice(pt+1,qe));return ze.ch=qe+1,Bt?"selfClose":"regular"}}function He(ze,qe){for(var pt=[];;){var Bt=Ve(ze),vt,yt=ze.line,Nt=ze.ch-(Bt?Bt[0].length:0);if(!Bt||!(vt=ke(ze)))return;if(vt!="selfClose")if(Bt[1]){for(var Et=pt.length-1;Et>=0;--Et)if(pt[Et]==Bt[2]){pt.length=Et;break}if(Et<0&&(!qe||qe==Bt[2]))return{tag:Bt[2],from:qt(yt,Nt),to:qt(ze.line,ze.ch)}}else pt.push(Bt[2])}}function Ge(ze,qe){for(var pt=[];;){var Bt=Ke(ze);if(!Bt)return;if(Bt=="selfClose"){Le(ze);continue}var vt=ze.line,yt=ze.ch,Nt=Le(ze);if(!Nt)return;if(Nt[1])pt.push(Nt[2]);else{for(var Et=pt.length-1;Et>=0;--Et)if(pt[Et]==Nt[2]){pt.length=Et;break}if(Et<0&&(!qe||qe==Nt[2]))return{tag:Nt[2],from:qt(ze.line,ze.ch),to:qt(vt,yt)}}}}oe.registerHelper("fold","xml",function(ze,qe){for(var pt=new Dt(ze,qe.line,0);;){var Bt=Ve(pt);if(!Bt||pt.line!=qe.line)return;var vt=ke(pt);if(!vt)return;if(!Bt[1]&&vt!="selfClose"){var yt=qt(pt.line,pt.ch),Nt=He(pt,Bt[2]);return Nt&&Xe(Nt.from,yt)>0?{from:yt,to:Nt.from}:null}}}),oe.findMatchingTag=function(ze,qe,pt){var Bt=new Dt(ze,qe.line,qe.ch,pt);if(!(Bt.text.indexOf(">")==-1&&Bt.text.indexOf("<")==-1)){var vt=ke(Bt),yt=vt&&qt(Bt.line,Bt.ch),Nt=vt&&Le(Bt);if(!(!vt||!Nt||Xe(Bt,qe)>0)){var Et={from:qt(Bt.line,Bt.ch),to:yt,tag:Nt[2]};return vt=="selfClose"?{open:Et,close:null,at:"open"}:Nt[1]?{open:Ge(Bt,Nt[2]),close:Et,at:"close"}:(Bt=new Dt(ze,yt.line,yt.ch,pt),{open:Et,close:He(Bt,Nt[2]),at:"open"})}}},oe.findEnclosingTag=function(ze,qe,pt,Bt){for(var vt=new Dt(ze,qe.line,qe.ch,pt);;){var yt=Ge(vt,Bt);if(!yt)break;var Nt=new Dt(ze,qe.line,qe.ch,pt),Et=He(Nt,yt.tag);if(Et)return{open:yt,close:Et}}},oe.scanForClosingTag=function(ze,qe,pt,Bt){var vt=new Dt(ze,qe.line,qe.ch,Bt?{from:0,to:Bt}:null);return He(vt,pt)}})},89780:function(gr){(function(zn,pe){gr.exports=pe()})(this,function(){"use strict";var zn=navigator.userAgent,pe=navigator.platform,oe=/gecko\/\d/i.test(zn),qt=/MSIE \d/.test(zn),Xe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(zn),Ht=/Edge\/(\d+)/.exec(zn),rt=qt||Xe||Ht,at=rt&&(qt?document.documentMode||6:+(Ht||Xe)[1]),Dt=!Ht&&/WebKit\//.test(zn),Me=Dt&&/Qt\/\d+\.\d+/.test(zn),Pe=!Ht&&/Chrome\//.test(zn),ce=/Opera\//.test(zn),ke=/Apple Computer/.test(navigator.vendor),Le=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(zn),Ve=/PhantomJS/.test(zn),Ke=!Ht&&/AppleWebKit/.test(zn)&&/Mobile\/\w+/.test(zn),He=/Android/.test(zn),Ge=Ke||He||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(zn),ze=Ke||/Mac/.test(pe),qe=/\bCrOS\b/.test(zn),pt=/win/i.test(pe),Bt=ce&&zn.match(/Version\/(\d*\.\d*)/);Bt&&(Bt=Number(Bt[1])),Bt&&Bt>=15&&(ce=!1,Dt=!0);var vt=ze&&(Me||ce&&(Bt==null||Bt<12.11)),yt=oe||rt&&at>=9;function Nt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Et=function(a,b){var ee=a.className,z=Nt(b).exec(ee);if(z){var ne=ee.slice(z.index+z[0].length);a.className=ee.slice(0,z.index)+(ne?z[1]+ne:"")}};function pn(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function Pt(a,b){return pn(a).appendChild(b)}function St(a,b,ee,z){var ne=document.createElement(a);if(ee&&(ne.className=ee),z&&(ne.style.cssText=z),typeof b=="string")ne.appendChild(document.createTextNode(b));else if(b)for(var me=0;me=b)return Se+(b-me);Se+=Qe-me,Se+=ee-Se%ee,me=Qe+1}}var xe=function(){this.id=null,this.f=null,this.time=0,this.handler=At(this.onTimeout,this)};xe.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},xe.prototype.set=function(a,b){this.f=b;var ee=+new Date+a;(!this.id||ee=b)return z+Math.min(Se,b-ne);if(ne+=me-z,ne+=ee-ne%ee,z=me+1,ne>=b)return z}}var xn=[""];function Wn(a){for(;xn.length<=a;)xn.push(ct(xn)+" ");return xn[a]}function ct(a){return a[a.length-1]}function En(a,b){for(var ee=[],z=0;z"\x80"&&(a.toUpperCase()!=a.toLowerCase()||le.test(a))}function Ie(a,b){return b?b.source.indexOf("\\w")>-1&&ye(a)?!0:b.test(a):ye(a)}function he(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var We=/[\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 tt(a){return a.charCodeAt(0)>=768&&We.test(a)}function dn(a,b,ee){for(;(ee<0?b>0:bee?-1:1;;){if(b==ee)return b;var ne=(b+ee)/2,me=z<0?Math.ceil(ne):Math.floor(ne);if(me==b)return a(me)?b:ee;a(me)?ee=me:b=me+z}}function zt(a,b,ee,z){if(!a)return z(b,ee,"ltr",0);for(var ne=!1,me=0;meb||b==ee&&Se.to==b)&&(z(Math.max(Se.from,b),Math.min(Se.to,ee),Se.level==1?"rtl":"ltr",me),ne=!0)}ne||z(b,ee,"ltr")}var en=null;function Sn(a,b,ee){var z;en=null;for(var ne=0;neb)return ne;me.to==b&&(me.from!=me.to&&ee=="before"?z=ne:en=ne),me.from==b&&(me.from!=me.to&&ee!="before"?z=ne:en=ne)}return z!=null?z:en}var yn=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(Ye){return Ye<=247?a.charAt(Ye):1424<=Ye&&Ye<=1524?"R":1536<=Ye&&Ye<=1785?b.charAt(Ye-1536):1774<=Ye&&Ye<=2220?"r":8192<=Ye&&Ye<=8203?"w":Ye==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ne=/[stwN]/,me=/[LRr]/,Se=/[Lb1n]/,Qe=/[1n]/;function Re(Ye,rn,gn){this.level=Ye,this.from=rn,this.to=gn}return function(Ye,rn){var gn=rn=="ltr"?"L":"R";if(Ye.length==0||rn=="ltr"&&!z.test(Ye))return!1;for(var tr=Ye.length,$n=[],Nr=0;Nr-1&&(z[b]=ne.slice(0,me).concat(ne.slice(me+1)))}}}function Nn(a,b){var ee=ln(a,b);if(ee.length)for(var z=Array.prototype.slice.call(arguments,2),ne=0;ne0}function Ft(a){a.prototype.on=function(b,ee){nn(this,b,ee)},a.prototype.off=function(b,ee){Un(this,b,ee)}}function An(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Qn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Jn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function nt(a){An(a),Qn(a)}function gt(a){return a.target||a.srcElement}function Kt(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),ze&&a.ctrlKey&&b==1&&(b=3),b}var vn=function(){if(rt&&at<9)return!1;var a=St("div");return"draggable"in a||"dragDrop"in a}(),Rn;function hr(a){if(Rn==null){var b=St("span","\u200B");Pt(a,St("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Rn=b.offsetWidth<=1&&b.offsetHeight>2&&!(rt&&at<8))}var ee=Rn?St("span","\u200B"):St("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var $r;function Xr(a){if($r!=null)return $r;var b=Pt(a,document.createTextNode("A\u062EA")),ee=Je(b,0,1).getBoundingClientRect(),z=Je(b,1,2).getBoundingClientRect();return pn(a),!ee||ee.left==ee.right?!1:$r=z.right-ee.right<3}var vr=` b`.split(/\n/).length!=3?function(a){for(var b=0,ee=[],z=a.length;b<=z;){var ne=a.indexOf(` `,b);ne==-1&&(ne=a.length);var me=a.slice(b,a.charAt(ne-1)=="\r"?ne-1:ne),Se=me.indexOf("\r");Se!=-1?(ee.push(me.slice(0,Se)),b+=Se+1):(ee.push(me),b=ne+1)}return ee}:function(a){return a.split(/\r\n?|\n/)},lr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(ee){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},Dr=function(){var a=St("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),rr=null;function Tn(a){if(rr!=null)return rr;var b=Pt(a,St("span","x")),ee=b.getBoundingClientRect(),z=Je(b,0,1).getBoundingClientRect();return rr=Math.abs(ee.left-z.left)>1}var _n={},Ln={};function mr(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),_n[a]=b}function cr(a,b){Ln[a]=b}function pr(a){if(typeof a=="string"&&Ln.hasOwnProperty(a))a=Ln[a];else if(a&&typeof a.name=="string"&&Ln.hasOwnProperty(a.name)){var b=Ln[a.name];typeof b=="string"&&(b={name:b}),a=de(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return pr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return pr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Rr(a,b){b=pr(b);var ee=_n[b.name];if(!ee)return Rr(a,"text/plain");var z=ee(a,b);if(Wr.hasOwnProperty(b.name)){var ne=Wr[b.name];for(var me in ne)ne.hasOwnProperty(me)&&(z.hasOwnProperty(me)&&(z["_"+me]=z[me]),z[me]=ne[me])}if(z.name=b.name,b.helperType&&(z.helperType=b.helperType),b.modeProps)for(var Se in b.modeProps)z[Se]=b.modeProps[Se];return z}var Wr={};function Gr(a,b){var ee=Wr.hasOwnProperty(a)?Wr[a]:Wr[a]={};Qt(b,ee)}function ai(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ee={};for(var z in b){var ne=b[z];ne instanceof Array&&(ne=ne.concat([])),ee[z]=ne}return ee}function ti(a,b){for(var ee;a.innerMode&&(ee=a.innerMode(b),!(!ee||ee.mode==a));)b=ee.state,a=ee.mode;return ee||{mode:a,state:b}}function xi(a,b,ee){return a.startState?a.startState(b,ee):!0}var mi=function(a,b,ee){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};mi.prototype.eol=function(){return this.pos>=this.string.length},mi.prototype.sol=function(){return this.pos==this.lineStart},mi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},mi.prototype.next=function(){if(this.posb},mi.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},mi.prototype.skipToEnd=function(){this.pos=this.string.length},mi.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},mi.prototype.backUp=function(a){this.pos-=a},mi.prototype.column=function(){return this.lastColumnPos0?null:(me&&b!==!1&&(this.pos+=me[0].length),me)}},mi.prototype.current=function(){return this.string.slice(this.start,this.pos)},mi.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},mi.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},mi.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Xt(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ee=a;!ee.lines;)for(var z=0;;++z){var ne=ee.children[z],me=ne.chunkSize();if(b=a.first&&bee?ft(ee,Xt(a,ee).text.length):Mn(b,Xt(a,b.line).text.length)}function Mn(a,b){var ee=a.ch;return ee==null||ee>b?ft(a.line,b):ee<0?ft(a.line,0):a}function Ur(a,b){for(var ee=[],z=0;zthis.maxLookAhead&&(this.maxLookAhead=a),b},ei.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},ei.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ei.fromSaved=function(a,b,ee){return b instanceof si?new ei(a,ai(a.mode,b.state),ee,b.lookAhead):new ei(a,ai(a.mode,b),ee)},ei.prototype.save=function(a){var b=a!==!1?ai(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new si(b,this.maxLookAhead):b};function Ai(a,b,ee,z){var ne=[a.state.modeGen],me={};Zi(a,b.text,a.doc.mode,ee,function(Ye,rn){return ne.push(Ye,rn)},me,z);for(var Se=ee.state,Qe=function(Ye){ee.baseTokens=ne;var rn=a.state.overlays[Ye],gn=1,tr=0;ee.state=!0,Zi(a,b.text,rn.mode,ee,function($n,Nr){for(var ni=gn;tr<$n;){var di=ne[gn];di>$n&&ne.splice(gn,1,$n,ne[gn+1],di),gn+=2,tr=Math.min($n,di)}if(Nr)if(rn.opaque)ne.splice(ni,gn-ni,$n,"overlay "+Nr),gn=ni+2;else for(;nia.options.maxHighlightLength&&ai(a.doc.mode,z.state),me=Ai(a,b,z);ne&&(z.state=ne),b.stateAfter=z.save(!ne),b.styles=me.styles,me.classes?b.styleClasses=me.classes:b.styleClasses&&(b.styleClasses=null),ee===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function Vi(a,b,ee){var z=a.doc,ne=a.display;if(!z.mode.startState)return new ei(z,!0,b);var me=co(a,b,ee),Se=me>z.first&&Xt(z,me-1).stateAfter,Qe=Se?ei.fromSaved(z,Se,me):new ei(z,xi(z.mode),me);return z.iter(me,b,function(Re){eo(a,Re.text,Qe);var Ye=Qe.line;Re.stateAfter=Ye==b-1||Ye%5==0||Ye>=ne.viewFrom&&Yeb.start)return me}throw new Error("Mode "+a.name+" failed to advance stream.")}var Fi=function(a,b,ee){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ee};function ki(a,b,ee,z){var ne=a.doc,me=ne.mode,Se;b=Zn(ne,b);var Qe=Xt(ne,b.line),Re=Vi(a,b.line,ee),Ye=new mi(Qe.text,a.options.tabSize,Re),rn;for(z&&(rn=[]);(z||Ye.posa.options.maxHighlightLength?(Qe=!1,Se&&eo(a,b,z,rn.pos),rn.pos=b.length,gn=null):gn=uo(bi(ee,rn,z.state,tr),me),tr){var $n=tr[0].name;$n&&(gn="m-"+(gn?$n+" "+gn:$n))}if(!Qe||Ye!=gn){for(;ReSe;--Qe){if(Qe<=me.first)return me.first;var Re=Xt(me,Qe-1),Ye=Re.stateAfter;if(Ye&&(!ee||Qe+(Ye instanceof si?Ye.lookAhead:0)<=me.modeFrontier))return Qe;var rn=Te(Re.text,null,a.options.tabSize);(ne==null||z>rn)&&(ne=Qe-1,z=rn)}return ne}function oo(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontieree;z--){var ne=Xt(a,z).stateAfter;if(ne&&(!(ne instanceof si)||z+ne.lookAhead=b:me.to>b);(z||(z=[])).push(new bo(Se,me.from,Re?null:me.to))}}return z}function Pi(a,b,ee){var z;if(a)for(var ne=0;ne=b:me.to>b);if(Qe||me.from==b&&Se.type=="bookmark"&&(!ee||me.marker.insertLeft)){var Re=me.from==null||(Se.inclusiveLeft?me.from<=b:me.from0&&Qe)for(var Hi=0;Hi0)){var rn=[Re,1],gn=Gt(Ye.from,Qe.from),tr=Gt(Ye.to,Qe.to);(gn<0||!Se.inclusiveLeft&&!gn)&&rn.push({from:Ye.from,to:Qe.from}),(tr>0||!Se.inclusiveRight&&!tr)&&rn.push({from:Qe.to,to:Ye.to}),ne.splice.apply(ne,rn),Re+=rn.length-3}}return ne}function Jo(a){var b=a.markedSpans;if(b){for(var ee=0;eeb)&&(!z||Ma(z,me.marker)<0)&&(z=me.marker)}return z}function Vr(a,b,ee,z,ne){var me=Xt(a,b),Se=Xi&&me.markedSpans;if(Se)for(var Qe=0;Qe=0&&gn<=0||rn<=0&&gn>=0)&&(rn<=0&&(Re.marker.inclusiveRight&&ne.inclusiveLeft?Gt(Ye.to,ee)>=0:Gt(Ye.to,ee)>0)||rn>=0&&(Re.marker.inclusiveRight&&ne.inclusiveLeft?Gt(Ye.from,z)<=0:Gt(Ye.from,z)<0)))return!0}}}function Sr(a){for(var b;b=Ti(a);)a=b.find(-1,!0).line;return a}function hi(a){for(var b;b=Pr(a);)a=b.find(1,!0).line;return a}function Ii(a){for(var b,ee;b=Pr(a);)a=b.find(1,!0).line,(ee||(ee=[])).push(a);return ee}function Fr(a,b){var ee=Xt(a,b),z=Sr(ee);return ee==z?b:Lt(z)}function zr(a,b){if(b>a.lastLine())return b;var ee=Xt(a,b),z;if(!fi(a,ee))return b;for(;z=Pr(ee);)ee=z.find(1,!0).line;return Lt(ee)+1}function fi(a,b){var ee=Xi&&b.markedSpans;if(ee){for(var z=void 0,ne=0;neb.maxLineLength&&(b.maxLineLength=ne,b.maxLine=z)})}var ra=function(a,b,ee){this.text=a,Vo(this,b),this.height=ee?ee(this):1};ra.prototype.lineNo=function(){return Lt(this)},Ft(ra);function ea(a,b,ee,z){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Jo(a),Vo(a,ee);var ne=z?z(a):1;ne!=a.height&&wr(a,ne)}function va(a){a.parent=null,Jo(a)}var Aa={},Ro={};function Ia(a,b){if(!a||/^\s*$/.test(a))return null;var ee=b.addModeClass?Ro:Aa;return ee[a]||(ee[a]=a.replace(/\S+/g,"cm-$&"))}function qa(a,b){var ee=jt("span",null,null,Dt?"padding-right: .1px":null),z={pre:jt("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ne=0;ne<=(b.rest?b.rest.length:0);ne++){var me=ne?b.rest[ne-1]:b.line,Se=void 0;z.pos=0,z.addToken=EA,Xr(a.display.measure)&&(Se=ar(me,a.doc.direction))&&(z.addToken=eA(z.addToken,Se)),z.map=[];var Qe=b!=a.display.externalMeasured&&Lt(me);ya(me,z,Ki(a,me,Qe)),me.styleClasses&&(me.styleClasses.bgClass&&(z.bgClass=Zt(me.styleClasses.bgClass,z.bgClass||"")),me.styleClasses.textClass&&(z.textClass=Zt(me.styleClasses.textClass,z.textClass||""))),z.map.length==0&&z.map.push(0,0,z.content.appendChild(hr(a.display.measure))),ne==0?(b.measure.map=z.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(z.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Dt){var Re=z.content.lastChild;(/\bcm-tab\b/.test(Re.className)||Re.querySelector&&Re.querySelector(".cm-tab"))&&(z.content.className="cm-tab-wrap-hack")}return Nn(a,"renderLine",a,b.line,z.pre),z.pre.className&&(z.textClass=Zt(z.pre.className,z.textClass||"")),z}function mA(a){var b=St("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function EA(a,b,ee,z,ne,me,Se){if(b){var Qe=a.splitSpaces?qs(b,a.trailingSpace):b,Re=a.cm.state.specialChars,Ye=!1,rn;if(!Re.test(b))a.col+=b.length,rn=document.createTextNode(Qe),a.map.push(a.pos,a.pos+b.length,rn),rt&&at<9&&(Ye=!0),a.pos+=b.length;else{rn=document.createDocumentFragment();for(var gn=0;;){Re.lastIndex=gn;var tr=Re.exec(b),$n=tr?tr.index-gn:b.length-gn;if($n){var Nr=document.createTextNode(Qe.slice(gn,gn+$n));rt&&at<9?rn.appendChild(St("span",[Nr])):rn.appendChild(Nr),a.map.push(a.pos,a.pos+$n,Nr),a.col+=$n,a.pos+=$n}if(!tr)break;gn+=$n+1;var ni=void 0;if(tr[0]==" "){var di=a.cm.options.tabSize,Ci=di-a.col%di;ni=rn.appendChild(St("span",Wn(Ci),"cm-tab")),ni.setAttribute("role","presentation"),ni.setAttribute("cm-text"," "),a.col+=Ci}else tr[0]=="\r"||tr[0]==` `?(ni=rn.appendChild(St("span",tr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ni.setAttribute("cm-text",tr[0]),a.col+=1):(ni=a.cm.options.specialCharPlaceholder(tr[0]),ni.setAttribute("cm-text",tr[0]),rt&&at<9?rn.appendChild(St("span",[ni])):rn.appendChild(ni),a.col+=1);a.map.push(a.pos,a.pos+1,ni),a.pos++}}if(a.trailingSpace=Qe.charCodeAt(b.length-1)==32,ee||z||ne||Ye||me||Se){var Ui=ee||"";z&&(Ui+=z),ne&&(Ui+=ne);var Ei=St("span",[rn],Ui,me);if(Se)for(var Hi in Se)Se.hasOwnProperty(Hi)&&Hi!="style"&&Hi!="class"&&Ei.setAttribute(Hi,Se[Hi]);return a.content.appendChild(Ei)}a.content.appendChild(rn)}}function qs(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ee=b,z="",ne=0;neYe&&gn.from<=Ye));tr++);if(gn.to>=rn)return a(ee,z,ne,me,Se,Qe,Re);a(ee,z.slice(0,gn.to-Ye),ne,me,null,Qe,Re),me=null,z=z.slice(gn.to-Ye),Ye=gn.to}}}function Bl(a,b,ee,z){var ne=!z&&ee.widgetNode;ne&&a.map.push(a.pos,a.pos+b,ne),!z&&a.cm.display.input.needsContentAttribute&&(ne||(ne=a.content.appendChild(document.createElement("span"))),ne.setAttribute("cm-marker",ee.id)),ne&&(a.cm.display.input.setUneditable(ne),a.content.appendChild(ne)),a.pos+=b,a.trailingSpace=!1}function ya(a,b,ee){var z=a.markedSpans,ne=a.text,me=0;if(!z){for(var Se=1;SeRe||yo.collapsed&&Ji.to==Re&&Ji.from==Re)){if(Ji.to!=null&&Ji.to!=Re&&$n>Ji.to&&($n=Ji.to,ni=""),yo.className&&(Nr+=" "+yo.className),yo.css&&(tr=(tr?tr+";":"")+yo.css),yo.startStyle&&Ji.from==Re&&(di+=" "+yo.startStyle),yo.endStyle&&Ji.to==$n&&(Hi||(Hi=[])).push(yo.endStyle,Ji.to),yo.title&&((Ui||(Ui={})).title=yo.title),yo.attributes)for(var ja in yo.attributes)(Ui||(Ui={}))[ja]=yo.attributes[ja];yo.collapsed&&(!Ci||Ma(Ci.marker,yo)<0)&&(Ci=Ji)}else Ji.from>Re&&$n>Ji.from&&($n=Ji.from)}if(Hi)for(var Os=0;Os=Qe)break;for(var uA=Math.min(Qe,$n);;){if(rn){var Rs=Re+rn.length;if(!Ci){var Ss=Rs>uA?rn.slice(0,uA-Re):rn;b.addToken(b,Ss,gn?gn+Nr:Nr,di,Re+Ss.length==$n?ni:"",tr,Ui)}if(Rs>=uA){rn=rn.slice(uA-Re),Re=uA;break}Re=Rs,di=""}rn=ne.slice(me,me=ee[Ye++]),gn=Ia(ee[Ye++],b.cm.options)}}}function Cl(a,b,ee){this.line=b,this.rest=Ii(b),this.size=this.rest?Lt(ct(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=fi(a,b)}function ws(a,b,ee){for(var z=[],ne,me=b;me2&&me.push((Re.bottom+Ye.top)/2-ee.top)}}me.push(ee.bottom-ee.top)}}function gs(a,b,ee){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var z=0;zee)return{map:a.measure.maps[ne],cache:a.measure.caches[ne],before:!0}}function Af(a,b){b=Sr(b);var ee=Lt(b),z=a.display.externalMeasured=new Cl(a.doc,b,ee);z.lineN=ee;var ne=z.built=qa(a,z);return z.text=ne.pre,Pt(a.display.lineMeasure,ne.pre),z}function xl(a,b,ee,z){return XA(a,da(a,b),ee,z)}function $A(a,b){if(b>=a.display.viewFrom&&b=ee.lineN&&bb)&&(me=Re-Qe,ne=me-1,b>=Re&&(Se="right")),ne!=null){if(z=a[Ye+2],Qe==Re&&ee==(z.insertLeft?"left":"right")&&(Se=ee),ee=="left"&&ne==0)for(;Ye&&a[Ye-2]==a[Ye-3]&&a[Ye-1].insertLeft;)z=a[(Ye-=3)+2],Se="left";if(ee=="right"&&ne==Re-Qe)for(;Ye=0&&(ee=a[ne]).left==ee.right;ne--);return ee}function YA(a,b,ee,z){var ne=rd(b.map,ee,z),me=ne.node,Se=ne.start,Qe=ne.end,Re=ne.collapse,Ye;if(me.nodeType==3){for(var rn=0;rn<4;rn++){for(;Se&&tt(b.line.text.charAt(ne.coverStart+Se));)--Se;for(;ne.coverStart+Qe0&&(Re=z="right");var gn;a.options.lineWrapping&&(gn=me.getClientRects()).length>1?Ye=gn[z=="right"?gn.length-1:0]:Ye=me.getBoundingClientRect()}if(rt&&at<9&&!Se&&(!Ye||!Ye.left&&!Ye.right)){var tr=me.parentNode.getClientRects()[0];tr?Ye={left:tr.left,right:tr.left+El(a.display),top:tr.top,bottom:tr.bottom}:Ye=lf}for(var $n=Ye.top-b.rect.top,Nr=Ye.bottom-b.rect.top,ni=($n+Nr)/2,di=b.view.measure.heights,Ci=0;Ci=z.text.length?(Re=z.text.length,Ye="before"):Re<=0&&(Re=0,Ye="after"),!Qe)return Se(Ye=="before"?Re-1:Re,Ye=="before");function rn(Nr,ni,di){var Ci=Qe[ni],Ui=Ci.level==1;return Se(di?Nr-1:Nr,Ui!=di)}var gn=Sn(Qe,Re,Ye),tr=en,$n=rn(Re,gn,Ye=="before");return tr!=null&&($n.other=rn(Re,tr,Ye!="before")),$n}function Co(a,b){var ee=0;b=Zn(a.doc,b),a.options.lineWrapping||(ee=El(a.display)*b.ch);var z=Xt(a.doc,b.line),ne=to(z)+ls(a.display);return{left:ee,right:ee,top:ne,bottom:ne+z.height}}function Lo(a,b,ee,z,ne){var me=ft(a,b,ee);return me.xRel=ne,z&&(me.outside=z),me}function xa(a,b,ee){var z=a.doc;if(ee+=a.display.viewOffset,ee<0)return Lo(z.first,0,null,-1,-1);var ne=Vt(z,ee),me=z.first+z.size-1;if(ne>me)return Lo(z.first+z.size-1,Xt(z,me).text.length,null,1,1);b<0&&(b=0);for(var Se=Xt(z,ne);;){var Qe=fl(a,Se,ne,b,ee),Re=jr(Se,Qe.ch+(Qe.xRel>0||Qe.outside>0?1:0));if(!Re)return Qe;var Ye=Re.find(1);if(Ye.line==ne)return Ye;Se=Xt(z,ne=Ye.line)}}function sA(a,b,ee,z){z-=_s(b);var ne=b.text.length,me=ut(function(Se){return XA(a,ee,Se-1).bottom<=z},ne,0);return ne=ut(function(Se){return XA(a,ee,Se).top>z},me,ne),{begin:me,end:ne}}function us(a,b,ee,z){ee||(ee=da(a,b));var ne=Gu(a,b,XA(a,ee,z),"line").top;return sA(a,b,ee,ne)}function fs(a,b,ee,z){return a.bottom<=ee?!1:a.top>ee?!0:(z?a.left:a.right)>b}function fl(a,b,ee,z,ne){ne-=to(b);var me=da(a,b),Se=_s(b),Qe=0,Re=b.text.length,Ye=!0,rn=ar(b,a.doc.direction);if(rn){var gn=(a.options.lineWrapping?Vl:SA)(a,b,ee,me,rn,z,ne);Ye=gn.level!=1,Qe=Ye?gn.from:gn.to-1,Re=Ye?gn.to:gn.from-1}var tr=null,$n=null,Nr=ut(function(lo){var Ji=XA(a,me,lo);return Ji.top+=Se,Ji.bottom+=Se,fs(Ji,z,ne,!1)?(Ji.top<=ne&&Ji.left<=z&&(tr=lo,$n=Ji),!0):!1},Qe,Re),ni,di,Ci=!1;if($n){var Ui=z-$n.left<$n.right-z,Ei=Ui==Ye;Nr=tr+(Ei?0:1),di=Ei?"after":"before",ni=Ui?$n.left:$n.right}else{!Ye&&(Nr==Re||Nr==Qe)&&Nr++,di=Nr==0?"after":Nr==b.text.length?"before":XA(a,me,Nr-(Ye?1:0)).bottom+Se<=ne==Ye?"after":"before";var Hi=aA(a,ft(ee,Nr,di),"line",b,me);ni=Hi.left,Ci=ne=Hi.bottom?1:0}return Nr=dn(b.text,Nr,1),Lo(ee,Nr,di,Ci,z-ni)}function SA(a,b,ee,z,ne,me,Se){var Qe=ut(function(gn){var tr=ne[gn],$n=tr.level!=1;return fs(aA(a,ft(ee,$n?tr.to:tr.from,$n?"before":"after"),"line",b,z),me,Se,!0)},0,ne.length-1),Re=ne[Qe];if(Qe>0){var Ye=Re.level!=1,rn=aA(a,ft(ee,Ye?Re.from:Re.to,Ye?"after":"before"),"line",b,z);fs(rn,me,Se,!0)&&rn.top>Se&&(Re=ne[Qe-1])}return Re}function Vl(a,b,ee,z,ne,me,Se){var Qe=sA(a,b,z,Se),Re=Qe.begin,Ye=Qe.end;/\s/.test(b.text.charAt(Ye-1))&&Ye--;for(var rn=null,gn=null,tr=0;tr=Ye||$n.to<=Re)){var Nr=$n.level!=1,ni=XA(a,z,Nr?Math.min(Ye,$n.to)-1:Math.max(Re,$n.from)).right,di=nidi)&&(rn=$n,gn=di)}}return rn||(rn=ne[ne.length-1]),rn.fromYe&&(rn={from:rn.from,to:Ye,level:rn.level}),rn}var cs;function FA(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(cs==null){cs=St("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)cs.appendChild(document.createTextNode("x")),cs.appendChild(St("br"));cs.appendChild(document.createTextNode("x"))}Pt(a.measure,cs);var ee=cs.offsetHeight/50;return ee>3&&(a.cachedTextHeight=ee),pn(a.measure),ee||1}function El(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=St("span","xxxxxxxxxx"),ee=St("pre",[b],"CodeMirror-line-like");Pt(a.measure,ee);var z=b.getBoundingClientRect(),ne=(z.right-z.left)/10;return ne>2&&(a.cachedCharWidth=ne),ne||10}function Sl(a){for(var b=a.display,ee={},z={},ne=b.gutters.clientLeft,me=b.gutters.firstChild,Se=0;me;me=me.nextSibling,++Se){var Qe=a.display.gutterSpecs[Se].className;ee[Qe]=me.offsetLeft+me.clientLeft+ne,z[Qe]=me.clientWidth}return{fixedPos:Cc(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ee,gutterWidth:z,wrapperWidth:b.wrapper.clientWidth}}function Cc(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Yh(a){var b=FA(a.display),ee=a.options.lineWrapping,z=ee&&Math.max(5,a.display.scroller.clientWidth/El(a.display)-3);return function(ne){if(fi(a.doc,ne))return 0;var me=0;if(ne.widgets)for(var Se=0;Se0&&(Ye=Xt(a.doc,Re.line).text).length==Re.ch){var rn=Te(Ye,Ye.length,a.options.tabSize)-Ye.length;Re=ft(Re.line,Math.max(0,Math.round((me-Qs(a.display).left)/El(a.display))-rn))}return Re}function Zu(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ee=a.display.view,z=0;zb)&&(ne.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ne.viewTo)Xi&&Fr(a.doc,b)ne.viewFrom?$l(a):(ne.viewFrom+=z,ne.viewTo+=z);else if(b<=ne.viewFrom&&ee>=ne.viewTo)$l(a);else if(b<=ne.viewFrom){var me=cf(a,ee,ee+z,1);me?(ne.view=ne.view.slice(me.index),ne.viewFrom=me.lineN,ne.viewTo+=z):$l(a)}else if(ee>=ne.viewTo){var Se=cf(a,b,b,-1);Se?(ne.view=ne.view.slice(0,Se.index),ne.viewTo=Se.lineN):$l(a)}else{var Qe=cf(a,b,b,-1),Re=cf(a,ee,ee+z,1);Qe&&Re?(ne.view=ne.view.slice(0,Qe.index).concat(ws(a,Qe.lineN,Re.lineN)).concat(ne.view.slice(Re.index)),ne.viewTo+=z):$l(a)}var Ye=ne.externalMeasured;Ye&&(ee=ne.lineN&&b=z.viewTo)){var me=z.view[Zu(a,b)];if(me.node!=null){var Se=me.changes||(me.changes=[]);It(Se,ee)==-1&&Se.push(ee)}}}function $l(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function cf(a,b,ee,z){var ne=Zu(a,b),me,Se=a.display.view;if(!Xi||ee==a.doc.first+a.doc.size)return{index:ne,lineN:ee};for(var Qe=a.display.viewFrom,Re=0;Re0){if(ne==Se.length-1)return null;me=Qe+Se[ne].size-b,ne++}else me=Qe-b;b+=me,ee+=me}for(;Fr(a.doc,ee)!=ee;){if(ne==(z<0?0:Se.length-1))return null;ee+=z*Se[ne-(z<0?1:0)].size,ne+=z}return{index:ne,lineN:ee}}function Jh(a,b,ee){var z=a.display,ne=z.view;ne.length==0||b>=z.viewTo||ee<=z.viewFrom?(z.view=ws(a,b,ee),z.viewFrom=b):(z.viewFrom>b?z.view=ws(a,b,z.viewFrom).concat(z.view):z.viewFromee&&(z.view=z.view.slice(0,Zu(a,ee)))),z.viewTo=ee}function wa(a){for(var b=a.display.view,ee=0,z=0;z=a.display.viewTo||Qe.to().line0?b.blinker=setInterval(function(){a.hasFocus()||dl(a),b.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function od(a){a.state.focused||(a.display.input.focus(),ff(a))}function ad(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,dl(a))},100)}function ff(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Nn(a,"focus",a,b),a.state.focused=!0,Fe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Dt&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),xc(a))}function dl(a,b){a.state.delayingBlurEvent||(a.state.focused&&(Nn(a,"blur",a,b),a.state.focused=!1,Et(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function yu(a){for(var b=a.display,ee=b.lineDiv.offsetTop,z=0;z.005||rn<-.005)&&(wr(ne.line,Se),xs(ne.line),ne.rest))for(var gn=0;gna.display.sizerWidth){var tr=Math.ceil(Qe/El(a.display));tr>a.display.maxLineLength&&(a.display.maxLineLength=tr,a.display.maxLine=ne.line,a.display.maxLineChanged=!0)}}}}function xs(a){if(a.widgets)for(var b=0;b=Se&&(me=Vt(b,to(Xt(b,Re))-a.wrapper.clientHeight),Se=Re)}return{from:me,to:Math.max(Se,me+1)}}function $u(a,b){if(!un(a,"scrollCursorIntoView")){var ee=a.display,z=ee.sizer.getBoundingClientRect(),ne=null;if(b.top+z.top<0?ne=!0:b.bottom+z.top>(window.innerHeight||document.documentElement.clientHeight)&&(ne=!1),ne!=null&&!Ve){var me=St("div","\u200B",null,`position: absolute; top: `+(b.top-ee.viewOffset-ls(a.display))+`px; height: `+(b.bottom-b.top+_A(a)+ee.barHeight)+`px; left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(me),me.scrollIntoView(ne),a.display.lineSpace.removeChild(me)}}}function Yl(a,b,ee,z){z==null&&(z=0);var ne;!a.options.lineWrapping&&b==ee&&(b=b.ch?ft(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ee=b.sticky=="before"?ft(b.line,b.ch+1,"before"):b);for(var me=0;me<5;me++){var Se=!1,Qe=aA(a,b),Re=!ee||ee==b?Qe:aA(a,ee);ne={left:Math.min(Qe.left,Re.left),top:Math.min(Qe.top,Re.top)-z,right:Math.max(Qe.left,Re.left),bottom:Math.max(Qe.bottom,Re.bottom)+z};var Ye=Jl(a,ne),rn=a.doc.scrollTop,gn=a.doc.scrollLeft;if(Ye.scrollTop!=null&&(AA(a,Ye.scrollTop),Math.abs(a.doc.scrollTop-rn)>1&&(Se=!0)),Ye.scrollLeft!=null&&(Ul(a,Ye.scrollLeft),Math.abs(a.doc.scrollLeft-gn)>1&&(Se=!0)),!Se)break}return ne}function Xp(a,b){var ee=Jl(a,b);ee.scrollTop!=null&&AA(a,ee.scrollTop),ee.scrollLeft!=null&&Ul(a,ee.scrollLeft)}function Jl(a,b){var ee=a.display,z=FA(a.display);b.top<0&&(b.top=0);var ne=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ee.scroller.scrollTop,me=Za(a),Se={};b.bottom-b.top>me&&(b.bottom=b.top+me);var Qe=a.doc.height+iA(ee),Re=b.topQe-z;if(b.topne+me){var rn=Math.min(b.top,(Ye?Qe:b.bottom)-me);rn!=ne&&(Se.scrollTop=rn)}var gn=a.options.fixedGutter?0:ee.gutters.offsetWidth,tr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ee.scroller.scrollLeft-gn,$n=oA(a)-ee.gutters.offsetWidth,Nr=b.right-b.left>$n;return Nr&&(b.right=b.left+$n),b.left<10?Se.scrollLeft=0:b.left$n+tr-3&&(Se.scrollLeft=b.right+(Nr?0:10)-$n),Se}function sd(a,b){b!=null&&(Ll(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function JA(a){Ll(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function wu(a,b,ee){(b!=null||ee!=null)&&Ll(a),b!=null&&(a.curOp.scrollLeft=b),ee!=null&&(a.curOp.scrollTop=ee)}function Xg(a,b){Ll(a),a.curOp.scrollToPos=b}function Ll(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ee=Co(a,b.from),z=Co(a,b.to);HA(a,ee,z,b.margin)}}function HA(a,b,ee,z){var ne=Jl(a,{left:Math.min(b.left,ee.left),top:Math.min(b.top,ee.top)-z,right:Math.max(b.right,ee.right),bottom:Math.max(b.bottom,ee.bottom)+z});wu(a,ne.scrollLeft,ne.scrollTop)}function AA(a,b){Math.abs(a.doc.scrollTop-b)<2||(oe||Ec(a,{top:b}),Ea(a,b,!0),oe&&Ec(a),Ju(a,100))}function Ea(a,b,ee){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ee)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function Ul(a,b,ee,z){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ee?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!z)&&(a.doc.scrollLeft=b,rp(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function Xu(a){var b=a.display,ee=b.gutters.offsetWidth,z=Math.round(a.doc.height+iA(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ee:0,docHeight:z,scrollHeight:z+_A(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ee}}var bu=function(a,b,ee){this.cm=ee;var z=this.vert=St("div",[St("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ne=this.horiz=St("div",[St("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");z.tabIndex=ne.tabIndex=-1,a(z),a(ne),nn(z,"scroll",function(){z.clientHeight&&b(z.scrollTop,"vertical")}),nn(ne,"scroll",function(){ne.clientWidth&&b(ne.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,rt&&at<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bu.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ee=a.scrollHeight>a.clientHeight+1,z=a.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=b?z+"px":"0";var ne=a.viewHeight-(b?z:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ne)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ee?z+"px":"0",this.horiz.style.left=a.barLeft+"px";var me=a.viewWidth-a.barLeft-(ee?z:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+me)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?z:0,bottom:b?z:0}},bu.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},bu.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},bu.prototype.zeroWidthHack=function(){var a=ze&&!Le?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new xe,this.disableVert=new xe},bu.prototype.enableZeroWidthBar=function(a,b,ee){a.style.pointerEvents="auto";function z(){var ne=a.getBoundingClientRect(),me=ee=="vert"?document.elementFromPoint(ne.right-1,(ne.top+ne.bottom)/2):document.elementFromPoint((ne.right+ne.left)/2,ne.bottom-1);me!=a?a.style.pointerEvents="none":b.set(1e3,z)}b.set(1e3,z)},bu.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var Rl=function(){};Rl.prototype.update=function(){return{bottom:0,right:0}},Rl.prototype.setScrollLeft=function(){},Rl.prototype.setScrollTop=function(){},Rl.prototype.clear=function(){};function jl(a,b){b||(b=Xu(a));var ee=a.display.barWidth,z=a.display.barHeight;Ad(a,b);for(var ne=0;ne<4&&ee!=a.display.barWidth||z!=a.display.barHeight;ne++)ee!=a.display.barWidth&&a.options.lineWrapping&&yu(a),Ad(a,Xu(a)),ee=a.display.barWidth,z=a.display.barHeight}function Ad(a,b){var ee=a.display,z=ee.scrollbars.update(b);ee.sizer.style.paddingRight=(ee.barWidth=z.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=z.bottom)+"px",ee.heightForcer.style.borderBottom=z.bottom+"px solid transparent",z.right&&z.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=z.bottom+"px",ee.scrollbarFiller.style.width=z.right+"px"):ee.scrollbarFiller.style.display="",z.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=z.bottom+"px",ee.gutterFiller.style.width=b.gutterWidth+"px"):ee.gutterFiller.style.display=""}var Yu={native:bu,null:Rl};function ep(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Et(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Yu[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),nn(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ee){ee=="horizontal"?Ul(a,b):AA(a,b)},a),a.display.scrollbars.addClass&&Fe(a.display.wrapper,a.display.scrollbars.addClass)}var Yp=0;function yA(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Yp},bs(a.curOp)}function Ol(a){var b=a.curOp;b&&nA(b,function(ee){for(var z=0;z=ee.viewTo)||ee.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new ud(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function df(a){a.updatedDisplay=a.mustUpdate&&Xd(a.cm,a.update)}function tp(a){var b=a.cm,ee=b.display;a.updatedDisplay&&yu(b),a.barMeasure=Xu(b),ee.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=xl(b,ee.maxLine,ee.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+a.adjustWidthTo+_A(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+a.adjustWidthTo-oA(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ee.input.prepareSelection())}function hf(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var ee=+new Date+a.options.workTime,z=Vi(a,b.highlightFrontier),ne=[];b.iter(z.line,Math.min(b.first+b.size,a.display.viewTo+500),function(me){if(z.line>=a.display.viewFrom){var Se=me.styles,Qe=me.text.length>a.options.maxHighlightLength?ai(b.mode,z.state):null,Re=Ai(a,me,z,!0);Qe&&(z.state=Qe),me.styles=Re.styles;var Ye=me.styleClasses,rn=Re.classes;rn?me.styleClasses=rn:Ye&&(me.styleClasses=null);for(var gn=!Se||Se.length!=me.styles.length||Ye!=rn&&(!Ye||!rn||Ye.bgClass!=rn.bgClass||Ye.textClass!=rn.textClass),tr=0;!gn&&tree)return Ju(a,a.options.workDelay),!0}),b.highlightFrontier=z.line,b.modeFrontier=Math.max(b.modeFrontier,z.line),ne.length&&LA(a,function(){for(var me=0;me=ee.viewFrom&&b.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&wa(a)==0)return!1;ip(a)&&($l(a),b.dims=Sl(a));var ne=z.first+z.size,me=Math.max(b.visible.from-a.options.viewportMargin,z.first),Se=Math.min(ne,b.visible.to+a.options.viewportMargin);ee.viewFromSe&&ee.viewTo-Se<20&&(Se=Math.min(ne,ee.viewTo)),Xi&&(me=Fr(a.doc,me),Se=zr(a.doc,Se));var Qe=me!=ee.viewFrom||Se!=ee.viewTo||ee.lastWrapHeight!=b.wrapperHeight||ee.lastWrapWidth!=b.wrapperWidth;Jh(a,me,Se),ee.viewOffset=to(Xt(a.doc,ee.viewFrom)),a.display.mover.style.top=ee.viewOffset+"px";var Re=wa(a);if(!Qe&&Re==0&&!b.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var Ye=ng(a);return Re>4&&(ee.lineDiv.style.display="none"),ig(a,ee.updateLineNumbers,b.dims),Re>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,rg(Ye),pn(ee.cursorDiv),pn(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,Qe&&(ee.lastWrapHeight=b.wrapperHeight,ee.lastWrapWidth=b.wrapperWidth,Ju(a,400)),ee.updateLineNumbers=null,!0}function np(a,b){for(var ee=b.viewport,z=!0;;z=!1){if(!z||!a.options.lineWrapping||b.oldDisplayWidth==oA(a)){if(ee&&ee.top!=null&&(ee={top:Math.min(a.doc.height+iA(a.display)-Za(a),ee.top)}),b.visible=Xl(a.display,a.doc,ee),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else z&&(b.visible=Xl(a.display,a.doc,ee));if(!Xd(a,b))break;yu(a);var ne=Xu(a);IA(a),jl(a,ne),Yd(a,ne),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ec(a,b){var ee=new ud(a,b);if(Xd(a,ee)){yu(a),np(a,ee);var z=Xu(a);IA(a),jl(a,z),Yd(a,z),ee.finish()}}function ig(a,b,ee){var z=a.display,ne=a.options.lineNumbers,me=z.lineDiv,Se=me.firstChild;function Qe(Nr){var ni=Nr.nextSibling;return Dt&&ze&&a.display.currentWheelTarget==Nr?Nr.style.display="none":Nr.parentNode.removeChild(Nr),ni}for(var Re=z.view,Ye=z.viewFrom,rn=0;rn-1&&($n=!1),mu(a,gn,Ye,ee)),$n&&(pn(gn.lineNumber),gn.lineNumber.appendChild(document.createTextNode(kt(a.options,Ye)))),Se=gn.node.nextSibling}Ye+=gn.size}for(;Se;)Se=Qe(Se)}function qu(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function Yd(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+_A(a)+"px"}function rp(a){var b=a.display,ee=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var z=Cc(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ne=b.gutters.offsetWidth,me=z+"px",Se=0;SeSe.clientWidth,Re=Se.scrollHeight>Se.clientHeight;if(z&&Qe||ne&&Re){if(ne&&ze&&Dt){e:for(var Ye=b.target,rn=me.view;Ye!=Se;Ye=Ye.parentNode)for(var gn=0;gn=0&&Gt(a,z.to())<=0)return ee}return-1};var Na=function(a,b){this.anchor=a,this.head=b};Na.prototype.from=function(){return kr(this.anchor,this.head)},Na.prototype.to=function(){return Or(this.anchor,this.head)},Na.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function UA(a,b,ee){var z=a&&a.options.selectionsMayTouch,ne=b[ee];b.sort(function(tr,$n){return Gt(tr.from(),$n.from())}),ee=It(b,ne);for(var me=1;me0:Re>=0){var Ye=kr(Qe.from(),Se.from()),rn=Or(Qe.to(),Se.to()),gn=Qe.empty()?Se.from()==Se.head:Qe.from()==Qe.head;me<=ee&&--ee,b.splice(--me,2,new Na(gn?rn:Ye,gn?Ye:rn))}}return new RA(b,ee)}function Bu(a,b){return new RA([new Na(a,b||a)],0)}function Cu(a){return a.text?ft(a.from.line+a.text.length-1,ct(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function qd(a,b){if(Gt(a,b.from)<0)return a;if(Gt(a,b.to)<=0)return Cu(b);var ee=a.line+b.text.length-(b.to.line-b.from.line)-1,z=a.ch;return a.line==b.to.line&&(z+=Cu(b).ch-b.to.ch),ft(ee,z)}function Ic(a,b){for(var ee=[],z=0;z1&&a.remove(Qe.line+1,Nr-1),a.insert(Qe.line+1,Ci)}es(a,"change",a,b)}function xu(a,b,ee){function z(ne,me,Se){if(ne.linked)for(var Qe=0;Qe1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ct(a.done)}function mf(a,b,ee,z){var ne=a.history;ne.undone.length=0;var me=+new Date,Se,Qe;if((ne.lastOp==z||ne.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ne.lastModTime>me-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(Se=up(ne,ne.lastOp==z)))Qe=ct(Se.changes),Gt(b.from,b.to)==0&&Gt(b.from,Qe.to)==0?Qe.to=Cu(b):Se.changes.push(th(a,b));else{var Re=ct(ne.done);for((!Re||!Re.ranges)&&eu(a.sel,ne.done),Se={changes:[th(a,b)],generation:ne.generation},ne.done.push(Se);ne.done.length>ne.undoDepth;)ne.done.shift(),ne.done[0].ranges||ne.done.shift()}ne.done.push(ee),ne.generation=++ne.maxGeneration,ne.lastModTime=ne.lastSelTime=me,ne.lastOp=ne.lastSelOp=z,ne.lastOrigin=ne.lastSelOrigin=b.origin,Qe||Nn(a,"historyAdded")}function Ag(a,b,ee,z){var ne=b.charAt(0);return ne=="*"||ne=="+"&&ee.ranges.length==z.ranges.length&&ee.somethingSelected()==z.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function lg(a,b,ee,z){var ne=a.history,me=z&&z.origin;ee==ne.lastSelOp||me&&ne.lastSelOrigin==me&&(ne.lastModTime==ne.lastSelTime&&ne.lastOrigin==me||Ag(a,me,ct(ne.done),b))?ne.done[ne.done.length-1]=b:eu(b,ne.done),ne.lastSelTime=+new Date,ne.lastSelOrigin=me,ne.lastSelOp=ee,z&&z.clearRedo!==!1&&lp(ne.undone)}function eu(a,b){var ee=ct(b);ee&&ee.ranges&&ee.equals(a)||b.push(a)}function nh(a,b,ee,z){var ne=b["spans_"+a.id],me=0;a.iter(Math.max(a.first,ee),Math.min(a.first+a.size,z),function(Se){Se.markedSpans&&((ne||(ne=b["spans_"+a.id]={}))[me]=Se.markedSpans),++me})}function cp(a){if(!a)return null;for(var b,ee=0;ee-1&&(ct(Qe)[gn]=Ye[gn],delete Ye[gn])}}return z}function ih(a,b,ee,z){if(z){var ne=a.anchor;if(ee){var me=Gt(b,ne)<0;me!=Gt(ee,ne)<0?(ne=b,b=ee):me!=Gt(b,ee)<0&&(b=ee)}return new Na(ne,b)}else return new Na(ee||b,b)}function Uc(a,b,ee,z,ne){ne==null&&(ne=a.cm&&(a.cm.display.shift||a.extend)),Gs(a,new RA([ih(a.sel.primary(),b,ee,ne)],0),z)}function Dl(a,b,ee){for(var z=[],ne=a.cm&&(a.cm.display.shift||a.extend),me=0;me=b.ch:Qe.to>b.ch))){if(ne&&(Nn(Re,"beforeCursorEnter"),Re.explicitlyCleared))if(me.markedSpans){--Se;continue}else break;if(!Re.atomic)continue;if(ee){var gn=Re.find(z<0?1:-1),tr=void 0;if((z<0?rn:Ye)&&(gn=sh(a,gn,-z,gn&&gn.line==b.line?me:null)),gn&&gn.line==b.line&&(tr=Gt(gn,ee))&&(z<0?tr<0:tr>0))return jA(a,gn,b,z,ne)}var $n=Re.find(z<0?-1:1);return(z<0?Ye:rn)&&($n=sh(a,$n,z,$n.line==b.line?me:null)),$n?jA(a,$n,b,z,ne):null}}return b}function dd(a,b,ee,z,ne){var me=z||1,Se=jA(a,b,ee,me,ne)||!ne&&jA(a,b,ee,me,!0)||jA(a,b,ee,-me,ne)||!ne&&jA(a,b,ee,-me,!0);return Se||(a.cantEdit=!0,ft(a.first,0))}function sh(a,b,ee,z){return ee<0&&b.ch==0?b.line>a.first?Zn(a,ft(b.line-1)):null:ee>0&&b.ch==(z||Xt(a,b.line)).text.length?b.line=0;--ne)dp(a,{from:z[ne].from,to:z[ne].to,text:ne?[""]:b.text,origin:b.origin});else dp(a,b)}}function dp(a,b){if(!(b.text.length==1&&b.text[0]==""&&Gt(b.from,b.to)==0)){var ee=Ic(a,b);mf(a,b,ee,a.cm?a.cm.curOp.id:NaN),Oc(a,b,ee,Ko(a,b));var z=[];xu(a,function(ne,me){!me&&It(z,ne.history)==-1&&(lh(ne.history,b),z.push(ne.history)),Oc(ne,b,null,Ko(ne,b))})}}function bf(a,b,ee){var z=a.cm&&a.cm.state.suppressEdits;if(!(z&&!ee)){for(var ne=a.history,me,Se=a.sel,Qe=b=="undo"?ne.done:ne.undone,Re=b=="undo"?ne.undone:ne.done,Ye=0;Ye=0;--$n){var Nr=tr($n);if(Nr)return Nr.v}}}}function Bf(a,b){if(b!=0&&(a.first+=b,a.sel=new RA(En(a.sel.ranges,function(ne){return new Na(ft(ne.anchor.line+b,ne.anchor.ch),ft(ne.head.line+b,ne.head.ch))}),a.sel.primIndex),a.cm)){Ws(a.cm,a.first,a.first-b,b);for(var ee=a.cm.display,z=ee.viewFrom;za.lastLine())){if(b.from.lineme&&(b={from:b.from,to:ft(me,Xt(a,me).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Kn(a,b.from,b.to),ee||(ee=Ic(a,b)),a.cm?hp(a.cm,b,z):gf(a,b,z),yf(a,ee,Ze),a.cantEdit&&dd(a,ft(a.firstLine(),0))&&(a.cantEdit=!1)}}function hp(a,b,ee){var z=a.doc,ne=a.display,me=b.from,Se=b.to,Qe=!1,Re=me.line;a.options.lineWrapping||(Re=Lt(Sr(Xt(z,me.line))),z.iter(Re,Se.line+1,function($n){if($n==ne.maxLine)return Qe=!0,!0})),z.sel.contains(b.from,b.to)>-1&&ir(a),gf(z,b,ee,Yh(a)),a.options.lineWrapping||(z.iter(Re,me.line+b.text.length,function($n){var Nr=Zo($n);Nr>ne.maxLineLength&&(ne.maxLine=$n,ne.maxLineLength=Nr,ne.maxLineChanged=!0,Qe=!1)}),Qe&&(a.curOp.updateMaxLine=!0)),oo(z,me.line),Ju(a,400);var Ye=b.text.length-(Se.line-me.line)-1;b.full?Ws(a):me.line==Se.line&&b.text.length==1&&!Lc(a.doc,b)?Zl(a,me.line,"text"):Ws(a,me.line,Se.line+1,Ye);var rn=Xn(a,"changes"),gn=Xn(a,"change");if(gn||rn){var tr={from:me,to:Se,text:b.text,removed:b.removed,origin:b.origin};gn&&es(a,"change",a,tr),rn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(tr)}a.display.selForContextMenu=null}function rc(a,b,ee,z,ne){var me;z||(z=ee),Gt(z,ee)<0&&(me=[z,ee],ee=me[0],z=me[1]),typeof b=="string"&&(b=a.splitLines(b)),nc(a,{from:ee,to:z,text:b,origin:ne})}function Ah(a,b,ee,z){ee1||!(this.children[0]instanceof Nc))){var Qe=[];this.collapse(Qe),this.children=[new Nc(Qe)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b50){for(var Se=ne.lines.length%25+25,Qe=Se;Qe10);a.parent.maybeSpill()}},iterN:function(a,b,ee){for(var z=0;za.display.maxLineLength&&(a.display.maxLine=Ye,a.display.maxLineLength=rn,a.display.maxLineChanged=!0)}z!=null&&a&&this.collapsed&&Ws(a,z,ne+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Eu(a.doc)),a&&es(a,"markerCleared",a,this,z,ne),b&&Ol(a),this.parent&&this.parent.clear()}},hl.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ee,z,ne=0;ne0||Se==0&&me.clearWhenEmpty!==!1)return me;if(me.replacedWith&&(me.collapsed=!0,me.widgetNode=jt("span",[me.replacedWith],"CodeMirror-widget"),z.handleMouseEvents||me.widgetNode.setAttribute("cm-ignore-events","true"),z.insertLeft&&(me.widgetNode.insertLeft=!0)),me.collapsed){if(Vr(a,b.line,b,ee,me)||b.line!=ee.line&&Vr(a,ee.line,b,ee,me))throw new Error("Inserting collapsed marker partially overlapping an existing one");go()}me.addToHistory&&mf(a,{from:b,to:ee,origin:"markText"},a.sel,NaN);var Qe=b.line,Re=a.cm,Ye;if(a.iter(Qe,ee.line+1,function(gn){Re&&me.collapsed&&!Re.options.lineWrapping&&Sr(gn)==Re.display.maxLine&&(Ye=!0),me.collapsed&&Qe!=b.line&&wr(gn,0),$i(gn,new bo(me,Qe==b.line?b.ch:null,Qe==ee.line?ee.ch:null)),++Qe}),me.collapsed&&a.iter(b.line,ee.line+1,function(gn){fi(a,gn)&&wr(gn,0)}),me.clearOnEnter&&nn(me,"beforeCursorEnter",function(){return me.clear()}),me.readOnly&&(Oo(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),me.collapsed&&(me.id=++Cf,me.atomic=!0),Re){if(Ye&&(Re.curOp.updateMaxLine=!0),me.collapsed)Ws(Re,b.line,ee.line+1);else if(me.className||me.startStyle||me.endStyle||me.css||me.attributes||me.title)for(var rn=b.line;rn<=ee.line;rn++)Zl(Re,rn,"text");me.atomic&&Eu(Re.doc),es(Re,"markerAdded",Re,me)}return me}var oc=function(a,b){this.markers=a,this.primary=b;for(var ee=0;ee=0;Re--)nc(this,z[Re]);Qe?vf(this,Qe):this.cm&&JA(this.cm)}),undo:Hs(function(){bf(this,"undo")}),redo:Hs(function(){bf(this,"redo")}),undoSelection:Hs(function(){bf(this,"undo",!0)}),redoSelection:Hs(function(){bf(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ee=0,z=0;z=a.ch)&&b.push(ne.marker.parent||ne.marker)}return b},findMarks:function(a,b,ee){a=Zn(this,a),b=Zn(this,b);var z=[],ne=a.line;return this.iter(a.line,b.line+1,function(me){var Se=me.markedSpans;if(Se)for(var Qe=0;Qe=Re.to||Re.from==null&&ne!=a.line||Re.from!=null&&ne==b.line&&Re.from>=b.ch)&&(!ee||ee(Re.marker))&&z.push(Re.marker.parent||Re.marker)}++ne}),z},getAllMarks:function(){var a=[];return this.iter(function(b){var ee=b.markedSpans;if(ee)for(var z=0;za)return b=a,!0;a-=me,++ee}),Zn(this,ft(ee,b))},indexFromPos:function(a){a=Zn(this,a);var b=a.ch;if(a.lineb&&(b=a.from),a.to!=null&&a.to-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var rn=a.dataTransfer.getData("Text");if(rn){var gn;if(b.state.draggingText&&!b.state.draggingText.copy&&(gn=b.listSelections()),yf(b.doc,Bu(ee,ee)),gn)for(var tr=0;tr=0;Qe--)rc(a.doc,"",z[Qe].from,z[Qe].to,"+delete");JA(a)})}function Ef(a,b,ee){var z=dn(a.text,b+ee,ee);return z<0||z>a.text.length?null:z}function vh(a,b,ee){var z=Ef(a,b.ch,ee);return z==null?null:new ft(b.line,z,ee<0?"after":"before")}function Sf(a,b,ee,z,ne){if(a){b.doc.direction=="rtl"&&(ne=-ne);var me=ar(ee,b.doc.direction);if(me){var Se=ne<0?ct(me):me[0],Qe=ne<0==(Se.level==1),Re=Qe?"after":"before",Ye;if(Se.level>0||b.doc.direction=="rtl"){var rn=da(b,ee);Ye=ne<0?ee.text.length-1:0;var gn=XA(b,rn,Ye).top;Ye=ut(function(tr){return XA(b,rn,tr).top==gn},ne<0==(Se.level==1)?Se.from:Se.to-1,Ye),Re=="before"&&(Ye=Ef(ee,Ye,1))}else Ye=ne<0?Se.to:Se.from;return new ft(z,Ye,Re)}}return new ft(z,ne<0?ee.text.length:0,ne<0?"before":"after")}function yh(a,b,ee,z){var ne=ar(b,a.doc.direction);if(!ne)return vh(b,ee,z);ee.ch>=b.text.length?(ee.ch=b.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var me=Sn(ne,ee.ch,ee.sticky),Se=ne[me];if(a.doc.direction=="ltr"&&Se.level%2==0&&(z>0?Se.to>ee.ch:Se.from=Se.from&&tr>=rn.begin)){var $n=gn?"before":"after";return new ft(ee.line,tr,$n)}}var Nr=function(Ci,Ui,Ei){for(var Hi=function(ja,Os){return Os?new ft(ee.line,Qe(ja,1),"before"):new ft(ee.line,ja,"after")};Ci>=0&&Ci0==(lo.level!=1),yo=Ji?Ei.begin:Qe(Ei.end,-1);if(lo.from<=yo&&yo0?rn.end:Qe(rn.begin,-1);return di!=null&&!(z>0&&di==b.text.length)&&(ni=Nr(z>0?0:ne.length-1,z,Ye(di)),ni)?ni:null}var Ff={selectAll:el,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ze)},killLine:function(a){return pl(a,function(b){if(b.empty()){var ee=Xt(a.doc,b.head.line).text.length;return b.head.ch==ee&&b.head.line0)ne=new ft(ne.line,ne.ch+1),a.replaceRange(me.charAt(ne.ch-1)+me.charAt(ne.ch-2),ft(ne.line,ne.ch-2),ne,"+transpose");else if(ne.line>a.doc.first){var Se=Xt(a.doc,ne.line-1).text;Se&&(ne=new ft(ne.line,1),a.replaceRange(me.charAt(0)+a.doc.lineSeparator()+Se.charAt(Se.length-1),ft(ne.line-1,Se.length-1),ne,"+transpose"))}}ee.push(new Na(ne,ne))}a.setSelections(ee)})},newlineAndIndent:function(a){return LA(a,function(){for(var b=a.listSelections(),ee=b.length-1;ee>=0;ee--)a.replaceRange(a.doc.lineSeparator(),b[ee].anchor,b[ee].head,"+input");b=a.listSelections();for(var z=0;za&&Gt(b,this.pos)==0&&ee==this.button};var Uu,iu;function xd(a,b){var ee=+new Date;return iu&&iu.compare(ee,a,b)?(Uu=iu=null,"triple"):Uu&&Uu.compare(ee,a,b)?(iu=new Mc(ee,a,b),Uu=null,"double"):(Uu=new Mc(ee,a,b),iu=null,"single")}function _c(a){var b=this,ee=b.display;if(!(un(b,a)||ee.activeTouch&&ee.input.supportsTouch())){if(ee.input.ensurePolled(),ee.shift=a.shiftKey,Is(ee,a)){Dt||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(!Ch(b,a)){var z=Vu(b,a),ne=Kt(a),me=z?xd(z,ne):"single";window.focus(),ne==1&&b.state.selectingText&&b.state.selectingText(a),!(z&&xp(b,ne,z,me,a))&&(ne==1?z?Ep(b,z,me,a):gt(a)==ee.scroller&&An(a):ne==2?(z&&Uc(b.doc,z),setTimeout(function(){return ee.input.focus()},20)):ne==3&&(yt?b.display.input.onContextMenu(a):ad(b)))}}}function xp(a,b,ee,z,ne){var me="Click";return z=="double"?me="Double"+me:z=="triple"&&(me="Triple"+me),me=(b==1?"Left":b==2?"Middle":"Right")+me,If(a,xf(me,ne),ne,function(Se){if(typeof Se=="string"&&(Se=Ff[Se]),!Se)return!1;var Qe=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Qe=Se(a,ee)!=mn}finally{a.state.suppressEdits=!1}return Qe})}function Bh(a,b,ee){var z=a.getOption("configureMouse"),ne=z?z(a,b,ee):{};if(ne.unit==null){var me=qe?ee.shiftKey&&ee.metaKey:ee.altKey;ne.unit=me?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ne.extend==null||a.doc.extend)&&(ne.extend=a.doc.extend||ee.shiftKey),ne.addNew==null&&(ne.addNew=ze?ee.metaKey:ee.ctrlKey),ne.moveOnDrag==null&&(ne.moveOnDrag=!(ze?ee.altKey:ee.ctrlKey)),ne}function Ep(a,b,ee,z){rt?setTimeout(At(od,a),0):a.curOp.focus=lt();var ne=Bh(a,ee,z),me=a.doc.sel,Se;a.options.dragDrop&&vn&&!a.isReadOnly()&&ee=="single"&&(Se=me.contains(b))>-1&&(Gt((Se=me.ranges[Se]).from(),b)<0||b.xRel>0)&&(Gt(Se.to(),b)>0||b.xRel<0)?Lf(a,z,b,ne):Sp(a,z,b,ne)}function Lf(a,b,ee,z){var ne=a.display,me=!1,Se=Ls(a,function(Ye){Dt&&(ne.scroller.draggable=!1),a.state.draggingText=!1,Un(ne.wrapper.ownerDocument,"mouseup",Se),Un(ne.wrapper.ownerDocument,"mousemove",Qe),Un(ne.scroller,"dragstart",Re),Un(ne.scroller,"drop",Se),me||(An(Ye),z.addNew||Uc(a.doc,ee,null,null,z.extend),Dt&&!ke||rt&&at==9?setTimeout(function(){ne.wrapper.ownerDocument.body.focus({preventScroll:!0}),ne.input.focus()},20):ne.input.focus())}),Qe=function(Ye){me=me||Math.abs(b.clientX-Ye.clientX)+Math.abs(b.clientY-Ye.clientY)>=10},Re=function(){return me=!0};Dt&&(ne.scroller.draggable=!0),a.state.draggingText=Se,Se.copy=!z.moveOnDrag,ne.scroller.dragDrop&&ne.scroller.dragDrop(),nn(ne.wrapper.ownerDocument,"mouseup",Se),nn(ne.wrapper.ownerDocument,"mousemove",Qe),nn(ne.scroller,"dragstart",Re),nn(ne.scroller,"drop",Se),ad(a),setTimeout(function(){return ne.input.focus()},20)}function sc(a,b,ee){if(ee=="char")return new Na(b,b);if(ee=="word")return a.findWordAt(b);if(ee=="line")return new Na(ft(b.line,0),Zn(a.doc,ft(b.line+1,0)));var z=ee(a,b);return new Na(z.from,z.to)}function Sp(a,b,ee,z){var ne=a.display,me=a.doc;An(b);var Se,Qe,Re=me.sel,Ye=Re.ranges;if(z.addNew&&!z.extend?(Qe=me.sel.contains(ee),Qe>-1?Se=Ye[Qe]:Se=new Na(ee,ee)):(Se=me.sel.primary(),Qe=me.sel.primIndex),z.unit=="rectangle")z.addNew||(Se=new Na(ee,ee)),ee=Vu(a,b,!0,!0),Qe=-1;else{var rn=sc(a,ee,z.unit);z.extend?Se=ih(Se,rn.anchor,rn.head,z.extend):Se=rn}z.addNew?Qe==-1?(Qe=Ye.length,Gs(me,UA(a,Ye.concat([Se]),Qe),{scroll:!1,origin:"*mouse"})):Ye.length>1&&Ye[Qe].empty()&&z.unit=="char"&&!z.extend?(Gs(me,UA(a,Ye.slice(0,Qe).concat(Ye.slice(Qe+1)),0),{scroll:!1,origin:"*mouse"}),Re=me.sel):oh(me,Qe,Se,Ct):(Qe=0,Gs(me,new RA([Se],0),Ct),Re=me.sel);var gn=ee;function tr(Ei){if(Gt(gn,Ei)!=0)if(gn=Ei,z.unit=="rectangle"){for(var Hi=[],lo=a.options.tabSize,Ji=Te(Xt(me,ee.line).text,ee.ch,lo),yo=Te(Xt(me,Ei.line).text,Ei.ch,lo),ja=Math.min(Ji,yo),Os=Math.max(Ji,yo),ts=Math.min(ee.line,Ei.line),uA=Math.min(a.lastLine(),Math.max(ee.line,Ei.line));ts<=uA;ts++){var Rs=Xt(me,ts).text,Ss=In(Rs,ja,lo);ja==Os?Hi.push(new Na(ft(ts,Ss),ft(ts,Ss))):Rs.length>Ss&&Hi.push(new Na(ft(ts,Ss),ft(ts,In(Rs,Os,lo))))}Hi.length||Hi.push(new Na(ee,ee)),Gs(me,UA(a,Re.ranges.slice(0,Qe).concat(Hi),Qe),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Ei)}else{var cA=Se,Vs=sc(a,Ei,z.unit),Bi=cA.anchor,Ya;Gt(Vs.anchor,Bi)>0?(Ya=Vs.head,Bi=kr(cA.from(),Vs.anchor)):(Ya=Vs.anchor,Bi=Or(cA.to(),Vs.head));var ns=Re.ranges.slice(0);ns[Qe]=Fp(a,new Na(Zn(me,Bi),Ya)),Gs(me,UA(a,ns,Qe),Ct)}}var $n=ne.wrapper.getBoundingClientRect(),Nr=0;function ni(Ei){var Hi=++Nr,lo=Vu(a,Ei,!0,z.unit=="rectangle");if(lo)if(Gt(lo,gn)!=0){a.curOp.focus=lt(),tr(lo);var Ji=Xl(ne,me);(lo.line>=Ji.to||lo.line$n.bottom?20:0;yo&&setTimeout(Ls(a,function(){Nr==Hi&&(ne.scroller.scrollTop+=yo,ni(Ei))}),50)}}function di(Ei){a.state.selectingText=!1,Nr=1/0,Ei&&(An(Ei),ne.input.focus()),Un(ne.wrapper.ownerDocument,"mousemove",Ci),Un(ne.wrapper.ownerDocument,"mouseup",Ui),me.history.lastSelOrigin=null}var Ci=Ls(a,function(Ei){Ei.buttons===0||!Kt(Ei)?di(Ei):ni(Ei)}),Ui=Ls(a,di);a.state.selectingText=Ui,nn(ne.wrapper.ownerDocument,"mousemove",Ci),nn(ne.wrapper.ownerDocument,"mouseup",Ui)}function Fp(a,b){var ee=b.anchor,z=b.head,ne=Xt(a.doc,ee.line);if(Gt(ee,z)==0&&ee.sticky==z.sticky)return b;var me=ar(ne);if(!me)return b;var Se=Sn(me,ee.ch,ee.sticky),Qe=me[Se];if(Qe.from!=ee.ch&&Qe.to!=ee.ch)return b;var Re=Se+(Qe.from==ee.ch==(Qe.level!=1)?0:1);if(Re==0||Re==me.length)return b;var Ye;if(z.line!=ee.line)Ye=(z.line-ee.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var rn=Sn(me,z.ch,z.sticky),gn=rn-Se||(z.ch-ee.ch)*(Qe.level==1?-1:1);rn==Re-1||rn==Re?Ye=gn<0:Ye=gn>0}var tr=me[Re+(Ye?-1:0)],$n=Ye==(tr.level==1),Nr=$n?tr.from:tr.to,ni=$n?"after":"before";return ee.ch==Nr&&ee.sticky==ni?b:new Na(new ft(ee.line,Nr,ni),z)}function Ip(a,b,ee,z){var ne,me;if(b.touches)ne=b.touches[0].clientX,me=b.touches[0].clientY;else try{ne=b.clientX,me=b.clientY}catch(tr){return!1}if(ne>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;z&&An(b);var Se=a.display,Qe=Se.lineDiv.getBoundingClientRect();if(me>Qe.bottom||!Xn(a,ee))return Jn(b);me-=Qe.top-Se.viewOffset;for(var Re=0;Re=ne){var rn=Vt(a.doc,me),gn=a.display.gutterSpecs[Re];return Nn(a,ee,a,rn,gn.className,b),Jn(b)}}}function Ch(a,b){return Ip(a,b,"gutterClick",!0)}function xh(a,b){Is(a.display,b)||kc(a,b)||un(a,b,"contextmenu")||yt||a.display.input.onContextMenu(b)}function kc(a,b){return Xn(a,"gutterContextMenu")?Ip(a,b,"gutterContextMenu",!1):!1}function Ed(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),kA(a)}var ou={toString:function(){return"CodeMirror.Init"}},Lp={},Sd={};function hg(a){var b=a.optionHandlers;function ee(z,ne,me,Se){a.defaults[z]=ne,me&&(b[z]=Se?function(Qe,Re,Ye){Ye!=ou&&me(Qe,Re,Ye)}:me)}a.defineOption=ee,a.Init=ou,ee("value","",function(z,ne){return z.setValue(ne)},!0),ee("mode",null,function(z,ne){z.doc.modeOption=ne,eh(z)},!0),ee("indentUnit",2,eh,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(z){pf(z),kA(z),Ws(z)},!0),ee("lineSeparator",null,function(z,ne){if(z.doc.lineSep=ne,!!ne){var me=[],Se=z.doc.first;z.doc.iter(function(Re){for(var Ye=0;;){var rn=Re.text.indexOf(ne,Ye);if(rn==-1)break;Ye=rn+ne.length,me.push(ft(Se,rn))}Se++});for(var Qe=me.length-1;Qe>=0;Qe--)rc(z.doc,ne,me[Qe],ft(me[Qe].line,me[Qe].ch+ne.length))}}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(z,ne,me){z.state.specialChars=new RegExp(ne.source+(ne.test(" ")?"":"| "),"g"),me!=ou&&z.refresh()}),ee("specialCharPlaceholder",mA,function(z){return z.refresh()},!0),ee("electricChars",!0),ee("inputStyle",Ge?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(z,ne){return z.getInputField().spellcheck=ne},!0),ee("autocorrect",!1,function(z,ne){return z.getInputField().autocorrect=ne},!0),ee("autocapitalize",!1,function(z,ne){return z.getInputField().autocapitalize=ne},!0),ee("rtlMoveVisually",!pt),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(z){Ed(z),ql(z)},!0),ee("keyMap","default",function(z,ne,me){var Se=Es(ne),Qe=me!=ou&&Es(me);Qe&&Qe.detach&&Qe.detach(z,Se),Se.attach&&Se.attach(z,Qe||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,Up,!0),ee("gutters",[],function(z,ne){z.display.gutterSpecs=Sc(ne,z.options.lineNumbers),ql(z)},!0),ee("fixedGutter",!0,function(z,ne){z.display.gutters.style.left=ne?Cc(z.display)+"px":"0",z.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(z){return jl(z)},!0),ee("scrollbarStyle","native",function(z){ep(z),jl(z),z.display.scrollbars.setScrollTop(z.doc.scrollTop),z.display.scrollbars.setScrollLeft(z.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(z,ne){z.display.gutterSpecs=Sc(z.options.gutters,ne),ql(z)},!0),ee("firstLineNumber",1,ql,!0),ee("lineNumberFormatter",function(z){return z},ql,!0),ee("showCursorWhenSelecting",!1,IA,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(z,ne){ne=="nocursor"&&(dl(z),z.display.input.blur()),z.display.input.readOnlyChanged(ne)}),ee("screenReaderLabel",null,function(z,ne){ne=ne===""?null:ne,z.display.input.screenReaderLabelChanged(ne)}),ee("disableInput",!1,function(z,ne){ne||z.display.input.reset()},!0),ee("dragDrop",!0,pg),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,IA,!0),ee("singleCursorHeightPerLine",!0,IA,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,pf,!0),ee("addModeClass",!1,pf,!0),ee("pollInterval",100),ee("undoDepth",200,function(z,ne){return z.doc.history.undoDepth=ne}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(z){return z.refresh()},!0),ee("maxHighlightLength",1e4,pf,!0),ee("moveInputWithCursor",!0,function(z,ne){ne||z.display.input.resetPosition()}),ee("tabindex",null,function(z,ne){return z.display.input.getField().tabIndex=ne||""}),ee("autofocus",null),ee("direction","ltr",function(z,ne){return z.doc.setDirection(ne)},!0),ee("phrases",null)}function pg(a,b,ee){var z=ee&&ee!=ou;if(!b!=!z){var ne=a.display.dragFunctions,me=b?nn:Un;me(a.display.scroller,"dragstart",ne.start),me(a.display.scroller,"dragenter",ne.enter),me(a.display.scroller,"dragover",ne.over),me(a.display.scroller,"dragleave",ne.leave),me(a.display.scroller,"drop",ne.drop)}}function Up(a){a.options.lineWrapping?(Fe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Et(a.display.wrapper,"CodeMirror-wrap"),Do(a)),id(a),Ws(a),kA(a),setTimeout(function(){return jl(a)},100)}function $a(a,b){var ee=this;if(!(this instanceof $a))return new $a(a,b);this.options=b=b?Qt(b):{},Qt(Lp,b,!1);var z=b.value;typeof z=="string"?z=new lA(z,b.mode,null,b.lineSeparator,b.direction):b.mode&&(z.modeOption=b.mode),this.doc=z;var ne=new $a.inputStyles[b.inputStyle](this),me=this.display=new og(a,z,ne,b);me.wrapper.CodeMirror=this,Ed(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ep(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 xe,keySeq:null,specialChars:null},b.autofocus&&!Ge&&me.input.focus(),rt&&at<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Op(this),vd(),yA(this),this.curOp.forceUpdate=!0,Us(this,z),b.autofocus&&!Ge||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&ff(ee)},20):dl(this);for(var Se in Sd)Sd.hasOwnProperty(Se)&&Sd[Se](this,b[Se],ou);ip(this),b.finishInit&&b.finishInit(this);for(var Qe=0;Qe20*20}nn(b.scroller,"touchstart",function(Re){if(!un(a,Re)&&!me(Re)&&!Ch(a,Re)){b.input.ensurePolled(),clearTimeout(ee);var Ye=+new Date;b.activeTouch={start:Ye,moved:!1,prev:Ye-z.end<=300?z:null},Re.touches.length==1&&(b.activeTouch.left=Re.touches[0].pageX,b.activeTouch.top=Re.touches[0].pageY)}}),nn(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),nn(b.scroller,"touchend",function(Re){var Ye=b.activeTouch;if(Ye&&!Is(b,Re)&&Ye.left!=null&&!Ye.moved&&new Date-Ye.start<300){var rn=a.coordsChar(b.activeTouch,"page"),gn;!Ye.prev||Se(Ye,Ye.prev)?gn=new Na(rn,rn):!Ye.prev.prev||Se(Ye,Ye.prev.prev)?gn=a.findWordAt(rn):gn=new Na(ft(rn.line,0),Zn(a.doc,ft(rn.line+1,0))),a.setSelection(gn.anchor,gn.head),a.focus(),An(Re)}ne()}),nn(b.scroller,"touchcancel",ne),nn(b.scroller,"scroll",function(){b.scroller.clientHeight&&(AA(a,b.scroller.scrollTop),Ul(a,b.scroller.scrollLeft,!0),Nn(a,"scroll",a))}),nn(b.scroller,"mousewheel",function(Re){return ap(a,Re)}),nn(b.scroller,"DOMMouseScroll",function(Re){return ap(a,Re)}),nn(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Re){un(a,Re)||nt(Re)},over:function(Re){un(a,Re)||(dh(a,Re),nt(Re))},start:function(Re){return md(a,Re)},drop:Ls(a,fh),leave:function(Re){un(a,Re)||hh(a)}};var Qe=b.input.getField();nn(Qe,"keyup",function(Re){return bp.call(a,Re)}),nn(Qe,"keydown",Ls(a,Cd)),nn(Qe,"keypress",Ls(a,Bp)),nn(Qe,"focus",function(Re){return ff(a,Re)}),nn(Qe,"blur",function(Re){return dl(a,Re)})}var Fd=[];$a.defineInitHook=function(a){return Fd.push(a)};function Ac(a,b,ee,z){var ne=a.doc,me;ee==null&&(ee="add"),ee=="smart"&&(ne.mode.indent?me=Vi(a,b).state:ee="prev");var Se=a.options.tabSize,Qe=Xt(ne,b),Re=Te(Qe.text,null,Se);Qe.stateAfter&&(Qe.stateAfter=null);var Ye=Qe.text.match(/^\s*/)[0],rn;if(!z&&!/\S/.test(Qe.text))rn=0,ee="not";else if(ee=="smart"&&(rn=ne.mode.indent(me,Qe.text.slice(Ye.length),Qe.text),rn==mn||rn>150)){if(!z)return;ee="prev"}ee=="prev"?b>ne.first?rn=Te(Xt(ne,b-1).text,null,Se):rn=0:ee=="add"?rn=Re+a.options.indentUnit:ee=="subtract"?rn=Re-a.options.indentUnit:typeof ee=="number"&&(rn=Re+ee),rn=Math.max(0,rn);var gn="",tr=0;if(a.options.indentWithTabs)for(var $n=Math.floor(rn/Se);$n;--$n)tr+=Se,gn+=" ";if(trSe,Re=vr(b),Ye=null;if(Qe&&z.ranges.length>1)if(gl&&gl.text.join(` `)==b){if(z.ranges.length%gl.text.length==0){Ye=[];for(var rn=0;rn=0;tr--){var $n=z.ranges[tr],Nr=$n.from(),ni=$n.to();$n.empty()&&(ee&&ee>0?Nr=ft(Nr.line,Nr.ch-ee):a.state.overwrite&&!Qe?ni=ft(ni.line,Math.min(Xt(me,ni.line).text.length,ni.ch+ct(Re).length)):Qe&&gl&&gl.lineWise&&gl.text.join(` `)==Re.join(` `)&&(Nr=ni=ft(Nr.line,0)));var di={from:Nr,to:ni,text:Ye?Ye[tr%Ye.length]:Re,origin:ne||(Qe?"paste":a.state.cutIncoming>Se?"cut":"+input")};nc(a.doc,di),es(a,"inputRead",a,di)}b&&!Qe&&Df(a,b),JA(a),a.curOp.updateInput<2&&(a.curOp.updateInput=gn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Hc(a,b){var ee=a.clipboardData&&a.clipboardData.getData("Text");if(ee)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&LA(b,function(){return Of(b,ee,0,null,"paste")}),!0}function Df(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ee=a.doc.sel,z=ee.ranges.length-1;z>=0;z--){var ne=ee.ranges[z];if(!(ne.head.ch>100||z&&ee.ranges[z-1].head.line==ne.head.line)){var me=a.getModeAt(ne.head),Se=!1;if(me.electricChars){for(var Qe=0;Qe-1){Se=Ac(a,ne.head.line,"smart");break}}else me.electricInput&&me.electricInput.test(Xt(a.doc,ne.head.line).text.slice(0,ne.head.ch))&&(Se=Ac(a,ne.head.line,"smart"));Se&&es(a,"electricInput",a,ne.head.line)}}}function Eh(a){for(var b=[],ee=[],z=0;zme&&(Ac(this,Qe.head.line,z,!0),me=Qe.head.line,Se==this.doc.sel.primIndex&&JA(this));else{var Re=Qe.from(),Ye=Qe.to(),rn=Math.max(me,Re.line);me=Math.min(this.lastLine(),Ye.line-(Ye.ch?0:1))+1;for(var gn=rn;gn0&&oh(this.doc,Se,new Na(Re,tr[Se].to()),Ze)}}}),getTokenAt:function(z,ne){return ki(this,z,ne)},getLineTokens:function(z,ne){return ki(this,ft(z),ne,!0)},getTokenTypeAt:function(z){z=Zn(this.doc,z);var ne=Ki(this,Xt(this.doc,z.line)),me=0,Se=(ne.length-1)/2,Qe=z.ch,Re;if(Qe==0)Re=ne[2];else for(;;){var Ye=me+Se>>1;if((Ye?ne[Ye*2-1]:0)>=Qe)Se=Ye;else if(ne[Ye*2+1]Re&&(z=Re,Se=!0),Qe=Xt(this.doc,z)}else Qe=z;return Gu(this,Qe,{top:0,left:0},ne||"page",me||Se).top+(Se?this.doc.height-to(Qe):0)},defaultTextHeight:function(){return FA(this.display)},defaultCharWidth:function(){return El(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(z,ne,me,Se,Qe){var Re=this.display;z=aA(this,Zn(this.doc,z));var Ye=z.bottom,rn=z.left;if(ne.style.position="absolute",ne.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ne),Re.sizer.appendChild(ne),Se=="over")Ye=z.top;else if(Se=="above"||Se=="near"){var gn=Math.max(Re.wrapper.clientHeight,this.doc.height),tr=Math.max(Re.sizer.clientWidth,Re.lineSpace.clientWidth);(Se=="above"||z.bottom+ne.offsetHeight>gn)&&z.top>ne.offsetHeight?Ye=z.top-ne.offsetHeight:z.bottom+ne.offsetHeight<=gn&&(Ye=z.bottom),rn+ne.offsetWidth>tr&&(rn=tr-ne.offsetWidth)}ne.style.top=Ye+"px",ne.style.left=ne.style.right="",Qe=="right"?(rn=Re.sizer.clientWidth-ne.offsetWidth,ne.style.right="0px"):(Qe=="left"?rn=0:Qe=="middle"&&(rn=(Re.sizer.clientWidth-ne.offsetWidth)/2),ne.style.left=rn+"px"),me&&Xp(this,{left:rn,top:Ye,right:rn+ne.offsetWidth,bottom:Ye+ne.offsetHeight})},triggerOnKeyDown:wA(Cd),triggerOnKeyPress:wA(Bp),triggerOnKeyUp:bp,triggerOnMouseDown:wA(_c),execCommand:function(z){if(Ff.hasOwnProperty(z))return Ff[z].call(null,this)},triggerElectric:wA(function(z){Df(this,z)}),findPosH:function(z,ne,me,Se){var Qe=1;ne<0&&(Qe=-1,ne=-ne);for(var Re=Zn(this.doc,z),Ye=0;Ye0&&rn(me.charAt(Se-1));)--Se;for(;Qe.5||this.options.lineWrapping)&&id(this),Nn(this,"refresh",this)}),swapDoc:wA(function(z){var ne=this.doc;return ne.cm=null,this.state.selectingText&&this.state.selectingText(),Us(this,z),kA(this),this.display.input.reset(),wu(this,z.scrollLeft,z.scrollTop),this.curOp.forceScroll=!0,es(this,"swapDoc",this,ne),ne}),phrase:function(z){var ne=this.options.phrases;return ne&&Object.prototype.hasOwnProperty.call(ne,z)?ne[z]:z},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}},Ft(a),a.registerHelper=function(z,ne,me){ee.hasOwnProperty(z)||(ee[z]=a[z]={_global:[]}),ee[z][ne]=me},a.registerGlobalHelper=function(z,ne,me,Se){a.registerHelper(z,ne,Se),ee[z]._global.push({pred:me,val:Se})}}function Nf(a,b,ee,z,ne){var me=b,Se=ee,Qe=Xt(a,b.line),Re=ne&&a.direction=="rtl"?-ee:ee;function Ye(){var Ui=b.line+Re;return Ui=a.first+a.size?!1:(b=new ft(Ui,b.ch,b.sticky),Qe=Xt(a,Ui))}function rn(Ui){var Ei;if(z=="codepoint"){var Hi=Qe.text.charCodeAt(b.ch+(z>0?0:-1));isNaN(Hi)?Ei=null:Ei=new ft(b.line,Math.max(0,Math.min(Qe.text.length,b.ch+ee*(Hi>=55296&&Hi<56320?2:1))),-ee)}else ne?Ei=yh(a.cm,Qe,b,ee):Ei=vh(Qe,b,ee);if(Ei==null)if(!Ui&&Ye())b=Sf(ne,a.cm,Qe,b.line,Re);else return!1;else b=Ei;return!0}if(z=="char"||z=="codepoint")rn();else if(z=="column")rn(!0);else if(z=="word"||z=="group")for(var gn=null,tr=z=="group",$n=a.cm&&a.cm.getHelper(b,"wordChars"),Nr=!0;!(ee<0&&!rn(!Nr));Nr=!1){var ni=Qe.text.charAt(b.ch)||` `,di=Ie(ni,$n)?"w":tr&&ni==` `?"n":!tr||/\s/.test(ni)?null:"p";if(tr&&!Nr&&!di&&(di="s"),gn&&gn!=di){ee<0&&(ee=1,rn(),b.sticky="after");break}if(di&&(gn=di),ee>0&&!rn(!Nr))break}var Ci=dd(a,b,me,Se,!0);return Fn(me,Ci)&&(Ci.hitSide=!0),Ci}function Dp(a,b,ee,z){var ne=a.doc,me=b.left,Se;if(z=="page"){var Qe=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Re=Math.max(Qe-.5*FA(a.display),3);Se=(ee>0?b.bottom:b.top)+ee*Re}else z=="line"&&(Se=ee>0?b.bottom+3:b.top-3);for(var Ye;Ye=xa(a,me,Se),!!Ye.outside;){if(ee<0?Se<=0:Se>=ne.height){Ye.hitSide=!0;break}Se+=ee*5}return Ye}var _a=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new xe,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};_a.prototype.init=function(a){var b=this,ee=this,z=ee.cm,ne=ee.div=a.lineDiv;Sh(ne,z.options.spellcheck,z.options.autocorrect,z.options.autocapitalize);function me(Qe){for(var Re=Qe.target;Re;Re=Re.parentNode){if(Re==ne)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Re.className))break}return!1}nn(ne,"paste",function(Qe){!me(Qe)||un(z,Qe)||Hc(Qe,z)||at<=11&&setTimeout(Ls(z,function(){return b.updateFromDOM()}),20)}),nn(ne,"compositionstart",function(Qe){b.composing={data:Qe.data,done:!1}}),nn(ne,"compositionupdate",function(Qe){b.composing||(b.composing={data:Qe.data,done:!1})}),nn(ne,"compositionend",function(Qe){b.composing&&(Qe.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),nn(ne,"touchstart",function(){return ee.forceCompositionEnd()}),nn(ne,"input",function(){b.composing||b.readFromDOMSoon()});function Se(Qe){if(!(!me(Qe)||un(z,Qe))){if(z.somethingSelected())Uf({lineWise:!1,text:z.getSelections()}),Qe.type=="cut"&&z.replaceSelection("",null,"cut");else if(z.options.lineWiseCopyCut){var Re=Eh(z);Uf({lineWise:!0,text:Re.text}),Qe.type=="cut"&&z.operation(function(){z.setSelections(Re.ranges,0,Ze),z.replaceSelection("",null,"cut")})}else return;if(Qe.clipboardData){Qe.clipboardData.clearData();var Ye=gl.text.join(` `);if(Qe.clipboardData.setData("Text",Ye),Qe.clipboardData.getData("Text")==Ye){Qe.preventDefault();return}}var rn=gg(),gn=rn.firstChild;z.display.lineSpace.insertBefore(rn,z.display.lineSpace.firstChild),gn.value=gl.text.join(` `);var tr=document.activeElement;$e(gn),setTimeout(function(){z.display.lineSpace.removeChild(rn),tr.focus(),tr==ne&&ee.showPrimarySelection()},50)}}nn(ne,"copy",Se),nn(ne,"cut",Se)},_a.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},_a.prototype.prepareSelection=function(){var a=Fl(this.cm,!1);return a.focus=document.activeElement==this.div,a},_a.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},_a.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},_a.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ee=b.doc.sel.primary(),z=ee.from(),ne=ee.to();if(b.display.viewTo==b.display.viewFrom||z.line>=b.display.viewTo||ne.line=b.display.viewFrom&&Ou(b,z)||{node:Qe[0].measure.map[2],offset:0},Ye=ne.linea.firstLine()&&(z=ft(z.line-1,Xt(a.doc,z.line-1).length)),ne.ch==Xt(a.doc,ne.line).text.length&&ne.lineb.viewTo-1)return!1;var me,Se,Qe;z.line==b.viewFrom||(me=Zu(a,z.line))==0?(Se=Lt(b.view[0].line),Qe=b.view[0].node):(Se=Lt(b.view[me].line),Qe=b.view[me-1].node.nextSibling);var Re=Zu(a,ne.line),Ye,rn;if(Re==b.view.length-1?(Ye=b.viewTo-1,rn=b.lineDiv.lastChild):(Ye=Lt(b.view[Re+1].line)-1,rn=b.view[Re+1].node.previousSibling),!Qe)return!1;for(var gn=a.doc.splitLines(Du(a,Qe,rn,Se,Ye)),tr=Kn(a.doc,ft(Se,0),ft(Ye,Xt(a.doc,Ye).text.length));gn.length>1&&tr.length>1;)if(ct(gn)==ct(tr))gn.pop(),tr.pop(),Ye--;else if(gn[0]==tr[0])gn.shift(),tr.shift(),Se++;else break;for(var $n=0,Nr=0,ni=gn[0],di=tr[0],Ci=Math.min(ni.length,di.length);$nz.ch&&Ui.charCodeAt(Ui.length-Nr-1)==Ei.charCodeAt(Ei.length-Nr-1);)$n--,Nr++;gn[gn.length-1]=Ui.slice(0,Ui.length-Nr).replace(/^\u200b+/,""),gn[0]=gn[0].slice($n).replace(/\u200b+$/,"");var lo=ft(Se,$n),Ji=ft(Ye,tr.length?ct(tr).length-Nr:0);if(gn.length>1||gn[0]||Gt(lo,Ji))return rc(a.doc,gn,lo,Ji,"+input"),!0},_a.prototype.ensurePolled=function(){this.forceCompositionEnd()},_a.prototype.reset=function(){this.forceCompositionEnd()},_a.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},_a.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},_a.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&LA(this.cm,function(){return Ws(a.cm)})},_a.prototype.setUneditable=function(a){a.contentEditable="false"},_a.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Ls(this.cm,Of)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},_a.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},_a.prototype.onContextMenu=function(){},_a.prototype.resetPosition=function(){},_a.prototype.needsContentAttribute=!0;function Ou(a,b){var ee=$A(a,b.line);if(!ee||ee.hidden)return null;var z=Xt(a.doc,b.line),ne=gs(ee,z,b.line),me=ar(z,a.doc.direction),Se="left";if(me){var Qe=Sn(me,b.ch);Se=Qe%2?"right":"left"}var Re=rd(ne.map,b.ch,Se);return Re.offset=Re.collapse=="right"?Re.end:Re.start,Re}function mg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Xa(a,b){return b&&(a.bad=!0),a}function Du(a,b,ee,z,ne){var me="",Se=!1,Qe=a.doc.lineSeparator(),Re=!1;function Ye($n){return function(Nr){return Nr.id==$n}}function rn(){Se&&(me+=Qe,Re&&(me+=Qe),Se=Re=!1)}function gn($n){$n&&(rn(),me+=$n)}function tr($n){if($n.nodeType==1){var Nr=$n.getAttribute("cm-text");if(Nr){gn(Nr);return}var ni=$n.getAttribute("cm-marker"),di;if(ni){var Ci=a.findMarks(ft(z,0),ft(ne+1,0),Ye(+ni));Ci.length&&(di=Ci[0].find(0))&&gn(Kn(a.doc,di.from,di.to).join(Qe));return}if($n.getAttribute("contenteditable")=="false")return;var Ui=/^(pre|div|p|li|table|br)$/i.test($n.nodeName);if(!/^br$/i.test($n.nodeName)&&$n.textContent.length==0)return;Ui&&rn();for(var Ei=0;Ei<$n.childNodes.length;Ei++)tr($n.childNodes[Ei]);/^(pre|p)$/i.test($n.nodeName)&&(Re=!0),Ui&&(Se=!0)}else $n.nodeType==3&&gn($n.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;tr(b),b!=ee;)b=b.nextSibling,Re=!1;return me}function zl(a,b,ee){var z;if(b==a.display.lineDiv){if(z=a.display.lineDiv.childNodes[ee],!z)return Xa(a.clipPos(ft(a.display.viewTo-1)),!0);b=null,ee=0}else for(z=b;;z=z.parentNode){if(!z||z==a.display.lineDiv)return null;if(z.parentNode&&z.parentNode==a.display.lineDiv)break}for(var ne=0;ne=9&&b.hasSelection&&(b.hasSelection=null),ee.poll()}),nn(ne,"paste",function(Se){un(z,Se)||Hc(Se,z)||(z.state.pasteIncoming=+new Date,ee.fastPoll())});function me(Se){if(!un(z,Se)){if(z.somethingSelected())Uf({lineWise:!1,text:z.getSelections()});else if(z.options.lineWiseCopyCut){var Qe=Eh(z);Uf({lineWise:!0,text:Qe.text}),Se.type=="cut"?z.setSelections(Qe.ranges,null,Ze):(ee.prevInput="",ne.value=Qe.text.join(` `),$e(ne))}else return;Se.type=="cut"&&(z.state.cutIncoming=+new Date)}}nn(ne,"cut",me),nn(ne,"copy",me),nn(a.scroller,"paste",function(Se){if(!(Is(a,Se)||un(z,Se))){if(!ne.dispatchEvent){z.state.pasteIncoming=+new Date,ee.focus();return}var Qe=new Event("paste");Qe.clipboardData=Se.clipboardData,ne.dispatchEvent(Qe)}}),nn(a.lineSpace,"selectstart",function(Se){Is(a,Se)||An(Se)}),nn(ne,"compositionstart",function(){var Se=z.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:Se,range:z.markText(Se,z.getCursor("to"),{className:"CodeMirror-composing"})}}),nn(ne,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Ra.prototype.createField=function(a){this.wrapper=gg(),this.textarea=this.wrapper.firstChild},Ra.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},Ra.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ee=a.doc,z=Fl(a);if(a.options.moveInputWithCursor){var ne=aA(a,ee.sel.primary().head,"div"),me=b.wrapper.getBoundingClientRect(),Se=b.lineDiv.getBoundingClientRect();z.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ne.top+Se.top-me.top)),z.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ne.left+Se.left-me.left))}return z},Ra.prototype.showSelection=function(a){var b=this.cm,ee=b.display;Pt(ee.cursorDiv,a.cursors),Pt(ee.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Ra.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ee=b.getSelection();this.textarea.value=ee,b.state.focused&&$e(this.textarea),rt&&at>=9&&(this.hasSelection=ee)}else a||(this.prevInput=this.textarea.value="",rt&&at>=9&&(this.hasSelection=null))}},Ra.prototype.getField=function(){return this.textarea},Ra.prototype.supportsTouch=function(){return!1},Ra.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ge||lt()!=this.textarea))try{this.textarea.focus()}catch(a){}},Ra.prototype.blur=function(){this.textarea.blur()},Ra.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ra.prototype.receivedFocus=function(){this.slowPoll()},Ra.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Ra.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ee(){var z=b.poll();!z&&!a?(a=!0,b.polling.set(60,ee)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ee)},Ra.prototype.poll=function(){var a=this,b=this.cm,ee=this.textarea,z=this.prevInput;if(this.contextMenuPending||!b.state.focused||lr(ee)&&!z&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ne=ee.value;if(ne==z&&!b.somethingSelected())return!1;if(rt&&at>=9&&this.hasSelection===ne||ze&&/[\uf700-\uf7ff]/.test(ne))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var me=ne.charCodeAt(0);if(me==8203&&!z&&(z="\u200B"),me==8666)return this.reset(),this.cm.execCommand("undo")}for(var Se=0,Qe=Math.min(z.length,ne.length);Se1e3||ne.indexOf(` `)>-1?ee.value=a.prevInput="":a.prevInput=ne,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ra.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ra.prototype.onKeyPress=function(){rt&&at>=9&&(this.hasSelection=null),this.fastPoll()},Ra.prototype.onContextMenu=function(a){var b=this,ee=b.cm,z=ee.display,ne=b.textarea;b.contextMenuPending&&b.contextMenuPending();var me=Vu(ee,a),Se=z.scroller.scrollTop;if(!me||ce)return;var Qe=ee.options.resetSelectionOnContextMenu;Qe&&ee.doc.sel.contains(me)==-1&&Ls(ee,Gs)(ee.doc,Bu(me),Ze);var Re=ne.style.cssText,Ye=b.wrapper.style.cssText,rn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ne.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(a.clientY-rn.top-5)+"px; left: "+(a.clientX-rn.left-5)+`px; z-index: 1000; background: `+(rt?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var gn;Dt&&(gn=window.scrollY),z.input.focus(),Dt&&window.scrollTo(null,gn),z.input.reset(),ee.somethingSelected()||(ne.value=b.prevInput=" "),b.contextMenuPending=$n,z.selForContextMenu=ee.doc.sel,clearTimeout(z.detectingSelectAll);function tr(){if(ne.selectionStart!=null){var ni=ee.somethingSelected(),di="\u200B"+(ni?ne.value:"");ne.value="\u21DA",ne.value=di,b.prevInput=ni?"":"\u200B",ne.selectionStart=1,ne.selectionEnd=di.length,z.selForContextMenu=ee.doc.sel}}function $n(){if(b.contextMenuPending==$n&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Ye,ne.style.cssText=Re,rt&&at<9&&z.scrollbars.setScrollTop(z.scroller.scrollTop=Se),ne.selectionStart!=null)){(!rt||rt&&at<9)&&tr();var ni=0,di=function(){z.selForContextMenu==ee.doc.sel&&ne.selectionStart==0&&ne.selectionEnd>0&&b.prevInput=="\u200B"?Ls(ee,el)(ee):ni++<10?z.detectingSelectAll=setTimeout(di,500):(z.selForContextMenu=null,z.input.reset())};z.detectingSelectAll=setTimeout(di,200)}}if(rt&&at>=9&&tr(),yt){nt(a);var Nr=function(){Un(window,"mouseup",Nr),setTimeout($n,20)};nn(window,"mouseup",Nr)}else setTimeout($n,50)},Ra.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},Ra.prototype.setUneditable=function(){},Ra.prototype.needsContentAttribute=!1;function Pf(a,b){if(b=b?Qt(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ee=lt();b.autofocus=ee==a||a.getAttribute("autofocus")!=null&&ee==document.body}function z(){a.value=Qe.getValue()}var ne;if(a.form&&(nn(a.form,"submit",z),!b.leaveSubmitMethodAlone)){var me=a.form;ne=me.submit;try{var Se=me.submit=function(){z(),me.submit=ne,me.submit(),me.submit=Se}}catch(Re){}}b.finishInit=function(Re){Re.save=z,Re.getTextArea=function(){return a},Re.toTextArea=function(){Re.toTextArea=isNaN,z(),a.parentNode.removeChild(Re.getWrapperElement()),a.style.display="",a.form&&(Un(a.form,"submit",z),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ne))}},a.style.display="none";var Qe=$a(function(Re){return a.parentNode.insertBefore(Re,a.nextSibling)},b);return Qe}function su(a){a.off=Un,a.on=nn,a.wheelEventPixels=Fc,a.Doc=lA,a.splitLines=vr,a.countColumn=Te,a.findColumn=In,a.isWordChar=ye,a.Pass=mn,a.signal=Nn,a.Line=ra,a.changeEnd=Cu,a.scrollbarModel=Yu,a.Pos=ft,a.cmpPos=Gt,a.modes=_n,a.mimeModes=Ln,a.resolveMode=pr,a.getMode=Rr,a.modeExtensions=Wr,a.extendMode=Gr,a.copyState=ai,a.startState=xi,a.innerMode=ti,a.commands=Ff,a.keyMap=nu,a.keyName=mh,a.isModifierKey=gh,a.lookupKey=Lu,a.normalizeKeyMap=mp,a.StringStream=mi,a.SharedTextMarker=oc,a.TextMarker=hl,a.LineWidget=Su,a.e_preventDefault=An,a.e_stopPropagation=Qn,a.e_stop=nt,a.addClass=Fe,a.contains=wt,a.rmClass=Et,a.keyNames=Iu}hg($a),Fh($a);var Np="iter insert remove copy getEditor constructor".split(" ");for(var Id in lA.prototype)lA.prototype.hasOwnProperty(Id)&&It(Np,Id)<0&&($a.prototype[Id]=function(a){return function(){return a.apply(this.doc,arguments)}}(lA.prototype[Id]));return Ft(lA),$a.inputStyles={textarea:Ra,contenteditable:_a},$a.defineMode=function(a){!$a.defaults.mode&&a!="null"&&($a.defaults.mode=a),mr.apply(this,arguments)},$a.defineMIME=cr,$a.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),$a.defineMIME("text/plain","null"),$a.defineExtension=function(a,b){$a.prototype[a]=b},$a.defineDocExtension=function(a,b){lA.prototype[a]=b},$a.fromTextArea=Pf,su($a),$a.version="5.58.2",$a})},25419:function(gr,zn,pe){(function(oe){oe(pe(89780),pe(15525),pe(98101))})(function(oe){"use strict";oe.defineMode("markdown",function(qt,Xe){var Ht=oe.getMode(qt,"text/html"),rt=Ht.name=="null";function at(Te){if(oe.findModeByName){var xe=oe.findModeByName(Te);xe&&(Te=xe.mime||xe.mimes[0])}var It=oe.getMode(qt,Te);return It.name=="null"?null:It}Xe.highlightFormatting===void 0&&(Xe.highlightFormatting=!1),Xe.maxBlockquoteDepth===void 0&&(Xe.maxBlockquoteDepth=0),Xe.taskLists===void 0&&(Xe.taskLists=!1),Xe.strikethrough===void 0&&(Xe.strikethrough=!1),Xe.emoji===void 0&&(Xe.emoji=!1),Xe.fencedCodeBlockHighlighting===void 0&&(Xe.fencedCodeBlockHighlighting=!0),Xe.fencedCodeBlockDefaultMode===void 0&&(Xe.fencedCodeBlockDefaultMode="text/plain"),Xe.xml===void 0&&(Xe.xml=!0),Xe.tokenTypeOverrides===void 0&&(Xe.tokenTypeOverrides={});var Dt={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 Me in Dt)Dt.hasOwnProperty(Me)&&Xe.tokenTypeOverrides[Me]&&(Dt[Me]=Xe.tokenTypeOverrides[Me]);var Pe=/^([*\-_])(?:\s*\1){2,}\s*$/,ce=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ke=/^\[(x| )\](?=\s)/i,Le=Xe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ve=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ke=/^[^#!\[\]*_\\<>` "'(~:]+/,He=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ge=/^\s*\[[^\]]+?\]:.*$/,ze=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,qe=" ";function pt(Te,xe,It){return xe.f=xe.inline=It,It(Te,xe)}function Bt(Te,xe,It){return xe.f=xe.block=It,It(Te,xe)}function vt(Te){return!Te||!/\S/.test(Te.string)}function yt(Te){if(Te.linkTitle=!1,Te.linkHref=!1,Te.linkText=!1,Te.em=!1,Te.strong=!1,Te.strikethrough=!1,Te.quote=0,Te.indentedCode=!1,Te.f==Et){var xe=rt;if(!xe){var It=oe.innerMode(Ht,Te.htmlState);xe=It.mode.name=="xml"&&It.state.tagStart===null&&!It.state.context&&It.state.tokenize.isInText}xe&&(Te.f=jt,Te.block=Nt,Te.htmlState=null)}return Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,Te.prevLine=Te.thisLine,Te.thisLine={stream:null},null}function Nt(Te,xe){var It=Te.column()===xe.indentation,Cn=vt(xe.prevLine.stream),mn=xe.indentedCode,Ze=xe.prevLine.hr,Ct=xe.list!==!1,_t=(xe.listStack[xe.listStack.length-1]||0)+3;xe.indentedCode=!1;var In=xe.indentation;if(xe.indentationDiff===null&&(xe.indentationDiff=xe.indentation,Ct)){for(xe.list=null;In=4&&(mn||xe.prevLine.fencedCodeEnd||xe.prevLine.header||Cn))return Te.skipToEnd(),xe.indentedCode=!0,Dt.code;if(Te.eatSpace())return null;if(It&&xe.indentation<=_t&&(ct=Te.match(Le))&&ct[1].length<=6)return xe.quote=0,xe.header=ct[1].length,xe.thisLine.header=!0,Xe.highlightFormatting&&(xe.formatting="header"),xe.f=xe.inline,Pt(xe);if(xe.indentation<=_t&&Te.eat(">"))return xe.quote=It?1:xe.quote+1,Xe.highlightFormatting&&(xe.formatting="quote"),Te.eatSpace(),Pt(xe);if(!Wn&&!xe.setext&&It&&xe.indentation<=_t&&(ct=Te.match(ce))){var En=ct[1]?"ol":"ul";return xe.indentation=In+Te.current().length,xe.list=!0,xe.quote=0,xe.listStack.push(xe.indentation),xe.em=!1,xe.strong=!1,xe.code=!1,xe.strikethrough=!1,Xe.taskLists&&Te.match(ke,!1)&&(xe.taskList=!0),xe.f=xe.inline,Xe.highlightFormatting&&(xe.formatting=["list","list-"+En]),Pt(xe)}else{if(It&&xe.indentation<=_t&&(ct=Te.match(He,!0)))return xe.quote=0,xe.fencedEndRE=new RegExp(ct[1]+"+ *$"),xe.localMode=Xe.fencedCodeBlockHighlighting&&at(ct[2]||Xe.fencedCodeBlockDefaultMode),xe.localMode&&(xe.localState=oe.startState(xe.localMode)),xe.f=xe.block=pn,Xe.highlightFormatting&&(xe.formatting="code-block"),xe.code=-1,Pt(xe);if(xe.setext||(!xn||!Ct)&&!xe.quote&&xe.list===!1&&!xe.code&&!Wn&&!Ge.test(Te.string)&&(ct=Te.lookAhead(1))&&(ct=ct.match(Ve)))return xe.setext?(xe.header=xe.setext,xe.setext=0,Te.skipToEnd(),Xe.highlightFormatting&&(xe.formatting="header")):(xe.header=ct[0].charAt(0)=="="?1:2,xe.setext=xe.header),xe.thisLine.header=!0,xe.f=xe.inline,Pt(xe);if(Wn)return Te.skipToEnd(),xe.hr=!0,xe.thisLine.hr=!0,Dt.hr;if(Te.peek()==="[")return pt(Te,xe,Zt)}return pt(Te,xe,xe.inline)}function Et(Te,xe){var It=Ht.token(Te,xe.htmlState);if(!rt){var Cn=oe.innerMode(Ht,xe.htmlState);(Cn.mode.name=="xml"&&Cn.state.tagStart===null&&!Cn.state.context&&Cn.state.tokenize.isInText||xe.md_inside&&Te.current().indexOf(">")>-1)&&(xe.f=jt,xe.block=Nt,xe.htmlState=null)}return It}function pn(Te,xe){var It=xe.listStack[xe.listStack.length-1]||0,Cn=xe.indentation=Te.quote?xe.push(Dt.formatting+"-"+Te.formatting[It]+"-"+Te.quote):xe.push("error"))}if(Te.taskOpen)return xe.push("meta"),xe.length?xe.join(" "):null;if(Te.taskClosed)return xe.push("property"),xe.length?xe.join(" "):null;if(Te.linkHref?xe.push(Dt.linkHref,"url"):(Te.strong&&xe.push(Dt.strong),Te.em&&xe.push(Dt.em),Te.strikethrough&&xe.push(Dt.strikethrough),Te.emoji&&xe.push(Dt.emoji),Te.linkText&&xe.push(Dt.linkText),Te.code&&xe.push(Dt.code),Te.image&&xe.push(Dt.image),Te.imageAltText&&xe.push(Dt.imageAltText,"link"),Te.imageMarker&&xe.push(Dt.imageMarker)),Te.header&&xe.push(Dt.header,Dt.header+"-"+Te.header),Te.quote&&(xe.push(Dt.quote),!Xe.maxBlockquoteDepth||Xe.maxBlockquoteDepth>=Te.quote?xe.push(Dt.quote+"-"+Te.quote):xe.push(Dt.quote+"-"+Xe.maxBlockquoteDepth)),Te.list!==!1){var Cn=(Te.listStack.length-1)%3;Cn?Cn===1?xe.push(Dt.list2):xe.push(Dt.list3):xe.push(Dt.list1)}return Te.trailingSpaceNewLine?xe.push("trailing-space-new-line"):Te.trailingSpace&&xe.push("trailing-space-"+(Te.trailingSpace%2?"a":"b")),xe.length?xe.join(" "):null}function St(Te,xe){if(Te.match(Ke,!0))return Pt(xe)}function jt(Te,xe){var It=xe.text(Te,xe);if(typeof It!="undefined")return It;if(xe.list)return xe.list=null,Pt(xe);if(xe.taskList){var Cn=Te.match(ke,!0)[1]===" ";return Cn?xe.taskOpen=!0:xe.taskClosed=!0,Xe.highlightFormatting&&(xe.formatting="task"),xe.taskList=!1,Pt(xe)}if(xe.taskOpen=!1,xe.taskClosed=!1,xe.header&&Te.match(/^#+$/,!0))return Xe.highlightFormatting&&(xe.formatting="header"),Pt(xe);var mn=Te.next();if(xe.linkTitle){xe.linkTitle=!1;var Ze=mn;mn==="("&&(Ze=")"),Ze=(Ze+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ct="^\\s*(?:[^"+Ze+"\\\\]+|\\\\\\\\|\\\\.)"+Ze;if(Te.match(new RegExp(Ct),!0))return Dt.linkHref}if(mn==="`"){var _t=xe.formatting;Xe.highlightFormatting&&(xe.formatting="code"),Te.eatWhile("`");var In=Te.current().length;if(xe.code==0&&(!xe.quote||In==1))return xe.code=In,Pt(xe);if(In==xe.code){var xn=Pt(xe);return xe.code=0,xn}else return xe.formatting=_t,Pt(xe)}else if(xe.code)return Pt(xe);if(mn==="\\"&&(Te.next(),Xe.highlightFormatting)){var Wn=Pt(xe),ct=Dt.formatting+"-escape";return Wn?Wn+" "+ct:ct}if(mn==="!"&&Te.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return xe.imageMarker=!0,xe.image=!0,Xe.highlightFormatting&&(xe.formatting="image"),Pt(xe);if(mn==="["&&xe.imageMarker&&Te.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return xe.imageMarker=!1,xe.imageAltText=!0,Xe.highlightFormatting&&(xe.formatting="image"),Pt(xe);if(mn==="]"&&xe.imageAltText){Xe.highlightFormatting&&(xe.formatting="image");var Wn=Pt(xe);return xe.imageAltText=!1,xe.image=!1,xe.inline=xe.f=wt,Wn}if(mn==="["&&!xe.image)return xe.linkText&&Te.match(/^.*?\]/)||(xe.linkText=!0,Xe.highlightFormatting&&(xe.formatting="link")),Pt(xe);if(mn==="]"&&xe.linkText){Xe.highlightFormatting&&(xe.formatting="link");var Wn=Pt(xe);return xe.linkText=!1,xe.inline=xe.f=Te.match(/\(.*?\)| ?\[.*?\]/,!1)?wt:jt,Wn}if(mn==="<"&&Te.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){xe.f=xe.inline=Je,Xe.highlightFormatting&&(xe.formatting="link");var Wn=Pt(xe);return Wn?Wn+=" ":Wn="",Wn+Dt.linkInline}if(mn==="<"&&Te.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){xe.f=xe.inline=Je,Xe.highlightFormatting&&(xe.formatting="link");var Wn=Pt(xe);return Wn?Wn+=" ":Wn="",Wn+Dt.linkEmail}if(Xe.xml&&mn==="<"&&Te.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var En=Te.string.indexOf(">",Te.pos);if(En!=-1){var Rt=Te.string.substring(Te.start,En);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Rt)&&(xe.md_inside=!0)}return Te.backUp(1),xe.htmlState=oe.startState(Ht),Bt(Te,xe,Et)}if(Xe.xml&&mn==="<"&&Te.match(/^\/\w*?>/))return xe.md_inside=!1,"tag";if(mn==="*"||mn==="_"){for(var be=1,de=Te.pos==1?" ":Te.string.charAt(Te.pos-2);be<3&&Te.eat(mn);)be++;var le=Te.peek()||" ",ye=!/\s/.test(le)&&(!ze.test(le)||/\s/.test(de)||ze.test(de)),Ie=!/\s/.test(de)&&(!ze.test(de)||/\s/.test(le)||ze.test(le)),he=null,We=null;if(be%2&&(!xe.em&&ye&&(mn==="*"||!Ie||ze.test(de))?he=!0:xe.em==mn&&Ie&&(mn==="*"||!ye||ze.test(le))&&(he=!1)),be>1&&(!xe.strong&&ye&&(mn==="*"||!Ie||ze.test(de))?We=!0:xe.strong==mn&&Ie&&(mn==="*"||!ye||ze.test(le))&&(We=!1)),We!=null||he!=null){Xe.highlightFormatting&&(xe.formatting=he==null?"strong":We==null?"em":"strong em"),he===!0&&(xe.em=mn),We===!0&&(xe.strong=mn);var xn=Pt(xe);return he===!1&&(xe.em=!1),We===!1&&(xe.strong=!1),xn}}else if(mn===" "&&(Te.eat("*")||Te.eat("_"))){if(Te.peek()===" ")return Pt(xe);Te.backUp(1)}if(Xe.strikethrough){if(mn==="~"&&Te.eatWhile(mn)){if(xe.strikethrough){Xe.highlightFormatting&&(xe.formatting="strikethrough");var xn=Pt(xe);return xe.strikethrough=!1,xn}else if(Te.match(/^[^\s]/,!1))return xe.strikethrough=!0,Xe.highlightFormatting&&(xe.formatting="strikethrough"),Pt(xe)}else if(mn===" "&&Te.match(/^~~/,!0)){if(Te.peek()===" ")return Pt(xe);Te.backUp(2)}}if(Xe.emoji&&mn===":"&&Te.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){xe.emoji=!0,Xe.highlightFormatting&&(xe.formatting="emoji");var tt=Pt(xe);return xe.emoji=!1,tt}return mn===" "&&(Te.match(/^ +$/,!1)?xe.trailingSpace++:xe.trailingSpace&&(xe.trailingSpaceNewLine=!0)),Pt(xe)}function Je(Te,xe){var It=Te.next();if(It===">"){xe.f=xe.inline=jt,Xe.highlightFormatting&&(xe.formatting="link");var Cn=Pt(xe);return Cn?Cn+=" ":Cn="",Cn+Dt.linkInline}return Te.match(/^[^>]+/,!0),Dt.linkInline}function wt(Te,xe){if(Te.eatSpace())return null;var It=Te.next();return It==="("||It==="["?(xe.f=xe.inline=Fe(It==="("?")":"]"),Xe.highlightFormatting&&(xe.formatting="link-string"),xe.linkHref=!0,Pt(xe)):"error"}var lt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Fe(Te){return function(xe,It){var Cn=xe.next();if(Cn===Te){It.f=It.inline=jt,Xe.highlightFormatting&&(It.formatting="link-string");var mn=Pt(It);return It.linkHref=!1,mn}return xe.match(lt[Te]),It.linkHref=!0,Pt(It)}}function Zt(Te,xe){return Te.match(/^([^\]\\]|\\.)*\]:/,!1)?(xe.f=$e,Te.next(),Xe.highlightFormatting&&(xe.formatting="link"),xe.linkText=!0,Pt(xe)):pt(Te,xe,jt)}function $e(Te,xe){if(Te.match(/^\]:/,!0)){xe.f=xe.inline=At,Xe.highlightFormatting&&(xe.formatting="link");var It=Pt(xe);return xe.linkText=!1,It}return Te.match(/^([^\]\\]|\\.)+/,!0),Dt.linkText}function At(Te,xe){return Te.eatSpace()?null:(Te.match(/^[^\s]+/,!0),Te.peek()===void 0?xe.linkTitle=!0:Te.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),xe.f=xe.inline=jt,Dt.linkHref+" url")}var Qt={startState:function(){return{f:Nt,prevLine:{stream:null},thisLine:{stream:null},block:Nt,htmlState:null,indentation:0,inline:jt,text:St,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(Te){return{f:Te.f,prevLine:Te.prevLine,thisLine:Te.thisLine,block:Te.block,htmlState:Te.htmlState&&oe.copyState(Ht,Te.htmlState),indentation:Te.indentation,localMode:Te.localMode,localState:Te.localMode?oe.copyState(Te.localMode,Te.localState):null,inline:Te.inline,text:Te.text,formatting:!1,linkText:Te.linkText,linkTitle:Te.linkTitle,linkHref:Te.linkHref,code:Te.code,em:Te.em,strong:Te.strong,strikethrough:Te.strikethrough,emoji:Te.emoji,header:Te.header,setext:Te.setext,hr:Te.hr,taskList:Te.taskList,list:Te.list,listStack:Te.listStack.slice(0),quote:Te.quote,indentedCode:Te.indentedCode,trailingSpace:Te.trailingSpace,trailingSpaceNewLine:Te.trailingSpaceNewLine,md_inside:Te.md_inside,fencedEndRE:Te.fencedEndRE}},token:function(Te,xe){if(xe.formatting=!1,Te!=xe.thisLine.stream){if(xe.header=0,xe.hr=!1,Te.match(/^\s*$/,!0))return yt(xe),null;if(xe.prevLine=xe.thisLine,xe.thisLine={stream:Te},xe.taskList=!1,xe.trailingSpace=0,xe.trailingSpaceNewLine=!1,!xe.localState&&(xe.f=xe.block,xe.f!=Et)){var It=Te.match(/^\s*/,!0)[0].replace(/\t/g,qe).length;if(xe.indentation=It,xe.indentationDiff=null,It>0)return null}}return xe.f(Te,xe)},innerMode:function(Te){return Te.block==Et?{state:Te.htmlState,mode:Ht}:Te.localState?{state:Te.localState,mode:Te.localMode}:{state:Te,mode:Qt}},indent:function(Te,xe,It){return Te.block==Et&&Ht.indent?Ht.indent(Te.htmlState,xe,It):Te.localState&&Te.localMode.indent?Te.localMode.indent(Te.localState,xe,It):oe.Pass},blankLine:yt,getType:Pt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Qt},"xml"),oe.defineMIME("text/markdown","markdown"),oe.defineMIME("text/x-markdown","markdown")})},98101:function(gr,zn,pe){(function(oe){oe(pe(89780))})(function(oe){"use strict";oe.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 qt=0;qt-1&&Ht.substring(Dt+1,Ht.length);if(Me)return oe.findModeByExtension(Me)},oe.findModeByName=function(Ht){Ht=Ht.toLowerCase();for(var rt=0;rt0?Ke.cmdState[Ke.cmdState.length-1]:null}function at(Ke){var He=Ke.cmdState.pop();He&&He.closeBracket()}function Dt(Ke){for(var He=Ke.cmdState,Ge=He.length-1;Ge>=0;Ge--){var ze=He[Ge];if(ze.name!="DEFAULT")return ze}return{styleIdentifier:function(){return null}}}function Me(Ke,He,Ge){return function(){this.name=Ke,this.bracketNo=0,this.style=He,this.styles=Ge,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Pe={};Pe.importmodule=Me("importmodule","tag",["string","builtin"]),Pe.documentclass=Me("documentclass","tag",["","atom"]),Pe.usepackage=Me("usepackage","tag",["atom"]),Pe.begin=Me("begin","tag",["atom"]),Pe.end=Me("end","tag",["atom"]),Pe.label=Me("label","tag",["atom"]),Pe.ref=Me("ref","tag",["atom"]),Pe.eqref=Me("eqref","tag",["atom"]),Pe.cite=Me("cite","tag",["atom"]),Pe.bibitem=Me("bibitem","tag",["atom"]),Pe.Bibitem=Me("Bibitem","tag",["atom"]),Pe.RBibitem=Me("RBibitem","tag",["atom"]),Pe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function ce(Ke,He){Ke.f=He}function ke(Ke,He){var Ge;if(Ke.match(/^\\[a-zA-Z@]+/)){var ze=Ke.current().slice(1);return Ge=Pe.hasOwnProperty(ze)?Pe[ze]:Pe.DEFAULT,Ge=new Ge,Ht(He,Ge),ce(He,Ve),Ge.style}if(Ke.match(/^\\[$&%#{}_]/)||Ke.match(/^\\[,;!\/\\]/))return"tag";if(Ke.match("\\["))return ce(He,function(pt,Bt){return Le(pt,Bt,"\\]")}),"keyword";if(Ke.match("\\("))return ce(He,function(pt,Bt){return Le(pt,Bt,"\\)")}),"keyword";if(Ke.match("$$"))return ce(He,function(pt,Bt){return Le(pt,Bt,"$$")}),"keyword";if(Ke.match("$"))return ce(He,function(pt,Bt){return Le(pt,Bt,"$")}),"keyword";var qe=Ke.next();if(qe=="%")return Ke.skipToEnd(),"comment";if(qe=="}"||qe=="]"){if(Ge=rt(He),Ge)Ge.closeBracket(qe),ce(He,Ve);else return"error";return"bracket"}else return qe=="{"||qe=="["?(Ge=Pe.DEFAULT,Ge=new Ge,Ht(He,Ge),"bracket"):/\d/.test(qe)?(Ke.eatWhile(/[\w.%]/),"atom"):(Ke.eatWhile(/[\w\-_]/),Ge=Dt(He),Ge.name=="begin"&&(Ge.argument=Ke.current()),Ge.styleIdentifier())}function Le(Ke,He,Ge){if(Ke.eatSpace())return null;if(Ge&&Ke.match(Ge))return ce(He,ke),"keyword";if(Ke.match(/^\\[a-zA-Z@]+/))return"tag";if(Ke.match(/^[a-zA-Z]+/))return"variable-2";if(Ke.match(/^\\[$&%#{}_]/)||Ke.match(/^\\[,;!\/]/)||Ke.match(/^[\^_&]/))return"tag";if(Ke.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ke.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ze=Ke.next();return ze=="{"||ze=="}"||ze=="["||ze=="]"||ze=="("||ze==")"?"bracket":ze=="%"?(Ke.skipToEnd(),"comment"):"error"}function Ve(Ke,He){var Ge=Ke.peek(),ze;return Ge=="{"||Ge=="["?(ze=rt(He),ze.openBracket(Ge),Ke.eat(Ge),ce(He,ke),"bracket"):/[ \t\r]/.test(Ge)?(Ke.eat(Ge),null):(ce(He,ke),at(He),ke(Ke,He))}return{startState:function(){var Ke=Xe.inMathMode?function(He,Ge){return Le(He,Ge)}:ke;return{cmdState:[],f:Ke}},copyState:function(Ke){return{cmdState:Ke.cmdState.slice(),f:Ke.f}},token:function(Ke,He){return He.f(Ke,He)},blankLine:function(Ke){Ke.f=ke,Ke.cmdState.length=0},lineComment:"%"}}),oe.defineMIME("text/x-stex","stex"),oe.defineMIME("text/x-latex","stex")})},15525:function(gr,zn,pe){(function(oe){oe(pe(89780))})(function(oe){"use strict";var qt={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},Xe={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};oe.defineMode("xml",function(Ht,rt){var at=Ht.indentUnit,Dt={},Me=rt.htmlMode?qt:Xe;for(var Pe in Me)Dt[Pe]=Me[Pe];for(var Pe in rt)Dt[Pe]=rt[Pe];var ce,ke;function Le(Je,wt){function lt($e){return wt.tokenize=$e,$e(Je,wt)}var Fe=Je.next();if(Fe=="<")return Je.eat("!")?Je.eat("[")?Je.match("CDATA[")?lt(He("atom","]]>")):null:Je.match("--")?lt(He("comment","-->")):Je.match("DOCTYPE",!0,!0)?(Je.eatWhile(/[\w\._\-]/),lt(Ge(1))):null:Je.eat("?")?(Je.eatWhile(/[\w\._\-]/),wt.tokenize=He("meta","?>"),"meta"):(ce=Je.eat("/")?"closeTag":"openTag",wt.tokenize=Ve,"tag bracket");if(Fe=="&"){var Zt;return Je.eat("#")?Je.eat("x")?Zt=Je.eatWhile(/[a-fA-F\d]/)&&Je.eat(";"):Zt=Je.eatWhile(/[\d]/)&&Je.eat(";"):Zt=Je.eatWhile(/[\w\.\-:]/)&&Je.eat(";"),Zt?"atom":"error"}else return Je.eatWhile(/[^&<]/),null}Le.isInText=!0;function Ve(Je,wt){var lt=Je.next();if(lt==">"||lt=="/"&&Je.eat(">"))return wt.tokenize=Le,ce=lt==">"?"endTag":"selfcloseTag","tag bracket";if(lt=="=")return ce="equals",null;if(lt=="<"){wt.tokenize=Le,wt.state=Bt,wt.tagName=wt.tagStart=null;var Fe=wt.tokenize(Je,wt);return Fe?Fe+" tag error":"tag error"}else return/[\'\"]/.test(lt)?(wt.tokenize=Ke(lt),wt.stringStartCol=Je.column(),wt.tokenize(Je,wt)):(Je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ke(Je){var wt=function(lt,Fe){for(;!lt.eol();)if(lt.next()==Je){Fe.tokenize=Ve;break}return"string"};return wt.isInAttribute=!0,wt}function He(Je,wt){return function(lt,Fe){for(;!lt.eol();){if(lt.match(wt)){Fe.tokenize=Le;break}lt.next()}return Je}}function Ge(Je){return function(wt,lt){for(var Fe;(Fe=wt.next())!=null;){if(Fe=="<")return lt.tokenize=Ge(Je+1),lt.tokenize(wt,lt);if(Fe==">")if(Je==1){lt.tokenize=Le;break}else return lt.tokenize=Ge(Je-1),lt.tokenize(wt,lt)}return"meta"}}function ze(Je,wt,lt){this.prev=Je.context,this.tagName=wt,this.indent=Je.indented,this.startOfLine=lt,(Dt.doNotIndent.hasOwnProperty(wt)||Je.context&&Je.context.noIndent)&&(this.noIndent=!0)}function qe(Je){Je.context&&(Je.context=Je.context.prev)}function pt(Je,wt){for(var lt;;){if(!Je.context||(lt=Je.context.tagName,!Dt.contextGrabbers.hasOwnProperty(lt)||!Dt.contextGrabbers[lt].hasOwnProperty(wt)))return;qe(Je)}}function Bt(Je,wt,lt){return Je=="openTag"?(lt.tagStart=wt.column(),vt):Je=="closeTag"?yt:Bt}function vt(Je,wt,lt){return Je=="word"?(lt.tagName=wt.current(),ke="tag",pn):Dt.allowMissingTagName&&Je=="endTag"?(ke="tag bracket",pn(Je,wt,lt)):(ke="error",vt)}function yt(Je,wt,lt){if(Je=="word"){var Fe=wt.current();return lt.context&<.context.tagName!=Fe&&Dt.implicitlyClosed.hasOwnProperty(lt.context.tagName)&&qe(lt),lt.context&<.context.tagName==Fe||Dt.matchClosing===!1?(ke="tag",Nt):(ke="tag error",Et)}else return Dt.allowMissingTagName&&Je=="endTag"?(ke="tag bracket",Nt(Je,wt,lt)):(ke="error",Et)}function Nt(Je,wt,lt){return Je!="endTag"?(ke="error",Nt):(qe(lt),Bt)}function Et(Je,wt,lt){return ke="error",Nt(Je,wt,lt)}function pn(Je,wt,lt){if(Je=="word")return ke="attribute",Pt;if(Je=="endTag"||Je=="selfcloseTag"){var Fe=lt.tagName,Zt=lt.tagStart;return lt.tagName=lt.tagStart=null,Je=="selfcloseTag"||Dt.autoSelfClosers.hasOwnProperty(Fe)?pt(lt,Fe):(pt(lt,Fe),lt.context=new ze(lt,Fe,Zt==lt.indented)),Bt}return ke="error",pn}function Pt(Je,wt,lt){return Je=="equals"?St:(Dt.allowMissing||(ke="error"),pn(Je,wt,lt))}function St(Je,wt,lt){return Je=="string"?jt:Je=="word"&&Dt.allowUnquoted?(ke="string",pn):(ke="error",pn(Je,wt,lt))}function jt(Je,wt,lt){return Je=="string"?jt:pn(Je,wt,lt)}return{startState:function(Je){var wt={tokenize:Le,state:Bt,indented:Je||0,tagName:null,tagStart:null,context:null};return Je!=null&&(wt.baseIndent=Je),wt},token:function(Je,wt){if(!wt.tagName&&Je.sol()&&(wt.indented=Je.indentation()),Je.eatSpace())return null;ce=null;var lt=wt.tokenize(Je,wt);return(lt||ce)&<!="comment"&&(ke=null,wt.state=wt.state(ce||lt,Je,wt),ke&&(lt=ke=="error"?lt+" error":ke)),lt},indent:function(Je,wt,lt){var Fe=Je.context;if(Je.tokenize.isInAttribute)return Je.tagStart==Je.indented?Je.stringStartCol+1:Je.indented+at;if(Fe&&Fe.noIndent)return oe.Pass;if(Je.tokenize!=Ve&&Je.tokenize!=Le)return lt?lt.match(/^(\s*)/)[0].length:0;if(Je.tagName)return Dt.multilineTagIndentPastTag!==!1?Je.tagStart+Je.tagName.length+2:Je.tagStart+at*(Dt.multilineTagIndentFactor||1);if(Dt.alignCDATA&&/$/,blockCommentStart:"",configuration:Dt.htmlMode?"html":"xml",helperType:Dt.htmlMode?"html":"xml",skipAttribute:function(Je){Je.state==St&&(Je.state=pn)},xmlCurrentTag:function(Je){return Je.tagName?{name:Je.tagName,close:Je.type=="closeTag"}:null},xmlCurrentContext:function(Je){for(var wt=[],lt=Je.context;lt;lt=lt.prev)lt.tagName&&wt.push(lt.tagName);return wt.reverse()}}}),oe.defineMIME("text/xml","xml"),oe.defineMIME("application/xml","xml"),oe.mimeModes.hasOwnProperty("text/html")||oe.defineMIME("text/html",{name:"xml",htmlMode:!0})})},64270:function(gr){(function(zn,pe){gr.exports=pe()})(this,function(){"use strict";var zn=function(Ae,ie){return zn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ue){fe.__proto__=ue}||function(fe,ue){for(var Ue in ue)Object.prototype.hasOwnProperty.call(ue,Ue)&&(fe[Ue]=ue[Ue])},zn(Ae,ie)};function pe(Ae,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");zn(Ae,ie);function fe(){this.constructor=Ae}Ae.prototype=ie===null?Object.create(ie):(fe.prototype=ie.prototype,new fe)}var oe=function(){return oe=Object.assign||function(ie){for(var fe,ue=1,Ue=arguments.length;ue0&&je[je.length-1])&&(Vn[0]===6||Vn[0]===2)){fe=0;continue}if(Vn[0]===3&&(!je||Vn[1]>je[0]&&Vn[1]=55296&&Ue<=56319&&fe>10)+55296,dt%1024+56320)),(Ue+1===fe||ue.length>16384)&&(je+=String.fromCharCode.apply(String,ue),ue.length=0)}return je},ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ke=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Le=0;Le>4,er[Ue++]=(dt&15)<<4|Jt>>2,er[Ue++]=(Jt&3)<<6|Yt&63;return Vn},ze=function(Ae){for(var ie=Ae.length,fe=[],ue=0;ue>pt,Et=1<>pt,St=Nt+Pt,jt=St,Je=32,wt=jt+Je,lt=65536>>Bt,Fe=1<=0){if(ie<55296||ie>56319&&ie<=65535)return fe=this.index[ie>>pt],fe=(fe<>pt)],fe=(fe<>Bt),fe=this.index[fe],fe+=ie>>pt&Zt,fe=this.index[fe],fe=(fe<Ze?(Ue.push(!0),Jt-=Ze):Ue.push(!1),["normal","auto","loose"].indexOf(ie)!==-1&&[8208,8211,12316,12448].indexOf(je)!==-1)return ue.push(dt),fe.push(We);if(Jt===xn||Jt===de){if(dt===0)return ue.push(dt),fe.push(un);var Yt=fe[dt-1];return cr.indexOf(Yt)===-1?(ue.push(ue[dt-1]),fe.push(Yt)):(ue.push(dt),fe.push(un))}if(ue.push(dt),Jt===ir)return fe.push(ie==="strict"?en:nt);if(Jt===hr||Jt===Nn)return fe.push(un);if(Jt===$r)return je>=131072&&je<=196605||je>=196608&&je<=262141?fe.push(nt):fe.push(un);fe.push(Jt)}),[ue,fe,Ue]},Gr=function(Ae,ie,fe,ue){var Ue=ue[fe];if(Array.isArray(Ae)?Ae.indexOf(Ue)!==-1:Ae===Ue)for(var je=fe;je<=ue.length;){je++;var dt=ue[je];if(dt===ie)return!0;if(dt!==be)break}if(Ue===be)for(var je=fe;je>0;){je--;var Jt=ue[je];if(Array.isArray(Ae)?Ae.indexOf(Jt)!==-1:Ae===Jt)for(var Yt=fe;Yt<=ue.length;){Yt++;var dt=ue[Yt];if(dt===ie)return!0;if(dt!==be)break}if(Jt!==be)break}return!1},ai=function(Ae,ie){for(var fe=Ae;fe>=0;){var ue=ie[fe];if(ue===be)fe--;else return ue}return 0},ti=function(Ae,ie,fe,ue,Ue){if(fe[ue]===0)return lr;var je=ue-1;if(Array.isArray(Ue)&&Ue[je]===!0)return lr;var dt=je-1,Jt=je+1,Yt=ie[je],Vn=dt>=0?ie[dt]:0,er=ie[Jt];if(Yt===_t&&er===In)return lr;if(_n.indexOf(Yt)!==-1)return vr;if(_n.indexOf(er)!==-1||Ln.indexOf(er)!==-1)return lr;if(ai(je,ie)===En)return Dr;if(rr.get(Ae[je])===de||(Yt===Xn||Yt===Ft)&&rr.get(Ae[Jt])===de||Yt===ct||er===ct||Yt===Rt||[be,ye,he].indexOf(Yt)===-1&&er===Rt||[tt,dn,ut,ar,Un].indexOf(er)!==-1||ai(je,ie)===Sn||Gr(yn,Sn,je,ie)||Gr([tt,dn],en,je,ie)||Gr(le,le,je,ie))return lr;if(Yt===be)return Dr;if(Yt===yn||er===yn)return lr;if(er===We||Yt===We)return Dr;if([ye,he,en].indexOf(er)!==-1||Yt===Ie||Vn===Jn&&Rr.indexOf(Yt)!==-1||Yt===Un&&er===Jn||er===zt||Tn.indexOf(er)!==-1&&Yt===Mt||Tn.indexOf(Yt)!==-1&&er===Mt||Yt===ln&&[nt,Xn,Ft].indexOf(er)!==-1||[nt,Xn,Ft].indexOf(Yt)!==-1&&er===nn||Tn.indexOf(Yt)!==-1&&mr.indexOf(er)!==-1||mr.indexOf(Yt)!==-1&&Tn.indexOf(er)!==-1||[ln,nn].indexOf(Yt)!==-1&&(er===Mt||[Sn,he].indexOf(er)!==-1&&ie[Jt+1]===Mt)||[Sn,he].indexOf(Yt)!==-1&&er===Mt||Yt===Mt&&[Mt,Un,ar].indexOf(er)!==-1)return lr;if([Mt,Un,ar,tt,dn].indexOf(er)!==-1)for(var sr=je;sr>=0;){var Zr=ie[sr];if(Zr===Mt)return lr;if([Un,ar].indexOf(Zr)!==-1)sr--;else break}if([ln,nn].indexOf(er)!==-1)for(var sr=[tt,dn].indexOf(Yt)!==-1?dt:je;sr>=0;){var Zr=ie[sr];if(Zr===Mt)return lr;if([Un,ar].indexOf(Zr)!==-1)sr--;else break}if(gt===Yt&&[gt,Kt,An,Qn].indexOf(er)!==-1||[Kt,An].indexOf(Yt)!==-1&&[Kt,vn].indexOf(er)!==-1||[vn,Qn].indexOf(Yt)!==-1&&er===vn||pr.indexOf(Yt)!==-1&&[zt,nn].indexOf(er)!==-1||pr.indexOf(er)!==-1&&Yt===ln||Tn.indexOf(Yt)!==-1&&Tn.indexOf(er)!==-1||Yt===ar&&Tn.indexOf(er)!==-1||Tn.concat(Mt).indexOf(Yt)!==-1&&er===Sn&&Xr.indexOf(Ae[Jt])===-1||Tn.concat(Mt).indexOf(er)!==-1&&Yt===dn)return lr;if(Yt===Rn&&er===Rn){for(var zi=fe[je],pi=1;zi>0&&(zi--,ie[zi]===Rn);)pi++;if(pi%2!==0)return lr}return Yt===Xn&&er===Ft?lr:Dr},xi=function(Ae,ie){ie||(ie={lineBreak:"normal",wordBreak:"normal"});var fe=Wr(Ae,ie.lineBreak),ue=fe[0],Ue=fe[1],je=fe[2];(ie.wordBreak==="break-all"||ie.wordBreak==="break-word")&&(Ue=Ue.map(function(Jt){return[Mt,un,hr].indexOf(Jt)!==-1?nt:Jt}));var dt=ie.wordBreak==="keep-all"?je.map(function(Jt,Yt){return Jt&&Ae[Yt]>=19968&&Ae[Yt]<=40959}):void 0;return[ue,Ue,dt]},mi=function(){function Ae(ie,fe,ue,Ue){this.codePoints=ie,this.required=fe===vr,this.start=ue,this.end=Ue}return Ae.prototype.slice=function(){return Pe.apply(void 0,this.codePoints.slice(this.start,this.end))},Ae}(),Xt=function(Ae,ie){var fe=Me(Ae),ue=xi(fe,ie),Ue=ue[0],je=ue[1],dt=ue[2],Jt=fe.length,Yt=0,Vn=0;return{next:function(){if(Vn>=Jt)return{done:!0,value:null};for(var er=lr;Vn=qo&&Ae<=57},zr=function(Ae){return Ae>=55296&&Ae<=57343},fi=function(Ae){return Fr(Ae)||Ae>=jr&&Ae<=Sr||Ae>=ma&&Ae<=mo},vi=function(Ae){return Ae>=ma&&Ae<=Pr},to=function(Ae){return Ae>=jr&&Ae<=Ii},Zo=function(Ae){return vi(Ae)||to(Ae)},Do=function(Ae){return Ae>=Yi},ra=function(Ae){return Ae===Vt||Ae===ft||Ae===Gt},ea=function(Ae){return Zo(Ae)||Do(Ae)||Ae===si},va=function(Ae){return ea(Ae)||Fr(Ae)||Ae===ei},Aa=function(Ae){return Ae>=Bo&&Ae<=Pi||Ae===Ko||Ae>=Ua&&Ae<=Oa||Ae===Jo},Ro=function(Ae,ie){return Ae!==kt?!1:ie!==Vt},Ia=function(Ae,ie,fe){return Ae===ei?ea(ie)||Ro(ie,fe):ea(Ae)?!0:!!(Ae===kt&&Ro(Ae,ie))},qa=function(Ae,ie,fe){return Ae===go||Ae===ei?Fr(ie)?!0:ie===$i&&Fr(fe):Fr(Ae===$i?ie:Ae)},mA=function(Ae){var ie=0,fe=1;(Ae[ie]===go||Ae[ie]===ei)&&(Ae[ie]===ei&&(fe=-1),ie++);for(var ue=[];Fr(Ae[ie]);)ue.push(Ae[ie++]);var Ue=ue.length?parseInt(Pe.apply(void 0,ue),10):0;Ae[ie]===$i&&ie++;for(var je=[];Fr(Ae[ie]);)je.push(Ae[ie++]);var dt=je.length,Jt=dt?parseInt(Pe.apply(void 0,je),10):0;(Ae[ie]===Vr||Ae[ie]===Ma)&&ie++;var Yt=1;(Ae[ie]===go||Ae[ie]===ei)&&(Ae[ie]===ei&&(Yt=-1),ie++);for(var Vn=[];Fr(Ae[ie]);)Vn.push(Ae[ie++]);var er=Vn.length?parseInt(Pe.apply(void 0,Vn),10):0;return fe*(Ue+Jt*Math.pow(10,-dt))*Math.pow(10,Yt*er)},EA={type:2},qs={type:3},eA={type:4},Bl={type:13},ya={type:8},Cl={type:21},ws={type:9},tA={type:10},bs={type:11},Ts={type:12},nA={type:14},vA={type:23},es={type:1},ZA={type:25},mu={type:24},ul={type:26},ps={type:27},vu={type:28},kl={type:29},io={type:31},So={type:32},vo=function(){function Ae(){this._value=[]}return Ae.prototype.write=function(ie){this._value=this._value.concat(Me(ie))},Ae.prototype.read=function(){for(var ie=[],fe=this.consumeToken();fe!==So;)ie.push(fe),fe=this.consumeToken();return ie},Ae.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case Fn:return this.consumeStringToken(Fn);case Or:var fe=this.peekCodePoint(0),ue=this.peekCodePoint(1),Ue=this.peekCodePoint(2);if(va(fe)||Ro(ue,Ue)){var je=Ia(fe,ue,Ue)?Lr:Kn,dt=this.consumeName();return{type:5,value:dt,flags:je}}break;case kr:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),Bl;break;case Zn:return this.consumeStringToken(Zn);case Mn:return EA;case Ur:return qs;case Oo:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),nA;break;case go:if(qa(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case bo:return eA;case ei:var Jt=ie,Yt=this.peekCodePoint(0),Vn=this.peekCodePoint(1);if(qa(Jt,Yt,Vn))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(Ia(Jt,Yt,Vn))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Yt===ei&&Vn===Vi)return this.consumeCodePoint(),this.consumeCodePoint(),mu;break;case $i:if(qa(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case ot:if(this.peekCodePoint(0)===Oo)for(this.consumeCodePoint();;){var er=this.consumeCodePoint();if(er===Oo&&(er=this.consumeCodePoint(),er===ot))return this.consumeToken();if(er===Vo)return this.consumeToken()}break;case Po:return ul;case Ho:return ps;case Ki:if(this.peekCodePoint(0)===Ai&&this.peekCodePoint(1)===ei&&this.peekCodePoint(2)===ei)return this.consumeCodePoint(),this.consumeCodePoint(),ZA;break;case eo:var sr=this.peekCodePoint(0),Zr=this.peekCodePoint(1),zi=this.peekCodePoint(2);if(Ia(sr,Zr,zi)){var dt=this.consumeName();return{type:7,value:dt}}break;case Di:return vu;case kt:if(Ro(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case bi:return kl;case Fi:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),ya;break;case ki:return bs;case Zi:return Ts;case Ti:case hi:var pi=this.peekCodePoint(0),Oi=this.peekCodePoint(1);return pi===go&&(fi(Oi)||Oi===uo)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case co:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),ws;if(this.peekCodePoint(0)===co)return this.consumeCodePoint(),Cl;break;case oo:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),tA;break;case Vo:return So}return ra(ie)?(this.consumeWhiteSpace(),io):Fr(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):ea(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:Pe(ie)}},Ae.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},Ae.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},Ae.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},Ae.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],fe=this.consumeCodePoint();fi(fe)&&ie.length<6;)ie.push(fe),fe=this.consumeCodePoint();for(var ue=!1;fe===uo&&ie.length<6;)ie.push(fe),fe=this.consumeCodePoint(),ue=!0;if(ue){var Ue=parseInt(Pe.apply(void 0,ie.map(function(Yt){return Yt===uo?qo:Yt})),16),je=parseInt(Pe.apply(void 0,ie.map(function(Yt){return Yt===uo?Sr:Yt})),16);return{type:30,start:Ue,end:je}}var dt=parseInt(Pe.apply(void 0,ie),16);if(this.peekCodePoint(0)===ei&&fi(this.peekCodePoint(1))){this.consumeCodePoint(),fe=this.consumeCodePoint();for(var Jt=[];fi(fe)&&Jt.length<6;)Jt.push(fe),fe=this.consumeCodePoint();var je=parseInt(Pe.apply(void 0,Jt),16);return{type:30,start:dt,end:je}}else return{type:30,start:dt,end:dt}},Ae.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===Mn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Mn?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},Ae.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vo)return{type:22,value:""};var fe=this.peekCodePoint(0);if(fe===Zn||fe===Fn){var ue=this.consumeStringToken(this.consumeCodePoint());return ue.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vo||this.peekCodePoint(0)===Ur)?(this.consumeCodePoint(),{type:22,value:ue.value}):(this.consumeBadUrlRemnants(),vA)}for(;;){var Ue=this.consumeCodePoint();if(Ue===Vo||Ue===Ur)return{type:22,value:Pe.apply(void 0,ie)};if(ra(Ue))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vo||this.peekCodePoint(0)===Ur?(this.consumeCodePoint(),{type:22,value:Pe.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),vA);if(Ue===Fn||Ue===Zn||Ue===Mn||Aa(Ue))return this.consumeBadUrlRemnants(),vA;if(Ue===kt)if(Ro(Ue,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),vA;else ie.push(Ue)}},Ae.prototype.consumeWhiteSpace=function(){for(;ra(this.peekCodePoint(0));)this.consumeCodePoint()},Ae.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Ur||ie===Vo)return;Ro(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ae.prototype.consumeStringSlice=function(ie){for(var fe=5e4,ue="";ie>0;){var Ue=Math.min(fe,ie);ue+=Pe.apply(void 0,this._value.splice(0,Ue)),ie-=Ue}return this._value.shift(),ue},Ae.prototype.consumeStringToken=function(ie){var fe="",ue=0;do{var Ue=this._value[ue];if(Ue===Vo||Ue===void 0||Ue===ie)return fe+=this.consumeStringSlice(ue),{type:0,value:fe};if(Ue===Vt)return this._value.splice(0,ue),es;if(Ue===kt){var je=this._value[ue+1];je!==Vo&&je!==void 0&&(je===Vt?(fe+=this.consumeStringSlice(ue),ue=-1,this._value.shift()):Ro(Ue,je)&&(fe+=this.consumeStringSlice(ue),fe+=Pe(this.consumeEscapedCodePoint()),ue=-1))}ue++}while(!0)},Ae.prototype.consumeNumber=function(){var ie=[],fe=wr,ue=this.peekCodePoint(0);for((ue===go||ue===ei)&&ie.push(this.consumeCodePoint());Fr(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ue=this.peekCodePoint(0);var Ue=this.peekCodePoint(1);if(ue===$i&&Fr(Ue))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=Lt;Fr(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ue=this.peekCodePoint(0),Ue=this.peekCodePoint(1);var je=this.peekCodePoint(2);if((ue===Vr||ue===Ma)&&((Ue===go||Ue===ei)&&Fr(je)||Fr(Ue)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=Lt;Fr(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[mA(ie),fe]},Ae.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),fe=ie[0],ue=ie[1],Ue=this.peekCodePoint(0),je=this.peekCodePoint(1),dt=this.peekCodePoint(2);if(Ia(Ue,je,dt)){var Jt=this.consumeName();return{type:15,number:fe,flags:ue,unit:Jt}}return Ue===dr?(this.consumeCodePoint(),{type:16,number:fe,flags:ue}):{type:17,number:fe,flags:ue}},Ae.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(fi(ie)){for(var fe=Pe(ie);fi(this.peekCodePoint(0))&&fe.length<6;)fe+=Pe(this.consumeCodePoint());ra(this.peekCodePoint(0))&&this.consumeCodePoint();var ue=parseInt(fe,16);return ue===0||zr(ue)||ue>1114111?Xi:ue}return ie===Vo?Xi:ie},Ae.prototype.consumeName=function(){for(var ie="";;){var fe=this.consumeCodePoint();if(va(fe))ie+=Pe(fe);else if(Ro(fe,this.peekCodePoint(0)))ie+=Pe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(fe),ie}},Ae}(),Eo=function(){function Ae(ie){this._tokens=ie}return Ae.create=function(ie){var fe=new vo;return fe.write(ie),new Ae(fe.read())},Ae.parseValue=function(ie){return Ae.create(ie).parseComponentValue()},Ae.parseValues=function(ie){return Ae.create(ie).parseComponentValues()},Ae.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===31;)ie=this.consumeToken();if(ie.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var fe=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ae.prototype.parseComponentValues=function(){for(var ie=[];;){var fe=this.consumeComponentValue();if(fe.type===32)return ie;ie.push(fe),ie.push()}},Ae.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ie.type);case 19:return this.consumeFunction(ie)}return ie},Ae.prototype.consumeSimpleBlock=function(ie){for(var fe={type:ie,values:[]},ue=this.consumeToken();;){if(ue.type===32||_A(ue,ie))return fe;this.reconsumeToken(ue),fe.values.push(this.consumeComponentValue()),ue=this.consumeToken()}},Ae.prototype.consumeFunction=function(ie){for(var fe={name:ie.value,values:[],type:18};;){var ue=this.consumeToken();if(ue.type===32||ue.type===3)return fe;this.reconsumeToken(ue),fe.values.push(this.consumeComponentValue())}},Ae.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?So:ie},Ae.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},Ae}(),la=function(Ae){return Ae.type===15},Da=function(Ae){return Ae.type===17},ua=function(Ae){return Ae.type===20},rA=function(Ae){return Ae.type===0},Is=function(Ae,ie){return ua(Ae)&&Ae.value===ie},ls=function(Ae){return Ae.type!==31},iA=function(Ae){return Ae.type!==31&&Ae.type!==4},Qs=function(Ae){var ie=[],fe=[];return Ae.forEach(function(ue){if(ue.type===4){if(fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");ie.push(fe),fe=[];return}ue.type!==31&&fe.push(ue)}),fe.length&&ie.push(fe),ie},_A=function(Ae,ie){return ie===11&&Ae.type===12||ie===28&&Ae.type===29?!0:ie===2&&Ae.type===3},oA=function(Ae){return Ae.type===17||Ae.type===15},Za=function(Ae){return Ae.type===16||oA(Ae)},cl=function(Ae){return Ae.length>1?[Ae[0],Ae[1]]:[Ae[0]]},gs={type:17,number:0,flags:wr},Af={type:16,number:50,flags:wr},xl={type:16,number:100,flags:wr},$A=function(Ae,ie,fe){var ue=Ae[0],Ue=Ae[1];return[da(ue,ie),da(typeof Ue!="undefined"?Ue:ue,fe)]},da=function(Ae,ie){if(Ae.type===16)return Ae.number/100*ie;if(la(Ae))switch(Ae.unit){case"rem":case"em":return 16*Ae.number;case"px":default:return Ae.number}return Ae.number},XA="deg",lf="grad",rd="rad",Bs="turn",YA={name:"angle",parse:function(Ae,ie){if(ie.type===15)switch(ie.unit){case XA:return Math.PI*ie.number/180;case lf:return Math.PI/200*ie.number;case rd:return ie.number;case Bs:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},Hl=function(Ae){return Ae.type===15&&(Ae.unit===XA||Ae.unit===lf||Ae.unit===rd||Ae.unit===Bs)},Bc=function(Ae){var ie=Ae.filter(ua).map(function(fe){return fe.value}).join(" ");switch(ie){case"to bottom right":case"to right bottom":case"left top":case"top left":return[gs,gs];case"to top":case"bottom":return Ks(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[gs,xl];case"to right":case"left":return Ks(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[xl,xl];case"to bottom":case"top":return Ks(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[xl,gs];case"to left":case"right":return Ks(270)}return 0},Ks=function(Ae){return Math.PI*Ae/180},kA={name:"color",parse:function(Ae,ie){if(ie.type===18){var fe=Co[ie.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return fe(Ae,ie.values)}if(ie.type===5){if(ie.value.length===3){var ue=ie.value.substring(0,1),Ue=ie.value.substring(1,2),je=ie.value.substring(2,3);return _s(parseInt(ue+ue,16),parseInt(Ue+Ue,16),parseInt(je+je,16),1)}if(ie.value.length===4){var ue=ie.value.substring(0,1),Ue=ie.value.substring(1,2),je=ie.value.substring(2,3),dt=ie.value.substring(3,4);return _s(parseInt(ue+ue,16),parseInt(Ue+Ue,16),parseInt(je+je,16),parseInt(dt+dt,16)/255)}if(ie.value.length===6){var ue=ie.value.substring(0,2),Ue=ie.value.substring(2,4),je=ie.value.substring(4,6);return _s(parseInt(ue,16),parseInt(Ue,16),parseInt(je,16),1)}if(ie.value.length===8){var ue=ie.value.substring(0,2),Ue=ie.value.substring(2,4),je=ie.value.substring(4,6),dt=ie.value.substring(6,8);return _s(parseInt(ue,16),parseInt(Ue,16),parseInt(je,16),parseInt(dt,16)/255)}}if(ie.type===20){var Jt=xa[ie.value.toUpperCase()];if(typeof Jt!="undefined")return Jt}return xa.TRANSPARENT}},Ms=function(Ae){return(255&Ae)===0},Cs=function(Ae){var ie=255&Ae,fe=255&Ae>>8,ue=255&Ae>>16,Ue=255&Ae>>24;return ie<255?"rgba("+Ue+","+ue+","+fe+","+ie/255+")":"rgb("+Ue+","+ue+","+fe+")"},_s=function(Ae,ie,fe,ue){return(Ae<<24|ie<<16|fe<<8|Math.round(ue*255)<<0)>>>0},Gu=function(Ae,ie){if(Ae.type===17)return Ae.number;if(Ae.type===16){var fe=ie===3?1:255;return ie===3?Ae.number/100*fe:Math.round(Ae.number/100*fe)}return 0},uf=function(Ae,ie){var fe=ie.filter(iA);if(fe.length===3){var ue=fe.map(Gu),Ue=ue[0],je=ue[1],dt=ue[2];return _s(Ue,je,dt,1)}if(fe.length===4){var Jt=fe.map(Gu),Ue=Jt[0],je=Jt[1],dt=Jt[2],Yt=Jt[3];return _s(Ue,je,dt,Yt)}return 0};function ks(Ae,ie,fe){return fe<0&&(fe+=1),fe>=1&&(fe-=1),fe<1/6?(ie-Ae)*fe*6+Ae:fe<1/2?ie:fe<2/3?(ie-Ae)*6*(2/3-fe)+Ae:Ae}var aA=function(Ae,ie){var fe=ie.filter(iA),ue=fe[0],Ue=fe[1],je=fe[2],dt=fe[3],Jt=(ue.type===17?Ks(ue.number):YA.parse(Ae,ue))/(Math.PI*2),Yt=Za(Ue)?Ue.number/100:0,Vn=Za(je)?je.number/100:0,er=typeof dt!="undefined"&&Za(dt)?da(dt,1):1;if(Yt===0)return _s(Vn*255,Vn*255,Vn*255,1);var sr=Vn<=.5?Vn*(Yt+1):Vn+Yt-Vn*Yt,Zr=Vn*2-sr,zi=ks(Zr,sr,Jt+1/3),pi=ks(Zr,sr,Jt),Oi=ks(Zr,sr,Jt-1/3);return _s(zi*255,pi*255,Oi*255,er)},Co={hsl:aA,hsla:aA,rgb:uf,rgba:uf},Lo=function(Ae,ie){return kA.parse(Ae,Eo.create(ie).parseComponentValue())},xa={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},sA={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(fe){if(ua(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},us={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fs=function(Ae,ie){var fe=kA.parse(Ae,ie[0]),ue=ie[1];return ue&&Za(ue)?{color:fe,stop:ue}:{color:fe,stop:null}},fl=function(Ae,ie){var fe=Ae[0],ue=Ae[Ae.length-1];fe.stop===null&&(fe.stop=gs),ue.stop===null&&(ue.stop=xl);for(var Ue=[],je=0,dt=0;dtje?Ue.push(Yt):Ue.push(je),je=Yt}else Ue.push(null)}for(var Vn=null,dt=0;dtdt.optimumDistance)?{optimumCorner:Jt,optimumDistance:er}:dt},{optimumDistance:Ue?1/0:-1/0,optimumCorner:null}).optimumCorner},El=function(Ae,ie,fe,ue,Ue){var je=0,dt=0;switch(Ae.size){case 0:Ae.shape===0?je=dt=Math.min(Math.abs(ie),Math.abs(ie-ue),Math.abs(fe),Math.abs(fe-Ue)):Ae.shape===1&&(je=Math.min(Math.abs(ie),Math.abs(ie-ue)),dt=Math.min(Math.abs(fe),Math.abs(fe-Ue)));break;case 2:if(Ae.shape===0)je=dt=Math.min(cs(ie,fe),cs(ie,fe-Ue),cs(ie-ue,fe),cs(ie-ue,fe-Ue));else if(Ae.shape===1){var Jt=Math.min(Math.abs(fe),Math.abs(fe-Ue))/Math.min(Math.abs(ie),Math.abs(ie-ue)),Yt=FA(ue,Ue,ie,fe,!0),Vn=Yt[0],er=Yt[1];je=cs(Vn-ie,(er-fe)/Jt),dt=Jt*je}break;case 1:Ae.shape===0?je=dt=Math.max(Math.abs(ie),Math.abs(ie-ue),Math.abs(fe),Math.abs(fe-Ue)):Ae.shape===1&&(je=Math.max(Math.abs(ie),Math.abs(ie-ue)),dt=Math.max(Math.abs(fe),Math.abs(fe-Ue)));break;case 3:if(Ae.shape===0)je=dt=Math.max(cs(ie,fe),cs(ie,fe-Ue),cs(ie-ue,fe),cs(ie-ue,fe-Ue));else if(Ae.shape===1){var Jt=Math.max(Math.abs(fe),Math.abs(fe-Ue))/Math.max(Math.abs(ie),Math.abs(ie-ue)),sr=FA(ue,Ue,ie,fe,!1),Vn=sr[0],er=sr[1];je=cs(Vn-ie,(er-fe)/Jt),dt=Jt*je}break}return Array.isArray(Ae.size)&&(je=da(Ae.size[0],ue),dt=Ae.size.length===2?da(Ae.size[1],Ue):je),[je,dt]},Sl=function(Ae,ie){var fe=Ks(180),ue=[];return Qs(ie).forEach(function(Ue,je){if(je===0){var dt=Ue[0];if(dt.type===20&&dt.value==="to"){fe=Bc(Ue);return}else if(Hl(dt)){fe=YA.parse(Ae,dt);return}}var Jt=fs(Ae,Ue);ue.push(Jt)}),{angle:fe,stops:ue,type:1}},Cc=function(Ae,ie){var fe=Ks(180),ue=[];return Qs(ie).forEach(function(Ue,je){if(je===0){var dt=Ue[0];if(dt.type===20&&["top","left","right","bottom"].indexOf(dt.value)!==-1){fe=Bc(Ue);return}else if(Hl(dt)){fe=(YA.parse(Ae,dt)+Ks(270))%Ks(360);return}}var Jt=fs(Ae,Ue);ue.push(Jt)}),{angle:fe,stops:ue,type:1}},Yh=function(Ae,ie){var fe=Ks(180),ue=[],Ue=1,je=0,dt=3,Jt=[];return Qs(ie).forEach(function(Yt,Vn){var er=Yt[0];if(Vn===0){if(ua(er)&&er.value==="linear"){Ue=1;return}else if(ua(er)&&er.value==="radial"){Ue=2;return}}if(er.type===18){if(er.name==="from"){var sr=kA.parse(Ae,er.values[0]);ue.push({stop:gs,color:sr})}else if(er.name==="to"){var sr=kA.parse(Ae,er.values[0]);ue.push({stop:xl,color:sr})}else if(er.name==="color-stop"){var Zr=er.values.filter(iA);if(Zr.length===2){var sr=kA.parse(Ae,Zr[1]),zi=Zr[0];Da(zi)&&ue.push({stop:{type:16,number:zi.number*100,flags:zi.flags},color:sr})}}}}),Ue===1?{angle:(fe+Ks(180))%Ks(360),stops:ue,type:Ue}:{size:dt,shape:je,stops:ue,position:Jt,type:Ue}},id="closest-side",Vu="farthest-side",Zu="closest-corner",Ws="farthest-corner",Zl="circle",$l="ellipse",cf="cover",Jh="contain",wa=function(Ae,ie){var fe=0,ue=3,Ue=[],je=[];return Qs(ie).forEach(function(dt,Jt){var Yt=!0;if(Jt===0){var Vn=!1;Yt=dt.reduce(function(sr,Zr){if(Vn)if(ua(Zr))switch(Zr.value){case"center":return je.push(Af),sr;case"top":case"left":return je.push(gs),sr;case"right":case"bottom":return je.push(xl),sr}else(Za(Zr)||oA(Zr))&&je.push(Zr);else if(ua(Zr))switch(Zr.value){case Zl:return fe=0,!1;case $l:return fe=1,!1;case"at":return Vn=!0,!1;case id:return ue=0,!1;case cf:case Vu:return ue=1,!1;case Jh:case Zu:return ue=2,!1;case Ws:return ue=3,!1}else if(oA(Zr)||Za(Zr))return Array.isArray(ue)||(ue=[]),ue.push(Zr),!1;return sr},Yt)}if(Yt){var er=fs(Ae,dt);Ue.push(er)}}),{size:ue,shape:fe,stops:Ue,position:je,type:2}},IA=function(Ae,ie){var fe=0,ue=3,Ue=[],je=[];return Qs(ie).forEach(function(dt,Jt){var Yt=!0;if(Jt===0?Yt=dt.reduce(function(er,sr){if(ua(sr))switch(sr.value){case"center":return je.push(Af),!1;case"top":case"left":return je.push(gs),!1;case"right":case"bottom":return je.push(xl),!1}else if(Za(sr)||oA(sr))return je.push(sr),!1;return er},Yt):Jt===1&&(Yt=dt.reduce(function(er,sr){if(ua(sr))switch(sr.value){case Zl:return fe=0,!1;case $l:return fe=1,!1;case Jh:case id:return ue=0,!1;case Vu:return ue=1,!1;case Zu:return ue=2,!1;case cf:case Ws:return ue=3,!1}else if(oA(sr)||Za(sr))return Array.isArray(ue)||(ue=[]),ue.push(sr),!1;return er},Yt)),Yt){var Vn=fs(Ae,dt);Ue.push(Vn)}}),{size:ue,shape:fe,stops:Ue,position:je,type:2}},Fl=function(Ae){return Ae.type===1},qh=function(Ae){return Ae.type===2},Il={name:"image",parse:function(Ae,ie){if(ie.type===22){var fe={url:ie.value,type:0};return Ae.cache.addImage(ie.value),fe}if(ie.type===18){var ue=xc[ie.name];if(typeof ue=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return ue(Ae,ie.values)}throw new Error("Unsupported image type "+ie.type)}};function $d(Ae){return!(Ae.type===20&&Ae.value==="none")&&(Ae.type!==18||!!xc[Ae.name])}var xc={"linear-gradient":Sl,"-moz-linear-gradient":Cc,"-ms-linear-gradient":Cc,"-o-linear-gradient":Cc,"-webkit-linear-gradient":Cc,"radial-gradient":wa,"-moz-radial-gradient":IA,"-ms-radial-gradient":IA,"-o-radial-gradient":IA,"-webkit-radial-gradient":IA,"-webkit-gradient":Yh},od={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){if(ie.length===0)return[];var fe=ie[0];return fe.type===20&&fe.value==="none"?[]:ie.filter(function(ue){return iA(ue)&&$d(ue)}).map(function(ue){return Il.parse(Ae,ue)})}},ad={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(fe){if(ua(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ff={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ae,ie){return Qs(ie).map(function(fe){return fe.filter(Za)}).map(cl)}},dl={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ae,ie){return Qs(ie).map(function(fe){return fe.filter(ua).map(function(ue){return ue.value}).join(" ")}).map(yu)}},yu=function(Ae){switch(Ae){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},xs;(function(Ae){Ae.AUTO="auto",Ae.CONTAIN="contain",Ae.COVER="cover"})(xs||(xs={}));var Xl={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ae,ie){return Qs(ie).map(function(fe){return fe.filter($u)})}},$u=function(Ae){return ua(Ae)||Za(Ae)},Yl=function(Ae){return{name:"border-"+Ae+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Xp=Yl("top"),Jl=Yl("right"),sd=Yl("bottom"),JA=Yl("left"),wu=function(Ae){return{name:"border-radius-"+Ae,initialValue:"0 0",prefix:!1,type:1,parse:function(ie,fe){return cl(fe.filter(Za))}}},Xg=wu("top-left"),Ll=wu("top-right"),HA=wu("bottom-right"),AA=wu("bottom-left"),Ea=function(Ae){return{name:"border-"+Ae+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ie,fe){switch(fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ul=Ea("top"),Xu=Ea("right"),bu=Ea("bottom"),Rl=Ea("left"),jl=function(Ae){return{name:"border-"+Ae+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,fe){return la(fe)?fe.number:0}}},Ad=jl("top"),Yu=jl("right"),ep=jl("bottom"),Yp=jl("left"),yA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ol={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"rtl":return 1;case"ltr":default:return 0}}},Jp={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(ua).reduce(function(fe,ue){return fe|qp(ue.value)},0)}},qp=function(Ae){switch(Ae){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},df={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},tp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ae,ie){return ie.type===20&&ie.value==="normal"?0:ie.type===17||ie.type===15?ie.number:0}},hf;(function(Ae){Ae.NORMAL="normal",Ae.STRICT="strict"})(hf||(hf={}));var eg={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"strict":return hf.STRICT;case"normal":default:return hf.NORMAL}}},LA={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ls=function(Ae,ie){return ua(Ae)&&Ae.value==="normal"?1.2*ie:Ae.type===17?ie*Ae.number:Za(Ae)?da(Ae,ie):ie},wA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ae,ie){return ie.type===20&&ie.value==="none"?null:Il.parse(Ae,ie)}},Hs={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"inside":return 0;case"outside":default:return 1}}},Ju={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},ld=function(Ae){return{name:"margin-"+Ae,initialValue:"0",prefix:!1,type:4}},ud=ld("top"),tg=ld("right"),ng=ld("bottom"),rg=ld("left"),Xd={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(ua).map(function(fe){switch(fe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},np={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ec=function(Ae){return{name:"padding-"+Ae,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},ig=Ec("top"),qu=Ec("right"),Yd=Ec("bottom"),rp=Ec("left"),ip={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Sc={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Jd={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){return ie.length===1&&Is(ie[0],"none")?[]:Qs(ie).map(function(fe){for(var ue={color:xa.TRANSPARENT,offsetX:gs,offsetY:gs,blur:gs},Ue=0,je=0;je1?1:0],this.overflowWrap=Qi(ie,np,fe.overflowWrap),this.paddingTop=Qi(ie,ig,fe.paddingTop),this.paddingRight=Qi(ie,qu,fe.paddingRight),this.paddingBottom=Qi(ie,Yd,fe.paddingBottom),this.paddingLeft=Qi(ie,rp,fe.paddingLeft),this.paintOrder=Qi(ie,Ag,fe.paintOrder),this.position=Qi(ie,Sc,fe.position),this.textAlign=Qi(ie,ip,fe.textAlign),this.textDecorationColor=Qi(ie,sp,(ue=fe.textDecorationColor)!==null&&ue!==void 0?ue:fe.color),this.textDecorationLine=Qi(ie,ag,(Ue=fe.textDecorationLine)!==null&&Ue!==void 0?Ue:fe.textDecoration),this.textShadow=Qi(ie,Jd,fe.textShadow),this.textTransform=Qi(ie,ql,fe.textTransform),this.transform=Qi(ie,og,fe.transform),this.transformOrigin=Qi(ie,RA,fe.transformOrigin),this.visibility=Qi(ie,Na,fe.visibility),this.webkitTextStrokeColor=Qi(ie,lg,fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Qi(ie,eu,fe.webkitTextStrokeWidth),this.wordBreak=Qi(ie,Bu,fe.wordBreak),this.zIndex=Qi(ie,Cu,fe.zIndex)}return Ae.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ae.prototype.isTransparent=function(){return Ms(this.backgroundColor)},Ae.prototype.isTransformed=function(){return this.transform!==null},Ae.prototype.isPositioned=function(){return this.position!==0},Ae.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ae.prototype.isFloating=function(){return this.float!==0},Ae.prototype.isInlineLevel=function(){return Us(this.display,4)||Us(this.display,33554432)||Us(this.display,268435456)||Us(this.display,536870912)||Us(this.display,67108864)||Us(this.display,134217728)},Ae}(),cp=function(){function Ae(ie,fe){this.content=Qi(ie,Ap,fe.content),this.quotes=Qi(ie,lp,fe.quotes)}return Ae}(),rh=function(){function Ae(ie,fe){this.counterIncrement=Qi(ie,sg,fe.counterIncrement),this.counterReset=Qi(ie,fd,fe.counterReset)}return Ae}(),Qi=function(Ae,ie,fe){var ue=new vo,Ue=fe!==null&&typeof fe!="undefined"?fe.toString():ie.initialValue;ue.write(Ue);var je=new Eo(ue.read());switch(ie.type){case 2:var dt=je.parseComponentValue();return ie.parse(Ae,ua(dt)?dt.value:ie.initialValue);case 0:return ie.parse(Ae,je.parseComponentValue());case 1:return ie.parse(Ae,je.parseComponentValues());case 4:return je.parseComponentValue();case 3:switch(ie.format){case"angle":return YA.parse(Ae,je.parseComponentValue());case"color":return kA.parse(Ae,je.parseComponentValue());case"image":return Il.parse(Ae,je.parseComponentValue());case"length":var Jt=je.parseComponentValue();return oA(Jt)?Jt:gs;case"length-percentage":var Yt=je.parseComponentValue();return Za(Yt)?Yt:gs;case"time":return qd.parse(Ae,je.parseComponentValue())}break}},ec="data-html2canvas-debug",ih=function(Ae){var ie=Ae.getAttribute(ec);switch(ie){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Uc=function(Ae,ie){var fe=ih(Ae);return fe===1||ie===fe},Dl=function(){function Ae(ie,fe){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,Uc(fe,3))debugger;this.styles=new nh(ie,window.getComputedStyle(fe,null)),Ed(fe)&&(this.styles.animationDuration.some(function(ue){return ue>0})&&(fe.style.animationDuration="0s"),this.styles.transform!==null&&(fe.style.transform="none")),this.bounds=at(this.context,fe),Uc(fe,4)&&(this.flags|=16)}return Ae}(),oh="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAI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AgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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AA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",fp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tu=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),vf=0;vf>4,er[Ue++]=(dt&15)<<4|Jt>>2,er[Ue++]=(Jt&3)<<6|Yt&63;return Vn},yf=function(Ae){for(var ie=Ae.length,fe=[],ue=0;ue>Eu,el=1<>Eu,dp=sh+nc,bf=dp,Bf=32,Oc=bf+Bf,hp=65536>>tc,rc=1<=0){if(ie<55296||ie>56319&&ie<=65535)return fe=this.index[ie>>Eu],fe=(fe<>Eu)],fe=(fe<>tc),fe=this.index[fe],fe+=ie>>Eu&Ah,fe=this.index[fe],fe=(fe<=55296&&Ue<=56319&&fe>10)+55296,dt%1024+56320)),(Ue+1===fe||ue.length>16384)&&(je+=String.fromCharCode.apply(String,ue),ue.length=0)}return je},ph=Dc(oh),ba="\xD7",vd="\xF7",gp=function(Ae){return ph.get(Ae)},ug=function(Ae,ie,fe){var ue=fe-2,Ue=ie[ue],je=ie[fe-1],dt=ie[fe];if(je===Cf&&dt===hl)return ba;if(je===Cf||je===hl||je===Fu||dt===Cf||dt===hl||dt===Fu)return vd;if(je===pd&&[pd,Pc,ch,lA].indexOf(dt)!==-1||(je===ch||je===Pc)&&(dt===Pc||dt===Tc)||(je===lA||je===Tc)&&dt===Tc||dt===gd||dt===oc||dt===pp||je===uh)return ba;if(je===gd&&dt===fh){for(;Ue===oc;)Ue=ie[--ue];if(Ue===fh)return ba}if(je===md&&dt===md){for(var Jt=0;Ue===md;)Jt++,Ue=ie[--ue];if(Jt%2===0)return ba}return vd},Iu=function(Ae){var ie=dh(Ae),fe=ie.length,ue=0,Ue=0,je=ie.map(gp);return{next:function(){if(ue>=fe)return{done:!0,value:null};for(var dt=ba;uedt.x||er.y>dt.y;return dt=er,Vn===0?!0:sr});return Ae.body.removeChild(ie),Jt},nu=function(){return typeof new Image().crossOrigin!="undefined"},ac=function(){return typeof new XMLHttpRequest().responseType=="string"},mp=function(Ae){var ie=new Image,fe=Ae.createElement("canvas"),ue=fe.getContext("2d");if(!ue)return!1;ie.src="data:image/svg+xml,";try{ue.drawImage(ie,0,0),fe.toDataURL()}catch(Ue){return!1}return!0},Lu=function(Ae){return Ae[0]===0&&Ae[1]===255&&Ae[2]===0&&Ae[3]===255},gh=function(Ae){var ie=Ae.createElement("canvas"),fe=100;ie.width=fe,ie.height=fe;var ue=ie.getContext("2d");if(!ue)return Promise.reject(!1);ue.fillStyle="rgb(0, 255, 0)",ue.fillRect(0,0,fe,fe);var Ue=new Image,je=ie.toDataURL();Ue.src=je;var dt=xf(fe,fe,0,0,Ue);return ue.fillStyle="red",ue.fillRect(0,0,fe,fe),mh(dt).then(function(Jt){ue.drawImage(Jt,0,0);var Yt=ue.getImageData(0,0,fe,fe).data;ue.fillStyle="red",ue.fillRect(0,0,fe,fe);var Vn=Ae.createElement("div");return Vn.style.backgroundImage="url("+je+")",Vn.style.height=fe+"px",Lu(Yt)?mh(xf(fe,fe,0,0,Vn)):Promise.reject(!1)}).then(function(Jt){return ue.drawImage(Jt,0,0),Lu(ue.getImageData(0,0,fe,fe).data)}).catch(function(){return!1})},xf=function(Ae,ie,fe,ue,Ue){var je="http://www.w3.org/2000/svg",dt=document.createElementNS(je,"svg"),Jt=document.createElementNS(je,"foreignObject");return dt.setAttributeNS(null,"width",Ae.toString()),dt.setAttributeNS(null,"height",ie.toString()),Jt.setAttributeNS(null,"width","100%"),Jt.setAttributeNS(null,"height","100%"),Jt.setAttributeNS(null,"x",fe.toString()),Jt.setAttributeNS(null,"y",ue.toString()),Jt.setAttributeNS(null,"externalResourcesRequired","true"),dt.appendChild(Jt),Jt.appendChild(Ue),dt},mh=function(Ae){return new Promise(function(ie,fe){var ue=new Image;ue.onload=function(){return ie(ue)},ue.onerror=fe,ue.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ae))})},Es={get SUPPORT_RANGE_BOUNDS(){var Ae=wd(document);return Object.defineProperty(Es,"SUPPORT_RANGE_BOUNDS",{value:Ae}),Ae},get SUPPORT_WORD_BREAKING(){var Ae=Es.SUPPORT_RANGE_BOUNDS&&Qc(document);return Object.defineProperty(Es,"SUPPORT_WORD_BREAKING",{value:Ae}),Ae},get SUPPORT_SVG_DRAWING(){var Ae=mp(document);return Object.defineProperty(Es,"SUPPORT_SVG_DRAWING",{value:Ae}),Ae},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ae=typeof Array.from=="function"&&typeof window.fetch=="function"?gh(document):Promise.resolve(!1);return Object.defineProperty(Es,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ae}),Ae},get SUPPORT_CORS_IMAGES(){var Ae=nu();return Object.defineProperty(Es,"SUPPORT_CORS_IMAGES",{value:Ae}),Ae},get SUPPORT_RESPONSE_TYPE(){var Ae=ac();return Object.defineProperty(Es,"SUPPORT_RESPONSE_TYPE",{value:Ae}),Ae},get SUPPORT_CORS_XHR(){var Ae="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Es,"SUPPORT_CORS_XHR",{value:Ae}),Ae},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ae=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Es,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ae}),Ae}},pl=function(){function Ae(ie,fe){this.text=ie,this.bounds=fe}return Ae}(),Ef=function(Ae,ie,fe,ue){var Ue=vp(ie,fe),je=[],dt=0;return Ue.forEach(function(Jt){if(fe.textDecorationLine.length||Jt.trim().length>0)if(Es.SUPPORT_RANGE_BOUNDS){var Yt=Sf(ue,dt,Jt.length).getClientRects();if(Yt.length>1){var Vn=yh(Jt),er=0;Vn.forEach(function(Zr){je.push(new pl(Zr,rt.fromDOMRectList(Ae,Sf(ue,er+dt,Zr.length).getClientRects()))),er+=Zr.length})}else je.push(new pl(Jt,rt.fromDOMRectList(Ae,Yt)))}else{var sr=ue.splitText(Jt.length);je.push(new pl(Jt,vh(Ae,ue))),ue=sr}else Es.SUPPORT_RANGE_BOUNDS||(ue=ue.splitText(Jt.length));dt+=Jt.length}),je},vh=function(Ae,ie){var fe=ie.ownerDocument;if(fe){var ue=fe.createElement("html2canvaswrapper");ue.appendChild(ie.cloneNode(!0));var Ue=ie.parentNode;if(Ue){Ue.replaceChild(ue,ie);var je=at(Ae,ue);return ue.firstChild&&Ue.replaceChild(ue.firstChild,ue),je}}return rt.EMPTY},Sf=function(Ae,ie,fe){var ue=Ae.ownerDocument;if(!ue)throw new Error("Node has no owner document");var Ue=ue.createRange();return Ue.setStart(Ae,ie),Ue.setEnd(Ae,ie+fe),Ue},yh=function(Ae){if(Es.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ie=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ie.segment(Ae)).map(function(fe){return fe.segment})}return yd(Ae)},Ff=function(Ae,ie){if(Es.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(fe.segment(Ae)).map(function(ue){return ue.segment})}return yp(Ae,ie)},vp=function(Ae,ie){return ie.letterSpacing!==0?yh(Ae):Ff(Ae,ie)},cg=[32,160,4961,65792,65793,4153,4241],yp=function(Ae,ie){for(var fe=Xt(Ae,{lineBreak:ie.lineBreak,wordBreak:ie.overflowWrap==="break-word"?"break-word":ie.wordBreak}),ue=[],Ue,je=function(){if(Ue.value){var dt=Ue.value.slice(),Jt=Me(dt),Yt="";Jt.forEach(function(Vn){cg.indexOf(Vn)===-1?Yt+=Pe(Vn):(Yt.length&&ue.push(Yt),ue.push(Pe(Vn)),Yt="")}),Yt.length&&ue.push(Yt)}};!(Ue=fe.next()).done;)je();return ue},bd=function(){function Ae(ie,fe,ue){this.text=fg(fe.data,ue.textTransform),this.textBounds=Ef(ie,this.text,ue,fe)}return Ae}(),fg=function(Ae,ie){switch(ie){case 1:return Ae.toLowerCase();case 3:return Ae.replace(dg,If);case 2:return Ae.toUpperCase();default:return Ae}},dg=/(^|\s|:|-|\(|\))([a-z])/g,If=function(Ae,ie,fe){return Ae.length>0?ie+fe.toUpperCase():Ae},wh=function(Ae){pe(ie,Ae);function ie(fe,ue){var Ue=Ae.call(this,fe,ue)||this;return Ue.src=ue.currentSrc||ue.src,Ue.intrinsicWidth=ue.naturalWidth,Ue.intrinsicHeight=ue.naturalHeight,Ue.context.cache.addImage(Ue.src),Ue}return ie}(Dl),bh=function(Ae){pe(ie,Ae);function ie(fe,ue){var Ue=Ae.call(this,fe,ue)||this;return Ue.canvas=ue,Ue.intrinsicWidth=ue.width,Ue.intrinsicHeight=ue.height,Ue}return ie}(Dl),wp=function(Ae){pe(ie,Ae);function ie(fe,ue){var Ue=Ae.call(this,fe,ue)||this,je=new XMLSerializer,dt=at(fe,ue);return ue.setAttribute("width",dt.width+"px"),ue.setAttribute("height",dt.height+"px"),Ue.svg="data:image/svg+xml,"+encodeURIComponent(je.serializeToString(ue)),Ue.intrinsicWidth=ue.width.baseVal.value,Ue.intrinsicHeight=ue.height.baseVal.value,Ue.context.cache.addImage(Ue.svg),Ue}return ie}(Dl),Bd=function(Ae){pe(ie,Ae);function ie(fe,ue){var Ue=Ae.call(this,fe,ue)||this;return Ue.value=ue.value,Ue}return ie}(Dl),Cd=function(Ae){pe(ie,Ae);function ie(fe,ue){var Ue=Ae.call(this,fe,ue)||this;return Ue.start=ue.start,Ue.reversed=typeof ue.reversed=="boolean"&&ue.reversed===!0,Ue}return ie}(Dl),ru=[{type:15,flags:0,unit:"px",number:3}],bp=[{type:16,flags:0,number:50}],Bp=function(Ae){return Ae.width>Ae.height?new rt(Ae.left+(Ae.width-Ae.height)/2,Ae.top,Ae.height,Ae.height):Ae.width0)fe.textNodes.push(new bd(Ae,Ue,fe.styles));else if(kc(Ue))if(Eh(Ue)&&Ue.assignedNodes)Ue.assignedNodes().forEach(function(Jt){return sc(Ae,Jt,fe,ue)});else{var dt=Sp(Ae,Ue);dt.styles.isVisible()&&(Ip(Ue,dt,ue)?dt.flags|=4:Ch(dt.styles)&&(dt.flags|=2),Lf.indexOf(Ue.tagName)!==-1&&(dt.flags|=8),fe.elements.push(dt),Ue.slot,Ue.shadowRoot?sc(Ae,Ue.shadowRoot,dt,ue):!Hc(Ue)&&!Up(Ue)&&!Df(Ue)&&sc(Ae,Ue,dt,ue))}},Sp=function(Ae,ie){return Ac(ie)?new wh(Ae,ie):Op(ie)?new bh(Ae,ie):Up(ie)?new wp(Ae,ie):Lp(ie)?new Bd(Ae,ie):Sd(ie)?new Cd(Ae,ie):hg(ie)?new _c(Ae,ie):Df(ie)?new xp(Ae,ie):Hc(ie)?new Bh(Ae,ie):gl(ie)?new Ep(Ae,ie):new Dl(Ae,ie)},Fp=function(Ae,ie){var fe=Sp(Ae,ie);return fe.flags|=4,sc(Ae,ie,fe,fe),fe},Ip=function(Ae,ie,fe){return ie.styles.isPositionedWithZIndex()||ie.styles.opacity<1||ie.styles.isTransformed()||$a(Ae)&&fe.styles.isTransparent()},Ch=function(Ae){return Ae.isPositioned()||Ae.isFloating()},xh=function(Ae){return Ae.nodeType===Node.TEXT_NODE},kc=function(Ae){return Ae.nodeType===Node.ELEMENT_NODE},Ed=function(Ae){return kc(Ae)&&typeof Ae.style!="undefined"&&!ou(Ae)},ou=function(Ae){return typeof Ae.className=="object"},Lp=function(Ae){return Ae.tagName==="LI"},Sd=function(Ae){return Ae.tagName==="OL"},hg=function(Ae){return Ae.tagName==="INPUT"},pg=function(Ae){return Ae.tagName==="HTML"},Up=function(Ae){return Ae.tagName==="svg"},$a=function(Ae){return Ae.tagName==="BODY"},Op=function(Ae){return Ae.tagName==="CANVAS"},Fd=function(Ae){return Ae.tagName==="VIDEO"},Ac=function(Ae){return Ae.tagName==="IMG"},gl=function(Ae){return Ae.tagName==="IFRAME"},Uf=function(Ae){return Ae.tagName==="STYLE"},Of=function(Ae){return Ae.tagName==="SCRIPT"},Hc=function(Ae){return Ae.tagName==="TEXTAREA"},Df=function(Ae){return Ae.tagName==="SELECT"},Eh=function(Ae){return Ae.tagName==="SLOT"},Sh=function(Ae){return Ae.tagName.indexOf("-")>0},gg=function(){function Ae(){this.counters={}}return Ae.prototype.getCounterValue=function(ie){var fe=this.counters[ie];return fe&&fe.length?fe[fe.length-1]:1},Ae.prototype.getCounterValues=function(ie){var fe=this.counters[ie];return fe||[]},Ae.prototype.pop=function(ie){var fe=this;ie.forEach(function(ue){return fe.counters[ue].pop()})},Ae.prototype.parse=function(ie){var fe=this,ue=ie.counterIncrement,Ue=ie.counterReset,je=!0;ue!==null&&ue.forEach(function(Jt){var Yt=fe.counters[Jt.counter];Yt&&Jt.increment!==0&&(je=!1,Yt.length||Yt.push(1),Yt[Math.max(0,Yt.length-1)]+=Jt.increment)});var dt=[];return je&&Ue.forEach(function(Jt){var Yt=fe.counters[Jt.counter];dt.push(Jt.counter),Yt||(Yt=fe.counters[Jt.counter]=[]),Yt.push(Jt.reset)}),dt},Ae}(),Fh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Nf={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Dp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},_a={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Ou=function(Ae,ie,fe,ue,Ue,je){return Aefe?ee(Ae,Ue,je.length>0):ue.integers.reduce(function(dt,Jt,Yt){for(;Ae>=Jt;)Ae-=Jt,dt+=ue.values[Yt];return dt},"")+je},mg=function(Ae,ie,fe,ue){var Ue="";do fe||Ae--,Ue=ue(Ae)+Ue,Ae/=ie;while(Ae*ie>=ie);return Ue},Xa=function(Ae,ie,fe,ue,Ue){var je=fe-ie+1;return(Ae<0?"-":"")+(mg(Math.abs(Ae),je,ue,function(dt){return Pe(Math.floor(dt%je)+ie)})+Ue)},Du=function(Ae,ie,fe){fe===void 0&&(fe=". ");var ue=ie.length;return mg(Math.abs(Ae),ue,!1,function(Ue){return ie[Math.floor(Ue%ue)]})+fe},zl=1,au=2,Ra=4,Pf=8,su=function(Ae,ie,fe,ue,Ue,je){if(Ae<-9999||Ae>9999)return ee(Ae,4,Ue.length>0);var dt=Math.abs(Ae),Jt=Ue;if(dt===0)return ie[0]+Jt;for(var Yt=0;dt>0&&Yt<=4;Yt++){var Vn=dt%10;Vn===0&&Us(je,zl)&&Jt!==""?Jt=ie[Vn]+Jt:Vn>1||Vn===1&&Yt===0||Vn===1&&Yt===1&&Us(je,au)||Vn===1&&Yt===1&&Us(je,Ra)&&Ae>100||Vn===1&&Yt>1&&Us(je,Pf)?Jt=ie[Vn]+(Yt>0?fe[Yt-1]:"")+Jt:Vn===1&&Yt>0&&(Jt=fe[Yt-1]+Jt),dt=Math.floor(dt/10)}return(Ae<0?ue:"")+Jt},Np="\u5341\u767E\u5343\u842C",Id="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ee=function(Ae,ie,fe){var ue=fe?". ":"",Ue=fe?"\u3001":"",je=fe?", ":"",dt=fe?" ":"";switch(ie){case 0:return"\u2022"+dt;case 1:return"\u25E6"+dt;case 2:return"\u25FE"+dt;case 5:var Jt=Xa(Ae,48,57,!0,ue);return Jt.length<4?"0"+Jt:Jt;case 4:return Du(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ue);case 6:return Ou(Ae,1,3999,Fh,3,ue).toLowerCase();case 7:return Ou(Ae,1,3999,Fh,3,ue);case 8:return Xa(Ae,945,969,!1,ue);case 9:return Xa(Ae,97,122,!1,ue);case 10:return Xa(Ae,65,90,!1,ue);case 11:return Xa(Ae,1632,1641,!0,ue);case 12:case 49:return Ou(Ae,1,9999,Nf,3,ue);case 35:return Ou(Ae,1,9999,Nf,3,ue).toLowerCase();case 13:return Xa(Ae,2534,2543,!0,ue);case 14:case 30:return Xa(Ae,6112,6121,!0,ue);case 15:return Du(Ae,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ue);case 16:return Du(Ae,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ue);case 17:case 48:return su(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Np,"\u8CA0",Ue,au|Ra|Pf);case 47:return su(Ae,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Id,"\u8CA0",Ue,zl|au|Ra|Pf);case 42:return su(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Np,"\u8D1F",Ue,au|Ra|Pf);case 41:return su(Ae,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Id,"\u8D1F",Ue,zl|au|Ra|Pf);case 26:return su(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,Ue,0);case 25:return su(Ae,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,Ue,zl|au|Ra);case 31:return su(Ae,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,je,zl|au|Ra);case 33:return su(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,je,0);case 32:return su(Ae,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,je,zl|au|Ra);case 18:return Xa(Ae,2406,2415,!0,ue);case 20:return Ou(Ae,1,19999,_a,3,ue);case 21:return Xa(Ae,2790,2799,!0,ue);case 22:return Xa(Ae,2662,2671,!0,ue);case 22:return Ou(Ae,1,10999,Dp,3,ue);case 23:return Du(Ae,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Du(Ae,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Xa(Ae,3302,3311,!0,ue);case 28:return Du(Ae,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Ue);case 29:return Du(Ae,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Ue);case 34:return Xa(Ae,3792,3801,!0,ue);case 37:return Xa(Ae,6160,6169,!0,ue);case 38:return Xa(Ae,4160,4169,!0,ue);case 39:return Xa(Ae,2918,2927,!0,ue);case 40:return Xa(Ae,1776,1785,!0,ue);case 43:return Xa(Ae,3046,3055,!0,ue);case 44:return Xa(Ae,3174,3183,!0,ue);case 45:return Xa(Ae,3664,3673,!0,ue);case 46:return Xa(Ae,3872,3881,!0,ue);case 3:default:return Xa(Ae,48,57,!0,ue)}},z="data-html2canvas-ignore",ne=function(){function Ae(ie,fe,ue){if(this.context=ie,this.options=ue,this.scrolledElements=[],this.referenceElement=fe,this.counters=new gg,this.quoteDepth=0,!fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(fe.ownerDocument.documentElement,!1)}return Ae.prototype.toIFrame=function(ie,fe){var ue=this,Ue=Se(ie,fe);if(!Ue.contentWindow)return Promise.reject("Unable to find iframe window");var je=ie.defaultView.pageXOffset,dt=ie.defaultView.pageYOffset,Jt=Ue.contentWindow,Yt=Jt.document,Vn=Ye(Ue).then(function(){return qt(ue,void 0,void 0,function(){var er,sr;return Xe(this,function(Zr){switch(Zr.label){case 0:return this.scrolledElements.forEach(Nr),Jt&&(Jt.scrollTo(fe.left,fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Jt.scrollY!==fe.top||Jt.scrollX!==fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Jt.scrollX-fe.left,Jt.scrollY-fe.top,0,0))),er=this.options.onclone,sr=this.clonedReferenceElement,typeof sr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Yt.fonts&&Yt.fonts.ready?[4,Yt.fonts.ready]:[3,2];case 1:Zr.sent(),Zr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Re(Yt)]:[3,4];case 3:Zr.sent(),Zr.label=4;case 4:return typeof er=="function"?[2,Promise.resolve().then(function(){return er(Yt,sr)}).then(function(){return Ue})]:[2,Ue]}})})});return Yt.open(),Yt.write(tr(document.doctype)+""),$n(this.referenceElement.ownerDocument,je,dt),Yt.replaceChild(Yt.adoptNode(this.documentElement),Yt.documentElement),Yt.close(),Vn},Ae.prototype.createElementClone=function(ie){if(Uc(ie,2))debugger;if(Op(ie))return this.createCanvasClone(ie);if(Fd(ie))return this.createVideoClone(ie);if(Uf(ie))return this.createStyleClone(ie);var fe=ie.cloneNode(!1);return Ac(fe)&&(Ac(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(fe.src=ie.currentSrc,fe.srcset=""),fe.loading==="lazy"&&(fe.loading="eager")),Sh(fe)?this.createCustomElementClone(fe):fe},Ae.prototype.createCustomElementClone=function(ie){var fe=document.createElement("html2canvascustomelement");return gn(ie.style,fe),fe},Ae.prototype.createStyleClone=function(ie){try{var fe=ie.sheet;if(fe&&fe.cssRules){var ue=[].slice.call(fe.cssRules,0).reduce(function(je,dt){return dt&&typeof dt.cssText=="string"?je+dt.cssText:je},""),Ue=ie.cloneNode(!1);return Ue.textContent=ue,Ue}}catch(je){if(this.context.logger.error("Unable to access cssRules property",je),je.name!=="SecurityError")throw je}return ie.cloneNode(!1)},Ae.prototype.createCanvasClone=function(ie){var fe;if(this.options.inlineImages&&ie.ownerDocument){var ue=ie.ownerDocument.createElement("img");try{return ue.src=ie.toDataURL(),ue}catch(Vn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ie)}}var Ue=ie.cloneNode(!1);try{Ue.width=ie.width,Ue.height=ie.height;var je=ie.getContext("2d"),dt=Ue.getContext("2d");if(dt)if(!this.options.allowTaint&&je)dt.putImageData(je.getImageData(0,0,ie.width,ie.height),0,0);else{var Jt=(fe=ie.getContext("webgl2"))!==null&&fe!==void 0?fe:ie.getContext("webgl");if(Jt){var Yt=Jt.getContextAttributes();(Yt==null?void 0:Yt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}dt.drawImage(ie,0,0)}return Ue}catch(Vn){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return Ue},Ae.prototype.createVideoClone=function(ie){var fe=ie.ownerDocument.createElement("canvas");fe.width=ie.offsetWidth,fe.height=ie.offsetHeight;var ue=fe.getContext("2d");try{return ue&&(ue.drawImage(ie,0,0,fe.width,fe.height),this.options.allowTaint||ue.getImageData(0,0,fe.width,fe.height)),fe}catch(je){this.context.logger.info("Unable to clone video as it is tainted",ie)}var Ue=ie.ownerDocument.createElement("canvas");return Ue.width=ie.offsetWidth,Ue.height=ie.offsetHeight,Ue},Ae.prototype.appendChildNode=function(ie,fe,ue){(!kc(fe)||!Of(fe)&&!fe.hasAttribute(z)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(fe)))&&(!this.options.copyStyles||!kc(fe)||!Uf(fe))&&ie.appendChild(this.cloneNode(fe,ue))},Ae.prototype.cloneChildNodes=function(ie,fe,ue){for(var Ue=this,je=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;je;je=je.nextSibling)if(kc(je)&&Eh(je)&&typeof je.assignedNodes=="function"){var dt=je.assignedNodes();dt.length&&dt.forEach(function(Jt){return Ue.appendChildNode(fe,Jt,ue)})}else this.appendChildNode(fe,je,ue)},Ae.prototype.cloneNode=function(ie,fe){if(xh(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var ue=ie.ownerDocument.defaultView;if(ue&&kc(ie)&&(Ed(ie)||ou(ie))){var Ue=this.createElementClone(ie);Ue.style.transitionProperty="none";var je=ue.getComputedStyle(ie),dt=ue.getComputedStyle(ie,":before"),Jt=ue.getComputedStyle(ie,":after");this.referenceElement===ie&&Ed(Ue)&&(this.clonedReferenceElement=Ue),$a(Ue)&&Hi(Ue);var Yt=this.counters.parse(new rh(this.context,je)),Vn=this.resolvePseudoContent(ie,Ue,dt,me.BEFORE);Sh(ie)&&(fe=!0),Fd(ie)||this.cloneChildNodes(ie,Ue,fe),Vn&&Ue.insertBefore(Vn,Ue.firstChild);var er=this.resolvePseudoContent(ie,Ue,Jt,me.AFTER);return er&&Ue.appendChild(er),this.counters.pop(Yt),(je&&(this.options.copyStyles||ou(ie))&&!gl(ie)||fe)&&gn(je,Ue),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([Ue,ie.scrollLeft,ie.scrollTop]),(Hc(ie)||Df(ie))&&(Hc(Ue)||Df(Ue))&&(Ue.value=ie.value),Ue}return ie.cloneNode(!1)},Ae.prototype.resolvePseudoContent=function(ie,fe,ue,Ue){var je=this;if(ue){var dt=ue.content,Jt=fe.ownerDocument;if(!(!Jt||!dt||dt==="none"||dt==="-moz-alt-content"||ue.display==="none")){this.counters.parse(new rh(this.context,ue));var Yt=new cp(this.context,ue),Vn=Jt.createElement("html2canvaspseudoelement");gn(ue,Vn),Yt.content.forEach(function(sr){if(sr.type===0)Vn.appendChild(Jt.createTextNode(sr.value));else if(sr.type===22){var Zr=Jt.createElement("img");Zr.src=sr.value,Zr.style.opacity="1",Vn.appendChild(Zr)}else if(sr.type===18){if(sr.name==="attr"){var zi=sr.values.filter(ua);zi.length&&Vn.appendChild(Jt.createTextNode(ie.getAttribute(zi[0].value)||""))}else if(sr.name==="counter"){var pi=sr.values.filter(iA),Oi=pi[0],Wo=pi[1];if(Oi&&ua(Oi)){var Gi=je.counters.getCounterValue(Oi.value),Wi=Wo&&ua(Wo)?Ju.parse(je.context,Wo.value):3;Vn.appendChild(Jt.createTextNode(ee(Gi,Wi,!1)))}}else if(sr.name==="counters"){var To=sr.values.filter(iA),Oi=To[0],Xo=To[1],Wo=To[2];if(Oi&&ua(Oi)){var Fo=je.counters.getCounterValues(Oi.value),Mi=Wo&&ua(Wo)?Ju.parse(je.context,Wo.value):3,Ba=Xo&&Xo.type===0?Xo.value:"",ia=Fo.map(function(yl){return ee(yl,Mi,!1)}).join(Ba);Vn.appendChild(Jt.createTextNode(ia))}}}else if(sr.type===20)switch(sr.value){case"open-quote":Vn.appendChild(Jt.createTextNode(up(Yt.quotes,je.quoteDepth++,!0)));break;case"close-quote":Vn.appendChild(Jt.createTextNode(up(Yt.quotes,--je.quoteDepth,!1)));break;default:Vn.appendChild(Jt.createTextNode(sr.value))}}),Vn.className=Ci+" "+Ui;var er=Ue===me.BEFORE?" "+Ci:" "+Ui;return ou(fe)?fe.className.baseValue+=er:fe.className+=er,Vn}}},Ae.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},Ae}(),me;(function(Ae){Ae[Ae.BEFORE=0]="BEFORE",Ae[Ae.AFTER=1]="AFTER"})(me||(me={}));var Se=function(Ae,ie){var fe=Ae.createElement("iframe");return fe.className="html2canvas-container",fe.style.visibility="hidden",fe.style.position="fixed",fe.style.left="-10000px",fe.style.top="0px",fe.style.border="0",fe.width=ie.width.toString(),fe.height=ie.height.toString(),fe.scrolling="no",fe.setAttribute(z,"true"),Ae.body.appendChild(fe),fe},Qe=function(Ae){return new Promise(function(ie){if(Ae.complete){ie();return}if(!Ae.src){ie();return}Ae.onload=ie,Ae.onerror=ie})},Re=function(Ae){return Promise.all([].slice.call(Ae.images,0).map(Qe))},Ye=function(Ae){return new Promise(function(ie,fe){var ue=Ae.contentWindow;if(!ue)return fe("No window assigned for iframe");var Ue=ue.document;ue.onload=Ae.onload=function(){ue.onload=Ae.onload=null;var je=setInterval(function(){Ue.body.childNodes.length>0&&Ue.readyState==="complete"&&(clearInterval(je),ie(Ae))},50)}})},rn=["all","d","content"],gn=function(Ae,ie){for(var fe=Ae.length-1;fe>=0;fe--){var ue=Ae.item(fe);rn.indexOf(ue)===-1&&ie.style.setProperty(ue,Ae.getPropertyValue(ue))}return ie},tr=function(Ae){var ie="";return Ae&&(ie+=""),ie},$n=function(Ae,ie,fe){Ae&&Ae.defaultView&&(ie!==Ae.defaultView.pageXOffset||fe!==Ae.defaultView.pageYOffset)&&Ae.defaultView.scrollTo(ie,fe)},Nr=function(Ae){var ie=Ae[0],fe=Ae[1],ue=Ae[2];ie.scrollLeft=fe,ie.scrollTop=ue},ni=":before",di=":after",Ci="___html2canvas___pseudoelement_before",Ui="___html2canvas___pseudoelement_after",Ei=`{ content: "" !important; display: none !important; }`,Hi=function(Ae){lo(Ae,"."+Ci+ni+Ei+` .`+Ui+di+Ei)},lo=function(Ae,ie){var fe=Ae.ownerDocument;if(fe){var ue=fe.createElement("style");ue.textContent=ie,Ae.appendChild(ue)}},Ji=function(){function Ae(){}return Ae.getOrigin=function(ie){var fe=Ae._link;return fe?(fe.href=ie,fe.href=fe.href,fe.protocol+fe.hostname+fe.port):"about:blank"},Ae.isSameOrigin=function(ie){return Ae.getOrigin(ie)===Ae._origin},Ae.setContext=function(ie){Ae._link=ie.document.createElement("a"),Ae._origin=Ae.getOrigin(ie.location.href)},Ae._origin="about:blank",Ae}(),yo=function(){function Ae(ie,fe){this.context=ie,this._options=fe,this._cache={}}return Ae.prototype.addImage=function(ie){var fe=Promise.resolve();return this.has(ie)||(cA(ie)||uA(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),fe},Ae.prototype.match=function(ie){return this._cache[ie]},Ae.prototype.loadImage=function(ie){return qt(this,void 0,void 0,function(){var fe,ue,Ue,je,dt=this;return Xe(this,function(Jt){switch(Jt.label){case 0:return fe=Ji.isSameOrigin(ie),ue=!Rs(ie)&&this._options.useCORS===!0&&Es.SUPPORT_CORS_IMAGES&&!fe,Ue=!Rs(ie)&&!fe&&!cA(ie)&&typeof this._options.proxy=="string"&&Es.SUPPORT_CORS_XHR&&!ue,!fe&&this._options.allowTaint===!1&&!Rs(ie)&&!cA(ie)&&!Ue&&!ue?[2]:(je=ie,Ue?[4,this.proxy(je)]:[3,2]);case 1:je=Jt.sent(),Jt.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Yt,Vn){var er=new Image;er.onload=function(){return Yt(er)},er.onerror=Vn,(Ss(je)||ue)&&(er.crossOrigin="anonymous"),er.src=je,er.complete===!0&&setTimeout(function(){return Yt(er)},500),dt._options.imageTimeout>0&&setTimeout(function(){return Vn("Timed out ("+dt._options.imageTimeout+"ms) loading image")},dt._options.imageTimeout)})];case 3:return[2,Jt.sent()]}})})},Ae.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},Ae.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ae.prototype.proxy=function(ie){var fe=this,ue=this._options.proxy;if(!ue)throw new Error("No proxy defined");var Ue=ie.substring(0,256);return new Promise(function(je,dt){var Jt=Es.SUPPORT_RESPONSE_TYPE?"blob":"text",Yt=new XMLHttpRequest;Yt.onload=function(){if(Yt.status===200)if(Jt==="text")je(Yt.response);else{var sr=new FileReader;sr.addEventListener("load",function(){return je(sr.result)},!1),sr.addEventListener("error",function(Zr){return dt(Zr)},!1),sr.readAsDataURL(Yt.response)}else dt("Failed to proxy resource "+Ue+" with status code "+Yt.status)},Yt.onerror=dt;var Vn=ue.indexOf("?")>-1?"&":"?";if(Yt.open("GET",""+ue+Vn+"url="+encodeURIComponent(ie)+"&responseType="+Jt),Jt!=="text"&&Yt instanceof XMLHttpRequest&&(Yt.responseType=Jt),fe._options.imageTimeout){var er=fe._options.imageTimeout;Yt.timeout=er,Yt.ontimeout=function(){return dt("Timed out ("+er+"ms) proxying "+Ue)}}Yt.send()})},Ae}(),ja=/^data:image\/svg\+xml/i,Os=/^data:image\/.*;base64,/i,ts=/^data:image\/.*/i,uA=function(Ae){return Es.SUPPORT_SVG_DRAWING||!Vs(Ae)},Rs=function(Ae){return ts.test(Ae)},Ss=function(Ae){return Os.test(Ae)},cA=function(Ae){return Ae.substr(0,4)==="blob"},Vs=function(Ae){return Ae.substr(-3).toLowerCase()==="svg"||ja.test(Ae)},Bi=function(){function Ae(ie,fe){this.type=0,this.x=ie,this.y=fe}return Ae.prototype.add=function(ie,fe){return new Ae(this.x+ie,this.y+fe)},Ae}(),Ya=function(Ae,ie,fe){return new Bi(Ae.x+(ie.x-Ae.x)*fe,Ae.y+(ie.y-Ae.y)*fe)},ns=function(){function Ae(ie,fe,ue,Ue){this.type=1,this.start=ie,this.startControl=fe,this.endControl=ue,this.end=Ue}return Ae.prototype.subdivide=function(ie,fe){var ue=Ya(this.start,this.startControl,ie),Ue=Ya(this.startControl,this.endControl,ie),je=Ya(this.endControl,this.end,ie),dt=Ya(ue,Ue,ie),Jt=Ya(Ue,je,ie),Yt=Ya(dt,Jt,ie);return fe?new Ae(this.start,ue,dt,Yt):new Ae(Yt,Jt,je,this.end)},Ae.prototype.add=function(ie,fe){return new Ae(this.start.add(ie,fe),this.startControl.add(ie,fe),this.endControl.add(ie,fe),this.end.add(ie,fe))},Ae.prototype.reverse=function(){return new Ae(this.end,this.endControl,this.startControl,this.start)},Ae}(),rs=function(Ae){return Ae.type===1},Rc=function(){function Ae(ie){var fe=ie.styles,ue=ie.bounds,Ue=$A(fe.borderTopLeftRadius,ue.width,ue.height),je=Ue[0],dt=Ue[1],Jt=$A(fe.borderTopRightRadius,ue.width,ue.height),Yt=Jt[0],Vn=Jt[1],er=$A(fe.borderBottomRightRadius,ue.width,ue.height),sr=er[0],Zr=er[1],zi=$A(fe.borderBottomLeftRadius,ue.width,ue.height),pi=zi[0],Oi=zi[1],Wo=[];Wo.push((je+Yt)/ue.width),Wo.push((pi+sr)/ue.width),Wo.push((dt+Oi)/ue.height),Wo.push((Vn+Zr)/ue.height);var Gi=Math.max.apply(Math,Wo);Gi>1&&(je/=Gi,dt/=Gi,Yt/=Gi,Vn/=Gi,sr/=Gi,Zr/=Gi,pi/=Gi,Oi/=Gi);var Wi=ue.width-Yt,To=ue.height-Zr,Xo=ue.width-sr,Fo=ue.height-Oi,Mi=fe.borderTopWidth,Ba=fe.borderRightWidth,ia=fe.borderBottomWidth,Qo=fe.borderLeftWidth,Li=da(fe.paddingTop,ie.bounds.width),yl=da(fe.paddingRight,ie.bounds.width),Pl=da(fe.paddingBottom,ie.bounds.width),Ja=da(fe.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=je>0||dt>0?ta(ue.left+Qo/3,ue.top+Mi/3,je-Qo/3,dt-Mi/3,ha.TOP_LEFT):new Bi(ue.left+Qo/3,ue.top+Mi/3),this.topRightBorderDoubleOuterBox=je>0||dt>0?ta(ue.left+Wi,ue.top+Mi/3,Yt-Ba/3,Vn-Mi/3,ha.TOP_RIGHT):new Bi(ue.left+ue.width-Ba/3,ue.top+Mi/3),this.bottomRightBorderDoubleOuterBox=sr>0||Zr>0?ta(ue.left+Xo,ue.top+To,sr-Ba/3,Zr-ia/3,ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width-Ba/3,ue.top+ue.height-ia/3),this.bottomLeftBorderDoubleOuterBox=pi>0||Oi>0?ta(ue.left+Qo/3,ue.top+Fo,pi-Qo/3,Oi-ia/3,ha.BOTTOM_LEFT):new Bi(ue.left+Qo/3,ue.top+ue.height-ia/3),this.topLeftBorderDoubleInnerBox=je>0||dt>0?ta(ue.left+Qo*2/3,ue.top+Mi*2/3,je-Qo*2/3,dt-Mi*2/3,ha.TOP_LEFT):new Bi(ue.left+Qo*2/3,ue.top+Mi*2/3),this.topRightBorderDoubleInnerBox=je>0||dt>0?ta(ue.left+Wi,ue.top+Mi*2/3,Yt-Ba*2/3,Vn-Mi*2/3,ha.TOP_RIGHT):new Bi(ue.left+ue.width-Ba*2/3,ue.top+Mi*2/3),this.bottomRightBorderDoubleInnerBox=sr>0||Zr>0?ta(ue.left+Xo,ue.top+To,sr-Ba*2/3,Zr-ia*2/3,ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width-Ba*2/3,ue.top+ue.height-ia*2/3),this.bottomLeftBorderDoubleInnerBox=pi>0||Oi>0?ta(ue.left+Qo*2/3,ue.top+Fo,pi-Qo*2/3,Oi-ia*2/3,ha.BOTTOM_LEFT):new Bi(ue.left+Qo*2/3,ue.top+ue.height-ia*2/3),this.topLeftBorderStroke=je>0||dt>0?ta(ue.left+Qo/2,ue.top+Mi/2,je-Qo/2,dt-Mi/2,ha.TOP_LEFT):new Bi(ue.left+Qo/2,ue.top+Mi/2),this.topRightBorderStroke=je>0||dt>0?ta(ue.left+Wi,ue.top+Mi/2,Yt-Ba/2,Vn-Mi/2,ha.TOP_RIGHT):new Bi(ue.left+ue.width-Ba/2,ue.top+Mi/2),this.bottomRightBorderStroke=sr>0||Zr>0?ta(ue.left+Xo,ue.top+To,sr-Ba/2,Zr-ia/2,ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width-Ba/2,ue.top+ue.height-ia/2),this.bottomLeftBorderStroke=pi>0||Oi>0?ta(ue.left+Qo/2,ue.top+Fo,pi-Qo/2,Oi-ia/2,ha.BOTTOM_LEFT):new Bi(ue.left+Qo/2,ue.top+ue.height-ia/2),this.topLeftBorderBox=je>0||dt>0?ta(ue.left,ue.top,je,dt,ha.TOP_LEFT):new Bi(ue.left,ue.top),this.topRightBorderBox=Yt>0||Vn>0?ta(ue.left+Wi,ue.top,Yt,Vn,ha.TOP_RIGHT):new Bi(ue.left+ue.width,ue.top),this.bottomRightBorderBox=sr>0||Zr>0?ta(ue.left+Xo,ue.top+To,sr,Zr,ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width,ue.top+ue.height),this.bottomLeftBorderBox=pi>0||Oi>0?ta(ue.left,ue.top+Fo,pi,Oi,ha.BOTTOM_LEFT):new Bi(ue.left,ue.top+ue.height),this.topLeftPaddingBox=je>0||dt>0?ta(ue.left+Qo,ue.top+Mi,Math.max(0,je-Qo),Math.max(0,dt-Mi),ha.TOP_LEFT):new Bi(ue.left+Qo,ue.top+Mi),this.topRightPaddingBox=Yt>0||Vn>0?ta(ue.left+Math.min(Wi,ue.width-Ba),ue.top+Mi,Wi>ue.width+Ba?0:Math.max(0,Yt-Ba),Math.max(0,Vn-Mi),ha.TOP_RIGHT):new Bi(ue.left+ue.width-Ba,ue.top+Mi),this.bottomRightPaddingBox=sr>0||Zr>0?ta(ue.left+Math.min(Xo,ue.width-Qo),ue.top+Math.min(To,ue.height-ia),Math.max(0,sr-Ba),Math.max(0,Zr-ia),ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width-Ba,ue.top+ue.height-ia),this.bottomLeftPaddingBox=pi>0||Oi>0?ta(ue.left+Qo,ue.top+Math.min(Fo,ue.height-ia),Math.max(0,pi-Qo),Math.max(0,Oi-ia),ha.BOTTOM_LEFT):new Bi(ue.left+Qo,ue.top+ue.height-ia),this.topLeftContentBox=je>0||dt>0?ta(ue.left+Qo+Ja,ue.top+Mi+Li,Math.max(0,je-(Qo+Ja)),Math.max(0,dt-(Mi+Li)),ha.TOP_LEFT):new Bi(ue.left+Qo+Ja,ue.top+Mi+Li),this.topRightContentBox=Yt>0||Vn>0?ta(ue.left+Math.min(Wi,ue.width+Qo+Ja),ue.top+Mi+Li,Wi>ue.width+Qo+Ja?0:Yt-Qo+Ja,Vn-(Mi+Li),ha.TOP_RIGHT):new Bi(ue.left+ue.width-(Ba+yl),ue.top+Mi+Li),this.bottomRightContentBox=sr>0||Zr>0?ta(ue.left+Math.min(Xo,ue.width-(Qo+Ja)),ue.top+Math.min(To,ue.height+Mi+Li),Math.max(0,sr-(Ba+yl)),Zr-(ia+Pl),ha.BOTTOM_RIGHT):new Bi(ue.left+ue.width-(Ba+yl),ue.top+ue.height-(ia+Pl)),this.bottomLeftContentBox=pi>0||Oi>0?ta(ue.left+Qo+Ja,ue.top+Fo,Math.max(0,pi-(Qo+Ja)),Oi-(ia+Pl),ha.BOTTOM_LEFT):new Bi(ue.left+Qo+Ja,ue.top+ue.height-(ia+Pl))}return Ae}(),ha;(function(Ae){Ae[Ae.TOP_LEFT=0]="TOP_LEFT",Ae[Ae.TOP_RIGHT=1]="TOP_RIGHT",Ae[Ae.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ae[Ae.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ha||(ha={}));var ta=function(Ae,ie,fe,ue,Ue){var je=4*((Math.sqrt(2)-1)/3),dt=fe*je,Jt=ue*je,Yt=Ae+fe,Vn=ie+ue;switch(Ue){case ha.TOP_LEFT:return new ns(new Bi(Ae,Vn),new Bi(Ae,Vn-Jt),new Bi(Yt-dt,ie),new Bi(Yt,ie));case ha.TOP_RIGHT:return new ns(new Bi(Ae,ie),new Bi(Ae+dt,ie),new Bi(Yt,Vn-Jt),new Bi(Yt,Vn));case ha.BOTTOM_RIGHT:return new ns(new Bi(Yt,ie),new Bi(Yt,ie+Jt),new Bi(Ae+dt,Vn),new Bi(Ae,Vn));case ha.BOTTOM_LEFT:default:return new ns(new Bi(Yt,Vn),new Bi(Yt-dt,Vn),new Bi(Ae,ie+Jt),new Bi(Ae,ie))}},nl=function(Ae){return[Ae.topLeftBorderBox,Ae.topRightBorderBox,Ae.bottomRightBorderBox,Ae.bottomLeftBorderBox]},Zs=function(Ae){return[Ae.topLeftContentBox,Ae.topRightContentBox,Ae.bottomRightContentBox,Ae.bottomLeftContentBox]},Tf=function(Ae){return[Ae.topLeftPaddingBox,Ae.topRightPaddingBox,Ae.bottomRightPaddingBox,Ae.bottomLeftPaddingBox]},fo=function(){function Ae(ie,fe,ue){this.offsetX=ie,this.offsetY=fe,this.matrix=ue,this.type=0,this.target=6}return Ae}(),ml=function(){function Ae(ie,fe){this.path=ie,this.target=fe,this.type=1}return Ae}(),Pa=function(){function Ae(ie){this.opacity=ie,this.type=2,this.target=6}return Ae}(),$s=function(Ae){return Ae.type===0},Nu=function(Ae){return Ae.type===1},jc=function(Ae){return Ae.type===2},zc=function(Ae,ie){return Ae.length===ie.length?Ae.some(function(fe,ue){return fe===ie[ue]}):!1},Yg=function(Ae,ie,fe,ue,Ue){return Ae.map(function(je,dt){switch(dt){case 0:return je.add(ie,fe);case 1:return je.add(ie+ue,fe);case 2:return je.add(ie+ue,fe+Ue);case 3:return je.add(ie,fe+Ue)}return je})},Ih=function(){function Ae(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ae}(),vg=function(){function Ae(ie,fe){if(this.container=ie,this.parent=fe,this.effects=[],this.curves=new Rc(this.container),this.container.styles.opacity<1&&this.effects.push(new Pa(this.container.styles.opacity)),this.container.styles.transform!==null){var ue=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Ue=this.container.bounds.top+this.container.styles.transformOrigin[1].number,je=this.container.styles.transform;this.effects.push(new fo(ue,Ue,je))}if(this.container.styles.overflowX!==0){var dt=nl(this.curves),Jt=Tf(this.curves);zc(dt,Jt)?this.effects.push(new ml(dt,6)):(this.effects.push(new ml(dt,2)),this.effects.push(new ml(Jt,4)))}}return Ae.prototype.getEffects=function(ie){for(var fe=[2,3].indexOf(this.container.styles.position)===-1,ue=this.parent,Ue=this.effects.slice(0);ue;){var je=ue.effects.filter(function(Yt){return!Nu(Yt)});if(fe||ue.container.styles.position!==0||!ue.parent){if(Ue.unshift.apply(Ue,je),fe=[2,3].indexOf(ue.container.styles.position)===-1,ue.container.styles.overflowX!==0){var dt=nl(ue.curves),Jt=Tf(ue.curves);zc(dt,Jt)||Ue.unshift(new ml(Jt,6))}}else Ue.unshift.apply(Ue,je);ue=ue.parent}return Ue.filter(function(Yt){return Us(Yt.target,ie)})},Ae}(),Lh=function(Ae,ie,fe,ue){Ae.container.elements.forEach(function(Ue){var je=Us(Ue.flags,4),dt=Us(Ue.flags,2),Jt=new vg(Ue,Ae);Us(Ue.styles.display,2048)&&ue.push(Jt);var Yt=Us(Ue.flags,8)?[]:ue;if(je||dt){var Vn=je||Ue.styles.isPositioned()?fe:ie,er=new Ih(Jt);if(Ue.styles.isPositioned()||Ue.styles.opacity<1||Ue.styles.isTransformed()){var sr=Ue.styles.zIndex.order;if(sr<0){var Zr=0;Vn.negativeZIndex.some(function(pi,Oi){return sr>pi.element.container.styles.zIndex.order?(Zr=Oi,!1):Zr>0}),Vn.negativeZIndex.splice(Zr,0,er)}else if(sr>0){var zi=0;Vn.positiveZIndex.some(function(pi,Oi){return sr>=pi.element.container.styles.zIndex.order?(zi=Oi+1,!1):zi>0}),Vn.positiveZIndex.splice(zi,0,er)}else Vn.zeroOrAutoZIndexOrTransformedOrOpacity.push(er)}else Ue.styles.isFloating()?Vn.nonPositionedFloats.push(er):Vn.nonPositionedInlineLevel.push(er);Lh(Jt,er,je?er:fe,Yt)}else Ue.styles.isInlineLevel()?ie.inlineLevel.push(Jt):ie.nonInlineLevel.push(Jt),Lh(Jt,ie,fe,Yt);Us(Ue.flags,8)&&Uh(Ue,Yt)})},Uh=function(Ae,ie){for(var fe=Ae instanceof Cd?Ae.start:1,ue=Ae instanceof Cd?Ae.reversed:!1,Ue=0;Ue0&&fe.intrinsicHeight>0){var je=Tp(fe),dt=Tf(ue);this.path(dt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ue,0,0,fe.intrinsicWidth,fe.intrinsicHeight,je.left,je.top,je.width,je.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(fe){return qt(this,void 0,void 0,function(){var ue,Ue,je,dt,Jt,Yt,Wi,Wi,Vn,er,sr,Zr,Xo,zi,pi,Fo,Oi,Wo,Gi,Wi,To,Xo,Fo;return Xe(this,function(Mi){switch(Mi.label){case 0:this.applyEffects(fe.getEffects(4)),ue=fe.container,Ue=fe.curves,je=ue.styles,dt=0,Jt=ue.textNodes,Mi.label=1;case 1:return dt0&&bA>0&&(ia=je.ctx.createPattern(Fo,"repeat"),je.renderRepeat(Li,ia,GA,rl))):qh(er)&&(Qo=Pu(fe,ue,[null,null,null]),Li=Qo[0],yl=Qo[1],Pl=Qo[2],Ja=Qo[3],bA=Qo[4],lc=er.position.length===0?[Af]:er.position,GA=da(lc[0],Ja),rl=da(lc[lc.length-1],bA),Mf=El(er,GA,rl,Ja,bA),Kl=Mf[0],uc=Mf[1],Kl>0&&uc>0&&(_f=je.ctx.createRadialGradient(yl+GA,Pl+rl,0,yl+GA,Pl+rl,Kl),fl(er.stops,Kl*2).forEach(function(Xc){return _f.addColorStop(Xc.stop,Cs(Xc.color))}),je.path(Li),je.ctx.fillStyle=_f,Kl!==uc?(Zc=fe.bounds.left+.5*fe.bounds.width,Qu=fe.bounds.top+.5*fe.bounds.height,$c=uc/Kl,cc=1/$c,je.ctx.save(),je.ctx.translate(Zc,Qu),je.ctx.transform(1,0,0,$c,0,0),je.ctx.translate(-Zc,-Qu),je.ctx.fillRect(yl,cc*(Pl-Qu)+Qu,Ja,bA*cc),je.ctx.restore()):je.ctx.fill())),Od.label=6;case 6:return ue--,[2]}})},je=this,dt=0,Jt=fe.styles.backgroundImage.slice(0).reverse(),Vn.label=1;case 1:return dt0?er.style!==2?[3,5]:[4,this.renderDashedDottedBorder(er.color,er.width,Jt,fe.curves,2)]:[3,11]):[3,13];case 4:return Zr.sent(),[3,11];case 5:return er.style!==3?[3,7]:[4,this.renderDashedDottedBorder(er.color,er.width,Jt,fe.curves,3)];case 6:return Zr.sent(),[3,11];case 7:return er.style!==4?[3,9]:[4,this.renderDoubleBorder(er.color,er.width,Jt,fe.curves)];case 8:return Zr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(er.color,Jt,fe.curves)];case 10:Zr.sent(),Zr.label=11;case 11:Jt++,Zr.label=12;case 12:return Yt++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(fe,ue,Ue,je,dt){return qt(this,void 0,void 0,function(){var Jt,Yt,Vn,er,sr,Zr,zi,pi,Oi,Wo,Gi,Wi,To,Xo,Fo,Mi,Fo,Mi;return Xe(this,function(Ba){return this.ctx.save(),Jt=Jg(je,Ue),Yt=OA(je,Ue),dt===2&&(this.path(Yt),this.ctx.clip()),rs(Yt[0])?(Vn=Yt[0].start.x,er=Yt[0].start.y):(Vn=Yt[0].x,er=Yt[0].y),rs(Yt[1])?(sr=Yt[1].end.x,Zr=Yt[1].end.y):(sr=Yt[1].x,Zr=Yt[1].y),Ue===0||Ue===2?zi=Math.abs(Vn-sr):zi=Math.abs(er-Zr),this.ctx.beginPath(),dt===3?this.formatPath(Jt):this.formatPath(Yt.slice(0,2)),pi=ue<3?ue*3:ue*2,Oi=ue<3?ue*2:ue,dt===3&&(pi=ue,Oi=ue),Wo=!0,zi<=pi*2?Wo=!1:zi<=pi*2+Oi?(Gi=zi/(2*pi+Oi),pi*=Gi,Oi*=Gi):(Wi=Math.floor((zi+Oi)/(pi+Oi)),To=(zi-Wi*pi)/(Wi-1),Xo=(zi-(Wi+1)*pi)/Wi,Oi=Xo<=0||Math.abs(Oi-To)At){var Te=Qt;Qt=At,At=Te}}else if(jt==="l"||jt==="landscape"){if(jt="l",At>Qt){var Te=Qt;Qt=At,At=Te}}else throw"Invalid orientation: "+jt;var xe={width:Qt,height:At,unit:Je,k:$e};return xe},Pe.default=pn.jsPDF},"./src/plugin/pagebreaks.js":function(Me,Pe,ce){"use strict";ce.r(Pe);var ke=ce("./node_modules/core-js/modules/es.array.concat.js"),Le=ce.n(ke),Ve=ce("./node_modules/core-js/modules/es.array.slice.js"),Ke=ce.n(Ve),He=ce("./node_modules/core-js/modules/es.array.join.js"),Ge=ce.n(He),ze=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),qe=ce.n(ze),pt=ce("./node_modules/core-js/modules/es.object.keys.js"),Bt=ce.n(pt),vt=ce("./src/worker.js"),yt=ce("./src/utils.js"),Nt={toContainer:vt.default.prototype.toContainer};vt.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},vt.default.prototype.toContainer=function(){return Nt.toContainer.call(this).then(function(){var Pt=this.prop.container,St=this.prop.pageSize.inner.px.height,jt=[].concat(this.opt.pagebreak.mode),Je={avoidAll:jt.indexOf("avoid-all")!==-1,css:jt.indexOf("css")!==-1,legacy:jt.indexOf("legacy")!==-1},wt={},lt=this;["before","after","avoid"].forEach(function($e){var At=Je.avoidAll&&$e==="avoid";wt[$e]=At?[]:[].concat(lt.opt.pagebreak[$e]||[]),wt[$e].length>0&&(wt[$e]=Array.prototype.slice.call(Pt.querySelectorAll(wt[$e].join(", "))))});var Fe=Pt.querySelectorAll(".html2pdf__page-break");Fe=Array.prototype.slice.call(Fe);var Zt=Pt.querySelectorAll("*");Array.prototype.forEach.call(Zt,function(At){var Qt={before:!1,after:Je.legacy&&Fe.indexOf(At)!==-1,avoid:Je.avoidAll};if(Je.css){var Te=window.getComputedStyle(At),xe=["always","page","left","right"],It=["avoid","avoid-page"];Qt={before:Qt.before||xe.indexOf(Te.breakBefore||Te.pageBreakBefore)!==-1,after:Qt.after||xe.indexOf(Te.breakAfter||Te.pageBreakAfter)!==-1,avoid:Qt.avoid||It.indexOf(Te.breakInside||Te.pageBreakInside)!==-1}}Object.keys(Qt).forEach(function(In){Qt[In]=Qt[In]||wt[In].indexOf(At)!==-1});var Cn=At.getBoundingClientRect();if(Qt.avoid&&!Qt.before){var mn=Math.floor(Cn.top/St),Ze=Math.floor(Cn.bottom/St),Ct=Math.abs(Cn.bottom-Cn.top)/St;Ze!==mn&&Ct<=1&&(Qt.before=!0)}if(Qt.before){var _t=(0,yt.createElement)("div",{style:{display:"block",height:St-Cn.top%St+"px"}});At.parentNode.insertBefore(_t,At)}if(Qt.after){var _t=(0,yt.createElement)("div",{style:{display:"block",height:St-Cn.bottom%St+"px"}});At.parentNode.insertBefore(_t,At.nextSibling)}})})}},"./src/utils.js":function(Me,Pe,ce){"use strict";ce.r(Pe),ce.d(Pe,{objType:function(){return jt},createElement:function(){return Je},cloneNode:function(){return wt},unitConvert:function(){return lt},toPx:function(){return Fe}});var ke=ce("./node_modules/core-js/modules/es.number.constructor.js"),Le=ce.n(ke),Ve=ce("./node_modules/core-js/modules/es.symbol.js"),Ke=ce.n(Ve),He=ce("./node_modules/core-js/modules/es.symbol.description.js"),Ge=ce.n(He),ze=ce("./node_modules/core-js/modules/es.object.to-string.js"),qe=ce.n(ze),pt=ce("./node_modules/core-js/modules/es.symbol.iterator.js"),Bt=ce.n(pt),vt=ce("./node_modules/core-js/modules/es.array.iterator.js"),yt=ce.n(vt),Nt=ce("./node_modules/core-js/modules/es.string.iterator.js"),Et=ce.n(Nt),pn=ce("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Pt=ce.n(pn);function St(Zt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?St=function(At){return typeof At}:St=function(At){return At&&typeof Symbol=="function"&&At.constructor===Symbol&&At!==Symbol.prototype?"symbol":typeof At},St(Zt)}var jt=function($e){var At=St($e);return At==="undefined"?"undefined":At==="string"||$e instanceof String?"string":At==="number"||$e instanceof Number?"number":At==="function"||$e instanceof Function?"function":$e&&$e.constructor===Array?"array":$e&&$e.nodeType===1?"element":At==="object"?"object":"unknown"},Je=function($e,At){var Qt=document.createElement($e);if(At.className&&(Qt.className=At.className),At.innerHTML){Qt.innerHTML=At.innerHTML;for(var Te=Qt.getElementsByTagName("script"),xe=Te.length;xe-- >0;null)Te[xe].parentNode.removeChild(Te[xe])}for(var It in At.style)Qt.style[It]=At.style[It];return Qt},wt=function Zt($e,At){for(var Qt=$e.nodeType===3?document.createTextNode($e.nodeValue):$e.cloneNode(!1),Te=$e.firstChild;Te;Te=Te.nextSibling)(At===!0||Te.nodeType!==1||Te.nodeName!=="SCRIPT")&&Qt.appendChild(Zt(Te,At));return $e.nodeType===1&&($e.nodeName==="CANVAS"?(Qt.width=$e.width,Qt.height=$e.height,Qt.getContext("2d").drawImage($e,0,0)):($e.nodeName==="TEXTAREA"||$e.nodeName==="SELECT")&&(Qt.value=$e.value),Qt.addEventListener("load",function(){Qt.scrollTop=$e.scrollTop,Qt.scrollLeft=$e.scrollLeft},!0)),Qt},lt=function($e,At){if(jt($e)==="number")return $e*72/96/At;var Qt={};for(var Te in $e)Qt[Te]=$e[Te]*72/96/At;return Qt},Fe=function($e,At){return Math.floor($e*At/72*96)}},"./src/worker.js":function(Me,Pe,ce){"use strict";ce.r(Pe);var ke=ce("./node_modules/core-js/modules/es.object.assign.js"),Le=ce.n(ke),Ve=ce("./node_modules/core-js/modules/es.array.map.js"),Ke=ce.n(Ve),He=ce("./node_modules/core-js/modules/es.object.keys.js"),Ge=ce.n(He),ze=ce("./node_modules/core-js/modules/es.array.concat.js"),qe=ce.n(ze),pt=ce("./node_modules/core-js/modules/es.object.to-string.js"),Bt=ce.n(pt),vt=ce("./node_modules/core-js/modules/es.regexp.to-string.js"),yt=ce.n(vt),Nt=ce("./node_modules/core-js/modules/es.function.name.js"),Et=ce.n(Nt),pn=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Pt=ce.n(pn),St=ce("jspdf"),jt=ce.n(St),Je=ce("html2canvas"),wt=ce.n(Je),lt=ce("./src/utils.js"),Fe=ce("./node_modules/es6-promise/dist/es6-promise.js"),Zt=ce.n(Fe),$e=Zt().Promise,At=function Qt(Te){var xe=Object.assign(Qt.convert($e.resolve()),JSON.parse(JSON.stringify(Qt.template))),It=Qt.convert($e.resolve(),xe);return It=It.setProgress(1,Qt,1,[Qt]),It=It.set(Te),It};At.prototype=Object.create($e.prototype),At.prototype.constructor=At,At.convert=function(Te,xe){return Te.__proto__=xe||At.prototype,Te},At.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},At.prototype.from=function(Te,xe){function It(Cn){switch((0,lt.objType)(Cn)){case"string":return"string";case"element":return Cn.nodeName.toLowerCase&&Cn.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(xe=xe||It(Te),xe){case"string":return this.set({src:(0,lt.createElement)("div",{innerHTML:Te})});case"element":return this.set({src:Te});case"canvas":return this.set({canvas:Te});case"img":return this.set({img:Te});default:return this.error("Unknown source type.")}})},At.prototype.to=function(Te){switch(Te){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},At.prototype.toContainer=function(){var Te=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Te).then(function(){var It={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Cn={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};It.opacity=0;var mn=(0,lt.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,lt.createElement)("div",{className:"html2pdf__overlay",style:It}),this.prop.container=(0,lt.createElement)("div",{className:"html2pdf__container",style:Cn}),this.prop.container.appendChild(mn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},At.prototype.toCanvas=function(){var Te=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Te).then(function(){var It=Object.assign({},this.opt.html2canvas);return delete It.onrendered,Je(this.prop.container,It)}).then(function(It){var Cn=this.opt.html2canvas.onrendered||function(){};Cn(It),this.prop.canvas=It,document.body.removeChild(this.prop.overlay)})},At.prototype.toImg=function(){var Te=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Te).then(function(){var It=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=It})},At.prototype.toPdf=function(){var Te=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Te).then(function(){var It=this.prop.canvas,Cn=this.opt,mn=It.height,Ze=Math.floor(It.width*this.prop.pageSize.inner.ratio),Ct=Math.ceil(mn/Ze),_t=this.prop.pageSize.inner.height,In=document.createElement("canvas"),xn=In.getContext("2d");In.width=It.width,In.height=Ze,this.prop.pdf=this.prop.pdf||new St.jsPDF(Cn.jsPDF);for(var Wn=0;Wn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-indexed-object.js"),Le=ce("./node_modules/core-js/internals/to-length.js"),Ve=ce("./node_modules/core-js/internals/to-absolute-index.js"),Ke=function(He){return function(Ge,ze,qe){var pt=ke(Ge),Bt=Le(pt.length),vt=Ve(qe,Bt),yt;if(He&&ze!=ze){for(;Bt>vt;)if(yt=pt[vt++],yt!=yt)return!0}else for(;Bt>vt;vt++)if((He||vt in pt)&&pt[vt]===ze)return He||vt||0;return!He&&-1}};Me.exports={includes:Ke(!0),indexOf:Ke(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/function-bind-context.js"),Le=ce("./node_modules/core-js/internals/indexed-object.js"),Ve=ce("./node_modules/core-js/internals/to-object.js"),Ke=ce("./node_modules/core-js/internals/to-length.js"),He=ce("./node_modules/core-js/internals/array-species-create.js"),Ge=[].push,ze=function(qe){var pt=qe==1,Bt=qe==2,vt=qe==3,yt=qe==4,Nt=qe==6,Et=qe==7,pn=qe==5||Nt;return function(Pt,St,jt,Je){for(var wt=Ve(Pt),lt=Le(wt),Fe=ke(St,jt,3),Zt=Ke(lt.length),$e=0,At=Je||He,Qt=pt?At(Pt,Zt):Bt||Et?At(Pt,0):void 0,Te,xe;Zt>$e;$e++)if((pn||$e in lt)&&(Te=lt[$e],xe=Fe(Te,$e,wt),qe))if(pt)Qt[$e]=xe;else if(xe)switch(qe){case 3:return!0;case 5:return Te;case 6:return $e;case 2:Ge.call(Qt,Te)}else switch(qe){case 4:return!1;case 7:Ge.call(Qt,Te)}return Nt?-1:vt||yt?yt:Qt}};Me.exports={forEach:ze(0),map:ze(1),filter:ze(2),some:ze(3),every:ze(4),find:ze(5),findIndex:ze(6),filterReject:ze(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/fails.js"),Le=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ve=ce("./node_modules/core-js/internals/engine-v8-version.js"),Ke=Le("species");Me.exports=function(He){return Ve>=51||!ke(function(){var Ge=[],ze=Ge.constructor={};return ze[Ke]=function(){return{foo:1}},Ge[He](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/fails.js");Me.exports=function(Le,Ve){var Ke=[][Le];return!!Ke&&ke(function(){Ke.call(null,Ve||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-object.js"),Le=ce("./node_modules/core-js/internals/is-array.js"),Ve=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ke=Ve("species");Me.exports=function(He){var Ge;return Le(He)&&(Ge=He.constructor,typeof Ge=="function"&&(Ge===Array||Le(Ge.prototype))?Ge=void 0:ke(Ge)&&(Ge=Ge[Ke],Ge===null&&(Ge=void 0))),Ge===void 0?Array:Ge}},"./node_modules/core-js/internals/array-species-create.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/array-species-constructor.js");Me.exports=function(Le,Ve){return new(ke(Le))(Ve===0?0:Ve)}},"./node_modules/core-js/internals/classof-raw.js":function(Me){var Pe={}.toString;Me.exports=function(ce){return Pe.call(ce).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Le=ce("./node_modules/core-js/internals/classof-raw.js"),Ve=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ke=Ve("toStringTag"),He=Le(function(){return arguments}())=="Arguments",Ge=function(ze,qe){try{return ze[qe]}catch(pt){}};Me.exports=ke?Le:function(ze){var qe,pt,Bt;return ze===void 0?"Undefined":ze===null?"Null":typeof(pt=Ge(qe=Object(ze),Ke))=="string"?pt:He?Le(qe):(Bt=Le(qe))=="Object"&&typeof qe.callee=="function"?"Arguments":Bt}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/has.js"),Le=ce("./node_modules/core-js/internals/own-keys.js"),Ve=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Ke=ce("./node_modules/core-js/internals/object-define-property.js");Me.exports=function(He,Ge){for(var ze=Le(Ge),qe=Ke.f,pt=Ve.f,Bt=0;Bt"+qe+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Le=ce("./node_modules/core-js/internals/object-create.js"),Ve=ce("./node_modules/core-js/internals/create-property-descriptor.js"),Ke=ce("./node_modules/core-js/internals/set-to-string-tag.js"),He=ce("./node_modules/core-js/internals/iterators.js"),Ge=function(){return this};Me.exports=function(ze,qe,pt){var Bt=qe+" Iterator";return ze.prototype=Le(ke,{next:Ve(1,pt)}),Ke(ze,Bt,!1,!0),He[Bt]=Ge,ze}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/object-define-property.js"),Ve=ce("./node_modules/core-js/internals/create-property-descriptor.js");Me.exports=ke?function(Ke,He,Ge){return Le.f(Ke,He,Ve(1,Ge))}:function(Ke,He,Ge){return Ke[He]=Ge,Ke}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Me){Me.exports=function(Pe,ce){return{enumerable:!(Pe&1),configurable:!(Pe&2),writable:!(Pe&4),value:ce}}},"./node_modules/core-js/internals/create-property.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/to-property-key.js"),Le=ce("./node_modules/core-js/internals/object-define-property.js"),Ve=ce("./node_modules/core-js/internals/create-property-descriptor.js");Me.exports=function(Ke,He,Ge){var ze=ke(He);ze in Ke?Le.f(Ke,ze,Ve(0,Ge)):Ke[ze]=Ge}},"./node_modules/core-js/internals/define-iterator.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/create-iterator-constructor.js"),Ve=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),Ke=ce("./node_modules/core-js/internals/object-set-prototype-of.js"),He=ce("./node_modules/core-js/internals/set-to-string-tag.js"),Ge=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),ze=ce("./node_modules/core-js/internals/redefine.js"),qe=ce("./node_modules/core-js/internals/well-known-symbol.js"),pt=ce("./node_modules/core-js/internals/is-pure.js"),Bt=ce("./node_modules/core-js/internals/iterators.js"),vt=ce("./node_modules/core-js/internals/iterators-core.js"),yt=vt.IteratorPrototype,Nt=vt.BUGGY_SAFARI_ITERATORS,Et=qe("iterator"),pn="keys",Pt="values",St="entries",jt=function(){return this};Me.exports=function(Je,wt,lt,Fe,Zt,$e,At){Le(lt,wt,Fe);var Qt=function(xn){if(xn===Zt&&mn)return mn;if(!Nt&&xn in It)return It[xn];switch(xn){case pn:return function(){return new lt(this,xn)};case Pt:return function(){return new lt(this,xn)};case St:return function(){return new lt(this,xn)}}return function(){return new lt(this)}},Te=wt+" Iterator",xe=!1,It=Je.prototype,Cn=It[Et]||It["@@iterator"]||Zt&&It[Zt],mn=!Nt&&Cn||Qt(Zt),Ze=wt=="Array"&&It.entries||Cn,Ct,_t,In;if(Ze&&(Ct=Ve(Ze.call(new Je)),yt!==Object.prototype&&Ct.next&&(!pt&&Ve(Ct)!==yt&&(Ke?Ke(Ct,yt):typeof Ct[Et]!="function"&&Ge(Ct,Et,jt)),He(Ct,Te,!0,!0),pt&&(Bt[Te]=jt))),Zt==Pt&&Cn&&Cn.name!==Pt&&(xe=!0,mn=function(){return Cn.call(this)}),(!pt||At)&&It[Et]!==mn&&Ge(It,Et,mn),Bt[wt]=mn,Zt)if(_t={values:Qt(Pt),keys:$e?mn:Qt(pn),entries:Qt(St)},At)for(In in _t)(Nt||xe||!(In in It))&&ze(It,In,_t[In]);else ke({target:wt,proto:!0,forced:Nt||xe},_t);return _t}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/path.js"),Le=ce("./node_modules/core-js/internals/has.js"),Ve=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ke=ce("./node_modules/core-js/internals/object-define-property.js").f;Me.exports=function(He){var Ge=ke.Symbol||(ke.Symbol={});Le(Ge,He)||Ke(Ge,He,{value:Ve.f(He)})}},"./node_modules/core-js/internals/descriptors.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/fails.js");Me.exports=!ke(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/is-object.js"),Ve=ke.document,Ke=Le(Ve)&&Le(Ve.createElement);Me.exports=function(He){return Ke?Ve.createElement(He):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Me){Me.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/get-built-in.js");Me.exports=ke("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/engine-user-agent.js"),Ve=ke.process,Ke=ke.Deno,He=Ve&&Ve.versions||Ke&&Ke.version,Ge=He&&He.v8,ze,qe;Ge?(ze=Ge.split("."),qe=ze[0]<4?1:ze[0]+ze[1]):Le&&(ze=Le.match(/Edge\/(\d+)/),(!ze||ze[1]>=74)&&(ze=Le.match(/Chrome\/(\d+)/),ze&&(qe=ze[1]))),Me.exports=qe&&+qe},"./node_modules/core-js/internals/enum-bug-keys.js":function(Me){Me.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ve=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ke=ce("./node_modules/core-js/internals/redefine.js"),He=ce("./node_modules/core-js/internals/set-global.js"),Ge=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),ze=ce("./node_modules/core-js/internals/is-forced.js");Me.exports=function(qe,pt){var Bt=qe.target,vt=qe.global,yt=qe.stat,Nt,Et,pn,Pt,St,jt;if(vt?Et=ke:yt?Et=ke[Bt]||He(Bt,{}):Et=(ke[Bt]||{}).prototype,Et)for(pn in pt){if(St=pt[pn],qe.noTargetGet?(jt=Le(Et,pn),Pt=jt&&jt.value):Pt=Et[pn],Nt=ze(vt?pn:Bt+(yt?".":"#")+pn,qe.forced),!Nt&&Pt!==void 0){if(typeof St==typeof Pt)continue;Ge(St,Pt)}(qe.sham||Pt&&Pt.sham)&&Ve(St,"sham",!0),Ke(Et,pn,St,qe)}}},"./node_modules/core-js/internals/fails.js":function(Me){Me.exports=function(Pe){try{return!!Pe()}catch(ce){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/a-function.js");Me.exports=function(Le,Ve,Ke){if(ke(Le),Ve===void 0)return Le;switch(Ke){case 0:return function(){return Le.call(Ve)};case 1:return function(He){return Le.call(Ve,He)};case 2:return function(He,Ge){return Le.call(Ve,He,Ge)};case 3:return function(He,Ge,ze){return Le.call(Ve,He,Ge,ze)}}return function(){return Le.apply(Ve,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=function(Ve){return typeof Ve=="function"?Ve:void 0};Me.exports=function(Ve,Ke){return arguments.length<2?Le(ke[Ve]):ke[Ve]&&ke[Ve][Ke]}},"./node_modules/core-js/internals/global.js":function(Me){var Pe=function(ce){return ce&&ce.Math==Math&&ce};Me.exports=Pe(typeof globalThis=="object"&&globalThis)||Pe(typeof window=="object"&&window)||Pe(typeof self=="object"&&self)||Pe(typeof pe.g=="object"&&pe.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-object.js"),Le={}.hasOwnProperty;Me.exports=Object.hasOwn||function(Ke,He){return Le.call(ke(Ke),He)}},"./node_modules/core-js/internals/hidden-keys.js":function(Me){Me.exports={}},"./node_modules/core-js/internals/html.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/get-built-in.js");Me.exports=ke("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/fails.js"),Ve=ce("./node_modules/core-js/internals/document-create-element.js");Me.exports=!ke&&!Le(function(){return Object.defineProperty(Ve("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/fails.js"),Le=ce("./node_modules/core-js/internals/classof-raw.js"),Ve="".split;Me.exports=ke(function(){return!Object("z").propertyIsEnumerable(0)})?function(Ke){return Le(Ke)=="String"?Ve.call(Ke,""):Object(Ke)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-object.js"),Le=ce("./node_modules/core-js/internals/object-set-prototype-of.js");Me.exports=function(Ve,Ke,He){var Ge,ze;return Le&&typeof(Ge=Ke.constructor)=="function"&&Ge!==He&&ke(ze=Ge.prototype)&&ze!==He.prototype&&Le(Ve,ze),Ve}},"./node_modules/core-js/internals/inspect-source.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/shared-store.js"),Le=Function.toString;typeof ke.inspectSource!="function"&&(ke.inspectSource=function(Ve){return Le.call(Ve)}),Me.exports=ke.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/native-weak-map.js"),Le=ce("./node_modules/core-js/internals/global.js"),Ve=ce("./node_modules/core-js/internals/is-object.js"),Ke=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=ce("./node_modules/core-js/internals/has.js"),Ge=ce("./node_modules/core-js/internals/shared-store.js"),ze=ce("./node_modules/core-js/internals/shared-key.js"),qe=ce("./node_modules/core-js/internals/hidden-keys.js"),pt="Object already initialized",Bt=Le.WeakMap,vt,yt,Nt,Et=function(lt){return Nt(lt)?yt(lt):vt(lt,{})},pn=function(lt){return function(Fe){var Zt;if(!Ve(Fe)||(Zt=yt(Fe)).type!==lt)throw TypeError("Incompatible receiver, "+lt+" required");return Zt}};if(ke||Ge.state){var Pt=Ge.state||(Ge.state=new Bt),St=Pt.get,jt=Pt.has,Je=Pt.set;vt=function(lt,Fe){if(jt.call(Pt,lt))throw new TypeError(pt);return Fe.facade=lt,Je.call(Pt,lt,Fe),Fe},yt=function(lt){return St.call(Pt,lt)||{}},Nt=function(lt){return jt.call(Pt,lt)}}else{var wt=ze("state");qe[wt]=!0,vt=function(lt,Fe){if(He(lt,wt))throw new TypeError(pt);return Fe.facade=lt,Ke(lt,wt,Fe),Fe},yt=function(lt){return He(lt,wt)?lt[wt]:{}},Nt=function(lt){return He(lt,wt)}}Me.exports={set:vt,get:yt,has:Nt,enforce:Et,getterFor:pn}},"./node_modules/core-js/internals/is-array.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/classof-raw.js");Me.exports=Array.isArray||function(Ve){return ke(Ve)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/fails.js"),Le=/#|\.prototype\./,Ve=function(qe,pt){var Bt=He[Ke(qe)];return Bt==ze?!0:Bt==Ge?!1:typeof pt=="function"?ke(pt):!!pt},Ke=Ve.normalize=function(qe){return String(qe).replace(Le,".").toLowerCase()},He=Ve.data={},Ge=Ve.NATIVE="N",ze=Ve.POLYFILL="P";Me.exports=Ve},"./node_modules/core-js/internals/is-object.js":function(Me){Me.exports=function(Pe){return typeof Pe=="object"?Pe!==null:typeof Pe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Me){Me.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/get-built-in.js"),Le=ce("./node_modules/core-js/internals/use-symbol-as-uid.js");Me.exports=Le?function(Ve){return typeof Ve=="symbol"}:function(Ve){var Ke=ke("Symbol");return typeof Ke=="function"&&Object(Ve)instanceof Ke}},"./node_modules/core-js/internals/iterators-core.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/fails.js"),Le=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),Ve=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ke=ce("./node_modules/core-js/internals/has.js"),He=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ge=ce("./node_modules/core-js/internals/is-pure.js"),ze=He("iterator"),qe=!1,pt=function(){return this},Bt,vt,yt;[].keys&&(yt=[].keys(),"next"in yt?(vt=Le(Le(yt)),vt!==Object.prototype&&(Bt=vt)):qe=!0);var Nt=Bt==null||ke(function(){var Et={};return Bt[ze].call(Et)!==Et});Nt&&(Bt={}),(!Ge||Nt)&&!Ke(Bt,ze)&&Ve(Bt,ze,pt),Me.exports={IteratorPrototype:Bt,BUGGY_SAFARI_ITERATORS:qe}},"./node_modules/core-js/internals/iterators.js":function(Me){Me.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/engine-v8-version.js"),Le=ce("./node_modules/core-js/internals/fails.js");Me.exports=!!Object.getOwnPropertySymbols&&!Le(function(){var Ve=Symbol();return!String(Ve)||!(Object(Ve)instanceof Symbol)||!Symbol.sham&&ke&&ke<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/inspect-source.js"),Ve=ke.WeakMap;Me.exports=typeof Ve=="function"&&/native code/.test(Le(Ve))},"./node_modules/core-js/internals/object-assign.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/fails.js"),Ve=ce("./node_modules/core-js/internals/object-keys.js"),Ke=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),He=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ge=ce("./node_modules/core-js/internals/to-object.js"),ze=ce("./node_modules/core-js/internals/indexed-object.js"),qe=Object.assign,pt=Object.defineProperty;Me.exports=!qe||Le(function(){if(ke&&qe({b:1},qe(pt({},"a",{enumerable:!0,get:function(){pt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Bt={},vt={},yt=Symbol(),Nt="abcdefghijklmnopqrst";return Bt[yt]=7,Nt.split("").forEach(function(Et){vt[Et]=Et}),qe({},Bt)[yt]!=7||Ve(qe({},vt)).join("")!=Nt})?function(vt,yt){for(var Nt=Ge(vt),Et=arguments.length,pn=1,Pt=Ke.f,St=He.f;Et>pn;)for(var jt=ze(arguments[pn++]),Je=Pt?Ve(jt).concat(Pt(jt)):Ve(jt),wt=Je.length,lt=0,Fe;wt>lt;)Fe=Je[lt++],(!ke||St.call(jt,Fe))&&(Nt[Fe]=jt[Fe]);return Nt}:qe},"./node_modules/core-js/internals/object-create.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/an-object.js"),Le=ce("./node_modules/core-js/internals/object-define-properties.js"),Ve=ce("./node_modules/core-js/internals/enum-bug-keys.js"),Ke=ce("./node_modules/core-js/internals/hidden-keys.js"),He=ce("./node_modules/core-js/internals/html.js"),Ge=ce("./node_modules/core-js/internals/document-create-element.js"),ze=ce("./node_modules/core-js/internals/shared-key.js"),qe=">",pt="<",Bt="prototype",vt="script",yt=ze("IE_PROTO"),Nt=function(){},Et=function(Je){return pt+vt+qe+Je+pt+"/"+vt+qe},pn=function(Je){Je.write(Et("")),Je.close();var wt=Je.parentWindow.Object;return Je=null,wt},Pt=function(){var Je=Ge("iframe"),wt="java"+vt+":",lt;if(Je.style)return Je.style.display="none",He.appendChild(Je),Je.src=String(wt),lt=Je.contentWindow.document,lt.open(),lt.write(Et("document.F=Object")),lt.close(),lt.F},St,jt=function(){try{St=new ActiveXObject("htmlfile")}catch(wt){}jt=document.domain&&St?pn(St):Pt()||pn(St);for(var Je=Ve.length;Je--;)delete jt[Bt][Ve[Je]];return jt()};Ke[yt]=!0,Me.exports=Object.create||function(wt,lt){var Fe;return wt!==null?(Nt[Bt]=ke(wt),Fe=new Nt,Nt[Bt]=null,Fe[yt]=wt):Fe=jt(),lt===void 0?Fe:Le(Fe,lt)}},"./node_modules/core-js/internals/object-define-properties.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/object-define-property.js"),Ve=ce("./node_modules/core-js/internals/an-object.js"),Ke=ce("./node_modules/core-js/internals/object-keys.js");Me.exports=ke?Object.defineProperties:function(Ge,ze){Ve(Ge);for(var qe=Ke(ze),pt=qe.length,Bt=0,vt;pt>Bt;)Le.f(Ge,vt=qe[Bt++],ze[vt]);return Ge}},"./node_modules/core-js/internals/object-define-property.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/ie8-dom-define.js"),Ve=ce("./node_modules/core-js/internals/an-object.js"),Ke=ce("./node_modules/core-js/internals/to-property-key.js"),He=Object.defineProperty;Pe.f=ke?He:function(ze,qe,pt){if(Ve(ze),qe=Ke(qe),Ve(pt),Le)try{return He(ze,qe,pt)}catch(Bt){}if("get"in pt||"set"in pt)throw TypeError("Accessors not supported");return"value"in pt&&(ze[qe]=pt.value),ze}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/descriptors.js"),Le=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ve=ce("./node_modules/core-js/internals/create-property-descriptor.js"),Ke=ce("./node_modules/core-js/internals/to-indexed-object.js"),He=ce("./node_modules/core-js/internals/to-property-key.js"),Ge=ce("./node_modules/core-js/internals/has.js"),ze=ce("./node_modules/core-js/internals/ie8-dom-define.js"),qe=Object.getOwnPropertyDescriptor;Pe.f=ke?qe:function(Bt,vt){if(Bt=Ke(Bt),vt=He(vt),ze)try{return qe(Bt,vt)}catch(yt){}if(Ge(Bt,vt))return Ve(!Le.f.call(Bt,vt),Bt[vt])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-indexed-object.js"),Le=ce("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ve={}.toString,Ke=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],He=function(Ge){try{return Le(Ge)}catch(ze){return Ke.slice()}};Me.exports.f=function(ze){return Ke&&Ve.call(ze)=="[object Window]"?He(ze):Le(ke(ze))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/object-keys-internal.js"),Le=ce("./node_modules/core-js/internals/enum-bug-keys.js"),Ve=Le.concat("length","prototype");Pe.f=Object.getOwnPropertyNames||function(He){return ke(He,Ve)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Me,Pe){Pe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/has.js"),Le=ce("./node_modules/core-js/internals/to-object.js"),Ve=ce("./node_modules/core-js/internals/shared-key.js"),Ke=ce("./node_modules/core-js/internals/correct-prototype-getter.js"),He=Ve("IE_PROTO"),Ge=Object.prototype;Me.exports=Ke?Object.getPrototypeOf:function(ze){return ze=Le(ze),ke(ze,He)?ze[He]:typeof ze.constructor=="function"&&ze instanceof ze.constructor?ze.constructor.prototype:ze instanceof Object?Ge:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/has.js"),Le=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ve=ce("./node_modules/core-js/internals/array-includes.js").indexOf,Ke=ce("./node_modules/core-js/internals/hidden-keys.js");Me.exports=function(He,Ge){var ze=Le(He),qe=0,pt=[],Bt;for(Bt in ze)!ke(Ke,Bt)&&ke(ze,Bt)&&pt.push(Bt);for(;Ge.length>qe;)ke(ze,Bt=Ge[qe++])&&(~Ve(pt,Bt)||pt.push(Bt));return pt}},"./node_modules/core-js/internals/object-keys.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/object-keys-internal.js"),Le=ce("./node_modules/core-js/internals/enum-bug-keys.js");Me.exports=Object.keys||function(Ke){return ke(Ke,Le)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Me,Pe){"use strict";var ce={}.propertyIsEnumerable,ke=Object.getOwnPropertyDescriptor,Le=ke&&!ce.call({1:2},1);Pe.f=Le?function(Ke){var He=ke(this,Ke);return!!He&&He.enumerable}:ce},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/an-object.js"),Le=ce("./node_modules/core-js/internals/a-possible-prototype.js");Me.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ve=!1,Ke={},He;try{He=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,He.call(Ke,[]),Ve=Ke instanceof Array}catch(Ge){}return function(ze,qe){return ke(ze),Le(qe),Ve?He.call(ze,qe):ze.__proto__=qe,ze}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Le=ce("./node_modules/core-js/internals/classof.js");Me.exports=ke?{}.toString:function(){return"[object "+Le(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-object.js");Me.exports=function(Le,Ve){var Ke,He;if(Ve==="string"&&typeof(Ke=Le.toString)=="function"&&!ke(He=Ke.call(Le))||typeof(Ke=Le.valueOf)=="function"&&!ke(He=Ke.call(Le))||Ve!=="string"&&typeof(Ke=Le.toString)=="function"&&!ke(He=Ke.call(Le)))return He;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/get-built-in.js"),Le=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),Ve=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ke=ce("./node_modules/core-js/internals/an-object.js");Me.exports=ke("Reflect","ownKeys")||function(Ge){var ze=Le.f(Ke(Ge)),qe=Ve.f;return qe?ze.concat(qe(Ge)):ze}},"./node_modules/core-js/internals/path.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js");Me.exports=ke},"./node_modules/core-js/internals/redefine.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ve=ce("./node_modules/core-js/internals/has.js"),Ke=ce("./node_modules/core-js/internals/set-global.js"),He=ce("./node_modules/core-js/internals/inspect-source.js"),Ge=ce("./node_modules/core-js/internals/internal-state.js"),ze=Ge.get,qe=Ge.enforce,pt=String(String).split("String");(Me.exports=function(Bt,vt,yt,Nt){var Et=Nt?!!Nt.unsafe:!1,pn=Nt?!!Nt.enumerable:!1,Pt=Nt?!!Nt.noTargetGet:!1,St;if(typeof yt=="function"&&(typeof vt=="string"&&!Ve(yt,"name")&&Le(yt,"name",vt),St=qe(yt),St.source||(St.source=pt.join(typeof vt=="string"?vt:""))),Bt===ke){pn?Bt[vt]=yt:Ke(vt,yt);return}else Et?!Pt&&Bt[vt]&&(pn=!0):delete Bt[vt];pn?Bt[vt]=yt:Le(Bt,vt,yt)})(Function.prototype,"toString",function(){return typeof this=="function"&&ze(this).source||He(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/an-object.js");Me.exports=function(){var Le=ke(this),Ve="";return Le.global&&(Ve+="g"),Le.ignoreCase&&(Ve+="i"),Le.multiline&&(Ve+="m"),Le.dotAll&&(Ve+="s"),Le.unicode&&(Ve+="u"),Le.sticky&&(Ve+="y"),Ve}},"./node_modules/core-js/internals/require-object-coercible.js":function(Me){Me.exports=function(Pe){if(Pe==null)throw TypeError("Can't call method on "+Pe);return Pe}},"./node_modules/core-js/internals/set-global.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js");Me.exports=function(Le,Ve){try{Object.defineProperty(ke,Le,{value:Ve,configurable:!0,writable:!0})}catch(Ke){ke[Le]=Ve}return Ve}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/object-define-property.js").f,Le=ce("./node_modules/core-js/internals/has.js"),Ve=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ke=Ve("toStringTag");Me.exports=function(He,Ge,ze){He&&!Le(He=ze?He:He.prototype,Ke)&&ke(He,Ke,{configurable:!0,value:Ge})}},"./node_modules/core-js/internals/shared-key.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/shared.js"),Le=ce("./node_modules/core-js/internals/uid.js"),Ve=ke("keys");Me.exports=function(Ke){return Ve[Ke]||(Ve[Ke]=Le(Ke))}},"./node_modules/core-js/internals/shared-store.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/set-global.js"),Ve="__core-js_shared__",Ke=ke[Ve]||Le(Ve,{});Me.exports=Ke},"./node_modules/core-js/internals/shared.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-pure.js"),Le=ce("./node_modules/core-js/internals/shared-store.js");(Me.exports=function(Ve,Ke){return Le[Ve]||(Le[Ve]=Ke!==void 0?Ke:{})})("versions",[]).push({version:"3.16.0",mode:ke?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/fails.js");Me.exports=function(Le){return ke(function(){var Ve=""[Le]('"');return Ve!==Ve.toLowerCase()||Ve.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-integer.js"),Le=ce("./node_modules/core-js/internals/to-string.js"),Ve=ce("./node_modules/core-js/internals/require-object-coercible.js"),Ke=function(He){return function(Ge,ze){var qe=Le(Ve(Ge)),pt=ke(ze),Bt=qe.length,vt,yt;return pt<0||pt>=Bt?He?"":void 0:(vt=qe.charCodeAt(pt),vt<55296||vt>56319||pt+1===Bt||(yt=qe.charCodeAt(pt+1))<56320||yt>57343?He?qe.charAt(pt):vt:He?qe.slice(pt,pt+2):(vt-55296<<10)+(yt-56320)+65536)}};Me.exports={codeAt:Ke(!1),charAt:Ke(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/require-object-coercible.js"),Le=ce("./node_modules/core-js/internals/to-string.js"),Ve=ce("./node_modules/core-js/internals/whitespaces.js"),Ke="["+Ve+"]",He=RegExp("^"+Ke+Ke+"*"),Ge=RegExp(Ke+Ke+"*$"),ze=function(qe){return function(pt){var Bt=Le(ke(pt));return qe&1&&(Bt=Bt.replace(He,"")),qe&2&&(Bt=Bt.replace(Ge,"")),Bt}};Me.exports={start:ze(1),end:ze(2),trim:ze(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-integer.js"),Le=Math.max,Ve=Math.min;Me.exports=function(Ke,He){var Ge=ke(Ke);return Ge<0?Le(Ge+He,0):Ve(Ge,He)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/indexed-object.js"),Le=ce("./node_modules/core-js/internals/require-object-coercible.js");Me.exports=function(Ve){return ke(Le(Ve))}},"./node_modules/core-js/internals/to-integer.js":function(Me){var Pe=Math.ceil,ce=Math.floor;Me.exports=function(ke){return isNaN(ke=+ke)?0:(ke>0?ce:Pe)(ke)}},"./node_modules/core-js/internals/to-length.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-integer.js"),Le=Math.min;Me.exports=function(Ve){return Ve>0?Le(ke(Ve),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/require-object-coercible.js");Me.exports=function(Le){return Object(ke(Le))}},"./node_modules/core-js/internals/to-primitive.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-object.js"),Le=ce("./node_modules/core-js/internals/is-symbol.js"),Ve=ce("./node_modules/core-js/internals/ordinary-to-primitive.js"),Ke=ce("./node_modules/core-js/internals/well-known-symbol.js"),He=Ke("toPrimitive");Me.exports=function(Ge,ze){if(!ke(Ge)||Le(Ge))return Ge;var qe=Ge[He],pt;if(qe!==void 0){if(ze===void 0&&(ze="default"),pt=qe.call(Ge,ze),!ke(pt)||Le(pt))return pt;throw TypeError("Can't convert object to primitive value")}return ze===void 0&&(ze="number"),Ve(Ge,ze)}},"./node_modules/core-js/internals/to-property-key.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-primitive.js"),Le=ce("./node_modules/core-js/internals/is-symbol.js");Me.exports=function(Ve){var Ke=ke(Ve,"string");return Le(Ke)?Ke:String(Ke)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/well-known-symbol.js"),Le=ke("toStringTag"),Ve={};Ve[Le]="z",Me.exports=String(Ve)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/is-symbol.js");Me.exports=function(Le){if(ke(Le))throw TypeError("Cannot convert a Symbol value to a string");return String(Le)}},"./node_modules/core-js/internals/uid.js":function(Me){var Pe=0,ce=Math.random();Me.exports=function(ke){return"Symbol("+String(ke===void 0?"":ke)+")_"+(++Pe+ce).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/native-symbol.js");Me.exports=ke&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/well-known-symbol.js");Pe.f=ke},"./node_modules/core-js/internals/well-known-symbol.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/shared.js"),Ve=ce("./node_modules/core-js/internals/has.js"),Ke=ce("./node_modules/core-js/internals/uid.js"),He=ce("./node_modules/core-js/internals/native-symbol.js"),Ge=ce("./node_modules/core-js/internals/use-symbol-as-uid.js"),ze=Le("wks"),qe=ke.Symbol,pt=Ge?qe:qe&&qe.withoutSetter||Ke;Me.exports=function(Bt){return(!Ve(ze,Bt)||!(He||typeof ze[Bt]=="string"))&&(He&&Ve(qe,Bt)?ze[Bt]=qe[Bt]:ze[Bt]=pt("Symbol."+Bt)),ze[Bt]}},"./node_modules/core-js/internals/whitespaces.js":function(Me){Me.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/fails.js"),Ve=ce("./node_modules/core-js/internals/is-array.js"),Ke=ce("./node_modules/core-js/internals/is-object.js"),He=ce("./node_modules/core-js/internals/to-object.js"),Ge=ce("./node_modules/core-js/internals/to-length.js"),ze=ce("./node_modules/core-js/internals/create-property.js"),qe=ce("./node_modules/core-js/internals/array-species-create.js"),pt=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),Bt=ce("./node_modules/core-js/internals/well-known-symbol.js"),vt=ce("./node_modules/core-js/internals/engine-v8-version.js"),yt=Bt("isConcatSpreadable"),Nt=9007199254740991,Et="Maximum allowed index exceeded",pn=vt>=51||!Le(function(){var Je=[];return Je[yt]=!1,Je.concat()[0]!==Je}),Pt=pt("concat"),St=function(Je){if(!Ke(Je))return!1;var wt=Je[yt];return wt!==void 0?!!wt:Ve(Je)},jt=!pn||!Pt;ke({target:"Array",proto:!0,forced:jt},{concat:function(wt){var lt=He(this),Fe=qe(lt,0),Zt=0,$e,At,Qt,Te,xe;for($e=-1,Qt=arguments.length;$eNt)throw TypeError(Et);for(At=0;At=Nt)throw TypeError(Et);ze(Fe,Zt++,xe)}return Fe.length=Zt,Fe}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/to-indexed-object.js"),Le=ce("./node_modules/core-js/internals/add-to-unscopables.js"),Ve=ce("./node_modules/core-js/internals/iterators.js"),Ke=ce("./node_modules/core-js/internals/internal-state.js"),He=ce("./node_modules/core-js/internals/define-iterator.js"),Ge="Array Iterator",ze=Ke.set,qe=Ke.getterFor(Ge);Me.exports=He(Array,"Array",function(pt,Bt){ze(this,{type:Ge,target:ke(pt),index:0,kind:Bt})},function(){var pt=qe(this),Bt=pt.target,vt=pt.kind,yt=pt.index++;return!Bt||yt>=Bt.length?(pt.target=void 0,{value:void 0,done:!0}):vt=="keys"?{value:yt,done:!1}:vt=="values"?{value:Bt[yt],done:!1}:{value:[yt,Bt[yt]],done:!1}},"values"),Ve.Arguments=Ve.Array,Le("keys"),Le("values"),Le("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/indexed-object.js"),Ve=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ke=ce("./node_modules/core-js/internals/array-method-is-strict.js"),He=[].join,Ge=Le!=Object,ze=Ke("join",",");ke({target:"Array",proto:!0,forced:Ge||!ze},{join:function(pt){return He.call(Ve(this),pt===void 0?",":pt)}})},"./node_modules/core-js/modules/es.array.map.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/array-iteration.js").map,Ve=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Ve("map");ke({target:"Array",proto:!0,forced:!Ke},{map:function(Ge){return Le(this,Ge,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/is-object.js"),Ve=ce("./node_modules/core-js/internals/is-array.js"),Ke=ce("./node_modules/core-js/internals/to-absolute-index.js"),He=ce("./node_modules/core-js/internals/to-length.js"),Ge=ce("./node_modules/core-js/internals/to-indexed-object.js"),ze=ce("./node_modules/core-js/internals/create-property.js"),qe=ce("./node_modules/core-js/internals/well-known-symbol.js"),pt=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),Bt=pt("slice"),vt=qe("species"),yt=[].slice,Nt=Math.max;ke({target:"Array",proto:!0,forced:!Bt},{slice:function(pn,Pt){var St=Ge(this),jt=He(St.length),Je=Ke(pn,jt),wt=Ke(Pt===void 0?jt:Pt,jt),lt,Fe,Zt;if(Ve(St)&&(lt=St.constructor,typeof lt=="function"&&(lt===Array||Ve(lt.prototype))?lt=void 0:Le(lt)&&(lt=lt[vt],lt===null&&(lt=void 0)),lt===Array||lt===void 0))return yt.call(St,Je,wt);for(Fe=new(lt===void 0?Array:lt)(Nt(wt-Je,0)),Zt=0;Je2){if(Qt=pn(Qt),Te=Qt.charCodeAt(0),Te===43||Te===45){if(xe=Qt.charCodeAt(2),xe===88||xe===120)return NaN}else if(Te===48){switch(Qt.charCodeAt(1)){case 66:case 98:It=2,Cn=49;break;case 79:case 111:It=8,Cn=55;break;default:return+Qt}for(mn=Qt.slice(2),Ze=mn.length,Ct=0;CtCn)return NaN;return parseInt(mn,It)}}return+Qt};if(Ve(Pt,!St(" 0o1")||!St("0b1")||St("+0x1"))){for(var lt=function(Qt){var Te=arguments.length<1?0:Qt,xe=this;return xe instanceof lt&&(Je?Bt(function(){jt.valueOf.call(xe)}):Ge(xe)!=Pt)?ze(new St(wt(Te)),xe,lt):wt(Te)},Fe=ke?yt(St):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Zt=0,$e;Fe.length>Zt;Zt++)He(St,$e=Fe[Zt])&&!He(lt,$e)&&Et(lt,$e,Nt(St,$e));lt.prototype=jt,jt.constructor=lt,Ke(Le,Pt,lt)}},"./node_modules/core-js/modules/es.object.assign.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/object-assign.js");ke({target:"Object",stat:!0,forced:Object.assign!==Le},{assign:Le})},"./node_modules/core-js/modules/es.object.keys.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/to-object.js"),Ve=ce("./node_modules/core-js/internals/object-keys.js"),Ke=ce("./node_modules/core-js/internals/fails.js"),He=Ke(function(){Ve(1)});ke({target:"Object",stat:!0,forced:He},{keys:function(ze){return Ve(Le(ze))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Le=ce("./node_modules/core-js/internals/redefine.js"),Ve=ce("./node_modules/core-js/internals/object-to-string.js");ke||Le(Object.prototype,"toString",Ve,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/redefine.js"),Le=ce("./node_modules/core-js/internals/an-object.js"),Ve=ce("./node_modules/core-js/internals/to-string.js"),Ke=ce("./node_modules/core-js/internals/fails.js"),He=ce("./node_modules/core-js/internals/regexp-flags.js"),Ge="toString",ze=RegExp.prototype,qe=ze[Ge],pt=Ke(function(){return qe.call({source:"a",flags:"b"})!="/a/b"}),Bt=qe.name!=Ge;(pt||Bt)&&ke(RegExp.prototype,Ge,function(){var yt=Le(this),Nt=Ve(yt.source),Et=yt.flags,pn=Ve(Et===void 0&&yt instanceof RegExp&&!("flags"in ze)?He.call(yt):Et);return"/"+Nt+"/"+pn},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/string-multibyte.js").charAt,Le=ce("./node_modules/core-js/internals/to-string.js"),Ve=ce("./node_modules/core-js/internals/internal-state.js"),Ke=ce("./node_modules/core-js/internals/define-iterator.js"),He="String Iterator",Ge=Ve.set,ze=Ve.getterFor(He);Ke(String,"String",function(qe){Ge(this,{type:He,string:Le(qe),index:0})},function(){var pt=ze(this),Bt=pt.string,vt=pt.index,yt;return vt>=Bt.length?{value:void 0,done:!0}:(yt=ke(Bt,vt),pt.index+=yt.length,{value:yt,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/create-html.js"),Ve=ce("./node_modules/core-js/internals/string-html-forced.js");ke({target:"String",proto:!0,forced:Ve("link")},{link:function(He){return Le(this,"a","href",He)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/descriptors.js"),Ve=ce("./node_modules/core-js/internals/global.js"),Ke=ce("./node_modules/core-js/internals/has.js"),He=ce("./node_modules/core-js/internals/is-object.js"),Ge=ce("./node_modules/core-js/internals/object-define-property.js").f,ze=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),qe=Ve.Symbol;if(Le&&typeof qe=="function"&&(!("description"in qe.prototype)||qe().description!==void 0)){var pt={},Bt=function(){var Pt=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),St=this instanceof Bt?new qe(Pt):Pt===void 0?qe():qe(Pt);return Pt===""&&(pt[St]=!0),St};ze(Bt,qe);var vt=Bt.prototype=qe.prototype;vt.constructor=Bt;var yt=vt.toString,Nt=String(qe("test"))=="Symbol(test)",Et=/^Symbol\((.*)\)[^)]+$/;Ge(vt,"description",{configurable:!0,get:function(){var Pt=He(this)?this.valueOf():this,St=yt.call(Pt);if(Ke(pt,Pt))return"";var jt=Nt?St.slice(7,-1):St.replace(Et,"$1");return jt===""?void 0:jt}}),ke({global:!0,forced:!0},{Symbol:Bt})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/define-well-known-symbol.js");ke("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Me,Pe,ce){"use strict";var ke=ce("./node_modules/core-js/internals/export.js"),Le=ce("./node_modules/core-js/internals/global.js"),Ve=ce("./node_modules/core-js/internals/get-built-in.js"),Ke=ce("./node_modules/core-js/internals/is-pure.js"),He=ce("./node_modules/core-js/internals/descriptors.js"),Ge=ce("./node_modules/core-js/internals/native-symbol.js"),ze=ce("./node_modules/core-js/internals/fails.js"),qe=ce("./node_modules/core-js/internals/has.js"),pt=ce("./node_modules/core-js/internals/is-array.js"),Bt=ce("./node_modules/core-js/internals/is-object.js"),vt=ce("./node_modules/core-js/internals/is-symbol.js"),yt=ce("./node_modules/core-js/internals/an-object.js"),Nt=ce("./node_modules/core-js/internals/to-object.js"),Et=ce("./node_modules/core-js/internals/to-indexed-object.js"),pn=ce("./node_modules/core-js/internals/to-property-key.js"),Pt=ce("./node_modules/core-js/internals/to-string.js"),St=ce("./node_modules/core-js/internals/create-property-descriptor.js"),jt=ce("./node_modules/core-js/internals/object-create.js"),Je=ce("./node_modules/core-js/internals/object-keys.js"),wt=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),lt=ce("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Fe=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Zt=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),$e=ce("./node_modules/core-js/internals/object-define-property.js"),At=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),Qt=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Te=ce("./node_modules/core-js/internals/redefine.js"),xe=ce("./node_modules/core-js/internals/shared.js"),It=ce("./node_modules/core-js/internals/shared-key.js"),Cn=ce("./node_modules/core-js/internals/hidden-keys.js"),mn=ce("./node_modules/core-js/internals/uid.js"),Ze=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ct=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),_t=ce("./node_modules/core-js/internals/define-well-known-symbol.js"),In=ce("./node_modules/core-js/internals/set-to-string-tag.js"),xn=ce("./node_modules/core-js/internals/internal-state.js"),Wn=ce("./node_modules/core-js/internals/array-iteration.js").forEach,ct=It("hidden"),En="Symbol",Rt="prototype",be=Ze("toPrimitive"),de=xn.set,le=xn.getterFor(En),ye=Object[Rt],Ie=Le.Symbol,he=Ve("JSON","stringify"),We=Zt.f,tt=$e.f,dn=lt.f,ut=At.f,zt=xe("symbols"),en=xe("op-symbols"),Sn=xe("string-to-symbol-registry"),yn=xe("symbol-to-string-registry"),ar=xe("wks"),Mt=Le.QObject,nn=!Mt||!Mt[Rt]||!Mt[Rt].findChild,ln=He&&ze(function(){return jt(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a!=7})?function(nt,gt,Kt){var vn=We(ye,gt);vn&&delete ye[gt],tt(nt,gt,Kt),vn&&nt!==ye&&tt(ye,gt,vn)}:tt,Un=function(nt,gt){var Kt=zt[nt]=jt(Ie[Rt]);return de(Kt,{type:En,tag:nt,description:gt}),He||(Kt.description=gt),Kt},Nn=function(gt,Kt,vn){gt===ye&&Nn(en,Kt,vn),yt(gt);var Rn=pn(Kt);return yt(vn),qe(zt,Rn)?(vn.enumerable?(qe(gt,ct)&>[ct][Rn]&&(gt[ct][Rn]=!1),vn=jt(vn,{enumerable:St(0,!1)})):(qe(gt,ct)||tt(gt,ct,St(1,{})),gt[ct][Rn]=!0),ln(gt,Rn,vn)):tt(gt,Rn,vn)},un=function(gt,Kt){yt(gt);var vn=Et(Kt),Rn=Je(vn).concat(Qn(vn));return Wn(Rn,function(hr){(!He||Xn.call(vn,hr))&&Nn(gt,hr,vn[hr])}),gt},ir=function(gt,Kt){return Kt===void 0?jt(gt):un(jt(gt),Kt)},Xn=function(gt){var Kt=pn(gt),vn=ut.call(this,Kt);return this===ye&&qe(zt,Kt)&&!qe(en,Kt)?!1:vn||!qe(this,Kt)||!qe(zt,Kt)||qe(this,ct)&&this[ct][Kt]?vn:!0},Ft=function(gt,Kt){var vn=Et(gt),Rn=pn(Kt);if(!(vn===ye&&qe(zt,Rn)&&!qe(en,Rn))){var hr=We(vn,Rn);return hr&&qe(zt,Rn)&&!(qe(vn,ct)&&vn[ct][Rn])&&(hr.enumerable=!0),hr}},An=function(gt){var Kt=dn(Et(gt)),vn=[];return Wn(Kt,function(Rn){!qe(zt,Rn)&&!qe(Cn,Rn)&&vn.push(Rn)}),vn},Qn=function(gt){var Kt=gt===ye,vn=dn(Kt?en:Et(gt)),Rn=[];return Wn(vn,function(hr){qe(zt,hr)&&(!Kt||qe(ye,hr))&&Rn.push(zt[hr])}),Rn};if(Ge||(Ie=function(){if(this instanceof Ie)throw TypeError("Symbol is not a constructor");var gt=!arguments.length||arguments[0]===void 0?void 0:Pt(arguments[0]),Kt=mn(gt),vn=function(Rn){this===ye&&vn.call(en,Rn),qe(this,ct)&&qe(this[ct],Kt)&&(this[ct][Kt]=!1),ln(this,Kt,St(1,Rn))};return He&&nn&&ln(ye,Kt,{configurable:!0,set:vn}),Un(Kt,gt)},Te(Ie[Rt],"toString",function(){return le(this).tag}),Te(Ie,"withoutSetter",function(nt){return Un(mn(nt),nt)}),At.f=Xn,$e.f=Nn,Zt.f=Ft,wt.f=lt.f=An,Fe.f=Qn,Ct.f=function(nt){return Un(Ze(nt),nt)},He&&(tt(Ie[Rt],"description",{configurable:!0,get:function(){return le(this).description}}),Ke||Te(ye,"propertyIsEnumerable",Xn,{unsafe:!0}))),ke({global:!0,wrap:!0,forced:!Ge,sham:!Ge},{Symbol:Ie}),Wn(Je(ar),function(nt){_t(nt)}),ke({target:En,stat:!0,forced:!Ge},{for:function(nt){var gt=Pt(nt);if(qe(Sn,gt))return Sn[gt];var Kt=Ie(gt);return Sn[gt]=Kt,yn[Kt]=gt,Kt},keyFor:function(gt){if(!vt(gt))throw TypeError(gt+" is not a symbol");if(qe(yn,gt))return yn[gt]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),ke({target:"Object",stat:!0,forced:!Ge,sham:!He},{create:ir,defineProperty:Nn,defineProperties:un,getOwnPropertyDescriptor:Ft}),ke({target:"Object",stat:!0,forced:!Ge},{getOwnPropertyNames:An,getOwnPropertySymbols:Qn}),ke({target:"Object",stat:!0,forced:ze(function(){Fe.f(1)})},{getOwnPropertySymbols:function(gt){return Fe.f(Nt(gt))}}),he){var Jn=!Ge||ze(function(){var nt=Ie();return he([nt])!="[null]"||he({a:nt})!="{}"||he(Object(nt))!="{}"});ke({target:"JSON",stat:!0,forced:Jn},{stringify:function(gt,Kt,vn){for(var Rn=[gt],hr=1,$r;arguments.length>hr;)Rn.push(arguments[hr++]);if($r=Kt,!(!Bt(Kt)&>===void 0||vt(gt)))return pt(Kt)||(Kt=function(Xr,vr){if(typeof $r=="function"&&(vr=$r.call(this,Xr,vr)),!vt(vr))return vr}),Rn[1]=Kt,he.apply(null,Rn)}})}Ie[Rt][be]||Qt(Ie[Rt],be,Ie[Rt].valueOf),In(Ie,En),Cn[ct]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/dom-iterables.js"),Ve=ce("./node_modules/core-js/internals/array-for-each.js"),Ke=ce("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var He in Le){var Ge=ke[He],ze=Ge&&Ge.prototype;if(ze&&ze.forEach!==Ve)try{Ke(ze,"forEach",Ve)}catch(qe){ze.forEach=Ve}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Me,Pe,ce){var ke=ce("./node_modules/core-js/internals/global.js"),Le=ce("./node_modules/core-js/internals/dom-iterables.js"),Ve=ce("./node_modules/core-js/modules/es.array.iterator.js"),Ke=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ge=He("iterator"),ze=He("toStringTag"),qe=Ve.values;for(var pt in Le){var Bt=ke[pt],vt=Bt&&Bt.prototype;if(vt){if(vt[Ge]!==qe)try{Ke(vt,Ge,qe)}catch(Nt){vt[Ge]=qe}if(vt[ze]||Ke(vt,ze,pt),Le[pt]){for(var yt in Ve)if(vt[yt]!==Ve[yt])try{Ke(vt,yt,Ve[yt])}catch(Nt){vt[yt]=Ve[yt]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Me){(function(Pe,ce){Me.exports=ce()})(this,function(){"use strict";function Pe(Mt){var nn=typeof Mt;return Mt!==null&&(nn==="object"||nn==="function")}function ce(Mt){return typeof Mt=="function"}var ke=void 0;Array.isArray?ke=Array.isArray:ke=function(Mt){return Object.prototype.toString.call(Mt)==="[object Array]"};var Le=ke,Ve=0,Ke=void 0,He=void 0,Ge=function(nn,ln){Je[Ve]=nn,Je[Ve+1]=ln,Ve+=2,Ve===2&&(He?He(wt):Fe())};function ze(Mt){He=Mt}function qe(Mt){Ge=Mt}var pt=typeof window!="undefined"?window:void 0,Bt=pt||{},vt=Bt.MutationObserver||Bt.WebKitMutationObserver,yt=typeof self=="undefined"&&typeof oe!="undefined"&&{}.toString.call(oe)==="[object process]",Nt=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Et(){return function(){return oe.nextTick(wt)}}function pn(){return typeof Ke!="undefined"?function(){Ke(wt)}:jt()}function Pt(){var Mt=0,nn=new vt(wt),ln=document.createTextNode("");return nn.observe(ln,{characterData:!0}),function(){ln.data=Mt=++Mt%2}}function St(){var Mt=new MessageChannel;return Mt.port1.onmessage=wt,function(){return Mt.port2.postMessage(0)}}function jt(){var Mt=setTimeout;return function(){return Mt(wt,1)}}var Je=new Array(1e3);function wt(){for(var Mt=0;Mt>1|(qe&21845)<<1;pt=(pt&52428)>>2|(pt&13107)<<2,pt=(pt&61680)>>4|(pt&3855)<<4,ze[qe]=((pt&65280)>>8|(pt&255)<<8)>>1}for(var Bt=function(y,E,x){for(var te=y.length,re=0,ae=new rt(E);re>Be]=Ee}else for(ve=new rt(te),re=0;re>15-y[re]);return ve},vt=new Ht(288),qe=0;qe<144;++qe)vt[qe]=8;for(var qe=144;qe<256;++qe)vt[qe]=9;for(var qe=256;qe<280;++qe)vt[qe]=7;for(var qe=280;qe<288;++qe)vt[qe]=8;for(var yt=new Ht(32),qe=0;qe<32;++qe)yt[qe]=5;var Nt=Bt(vt,9,0),Et=null,pn=Bt(yt,5,0),Pt=null,St=function(y){for(var E=y[0],x=1;xE&&(E=y[x]);return E},jt=function(y,E,x){var te=E/8|0;return(y[te]|y[te+1]<<8)>>(E&7)&x},Je=function(y,E){var x=E/8|0;return(y[x]|y[x+1]<<8|y[x+2]<<16)>>(E&7)},wt=function(y){return(y+7)/8|0},lt=function(y,E,x){return(E==null||E<0)&&(E=0),(x==null||x>y.length)&&(x=y.length),new Ht(y.subarray(E,x))},Fe={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Zt=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],$e=function(y,E,x){var te=new Error(E||Zt[y]);if(te.code=y,Error.captureStackTrace&&Error.captureStackTrace(te,$e),!x)throw te;return te},At=function(y,E,x,te){var re=y.length,ae=te?te.length:0;if(!re||E.f&&!E.l)return x||new Ht(0);var we=!x,ve=we||E.i!=2,Be=E.i;we&&(x=new Ht(re*3));var Ee=function(wi){var Ri=x.length;if(wi>Ri){var _i=new Ht(Math.max(Ri*2,wi));_i.set(x),x=_i}},Ne=E.f||0,et=E.p||0,ht=E.b||0,De=E.l,tn=E.d,$t=E.m,on=E.n,Ot=re*8;do{if(!De){Ne=jt(y,et,1);var jn=jt(y,et+1,3);if(et+=3,jn)if(jn==1)De=Et,tn=Pt,$t=9,on=5;else if(jn==2){var Jr=jt(y,et,31)+257,Qr=jt(y,et+10,15)+4,qn=Jr+jt(y,et+5,31)+1;et+=14;for(var Bn=new Ht(qn),ur=new Ht(19),Ut=0;Ut>4;if(Dn<16)Bn[Ut++]=Dn;else{var Tr=0,_r=0;for(Dn==16?(_r=3+jt(y,et,3),et+=2,Tr=Bn[Ut-1]):Dn==17?(_r=3+jt(y,et,7),et+=3):Dn==18&&(_r=11+jt(y,et,127),et+=7);_r--;)Bn[Ut++]=Tr}}var Br=Bn.subarray(0,Jr),Kr=Bn.subarray(Jr);$t=St(Br),on=St(Kr),De=Bt(Br,$t,1),tn=Bt(Kr,on,1)}else $e(1);else{var Dn=wt(et)+4,bn=y[Dn-4]|y[Dn-3]<<8,Er=Dn+bn;if(Er>re){Be&&$e(0);break}ve&&Ee(ht+bn),x.set(y.subarray(Dn,Er),ht),E.b=ht+=bn,E.p=et=Er*8,E.f=Ne;continue}if(et>Ot){Be&&$e(0);break}}ve&&Ee(ht+131072);for(var Si=(1<<$t)-1,li=(1<>4;if(et+=Tr&15,et>Ot){Be&&$e(0);break}if(Tr||$e(2),wn<256)x[ht++]=wn;else if(wn==256){xt=et,De=null;break}else{var On=wn-254;if(wn>264){var Ut=wn-257,Gn=Dt[Ut];On=jt(y,et,(1<>4;or||$e(3),et+=or&15;var Kr=He[yr];if(yr>3){var Gn=Me[yr];Kr+=Je(y,et)&(1<Ot){Be&&$e(0);break}ve&&Ee(ht+131072);var Mr=ht+On;if(ht>8},Te=function(y,E,x){x<<=E&7;var te=E/8|0;y[te]|=x,y[te+1]|=x>>8,y[te+2]|=x>>16},xe=function(y,E){for(var x=[],te=0;teht&&(ht=ae[te].s);var De=new rt(ht+1),tn=It(x[Ne-1],De,0);if(tn>E){var te=0,$t=0,on=tn-E,Ot=1<E)$t+=Ot-(1<>=on;$t>0;){var Dn=ae[te].s;De[Dn]=0&&$t;--te){var bn=ae[te].s;De[bn]==E&&(--De[bn],++$t)}tn=E}return{t:new Ht(De),l:tn}},It=function(y,E,x){return y.s==-1?Math.max(It(y.l,E,x+1),It(y.r,E,x+1)):E[y.s]=x},Cn=function(y){for(var E=y.length;E&&!y[--E];);for(var x=new rt(++E),te=0,re=y[0],ae=1,we=function(Be){x[te++]=Be},ve=1;ve<=E;++ve)if(y[ve]==re&&ve!=E)++ae;else{if(!re&&ae>2){for(;ae>138;ae-=138)we(32754);ae>2&&(we(ae>10?ae-11<<5|28690:ae-3<<5|12305),ae=0)}else if(ae>3){for(we(re),--ae;ae>6;ae-=6)we(8304);ae>2&&(we(ae-3<<5|8208),ae=0)}for(;ae--;)we(re);ae=1,re=y[ve]}return{c:x.subarray(0,te),n:E}},mn=function(y,E){for(var x=0,te=0;te>8,y[re+2]=y[re]^255,y[re+3]=y[re+1]^255;for(var ae=0;ae4&&!ur[Pe[an-1]];--an);var Hn=Ee+5<<3,Pn=mn(re,vt)+mn(ae,yt)+we,Ir=mn(re,ht)+mn(ae,$t)+we+14+3*an+mn(Qr,ur)+2*Qr[16]+3*Qr[17]+7*Qr[18];if(Be>=0&&Hn<=Pn&&Hn<=Ir)return Ze(E,Ne,y.subarray(Be,Be+Ee));var Tr,_r,Br,Kr;if(Qt(E,Ne,1+(Ir15&&(Qt(E,Ne,wn[qn]>>5&127),Ne+=wn[qn]>>12)}}else Tr=Nt,_r=vt,Br=pn,Kr=yt;for(var qn=0;qn255){var On=Gn>>18&31;Te(E,Ne,Tr[On+257]),Ne+=_r[On+257],On>7&&(Qt(E,Ne,Gn>>23&31),Ne+=Dt[On]);var or=Gn&31;Te(E,Ne,Br[or]),Ne+=Kr[or],or>3&&(Te(E,Ne,Gn>>5&8191),Ne+=Me[or])}else Te(E,Ne,Tr[Gn]),Ne+=_r[Gn]}return Te(E,Ne,Tr[256]),Ne+_r[256]},_t=new at([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),In=new Ht(0),xn=function(y,E,x,te,re,ae){var we=ae.z||y.length,ve=new Ht(te+we+5*(1+Math.ceil(we/7e3))+re),Be=ve.subarray(te,ve.length-re),Ee=ae.l,Ne=(ae.r||0)&7;if(E){Ne&&(Be[0]=ae.r>>3);for(var et=_t[E-1],ht=et>>13,De=et&8191,tn=(1<7e3||ur>24576)&&(Tr>423||!Ee)){Ne=Ct(y,Be,0,bn,Er,Jr,qn,ur,an,Bn-an,Ne),ur=Qr=qn=0,an=Bn;for(var _r=0;_r<286;++_r)Er[_r]=0;for(var _r=0;_r<30;++_r)Jr[_r]=0}var Br=2,Kr=0,Si=De,li=Pn-Ir&32767;if(Tr>2&&Hn==Dn(Bn-li))for(var xt=Math.min(ht,Tr)-1,wn=Math.min(32767,Bn),On=Math.min(258,Tr);li<=wn&&--Si&&Pn!=Ir;){if(y[Bn+Br]==y[Bn+Br-li]){for(var Gn=0;GnBr){if(Br=Gn,Kr=li,Gn>xt)break;for(var or=Math.min(li,Gn-2),yr=0,_r=0;_ryr&&(yr=oi,Ir=Mr)}}}Pn=Ir,Ir=$t[Pn],li+=Pn-Ir&32767}if(Kr){bn[ur++]=268435456|Ve[Br]<<18|Ge[Kr];var wi=Ve[Br]&31,Ri=Ge[Kr]&31;qn+=Dt[wi]+Me[Ri],++Er[257+wi],++Jr[Ri],Ut=Bn+Br,++Qr}else bn[ur++]=y[Bn],++Er[y[Bn]]}}for(Bn=Math.max(Bn,Ut);Bn=we&&(Be[Ne/8|0]=Ee,_i=we),Ne=Ze(Be,Ne+1,y.subarray(Bn,_i))}ae.i=we}return lt(ve,0,te+wt(Ne)+re)},Wn=null,ct=function(){var y=-1;return{p:function(E){for(var x=y,te=0;te>>8;y=x},d:function(){return~y}}},En=function(){var y=1,E=0;return{p:function(x){for(var te=y,re=E,ae=x.length|0,we=0;we!=ae;){for(var ve=Math.min(we+2655,ae);we>16),re=(re&65535)+15*(re>>16)}y=te,E=re},d:function(){return y%=65521,E%=65521,(y&255)<<24|(y&65280)<<8|(E&255)<<8|E>>8}}},Rt=function(y,E,x,te,re){if(!re&&(re={l:1},E.dictionary)){var ae=E.dictionary.subarray(-32768),we=new Ht(ae.length+y.length);we.set(ae),we.set(y,ae.length),y=we,re.w=ae.length}return xn(y,E.level==null?6:E.level,E.mem==null?re.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+E.mem,x,te,re)},be=function(y,E){var x={};for(var te in y)x[te]=y[te];for(var te in E)x[te]=E[te];return x},de=function(y,E,x){for(var te=y(),re=y.toString(),ae=re.slice(re.indexOf("[")+1,re.lastIndexOf("]")).replace(/\s+/g,"").split(","),we=0;we>>0},Un=function(y,E){return ln(y,E)+ln(y,E+4)*4294967296},Nn=function(y,E,x){for(;x;++E)y[E]=x,x>>>=8},un=function(y,E){var x=E.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=E.level<2?4:E.level==9?2:0,y[9]=3,E.mtime!=0&&Nn(y,4,Math.floor(new Date(E.mtime||Date.now())/1e3)),x){y[3]=8;for(var te=0;te<=x.length;++te)y[te+10]=x.charCodeAt(te)}},ir=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&$e(6,"invalid gzip data");var E=y[3],x=10;E&4&&(x+=(y[10]|y[11]<<8)+2);for(var te=(E>>3&1)+(E>>4&1);te>0;te-=!y[x++]);return x+(E&2)},Xn=function(y){var E=y.length;return(y[E-4]|y[E-3]<<8|y[E-2]<<16|y[E-1]<<24)>>>0},Ft=function(y){return 10+(y.filename?y.filename.length+1:0)},An=function(y,E){var x=E.level,te=x==0?0:x<6?1:x==9?3:2;if(y[0]=120,y[1]=te<<6|(E.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,E.dictionary){var re=En();re.p(E.dictionary),Nn(y,2,re.d())}},Qn=function(y,E){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&$e(6,"invalid zlib data"),(y[1]>>5&1)==+!E&&$e(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Jn(y,E){return typeof y=="function"&&(E=y,y={}),this.ondata=E,y}var nt=null,gt=null;function Kt(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[We],function(te){return en(vn(te.data[0],te.data[1]))},0,x)}function vn(y,E){return Rt(y,E||{},0,0)}var Rn=null,hr=null;function $r(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[he],function(te){return en(Xr(te.data[0],Sn(te.data[1])))},1,x)}function Xr(y,E){return At(y,{i:2},E&&E.out,E&&E.dictionary)}var vr=null,lr=null;function Dr(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[We,tt,function(){return[rr]}],function(te){return en(rr(te.data[0],te.data[1]))},2,x)}function rr(y,E){E||(E={});var x=ct(),te=y.length;x.p(y);var re=Rt(y,E,Ft(E),8),ae=re.length;return un(re,E),Nn(re,ae-8,x.d()),Nn(re,ae-4,te),re}var Tn=null,_n=null;function Ln(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[he,dn,function(){return[mr]}],function(te){return en(mr(te.data[0],te.data[1]))},3,x)}function mr(y,E){var x=ir(y);return x+8>y.length&&$e(6,"invalid gzip data"),At(y.subarray(x,-8),{i:2},E&&E.out||new Ht(Xn(y)),E&&E.dictionary)}var cr=null,pr=null;function Rr(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[We,ut,function(){return[Wr]}],function(te){return en(Wr(te.data[0],te.data[1]))},4,x)}function Wr(y,E){E||(E={});var x=En();x.p(y);var te=Rt(y,E,E.dictionary?6:2,4);return An(te,E),Nn(te,te.length-4,x.d()),te}var Gr=null,ai=null;function ti(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),yn(y,E,[he,zt,function(){return[xi]}],function(te){return en(xi(te.data[0],Sn(te.data[1])))},5,x)}function xi(y,E){return At(y.subarray(Qn(y,E&&E.dictionary),-4),{i:2},E&&E.out,E&&E.dictionary)}var mi=null,Xt=null;function Kn(y,E,x){return x||(x=E,E={}),typeof x!="function"&&$e(7),y[0]==31&&y[1]==139&&y[2]==8?Ln(y,E,x):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?$r(y,E,x):ti(y,E,x)}function Lr(y,E){return y[0]==31&&y[1]==139&&y[2]==8?mr(y,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?Xr(y,E):xi(y,E)}var wr=function(y,E,x,te){for(var re in y){var ae=y[re],we=E+re,ve=te;Array.isArray(ae)&&(ve=be(te,ae[1]),ae=ae[0]),ae instanceof Ht?x[we]=[ae,ve]:(x[we+="/"]=[new Ht(0),ve],wr(ae,we,x,te))}},Lt=typeof TextEncoder!="undefined"&&new TextEncoder,Vt=typeof TextDecoder!="undefined"&&new TextDecoder,ot=0;try{Vt.decode(In,{stream:!0}),ot=1}catch(y){}var kt=function(y){for(var E="",x=0;;){var te=y[x++],re=(te>127)+(te>223)+(te>239);if(x+re>y.length)return{s:E,r:lt(y,x-1)};re?re==3?(te=((te&15)<<18|(y[x++]&63)<<12|(y[x++]&63)<<6|y[x++]&63)-65536,E+=String.fromCharCode(55296|te>>10,56320|te&1023)):re&1?E+=String.fromCharCode((te&31)<<6|y[x++]&63):E+=String.fromCharCode((te&15)<<12|(y[x++]&63)<<6|y[x++]&63):E+=String.fromCharCode(te)}},ft=null,Gt=null;function Fn(y,E){if(E){for(var x=new Ht(y.length),te=0;te>1)),we=0,ve=function(Ne){ae[we++]=Ne},te=0;teae.length){var Be=new Ht(we+8+(re-te<<1));Be.set(ae),ae=Be}var Ee=y.charCodeAt(te);Ee<128||E?ve(Ee):Ee<2048?(ve(192|Ee>>6),ve(128|Ee&63)):Ee>55295&&Ee<57344?(Ee=65536+(Ee&1047552)|y.charCodeAt(++te)&1023,ve(240|Ee>>18),ve(128|Ee>>12&63),ve(128|Ee>>6&63),ve(128|Ee&63)):(ve(224|Ee>>12),ve(128|Ee>>6&63),ve(128|Ee&63))}return lt(ae,0,we)}function xr(y,E){if(E){for(var x="",te=0;te65535&&$e(9),E+=te+4}return E},Ur=function(y,E,x,te,re,ae,we,ve){var Be=te.length,Ee=x.extra,Ne=ve&&ve.length,et=Mn(Ee);Nn(y,E,we!=null?33639248:67324752),E+=4,we!=null&&(y[E++]=20,y[E++]=x.os),y[E]=20,E+=2,y[E++]=x.flag<<1|(ae<0&&8),y[E++]=re&&8,y[E++]=x.compression&255,y[E++]=x.compression>>8;var ht=new Date(x.mtime==null?Date.now():x.mtime),De=ht.getFullYear()-1980;if((De<0||De>119)&&$e(10),Nn(y,E,De<<25|ht.getMonth()+1<<21|ht.getDate()<<16|ht.getHours()<<11|ht.getMinutes()<<5|ht.getSeconds()>>1),E+=4,ae!=-1&&(Nn(y,E,x.crc),Nn(y,E+4,ae<0?-ae-2:ae),Nn(y,E+8,x.size)),Nn(y,E+12,Be),Nn(y,E+14,et),E+=16,we!=null&&(Nn(y,E,Ne),Nn(y,E+6,x.attrs),Nn(y,E+10,we),E+=14),y.set(te,E),E+=Be,et)for(var tn in Ee){var $t=Ee[tn],on=$t.length;Nn(y,E,+tn),Nn(y,E+2,on),y.set($t,E+4),E+=4+on}return Ne&&(y.set(ve,E),E+=Ne),E},si=function(y,E,x,te,re){Nn(y,E,101010256),Nn(y,E+8,x),Nn(y,E+10,x),Nn(y,E+12,te),Nn(y,E+16,re)},ei=null,Ai=null,Ki=null,Vi=null;function eo(y,E,x){x||(x=E,E={}),typeof x!="function"&&$e(7);var te={};wr(y,"",te,E);var re=Object.keys(te),ae=re.length,we=0,ve=0,Be=ae,Ee=new Array(ae),Ne=[],et=function(){for(var on=0;on65535&&Pn($e(11,0,1),null),!Hn)Pn(null,Dn);else if(Jr<16e4)try{Pn(null,vn(Dn,bn))}catch(Ir){Pn(Ir,null)}else Ne.push(Kt(Dn,bn,Pn))},$t=0;$t65535&&$e(11);var Ot=Ne?vn(Be,Ee):Be,jn=Ot.length,Dn=ct();Dn.p(Be),te.push(be(Ee,{size:Be.length,crc:Dn.d(),c:Ot,f:et,m:tn,u:ht!=we.length||tn&&De.length!=$t,o:re,compression:Ne})),re+=30+ht+on+jn,ae+=76+2*(ht+on)+($t||0)+jn}for(var bn=new Ht(ae+22),Er=re,Jr=ae-re,Qr=0;Qr65558)return we($e(13,0,1),null),re;var Be=nn(y,ve+8);if(Be){var Ee=Be,Ne=ln(y,ve+16),et=Ne==4294967295||Ee==65535;if(et){var ht=ln(y,ve-12);et=ln(y,ht)==101075792,et&&(Ee=Be=ln(y,ht+32),Ne=ln(y,ht+48))}for(var De=E&&E.filter,tn=function(on){var Ot=dr(y,Ne,et),jn=Ot[0],Dn=Ot[1],bn=Ot[2],Er=Ot[3],Jr=Ot[4],Qr=Ot[5],qn=kr(y,Qr);Ne=Jr;var Bn=function(Ut,an){Ut?(re(),we(Ut,null)):(an&&(ae[Er]=an),--Be||we(null,ae))};if(!De||De({name:Er,size:Dn,originalSize:bn,compression:jn}))if(!jn)Bn(null,lt(y,qn,qn+Dn));else if(jn==8){var ur=y.subarray(qn,qn+Dn);if(bn<524288||Dn>.8*bn)try{Bn(null,Xr(ur,{out:new Ht(bn)}))}catch(Ut){Bn(Ut,null)}else te.push($r(ur,{size:bn},Bn))}else Bn($e(14,"unknown compression type "+jn,1),null);else Bn(null,null)},$t=0;$t65558)&&$e(13);var re=nn(y,te+8);if(!re)return{};var ae=ln(y,te+16),we=ae==4294967295||re==65535;if(we){var ve=ln(y,te-12);we=ln(y,ve)==101075792,we&&(re=ln(y,ve+32),ae=ln(y,ve+48))}for(var Be=E&&E.filter,Ee=0;Ee{const y=new Uint8Array(4),E=new Uint32Array(y.buffer);return!((E[0]=1)&y[0])})(),Ho={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class $i{constructor(E=bo,x={}){Va(this,"buffer");Va(this,"byteLength");Va(this,"byteOffset");Va(this,"length");Va(this,"offset");Va(this,"lastWrittenByte");Va(this,"littleEndian");Va(this,"_data");Va(this,"_mark");Va(this,"_marks");let te=!1;typeof E=="number"?E=new ArrayBuffer(E):(te=!0,this.lastWrittenByte=E.byteLength);const re=x.offset?x.offset>>>0:0,ae=E.byteLength-re;let we=re;(ArrayBuffer.isView(E)||E instanceof $i)&&(E.byteLength!==E.buffer.byteLength&&(we=E.byteOffset+re),E=E.buffer),te?this.lastWrittenByte=ae:this.lastWrittenByte=0,this.buffer=E,this.length=ae,this.byteLength=ae,this.byteOffset=we,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,we,ae),this._mark=0,this._marks=[]}available(E=1){return this.offset+E<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(E=1){return this.offset+=E,this}back(E=1){return this.offset-=E,this}seek(E){return this.offset=E,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const E=this._marks.pop();if(E===void 0)throw new Error("Mark stack empty");return this.seek(E),this}rewind(){return this.offset=0,this}ensureAvailable(E=1){if(!this.available(E)){const te=(this.offset+E)*2,re=new Uint8Array(te);re.set(new Uint8Array(this.buffer)),this.buffer=re.buffer,this.length=te,this.byteLength=te,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(E=1){return this.readArray(E,"uint8")}readArray(E,x){const te=Ho[x].BYTES_PER_ELEMENT*E,re=this.byteOffset+this.offset,ae=this.buffer.slice(re,re+te);if(this.littleEndian===Po&&x!=="uint8"&&x!=="int8"){const ve=new Uint8Array(this.buffer.slice(re,re+te));ve.reverse();const Be=new Ho[x](ve.buffer);return this.offset+=te,Be.reverse(),Be}const we=new Ho[x](ae);return this.offset+=te,we}readInt16(){const E=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,E}readUint16(){const E=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,E}readInt32(){const E=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,E}readUint32(){const E=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,E}readFloat32(){const E=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,E}readFloat64(){const E=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,E}readBigInt64(){const E=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,E}readBigUint64(){const E=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,E}readChar(){return String.fromCharCode(this.readInt8())}readChars(E=1){let x="";for(let te=0;tethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Bo=4,Pi=0,Ko=1,Ua=2;function Oa(y){let E=y.length;for(;--E>=0;)y[E]=0}const Jo=0,Vo=1,qo=2,ma=3,Ma=258,mo=29,Ti=256,Pr=Ti+1+mo,jr=30,Vr=19,Sr=2*Pr+1,hi=15,Ii=16,Fr=7,zr=256,fi=16,vi=17,to=18,Zo=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Do=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ra=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ea=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),va=512,Aa=new Array((Pr+2)*2);Oa(Aa);const Ro=new Array(jr*2);Oa(Ro);const Ia=new Array(va);Oa(Ia);const qa=new Array(Ma-ma+1);Oa(qa);const mA=new Array(mo);Oa(mA);const EA=new Array(jr);Oa(EA);function qs(y,E,x,te,re){this.static_tree=y,this.extra_bits=E,this.extra_base=x,this.elems=te,this.max_length=re,this.has_stree=y&&y.length}let eA,Bl,ya;function Cl(y,E){this.dyn_tree=y,this.max_code=0,this.stat_desc=E}const ws=y=>y<256?Ia[y]:Ia[256+(y>>>7)],tA=(y,E)=>{y.pending_buf[y.pending++]=E&255,y.pending_buf[y.pending++]=E>>>8&255},bs=(y,E,x)=>{y.bi_valid>Ii-x?(y.bi_buf|=E<>Ii-y.bi_valid,y.bi_valid+=x-Ii):(y.bi_buf|=E<{bs(y,x[E*2],x[E*2+1])},nA=(y,E)=>{let x=0;do x|=y&1,y>>>=1,x<<=1;while(--E>0);return x>>>1},vA=y=>{y.bi_valid===16?(tA(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},es=(y,E)=>{const x=E.dyn_tree,te=E.max_code,re=E.stat_desc.static_tree,ae=E.stat_desc.has_stree,we=E.stat_desc.extra_bits,ve=E.stat_desc.extra_base,Be=E.stat_desc.max_length;let Ee,Ne,et,ht,De,tn,$t=0;for(ht=0;ht<=hi;ht++)y.bl_count[ht]=0;for(x[y.heap[y.heap_max]*2+1]=0,Ee=y.heap_max+1;EeBe&&(ht=Be,$t++),x[Ne*2+1]=ht,!(Ne>te)&&(y.bl_count[ht]++,De=0,Ne>=ve&&(De=we[Ne-ve]),tn=x[Ne*2],y.opt_len+=tn*(ht+De),ae&&(y.static_len+=tn*(re[Ne*2+1]+De)));if($t!==0){do{for(ht=Be-1;y.bl_count[ht]===0;)ht--;y.bl_count[ht]--,y.bl_count[ht+1]+=2,y.bl_count[Be]--,$t-=2}while($t>0);for(ht=Be;ht!==0;ht--)for(Ne=y.bl_count[ht];Ne!==0;)et=y.heap[--Ee],!(et>te)&&(x[et*2+1]!==ht&&(y.opt_len+=(ht-x[et*2+1])*x[et*2],x[et*2+1]=ht),Ne--)}},ZA=(y,E,x)=>{const te=new Array(hi+1);let re=0,ae,we;for(ae=1;ae<=hi;ae++)re=re+x[ae-1]<<1,te[ae]=re;for(we=0;we<=E;we++){let ve=y[we*2+1];ve!==0&&(y[we*2]=nA(te[ve]++,ve))}},mu=()=>{let y,E,x,te,re;const ae=new Array(hi+1);for(x=0,te=0;te>=7;te{let E;for(E=0;E{y.bi_valid>8?tA(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},vu=(y,E,x,te)=>{const re=E*2,ae=x*2;return y[re]{const te=y.heap[x];let re=x<<1;for(;re<=y.heap_len&&(re{let te,re,ae=0,we,ve;if(y.sym_next!==0)do te=y.pending_buf[y.sym_buf+ae++]&255,te+=(y.pending_buf[y.sym_buf+ae++]&255)<<8,re=y.pending_buf[y.sym_buf+ae++],te===0?Ts(y,re,E):(we=qa[re],Ts(y,we+Ti+1,E),ve=Zo[we],ve!==0&&(re-=mA[we],bs(y,re,ve)),te--,we=ws(te),Ts(y,we,x),ve=Do[we],ve!==0&&(te-=EA[we],bs(y,te,ve)));while(ae{const x=E.dyn_tree,te=E.stat_desc.static_tree,re=E.stat_desc.has_stree,ae=E.stat_desc.elems;let we,ve,Be=-1,Ee;for(y.heap_len=0,y.heap_max=Sr,we=0;we>1;we>=1;we--)kl(y,x,we);Ee=ae;do we=y.heap[1],y.heap[1]=y.heap[y.heap_len--],kl(y,x,1),ve=y.heap[1],y.heap[--y.heap_max]=we,y.heap[--y.heap_max]=ve,x[Ee*2]=x[we*2]+x[ve*2],y.depth[Ee]=(y.depth[we]>=y.depth[ve]?y.depth[we]:y.depth[ve])+1,x[we*2+1]=x[ve*2+1]=Ee,y.heap[1]=Ee++,kl(y,x,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],es(y,E),ZA(x,Be,y.bl_count)},vo=(y,E,x)=>{let te,re=-1,ae,we=E[0*2+1],ve=0,Be=7,Ee=4;for(we===0&&(Be=138,Ee=3),E[(x+1)*2+1]=65535,te=0;te<=x;te++)ae=we,we=E[(te+1)*2+1],!(++ve{let te,re=-1,ae,we=E[0*2+1],ve=0,Be=7,Ee=4;for(we===0&&(Be=138,Ee=3),te=0;te<=x;te++)if(ae=we,we=E[(te+1)*2+1],!(++ve{let E;for(vo(y,y.dyn_ltree,y.l_desc.max_code),vo(y,y.dyn_dtree,y.d_desc.max_code),So(y,y.bl_desc),E=Vr-1;E>=3&&y.bl_tree[ea[E]*2+1]===0;E--);return y.opt_len+=3*(E+1)+5+5+4,E},Da=(y,E,x,te)=>{let re;for(bs(y,E-257,5),bs(y,x-1,5),bs(y,te-4,4),re=0;re{let E=4093624447,x;for(x=0;x<=31;x++,E>>>=1)if(E&1&&y.dyn_ltree[x*2]!==0)return Pi;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return Ko;for(x=32;x{rA||(mu(),rA=!0),y.l_desc=new Cl(y.dyn_ltree,eA),y.d_desc=new Cl(y.dyn_dtree,Bl),y.bl_desc=new Cl(y.bl_tree,ya),y.bi_buf=0,y.bi_valid=0,ul(y)},ls=(y,E,x,te)=>{bs(y,(Jo<<1)+(te?1:0),3),ps(y),tA(y,x),tA(y,~x),x&&y.pending_buf.set(y.window.subarray(E,E+x),y.pending),y.pending+=x},iA=y=>{bs(y,Vo<<1,3),Ts(y,zr,Aa),vA(y)},Qs=(y,E,x,te)=>{let re,ae,we=0;y.level>0?(y.strm.data_type===Ua&&(y.strm.data_type=ua(y)),So(y,y.l_desc),So(y,y.d_desc),we=la(y),re=y.opt_len+3+7>>>3,ae=y.static_len+3+7>>>3,ae<=re&&(re=ae)):re=ae=x+5,x+4<=re&&E!==-1?ls(y,E,x,te):y.strategy===Bo||ae===re?(bs(y,(Vo<<1)+(te?1:0),3),io(y,Aa,Ro)):(bs(y,(qo<<1)+(te?1:0),3),Da(y,y.l_desc.max_code+1,y.d_desc.max_code+1,we+1),io(y,y.dyn_ltree,y.dyn_dtree)),ul(y),te&&ps(y)},_A=(y,E,x)=>(y.pending_buf[y.sym_buf+y.sym_next++]=E,y.pending_buf[y.sym_buf+y.sym_next++]=E>>8,y.pending_buf[y.sym_buf+y.sym_next++]=x,E===0?y.dyn_ltree[x*2]++:(y.matches++,E--,y.dyn_ltree[(qa[x]+Ti+1)*2]++,y.dyn_dtree[ws(E)*2]++),y.sym_next===y.sym_end);var oA=Is,Za=ls,cl=Qs,gs=_A,Af=iA,xl={_tr_init:oA,_tr_stored_block:Za,_tr_flush_block:cl,_tr_tally:gs,_tr_align:Af},da=(y,E,x,te)=>{let re=y&65535|0,ae=y>>>16&65535|0,we=0;for(;x!==0;){we=x>2e3?2e3:x,x-=we;do re=re+E[te++]|0,ae=ae+re|0;while(--we);re%=65521,ae%=65521}return re|ae<<16|0};const XA=()=>{let y,E=[];for(var x=0;x<256;x++){y=x;for(var te=0;te<8;te++)y=y&1?3988292384^y>>>1:y>>>1;E[x]=y}return E},lf=new Uint32Array(XA());var Bs=(y,E,x,te)=>{const re=lf,ae=te+x;y^=-1;for(let we=te;we>>8^re[(y^E[we])&255];return y^-1},YA={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Hl={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Bc,_tr_stored_block:Ks,_tr_flush_block:kA,_tr_tally:Ms,_tr_align:Cs}=xl,{Z_NO_FLUSH:_s,Z_PARTIAL_FLUSH:Gu,Z_FULL_FLUSH:uf,Z_FINISH:ks,Z_BLOCK:aA,Z_OK:Co,Z_STREAM_END:Lo,Z_STREAM_ERROR:xa,Z_DATA_ERROR:sA,Z_BUF_ERROR:us,Z_DEFAULT_COMPRESSION:fs,Z_FILTERED:fl,Z_HUFFMAN_ONLY:SA,Z_RLE:Vl,Z_FIXED:cs,Z_DEFAULT_STRATEGY:FA,Z_UNKNOWN:El,Z_DEFLATED:Sl}=Hl,Cc=9,Yh=15,id=8,Ws=256+1+29,Zl=30,$l=19,cf=2*Ws+1,Jh=15,wa=3,IA=258,Fl=IA+wa+1,qh=32,Il=42,$d=57,xc=69,od=73,ad=91,ff=103,dl=113,yu=666,xs=1,Xl=2,$u=3,Yl=4,Xp=3,Jl=(y,E)=>(y.msg=YA[E],E),sd=y=>y*2-(y>4?9:0),JA=y=>{let E=y.length;for(;--E>=0;)y[E]=0},wu=y=>{let E,x,te,re=y.w_size;E=y.hash_size,te=E;do x=y.head[--te],y.head[te]=x>=re?x-re:0;while(--E);E=re,te=E;do x=y.prev[--te],y.prev[te]=x>=re?x-re:0;while(--E)};let Ll=(y,E,x)=>(E<{const E=y.state;let x=E.pending;x>y.avail_out&&(x=y.avail_out),x!==0&&(y.output.set(E.pending_buf.subarray(E.pending_out,E.pending_out+x),y.next_out),y.next_out+=x,E.pending_out+=x,y.total_out+=x,y.avail_out-=x,E.pending-=x,E.pending===0&&(E.pending_out=0))},AA=(y,E)=>{kA(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,E),y.block_start=y.strstart,HA(y.strm)},Ea=(y,E)=>{y.pending_buf[y.pending++]=E},Ul=(y,E)=>{y.pending_buf[y.pending++]=E>>>8&255,y.pending_buf[y.pending++]=E&255},Xu=(y,E,x,te)=>{let re=y.avail_in;return re>te&&(re=te),re===0?0:(y.avail_in-=re,E.set(y.input.subarray(y.next_in,y.next_in+re),x),y.state.wrap===1?y.adler=da(y.adler,E,re,x):y.state.wrap===2&&(y.adler=Bs(y.adler,E,re,x)),y.next_in+=re,y.total_in+=re,re)},bu=(y,E)=>{let x=y.max_chain_length,te=y.strstart,re,ae,we=y.prev_length,ve=y.nice_match;const Be=y.strstart>y.w_size-Fl?y.strstart-(y.w_size-Fl):0,Ee=y.window,Ne=y.w_mask,et=y.prev,ht=y.strstart+IA;let De=Ee[te+we-1],tn=Ee[te+we];y.prev_length>=y.good_match&&(x>>=2),ve>y.lookahead&&(ve=y.lookahead);do if(re=E,!(Ee[re+we]!==tn||Ee[re+we-1]!==De||Ee[re]!==Ee[te]||Ee[++re]!==Ee[te+1])){te+=2,re++;do;while(Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&Ee[++te]===Ee[++re]&&tewe){if(y.match_start=E,we=ae,ae>=ve)break;De=Ee[te+we-1],tn=Ee[te+we]}}while((E=et[E&Ne])>Be&&--x!==0);return we<=y.lookahead?we:y.lookahead},Rl=y=>{const E=y.w_size;let x,te,re;do{if(te=y.window_size-y.lookahead-y.strstart,y.strstart>=E+(E-Fl)&&(y.window.set(y.window.subarray(E,E+E-te),0),y.match_start-=E,y.strstart-=E,y.block_start-=E,y.insert>y.strstart&&(y.insert=y.strstart),wu(y),te+=E),y.strm.avail_in===0)break;if(x=Xu(y.strm,y.window,y.strstart+y.lookahead,te),y.lookahead+=x,y.lookahead+y.insert>=wa)for(re=y.strstart-y.insert,y.ins_h=y.window[re],y.ins_h=Ll(y,y.ins_h,y.window[re+1]);y.insert&&(y.ins_h=Ll(y,y.ins_h,y.window[re+wa-1]),y.prev[re&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=re,re++,y.insert--,!(y.lookahead+y.insert{let x=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,te,re,ae,we=0,ve=y.strm.avail_in;do{if(te=65535,ae=y.bi_valid+42>>3,y.strm.avail_outre+y.strm.avail_in&&(te=re+y.strm.avail_in),te>ae&&(te=ae),te>8,y.pending_buf[y.pending-2]=~te,y.pending_buf[y.pending-1]=~te>>8,HA(y.strm),re&&(re>te&&(re=te),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+re),y.strm.next_out),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re,y.block_start+=re,te-=re),te&&(Xu(y.strm,y.strm.output,y.strm.next_out,te),y.strm.next_out+=te,y.strm.avail_out-=te,y.strm.total_out+=te)}while(we===0);return ve-=y.strm.avail_in,ve&&(ve>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=ve&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-ve,y.strm.next_in),y.strstart),y.strstart+=ve,y.insert+=ve>y.w_size-y.insert?y.w_size-y.insert:ve),y.block_start=y.strstart),y.high_waterae&&y.block_start>=y.w_size&&(y.block_start-=y.w_size,y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,ae+=y.w_size,y.insert>y.strstart&&(y.insert=y.strstart)),ae>y.strm.avail_in&&(ae=y.strm.avail_in),ae&&(Xu(y.strm,y.window,y.strstart,ae),y.strstart+=ae,y.insert+=ae>y.w_size-y.insert?y.w_size-y.insert:ae),y.high_water>3,ae=y.pending_buf_size-ae>65535?65535:y.pending_buf_size-ae,x=ae>y.w_size?y.w_size:ae,re=y.strstart-y.block_start,(re>=x||(re||E===ks)&&E!==_s&&y.strm.avail_in===0&&re<=ae)&&(te=re>ae?ae:re,we=E===ks&&y.strm.avail_in===0&&te===re?1:0,Ks(y,y.block_start,te,we),y.block_start+=te,HA(y.strm)),we?$u:xs)},Ad=(y,E)=>{let x,te;for(;;){if(y.lookahead=wa&&(y.ins_h=Ll(y,y.ins_h,y.window[y.strstart+wa-1]),x=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),x!==0&&y.strstart-x<=y.w_size-Fl&&(y.match_length=bu(y,x)),y.match_length>=wa)if(te=Ms(y,y.strstart-y.match_start,y.match_length-wa),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=wa){y.match_length--;do y.strstart++,y.ins_h=Ll(y,y.ins_h,y.window[y.strstart+wa-1]),x=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=Ll(y,y.ins_h,y.window[y.strstart+1]);else te=Ms(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(te&&(AA(y,!1),y.strm.avail_out===0))return xs}return y.insert=y.strstart{let x,te,re;for(;;){if(y.lookahead=wa&&(y.ins_h=Ll(y,y.ins_h,y.window[y.strstart+wa-1]),x=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=wa-1,x!==0&&y.prev_length4096)&&(y.match_length=wa-1)),y.prev_length>=wa&&y.match_length<=y.prev_length){re=y.strstart+y.lookahead-wa,te=Ms(y,y.strstart-1-y.prev_match,y.prev_length-wa),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=re&&(y.ins_h=Ll(y,y.ins_h,y.window[y.strstart+wa-1]),x=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=wa-1,y.strstart++,te&&(AA(y,!1),y.strm.avail_out===0))return xs}else if(y.match_available){if(te=Ms(y,0,y.window[y.strstart-1]),te&&AA(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return xs}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(te=Ms(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart{let x,te,re,ae;const we=y.window;for(;;){if(y.lookahead<=IA){if(Rl(y),y.lookahead<=IA&&E===_s)return xs;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=wa&&y.strstart>0&&(re=y.strstart-1,te=we[re],te===we[++re]&&te===we[++re]&&te===we[++re])){ae=y.strstart+IA;do;while(te===we[++re]&&te===we[++re]&&te===we[++re]&&te===we[++re]&&te===we[++re]&&te===we[++re]&&te===we[++re]&&te===we[++re]&&rey.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=wa?(x=Ms(y,1,y.match_length-wa),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(x=Ms(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),x&&(AA(y,!1),y.strm.avail_out===0))return xs}return y.insert=0,E===ks?(AA(y,!0),y.strm.avail_out===0?$u:Yl):y.sym_next&&(AA(y,!1),y.strm.avail_out===0)?xs:Xl},Yp=(y,E)=>{let x;for(;;){if(y.lookahead===0&&(Rl(y),y.lookahead===0)){if(E===_s)return xs;break}if(y.match_length=0,x=Ms(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,x&&(AA(y,!1),y.strm.avail_out===0))return xs}return y.insert=0,E===ks?(AA(y,!0),y.strm.avail_out===0?$u:Yl):y.sym_next&&(AA(y,!1),y.strm.avail_out===0)?xs:Xl};function yA(y,E,x,te,re){this.good_length=y,this.max_lazy=E,this.nice_length=x,this.max_chain=te,this.func=re}const Ol=[new yA(0,0,0,0,jl),new yA(4,4,8,4,Ad),new yA(4,5,16,8,Ad),new yA(4,6,32,32,Ad),new yA(4,4,16,16,Yu),new yA(8,16,32,32,Yu),new yA(8,16,128,128,Yu),new yA(8,32,128,256,Yu),new yA(32,128,258,1024,Yu),new yA(32,258,258,4096,Yu)],Jp=y=>{y.window_size=2*y.w_size,JA(y.head),y.max_lazy_match=Ol[y.level].max_lazy,y.good_match=Ol[y.level].good_length,y.nice_match=Ol[y.level].nice_length,y.max_chain_length=Ol[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=wa-1,y.match_available=0,y.ins_h=0};function qp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Sl,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(cf*2),this.dyn_dtree=new Uint16Array((2*Zl+1)*2),this.bl_tree=new Uint16Array((2*$l+1)*2),JA(this.dyn_ltree),JA(this.dyn_dtree),JA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Jh+1),this.heap=new Uint16Array(2*Ws+1),JA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ws+1),JA(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const df=y=>{if(!y)return 1;const E=y.state;return!E||E.strm!==y||E.status!==Il&&E.status!==$d&&E.status!==xc&&E.status!==od&&E.status!==ad&&E.status!==ff&&E.status!==dl&&E.status!==yu?1:0},tp=y=>{if(df(y))return Jl(y,xa);y.total_in=y.total_out=0,y.data_type=El;const E=y.state;return E.pending=0,E.pending_out=0,E.wrap<0&&(E.wrap=-E.wrap),E.status=E.wrap===2?$d:E.wrap?Il:dl,y.adler=E.wrap===2?0:1,E.last_flush=-2,Bc(E),Co},hf=y=>{const E=tp(y);return E===Co&&Jp(y.state),E},eg=(y,E)=>df(y)||y.state.wrap!==2?xa:(y.state.gzhead=E,Co),LA=(y,E,x,te,re,ae)=>{if(!y)return xa;let we=1;if(E===fs&&(E=6),te<0?(we=0,te=-te):te>15&&(we=2,te-=16),re<1||re>Cc||x!==Sl||te<8||te>15||E<0||E>9||ae<0||ae>cs||te===8&&we!==1)return Jl(y,xa);te===8&&(te=9);const ve=new qp;return y.state=ve,ve.strm=y,ve.status=Il,ve.wrap=we,ve.gzhead=null,ve.w_bits=te,ve.w_size=1<LA(y,E,Sl,Yh,id,FA),wA=(y,E)=>{if(df(y)||E>aA||E<0)return y?Jl(y,xa):xa;const x=y.state;if(!y.output||y.avail_in!==0&&!y.input||x.status===yu&&E!==ks)return Jl(y,y.avail_out===0?us:xa);const te=x.last_flush;if(x.last_flush=E,x.pending!==0){if(HA(y),y.avail_out===0)return x.last_flush=-1,Co}else if(y.avail_in===0&&sd(E)<=sd(te)&&E!==ks)return Jl(y,us);if(x.status===yu&&y.avail_in!==0)return Jl(y,us);if(x.status===Il&&x.wrap===0&&(x.status=dl),x.status===Il){let re=Sl+(x.w_bits-8<<4)<<8,ae=-1;if(x.strategy>=SA||x.level<2?ae=0:x.level<6?ae=1:x.level===6?ae=2:ae=3,re|=ae<<6,x.strstart!==0&&(re|=qh),re+=31-re%31,Ul(x,re),x.strstart!==0&&(Ul(x,y.adler>>>16),Ul(x,y.adler&65535)),y.adler=1,x.status=dl,HA(y),x.pending!==0)return x.last_flush=-1,Co}if(x.status===$d){if(y.adler=0,Ea(x,31),Ea(x,139),Ea(x,8),x.gzhead)Ea(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Ea(x,x.gzhead.time&255),Ea(x,x.gzhead.time>>8&255),Ea(x,x.gzhead.time>>16&255),Ea(x,x.gzhead.time>>24&255),Ea(x,x.level===9?2:x.strategy>=SA||x.level<2?4:0),Ea(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Ea(x,x.gzhead.extra.length&255),Ea(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(y.adler=Bs(y.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=xc;else if(Ea(x,0),Ea(x,0),Ea(x,0),Ea(x,0),Ea(x,0),Ea(x,x.level===9?2:x.strategy>=SA||x.level<2?4:0),Ea(x,Xp),x.status=dl,HA(y),x.pending!==0)return x.last_flush=-1,Co}if(x.status===xc){if(x.gzhead.extra){let re=x.pending,ae=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+ae>x.pending_buf_size;){let ve=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+ve),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>re&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re)),x.gzindex+=ve,HA(y),x.pending!==0)return x.last_flush=-1,Co;re=0,ae-=ve}let we=new Uint8Array(x.gzhead.extra);x.pending_buf.set(we.subarray(x.gzindex,x.gzindex+ae),x.pending),x.pending+=ae,x.gzhead.hcrc&&x.pending>re&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re)),x.gzindex=0}x.status=od}if(x.status===od){if(x.gzhead.name){let re=x.pending,ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>re&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re)),HA(y),x.pending!==0)return x.last_flush=-1,Co;re=0}x.gzindexre&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re)),x.gzindex=0}x.status=ad}if(x.status===ad){if(x.gzhead.comment){let re=x.pending,ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>re&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re)),HA(y),x.pending!==0)return x.last_flush=-1,Co;re=0}x.gzindexre&&(y.adler=Bs(y.adler,x.pending_buf,x.pending-re,re))}x.status=ff}if(x.status===ff){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(HA(y),x.pending!==0))return x.last_flush=-1,Co;Ea(x,y.adler&255),Ea(x,y.adler>>8&255),y.adler=0}if(x.status=dl,HA(y),x.pending!==0)return x.last_flush=-1,Co}if(y.avail_in!==0||x.lookahead!==0||E!==_s&&x.status!==yu){let re=x.level===0?jl(x,E):x.strategy===SA?Yp(x,E):x.strategy===Vl?ep(x,E):Ol[x.level].func(x,E);if((re===$u||re===Yl)&&(x.status=yu),re===xs||re===$u)return y.avail_out===0&&(x.last_flush=-1),Co;if(re===Xl&&(E===Gu?Cs(x):E!==aA&&(Ks(x,0,0,!1),E===uf&&(JA(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),HA(y),y.avail_out===0))return x.last_flush=-1,Co}return E!==ks?Co:x.wrap<=0?Lo:(x.wrap===2?(Ea(x,y.adler&255),Ea(x,y.adler>>8&255),Ea(x,y.adler>>16&255),Ea(x,y.adler>>24&255),Ea(x,y.total_in&255),Ea(x,y.total_in>>8&255),Ea(x,y.total_in>>16&255),Ea(x,y.total_in>>24&255)):(Ul(x,y.adler>>>16),Ul(x,y.adler&65535)),HA(y),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?Co:Lo)},Hs=y=>{if(df(y))return xa;const E=y.state.status;return y.state=null,E===dl?Jl(y,sA):Co},Ju=(y,E)=>{let x=E.length;if(df(y))return xa;const te=y.state,re=te.wrap;if(re===2||re===1&&te.status!==Il||te.lookahead)return xa;if(re===1&&(y.adler=da(y.adler,E,x,0)),te.wrap=0,x>=te.w_size){re===0&&(JA(te.head),te.strstart=0,te.block_start=0,te.insert=0);let Be=new Uint8Array(te.w_size);Be.set(E.subarray(x-te.w_size,x),0),E=Be,x=te.w_size}const ae=y.avail_in,we=y.next_in,ve=y.input;for(y.avail_in=x,y.next_in=0,y.input=E,Rl(te);te.lookahead>=wa;){let Be=te.strstart,Ee=te.lookahead-(wa-1);do te.ins_h=Ll(te,te.ins_h,te.window[Be+wa-1]),te.prev[Be&te.w_mask]=te.head[te.ins_h],te.head[te.ins_h]=Be,Be++;while(--Ee);te.strstart=Be,te.lookahead=wa-1,Rl(te)}return te.strstart+=te.lookahead,te.block_start=te.strstart,te.insert=te.lookahead,te.lookahead=0,te.match_length=te.prev_length=wa-1,te.match_available=0,y.next_in=we,y.input=ve,y.avail_in=ae,te.wrap=re,Co};var ld=Ls,ud=LA,tg=hf,ng=tp,rg=eg,Xd=wA,np=Hs,Ec=Ju,ig="pako deflate (from Nodeca project)",qu={deflateInit:ld,deflateInit2:ud,deflateReset:tg,deflateResetKeep:ng,deflateSetHeader:rg,deflate:Xd,deflateEnd:np,deflateSetDictionary:Ec,deflateInfo:ig};const Yd=(y,E)=>Object.prototype.hasOwnProperty.call(y,E);var rp=function(y){const E=Array.prototype.slice.call(arguments,1);for(;E.length;){const x=E.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const te in x)Yd(x,te)&&(y[te]=x[te])}}return y},ip=y=>{let E=0;for(let te=0,re=y.length;te=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;ql[254]=ql[254]=1;var og=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let E,x,te,re,ae,we=y.length,ve=0;for(re=0;re>>6,E[ae++]=128|x&63):x<65536?(E[ae++]=224|x>>>12,E[ae++]=128|x>>>6&63,E[ae++]=128|x&63):(E[ae++]=240|x>>>18,E[ae++]=128|x>>>12&63,E[ae++]=128|x>>>6&63,E[ae++]=128|x&63);return E};const cd=(y,E)=>{if(E<65534&&y.subarray&&Jd)return String.fromCharCode.apply(null,y.length===E?y:y.subarray(0,E));let x="";for(let te=0;te{const x=E||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,E));let te,re;const ae=new Array(x*2);for(re=0,te=0;te4){ae[re++]=65533,te+=ve-1;continue}for(we&=ve===2?31:ve===3?15:7;ve>1&&te1){ae[re++]=65533;continue}we<65536?ae[re++]=we:(we-=65536,ae[re++]=55296|we>>10&1023,ae[re++]=56320|we&1023)}return cd(ae,re)},op=(y,E)=>{E=E||y.length,E>y.length&&(E=y.length);let x=E-1;for(;x>=0&&(y[x]&192)===128;)x--;return x<0||x===0?E:x+ql[y[x]]>E?x:E},Fc={string2buf:og,buf2string:qA,utf8border:op};function ap(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var RA=ap;const Na=Object.prototype.toString,{Z_NO_FLUSH:UA,Z_SYNC_FLUSH:Bu,Z_FULL_FLUSH:Cu,Z_FINISH:qd,Z_OK:Ic,Z_STREAM_END:sp,Z_DEFAULT_COMPRESSION:ag,Z_DEFAULT_STRATEGY:eh,Z_DEFLATED:pf}=Hl;function Lc(y){this.options=Sc.assign({level:ag,method:pf,chunkSize:16384,windowBits:15,memLevel:8,strategy:eh},y||{});let E=this.options;E.raw&&E.windowBits>0?E.windowBits=-E.windowBits:E.gzip&&E.windowBits>0&&E.windowBits<16&&(E.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RA,this.strm.avail_out=0;let x=qu.deflateInit2(this.strm,E.level,E.method,E.windowBits,E.memLevel,E.strategy);if(x!==Ic)throw new Error(YA[x]);if(E.header&&qu.deflateSetHeader(this.strm,E.header),E.dictionary){let te;if(typeof E.dictionary=="string"?te=Fc.string2buf(E.dictionary):Na.call(E.dictionary)==="[object ArrayBuffer]"?te=new Uint8Array(E.dictionary):te=E.dictionary,x=qu.deflateSetDictionary(this.strm,te),x!==Ic)throw new Error(YA[x]);this._dict_set=!0}}Lc.prototype.push=function(y,E){const x=this.strm,te=this.options.chunkSize;let re,ae;if(this.ended)return!1;for(E===~~E?ae=E:ae=E===!0?qd:UA,typeof y=="string"?x.input=Fc.string2buf(y):Na.call(y)==="[object ArrayBuffer]"?x.input=new Uint8Array(y):x.input=y,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(te),x.next_out=0,x.avail_out=te),(ae===Bu||ae===Cu)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(re=qu.deflate(x,ae),re===sp)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),re=qu.deflateEnd(this.strm),this.onEnd(re),this.ended=!0,re===Ic;if(x.avail_out===0){this.onData(x.output);continue}if(ae>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},Lc.prototype.onData=function(y){this.chunks.push(y)},Lc.prototype.onEnd=function(y){y===Ic&&(this.result=Sc.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function gf(y,E){const x=new Lc(E);if(x.push(y,!0),x.err)throw x.msg||YA[x.err];return x.result}function xu(y,E){return E=E||{},E.raw=!0,gf(y,E)}function Us(y,E){return E=E||{},E.gzip=!0,gf(y,E)}var Ap=Lc,sg=gf,fd=xu,th=Us,lp=Hl,up={Deflate:Ap,deflate:sg,deflateRaw:fd,gzip:th,constants:lp};const mf=16209,Ag=16191;var lg=function(E,x){let te,re,ae,we,ve,Be,Ee,Ne,et,ht,De,tn,$t,on,Ot,jn,Dn,bn,Er,Jr,Qr,qn,Bn,ur;const Ut=E.state;te=E.next_in,Bn=E.input,re=te+(E.avail_in-5),ae=E.next_out,ur=E.output,we=ae-(x-E.avail_out),ve=ae+(E.avail_out-257),Be=Ut.dmax,Ee=Ut.wsize,Ne=Ut.whave,et=Ut.wnext,ht=Ut.window,De=Ut.hold,tn=Ut.bits,$t=Ut.lencode,on=Ut.distcode,Ot=(1<>>24,De>>>=bn,tn-=bn,bn=Dn>>>16&255,bn===0)ur[ae++]=Dn&65535;else if(bn&16){Er=Dn&65535,bn&=15,bn&&(tn>>=bn,tn-=bn),tn<15&&(De+=Bn[te++]<>>24,De>>>=bn,tn-=bn,bn=Dn>>>16&255,bn&16){if(Jr=Dn&65535,bn&=15,tnBe){E.msg="invalid distance too far back",Ut.mode=mf;break e}if(De>>>=bn,tn-=bn,bn=ae-we,Jr>bn){if(bn=Jr-bn,bn>Ne&&Ut.sane){E.msg="invalid distance too far back",Ut.mode=mf;break e}if(Qr=0,qn=ht,et===0){if(Qr+=Ee-bn,bn2;)ur[ae++]=qn[Qr++],ur[ae++]=qn[Qr++],ur[ae++]=qn[Qr++],Er-=3;Er&&(ur[ae++]=qn[Qr++],Er>1&&(ur[ae++]=qn[Qr++]))}else{Qr=ae-Jr;do ur[ae++]=ur[Qr++],ur[ae++]=ur[Qr++],ur[ae++]=ur[Qr++],Er-=3;while(Er>2);Er&&(ur[ae++]=ur[Qr++],Er>1&&(ur[ae++]=ur[Qr++]))}}else if(bn&64){E.msg="invalid distance code",Ut.mode=mf;break e}else{Dn=on[(Dn&65535)+(De&(1<>3,te-=Er,tn-=Er<<3,De&=(1<{const Be=ve.bits;let Ee=0,Ne=0,et=0,ht=0,De=0,tn=0,$t=0,on=0,Ot=0,jn=0,Dn,bn,Er,Jr,Qr,qn=null,Bn;const ur=new Uint16Array(eu+1),Ut=new Uint16Array(eu+1);let an=null,Hn,Pn,Ir;for(Ee=0;Ee<=eu;Ee++)ur[Ee]=0;for(Ne=0;Ne=1&&ur[ht]===0;ht--);if(De>ht&&(De=ht),ht===0)return re[ae++]=1<<24|64<<16|0,re[ae++]=1<<24|64<<16|0,ve.bits=1,0;for(et=1;et0&&(y===rh||ht!==1))return-1;for(Ut[1]=0,Ee=1;Eenh||y===ec&&Ot>cp)return 1;for(;;){Hn=Ee-$t,we[Ne]+1=Bn?(Pn=an[we[Ne]-Bn],Ir=qn[we[Ne]-Bn]):(Pn=96,Ir=0),Dn=1<>$t)+bn]=Hn<<24|Pn<<16|Ir|0;while(bn!==0);for(Dn=1<>=1;if(Dn!==0?(jn&=Dn-1,jn+=Dn):jn=0,Ne++,--ur[Ee]===0){if(Ee===ht)break;Ee=E[x+we[Ne]]}if(Ee>De&&(jn&Jr)!==Er){for($t===0&&($t=De),Qr+=et,tn=Ee-$t,on=1<nh||y===ec&&Ot>cp)return 1;Er=jn&Jr,re[Er]=De<<24|tn<<16|Qr-ae|0}}return jn!==0&&(re[Qr+jn]=Ee-$t<<24|64<<16|0),ve.bits=De,0};const vf=0,Gs=1,yf=2,{Z_FINISH:ah,Z_BLOCK:Eu,Z_TREES:tc,Z_OK:jA,Z_STREAM_END:dd,Z_NEED_DICT:sh,Z_STREAM_ERROR:el,Z_DATA_ERROR:wf,Z_MEM_ERROR:nc,Z_BUF_ERROR:dp,Z_DEFLATED:bf}=Hl,Bf=16180,Oc=16181,hp=16182,rc=16183,Ah=16184,hd=16185,lh=16186,Dc=16187,Nc=16188,ic=16189,Su=16190,tl=16191,uh=16192,Cf=16193,hl=16194,Fu=16195,oc=16196,pp=16197,pd=16198,Pc=16199,Tc=16200,ch=16201,lA=16202,gd=16203,fh=16204,md=16205,dh=16206,hh=16207,ph=16208,ba=16209,vd=16210,gp=16211,ug=852,Iu=592,wd=15,Qc=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function nu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ac=y=>{if(!y)return 1;const E=y.state;return!E||E.strm!==y||E.modegp?1:0},mp=y=>{if(ac(y))return el;const E=y.state;return y.total_in=y.total_out=E.total=0,y.msg="",E.wrap&&(y.adler=E.wrap&1),E.mode=Bf,E.last=0,E.havedict=0,E.flags=-1,E.dmax=32768,E.head=null,E.hold=0,E.bits=0,E.lencode=E.lendyn=new Int32Array(ug),E.distcode=E.distdyn=new Int32Array(Iu),E.sane=1,E.back=-1,jA},Lu=y=>{if(ac(y))return el;const E=y.state;return E.wsize=0,E.whave=0,E.wnext=0,mp(y)},gh=(y,E)=>{let x;if(ac(y))return el;const te=y.state;return E<0?(x=0,E=-E):(x=(E>>4)+5,E<48&&(E&=15)),E&&(E<8||E>15)?el:(te.window!==null&&te.wbits!==E&&(te.window=null),te.wrap=x,te.wbits=E,Lu(y))},xf=(y,E)=>{if(!y)return el;const x=new nu;y.state=x,x.strm=y,x.window=null,x.mode=Bf;const te=gh(y,E);return te!==jA&&(y.state=null),te},mh=y=>xf(y,wd);let Es=!0,pl,Ef;const vh=y=>{if(Es){pl=new Int32Array(512),Ef=new Int32Array(32);let E=0;for(;E<144;)y.lens[E++]=8;for(;E<256;)y.lens[E++]=9;for(;E<280;)y.lens[E++]=7;for(;E<288;)y.lens[E++]=8;for(tu(Gs,y.lens,0,288,pl,0,y.work,{bits:9}),E=0;E<32;)y.lens[E++]=5;tu(yf,y.lens,0,32,Ef,0,y.work,{bits:5}),Es=!1}y.lencode=pl,y.lenbits=9,y.distcode=Ef,y.distbits=5},Sf=(y,E,x,te)=>{let re;const ae=y.state;return ae.window===null&&(ae.wsize=1<=ae.wsize?(ae.window.set(E.subarray(x-ae.wsize,x),0),ae.wnext=0,ae.whave=ae.wsize):(re=ae.wsize-ae.wnext,re>te&&(re=te),ae.window.set(E.subarray(x-te,x-te+re),ae.wnext),te-=re,te?(ae.window.set(E.subarray(x-te,x),0),ae.wnext=te,ae.whave=ae.wsize):(ae.wnext+=re,ae.wnext===ae.wsize&&(ae.wnext=0),ae.whave{let x,te,re,ae,we,ve,Be,Ee,Ne,et,ht,De,tn,$t,on=0,Ot,jn,Dn,bn,Er,Jr,Qr,qn;const Bn=new Uint8Array(4);let ur,Ut;const an=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ac(y)||!y.output||!y.input&&y.avail_in!==0)return el;x=y.state,x.mode===tl&&(x.mode=uh),we=y.next_out,re=y.output,Be=y.avail_out,ae=y.next_in,te=y.input,ve=y.avail_in,Ee=x.hold,Ne=x.bits,et=ve,ht=Be,qn=jA;e:for(;;)switch(x.mode){case Bf:if(x.wrap===0){x.mode=uh;break}for(;Ne<16;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>8&255,x.check=Bs(x.check,Bn,2,0),Ee=0,Ne=0,x.mode=Oc;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Ee&255)<<8)+(Ee>>8))%31){y.msg="incorrect header check",x.mode=ba;break}if((Ee&15)!==bf){y.msg="unknown compression method",x.mode=ba;break}if(Ee>>>=4,Ne-=4,Qr=(Ee&15)+8,x.wbits===0&&(x.wbits=Qr),Qr>15||Qr>x.wbits){y.msg="invalid window size",x.mode=ba;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(Bn[0]=Ee&255,Bn[1]=Ee>>>8&255,x.check=Bs(x.check,Bn,2,0)),Ee=0,Ne=0,x.mode=hp;case hp:for(;Ne<32;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>8&255,Bn[2]=Ee>>>16&255,Bn[3]=Ee>>>24&255,x.check=Bs(x.check,Bn,4,0)),Ee=0,Ne=0,x.mode=rc;case rc:for(;Ne<16;){if(ve===0)break e;ve--,Ee+=te[ae++]<>8),x.flags&512&&x.wrap&4&&(Bn[0]=Ee&255,Bn[1]=Ee>>>8&255,x.check=Bs(x.check,Bn,2,0)),Ee=0,Ne=0,x.mode=Ah;case Ah:if(x.flags&1024){for(;Ne<16;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>8&255,x.check=Bs(x.check,Bn,2,0)),Ee=0,Ne=0}else x.head&&(x.head.extra=null);x.mode=hd;case hd:if(x.flags&1024&&(De=x.length,De>ve&&(De=ve),De&&(x.head&&(Qr=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(te.subarray(ae,ae+De),Qr)),x.flags&512&&x.wrap&4&&(x.check=Bs(x.check,te,De,ae)),ve-=De,ae+=De,x.length-=De),x.length))break e;x.length=0,x.mode=lh;case lh:if(x.flags&2048){if(ve===0)break e;De=0;do Qr=te[ae+De++],x.head&&Qr&&x.length<65536&&(x.head.name+=String.fromCharCode(Qr));while(Qr&&De>9&1,x.head.done=!0),y.adler=x.check=0,x.mode=tl;break;case ic:for(;Ne<32;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=Ne&7,Ne-=Ne&7,x.mode=dh;break}for(;Ne<3;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=1,Ne-=1,Ee&3){case 0:x.mode=Cf;break;case 1:if(vh(x),x.mode=Pc,E===tc){Ee>>>=2,Ne-=2;break e}break;case 2:x.mode=oc;break;case 3:y.msg="invalid block type",x.mode=ba}Ee>>>=2,Ne-=2;break;case Cf:for(Ee>>>=Ne&7,Ne-=Ne&7;Ne<32;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>16^65535)){y.msg="invalid stored block lengths",x.mode=ba;break}if(x.length=Ee&65535,Ee=0,Ne=0,x.mode=hl,E===tc)break e;case hl:x.mode=Fu;case Fu:if(De=x.length,De){if(De>ve&&(De=ve),De>Be&&(De=Be),De===0)break e;re.set(te.subarray(ae,ae+De),we),ve-=De,ae+=De,Be-=De,we+=De,x.length-=De;break}x.mode=tl;break;case oc:for(;Ne<14;){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=5,Ne-=5,x.ndist=(Ee&31)+1,Ee>>>=5,Ne-=5,x.ncode=(Ee&15)+4,Ee>>>=4,Ne-=4,x.nlen>286||x.ndist>30){y.msg="too many length or distance symbols",x.mode=ba;break}x.have=0,x.mode=pp;case pp:for(;x.have>>=3,Ne-=3}for(;x.have<19;)x.lens[an[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,ur={bits:x.lenbits},qn=tu(vf,x.lens,0,19,x.lencode,0,x.work,ur),x.lenbits=ur.bits,qn){y.msg="invalid code lengths set",x.mode=ba;break}x.have=0,x.mode=pd;case pd:for(;x.have>>24,jn=on>>>16&255,Dn=on&65535,!(Ot<=Ne);){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=Ot,Ne-=Ot,x.lens[x.have++]=Dn;else{if(Dn===16){for(Ut=Ot+2;Ne>>=Ot,Ne-=Ot,x.have===0){y.msg="invalid bit length repeat",x.mode=ba;break}Qr=x.lens[x.have-1],De=3+(Ee&3),Ee>>>=2,Ne-=2}else if(Dn===17){for(Ut=Ot+3;Ne>>=Ot,Ne-=Ot,Qr=0,De=3+(Ee&7),Ee>>>=3,Ne-=3}else{for(Ut=Ot+7;Ne>>=Ot,Ne-=Ot,Qr=0,De=11+(Ee&127),Ee>>>=7,Ne-=7}if(x.have+De>x.nlen+x.ndist){y.msg="invalid bit length repeat",x.mode=ba;break}for(;De--;)x.lens[x.have++]=Qr}}if(x.mode===ba)break;if(x.lens[256]===0){y.msg="invalid code -- missing end-of-block",x.mode=ba;break}if(x.lenbits=9,ur={bits:x.lenbits},qn=tu(Gs,x.lens,0,x.nlen,x.lencode,0,x.work,ur),x.lenbits=ur.bits,qn){y.msg="invalid literal/lengths set",x.mode=ba;break}if(x.distbits=6,x.distcode=x.distdyn,ur={bits:x.distbits},qn=tu(yf,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,ur),x.distbits=ur.bits,qn){y.msg="invalid distances set",x.mode=ba;break}if(x.mode=Pc,E===tc)break e;case Pc:x.mode=Tc;case Tc:if(ve>=6&&Be>=258){y.next_out=we,y.avail_out=Be,y.next_in=ae,y.avail_in=ve,x.hold=Ee,x.bits=Ne,lg(y,ht),we=y.next_out,re=y.output,Be=y.avail_out,ae=y.next_in,te=y.input,ve=y.avail_in,Ee=x.hold,Ne=x.bits,x.mode===tl&&(x.back=-1);break}for(x.back=0;on=x.lencode[Ee&(1<>>24,jn=on>>>16&255,Dn=on&65535,!(Ot<=Ne);){if(ve===0)break e;ve--,Ee+=te[ae++]<>bn)],Ot=on>>>24,jn=on>>>16&255,Dn=on&65535,!(bn+Ot<=Ne);){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=bn,Ne-=bn,x.back+=bn}if(Ee>>>=Ot,Ne-=Ot,x.back+=Ot,x.length=Dn,jn===0){x.mode=md;break}if(jn&32){x.back=-1,x.mode=tl;break}if(jn&64){y.msg="invalid literal/length code",x.mode=ba;break}x.extra=jn&15,x.mode=ch;case ch:if(x.extra){for(Ut=x.extra;Ne>>=x.extra,Ne-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=lA;case lA:for(;on=x.distcode[Ee&(1<>>24,jn=on>>>16&255,Dn=on&65535,!(Ot<=Ne);){if(ve===0)break e;ve--,Ee+=te[ae++]<>bn)],Ot=on>>>24,jn=on>>>16&255,Dn=on&65535,!(bn+Ot<=Ne);){if(ve===0)break e;ve--,Ee+=te[ae++]<>>=bn,Ne-=bn,x.back+=bn}if(Ee>>>=Ot,Ne-=Ot,x.back+=Ot,jn&64){y.msg="invalid distance code",x.mode=ba;break}x.offset=Dn,x.extra=jn&15,x.mode=gd;case gd:if(x.extra){for(Ut=x.extra;Ne>>=x.extra,Ne-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){y.msg="invalid distance too far back",x.mode=ba;break}x.mode=fh;case fh:if(Be===0)break e;if(De=ht-Be,x.offset>De){if(De=x.offset-De,De>x.whave&&x.sane){y.msg="invalid distance too far back",x.mode=ba;break}De>x.wnext?(De-=x.wnext,tn=x.wsize-De):tn=x.wnext-De,De>x.length&&(De=x.length),$t=x.window}else $t=re,tn=we-x.offset,De=x.length;De>Be&&(De=Be),Be-=De,x.length-=De;do re[we++]=$t[tn++];while(--De);x.length===0&&(x.mode=Tc);break;case md:if(Be===0)break e;re[we++]=x.length,Be--,x.mode=Tc;break;case dh:if(x.wrap){for(;Ne<32;){if(ve===0)break e;ve--,Ee|=te[ae++]<{if(ac(y))return el;let E=y.state;return E.window&&(E.window=null),y.state=null,jA},vp=(y,E)=>{if(ac(y))return el;const x=y.state;return x.wrap&2?(x.head=E,E.done=!1,jA):el},cg=(y,E)=>{const x=E.length;let te,re,ae;return ac(y)||(te=y.state,te.wrap!==0&&te.mode!==Su)?el:te.mode===Su&&(re=1,re=da(re,E,x,0),re!==te.check)?wf:(ae=Sf(y,E,x,x),ae?(te.mode=vd,nc):(te.havedict=1,jA))};var yp=Lu,bd=gh,fg=mp,dg=mh,If=xf,wh=yh,bh=Ff,wp=vp,Bd=cg,Cd="pako inflate (from Nodeca project)",ru={inflateReset:yp,inflateReset2:bd,inflateResetKeep:fg,inflateInit:dg,inflateInit2:If,inflate:wh,inflateEnd:bh,inflateGetHeader:wp,inflateSetDictionary:Bd,inflateInfo:Cd};function bp(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Bp=bp;const Cp=Object.prototype.toString,{Z_NO_FLUSH:Mc,Z_FINISH:Uu,Z_OK:iu,Z_STREAM_END:xd,Z_NEED_DICT:_c,Z_STREAM_ERROR:xp,Z_DATA_ERROR:Bh,Z_MEM_ERROR:Ep}=Hl;function Lf(y){this.options=Sc.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const E=this.options;E.raw&&E.windowBits>=0&&E.windowBits<16&&(E.windowBits=-E.windowBits,E.windowBits===0&&(E.windowBits=-15)),E.windowBits>=0&&E.windowBits<16&&!(y&&y.windowBits)&&(E.windowBits+=32),E.windowBits>15&&E.windowBits<48&&(E.windowBits&15||(E.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RA,this.strm.avail_out=0;let x=ru.inflateInit2(this.strm,E.windowBits);if(x!==iu)throw new Error(YA[x]);if(this.header=new Bp,ru.inflateGetHeader(this.strm,this.header),E.dictionary&&(typeof E.dictionary=="string"?E.dictionary=Fc.string2buf(E.dictionary):Cp.call(E.dictionary)==="[object ArrayBuffer]"&&(E.dictionary=new Uint8Array(E.dictionary)),E.raw&&(x=ru.inflateSetDictionary(this.strm,E.dictionary),x!==iu)))throw new Error(YA[x])}Lf.prototype.push=function(y,E){const x=this.strm,te=this.options.chunkSize,re=this.options.dictionary;let ae,we,ve;if(this.ended)return!1;for(E===~~E?we=E:we=E===!0?Uu:Mc,Cp.call(y)==="[object ArrayBuffer]"?x.input=new Uint8Array(y):x.input=y,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(te),x.next_out=0,x.avail_out=te),ae=ru.inflate(x,we),ae===_c&&re&&(ae=ru.inflateSetDictionary(x,re),ae===iu?ae=ru.inflate(x,we):ae===Bh&&(ae=_c));x.avail_in>0&&ae===xd&&x.state.wrap>0&&y[x.next_in]!==0;)ru.inflateReset(x),ae=ru.inflate(x,we);switch(ae){case xp:case Bh:case _c:case Ep:return this.onEnd(ae),this.ended=!0,!1}if(ve=x.avail_out,x.next_out&&(x.avail_out===0||ae===xd))if(this.options.to==="string"){let Be=Fc.utf8border(x.output,x.next_out),Ee=x.next_out-Be,Ne=Fc.buf2string(x.output,Be);x.next_out=Ee,x.avail_out=te-Ee,Ee&&x.output.set(x.output.subarray(Be,Be+Ee),0),this.onData(Ne)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(ae===iu&&ve===0)){if(ae===xd)return ae=ru.inflateEnd(this.strm),this.onEnd(ae),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},Lf.prototype.onData=function(y){this.chunks.push(y)},Lf.prototype.onEnd=function(y){y===iu&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Sc.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function sc(y,E){const x=new Lf(E);if(x.push(y),x.err)throw x.msg||YA[x.err];return x.result}function Sp(y,E){return E=E||{},E.raw=!0,sc(y,E)}var Fp=Lf,Ip=sc,Ch=Sp,xh=sc,kc=Hl,Ed={Inflate:Fp,inflate:Ip,inflateRaw:Ch,ungzip:xh,constants:kc};const{Deflate:ou,deflate:Lp,deflateRaw:Sd,gzip:hg}=up,{Inflate:pg,inflate:Up,inflateRaw:$a,ungzip:Op}=Ed;var Fd=ou,Ac=Lp,gl=Sd,Uf=hg,Of=pg,Hc=Up,Df=$a,Eh=Op,Sh=Hl,gg={Deflate:Fd,deflate:Ac,deflateRaw:gl,gzip:Uf,Inflate:Of,inflate:Hc,inflateRaw:Df,ungzip:Eh,constants:Sh};const Fh=[];for(let y=0;y<256;y++){let E=y;for(let x=0;x<8;x++)E&1?E=3988292384^E>>>1:E=E>>>1;Fh[y]=E}const Nf=4294967295;function Dp(y,E,x){let te=y;for(let re=0;re>>8;return te}function _a(y,E){return(Dp(Nf,y,E)^Nf)>>>0}function Ou(y,E,x){const te=y.readUint32(),re=_a(new Uint8Array(y.buffer,y.byteOffset+y.offset-E-4,E),E);if(re!==te)throw new Error(`CRC mismatch for chunk ${x}. Expected ${te}, found ${re}`)}function mg(y,E){y.writeUint32(_a(new Uint8Array(y.buffer,y.byteOffset+y.offset-E,E),E))}function Xa(y,E,x){for(let te=0;te>1)&255}else{for(;ae>1)&255;for(;ae>1)&255}}function Ra(y,E,x,te,re){let ae=0;if(x.length===0){for(;ae=x||Jr>=te))for(let Qr=0;Qr>8&255}const z=new Uint16Array([255]),me=new Uint8Array(z.buffer)[0]===255,Se=new Uint8Array(0);function Qe(y){const{data:E,width:x,height:te,channels:re,depth:ae}=y,we=Math.ceil(ae/8)*re,ve=Math.ceil(ae/8*re*x),Be=new Uint8Array(te*ve);let Ee=Se,Ne=0,et,ht;for(let De=0;De>8&255}const Ye=Uint8Array.of(137,80,78,71,13,10,26,10);function rn(y){y.writeBytes(Ye)}function gn(y){if(!tr(y.readBytes(Ye.length)))throw new Error("wrong PNG signature")}function tr(y){if(y.length79)throw new Error("keyword length must be between 1 and 79")}const Ci=/^[\u0000-\u00FF]*$/;function Ui(y){if(!Ci.test(y))throw new Error("invalid latin1 text")}function Ei(y,E,x){const te=lo(E);y[te]=Ji(E,x-te.length-1)}function Hi(y,E,x){di(E),Ui(x);const te=E.length+1+x.length;y.writeUint32(te),y.writeChars($n),y.writeChars(E),y.writeByte(Nr),y.writeChars(x),writeCrc(y,te+4)}function lo(y){for(y.mark();y.readByte()!==Nr;);const E=y.offset;y.reset();const x=ni.decode(y.readBytes(E-y.offset-1));return y.skip(1),di(x),x}function Ji(y,E){return ni.decode(y.readBytes(E))}const yo={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},ja={UNKNOWN:-1,DEFLATE:0},Os={UNKNOWN:-1,ADAPTIVE:0},ts={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},uA={NONE:0,BACKGROUND:1,PREVIOUS:2},Rs={SOURCE:0,OVER:1};class Ss extends $i{constructor(x,te={}){super(x);Va(this,"_checkCrc");Va(this,"_inflator");Va(this,"_png");Va(this,"_apng");Va(this,"_end");Va(this,"_hasPalette");Va(this,"_palette");Va(this,"_hasTransparency");Va(this,"_transparency");Va(this,"_compressionMethod");Va(this,"_filterMethod");Va(this,"_interlaceMethod");Va(this,"_colorType");Va(this,"_isAnimated");Va(this,"_numberOfFrames");Va(this,"_numberOfPlays");Va(this,"_frames");Va(this,"_writingDataChunks");const{checkCrc:re=!1}=te;this._checkCrc=re,this._inflator=new Of,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=ja.UNKNOWN,this._filterMethod=Os.UNKNOWN,this._interlaceMethod=ts.UNKNOWN,this._colorType=yo.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(gn(this);!this._end;){const x=this.readUint32(),te=this.readChars(4);this.decodeChunk(x,te)}return this.decodeImage(),this._png}decodeApng(){for(gn(this);!this._end;){const x=this.readUint32(),te=this.readChars(4);this.decodeApngChunk(x,te)}return this.decodeApngImage(),this._apng}decodeChunk(x,te){const re=this.offset;switch(te){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case $n:Ei(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-re!==x)throw new Error(`Length mismatch while decoding chunk ${te}`);this._checkCrc?Ou(this,x+4,te):this.skip(4)}decodeApngChunk(x,te){const re=this.offset;switch(te!=="fdAT"&&te!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),te){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,te),this.offset=re+x;break}if(this.offset-re!==x)throw new Error(`Length mismatch while decoding chunk ${te}`);this._checkCrc?Ou(this,x+4,te):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=cA(this.readUint8());const te=this.readUint8();this._colorType=te;let re;switch(te){case yo.GREYSCALE:re=1;break;case yo.TRUECOLOUR:re=3;break;case yo.INDEXED_COLOUR:re=1;break;case yo.GREYSCALE_ALPHA:re=2;break;case yo.TRUECOLOUR_ALPHA:re=4;break;case yo.UNKNOWN:default:throw new Error(`Unknown color type: ${te}`)}if(this._png.channels=re,this._compressionMethod=this.readUint8(),this._compressionMethod!==ja.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const te=x/3;this._hasPalette=!0;const re=[];this._palette=re;for(let ae=0;aethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let te=0;tethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let te=0;for(;te{const Be=((we+te.yOffset)*this._png.width+te.xOffset+ve)*this._png.channels,Ee=(we*te.width+ve)*this._png.channels;return{index:Be,frameIndex:Ee}};switch(te.blendOp){case Rs.SOURCE:for(let we=0;wete.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const te of x)this.writeByte(te.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:te,channels:re,depth:ae,data:we}=this._png,ve=ae<=8?Math.ceil(x*ae/8)*re:Math.ceil(x*ae/8*re/2),Be=new IOBuffer().setBigEndian();let Ee=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let ht=0;ht0)return y;throw new TypeError(`${E} must be a positive integer`)}function ns(y,E){const{channels:x=4,depth:te=8}=y;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const re={channels:x,depth:te,colorType:ColorType.UNKNOWN};switch(x){case 4:re.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:re.colorType=ColorType.TRUECOLOUR;break;case 1:E?re.colorType=ColorType.INDEXED_COLOUR:re.colorType=ColorType.GREYSCALE;break;case 2:re.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return re}function rs(y,E,x,te){for(let re=0;re>8&255),x.writeByte(Dn&255)}}return te}function ha(y,E,x,te){for(let re=0;re=200&&E.status<=299}function jc(y){try{y.dispatchEvent(new MouseEvent("click"))}catch(x){var E=document.createEvent("MouseEvents");E.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),y.dispatchEvent(E)}}var zc=fo.saveAs||((typeof window=="undefined"?"undefined":(0,oe.Z)(window))!=="object"||window!==fo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,E,x){var te=fo.URL||fo.webkitURL,re=document.createElement("a");E=E||y.name||"download",re.download=E,re.rel="noopener",typeof y=="string"?(re.href=y,re.origin!==location.origin?Nu(re.href)?$s(y,E,x):jc(re,re.target="_blank"):jc(re)):(re.href=te.createObjectURL(y),setTimeout(function(){te.revokeObjectURL(re.href)},4e4),setTimeout(function(){jc(re)},0))}:"msSaveOrOpenBlob"in navigator?function(y,E,x){if(E=E||y.name||"download",typeof y=="string")if(Nu(y))$s(y,E,x);else{var te=document.createElement("a");te.href=y,te.target="_blank",setTimeout(function(){jc(te)})}else navigator.msSaveOrOpenBlob(function(re,ae){return ae===void 0?ae={autoBom:!1}:(0,oe.Z)(ae)!=="object"&&(Pa.warn("Deprecated: Expected third argument to be a object"),ae={autoBom:!ae}),ae.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(re.type)?new Blob(["\uFEFF",re],{type:re.type}):re}(y,x),E)}:function(y,E,x,te){if((te=te||open("","_blank"))&&(te.document.title=te.document.body.innerText="downloading..."),typeof y=="string")return $s(y,E,x);var re=y.type==="application/octet-stream",ae=/constructor/i.test(fo.HTMLElement)||fo.safari,we=/CriOS\/[\d]+/.test(navigator.userAgent);if((we||re&&ae)&&(typeof FileReader=="undefined"?"undefined":(0,oe.Z)(FileReader))==="object"){var ve=new FileReader;ve.onloadend=function(){var Ne=ve.result;Ne=we?Ne:Ne.replace(/^data:[^;]*;/,"data:attachment/file;"),te?te.location.href=Ne:location=Ne,te=null},ve.readAsDataURL(y)}else{var Be=fo.URL||fo.webkitURL,Ee=Be.createObjectURL(y);te?te.location=Ee:location.href=Ee,te=null,setTimeout(function(){Be.revokeObjectURL(Ee)},4e4)}});function Yg(y){var E;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ve){return[parseInt(ve[1]),parseInt(ve[2]),parseInt(ve[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ve){return[parseInt(ve[1],16),parseInt(ve[2],16),parseInt(ve[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ve){return[parseInt(ve[1]+ve[1],16),parseInt(ve[2]+ve[2],16),parseInt(ve[3]+ve[3],16)]}}],te=0;te255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ve=this.r.toString(16),Be=this.g.toString(16),Ee=this.b.toString(16);return ve.length==1&&(ve="0"+ve),Be.length==1&&(Be="0"+Be),Ee.length==1&&(Ee="0"+Ee),"#"+ve+Be+Ee}}var Ih=fo.atob.bind(fo),vg=fo.btoa.bind(fo);function Lh(y,E){var x=y[0],te=y[1],re=y[2],ae=y[3];x=zA(x,te,re,ae,E[0],7,-680876936),ae=zA(ae,x,te,re,E[1],12,-389564586),re=zA(re,ae,x,te,E[2],17,606105819),te=zA(te,re,ae,x,E[3],22,-1044525330),x=zA(x,te,re,ae,E[4],7,-176418897),ae=zA(ae,x,te,re,E[5],12,1200080426),re=zA(re,ae,x,te,E[6],17,-1473231341),te=zA(te,re,ae,x,E[7],22,-45705983),x=zA(x,te,re,ae,E[8],7,1770035416),ae=zA(ae,x,te,re,E[9],12,-1958414417),re=zA(re,ae,x,te,E[10],17,-42063),te=zA(te,re,ae,x,E[11],22,-1990404162),x=zA(x,te,re,ae,E[12],7,1804603682),ae=zA(ae,x,te,re,E[13],12,-40341101),re=zA(re,ae,x,te,E[14],17,-1502002290),x=OA(x,te=zA(te,re,ae,x,E[15],22,1236535329),re,ae,E[1],5,-165796510),ae=OA(ae,x,te,re,E[6],9,-1069501632),re=OA(re,ae,x,te,E[11],14,643717713),te=OA(te,re,ae,x,E[0],20,-373897302),x=OA(x,te,re,ae,E[5],5,-701558691),ae=OA(ae,x,te,re,E[10],9,38016083),re=OA(re,ae,x,te,E[15],14,-660478335),te=OA(te,re,ae,x,E[4],20,-405537848),x=OA(x,te,re,ae,E[9],5,568446438),ae=OA(ae,x,te,re,E[14],9,-1019803690),re=OA(re,ae,x,te,E[3],14,-187363961),te=OA(te,re,ae,x,E[8],20,1163531501),x=OA(x,te,re,ae,E[13],5,-1444681467),ae=OA(ae,x,te,re,E[2],9,-51403784),re=OA(re,ae,x,te,E[7],14,1735328473),x=KA(x,te=OA(te,re,ae,x,E[12],20,-1926607734),re,ae,E[5],4,-378558),ae=KA(ae,x,te,re,E[8],11,-2022574463),re=KA(re,ae,x,te,E[11],16,1839030562),te=KA(te,re,ae,x,E[14],23,-35309556),x=KA(x,te,re,ae,E[1],4,-1530992060),ae=KA(ae,x,te,re,E[4],11,1272893353),re=KA(re,ae,x,te,E[7],16,-155497632),te=KA(te,re,ae,x,E[10],23,-1094730640),x=KA(x,te,re,ae,E[13],4,681279174),ae=KA(ae,x,te,re,E[0],11,-358537222),re=KA(re,ae,x,te,E[3],16,-722521979),te=KA(te,re,ae,x,E[6],23,76029189),x=KA(x,te,re,ae,E[9],4,-640364487),ae=KA(ae,x,te,re,E[12],11,-421815835),re=KA(re,ae,x,te,E[15],16,530742520),x=WA(x,te=KA(te,re,ae,x,E[2],23,-995338651),re,ae,E[0],6,-198630844),ae=WA(ae,x,te,re,E[7],10,1126891415),re=WA(re,ae,x,te,E[14],15,-1416354905),te=WA(te,re,ae,x,E[5],21,-57434055),x=WA(x,te,re,ae,E[12],6,1700485571),ae=WA(ae,x,te,re,E[3],10,-1894986606),re=WA(re,ae,x,te,E[10],15,-1051523),te=WA(te,re,ae,x,E[1],21,-2054922799),x=WA(x,te,re,ae,E[8],6,1873313359),ae=WA(ae,x,te,re,E[15],10,-30611744),re=WA(re,ae,x,te,E[6],15,-1560198380),te=WA(te,re,ae,x,E[13],21,1309151649),x=WA(x,te,re,ae,E[4],6,-145523070),ae=WA(ae,x,te,re,E[11],10,-1120210379),re=WA(re,ae,x,te,E[2],15,718787259),te=WA(te,re,ae,x,E[9],21,-343485551),y[0]=Pu(x,y[0]),y[1]=Pu(te,y[1]),y[2]=Pu(re,y[2]),y[3]=Pu(ae,y[3])}function Uh(y,E,x,te,re,ae){return E=Pu(Pu(E,y),Pu(te,ae)),Pu(E<>>32-re,x)}function zA(y,E,x,te,re,ae,we){return Uh(E&x|~E&te,y,E,re,ae,we)}function OA(y,E,x,te,re,ae,we){return Uh(E&te|x&~te,y,E,re,ae,we)}function KA(y,E,x,te,re,ae,we){return Uh(E^x^te,y,E,re,ae,we)}function WA(y,E,x,te,re,ae,we){return Uh(x^(E|~te),y,E,re,ae,we)}function Jg(y){var E,x=y.length,te=[1732584193,-271733879,-1732584194,271733878];for(E=64;E<=y.length;E+=64)Lh(te,Pp(y.substring(E-64,E)));y=y.substring(E-64);var re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(E=0;E>2]|=y.charCodeAt(E)<<(E%4<<3);if(re[E>>2]|=128<<(E%4<<3),E>55)for(Lh(te,re),E=0;E<16;E++)re[E]=0;return re[14]=8*x,Lh(te,re),te}function Pp(y){var E,x=[];for(E=0;E<64;E+=4)x[E>>2]=y.charCodeAt(E)+(y.charCodeAt(E+1)<<8)+(y.charCodeAt(E+2)<<16)+(y.charCodeAt(E+3)<<24);return x}var Nl="0123456789abcdef".split("");function qg(y){for(var E="",x=0;x<4;x++)E+=Nl[y>>8*x+4&15]+Nl[y>>8*x&15];return E}function Tp(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function yg(y){return Jg(y).map(Tp).join("")}var km=function(y){for(var E=0;E>16)+(E>>16)+(x>>16)<<16|65535&x}return y+E&4294967295}function Kc(y,E){var x,te,re,ae;if(y!==x){for(var we=(re=y,ae=1+(256/y.length|0),new Array(ae+1).join(re)),ve=[],Be=0;Be<256;Be++)ve[Be]=Be;var Ee=0;for(Be=0;Be<256;Be++){var Ne=ve[Be];Ee=(Ee+Ne+we.charCodeAt(Be))%256,ve[Be]=ve[Ee],ve[Ee]=Ne}x=y,te=ve}else ve=te;var et=E.length,ht=0,De=0,tn="";for(Be=0;Be\x80/\f\xA9\xFEdSiz";var ae=(E+this.padding).substr(0,32),we=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(ae,we),this.P=-(1+(255^re)),this.encryptionKey=yg(ae+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(te)).substr(0,5),this.U=Kc(this.encryptionKey,this.padding)}function Au(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var E="",x=y.length,te=0;te126?"#"+("0"+re.toString(16)).slice(-2):y[te]}return E}function em(y){if((0,oe.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var E={};this.subscribe=function(x,te,re){if(re=re||!1,typeof x!="string"||typeof te!="function"||typeof re!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");E.hasOwnProperty(x)||(E[x]={});var ae=Math.random().toString(35);return E[x][ae]=[te,!!re],ae},this.unsubscribe=function(x){for(var te in E)if(E[te][x])return delete E[te][x],Object.keys(E[te]).length===0&&delete E[te],!0;return!1},this.publish=function(x){if(E.hasOwnProperty(x)){var te=Array.prototype.slice.call(arguments,1),re=[];for(var ae in E[x]){var we=E[x][ae];try{we[0].apply(y,te)}catch(ve){fo.console&&Pa.error("jsPDF PubSub Error",ve.message,ve)}we[1]&&re.push(ae)}re.length&&re.forEach(this.unsubscribe)}},this.getTopics=function(){return E}}function Dh(y){if(!(this instanceof Dh))return new Dh(y);var E="opacity,stroke-opacity".split(",");for(var x in y)y.hasOwnProperty(x)&&E.indexOf(x)>=0&&(this[x]=y[x]);this.id="",this.objectNumber=-1}function wg(y,E){this.gState=y,this.matrix=E,this.id="",this.objectNumber=-1}function Wc(y,E,x,te,re){if(!(this instanceof Wc))return new Wc(y,E,x,te,re);this.type=y==="axial"?2:3,this.coords=E,this.colors=x,wg.call(this,te,re)}function Gc(y,E,x,te,re){if(!(this instanceof Gc))return new Gc(y,E,x,te,re);this.boundingBox=y,this.xStep=E,this.yStep=x,this.stream="",this.cloneIndex=0,wg.call(this,te,re)}function ao(y){var E,x=typeof arguments[0]=="string"?arguments[0]:"p",te=arguments[1],re=arguments[2],ae=arguments[3],we=[],ve=1,Be=16,Ee="S",Ne=null;(0,oe.Z)(y=y||{})==="object"&&(x=y.orientation,te=y.unit||te,re=y.format||re,ae=y.compress||y.compressPdf||ae,(Ne=y.encryption||null)!==null&&(Ne.userPassword=Ne.userPassword||"",Ne.ownerPassword=Ne.ownerPassword||"",Ne.userPermissions=Ne.userPermissions||[]),ve=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(E=y.precision),y.floatPrecision!==void 0&&(Be=y.floatPrecision),Ee=y.defaultPathOperation||"S"),we=y.filters||(ae===!0?["FlateEncode"]:we),te=te||"mm",x=(""+(x||"P")).toLowerCase();var et=y.putOnlyUsedFonts||!1,ht={},De={internal:{},__private__:{}};De.__private__.PubSub=em;var tn="1.3",$t=De.__private__.getPdfVersion=function(){return tn};De.__private__.setPdfVersion=function(Ce){tn=Ce};var on={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};De.__private__.getPageFormats=function(){return on};var Ot=De.__private__.getPageFormat=function(Ce){return on[Ce]};re=re||"a4";var jn="compat",Dn="advanced",bn=jn;function Er(){this.saveGraphicsState(),sn(new zo(ca,0,0,-ca,0,Rh()*ca).toString()+" cm"),this.setFontSize(this.getFontSize()/ca),Ee="n",bn=Dn}function Jr(){this.restoreGraphicsState(),Ee="S",bn=jn}var Qr=De.__private__.combineFontStyleAndFontWeight=function(Ce,it){if(Ce=="bold"&&it=="normal"||Ce=="bold"&&it==400||Ce=="normal"&&it=="italic"||Ce=="bold"&&it=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return it&&(Ce=it==400||it==="normal"?Ce==="italic"?"italic":"normal":it!=700&&it!=="bold"||Ce!=="normal"?(it==700?"bold":it)+""+Ce:"bold"),Ce};De.advancedAPI=function(Ce){var it=bn===jn;return it&&Er.call(this),typeof Ce!="function"||(Ce(this),it&&Jr.call(this)),this},De.compatAPI=function(Ce){var it=bn===Dn;return it&&Jr.call(this),typeof Ce!="function"||(Ce(this),it&&Er.call(this)),this},De.isAdvancedAPI=function(){return bn===Dn};var qn,Bn=function(Ce){if(bn!==Dn)throw new Error(Ce+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ur=De.roundToPrecision=De.__private__.roundToPrecision=function(Ce,it){var hn=E||it;if(isNaN(Ce)||isNaN(hn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ce.toFixed(hn).replace(/0+$/,"")};qn=De.hpf=De.__private__.hpf=typeof Be=="number"?function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.hpf");return ur(Ce,Be)}:Be==="smart"?function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.hpf");return ur(Ce,Ce>-1&&Ce<1?16:5)}:function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.hpf");return ur(Ce,16)};var Ut=De.f2=De.__private__.f2=function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.f2");return ur(Ce,2)},an=De.__private__.f3=function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.f3");return ur(Ce,3)},Hn=De.scale=De.__private__.scale=function(Ce){if(isNaN(Ce))throw new Error("Invalid argument passed to jsPDF.scale");return bn===jn?Ce*ca:bn===Dn?Ce:void 0},Pn=function(Ce){return Hn(function(it){return bn===jn?Rh()-it:bn===Dn?it:void 0}(Ce))};De.__private__.setPrecision=De.setPrecision=function(Ce){typeof parseInt(Ce,10)=="number"&&(E=parseInt(Ce,10))};var Ir,Tr="00000000000000000000000000000000",_r=De.__private__.getFileId=function(){return Tr},Br=De.__private__.setFileId=function(Ce){return Tr=Ce!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ce)?Ce.toUpperCase():Tr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ne!==null&&(DA=new Ld(Ne.userPermissions,Ne.userPassword,Ne.ownerPassword,Tr)),Tr};De.setFileId=function(Ce){return Br(Ce),this},De.getFileId=function(){return _r()};var Kr=De.__private__.convertDateToPDFDate=function(Ce){var it=Ce.getTimezoneOffset(),hn=it<0?"+":"-",kn=Math.floor(Math.abs(it/60)),Ar=Math.abs(it%60),ri=[hn,On(kn),"'",On(Ar),"'"].join("");return["D:",Ce.getFullYear(),On(Ce.getMonth()+1),On(Ce.getDate()),On(Ce.getHours()),On(Ce.getMinutes()),On(Ce.getSeconds()),ri].join("")},Si=De.__private__.convertPDFDateToDate=function(Ce){var it=parseInt(Ce.substr(2,4),10),hn=parseInt(Ce.substr(6,2),10)-1,kn=parseInt(Ce.substr(8,2),10),Ar=parseInt(Ce.substr(10,2),10),ri=parseInt(Ce.substr(12,2),10),ui=parseInt(Ce.substr(14,2),10);return new Date(it,hn,kn,Ar,ri,ui,0)},li=De.__private__.setCreationDate=function(Ce){var it;if(Ce===void 0&&(Ce=new Date),Ce instanceof Date)it=Kr(Ce);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ce))throw new Error("Invalid argument passed to jsPDF.setCreationDate");it=Ce}return Ir=it},xt=De.__private__.getCreationDate=function(Ce){var it=Ir;return Ce==="jsDate"&&(it=Si(Ir)),it};De.setCreationDate=function(Ce){return li(Ce),this},De.getCreationDate=function(Ce){return xt(Ce)};var wn,On=De.__private__.padd2=function(Ce){return("0"+parseInt(Ce)).slice(-2)},Gn=De.__private__.padd2Hex=function(Ce){return("00"+(Ce=Ce.toString())).substr(Ce.length)},or=0,yr=[],Mr=[],Hr=0,oi=[],wi=[],Ri=!1,_i=Mr;De.__private__.setCustomOutputDestination=function(Ce){Ri=!0,_i=Ce};var Io=function(Ce){Ri||(_i=Ce)};De.__private__.resetCustomOutputDestination=function(){Ri=!1,_i=Mr};var sn=De.__private__.out=function(Ce){return Ce=Ce.toString(),Hr+=Ce.length+1,_i.push(Ce),_i},ji=De.__private__.write=function(Ce){return sn(arguments.length===1?Ce.toString():Array.prototype.join.call(arguments," "))},Ca=De.__private__.getArrayBuffer=function(Ce){for(var it=Ce.length,hn=new ArrayBuffer(it),kn=new Uint8Array(hn);it--;)kn[it]=Ce.charCodeAt(it);return hn},_o=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];De.__private__.getStandardFonts=function(){return _o};var gi=y.fontSize||16;De.__private__.setFontSize=De.setFontSize=function(Ce){return gi=bn===Dn?Ce/ca:Ce,this};var ko,no=De.__private__.getFontSize=De.getFontSize=function(){return bn===jn?gi:gi*ca},Mo=y.R2L||!1;De.__private__.setR2L=De.setR2L=function(Ce){return Mo=Ce,this},De.__private__.getR2L=De.getR2L=function(){return Mo};var Uo,is=De.__private__.setZoomMode=function(Ce){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ce))ko=Ce;else if(isNaN(Ce)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ce)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ce+'" is not recognized.');ko=Ce}else ko=parseInt(Ce,10)};De.__private__.getZoomMode=function(){return ko};var Ta,oa=De.__private__.setPageMode=function(Ce){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ce)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ce+'" is not recognized.');Uo=Ce};De.__private__.getPageMode=function(){return Uo};var ka=De.__private__.setLayoutMode=function(Ce){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ce)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ce+'" is not recognized.');Ta=Ce};De.__private__.getLayoutMode=function(){return Ta},De.__private__.setDisplayMode=De.setDisplayMode=function(Ce,it,hn){return is(Ce),ka(it),oa(hn),this};var Qa={title:"",subject:"",author:"",keywords:"",creator:""};De.__private__.getDocumentProperty=function(Ce){if(Object.keys(Qa).indexOf(Ce)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Qa[Ce]},De.__private__.getDocumentProperties=function(){return Qa},De.__private__.setDocumentProperties=De.setProperties=De.setDocumentProperties=function(Ce){for(var it in Qa)Qa.hasOwnProperty(it)&&Ce[it]&&(Qa[it]=Ce[it]);return this},De.__private__.setDocumentProperty=function(Ce,it){if(Object.keys(Qa).indexOf(Ce)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Qa[Ce]=it};var ho,ca,xo,fA,Ka,Sa={},Fa={},Ns=[],No={},ms={},Go={},aa={},Ps=null,La=0,jo=[],os=new em(De),Nh=y.hotfixes||[],wl={},kf={},Jc=[],zo=function Ce(it,hn,kn,Ar,ri,ui){if(!(this instanceof Ce))return new Ce(it,hn,kn,Ar,ri,ui);isNaN(it)&&(it=1),isNaN(hn)&&(hn=0),isNaN(kn)&&(kn=0),isNaN(Ar)&&(Ar=1),isNaN(ri)&&(ri=0),isNaN(ui)&&(ui=0),this._matrix=[it,hn,kn,Ar,ri,ui]};Object.defineProperty(zo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ce){this._matrix[0]=Ce}}),Object.defineProperty(zo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ce){this._matrix[1]=Ce}}),Object.defineProperty(zo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ce){this._matrix[2]=Ce}}),Object.defineProperty(zo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ce){this._matrix[3]=Ce}}),Object.defineProperty(zo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ce){this._matrix[4]=Ce}}),Object.defineProperty(zo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ce){this._matrix[5]=Ce}}),Object.defineProperty(zo.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ce){this._matrix[0]=Ce}}),Object.defineProperty(zo.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ce){this._matrix[1]=Ce}}),Object.defineProperty(zo.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ce){this._matrix[2]=Ce}}),Object.defineProperty(zo.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ce){this._matrix[3]=Ce}}),Object.defineProperty(zo.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ce){this._matrix[4]=Ce}}),Object.defineProperty(zo.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ce){this._matrix[5]=Ce}}),Object.defineProperty(zo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(zo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(zo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(zo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),zo.prototype.join=function(Ce){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(qn).join(Ce)},zo.prototype.multiply=function(Ce){var it=Ce.sx*this.sx+Ce.shy*this.shx,hn=Ce.sx*this.shy+Ce.shy*this.sy,kn=Ce.shx*this.sx+Ce.sy*this.shx,Ar=Ce.shx*this.shy+Ce.sy*this.sy,ri=Ce.tx*this.sx+Ce.ty*this.shx+this.tx,ui=Ce.tx*this.shy+Ce.ty*this.sy+this.ty;return new zo(it,hn,kn,Ar,ri,ui)},zo.prototype.decompose=function(){var Ce=this.sx,it=this.shy,hn=this.shx,kn=this.sy,Ar=this.tx,ri=this.ty,ui=Math.sqrt(Ce*Ce+it*it),ro=(Ce/=ui)*hn+(it/=ui)*kn;hn-=Ce*ro,kn-=it*ro;var po=Math.sqrt(hn*hn+kn*kn);return ro/=po,Ce*(kn/=po)>16&255,kn=po>>8&255,Ar=255&po}if(kn===void 0||ri===void 0&&hn===kn&&kn===Ar)it=typeof hn=="string"?hn+" "+ui[0]:Ce.precision===2?Ut(hn/255)+" "+ui[0]:an(hn/255)+" "+ui[0];else if(ri===void 0||(0,oe.Z)(ri)==="object"){if(ri&&!isNaN(ri.a)&&ri.a===0)return["1.","1.","1.",ui[1]].join(" ");it=typeof hn=="string"?[hn,kn,Ar,ui[1]].join(" "):Ce.precision===2?[Ut(hn/255),Ut(kn/255),Ut(Ar/255),ui[1]].join(" "):[an(hn/255),an(kn/255),an(Ar/255),ui[1]].join(" ")}else it=typeof hn=="string"?[hn,kn,Ar,ri,ui[2]].join(" "):Ce.precision===2?[Ut(hn),Ut(kn),Ut(Ar),Ut(ri),ui[2]].join(" "):[an(hn),an(kn),an(Ar),an(ri),ui[2]].join(" ");return it},gc=De.__private__.getFilters=function(){return we},ku=De.__private__.putStream=function(Ce){var it=(Ce=Ce||{}).data||"",hn=Ce.filters||gc(),kn=Ce.alreadyAppliedFilters||[],Ar=Ce.addLength1||!1,ri=it.length,ui=Ce.objectId,ro=function(NA){return NA};if(Ne!==null&&ui===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ne!==null&&(ro=DA.encryptor(ui,0));var po={};hn===!0&&(hn=["FlateEncode"]);var Yo=Ce.additionalKeyValues||[],fa=(po=ao.API.processDataByFilters!==void 0?ao.API.processDataByFilters(it,hn):{data:it,reverseChain:[]}).reverseChain+(Array.isArray(kn)?kn.join(" "):kn.toString());if(po.data.length!==0&&(Yo.push({key:"Length",value:po.data.length}),Ar===!0&&Yo.push({key:"Length1",value:ri})),fa.length!=0)if(fa.split("/").length-1==1)Yo.push({key:"Filter",value:fa});else{Yo.push({key:"Filter",value:"["+fa+"]"});for(var Wa=0;Wa>"),po.data.length!==0&&(sn("stream"),sn(ro(po.data)),sn("endstream"))},Th=De.__private__.putPage=function(Ce){var it=Ce.number,hn=Ce.data,kn=Ce.objId,Ar=Ce.contentsObjId;il(kn,!0),sn("<>"),sn("endobj");var ri=hn.join(` `);return bn===Dn&&(ri+=` Q`),il(Ar,!0),ku({data:ri,filters:gc(),objectId:Ar}),sn("endobj"),kn},ef=De.__private__.putPages=function(){var Ce,it,hn=[];for(Ce=1;Ce<=La;Ce++)jo[Ce].objId=VA(),jo[Ce].contentsObjId=VA();for(Ce=1;Ce<=La;Ce++)hn.push(Th({number:Ce,data:wi[Ce],objId:jo[Ce].objId,contentsObjId:jo[Ce].contentsObjId,mediaBox:jo[Ce].mediaBox,cropBox:jo[Ce].cropBox,bleedBox:jo[Ce].bleedBox,trimBox:jo[Ce].trimBox,artBox:jo[Ce].artBox,userUnit:jo[Ce].userUnit,rootDictionaryObjId:Nd,resourceDictionaryObjId:hc}));il(Nd,!0),sn("<>"),sn("endobj"),os.publish("postPutPages")},Qh=function(Ce){os.publish("putFont",{font:Ce,out:sn,newObject:Xs,putStream:ku}),Ce.isAlreadyPutted!==!0&&(Ce.objectNumber=Xs(),sn("<<"),sn("/Type /Font"),sn("/BaseFont /"+Au(Ce.postScriptName)),sn("/Subtype /Type1"),typeof Ce.encoding=="string"&&sn("/Encoding /"+Ce.encoding),sn("/FirstChar 32"),sn("/LastChar 255"),sn(">>"),sn("endobj"))},Mp=function(Ce){Ce.objectNumber=Xs();var it=[];it.push({key:"Type",value:"/XObject"}),it.push({key:"Subtype",value:"/Form"}),it.push({key:"BBox",value:"["+[qn(Ce.x),qn(Ce.y),qn(Ce.x+Ce.width),qn(Ce.y+Ce.height)].join(" ")+"]"}),it.push({key:"Matrix",value:"["+Ce.matrix.toString()+"]"});var hn=Ce.pages[1].join(` `);ku({data:hn,additionalKeyValues:it,objectId:Ce.objectNumber}),sn("endobj")},_p=function(Ce,it){it||(it=21);var hn=Xs(),kn=function(ui,ro){var po,Yo=[],fa=1/(ro-1);for(po=0;po<1;po+=fa)Yo.push(po);if(Yo.push(1),ui[0].offset!=0){var Wa={offset:0,color:ui[0].color};ui.unshift(Wa)}if(ui[ui.length-1].offset!=1){var zs={offset:1,color:ui[ui.length-1].color};ui.push(zs)}for(var CA="",vs=0,NA=0;NAui[vs+1].offset;)vs++;var xA=ui[vs].offset,ol=(po-xA)/(ui[vs+1].offset-xA),$f=ui[vs].color,vc=ui[vs+1].color;CA+=Gn(Math.round((1-ol)*$f[0]+ol*vc[0]).toString(16))+Gn(Math.round((1-ol)*$f[1]+ol*vc[1]).toString(16))+Gn(Math.round((1-ol)*$f[2]+ol*vc[2]).toString(16))}return CA.trim()}(Ce.colors,it),Ar=[];Ar.push({key:"FunctionType",value:"0"}),Ar.push({key:"Domain",value:"[0.0 1.0]"}),Ar.push({key:"Size",value:"["+it+"]"}),Ar.push({key:"BitsPerSample",value:"8"}),Ar.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ar.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ku({data:kn,additionalKeyValues:Ar,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:hn}),sn("endobj"),Ce.objectNumber=Xs(),sn("<< /ShadingType "+Ce.type),sn("/ColorSpace /DeviceRGB");var ri="/Coords ["+qn(parseFloat(Ce.coords[0]))+" "+qn(parseFloat(Ce.coords[1]))+" ";Ce.type===2?ri+=qn(parseFloat(Ce.coords[2]))+" "+qn(parseFloat(Ce.coords[3])):ri+=qn(parseFloat(Ce.coords[2]))+" "+qn(parseFloat(Ce.coords[3]))+" "+qn(parseFloat(Ce.coords[4]))+" "+qn(parseFloat(Ce.coords[5])),sn(ri+="]"),Ce.matrix&&sn("/Matrix ["+Ce.matrix.toString()+"]"),sn("/Function "+hn+" 0 R"),sn("/Extend [true true]"),sn(">>"),sn("endobj")},kp=function(Ce,it){var hn=VA(),kn=Xs();it.push({resourcesOid:hn,objectOid:kn}),Ce.objectNumber=kn;var Ar=[];Ar.push({key:"Type",value:"/Pattern"}),Ar.push({key:"PatternType",value:"1"}),Ar.push({key:"PaintType",value:"1"}),Ar.push({key:"TilingType",value:"1"}),Ar.push({key:"BBox",value:"["+Ce.boundingBox.map(qn).join(" ")+"]"}),Ar.push({key:"XStep",value:qn(Ce.xStep)}),Ar.push({key:"YStep",value:qn(Ce.yStep)}),Ar.push({key:"Resources",value:hn+" 0 R"}),Ce.matrix&&Ar.push({key:"Matrix",value:"["+Ce.matrix.toString()+"]"}),ku({data:Ce.stream,additionalKeyValues:Ar,objectId:Ce.objectNumber}),sn("endobj")},Gm=function(Ce){for(var it in Ce.objectNumber=Xs(),sn("<<"),Ce)switch(it){case"opacity":sn("/ca "+Ut(Ce[it]));break;case"stroke-opacity":sn("/CA "+Ut(Ce[it]))}sn(">>"),sn("endobj")},Bg=function(Ce){il(Ce.resourcesOid,!0),sn("<<"),sn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var it in sn("/Font <<"),Sa)Sa.hasOwnProperty(it)&&(et===!1||et===!0&&ht.hasOwnProperty(it))&&sn("/"+it+" "+Sa[it].objectNumber+" 0 R");sn(">>")}(),function(){if(Object.keys(No).length>0){for(var it in sn("/Shading <<"),No)No.hasOwnProperty(it)&&No[it]instanceof Wc&&No[it].objectNumber>=0&&sn("/"+it+" "+No[it].objectNumber+" 0 R");os.publish("putShadingPatternDict"),sn(">>")}}(),function(it){if(Object.keys(No).length>0){for(var hn in sn("/Pattern <<"),No)No.hasOwnProperty(hn)&&No[hn]instanceof De.TilingPattern&&No[hn].objectNumber>=0&&No[hn].objectNumber>")}}(Ce.objectOid),function(){if(Object.keys(Go).length>0){var it;for(it in sn("/ExtGState <<"),Go)Go.hasOwnProperty(it)&&Go[it].objectNumber>=0&&sn("/"+it+" "+Go[it].objectNumber+" 0 R");os.publish("putGStateDict"),sn(">>")}}(),function(){for(var it in sn("/XObject <<"),wl)wl.hasOwnProperty(it)&&wl[it].objectNumber>=0&&sn("/"+it+" "+wl[it].objectNumber+" 0 R");os.publish("putXobjectDict"),sn(">>")}(),sn(">>"),sn("endobj")},rm=function(Ce){Fa[Ce.fontName]=Fa[Ce.fontName]||{},Fa[Ce.fontName][Ce.fontStyle]=Ce.id},im=function(Ce,it,hn,kn,Ar){var ri={id:"F"+(Object.keys(Sa).length+1).toString(10),postScriptName:Ce,fontName:it,fontStyle:hn,encoding:kn,isStandardFont:Ar||!1,metadata:{}};return os.publish("addFont",{font:ri,instance:this}),Sa[ri.id]=ri,rm(ri),ri.id},Hu=De.__private__.pdfEscape=De.pdfEscape=function(Ce,it){return function(hn,kn){var Ar,ri,ui,ro,po,Yo,fa,Wa,zs;if(ui=(kn=kn||{}).sourceEncoding||"Unicode",po=kn.outputEncoding,(kn.autoencode||po)&&Sa[ho].metadata&&Sa[ho].metadata[ui]&&Sa[ho].metadata[ui].encoding&&(ro=Sa[ho].metadata[ui].encoding,!po&&Sa[ho].encoding&&(po=Sa[ho].encoding),!po&&ro.codePages&&(po=ro.codePages[0]),typeof po=="string"&&(po=ro[po]),po)){for(fa=!1,Yo=[],Ar=0,ri=hn.length;Ar>8&&(fa=!0);hn=Yo.join("")}for(Ar=hn.length;fa===void 0&&Ar!==0;)hn.charCodeAt(Ar-1)>>8&&(fa=!0),Ar--;if(!fa)return hn;for(Yo=kn.noBOM?[]:[254,255],Ar=0,ri=hn.length;Ar>8)>>8)throw new Error("Character at position "+Ar+" of string '"+hn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Yo.push(zs),Yo.push(Wa-(zs<<8))}return String.fromCharCode.apply(void 0,Yo)}(Ce,it).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Cg=De.__private__.beginPage=function(Ce){wi[++La]=[],jo[La]={objId:0,contentsObjId:0,userUnit:Number(ve),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ce[0]),topRightY:Number(Ce[1])}},am(La),Io(wi[wn])},om=function(Ce,it){var hn,kn,Ar;switch(x=it||x,typeof Ce=="string"&&(hn=Ot(Ce.toLowerCase()),Array.isArray(hn)&&(kn=hn[0],Ar=hn[1])),Array.isArray(Ce)&&(kn=Ce[0]*ca,Ar=Ce[1]*ca),isNaN(kn)&&(kn=re[0],Ar=re[1]),(kn>14400||Ar>14400)&&(Pa.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),kn=Math.min(14400,kn),Ar=Math.min(14400,Ar)),re=[kn,Ar],x.substr(0,1)){case"l":Ar>kn&&(re=[Ar,kn]);break;case"p":kn>Ar&&(re=[Ar,kn])}Cg(re),na(Sg),sn(zp),Ig!==0&&sn(Ig+" J"),Lg!==0&&sn(Lg+" j"),os.publish("addPage",{pageNumber:La})},xg=function(Ce){Ce>0&&Ce<=La&&(wi.splice(Ce,1),jo.splice(Ce,1),La--,wn>La&&(wn=La),this.setPage(wn))},am=function(Ce){Ce>0&&Ce<=La&&(wn=Ce)},sm=De.__private__.getNumberOfPages=De.getNumberOfPages=function(){return wi.length-1},Am=function(Ce,it,hn){var kn,Ar=void 0;return hn=hn||{},Ce=Ce!==void 0?Ce:Sa[ho].fontName,it=it!==void 0?it:Sa[ho].fontStyle,kn=Ce.toLowerCase(),Fa[kn]!==void 0&&Fa[kn][it]!==void 0?Ar=Fa[kn][it]:Fa[Ce]!==void 0&&Fa[Ce][it]!==void 0?Ar=Fa[Ce][it]:hn.disableWarning===!1&&Pa.warn("Unable to look up font label for font '"+Ce+"', '"+it+"'. Refer to getFontList() for available fonts."),Ar||hn.noFallback||(Ar=Fa.times[it])==null&&(Ar=Fa.times.normal),Ar},tf=De.__private__.putInfo=function(){var Ce=Xs(),it=function(kn){return kn};for(var hn in Ne!==null&&(it=DA.encryptor(Ce,0)),sn("<<"),sn("/Producer ("+Hu(it("jsPDF "+ao.version))+")"),Qa)Qa.hasOwnProperty(hn)&&Qa[hn]&&sn("/"+hn.substr(0,1).toUpperCase()+hn.substr(1)+" ("+Hu(it(Qa[hn]))+")");sn("/CreationDate ("+Hu(it(Ir))+")"),sn(">>"),sn("endobj")},Hp=De.__private__.putCatalog=function(Ce){var it=(Ce=Ce||{}).rootDictionaryObjId||Nd;switch(Xs(),sn("<<"),sn("/Type /Catalog"),sn("/Pages "+it+" 0 R"),ko||(ko="fullwidth"),ko){case"fullwidth":sn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":sn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":sn("/OpenAction [3 0 R /Fit]");break;case"original":sn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var hn=""+ko;hn.substr(hn.length-1)==="%"&&(ko=parseInt(ko)/100),typeof ko=="number"&&sn("/OpenAction [3 0 R /XYZ null null "+Ut(ko)+"]")}switch(Ta||(Ta="continuous"),Ta){case"continuous":sn("/PageLayout /OneColumn");break;case"single":sn("/PageLayout /SinglePage");break;case"two":case"twoleft":sn("/PageLayout /TwoColumnLeft");break;case"tworight":sn("/PageLayout /TwoColumnRight")}Uo&&sn("/PageMode /"+Uo),os.publish("putCatalog"),sn(">>"),sn("endobj")},Vm=De.__private__.putTrailer=function(){sn("trailer"),sn("<<"),sn("/Size "+(or+1)),sn("/Root "+or+" 0 R"),sn("/Info "+(or-1)+" 0 R"),Ne!==null&&sn("/Encrypt "+DA.oid+" 0 R"),sn("/ID [ <"+Tr+"> <"+Tr+"> ]"),sn(">>")},BA=De.__private__.putHeader=function(){sn("%PDF-"+tn),sn("%\xBA\xDF\xAC\xE0")},lm=De.__private__.putXRef=function(){var Ce="0000000000";sn("xref"),sn("0 "+(or+1)),sn("0000000000 65535 f ");for(var it=1;it<=or;it++)typeof yr[it]=="function"?sn((Ce+yr[it]()).slice(-10)+" 00000 n "):yr[it]!==void 0?sn((Ce+yr[it]).slice(-10)+" 00000 n "):sn("0000000000 00000 n ")},nf=De.__private__.buildDocument=function(){var Ce;or=0,Hr=0,Mr=[],yr=[],oi=[],Nd=VA(),hc=VA(),Io(Mr),os.publish("buildDocument"),BA(),ef(),function(){os.publish("putAdditionalObjects");for(var hn=0;hn"),sn("/O <"+DA.toHexString(DA.O)+">"),sn("/P "+DA.P),sn(">>"),sn("endobj")),tf(),Hp();var it=Hr;return lm(),Vm(),sn("startxref"),sn(""+it),sn("%%EOF"),Io(wi[wn]),Mr.join(` `)},Rp=De.__private__.getBlob=function(Ce){return new Blob([Ca(Ce)],{type:"application/pdf"})},um=De.output=De.__private__.output=(_u=function(Ce,it){switch(typeof(it=it||{})=="string"?it={filename:it}:it.filename=it.filename||"generated.pdf",Ce){case void 0:return nf();case"save":De.save(it.filename);break;case"arraybuffer":return Ca(nf());case"blob":return Rp(nf());case"bloburi":case"bloburl":if(fo.URL!==void 0&&typeof fo.URL.createObjectURL=="function")return fo.URL&&fo.URL.createObjectURL(Rp(nf()))||void 0;Pa.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var hn="",kn=nf();try{hn=vg(kn)}catch(CA){hn=vg(unescape(encodeURIComponent(kn)))}return"data:application/pdf;filename="+it.filename+";base64,"+hn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(fo)==="[object Window]"){var Ar="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ri=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';it.pdfObjectUrl&&(Ar=it.pdfObjectUrl,ri="");var ui='